1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4682],{54682:(e,t,l)=>{l.r(t),l.d(t,{WistiaPlayerWrapper:()=>a});var n=l(55339),r=l(644),s=l(11720),a=(0,r.forwardRef)((e,t)=>{let{aspect:a,className:i,embedHost:u,id:o,mediaId:c,roundedPlayer:d,swatch:f,style:h}=e,p=(0,n.lo)(c,"embedHost",null!=u?u:void 0),E=(0,n.Kg)(p)?p:"fast.wistia.com",b=(0,r.useRef)(null),[m,v]=(0,r.useState)(a),[w,y]=(0,r.useState)(!1);(0,r.useEffect)(()=>{!1!==f&&void 0===m&&(0,n.Kg)(E)&&(0,n.aF)(c,E).then(e=>{v(e)}),l.e(4584).then(l.bind(l,39082)),customElements.whenDefined("wistia-player").then(()=>{y(!0)})},[]);let g={},j={};Object.entries(e).forEach(e=>{let[t,l]=e;if(t.startsWith("on")&&t[2]===t[2].toUpperCase()){let e=(0,n.$l)(t).slice(3);(0,n.Tn)(l)&&(g[e]=l)}else(0,n.Rx)(l)&&(j[(0,n.$l)(t)]=l)}),Object.entries(g).forEach(e=>{let[t,l]=e;(0,r.useEffect)(()=>{let e=b.current;return null==e||e.addEventListener(t,l),()=>{null==e||e.removeEventListener(t,l)}},[l,w])});let S=void 0!==m,_=(0,n.t9)({mediaId:c,embedHost:E,aspect:m,shouldLoadSwatch:f,roundedPlayer:d});return(0,s.jsxs)(r.Fragment,{children:[S&&(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:_}}),(0,s.jsx)("wistia-player",{ref:e=>{b.current=e,"function"==typeof t?t(e):null!==t&&(t.current=e)},id:null!=o?o:void 0,"media-id":c,class:i,style:h,react:String(!0),...(e=>{let t={};return Object.entries(e).forEach(e=>{let[l,n]=e;"boolean"==typeof n?t[l]=String(n):t[l]=n}),t})(j)},null!=o?o:c)]})})}}]); 2//# sourceMappingURL=4682.ab5c39adc501868d.js.map
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.