1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8055],{75507:function(t,e,i){i.r(e),i.d(e,{default:function(){return F}});var l,s,a,o,n=i(67294),r=Object.defineProperty,u=t=>{throw TypeError(t)},d=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,h=(t,e,i)=>d(t,"symbol"!=typeof e?e+"":e,i),c=(t,e,i)=>e.has(t)||u("Cannot "+i),p=(t,e,i)=>(c(t,e,"read from private field"),i?i.call(t):e.get(t)),m=(t,e,i)=>e.has(t)?u("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),f=(t,e,i,l)=>(c(t,e,"write to private field"),l?l.call(t,i):e.set(t,i),i),v=(t,e,i)=>(c(t,e,"access private method"),i);let b=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],w=null==(l=globalThis.document)?void 0:l.createElement("template");w&&(w.innerHTML=` 2 <style> 3 :host { 4 display: inline-block; 5 line-height: 0; 6 } 7 8 video, 9 audio { 10 max-width: 100%; 11 max-height: 100%; 12 min-width: 100%; 13 min-height: 100%; 14 } 15 </style> 16 <slot></slot> 17 `);let y=(t,{tag:e,is:i})=>{var l,s,a,o,n,r,u,d,c,y,C,k,L,T,M,A,P,W;let O=null==(l=globalThis.document)?void 0:l.createElement(e,{is:i}),S=O?g(O):[];return s=class extends t{constructor(){super(),m(this,k),m(this,r),m(this,u),m(this,d,!1),m(this,c,!1),m(this,y),m(this,C),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.append(this.constructor.template.content.cloneNode(!0))),this.load!==s.prototype.load&&(this.loadComplete=new E)}static get observedAttributes(){var t,e;return v(t=s,o,n).call(t),[...(null==(e=null==O?void 0:O.constructor)?void 0:e.observedAttributes)??[],"autopictureinpicture","disablepictureinpicture","disableremoteplayback","autoplay","controls","controlslist","crossorigin","loop","muted","playsinline","poster","preload","src"]}get loadComplete(){return p(this,u)}set loadComplete(t){f(this,c,!1),f(this,u,t),null==t||t.then(()=>{f(this,c,!0)})}get isLoaded(){return p(this,c)}get nativeEl(){return p(this,y)??this.shadowRoot.querySelector(e)??this.querySelector(e)}set nativeEl(t){f(this,y,t)}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",`${t}`)}get preload(){var t;return this.getAttribute("preload")??(null==(t=this.nativeEl)?void 0:t.preload)}set preload(t){this.setAttribute("preload",`${t}`)}attributeChangedCallback(t,e,i){v(this,k,L).call(this),"src"===t&&this.load!==s.prototype.load&&v(this,k,P).call(this),v(this,k,W).call(this,t,e,i)}connectedCallback(){v(this,k,L).call(this)}},a=new WeakMap,o=new WeakSet,n=function(){if(p(this,a))return;f(this,a,!0);let t=new Set(this.observedAttributes);for(let e of(t.delete("muted"),S))if(!(e in this.prototype)){if("function"==typeof O[e])this.prototype[e]=function(...t){v(this,k,L).call(this);let i=()=>this.call?this.call(e,...t):this.nativeEl[e].apply(this.nativeEl,t);return this.loadComplete&&!this.isLoaded?this.loadComplete.then(i):i()};else{let i={get(){var i,l;v(this,k,L).call(this);let s=e.toLowerCase();if(t.has(s)){let t=this.getAttribute(s);return null!==t&&(""===t||t)}return(null==(i=this.get)?void 0:i.call(this,e))??(null==(l=this.nativeEl)?void 0:l[e])??p(this,C)[e]}};e!==e.toUpperCase()&&(i.set=async function(i){v(this,k,L).call(this);let l=e.toLowerCase();if(t.has(l)){!0===i||!1===i||null==i?this.toggleAttribute(l,!!i):this.setAttribute(l,i);return}if(this.loadComplete&&!this.isLoaded&&await this.loadComplete,this.set){this.set(e,i);return}this.nativeEl[e]=i}),Object.defineProperty(this.prototype,e,i)}}},r=new WeakMap,u=new WeakMap,d=new WeakMap,c=new WeakMap,y=new WeakMap,C=new WeakMap,k=new WeakSet,L=async function(){var t,e;if(p(this,r))return;for(let t of(f(this,r,!0),v(this,k,M).call(this),v(this,k,A).call(this),S))v(this,k,T).call(this,t);let i=new Map,l=this.shadowRoot.querySelector("slot:not([name])");for(let s of(null==l||l.addEventListener("slotchange",()=>{let t=new Map(i);l.assignedElements().filter(t=>
17["track","source"].includes(t.localName)).forEach(async e=>{var l,s;t.delete(e);let a=i.get(e);a||(a=e.cloneNode(),i.set(e,a)),this.loadComplete&&!this.isLoaded&&await this.loadComplete,null==(s=(l=this.nativeEl).append)||s.call(l,a)}),t.forEach(t=>t.remove())}),this.constructor.Events))null==(e=(t=this.shadowRoot).addEventListener)||e.call(t,s,t=>{t.target===this.nativeEl&&this.dispatchEvent(new CustomEvent(t.type,{detail:t.detail}))},!0)},T=function(t){if(Object.prototype.hasOwnProperty.call(this,t)){let e=this[t];delete this[t],this[t]=e}},M=function(){let t=document.createElement(e,{is:i});for(let{name:e,value:i}of(t.muted=this.hasAttribute("muted"),this.attributes))t.setAttribute(e,i);for(let e of(f(this,C,{}),g(t)))p(this,C)[e]=t[e];t.removeAttribute("src"),t.load()},A=async function(){if(this.loadComplete&&!this.isLoaded&&await this.loadComplete,!this.nativeEl){let t=document.createElement(e,{is:i});t.part=e,this.shadowRoot.append(t)}this.nativeEl.muted=this.hasAttribute("muted")},P=async function(){var t;p(this,d)&&(this.loadComplete=new E),f(this,d,!0),await Promise.resolve(),await this.load(),null==(t=this.loadComplete)||t.resolve(),await this.loadComplete},W=async function(t,e,i){var l,s,a,o;this.loadComplete&&!this.isLoaded&&await this.loadComplete,["id","class",...this.constructor.skipAttributes].includes(t)||(null===i?null==(s=(l=this.nativeEl).removeAttribute)||s.call(l,t):null==(o=(a=this.nativeEl).setAttribute)||o.call(a,t,i))},m(s,o),h(s,"Events",b),h(s,"template",w),h(s,"skipAttributes",[]),m(s,a),s};function g(t){let e=[];for(let i=Object.getPrototypeOf(t);i&&i!==HTMLElement.prototype;i=Object.getPrototypeOf(i))e.push(...Object.getOwnPropertyNames(i));return e}class E extends Promise{constructor(t=()=>{}){let e,i;super((l,s)=>{t(l,s),e=l,i=s}),this.resolve=e,this.reject=i}}let C=globalThis.document?y(HTMLElement,{tag:"video"}):class{};globalThis.document&&y(HTMLElement,{tag:"audio"});var k=Object.defineProperty,L=t=>{throw TypeError(t)},T=(t,e,i)=>e in t?k(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,M=(t,e,i)=>T(t,"symbol"!=typeof e?e+"":e,i),A=(t,e,i)=>e.has(t)||L("Cannot "+i),P=(t,e,i)=>(A(t,e,"read from private field"),i?i.call(t):e.get(t)),W=(t,e,i)=>e.has(t)?L("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),O=(t,e,i,l)=>(A(t,e,"write to private field"),l?l.call(t,i):e.set(t,i),i);let S=null==(s=globalThis.document)?void 0:s.createElement("template");S&&(S.innerHTML=` 18 <div class="wistia_embed"></div> 19 `);let N=null==(a=globalThis.document)?void 0:a.createElement("template");N&&(N.innerHTML=` 20 <style> 21 :host { 22 display: inline-block; 23 min-width: 300px; 24 min-height: 150px; 25 position: relative; 26 } 27 ::slotted(.wistia_embed) { 28 position: absolute; 29 width: 100%; 30 height: 100%; 31 } 32 </style> 33 <slot></slot> 34 `);class H extends C{constructor(){super(),W(this,o,null),function(t,e){if(Object.hasOwn(t,e)){let i=t[e];delete t[e],t[e]=i}}(this,"config")}get config(){return P(this,o)}set config(t){O(this,o,t)}get nativeEl(){var t;return(null==(t=this.api)?void 0:t.elem())??this.querySelector("video")}async load(){var t;if(null==(t=this.querySelector(".wistia_embed"))||t.remove(),!this.src)return;await new Promise(t=>setTimeout(t,50));let e=this.src.match(/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i)[1],i={autoPlay:this.autoplay,silentAutoPlay:this.autoplay?"allow":void 0,preload:this.preload??"metadata",playsinline:this.playsInline,endVideoBehavior:this.loop?"loop":void 0,chromeless:!this.controls,playButton:this.controls,muted:this.defaultMuted,...P(this,o)??{}};this.append(S.content.cloneNode(!0));let l=this.querySelector(".wistia_embed");l.id||(l.id=function(t){let e=++R;return`${t}${e}`}(e)),l.classList.add(`wistia_async_${e}`),await j("https://fast.wistia.com/assets/external/E-v1.js","Wistia"),this.api=await new Promise(t=>{globalThis._wq.push({id:l.id,onReady:t,options:i})})}async attributeChangedCallback(t,e,i){if("controls"===t){await this.loadComplete,"controls"===t&&(this.api.bigPlayButtonEnabled(this.controls),this.controls?this.api.releaseChromeless():this.api.requestChromeless());return}super.attributeChangedCallback(t,e,i)}get duration(){var t;return null==(t=this.api)?void 0:t.duration()}async play(){return await this.loadComplete,this.api.play(),new Promise(t=>this.addEventListener("playing",t))}}o=new WeakMap,M(H,"template",N),M(H,"skipAttributes",["src"]);let _={};async function j(t,e){if(_[t])return _[t];if(self[e])return self[e];let i=new Promise((i,l)=>{let s=document.createElement("script");s.defer=!0,s.src=t,s.onload=()=>i(self[e]),s.onerror=l,document.head.append(s)});return _[t]=i,i}let R=0;globalThis.customElements&&!globalThis.customElements.get("wistia-video")&&globalThis.customElements.define("wistia-video",H);var q=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),x={className:"class",htmlFor:"for"};function $(t){return t.toLowerCase()}function I(t){return"boolean"==typeof t?t?"":void 0:"function"==typeof t||"object"==typeof t&&null!==t?void 0:t}function B(t,e,i){var l;t[e]=i,null==i&&e in((null==(l=globalThis.HTMLElement)?void 0:l.prototype)??{})&&t.removeAttribute(e)}var F=function({react:t,tagName:e,elementClass:i,events:l,displayName:s,defaultProps:a,toAttributeName:o=$,toAttributeValue:n=I}){let r=Number.parseInt(t.version)>=19,u=t.forwardRef((s,u)=>{var d,h;let c=t.useRef(null),p=t.useRef(new Map),m={},f={},v={},b={};for(let[t,e]of Object.entries(s)){if(q.has(t)){v[t]=e;continue}let l=o(x[t]??t);if(i.prototype&&t in i.prototype&&!(t in((null==(d=globalThis.HTMLElement)?void 0:d.prototype)??{}))&&!(null!=(h=i.observedAttributes)&&h.some(t=>t===l))){b[t]=e;continue}if(t.startsWith("on")){m[t]=e;continue}let s=n(e);l&&null!=s&&(f[l]=String(s),r||(v[l]=s)),l&&r&&(s!==I(e)?v[l]=s:v[l]=e)}if("u">typeof window){for(let e in m){let i=m[e],s=e.endsWith("Capture"),a=((null==l?void 0:l[e])??e.slice(2).toLowerCase()).slice(0,s?-7:void 0);t.useLayoutEffect(()=>{let t=null==c?void 0:c.current;if(!(!t||"function"!=typeof i))return t.addEventListener(a,i,s),()=>{t.removeEventListener(a,i,s)}},[null==c?void 0:c.current,i])}t.useLayoutEffect(()=>{if(null===c.current)return;let t=new Map;for(let e in b)B(c.current,e,b[e]),p.current.delete(e),t.set(e,b[e]);for(let[t,e]of p.current)B(c.current,t,void 0);p.current=t})}if(typeof window>"u"&&null!=i&&i.getTemplateHTML&&null!=i&&i.shadowRootOptions){let{mode:e,delegatesFocus:l}=i.shadowRootOptions,a=t.createElement("template",{shadowrootmode:e,shadowrootdelegatesfocus:l,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(f,s)},key:"ce-la-react-ssr-template-shadow-root"});v.children=[a,v.children]}return t.createElement(e,{...a,...v,ref:t.useCallback(t=>{c.current=t,"function"==typeof u?u(t):null!==u&&(u.current=t)},[u])},v.children)});return u.displayName=s??i.name,u}({react:n,tagName:"wistia-video",elementClass:H,toAttributeName:t=>"muted"===t?"":"defaultMuted"===t?"muted":$(t)})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.