var __webpack_modules__=[,,e=>{e.exports=window.Wistia.Preact},(e,t,n)=>{n.d(t,{elemHasClass:()=>a,elemMutationObserver:()=>h}),n(4);var i=n(6),r=(n(9),n(19),n(25)),o=n(13);const s=(0,i.o1)(),a=(e,t)=>{let n=null!=e&&"function"==typeof e.getAttribute&&e.getAttribute("class");if(!n&&e&&"string"==typeof e.className&&(n=e.className),!n)return!1;let i=!1;return l(n,t,(e=>{let r=0===e||" "===n.charAt(e-1),o=e+t.length===n.length,s=" "===n.charAt(e+t.length);if(r&&(o||s))return i=!0,c})),i},c={},l=(e,t,n)=>{let i=-1;for(;-1!=(i=e.indexOf(t,i+1))&&n(i)!==c;);},u=(e,t,n,i=!1)=>{if(null==e||null==e._wistiaElemId||null==n||!n._wistiaBindId)return;const r=d(e,t,n),s=o.s._elemBind[r];return s&&(e.removeEventListener(t,s,i),s.elem=null,s.event=null),delete o.s._elemBind[r]},d=(e,t,n)=>(e._wistiaElemId=e._wistiaElemId||(0,r.h)("wistia_elem_"),n._wistiaBindId=n._wistiaBindId||(0,r.h)("wistia_bind_"),`${e._wistiaElemId}.${t}.${n._wistiaBindId}`),h=e=>{const t=s.mutationObserver;return t?new window[t](e):null},p=e=>{let t=document.body,n=document.documentElement;if(null==e)return n&&n.scrollTop||t&&t.scrollTop||0;t&&(t.scrollTop=e),n&&(n.scrollTop=e)},g=e=>{let t=document.body,n=document.documentElement;if(null==e)return n&&n.scrollLeft||t&&t.scrollLeft||0;t&&(t.scrollLeft=e),n&&(n.scrollLeft=e)};let m,f=null;["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((e=>{((e,t,n,i=!1)=>{const r=(i,...r)=>{(i=i||window.event).pageX||i.pageY||!i.clientX&&!i.clientY||(i.pageX=i.clientX+g(),i.pageY=i.clientY+p()),i.preventDefault||(i.preventDefault=function(){i.returnValue=!1}),i.stopPropagation||(i.stopPropagation=function(){i.cancelBubble=!0}),null==i.which&&(i.which=null!=i.charCode?i.charCode:i.keyCode),null==i.which&&null!=i.button&&(1&i.button?i.which=1:2&i.button?i.which=3:4&i.button?i.which=2:i.which=0),i.target||i.srcElement&&(i.target=i.srcElement),i.target&&3===i.target.nodeType&&(i.target=i.target.parentNode);const o=n.apply(i.target,[i].concat(r));return o===u&&u(e,t,n),o};o.s._elemBind=o.s._elemBind||{};const s=d(e,t,n);o.s._elemBind[s]=r,r.elem=e,r.event=t,e.addEventListener(t,r,i)})(document,e,(e=>{m=e,f=Date.now(),setTimeout((()=>{m===e&&(m=void 0)}),0)}),!s.passiveSupported||{capture:!0,passive:!0})}))},(e,t,n)=>{n.d(t,{cast:()=>g,clone:()=>l,eachLeaf:()=>T,getDeep:()=>u,isArray:()=>_,merge:()=>o,setAndPreserveUndefined:()=>h,setDeep:()=>d});var i=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)};const r=Array.prototype.slice,o=(e,...t)=>{if(0===t.length)return e;for(let n=0;n<t.length;n++)s(e,t[n]);return e},s=(e,t,n=a,r=c)=>{if(_(t)){_(e)||(e=[]);for(let i=0;i<t.length;i++){let o=t[i];null==e[i]&&null!=o&&(_(o)?e[i]=[]:b(o)&&(e[i]={}));const a=s(e[i],o,n);r(t,i,a)?delete e[i]:e[i]=a}return n(e)}if(b(t)){for(let o in t)if(i(t,o)&&(i(e,o)||null==e[o])){let i=t[o];_(i)?(_(e[o])||(e[o]=[]),s(e[o],i,n),e[o]=n(e[o])):b(i)?(b(e[o])||(e[o]={}),s(e[o],i,n),e[o]=n(e[o])):null==e?(e={},r(t,o,i)||(e[o]=n(i))):r(t,o,i)?delete e[o]:e[o]=n(i)}return n(e)}return n(t)},a=e=>e,c=(e,t,n)=>null==n,l=(e,t)=>_(e)?s([],e,t):s({},e,t),u=(e,t,n)=>{t="string"==typeof t?t.split("."):r.call(t);let o,s=e;for(;null!=e&&t.length;){let r=t.shift();void 0!==e[r]&&(b(e[r])||_(e[r]))||!n||(0===r?(e=s[o]=[])[r]={}:e[r]={}),s=e,o=r,e=i(e,r)?e[r]:void 0}return e},d=(e,t,n)=>p(e,t,n,!0),h=(e,t,n)=>p(e,t,n,!1),p=(e,t,n,i=!0)=>{const o=(t="string"==typeof t?t.split("."):r.call(t)).pop();null!=(e=u(e,t,!0))&&(b(e)||_(e))&&null!=o&&(i&&null==n?delete e[o]:e[o]=n)},g=e=>null==e?e:b(e)||_(e)?f(e):m(`${e}`,e),m=(e,t=e)=>/^-?[1-9]\d*?$/.test(e)?parseInt(e,10):"0"===e||"-0"===e?0:/^-?\d*\.\d+$/.test(e)?parseFloat(e):!!/^true$/i.test(e)||!/^false$/i.test(e)&&t,f=e=>s(e,e,(e=>"string"==typeof e?m(e):e),(()=>!1)),v=/^\s*function Array()/,_=e=>null!=e&&e.push&&v.test(e.constructor),w=/^\s*function Object()/,b=e=>null!=e&&"object"==typeof e&&w.test(e.constructor),y=/^\s*function RegExp()/,E=/^string|number|boolean|function$/i,k=(e,t,n,o,s)=>{if(null==n&&(n=[]),(e=>null!=e&&(E.test(typeof e)||(e=>null!=e&&y.test(e.constructor))(e)))(e))t(e,n,o,s);else if(b(e)||_(e)){t(e,n,o,s);for(let o in e)if(i(e,o)){const i=r.call(n);i.push(o),k(e[o],t,i,e,o)}}else t(e,n,o,s)},T=(e,t)=>{k(e,((e,n,i,r)=>{_(e)||b(e)||t(e,n,i,r)}))}},(e,t,n)=>{n.d(t,{k:()=>r});var i=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)};const r=(e,...t)=>{if(Object.assign)return Object.assign(e,...t);for(let n=0;n<t.length;n++)o(e,t[n]);return e},o=(e,t)=>{for(let n in t)i(t,n)&&(e[n]=t[n]);return e}},(e,t,n)=>{n.d(t,{o1:()=>j});var i=n(7),r=n(8);const o=navigator.userAgent;let s=null;const a=/(webkit)[ /]([^\s]+)/i,c=/OPR\/([^\s]+)/i,l=/(edge)\/(\d+(?:\.\d+)?)/i,u=/(mozilla)(?:.*? rv:([^\s)]+))?/i,d=/(android) ([^;]+)/i,h=/(iphone)/i,p=/(Windows Phone OS (\d+(?:\.\d+)?))/,g=/OS (\d+)_(\d+)/i,m=/(firefox)/i,f=/Mobile VR/i,v=/Version\/([^\s]+)/i,_=()=>(b()[1]||"webkit").toLowerCase(),w=()=>b()[2],b=()=>{let e;return e=o.match(l),e||(e=o.match(a),e||(e=o.match(c),e||(e?(null!=document.documentMode&&(e[2]=document.documentMode),e):(e=o.match(u),e||[]))))},y=()=>{const e=o.match(d);return null!=e&&{version:e[2]}},E=()=>h.test(o),k=()=>x()>0||y()||S(),T=()=>{try{const e=matchMedia("(hover:hover)");if("not all"!==e.media)return e.matches}catch(e){}return!k()},S=()=>/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1,$=()=>a.test(o)&&!/chrome/i.test(o)&&!S()&&!E(),L=()=>!(!/Chrome/.test(o)||!/Google Inc/.test(navigator.vendor))&&{version:I()},I=()=>{const e=o.match(/\bChrome\/([^\s]+)/);return e&&e[1]},x=()=>{const e=o.match(g),t=o.match(v);return null!=e?parseFloat(`${e[1]}.${e[2]}`):null!=t&&t[1]&&S()?parseFloat(t[1]):0},D=()=>l.test(o),P=()=>m.test(o),A=()=>{const e=document.createElement("video");let t=!1;try{if(e.canPlayType){t={};const n='video/mp4; codecs="avc1.42E01E';t.h264=!!e.canPlayType(`${n}"`)||!!e.canPlayType(`${n}, mp4a.40.2"`),t.webm=!!e.canPlayType('video/webm; codecs="vp9, vorbis"'),t.nativeHls=!!e.canPlayType("application/vnd.apple.mpegURL")}}catch(e){t={ogg:!1,h264:!1,webm:!1,nativeHls:!1}}return t},C=()=>{try{return"localStorage"in i.z&&null!=i.z.localStorage}catch(e){return!1}},M=["WebKit","Moz","O","Ms",""],z=()=>{for(let e=0;e<M.length;e++){let t=`${M[e]}MutationObserver`;if(i.z[t])return t}return null},O=()=>{const e=/webkit|mozilla|edge/.test(_());return!!(E()||S()||y())||Boolean(e&&A().h264&&Object.defineProperties)};let W;const N=()=>{if(null!=W)return W;try{const e=Object.defineProperty({},"passive",{get(){W=!0}});window.addEventListener("test",null,e)}catch(e){W=!1}return W},R=()=>{const e=L(),t=P(),n=D(),i=c.test(o),r=e&&w()>=32,s=e&&w()>=75&&y(),a=t&&w()>=65,l=t&&w()>=67&&y(),u=n&&w()>=18,d=i&&w()>=19;return r||s||a||l||u||d},j=()=>s||(s=q(),s),q=()=>{const e={browser:{version:w()},edge:D(),firefox:P(),gearvr:f.test(o),hdr:!!window.matchMedia?.("(dynamic-range: high)").matches||!!(screen.colorDepth&&screen.colorDepth>=30),hdrCodecs:{hevc:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="hvc1.2.4.L153.B0"')??!1,av1:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="av01.0.08M.10.0.110.09.16.09"')??!1,vp92:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="vp09.02.10.10.01.09.16.09"')??!1},android:y(),oldandroid:y()&&parseFloat(y().version)<4.1,iphone:E(),ipad:S(),safari:$(),chrome:L(),winphone:{version:p.test(o)[2]},ios:{version:x()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=i.z.devicePixelRatio&&i.z.devicePixelRatio>1,hoverIsNatural:T(),touchScreen:k(),video:A(),managedMediaSource:"ManagedMediaSource"in window&&"function"==typeof window.ManagedMediaSource?.isTypeSupported,mediaSource:i.z.MediaSource&&i.z.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),nativeHls:(E()||S()||$())&&A().nativeHls,localstorage:C(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:O(),mutationObserver:z(),callingPlayRequiresEventContext:x()>0||y()||$(),passiveSupported:N(),webp:R(),performanceMeasure:(0,r.O)()};return e.browser[_()]=!0,e}},(e,t,n)=>{let i;n.d(t,{z:()=>r});try{i=self,i.self!==i&&void 0!==i.self&&"undefined"!=typeof window&&(i=window)}catch(e){i="undefined"!=typeof globalThis?globalThis:window}const r=i},(e,t,n)=>{n.d(t,{O:()=>i});const i=()=>{const{performance:e}=window;return Boolean(e)&&Boolean(e.measure)}},(e,t,n)=>{n.d(t,{ct:()=>g});var i=n(10),r=n(13);const o={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},s=function(){},a=function(e){const t=this;return null==e&&(e={}),t.error=(...e)=>t.log(0,e),t.warn=(...e)=>t.log(1,e),t.notice=(...e)=>t.log(1,e),t.info=(...e)=>t.log(3,e),t.debug=(...e)=>t.log(4,e),t.ctx=e,t.ctx.initializedAt||t.reset(),t},c=a.prototype;c.reset=function(){this.ctx.level=0,this.ctx.grep=null,this.ctx.grepv=null,this.ctx.first1000LogLines=[],this.ctx.last1000LogLines=[],this.ctx.initializedAt=(new Date).getTime()},c.setLevel=function(e){const t=this.logFunc(3);null!=o[e]?(this.ctx.level=o[e],t(`Log level set to "${e}" (${o[e]})`)):t(`Unknown log level "${e}"`)},c.setGrep=function(e){this.ctx.grep=e},c.setGrepv=function(e){this.ctx.grepv=e},c.first1000LogLines=function(){return this.ctx.first1000LogLines},c.last1000LogLines=function(){return this.ctx.last1000LogLines},c.matchedGrep=function(e){let t=!1;if(this.ctx.grep||this.ctx.grepv){let n=[];for(let t=0;t<e.length;t++)try{let i=e[t];n.push(i.toString&&i.toString())}catch(e){n.push("")}let i=n.join(" "),r=!this.ctx.grep||i.match(this.ctx.grep),o=!this.ctx.grepv||!i.match(this.ctx.grepv);t=r&&o}else t=!0;return t},c.now=function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now().toFixed(3):Date.now?Date.now()-this.ctx.initializedAt:(new Date).getTime()-this.ctx.initializedAt},c.messagesToLogLine=function(e,t,n){let i,r=[e,t];r=r.concat(n);try{i=r.join(" ")||"",i.length>200&&(i=i.slice(0,200))}catch(e){i="could not serialize"}return i},c.persistLine=function(e){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(e):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(e))},c.log=function(e,t){const n=e<=this.ctx.level,r=e<4,o=(n||r)&&this.matchedGrep(t);let s;if(0===e&&(0,i.mj)("problem",{type:"error-logged",data:{messages:t}}),o&&(n||r)&&(s=this.now()),r&&o){const n=this.messagesToLogLine(e,s,t);this.persistLine(n)}if(n&&o){const n=this.logFunc(e);let i;1===t.length&&(i=t[0])instanceof Error?(n(i.message),i.stack&&n(i.stack)):n(...t)}};const l=function(...e){console.error.apply(console,e)},u=function(...e){console.warn.apply(console,e)},d=function(...e){console.info.apply(console,e)},h=function(...e){console.debug.apply(console,e)},p=function(e){console.log.apply(console,e)};c.logFunc=function(e){if(null==e&&(e=this.level),!console)return s;let t;return 0===e?t=l:1===e?t=u:3===e?t=d:4===e&&(t=h),t||(t=p),"function"!=typeof t&&(this.noConsoleLog=!0,t=s),t},c.maybePrefix=function(e,t){if(e){if("function"==typeof e)try{e=e()}catch(t){e=`prefix err "${t.message}"`}return e instanceof Array?e.concat(t):[e].concat(t)}return t},c.getPrefixedFunctions=function(e){return{log:(...t)=>this.log(0,this.maybePrefix(e,t)),error:(...t)=>this.log(0,this.maybePrefix(e,t)),warn:(...t)=>this.log(1,this.maybePrefix(e,t)),notice:(...t)=>this.log(1,this.maybePrefix(e,t)),info:(...t)=>this.log(3,this.maybePrefix(e,t)),debug:(...t)=>this.log(4,this.maybePrefix(e,t))}},r.s&&null==r.s.wlogCtx&&(r.s.wlogCtx={});const g=new a(r.s.wlogCtx)},(e,t,n)=>{n.d(t,{mj:()=>o});var i=n(11),r=n(13);(0,i.R)(r.s),r.s.bind.bind(r.s),r.s.on.bind(r.s),r.s.off.bind(r.s),r.s.rebind.bind(r.s);const o=r.s.trigger.bind(r.s);r.s.unbind.bind(r.s)},(e,t,n)=>{n.d(t,{R:()=>s});var i=n(12),r=n(13),o=n(16);r.s.bindable||(r.s.EventShepherdManager||(r.s.EventShepherdManager={}),r.s.bindable={bind(e,t){if("crosstime"===e&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),this;if("betweentimes"===e&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),this;const n=this.embedElement||this.container;if(Object.keys(o.h).includes(e)&&n){const i=a(n);return void 0===r.s.EventShepherdManager[i]&&(r.s.EventShepherdManager[i]=new o.S),r.s.EventShepherdManager[i].addListener(e,n,t),this}if(t)return i.oI.call(this,e,t),this;r.s.warn&&r.s.warn(this.constructor.name,"bind","falsey value passed in as callback:",t)},unbind(e,t){if("crosstime"===e&&this.crossTime)return t?this.crossTime.removeBinding(arguments[1],arguments[2]):this.crossTime.removeAllBindings(),this;if("betweentimes"===e&&this.betweenTimes)return t?this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]):this.betweenTimes.removeAllBindings(),this;const n=this.embedElement||this.container;if(Object.keys(o.h).includes(e)&&n){const i=a(n);return void 0===r.s.EventShepherdManager[i]||r.s.EventShepherdManager[i].removeListener(e,n,t),this}return t?i.Nw.call(this,e,t):this._bindings&&(this._bindings[e]=[]),this._bindings&&this._bindings[e]&&!this._bindings[e].length&&(this._bindings[e]=null,delete this._bindings[e]),this},on(e,t){if("crosstime"===e&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),()=>{this.crossTime.removeBinding(arguments[1],arguments[2])};if("betweentimes"===e&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),()=>{this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3])};const n=this.embedElement||this.container;if(Object.keys(o.h).includes(e)&&n){const i=a(n);return void 0===r.s.EventShepherdManager[i]&&(r.s.EventShepherdManager[i]=new o.S(n)),r.s.EventShepherdManager[i].addListener(e,n,t),()=>{r.s.EventShepherdManager[i].removeListener(e,n,t)}}return i.oI.call(this,e,t)},off(e,t){if("crosstime"===e&&this.crossTime)return this.crossTime.removeBinding(arguments[1],arguments[2]);if("betweentimes"===e&&this.betweenTimes)return this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]);const n=this.embedElement||this.container;if(Object.keys(o.h).includes(e)&&n){const i=a(n);return void 0===r.s.EventShepherdManager[i]?()=>{}:r.s.EventShepherdManager[i].removeListener(e,n,t)}return i.Nw.call(this,e,t)},rebind(e,t){return this.unbind(e,t),this.bind(e,t),this},trigger(e,...t){return i.hZ.call(this,e,...t),this},bindNamed(){return i.RX.apply(this,arguments)},unbindNamed(){return i._Z.apply(this,arguments)},unbindAllInNamespace(){return i.E0.apply(this,arguments)}});const s=function(e){for(let t in r.s.bindable){const n=r.s.bindable[t];e[t]||(e[t]=n)}},a=function(e){return e?.mediaId?e.mediaId:e?.id?e.id:void 0}},(e,t,n)=>{n.d(t,{E0:()=>p,Nw:()=>a,RX:()=>d,_Z:()=>h,hZ:()=>c,oI:()=>s});var i=n(13),r=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)};const o=Array.prototype.slice,s=function(e,t){const n=this;return n._bindings||(n._bindings={}),n._bindings[e]||(n._bindings[e]=[]),n._bindings[e].push(t),function(){n.unbind(e,t)}},a=function(e,t){if(!this._bindings)return this;if(!this._bindings[e])return this;const n=[];for(let i=0;i<this._bindings[e].length;i++){let r=this._bindings[e][i];r!==t&&n.push(r)}this._bindings[e]=n},c=function(e,...t){return this._bindings&&null!=this._bindings.all&&l.apply(this,["all",e].concat(t)),l.apply(this,[e].concat(t))},l=function(e){if(!this._bindings)return this;if(!this._bindings[e])return this;const t=o.call(arguments,1);let n;const r=[...this._bindings[e]];for(let o=0;o<r.length;o++){let s=r[o];try{s.apply(this,t)===this.unbind&&(null==n&&(n=[]),n.push({event:e,fn:s}))}catch(e){if(this._throwTriggerErrors)throw e;i.s.error&&i.s.error(e)}}if(n)for(let e=0;e<n.length;e++){let t=n[e];this.unbind(t.event,t.fn)}return this},u=function(e,t){null==e._namedBindings&&(e._namedBindings={}),null==e._namedBindings[t]&&(e._namedBindings[t]={})},d=function(e,t,n,i){return this.unbindNamed(e,t),function(e,t,n,i,r){u(e,t),e._namedBindings[t][n]={event:i,fn:r}}(this,e,t,n,i),this.bind(n,i),function(){this.unbindNamed(e,t)}},h=function(e,t){u(this,e);const n=function(e,t,n){return u(e,t),e._namedBindings[t][n]}(this,e,t);if(n){const{event:e,fn:t}=n;this.unbind(e,t)}const i=this._namedBindings;return delete i[e][t],g(i[e])&&delete i[e],this},p=function(e){const t=this._namedBindings&&this._namedBindings[e];if(null==t)return this;for(let n in t)r(t,n)&&this.unbindNamed(e,n)},g=function(e){for(let t in e)if(r(e,t))return!1;return!0};var m;(m=function(){}.prototype).bind=s,m.unbind=a,m.on=s,m.off=a,m.rebind=function(e,t){return this.unbind(e,t),this.bind(e,t),{event:e,fn:t}},m.trigger=c,m.bindNamed=d,m.unbindNamed=h,m.unbindAllInNamespace=p},(e,t,n)=>{n.d(t,{s:()=>a});var i=n(2),r=n(14),o=n(15),s=n(7);s.z.Wistia??={},s.z.Wistia.Preact??={...i,hooks:r,compat:o},s.z.Wistia._destructors??={},s.z.Wistia._initializers??={},s.z.Wistia._remoteData??=new Map,s.z.Wistia.api??=()=>(console.error("Accessed Wistia.api() before it was initialized"),null),s.z.Wistia.defineControl??=()=>(console.error("Accessed Wistia.defineControl() before it was initialized"),null),s.z.Wistia.EventShepherdManager??={},s.z.Wistia.mixin??=(e,t={})=>{Object.keys(t).forEach((n=>{(function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)})(t,n)&&(e[n]=t[n])}))},s.z.Wistia.playlistMethods??=new Map,s.z.Wistia.PublicApi??=null,s.z.Wistia.uncacheMedia??=()=>(console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null),s.z.Wistia.VisitorKey??=null,s.z.Wistia.visitorKey??=null,s.z.Wistia.wistia??=void 0,s.z.Wistia._liveStreamEventDataPromises??={},s.z.Wistia._mediaDataPromises??={},s.z.Wistia._liveStreamPollingPromises??={},s.z.Wistia.first??=()=>s.z.Wistia.api()??document.querySelector("wistia-player");const a=s.z.Wistia},e=>{e.exports=window.Wistia.Preact.hooks},e=>{e.exports=window.Wistia.Preact.compat},(e,t,n)=>{n.d(t,{S:()=>o,h:()=>i});const i={mutechange:n(17).MUTE_CHANGE_EVENT},r={mutechange:e=>e.isMuted};class o{constructor(){var e,t,n;e=this,n={},(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t="convertedEventsMap"))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}addListener(e,t,n){const o=i[e]??e;this.convertedEventsMap[o]??=[];const s=t=>{if(r[e]){const i=r[e](t.detail);n(i)}else n()};this.convertedEventsMap[o].push({givenCallback:n,eventListenerCallback:s}),t.addEventListener(o,s)}removeAllListeners(e){Object.keys(this.convertedEventsMap).forEach((t=>{this.convertedEventsMap[t]?.forEach((n=>{e.removeEventListener(t,n.eventListenerCallback)})),this.convertedEventsMap[t]=[]}))}removeListener(e,t,n){const r=i[e]??e,o=[];n?(t.removeEventListener(r,n),this.convertedEventsMap[r]&&(this.convertedEventsMap[r].forEach(((e,i)=>{e.givenCallback===n&&(o.push(i),t.removeEventListener(r,e.eventListenerCallback))})),o.forEach((e=>{this.convertedEventsMap[r]&&this.convertedEventsMap[r].splice(e,1)})))):this.convertedEventsMap[r]=[]}}},(e,t,n)=>{n.d(t,{AFTER_REPLACE_EVENT:()=>i,INIT_EMBED_EVENT:()=>r,INTERNAL_API_ON_FIND_EVENT:()=>o,MUTE_CHANGE_EVENT:()=>s});const i="after-replace",r="initembed",o="internal-api-on-find",s="mute-change"},,(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(20);const getScriptTags=e=>e.match(/<script.*?src[^>]*>\s*<\/script>|<script.*?>[\s\S]+?<\/script>/gi)||[],scriptTagsToRunScriptsInput=scriptTags=>{if(!scriptTags)return[];scriptTags instanceof Array||(scriptTags=getScriptTags(scriptTags));const hashes=[];for(let i=0;i<scriptTags.length;i++){let scriptTag=scriptTags[i],hash={},matches=scriptTag.match(/<script.*?>/i);if(matches&&(matches=matches[0].match(/src="([^"]+)"/i),matches&&(hash.src=matches[1],hash.async=/async/i.test(scriptTag.replace(hash.src,"")))),!matches&&(matches=scriptTag.match(/<script>([\s\S]+?)<\/script>/i),matches)){let src=matches[1];hash.fn=function(){return eval(src)}}hashes.push(hash)}return hashes},execScriptTags=(e,t)=>{if(!e)return null;const n=scriptTagsToRunScriptsInput(e);return runScripts(n).then(t)},removeScriptTags=e=>e.replace(/<script.*?src[^>]*>\s*<\/script>|<script>[\s\S]+?<\/script>/g,"")},(e,t,n)=>{n(9),n(4),n(21)},(e,t,n)=>{n(22)},(e,t,n)=>{n.d(t,{Qz:()=>u});var i=n(7),r=n(23),o=n(24);(0,o.Ni)("app"),(0,o.Ni)("fast-protected");const s=(0,o.Ni)("fast"),a=("undefined"!=typeof window&&i.z===window&&i.z.location&&i.z.location.protocol,()=>(0,o.rY)("fast")||null),c=(e=void 0)=>{if(e)return e;return a()||s},l=()=>{const e=a();return e||"fast.wistia.net"},u=((()=>{const e=document.getElementsByTagName("script");for(let t=0;t<e.length;t++){const n=e[t];if(n.src){const e=new r.s0(n.src),t=/\/assets\/external\/E-v1?\.js$/.test(e.rawPath),i=e.host===c()||e.host===l()||"fast-canary.wistia.net"===e.host,o="https:"===location.protocol&&"https:"===e.protocol,s=""===e.protocol||null==e.protocol,a=o||s||"http:"===location.protocol,u=!n.readyState||/loaded|complete/.test(n.readyState);if(t&&i&&a&&u)return e}}new r.s0(`${(0,r.ff)()}//${l()}/E-v1.js`)})(),()=>"pipedream.wistia.com");new RegExp(`(${["wistia.net","wistia.com","wistia.mx","wistia.dev","wistia.tech","wistia.am","wistia.se","wistia.io","wistia.st"].map((e=>`\\.${e.replace(".","\\.")}`)).join("|")})$`)},(e,t,n)=>{n.d(t,{ff:()=>o,s0:()=>l});var i=n(4),r=n(9);const o=(e=location.href)=>/^http:\/\//.test(e)?"http:":"https:",s=e=>{if(null==e)return e;let t;try{t=decodeURIComponent(e)}catch(n){setTimeout((()=>{r.ct.notice(n)}),50),t=e}return t},a=e=>{let t=e[0];for(let n=1;n<e.length;n++)t+=`[${e[n]}]`;return t},c=["protocol","host","port","params","path"],l=function(e){const t=this;t.params={},t.path=[],t.host="",t.rawPath="","object"==typeof e?t.fromOptions(e):e&&t.fromRaw(e)},u=l.prototype;u.fromOptions=function(e){for(let t=0;t<c.length;t++){let n=c[t];null!=e[n]&&(this[n]=e[n])}return this},u.fromRaw=function(e){let t;return this.rawUrl=e,t=e.match(/^((?:https?:)|(?:file:)|(?:ftp:))?\/\//),t&&(this.protocol=t[1]||void 0),t=e.match(/\/\/([^:?#/]*)/),t&&(this.host=t[1]||void 0),t=e.match(/\/\/.*?(\/[^?#$]+)/)||e.match(/(^\/[^/][^?#$]+)/),t&&this.setPath(t[1]),t=e.match(/:(\d+)/),t&&(this.port=parseInt(t[1],10)),t=e.match(/\?([^#]+)/),t&&(this.rawParams=t[1],this.params=(e=>{const t={};if(!e)return t;const n=e.split("&");for(let e=0;e<n.length;e++){let o=n[e].split("="),a=o[0],c=o[1];try{a=decodeURIComponent(a).match(/([\w\-_]+)/g)||""}catch(e){setTimeout((()=>{r.ct.notice(e)}),50),a=""}(0,i.cast)(a);const l=(0,i.getDeep)(t,a);if(null!=l)if((0,i.isArray)(l))l.push(s(c));else{const e=[l];e.push(s(c)),(0,i.setAndPreserveUndefined)(t,a,e)}else(0,i.setAndPreserveUndefined)(t,a,s(c))}return t})(this.rawParams)),t=e.match(/#(.*)$/),t&&(this.anchor=t[1]),this},u.clone=function(){return new l({protocol:this.protocol,host:this.host,port:this.port,path:(0,i.clone)(this.path),params:(0,i.clone)(this.params),anchor:this.anchor})},u.ext=function(e){if(null!=e){const t=this.ext(),n=this.path.length-1,i=new RegExp(`\\.${t}`,"g");return t&&(this.path[n]=`${this.path[n].replace(i,"")}`),this.path[n]=`${this.path[n]}.${e}`}const t=this.path[this.path.length-1].match(/\.(.*)$/);return null!=t&&t[1]||null},u.isRelative=function(e=window.location){const t=this.protocol,n=this.host;return!(null!=t&&""!==t&&t!==e.protocol||n&&n!==e.hostname)},u.toString=function(){return this.isRelative()?this.relative():this.absolute()},u.absolute=function(){let e="";null!=this.protocol&&(e=this.protocol);let t="";return null!=this.port&&(t=`:${this.port}`),`${e}//${this.host||location.host}${t}${this.relative()}`},u.relative=function(){let e="";var t;this.path.length>0&&("string"==typeof(t=this.path)&&(t=t.split("/")),e=null==t?"":`/${t.join("/")}`,this._hasTrailingSlash&&(e+="/"));let n=`?${(e=>{const t=[];return(0,i.eachLeaf)(e,((e,n)=>{null!=e?t.push(`${encodeURIComponent(a(n))}=${encodeURIComponent(e)}`):t.push(encodeURIComponent(a(n)))})),t.join("&")})(this.params)}`;return 1===n.length&&(n=""),`${e}${n}${this.relativeAnchor()}`},u.authority=function(){const e=null!=this.port?`:${this.port}`:"";return`${this.host}${e}`},u.relativeProtocol=function(){let e="";return null!=this.port&&(e=`:${this.port}`),`//${this.host}${e}${this.relative()}`},u.relativeAnchor=function(){let e="";return null!=this.anchor&&(e=`#${this.anchor}`),`${e}`},u.setPath=function(e){this.rawPath=e,this._hasTrailingSlash=/\/$/.test(this.rawPath),this.path=(e=>{const t=[];if(null==e)return t;const n=e.split(/\/+/);for(let e=0;e<n.length;e++){let i=n[e];null!=i&&""!==i&&t.push(i)}return t})(this.rawPath)},l.create=e=>new l(e),l.create,l.parse=e=>new l(e),l.parse},(e,t,n)=>{n.d(t,{Ni:()=>c,rY:()=>l});const i=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i,r=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i,o=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wiz\.wistia\.io/i,s=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.cdb-staging\.wistia\.io/i,a=/([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i,c=(e="app")=>l(e)||`${e}.wistia.com`,l=(e="app")=>{if((()=>{if("undefined"==typeof document||"function"!=typeof document.querySelector)return!1;try{const e=document.querySelector('meta[name="wistia-host-mode"]'),t=e?.getAttribute("content");return"string"==typeof t&&"production"===t.trim().toLowerCase()}catch{return!1}})())return null;if("undefined"!=typeof window&&window.location){const t=window.location.hostname,n=s.exec(t);if(n)return`${e}-cde-${n[2]}.${n[3]}.cdb-staging.wistia.io`;const c=i.exec(t);if(c)return`${e}-cde-${c[2]}.${c[3]}.wistia.io`;const l=r.exec(t);if(l)return`${e}-cde-${l[2]}.${l[3]}.claw.wistia.io`;const u=o.exec(t);if(u)return`${e}-cde-${u[2]}.${u[3]}.wiz.wistia.io`;const d=a.exec(t);if(d)return`${e}-txl-${d[2]}.${d[3]}.mtl.wistia.io`}return null}},(e,t,n)=>{n.d(t,{h:()=>r});var i=n(13);const r=(e="wistia_",t="")=>{const n=i.s._sequenceVal||1,r=`${e}${n}${t}`;return i.s._sequenceVal=n+1,r}},,,,,,,,,,,(e,t,n)=>{n.d(t,{D5:()=>c});var i=n(10),r=n(37),o=n(39),s=n(13);s.s._visitorTrackingDomain||(s.s._visitorTrackingDomain=location.hostname||""),s.s._visitorTracking||((()=>{const e=(0,r.y1)().visitorTrackingEnabled;null!=e&&((0,r.$B)((e=>delete e.visitorTrackingEnabled)),s.s._visitorTracking={},s.s._visitorTracking[s.s._visitorTrackingDomain]={isEnabled:e,updatedAt:Date.now()},(0,r.$B)((e=>e.visitorTracking=s.s._visitorTracking)))})(),s.s._visitorTracking=(0,r.y1)().visitorTracking||{}),s.s.consent=e=>null==e?c():a(e);const a=(e,t=s.s._visitorTrackingDomain)=>{"default"===e?delete s.s._visitorTracking[t]:s.s._visitorTracking[t]={isEnabled:"true"==`${e}`,updatedAt:Date.now()},(0,r.$B)((e=>e.visitorTracking=s.s._visitorTracking)),(0,i.mj)("visitortrackingchange",e),[...document.getElementsByTagName("wistia-player")].forEach((t=>{t.dispatchEvent(new CustomEvent("visitor-tracking-change",{detail:{isTrackingEnabled:e}}))}))},c=()=>{if("boolean"==typeof s.s._visitorTracking)return s.s._visitorTracking;if(s.s._visitorTracking){const e=(()=>{if(s.s._visitorTrackingDomain){const e=s.s._visitorTrackingDomain.split(".");for(;e.length>0;){const t=s.s._visitorTracking[e.join(".")],n=t&&t.isEnabled;if(null!=n)return n;e.shift()}}})();if(null!=e)return Boolean(e)}const e=(0,o.getAllApiHandles)();if(s.s.channel&&s.s.channel.all)try{e.push(...s.s.channel.all())}catch(e){}return!(e.some((e=>!0===(e._mediaData||e._galleryData||{}).privacyMode))||l())},l=()=>Object.values(s.s._privacyModeSources||{}).some(Boolean)},(e,t,n)=>{n.d(t,{$B:()=>a,y1:()=>s});var i=n(38),r=n(13);const o="wistia",s=()=>(0,i.Lg)(o),a=e=>(r.s._localStorage=(0,i.yo)(o,e),r.s._localStorage)},(e,t,n)=>{n.d(t,{Lg:()=>c,yo:()=>l});var i=n(13);const r=e=>{setTimeout((()=>{throw e}),0)},o="_namespacedLocalStorage",s=(e="wistia-test-localstorage")=>{try{if("undefined"==typeof localStorage)return!1;if(null!=i.s._localStorageWorks)return i.s._localStorageWorks;const t=localStorage.getItem(e);localStorage.removeItem(e),localStorage.setItem(e,t),localStorage.removeItem(e),i.s._localStorageWorks=!0}catch(e){i.s._localStorageWorks=!1}return i.s._localStorageWorks},a=()=>(null==i.s[o]&&(i.s[o]={}),i.s[o]),c=e=>{if(!s())return a()[e]||{};if(localStorage[e])try{return"null"===localStorage[e]?{}:JSON.parse(localStorage[e])}catch(e){r(e)}return{}},l=(e,t)=>{const n=c(e);try{t(n)}catch(e){r(e)}return((e,t)=>{if(!s())return null!=t&&"object"==typeof t&&(a()[e]=t),t;try{a()[e]=t,localStorage[e]=JSON.stringify(t)}catch(e){r(e)}return t})(e,n)}},(e,t,n)=>{n.d(t,{getAllApiHandles:()=>s,getOneApiHandle:()=>a});var i=n(9),r=n(40),o=n(110);const s=()=>(void 0===(0,r.wData)("video")?[]:Object.values((0,r.wData)("video"))).concat(void 0===(0,r.wData)("iframe_api")?[]:Object.values((0,r.wData)("iframe_api"))),a=e=>{if(void 0===e)return s()[0]??null;let t=null;if("string"==typeof e){const n=e;if(t=document.querySelector(`[unique-id='${n}']`)??document.getElementById(n),null===t){const e=s().find((e=>{if(e.hashedId()?.startsWith(n)||e.container?.id.startsWith(n))return e;if("mediaLanguages"in e&&"languageToLocalization"in e){if(e.mediaLanguages().some((t=>{const i=e.languageToLocalization(t);return null!=i&&(0,o.G)(i.hashedId).startsWith(n)})))return e;if((0,o.G)(e._mediaData?.sourceHashedId).startsWith(n))return e}return null}));"removed"!==e&&(t=e?.container??null)}}else if("number"==typeof e){let n=e;const i=s();n<0&&(n=i.length+n);const r=i[n];void 0!==r&&"removed"!==r&&(t=r.container??null)}else e instanceof HTMLElement?t=e:i.ct.error("Unrecognized matcher",e);return"WISTIA-PLAYER"===t?.tagName?t.deprecatedApiDoNotUse:void 0!==t?.wistiaApi&&"removed"!==t.wistiaApi?t.wistiaApi:null}},(e,t,n)=>{n.d(t,{wData:()=>o});var i=n(4),r=n(13);const o=(e,t)=>((0,i.isArray)(e)||(e=e.split(".")),null!=t&&(0,i.setDeep)(r.s,["_data"].concat(e),t),(0,i.getDeep)(r.s,["_data"].concat(e)))},(e,t,n)=>{n.d(t,{WO:()=>l});var i=n(5),r=n(42),o=n(36),s=n(22),a=n(13);null==a.s._simpleMetricsCache&&(a.s._simpleMetricsCache={}),null==a.s._simpleMetricsDebounceInterval&&(a.s._simpleMetricsDebounceInterval=500);const c=a.s._simpleMetricsCache,l=(e,t=1,n={})=>d("count",e,t,n),u=(...e)=>{if(!(0,o.D5)())return;const t=`https://${(0,s.Qz)()}/mput?topic=metrics`;return fetch(t,{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:e.join("\n")}).then((e=>{e.ok||console.error(e)})).catch((e=>{console.error(e)}))},d=(e,t,n,s={})=>{if((0,o.D5)())try{null==c.toMput&&(c.toMput=[]);const o=(0,i.k)({type:e,key:t,value:null!=n?n:null},s),l=JSON.stringify(o,(()=>{const e=new WeakSet;return(t,n)=>{if("object"==typeof n&&null!==n){if(e.has(n))return"[Circular]";e.add(n)}return n}})());c.toMput.push(l),clearTimeout(a.s._msendTimeout),a.s._msendTimeout=setTimeout((()=>{(0,r.R)((()=>{u.apply(void 0,c.toMput),c.toMput=[]}))}),a.s._simpleMetricsDebounceInterval)}catch(e){console.error(e.message),console.error(e.stack)}}},(e,t,n)=>{n.d(t,{R:()=>i});const i=(e,t=4e3,n=document,i=window)=>{if(/loaded|complete/.test(n.readyState))setTimeout(e,0);else{const n=()=>{i.removeEventListener("load",r,!1)},r=()=>{clearTimeout(o),n(),e()};i.addEventListener("load",r,!1);const o=setTimeout((()=>{n(),e()}),t)}}},,,,,,,,,,(e,t,n)=>{n.d(t,{xQ:()=>i}),n(53),n(13);const i=e=>e.replace(/[_-]([a-z])/g,(e=>e.charAt(1).toUpperCase()))},(e,t,n)=>{},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,t,n)=>{var i=n(52),r=n(41),o=n(111);const s=["eloqua","marketo_v2","klaviyo_v2","hubspot_v2"],a=(e,t)=>!0===e._mediaData?.tagManager&&s.includes(t);var c;(c=window.Wistia).integrations||(c.integrations={},c.integrations._all={},c.integrations.register=function(e,t){const n=function(n){return t[n]?(r,...o)=>r.hasData((()=>{if(!1!==r.params?.[(0,i.xQ)(e)]&&!a(r,e))return r._mediaData?.integrations?.[e]?t[n](r,...Array.from(o)):void 0})):null},r={getCookie:(o="getCookie",t[o]?()=>t[o]():null),pushPercentWatchedEvent:n("pushPercentWatchedEvent"),pushPlayEvent:n("pushPlayEvent"),pushEndedEvent:n("pushEndedEvent"),pushConversionEvent:n("pushConversionEvent"),pushConversionMidrollLinkEvent:n("pushConversionMidrollLinkEvent"),pushConversionPostRollEvent:n("pushConversionPostRollEvent"),pushConversionEventbriteEvent:n("pushConversionEventbriteEvent"),onFind:n("onFind"),onInit:function(n){return t[n]?(t.initialized=!1,(r,...o)=>r.hasData((()=>{if(!1!==r.params?.[(0,i.xQ)(e)]&&!a(r,e)&&!0!==window.disableWistiaIntegrationTracking)return!t.initialized&&r._mediaData?.integrations?.[e]?(t[n](r,...Array.from(o)),t.initialized=!0):void 0}))):null}("onInit")};var o;return c.integrations._all[e]=r},c.integrations.each=(e,...t)=>(()=>{const n=[];for(let i in c.integrations._all){let r=c.integrations._all[i];"string"==typeof e?n.push(r[e]?.(...Array.from(t||[]))):n.push(e(r,i))}return n})(),c._initializers.initIntegrations=function(){if(!c.integrations._setup)return c.integrations.setup()},c._destructors.destroyIntegrations=function(){return window.wistiaEmbeds?.each((e=>e._destroyIntegrations?.())),this._all={},c.integrations._setup=!1},c.integrations.setup=function(){if(!window._inWistiaIframe)return c.integrations._setup=!0,(0,o.vn)({matcher:o.be,shouldOnlyRunWhenVisible:!0,functionToRun:e=>{(0,r.WO)("player/integrations-setup",1,{href:window.location.href});const t=t=>c.integrations.each("pushPercentWatchedEvent",e,t),n=function(){return c.integrations.each("pushConversionEvent",e,...arguments)},i=t=>c.integrations.each("pushConversionMidrollLinkEvent",e,t),o=t=>c.integrations.each("pushConversionPostRollEvent",e,t),s=t=>c.integrations.each("pushConversionEventbriteEvent",e,t),a=function(){return c.integrations.each("pushPlayEvent",e),e.unbind},l=function(){return e.bind("play",a),c.integrations.each("pushEndedEvent",e)},u=()=>e.hasData((()=>(e.bind("percentWatchedThreshold",t),e.bind("conversion",n),e.bind("conversion-link",i),e.bind("conversion-postRoll",o),e.bind("conversion-eventbrite",s),e.bind("play",a),e.bind("end",l)))),d=function(){return e.unbind("play",a),e.unbind("conversion",n),e.unbind("percentWatchedThreshold",t),e.unbind("end",l)};if(e._initIntegrations=()=>u(),e._destroyIntegrations=()=>d(),e.bind("beforereplace",d),e.bind("afterreplace",u),u(),c.integrations.each("onInit",e),c.integrations.each("onFind",e),"playing"===e.state)return a()}})})},(e,t,n)=>{n.d(t,{G:()=>i});const i=e=>null==e?"":e.toString()},(e,t,n)=>{n.d(t,{be:()=>u,vn:()=>v});var i=n(112),r=n(39),o=n(113),s=n(3),a=n(114),c=n(9),l=n(17);const u="_all";let d=null;const h=[],p=[],g=(e,t)=>{const n=e.wistiaApi??e.deprecatedApiDoNotUse??null;null!==n&&"removed"!==n&&t(n)},m=(e,t)=>(e.addEventListener(l.INIT_EMBED_EVENT,t),e.addEventListener(l.INTERNAL_API_ON_FIND_EVENT,t),e.addEventListener(l.AFTER_REPLACE_EVENT,t),[()=>e.removeEventListener(l.INIT_EMBED_EVENT,t),()=>e.removeEventListener(l.INTERNAL_API_ON_FIND_EVENT,t),()=>e.removeEventListener(l.AFTER_REPLACE_EVENT,t)]),f=(e,t,n,i)=>{null!==e&&"removed"!==e&&void 0!==e&&(t!==u&&e!==(0,r.getOneApiHandle)(t)||(i?e.up((()=>n(e))):n(e)))},v=({matcher:e,functionToRun:t,shouldOnlyRunWhenVisible:n=!1})=>{const r=new Set;(({matcher:e,functionToRun:t,shouldOnlyRunWhenVisible:n=!1})=>{const r=i=>{f(i,e,t,n)},l=i=>{const{api:r,deprecatedApiDoNotUse:o}=i.detail;f(r??o,e,t,n)};h.push(r),p.push(l),null===d&&(d=(0,s.elemMutationObserver)((e=>{e.forEach((e=>{const{addedNodes:t}=e;t.forEach((e=>{if(!(e instanceof HTMLElement))return;let t=null;"WISTIA-PLAYER"===e.tagName||(0,s.elemHasClass)(e,"wistia_embed")?t=e:e.querySelector("wistia-player")?t=e.querySelector("wistia-player"):e.querySelector(".wistia_embed")&&(t=e.querySelector(".wistia_embed")),null!==t&&(h.forEach((e=>{g(t,e)})),p.forEach((e=>{m(t,e)})))}))}))})),(0,a.P)((()=>{if(null!==d)try{d.observe(document.body,{subtree:!0,childList:!0})}catch(e){c.ct.error(e)}})));const u=()=>{const e=((e,t)=>{const n=Array.from((0,o.e)()),i=Array.from(document.getElementsByTagName("wistia-player"));return n.concat(i).reduce(((n,i)=>(g(i,e),[...n,...m(i,t)])),[])})(r,l);return()=>e.map((e=>e()))};u(),(0,i.w)(a.O,u,300,1e4)})({matcher:e,shouldOnlyRunWhenVisible:n,functionToRun:e=>{r.has(e)||(r.add(e),t(e))}})}},(e,t,n)=>{n.d(t,{w:()=>i});const i=(e,t,n,i,r)=>{let o=null;const s=(new Date).getTime(),a=()=>{(new Date).getTime()-s>i?"function"==typeof r&&r():e()?t():(clearTimeout(o),o=setTimeout(a,n))};o=setTimeout(a,1)}},(e,t,n)=>{n.d(t,{e:()=>i});const i=(e="wistia_embed")=>{const t=document.querySelectorAll(`div.${e},span.${e},iframe.${e}`);return Array.from(t).map((e=>"WISTIA-PLAYER"===e.lastChild?.nodeName?e.lastChild:e))}},(e,t,n)=>{n.d(t,{O:()=>r,P:()=>o});var i=n(112);const r=()=>/loaded|complete/.test(document.readyState),o=function(){let e,t;if(arguments.length>1?(e=arguments[0],t=arguments[1]):(e=1e4,t=arguments[0]),r())t();else if(top===self&&document.documentElement.doScroll){const n=function(){try{return document.documentElement.doScroll("left"),!0}catch(e){return!1}};(0,i.w)(n,t,50,e,t)}else{const n=function(){r()&&(clearTimeout(s),o(),t())},i=function(){document.addEventListener("DOMContentLoaded",n,!1),document.addEventListener("readystatechange",n,!1),window.addEventListener("load",n,!1)},o=function(){document.removeEventListener("DOMContentLoaded",n,!1),document.removeEventListener("readystatechange",n,!1),window.removeEventListener("load",n,!1)},s=setTimeout((function(){o(),t()}),e);i()}}},()=>{var e;(e=window.Wistia).integrations.register("google_analytics",{pushPercentWatchedEvent(e,t){const n={};return"non-user-event"===e.lastPlayInfo().source&&(n.nonInteraction=!0),this._pushEvent(`${Math.round(100*t)}% Watched`,e.name(),n)},pushPlayEvent(e){return this._pushEvent("Play",e.name())},pushConversionEvent(e,t,n){return this._pushEvent("Conversion",e.name())},pushConversionMidrollLinkEvent(e,t){return this._pushEvent(`Clicked Link - ${t.link}`,e.name())},pushConversionPostRollEvent(e,t){return this._pushEvent(`Clicked Link - ${t.link}`,e.name())},pushConversionEventbriteEvent(e,t){return this._pushEvent(`Eventbrite Registration - ${t.eventId}`,e.name())},_gaTrackers(){let e,t;const n={};if(window.ga?.getAll)for(e of Array.from(window.ga.getAll()))t=e.get("trackingId"),n[t]=e.get("name");if(window.gaTracker?.getAll)for(e of Array.from(window.gaTracker.getAll()))t=e.get("trackingId"),n[t]=e.get("name");if(window.__gaTracker?.getAll)for(e of Array.from(window.__gaTracker.getAll()))t=e.get("trackingId"),n[t]=e.get("name");return(()=>{const e=[];for(t in n){const i=n[t];e.push(i)}return e})()},_pushEvent(t,n,i){null==i&&(i={});const r=window[window.GoogleAnalyticsObject]||window.ga;return null!=r?(()=>{const o=[];for(let s of Array.from(this._gaTrackers()))r(`${s}.send`,"event","Video",t,n,i),o.push(e.info(`Push to ${window.GoogleAnalyticsObject||"ga"}: ${s}.send, event, Video, ${t}, ${n}, nonInteraction:  ${i?.nonInteraction||!1}`));return o})():null!=window._gaq?(window._gaq.push(["_trackEvent","Video",t,n],i),e.info(`Push to _gaq: _trackEvent, Video, ${t}, ${n}, nonInteraction: ${i?.nonInteraction||!1}`)):void 0}})},(e,t,n)=>{var i,r=n(4);(i=window.Wistia).integrations.register("hubspot",{onFind(e){return this._setVideoForeignData(e),i.visitorKey.ready().then((()=>this._setVisitorForeignData(e,i.visitorKey.value()))),window._hsq.push((t=>this._setHubSpotForeignData(e,t)))},onInit(){null==window._hsq&&(window._hsq=[]);let e=!1;return i.visitorKey.ready().then((()=>{if(!e)return window._hsq.push(["identify",{wistia_visitor_key:i.visitorKey.value()}]),e=!0}))},_setVideoForeignData(e){const t=document.location.href.split("?")[0];let n=document.getElementsByTagName("title")[0]?.innerHTML||"";return n=n.replace(/^[\n\s]+/,"").replace(/[\n\s]+$/,""),n=n.replace(/[^\x00-\x7F]/g,""),e.foreignData((0,r.merge)({},e.foreignData(),{page_url:t,page_name:n}))},_setVisitorForeignData:(e,t)=>e.foreignData((0,r.merge)({},e.foreignData(),{wistia_visitor_key:t})),_setHubSpotForeignData:(e,t)=>e.foreignData((0,r.merge)({},e.foreignData(),{hubspot_hutk:t.utk.visitor,canonical_url:t.canonicalUrl,page_id:t.pageId,content_type:t.contentType}))})},(e,t,n)=>{var i=n(4),r=n(118);!function(e){const t={onFind(e){return this._setForeignData(e)},pushPercentWatchedEvent(e,t){return this._pushEvent(e,`${Math.round(100*t)} Percent Watched`)},pushPlayEvent(e){return this._pushEvent(e,"Played")},pushConversionEvent(e,t,n){return this._pushEvent(e,`Conversion - ${n}`)},pushConversionMidrollLinkEvent(e,t){return this._pushEvent(e,`Clicked Link - ${t.link}`)},pushConversionPostRollEvent(e,t){return this._pushEvent(e,`Clicked Link - ${t.link}`)},pushConversionEventbriteEvent(e,t){return this._pushEvent(e,`Eventbrite Registration - ${t.eventId}`)},_pushEvent(e,t){if(!window.Munchkin)return;if(!1===e._mediaData?.integrations?.marketo_v2_watch_events||"false"===e._mediaData?.integrations?.marketo_v2_watch_events)return;this._setForeignData(e);const n=this._marketoUrlFormat(` - Wistia Video - "${e.name().replace(/&amp;/g,"and")}" - ${t}`);return window.Munchkin.munchkinFunction("visitWebPage",{url:n})},_marketoUrlFormat:e=>e.replace(/[?;]/g," ").replace(/[:]/g," - "),_setForeignData(e,t){return null==t&&(t=""),this._cookie||this._setCookie(),e.foreignData((0,i.merge)({},e.foreignData(),{marketoCookie:this._cookie}))},_setCookie(){return this._cookie=(0,r.R)("_mkto_trk")}};e.integrations.register("marketo_v2",t),e.integrations.register("marketo",t)}(window.Wistia)},(e,t,n)=>{n.d(t,{R:()=>i});const i=e=>{try{let t;return(t=new RegExp(`(?:^|; )${encodeURIComponent(e)}=([^;]*)`).exec(document.cookie))?decodeURIComponent(t[1]):null}catch(e){if(/sandbox/i.test(e.message))return console.warn("sandboxed, can't get cookie"),null;throw e}}},(e,t,n)=>{var i=n(4);!function(e){const t={_guid:null,onFind(e){this.getGUIDFromCookie((t=>{t?(this._guid=t,e.foreignData((0,i.merge)({},e.foreignData(),{eloqua_guid:this._guid}))):console.error("No Eloqua GUID found")}))},getGUIDFromCookie(e){const t=function(){const e=document.cookie.split(";").find((e=>"ELOQUA"===e.split("=")[0]));if(e){const t=e.split("=")[1].split("&").find((e=>"GUID"===e.split("=")[0]));if(t)return t.split("=")[1]}return null}();if(t)return void e(t);if(!document.querySelector('script[src*="elqCfg.min.js"]')||void 0===window._elqQ)return e(null),void console.error("Eloqua script not found");window._elqQ.push(["elqGetCustomerGUID"]);const n=setTimeout((()=>{if("function"!=typeof GetElqCustomerGUID)return;const t=window.GetElqCustomerGUID();t&&"undefined"!==t&&(e(t),clearTimeout(n))}),1e3);setTimeout((()=>{clearTimeout(n),this._guid||e(null)}),1e4)}};e.integrations.register("eloqua",t)}(window.Wistia)},(e,t,n)=>{var i=n(4);!function(e){const t={_exchangeId:null,onFind(e){const t=this.getExchangeIdFromCookie();t&&(this._exchangeId=t,e.foreignData((0,i.merge)({},e.foreignData(),{klaviyo_exchange_id:this._exchangeId})))},getExchangeIdFromCookie(){try{const e=document.cookie.split("; ").find((e=>e.startsWith("__kla_id=")));if(!e)return null;const t=e.split("=")[1];return JSON.parse(atob(t)).$exchange_id||null}catch(e){return null}}};e.integrations.register("klaviyo_v2",t)}(window.Wistia)},(e,t,n)=>{n.d(t,{F3:()=>a});var i=n(118),r=n(9),o=n(13);const s=()=>new Promise(((e,t)=>{let n;const r=o=>{n=(0,i.R)("hubspotutk"),n?e(n):o>0?setTimeout(r,1e3,o-1):t(new Error("no Hubspot cookie found"))};r(120)})),a=()=>{const e=(({getHubspotUtk:e})=>({onFind:t=>{e().then((e=>{t.foreignData({...t.foreignData(),hubspot_utk:e})})).catch((e=>{(t.hasPlugin("hubspotForm")||null!=t.plugin.turnstile?.options.list)&&r.ct.error(e)}))},getCookie:t=>e()}))({getHubspotUtk:s});o.s.integrations.register("hubspot_v2",e)}}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{__webpack_require__.d(__webpack_exports__,{U:()=>n});var e=__webpack_require__(13),t=(__webpack_require__(109),__webpack_require__(115),__webpack_require__(116),__webpack_require__(117),__webpack_require__(119),__webpack_require__(120),__webpack_require__(121));const n=()=>{e.s.integrations._setup||((0,t.F3)(),e.s.integrations.setup(),e.s.bind("ev1initend",(()=>{e.s._initializers.initIntegrations()})),e.s.bind("ev1destroystart",(()=>{e.s._destructors.destroyIntegrations()})))}})();const __webpack_exports__runIntegrationsSetup=__webpack_exports__.U;export{__webpack_exports__runIntegrationsSetup as runIntegrationsSetup};
//# debugId=565d8daf-ced2-428c-9a28-ba9c815bba98
//# sourceMappingURL=allIntegrations.js.map