d972cd55da22eeb4fbd9e97544b9622c524bb7e1cca032d3f57a5207728f456c

Source Code:

!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/wp-content/themes/nexstar/client/build/",n(n.s=185)}([,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plugins=t.Component=t.ComponentManager=void 0;var i=a(n(16)),r=a(n(34)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(4));function a(e){return e&&e.__esModule?e:{default:e}}t.ComponentManager=r.default,t.Component=i.default,t.plugins=o},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n.d(t,"a",function(){return o});var r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)},o=function(){function e(t,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:250,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.event=n,this.element=i,this.frequency=r,this.timer=!1,this.initial=o,this.callback=t,this.requestTick=this.requestTick.bind(this),this.update=this.update.bind(this),this.callback?this.addHandler():console.error("Debounce error: you must specify a callback.")}var t,n,o;return t=e,(n=[{key:"addHandler",value:function(){this.element.addEventListener(this.event,this.requestTick)}},{key:"update",value:function(){this.callback(),this.timer=!1}},{key:"requestTick",value:function(){var e=this;!this.timer&&this.initial&&this.update(),this.timer&&window.clearTimeout(this.timer),this.timer=window.setTimeout(function(){r(function(){e.update()})},this.frequency)}},{key:"destroy",value:function(){this.element.removeEventListener(this.event,this.requestTick)}}])&&i(t.prototype,n),o&&i(t,o),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AriaDialog=t.AriaPopup=t.AriaTablist=t.Aria=void 0;var i=s(n(9)),r=s(n(59)),o=s(n(60)),a=s(n(61));function s(e){return e&&e.__esModule?e:{default:e}}t.Aria=i.default,t.AriaTablist=r.default,t.AriaPopup=o.default,t.AriaDialog=a.default},function(e,t,n){e.exports=function(){"use strict";var e=Object.freeze||function(e){return e},t=e(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),n=e(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),i=e(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),r=e(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),o=e(["#text"]),a=Object.freeze||function(e){return e},s=a(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),l=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),c=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),u=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),d=Object.hasOwnProperty,f=Object.setPrototypeOf,h=("undefined"!=typeof Reflect&&Reflect).apply;function p(e,t){f&&f(e,null);for(var n=t.length;n--;){var i=t[n];if("string"==typeof i){var r=i.toLowerCase();r!==i&&(Object.isFrozen(t)||(t[n]=r),i=r)}e[i]=!0}return e}function y(e){var t={},n=void 0;for(n in e)h(d,e,[n])&&(t[n]=e[n]);return t}h||(h=function(e,t,n){return e.apply(t,n)});var m=Object.seal||function(e){return e},v=m(/\{\{[\s\S]*|[\s\S]*\}\}/gm),b=m(/<%[\s\S]*|[\s\S]*%>/gm),g=m(/^data-[\-\w.\u00B7-\uFFFF]/),w=m(/^aria-[\-\w]+$/),k=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),E=m(/^(?:\w+script|data):/i),x=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function T(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var C=("undefined"!=typeof Reflect&&Reflect).apply,_=Array.prototype.slice,O=Object.freeze,S=function(){return"undefined"==typeof window?null:window};C||(C=function(e,t,n){return e.apply(t,n)});var L=function(e,t){if("object"!==(void 0===e?"undefined":A(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S(),d=function(t){return e(t)};if(d.version="1.0.10",d.removed=[],!a||!a.document||9!==a.document.nodeType)return d.isSupported=!1,d;var f=a.document,h=!1,m=!1,M=a.document,j=a.DocumentFragment,D=a.HTMLTemplateElement,H=a.Node,P=a.NodeFilter,R=a.NamedNodeMap,N=void 0===R?a.NamedNodeMap||a.MozNamedAttrMap:R,I=a.Text,B=a.Comment,F=a.DOMParser,z=a.TrustedTypes;if("function"==typeof D){var q=M.createElement("template");q.content&&q.content.ownerDocument&&(M=q.content.ownerDocument)}var K=L(z,f),U=K?K.createHTML(""):"",V=M,W=V.implementation,G=V.createNodeIterator,Y=V.getElementsByTagName,X=V.createDocumentFragment,$=f.importNode,J={};d.isSupported=W&&void 0!==W.createHTMLDocument&&9!==M.documentMode;var Q=v,Z=b,ee=g,te=w,ne=E,ie=x,re=k,oe=null,ae=p({},[].concat(T(t),T(n),T(i),T(r),T(o))),se=null,le=p({},[].concat(T(s),T(l),T(c),T(u))),ce=null,ue=null,de=!0,fe=!0,he=!1,pe=!1,ye=!1,me=!1,ve=!1,be=!1,ge=!1,we=!1,ke=!1,Ee=!0,xe=!0,Ae=!1,Te={},Ce=p({},["audio","head","math","script","style","template","svg","video"]),_e=p({},["audio","video","img","source","image"]),Oe=p({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Se=null,Le=M.createElement("form"),Me=function(e){Se&&Se===e||(e&&"object"===(void 0===e?"undefined":A(e))||(e={}),oe="ALLOWED_TAGS"in e?p({},e.ALLOWED_TAGS):ae,se="ALLOWED_ATTR"in e?p({},e.ALLOWED_ATTR):le,ce="FORBID_TAGS"in e?p({},e.FORBID_TAGS):{},ue="FORBID_ATTR"in e?p({},e.FORBID_ATTR):{},Te="USE_PROFILES"in e&&e.USE_PROFILES,de=!1!==e.ALLOW_ARIA_ATTR,fe=!1!==e.ALLOW_DATA_ATTR,he=e.ALLOW_UNKNOWN_PROTOCOLS||!1,pe=e.SAFE_FOR_JQUERY||!1,ye=e.SAFE_FOR_TEMPLATES||!1,me=e.WHOLE_DOCUMENT||!1,ge=e.RETURN_DOM||!1,we=e.RETURN_DOM_FRAGMENT||!1,ke=e.RETURN_DOM_IMPORT||!1,be=e.FORCE_BODY||!1,Ee=!1!==e.SANITIZE_DOM,xe=!1!==e.KEEP_CONTENT,Ae=e.IN_PLACE||!1,re=e.ALLOWED_URI_REGEXP||re,ye&&(fe=!1),we&&(ge=!0),Te&&(oe=p({},[].concat(T(o))),se=[],!0===Te.html&&(p(oe,t),p(se,s)),!0===Te.svg&&(p(oe,n),p(se,l),p(se,u)),!0===Te.svgFilters&&(p(oe,i),p(se,l),p(se,u)),!0===Te.mathMl&&(p(oe,r),p(se,c),p(se,u))),e.ADD_TAGS&&(oe===ae&&(oe=y(oe)),p(oe,e.ADD_TAGS)),e.ADD_ATTR&&(se===le&&(se=y(se)),p(se,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&p(Oe,e.ADD_URI_SAFE_ATTR),xe&&(oe["#text"]=!0),me&&p(oe,["html","head","body"]),oe.table&&p(oe,["tbody"]),O&&O(e),Se=e)},je=function(e){d.removed.push({element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=U}},De=function(e,t){try{d.removed.push({attribute:t.getAttributeNode(e),from:t})}catch(e){d.removed.push({attribute:null,from:t})}t.removeAttribute(e)},He=function(e){var t=void 0,n=void 0;if(be)e="<remove></remove>"+e;else{var i=e.match(/^[\s]+/);(n=i&&i[0])&&(e=e.slice(n.length))}if(h)try{t=(new F).parseFromString(e,"text/html")}catch(e){}if(m&&p(ce,["title"]),!t||!t.documentElement){var r=t=W.createHTMLDocument(""),o=r.body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=K?K.createHTML(e):e}return n&&t.body.insertBefore(M.createTextNode(n),t.body.childNodes[0]||null),Y.call(t,me?"html":"body")[0]};d.isSupported&&(function(){try{var e=He('<svg><p><style><img src="</style><img src=x onerror=1//">');e.querySelector("svg img")&&(h=!0)}catch(e){}}(),function(){try{var e=He("<x/><title></title><img>");e.querySelector("title").innerHTML.match(/<\/title/)&&(m=!0)}catch(e){}}());var Pe=function(e){return G.call(e.ownerDocument||e,e,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT,function(){return P.FILTER_ACCEPT},!1)},Re=function(e){return"object"===(void 0===H?"undefined":A(H))?e instanceof H:e&&"object"===(void 0===e?"undefined":A(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ne=function(e,t,n){J[e]&&J[e].forEach(function(e){e.call(d,t,n,Se)})},Ie=function(e){var t,n=void 0;if(Ne("beforeSanitizeElements",e,null),!((t=e)instanceof I||t instanceof B||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof N&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute))return je(e),!0;var i=e.nodeName.toLowerCase();if(Ne("uponSanitizeElement",e,{tagName:i,allowedTags:oe}),!oe[i]||ce[i]){if(xe&&!Ce[i]&&"function"==typeof e.insertAdjacentHTML)try{var r=e.innerHTML;e.insertAdjacentHTML("AfterEnd",K?K.createHTML(r):r)}catch(e){}return je(e),!0}return"noscript"===i&&e.innerHTML.match(/<\/noscript/i)?(je(e),!0):"noembed"===i&&e.innerHTML.match(/<\/noembed/i)?(je(e),!0):(!pe||e.firstElementChild||e.content&&e.content.firstElementChild||!/</g.test(e.textContent)||(d.removed.push({element:e.cloneNode()}),e.innerHTML?e.innerHTML=e.innerHTML.replace(/</g,"<"):e.innerHTML=e.textContent.replace(/</g,"<")),ye&&3===e.nodeType&&(n=(n=(n=e.textContent).replace(Q," ")).replace(Z," "),e.textContent!==n&&(d.removed.push({element:e.cloneNode()}),e.textContent=n)),Ne("afterSanitizeElements",e,null),!1)},Be=function(e,t,n){if(Ee&&("id"===t||"name"===t)&&(n in M||n in Le))return!1;if(fe&&ee.test(t));else if(de&&te.test(t));else{if(!se[t]||ue[t])return!1;if(Oe[t]);else if(re.test(n.replace(ie,"")));else if("src"!==t&&"xlink:href"!==t||"script"===e||0!==n.indexOf("data:")||!_e[e])if(he&&!ne.test(n.replace(ie,"")));else if(n)return!1}return!0},Fe=function(e){var t=void 0,n=void 0,i=void 0,r=void 0,o=void 0;Ne("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:se};for(o=a.length;o--;){var l=t=a[o],c=l.name,u=l.namespaceURI;if(n=t.value.trim(),i=c.toLowerCase(),s.attrName=i,s.attrValue=n,s.keepAttr=!0,Ne("uponSanitizeAttribute",e,s),n=s.attrValue,"name"===i&&"IMG"===e.nodeName&&a.id)r=a.id,a=C(_,a,[]),De("id",e),De(c,e),a.indexOf(r)>o&&e.setAttribute("id",r.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===n&&(se[i]||!ue[i]))continue;"id"===c&&e.setAttribute(c,""),De(c,e)}if(s.keepAttr){ye&&(n=(n=n.replace(Q," ")).replace(Z," "));var f=e.nodeName.toLowerCase();if(Be(f,i,n))try{u?e.setAttributeNS(u,c,n):e.setAttribute(c,n),d.removed.pop()}catch(e){}}}Ne("afterSanitizeAttributes",e,null)}},ze=function e(t){var n=void 0,i=Pe(t);for(Ne("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)Ne("uponSanitizeShadowNode",n,null),Ie(n)||(n.content instanceof j&&e(n.content),Fe(n));Ne("afterSanitizeShadowDOM",t,null)};return d.sanitize=function(e,t){var n=void 0,i=void 0,r=void 0,o=void 0,s=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Re(e)){if("function"!=typeof e.toString)throw new TypeError("toString is not a function");if("string"!=typeof(e=e.toString()))throw new TypeError("dirty is not a string, aborting")}if(!d.isSupported){if("object"===A(a.toStaticHTML)||"function"==typeof a.toStaticHTML){if("string"==typeof e)return a.toStaticHTML(e);if(Re(e))return a.toStaticHTML(e.outerHTML)}return e}if(ve||Me(t),d.removed=[],Ae);else if(e instanceof H)n=He("\x3c!--\x3e"),1===(i=n.ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName?n=i:n.appendChild(i);else{if(!ge&&!ye&&!me&&-1===e.indexOf("<"))return K?K.createHTML(e):e;if(!(n=He(e)))return ge?null:U}n&&be&&je(n.firstChild);for(var l=Pe(Ae?e:n);r=l.nextNode();)3===r.nodeType&&r===o||Ie(r)||(r.content instanceof j&&ze(r.content),Fe(r),o=r);if(o=null,Ae)return e;if(ge){if(we)for(s=X.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return ke&&(s=$.call(f,s,!0)),s}var c=me?n.outerHTML:n.innerHTML;return ye&&(c=(c=c.replace(Q," ")).replace(Z," ")),K?K.createHTML(c):c},d.setConfig=function(e){Me(e),ve=!0},d.clearConfig=function(){Se=null,ve=!1},d.isValidAttribute=function(e,t,n){Se||Me({});var i=e.toLowerCase(),r=t.toLowerCase();return Be(i,r,n)},d.addHook=function(e,t){"function"==typeof t&&(J[e]=J[e]||[],J[e].push(t))},d.removeHook=function(e){J[e]&&J[e].pop()},d.removeHooks=function(e){J[e]&&(J[e]=[])},d.removeAllHooks=function(){J={}},d}()}()},function(e,t,n){"use strict";function i(e,t){t=t||{};var n,i=window,r={clamp:t.clamp||2,useNativeClamp:void 0===t.useNativeClamp||t.useNativeClamp,splitOnChars:t.splitOnChars||[".","-","–","—"," "],animate:t.animate||!1,truncationChar:t.truncationChar||"…",truncationHTML:t.truncationHTML},o=e.style,a=e.innerHTML,s=void 0!==e.style.webkitLineClamp,l=r.clamp,c=l.indexOf&&(-1<l.indexOf("px")||-1<l.indexOf("em"));function u(e,t){return i.getComputedStyle||(i.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return"float"==t&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,function(){return arguments[2].toUpperCase()})),e.currentStyle&&e.currentStyle[t]?e.currentStyle[t]:null},this}),i.getComputedStyle(e,null).getPropertyValue(t)}function d(t){var n=t||e.clientHeight,i=f(e);return Math.max(Math.floor(n/i),0)}function f(e){var t=u(e,"line-height");return"normal"==t&&(t=1.2*parseInt(u(e,"font-size"))),parseInt(t)}r.truncationHTML&&((n=document.createElement("span")).textContent=r.truncationHTML);var h,p,y,m,v=r.splitOnChars.slice(0),b=v[0];function g(t){return t.lastChild.children&&0<t.lastChild.children.length?g(Array.prototype.slice.call(t.children).pop()):t.lastChild&&t.lastChild.nodeValue&&""!=t.lastChild.nodeValue&&t.lastChild.nodeValue!=r.truncationChar?t.lastChild:(t.lastChild.parentNode.removeChild(t.lastChild),g(e))}function w(e,t){e.nodeValue=t+r.truncationChar}if("auto"==l?l=d():c&&(l=d(parseInt(l))),s&&r.useNativeClamp)o.overflow="hidden",o.textOverflow="ellipsis",o.webkitBoxOrient="vertical",o.display="-webkit-box",o.webkitLineClamp=l,c&&(o.height="".concat(r.clamp,"px"));else{var k=(m=l,f(e)*m);k<=e.clientHeight&&(y=function t(i,o){if(o){var a=i.nodeValue.replace(r.truncationChar,"");if(h||(b=0<v.length?v.shift():"",h=a.split(b)),1<h.length?(p=h.pop(),w(i,h.join(b))):h=null,n&&(i.nodeValue=i.nodeValue.replace(r.truncationChar,""),e.textContent="".concat(i.nodeValue," ").concat(n.innerHTML).concat(r.truncationChar)),h){if(e.clientHeight<=o){if(!(0<=v.length&&""!=b))return e.innerHTML;w(i,h.join(b)+b+p),h=null}}else""==b&&(w(i,""),i=g(e),v=r.splitOnChars.slice(0),b=v[0],h=null,p=null);if(!r.animate)return t(i,o);setTimeout(function(){t(i,o)},!0===r.animate?10:r.animate)}}(g(e),k))}return{original:a,clamped:y}}n.d(t,"a",function(){return i})},,function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.collectInteractiveChildren=this.collectInteractiveChildren.bind(this),this.setFocusToFirstItem=this.setFocusToFirstItem.bind(this),this.selectors=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(","),this.tabKey=9,this.escapeKey=27}return i(e,null,[{key:"eventPolyfill",value:function(){if("function"==typeof window.CustomEvent)return!1;function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1,detail:void 0},n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}return e.prototype=window.Event.prototype,window.CustomEvent=e,!0}},{key:"createAriaEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:t})}},{key:"isVisible",value:function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}},{key:"generateTargetId",value:function(e){var t=e.className;return"id_"+(Math.random()/t.length).toString(16).split(".")[1]+"_"+t.split(" ").join("_")}}]),i(e,[{key:"collectInteractiveChildren",value:function(){var e=this;if(void 0!==this.targetElement){var t=this.targetElement.querySelectorAll(this.selectors);this.interactiveChildElements=Array.prototype.filter.call(t,function(t){return e.constructor.isVisible(t)})}else console.error("No `targetElement` specified for collectInteractiveChildren")}},{key:"setFocusToFirstItem",value:function(){this.interactiveChildElements.length&&this.interactiveChildElements[0].focus()}}]),e}();t.default=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i;!function(t){"use strict";var r=function(){},o=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function a(){this.reads=[],this.writes=[],this.raf=o.bind(t),r("initialized",this)}function s(e){e.scheduled||(e.scheduled=!0,e.raf(function(e){r("flush");var t,n=e.writes,i=e.reads;try{r("flushing reads",i.length),l(i),r("flushing writes",n.length),l(n)}catch(e){t=e}e.scheduled=!1,(i.length||n.length)&&s(e);if(t){if(r("task errored",t.message),!e.catch)throw t;e.catch(t)}}.bind(null,e)),r("flush scheduled"))}function l(e){var t;for(r("run tasks");t=e.shift();)t()}function c(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}a.prototype={constructor:a,measure:function(e,t){r("measure");var n=t?e.bind(t):e;return this.reads.push(n),s(this),n},mutate:function(e,t){r("mutate");var n=t?e.bind(t):e;return this.writes.push(n),s(this),n},clear:function(e){return r("clear",e),c(this.reads,e)||c(this.writes,e)},extend:function(e){if(r("extend",e),"object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var u=t.fastdom=t.fastdom||new a;void 0===(i=function(){return u}.call(u,n,u,e))||(e.exports=i)}("undefined"!=typeof window?window:this)},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.started=!1,this.name=t.name,this.options=t.options||{},this.children=t.children||{},t.querySelector&&Object.keys(t.querySelector).forEach(function(e){n.children[e]=n.element.querySelector(t.querySelector[e])}),t.querySelectorAll&&Object.keys(t.querySelectorAll).forEach(function(e){n.children[e]=n.element.querySelectorAll(t.querySelectorAll[e])})}return i(e,[{key:"destroy",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"getOffsetTop",value:function(e,t){return t===e?0:e.offsetTop+this.getOffsetTop(e.parentElement,t)}}],[{key:"isChild",value:function(e,t){if(e)for(var n=e.parentNode;n;){if(n===t)return!0;n=n.parentNode}return!1}}]),e}();t.default=r},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(37),r=n(42);e.exports=n(11)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(22),r=n(23);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(49);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},,,,function(e,t,n){"use strict";var i=n(5),r=n.n(i);t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,o=document.createElement("button");return e&&o.classList.add(e),t&&(o.innerHTML=r.a.sanitize(t,{ALLOWED_TAGS:["span"]})),n&&Array.isArray(n)&&Array.prototype.forEach.call(n,function(e){!e.name&&e.value||o.setAttribute(e.name,e.value)}),i&&o.addEventListener("click",i),o}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(16),a=(i=o)&&i.__esModule?i:{default:i};n(35);var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n={components:{}};window[t]=window[t]?Object.assign({},window[t],n):n,this.manifest=window[t]}return r(e,[{key:"initComponents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;(Array.isArray(e)?e:[e]).forEach(function(e){var i=e,r=i.name,o=i.class;if(o.prototype instanceof a.default){var s=Object.prototype.hasOwnProperty.call(t.manifest.components,r),l=n.querySelectorAll("[data-component='"+i.name+"']");if(!l.length)return void console.info("Component '"+r+"' does not exist or is configured incorrectly.\nCheck this component's config to ensure this component has a configuration object.\nAlso, verify the '"+r+"' class extends the core component class located in client/js/site/Component.js");s||(t.manifest.components[r]={config:i,instances:[]}),Array.prototype.forEach.call(l,function(e){if(!t.manifest.components[r].instances.some(function(t){return e===t.element})){i.element=e;var n=new o(i);t.manifest.components[r].instances.push({instance:n,element:e})}})}})}},{key:"reinitComponent",value:function(e,t){var n=this.manifest.components[e].config;n&&this.initComponents([n],t)}}],[{key:"callComponentMethod",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.mainfest[e]&&this.mainfest[e].instances&&this.mainfest[e].instances.forEach(function(e){var i;"function"==typeof e[t]&&(i=e[t]).call.apply(i,[e].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)))})}}]),e}();t.default=s},function(e,t,n){var i=n(36);i(i.S+i.F,"Object",{assign:n(46)})},function(e,t,n){var i=n(8),r=n(17),o=n(18),a=n(43),s=n(44),l=function(e,t,n){var c,u,d,f,h=e&l.F,p=e&l.G,y=e&l.S,m=e&l.P,v=e&l.B,b=p?i:y?i[t]||(i[t]={}):(i[t]||{}).prototype,g=p?r:r[t]||(r[t]={}),w=g.prototype||(g.prototype={});for(c in p&&(n=t),n)d=((u=!h&&b&&void 0!==b[c])?b:n)[c],f=v&&u?s(d,i):m&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,e&l.U),g[c]!=d&&o(g,c,f),m&&w[c]!=d&&(w[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(38),r=n(39),o=n(41),a=Object.defineProperty;t.f=n(11)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(10);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(11)&&!n(12)(function(){return 7!=Object.defineProperty(n(40)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(10),r=n(8).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(10);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(8),r=n(18),o=n(19),a=n(20)("src"),s=Function.toString,l=(""+s).split("toString");n(17).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var i=n(45);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var i=n(47),r=n(56),o=n(57),a=n(58),s=n(22),l=Object.assign;e.exports=!l||n(12)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=r.f,d=o.f;l>c;)for(var f,h=s(arguments[c++]),p=u?i(h).concat(u(h)):i(h),y=p.length,m=0;y>m;)d.call(h,f=p[m++])&&(n[f]=h[f]);return n}:l},function(e,t,n){var i=n(48),r=n(55);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(19),r=n(21),o=n(50)(!1),a=n(53)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(21),r=n(51),o=n(52);e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(24),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(24),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(54)("keys"),r=n(20);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(8),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(23);e.exports=function(e){return Object(i(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=s(n(13)),a=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.tablist=e.tablist,n.panels=e.panels,n.breakpoint=e.breakpoint,n.index=0,n.key={arrows:/37|39|40/,arrLeftRight:/37|39/,arrLeft:37,arrRight:39,arrDown:40},n.tabs=[],n.panels=Array.prototype.slice.call(n.panels),Array.prototype.forEach.call(n.tablist.children,function(e){if("LI"===e.nodeName){e.setAttribute("role","presentation");var t=e.querySelector("a[href]");n.tabs.push(t)}else n.tabs.push(e)}),n.shiftTabKeyDown=n.shiftTabKeyDown.bind(n),n.keyDownHandler=n.keyDownHandler.bind(n),n.arrowKeyDown=n.arrowKeyDown.bind(n),n.tabKeyDown=n.tabKeyDown.bind(n),n.ariaSwitchTab=n.ariaSwitchTab.bind(n),n._updateTabs=n._updateTabs.bind(n),n.updateTabs=n.updateTabs.bind(n),n.handleBreakpoint=n.handleBreakpoint.bind(n),n.tearDown=n.tearDown.bind(n),a.default.eventPolyfill(),void 0===n.breakpoint||"object"!==i(n.breakpoint)?n.init():(n.handleBreakpoint(),n.breakpoint.addListener(n.handleBreakpoint)),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),r(t,[{key:"init",value:function(){var e=this;this.tablist.setAttribute("role","tablist"),this.tabs.forEach(function(t,n){t.setAttribute("role","tab"),t.setAttribute("aria-selected",""+(e.index===n)),e.index===n?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1"),t.addEventListener("click",e.ariaSwitchTab),t.addEventListener("keydown",e.keyDownHandler)}),this.panels.forEach(function(t,n){t.setAttribute("role","tabpanel"),t.setAttribute("aria-hidden",""+(e.index!==n))}),this.targetElement=this.panels[this.index],this.collectInteractiveChildren(),this.panels[this.index].addEventListener("keydown",this.shiftTabKeyDown);var t,n={activePanel:this.panels[this.index]};t=a.default.createAriaEvent("tabinit",n),this.tablist.dispatchEvent(t)}},{key:"shiftTabKeyDown",value:function(e){if(e.keyCode===this.tabKey&&e.shiftKey&&0===this.interactiveChildElements.indexOf(document.activeElement)){var t=this.panels.filter(function(e){return"false"===e.getAttribute("aria-hidden")}),n=this.panels.indexOf(t[0]);e.preventDefault(),this.tabs[n].focus()}}},{key:"keyDownHandler",value:function(e){e.keyCode!==this.tabKey||e.shiftKey?this.key.arrows.test(e.keyCode)&&this.arrowKeyDown(e):this.tabKeyDown(e)}},{key:"tabKeyDown",value:function(e){this.interactiveChildElements.length&&(e.preventDefault(),this.interactiveChildElements[0].focus())}},{key:"arrowKeyDown",value:function(e){var t=null,n={},i={},r=this.tabs.indexOf(e.currentTarget);if(n.tab=this.tabs[r],n.panel=this.panels[r],this.panels.forEach(function(e){e.removeAttribute("tabindex")}),this.key.arrLeftRight.test(e.keyCode)){switch(e.keyCode){case this.key.arrLeft:t=r-1;break;case this.key.arrRight:t=r+1;break;default:t=null}e.preventDefault(),i.index=t,i.tab=this.tabs[t],i.panel=this.panels[t],this.updateTabs(n,i),i.tab.focus()}else e.keyCode===this.key.arrDown&&(e.preventDefault(),this.panels[r].setAttribute("tabindex","-1"),this.panels[r].focus())}},{key:"updateTabs",value:function(e,t){var n=this;o.default.mutate(function(){n._updateTabs(e,t)})}},{key:"_updateTabs",value:function(e,t){var n="false",i="true";if(null!==e.tab||null!==t.tab||null!==e.panel||null!==t.panel){e.tab.setAttribute("tabindex","-1"),e.tab.setAttribute("aria-selected",n),e.panel.setAttribute("aria-hidden",i),this.targetElement=e.panel,this.collectInteractiveChildren(),Array.prototype.forEach.call(this.interactiveChildElements,function(e){e.setAttribute("tabindex","-1")}),e.panel.removeEventListener("keydown",this.shiftTabKeyDown);var r=[i,n];n=r[0],i=r[1],t.tab.setAttribute("tabindex","0"),t.tab.setAttribute("aria-selected",n),t.panel.setAttribute("aria-hidden",i),this.targetElement=t.panel,this.collectInteractiveChildren(),Array.prototype.forEach.call(this.interactiveChildElements,function(e){"-1"===e.getAttribute("tabindex")&&e.removeAttribute("tabindex")}),this.index=t.index,t.panel.addEventListener("keydown",this.shiftTabKeyDown);var o,s={activePanel:this.panels[this.index]};o=a.default.createAriaEvent("tabchange",s),this.tablist.dispatchEvent(o)}}},{key:"ariaSwitchTab",value:function(e){var t={},n={};if(e.preventDefault(),"true"!==e.target.getAttribute("aria-selected")){t.tab=this.tablist.querySelector('[aria-selected="true"]');var i=this.tabs.indexOf(t.tab);t.panel=this.panels[i],n.index=this.tabs.indexOf(e.target),n.tab=this.tabs[n.index],n.panel=this.panels[n.index],this.updateTabs(t,n)}}},{key:"tearDown",value:function(){var e=this;this.tablist.removeAttribute("role"),this.tabs.forEach(function(t,n){t.removeAttribute("role"),t.removeAttribute("aria-selected"),e.index!==n&&t.removeAttribute("tabindex"),t.removeEventListener("click",e.ariaSwitchTab),t.removeEventListener("keydown",e.keyDownHandler)}),this.panels.forEach(function(e){e.removeAttribute("role"),e.removeAttribute("aria-hidden")}),this.targetElement=this.panels[this.index],this.collectInteractiveChildren(),this.panels[this.index].removeEventListener("keydown",this.shiftTabKeyDown);var t=a.default.createAriaEvent("tablistTeardown",{activePanel:null});this.tablist.dispatchEvent(t)}},{key:"handleBreakpoint",value:function(){this.breakpoint.matches?this.init():this.tearDown()}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=s(n(13)),a=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.controller=e.controller,n.target=e.target,n.attributes=e.attributes||{},n.targetElement=n.target,n.targetAttr={},n.isExpanded=!1,n.setTargetAttributes=n.setTargetAttributes.bind(n),n.rovingTabIndex=n.rovingTabIndex.bind(n),n.outsideClick=n.outsideClick.bind(n),n.keyDownHandler=n.keyDownHandler.bind(n),n.keydownTabOut=n.keydownTabOut.bind(n),n.keydownEsc=n.keydownEsc.bind(n),n.ariaSetup=n.ariaSetup.bind(n),n._hide=n._hide.bind(n),n._show=n._show.bind(n),n._destroy=n._destroy.bind(n),n._reset=n._reset.bind(n),n.ariaHide=n.ariaHide.bind(n),n.ariaShow=n.ariaShow.bind(n),n.ariaToggle=n.ariaToggle.bind(n),n.ariaDestroy=n.ariaDestroy.bind(n),n.ariaReset=n.ariaReset.bind(n),n.collectInteractiveChildren(),n.setTargetAttributes(),a.default.eventPolyfill(),n.ariaSetup(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),r(t,[{key:"ariaSetup",value:function(){var e=this;this.controller.setAttribute("aria-haspopup","true"),this.controller.setAttribute("aria-expanded","false"),this.controller.setAttribute("aria-controls",this.targetId),this.target!==this.controller.nextElementSibling&&this.controller.setAttribute("aria-owns",this.targetId),this.target.setAttribute("aria-hidden","true"),Object.keys(this.targetAttr).forEach(function(t){e.target.setAttribute(t,e.targetAttr[t])}),this.rovingTabIndex(),this.controller.addEventListener("click",this.ariaToggle),this.target.addEventListener("keydown",this.keyDownHandler),document.body.addEventListener("click",this.outsideClick)}},{key:"setTargetAttributes",value:function(){var e=this;"object"===i(this.attributes)&&Object.keys(this.attributes).forEach(function(t){e.targetAttr["aria-"+t]=e.attributes[t]}),""!==this.target.id?this.targetId=this.target.id:(this.targetId=a.default.generateTargetId(this.target),this.target.id=this.targetId)}},{key:"outsideClick",value:function(e){!this.isExpanded||this.controller.contains(e.target)||this.target.contains(e.target)||this.ariaHide()}},{key:"keyDownHandler",value:function(e){this.isExpanded&&(e.keyCode===this.tabKey?this.keydownTabOut(e):e.keyCode===this.escapeKey&&(e.stopPropagation(),this.keydownEsc()))}},{key:"keydownEsc",value:function(){this.ariaHide()}},{key:"keydownTabOut",value:function(e){var t=Array.prototype.indexOf.call(this.interactiveChildElements,document.activeElement);e.shiftKey&&0===t?(e.preventDefault(),this.ariaHide()):e.shiftKey||t!==this.interactiveChildElements.length-1||this.ariaHide()}},{key:"rovingTabIndex",value:function(){var e=this;this.collectInteractiveChildren(),Array.prototype.forEach.call(this.interactiveChildElements,function(t){e.isExpanded?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1")})}},{key:"ariaHide",value:function(){o.default.mutate(this._hide)}},{key:"_hide",value:function(){this.target.contains(document.activeElement)&&this.controller.focus(),this.controller.setAttribute("aria-expanded","false"),this.target.setAttribute("aria-hidden","true"),this.isExpanded=!1;var e,t={expanded:this.isExpanded};e=a.default.createAriaEvent("popuphide",t),this.controller.dispatchEvent(e),this.rovingTabIndex()}},{key:"ariaShow",value:function(){o.default.mutate(this._show)}},{key:"_show",value:function(){this.controller.setAttribute("aria-expanded","true"),this.target.setAttribute("aria-hidden","false"),this.isExpanded=!0;var e,t={expanded:this.isExpanded};e=a.default.createAriaEvent("popupshow",t),this.controller.dispatchEvent(e),this.collectInteractiveChildren(),this.rovingTabIndex(),this.setFocusToFirstItem()}},{key:"ariaToggle",value:function(e){e.preventDefault(),this.isExpanded?this.ariaHide():this.ariaShow()}},{key:"ariaDestroy",value:function(){o.default.mutate(this._destroy)}},{key:"_destroy",value:function(){var e=this;this.target.contains(document.activeElement)&&this.controller.focus(),this.controller.removeAttribute("aria-haspopup"),this.controller.removeAttribute("aria-expanded"),this.controller.removeAttribute("aria-controls"),this.controller.removeAttribute("aria-owns"),this.target.removeAttribute("aria-hidden"),Object.keys(this.targetAttr).forEach(function(t){e.target.removeAttribute(t,e.targetAttr[t])}),this.isExpanded=!1,this.collectInteractiveChildren(),Array.prototype.forEach.call(this.interactiveChildElements,function(e){e.removeAttribute("tabindex")});var t,n={expanded:this.isExpanded};t=a.default.createAriaEvent("popupdestroy",n),this.controller.dispatchEvent(t)}},{key:"ariaReset",value:function(){o.default.mutate(this._reset)}},{key:"_reset",value:function(){this.ariaSetup(),this.target.contains(document.activeElement)&&this.controller.focus();var e;e=a.default.createAriaEvent("popupreset",{expanded:!1}),this.controller.dispatchEvent(e)}}]),t}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(13)),o=a(n(9));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.element=e.dialog,n.closeButton=e.close,n.siteContent=e.content,n.attributes=e.attributes||{},n.targetElement=n.element,n.overlay=document.getElementById("aria-dialog-overlay"),null===n.overlay&&(n.overlay=n.constructor.createOverlayElement(),document.body.insertBefore(n.overlay,n.element)),n.isShown=!1,n.outsideClick=n.outsideClick.bind(n),n.keyDownHandler=n.keyDownHandler.bind(n),n.keydownTrapTab=n.keydownTrapTab.bind(n),n.keydownEsc=n.keydownEsc.bind(n),n._hide=n._hide.bind(n),n._show=n._show.bind(n),n.ariaHide=n.ariaHide.bind(n),n.ariaShow=n.ariaShow.bind(n),n.ariaToggle=n.ariaToggle.bind(n),o.default.eventPolyfill(),n.init(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,null,[{key:"createOverlayElement",value:function(){var e=document.createElement("div");return e.id="aria-dialog-overlay",e}}]),i(t,[{key:"init",value:function(){var e=this;this.element.setAttribute("aria-hidden","true"),Object.keys(this.attributes).forEach(function(t){e.element.setAttribute("aria-"+t,e.attributes[t])})}},{key:"outsideClick",value:function(e){this.isShown&&!this.element.contains(e.target)&&this.ariaHide()}},{key:"keyDownHandler",value:function(e){this.isShown&&(e.keyCode===this.tabKey?this.keydownTrapTab(e):e.keyCode===this.escapeKey&&this.keydownEsc())}},{key:"keydownTrapTab",value:function(e){this.collectInteractiveChildren();var t=Array.prototype.indexOf.call(this.interactiveChildElements,document.activeElement),n=this.interactiveChildElements.length-1;e.shiftKey&&0===t?(e.preventDefault(),this.interactiveChildElements[n].focus()):e.shiftKey||t!==n||(e.preventDefault(),this.interactiveChildElements[0].focus())}},{key:"keydownEsc",value:function(){this.ariaHide()}},{key:"ariaHide",value:function(){r.default.mutate(this._hide)}},{key:"_hide",value:function(){this.element.setAttribute("aria-hidden","true"),this.siteContent.setAttribute("aria-hidden","false"),this.isShown=!1,this.closeButton.removeEventListener("click",this.ariaHide),document.body.removeEventListener("keydown",this.keyDownHandler),this.overlay.removeEventListener("click",this.outsideClick);var e,t={expanded:this.isShown};e=o.default.createAriaEvent("dialoghide",t),this.element.dispatchEvent(e),this.focusEl.focus()}},{key:"ariaShow",value:function(){r.default.mutate(this._show)}},{key:"_show",value:function(){this.focusEl=document.activeElement,this.element.setAttribute("aria-hidden","false"),this.siteContent.setAttribute("aria-hidden","true"),this.isShown=!0,this.closeButton.addEventListener("click",this.ariaHide),document.body.addEventListener("keydown",this.keyDownHandler),this.overlay.addEventListener("click",this.outsideClick);var e,t={expanded:this.isShown};e=o.default.createAriaEvent("dialogshow",t),this.element.dispatchEvent(e),this.collectInteractiveChildren(),this.setFocusToFirstItem()}},{key:"ariaToggle",value:function(){this.isShown?this.ariaHide():this.ariaShow()}}]),t}();t.default=s},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(198)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,,,,,function(e,t,n){"use strict";n.r(t);var i=n(2),r=n(3),o=n(6),a=n(28);n(186);function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lineLimit=1,this.caption=t,this.lineLimit=n,this.toggleButton=null,this.onResize=this.onResize.bind(this),this.onResizeDebounce=new r.a(this.onResize,"resize",window,250,!1)}var t,n,i;return t=e,(n=[{key:"setClamp",value:function(){this.caption&&this.lineLimit&&Object(o.a)(this.caption,{clamp:this.lineLimit})}},{key:"setToggle",value:function(){var e=this;if(this.caption){this.caption.classList.add("caption-toggle"),this.caption.style.paddingBottom="0.125em",this.caption.style.paddingRight="2em",Element.prototype.closest&&this.caption.closest(".wp-block-jetpack-slideshow")&&(this.caption.style.maxHeight="40%",this.caption.style.zIndex="11");var t=nexstar.template_variables.l10n.read_more_arrow;this.toggleButton||(this.toggleButton=Object(a.a)("caption-toggle__button",'<span class="screenreadertext">'.concat(t,"</span>"),[{name:"aria-expanded",value:"false"}],function(){e.caption.classList.toggle("caption-toggle--expanded"),"false"===e.toggleButton.getAttribute("aria-expanded")?e.toggleButton.setAttribute("aria-expanded","true"):e.toggleButton.setAttribute("aria-expanded","false")}),this.caption.appendChild(this.toggleButton))}}},{key:"destroyToggle",value:function(){this.caption&&this.toggleButton&&(this.caption.classList.remove("caption-toggle","caption-toggle--expanded"),this.caption.style.paddingBottom="",this.caption.style.paddingRight="",this.toggleButton.remove(),this.toggleButton=null)}},{key:"shouldToggle",value:function(){if(!this.caption)return!1;var e=this.caption,t=e.clientHeight,n=e.scrollHeight;return Boolean(n>t)}},{key:"onResize",value:function(){this.shouldToggle()&&!this.toggleButton?this.setToggle():this.shouldToggle()||this.destroyToggle()}},{key:"init",value:function(){this.setClamp(),this.shouldToggle()&&this.setToggle()}}])&&s(t.prototype,n),i&&s(t,i),e}();n(188);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y={name:"article",class:function(e){function t(e){var n,i,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,o=u(t).call(this,e),(n=!o||"object"!==c(o)&&"function"!=typeof o?d(i):o).readMoreButton=null,n.dismissed=!1;var a=n.children,s=a.slideshowBlock,l=a.galleryBlock,f=n.options,h=f.slideshowCaptionClass,p=f.galleryCaptionClass;return n.shouldArticleCondense(),t.setCaptionClamp(s,h),t.setCaptionClamp(l,p),n.onResize=n.onResize.bind(d(n)),n.onResizeDebounce=new r.a(n.onResize,"resize",window,250,!1),n.element.addEventListener("click",function(e){e.target.classList.contains(n.options.readMoreButtonClass)&&n.setArticleExpanded()}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,i["Component"]),h(t,null,[{key:"setCaptionClamp",value:function(e,t){e&&e instanceof NodeList&&Array.prototype.forEach.call(e,function(e){var n=e.querySelectorAll(t);n&&n instanceof NodeList&&Array.prototype.forEach.call(n,function(e){new l(e,1).init()})})}}]),h(t,[{key:"onResize",value:function(){this.shouldArticleCondense()}},{key:"setArticleCondensed",value:function(){this.element.classList.add(this.options.articleCondensedClass),this.createButton()}},{key:"setArticleExpanded",value:function(){this.element.classList.remove(this.options.articleCondensedClass),this.dismissed=!0,this.destroyButton()}},{key:"shouldArticleCondense",value:function(){if(!this.dismissed){var e=window.nexstar.continue_reading_cta,t=this.children.content.offsetHeight;e.min_content_height<=t&&matchMedia("(max-width: ".concat(e.breakpoint,"px)")).matches?this.setArticleCondensed():this.setArticleExpanded()}}},{key:"createButton",value:function(){if(!this.readMoreButton){var e=window.nexstar.continue_reading_cta;this.readMoreButton=document.createElement("button"),this.readMoreButton.classList.add(this.options.readMoreButtonClass),this.readMoreButton.innerText=e.l10n.cta_text,this.children.content.appendChild(this.readMoreButton)}}},{key:"destroyButton",value:function(){this.readMoreButton&&(this.children.content.removeChild(this.readMoreButton),this.readMoreButton=null)}}]),t}(),querySelector:{content:".article-content",inlineRelatedStories:".inline-related-stories"},querySelectorAll:{slideshowBlock:".wp-block-jetpack-slideshow",galleryBlock:".wp-block-gallery"},options:{readMoreButtonClass:"article-read-more-button",articleCondensedClass:"article--is-condensed",alignLeftClass:"alignleft",slideshowCaptionClass:".wp-block-jetpack-slideshow_caption",galleryCaptionClass:".blocks-gallery-item__caption"}},m=(n(190),n(192),new i.ComponentManager("nexstar"));document.addEventListener("DOMContentLoaded",function(){m.initComponents([y])})}]);
//# sourceMappingURL=article.254797572690035b1f1f.bundle.min.js.map