1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[307],{307:function(e,t,r){let n=void 0!==r.g&&"[object global]"===({}).toString.call(r.g),i="undefined"!=typeof Bun,o="undefined"!=typeof Deno,a="function"==typeof WebSocketPair&&void 0!==caches?.default,l=n||i||o||a;function s(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function u(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function c(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function d(){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(u(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 h=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 f(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 m=void 0!==Array.prototype.indexOf,p="undefined"!=typeof window&&void 0!==window.postMessage;if(!l&&(!m||!p))throw Error("Sorry, the Vimeo Player API is not available in this browser.");var g,y,w,v,b="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:b);var E=(g=v={exports:{}},v.exports,y="Promise",w=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 l(){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 s(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(){s.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(l,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(l,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 f(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(l,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){s.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 m=e({},"constructor",f,!1);return f.prototype=m,e(m,"__NPO__",0,!1),e(f,"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(f,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),e(f,"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(f,"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)})}),f}
1,b[y]=b[y]||w(),g.exports&&(g.exports=b[y]),v.exports);let T=new WeakMap;function k(e,t,r){let n=T.get(e.element)||{};t in n||(n[t]=[]),n[t].push(r),T.set(e.element,n)}function P(e,t){return(T.get(e.element)||{})[t]||[]}function _(e,t,r){let n=T.get(e.element)||{};if(!n[t])return!0;if(!r)return n[t]=[],T.set(e.element,n),!0;let i=n[t].indexOf(r);return -1!==i&&n[t].splice(i,1),T.set(e.element,n),n[t]&&0===n[t].length}function A(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function M(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 C=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","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 j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C.reduce((t,r)=>{let n=e.getAttribute(`data-vimeo-${r}`);return(n||""===n)&&(t[r]=""===n?1:n),t},t)}function x(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 F(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(!u(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 l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",a,!0),l.onload=function(){if(404===l.status){i(Error(`â${e}â was not found.`));return}if(403===l.status){i(Error(`â${e}â is not embeddable.`));return}try{let t=JSON.parse(l.responseText);if(403===t.domain_status_code){x(t,r),i(Error(`â${e}â is not embeddable.`));return}n(t)}catch(e){i(e)}},l.onerror=function(){let e=l.status?` (${l.status})`:"";i(Error(`There was an error fetching the embed code from Vimeo${e}.`))},l.send()})}let N={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class S 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,{...N,...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=h(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=h(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:l}=r,s=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/l;await this.adjustSpeed(t,(e<a?(a-e)/2:a)*Math.sign(r)),this.log("Resync by playbackRate")}},u=setInterval(()=>s(),1e3*Math.min(l,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 R=new WeakMap,q=new WeakMap,$={};class O{constructor(e){var t;let r=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)),!((t=e)&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView))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&&!u(e.getAttribute("src")||""))throw Error("The player element passed isnât a Vimeo embed.");if(R.has(e))return R.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";let n=new E((t,n)=>{if(this._onMessage=e=>{if(!u(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);let r=A(e.data);if(r&&"error"===r.event&&r.data&&"ready"===r.data.method){let e=Error(r.data.message);e.name=r.data.name,n(e);return}let i=r&&"ready"===r.event,o=r&&"ping"===r.method;if(i||o){this.element.setAttribute("data-ready","true"),t();return}!function(e,t){let r;t=A(t);let n=[];if(t.event)"error"===t.event&&P(e,t.data.method).forEach(r=>{let n=Error(t.data.message);n.name=t.data.name,r.reject(n),_(e,t.data.method,r)}),n=P(e,`event:${t.event}`),r=t.data;else if(t.method){let i=function(e,t){let r=P(e,t);if(r.length<1)return!1;let n=r.shift();return _(e,t,n),n}(e,t.method);i&&(n.push(i),r=t.value)}n.forEach(t=>{try{if("function"==typeof t){t.call(e,r);return}t.resolve(r)}catch(e){}})}(this,r)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){let t=j(e,r);F(d(t),t,e).then(t=>{let r=x(t,e);return this.element=r,this._originalElement=e,!function(e,t){let r=T.get(e);T.set(t,r),T.delete(e)}(e,r),R.set(this.element,this),t}).catch(n)}});if(q.set(this,n),R.set(this.element,this),"IFRAME"===this.element.nodeName&&M(this,"ping"),$.isEnabled){let e=()=>$.exit();this.fullscreenchangeHandler=()=>{$.isFullscreen?k(this,"event:exitFullscreen",e):_(this,"event:exitFullscreen",e),this.ready().then(()=>{M(this,"fullscreenchange",$.isFullscreen)})},$.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return u(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 E((t,n)=>this.ready().then(()=>{k(this,e,{resolve:t,reject:n}),0===r.length?r={}:1===r.length&&(r=r[0]),M(this,e,r)}).catch(n))}get(e){return new E((t,r)=>(e=s(e,"get"),this.ready().then(()=>{k(this,e,{resolve:t,reject:r}),M(this,e)}).catch(r)))}set(e,t){return new E((r,n)=>{if(e=s(e,"set"),null==t)throw TypeError("There must be a value to set.");return this.ready().then(()=>{k(this,e,{resolve:r,reject:n}),M(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===P(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),k(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.");_(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){let e=q.get(this)||new E((e,t)=>{t(Error("Unknown player. Probably unloaded."))});return E.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 $.isEnabled?$.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return $.isEnabled?$.exit():this.callMethod("exitFullscreen")}getFullscreen(){return $.isEnabled?E.resolve($.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 E(e=>{if(q.delete(this),R.delete(this.element),this._originalElement&&(R.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),$.isEnabled&&$.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 E.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 E((e,t)=>t(TypeError("Argument must be an array.")));let t=new E(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 E.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 S(this,e,t);return M(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>M(this,"notifyTimingObjectDisconnect")),r}}l||($=function(){let e=function(){let e;let 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){t();return}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=j(e),n=d(t);F(n,t,e).then(t=>x(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(!u(t.origin)||!t.data||"spacechange"!==t.data.event)return;let r=t.source?f(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(!u(t.origin))return;let r=A(t.data);if(!r||"ready"!==r.event)return;let n=t.source?f(t.source,e):null;n&&c(n.src)&&new O(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(!u(r.origin))return;let n=A(r.data);if(!n||"ready"!==n.event)return;let i=r.source?f(r.source,e):null;if(i&&c(i.src)){let e=new O(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(!u(e.origin))return;let t=A(e.data);if(!t||"drminitfailed"!==t.event)return;let r=e.source?f(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}}))),t.Z=O}}]);
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.