var __webpack_modules__={2(t){t.exports=window.Wistia.Preact},3(t,e,n){n.d(e,{elemBind:()=>c});n(4),n(6),n(8);var r,i=n(9),o=(n(12),n(21),n(22),n(28)),a=n(16),s=(a.Wistia,(0,i.cachedDetect)()),c=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=function(r){(r=r||window.event).pageX||r.pageY||!r.clientX&&!r.clientY||(r.pageX=r.clientX+p(),r.pageY=r.clientY+f()),r.preventDefault||(r.preventDefault=function(){r.returnValue=!1}),r.stopPropagation||(r.stopPropagation=function(){r.cancelBubble=!0}),null==r.which&&(r.which=null!=r.charCode?r.charCode:r.keyCode),null==r.which&&null!=r.button&&(1&r.button?r.which=1:2&r.button?r.which=3:4&r.button?r.which=2:r.which=0),r.target||r.srcElement&&(r.target=r.srcElement),r.target&&3===r.target.nodeType&&(r.target=r.target.parentNode);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];var s=n.apply(r.target,[r].concat(o));return s===u&&u(t,e,n),s};a.Wistia._elemBind=a.Wistia._elemBind||{};var o=l(t,e,n);return a.Wistia._elemBind[o]=i,i.elem=t,i.event=e,t.addEventListener(e,i,r),function(){u(t,e,n,r)}},u=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!=t&&null!=t._wistiaElemId&&null!=n&&n._wistiaBindId){var i=l(t,e,n),o=a.Wistia._elemBind[i];return o&&(t.removeEventListener(e,o,r),o.elem=null,o.event=null),delete a.Wistia._elemBind[i]}},l=function(t,e,n){return t._wistiaElemId=t._wistiaElemId||(0,o.seqId)("wistia_elem_"),n._wistiaBindId=n._wistiaBindId||(0,o.seqId)("wistia_bind_"),"".concat(t._wistiaElemId,".").concat(e,".").concat(n._wistiaBindId)},f=function(t){var e=document.body,n=document.documentElement;if(null==t)return n&&n.scrollTop||e&&e.scrollTop||0;e&&(e.scrollTop=t),n&&(n.scrollTop=t)},p=function(t){var e=document.body,n=document.documentElement;if(null==t)return n&&n.scrollLeft||e&&e.scrollLeft||0;e&&(e.scrollLeft=t),n&&(n.scrollLeft=t)};["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((function(t){c(document,t,(function(t){r=t,Date.now(),setTimeout((function(){r===t&&(r=void 0)}),0)}),!s.passiveSupported||{capture:!0,passive:!0})}))},4(t,e,n){n.d(e,{cast:()=>h,clone:()=>u,eachLeaf:()=>T,getDeep:()=>l,isArray:()=>g,isObject:()=>y,merge:()=>o,setAndPreserveUndefined:()=>f});n(5);var r=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},i=Array.prototype.slice,o=function(t){if(0==(arguments.length<=1?0:arguments.length-1))return t;for(var e=0;e<(arguments.length<=1?0:arguments.length-1);e++)a(t,e+1<1||arguments.length<=e+1?void 0:arguments[e+1]);return t},a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c;if(g(e)){g(t)||(t=[]);for(var o=0;o<e.length;o++){var u=e[o];null==t[o]&&null!=u&&(g(u)?t[o]=[]:y(u)&&(t[o]={}));var l=a(t[o],u,n);i(e,o,l)?delete t[o]:t[o]=l}return n(t)}if(y(e)){for(var f in e)if(r(e,f)&&(r(t,f)||null==t[f])){var p=e[f];g(p)?(g(t[f])||(t[f]=[]),a(t[f],p,n),t[f]=n(t[f])):y(p)?(y(t[f])||(t[f]={}),a(t[f],p,n),t[f]=n(t[f])):null==t?(t={},i(e,f,p)||(t[f]=n(p))):i(e,f,p)?delete t[f]:t[f]=n(p)}return n(t)}return n(e)},s=function(t){return t},c=function(t,e,n){return null==n},u=function(t,e){return g(t)?a([],t,e):a({},t,e)},l=function(t,e,n){e="string"==typeof e?e.split("."):i.call(e);for(var o,a=t;null!=t&&e.length;){var s=e.shift();void 0!==t[s]&&(y(t[s])||g(t[s]))||!n||(0===s?(t=a[o]=[])[s]={}:t[s]={}),a=t,o=s,t=r(t,s)?t[s]:void 0}return t},f=function(t,e,n){return p(t,e,n,!1)},p=function(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=(e="string"==typeof e?e.split("."):i.call(e)).pop();null!=(t=l(t,e,!0))&&(y(t)||g(t))&&null!=o&&(r&&null==n?delete t[o]:t[o]=n)},h=function(t){return null==t?t:y(t)||g(t)?v(t):d("".concat(t),t)},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return/^-?[1-9]\d*?$/.test(t)?parseInt(t,10):"0"===t||"-0"===t?0:/^-?\d*\.\d+$/.test(t)?parseFloat(t):!!/^true$/i.test(t)||!/^false$/i.test(t)&&e},v=function(t){return a(t,t,(function(t){return"string"==typeof t?d(t):t}),(function(){return!1}))},m=/^\s*function Array()/,g=function(t){return null!=t&&t.push&&m.test(t.constructor)},b=/^\s*function Object()/,y=function(t){return null!=t&&"object"==typeof t&&b.test(t.constructor)},w=/^\s*function RegExp()/,_=/^string|number|boolean|function$/i,E=function(t){return null!=t&&(_.test(typeof t)||function(t){return null!=t&&w.test(t.constructor)}(t))},O=function(t,e,n,o,a){if(null==n&&(n=[]),E(t))e(t,n,o,a);else if(y(t)||g(t)){for(var s in e(t,n,o,a),t)if(r(t,s)){var c=i.call(n);c.push(s),O(t[s],e,c,t,s)}}else e(t,n,o,a)},T=function(t,e){O(t,(function(t,n,r,i){g(t)||y(t)||e(t,n,r,i)}))}},5(t,e,n){},6(t,e,n){n(7)},7(t,e,n){n.d(e,{poll:()=>r});var r=function(t,e,n,r,i){var o=null,a=(new Date).getTime(),s=function(){(new Date).getTime()-a>r?"function"==typeof i&&i():t()?e():(clearTimeout(o),o=setTimeout(s,n))};o=setTimeout(s,1)}},8(t,e,n){},9(t,e,n){n.d(e,{cachedDetect:()=>N});var r,i=n(10),o=n(11),a=navigator.userAgent,s=null,c=/(webkit)[ /]([^\s]+)/i,u=/OPR\/([^\s]+)/i,l=/(edge)\/(\d+(?:\.\d+)?)/i,f=/(mozilla)(?:.*? rv:([^\s)]+))?/i,p=/(android) ([^;]+)/i,h=/(iphone)/i,d=/(Windows Phone OS (\d+(?:\.\d+)?))/,v=/OS (\d+)_(\d+)/i,m=/(firefox)/i,g=/Mobile VR/i,b=/Version\/([^\s]+)/i,y=function(){return(_()[1]||"webkit").toLowerCase()},w=function(){return _()[2]},_=function(){var t;return(t=a.match(l))||(t=a.match(c))||(t=a.match(u))?t:t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=a.match(f))||[]},E=function(){var t=a.match(p);return null!=t&&{version:t[2]}},O=function(){return h.test(a)},T=function(){return j()>0||E()||S()},M=function(){try{var t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!T()},S=function(){return/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1},k=function(){return c.test(a)&&!/chrome/i.test(a)&&!S()&&!O()},P=function(){return!(!/Chrome/.test(a)||!/Google Inc/.test(navigator.vendor))&&{version:x()}},x=function(){var t=a.match(/\bChrome\/([^\s]+)/);return t&&t[1]},j=function(){var t=a.match(v),e=a.match(b);return null!=t?parseFloat("".concat(t[1],".").concat(t[2])):null!=e&&e[1]&&S()?parseFloat(e[1]):0},W=function(){return l.test(a)},C=function(){return m.test(a)},L=function(){var t=document.createElement("video"),e=!1;try{if(t.canPlayType){var n='video/mp4; codecs="avc1.42E01E';(e={}).h264=!!t.canPlayType("".concat(n,'"'))||!!t.canPlayType("".concat(n,', mp4a.40.2"')),e.webm=!!t.canPlayType('video/webm; codecs="vp9, vorbis"'),e.nativeHls=!!t.canPlayType("application/vnd.apple.mpegURL")}}catch(t){e={ogg:!1,h264:!1,webm:!1,nativeHls:!1}}return e},A=function(){try{return"localStorage"in i.root&&null!=i.root.localStorage}catch(t){return!1}},B=["WebKit","Moz","O","Ms",""],D=function(){for(var t=0;t<B.length;t++){var e="".concat(B[t],"MutationObserver");if(i.root[e])return e}return null},R=function(){if(null!=r)return r;try{var t=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("test",null,t)}catch(t){r=!1}return r},I=function(){var t=P(),e=C(),n=W(),r=u.test(a),i=t&&w()>=32,o=t&&w()>=75&&E(),s=e&&w()>=65,c=e&&w()>=67&&E(),l=n&&w()>=18,f=r&&w()>=19;return i||o||s||c||l||f},N=function(){return s||(s=F())},F=function(){var t,e,n,r,s,c,u,l,f,p,h,v,m,b={browser:{version:w()},edge:W(),firefox:C(),gearvr:g.test(a),hdr:!(null===(v=(m=window).matchMedia)||void 0===v||!v.call(m,"(dynamic-range: high)").matches)||!!(screen.colorDepth&&screen.colorDepth>=30),hdrCodecs:{hevc:null!==(n=null===(r=window.MediaSource)||void 0===r||null===(s=r.isTypeSupported)||void 0===s?void 0:s.call(r,'video/mp4; codecs="hvc1.2.4.L153.B0"'))&&void 0!==n&&n,av1:null!==(c=null===(u=window.MediaSource)||void 0===u||null===(l=u.isTypeSupported)||void 0===l?void 0:l.call(u,'video/mp4; codecs="av01.0.08M.10.0.110.09.16.09"'))&&void 0!==c&&c,vp92:null!==(f=null===(p=window.MediaSource)||void 0===p||null===(h=p.isTypeSupported)||void 0===h?void 0:h.call(p,'video/mp4; codecs="vp09.02.10.10.01.09.16.09"'))&&void 0!==f&&f},android:E(),oldandroid:E()&&parseFloat(E().version)<4.1,iphone:O(),ipad:S(),safari:k(),chrome:P(),winphone:{version:d.test(a)[2]},ios:{version:j()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=i.root.devicePixelRatio&&i.root.devicePixelRatio>1,hoverIsNatural:M(),touchScreen:T(),video:L(),managedMediaSource:"ManagedMediaSource"in window&&"function"==typeof(null===(e=window.ManagedMediaSource)||void 0===e?void 0:e.isTypeSupported),mediaSource:i.root.MediaSource&&i.root.MediaSource.isTypeSupported("".concat('video/mp4; codecs="avc1.42E01E',', mp4a.40.2"')),nativeHls:(O()||S()||k())&&L().nativeHls,localstorage:A(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:(t=/webkit|mozilla|edge/.test(y()),!!(O()||S()||E())||Boolean(t&&L().h264&&Object.defineProperties)),mutationObserver:D(),callingPlayRequiresEventContext:j()>0||E()||k(),passiveSupported:R(),webp:I(),performanceMeasure:(0,o.hasPerformanceMeasureSupport)()};return b.browser[y()]=!0,b}},10(t,e,n){var r;n.d(e,{root:()=>i});try{(r=self).self!==r&&void 0!==r.self&&"undefined"!=typeof window&&(r=window)}catch(t){r="undefined"!=typeof globalThis?globalThis:window}var i=r},11(t,e,n){n.d(e,{hasPerformanceMeasureSupport:()=>r});var r=function(){var t=window.performance;return Boolean(t)&&Boolean(t.measure)}},12(t,e,n){n.d(e,{wlog:()=>m});var r=n(13),i=n(16);function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var s={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},c=function(){},u=function(t){var e=this;null==t&&(t={});return e.error=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log(0,n)},e.warn=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log(1,n)},e.notice=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log(1,n)},e.info=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log(3,n)},e.debug=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log(4,n)},e.ctx=t,e.ctx.initializedAt||e.reset(),e},l=u.prototype;l.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()},l.setLevel=function(t){var e=this.logFunc(3);null!=s[t]?(this.ctx.level=s[t],e('Log level set to "'.concat(t,'" (').concat(s[t],")"))):e('Unknown log level "'.concat(t,'"'))},l.setGrep=function(t){this.ctx.grep=t},l.setGrepv=function(t){this.ctx.grepv=t},l.first1000LogLines=function(){return this.ctx.first1000LogLines},l.last1000LogLines=function(){return this.ctx.last1000LogLines},l.matchedGrep=function(t){var e=!1;if(this.ctx.grep||this.ctx.grepv){for(var n=[],r=0;r<t.length;r++)try{var i=t[r];n.push(i.toString&&i.toString())}catch(t){n.push("")}var o=n.join(" "),a=!this.ctx.grep||o.match(this.ctx.grep),s=!this.ctx.grepv||!o.match(this.ctx.grepv);e=a&&s}else e=!0;return e},l.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},l.messagesToLogLine=function(t,e,n){var r,i=[t,e];i=i.concat(n);try{(r=i.join(" ")||"").length>200&&(r=r.slice(0,200))}catch(t){r="could not serialize"}return r},l.persistLine=function(t){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(t):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(t))},l.log=function(t,e){var n,i=t<=this.ctx.level,a=t<4,s=(i||a)&&this.matchedGrep(e);if(0===t&&(0,r.globalTrigger)("problem",{type:"error-logged",data:{messages:e}}),s&&(i||a)&&(n=this.now()),a&&s){var c=this.messagesToLogLine(t,n,e);this.persistLine(c)}if(i&&s){var u,l=this.logFunc(t);1===e.length&&(u=e[0])instanceof Error?(l(u.message),u.stack&&l(u.stack)):l.apply(void 0,o(e))}};var f=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.error.apply(console,e)},p=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.warn.apply(console,e)},h=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.info.apply(console,e)},d=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.debug.apply(console,e)},v=function(t){console.log.apply(console,t)};l.logFunc=function(t){return null==t&&(t=this.level),console?(0===t?e=f:1===t?e=p:3===t?e=h:4===t&&(e=d),e||(e=v),"function"!=typeof e&&(this.noConsoleLog=!0,e=c),e):c;var e},l.maybePrefix=function(t,e){if(t){if("function"==typeof t)try{t=t()}catch(e){t='prefix err "'.concat(e.message,'"')}return t instanceof Array?t.concat(e):[t].concat(e)}return e},l.getPrefixedFunctions=function(t){var e=this;return{log:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.log(0,e.maybePrefix(t,r))},error:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.log(0,e.maybePrefix(t,r))},warn:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.log(1,e.maybePrefix(t,r))},notice:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.log(1,e.maybePrefix(t,r))},info:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.log(3,e.maybePrefix(t,r))},debug:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.log(4,e.maybePrefix(t,r))}}},i.Wistia&&null==i.Wistia.wlogCtx&&(i.Wistia.wlogCtx={});var m=new u(i.Wistia.wlogCtx)},13(t,e,n){n.d(e,{globalTrigger:()=>o});var r=n(14),i=n(16);(0,r.makeWbindable)(i.Wistia);i.Wistia.bind.bind(i.Wistia),i.Wistia.on.bind(i.Wistia),i.Wistia.off.bind(i.Wistia),i.Wistia.rebind.bind(i.Wistia);var o=i.Wistia.trigger.bind(i.Wistia);i.Wistia.unbind.bind(i.Wistia)},14(t,e,n){n.d(e,{makeWbindable:()=>a});var r=n(15),i=n(16),o=n(19);i.Wistia.bindable||(i.Wistia.EventShepherdManager||(i.Wistia.EventShepherdManager={}),i.Wistia.bindable={bind:function(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),this;if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),this;var n=this.embedElement||this.container;if(Object.keys(o.convertedEventNames).includes(t)&&n){var a=s(n);return void 0===i.Wistia.EventShepherdManager[a]&&(i.Wistia.EventShepherdManager[a]=new o.EventShepherd),i.Wistia.EventShepherdManager[a].addListener(t,n,e),this}if(e)return r.bind.call(this,t,e),this;i.Wistia.warn&&i.Wistia.warn(this.constructor.name,"bind","falsey value passed in as callback:",e)},unbind:function(t,e){if("crosstime"===t&&this.crossTime)return e?this.crossTime.removeBinding(arguments[1],arguments[2]):this.crossTime.removeAllBindings(),this;if("betweentimes"===t&&this.betweenTimes)return e?this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]):this.betweenTimes.removeAllBindings(),this;var n=this.embedElement||this.container;if(Object.keys(o.convertedEventNames).includes(t)&&n){var a=s(n);return void 0===i.Wistia.EventShepherdManager[a]||i.Wistia.EventShepherdManager[a].removeListener(t,n,e),this}return e?r.unbind.call(this,t,e):this._bindings&&(this._bindings[t]=[]),this._bindings&&this._bindings[t]&&!this._bindings[t].length&&(this._bindings[t]=null,delete this._bindings[t]),this},on:function(t,e){var n=arguments,a=this;if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),function(){a.crossTime.removeBinding(n[1],n[2])};if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),function(){a.betweenTimes.removeBinding(n[1],n[2],n[3])};var c=this.embedElement||this.container;if(Object.keys(o.convertedEventNames).includes(t)&&c){var u=s(c);return void 0===i.Wistia.EventShepherdManager[u]&&(i.Wistia.EventShepherdManager[u]=new o.EventShepherd(c)),i.Wistia.EventShepherdManager[u].addListener(t,c,e),function(){i.Wistia.EventShepherdManager[u].removeListener(t,c,e)}}return r.bind.call(this,t,e)},off:function(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.removeBinding(arguments[1],arguments[2]);if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]);var n=this.embedElement||this.container;if(Object.keys(o.convertedEventNames).includes(t)&&n){var a=s(n);return void 0===i.Wistia.EventShepherdManager[a]?function(){}:i.Wistia.EventShepherdManager[a].removeListener(t,n,e)}return r.unbind.call(this,t,e)},rebind:function(t,e){return this.unbind(t,e),this.bind(t,e),this},trigger:function(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return(e=r.trigger).call.apply(e,[this,t].concat(i)),this},bindNamed:function(){return r.bindNamed.apply(this,arguments)},unbindNamed:function(){return r.unbindNamed.apply(this,arguments)},unbindAllInNamespace:function(){return r.unbindAllInNamespace.apply(this,arguments)}});var a=function(t){for(var e in i.Wistia.bindable){var n=i.Wistia.bindable[e];t[e]||(t[e]=n)}},s=function(t){return null!=t&&t.mediaId?t.mediaId:null!=t&&t.id?t.id:void 0}},15(t,e,n){n.d(e,{bind:()=>u,bindNamed:()=>v,trigger:()=>p,unbind:()=>l,unbindAllInNamespace:()=>g,unbindNamed:()=>m});var r=n(16),i=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var s,c=Array.prototype.slice,u=function(t,e){var n=this;return n._bindings||(n._bindings={}),n._bindings[t]||(n._bindings[t]=[]),n._bindings[t].push(e),function(){n.unbind(t,e)}},l=function(t,e){if(!this._bindings)return this;if(!this._bindings[t])return this;for(var n=[],r=0;r<this._bindings[t].length;r++){var i=this._bindings[t][r];i!==e&&n.push(i)}this._bindings[t]=n},f=function(t,e){return this.unbind(t,e),this.bind(t,e),{event:t,fn:e}},p=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return this._bindings&&null!=this._bindings.all&&h.apply(this,["all",t].concat(n)),h.apply(this,[t].concat(n))},h=function(t){if(!this._bindings)return this;if(!this._bindings[t])return this;for(var e,n=c.call(arguments,1),i=o(this._bindings[t]),a=0;a<i.length;a++){var s=i[a];try{s.apply(this,n)===this.unbind&&(null==e&&(e=[]),e.push({event:t,fn:s}))}catch(t){if(this._throwTriggerErrors)throw t;r.Wistia.error&&r.Wistia.error(t)}}if(e)for(var u=0;u<e.length;u++){var l=e[u];this.unbind(l.event,l.fn)}return this},d=function(t,e){null==t._namedBindings&&(t._namedBindings={}),null==t._namedBindings[e]&&(t._namedBindings[e]={})},v=function(t,e,n,r){return this.unbindNamed(t,e),function(t,e,n,r,i){d(t,e),t._namedBindings[e][n]={event:r,fn:i}}(this,t,e,n,r),this.bind(n,r),function(){this.unbindNamed(t,e)}},m=function(t,e){d(this,t);var n=function(t,e,n){return d(t,e),t._namedBindings[e][n]}(this,t,e);if(n){var r=n.event,i=n.fn;this.unbind(r,i)}var o=this._namedBindings;return delete o[t][e],b(o[t])&&delete o[t],this},g=function(t){var e=this._namedBindings&&this._namedBindings[t];if(null==e)return this;for(var n in e)i(e,n)&&this.unbindNamed(t,n)},b=function(t){for(var e in t)if(i(t,e))return!1;return!0};(s=function(){}.prototype).bind=u,s.unbind=l,s.on=u,s.off=l,s.rebind=f,s.trigger=p,s.bindNamed=v,s.unbindNamed=m,s.unbindAllInNamespace=g},16(t,e,n){n.d(e,{Wistia:()=>$});var r,i,o,a,s,c,u,l,f,p,h,d,v,m,g,b,y,w,_,E,O,T,M,S,k,P,x,j,W,C,L,A,B,D,R,I,N,F=n(2),z=n(17),U=n(18),q=n(10);function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function H(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){K(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function K(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}null!==(r=q.root.Wistia)&&void 0!==r||(q.root.Wistia={}),null!==(o=(i=q.root.Wistia).Preact)&&void 0!==o||(i.Preact=H(H({},F),{},{hooks:z,compat:U})),null!==(s=(a=q.root.Wistia)._destructors)&&void 0!==s||(a._destructors={}),null!==(u=(c=q.root.Wistia)._initializers)&&void 0!==u||(c._initializers={}),null!==(f=(l=q.root.Wistia)._remoteData)&&void 0!==f||(l._remoteData=new Map),null!==(h=(p=q.root.Wistia).api)&&void 0!==h||(p.api=function(){return console.error("Accessed Wistia.api() before it was initialized"),null}),null!==(v=(d=q.root.Wistia).defineControl)&&void 0!==v||(d.defineControl=function(){return console.error("Accessed Wistia.defineControl() before it was initialized"),null}),null!==(g=(m=q.root.Wistia).EventShepherdManager)&&void 0!==g||(m.EventShepherdManager={}),null!==(y=(b=q.root.Wistia).mixin)&&void 0!==y||(b.mixin=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(n){(function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)})(e,n)&&(t[n]=e[n])}))}),null!==(_=(w=q.root.Wistia).playlistMethods)&&void 0!==_||(w.playlistMethods=new Map),null!==(O=(E=q.root.Wistia).PublicApi)&&void 0!==O||(E.PublicApi=null),null!==(M=(T=q.root.Wistia).uncacheMedia)&&void 0!==M||(T.uncacheMedia=function(){return console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null}),null!==(k=(S=q.root.Wistia).VisitorKey)&&void 0!==k||(S.VisitorKey=null),null!==(x=(P=q.root.Wistia).visitorKey)&&void 0!==x||(P.visitorKey=null),null!==(W=(j=q.root.Wistia).wistia)&&void 0!==W||(j.wistia=void 0),null!==(L=(C=q.root.Wistia)._liveStreamEventDataPromises)&&void 0!==L||(C._liveStreamEventDataPromises={}),null!==(B=(A=q.root.Wistia)._mediaDataPromises)&&void 0!==B||(A._mediaDataPromises={}),null!==(R=(D=q.root.Wistia)._liveStreamPollingPromises)&&void 0!==R||(D._liveStreamPollingPromises={}),null!==(N=(I=q.root.Wistia).first)&&void 0!==N||(I.first=function(){var t;return null!==(t=q.root.Wistia.api())&&void 0!==t?t:document.querySelector("wistia-player")});var $=q.root.Wistia},17(t){t.exports=window.Wistia.Preact.hooks},18(t){t.exports=window.Wistia.Preact.compat},19(t,e,n){function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}n.d(e,{EventShepherd:()=>s,convertedEventNames:()=>o});var o={mutechange:n(20).MUTE_CHANGE_EVENT},a={mutechange:function(t){return t.isMuted}},s=function(){return t=function t(){var e,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,r={},(n=i(n="convertedEventsMap"))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r},(e=[{key:"addListener",value:function(t,e,n){var r,i,s,c=null!==(r=o[t])&&void 0!==r?r:t;null!==(s=(i=this.convertedEventsMap)[c])&&void 0!==s||(i[c]=[]);var u=function(e){if(a[t]){var r=a[t](e.detail);n(r)}else n()};this.convertedEventsMap[c].push({givenCallback:n,eventListenerCallback:u}),e.addEventListener(c,u)}},{key:"removeAllListeners",value:function(t){var e=this;Object.keys(this.convertedEventsMap).forEach((function(n){var r;null===(r=e.convertedEventsMap[n])||void 0===r||r.forEach((function(e){t.removeEventListener(n,e.eventListenerCallback)})),e.convertedEventsMap[n]=[]}))}},{key:"removeListener",value:function(t,e,n){var r,i=this,a=null!==(r=o[t])&&void 0!==r?r:t,s=[];n?(e.removeEventListener(a,n),this.convertedEventsMap[a]&&(this.convertedEventsMap[a].forEach((function(t,r){t.givenCallback===n&&(s.push(r),e.removeEventListener(a,t.eventListenerCallback))})),s.forEach((function(t){i.convertedEventsMap[a]&&i.convertedEventsMap[a].splice(t,1)})))):this.convertedEventsMap[a]=[]}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},20(t,e,n){n.d(e,{MUTE_CHANGE_EVENT:()=>r});var r="mute-change"},21(t,e,n){var r;n.d(e,{elemOffset:()=>o});var i=function(){if(null!=r)return r;var t=document.createElement("div");return t.style.paddingLeft=t.style.width="1px",document.body.appendChild(t),r=2===t.offsetWidth,document.body.removeChild(t),r},o=function(t){var e,n,r=document.body,o=document.defaultView,s=document.documentElement,c=t.getBoundingClientRect(),u=s.clientTop||r.clientTop||0,l=s.clientLeft||r.clientLeft||0;e=o&&null!=o.pageYOffset?o.pageYOffset:i()&&s&&null!=s.scrollTop?s.scrollTop:r.scrollTop,n=o&&null!=o.pageXOffset?o.pageXOffset:i()&&s&&null!=s.scrollLeft?s.scrollLeft:r.scrollLeft;var f=a(t);return{height:c.height*f,top:c.top*f+e-u,left:c.left*f+n-l,width:c.width*f,zoom:f}},a=function(t){return t&&t!==document.documentElement?a(t.parentElement)*(getComputedStyle(t).zoom||1):1}},22(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{execScriptTags:()=>execScriptTags,getScriptTags:()=>getScriptTags,removeScriptTags:()=>removeScriptTags});var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23),getScriptTags=function(t){return t.match(/<script.*?src[^>]*>\s*<\/script>|<script.*?>[\s\S]+?<\/script>/gi)||[]},scriptTagsToRunScriptsInput=function scriptTagsToRunScriptsInput(scriptTags){if(!scriptTags)return[];scriptTags instanceof Array||(scriptTags=getScriptTags(scriptTags));for(var hashes=[],_loop=function _loop(){var 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)){var src=matches[1];hash.fn=function(){return eval(src)}}hashes.push(hash)},i=0;i<scriptTags.length;i++)_loop();return hashes},execScriptTags=function(t,e){if(!t)return null;var n=scriptTagsToRunScriptsInput(t);return(0,utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__.runScripts)(n).then(e)},removeScriptTags=function(t){return t.replace(/<script.*?src[^>]*>\s*<\/script>|<script>[\s\S]+?<\/script>/g,"")}},23(t,e,n){n.d(e,{runScripts:()=>l});var r=n(12),i=n(4),o=n(24);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.getElementsByTagName("script"),r=0;r<n.length;r++){var i=n[r],o=i.getAttribute("src")||"";if(e.ignoreQueryParams){var a=o.split("?");o=a[0]}if(!e.scriptRegex&&e.ignoreProtocol&&(o=o.replace(/^https?:/,""),t=t.replace(/^https?:/,"")),e.scriptRegex&&e.scriptRegex.test(o))return i;if(e.testStartsWith&&0===o.indexOf(t))return i;if(o===t)return i}return null},u=function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null==r&&(r=8e3),null==i&&(i={}),new Promise((function(a){!0===i.once&&(e=c(t))&&(n=!0),i.once&&n?e.readyState&&!/loaded|complete/.test(e.readyState)||setTimeout((function(){a()}),1):(0,o.runScript)(t,r).then(a).catch((function(t){a(t),setTimeout((function(){console.error(t)}),1)}))}))},l=function(){for(var t,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t=n[0]instanceof Array?n[0]:n,t=f(t);var o=[],c=[],l=[];return t.forEach((function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t),n=new Promise((function(t){e.resolve=t}));e.promise=n,l.push(e.promise),t.async?o.push(e):c.push(e)})),c.reduce((function(t,e){if(e.fn)try{e.fn()}catch(t){r.wlog.error(t)}finally{e.resolve()}else e.src&&u(e.src,null,e).then(e.resolve);return t.then(e.promise)}),Promise.resolve()),setTimeout((function(){o.forEach((function(t){if(t.fn)try{t.fn()}catch(t){r.wlog.error(t)}finally{t.resolve()}else t.src&&u(t.src,null,t).then(t.resolve)}))}),1),Promise.all(l)},f=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];"string"==typeof r?e.push({src:r,async:!1}):(0,i.isObject)(r)?e.push(r):e.push({fn:r,async:!1})}return e}},24(t,e,n){n.d(e,{runScript:()=>i});var r=n(25),i=function(t,e){var n=r.TAGGED_VERSION;return new Promise((function(r,i){var o;null==e&&(e=8e3),(o=document.createElement("script")).src=t,o.async=!0,o.type="text/javascript",/https?:\/\/fast\.wistia\./.test(o.src)&&""!==n&&n.length>0&&(o.src="".concat(o.src,"@").concat(n));var a=null,s=!1,c=function(){o.onerror=o.onreadystatechange=o.onload=null,clearTimeout(a),clearTimeout(l),a=setTimeout((function(){o&&o.parentNode&&o.parentNode.removeChild(o)}),500)},u=function(){var t=o.readyState;s||t&&!/loaded|complete/.test(t)||(s=!0,setTimeout((function(){r(),c()}),1))},l=setTimeout((function(){s=!0,c(),i(new Error("timeout"))}),e);o.onerror=function(t){s=!0,c(),i(t)},o.onreadystatechange=u,o.onload=u,(document.body||document.head).appendChild(o)}))}},25(t,e,n){n.d(e,{TAGGED_VERSION:()=>s});var r=n(10),i=n(26),o=n(27),a=((0,o.appHostname)("app"),(0,o.appHostname)("fast-protected"),(0,o.appHostname)("fast")),s="",c=("undefined"!=typeof window&&r.root===window&&r.root.location&&r.root.location.protocol,function(){var t=(0,o.getSubdomainSuffixHostname)("fast");return t||null}),u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(t)return t;var e=c();return e||a},l=function(){var t=c();if(t)return t;return"fast.".concat("wistia.net")},f=(function(){for(var t=document.getElementsByTagName("script"),e=0;e<t.length;e++){var n=t[e];if(n.src){var r=new i.Url(n.src),o=/\/assets\/external\/E-v1?\.js$/.test(r.rawPath),a=r.host===u()||r.host===l()||"fast-canary.wistia.net"===r.host,s="https:"===location.protocol&&"https:"===r.protocol,c=""===r.protocol||null==r.protocol,f=s||c||"http:"===location.protocol,p=!n.readyState||/loaded|complete/.test(n.readyState);if(o&&a&&f&&p)return r}}new i.Url("".concat((0,i.proto)(),"//").concat(l(),"/E-v1.js"))}(),[].concat(["wistia.net","wistia.com"],["wistia.mx","wistia.dev","wistia.tech","wistia.am","wistia.se","wistia.io","wistia.st"]));new RegExp("(".concat(f.map((function(t){return"\\.".concat(t.replace(".","\\."))})).join("|"),")$"))},26(t,e,n){n.d(e,{Url:()=>l,proto:()=>o});var r=n(4),i=n(12),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:location.href;return/^http:\/\//.test(t)?"http:":"https:"},a=function(t){if(null==t)return t;var e;try{e=decodeURIComponent(t)}catch(n){setTimeout((function(){i.wlog.notice(n)}),50),e=t}return e},s=function(t){for(var e=t[0],n=1;n<t.length;n++)e+="[".concat(t[n],"]");return e},c=function(t){return t.match(/([\w\-_]+)/g)},u=["protocol","host","port","params","path"],l=function(t){var e=this;e.params={},e.path=[],e.host="",e.rawPath="","object"==typeof t?e.fromOptions(t):t&&e.fromRaw(t)},f=l.prototype;f.fromOptions=function(t){for(var e=0;e<u.length;e++){var n=u[e];null!=t[n]&&(this[n]=t[n])}return this},f.fromRaw=function(t){var e;return this.rawUrl=t,(e=t.match(/^((?:https?:)|(?:file:)|(?:ftp:))?\/\//))&&(this.protocol=e[1]||void 0),(e=t.match(/\/\/([^:?#/]*)/))&&(this.host=e[1]||void 0),(e=t.match(/\/\/.*?(\/[^?#$]+)/)||t.match(/(^\/[^/][^?#$]+)/))&&this.setPath(e[1]),(e=t.match(/:(\d+)/))&&(this.port=parseInt(e[1],10)),(e=t.match(/\?([^#]+)/))&&(this.rawParams=e[1],this.params=function(t){var e={};if(!t)return e;for(var n=t.split("&"),o=function(){var t=n[s].split("="),o=t[0],u=t[1];try{o=c(decodeURIComponent(o))||""}catch(t){setTimeout((function(){i.wlog.notice(t)}),50),o=""}(0,r.cast)(o);var l=(0,r.getDeep)(e,o);if(null!=l)if((0,r.isArray)(l))l.push(a(u));else{var f=[l];f.push(a(u)),(0,r.setAndPreserveUndefined)(e,o,f)}else(0,r.setAndPreserveUndefined)(e,o,a(u))},s=0;s<n.length;s++)o();return e}(this.rawParams)),(e=t.match(/#(.*)$/))&&(this.anchor=e[1]),this},f.clone=function(){return new l({protocol:this.protocol,host:this.host,port:this.port,path:(0,r.clone)(this.path),params:(0,r.clone)(this.params),anchor:this.anchor})},f.ext=function(t){if(null!=t){var e=this.ext(),n=this.path.length-1,r=new RegExp("\\.".concat(e),"g");return e&&(this.path[n]="".concat(this.path[n].replace(r,""))),this.path[n]="".concat(this.path[n],".").concat(t)}var i=this.path[this.path.length-1].match(/\.(.*)$/);return null!=i&&i[1]||null},f.isRelative=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,e=this.protocol,n=this.host;return!(null!=e&&""!==e&&e!==t.protocol||n&&n!==t.hostname)},f.toString=function(){return this.isRelative()?this.relative():this.absolute()},f.absolute=function(){var t="";null!=this.protocol&&(t=this.protocol);var e="";return null!=this.port&&(e=":".concat(this.port)),"".concat(t,"//").concat(this.host||location.host).concat(e).concat(this.relative())},f.relative=function(){var t,e="";this.path.length>0&&("string"==typeof(t=this.path)&&(t=t.split("/")),e=null==t?"":"/".concat(t.join("/")),this._hasTrailingSlash&&(e+="/"));var n,i,o="?".concat((n=this.params,i=[],(0,r.eachLeaf)(n,(function(t,e){null!=t?i.push("".concat(encodeURIComponent(s(e)),"=").concat(encodeURIComponent(t))):i.push(encodeURIComponent(s(e)))})),i.join("&")));return 1===o.length&&(o=""),"".concat(e).concat(o).concat(this.relativeAnchor())},f.authority=function(){var t=null!=this.port?":".concat(this.port):"";return"".concat(this.host).concat(t)},f.relativeProtocol=function(){var t="";return null!=this.port&&(t=":".concat(this.port)),"//".concat(this.host).concat(t).concat(this.relative())},f.relativeAnchor=function(){var t="";return null!=this.anchor&&(t="#".concat(this.anchor)),"".concat(t)},f.setPath=function(t){this.rawPath=t,this._hasTrailingSlash=/\/$/.test(this.rawPath),this.path=function(t){var e=[];if(null==t)return e;for(var n=t.split(/\/+/),r=0;r<n.length;r++){var i=n[r];null!=i&&""!==i&&e.push(i)}return e}(this.rawPath)},l.create=function(t){return new l(t)};l.create;l.parse=function(t){return new l(t)};l.parse},27(t,e,n){n.d(e,{appHostname:()=>a,getSubdomainSuffixHostname:()=>s});var r=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i,i=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i,o=/([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app",e=s(t);return e||"".concat(t,".").concat("wistia.com")},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app";if("undefined"!=typeof window&&window.location){var e=window.location.hostname,n=r.exec(e);if(n)return"".concat(t,"-cde-").concat(n[2],".").concat(n[3],".wistia.io");var a=i.exec(e);if(a)return"".concat(t,"-cde-").concat(a[2],".").concat(a[3],".claw.wistia.io");var s=o.exec(e);if(s)return"".concat(t,"-txl-").concat(s[2],".").concat(s[3],".mtl.wistia.io")}return null}},28(t,e,n){n.d(e,{seqId:()=>i});var r=n(16),i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia_",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=r.Wistia._sequenceVal||1,i="".concat(t).concat(n).concat(e);return r.Wistia._sequenceVal=n+1,i}},48(t,e,n){n.d(e,{isMouseDown:()=>l});var r=n(3),i=n(9),o=n(16),a=(0,i.cachedDetect)();if(null==o.Wistia._isMouseDown){o.Wistia._isMouseDown=!1;var s=function(t){o.Wistia._isMouseDown=!0,o.Wistia._lastMouseDownAt=Date.now(),setTimeout((function(){t.defaultPrevented&&(o.Wistia._isMouseDown=!1)}),0)},c=function(){o.Wistia._lastMouseUpAt=Date.now(),setTimeout((function(){o.Wistia._isMouseDown=!1}),0)};a.touchScreen?((0,r.elemBind)(document,"touchstart",s,!0),(0,r.elemBind)(document,"touchend",(function(){o.Wistia._lastMouseUpAt=Date.now(),setTimeout((function(){o.Wistia._isMouseDown=!1}),0)}),!0)):((0,r.elemBind)(document,"mousedown",s,!0),(0,r.elemBind)(document,"mouseup",c,!0));var u=a.windows?c:s;(0,r.elemBind)(document,"contextmenu",u,!0)}var l=function(){return null!=o.Wistia._mouseDownForceReturnVal?o.Wistia._mouseDownForceReturnVal:o.Wistia._isMouseDown}},135(t,e,n){n.d(e,{default:()=>f});var r=n(2);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function o(t,e,n){return e=s(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,n||[],s(t).constructor):e.apply(t,n))}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function u(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var l=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];return t=o(this,e,[].concat(s)),n=t,i=function(t){t.wistiaPlayerHandled=!0},(r=u(r="onMouseDown"))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(e,t),n=e,(a=[{key:"shouldComponentUpdate",value:function(t){return this.isTimeOverMe(this.props)!==this.isTimeOverMe(t)||this.props.isFocused!==t.isFocused||this.props.scale!==t.scale||this.props.chapterTime!==t.chapterTime||this.props.isVisible!==t.isVisible||this.props.focusable!==t.focusable}},{key:"render",value:function(){var t=this.props,e=t.chapter,n=t.focusable,i=t.onBlur,o=t.onClick,a=t.onFocus,s=t.onMouseEnter,c=t.onMouseLeave,u=t.setRef;return(0,r.h)("button",{"aria-label":e.title,class:"w-chapter-marker w-css-reset-button-important w-vulcan-v2-button",onBlur:i,onClick:o,onFocus:a,onMouseDown:this.onMouseDown,onMouseEnter:s,onMouseLeave:c,ref:u,style:this.chapterMarkerStyle(),tabindex:n?0:-1,type:"button"},(0,r.h)("span",{style:this.bulletStyle()},String.fromCharCode(9679)))}},{key:"bulletStyle",value:function(){return{background:"#fff",borderRadius:"50%",display:"block",height:"5px",left:"50%",position:"absolute",textIndent:"-99999em",top:"50%",transform:"translate(-50%, -50%)",width:"5px"}}},{key:"chapterMarkerStyle",value:function(){var t=this.props,e=t.chapter,n=t.duration,r=t.isVisible,i=t.scale,o=e.time/n;return{color:"#fff",cursor:"pointer",height:"100%",fontSize:"".concat(11*i,"px"),left:"".concat(100*o,"%"),lineHeight:"1em",opacity:0,pointerEvents:r?"auto":"none",position:"absolute",textAlign:"center",top:0,transform:"translateX(-50%)",transition:"opacity 170ms, transform 170ms",width:"".concat(16*i,"px")}}},{key:"isTimeOverMe",value:function(t){if(!1===t.showTime)return!1;var e=t.chapter,n=t.timeLeft,r=t.timeRight,i=16*t.scale/2,o=e.time/t.duration*t.width-i,a=o+i;return!(r<o&&n<o||r>a&&n>a)}}])&&i(n.prototype,a),s&&i(n,s),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,s}(r.Component);const f=l}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var __webpack_exports__={};(()=>{__webpack_require__.d(__webpack_exports__,{ChapterMarkers:()=>h,default:()=>d});var t=__webpack_require__(2),e=__webpack_require__(48),n=__webpack_require__(135),r=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(null,arguments)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function a(t,e,n){return e=c(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,s()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(s=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function l(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var p=function(t,e){for(var n in t)if(r(t,n)&&t[n]!==e[n])return!0;return!1},h=function(r){function s(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),l(n=a(this,s,[t]),"onFocus",(function(t){if(!(0,e.isMouseDown)()){var r=n.props,i=r.chapters,o=r.onFocus;o&&o(t),n.focusChapterMarker(i[0]),n.setState({focusable:!1,hasKeyBoardFocus:!0})}})),l(n,"onFocusOut",(function(t){n.chapterMarkersRef.contains(t.relatedTarget)||n.setState({focusable:!0,hasKeyBoardFocus:!1})})),l(n,"onKeyDown",(function(t){var e=n.props.chapters;if("ArrowRight"===t.key){var r=e[n._focusedChapterIndex+1];if(!r)return;n.focusChapterMarker(r)}if("ArrowLeft"===t.key){var i=e[n._focusedChapterIndex-1];if(!i)return;n.focusChapterMarker(i)}})),l(n,"setChapterMarkerRef",(function(t,e){n.chapterMarkerRefs[e.id]=t})),n.state={focusable:!0,hasKeyBoardFocus:!1},n.chapterMarkerRefs={},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(s,r),c=s,f=[{key:"focusChapterMarker",value:function(t){var e=this.props.chapters;this._focusedChapterIndex=e.indexOf(t),this.chapterMarkerRefs[t.id].focus()}},{key:"shouldComponentUpdate",value:function(t,e){return p(this.props,t)||p(this.state,e)}},{key:"render",value:function(){var e=this,n=this.state.focusable;return(0,t.h)("div",{"aria-label":"Chapter Markers","aria-orientation":"horizontal",class:"w-playbar__chapter-markers w-css-reset w-css-reset-tree",ref:function(t){return e.chapterMarkersRef=t},role:"toolbar",style:this.chapterMarkersFocusableWrapperStyle(),onFocus:this.onFocus,onfocusout:this.onFocusOut,onKeyDown:this.onKeyDown,tabIndex:n?"0":"-1"},(0,t.h)("div",{style:this.chapterMarkersStyle()},this.renderChapterMarkers()))}},{key:"renderChapterMarkers",value:function(){var e=this,r=this.props,o=r.focusable,a=r.chapters;if(a)return a.map((function(a){return(0,t.h)(n.default,i({},r,{timeLeft:r.timeLeft,timeRight:r.timeRight,chapter:a,chapterTime:a.time,focusable:o,isFocused:r.chapterWithFocusedMarker&&r.chapterWithFocusedMarker.id===a.id,onBlur:function(t){return e.onMouseLeaveOrBlurChapter(t,a)},onClick:function(t){return e.onClickChapter(t,a)},onFocus:function(t){return e.onMouseEnterOrFocusChapter(t,a)},onMouseEnter:function(t){return e.onMouseEnterOrFocusChapter(t,a)},onMouseLeave:function(t){return e.onMouseLeaveOrBlurChapter(t,a)},setRef:function(t){return e.setChapterMarkerRef(t,a)}}))}))}},{key:"chapterMarkersFocusableWrapperStyle",value:function(){return{boxShadow:this.state.hasKeyBoardFocus?"0 0 0 2px var(--wistia-player-icon-color, #fff) inset":"none",height:"100%",left:0,pointerEvents:"none",position:"absolute",top:0,width:"100%"}}},{key:"chapterMarkersStyle",value:function(){return{height:"100%",left:0,pointerEvents:"none",position:"absolute",marginLeft:this.props.paddingLeft,marginRight:this.props.paddingRight,top:0,width:"calc(100% - ".concat(this.props.paddingLeft+this.props.paddingRight,"px)")}}},{key:"onClickChapter",value:function(t,e){this.props.onClickChapter&&this.props.onClickChapter(t,e)}},{key:"onMouseEnterOrFocusChapter",value:function(t,e){this.props.onMouseEnterOrFocusChapter&&this.props.onMouseEnterOrFocusChapter(t,e)}},{key:"onMouseLeaveOrBlurChapter",value:function(t,e){this.props.onMouseLeaveOrBlurChapter&&this.props.onMouseLeaveOrBlurChapter(t,e)}}],f&&o(c.prototype,f),h&&o(c,h),Object.defineProperty(c,"prototype",{writable:!1}),c;var c,f,h}(t.Component);const d=h})();const __webpack_exports__ChapterMarkers=__webpack_exports__.ChapterMarkers,__webpack_exports__default=__webpack_exports__.default;export{__webpack_exports__ChapterMarkers as ChapterMarkers,__webpack_exports__default as default};
//# debugId=39976f46-9b21-431a-9518-66c2efc7c6c9
//# sourceMappingURL=ChapterMarkers.js.map