var __webpack_modules__={2(t){t.exports=window.Wistia.Preact},3(t,e,n){n.d(e,{elemAnimate:()=>y,elemAppend:()=>d,elemBind:()=>b,elemFromObject:()=>f,elemRemove:()=>h,elemStyle:()=>p,elemUnbind:()=>w});var r,i=n(4),o=(n(6),n(8),n(9)),a=n(12),c=(n(21),n(22),n(28)),s=n(16),l=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},u=(s.Wistia,(0,o.cachedDetect)()),f=function(t){if((0,i.isArray)(t)){for(var e=[],n=0;n<t.length;n++)e.push(f(t[n]));return e}var r=t.tagName||"div",o=t.childNodes||[];(0,i.isArray)(o)||(o=[o]);var a=document.createElement(r);for(var c in t)if(l(t,c)){var s=t[c];if("childNodes"!==c&&"tagName"!==c&&"ref"!==c){var u=c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();if("style"===c)if((0,i.isObject)(s))for(var h in s)a.style[h]=s[h];else for(var p=s.split(";"),v=0;v<p.length;v++){var m=p[v].split(/\s*:\s*/),g=m[0],y=m[1];g&&y&&(a.style[g]=y)}else if("events"===c)for(var w in s){var _=s[w];b(a,w,_)}else"className"===c||"class"===c?a.className=s:"innerHTML"===c?a.innerHTML=s:"innerText"===c?a.innerText=s:null!=s&&"function"==typeof s.toString&&a.setAttribute(u,s.toString())}}for(var O=0;O<o.length;O++){var T=o[O];if((0,i.isObject)(T)){var S=f(T);d(a,S)}else{var E=document.createTextNode(T.toString());d(a,E)}}return"function"==typeof t.ref&&t.ref(a),a},d=function(t,e){if((0,i.isArray)(e))for(var n=0;n<e.length;n++)d(t,e[n]);else t.tagName.includes("-")?t.shadowRoot.appendChild(e,{wistiaGridCaller:!0}):t.appendChild(e,{wistiaGridCaller:!0})},h=function(t){var e;if((0,i.isArray)(t)||window.NodeList&&t instanceof NodeList)for(var n=0;n<t.length;n++)h(t[n]);else null==t||1!==t.nodeType&&3!==t.nodeType||!(e=t.parentNode)||(e.removeChild(t),t=null)},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];if((0,i.isArray)(t)||window.NodeList&&t instanceof NodeList){for(var o=[],c=0;c<t.length;c++){var s=t[c];1===s.nodeType&&o.push(p.apply(void 0,[s].concat(n)))}return o}if(2===n.length){var l=n[0],u=n[1];t.style[l]=u}else if(1===n.length)if("string"==typeof n[0]){var f=n[0];try{return t.currentStyle?t.currentStyle[f]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(f):null}catch(t){a.wlog.notice(t)}}else{var d=g(n[0]);for(var h in d){var v=d[h];t.style[h]=v}}else a.wlog.apply(void 0,["Unexpected args",t].concat(n))},v={borderImage:!0,mixBlendMode:!0,transform:!0,transition:!0,transitionDuration:!0},m=["webkit","moz","o","ms"],g=function(t){if(u.chrome)return t;var e={};for(var n in t){var r=t[n];if(e[n]=r,v[n])for(var i=m,o=0;o<i.length;o++){var a=i[o]+n.charAt(0).toUpperCase()+n.slice(1);n[a]||(e[a]=r)}}return e},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=(0,i.merge)({time:400,easing:"ease"},n);var r=function(t,e,n){var r=[];for(var i in t)r.push("".concat(i," ").concat(e,"ms ").concat(n));return r.join(",")}(e,n.time,n.easing);p(t,{transition:r}),S((function(){p(t,e),setTimeout((function(){p(t,{transition:""}),"function"==typeof n.callback&&n.callback()}),n.time)}))},b=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+T(),r.pageY=r.clientY+O()),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 c=n.apply(r.target,[r].concat(o));return c===w&&w(t,e,n),c};s.Wistia._elemBind=s.Wistia._elemBind||{};var o=_(t,e,n);return s.Wistia._elemBind[o]=i,i.elem=t,i.event=e,t.addEventListener(e,i,r),function(){w(t,e,n,r)}},w=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=_(t,e,n),o=s.Wistia._elemBind[i];return o&&(t.removeEventListener(e,o,r),o.elem=null,o.event=null),delete s.Wistia._elemBind[i]}},_=function(t,e,n){return t._wistiaElemId=t._wistiaElemId||(0,c.seqId)("wistia_elem_"),n._wistiaBindId=n._wistiaBindId||(0,c.seqId)("wistia_bind_"),"".concat(t._wistiaElemId,".").concat(e,".").concat(n._wistiaBindId)},O=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)},T=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)},S=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)})(t)};["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((function(t){b(document,t,(function(t){r=t,Date.now(),setTimeout((function(){r===t&&(r=void 0)}),0)}),!u.passiveSupported||{capture:!0,passive:!0})}))},4(t,e,n){n.d(e,{cast:()=>v,clone:()=>l,eachLeaf:()=>j,getDeep:()=>u,isArray:()=>b,isEmpty:()=>E,isObject:()=>_,merge:()=>o,setAndPreserveUndefined:()=>d,setDeep:()=>f,unsetDeep:()=>p});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]:c,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;if(b(e)){b(t)||(t=[]);for(var o=0;o<e.length;o++){var l=e[o];null==t[o]&&null!=l&&(b(l)?t[o]=[]:_(l)&&(t[o]={}));var u=a(t[o],l,n);i(e,o,u)?delete t[o]:t[o]=u}return n(t)}if(_(e)){for(var f in e)if(r(e,f)&&(r(t,f)||null==t[f])){var d=e[f];b(d)?(b(t[f])||(t[f]=[]),a(t[f],d,n),t[f]=n(t[f])):_(d)?(_(t[f])||(t[f]={}),a(t[f],d,n),t[f]=n(t[f])):null==t?(t={},i(e,f,d)||(t[f]=n(d))):i(e,f,d)?delete t[f]:t[f]=n(d)}return n(t)}return n(e)},c=function(t){return t},s=function(t,e,n){return null==n},l=function(t,e){return b(t)?a([],t,e):a({},t,e)},u=function(t,e,n){e="string"==typeof e?e.split("."):i.call(e);for(var o,a=t;null!=t&&e.length;){var c=e.shift();void 0!==t[c]&&(_(t[c])||b(t[c]))||!n||(0===c?(t=a[o]=[])[c]={}:t[c]={}),a=t,o=c,t=r(t,c)?t[c]:void 0}return t},f=function(t,e,n){return h(t,e,n,!0)},d=function(t,e,n){return h(t,e,n,!1)},h=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=u(t,e,!0))&&(_(t)||b(t))&&null!=o&&(r&&null==n?delete t[o]:t[o]=n)},p=function(t,e){return f(t,e)},v=function(t){return null==t?t:_(t)||b(t)?g(t):m("".concat(t),t)},m=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},g=function(t){return a(t,t,(function(t){return"string"==typeof t?m(t):t}),(function(){return!1}))},y=/^\s*function Array()/,b=function(t){return null!=t&&t.push&&y.test(t.constructor)},w=/^\s*function Object()/,_=function(t){return null!=t&&"object"==typeof t&&w.test(t.constructor)},O=/^\s*function RegExp()/,T=/^string|number|boolean|function$/i,S=function(t){return null!=t&&(T.test(typeof t)||function(t){return null!=t&&O.test(t.constructor)}(t))},E=function(t){return null==t||(!(!b(t)||t.length)||!!_(t)&&!Object.keys(t).length)},k=function(t,e,n,o,a){if(null==n&&(n=[]),S(t))e(t,n,o,a);else if(_(t)||b(t)){for(var c in e(t,n,o,a),t)if(r(t,c)){var s=i.call(n);s.push(c),k(t[c],e,s,t,c)}}else e(t,n,o,a)},j=function(t,e){k(t,(function(t,n,r,i){b(t)||_(t)||e(t,n,r,i)}))}},5(t,e,n){n.d(e,{assign:()=>i});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=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];if(Object.assign)return Object.assign.apply(Object,[t].concat(n));for(var i=0;i<n.length;i++)o(t,n[i]);return t},o=function(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return t}},6(t,e,n){n.d(e,{onDocReady:()=>o});var r=n(7),i=function(){return/loaded|complete/.test(document.readyState)},o=function(){var t,e;if(arguments.length>1?(t=arguments[0],e=arguments[1]):(t=1e4,e=arguments[0]),i())e();else if(top===self&&document.documentElement.doScroll){(0,r.poll)((function(){try{return document.documentElement.doScroll("left"),!0}catch(t){return!1}}),e,50,t,e)}else{var n=function(){i()&&(clearTimeout(a),o(),e())},o=function(){document.removeEventListener("DOMContentLoaded",n,!1),document.removeEventListener("readystatechange",n,!1),window.removeEventListener("load",n,!1)},a=setTimeout((function(){o(),e()}),t);document.addEventListener("DOMContentLoaded",n,!1),document.addEventListener("readystatechange",n,!1),window.addEventListener("load",n,!1)}}},7(t,e,n){n.d(e,{poll:()=>r});var r=function(t,e,n,r,i){var o=null,a=(new Date).getTime(),c=function(){(new Date).getTime()-a>r?"function"==typeof i&&i():t()?e():(clearTimeout(o),o=setTimeout(c,n))};o=setTimeout(c,1)}},8(t,e,n){n.d(e,{pageLoaded:()=>r});var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window;if(/loaded|complete/.test(n.readyState))setTimeout(t,0);else{var i=function(){r.removeEventListener("load",o,!1)},o=function(){clearTimeout(a),i(),t()};r.addEventListener("load",o,!1);var a=setTimeout((function(){i(),t()}),e)}}},9(t,e,n){n.d(e,{cachedDetect:()=>F});var r,i=n(10),o=n(11),a=navigator.userAgent,c=null,s=/(webkit)[ /]([^\s]+)/i,l=/OPR\/([^\s]+)/i,u=/(edge)\/(\d+(?:\.\d+)?)/i,f=/(mozilla)(?:.*? rv:([^\s)]+))?/i,d=/(android) ([^;]+)/i,h=/(iphone)/i,p=/(Windows Phone OS (\d+(?:\.\d+)?))/,v=/OS (\d+)_(\d+)/i,m=/(firefox)/i,g=/Mobile VR/i,y=/Version\/([^\s]+)/i,b=function(){return(_()[1]||"webkit").toLowerCase()},w=function(){return _()[2]},_=function(){var t;return(t=a.match(u))||(t=a.match(s))||(t=a.match(l))?t:t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=a.match(f))||[]},O=function(){var t=a.match(d);return null!=t&&{version:t[2]}},T=function(){return h.test(a)},S=function(){return W()>0||O()||k()},E=function(){try{var t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!S()},k=function(){return/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1},j=function(){return s.test(a)&&!/chrome/i.test(a)&&!k()&&!T()},P=function(){return!(!/Chrome/.test(a)||!/Google Inc/.test(navigator.vendor))&&{version:A()}},A=function(){var t=a.match(/\bChrome\/([^\s]+)/);return t&&t[1]},W=function(){var t=a.match(v),e=a.match(y);return null!=t?parseFloat("".concat(t[1],".").concat(t[2])):null!=e&&e[1]&&k()?parseFloat(e[1]):0},x=function(){return u.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},M=function(){try{return"localStorage"in i.root&&null!=i.root.localStorage}catch(t){return!1}},N=["WebKit","Moz","O","Ms",""],D=function(){for(var t=0;t<N.length;t++){var e="".concat(N[t],"MutationObserver");if(i.root[e])return e}return null},I=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},R=function(){var t=P(),e=C(),n=x(),r=l.test(a),i=t&&w()>=32,o=t&&w()>=75&&O(),c=e&&w()>=65,s=e&&w()>=67&&O(),u=n&&w()>=18,f=r&&w()>=19;return i||o||c||s||u||f},F=function(){return c||(c=B())},B=function(){var t,e,n,r,c,s,l,u,f,d,h,v,m,y={browser:{version:w()},edge:x(),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===(c=r.isTypeSupported)||void 0===c?void 0:c.call(r,'video/mp4; codecs="hvc1.2.4.L153.B0"'))&&void 0!==n&&n,av1:null!==(s=null===(l=window.MediaSource)||void 0===l||null===(u=l.isTypeSupported)||void 0===u?void 0:u.call(l,'video/mp4; codecs="av01.0.08M.10.0.110.09.16.09"'))&&void 0!==s&&s,vp92:null!==(f=null===(d=window.MediaSource)||void 0===d||null===(h=d.isTypeSupported)||void 0===h?void 0:h.call(d,'video/mp4; codecs="vp09.02.10.10.01.09.16.09"'))&&void 0!==f&&f},android:O(),oldandroid:O()&&parseFloat(O().version)<4.1,iphone:T(),ipad:k(),safari:j(),chrome:P(),winphone:{version:p.test(a)[2]},ios:{version:W()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=i.root.devicePixelRatio&&i.root.devicePixelRatio>1,hoverIsNatural:E(),touchScreen:S(),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:(T()||k()||j())&&L().nativeHls,localstorage:M(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:(t=/webkit|mozilla|edge/.test(b()),!!(T()||k()||O())||Boolean(t&&L().h264&&Object.defineProperties)),mutationObserver:D(),callingPlayRequiresEventContext:W()>0||O()||j(),passiveSupported:I(),webp:R(),performanceMeasure:(0,o.hasPerformanceMeasureSupport)()};return y.browser[b()]=!0,y}},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 c={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},s=function(){},l=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},u=l.prototype;u.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()},u.setLevel=function(t){var e=this.logFunc(3);null!=c[t]?(this.ctx.level=c[t],e('Log level set to "'.concat(t,'" (').concat(c[t],")"))):e('Unknown log level "'.concat(t,'"'))},u.setGrep=function(t){this.ctx.grep=t},u.setGrepv=function(t){this.ctx.grepv=t},u.first1000LogLines=function(){return this.ctx.first1000LogLines},u.last1000LogLines=function(){return this.ctx.last1000LogLines},u.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),c=!this.ctx.grepv||!o.match(this.ctx.grepv);e=a&&c}else e=!0;return e},u.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},u.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},u.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))},u.log=function(t,e){var n,i=t<=this.ctx.level,a=t<4,c=(i||a)&&this.matchedGrep(e);if(0===t&&(0,r.globalTrigger)("problem",{type:"error-logged",data:{messages:e}}),c&&(i||a)&&(n=this.now()),a&&c){var s=this.messagesToLogLine(t,n,e);this.persistLine(s)}if(i&&c){var l,u=this.logFunc(t);1===e.length&&(l=e[0])instanceof Error?(u(l.message),l.stack&&u(l.stack)):u.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)},d=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)},p=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)};u.logFunc=function(t){return null==t&&(t=this.level),console?(0===t?e=f:1===t?e=d:3===t?e=h:4===t&&(e=p),e||(e=v),"function"!=typeof e&&(this.noConsoleLog=!0,e=s),e):s;var e},u.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},u.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 l(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=c(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=c(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 s=this.embedElement||this.container;if(Object.keys(o.convertedEventNames).includes(t)&&s){var l=c(s);return void 0===i.Wistia.EventShepherdManager[l]&&(i.Wistia.EventShepherdManager[l]=new o.EventShepherd(s)),i.Wistia.EventShepherdManager[l].addListener(t,s,e),function(){i.Wistia.EventShepherdManager[l].removeListener(t,s,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=c(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)}},c=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:()=>s,bindNamed:()=>p,bindify:()=>y,trigger:()=>f,unbind:()=>l,unbindAllInNamespace:()=>m,unbindNamed:()=>v});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 c=Array.prototype.slice,s=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},u=function(t,e){return this.unbind(t,e),this.bind(t,e),{event:t,fn:e}},f=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&&d.apply(this,["all",t].concat(n)),d.apply(this,[t].concat(n))},d=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 l=0;l<e.length;l++){var u=e[l];this.unbind(u.event,u.fn)}return this},h=function(t,e){null==t._namedBindings&&(t._namedBindings={}),null==t._namedBindings[e]&&(t._namedBindings[e]={})},p=function(t,e,n,r){return this.unbindNamed(t,e),function(t,e,n,r,i){h(t,e),t._namedBindings[e][n]={event:r,fn:i}}(this,t,e,n,r),this.bind(n,r),function(){this.unbindNamed(t,e)}},v=function(t,e){h(this,t);var n=function(t,e,n){return h(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],g(o[t])&&delete o[t],this},m=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)},g=function(t){for(var e in t)if(i(t,e))return!1;return!0},y=function(t){return t.bind=s,t.unbind=l,t.on=s,t.off=l,t.rebind=u,t.trigger=f,t.bindNamed=p,t.unbindNamed=v,t.unbindAllInNamespace=m,t};y(function(){}.prototype)},16(t,e,n){n.d(e,{Wistia:()=>$});var r,i,o,a,c,s,l,u,f,d,h,p,v,m,g,y,b,w,_,O,T,S,E,k,j,P,A,W,x,C,L,M,N,D,I,R,F,B=n(2),U=n(17),H=n(18),G=n(10);function z(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 q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){V(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function V(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=G.root.Wistia)&&void 0!==r||(G.root.Wistia={}),null!==(o=(i=G.root.Wistia).Preact)&&void 0!==o||(i.Preact=q(q({},B),{},{hooks:U,compat:H})),null!==(c=(a=G.root.Wistia)._destructors)&&void 0!==c||(a._destructors={}),null!==(l=(s=G.root.Wistia)._initializers)&&void 0!==l||(s._initializers={}),null!==(f=(u=G.root.Wistia)._remoteData)&&void 0!==f||(u._remoteData=new Map),null!==(h=(d=G.root.Wistia).api)&&void 0!==h||(d.api=function(){return console.error("Accessed Wistia.api() before it was initialized"),null}),null!==(v=(p=G.root.Wistia).defineControl)&&void 0!==v||(p.defineControl=function(){return console.error("Accessed Wistia.defineControl() before it was initialized"),null}),null!==(g=(m=G.root.Wistia).EventShepherdManager)&&void 0!==g||(m.EventShepherdManager={}),null!==(b=(y=G.root.Wistia).mixin)&&void 0!==b||(y.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=G.root.Wistia).playlistMethods)&&void 0!==_||(w.playlistMethods=new Map),null!==(T=(O=G.root.Wistia).PublicApi)&&void 0!==T||(O.PublicApi=null),null!==(E=(S=G.root.Wistia).uncacheMedia)&&void 0!==E||(S.uncacheMedia=function(){return console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null}),null!==(j=(k=G.root.Wistia).VisitorKey)&&void 0!==j||(k.VisitorKey=null),null!==(A=(P=G.root.Wistia).visitorKey)&&void 0!==A||(P.visitorKey=null),null!==(x=(W=G.root.Wistia).wistia)&&void 0!==x||(W.wistia=void 0),null!==(L=(C=G.root.Wistia)._liveStreamEventDataPromises)&&void 0!==L||(C._liveStreamEventDataPromises={}),null!==(N=(M=G.root.Wistia)._mediaDataPromises)&&void 0!==N||(M._mediaDataPromises={}),null!==(I=(D=G.root.Wistia)._liveStreamPollingPromises)&&void 0!==I||(D._liveStreamPollingPromises={}),null!==(F=(R=G.root.Wistia).first)&&void 0!==F||(R.first=function(){var t;return null!==(t=G.root.Wistia.api())&&void 0!==t?t:document.querySelector("wistia-player")});var $=G.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:()=>c,convertedEventNames:()=>o});var o={mutechange:n(20).MUTE_CHANGE_EVENT},a={mutechange:function(t){return t.isMuted}},c=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,c,s=null!==(r=o[t])&&void 0!==r?r:t;null!==(c=(i=this.convertedEventsMap)[s])&&void 0!==c||(i[s]=[]);var l=function(e){if(a[t]){var r=a[t](e.detail);n(r)}else n()};this.convertedEventsMap[s].push({givenCallback:n,eventListenerCallback:l}),e.addEventListener(s,l)}},{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,c=[];n?(e.removeEventListener(a,n),this.convertedEventsMap[a]&&(this.convertedEventsMap[a].forEach((function(t,r){t.givenCallback===n&&(c.push(r),e.removeEventListener(a,t.eventListenerCallback))})),c.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,c=document.documentElement,s=t.getBoundingClientRect(),l=c.clientTop||r.clientTop||0,u=c.clientLeft||r.clientLeft||0;e=o&&null!=o.pageYOffset?o.pageYOffset:i()&&c&&null!=c.scrollTop?c.scrollTop:r.scrollTop,n=o&&null!=o.pageXOffset?o.pageXOffset:i()&&c&&null!=c.scrollLeft?c.scrollLeft:r.scrollLeft;var f=a(t);return{height:s.height*f,top:s.top*f+e-l,left:s.left*f+n-u,width:s.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:()=>u});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 c(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 s=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},l=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=s(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)}))}))},u=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=[],s=[],u=[];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){c(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,u.push(e.promise),t.async?o.push(e):s.push(e)})),s.reduce((function(t,e){if(e.fn)try{e.fn()}catch(t){r.wlog.error(t)}finally{e.resolve()}else e.src&&l(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&&l(t.src,null,t).then(t.resolve)}))}),1),Promise.all(u)},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,c=!1,s=function(){o.onerror=o.onreadystatechange=o.onload=null,clearTimeout(a),clearTimeout(u),a=setTimeout((function(){o&&o.parentNode&&o.parentNode.removeChild(o)}),500)},l=function(){var t=o.readyState;c||t&&!/loaded|complete/.test(t)||(c=!0,setTimeout((function(){r(),s()}),1))},u=setTimeout((function(){c=!0,s(),i(new Error("timeout"))}),e);o.onerror=function(t){c=!0,s(),i(t)},o.onreadystatechange=l,o.onload=l,(document.body||document.head).appendChild(o)}))}},25(t,e,n){n.d(e,{CURRENT_SHA:()=>s,TAGGED_VERSION:()=>c,eV1HostWithPort:()=>p,eV1Protocol:()=>v,metricsHost:()=>m});var r=n(10),i=n(26),o=n(27),a=((0,o.appHostname)("app"),(0,o.appHostname)("fast-protected"),(0,o.appHostname)("fast")),c="",s="42bff6ad8f1ffa57c771b8dc926346993bfb324f",l=("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=l();return e||a},f=function(){var t=l();if(t)return t;return"fast.".concat("wistia.net")},d=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===f()||"fast-canary.wistia.net"===r.host,c="https:"===location.protocol&&"https:"===r.protocol,s=""===r.protocol||null==r.protocol,l=c||s||"http:"===location.protocol,d=!n.readyState||/loaded|complete/.test(n.readyState);if(o&&a&&l&&d)return r}}return new i.Url("".concat((0,i.proto)(),"//").concat(f(),"/E-v1.js"))}(),h=function(){return d.host},p=function(){return d.port?"".concat(h(),":").concat(d.port):h()},v=function(){return d.protocol},m=function(){return"pipedream.".concat("wistia.com")},g=[].concat(["wistia.net","wistia.com"],["wistia.mx","wistia.dev","wistia.tech","wistia.am","wistia.se","wistia.io","wistia.st"]);new RegExp("(".concat(g.map((function(t){return"\\.".concat(t.replace(".","\\."))})).join("|"),")$"))},26(t,e,n){n.d(e,{Url:()=>u,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},c=function(t){for(var e=t[0],n=1;n<t.length;n++)e+="[".concat(t[n],"]");return e},s=function(t){return t.match(/([\w\-_]+)/g)},l=["protocol","host","port","params","path"],u=function(t){var e=this;e.params={},e.path=[],e.host="",e.rawPath="","object"==typeof t?e.fromOptions(t):t&&e.fromRaw(t)},f=u.prototype;f.fromOptions=function(t){for(var e=0;e<l.length;e++){var n=l[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[c].split("="),o=t[0],l=t[1];try{o=s(decodeURIComponent(o))||""}catch(t){setTimeout((function(){i.wlog.notice(t)}),50),o=""}(0,r.cast)(o);var u=(0,r.getDeep)(e,o);if(null!=u)if((0,r.isArray)(u))u.push(a(l));else{var f=[u];f.push(a(l)),(0,r.setAndPreserveUndefined)(e,o,f)}else(0,r.setAndPreserveUndefined)(e,o,a(l))},c=0;c<n.length;c++)o();return e}(this.rawParams)),(e=t.match(/#(.*)$/))&&(this.anchor=e[1]),this},f.clone=function(){return new u({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(c(e)),"=").concat(encodeURIComponent(t))):i.push(encodeURIComponent(c(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)},u.create=function(t){return new u(t)};u.create;u.parse=function(t){return new u(t)};u.parse},27(t,e,n){n.d(e,{appHostname:()=>a,getSubdomainSuffixHostname:()=>c});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=c(t);return e||"".concat(t,".").concat("wistia.com")},c=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 c=o.exec(e);if(c)return"".concat(t,"-txl-").concat(c[2],".").concat(c[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}},30(t,e,n){n.d(e,{interFontFamily:()=>r});var r="WistiaPlayerInter, Helvetica, Sans-Serif"},36(t,e,n){n.d(e,{Color:()=>h,addHashToHex:()=>p});var r=n(37),i=n(38);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,a(r.key),r)}}function a(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 c=/^#?([0-9a-f]{3,4}|[0-9a-f]{6,8})$/i,s=/^rgba?\((\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?)(?:,\s*([01]?\.?\d*))?\)$/,l=/^\d+(\.\d+)*%$/,u=/([0-9a-f])/gi,f=function(t){return l.test(t)?2.55*parseFloat(t):t},d=function(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t},h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e instanceof t?(this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a):e?this.parse(e):(this.r=this.g=this.b=0,this.a=1)}return e=t,(n=[{key:"parse",value:function(t){var e=!1;if(Array.isArray(t)){var n;this.r=t[0],this.g=t[1],this.b=t[2],this.a=null!==(n=t[3])&&void 0!==n?n:1,e=!0}else{var r=String(t).replace(/\s+/g,"");if(c.test(r)){var i=r.replace(/^#/,"");3!==i.length&&4!==i.length||(i=i.replace(u,"$1$1")),this.r=parseInt(i.substr(0,2),16),this.g=parseInt(i.substr(2,2),16),this.b=parseInt(i.substr(4,2),16),8===i.length?this.a=parseInt(i.substr(6,2),16)/255:this.a=1,e=!0}else if(s.test(r)){var o=r.match(s);this.r=parseFloat(f(o[1])),this.g=parseFloat(f(o[2])),this.b=parseFloat(f(o[3])),o[4]?this.a=parseFloat(o[4]):this.a=1,e=!0}}return(!e||isNaN(this.r)||isNaN(this.g)||isNaN(this.b)||isNaN(this.a)||this.r<0||this.g<0||this.b<0||this.a<0)&&(this.r=41,this.g=73,this.b=229,this.a=1,console.error("An invalid color was provided, ".concat(t.toString(),", using default color instead."))),this}},{key:"clone",value:function(){return new t(this)}},{key:"_hslFromRgb",value:function(){var t=(0,i.rgbToHsl)([this.r,this.g,this.b]),e=t.hue,n=t.saturation,r=t.lightness;return this._h=e,this._s=n,this._l=r,this}},{key:"_rgbFromHsl",value:function(){var t=this._h/360,e=this._s/100,n=this._l/100,r=n<.5?n*(1+e):n+e-n*e,i=2*n-r;return this.r=255*d(i,r,t+1/3),this.g=255*d(i,r,t),this.b=255*d(i,r,t-1/3),this}},{key:"blendChannel",value:function(t,e,n,r){return r?(this[t]=Math.sqrt(Math.pow(this[t],2)*(1-n)+Math.pow(e,2)*n),this):(this[t]=n*e+(1-n)*this[t],this)}},{key:"blend",value:function(e,n,r){return e=new t(e),this.blendChannel("r",e.r,n,r),this.blendChannel("g",e.g,n,r),this.blendChannel("b",e.b,n,r),this}},{key:"getContrastRatio",value:function(e){return Number.parseFloat((0,i.getContrast)(this.toHexWithHash(),new t(e).toHexWithHash()).toFixed(3))}},{key:"hasAccessibleContrast",value:function(t,e){return this.getContrastRatio(t)>=i.colorContrastRatiosByShape[e]}},{key:"hue",value:function(){return this._hslFromRgb(),this._h}},{key:"lightenChannel",value:function(t,e){return this[t]+=e,this[t]<0?this[t]=0:this[t]>255&&(this[t]=255),this}},{key:"lighten",value:function(t){return this.looksLikePercent(t)?this.lightness(this.lightness()+parseFloat(t)):(this.lightenChannel("r",t),this.lightenChannel("g",t),this.lightenChannel("b",t)),this}},{key:"darken",value:function(t){return"string"==typeof t?this.lighten("-".concat(t)):this.lighten(-t)}},{key:"looksLikePercent",value:function(t){return/^-?\d+(\.\d+)?%$/.test(t)}},{key:"lightness",value:function(t){return this._hslFromRgb(),null!=t?(this._l=Math.max(0,Math.min(100,t)),this._rgbFromHsl(),this):this._l}},{key:"saturation",value:function(t){return this._hslFromRgb(),null!=t?(this._s=Math.max(0,Math.min(100,t)),this._rgbFromHsl(),this):this._s}},{key:"setHue",value:function(t){if(this._hslFromRgb(),null!=t)return this._h=Math.max(0,Math.min(360,t)),this._rgbFromHsl(),this}},{key:"shade",value:function(t,e){return this.blend("#000000",t,e)}},{key:"grayLevel",value:function(){return(.299*this.r+.587*this.g+.114*this.b)/255}},{key:"tint",value:function(t,e){return this.blend("#ffffff",t,e)}},{key:"whiteLevel",value:function(){return Math.min(Math.min(this.r,this.g),this.b)}},{key:"getRelativeLuminance",value:function(){var t=function(t){var e=.003921569*t;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)},e=t(this.r),n=t(this.g),r=t(this.b);return Math.min(.2126*e+.7152*n+.0722*r,1)}},{key:"isDark",value:function(t){return t?this.getRelativeLuminance()<.15:this.grayLevel()<=.4}},{key:"isLight",value:function(t){return t?this.getRelativeLuminance()>=.8:this.grayLevel()>.4}},{key:"isGrayscale",value:function(){return this.r===this.g&&this.g===this.b}},{key:"distanceFrom",value:function(t){return Math.sqrt(Math.pow(this.r-t.r,2)+Math.pow(this.g-t.g,2)+Math.pow(this.b-t.b,2))}},{key:"channelDominance",value:function(){var t=this;return["r","g","b"].sort((function(e,n){return t[n]-t[e]}))}},{key:"alpha",value:function(t){return null!=t?(this.a=t,this):this.a}},{key:"red",value:function(t){return null!=t?(this.r=t,this):this.r}},{key:"green",value:function(t){return null!=t?(this.g=t,this):this.g}},{key:"blue",value:function(t){return null!=t?(this.b=t,this):this.b}},{key:"toHex",value:function(){var t=Math.round(this.r).toString(16),e=Math.round(this.g).toString(16),n=Math.round(this.b).toString(16);return 1===t.length&&(t="0".concat(t)),1===e.length&&(e="0".concat(e)),1===n.length&&(n="0".concat(n)),"".concat(t).concat(e).concat(n)}},{key:"toHexWithAlpha",value:function(){var t=Math.round(255*this.a).toString(16);return 1===t.length&&(t="0".concat(t)),"".concat(t).concat(this.toHex())}},{key:"toHexWithHash",value:function(){return"#".concat(this.toHex())}},{key:"toRgb",value:function(){return"rgb(".concat(Math.round(this.r),",").concat(Math.round(this.g),",").concat(Math.round(this.b),")")}},{key:"toRgba",value:function(){return"rgba(".concat(Math.round(this.r),",").concat(Math.round(this.g),",").concat(Math.round(this.b),",").concat(this.a,")")}},{key:"toRgbaOrHex",value:function(){return this.toRgba()}},{key:"toPercent",value:function(){return"rgba(".concat(this.r/255*100,"%,").concat(this.g/255*100,"%,").concat(this.b/255*100,"%,").concat(this.a,")")}},{key:"toIeGradient",value:function(){return"progid:DXImageTransform.Microsoft.gradient(startColorStr='#".concat(this.toHexWithAlpha(),"', endColorStr='#").concat(this.toHexWithAlpha(),"')")}},{key:"toString",value:function(){return this.toPercent()}}])&&o(e.prototype,n),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r}(),p=function(t){if(!(0,r.isNil)(t))return"#"===t.charAt(0)?t:"#".concat(t)}},37(t,e,n){n.d(e,{isFunction:()=>f,isNil:()=>o,isNonEmptyRecord:()=>u,isNonEmptyString:()=>s});Number.NaN;var r=t=>null===t,i=t=>void 0===t,o=t=>r(t)||i(t),a=t=>!o(t),c=t=>"string"==typeof t,s=t=>c(t)&&!(t=>c(t)&&""===t)(t),l=t=>a(t)&&"object"==typeof t&&!(t instanceof Array),u=t=>l(t)&&Object.keys(t).length>0,f=t=>a(t)&&"function"==typeof t},38(t,e,n){n.d(e,{colorContrastRatiosByShape:()=>o,getContrast:()=>c,rgbToHsl:()=>a});var r=n(37),i=n(36);n(39);var o={nonText:3,largeText:3,paragraphText:4.5,smallText:5.5,backgroundColorWhereNonTextHitAreaContentsHaveProperContrast:2},a=function(t){var e=t;if(t instanceof i.Color){if((0,r.isNil)(t.r)||(0,r.isNil)(t.g)||(0,r.isNil)(t.b))throw new Error("Color does not contain required RGB values");e=[t.r,t.g,t.b]}else if("string"==typeof t){var n=new i.Color(t);if((0,r.isNil)(n.r)||(0,r.isNil)(n.g)||(0,r.isNil)(n.b))throw new Error("Color does not contain required RGB values");e=[n.r,n.g,n.b]}var o=e[0]/255,a=e[1]/255,c=e[2]/255,s=Math.max(o,a,c),l=Math.min(o,a,c),u=0,f=0,d=(s+l)/2;s===l&&(u=0,f=0);var h=s-l;return 0===h?{hue:u,saturation:f,lightness:100*o}:(u=s===o?(a-c)/h+(a<c?6:0):s===a?(c-o)/h+2:(o-a)/h+4,{hue:360*(u/=6),saturation:100*(f=d>.5?h/(2-s-l):h/(s+l)),lightness:100*d})},c=function(t,e){var n=new i.Color(t),r=new i.Color(e),o=n.getRelativeLuminance(),a=r.getRelativeLuminance(),c=o>a?(o+.05)/(a+.05):(a+.05)/(o+.05);return Number.parseFloat(c.toFixed(3))}},39(t,e,n){n.d(e,{reportError:()=>v});var r=n(37),i=n(40),o=n(16),a=n(27),c=n(25),s=n(47);function l(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 u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){f(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function f(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 d=!1,h=[],p=function(){if(!0===(0,i.isVisitorTrackingEnabled)()&&!window.Sentry&&!o.Wistia.isSentryInitialized&&!d){d=!0;var t=document.createElement("script");t.src="https://browser.sentry-cdn.com/9.6.1/bundle.min.js",t.crossOrigin="anonymous",t.integrity="sha384-kbRmCeIl7Uxr+vT9YhSAdguCdd4L5QPRj7jzQTanorUVVlw/Y5X9vtzVyOEHLfpH",t.onload=function(){return function(){if(!((0,r.isNil)(window.Sentry)||(0,r.isNil)(window.Sentry.BrowserClient)||(0,r.isNil)(window.Sentry.makeFetchTransport)||(0,r.isNil)(window.Sentry.defaultStackParser)||(0,r.isNil)(window.Sentry.Scope))){var t=new window.Sentry.BrowserClient({dsn:"https://a3591ba5e949a37083cc6f5a4191e903@o4505518331658240.ingest.us.sentry.io/4505794284290048",transport:window.Sentry.makeFetchTransport,stackParser:window.Sentry.defaultStackParser,integrations:[window.Sentry.httpContextIntegration()],release:(0,r.isNonEmptyString)(c.TAGGED_VERSION)?c.TAGGED_VERSION:c.CURRENT_SHA}),e=new window.Sentry.Scope;e.setClient(t),e.setTags({pillar:"publish"}),o.Wistia._sentryScope=e,t.init(),o.Wistia.isSentryInitialized=!0,h.length>0&&(0,s.countMetric)("player/buffered-sentry-errors",h.length),h.forEach((function(t){v(t.product,t.error,u(u({},t.details),{},{isBuffered:"true"}))})),h.length=0,y(),b()}}()},document.head.appendChild(t)}},v=function(t,e,n){try{if(!0!==(0,i.isVisitorTrackingEnabled)())return;if(!o.Wistia.isSentryInitialized)return p(),void(h.length<50&&h.push({details:n,error:e,product:t}));var a="mediaPlayback"===t?.001:1;false;var c=!1,s=(0,r.isNil)(window.crypto)?window.msCrypto:window.crypto;if(void 0!==s)c=s.getRandomValues(new Uint32Array(1))[0]/4294967296<a;else c=Math.random()<a;c?(0,i.isVisitorTrackingEnabled)()&&(o.Wistia._sentryScope.clear(),o.Wistia._sentryScope.setTag("pillar","publish"),o.Wistia._sentryScope.setTag("product",t),o.Wistia._sentryScope.setTag("url",window.location.href),(0,r.isNonEmptyRecord)(n)&&o.Wistia._sentryScope.setTags(n),o.Wistia._sentryScope.captureException(e)):console.error(e)}catch(t){console.error(t)}},m=function(t){var e,n,r=t.error;if(r instanceof Error){var i=null!==(e=null===(n=t.error)||void 0===n?void 0:n.source)&&void 0!==e?e:"",o=(0,a.appHostname)("fast");i.includes(o)&&v("globalListener",r)}},g=function(t){var e,n,r=t.reason;r instanceof Error&&((null!==(e=null===(n=t.reason)||void 0===n?void 0:n.stack)&&void 0!==e?e:"").includes((0,a.appHostname)("fast"))&&v("globalListener",r))},y=function(){o.Wistia._isListeningForGlobalErrors||(window.addEventListener("error",m),o.Wistia._isListeningForGlobalErrors=!0)},b=function(){o.Wistia._isListeningForGlobalUnhandledRejections||(window.addEventListener("unhandledrejection",g),o.Wistia._isListeningForGlobalUnhandledRejections=!0)}},40(t,e,n){n.d(e,{isVisitorTrackingEnabled:()=>f});var r=n(13),i=n(41),o=n(43),a=n(16);function c(t){return function(t){if(Array.isArray(t))return s(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 s(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)?s(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 s(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 l;a.Wistia._visitorTrackingDomain||(a.Wistia._visitorTrackingDomain=location.hostname||""),a.Wistia._visitorTracking||(null!=(l=(0,i.getWistiaLocalStorage)().visitorTrackingEnabled)&&((0,i.updateWistiaLocalStorage)((function(t){return delete t.visitorTrackingEnabled})),a.Wistia._visitorTracking={},a.Wistia._visitorTracking[a.Wistia._visitorTrackingDomain]={isEnabled:l,updatedAt:Date.now()},(0,i.updateWistiaLocalStorage)((function(t){return t.visitorTracking=a.Wistia._visitorTracking}))),a.Wistia._visitorTracking=(0,i.getWistiaLocalStorage)().visitorTracking||{});a.Wistia.consent=function(t){return null==t?f():u(t)};var u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Wistia._visitorTrackingDomain;"default"===t?delete a.Wistia._visitorTracking[e]:a.Wistia._visitorTracking[e]={isEnabled:"true"==="".concat(t),updatedAt:Date.now()},(0,i.updateWistiaLocalStorage)((function(t){return t.visitorTracking=a.Wistia._visitorTracking})),(0,r.globalTrigger)("visitortrackingchange",t),c(document.getElementsByTagName("wistia-player")).forEach((function(e){e.dispatchEvent(new CustomEvent("visitor-tracking-change",{detail:{isTrackingEnabled:t}}))}))},f=function(){if("boolean"==typeof a.Wistia._visitorTracking)return a.Wistia._visitorTracking;if(a.Wistia._visitorTracking){var t=function(){if(a.Wistia._visitorTrackingDomain)for(var t=a.Wistia._visitorTrackingDomain.split(".");t.length>0;){var e=a.Wistia._visitorTracking[t.join(".")],n=e&&e.isEnabled;if(null!=n)return n;t.shift()}}();if(null!=t)return Boolean(t)}var e=(0,o.getAllApiHandles)();if(a.Wistia.channel&&a.Wistia.channel.all)try{e.push.apply(e,c(a.Wistia.channel.all()))}catch(t){}return!e.some((function(t){return!0===(t._mediaData||t._galleryData||{}).privacyMode}))}},41(t,e,n){n.d(e,{getWistiaLocalStorage:()=>a,updateWistiaLocalStorage:()=>c});var r=n(42),i=n(16),o="wistia",a=function(){return(0,r.getLocalStorage)(o)},c=function(t){return i.Wistia._localStorage=(0,r.updateLocalStorage)(o,t),i.Wistia._localStorage}},42(t,e,n){n.d(e,{getLocalStorage:()=>s,removeLocalStorage:()=>l,setLocalStorage:()=>u,updateLocalStorage:()=>f});var r=n(16),i=function(t){setTimeout((function(){throw t}),0)},o="_namespacedLocalStorage",a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia-test-localstorage";if(null!=r.Wistia._localStorageWorks)return r.Wistia._localStorageWorks;try{var e=localStorage.getItem(t);localStorage.removeItem(t),localStorage.setItem(t,e),localStorage.removeItem(t),r.Wistia._localStorageWorks=!0}catch(t){r.Wistia._localStorageWorks=!1}return r.Wistia._localStorageWorks},c=function(){return null==r.Wistia[o]&&(r.Wistia[o]={}),r.Wistia[o]},s=function(t){if(!a())return c()[t]||{};if(localStorage[t])try{return"null"===localStorage[t]?{}:JSON.parse(localStorage[t])}catch(t){i(t)}return{}},l=function(t){if(a())try{localStorage.removeItem(t)}catch(t){i(t)}else c()[t]={}},u=function(t,e){if(!a())return null!=e&&"object"==typeof e&&(c()[t]=e),e;try{c()[t]=e,localStorage[t]=JSON.stringify(e)}catch(t){i(t)}return e},f=function(t,e){var n=s(t);try{e(n)}catch(t){i(t)}return u(t,n)}},43(t,e,n){n.d(e,{getAllApiHandles:()=>c,getAllApiHandlesByDomOrder:()=>s});var r=n(44),i=(n(12),n(45));n(46);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 c=function(){return(void 0===(0,i.wData)("video")?[]:Object.values((0,i.wData)("video"))).concat(void 0===(0,i.wData)("iframe_api")?[]:Object.values((0,i.wData)("iframe_api")))},s=function(){var t=Array.from((0,r.getAllApiEmbedElements)("wistia_embed_initialized")).reduce((function(t,e){return void 0!==e.wistiaApi&&"removed"!==e.wistiaApi&&null!==e.wistiaApi&&t.push(e.wistiaApi),t}),[]),e=Array.from(document.querySelectorAll("wistia-player")).reduce((function(t,e){return void 0!==e.deprecatedApiDoNotUse&&"removed"!==e.deprecatedApiDoNotUse&&null!==e.deprecatedApiDoNotUse&&t.push(e.deprecatedApiDoNotUse),t}),[]);return[].concat(o(t),o(e))}},44(t,e,n){n.d(e,{getAllApiEmbedElements:()=>r});var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia_embed",e=document.querySelectorAll("div.".concat(t,",span.").concat(t,",iframe.").concat(t));return Array.from(e).map((function(t){var e;return"WISTIA-PLAYER"===(null===(e=t.lastChild)||void 0===e?void 0:e.nodeName)?t.lastChild:t}))}},45(t,e,n){n.d(e,{wData:()=>o});var r=n(4),i=n(16),o=function(t,e){return(0,r.isArray)(t)||(t=t.split(".")),null!=e&&(0,r.setDeep)(i.Wistia,["_data"].concat(t),e),(0,r.getDeep)(i.Wistia,["_data"].concat(t))}},46(t,e,n){n.d(e,{ensureString:()=>r});var r=function(t){return null==t?"":t.toString()}},47(t,e,n){n.d(e,{countMetric:()=>l});var r=n(5),i=n(8),o=n(40),a=n(25),c=n(16);null==c.Wistia._simpleMetricsCache&&(c.Wistia._simpleMetricsCache={}),null==c.Wistia._simpleMetricsDebounceInterval&&(c.Wistia._simpleMetricsDebounceInterval=500);var s=c.Wistia._simpleMetricsCache,l=function(t){return f("count",t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})},u=function(){if((0,o.isVisitorTrackingEnabled)()){for(var t="https://".concat((0,a.metricsHost)(),"/mput?topic=metrics"),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return fetch(t,{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.join("\n")}).then((function(t){t.ok||console.error(t)})).catch((function(t){console.error(t)}))}},f=function(t,e,n){var a,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if((0,o.isVisitorTrackingEnabled)())try{null==s.toMput&&(s.toMput=[]);var f=(0,r.assign)({type:t,key:e,value:null!=n?n:null},l),d=JSON.stringify(f,(a=new WeakSet,function(t,e){if("object"==typeof e&&null!==e){if(a.has(e))return"[Circular]";a.add(e)}return e}));s.toMput.push(d),clearTimeout(c.Wistia._msendTimeout),c.Wistia._msendTimeout=setTimeout((function(){(0,i.pageLoaded)((function(){u.apply(undefined,s.toMput),s.toMput=[]}))}),c.Wistia._simpleMetricsDebounceInterval)}catch(t){console.error(t.message),console.error(t.stack)}}},50(t,e,n){n.d(e,{dynamicImport:()=>d});var r=n(25),i=n(39),o=n(47),a=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 c(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof l?r:l,u=Object.create(c.prototype);return s(u,"_invoke",function(n,r,i){var o,c,s,l=0,u=i||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return o=e,c=0,s=t,d.n=n,a}};function h(n,r){for(c=n,s=r,e=0;!f&&l&&!i&&e<u.length;e++){var i,o=u[e],h=d.p,p=o[2];n>3?(i=p===r)&&(s=o[(c=o[4])?5:(c=3,3)],o[4]=o[5]=t):o[0]<=h&&((i=n<2&&h<o[1])?(c=0,d.v=r,d.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,c=0))}if(i||n>1)return a;throw f=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,p),c=u,s=p;(e=c<2?t:s)||!f;){o||(c?c<3?(c>1&&(d.n=-1),h(c,s)):d.n=s:d.v=s);try{if(l=2,o){if(c||(i="next"),e=o[i]){if(!(e=e.call(o,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,c<2&&(c=0)}else 1===c&&(e=o.return)&&e.call(o),c<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),c=1);o=t}else if((e=(f=d.n<0)?s:n.call(r,d))!==a)break}catch(e){o=t,c=1,s=e}finally{l=1}}return{value:e,done:f}}}(n,i,o),!0),u}var a={};function l(){}function u(){}function f(){}e=Object.getPrototypeOf;var d=[][r]?e(e([][r]())):(s(e={},r,(function(){return this})),e),h=f.prototype=l.prototype=Object.create(d);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return u.prototype=f,s(h,"constructor",f),s(f,"constructor",u),u.displayName="GeneratorFunction",s(f,i,"GeneratorFunction"),s(h),s(h,i,"Generator"),s(h,r,(function(){return this})),s(h,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:o,m:p}})()}function s(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}s=function(t,e,n,r){function o(e,n){s(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},s(t,e,n,r)}function l(t,e,n,r,i,o,a){try{var c=t[o](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,c,"next",t)}function c(t){l(o,r,i,a,c,"throw",t)}a(void 0)}))}}var f=function(){var t=u(c().m((function t(e){var n,r,i,a,s,l,u=arguments;return c().w((function(t){for(;;)switch(t.p=t.n){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:3,r=u.length>2&&void 0!==u[2]?u[2]:200,a=0===(i=u.length>3&&void 0!==u[3]?u[3]:0)?e:"".concat(e).concat(e.includes("?")?"&":"?","retry=").concat(i),t.p=1,t.n=2,import(a);case 2:return s=t.v,i>0&&(0,o.countMetric)("dynamic-import/retry-success",1,{attempt:String(i),url:e}),t.a(2,s);case 3:if(t.p=3,l=t.v,!(n<=0)){t.n=4;break}throw l;case 4:return t.n=5,new Promise((function(t){setTimeout(t,r)}));case 5:return t.a(2,f(e,n-1,r,i+1))}}),t,null,[[1,3]])})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=u(c().m((function t(e){var n,s,l,u,d,h,p,v,m=arguments;return c().w((function(t){for(;;)switch(t.p=t.n){case 0:return s=a(n=m.length>1&&void 0!==m[1]?m[1]:{},"host")&&null!=n.host?n.host:(0,r.eV1HostWithPort)(),l=r.TAGGED_VERSION,u=r.CURRENT_SHA,d=function(){return""!==l&&l.length>0&&!0!==n.mediaData?"@".concat(l):""!==u&&u.length>0&&!0!==n.mediaData?"@".concat(u):""},h="".concat((0,r.eV1Protocol)(),"//").concat(s,"/").concat(e).concat(d()),t.p=1,t.n=2,f(h);case 2:return t.a(2,t.v);case 3:throw t.p=3,v=t.v,p=v instanceof Error?v:new Error(String(v)),(0,i.reportError)("dynamicImport",p,{url:h}),(0,o.countMetric)("dynamic-import/failure-after-retry",1,{attempt:String(3),url:h}),v;case 4:return t.a(2)}}),t,null,[[1,3]])})));return function(e){return t.apply(this,arguments)}}()},57(t,e,n){n.d(e,{unescapeHtml:()=>r.unescapeHtml});n(7),n(58);var r=n(59);n(16)},58(t,e,n){n.d(e,{throttle:()=>r});var r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null,i=null,o=null,a=null,c=0,s=function(){c=!1===n.leading?0:(new Date).getTime(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var l=(new Date).getTime();c||!1!==n.leading||(c=l);var u=t-(l-c);return r=this,i=arguments,u<=0||u>t?(clearTimeout(a),a=null,c=l,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(s,u)),o}}},59(t,e,n){n.d(e,{unescapeHtml:()=>i});var r={},i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return"";if(e.cache){var n=r[t];if(r[t])return n}var i,o=document.createElement("div");return o.innerHTML=t.toString().replace(/</g,"&lt;").replace(/>/g,"&gt;"),i=o.childNodes.length>0?o.childNodes[0].nodeValue:"",e.cache&&(r[t]=i),i}},74(t,e,n){n.d(e,{destroyControl:()=>c});n(5);var r=n(9),i=(n(75),n(3)),o=n(2),a=(n(28),n(76),function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)}),c=((0,r.cachedDetect)(),function(t){t._destroyed=!0,function(t){t.unbinds instanceof Array&&(t.unbinds.forEach((function(t){try{"function"==typeof t&&t()}catch(t){setTimeout((function(){throw t}),1)}})),t.unbinds=null)}(t),function(t){t.eventListeners instanceof Map&&(t.eventListeners.forEach((function(e,n){try{"function"==typeof e&&t.embedElement.removeEventListener(n,e)}catch(t){setTimeout((function(){throw t}),1)}})),t.eventListeners.clear())}(t),s(t),u(t),f(t)}),s=function(t){t.rootElem&&(0,i.elemRemove)(Array.prototype.slice.call(t.rootElem.childNodes))},l=function(t){var e=t[0],n=t[1];e&&n&&(0,o.render)((0,o.h)("nothing",null),e)},u=function(t){var e=t.reactMounts;if(e)if(e instanceof Array)l(e);else for(var n in e)a(e,n)&&e[n]&&l(e[n])},f=function(t){for(var e in t)a(t,e)&&("_"!==(n=e)[0]||"_"!==n[1])&&"mounted"!==e&&(t[e]=null);var n;t.__prevProps=null,t._destroyed=!0}},75(t,e,n){n.d(e,{clearTimeouts:()=>a,doTimeout:()=>o});var r=n(4),i=n(16);i.Wistia;null==i.Wistia._timeouts&&(i.Wistia._timeouts={});var o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,r.isArray)(t)&&(t=t.join("."));var o=s(t);if(a(t,o),e){var c=i.Wistia._timeouts[o];null==c&&(c=i.Wistia._timeouts[o]={});var l=setTimeout((function(){delete c[t],e()}),n);return c[t]=l,l}return i.Wistia._timeouts[o][t]},a=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,r.isArray)(t)&&(t=t.join(".")),"__global__"===(n=n||s(t))&&(e=i.Wistia._timeouts[t]))for(var o in e){var a=e[o];clearTimeout(a),delete e[o]}if(e=i.Wistia._timeouts[n])for(var l in e){var u=e[l];!l.indexOf||0!==l.indexOf(t)||l.length!==t.length&&"."!==l.charAt(t.length)||(clearTimeout(u),delete e[l])}i.Wistia.blockSweepTimeouts||(i.Wistia.blockSweepTimeouts=!0,setTimeout(c,0),setTimeout((function(){i.Wistia.blockSweepTimeouts=!1}),5e3))},c=function(){for(var t in i.Wistia._timeouts){var e=i.Wistia._timeouts[t];(0,r.isEmpty)(e)&&delete i.Wistia._timeouts[t]}},s=function(t){var e=t.indexOf(".");return e>0?t.substring(0,e):"__global__"}},76(t,e,n){n.d(e,{defineControl:()=>a,getControlDefinitions:()=>c});var r=n(47),i=n(37),o=n(16);null==o.Wistia._controlDefinitions&&(o.Wistia._controlDefinitions={});var a=function(t){null!=t.handle?null==o.Wistia._controlDefinitions[t.handle]&&(o.Wistia._controlDefinitions[t.handle]=t,o.Wistia.trigger&&o.Wistia.trigger("controldefined",t)):console.error("Please specify a handle property for control",t)},c=function(){return o.Wistia._controlDefinitions||{}};o.Wistia.defineControl=function(t){var e={name:t.handle,location:location.origin+location.pathname};try{var n=o.Wistia.first();(0,i.isFunction)(n.playerColor)&&(0,i.isFunction)(n.hashedId)?(e.playerColor=n.playerColor(),e.hashedId=n.hashedId()):(e.playerColor=n.playerColor,e.hashedId=n.mediaId)}catch(t){}(0,r.countMetric)("player/custom-control-definition",1,e),a(t)}},110(t,e,n){n.d(e,{Control:()=>l});var r=n(74);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,o(r.key),r)}}function o(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+""}function a(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function c(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var s=new WeakMap,l=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,s,void 0),this.video=e,this.embedElement=e.container,this.unbinds=[],this.eventListeners=new Map,this.reactMounts={},this.isWistiaPlayer="WISTIA-PLAYER"===this.embedElement.tagName,this.impl=e,this.isWistiaPlayer?this.api=this.embedElement:this.api=e.publicApi,this.props={}},(e=[{key:"disabledButton",get:function(){return e=this,(t=s).get(c(t,e));var t,e},set:function(t){var e,n,r;n=this,r=t,(e=s).set(c(e,n),r)}},{key:"destroy",value:function(){(0,r.destroyControl)(this)}},{key:"isAtRootLevel",value:function(){return!0}},{key:"mount",value:function(t){this.rootElem=t}}])&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},366(t,e,n){n.d(e,{maybeLoadAndSetupEmbedLinksThrottled:()=>d});var r=n(6),i=n(75),o=n(50),a=n(58),c=n(43),s=n(16);function l(t){return function(t){if(Array.isArray(t))return u(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 u(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)?u(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 u(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}s.Wistia._destructors.destroyEmbedLinks=function(){s.Wistia.EmbedLink.EmbedLinkClass&&s.Wistia.EmbedLink.EmbedLinkClass._onEv1Destroy()};var f=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];(function(){for(var t=(0,c.getAllApiHandlesByDomOrder)(),e=0;e<t.length;e++)if(t[e]._attrs&&t[e]._attrs.playlistLinks)return!0;return document.querySelectorAll('a[href^="#wistia_"]').length>0||l(document.getElementsByTagName("wistia-player")).some((function(t){return t.shadowRoot.querySelectorAll('a[href^="#wistia_"]').length>0}))})()&&(0,o.dynamicImport)("assets/external/embedLinks.js").then((function(t){var n;(n=t.EmbedLink).setupAll.apply(n,e)}))},d=(0,a.throttle)(1e3,(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];f.apply(void 0,e),(0,r.onDocReady)((function(){f.apply(void 0,e),(0,i.doTimeout)("maybe_load_embed_links_5000",f,5e3)}))}));s.Wistia.EmbedLink={},s.Wistia.EmbedLink.setupAll=f},556(t,e,n){n.d(e,{PlayerBehavior:()=>a});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)};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,o(r.key),r)}}function o(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 a=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.impl=e,this.embedElement=e.container,this.unbinds=[],this.eventListeners=new Map,this.namedUnbinds={}},(e=[{key:"addNamedUnbind",value:function(t,e){this.namedUnbinds[t]&&this.namedUnbinds[t](),this.namedUnbinds[t]=e}},{key:"removeNamedUnbind",value:function(t){this.namedUnbinds[t]&&(this.namedUnbinds[t](),delete this.namedUnbinds[t])}},{key:"destroy",value:function(){var t=this;for(var e in this.unbinds instanceof Array&&this.unbinds.map((function(t){return t()})),this.eventListeners instanceof Map&&(this.eventListeners.forEach((function(e,n){t.embedElement.removeEventListener(n,e)})),this.eventListeners.clear()),this.namedUnbinds)r(this.namedUnbinds,e)&&this.namedUnbinds[e].map((function(t){return t()}));this.unbinds=[],this.namedUnbinds={},this.impl=null,this._destroyed=!0}}])&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},613(t,e,n){var r=n(4),i=n(3),o=n(110),a=n(76);function c(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var c=r&&r.prototype instanceof l?r:l,u=Object.create(c.prototype);return s(u,"_invoke",function(n,r,i){var o,c,s,l=0,u=i||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return o=e,c=0,s=t,d.n=n,a}};function h(n,r){for(c=n,s=r,e=0;!f&&l&&!i&&e<u.length;e++){var i,o=u[e],h=d.p,p=o[2];n>3?(i=p===r)&&(s=o[(c=o[4])?5:(c=3,3)],o[4]=o[5]=t):o[0]<=h&&((i=n<2&&h<o[1])?(c=0,d.v=r,d.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,c=0))}if(i||n>1)return a;throw f=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,p),c=u,s=p;(e=c<2?t:s)||!f;){o||(c?c<3?(c>1&&(d.n=-1),h(c,s)):d.n=s:d.v=s);try{if(l=2,o){if(c||(i="next"),e=o[i]){if(!(e=e.call(o,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,c<2&&(c=0)}else 1===c&&(e=o.return)&&e.call(o),c<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),c=1);o=t}else if((e=(f=d.n<0)?s:n.call(r,d))!==a)break}catch(e){o=t,c=1,s=e}finally{l=1}}return{value:e,done:f}}}(n,i,o),!0),u}var a={};function l(){}function u(){}function f(){}e=Object.getPrototypeOf;var d=[][r]?e(e([][r]())):(s(e={},r,(function(){return this})),e),h=f.prototype=l.prototype=Object.create(d);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,i,"GeneratorFunction")),t.prototype=Object.create(h),t}return u.prototype=f,s(h,"constructor",f),s(f,"constructor",u),u.displayName="GeneratorFunction",s(f,i,"GeneratorFunction"),s(h),s(h,i,"Generator"),s(h,r,(function(){return this})),s(h,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:o,m:p}})()}function s(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}s=function(t,e,n,r){function o(e,n){s(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},s(t,e,n,r)}function l(t,e,n,r,i,o,a){try{var c=t[o](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,c,"next",t)}function c(t){l(o,r,i,a,c,"throw",t)}a(void 0)}))}}function f(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,d(r.key),r)}}function d(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+""}function h(t,e,n){return e=m(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,p()?Reflect.construct(e,n||[],m(t).constructor):e.apply(t,n))}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function v(){return v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=m(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},v.apply(null,arguments)}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}var y=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=h(this,e,[t])).queue=[],n.video=t,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&&g(t,e)}(e,t),n=e,o=[{key:"destroy",value:function(){var t,n,r,i,o;this._active&&this._active.config.destroy&&this._active.config.destroy(),(t=e,n="destroy",r=this,o=v(m(1&(i=3)?t.prototype:t),n,r),2&i&&"function"==typeof o?function(t){return o.apply(r,t)}:o)([])}},{key:"mount",value:function(t){this.rootElem=t}},{key:"onControlPropsUpdated",value:function(t){this._active&&(this._active.config.props=this.props,this._active.config.onControlPropsUpdated&&this._active.config.onControlPropsUpdated(t))}},{key:"mountConfig",value:function(t){var e=this;return this.mounted.then((function(){e._prev=e._active,e._active={config:t},e._active.config.props=e.props;var n=(0,r.merge)({backgroundColor:"rgba(0,0,0,.55)",backgroundImage:"radial-gradient(farthest-corner, rgba(0,0,0,.05), rgba(0,0,0,.2), rgba(0,0,0,0.9))",clip:"rect(0,0,0,0)",color:"#fff",fontFamily:"Helvetica, Sans-Serif",height:"100%",left:0,position:"absolute",top:0,width:"100%"},e._active.config.style);e._active.rootElem=(0,i.elemFromObject)({style:n,class:"w-css-reset"}),(0,i.elemAppend)(e.rootElem,e._active.rootElem);var o=e._active.config.mount(e._active.rootElem);return o&&o.then&&o.catch?o:Promise.resolve()})).then(u(c().m((function n(){var r,o,a;return c().w((function(n){for(;;)switch(n.n){case 0:if((0,i.elemStyle)(e._active.rootElem,{clip:""}),r=e.getTransitionOptions(t),o=r.transition,a=e._prev?e.animateOut(e._prev.rootElem,t):Promise.resolve(),"fade"!==o){n.n=3;break}return n.n=1,a;case 1:return n.n=2,e.animateIn(e._active.rootElem,t);case 2:e.removeAbilityToFocusControls(),n.n=5;break;case 3:if("slide"!==o){n.n=5;break}return n.n=4,e.animateIn(e._active.rootElem,t);case 4:e.removeAbilityToFocusControls();case 5:return n.a(2)}}),n)}))))}},{key:"hide",value:function(){var t=this,e=this._active;if(e){var n=e.rootElem;this._active=null,this.animateOut(n,e.config).then((function(){t.restoreAbilityToFocusControls(),(0,i.elemRemove)(n)}))}}},{key:"animateIn",value:function(t,e){var n=this.getTransitionOptions(e),r=n.transition,o=n.transitionTime,a=n.transitionDirection;return new Promise((function(e){if("fade"===r)(0,i.elemStyle)(t,{opacity:0}),setTimeout((function(){(0,i.elemAnimate)(t,{opacity:1},{time:o,callback:e})}),0);else if("slide"===r){var n="translateX(100%)";"ltor"===a&&(n="translateX(-100%)"),(0,i.elemStyle)(t,{transform:n}),setTimeout((function(){(0,i.elemAnimate)(t,{transform:"translateX(0)"},{time:o,easing:"linear",callback:e})}),0)}}))}},{key:"animateOut",value:function(t,e){var n=this.getTransitionOptions(e),r=n.transition,o=n.transitionTime,a=n.transitionDirection;return new Promise((function(e){if("fade"===r)(0,i.elemStyle)(t,{opacity:1}),setTimeout((function(){(0,i.elemAnimate)(t,{opacity:0},{time:o,callback:e})}),0);else if("slide"===r){(0,i.elemStyle)(t,{transform:"translateX(0)"});var n="translateX(100%)";"ltor"===a&&(n="translateX(-100%)"),setTimeout((function(){(0,i.elemAnimate)(t,{transform:n},{time:o,easing:"linear",callback:e})}),0)}}))}},{key:"destroyActiveConfig",value:function(){var t=this;return new Promise((function(e){t._active&&t._active.config?t.animateOut(t._active.rootElem).then((function(){t._active.config.destroy&&t._active.config.destroy(),(0,i.elemRemove)(t._active.rootElem),e()})):e()}))}},{key:"getTransitionOptions",value:function(t){return{transition:t.transition||"fade",transitionTime:t.transitionTime||400,transitionDirection:t.transitionDirection||""}}},{key:"removeAbilityToFocusControls",value:function(){var t=this;this._changedFocus={elems:[],previousTabIndex:[]};var n=this.video.behaviors.ui.mountRefs;Object.keys(this.video.controls).forEach((function(r){if(r!==e.handle){var i=n[r].querySelectorAll('button, [href], input, select, textarea, [tabindex="0"]');t._changedFocus.elems=t._changedFocus.elems.concat(Array.prototype.slice.call(i))}})),this._changedFocus.elems.forEach((function(e){t._changedFocus.previousTabIndex.push(e.getAttribute("tabindex")),e.setAttribute("tabindex",-1)}))}},{key:"restoreAbilityToFocusControls",value:function(){var t=this;this._changedFocus.elems.forEach((function(e,n){var r=t._changedFocus.previousTabIndex[n];null!=r?e.setAttribute("tabindex",r):e.removeAttribute("tabindex")})),this._changedFocus={}}}],o&&f(n.prototype,o),a&&f(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,a}(o.Control);y.handle="modalOverlay",y.type="foreground",y.sortValue=500,(0,a.defineControl)(y)},614(t,e,n){var r=n(4),i=n(30),o=n(57),a=n(3),c=n(50),s=n(615),l=n(616),u=n(36),f=n(76),d=n(110);function h(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var s=r&&r.prototype instanceof c?r:c,l=Object.create(s.prototype);return p(l,"_invoke",function(n,r,i){var o,c,s,l=0,u=i||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return o=e,c=0,s=t,d.n=n,a}};function h(n,r){for(c=n,s=r,e=0;!f&&l&&!i&&e<u.length;e++){var i,o=u[e],h=d.p,p=o[2];n>3?(i=p===r)&&(s=o[(c=o[4])?5:(c=3,3)],o[4]=o[5]=t):o[0]<=h&&((i=n<2&&h<o[1])?(c=0,d.v=r,d.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,c=0))}if(i||n>1)return a;throw f=!0,r}return function(i,u,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,p),c=u,s=p;(e=c<2?t:s)||!f;){o||(c?c<3?(c>1&&(d.n=-1),h(c,s)):d.n=s:d.v=s);try{if(l=2,o){if(c||(i="next"),e=o[i]){if(!(e=e.call(o,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,c<2&&(c=0)}else 1===c&&(e=o.return)&&e.call(o),c<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),c=1);o=t}else if((e=(f=d.n<0)?s:n.call(r,d))!==a)break}catch(e){o=t,c=1,s=e}finally{l=1}}return{value:e,done:f}}}(n,i,o),!0),l}var a={};function c(){}function s(){}function l(){}e=Object.getPrototypeOf;var u=[][r]?e(e([][r]())):(p(e={},r,(function(){return this})),e),f=l.prototype=c.prototype=Object.create(u);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,p(t,i,"GeneratorFunction")),t.prototype=Object.create(f),t}return s.prototype=l,p(f,"constructor",l),p(l,"constructor",s),s.displayName="GeneratorFunction",p(l,i,"GeneratorFunction"),p(f),p(f,i,"Generator"),p(f,r,(function(){return this})),p(f,"toString",(function(){return"[object Generator]"})),(h=function(){return{w:o,m:d}})()}function p(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}p=function(t,e,n,r){function o(e,n){p(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},p(t,e,n,r)}function v(t,e,n,r,i,o,a){try{var c=t[o](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,i)}function m(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 g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e,n){return(e=w(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function b(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,w(r.key),r)}}function w(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+""}function _(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,O()?Reflect.construct(e,n||[],S(t).constructor):e.apply(t,n))}function O(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(O=function(){return!!t})()}function T(){return T="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=S(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},T.apply(null,arguments)}function S(t){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},S(t)}function E(t,e){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},E(t,e)}var k=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=_(this,e,[t])).annotations={},n.unbinds=[],n.video=t,n._conversionOpportunityType="link",n.unbinds.push(n.video.bind("clickforsoundvisibilitychange",(function(t){n.adjustSpacingForClickForSound(t)}))),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&&E(t,e)}(e,t),n=e,f=[{key:"mount",value:function(t){var e={position:"absolute",display:"flex",flexDirection:"column",pointerEvents:"none",maxWidth:"50%",width:"100%"},n=(0,a.elemFromObject)({childNodes:[{style:(0,r.merge)(g(g({},e),{},{alignItems:"flex-start"}))},{style:(0,r.merge)(g(g({},e),{},{right:"0px",alignItems:"flex-end"}))}]});(0,a.elemAppend)(t,n),this.rootElem=t.childNodes[0]}},{key:"destroy",value:function(){for(var t in this.annotations)this.annotations[t].config.destroy&&this.annotations[t].config.destroy();var n,r,i,o,a;(n=e,r="destroy",i=this,a=T(S(1&(o=3)?n.prototype:n),r,i),2&o&&"function"==typeof a?function(t){return a.apply(i,t)}:a)([])}},{key:"onControlPropsUpdated",value:function(t){var e="".concat(this.roundBaseFontSize(),"px"),n="".concat(Math.round(this.roundBaseFontSize()/3),"px");for(var r in this.annotations)(0,a.elemStyle)(this.annotations[r].config.rootElem,{fontSize:e,borderRadius:n}),this.annotations[r].config.onControlPropsUpdated&&this.annotations[r].config.onControlPropsUpdated(t)}},{key:"mountConfig",value:(p=h().m((function t(e,n){var f,d,p,v,m,y,b,w,_,O,T,S,E,k,W,x,C,L,M,N,D,I,R,F,B,U;return h().w((function(t){for(;;)switch(t.n){case 0:return t.n=1,(0,c.dynamicImport)("assets/external/interFontFace.js");case 1:return t.n=2,this.mounted;case 2:if(b={config:e},!this.annotations[n.name]){t.n=3;break}return t.a(2,Promise.resolve());case 3:if(null===(f=null===(d=e.plugin)||void 0===d?void 0:d.isRich)||void 0===f||!f){t.n=4;break}return t.n=4,(0,c.dynamicImport)("assets/external/cta.js");case 4:return this.annotations[n.name]={config:e},1===Object.keys(this.annotations).length&&this.video.trigger("annotationvisible"),this.video.trigger("annotation-impression",{annotationId:b.config.annotationId}),b.config.props=this.props,w=null==e||null===(p=e.plugin)||void 0===p?void 0:p.isRich,_=null==e||null===(v=e.plugin)||void 0===v?void 0:v.placement,O=_||b.config.location||b.config.position,T="left"===O||"top-left"===O||"bottom-left"===O?0:1,S=j(e),E=e.url?P(e.url):"",k=.75*this.roundBaseFontSize(),W=(0,r.merge)(g({fontFamily:i.interFontFamily,margin:"".concat(k,"px ").concat(k,"px 0 ").concat(k,"px"),pointerEvents:"auto",display:"block",lineHeight:"1.2em",fontWeight:"600",fontSize:"".concat(this.roundBaseFontSize(),"px"),letterSpacing:"0.03em",padding:"".concat(k,"px ").concat(k+3,"px"),borderRadius:"".concat(this.roundBaseFontSize()/5,"px"),boxShadow:" 0 0 5px 0 rgba(108, 108, 108, 0.5)"},w?{}:S),b.config.style),null!==(m=null==e||null===(y=e.plugin)||void 0===y?void 0:y.isRich)&&void 0!==m&&m?b.rootElem=(0,s.enrichCTAElement)((0,a.elemFromObject)({tagName:"wistia-cta",target:"_blank",style:g(g({},W),{},{letterSpacing:"initial",padding:"unset",boxShadow:"unset",width:this.video._impl.aspect()<1?"100%":"80%"}),boxShadow:"0 3px 5px rgba(0,0,0,0.5)"}),{backgroundWidth:"100%",text:null===(x=b.config)||void 0===x?void 0:x.text,backgroundColor:null!==(C=null==e||null===(L=e.plugin)||void 0===L?void 0:L.backgroundColor)&&void 0!==C?C:"".concat((0,u.addHashToHex)(this.video._impl._opts.playerColor)),gradient:null==e?void 0:e.plugin.backgroundGradient,linkUrl:null===(M=b.config)||void 0===M?void 0:M.url,textLineTwo:null===(N=b.config)||void 0===N?void 0:N.textLineTwo,textLineThree:null===(D=b.config)||void 0===D?void 0:D.textLineThree,thumbnailUrl:null===(I=b.config)||void 0===I?void 0:I.thumbnailUrl,roundedCorners:Math.floor(this.video._impl._opts.roundedPlayer*l.CONTROL_BAR_DISTANCE_RATIO)}):b.rootElem=(0,a.elemFromObject)({tagName:"a",target:"_blank",innerText:(0,o.unescapeHtml)(A(e.text)),href:E,class:"w-css-reset",style:W}),this.addClickBinding(b),(0,a.elemAppend)(this.rootElem.childNodes[T],b.rootElem),R=b.config.mount(b.rootElem),F=R&&R.then&&R.catch?R:Promise.resolve(),t.n=5,F;case 5:(0,a.elemStyle)(b.rootElem,{clip:""}),B=e.transition||"pop",U=e.transitionTime||200,"pop"===B?this.animateIn(b.rootElem,B,U):(0,a.elemStyle)(e.rootElem,{transform:"scale3d(1,1,1)",opacity:1});case 6:return t.a(2)}}),t,this)})),m=function(){var t=this,e=arguments;return new Promise((function(n,r){var i=p.apply(t,e);function o(t){v(i,n,r,o,a,"next",t)}function a(t){v(i,n,r,o,a,"throw",t)}o(void 0)}))},function(t,e){return m.apply(this,arguments)})},{key:"addClickBinding",value:function(t){var e=this;this.unbinds.push((0,a.elemBind)(t.rootElem,"click",(function(n){var r={annotationId:t.config.annotationId};t.config.url||(t.config.onClick&&(e.video.trigger("annotation-click",r),t.config.onClick()),n.preventDefault());var i={converted:!0,link:t.config.url,co_key:t.config.conversionOpportunityKey||null,co_type:e._conversionOpportunityType,time:e.video.time()};t.config.url&&(e.video.trigger("annotation-click",r),e.video.trigger("conversion-link",i),e.video.isLiveMedia()||e.video.pause())})))}},{key:"hide",value:function(t){var e=this.annotations[t.name];if(e){delete this.annotations[t.name],0===Object.keys(this.annotations).length&&this.video.trigger("noannotationsvisible");var n=e.config.rootElem,r=e.config.transition||"pop",i=e.config.transitionTime||200;n===document.activeElement&&this.video._focusNextVisibleElem(),"pop"===r?this.animateOut(n,r,i).then((function(){(0,a.elemRemove)(n)})):(0,a.elemRemove)(n)}}},{key:"animateIn",value:function(t,e,n){return new Promise((function(e){(0,a.elemStyle)(t,{transform:"scale3d(.7,.7,1)",opacity:0}),setTimeout((function(){(0,a.elemAnimate)(t,{transform:"scale3d(1,1,1)",opacity:1},{time:n,easing:"ease-in",callback:e})}),0)}))}},{key:"animateOut",value:function(t,e,n){return new Promise((function(e){(0,a.elemStyle)(t,{transform:"scale3d(1,1,1)",opacity:1}),setTimeout((function(){(0,a.elemAnimate)(t,{transform:"scale3d(.7,.7,1)",opacity:0},{time:n,easing:"ease-out",callback:e})}),0)}))}},{key:"roundBaseFontSize",value:function(){return Math.round(16*this.props.scale)}},{key:"updateFromOptions",value:function(t){if(t.name&&this.video._impl._overlays[t.name])for(var e in t)this.updateFromOption(e,t)}},{key:"updateFromOption",value:function(t,e){switch(t){case"text":this.updateAnnotationText(e);break;case"url":this.updateAnnotationUrl(e);break;case"time":this.updateAnnotationTime(e);break;case"duration":this.updateAnnotationDuration(e)}}},{key:"updateAnnotationText",value:function(t){var e=A(t.text||"");this.video._impl._overlays[t.name].text=(0,o.unescapeHtml)(e),this.annotations[t.name]&&(this.annotations[t.name].config.rootElem.innerText=e)}},{key:"updateAnnotationUrl",value:function(t){var e=P(t.url);this.video._impl._overlays[t.name].url=e,this.annotations[t.name]&&(this.annotations[t.name].config.rootElem.href=e)}},{key:"updateAnnotationTime",value:function(t){this.video._impl._overlays[t.name].time=t.time,this.annotations[t.name]&&(this.annotations[t.name].config.time=t.time)}},{key:"updateAnnotationDuration",value:function(t){this.video._impl._overlays[t.name].duration=t.duration,this.annotations[t.name]&&(this.annotations[t.name].config.duration=t.duration)}},{key:"adjustSpacingForClickForSound",value:function(t){this.rootElem&&this.rootElem.childNodes.length>=2&&(t?(0,a.elemStyle)(this.rootElem.childNodes[1],{marginTop:"".concat(56*this.props.scale,"px")}):(0,a.elemStyle)(this.rootElem.childNodes[1],{marginTop:"0px"}))}}],f&&b(n.prototype,f),d&&b(n,d),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f,d,p,m}(d.Control),j=function(t){return t.theme&&"light"===t.theme?{color:"#505050",backgroundColor:"rgba(255,255,255,.80)"}:{color:"#fff",backgroundColor:"rgba(0,0,0,.55)"}},P=function(t){var e=(0,o.unescapeHtml)(t);return"http"==e.substring(0,4)||"mailto"==e.substring(0,6)||"ftp"==e.substring(0,3)||"/"==e.substring(0,1)||"#"==e.substring(0,1)||"tel"==e.substring(0,3)?e:"http://".concat(e)},A=function(t){return t.replace(/<br\/>/g,"\n").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"<br/>")};k.handle="annotationOverlay",k.type="above-control-bar",k.sortValue=500,(0,f.defineControl)(k)},615(t,e,n){n.d(e,{enrichCTAElement:()=>r});var r=function(t,e){var n=t;return n.text=e.text,n.textLineTwo=e.textLineTwo,n.textLineThree=e.textLineThree,n.linkUrl=e.linkUrl,n.thumbnailUrl=e.thumbnailUrl,n.gradient=e.gradient,n.backgroundWidth=e.backgroundWidth,n.backgroundColor=e.backgroundColor,n}},616(t,e,n){n.d(e,{CONTROL_BAR_DISTANCE_RATIO:()=>r});var r=.75}},__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__,{OverlaysBehavior:()=>v});__webpack_require__(613),__webpack_require__(614);var t=__webpack_require__(12),e=__webpack_require__(15),n=__webpack_require__(556),r=__webpack_require__(366);function i(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 o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,c=[],s=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){l=!0,i=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(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)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(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}function l(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 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+""}function f(t,e,n){return e=h(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,d()?Reflect.construct(e,n||[],h(t).constructor):e.apply(t,n))}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}var v=function(e){function n(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),f(this,n,arguments)}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&&p(t,e)}(n,e),i=n,a=[{key:"init",value:function(){var t=this;this.overlaysQueue=[],this.unbinds=[],this.unbinds.push(this.impl.on("beforepopoverhide",(function(){if(t._activeOverlayName&&"modal"===t._activeOverlayConfig.type&&(t.impl.publicApi.unsuspend({state:"paused"}),t._activeOverlayConfig.options)){var e=t._activeOverlayConfig.options.time;t.cancelOverlay(t._activeOverlayName).then((function(){"before"===e&&t.impl.publicApi.suspend()}))}})))}},{key:"requestOverlay",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shouldSuspendPlayer:!0};if(this._activeOverlayName===e)return Promise.resolve();var r=this.impl._overlays[e];if(r)return"modal"===r.type?this.showOrQueueOverlay(e,r,n):this.showOrQueueOverlay(e,this.getConfig(r),n);t.wlog.error("No overlay with name ".concat(e," is defined"))}},{key:"showOrQueueOverlay",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{shouldSuspendPlayer:!0};return this._activeOverlayConfig&&"modal"===this._activeOverlayConfig.type?new Promise((function(i){n.bind("show",(function(e){if(e===t)return i(),n.unbind})),n.overlaysQueue.push([t,e,r])})):this.showOverlay(t,e,r)}},{key:"cancelOverlay",value:function(t){var e=this,n=this.impl._overlays[t];return n?(this.overlaysQueue=this.overlaysQueue.filter((function(e){return e[0]!==t})),this._activeOverlayConfig&&this._activeOverlayName!==t&&"modal"===this._activeOverlayConfig.type?Promise.resolve():this.getControlFromConfigType(n.type).then((function(r){if(e._activeOverlayName=null,e._activeOverlayConfig=null,e.overlaysQueue.length>0){var i=c(e.overlaysQueue.pop(),3),o=i[0],a=i[1],s=i[2];e.showOverlay(o,a,s).then((function(){a.type!==n.type&&(e.hideControl(n,r,t),"modal"!==a.type&&e.impl.publicApi.unsuspend()),e.trigger("hide",t)}))}else e.hideControl(n,r,t),e.trigger("hide",t),e.impl.publicApi.unsuspend()}))):Promise.resolve()}},{key:"hideControl",value:function(t,e,n){"annotation"===t.type?e.hide({name:n}):e.hide()}},{key:"showOverlay",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{shouldSuspendPlayer:!0};return this._activeOverlayName=t,this._activeOverlayConfig=e,"modal"===e.type&&i.shouldSuspendPlayer&&this.impl.publicApi.suspend(),this.getControlFromConfigType(e.type).then((function(n){var r="annotation"===e.type?{name:t}:{},i=n.mountConfig(e,r);return i&&i.then&&i.catch?i:Promise.resolve()})).then((function(){(0,r.maybeLoadAndSetupEmbedLinksThrottled)(n.rootElem),n.trigger("show",t)})).catch((function(){"modal"===e.type&&n.impl.publicApi.unsuspend()}))}},{key:"getConfig",value:function(t){return t.mount?t:o(o({},t),{},{mount:function(t){this.rootElem=t}})}},{key:"getControlFromConfigType",value:function(t){return"annotation"===t?this.impl.whenControlMounted("annotationOverlay"):"transcript"===t?this.impl.whenControlMounted("transcript"):this.impl.whenControlMounted("modalOverlay")}},{key:"undefineOverlay",value:function(t){this.impl._overlays[t]&&delete this.impl._overlays[t]}}],a&&l(i.prototype,a),s&&l(i,s),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,a,s}(n.PlayerBehavior);(0,e.bindify)(v.prototype),v.handle="overlays"})();const __webpack_exports__OverlaysBehavior=__webpack_exports__.OverlaysBehavior;export{__webpack_exports__OverlaysBehavior as OverlaysBehavior};
//# debugId=0f19c741-98a9-4f4e-b4c5-d9b068bce212
//# sourceMappingURL=OverlaysBehavior.js.map