PageSourceSearch

https://www.notion.com/_next/static/chunks/12au3f4rwwlk7.js

js notion.com collected 2026-09-24 08:25:02 UTC 35,491 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="9606e834-87fc-c130-cf49-a1d30a19c3cc")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,438988,170339,e=>{"use strict";var t=e.i(805814);e.s(["Lock",()=>t.LockIcon],438988);var n=e.i(164290);e.s(["PlaybackPause",()=>n.PlaybackPauseIcon],170339)},447389,e=>{"use strict";var t=e.i(246131);e.s(["PlaybackPlay",()=>t.PlaybackPlayIcon])},577330,150705,52814,e=>{"use strict";var t,n,r,o,a=e.i(968946),i=e.i(189891),u=e.i(420019),l=e.i(533337),s=e.i(946409);e.i(466173);var c=e.i(438988),d=e.i(170339),f=e.i(447389),m=e.i(813489),h=e.i(508882),v=e.i(882734),y=e.i(675813),p=e.i(636427),g=e.i(624224),b=e.i(261266),w=e.i(611900),k=e.i(459642),P=e.i(507450);e.i(572766);var _=e.i(789746);e.i(472694);var E=e.i(958719),T=e.i(532443),S=e.i(774567);function V(e){return null==e||!Number.isFinite(e)||e<=0?null:Math.floor(e)}var F="[object global]"===({}).toString.call(e.g);function M(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function C(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function N(e){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(e)}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)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(r))&&isFinite(r)&&Math.floor(r)==r)return"https://vimeo.com/".concat(r);if(C(r))return r.replace("http:","https:");if(t)throw TypeError("“".concat(t,"” is not a valid video id."));throw TypeError("“".concat(r,"” is not a vimeo.com url."))}var j=void 0!==Array.prototype.indexOf,I="u">typeof window&&void 0!==window.postMessage;if(!F&&(!j||!I))throw Error("Sorry, the Vimeo Player API is not available in this browser.");var R="u">typeof globalThis?globalThis:"u">typeof window?window:e.g;!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+a()+"."+a()),arguments.length>0)throw TypeError("WeakMap iterable is not supported")}function n(e,n){if(!o(e)||!t.call(e,"_id"))throw TypeError(n+" method called on incompatible receiver "+typeof e)}function a(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",function(e){if(n(this,"delete"),!o(e))return!1;var t=e[this._id];return!!t&&t[0]===e&&(delete e[this._id],!0)}),r(e.prototype,"get",function(e){if(n(this,"get"),o(e)){var t=e[this._id];if(t&&t[0]===e)return t[1]}}),r(e.prototype,"has",function(e){if(n(this,"has"),!o(e))return!1;var t=e[this._id];return!!t&&t[0]===e}),r(e.prototype,"set",function(e,t){if(n(this,"set"),!o(e))throw TypeError("Invalid value used as weak map key");var a=e[this._id];return a&&a[0]===e?a[1]=t:r(e,this._id,[e,t]),this}),r(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:R);var q=(function(e){var t;t="Promise",R[t]=R[t]||function(){var e,t,n,r=Object.prototype.toString,o="u">typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function a(e,r){n.add(e,r),t||(t=o(n.drain))}function i(e){var t,n=typeof e;return null!=e&&("object"==n||"function"==n)&&(t=e.then),"function"==typeof t&&t}function u(){for(var e=0;e<this.chain.length;e++)!function(e,t,n){var r,o;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(o=i(r))?o.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.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,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=i(e))?a(function(){var r=new d(n);try{t.call(e,function(){l.apply(r,arguments)},function(){s.apply(r,arguments)})}catch(e){s.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>
20&&a(u,n))}catch(e){s.call(new d(n),e)}}}function s(e){var t=this;!t.triggered&&(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&a(u,t))}function c(e,t,n,r){for(var o=0;o<t.length;o++)!function(o){e.resolve(t[o]).then(function(e){n(o,e)},r)}(o)}function d(e){this.def=e,this.triggered=!1}function f(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(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 f(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}),t.chain.push(r),0!==t.state&&a(u,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){l.call(t,e)},function(e){s.call(t,e)})}catch(e){s.call(t,e)}}n=function(){var e,n,r;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,a){r=new o(t,a),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var h=e({},"constructor",m,!1);return m.prototype=h,e(h,"__NPO__",0,!1),e(m,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),e(m,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(m,"all",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var o=e.length,a=Array(o),i=0;c(t,e,function(e,t){a[e]=t,++i===o&&n(a)},r)})}),e(m,"race",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");c(t,e,function(e,t){n(t)},r)})}),m}(),e.exports&&(e.exports=R[t])}(t={exports:{}},t.exports),t.exports),A=new WeakMap;function L(e,t,n){var r=A.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),A.set(e.element,r)}function O(e,t){return(A.get(e.element)||{})[t]||[]}function B(e,t,n){var r=A.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],A.set(e.element,r),!0;var o=r[t].indexOf(n);return -1!==o&&r[t].splice(o,1),A.set(e.element,r),r[t]&&0===r[t].length}function Z(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function $(e,t,n){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var r={method:t};void 0!==n&&(r.value=n);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}var W=["autopause","autoplay","background","byline","color","controls","dnt","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W.reduce(function(t,n){var r=e.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function z(e,t){var n=e.html;if(!t)throw TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,o){if(!C(e))throw TypeError("“".concat(e,"” is not a vimeo.com url."));var a="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(e));for(var i in t)t.hasOwnProperty(i)&&(a+="&".concat(i,"=").concat(encodeURIComponent(t[i])));var u="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;u.open("GET",a,!0),u.onload=function(){if(404===u.status)return void o(Error("“".concat(e,"” was not found.")));if(403===u.status)return void o(Error("“".concat(e,"” is not embeddable.")));try{var t=JSON.parse(u.responseText);if(403===t.domain_status_code){z(t,n),o(Error("“".concat(e,"” is not embeddable.")));return}r(t)}catch(e){o(e)}},u.onerror=function(){var e=u.status?" (".concat(u.status,")"):"";o(Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},u.send()})}var Y=new WeakMap,H=new WeakMap,J={},Q=function(){var e;function t(e){var n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof t))throw TypeError("Cannot call a class as a function");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]),"u">typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!((n=e)&&1===n.nodeType&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView))throw TypeError("You must pass either a valid element or a valid id.");
2if("IFRAME"!==e.nodeName){var a=e.querySelector("iframe");a&&(e=a)}if("IFRAME"===e.nodeName&&!C(e.getAttribute("src")||""))throw Error("The player element passed isn’t a Vimeo embed.");if(Y.has(e))return Y.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var i=new q(function(t,n){if(r._onMessage=function(e){if(C(e.origin)&&r.element.contentWindow===e.source){"*"===r.origin&&(r.origin=e.origin);var o=Z(e.data);if(o&&"error"===o.event&&o.data&&"ready"===o.data.method){var a=Error(o.data.message);a.name=o.data.name,n(a);return}var i=o&&"ready"===o.event,u=o&&"ping"===o.method;if(i||u){r.element.setAttribute("data-ready","true"),t();return}var l=o;l=Z(l);var s,c=[];if(l.event)"error"===l.event&&O(r,l.data.method).forEach(function(e){var t=Error(l.data.message);t.name=l.data.name,e.reject(t),B(r,l.data.method,e)}),c=O(r,"event:".concat(l.event)),s=l.data;else if(l.method){var d=function(e,t){var n=O(e,t);if(n.length<1)return!1;var r=n.shift();return B(e,t,r),r}(r,l.method);d&&(c.push(d),s=l.value)}c.forEach(function(e){try{if("function"==typeof e)return void e.call(r,s);e.resolve(s)}catch(e){}})}},r._window.addEventListener("message",r._onMessage),"IFRAME"!==r.element.nodeName){var a=U(e,o);D(x(a),a,e).then(function(t){var n,o,a=z(t,e);return r.element=a,r._originalElement=e,n=e,o=A.get(n),A.set(a,o),A.delete(n),Y.set(r.element,r),t}).catch(n)}});if(H.set(this,i),Y.set(this.element,this),"IFRAME"===this.element.nodeName&&$(this,"ping"),J.isEnabled){var u=function(){return J.exit()};this.fullscreenchangeHandler=function(){J.isFullscreen?L(r,"event:exitFullscreen",u):B(r,"event:exitFullscreen",u),r.ready().then(function(){$(r,"fullscreenchange",J.isFullscreen)})},J.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return e=[{key:"callMethod",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new q(function(r,o){return t.ready().then(function(){L(t,e,{resolve:r,reject:o}),$(t,e,n)}).catch(o)})}},{key:"get",value:function(e){var t=this;return new q(function(n,r){return e=M(e,"get"),t.ready().then(function(){L(t,e,{resolve:n,reject:r}),$(t,e)}).catch(r)})}},{key:"set",value:function(e,t){var n=this;return new q(function(r,o){if(e=M(e,"set"),null==t)throw TypeError("There must be a value to set.");return n.ready().then(function(){L(n,e,{resolve:r,reject:o}),$(n,e,t)}).catch(o)})}},{key:"on",value:function(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===O(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),L(this,"event:".concat(e),t)}},{key:"off",value:function(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.");B(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=H.get(this)||new q(function(e,t){t(Error("Unknown player. Probably unloaded."))});return q.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return J.isEnabled?J.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return J.isEnabled?J.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return J.isEnabled?q.resolve(J.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new q(function(t){if(H.delete(e),Y.delete(e.element),e._originalElement&&(Y.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var n=e.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&e._originalElement&&e._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}e._window.removeEventListener("message",e._onMessage),J.isEnabled&&J.off("fullscreenchange",e.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}
2},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();F||(r={fullscreenchange:(n=function(){for(var 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"]],n=0,r=t.length,o={};n<r;n++)if((e=t[n])&&e[1]in document){for(n=0;n<e.length;n++)o[t[0][n]]=e[n];return o}return!1}()).fullscreenchange,fullscreenerror:n.fullscreenerror},Object.defineProperties(o={request:function(e){return new Promise(function(t,r){var a=function e(){o.off("fullscreenchange",e),t()};o.on("fullscreenchange",a);var i=(e=e||document.documentElement)[n.requestFullscreen]();i instanceof Promise&&i.then(a).catch(r)})},exit:function(){return new Promise(function(e,t){if(!o.isFullscreen)return void e();var r=function t(){o.off("fullscreenchange",t),e()};o.on("fullscreenchange",r);var a=document[n.exitFullscreen]();a instanceof Promise&&a.then(r).catch(t)})},on:function(e,t){var n=r[e];n&&document.addEventListener(n,t)},off:function(e,t){var n=r[e];n&&document.removeEventListener(n,t)}},{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),J=o,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach(function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=U(e),r=x(t);D(r,t,e).then(function(t){return z(t,e)}).catch(n)}catch(e){n(e)}})}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(C(t.origin)&&t.data&&"spacechange"===t.data.event){for(var n=e.querySelectorAll("iframe"),r=0;r<n.length;r++)if(n[r].contentWindow===t.source){n[r].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(C(t.origin)){var n=Z(t.data);if(n&&"ready"===n.event)for(var r=e.querySelectorAll("iframe"),o=0;o<r.length;o++){var a=r[o],i=a.contentWindow===t.source;N(a.src)&&i&&new Q(a).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
2=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(n){if(C(n.origin)){var r=Z(n.data);if(r&&"ready"===r.event)for(var o=e.querySelectorAll("iframe"),a=0;a<o.length;a++){var i=o[a],u=i.contentWindow===n.source;N(i.src)&&u&&function(){var e=new Q(i);e.getVideoId().then(function(t){var n=new RegExp("[?&]vimeo_t_".concat(t,"=([^&#]*)")).exec(window.location.href);if(n&&n[1]){var r=decodeURI(n[1]);e.setCurrentTime(r)}}).catch(t)}()}}})}}());var X=e.i(824799),G=e.i(858804);let K=(0,l.forwardRef)(function({videoId:e,autoplay:t,loop:n=!1,controls:r=!0,background:o=!1,allowFullScreen:u=!0,dnt:s=!0,muted:c=!0,playsinline:d,allow:f="autoplay; fullscreen; encrypted-media",className:m,onPlay:h,onPause:v,onEnded:y,...p},g){let b=(0,l.useRef)(null),w=(0,l.useRef)(null),k=(0,G.useMergeRefs)(w,g),P=(0,l.useMemo)(()=>(0,X.getVimeoPlayerUrl)(e,{autoplay:t,background:o,controls:r,loop:n,muted:c,dnt:s,playsinline:d}),[e,t,o,r,n,c,s,d]);return(0,l.useEffect)(()=>{if(!b.current)return;let e=b.current;if(!e.src)return;let t=new Q(e);k(t),h&&t.on("play",h),v&&t.on("pause",v),y&&t.on("ended",y)},[t,h,v,y,k]),(0,a.jsx)("iframe",{...p,className:(0,i.default)(S.videoIframe,m),src:P,allowFullScreen:u,allow:f,ref:b})});e.s(["Vimeo",0,K],150705);var ee=e.i(812187),et=e.i(449403);let en="https://www.youtube-nocookie.com",er=ee.union([ee.object({event:ee.literal("onReady")}),ee.object({event:ee.literal("onError")}),ee.object({event:ee.literal("onStateChange"),info:ee.number()}),ee.object({event:ee.literal("infoDelivery"),info:ee.object({currentTime:ee.optional(ee.number()),duration:ee.optional(ee.number()),playerState:ee.optional(ee.number())})})]),eo=(0,l.forwardRef)(function({videoId:e,title:t,autoplay:n,controls:r,loop:o,muted:u,playsinline:s,startTimeSeconds:c,id:d,className:f,onPlay:m,onPause:h,onEnded:v,onError:y},p){let g=(0,l.useRef)(null),[b,w]=(0,l.useState)(),k=(0,l.useRef)(0),P=(0,l.useRef)(0),_=(0,l.useRef)(null),E=(0,l.useRef)(!1),T=(0,l.useRef)(!1),F=(0,l.useRef)(null),M=(0,l.useRef)([]),C=(0,l.useRef)(!1);(0,l.useEffect)(()=>{w(window.location.origin)},[]);let N=(0,l.useMemo)(()=>(function({videoId:e,autoplay:t,controls:n,loop:r,muted:o,playsinline:a,startTimeSeconds:i,clientOrigin:u}){let l=new URLSearchParams({enablejsapi:"1",autoplay:t?"1":"0",mute:o?"1":"0",playsinline:a?"1":"0",controls:n?"1":"0",loop:r?"1":"0",modestbranding:"1",rel:"0"});r&&l.set("playlist",e);let s=V(i);return null!==s&&l.set("start",String(s)),u&&l.set("origin",u),`${en}/embed/${e}?${l.toString()}`})({videoId:e,autoplay:n,muted:u,playsinline:s,controls:r,loop:o,startTimeSeconds:c,clientOrigin:b}),[e,n,u,s,r,o,c,b]);(0,l.useEffect)(()=>{k.current=0,P.current=0,_.current=null,E.current=!1,C.current=!1},[N]);let x=(0,l.useCallback)(e=>{g.current?.contentWindow?.postMessage(et.JSONStringified.serialize(e),en)},[]),j=(0,l.useCallback)(e=>{x({event:"command",func:"seekTo",args:[e,!0]})},[x]),I=(0,l.useCallback)(()=>{x({event:"command",func:"playVideo",args:[]})},[x]);(0,l.useImperativeHandle)(p,()=>({async play(){T.current=!0,I()},async pause(){T.current=!1,x({event:"command",func:"pauseVideo",args:[]})},async setCurrentTime(e){if(!E.current){F.current=e;return}j(e)},getCurrentTime:async()=>k.current,getDuration:async()=>P.current>0?P.current:new Promise(e=>{M.current.push(e)})}),[x,I,j]);let R=(0,l.useCallback)(e=>{if(e!==_.current)switch(_.current=e,e){case 1:T.current=!1,m?.();break;case 2:h?.();break;case 0:v?.()}},[m,h,v]);return(0,l.useEffect)(()=>{let e=e=>{if(e.origin!==en||e.source!==g.current?.contentWindow)return;let t=function(e){let t=e;if("string"==typeof e)try{t=JSON.parse(e)}catch(e){if(e instanceof SyntaxError)return null;throw e}let n=ee.safeParse(er,t);return n.success?n.output:null}(e.data);if(t)switch(C.current=!0,t.event){case"onReady":E.current=!0,null!==F.current&&(j(F.current),F.current=null),T.current&&I();break;case"onError":y?.();break;case"onStateChange":R(t.info);break;case"infoDelivery":{let{currentTime:e,duration:n,playerState:r}=t.info;if("number"==typeof e){let t=e-k.current;k.current>0&&t>0&&t<2&&R(1),k.current=e}if("number"==typeof n&&n>0){P.current=n;let e=M.current;for(let t of(M.current=[],e))t(n)}"number"==typeof r&&R(r)}}};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[I,j,R,y]),(0,l.useEffect)(()=>{let e=0,t=window.setInterval(()=>{(e+=1,C.current||e>40)?window.clearInterval(t):x({event:"listening",id:1,channel:"widget"})},300);return()=>window.clearInterval(t)},[x,N]),(0,a.jsx)("iframe",{id:d,ref:g,className:(0,i.default)(S.videoIframe,f),src:N,title:t,allow:"autoplay; encrypted-media; picture-in-picture; fullscreen",allowFullScreen:!0})}),ea=(0,l.forwardRef)(function({id:e,className:t,videoId:n,customPosterSrc:r,host:o="youtube",autoplay:F=!1,playsinline:M=!0,aspectRatio:C=.5625,controls:N="enabled",loop:x=!1,muted:j,altText:I="",showPoster:R,hasShadow:q,disableBorderRadius:A,thumbnailOnly:L,isLocked:O,onTimeUpdate:B,startTimeSeconds:Z},$){let{airGapInitialized:W}=(0,P.useConsentManager)(),U=(0,u.useRouter)(),z=(0,v.useIntl)(),D=(0,k.useL
2ocale)(),[Y,H]=(0,l.useState)(F),[J,Q]=(0,l.useState)(null),[X,G]=(0,l.useState)(!1),[ee,et]=(0,l.useState)(!1),[en,er]=(0,l.useState)(!1),ea=(0,l.useRef)(!1);ea.current=!!(ea.current||Y);let ei=!!(j??F),eu=(0,m.getLocalizedAssetPath)(n,D),el=(0,l.useMemo)(()=>z.formatMessage({id:"VideoPlayer.lockedMessage",defaultMessage:"Please register to unlock this video.",description:"Notice that appears on notion.so/webinars/:slug when clicking on a video that has not been unlocked."}),[z]),es=r?(0,m.getLocalizedAssetPath)(r,D):void 0,[ec,ed]=(0,l.useState)(null),[ef,em]=(0,l.useState)(null),eh=(0,l.useMemo)(()=>{switch(o){case"youtube":return ec??void 0;case"vimeo":return W&&ef?{getCurrentTime:()=>ef.getCurrentTime(),async setCurrentTime(e){await ef.setCurrentTime(e)},getDuration:()=>ef.getDuration(),async play(){await ef.play()},async pause(){await ef.pause()}}:void 0}},[o,ec,ef,W]),ev=(0,l.useMemo)(()=>{if(!eh)return"";switch(o){case"youtube":return(0,h.getYouTubePosterFromVideoId)(eu);case"vimeo":return""}},[o,eu,eh]),ey=es||ev,ep=ea.current||!R||en||ee||!ey;(0,l.useEffect)(()=>{if(!eh||!B)return;let e=0,t=0,n=(0,T.setIntervalEnhanced)(()=>{let n=performance.now();t=n,(async()=>{let r=e;try{r=await eh.getCurrentTime()}catch{}n!==t||r!==e&&(e=r,B({seconds:r}))})()},100);return()=>{n()}},[eh,B]),(0,l.useImperativeHandle)($,()=>eh,[eh]);let eg=(0,l.useMemo)(()=>{if("youtube"===o){let e=`https://www.youtube.com/watch?v=${eu}`,t=V(Z);return null!==t?`${e}&t=${t}s`:e}},[o,eu,Z]),eb=(0,l.useMemo)(()=>I||z.formatMessage({id:"VideoPlayer.youtubeIframeTitle",defaultMessage:"YouTube video player",description:"Accessible title for the embedded YouTube video player"}),[I,z]),ew=(0,l.useCallback)(()=>{H(!0),Q(performance.now()),(0,g.trackPlayVideo)({id:eu})},[eu]),ek=(0,l.useCallback)(()=>{if(X||!J)return;let e=performance.now()-J;(0,g.trackVideoElapsedTime)({id:eu,seconds:Math.round(e/1e3)}),G(!0)},[X,J,eu]),eP=(0,l.useCallback)(()=>{H(!1),ek()},[ek]);(0,l.useEffect)(()=>{F&&eh&&ew()},[F,ew,eh]),(0,l.useEffect)(()=>{if(!U)return;let e=()=>{ek()};return U.events.on("routeChangeStart",e),()=>{U.events.off("routeChangeStart",e)}},[U,eu,J,X,G,ek]);let e_=(0,l.useCallback)(()=>{ew()},[ew]),eE=(0,l.useCallback)(()=>{eP()},[eP]),eT=(0,l.useCallback)(()=>{ek()},[ek]),eS=(0,l.useCallback)(()=>{if(!O){if(Y)return void eh?.pause();eh?.play()}},[O,Y,eh]),eV=(0,l.useMemo)(()=>O?"locked":Y?"playing":"paused",[O,Y]),eF=(0,l.useMemo)(()=>"locked"===eV?el:z.formatMessage({id:"VideoPlayer.playbackButtonLabel",description:"Accessible label for the play/pause button on the video player",defaultMessage:(0,y.select)("playbackState",{paused:"Play",playing:"Pause",other:"Play"})},{playbackState:eV}),[z,eV,el]);return(0,a.jsxs)("div",{id:eu,className:(0,i.default)(S.videoContainer,{[S.controlsEnabled]:"enabled"===N,[S.controlsPause]:"pause"===N,[S.disableBorderRadius]:A,[S.hasShadow]:q},t),style:{[(0,s.safeCast)("--video-player-aspect-ratio")]:`${100*C}%`},children:["youtube"===o?(0,a.jsx)(eo,{id:e,videoId:eu,title:eb,autoplay:F,controls:"enabled"===N,loop:x,muted:ei,playsinline:M,startTimeSeconds:Z,onPlay:e_,onPause:eE,onEnded:eT,onError:()=>er(!0),ref:ed}):null,W&&"vimeo"===o?(0,a.jsx)(K,{id:e,videoId:eu,title:I||void 0,autoplay:F,controls:"enabled"===N,loop:x,muted:ei,onPlay:e_,onPause:eE,onEnded:eT,ref:em}):null,ey?(0,a.jsx)("div",{hidden:ep,className:S.videoPoster,children:(0,a.jsx)(_.Image,{src:ey,className:S.videoPosterImage,alt:I,width:1920,height:1080,quality:w.IMAGE_QUALITY.max,style:{objectFit:"cover",display:"block",width:"100%",height:"100%"},onError:()=>et(!0)})}):null,(0,a.jsxs)("button",{type:"button",hidden:en,disabled:L,className:(0,i.default)(S.playbackButton,{[S.fullscreen]:!ep||"pause"===N,[S.playbackStateLocked]:"locked"===eV,[S.playbackStatePaused]:"paused"===eV,[S.playbackStatePlaying]:"playing"===eV}),onClick:eS,children:[(0,a.jsx)("span",{className:S.playbackButtonAssistiveText,children:eF}),"locked"===eV?(0,a.jsx)(c.Lock,{className:S.playbackButtonIcon}):null,"paused"===eV?(0,a.jsx)(f.PlaybackPlay,{className:S.playbackButtonIcon}):null,"playing"===eV?(0,a.jsx)(d.PlaybackPause,{className:S.playbackButtonIcon}):null]}),(0,a.jsxs)("div",{role:"alert",hidden:!en,className:S.error,children:[(0,a.jsx)("p",{className:S.errorLine,children:(0,a.jsx)(p.FormattedMessage,{id:"videoPlayer.error.adblocker",description:"Error message when the video player is blocked by an ad blocker",defaultMessage:"Uh-oh! It looks like your ad blocker is preventing the video from playing."})}),"youtube"===o&&eg?(0,a.jsx)("p",{className:S.errorLine,children:(0,a.jsx)(p.FormattedMessage,{id:"videoPlayer.error.youtube",description:"Error message when YouTube is not available which links to the video on youtube.com",defaultMessage:"Please watch it on <a>YouTube</a>",values:{a:e=>(0,a.jsx)(E.InlineTextLink,{href:eg,eventData:{name:"video_player_error"},children:e})}})}):null,(0,a.jsx)(_.Image,{className:S.errorIllustration,src:b.default.illustratedIcons.catLo
2okingUpPng,width:154.60000000000002,height:193,alt:""})]})]})});e.s(["VideoPlayer",0,ea],52814),e.s([],577330)},774567,e=>{e.v({controlsEnabled:"videoPlayer-module-scss-module__ZFVVSq__controlsEnabled",controlsPause:"videoPlayer-module-scss-module__ZFVVSq__controlsPause",disableBorderRadius:"videoPlayer-module-scss-module__ZFVVSq__disableBorderRadius",error:"videoPlayer-module-scss-module__ZFVVSq__error",errorIllustration:"videoPlayer-module-scss-module__ZFVVSq__errorIllustration",errorLine:"videoPlayer-module-scss-module__ZFVVSq__errorLine",fullscreen:"videoPlayer-module-scss-module__ZFVVSq__fullscreen",hasShadow:"videoPlayer-module-scss-module__ZFVVSq__hasShadow",playButton:"videoPlayer-module-scss-module__ZFVVSq__playButton",playButtonCircle:"videoPlayer-module-scss-module__ZFVVSq__playButtonCircle",playButtonTriangle:"videoPlayer-module-scss-module__ZFVVSq__playButtonTriangle",playbackButton:"videoPlayer-module-scss-module__ZFVVSq__playbackButton",playbackButtonAssistiveText:"videoPlayer-module-scss-module__ZFVVSq__playbackButtonAssistiveText",playbackButtonIcon:"videoPlayer-module-scss-module__ZFVVSq__playbackButtonIcon",playbackStateLocked:"videoPlayer-module-scss-module__ZFVVSq__playbackStateLocked",playbackStatePaused:"videoPlayer-module-scss-module__ZFVVSq__playbackStatePaused",playbackStatePlaying:"videoPlayer-module-scss-module__ZFVVSq__playbackStatePlaying",videoContainer:"videoPlayer-module-scss-module__ZFVVSq__videoContainer",videoIframe:"videoPlayer-module-scss-module__ZFVVSq__videoIframe",videoPoster:"videoPlayer-module-scss-module__ZFVVSq__videoPoster",videoPosterImage:"videoPlayer-module-scss-module__ZFVVSq__videoPosterImage"})},532443,e=>{"use strict";function t(e,n=0,...r){let o,a=0,i=t=>{a=requestAnimationFrame(i),o??=t,t-o<n||(o=t,e(t,...r))};return a=requestAnimationFrame(i),()=>cancelAnimationFrame(a)}e.s(["setIntervalEnhanced",0,t,"setTimeoutEnhanced",0,function(e,n=0,...r){if(n<=0){let t=setTimeout(e,n,...r);return()=>clearTimeout(t)}let o=t(()=>{o(),e(...r)},n,...r);return o}])},824799,e=>{"use strict";var t=e.i(887835),n=e.i(734022);async function r(e){let r=new URL("https://vimeo.com/api/oembed.json");return r.search=t.default.stringify(e),fetch(r.href).then(e=>e.json()).catch(t=>{n.outputInstance.error("vimeo.getVimeoOEmbed",{params:e,error:t})})}e.s(["getVimeoOEmbed",0,r,"getVimeoPlayerUrl",0,function(e,{autoplay:n,background:r,controls:o,muted:a,loop:i,dnt:u,playsinline:l}={}){let s=new URL(`https://player.vimeo.com/video/${e}`),c=t.default.stringify({autoplay:Number(n),background:Number(r),controls:Number(o),loop:Number(i),muted:Number(a),dnt:Number(u??!0),...void 0!==l?{playsinline:Number(l)}:{}});return s.search=`${s.search}&${c}`,s.href}])},858804,e=>{"use strict";var t=e.i(533337);e.s(["useMergeRefs",0,function(...e){let n=(0,t.useRef)(e);return n.current=e,(0,t.useCallback)(e=>{n.current.forEach(t=>{!function(e,t){if(null!=e){if("function"==typeof e)return e(t);try{e.current=t}catch(n){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(t,e)})},[])}])},675813,e=>{"use strict";e.s(["select",0,function(e,{other:t,...n}){return`{${e}, select, ${Object.entries({...n,other:t}).map(([e,t])=>`${e} {${t}}`).join(" ")}}`}],675813)},449403,e=>{"use strict";e.s(["JSONStringified",0,{serialize:e=>JSON.stringify(e),deserialize:e=>JSON.parse(e)}])},508882,e=>{"use strict";function t(e,t){return`https://img.youtube.com/vi/${e}/${"max"===t?"maxresdefault.jpg":"hqdefault.jpg"}`}e.s(["getYouTubePosterFromVideoId",0,function(e){return t(e,"max")},"getYouTubePosterFromVideoIdWithQuality",0,t])}]);
3
4//# debugId=9606e834-87fc-c130-cf49-a1d30a19c3cc
5//# sourceMappingURL=26zzy14wav7f_.js.map

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.