1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9867],{4282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(r(75150));t.default={pauseVideo:{acceptableStates:[n.default.ENDED,n.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[n.default.ENDED,n.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[n.default.ENDED,n.default.PLAYING,n.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},6086:(e,t,r)=>{"use strict";r.d(t,{V:()=>f});var n=r(37876),i=r(14232),o=r(5646),a=r(3761),s=r(14453),l=r(42044),u=r(97614),c=r(38924),d=r(17370);let h=o.Ay.div.withConfig({displayName:"Picture__Container",componentId:"sc-l1yr8e-0"})(["position:relative;overflow:hidden;",";"],({$aspectRatio:e})=>e&&`aspect-ratio: ${e}`),p=o.Ay.img.withConfig({displayName:"Picture__Image",componentId:"sc-l1yr8e-1"})([""," width:100%;object-fit:cover;object-position:",";"],c.Pu,({$verticalAlign:e})=>e),f=({src:e,height:t=0,width:r=0,aspectRatio:o,sizes:c={[d.Gy.i]:"100vw"},resizingType:f=l.Ch.Fill,gravity:y,alt:m,className:g,fetchPriority:v,loading:w,onLoad:b})=>{let P=(0,i.useMemo)(()=>a.ll.map(t=>{let r=o?Math.round(t/o):0,n=(0,s.DE)(e,{height:r,width:t,resizingType:f,gravity:y});return`${n} ${t}w`}).join(", "),[o,y,f,e]),E=(0,i.useMemo)(()=>Object.entries(c).reverse().map(([e,t])=>{let r=Number(e),n=0===Number(e);return`${n?"":(0,d.bV)(r)} ${t}`}).join(", "),[c]),_=y===l.rn.Top?u.G.Top:u.G.Center;return(0,n.jsx)(h,{$aspectRatio:o||r/t,className:g,children:(0,n.jsx)(p,{src:e,srcSet:P,sizes:E,$verticalAlign:_,alt:m||"",fetchPriority:v,loading:w,onLoad:b})})}},9867:(e,t,r)=>{"use strict";r.d(t,{G:()=>eV});var n=r(37876),i=r(14232),o=r(5646),a=r(34846),s=r(21845),l=r(38924),u=r(79685),c=r(62550),d=r(15318),h=r(94464),p=r(19436),f=r(62715),y=r(20984),m=r(71671),g=r(27506),v=r(6086),w=r(73401),b=r(68201),P=r(95062),E=r.n(P),_=r(34349),x=r.n(_),C=r(76697),k=r.n(C),j=Object.defineProperty,A=Object.defineProperties,S=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,M=(e,t)=>{for(var r in t||(t={}))I.call(t,r)&&O(e,r,t[r]);if(T)for(var r of T(t))N.call(t,r)&&O(e,r,t[r]);return e},V=(e,t)=>A(e,S(t));function R(e={}){return V(M({},e),{height:0,width:0,playerVars:V(M({},e.playerVars),{autoplay:0,start:0,end:0})})}var F={videoId:E().string,id:E().string,className:E().string,iframeClassName:E().string,style:E().object,title:E().string,loading:E().oneOf(["lazy","eager"]),opts:E().objectOf(E().any),onReady:E().func,onError:E().func,onPlay:E().func,onPause:E().func,onEnd:E().func,onStateChange:E().func,onPlaybackRateChange:E().func,onPlaybackQualityChange:E().func},L=class extends i.Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,r;return null==(r=(t=this.props).onReady)?void 0:r.call(t,e)},this.onPlayerError=e=>{var t,r;return null==(r=(t=this.props).onError)?void 0:r.call(t,e)},this.onPlayerStateChange=e=>{var t,r,n,i,o,a,s,l;switch(null==(r=(t=this.props).onStateChange)||r.call(t,e),e.data){case L.PlayerState.ENDED:null==(i=(n=this.props).onEnd)||i.call(n,e);break;case L.PlayerState.PLAYING:null==(a=(o=this.props).onPlay)||a.call(o,e);break;case L.PlayerState.PAUSED:null==(l=(s=this.props).onPause)||l.call(s,e)}},this.onPlayerPlaybackRateChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackRateChange)?void 0:r.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackQualityChange)?void 0:r.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then(()=>this.destroyPlayerPromise=void 0),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("undefined"==typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);let e=V(M({},this.props.opts),{videoId:this.props.videoId});this.internalPlayer=k()(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then(e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)})},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then(e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")})},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,r,n;if(void 0===this.props.videoId||null===this.props.videoId){null==(e=this.internalPlayer)||e.stopVideo();return}let i=!1,o={videoId:this.props.videoId};if((null==(t=this.props.opts)?void 0:t.playerVars)&&(i=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(o.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(o.endSeconds=this.props.opts.playerVars.end)),i){null==(r=this.internalPlayer)||r.loadVideoById(o);return}null==(n=this.internalPlayer)||n.cueVideoById(o)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(e){let t,r;return t=this,r=function*(){var t,r,n,i,o,a;t=this.props,(e.id!==t.id||e.className!==t.className||(null==(r=e.opts)?void 0:r.width)!==(null==(n=t.opts)?void 0:n.width)||(null==(i=e.opts)?void 0:i.height)!==(null==(o=t.opts)?void 0:o.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title)&&this.updatePlayer(),a=this.props,e.videoId===a.videoId&&x()(R(e.opts),R(a.opts))||(yield this.resetPlayer()),function(e,t){var r,n;if(e.videoId!==t.videoId)return!0;let i=(null==(r=e.opts)?void 0:r.playerVars)||{},o=(null==(n=t.opts)?void 0:n.playerVars)||{};return i.start!==o.start||i.end!==o.end}(e,this.props)&&this.updateVideo()}
1,new Promise((e,n)=>{var i=e=>{try{a(r.next(e))}catch(e){n(e)}},o=e=>{try{a(r.throw(e))}catch(e){n(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,o);a((r=r.apply(t,null)).next())})}componentWillUnmount(){this.destroyPlayer()}render(){return i.createElement("div",{className:this.props.className,style:this.props.style},i.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}};L.propTypes=F,L.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},L.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var $=r(59698);let D="video-play",q=o.Ay.div.withConfig({displayName:"YouTubePlayer__Container",componentId:"sc-sh6ktb-0"})(["height:100%;width:100%;"]),z=(0,o.Ay)(e=>(0,n.jsx)(L,Object.assign({},e))).withConfig({displayName:"YouTubePlayer__Player",componentId:"sc-sh6ktb-1"}
1)(["height:100%;width:100%;"]),U=(0,i.forwardRef)(({src:e,autoplay:t=!1,muted:r=!0,loop:o=!1,controls:a=!1,onEnd:s,onPlay:l,onPause:u,onReady:c,width:d="100%",height:h="100%",className:p},f)=>{let y=(0,i.useRef)(null),m=e?(e=>{let t=e.match(/(?:\/embed\/|v=|shorts\/)([\w-]+)/);return(null==t?void 0:t[1])||null})(e):null,g=(0,i.useCallback)(e=>{y.current=e.target,null==c||c()},[c]),v=(0,i.useCallback)(e=>{0===e.data?null==s||s():1===e.data?(window.dispatchEvent(new CustomEvent(D,{detail:y.current})),null==l||l()):2===e.data&&(null==u||u())},[s,l,u]);(0,i.useImperativeHandle)(f,()=>({play:()=>{var e;return null==(e=y.current)?void 0:e.playVideo()},pause:()=>{var e;return null==(e=y.current)?void 0:e.pauseVideo()},stop:()=>{var e;return null==(e=y.current)?void 0:e.stopVideo()},destroy:()=>{var e;return null==(e=y.current)?void 0:e.destroy()}}));let w={width:String(d),height:String(h),playerVars:{autoplay:+!!t,mute:+!!r,loop:+!!o,playlist:o?m:void 0,controls:a&&!t?1:0,rel:0}};return(0,i.useEffect)(()=>{if(!y.current||$.k)return;let e=e=>{var t;y.current&&e.detail!==y.current&&(null==(t=y.current)||t.pauseVideo())};return window.addEventListener(D,e),()=>window.removeEventListener(D,e)},[y.current]),(0,n.jsx)(q,{className:p,children:m&&(0,n.jsx)(z,{videoId:m,opts:w,onReady:g,onStateChange:v})})});U.displayName="YouTubePlayer";let B=void 0!==r.g&&"[object global]"===({}).toString.call(r.g),W="undefined"!=typeof Bun,Y="undefined"!=typeof Deno,Z="function"==typeof WebSocketPair&&void 0!==caches?.default,H=B||W||Y||Z;function Q(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function G(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function J(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function X(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,r=e.url,n=t||r;if(!n)throw Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n)return`https://vimeo.com/${n}`;if(G(n))return n.replace("http:","https:");if(t)throw TypeError(`â${t}â is not a valid video id.`);throw TypeError(`â${n}â is not a vimeo.com url.`)}let K=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",o="string"==typeof t?[t]:t;return o.forEach(t=>{e[n](t,r)}),{cancel:()=>o.forEach(t=>e[i](t,r))}};function ee(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;let r=t.querySelectorAll("iframe");for(let t=0;t<r.length;t++)if(r[t]&&r[t].contentWindow===e)return r[t];return null}let et=void 0!==Array.prototype.indexOf,er="undefined"!=typeof window&&void 0!==window.postMessage;if(!H&&(!et||!er))throw Error("Sorry, the Vimeo Player API is not available in this browser.");var en="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap_"+o()+"."+o()),arguments.length>0)throw TypeError("WeakMap iterable is not supported")}function r(e,r){if(!i(e)||!t.call(e,"_id"))throw TypeError(r+" method called on incompatible receiver "+typeof e)}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",function(e){if(r(this,"delete"),!i(e))return!1;var t=e[this._id];return!!t&&t[0]===e&&(delete e[this._id],!0)}),n(e.prototype,"get",function(e){if(r(this,"get"),i(e)){var t=e[this._id];if(t&&t[0]===e)return t[1]}}),n(e.prototype,"has",function(e){if(r(this,"has"),!i(e))return!1;var t=e[this._id];return!!t&&t[0]===e}),n(e.prototype,"set",function(e,t){if(r(this,"set"),!i(e))throw TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?o[1]=t:n(e,this._id,[e,t]),this}),n(e,"_polyfill",!0),e}()}function i(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:en);var ei=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e){var t;t="Promise",en[t]=en[t]||function(){var e,t,r,n=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(t){e=function(e,t,r){return e[t]=r,e}}function o(e,n){r.add(e,n),t||(t=i(r.drain))}function a(e){var t,r=typeof e;return null!=e&&("object"==r||"function"==r)&&(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)!function(e,t,r){var n,i;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=a(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=a(e))?o(function(){var n=new d(r);try{t.call(e,function(){l.apply(n,arguments)},function(){u.apply(n,arguments)})}catch(e){u.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&o(s,r))}catch(e){u.call(new d(r),e)}}}function u(e){var t=this;!t.triggered&&(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&o(s,t))}function c(e,t,r,n){for(var i=0;i<t.length;i++)!function(i){e.resolve(t[i]).then(function(e){r(i,e)},n)}(i)}function d(e){this.def=e,this.triggered=!1}function h(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function p(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new h(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&o(s,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){l.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}r=function(){var e,r,n;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,o){n=new i(t,o),r?r.next=n:e=n,r=n,n=void 0},drain:function(){var n=e;for(e=r=t=void 0;n;)n.fn.call(n.self),n=n.next}}}();var f=e({},"constructor",p,!1);return p.prototype=f,e(f,"__NPO__",0,!1),e(p,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)})}),e(p,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),e(p,"all",function(e){var t=this;return"[object Array]"!=n.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var i=e.length,o=Array(i),a=0;c(t,e,function(e,t){o[e]=t,++a===i&&r(o)},n)})}),e(p,"race",function(e){var t=this;return"[object Array]"!=n.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");c(t,e,function(e,t){r(t)},n)})}),p}(),e.exports&&(e.exports=en[t])});let eo=new WeakMap;function ea(e,t,r){let n=eo.get(e.element)||{};t in n||(n[t]=[]),n[t].push(r),eo.set(e.element,n)}function es(e,t){return(eo.get(e.element)||{})[t]||[]}function el(e,t,r){let n=eo.get(e.element)||{};if(!n[t])return!0;
1if(!r)return n[t]=[],eo.set(e.element,n),!0;let i=n[t].indexOf(r);return -1!==i&&n[t].splice(i,1),eo.set(e.element,n),n[t]&&0===n[t].length}function eu(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function ec(e,t,r){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let n={method:t};void 0!==r&&(n.value=r);let i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),e.element.contentWindow.postMessage(n,e.origin)}let ed=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function eh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ed.reduce((t,r)=>{let n=e.getAttribute(`data-vimeo-${r}`);return(n||""===n)&&(t[r]=""===n?1:n),t},t)}function ep(e,t){let{html:r}=e;if(!t)throw TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");let n=document.createElement("div");return n.innerHTML=r,t.appendChild(n.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function ef(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return new Promise((n,i)=>{if(!G(e))throw TypeError(`â${e}â is not a vimeo.com url.`);let o=function(e){let t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),r=(t&&t[1]||"").replace("player.","");for(let e of[".videoji.hk",".vimeo.work",".videoji.cn"])if(r.endsWith(e))return r;return"vimeo.com"}(e),a=`https://${o}/api/oembed.json?url=${encodeURIComponent(e)}`;for(let e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);let s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",a,!0),s.onload=function(){if(404===s.status)return void i(Error(`â${e}â was not found.`));if(403===s.status)return void i(Error(`â${e}â is not embeddable.`));try{let t=JSON.parse(s.responseText);if(403===t.domain_status_code){ep(t,r),i(Error(`â${e}â is not embeddable.`));return}n(t)}catch(e){i(e)}},s.onerror=function(){let e=s.status?` (${s.status})`:"";i(Error(`There was an error fetching the embed code from Vimeo${e}.`))},s.send()})}let ey={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class em extends EventTarget{logger;constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;super(),this.logger=n,this.init(t,e,{...ey,...r})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,r){if(await this.waitForTOReadyState(e,"open"),"viewer"===r.role){await this.updatePlayer(e,t,r);let n=K(e,"change",()=>this.updatePlayer(e,t,r)),i=this.maintainPlaybackPosition(e,t,r);this.addEventListener("disconnect",()=>{i.cancel(),n.cancel()})}else{await this.updateTimingObject(e,t);let r=K(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>r.cancel())}}async updateTimingObject(e,t){let[r,n,i]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:r,velocity:n?0:i})}async updatePlayer(e,t,r){let{position:n,velocity:i}=e.query();"number"==typeof n&&t.setCurrentTime(n),"number"==typeof i&&(0===i?await t.getPaused()===!1&&t.pause():i>0&&(await t.getPaused()===!0&&(await t.play().catch(async e=>{"NotAllowedError"===e.name&&r.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error("Couldn't play the video from TimingSrcConnector. Error:",e)))}),this.updatePlayer(e,t,r)),await t.getPlaybackRate()!==i&&t.setPlaybackRate(i)))}maintainPlaybackPosition(e,t,r){let{allowedDrift:n,maxAllowedDrift:i,minCheckInterval:o,maxRateAdjustment:a,maxTimeToCatchUp:s}=r,l=async()=>
1{if(0===e.query().velocity||await t.getPaused()===!0)return;let r=e.query().position-await t.getCurrentTime(),o=Math.abs(r);if(this.log(`Drift: ${r}`),o>i)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(o>n){let e=o/s;await this.adjustSpeed(t,(e<a?(a-e)/2:a)*Math.sign(r)),this.log("Resync by playbackRate")}},u=setInterval(()=>l(),1e3*Math.min(s,Math.max(o,i)));return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;let r=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${r}`),await e.setPlaybackRate(r),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(r=>{let n=()=>{e.readyState===t?r():e.addEventListener("readystatechange",n,{once:!0})};n()})}}let eg=new WeakMap,ev=new WeakMap,ew={};class eb{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(e){return!!(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(e))throw TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){let t=e.querySelector("iframe");t&&(e=t)}if("IFRAME"===e.nodeName&&!G(e.getAttribute("src")||""))throw Error("The player element passed isnât a Vimeo embed.");if(eg.has(e))return eg.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";let r=new ei((r,n)=>{if(this._onMessage=e=>{if(!G(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);let t=eu(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){let e=Error(t.data.message);e.name=t.data.name,n(e);return}let i=t&&"ready"===t.event,o=t&&"ping"===t.method;if(i||o){this.element.setAttribute("data-ready","true"),r();return}!function(e,t){let r;t=eu(t);let n=[];if(t.event)"error"===t.event&&es(e,t.data.method).forEach(r=>{let n=Error(t.data.message);n.name=t.data.name,r.reject(n),el(e,t.data.method,r)}),n=es(e,`event:${t.event}`),r=t.data;else if(t.method){let i=function(e,t){let r=es(e,t);if(r.length<1)return!1;let n=r.shift();return el(e,t,n),n}(e,t.method);i&&(n.push(i),r=t.value)}n.forEach(t=>{try{if("function"==typeof t)return void t.call(e,r);t.resolve(r)}catch(e){}})}(this,t)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){let r=eh(e,t);ef(X(r),r,e).then(t=>{let r=ep(t,e);return this.element=r,this._originalElement=e,!function(e,t){let r=eo.get(e);eo.set(t,r),eo.delete(e)}(e,r),eg.set(this.element,this),t}).catch(n)}});if(ev.set(this,r),eg.set(this.element,this),"IFRAME"===this.element.nodeName&&ec(this,"ping"),ew.isEnabled){let e=()=>ew.exit();this.fullscreenchangeHandler=()=>{ew.isFullscreen?ea(this,"event:exitFullscreen",e):el(this,"event:exitFullscreen",e),this.ready().then(()=>{ec(this,"fullscreenchange",ew.isFullscreen)})},ew.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return G(e)}callMethod(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(null==e)throw TypeError("You must pass a method name.");return new ei((t,n)=>this.ready().then(()=>{ea(this,e,{resolve:t,reject:n}),0===r.length?r={}:1===r.length&&(r=r[0]),ec(this,e,r)}).catch(n))}get(e){return new ei((t,r)=>(e=Q(e,"get"),this.ready().then(()=>{ea(this,e,{resolve:t,reject:r}),ec(this,e)}).catch(r)))}set(e,t){return new ei((r,n)=>{if(e=Q(e,"set"),null==t)throw TypeError("There must be a value to set.");return this.ready().then(()=>{ea(this,e,{resolve:r,reject:n}),ec(this,e,t)}).catch(n)})}on(e,t){if(!e)throw TypeError("You must pass an event name.");if(!t)throw TypeError("You must pass a callback function.");if("function"!=typeof t)throw TypeError("The callback must be a function.");0===es(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),ea(this,`event:${e}`,t)}off(e,t){if(!e)throw TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw TypeError("The callback must be a function.");el(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){let e=ev.get(this)||new ei((e,t)=>{t(Error("Unknown player. Probably unloaded."))});return ei.resolve(e)}addCuePoint(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e)throw TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:r})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return ew.isEnabled?ew.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return ew.isEnabled?ew.exit():this.callMethod("exitFullscreen")}getFullscreen(){return ew.isEnabled?ei.resolve(ew.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new ei(e=>{if(ev.delete(this),eg.delete(this.element),this._originalElement&&(eg.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");let e=this.element.querySelector("iframe");e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener("message",this._onMessage),ew.isEnabled&&ew.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return ei.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new ei((e,t)=>t(TypeError("Argument must be an array.")));let t=new ei(e=>e(null)),r=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return ei.all(r)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}
1getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw TypeError("A Timing Object must be provided.");await this.ready();let r=new em(this,e,t);return ec(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>ec(this,"notifyTimingObjectDisconnect")),r}}H||(ew=function(){let e=function(){let e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,n=t.length,i={};for(;r<n;r++)if((e=t[r])&&e[1]in document){for(r=0;r<e.length;r++)i[t[0][r]]=e[r];return i}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},r={request:t=>new Promise((n,i)=>{let o=function(){r.off("fullscreenchange",o),n()};r.on("fullscreenchange",o);let a=(t=t||document.documentElement)[e.requestFullscreen]();a instanceof Promise&&a.then(o).catch(i)}),exit:()=>new Promise((t,n)=>{if(!r.isFullscreen)return void t();let i=function(){r.off("fullscreenchange",i),t()};r.on("fullscreenchange",i);let o=document[e.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}),on(e,r){let n=t[e];n&&document.addEventListener(n,r)},off(e,r){let n=t[e];n&&document.removeEventListener(n,r)}};return Object.defineProperties(r,{isFullscreen:{get:()=>!!document[e.fullscreenElement]},element:{enumerable:!0,get:()=>document[e.fullscreenElement]},isEnabled:{enumerable:!0,get:()=>!!document[e.fullscreenEnabled]}}),r}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),r=e=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(null!==e.getAttribute("data-vimeo-defer"))return;let t=eh(e),n=X(t);ef(n,t,e).then(t=>ep(t,e)).catch(r)}catch(e){r(e)}})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",t=>{if(!G(t.origin)||!t.data||"spacechange"!==t.data.event)return;let r=t.source?ee(t.source,e):null;r&&(r.parentElement.style.paddingBottom=`${t.data.data[0].bottom}px`)}))}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",t=>{if(!G(t.origin))return;let r=eu(t.data);if(!r||"ready"!==r.event)return;let n=t.source?ee(t.source,e):null;n&&J(n.src)&&new eb(n).callMethod("appendVideoMetadata",window.location.href)}))}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;
1window.VimeoCheckedUrlTimeParam=!0;let t=e=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener("message",r=>{if(!G(r.origin))return;let n=eu(r.data);if(!n||"ready"!==n.event)return;let i=r.source?ee(r.source,e):null;if(i&&J(i.src)){let e=new eb(i);e.getVideoId().then(t=>{let r=RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(r&&r[1]){let t=decodeURI(r[1]);e.setCurrentTime(t)}}).catch(t)}})}(),window.VimeoDRMEmbedsUpdated||(window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",e=>{if(!G(e.origin))return;let t=eu(e.data);if(!t||"drminitfailed"!==t.event)return;let r=e.source?ee(e.source):null;if(!r)return;let n=r.getAttribute("allow")||"";if(!n.includes("encrypted-media")){r.setAttribute("allow",`${n}; encrypted-media`);let e=new URL(r.getAttribute("src"));e.searchParams.set("forcereload","drm"),r.setAttribute("src",e.toString());return}})));var eP=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let eE=o.Ay.div.withConfig({displayName:"VimeoPlayer__Container",componentId:"sc-1krbvpu-0"})(["height:100%;width:100%;& > div{height:100%;width:100%;}"]),e_=(0,i.forwardRef)((e,t)=>{var{src:r,autoplay:o=!1,controls:a=!1,muted:s=!0,loop:l=!1,onEnd:u,onPlay:c,onPause:d,onReady:h}=e,p=eP(e,["src","autoplay","controls","muted","loop","onEnd","onPlay","onPause","onReady"]);let f=(0,i.useRef)(null),y=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!r||!f.current)return;y.current&&(y.current.destroy(),y.current=null);let e=(e=>{let t=e.match(/vimeo\.com\/(?:video\/)?(\d+)/);return(null==t?void 0:t[1])||null})(r);if(!e)return;let t=new URLSearchParams(new URL(r).search).get("h"),n={autoplay:o,loop:l,muted:s,responsive:!0,controls:!!a||!o};t?n.url=`https://player.vimeo.com/video/${e}?h=${t}`:n.id=parseInt(e);let i=new eb(f.current,n);return y.current=i,i.ready().then(()=>null==h?void 0:h()).catch(console.error),i.on("ended",()=>null==u?void 0:u()),i.on("play",()=>{window.dispatchEvent(new CustomEvent(D,{detail:y.current})),null==c||c()}),i.on("pause",()=>null==d?void 0:d()),()=>{i.unload().catch(e=>{console.log(e)}),y.current=null}},[r,o,s]),(0,i.useImperativeHandle)(t,()=>({play:()=>{var e;return null==(e=y.current)?void 0:e.play()},pause:()=>{var e;return null==(e=y.current)?void 0:e.pause()},stop:()=>{var e;return null==(e=y.current)?void 0:e.unload()},destroy:()=>{var e;return null==(e=y.current)?void 0:e.destroy()}})),(0,i.useEffect)(()=>{if(!y.current||$.k)return;let e=e=>{var t;y.current&&e.detail!==y.current&&(null==(t=y.current)||t.pause())};return window.addEventListener(D,e),()=>window.removeEventListener(D,e)},[y.current]),(0,n.jsx)(eE,Object.assign({},p,{ref:f,tabIndex:o?-1:0}))});e_.displayName="VimeoPlayer";let ex=o.Ay.div.withConfig({displayName:"IframeVideo__Container",componentId:"sc-sg7cp9-0"})(["position:relative;height:100%;width:100%;overflow:hidden;background-color:",";"],({$bgColor:e})=>e||s.a.Black),eC=o.Ay.div.withConfig({displayName:"IframeVideo__Overlay",componentId:"sc-sg7cp9-1"})(["",";z-index:10;display:flex;align-items:center;justify-content:center;",""],l.Pu,({$isVisible:e})=>e?l.qG:l.Xn),ek=o.Ay.div.withConfig({displayName:"IframeVideo__PosterContainer",componentId:"sc-sg7cp9-2"})(["",";"," ",";"],l.Pu,({$gradient:e})=>e&&(0,l.yh)(e,45),({$overlay:e})=>e&&(0,l.WK)(e)),ej=(0,o.Ay)(g._).withConfig({displayName:"IframeVideo__ImagePoster",componentId:"sc-sg7cp9-3"})(["height:100%;width:100%;transform:scale(1.01);"]),eA=(0,o.Ay)(v.V).withConfig({displayName:"IframeVideo__PicturePoster",componentId:"sc-sg7cp9-4"})(["height:100%;width:100%;"]),eS=(0,o.Ay)(w.x).withConfig({displayName:"IframeVideo__PlayPauseBtn",componentId:"sc-sg7cp9-5"})(["z-index:50;"]),eT=o.Ay.div.withConfig({displayName:"IframeVideo__CookieConsentContainer",componentId:"sc-sg7cp9-6"})(["position:absolute;z-index:50;top:16px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);display:flex;justify-content:center;",""],({$isVisible:e})=>e?l.qG:l.Xn),eI=o.Ay.p.withConfig({displayName:"IframeVideo__CookieConsent",componentId:"sc-sg7cp9-7"})(["background-color:",";border-radius:8px;padding:8px 16px;text-align:center;line-height:1.4;color:",";"," font-size:1rem;a{"," color:",";text-decoration:underline;text-decoration-color:currentColor;text-decoration-thickness:1px;text-underline-offset:0.22em;}"],s.a.White,s.a.Error,(0,l.ji)(),(0,l.ji)(),s.a.Error),eN=o.Ay.div.withConfig({displayName:"IframeVideo__VideoContainer",componentId:"sc-sg7cp9-8"})(["",";z-index:2;"," ",";"],l.Pu,({$gradient:e})=>e&&(0,l.yh)(e,45),({$overlay:e})=>e&&(0,l.WK)(e)),eO=o.Ay.div.withConfig({displayName:"IframeVideo__PlayerContainer",componentId:"sc-sg7cp9-9"})(["position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);border:none;height:","%;width:","%;"],({$isCover:e,$height:t})=>e?t:100,({$isCover:e,$width:t})=>e?t:100),eM=y.n[p.g._16_9]||16/9,eV=(0,i.forwardRef)(({src:e,originSrc:t,posterSrc:r,isActive:o=!0,enableAnalytics:s=!0,playButtonSize:l=w.y.Small,playButtonColor:p,autoplay:y=!1,controls:g,loop:v=!1,isCover:P=!1,muted:E=!0,bgColor:_,overlay:x,gradient:C,posterSizes:k,className:j,onPlay:A,onStop:S,onPause:T},I)=>{let{t:N}=(0,a.Bd)(),[O,{height:M,width:V}]=(0,u.W)({debounce:100}
1),{unsubscribe:R,subscribe:F}=(0,c.k)(),{event:L}=(0,d.c)(),{isEnabled:$,isEmbeddingAccepted:D,getVideoEmbeddingName:q,renew:z}=(0,h.uC)(),B=(0,i.useRef)(!1),W=(0,i.useRef)(null);(0,i.useImperativeHandle)(I,()=>({play:()=>{var e;return null==(e=W.current)?void 0:e.play()},pause:()=>{var e;return null==(e=W.current)?void 0:e.pause()},stop:()=>{var e;return null==(e=W.current)?void 0:e.stop()},destroy:()=>{var e;return null==(e=W.current)?void 0:e.destroy()}}));let{0:Y,1:Z}=(0,i.useState)(!0),{0:H,1:Q}=(0,i.useState)(y),{0:G,1:J}=(0,i.useState)(!1),X=q(t),K=D(X),ee=H&&$&&!K,et=(0,i.useMemo)(()=>{if(!P)return{width:100,height:100};let e=V/M||1;return{width:e<=eM?100*eM/e:100/eM*e,height:e<=eM?100*eM/e:100/eM*e}},[V,M,P]),er=(0,i.useMemo)(()=>(e=>b.DA.test(e)||b.kB.test(e))(e),[e]),en=()=>{var e;null==(e=W.current)||e.play(),Z(!1)},ei=()=>{var e;null==(e=W.current)||e.stop(),Z(!0)},eo=()=>{B.current=!0,en(),setTimeout(()=>J(!1),250)};(0,i.useEffect)(()=>{o?y&&en():(ei(),Z(!0),J(!1))},[o,y]),(0,i.useEffect)(()=>(F(m.Q.StopVideoPlayback,ei),()=>R(m.Q.StopVideoPlayback)),[F,R]);let ea=!ee&&!y;return(0,n.jsxs)(ex,{ref:O,$bgColor:_,className:j,children:[(0,n.jsxs)(eC,{$isVisible:Y,children:[r&&(0,n.jsx)(ek,{$overlay:x,$gradient:C,children:k?(0,n.jsx)(eA,{src:r,sizes:k}):(0,n.jsx)(ej,{src:r})}),ea&&(0,n.jsx)(eS,{isLoading:G,onPlay:()=>{s&&L("click",{category:f.O.Video,action:f.i.Play,label:e}),Q(!0),$&&setTimeout(()=>z(),0),B.current?en():J(!0)},tabIndex:o?0:-1,size:l,color:p})]}),(0,n.jsx)(eT,{$isVisible:ee,children:(0,n.jsx)(eI,{"data-ccm-optout":X,dangerouslySetInnerHTML:{__html:N("widget.video.cookieconsentMessage")}})}),(0,n.jsx)(eN,{$overlay:x,$gradient:C,children:H?(()=>{let t=er?U:e_,r=!$||$&&K;return(0,n.jsx)(eO,{$isCover:P,$height:et.height,$width:et.width,children:(0,n.jsx)(t,{src:r?e:void 0,ref:W,autoplay:y,controls:g,muted:E,loop:v,onReady:eo,onEnd:()=>void(!v&&(ei(),null==S||S())),onPlay:()=>null==A?void 0:A(),onPause:()=>null==T?void 0:T()},e)})})():null})]})});eV.displayName="IframeVideo"},12741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(r(33634)),i=s(r(26673)),o=s(r(31451)),a=s(r(4282));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("youtube-player"),u={};u.proxyEvents=function(e){var t={},r=function(r){var n="on"+r.slice(0,1).toUpperCase()+r.slice(1);t[n]=function(t){l('event "%s"',n,t),e.trigger(r,t)}},n=!0,i=!1,a=void 0;try{for(var s,u=o.default[Symbol.iterator]();!(n=(s=u.next()).done);n=!0){var c=s.value;r(c)}}catch(e){i=!0,a=e}finally{try{!n&&u.return&&u.return()}finally{if(i)throw a}}return t},u.promisifyPlayer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=function(n){t&&a.default[n]?r[n]=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.then(function(e){var t=a.default[n],i=e.getPlayerState(),o=e[n].apply(e,r);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(i)?new Promise(function(r){e.addEventListener("onStateChange",function n(){var i=e.getPlayerState(),o=void 0;"number"==typeof t.timeout&&(o=setTimeout(function(){e.removeEventListener("onStateChange",n),r()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(i)&&(e.removeEventListener("onStateChange",n),clearTimeout(o),r())})}).then(function(){return o}):o})}:r[n]=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.then(function(e){return e[n].apply(e,r)})}},o=!0,s=!1,l=void 0;try{for(var u,c=i.default[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var d=u.value;n(d)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return r},t.default=u,e.exports=t.default},19436:(e,t,r)=>{"use strict";var n;r.d(t,{g:()=>n}),function(e){e._3_1="3/1",e._21_9="21/9",e._16_9="16/9",e._3_2="3/2",e._4_3="4/3",e._5_4="5/4",e._1_1="1/1",e._4_5="4/5",e._3_4="3/4",e._2_3="2/3",e._9_16="9/16",e._9_21="9/21",e._1_3="1/3",e.Fixed="fixed"}(n||(n={}))},20984:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});var n=r(19436);
1let i={[n.g._3_1]:3,[n.g._21_9]:21/9,[n.g._16_9]:16/9,[n.g._3_2]:1.5,[n.g._4_3]:4/3,[n.g._5_4]:5/4,[n.g._1_1]:1,[n.g._4_5]:.8,[n.g._3_4]:3/4,[n.g._2_3]:2/3,[n.g._9_16]:9/16,[n.g._9_21]:9/21,[n.g._1_3]:1/3,[n.g.Fixed]:void 0}},24627:e=>{function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,n){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof r&&(n=r,r={}),n=n||function(){},o.type=(r=r||{}).type||"text/javascript",o.charset=r.charset||"utf8",o.async=!("async"in r)||!!r.async,o.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(o,r.attrs),r.text&&(o.text=""+r.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,n),o.onload||t(o,n),i.appendChild(o)}},26673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
1setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},27506:(e,t,r)=>{"use strict";r.d(t,{_:()=>P});var n=r(37876),i=r(14232),o=r(10406),a=r(5646),s=r(63853),l=r(14453),u=r(79685),c=r(45270),d=r(42044),h=r(97614),p=r(59698),f=r(38924),y=r(45031),m=r(21845);let g=a.Ay.div.withConfig({displayName:"Image__Container",componentId:"sc-1l0nzji-0"})(["position:relative;overflow:hidden;",";"," ",";"],({$aspectRatio:e})=>e&&`aspect-ratio:${e}`,({$gradient:e})=>e&&(0,f.yh)(e,45),({$overlay:e})=>e&&(0,f.WK)(e)),v=a.Ay.img.withConfig({displayName:"Image__StyledImg",componentId:"sc-1l0nzji-1"})(["",";object-fit:cover;object-position:",";filter:",";transition:filter ",";-moz-user-select:none;-webkit-user-select:none;user-select:none;"],f.Pu,({$verticalAlign:e})=>e,({$isBlured:e})=>e?"blur(10px);":"none",y.xf),w=a.Ay.div.withConfig({displayName:"Image__Size",componentId:"sc-1l0nzji-2"})(["position:absolute;z-index:100;bottom:0;right:0;background-color:rgba(0,0,0,0.7);color:",";font-size:10px;padding:4px;"],m.a.White),b=e=>e%1==0?e:e.toFixed(2),P=(0,i.forwardRef)(({src:e,alt:t="",height:r=0,width:a=0,aspectRatio:f,useImageRatio:y=!1,resizingType:m=d.Ch.Fill,gravity:P,gradient:E,overlay:_,showBlur:x=!0,className:C},k)=>{let[j,{width:A,height:S}]=(0,u.W)(),T=(0,i.useRef)(!0),{0:I,1:N}=(0,i.useState)({height:0,width:0}),{0:O,1:M}=(0,i.useState)({height:0,width:0}),{0:V,1:R}=(0,i.useState)(!1),{0:F,1:L}=(0,i.useState)(!0),{0:$,1:D}=(0,i.useState)(!0),q=(0,s.YQ)(N,100),z=p.k?1:window.devicePixelRatio,U=(0,i.useMemo)(()=>"svg"===e.split(".").pop(),[e]),B=(0,i.useMemo)(()=>{if(0===I.width||0===I.height)return(0,l.DE)(e,{width:240,height:0,resizingType:m});let t=Math.ceil(I.width*z),r=Math.ceil(I.height*z),n=(0,l._Z)({he
1ight:r,width:t,useImageRatio:y});M(n);let i=(0,l.DE)(e,{width:n.width,height:n.height,resizingType:m,gravity:P});return L(!1),i},[I.width,I.height,z,y,e,m,P]);(0,c._)({key:"i",ctrl:!0},{onPressDown:()=>{R(e=>!e)}}),(0,i.useEffect)(()=>{(0!==A||0!==S)&&(!0===T.current?(T.current=!1,N({width:A,height:S})):q({width:A,height:S}))},[A,S,q]);let W=P===d.rn.Top?h.G.Top:h.G.Center;return(0,n.jsxs)(g,{ref:(0,o.P)([j,k]),$aspectRatio:f||a/r,$gradient:E,$overlay:_,className:C,children:[(0,n.jsx)(v,{onLoad:()=>{F||D(!1)},$isBlured:$&&x,$verticalAlign:W,src:U?e:B,alt:t||""}),V&&(0,n.jsxs)(w,{children:["Frame: ",b(I.width)," x ",b(I.height)," (",b(I.width/I.height),")",(0,n.jsx)("br",{}),"DPI: ",b(z),(0,n.jsx)("br",{}),"Image: ",b(I.width*z)," x ",b(I.height*z),(0,n.jsx)("br",{}),"CDN: ",b(O.width)," x ",b(O.height)," (",b(O.width/O.height),")",(0,n.jsx)("br",{})]})]})});P.displayName="Image"},31451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},33153:(e,t,r)=>{var n;function i(e){function r(){if(r.enabled){var e=+new Date;r.diff=e-(n||e),r.prev=n,r.curr=e,n=e;for(var i=Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];i[0]=t.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var a=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;a++;var o=t.formatters[n];if("function"==typeof o){var s=i[a];e=o.call(r,s),i.splice(a,1),a--}return e}),t.formatArgs.call(r,i),(r.log||t.log||console.log.bind(console)).apply(r,i)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r)|0;return t.colors[Math.abs(n)%t.colors.length]}(e),"function"==typeof t.init&&t.init(r),r}(t=e.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var r=("string"==typeof e?e:"").split(/[\s,]+/),n=r.length,i=0;i<n;i++)r[i]&&("-"===(e=r[i].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.substr(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(86734),t.names=[],t.skips=[],t.formatters={}},33634:(e,t,r)=>{var n=r(99742);function i(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG),e}(t=e.exports=r(33153)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=i,t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&"renderer"===window.process.type||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(i())},34349:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;
1if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var n,i,o,a=o[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},50270:e=>{"use strict";e.exports=function(){var e={},t={};return e.on=function(e,r){var n={name:e,handler:r};return t[e]=t[e]||[],t[e].unshift(n),n},e.off=function(e){var r=t[e.name].indexOf(e);-1!==r&&t[e.name].splice(r,1)},e.trigger=function(e,r){var n,i=t[e];if(i)for(n=i.length;n--;)i[n].handler(r)},e}},73236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(r(24627));t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);var r="http:"===window.location.protocol?"http:":"https:";(0,n.default)(r+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)});var i=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){i&&i(),t(window.YT)}})},e.exports=t.default},73401:(e,t,r)=>{"use strict";r.d(t,{y:()=>n,x:()=>C});var n,i=r(37876),o=r(36877),a=r(5027),s=r.n(a),l=r(5646),u=r(32251),c=r(17370),d=r(21845),h=r(38924),p=r(45031),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},m=r(34846),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};!function(e){e.Small="Small",e.Medium="Medium",e.Large="Large"}(n||(n={}));let v=(0,l.i7)(["0%,100%{transform:translate(-50%,-50%) scale(0);}50%{transform:translate(-50%,-50%) scale(1);}"]),w=l.Ay.div.withConfig({displayName:"PlayPauseButton__Container",componentId:"sc-fu95lp-0"})(["position:relative;z-index:3;",";"],s()("size",{[n.Small]:(0,l.AH)(["height:64px;width:64px;"]),[n.Medium]:(0,l.AH)(["height:64px;width:64px;@media ","{height:96px;width:96px;}"],c.bp.d),[n.Large]:(0,l.AH)(["width:96px;height:96px;@media ","{height:144px;width:144px;}"],c.bp.p)})),b=l.Ay.div.withConfig({displayName:"PlayPauseButton__Loader",componentId:"sc-fu95lp-1"})(['position:relative;height:100%;width:100%;&::before,&::after{content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;border-radius:50%;opacity:0.6;background-color:',";animation:"," 2s infinite ease-in-out;}&:after{animation-delay:-1s;}"],d.a.Black,v),P=l.Ay.button.withConfig({displayName:"PlayPauseButton__Button",componentId:"sc-fu95lp-2"})([""," "," ",""],h.GS,h.CH,({theme:e})=>{let t=e.color||e.buttonColor||e.design.colorSchema.highlightColor;return(0,l.AH)(["height:100%;width:100%;border-radius:50%;background-color:",";transition:background-color ",";&:hover{background-color:",";}"],(0,o.B3)(t,.7),p.W_,(0,o.B3)(t,.9))}),E=(0,l.AH)(["height:50%;width:50%;fill:",";"],d.a.White),_=(0,l.Ay)(e=>{var{radius:t=0}=e,r=f(e,["radius"]);let n={0:"M63.991,32.005s.005-.007,0-.01L14.009,3.137s-.009,0-.009.005v57.715c0,.006.004.008.009.005l49.983-28.858Z",1:"M62.268,33c.953-.55.953-1.45,0-2L15.732,4.132c-.953-.55-1.732-.1-1.732,1v53.735c0,1.1.779,1.55,1.732,1l46.536-26.868Z",2:"M60.536,34c1.905-1.1,1.905-2.9,0-4L17.464,5.132c-1.905-1.1-3.464-.2-3.464,2v49.735c0,2.2,1.559,3.1,3.464,2l43.072-24.868Z",3:"M58.804,35c2.858-1.65,2.858-4.35,0-6L19.196,6.132c-2.858-1.65-5.196-.3-5.196,3v45.735c0,3.3,2.338,4.65,5.196,3l39.608-22.868Z",4:"M57.072,36c3.811-2.2,3.811-5.8,0-8L20.928,7.132c-3.811-2.2-6.928-.4-6.928,4v41.735c0,4.4,3.118,6.2,6.928,4l36.144-20.868Z",5:"M55.34,37c4.763-2.75,4.763-7.25,0-10L22.66,8.132c-4.763-2.75-8.66-.5-8.66,5v37.735c0,5.5,3.897,7.75,8.66,5l32.679-18.868Z"};return(0,i.jsx)("svg",Object.assign({version:"1.1",viewBox:"0 0 64 64"},r,{children:(0,i.jsx)("path",{d:n[t]||n[0]})}))}).withConfig({displayName:"PlayPauseButton__Play",componentId:"sc-fu95lp-3"})(["",""],E),x=(0,l.Ay)(e=>{var{radius:t=0}=e,r=y(e,["radius"]);
1let n={0:"M28 50H18V14h10v36Zm18-36H36v36h10V14Z",1:"M27 50h-8a1 1 0 0 1-1-1V15a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v34a1 1 0 0 1-1 1Zm19-1V15a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1Z",2:"M26 50h-6a2 2 0 0 1-2-2V16c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2Zm20-2V16a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2v32c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2Z",3:"M25 50h-4a3 3 0 0 1-3-3V17a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v30a3 3 0 0 1-3 3Zm21-3V17a3 3 0 0 0-3-3h-4a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3Z",4:"M24 50h-2a4 4 0 0 1-4-4V18a4 4 0 0 1 4-4h2a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4Zm22-4V18a4 4 0 0 0-4-4h-2a4 4 0 0 0-4 4v28a4 4 0 0 0 4 4h2a4 4 0 0 0 4-4Z",5:"M23 50a5 5 0 0 1-5-5V19a5 5 0 0 1 10 0v26a5 5 0 0 1-5 5Zm23-5V19a5 5 0 0 0-10 0v26a5 5 0 0 0 10 0Z"};return(0,i.jsx)("svg",Object.assign({version:"1.1",viewBox:"0 0 64 64"},r,{children:(0,i.jsx)("path",{d:n[t]||n[0]})}))}).withConfig({displayName:"PlayPauseButton__Pause",componentId:"sc-fu95lp-4"})(["",""],E),C=e=>{var{className:t,color:r,size:o=n.Small,isLoading:a=!1,isPause:s=!1,onPlay:c,onPause:d}=e,h=g(e,["className","color","size","isLoading","isPause","onPlay","onPause"]);let{t:p}=(0,m.Bd)(),f=(0,u.N)().design.shape.radius||0,y=p(s?"video.controls.aria-label.pause":"video.controls.aria-label.play");return(0,i.jsx)(l.NP,{theme:{size:o,color:r},children:(0,i.jsx)(w,{className:t,children:a?(0,i.jsx)(b,{}):(0,i.jsx)(P,Object.assign({onClick:s?d:c,type:"button","aria-label":y},h,{children:s?(0,i.jsx)(x,{radius:f}):(0,i.jsx)(_,{radius:f})}))})})}},75150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},76697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=s(r(50270)),o=s(r(73236)),a=s(r(12741));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,i.default)();if(l||(l=(0,o.default)(s)),t.events)throw Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(s);var u=new Promise(function(r){(void 0===e?"undefined":n(e))==="object"&&e.playVideo instanceof Function?r(e):l.then(function(n){var i=new n.Player(e,t);return s.on("ready",function(){r(i)}),null})}),c=a.default.promisifyPlayer(u,r);return c.on=s.on,c.off=s.off,c},e.exports=t.default},86734:e=>{function t(e,t,r){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}e.exports=function(e,r){r=r||{};var n,i,o=typeof e;if("string"===o&&e.length>0){var a=e;if(!((a=String(a)).length>100)){var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(s){var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:break}}}return}if("number"===o&&!1===isNaN(e)){return r.long?t(n=e,864e5,"day")||t(n,36e5,"hour")||t(n,6e4,"minute")||t(n,1e3,"second")||n+" ms":(i=e)>=864e5?Math.round(i/864e5)+"d":i>=36e5?Math.round(i/36e5)+"h":i>=6e4?Math.round(i/6e4)+"m":i>=1e3?Math.round(i/1e3)+"s":i+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.