/*! This file is auto-generated */ (()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};let n;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===n&&(n=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),n.innerHTML=e;const t=n.textContent;return n.innerHTML="",t}e.r(t),e.d(t,{decodeEntities:()=>o}),(window.wp=window.wp||{}).htmlEntities=t})();; /*! For license information please see view.js.LICENSE.txt */ !function(){var e={6999:function(e,t,n){"use strict";var r=n(6848);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9067:function(e,t,n){e.exports=n(6999)()},6848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3373:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return g(t,s,o,i,null)}function g(e,n,o,i,a){var s={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++r:a,__i:-1,__u:0};return null==a&&null!=t.vnode&&t.vnode(s),s}function y(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__i+1):null;for(var n;tn&&o.sort(s));N.__r=0}function S(e,t,n,r,o,i,a,s,l,c,_){var p,f,h,m,v,g=r&&r.__k||d,y=t.length;for(n.__d=l,L(n,t,g),l=n.__d,p=0;p0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=T(o,n,a,_),o.__i=s,i=null,-1!==s&&(_--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&u--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?u++:s>a?_>l-a?u+=s-a:u--:s(null!=l&&0==(131072&l.__u)?1:0))for(;a>=0||s=0){if((l=t[a])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s=n.__.length&&n.__.push({__V:Y}),n.__[e]}function ie(e){return Z=1,ae(ve,e)}function ae(e,t,n){var r=oe(j++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ve(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};F.u=!0;var i=F.shouldComponentUpdate,a=F.componentWillUpdate;F.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},F.shouldComponentUpdate=o}return r.__N||r.__}function se(e,t){var n=oe(j++,3);!K.__s&&me(n.__H,t)&&(n.__=e,n.i=t,F.__H.__h.push(n))}function le(e){return Z=5,ce((function(){return{current:e}}),[])}function ce(e,t){var n=oe(j++,7);return me(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function _e(e,t){return Z=8,ce((function(){return e}),t)}function ue(){for(var e;e=Q.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(fe),e.__H.__h.forEach(he),e.__H.__h=[]}catch(t){e.__H.__h=[],K.__e(t,e.__v)}}K.__b=function(e){F=null,J&&J(e)},K.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),re&&re(e,t)},K.__r=function(e){X&&X(e),j=0;var t=(F=e.__c).__H;t&&(B===F?(t.__h=[],F.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Y,e.__N=e.i=void 0}))):(t.__h.forEach(fe),t.__h.forEach(he),t.__h=[],j=0)),B=F},K.diffed=function(e){ee&&ee(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Q.push(t)&&V===K.requestAnimationFrame||((V=K.requestAnimationFrame)||pe)(ue)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Y&&(e.__=e.__V),e.i=void 0,e.__V=Y}))),B=F=null},K.__c=function(e,t){t.some((function(e){try{e.__h.forEach(fe),e.__h=e.__h.filter((function(e){return!e.__||he(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],K.__e(n,e.__v)}})),te&&te(e,t)},K.unmount=function(e){ne&&ne(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{fe(e)}catch(e){t=e}})),n.__H=void 0,t&&K.__e(t,n.__v))};var de="function"==typeof requestAnimationFrame;function pe(e){var t,n=function(){clearTimeout(r),de&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);de&&(t=requestAnimationFrame(n))}function fe(e){var t=F,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),F=t}function he(e){var t=F;e.__c=e.__(),F=t}function me(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ve(e,t){return"function"==typeof t?t(e):t}var ge=window.wp.htmlEntities;const ye=e=>{const{title:t,description:n,slug:r,postId:o,isSelected:i,onInvoke:a,className:s,eyebrow:l,eyebrowIcon:c,cta:_,ctaLink:u,logo:d,logoLink:p}=e,[f,h]=ie("");se((()=>{h(i?`Remove ${t} from your subscription choices`:`Add ${t} to your subscription choices`)}),[i,t]);const m=_&&u,g=d&&p,y=m||g;return v("div",{className:`newsletter-signup-item ${s} ${i?"newsletter-signup-item--selected":""}`},v("input",{type:"checkbox",id:`newsletter-${r}`,name:"newsletters[]",className:"visually-hidden newsletter-signup-item__control",value:o,checked:i,tabIndex:-1}),v("button",{className:"newsletter-signup-item__select",type:"button",onClick:()=>a(o)},v("h5",{className:"newsletter-signup-item__title","aria-hidden":"true"},(0,ge.decodeEntities)(t)),v("div",{className:"newsletter-signup-item__status-icon"}),l&&v("p",{className:"newsletter-signup-item__eyebrow","aria-hidden":"true"},c,(0,ge.decodeEntities)(l)),v("p",{className:"newsletter-signup-item__description","aria-hidden":"true"},(0,ge.decodeEntities)(n)),y&&v("div",{className:"newsletter-signup-item__meta"},m&&v("a",{target:"_blank",href:u,className:"newsletter-signup-item__meta-cta",rel:"noreferrer"},_),g&&v("a",{target:"_blank",href:p,className:"newsletter-signup-item__meta-logo",rel:"noreferrer"},v("img",{src:d,alt:t}))),v("label",{htmlFor:`newsletter-${r}`,className:"visually-hidden newsletter-signup-item__action-label"},f)))};ye.propTypes={title:z().string.isRequired,description:z().string,slug:z().string.isRequired,postId:z().number.isRequired,isSelected:z().bool,onInvoke:z().func.isRequired,className:z().string,eyebrow:z().string,eyebrowIcon:z().string,logo:z().string,logoLink:z().string,cta:z().string,ctaLink:z().string},ye.defaultProps={description:"",isSelected:!1,className:"",eyebrow:"",eyebrowIcon:"",logo:"",logoLink:"",cta:"Learn More",ctaLink:""};var be=window.wp.apiFetch,we=n.n(be);var ke=(e,t,n,r=(()=>{}),o=(()=>{}))=>{if(0===e.length)return;const i={action:t?"subscribe":"unsubscribe",subs:e};n&&(i.email=n),grecaptcha.ready((()=>{grecaptcha.execute(reCAPTCHA.siteKey,{action:"submit"}).then((e=>{if(null===e)throw console.warn("Recaptcha token is null"),new Error("Recaptcha token is null");return i.token=e,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:`newsletter_${i.action}`}),we()({path:"/tc/v1/newsletters/update-user-newsletters",method:"POST",parse:!1,data:i})})).then((e=>{if(!e.ok)throw new Error("Request failed");r(),o(!1)})).catch((e=>{console.warn("Signup error",e),o(!0)}))}))};function xe(e,t){for(var n in t)e[n]=t[n];return e}function Ne(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Se(e,t){this.props=e,this.context=t}(Se.prototype=new b).isPureReactComponent=!0,Se.prototype.shouldComponentUpdate=function(e,t){return Ne(this.props,e)||Ne(this.state,t)};var Le=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Le&&Le(e)};var Ee="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ce(e){function t(t){var n=xe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ee,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Te=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Te(e,t,n,r)};var Pe=t.unmount;function Re(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=xe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Re(e,t,n)}))),e}function Oe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Oe(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Me(){this.__u=0,this.t=null,this.__b=null}function He(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ue(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Pe&&Pe(e)},(Me.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=He(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Oe(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Me.prototype.componentWillUnmount=function(){this.t=[]},Me.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Re(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(y,null,e.fallback);return o&&(o.__u&=-33),[v(y,null,t.__a?null:e.children),o]};var Ie=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),$(v(Ae,{context:t.context},e.__v),t.l)}function $e(e,t){var n=v(De,{__v:e,i:t});return n.containerInfo=t,n}(Ue.prototype=new b).__a=function(e){var t=this,n=He(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ie(t,e,r)):o()};n?n(i):i()}},Ue.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ue.prototype.componentDidUpdate=Ue.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ie(e,n,t)}))};var je="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Fe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Be=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ve=/[A-Z0-9]/g,qe="undefined"!=typeof document,We=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ge=t.event;function ze(){}function Ze(){return this.cancelBubble}function Qe(){return this.defaultPrevented}t.event=function(e){return Ge&&(e=Ge(e)),e.persist=ze,e.isPropagationStopped=Ze,e.isDefaultPrevented=Qe,e.nativeEvent=e};var Ye={enumerable:!1,configurable:!0,get:function(){return this.class}},Ke=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||qe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===a&&"no"===i?i=!1:"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||We(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Be.test(o)?o=a:-1===n.indexOf("-")&&Fe.test(o)?o=o.replace(Ve,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Ye)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=je,Ke&&Ke(e)};var Je=t.__r;t.__r=function(e){Je&&Je(e),e.__c};var Xe=t.diffed;t.diffed=function(e){Xe&&Xe(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),null};const et=Ce(((e,t)=>{const{value:n,onChange:r,onBlur:o,name:i,id:a,type:s="text",placeholder:l="",required:c=null,label:_="",error:u="",isVisible:d=!0,className:p="",submit:f="",submitClassName:h="is-style-primary-green"}=e;return v("div",{className:`form-input d-flex gap-8 flex-column ${p}`},_&&v("label",{htmlFor:i,className:"form-input__label d-block "+(d?"":"visually-hidden")},_," ",c&&"(required)"),v("div",{className:"d-flex gap-8 form-input__wrapper"},v("input",{ref:t,type:s,id:a||i,name:i,placeholder:l,value:n,onChange:r,onBlur:o,required:c,className:"form-input__input flex-grow-1 "+(u?"has-error":"")}),f&&v("div",{className:`wp-block-button ${h}`},v("button",{type:"submit",className:"wp-block-button__link wp-element-button"},"Subscribe"))),u&&v("span",{className:"form-input__error status status--alert"},u))}));et.propTypes={value:z().string,onChange:z().func,onBlur:z().func,name:z().string,id:z().string,type:z().string,placeholder:z().string,label:z().string,required:z().oneOfType([z().string,z().bool]),error:z().oneOfType([z().string,z().bool]),submit:z().string};var tt=et,nt=()=>v("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M9.5 7V8H15.795L7.5 16.295L8.205 17L16.5 8.705V15H17.5V7H9.5Z"})),rt=()=>v("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("defs",null,v("linearGradient",{x1:"100%",y1:"100%",x2:"0.6%",y2:"0.6%",id:"greenGrad"},v("stop",{stopColor:"#00D301",offset:"0%"}),v("stop",{stopColor:"#36C275",offset:"50.5%"}),v("stop",{stopColor:"#00A562",offset:"100%"}))),v("path",{d:"M0,4h4v4H0V4z M4,8h4v4H4V8z M8,12h4v4H8V12z M12,8h4v4h-4V8z M16,4h4v4h-4V4z",fill:"url(#greenGrad)"})),ot=window.wp.i18n,it=n(3373),at=n.n(it);const st=e=>{const{className:t,label:n,checked:r,disabled:o,onChange:i}=e,a=at()("switch",t,{"switch--disabled":o,"switch--checked":r}),s=le(null);return se((()=>{i(s.current.checked)}),[]),v("div",{className:a},v("label",{className:"switch__label",htmlFor:"switch__input"},v("input",{ref:s,type:"checkbox",checked:r,onChange:e=>{const t=e.target.checked;i&&i(t)},role:"switch",className:"switch__input",id:"switch__input",disabled:o}),v("span",{className:"switch__container"},v("span",{className:"switch__handle"})),n))};st.propTypes={className:z().string,label:z().string,checked:z().bool,disabled:z().bool,onChange:z().func.isRequired},st.defaultProps={className:"",label:"",checked:!1,disabled:!1};var lt=st;const ct=e=>{const{toggled:t,onToggled:n,el:r}=e;return $e(v(lt,{checked:t,onChange:e=>n(e),className:"switch--rapid-read",label:(0,ot.__)("Rapid Read","tc-23")}),r)};ct.propTypes={toggled:z().bool,onToggled:z().func,el:z().object},ct.defaultProps={toggled:!1,el:{}};var _t=ct;var ut=async e=>{try{const t=await we()({path:`/tc/v1/filter-posts?${e}`}),{posts:n,page:r,total_pages:o,total_posts:i}=t;return{posts:n,currentPage:r,totalPages:o,totalPosts:i}}catch(e){return new Error("Error fetching posts")}};function dt(e){for(var t=1;t{const r=n,o=function(e){return"gdpr"===e?encodeURI("https://techcrunch.mydashboard.oath.com/guc-redirect?app=thirdPartyContentEmbed"):"ccpa"===e?encodeURI("https://techcrunch.mydashboard.oath.com/guc-redirect?app=sellPersonalInformation"):"#"}(e),i=document.createElement("a");i.setAttribute("href",o),i.innerText="Click here to do so.",i.target="_blank",i.rel="noreferrer";const a=document.createElement("p");a.innerText="To view this content, you'll need to update your privacy settings.",a.append(document.createElement("br")),a.append(i);const s=document.createElement("div");if(s.classList.add("embed","embed--no-consent"),s.append(a),"ccpa"===e&&r.classList.contains("global-consent"))r.dataset.iframeSrc&&(!0!==t?r.append(s):(r.style="",r.append(pt(r)))),!0===t||r.dataset.iframeSrc?!0!==t||r.dataset.iframeSrc||(r.style="",r.innerHTML=r.innerHTML.replace("data-embed-custom-","").trim()):r.parentElement.append(s);else if("gdpr"===e)if(r.classList.contains("global-consent")&&r.classList.contains("eu-blocked")){const e=document.createElement("div");e.classList.add("embed","embed--no-consent"),e.innerText="Sorry, this content may not be available in your geographic region.",r.dataset.iframeSrc?r.append(e):r.parentElement.append(e)}else r.classList.contains("global-consent")&&r.classList.contains("eu-consent")&&(r.dataset.iframeSrc&&(!0!==t?r.append(s):(r.style="",r.append(pt(r)))),!0===t||r.dataset.iframeSrc?!0!==t||r.dataset.iframeSrc||(r.style="",r.innerHTML=r.innerHTML.replace("data-embed-custom-","").trim()):r.parentElement.append(s));else r.dataset.iframeSrc&&(r.style="",r.append(pt(r))),r.style="",r.innerHTML=r.innerHTML.replace("data-embed-custom-","").trim()}))}function ht(e){const{jurisdiction:t}=e,n=e.a1.indexOf("SELL_PERSONAL_INFORMATION")>-1,r=e.a1.indexOf("THIRD_PARTY_CONTENT_EMBED")>-1,o={jurisdiction:t};return o.allow="ccpa"===t?!!n:"gdpr"!==t||!!r,o}const mt=["img",".wp-block-tc-ads-ad-slot",".wp-block-image",".wp-block-gallery",".wp-block-post-title"],vt=e=>{const{post:t,focus:n}=e,[r,o]=ie(!0),i=le(null),a=le(null),s=ce((()=>!!window?.userConsent?.jurisdiction&&ht(window.userConsent)),[]);se((()=>{i.current&&i.current.classList.add(`rapid-read__post--post-${t.id}`)}),[t.id]),se((()=>{n&&a.current.focus({preventScroll:!0})}),[n]),se((()=>{const e=i.current.className.split(" ").find((e=>e.includes("rapid-read__post--post-")));r||ft(s?.jurisdiction,s?.allow,`.${e}`)}),[r,s?.jurisdiction,s?.allow]);return v("li",{className:"rapid-read__post",ref:i},v("p",{className:"rapid-read__post-type"},v("a",{href:t.postType.link},t.postType.name)),v("div",{className:"rapid-read__post-wrapper"},v("div",{className:"rapid-read__post-title-wrapper"},v("h3",{className:"rapid-read__post-title"},v("a",{ref:a,href:t.link,onClick:e=>{e.preventDefault(),o((e=>!e))},dangerouslySetInnerHTML:{__html:t.title}}))),v("div",{className:"rapid-read__post-author"},t?.authors&&v("p",null,t.authors.map(((e,n)=>e.display_name&&v(y,{key:e.ID},v("a",{href:`/author/${e.user_login}`,dangerouslySetInnerHTML:{__html:e.display_name}}),nv("p",{className:"rapid-read__post-term",key:e.id},v("a",{href:e.link,dangerouslySetInnerHTML:{__html:e.name}}),n{if(!e)return"";const n=document.createElement("div");n.innerHTML=e;const r=mt.join(", ");return n.querySelectorAll(r).forEach((e=>{if(e.classList.contains("wp-block-post-title")&&"Podcast"===t.postType.name){let t=e.nextElementSibling;for(;t;){const e=t.nextElementSibling;t.classList.contains("wp-block-group")?(t.remove(),t=e):t=null}}e.remove()})),n.innerHTML})(t?.content)}}),v("div",{className:"rapid-read__post-preview-read-more"},v("a",{className:"rapid-read__post-preview-read-more-link gradient-text gradient-text--green-gradient",href:t.link},"Read More",v(rt,null)))))};vt.propTypes={post:z().object,focus:z().bool},vt.defaultProps={post:{},focus:!1};var gt=vt;const yt=e=>{const{dateGroup:t,rapidReadPosts:n,focus:r}=e,[o,i]=ie(!1),a=le(null),s=()=>{i(!o)};return se((()=>{r&&a.current.focus({preventScroll:!0})}),[r]),v("div",{key:t,className:"rapid-read__group"},v("div",{className:"rapid-read__head",ref:a,role:"button",tabIndex:0,"aria-label":o?(0,ot.__)(`Minimize to hide stories for ${t}`,"tc-23"):(0,ot.__)(`Expand to see stories for ${t}`,"tc-23"),onClick:s,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||s()}},v("div",{className:"rapid-read__title-wrapper"},v("h2",{className:"rapid-read__title gradient-text gradient-text--green-reverse-gradient"},t.split(",")[0]),v("div",{className:"rapid-read__count"},n[t].length," stories")),v("div",{className:"rapid-read__expander"},v("span",{className:"rapid-read__expander-plus"},o?"-":"+"))),o&&v("ul",null,n[t].map((e=>v(gt,{key:e.link,post:e})))))};yt.propTypes={dateGroup:z().string,rapidReadPosts:z().object,focus:z().bool},yt.defaultProps={dateGroup:"",rapidReadPosts:{},focus:!1};var bt=yt;const wt=e=>{const{isExtraCrunch:t,reverse:n}=e;return v("svg",{className:"tc-mark-loading-logo "+(n?"reverse":"standard"),viewBox:"0 0 76 46",x:"0px",y:"0px","aria-hidden":!0},v("title",null,"TC Loading Logo"),v("defs",null,v("linearGradient",{x1:"100%",y1:"100%",x2:"0.571986607%",y2:"0.571986607%",id:"tc-gradient"},v("stop",{stopColor:"#00D301",offset:"0%"}),v("stop",{stopColor:"#36C275",offset:"50%"}),v("stop",{stopColor:"#00A562",offset:"100%"})),v("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"100%",id:"ec-gradient"},v("stop",{stopColor:"#DCA946",offset:"0%"}),v("stop",{stopColor:"#FED952",offset:"100%"})),v("mask",{id:"tc-logo",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"59.5",height:"29.5"},v("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M10,0 L20,0 L20,10 L10,10 L10,0 Z M10,10 L20,10 L20,20 L10,20 L10,10 Z M10,20 L20,20 L20,30 L10,30 L10,20 Z M20,0 L30,0 L30,10 L20,10 L20,0 Z M30,10 L40,10 L40,20 L30,20 L30,10 Z M30,20 L40,20 L40,30 L30,30 L30,20 Z M40,20 L50,20 L50,30 L40,30 L40,20 Z M40,0 L50,0 L50,10 L40,10 L40,0 Z M50,20 L60,20 L60,30 L50,30 L50,20 Z M50,0 L60,0 L60,10 L50,10 L50,0 Z",fill:"white"}))),v("g",{className:"animation-group",mask:"url(#tc-logo)"},v("rect",{id:"logo-gradient",x:"0",y:"0",width:"73",height:"43",fill:`url(#${t?"ec-gradient":"tc-gradient"})`}),v("rect",{x:"49.9",y:"20",className:"tc-mark tc-mark-0",width:"10.2",height:"10.2"}),v("rect",{x:"-.1",y:"0",className:"tc-mark tc-mark-1",width:"10.2",height:"10.2"}),v("rect",{x:"9.9",y:"20",className:"tc-mark tc-mark-2",width:"10.2",height:"10.2"}),v("rect",{x:"49.9",y:"0",className:"tc-mark tc-mark-3",width:"10.2",height:"10.2"}),v("rect",{x:"29.9",y:"20",className:"tc-mark tc-mark-4",width:"10.2",height:"10.2"}),v("rect",{x:"19.9",y:"0",className:"tc-mark tc-mark-5",width:"10.2",height:"10.2"}),v("rect",{x:"9.9",y:"0",className:"tc-mark tc-mark-6",width:"10.2",height:"10.2"}),v("rect",{x:"39.9",y:"0",className:"tc-mark tc-mark-7",width:"10.2",height:"10.2"}),v("rect",{x:"9.9",y:"10",className:"tc-mark tc-mark-8",width:"10.2",height:"10.2"}),v("rect",{x:"29.9",y:"10",className:"tc-mark tc-mark-9",width:"10.2",height:"10.2"}),v("rect",{x:"39.9",y:"20",className:"tc-mark tc-mark-10",width:"10.2",height:"10.2"})))};wt.propTypes={isExtraCrunch:z().bool,reverse:z().bool},wt.defaultProps={isExtraCrunch:!1,reverse:!1};var kt=wt;const xt=e=>{const{isExtraCrunch:t,isLoading:n,onClick:r}=e;return v("button",{type:"button",className:"load-more "+(n?"loading":""),onClick:r},n?v(kt,{isExtraCrunch:t,reverse:!1}):v("p",{className:"gradient-text gradient-text--green-gradient"},"Load More"))};xt.defaultProps={isExtraCrunch:!1,isLoading:!1},xt.propTypes={isExtraCrunch:z().bool,isLoading:z().bool,onClick:z().func.isRequired};var Nt=xt;const St={initialized:!1,rapidReadPosts:null,toggle:!1,loading:!1,paged:1,focus:null,error:!1,noMorePosts:!1,status:"serverContent",loadingMore:!1},Lt=(e,t)=>{switch(t.type){case"SET_POSTS":return{...e,rapidReadPosts:t.payload,initialized:!0,status:"rapidReadContent",loadingMore:!1};case"SET_FOCUS":return{...e,focus:t.payload};case"SET_ERROR":return{...e,status:"error",loadingMore:!1};case"SET_NO_MORE_POSTS":return{...e,noMorePosts:!0};case"TOGGLED":return t.payload?{...e,toggle:!0,status:e.initialized?"rapidReadContent":"initialLoading"}:{...e,toggle:!1,status:"serverContent"};case"LOADING_MORE":return{...e,loadingMore:!0,paged:t.payload};case"LOADING_MORE_END":return{...e,loadingMore:!1,status:"rapidReadContent"};default:return e}},Et=e=>{const{serverEl:t,classes:n,displayStyle:r,template:o,templateQuery:i,toggled:a,el:s}=e,[l,c]=ae(Lt,St),{initialized:_,rapidReadPosts:u,paged:d,focus:p,noMorePosts:f,status:h,loadingMore:m}=l;se((()=>{c({type:"TOGGLED",payload:a}),!a||_&&!m||async function(){try{const e=new URLSearchParams(window.location.search);switch(e.set("rapid_read",!0),e.set("per_page",50),e.set("pg",d),"standard"===r&&_&&e.set("per_page",30),o){case"archive":e.set("tax_term_id",i);break;case"search":e.set("s",i)}const t=await ut(e);if(t instanceof Error)throw t;if(!t?.posts)return void c({type:"LOADING_MORE_END"});let n;if("date"===r){let e="";const r=t?.posts.reduce(((t,n,r)=>{if(!n.date)return t;0===r&&(e=n.date);const o=[...t[n.date]||[]];return o.push(n),{...t,[n.date]:o}}),{});_?(n={...u,...r,[e]:u[e]?[...u[e],...r[e]]:r[e]},c({type:"SET_FOCUS",payload:e})):n=r}"standard"===r&&(_?(n=[...u,...t.posts],c({type:"SET_FOCUS",payload:t.posts[0].link})):n=t.posts),c({type:"SET_POSTS",payload:n}),t?.totalPages===d&&c({type:"SET_NO_MORE_POSTS"})}catch(e){c({type:"SET_ERROR"})}}()}),[a,d]);return $e(v(y,null,"serverContent"===h&&v(y,null,v("div",{className:n,dangerouslySetInnerHTML:{__html:t}})),"rapidReadContent"===h&&!u&&v("p",null,(0,ot.__)("Sorry, there are no posts to be found.","tc-23")),"rapidReadContent"===h&&u&&v("div",{className:"rapid-read__articles"},"date"===r&&Object.keys(u).map((e=>v(bt,{dateGroup:e,rapidReadPosts:u,focus:p===e}))),"standard"===r&&v("ul",null,u.map((e=>v(gt,{key:e.link,post:e,focus:p===e.link})))),d<100&&!f&&v(Nt,{isExtraCrunch:!1,isLoading:m,onClick:()=>{c({type:"LOADING_MORE",payload:d+1})}})),"error"===h&&v("p",{className:"rapid-read__error"},(0,ot.__)("An error occured, please reload and try again.","tc-23")),"initialLoading"===h&&v("div",{className:"rapid-read__loading-overlay-container"},v("div",{className:n,dangerouslySetInnerHTML:{__html:t}}),v("div",{className:"rapid-read__loading-overlay"},v(kt,{isExtraCrunch:!1,reverse:!1})))),s)};Et.propTypes={serverEl:z().string,classes:z().string,displayStyle:z().string,template:z().string,templateQuery:z().string,toggled:z().bool,el:z().object},Et.defaultProps={serverEl:"",classes:"",displayStyle:"standard",template:"home",templateQuery:"",toggled:!1,el:{}};var Ct=Et;const Tt=e=>{const{rapidReadSwitchDiv:t,rapidReadEl:n,template:r,templateQuery:o,classes:i,displayStyle:a,serverEl:s}=e,[l,c]=ie(!1);return v(y,null,v(_t,{toggled:l,onToggled:c,el:t}),v(Ct,{toggled:l,serverEl:s,classes:i,displayStyle:a,template:r,templateQuery:o,el:n}))};Tt.propTypes={rapidReadSwitchDiv:z().object,rapidReadEl:z().object,template:z().string,templateQuery:z().string,classes:z().string,displayStyle:z().string,serverEl:z().string},Tt.defaultProps={rapidReadSwitchDiv:{},rapidReadEl:{},template:"home",templateQuery:"",classes:"",displayStyle:"standard",serverEl:""};function Pt(e){const{validity:t}=e;return t.valueMissing?"This field is required.":t.typeMismatch&&"email"===e.type?"Please enter an email address.":t.tooLong?`Please enter a value less than or equal to ${e.maxLength}.`:t.tooShort?`Please enter a value greater than or equal to ${e.minLength}.`:"The value you entered for this field is invalid."}var Rt=e=>{const[t,n]=ie(e),[r,o]=ie({}),[i]=ie((()=>{const t={};return Object.keys(e).forEach((e=>{t[e]={current:null}})),t})),a=_e((e=>{let t=!0;if(e.current)if(e.current.validity.valid){const{[e.current.name]:t,...n}=r;o(n)}else t=!1,o({...r,[e.current.name]:Pt(e.current)});return t}),[r]),s=_e((()=>{let e=!0;return Object.values(i).forEach((t=>{a(t)||(e=!1)})),e}),[i,a]);return{values:t,errors:r,formRefs:i,methods:{handleChange:e=>{const{name:r,value:o}=e.target;n({...t,[r]:o})},handleBlur:e=>{const{name:t}=e.target,n=i[t];n&&a(n)},handleSubmit:(e,t=null)=>{e.preventDefault();if(s()&&"function"===typeof t)t();else{const e=Object.keys(r)[0];e&&i[e].current&&i[e].current.focus()}}}}};const Ot=({newsletters:e,urls:t,currentUserEmail:n})=>{const[r]=ie(e),[o,i]=ie("No newsletters selected"),[a,s]=ie(!1),{values:{email:l},errors:c,methods:{handleChange:_,handleBlur:u,handleSubmit:d},formRefs:p}=Rt({email:n});se((()=>{r.length<=0?i("No newsletters"):1===r.length?i("1 newsletter"):i(`${r.length} newsletters`)}),[r]);const f=e=>{const t=document.getElementById("aria-live-region");t&&(t.textContent=e,t.setAttribute("aria-live","assertive"))},h=()=>{s(!0);try{ke(r,!0,l,(()=>{f(`You have subscribed to ${o}`),window.InfoPopup.create({title:"Thanks for subscribing!",description:"You should start seeing our newsletters in your mailbox real soon.",continueTitle:"Whats next?",continueSecription:"Create a free account to manage your newsletter preferences.",ctaText:"Create Your free Acount",ctaLink:window.tcFrontendData.identityUrls.register,secondaryText:"Already have an account?",secondaryCtaText:"Sign in",secondaryCtaLink:window.tcFrontendData.identityUrls.login}),s(!1)}),(e=>{e&&(f(`An error occurred while subscribing to ${o}`),window.InfoPopup.create({title:"There has been an error trying to subscribe.",description:"You can try checking your inbox for an email to manage your subscription preferences."}),s(!1))}))}catch(e){console.warn("error",e),s(!1)}},m=r.length>0&&!c.email&&""!==l;return v(y,null,v("form",{"aria-busy":a,method:"POST",action:"/",className:"newsletter-signup-single__form validated-form",onSubmit:e=>{d(e,h)},onChange:_,onBlur:u,noValidate:!0},a&&v("div",{className:"screen-reader-text","aria-live":"assertive","aria-relevant":"additions"},a&&v("p",null,"Subscribing...")),v("div",null,v("fieldset",null,v(tt,{className:"form-input--one-column",ref:p.email,type:"email",name:"email",required:!0,label:"Email address",value:l,placeholder:"Email address",error:c.email,submit:a?"Subscribing...":"Subscribe",submitClassName:!m||a?"is-disabled":"is-style-primary-green",isVisible:!0})),t.termsOfService&&t.privacyPolicy&&v("p",{className:"newsletter-signup-single__compliance caption text-grey-900"},"By submitting your email, you agree to our"," ",v("a",{href:t.termsOfService},"Terms")," and"," ",v("a",{href:t.privacyPolicy},"Privacy Notice"),"."))),v("div",{className:"d-flex justify-content-between align-items-start align-items-sm-center mb-24 flex-column flex-sm-row"},t.expandedSignup&&v("a",{className:"newsletter-signup-single__more d-flex align-items-center",href:t.expandedSignup},"All newsletters ",v(nt,null))))};Ot.propTypes={newsletters:z().arrayOf(z().shape({title:z().string,description:z().string,slug:z().string})),currentUserEmail:z().string,urls:z().shape({expandedSignup:z().string,privacyPolicy:z().string,termsOfService:z().string})},Ot.defaultProps={newsletters:[],currentUserEmail:"",urls:{expandedSignup:null,privacyPolicy:null,termsOfService:null}};var Mt=Ot;const Ht=({newsletters:e,urls:t,currentUserEmail:n})=>v(Mt,{newsletters:e,urls:t,currentUserEmail:n});W()((()=>{const e=document.querySelectorAll(".wp-block-tc23-newsletter-signup-single"),t=document.getElementById("newsletter-single-initial-data");if(t&&e?.length){const n=JSON.parse(t.innerHTML);e.forEach((e=>{$(v(Ht,{newsletters:n.newsletters,urls:n.urls,currentUserEmail:n.currentUserEmail}),e)}))}}))}()}();; !function(){"use strict";var t={4977:function(t,e,n){var r=n(4188),o=n(3174),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},4121:function(t,e,n){var r=n(6712),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},5458:function(t,e,n){var r=n(4282),o=n(7065),i=n(4466).f,a=r("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},3770:function(t,e,n){var r=n(831),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},7500:function(t,e,n){var r=n(4104).forEach,o=n(5397)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1458:function(t,e,n){var r=n(380),o=n(675),i=n(9389),a=function(t){return function(e,n,a){var c=r(e),u=i(c);if(0===u)return!t&&-1;var s,f=o(a,u);if(t&&n!==n){for(;u>f;)if((s=c[f++])!==s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4104:function(t,e,n){var r=n(5821),o=n(6881),i=n(7568),a=n(3628),c=n(9389),u=n(5022),s=o([].push),f=function(t){var e=1===t,n=2===t,o=3===t,f=4===t,l=6===t,p=7===t,v=5===t||l;return function(b,y,h,d){for(var g,m,x=a(b),S=i(x),O=c(S),w=r(y,h),A=0,T=d||u,L=e?T(b,O):n||p?T(b,0):void 0;O>A;A++)if((v||A in S)&&(m=w(g=S[A],A,x),t))if(e)L[A]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return A;case 2:s(L,g)}else switch(t){case 4:return!1;case 7:s(L,g)}return l?-1:o||f?f:L}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},5397:function(t,e,n){var r=n(5234);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},9980:function(t,e,n){var r=n(6719),o=n(866),i=n(831),a=n(4282)("species"),c=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(o(e)&&(e===c||r(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?c:e}},5022:function(t,e,n){var r=n(9980);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},8689:function(t,e,n){var r=n(6881),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},5438:function(t,e,n){var r=n(9345),o=n(4188),i=n(8689),a=n(4282)("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),a))?n:u?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},8657:function(t,e,n){var r=n(4418),o=n(3168),i=n(9304),a=n(4466);t.exports=function(t,e,n){for(var c=o(e),u=a.f,s=i.f,f=0;f0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},1274:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:function(t,e,n){var r=n(1488),o=n(9304).f,i=n(8088),a=n(7509),c=n(4798),u=n(8657),s=n(8489);t.exports=function(t,e){var n,f,l,p,v,b=t.target,y=t.global,h=t.stat;if(n=y?r:h?r[b]||c(b,{}):r[b]&&r[b].prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(v=o(n,f))&&v.value:n[f],!s(y?f:b+(h?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},5234:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},5821:function(t,e,n){var r=n(5691),o=n(4977),i=n(9055),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},9055:function(t,e,n){var r=n(5234);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9944:function(t,e,n){var r=n(9055),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},2735:function(t,e,n){var r=n(6893),o=n(4418),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},1025:function(t,e,n){var r=n(6881),o=n(4977);t.exports=function(t,e,n){try{return r(o(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},5691:function(t,e,n){var r=n(8689),o=n(6881);t.exports=function(t){if("Function"===r(t))return o(t)}},6881:function(t,e,n){var r=n(9055),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},5604:function(t,e,n){var r=n(1488),o=n(4188);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},2913:function(t,e,n){var r=n(4977),o=n(4318);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},1488:function(t,e,n){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4418:function(t,e,n){var r=n(6881),o=n(3628),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},7588:function(t){t.exports={}},7458:function(t,e,n){var r=n(5604);t.exports=r("document","documentElement")},9622:function(t,e,n){var r=n(6893),o=n(5234),i=n(5926);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7568:function(t,e,n){var r=n(6881),o=n(5234),i=n(8689),a=Object,c=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},3029:function(t,e,n){var r=n(6881),o=n(4188),i=n(2694),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},3086:function(t,e,n){var r,o,i,a=n(5945),c=n(1488),u=n(831),s=n(8088),f=n(4418),l=n(2694),p=n(168),v=n(7588),b="Object already initialized",y=c.TypeError,h=c.WeakMap;if(a||l.state){var d=l.state||(l.state=new h);d.get=d.get,d.has=d.has,d.set=d.set,r=function(t,e){if(d.has(t))throw new y(b);return e.facade=t,d.set(t,e),e},o=function(t){return d.get(t)||{}},i=function(t){return d.has(t)}}else{var g=p("state");v[g]=!0,r=function(t,e){if(f(t,g))throw new y(b);return e.facade=t,s(t,g,e),e},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw new y("Incompatible receiver, "+t+" required");return n}}}},6719:function(t,e,n){var r=n(8689);t.exports=Array.isArray||function(t){return"Array"===r(t)}},4188:function(t){var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},866:function(t,e,n){var r=n(6881),o=n(5234),i=n(4188),a=n(5438),c=n(5604),u=n(3029),s=function(){},f=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=r(l.exec),v=!l.test(s),b=function(t){if(!i(t))return!1;try{return f(s,[],t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(l,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||o((function(){var t;return b(b.call)||!b(Object)||!b((function(){t=!0}))||t}))?y:b},8489:function(t,e,n){var r=n(5234),o=n(4188),i=/#|\.prototype\./,a=function(t,e){var n=u[c(t)];return n===f||n!==s&&(o(e)?r(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},4318:function(t){t.exports=function(t){return null===t||void 0===t}},831:function(t,e,n){var r=n(4188);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6712:function(t,e,n){var r=n(831);t.exports=function(t){return r(t)||null===t}},1942:function(t){t.exports=!1},6032:function(t,e,n){var r=n(5604),o=n(4188),i=n(4578),a=n(9809),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,c(t))}},9383:function(t,e,n){var r=n(2037).IteratorPrototype,o=n(7065),i=n(9123),a=n(3754),c=n(9164),u=function(){return this};t.exports=function(t,e,n,s){var f=e+" Iterator";return t.prototype=o(r,{next:i(+!s,n)}),a(t,f,!1,!0),c[f]=u,t}},3217:function(t,e,n){var r=n(5613),o=n(9944),i=n(1942),a=n(2735),c=n(4188),u=n(9383),s=n(1786),f=n(5054),l=n(3754),p=n(8088),v=n(7509),b=n(4282),y=n(9164),h=n(2037),d=a.PROPER,g=a.CONFIGURABLE,m=h.IteratorPrototype,x=h.BUGGY_SAFARI_ITERATORS,S=b("iterator"),O="keys",w="values",A="entries",T=function(){return this};t.exports=function(t,e,n,a,b,h,L){u(n,e,a);var E,j,k,P=function(t){if(t===b&&M)return M;if(!x&&t&&t in _)return _[t];switch(t){case O:case w:case A:return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",I=!1,_=t.prototype,F=_[S]||_["@@iterator"]||b&&_[b],M=!x&&F||P(b),N="Array"===e&&_.entries||F;if(N&&(E=s(N.call(new t)))!==Object.prototype&&E.next&&(i||s(E)===m||(f?f(E,m):c(E[S])||v(E,S,T)),l(E,C,!0,!0),i&&(y[C]=T)),d&&b===w&&F&&F.name!==w&&(!i&&g?p(_,"name",w):(I=!0,M=function(){return o(F,this)})),b)if(j={values:P(w),keys:h?M:P(O),entries:P(A)},L)for(k in j)(x||I||!(k in _))&&v(_,k,j[k]);else r({target:e,proto:!0,forced:x||I},j);return i&&!L||_[S]===M||v(_,S,M,{name:b}),y[e]=M,j}},2037:function(t,e,n){var r,o,i,a=n(5234),c=n(4188),u=n(831),s=n(7065),f=n(1786),l=n(7509),p=n(4282),v=n(1942),b=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(r=o):y=!0),!u(r)||a((function(){var t={};return r[b].call(t)!==t}))?r={}:v&&(r=s(r)),c(r[b])||l(r,b,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},9164:function(t){t.exports={}},9389:function(t,e,n){var r=n(7611);t.exports=function(t){return r(t.length)}},4530:function(t,e,n){var r=n(6881),o=n(5234),i=n(4188),a=n(4418),c=n(6893),u=n(2735).CONFIGURABLE,s=n(3029),f=n(3086),l=f.enforce,p=f.get,v=String,b=Object.defineProperty,y=r("".slice),h=r("".replace),d=r([].join),g=c&&!o((function(){return 8!==b((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,e,n){"Symbol("===y(v(e),0,7)&&(e="["+h(v(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(c?b(t,"name",{value:e,configurable:!0}):t.name=e),g&&n&&a(n,"arity")&&t.length!==n.arity&&b(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?c&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=l(t);return a(r,"source")||(r.source=d(m,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return i(this)&&p(this).source||s(this)}),"toString")},142:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},7065:function(t,e,n){var r,o=n(3770),i=n(30),a=n(1274),c=n(7588),u=n(7458),s=n(5926),f=n(168),l="prototype",p="script",v=f("IE_PROTO"),b=function(){},y=function(t){return"<"+p+">"+t+""},h=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}d="undefined"!=typeof document?document.domain&&r?h(r):function(){var t,e=s("iframe"),n="java"+p+":";return e.style.display="none",u.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F}():h(r);for(var t=a.length;t--;)delete d[l][a[t]];return d()};c[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(b[l]=o(t),n=new b,b[l]=null,n[v]=t):n=d(),void 0===e?n:i.f(n,e)}},30:function(t,e,n){var r=n(6893),o=n(3315),i=n(4466),a=n(3770),c=n(380),u=n(7137);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=c(e),o=u(e),s=o.length,f=0;s>f;)i.f(t,n=o[f++],r[n]);return t}},4466:function(t,e,n){var r=n(6893),o=n(9622),i=n(3315),a=n(3770),c=n(2344),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";e.f=r?i?function(t,e,n){if(a(t),e=c(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&v in n&&!n[v]){var r=f(t,e);r&&r[v]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:l in n?n[l]:r[l],writable:!1})}return s(t,e,n)}:s:function(t,e,n){if(a(t),e=c(e),a(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},9304:function(t,e,n){var r=n(6893),o=n(9944),i=n(4416),a=n(9123),c=n(380),u=n(2344),s=n(4418),f=n(9622),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=u(e),f)try{return l(t,e)}catch(t){}if(s(t,e))return a(!o(i.f,t,e),t[e])}},5629:function(t,e,n){var r=n(1843),o=n(1274).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},156:function(t,e){e.f=Object.getOwnPropertySymbols},1786:function(t,e,n){var r=n(4418),o=n(4188),i=n(3628),a=n(168),c=n(680),u=a("IE_PROTO"),s=Object,f=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var e=i(t);if(r(e,u))return e[u];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof s?f:null}},4578:function(t,e,n){var r=n(6881);t.exports=r({}.isPrototypeOf)},1843:function(t,e,n){var r=n(6881),o=n(4418),i=n(380),a=n(1458).indexOf,c=n(7588),u=r([].push);t.exports=function(t,e){var n,r=i(t),s=0,f=[];for(n in r)!o(c,n)&&o(r,n)&&u(f,n);for(;e.length>s;)o(r,n=e[s++])&&(~a(f,n)||u(f,n));return f}},7137:function(t,e,n){var r=n(1843),o=n(1274);t.exports=Object.keys||function(t){return r(t,o)}},4416:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},5054:function(t,e,n){var r=n(1025),o=n(831),i=n(9509),a=n(4121);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),a(r),o(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0)},2287:function(t,e,n){var r=n(9944),o=n(4188),i=n(831),a=TypeError;t.exports=function(t,e){var n,c;if("string"===e&&o(n=t.toString)&&!i(c=r(n,t)))return c;if(o(n=t.valueOf)&&!i(c=r(n,t)))return c;if("string"!==e&&o(n=t.toString)&&!i(c=r(n,t)))return c;throw new a("Can't convert object to primitive value")}},3168:function(t,e,n){var r=n(5604),o=n(6881),i=n(5629),a=n(156),c=n(3770),u=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=a.f;return n?u(e,n(t)):e}},9120:function(t,e,n){var r=n(1488);t.exports=r},9509:function(t,e,n){var r=n(4318),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},3754:function(t,e,n){var r=n(4466).f,o=n(4418),i=n(4282)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!o(t,i)&&r(t,i,{configurable:!0,value:e})}},168:function(t,e,n){var r=n(746),o=n(6209),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},2694:function(t,e,n){var r=n(1942),o=n(1488),i=n(4798),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},746:function(t,e,n){var r=n(2694);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},8944:function(t,e,n){var r=n(3749),o=n(5234),i=n(1488).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},675:function(t,e,n){var r=n(6744),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},380:function(t,e,n){var r=n(7568),o=n(9509);t.exports=function(t){return r(o(t))}},6744:function(t,e,n){var r=n(142);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7611:function(t,e,n){var r=n(6744),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},3628:function(t,e,n){var r=n(9509),o=Object;t.exports=function(t){return o(r(t))}},290:function(t,e,n){var r=n(9944),o=n(831),i=n(6032),a=n(2913),c=n(2287),u=n(4282),s=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,u=a(t,f);if(u){if(void 0===e&&(e="default"),n=r(u,t,e),!o(n)||i(n))return n;throw new s("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},2344:function(t,e,n){var r=n(290),o=n(6032);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},9345:function(t,e,n){var r={};r[n(4282)("toStringTag")]="z",t.exports="[object z]"===String(r)},3174:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6209:function(t,e,n){var r=n(6881),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},9809:function(t,e,n){var r=n(8944);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3315:function(t,e,n){var r=n(6893),o=n(5234);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5945:function(t,e,n){var r=n(1488),o=n(4188),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},4282:function(t,e,n){var r=n(1488),o=n(746),i=n(4418),a=n(6209),c=n(8944),u=n(9809),s=r.Symbol,f=o("wks"),l=u?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(s,t)?s[t]:l("Symbol."+t)),f[t]}},3873:function(t,e,n){var r=n(380),o=n(5458),i=n(9164),a=n(3086),c=n(4466).f,u=n(3217),s=n(6224),f=n(1942),l=n(6893),p="Array Iterator",v=a.set,b=a.getterFor(p);t.exports=u(Array,"Array",(function(t,e){v(this,{type:p,target:r(t),index:0,kind:e})}),(function(){var t=b(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,s(void 0,!0);switch(t.kind){case"keys":return s(n,!1);case"values":return s(e[n],!1)}return s([n,e[n]],!1)}),"values");var y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==y.name)try{c(y,"name",{value:"values"})}catch(t){}},8867:function(t,e,n){var r=n(1488),o=n(9429),i=n(7463),a=n(7500),c=n(8088),u=function(t){if(t&&t.forEach!==a)try{c(t,"forEach",a)}catch(e){t.forEach=a}};for(var s in o)o[s]&&u(r[s]&&r[s].prototype);u(i)},7010:function(t,e,n){var r=n(1488),o=n(9429),i=n(7463),a=n(3873),c=n(8088),u=n(3754),s=n(4282)("iterator"),f=a.values,l=function(t,e){if(t){if(t[s]!==f)try{c(t,s,f)}catch(e){t[s]=f}if(u(t,e,!0),o[e])for(var n in a)if(t[n]!==a[n])try{c(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var p in o)l(r[p]&&r[p].prototype,p);l(i,"DOMTokenList")},2435:function(t,e,n){n(8867),n(7010);var r=n(9120);t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}();n(2435);function r(){return r=Object.assign||function(t){for(var e=1;e{this.setupTabs(t)})),this.settings.onCreate&&"function"==typeof this.settings.onCreate&&this.settings.onCreate.call()):console.error("10up Tabs: Target not found. A valid target (tab area) must be used.")):console.error("10up Tabs: No target supplied. A valid target (tab area) must be used.")}destroy(t={}){this.removeAllEventListeners(),r({},{removeAttributes:!0},t).removeAttributes&&this.$tabs.forEach((t=>{t.querySelectorAll(".tab-content.is-active, .tab-item.is-active").forEach((t=>{t.classList.remove("is-active")})),t.querySelectorAll(".tab-content").forEach((t=>{t.removeAttribute("tabindex")}));const[e,n]=this.getTabLinksAndList(t);n.removeAttribute("aria-orientation"),e.forEach((t=>{t.removeAttribute("id"),t.removeAttribute("aria-selected"),t.removeAttribute("tabindex"),t.parentNode.removeAttribute("role");const e=t.getAttribute("aria-controls"),n=document.getElementById(e);n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-hidden")}))}))}addEventListener(t,e,n){void 0===this.evtCallbacks[e]&&(this.evtCallbacks[e]=[]),this.evtCallbacks[e].push({element:t,callback:n}),t.addEventListener(e,n)}removeAllEventListeners(){Object.keys(this.evtCallbacks).forEach((t=>{this.evtCallbacks[t].forEach((({element:e,callback:n})=>{e.removeEventListener(t,n)}))}))}getTabLinksAndList(t){const e=t.querySelector(".tab-control");return[e.querySelectorAll('.tab-list [role="tab"]'),e.querySelector(".tab-list")]}setupTabs(t){const[e,n]=this.getTabLinksAndList(t);n.setAttribute("aria-orientation",this.settings.orientation),e.forEach((n=>{const r=n.getAttribute("aria-controls"),o=`tab-${r}`,i=document.getElementById(r);n.setAttribute("id",o),n.setAttribute("aria-selected",!1),n.setAttribute("tabindex",-1),n.parentNode.setAttribute("role","presentation"),i.setAttribute("aria-labelledby",o),i.setAttribute("aria-hidden",!0),this.addEventListener(n,"click",(e=>{e.preventDefault(),e.target.parentNode.classList.contains("is-active")||this.goToTab(e,t)})),this.addEventListener(n,"keyup",(e=>{32!==e.which||e.target.parentNode.classList.contains("is-active")||(e.preventDefault(),this.goToTab(e,t))})),this.addEventListener(n,"keydown",(n=>{const r=n.keyCode,o=this.determineNextTab(n,t,e);switch(r){case this.keys.end:n.preventDefault(),this.goToTab(parseInt(e.length-1,10),t,!0);break;case this.keys.home:n.preventDefault(),this.goToTab(0,t,!0);break;case this.keys.up:case this.keys.down:"vertical"===this.settings.orientation&&(n.preventDefault(),this.goToTab(o,t,!0))}})),this.addEventListener(n,"keyup",(n=>{const r=n.keyCode,o=this.determineNextTab(n,t,e);switch(r){case this.keys.left:case this.keys.right:"horizontal"===this.settings.orientation&&this.goToTab(o,t,!0)}}))})),this.goToTab(0,t)}determineNextTab(t,e,n){const r=t.keyCode,o=e.querySelector('.tab-list li.is-active [role="tab"]'),i=[].indexOf.call(n,o),a=parseInt(i+this.direction[r],10);return a>=n.length?0:a<0?parseInt(n.length-1,10):a}goToTab(t,e,n=!1){const r=typeof t,o="function"===r||"object"===r&&!!t,i=e.querySelectorAll('.tab-list li [role="tab"]'),a=e.querySelector('.tab-list li.is-active [role="tab"]');if(a){const t=a.getAttribute("aria-controls"),e=document.getElementById(t);a.setAttribute("aria-selected","false"),a.setAttribute("tabindex",-1),a.parentNode.classList.remove("is-active"),e.setAttribute("aria-hidden",!0),e.classList.remove("is-active"),e.removeAttribute("tabindex")}const c=o?t.target:i[t];if(c){const t=c.getAttribute("aria-controls"),e=document.getElementById(t);c.setAttribute("aria-selected","true"),c.removeAttribute("tabindex"),c.parentNode.classList.add("is-active"),n&&c.focus(),e.setAttribute("aria-hidden",!1),e.classList.add("is-active"),e.setAttribute("tabindex",0),this.settings.onTabChange&&"function"==typeof this.settings.onTabChange&&this.settings.onTabChange.call()}}}var i=t=>{const e=document.querySelector(t);if(!e)return;const n=e.querySelector('[data-block-element="filter"]');if(!n)return;const r=document.querySelectorAll('[data-block-element="session"][data-tc-session-type]'),o="is-hidden";n.addEventListener("change",(t=>{const e=t.target.value;r.forEach((t=>{""===e||t.dataset.tcSessionType===e?t.classList.remove(o):t.classList.add(o)}))}))};document.addEventListener("DOMContentLoaded",(()=>{const t='[data-block-target="wp-block-tc23-event-agenda"]';new o(t),i(t)}))}();; !function(){const t=()=>{const t=".event-content-tabs",e=".event-content-tabs-navigation",n=".event-content-tabs-navigation__toggle",a={navigation:null,expandButton:null,body:document.querySelector("body")},o={navigation:"event-content-tabs--expanded",body:"has-expanded-navigation"},i=t=>{a.header.classList.contains(o.navigation)&&(a.navigation.contains(t.relatedTarget)||a.expandButton!==t.target||a.navigation.querySelector("a:last-of-type").focus(),a.navigation.contains(t.relatedTarget)||a.navigation.querySelector(":is(a:first-of-type, button)").focus())},d=t=>{const e=a.header.classList.contains(o.navigation);"boolean"===typeof t?(a.body.classList.toggle(o.body,t),a.header.classList.toggle(o.navigation,t),a.expandButton.setAttribute("aria-expanded",t),a.expandButton.setAttribute("aria-label",t?"Collapse navigation":"Expand navigation")):(a.body.classList.toggle(o.body,!e),a.header.classList.toggle(o.navigation,!e),a.expandButton.setAttribute("aria-expanded",!e),a.expandButton.setAttribute("aria-label",e?"Expand navigation":"Collapse navigation"))},s=t=>{a.header.classList.contains(o.navigation)&&"Escape"===t.key&&d(!1)},r=t=>{t.target===a.header&&d(!1)};return{init:()=>{a.header=document.querySelector(t),a.navigation=document.querySelector(e),a.expandButton=document.querySelector(n),a.navigation&&a.expandButton&&a.header&&(a.expandButton.addEventListener("pointerup",d),a.navigation.addEventListener("blur",i,!0),document.addEventListener("keydown",s),document.addEventListener("click",r))}}};document.addEventListener("DOMContentLoaded",(()=>{t().init()}))}();;