var __webpack_modules__={25:(t,e,n)=>{n.d(e,{appHostname:()=>r});var r=function(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app",".").concat("wistia.com")}},515:(t,e,n)=>{n.d(e,{default:()=>i});var r=n(3);null==r.default.engines&&(r.default.engines={});const i=function(t,e){r.default.engines[t]=e}},522:(t,e,n)=>{n.d(e,{bestAsset:()=>h,selectable:()=>c,selectableWithoutAuto:()=>f});var r=n(494),i=n(6),a=n(33),o=n(12),u=n(523),s=o.wlog.getPrefixedFunctions("asset_selection"),l=(0,r.makeCacheable)("asset_selection"),c=function(t){return[d()].concat(f(t))},f=function(t){return(0,u.selectableAssets)(x(t))},d=function(){return{bitrate:"variable",ext:"variable",height:"variable",public:!0,size:"variable",type:"variable",url:"",width:"variable",slug:"auto",display_name:"Auto"}},h=function(t){var e=t.attributes;if(s.info("bestAsset"),"sd-only"===e.videoQuality)return s.info("videoQuality=sd-only"),w(t);if("hd-only"===e.videoQuality)return s.info("videoQuality=hd-only"),y(t);if("md"===e.videoQuality)return s.info("videoQuality=md"),b(t);if(m(e.videoQuality)){var n=E(t);if(n)return s.info("targetAsset",e.videoQuality),n}return t.isInFullscreen()?(s.info("infullscreen"),p(t)):(s.info("default"),S(t)||w(t))},p=function(t){return t.attributes.supportsHd?(s.info("supportsHd=true"),v(t)):(s.info("supportsHd=false"),g(t))},v=function(t){return C(t)||S(t)||P(t)||T(t)},g=function(t){return S(t)||w(t)},m=function(t){return/width:/.test(t)},y=function(t){return C(t)||P(t)||T(t)},b=function(t){return P(t)||T(t)},w=function(t){return l(t,"md_or_sd",(function(){var e=t.attributes;return"sd-only"===e.videoQuality?T(t):("md"===e.videoQuality||t.attributes.width>=720)&&P(t)||T(t)}))},_=function(t){var e=t.attributes;return{qualityMin:e.qualityMin,qualityMax:e.qualityMax}},k=function(t,e){return(0,a.playable)(x(t),e)},A=function(t,e){return k(t,(0,i.assign)(_(t),e))},T=function(t){return l(t,"sd_asset",(function(){return function(t){return(0,a.iphone)(x(t),_(t))}(t)||function(t){return(0,a.mp4)(x(t),_(t))}(t)||function(t,e){return(0,a.iphone)(x(t),e)}(t)||k(t)}))},P=function(t){return l(t,"md_asset",(function(){return A(t,{width:[720,980],sortBy:"width desc, bitrate desc"})}))},C=function(t){return l(t,"hd_asset",(function(){return A(t,{width:[980,t.attributes.maxHdWidth||2e3],sortBy:"width desc, bitrate desc"})}))},S=function(t){var e=t.attributes;return null!=e.savedBandwidth?A(t,{bitrate:[0,e.savedBandwidth],width:[0,e.maxHdWidth||2e3],sortBy:"width desc, bitrate desc"})||w(t):null},E=function(t){var e=function(t){if(!m(t))return{};var e=t.match(/width:([a-z]*)(\d+)/i),n=e[1],r=e[2];return/^\d+$/.test(r)?(""===n&&(n="lte"),{op:n,val:r=parseInt(r,10)}):{}}(t.attributes.videoQuality),n=e.op,r=e.val;return"lte"===n?k(t,{width:[0,r],sortBy:"width desc"})||k(t,{width:[r,1e4],sortBy:"width asc"}):"gte"===n?k(t,{width:[r,1e4],sortBy:"width asc"})||k(t,{width:[0,r],sortBy:"width desc"}):null},x=function(t){return t.allAssets}},521:(t,e,n)=>{n.d(e,{default:()=>v});var r=n(6),i=n(33),a=n(20),o=n(11),u=n(498),s=n(522),l=n(515);function c(t,e){for(var n=0;n{n.d(e,{selectableAssets:()=>u});var r=n(11),i=n(6),a=n(33),o=(0,r.cachedDetect)(),u=function(t){var e=(0,a.filter)(t,{container:o.video.webm?/webm|mp4/:"mp4",sortBy:"width asc, bitrate desc",public:!0,status:a.READY});return e=(0,i.filter)(e,(function(e){return"webm"===e.container||0===(0,i.filter)(t,(function(t){return"webm"===t.container&&t.width===e.width})).length}))}},514:(t,e,n)=>{n.d(e,{PUBLIC_METHODS:()=>r,delegatePublicMethods:()=>i});var r=["activeBufferRange","addTextTracks","anyBuffered","bind","bindNamed","bufferInfo","canDownloadMedia","cancelFullscreen","captureCurrentFrame","changeQuality","changeStream","changeStreamWithoutLoad","changeVideo","currentAsset","defaultAsset","destroy","diagnosticData","eventContext","fit","getAudioTracks","getCurrentQuality","getCurrentTime","getCuts","getDuration","getDurationBeforeCuts","getMediaElement","getMediaType","getPlaybackMode","getPlaybackRate","getPreload","getState","getTimeAfterCuts","getTimeBeforeCuts","getTrim","getVolume","hasIssuedPlay","isChangingVideo","isInitializingFromUnmuted","isInFullscreen","isMuted","isSeeking","isSourceOfBrowserEvent","lastBufferedTime","mute","onEnterFullscreen","onHeightChange","onLeaveFullscreen","onMediaDataChanged","onPlayed","onReady","onWidthChange","pause","play","playType","removeTextTracks","requestFullscreen","reset","seek","seekOnPlay","selectedAsset","selectableAssets","selectableQualities","selectedQuality","sequentialBufferedRange","setAttributes","setCurrentTime","setPlaybackRate","setCuts","setTrim","setVolume","showFirstFrame","stopStreaming","timeBeforeEndOfBuffer","totalBuffered","totalPlayed","trigger","unbind","unbindNamed","unbindAllInNamespace","unmute","updateStartPosition"],i=function(t,e){!function(t,e,n){for(var r=0;r{n.d(e,{activeBufferRange:()=>u,anyBuffered:()=>o,lastBufferedTime:()=>c,sequentialBufferedRange:()=>l,timeBeforeEndOfBuffer:()=>f,totalBuffered:()=>s});var r=n(12),i=n(499),a=r.wlog.getPrefixedFunctions("buffering"),o=function(t){var e=t.video;return e.buffered.length>0&&e.buffered.end(0)>0},u=function(t){for(var e=t.video,n=e.currentTime,r=0;r{n.d(e,{setup:()=>o,teardown:()=>u});var r=n(6),i=n(52),a=function(t){var e=t.attributes;return(null!=e.eventLoopDuration?e.eventLoopDuration:300)/t.getPlaybackRate()},o=function(t){null==t.state&&(t.state={}),"playing"===t.getPlaybackMode()&&(t.state.hasPlayed=!0),t.bind("playing",(function(){t.state.hasPlayed=!0})),t.bind("waiting",(function(){t.state.gotWaiting=!0})),t.bind("loadedmetadata",(function(){t.state.loadedMetadata=!0})),(0,r.assign)(t.state,{lastPlaybackMode:t.getPlaybackMode(),lastTimePosition:t.getCurrentTime(),lastEventLoopDuration:a(t)});var e="".concat(t.uuid,".custom_state_and_events");i.globalEventLoop.add(e,a(t),(function(){(0,r.assign)(t.state,{lastTimePosition:t.getCurrentTime(),lastPlaybackMode:t.getPlaybackMode(),lastEventLoopDuration:a(t)}),i.globalEventLoop.interval(e,a(t))}))},u=function(t){var e="".concat(t.uuid,".custom_state_and_events");i.globalEventLoop.remove(e)}},504:(t,e,n)=>{n.d(e,{enforceCuts:()=>d,getCurrentTimeAfterCuts:()=>i.getCurrentTimeAfterCuts,getDurationAfterCuts:()=>i.getDurationAfterCuts,getTrim:()=>l,setCuts:()=>c,setTrim:()=>v,teardownCuts:()=>h,trimStartFromCuts:()=>u});var r=n(11),i=n(214),a=n(501),o=(0,r.cachedDetect)(),u=function(t){var e=(0,i.getCuts)(t);return e.length<1||e[0].start>0?0:e[0].end},s=function(t){var e=(0,i.getCuts)(t),n=(0,i.getDurationBeforeCuts)(t);return e.length<1||e[e.length-1].end0?.09:1e-6;(0,a.seekWithoutCuts)(t,l+c)}else t.state.fakeEnded||(t.state.fakeEnded=!0,t.attributes.loop?(t.trigger("ended"),t.seek(0).then((function(){return t.play()}))):(t.pause(),t.trigger("ended")))}}},v=function(t,e){var n=e.start,r=e.end;null!=n&&(n>=0?t.attributes.trimStart=e.start:delete t.attributes.trimStart),null!=r&&(r>=0?t.attributes.trimEnd=e.end:delete t.attributes.trimEnd),t._cuts=void 0,p(t),d(t)},g=function(t,e){if(e>=t.length)return-1;for(var n=t[e].end,r=e;rn)break;i.start===n&&(n=i.end)}return n}},214:(t,e,n)=>{function r(t){return function(t){if(Array.isArray(t))return i(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)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nl,getCuts:()=>f,getDurationAfterCuts:()=>o,getDurationBeforeCuts:()=>a,getTimeAfterCuts:()=>s,getTimeBeforeCuts:()=>u});var a=function(t){var e=t.attributes;return null!=e.duration?e.duration:t.video.readyState>=2?t.video.duration:null},o=function(t){var e=f(t),n=a(t);if(e.length<1)return n;var r=n;return e.forEach((function(t){r-=t.end-t.start})),r},u=function(t,e){var n=a(t),r=f(t),i=0,o=0,u=0;return r.forEach((function(t){var n=t.start-o;if((u+=n)<=e+i){var r=t.end-t.start;i+=r,u+=r}o=t.end})),Math.min(n,e+i)},s=function(t,e){var n=f(t);if(n.length<1)return e;var r=e;return n.forEach((function(t){t.start<=e&&(r-=Math.min(e,t.end)-t.start)})),Math.max(0,r)},l=function(t){return s(t,t.video.currentTime)},c=Object.freeze([]),f=function(t){var e=t.attributes,n=e.cuts,r=e.trimStart,i=e.trimEnd;if(t._cuts&&n===t._rawCuts)return t._cuts;if(!n&&null==r&&null==i)return c;t._rawCuts=n,t._cuts=d(t);var a={start:t.attributes.trimStart,end:t.attributes.trimEnd};return t._cuts=h(t,a,t._cuts),Object.freeze(t._cuts),t._cuts},d=function(t){var e=a(t),n=t.attributes,r=n.cuts,i=n.trimStart,o=n.trimEnd;if(!r)return[];var u=r.map((function(n){var r=null!=n.start?p(t,n.start):0,i=null!=n.end&&-1!==n.end?p(t,n.end):e;return i>r?{start:r,end:i}:null})).filter(Boolean);null!=i&&u.push({start:0,end:i}),null!=o&&u.push({start:o,end:e}),u=u.sort((function(t,e){return t.start-e.start}));var s={start:0,end:0};return u=u.map((function(t){return t.end=o||c.end<0)?c:void 0;if(null!=u)if(u>=0){var h={start:0,end:u};f?i.splice(0,1,h):i.unshift(h)}else f&&i.shift();if(null!=s)if(s>=0){var p={start:s,end:o};d?i.splice(i.length-1,1,p):i.push(p)}else d&&i.pop();return i},p=function(t,e){var n=a(t);return Math.min(n,Math.max(0,e))}},513:(t,e,n)=>{n.d(e,{getDiagnosticData:()=>a});var r=n(216),i=function(t){try{return t()}catch(t){return"ERROR: ".concat(t.message)}},a=function(t){var e={};return e.player_version=r.PLAYER_VERSION,e.state=t.state,e.attributes=t.attributes,e.currentAsset=t.currentAsset(),e.currentAsset&&e.currentAsset.url&&e.currentAsset.url.length>100&&(e.currentAsset.url="".concat(e.currentAsset.url.substring(0,97),"...")),e.selectedAsset=t.selectedAsset(),e.selectedAsset&&e.selectedAsset.url&&e.selectedAsset.url.length>100&&(e.selectedAsset.url="".concat(e.selectedAsset.url.substring(0,97),"...")),e.getState=i((function(){return t.getState()})),e.getDuration=i((function(){return t.getDuration()})),e.getPlaybackRate=i((function(){return t.getPlaybackRate()})),e.getPlaybackMode=i((function(){return t.getPlaybackMode()})),e.isSeeking=i((function(){return t.isSeeking()})),e.getCurrentTime=i((function(){return t.getCurrentTime()})),e.activeBufferRange=i((function(){return t.activeBufferRange()})),e.sequentialBufferedRange=i((function(){return t.sequentialBufferedRange()})),e.getVolume=i((function(){return t.getVolume()})),e.timeBeforeEndOfBuffer=i((function(){return t.timeBeforeEndOfBuffer()})),e.lastBufferedTime=i((function(){return t.lastBufferedTime()})),e.totalBuffered=i((function(){return t.totalBuffered()})),e.anyBuffered=i((function(){return t.anyBuffered()})),e.getPreload=i((function(){return t.getPreload()})),e.rawVideoProps=i((function(){return u(t)})),e},o=["autoplay","controls","crossOrigin","currentSrc","currentTime","defaultMuted","defaultPlaybackRate","duration","ended","error","loop","muted","networkState","paused","playbackRate","preload","readyState","seeking","src","startDate","volume"],u=function(t){for(var e=t.video,n={},r=0;r{n.d(e,{fixWebkitControlsBug:()=>u});var r=n(11),i=n(12),a=(0,r.cachedDetect)(),o=i.wlog.getPrefixedFunctions("SimpleVideo"),u=function(t){var e=t.video;if(a.browser.webkit){o.info("fixWebkitControlsBug");var n=e.getAttribute("controls");e.setAttribute("controls","controls"),e.removeAttribute("controls"),null!=n&&e.setAttribute("controls",n)}}},499:(t,e,n)=>{n.d(e,{bufferedInfo:()=>p,createElement:()=>s,properAssetUrl:()=>v,setupVideoElemAttributes:()=>c,srcProtocolAndHost:()=>d,sumTimeRanges:()=>h});var r=n(5),i=n(24),a=n(33),o=n(23),u="".concat((0,o.eV1Protocol)(),"//").concat((0,o.eV1HostWithPort)(),"/assets/images/blank.gif"),s=function(t,e,n){var i={tagName:"video",id:t,crossorigin:"anonymous",style:{background:"transparent",display:"block",height:"100%",maxHeight:"none",maxWidth:"none",position:"static",visibility:"visible",width:"100%"}},a={tagName:"source",src:v(e.url),type:f(e,n)};return n.excludeSourceElem||(i.childNodes=[a]),c((0,r.elemFromObject)(i),e,n)},l=function(t,e,n){null!=n&&!1!==n?!0===n?(t[e]=!0,t.setAttribute(e,"")):(t[e]=n,t.setAttribute(e,n)):(t[e]=!1,t.removeAttribute(e))},c=function(t,e,n){return n.poster?(t.poster=n.poster,t.setAttribute("poster",n.poster)):(t.poster=u,t.setAttribute("poster",u)),l(t,"aria-label","Video"),l(t,"src",v(e.url)),l(t,"controlslist",n.controlslist||"nodownload"),l(t,"playsinline",n.playsinline),l(t,"muted",n.muted),l(t,"loop",n.loop),l(t,"controls",null!=n.controls&&n.controls),l(t,"preload",n.preload||"none"),l(t,"type",f(e,n)),l(t,"x-webkit-airplay",null!=n.webkitAirplay?n.webkitAirplay:"allow"),null!=n.volume&&(t.volume=n.volume),n.disablePictureInPicture&&l(t,"disablePictureInPicture",n.disablePictureInPicture),t},f=function(t,e){if(null!=e.contentType)return e.contentType;var n="video/".concat(t.ext);return e.spherical&&(n+=";dimension=360;"),n},d=function(t){if((0,a.isBakeryUrl)(t)){var e=new i.Url(t);if(e.protocol)return"".concat(e.protocol,"//").concat(e.host)}return"".concat((0,o.eV1Protocol)(),"//").concat((0,o.deliveryHost)((0,o.eV1Protocol)()))},h=function(t){if(null==t)return null;for(var e=0,n=0;nc&&(s[l-1].end=t[u].end):s.push(t[u])}else s.push(t[u])}for(u=0,r=0,i=a=e;u=f&&e1&&void 0!==arguments[1]?arguments[1]:"mp4";return(0,a.isBakeryUrl)(t)&&/\.bin$/.test(t)?"".concat(t.replace(/\.bin$/,""),"/file.").concat(e):t}},498:(t,e,n)=>{n.d(e,{default:()=>P});var r=n(15),i=n(6),a=n(33),o=n(20),u=n(499),s=n(500),l=n(501),c=n(505),f=n(506),d=n(503),h=n(511),p=n(502),v=n(512),g=n(513),m=n(507),y=n(514),b=n(504),w=n(515),_=n(214),k=n(516);function A(t,e){for(var n=0;n{n.d(e,{fromOtherEngine:()=>f,injectVideo:()=>c,killBindingsAndStopLoops:()=>h,setupBindingsAndLoops:()=>d,setupProperties:()=>l});var r=n(5),i=n(499),a=n(508),o=n(509),u=n(510),s=n(504),l=function(t,e,n){var r=e.assets;0===r.length&&(r=[{}]),t.mediaData=e,t.allAssets=r,t.attributes=n},c=function(t){t._currentAsset=t.defaultAsset(),t.video=i.createElement(t.uuid,t._currentAsset,t.attributes),t.onReady(),(0,r.elemAppend)(t.root,t.video)},f=function(t,e){var n=e.isMuted(),r=e.hasIssuedPlay();"Audio"===e.mediaData.mediaType?c(t):t.video=e.getMediaElement(),t.onReady(),t.bind("loadstart",(function(){return setTimeout((function(){t.state.isInitializingFromOtherEngine=!1}),0),t.unbind})),i.setupVideoElemAttributes(t.video,t.defaultAsset(),t.attributes),t.state.eventContext=e.eventContext(),t.root.appendChild(t.video),t._currentAsset=t.defaultAsset(),t.changeStreamWithoutLoad(t.defaultAsset()),t.state.isInitializingFromOtherEngine=!0,t.state.otherEngineWasMuted=n,t.state.otherEnginePlayed=r,t.video.load()},d=function(t){o.setup(t),(0,s.enforceCuts)(t),u.setup(t),a.setup(t)},h=function(t){u.teardown(t),(0,s.teardownCuts)(t),a.teardown(t),o.teardown(t)}},512:(t,e,n)=>{n.d(e,{fit:()=>f,onHeightChange:()=>u,onWidthChange:()=>o});var r=n(5),i=n(33),a=(0,n(11).cachedDetect)(),o=function(t,e){return t.setAttributes({width:e}),f(t)},u=function(t,e){return t.setAttributes({height:e}),f(t)},s="contain",l="fill",c=!a.iphone&&!a.ipad,f=function(t){var e=t.attributes.fitStrategy||d(t);return e===s?p(t):"cover"===e?h(t):e===l?v(t):p(t)},d=function(t){var e=t.attributes.height,n=t.attributes.width,r=(0,i.originalAspect)(t.allAssets),o=e*r,u=2*Math.floor(n/r/2),c=Math.abs(u-e),f=Math.abs(o-n),d=a.firefox&&a.browser.mozilla&&a.browser.version>=36;return(a.browser.webkit||d)&&c>0&&c<=10&&f>0&&f<=10?l:s},h=function(t){var e=t.video,n=(0,i.videoAspect)(t.allAssets),o=(0,r.elemWidth)(t.root)/(0,r.elemHeight)(t.root);a.edge?o<=n?(0,r.elemStyle)(e,{height:"100%",left:"50%",objectFit:"contain",position:"relative",top:"50%",transform:"translate(-50%,-50%)",width:"1920px"}):(0,r.elemStyle)(e,{height:"1088px",left:"50%",objectFit:"contain",position:"relative",top:"50%",transform:"translate(-50%,-50%)",width:"100%"}):c&&(0,r.elemStyle)(e,{objectFit:"cover"})},p=function(t){var e=t.video,n={height:"100%",width:"100%"};c&&(n.objectFit="contain"),(0,r.elemStyle)(e,n)},v=function(t){var e=t.video,n={height:"100%",width:"100%"};c&&(n.objectFit="fill"),(0,r.elemStyle)(e,n)}},505:(t,e,n)=>{n.d(e,{onReady:()=>i});var r=n(12).wlog.getPrefixedFunctions("SimpleVideo"),i=function(t){var e=t.video;null==t.state&&(t.state={});var n=t.state;return n.onReadyPromise||(n.onReadyPromise=new Promise((function(i){if(n.hasBeenReady)i();else{if(e.readyState>=2)r.info("ready readyState",e.src,e.readyState),n.hasBeenReady=!0,i();else{t.bind("loadstart",(function(){r.info("ready loadstart"),n.hasBeenReady=!0,i()}))}setTimeout((function(){n.hasBeenReady||(n.hasBeenReady=!0,i())}),200)}}))),n.onReadyPromise}},502:(t,e,n)=>{n.d(e,{BEFORE_PLAY:()=>i,getPlaybackMode:()=>a});var r=n(12).wlog.getPrefixedFunctions("SimpleVideo"),i="beforeplay",a=function(t){var e=t.video;try{return t.state.hasPlayed?t.state.fakeEnded||e.ended?"ended":e.paused?"paused":"playing":i}catch(t){return r.warn(t),"unknown"}}},510:(t,e,n)=>{n.d(e,{setup:()=>a,teardown:()=>o});var r=n(5),i=["beforeplay","ended","error","loadeddata","loadedmetadata","loadstart","pause","playing","progress","ratechange","seeked","seeking","volumechange","timeupdate","waiting","webkitbeginfullscreen","webkitendfullscreen","webkitplaybacktargetavailabilitychanged"],a=function(t){for(var e=0;e{n.d(e,{isSeeking:()=>g,seek:()=>c,seekOnPlay:()=>p,seekWithoutCuts:()=>f});var r=n(6),i=n(5),a=n(12),o=n(502),u=n(503),s=n(214),l=a.wlog.getPrefixedFunctions("SimpleVideo"),c=function(t,e,n){var r=(0,s.getTimeBeforeCuts)(t,e);return f(t,r,n)},f=function(t,e,n){return l.info("seek",e),t.getPlaybackMode()===o.BEFORE_PLAY?d(t,e,n):h(t,e,n)},d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.video;return l.info("seekBeforePlay",e),new Promise((function(a,o){l.info("time ".concat(e,": seek beforeplay"));var s="playing"===t.getPlaybackMode();i.style.visibility="hidden",(0,r.assign)(t.state,{seeking:!0}),l.info("time ".concat(e,": start stream by calling play")),(0,u.playWithoutCuts)(t).then((function(o){l.info("time ".concat(e,": jump to time after playing")),i.currentTime=e;var c=new Promise((function(r){s||!1===n.pause?(l.info("time: ".concat(e,": play after seek")),r()):(l.info("time: ".concat(e,": pause after seek")),(0,u.pause)(t).then(r))}));v(t).then((function(){c.then((function(){i.style.visibility="inherit",(0,r.assign)(t.state,{seeking:!1}),a(o)}))}))})).catch((function(e){i.style.visibility="inherit",(0,r.assign)(t.state,{seeking:!1}),o(e)}))}))},h=function(t,e){return l.info("seekNow",e),new Promise((function(n){l.info("seekNow: start",e),t.video.currentTime=e,(0,r.assign)(t.state,{seeking:!0}),v(t).then((function(){(0,r.assign)(t.state,{seeking:!1}),l.info("seekNow: resolve",e),n()}))}))},p=function(t,e){return new Promise((function(n){"playing"===t.getPlaybackMode()?h(t,e).then(n):t.bind("playing",(function(){return h(t,e).then(n),t.unbind}))}))},v=function(t){var e=t.video;return new Promise((function(t){e.seeking?(l.info("waiting for seek"),(0,i.elemBind)(e,"seeked",(function(){return l.info("seeked"),t(),i.elemUnbind}))):(l.info("no wait for seek"),t())}))},g=function(t){var e=t.state,n=t.video;return Boolean(e.seeking||n.seeking)}},503:(t,e,n)=>{n.r(e),n.d(e,{cancelFullscreen:()=>N,captureCurrentFrame:()=>q,getCurrentTime:()=>w,getDuration:()=>S,getPlaybackRate:()=>C,getPreload:()=>B,getState:()=>_,getVolume:()=>A,isInFullscreen:()=>j,isInitializingFromUnmuted:()=>M,isMuted:()=>x,isSourceOfBrowserEvent:()=>E,mute:()=>F,onEnterFullscreen:()=>O,onHeightChange:()=>D,onLeaveFullscreen:()=>L,onWidthChange:()=>I,pause:()=>m,play:()=>p,playType:()=>g,playWithoutCuts:()=>v,requestFullscreen:()=>V,setCurrentTime:()=>y,setCurrentTimeWithoutCuts:()=>b,setPlaybackRate:()=>P,setVolume:()=>k,supportsPlaybackRate:()=>T,unmute:()=>R});var r=n(5),i=n(12),a=n(11),o=n(6),u=n(214),s=n(504),l=i.wlog.getPrefixedFunctions("SimpleVideo"),c=(0,a.cachedDetect)(),f="play",d="play-silently",h="cannot-play",p=function(t,e){var n=(0,s.trimStartFromCuts)(t);return t.state.fakeEnded||t.video.currentTime1&&void 0!==arguments[1]?arguments[1]:{},n=t.video,i=e.playType||g(t,e);return null==t.state.issuedPlay&&i!==h&&(t.state.issuedPlay=!0),new Promise((function(a,o){t.state.lastPlayRejected=!1;var u=t.getPlaybackMode();if(l.info("play: start",i),"playing"===u)l.info("play: already playing, resolve"),a(f);else if(i===h)o(new Error("Cannot issue play."));else{i===d&&t.mute(),t.trigger("beforeplay"),"ended"===u&&c.ios.version>0&&(n.load(),t.attributes.hasCalledLoad=!0);var s=n.play();if(s&&s.then&&s.catch)s.then((function(){l.info("play: got",i,"resolve"),a(i)})).catch((function(r){l.notice(r),t.state.lastPlayRejected=!0;var u=null!=e.silentAutoplay?e.silentAutoplay:t.attributes.silentAutoplay;i!==f||t.isMuted()||"allow"!==u&&null!=u?(l.notice("play: rejected"),o(r)):(t.mute(),n.play().then((function(){l.info("play: got silent fallback, resolve"),a(d)})).catch((function(e){t.unmute(),o(e)})))}));else{setTimeout((function(){c.ios.version&&c.ios.version<10.1&&n.paused&&o(new Error("Video still paused after play issued."))}),10);t.bind("playing",(function(){return l.info("play: got playing, resolve"),a(i),r.elemUnbind}))}}}))},g=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("playing"===t.getPlaybackMode())return f;if(t.isInitializingFromUnmuted())return f;if((0,r.inUserEventContext)())return f;var n=t.attributes,i=null!=e.silentAutoplay?e.silentAutoplay:n.silentAutoplay;return!0===i?t.isMuted()?f:d:!1===i?f:"allow"===i||null==i?c.chrome||c.firefox||c.edge||(c.safari||c.ios.version&&c.ios.version>=12)||t.isMuted()?f:d:f},m=function(t){var e=t.video;return l.info("pause"),new Promise((function(t){l.info("pause: start"),e.pause(),(0,r.safeRequestAnimationFrame)((function(){l.info("pause: resolve"),t()}))}))},y=function(t,e){var n=(0,u.getTimeBeforeCuts)(t,e);return b(t,n)},b=function(t,e){l.info("setCurrentTime",e),t.video.currentTime=e},w=function(t){return(0,s.getCurrentTimeAfterCuts)(t)},_=function(t){return{playbackMode:t.getPlaybackMode(),currentTime:t.getCurrentTime(),volume:t.getVolume(),playbackRate:t.getPlaybackRate()}},k=function(t,e){l.info("setVolume",e),t.video.volume=e},A=function(t){return t.video.volume},T=function(t){return null!=t.video.playbackRate},P=function(t,e){l.info("setPlaybackRate",e),T(t)?t.video.playbackRate=e:l.info("playbackRate is not supported on",t.video)},C=function(t){return T(t)?t.video.playbackRate:1},S=function(t){return(0,s.getDurationAfterCuts)(t)},E=function(t,e){return e.target==t.video},x=function(t){var e=t.video;return!!(e.muted||t.state.loadedMetadata&&0===e.volume||t.state.hasPlayed&&e.audioTracks&&0===e.audioTracks.length)},B=function(t){return t.video.getAttribute("preload")},F=function(t){t.video.muted=!0,t.video.setAttribute("muted","muted")},R=function(t){t.video.muted=!1,t.video.removeAttribute("muted")},O=function(t){t.state.isInFullscreen=!0;var e=t.attributes.backgroundColor||"#000";t.video.style.backgroundColor=e},L=function(t){t.state.isInFullscreen=!1,t.video.style.backgroundColor="transparent"},M=function(t){var e=t.state;return e.isInitializingFromOtherEngine&&e.otherEnginePlayed&&!e.otherEngineWasMuted},j=function(t){return!!t.state.isInFullscreen},I=function(t){},D=function(t){},V=function(t){t.setAttributes({fitStrategy:"contain"}),t.fit(),(0,r.elemRequestFullscreen)(t.video)},N=function(t){t.setAttributes({fitStrategy:"auto"}),t.fit(),(0,r.elemCancelFullscreen)(t.video)},q=function(t){var e=t.video,n=document.createElement("canvas");n.width=e.videoWidth,n.height=e.videoHeight,n.getContext("2d").drawImage(e,0,0,n.width,n.height);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a{n.d(e,{changeQuality:()=>c,changeStream:()=>d,changeStreamWithoutLoad:()=>f,changeVideo:()=>p,isChangingVideo:()=>h,stopStreaming:()=>l});var r=n(12),i=n(5),a=n(33),o=n(507),u=n(499),s=r.wlog.getPrefixedFunctions("SimpleVideo"),l=function(t){try{if(t.state.destroyed)return;s.info("stopStreaming");var e=t.video;e.src="".concat(u.srcProtocolAndHost(e.getAttribute("src")),"/tiny.mp4"),e.load()}catch(t){s.notice(t)}},c=function(t,e,n,r){var i=t.selectableAssets(),o=(0,a.findClosestAssetByQuality)(i,e);return"beforeplay"===t.getPlaybackMode()?(f(t,o),Promise.resolve()):d(t,o,n,r)},f=function(t,e){s.info("changeStreamWithoutLoad",e&&e.slug,e);var n=t.video;if((0,i.elemInDom)(n)){var r=u.properAssetUrl(e.url,e.container);t.state={eventContext:t.state.eventContext},t._currentAsset=e,n.src=r;var a=function(t){for(var e=t.video,n=[],r=0;r0&&(a[0].src=r)}},d=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];s.info("changeStream",n,r,e&&e.slug,e);var a=t.video;return t.asset=e,new Promise((function(o){var s=u.properAssetUrl(e.url,e.container);if(r||s!==a.getAttribute("src")){var l=t.getState();t.state.seeking=!0,(0,i.elemBind)(a,"loadstart",(function(){return r?(a.style.visibility="visible",t.state.seeking=!1,o()):l.currentTime>2?t.seek(l.currentTime).then((function(){"playing"===l.playbackMode?t.play().then((function(){t.state.seeking=!1,a.style.visibility="visible",o()})):t.pause().then((function(){a.style.visibility="visible",t.state.seeking=!1,o()}))})):("playing"===l.playbackMode&&t.play(),a.style.visibility="visible",t.state.seeking=!1,o()),t.setPlaybackRate(l.playbackRate),i.elemUnbind})),a.style.visibility="hidden",f(t,e,r),"beforeplay"===l.playbackMode||n||t.play()}else o()}))},h=function(t){return!!t.state.isChangingVideo},p=function(t,e,n){return v(t),t.state.isChangingVideo=!0,g(t,e,n),new Promise((function(e){d(t,t.defaultAsset()).then((function(){t.state.isChangingVideo=!1,e()}))}))},v=function(t){var e=t.state.eventContext;t.destroy(),t.state.eventContext=e},g=function(t,e,n){o.setupProperties(t,e,n),o.setupBindingsAndLoops(t,t.allAssets,n)}},516:(t,e,n)=>{n.d(e,{addTextTracks:()=>a,removeTextTracks:()=>o});var r=n(20),i=n(5),a=function(t,e){var n=(0,r.seqId)("wistia_captions_");t.forEach((function(t){var r=document.createElement("track");r.kind=t.kind||"captions",r.label=t.native_name,r.srclang=t.language,r.src=t.src,r._wistiaCaptionsId=t._wistiaCaptionsId||n,e.appendChild(r,{wistiaGridCaller:!0})}))},o=function(t,e){for(var n=Array.prototype.slice.call(e.childNodes),r=0;r{n.d(e,{setup:()=>u,teardown:()=>s});var r=n(6),i=n(5),a=n(52),o=function(t){var e=t.attributes;return(null!=e.eventLoopDuration?e.eventLoopDuration:300)/t.getPlaybackRate()},u=function(t){null==t.state&&(t.state={}),t.state.waiting=-1;var e="".concat(t.uuid,".waiting_events");a.globalEventLoop.add(e,o(t),(function(){l(t),a.globalEventLoop.interval(e,o(t))}))},s=function(t){var e="".concat(t.uuid,".waiting_events");a.globalEventLoop.remove(e)},l=function(t){var e=t.video,n=t.state,a=n.lastPlaybackMode,u=n.gotWaiting&&"beforeplay"===t.getPlaybackMode()||"playing"===t.getPlaybackMode(),s="playing"===a||"beforeplay"===a&&!n.lastPlayRejected,l=n.lastEventLoopDuration||o(t);if(u&&s)if(t.getCurrentTime()===n.lastTimePosition){var f=n.startedWaitingAt;f?(n.waiting=((new Date).getTime()-f)/1e3,t.trigger("custom-waiting",n.waiting)):((0,r.assign)(n,{startedWaitingAt:(new Date).getTime()-l,waiting:l/1e3}),t.trigger("custom-waiting",l/1e3),(0,i.elemBind)(e,"timeupdate",(function(){return c(t),i.elemUnbind})))}else c(t);else c(t)},c=function(t){var e=t.state.waiting;(0,r.assign)(t.state,{waiting:-1,startedWaitingAt:null}),null!=e&&e>=0&&t.trigger("custom-done-waiting",e)}},33:(t,e,n)=>{n.d(e,{READY:()=>f,filter:()=>h,findClosestAssetByQuality:()=>m,iphone:()=>S,isBakeryUrl:()=>b,moveToFront:()=>B,mp4:()=>_,numericSizeSnapped:()=>g,original:()=>A,originalAspect:()=>C,playable:()=>T,videoAspect:()=>P});var r=n(6),i=n(24),a=n(11),o=(n(23),n(12)),u=n(25);function s(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,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==e);s=!0);}catch(t){l=!0,i=t}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return[];t.assets&&(t=t.assets),null==e.qualityMin&&null==e.qualityMax||(t=v(t,e.qualityMin,e.qualityMax),e=(0,r.except)(e,["qualityMin","qualityMax"]));var n=(0,r.only)(e,d),i=n.select||(0,r.except)(e,d);i&&(n.select=i);var a=n.select?(0,r.select)(t,n.select):(0,r.clone)(t);if((n.sortFn||n.sortBy)&&(a=(0,r.sort)(a,n.sortFn||n.sortBy)),n.unique){for(var o={},u=0;u1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4;return h(t,{select:function(t){var r=g(t.width,t.height);return e<=r&&r<=n}})},g=function(t,e){if(e>t){var n=t;t=e,e=n}var r=t/e,i=t*e+1;return i>=3840/r*3840?2160:i>=2560/r*2560?1440:i>=1920/r*1920?1080:i>=1280/r*1280?720:i>=960/r*960?540:i>=640/r*640?360:e},m=function(t,e){var n;n="4k"===e?2160:parseInt(e,10);var r=v(t,n,n)[0];if(r)return r;var i=x(t,n,n);if(1===i.length)return i[0];var a=P(t),o=Math.round(a*n),u=s(i,2),l=u[0],c=u[1];return Math.abs(l.width-o)=0},w=function(t,e,n){return n=(0,r.merge)({container:e,public:!0,status:f},n),p(t,n)},_=function(t,e){return w(t,"mp4",e)},k=function(t,e){return w(t,"webm",e)},A=function(t){return p(t,{type:"original"})},T=function(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,a.cachedDetect)()).video.webm&&k(t,e)||_(t,e)},P=function(t){var e=_(t)||function(t,e){return w(t,"m3u8",e)}(t)||k(t)||A(t);return e&&e.height?e.width/e.height:640/360},C=function(t){var e=P(t),n=A(t);if(n&&n.width&&n.height){var r=n.width/n.height;return r>1&&e<1||r<1&&e>1?1/r:r}return e},S=function(t,e){if(P(t)>1)return e=(0,r.merge)({width:640},e),_(t,e)||E(t,e);var n=(0,r.merge)({width:320},e),i=(0,r.merge)({width:640},e);return _(t,n)||_(t,i)||E(t,e)},E=function(t,e){return e=(0,r.merge)({sortBy:"width asc",width:[640,1920]},e),_(t,e)},x=function(t,e,n){if(0===t.length)return[];for(var r,i,a=c.call(t).sort((function(t,e){return g(t.width,t.height)-g(e.width,e.height)})),u=0;u=n){i=s;break}}var f=[];return r&&f.push(r),i&&f.push(i),0===f.length&&(o.wlog.error("nearestOutsideRange: no nearby assets found, using first in list",a[0]),f.push(a[0])),f},B=function(t,e){if(!e)return t;for(var n=-1,r=0;r0&&(t.splice(n,1),t.unshift(e)),t}},7:(t,e,n)=>{n.d(e,{default:()=>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)},i=function(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return t};const a=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r{n.d(e,{bind:()=>s,bindNamed:()=>p,bindify:()=>y,trigger:()=>f,unbind:()=>l,unbindAllInNamespace:()=>g,unbindNamed:()=>v});var r=n(3),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 a(t){return function(t){if(Array.isArray(t))return o(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)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?e-1:0),r=1;r{n.d(e,{makeCacheable:()=>r,uncacheNamespace:()=>s});var r=function(t){return function(e,n,r){if(o(t,e),i(t,e,n))return a(t,e,n);var s=r();return u(t,e,n,s),s}},i=function(t,e,n){return null!=a(t,e,n)},a=function(t,e,n){return o(t,e),e[t][n]},o=function(t,e){null==e[t]&&(e[t]={})},u=function(t,e,n,r){o(t,e),e[t][n]=r},s=function(t,e){e[t]={}}},11:(t,e,n)=>{n.d(e,{cachedDetect:()=>W});var r,i=n(3),a=n(4),o=navigator.userAgent,u=/(webkit)[ /]([^\s]+)/i,s=/OPR\/([^\s]+)/i,l=/(edge)\/(\d+(?:\.\d+)?)/i,c=/(mozilla)(?:.*? rv:([^\s)]+))?/i,f=/(android) ([^;]+)/i,d=/(iphone)/i,h=/(Windows Phone OS (\d+(?:\.\d+)?))/,p=/OS (\d+)_(\d+)/i,v=/(playstation 3)/i,g=/BlackBerry|BB10/i,m=/(firefox)/i,y=/Mobile VR/i,b=/Version\/([^\s]+)/i,w=function(){return(k()[1]||"webkit").toLowerCase()},_=function(){return k()[2]},k=function(){var t;return(t=o.match(l))||(t=o.match(u))||(t=o.match(s))?t:t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=o.match(c))||[]},A=function(){var t=o.match(f);return null!=t&&{version:t[2]}},T=function(){return d.test(o)},P=function(){return L()>0||A()||E()},C=function(){try{var t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!P()},S=function(){return g.test(o)},E=function(){return/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1},x=function(){return u.test(o)&&!/chrome/i.test(o)&&!E()&&!T()},B=function(){return!(!/Chrome/.test(o)||!/Google Inc/.test(navigator.vendor))&&{version:R()}},F=function(){var t=o.match(/\bSilk\/([^\s]+)/);return t&&t[1]},R=function(){var t=o.match(/\bChrome\/([^\s]+)/);return t&&t[1]},O=function(){return s.test(o)},L=function(){var t=o.match(p),e=o.match(b);return null!=t?parseFloat("".concat(t[1],".").concat(t[2])):null!=e&&e[1]&&E()?parseFloat(e[1]):0},M=function(){return l.test(o)},j=function(){return m.test(o)},I=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},D=function(){try{return"localStorage"in a.default&&null!=a.default.localStorage}catch(t){return!1}},V=["WebKit","Moz","O","Ms",""],N=function(){for(var t=0;t1,hoverIsNatural:C(),touchScreen:P(),ps3:v.test(o),video:I(),mediaSource:a.default.MediaSource&&a.default.MediaSource.isTypeSupported("".concat('video/mp4; codecs="avc1.42E01E',', mp4a.40.2"')),nativeHls:(T()||E()||x())&&I().nativeHls,localstorage:D(),json:!(!a.default.JSON||"function"!=typeof JSON.parse),backgroundSize:(p=document.createElement("div"),""===p.style.backgroundSize||""===p.style.webkitBackgroundSize||""===p.style.mozBackgroundSize||""===p.style.oBackgroundSize),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanSupport:(d=/webkit|mozilla|edge/.test(w()),Boolean(!T()&&!E()&&!A()&&!S()&&d&&I().h264&&Object.defineProperties)),mutationObserver:N(),callingPlayRequiresEventContext:L()>0||A()||x(),passiveSupported:q(),webp:(t=B(),e=j(),n=M(),r=O(),i=t&&_()>=32,u=t&&_()>=75&&A(),s=e&&_()>=65,l=e&&_()>=67&&A(),c=n&&_()>=18,f=r&&_()>=19,i||u||s||l||c||f)};return g.browser[w()]=!0,g}},8:(t,e,n)=>{n(9)},5:(t,e,n)=>{n.d(e,{elemAppend:()=>h,elemBind:()=>A,elemCancelFullscreen:()=>S,elemFromObject:()=>d,elemHeight:()=>_,elemInDom:()=>k,elemRemove:()=>p,elemRequestFullscreen:()=>C,elemStyle:()=>v,elemUnbind:()=>T,elemWidth:()=>w,inUserEventContext:()=>F,safeRequestAnimationFrame:()=>B});var r,i=n(6),a=(n(8),n(10),n(11)),o=n(12),u=(n(16),n(17),n(20)),s=n(3),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)},c=s.default,f=(0,a.cachedDetect)(),d=function t(e){if((0,i.isArray)(e)){for(var n=[],r=0;r1?n-1:0),a=1;a3&&void 0!==arguments[3]&&arguments[3],i=function(r){(r=r||window.event).pageX||r.pageY||!r.clientX&&!r.clientY||(r.pageX=r.clientX+x(),r.pageY=r.clientY+E()),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,a=new Array(i>1?i-1:0),o=1;o3&&void 0!==arguments[3]&&arguments[3];if(null!=t&&null!=t._wistiaElemId&&null!=n&&n._wistiaBindId){var i=P(t,e,n),a=c._elemBind[i];return a&&(t.removeEventListener(e,a,r),a.elem=null,a.event=null),delete c._elemBind[i]}},P=function(t,e,n){return t._wistiaElemId=t._wistiaElemId||(0,u.seqId)("wistia_elem_"),n._wistiaBindId=n._wistiaBindId||(0,u.seqId)("wistia_bind_"),"".concat(t._wistiaElemId,".").concat(e,".").concat(n._wistiaBindId)},C=function(t){return t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):t.msRequestFullscreen?t.msRequestFullscreen():t.webkitEnterFullscreen?t.webkitEnterFullscreen():(o.wlog.notice("no requestFullscreen functionality detected"),null)},S=function(t){return document.cancelFullscreen?document.cancelFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():t&&t.webkitExitFullscreen?t.webkitExitFullscreen():(o.wlog.notice("no cancelFullscreen functionality detected"),null)},E=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)},x=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)},B=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)})(t)},F=function(){return!!r};["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((function(t){A(document,t,(function(t){r=t,Date.now(),setTimeout((function(){r===t&&(r=void 0)}),0)}),!f.passiveSupported||{capture:!0,passive:!0})}))},16:(t,e,n)=>{var r;n.d(e,{elemOffset:()=>a});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},a=function(t){var e,n,r=document.body,a=document.defaultView,u=document.documentElement,s=t.getBoundingClientRect(),l=u.clientTop||r.clientTop||0,c=u.clientLeft||r.clientLeft||0;e=a&&null!=a.pageYOffset?a.pageYOffset:i()&&u&&null!=u.scrollTop?u.scrollTop:r.scrollTop,n=a&&null!=a.pageXOffset?a.pageXOffset:i()&&u&&null!=u.scrollLeft?u.scrollLeft:r.scrollLeft;var f=o(t);return{height:s.height*f,top:s.top*f+e-l,left:s.left*f+n-c,width:s.width*f,zoom:f}},o=function t(e){return e&&e!==document.documentElement?t(e.parentElement)*(getComputedStyle(e).zoom||1):1}},52:(t,e,n)=>{n.d(e,{globalEventLoop:()=>s});var r=n(12),i=n(3),a=r.wlog.getPrefixedFunctions("event_loop"),o=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._timeoutId=null,this._latency=null!=e.latency?e.latency:100,this._blurLatency=null!=e.blurLatency?e.blurLatency:2e3,this._functions={},this._paused={},window.addEventListener("blur",(function(){return t.blur()}),!1),window.addEventListener("focus",(function(){return t.focus()}),!1),this.start()},u=o.prototype;u.start=function(){var t=this;clearTimeout(this._timeoutId),this._loopFn=this._loopFn||function(){t.runFunctions(),t._timeoutId=setTimeout(t._loopFn,t._latency)},this._loopFn()},u.resync=function(){this.start()},u.resyncNextTick=function(){var t=this;setTimeout((function(){t.resync()}),0)},u.stop=function(){clearTimeout(this._timeoutId)},u.clear=function(){this._functions={}},u.runFunctions=function(){this._pausedDirty&&this.updatePaused();var t=[];for(var e in this._functions){var n=this._functions[e],r=(new Date).getTime(),i=r-n.lastRanAt;if(!n.paused&&i>=n.interval){n.lastRanAt=r;try{n.fn()===this.remove&&t.push(e)}catch(t){a.error(t)}}}for(var o=0;o{n.d(e,{globalTrigger:()=>i});var r=n(3);(0,n(14).makeWbindable)(r.default);r.default.bind.bind(r.default),r.default.on.bind(r.default),r.default.off.bind(r.default),r.default.rebind.bind(r.default);var i=r.default.trigger.bind(r.default);r.default.unbind.bind(r.default)},23:(t,e,n)=>{n.d(e,{deliveryHost:()=>l,eV1HostWithPort:()=>d,eV1Protocol:()=>h});var r=n(4),i=n(24),a=n(25),o=((0,a.appHostname)("app"),(0,a.appHostname)("fast")),u="undefined"!=typeof window&&r.default===window&&r.default.location?r.default.location.protocol:"https:",s=function(t,e,n){return"https:"===t?e:n},l=function(){return s(arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,"embed-ssl.wistia.com","embed.wistia.com")},c=function(){for(var t=document.getElementsByTagName("script"),e=0;e{n.d(e,{assign:()=>r.default,cast:()=>p,clone:()=>c,eachLeaf:()=>F,except:()=>y,filter:()=>k,getDeep:()=>f,isArray:()=>T,isObject:()=>C,merge:()=>o,only:()=>m,select:()=>b,setAndPreserveUndefined:()=>d,sort:()=>_});var r=n(7),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)},a=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++)u(t,e+1<1||arguments.length<=e+1?void 0:arguments[e+1]);return t},u=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if(T(n)){T(e)||(e=[]);for(var o=0;o3&&void 0!==arguments[3])||arguments[3],i=(e="string"==typeof e?e.split("."):a.call(e)).pop();null!=(t=f(t,e,!0))&&(C(t)||T(t))&&null!=i&&(r&&null==n?delete t[i]:t[i]=n)},p=function(t){return null==t?t:C(t)||T(t)?g(t):v("".concat(t),t)},v=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 u(t,t,(function(t){return"string"==typeof t?v(t):t}),(function(){return!1}))},m=function(t,e){for(var n={},r={},i=0;il[1]){u=!1;break}}else if(l instanceof RegExp){if(!l.test(o[s])){u=!1;break}}else if(l instanceof w){for(var c=!1,f=0;f0;){var a=r.shift().split(/\s+/),o=a[0],u=a[1];if(u="desc"===u?-1:1,t[o]{},216:(t,e,n)=>{n.d(e,{PLAYER_VERSION:()=>r});var r=1.14},9:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t,e,n,r,i){var a=null,o=(new Date).getTime();a=setTimeout((function u(){(new Date).getTime()-o>r?"function"==typeof i&&i():t()?e():(clearTimeout(a),a=setTimeout(u,n))}),1)}},4:(t,e,n)=>{var r;n.d(e,{default:()=>i});try{(r=self).self!==r&&void 0!==r.self&&"undefined"!=typeof window&&(r=window)}catch(t){r="undefined"!=typeof globalThis?globalThis:window}const i=r},19:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t,e){return new Promise((function(n,r){var i;null==e&&(e=8e3),(i=document.createElement("script")).src=t,i.async=!0,i.type="text/javascript";var a=null,o=!1,u=function(){i.onerror=i.onreadystatechange=i.onload=null,clearTimeout(a),clearTimeout(l),a=setTimeout((function(){i&&i.parentNode&&i.parentNode.removeChild(i)}),500)},s=function(){var t=i.readyState;o||t&&!/loaded|complete/.test(t)||(o=!0,setTimeout((function(){n(),u()}),1))},l=setTimeout((function(){o=!0,u(),r(new Error("timeout"))}),e);i.onerror=function(t){o=!0,u(),r(t)},i.onreadystatechange=s,i.onload=s,(document.body||document.head).appendChild(i)}))}},17:(__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__(18),getScriptTags=function(t){return t.match(/]*>\s*<\/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(//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(/