1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2782],{52782:(e,t,l)=>{l.r(t),l.d(t,{WistiaPlayerWrapper:()=>a});var n=l(86887),r=l(14232),s=l(37876),a=(0,r.forwardRef)((e,t)=>{let{aspect:a,children:i,className:u,embedHost:o,id:c,mediaId:d,roundedPlayer:f,swatch:h,style:p}=e,E=(0,n.lo)(d,"embedHost",null!=o?o:void 0),b=(0,n.Kg)(E)?E:"fast.wistia.com",m=(0,r.useRef)(null),[v,w]=(0,r.useState)(a),[y,g]=(0,r.useState)(!1);(0,r.useEffect)(()=>{!1!==h&&void 0===v&&(0,n.Kg)(b)&&(0,n.aF)(d,b).then(e=>{w(e)}),l.e(8395).then(l.bind(l,56162)),customElements.whenDefined("wistia-player").then(()=>{g(!0)})},[]);let j={},S={};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)&&(j[e]=l)}else(0,n.Rx)(l)&&(S[(0,n.$l)(t)]=l)}),Object.entries(j).forEach(e=>{let[t,l]=e;(0,r.useEffect)(()=>{let e=m.current;return null==e||e.addEventListener(t,l),()=>{null==e||e.removeEventListener(t,l)}},[l,y])});let _=void 0!==v,k=(0,n.t9)({mediaId:d,embedHost:b,aspect:v,shouldLoadSwatch:h,roundedPlayer:f});return(0,s.jsxs)(r.Fragment,{children:[_&&(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:k}}),(0,s.jsx)("wistia-player",{ref:e=>{m.current=e,"function"==typeof t?t(e):null!==t&&(t.current=e)},id:null!=c?c:void 0,"media-id":d,class:u,style:p,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})(S),children:i},null!=c?c:d)]})})}}]);
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.