PageSourceSearch

https://www.evofenedex.nl/spa.vendor.vimeo-video-element.bundle.8173ca2aeba0f8df.min.js?0b91b22f97f40dba

js evofenedex.nl collected 2026-10-09 22:41:32 UTC 12,498 bytes, 20 lines download raw bytes

1"use strict";(self.webpackChunkreact_typescript_webpack=self.webpackChunkreact_typescript_webpack||[]).push([["523"],{9094(t,e,i){i.d(e,{A:()=>z});var a=i(8780),s=i(2945);function n(t,e){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object")}function r(t,e,i){if(!e.has(t))throw TypeError("attempted to "+i+" private field on non-instance");return e.get(t)}function l(t,e){var i=r(t,e,"get");return i.get?i.get.call(t):i.value}function o(t,e,i){n(t,e),e.set(t,i)}function h(t,e,i){var a=r(t,e,"set");if(a.set)a.set.call(t,i);else{if(!a.writable)throw TypeError("attempted to set read only private field");a.value=i}return i}function u(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}let p=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={src:function(t,e){if(!t.src)return;let i=new URL(t.src),a=t.src.match(p),s=a&&a[1],n=a&&a[2],r=i.searchParams.get("h")||void 0,l={controls:""===t.controls?null:0,autoplay:t.autoplay,loop:t.loop,muted:t.muted,playsinline:t.playsinline,preload:t.preload??"metadata",transparent:!1,autopause:t.autopause,h:r,...e.config};return"event/"===s?`https://vimeo.com/event/${n}/embed?${S(l)}`:`https://player.vimeo.com/video/${n}?${S(l)}`}(t,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return e.config&&(i["data-config"]=JSON.stringify(e.config)),`
2    <style>
3      :host {
4        display: inline-block;
5        min-width: 300px;
6        min-height: 150px;
7        position: relative;
8      }
9      iframe {
10        position: absolute;
11        top: 0;
12        left: 0;
13      }
14      :host(:not([controls])) {
15        pointer-events: none;
16      }
17    </style>
18    <iframe${function(t){let e="";for(let i in t){let a=t[i];""===a?e+=` ${R(i)}`:e+=` ${R(i)}="${R(`${a}`)}"`}return e}(i)}></iframe>
19  `}var d,v=new WeakMap,f=new WeakMap,w=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,b=new WeakMap,E=new WeakMap,k=new WeakMap,T=new WeakMap,M=new WeakMap,A=new WeakMap,C=new WeakMap,W=new WeakMap,L=new WeakMap,N=new WeakSet;class x extends(d=globalThis.HTMLElement??class{}){requestFullscreen(){var t,e;return null==(e=null==(t=this.api)?void 0:t.requestFullscreen)?void 0:e.call(t)}exitFullscreen(){var t,e;return null==(e=null==(t=this.api)?void 0:t.exitFullscreen)?void 0:e.call(t)}requestPictureInPicture(){var t,e;return null==(e=null==(t=this.api)?void 0:t.requestPictureInPicture)?void 0:e.call(t)}exitPictureInPicture(){var t,e;return null==(e=null==(t=this.api)?void 0:t.exitPictureInPicture)?void 0:e.call(t)}get config(){return l(this,L)}set config(t){h(this,L,t)}async load(){var t;if(l(this,v))return;let e=!l(this,f);l(this,f)&&(this.loadComplete=new H),h(this,f,!0),await h(this,v,Promise.resolve()),h(this,v,null),h(this,m,0),h(this,g,NaN),h(this,y,!1),h(this,b,!this.autoplay),h(this,E,1),h(this,k,0),h(this,T,0),h(this,M,!1),h(this,A,1),h(this,T,0),h(this,C,NaN),h(this,W,NaN),this.dispatchEvent(new Event("emptied"));let i=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));let a={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInline,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),...l(this,L)},n=async()=>{h(this,T,1),this.dispatchEvent(new Event("loadedmetadata")),this.api&&(h(this,y,await this.api.getMuted()),h(this,A,await this.api.getVolume()),this.dispatchEvent(new Event("volumechange")),h(this,g,await this.api.getDuration()),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(l(this,w)){this.api=i,await this.api.loadVideo({...a,url:this.src}),await n(),await this.loadComplete;return}h(this,w,!0);let r=null==(t=this.shadowRoot)?void 0:t.querySelector("iframe");e&&r&&h(this,L,JSON.parse(r.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=c(function(t){let e={};for(let i of t)e[i.name]=i.value;return e}(this.attributes),this),r=this.shadowRoot.querySelector("iframe")),this.api=new s.A(r);let o=document.createElement("video");this.textTracks=o.textTracks,this.api.getTextTracks().then(t=>{t.forEach(t=>{o.addTextTrack(t.kind,t.label,t.language)})}),this.textTracks.addEventListener("change",()=>{let t=Array.from(this.textTracks).find(t=>"showing"===t.mode);t?this.api.enableTextTrack(t.language,t.kind):this.api.disableTextTrack()});let u=()=>{this.api.off("loaded",u),n()};this.api.on("loaded",u),this.api.on("bufferstart",()=>{l(this,b)&&(h(this,b,!1),this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{l(this,b)&&(h(this,b,!1),this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{h(this,T,3),h(this,b,!1),this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{h(this,M,!0),this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{h(this,M,!1),this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{h(this,b,!0),this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{h(this,b,!0),this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",t=>{let{playbackRate:e}=t;h(this,E,e),this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async t=>{let{volume:e}=t;h(this,A,e),this.api&&h(this,y,await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",t=>{let{duration:e}=t;h(this,g,e),this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",t=>{let{seconds:e}=t;h(this,m,e),this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",t=>{let{seconds:e}=t;h(this,k,e),this.dispatchEvent(new Event("progress"))}),this.api.on("resize",t=>{let{videoWidth:e,videoHeight:i}=t;h(this,C,e),h(this,W,i),this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(t,e,i){if(e!==i){switch(t){case"auto
19play":case"controls":case"src":return void this.load()}await this.loadComplete,"loop"===t&&this.api.setLoop(this.loop)}}async play(){var t;h(this,b,!1),this.dispatchEvent(new Event("play")),await this.loadComplete;try{await (null==(t=this.api)?void 0:t.play())}catch(t){throw h(this,b,!0),this.dispatchEvent(new Event("pause")),t}}async pause(){var t;return await this.loadComplete,null==(t=this.api)?void 0:t.pause()}get ended(){return l(this,m)>=l(this,g)}get seeking(){return l(this,M)}get readyState(){return l(this,T)}get videoWidth(){return l(this,C)}get videoHeight(){return l(this,W)}get src(){return this.getAttribute("src")}set src(t){this.src!=t&&this.setAttribute("src",t)}get paused(){return l(this,b)}get duration(){return l(this,g)}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get buffered(){return l(this,k)>0?I(0,l(this,k)):I()}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){return l(this,m)}set currentTime(t){this.currentTime!=t&&(h(this,m,t),this.loadComplete.then(()=>{var e;null==(e=this.api)||e.setCurrentTime(t).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.defaultMuted!=t&&this.toggleAttribute("muted",!!t)}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}get muted(){return l(this,y)}set muted(t){this.muted!=t&&(h(this,y,t),this.loadComplete.then(()=>{var e;null==(e=this.api)||e.setMuted(t).catch(()=>{})}))}get playbackRate(){return l(this,E)}set playbackRate(t){this.playbackRate!=t&&(h(this,E,t),this.loadComplete.then(()=>{var e;null==(e=this.api)||e.setPlaybackRate(t).catch(()=>{})}))}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.playsInline!=t&&this.toggleAttribute("playsinline",!!t)}get poster(){return this.getAttribute("poster")}set poster(t){this.poster!=t&&this.setAttribute("poster",`${t}`)}get volume(){return l(this,A)}set volume(t){this.volume!=t&&(h(this,A,t),this.loadComplete.then(()=>{var e;null==(e=this.api)||e.setVolume(t).catch(()=>{})}))}constructor(){super(),function(t,e){n(t,e),e.add(t)}(this,N),u(this,"loadComplete",new H),o(this,v,{writable:!0,value:void 0}),o(this,f,{writable:!0,value:void 0}),o(this,w,{writable:!0,value:void 0}),o(this,m,{writable:!0,value:0}),o(this,g,{writable:!0,value:NaN}),o(this,y,{writable:!0,value:!1}),o(this,b,{writable:!0,value:!this.autoplay}),o(this,E,{writable:!0,value:1}),o(this,k,{writable:!0,value:0}),o(this,T,{writable:!0,value:0}),o(this,M,{writable:!0,value:!1}),o(this,A,{writable:!0,value:1}),o(this,C,{writable:!0,value:NaN}),o(this,W,{writable:!0,value:NaN}),o(this,L,{writable:!0,value:null}),(function(t,e,i){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return i})(this,N,P).call(this,"config")}}function P(t){if(Object.prototype.hasOwnProperty.call(this,t)){let e=this[t];delete this[t],this[t]=e}}function R(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function S(t){return String(new URLSearchParams(function(t){let e={};for(let i in t){let a=t[i];!0===a||""===a?e[i]=1:!1===a?e[i]=0:null!=a&&(e[i]=a)}return e}(t)))}u(x,"getTemplateHTML",c),u(x,"shadowRootOptions",{mode:"open"}),u(x,"observedAttributes",["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"]);class H extends Promise{constructor(t=()=>{}){let e,i;super((a,s)=>{t(a,s),e=a,i=s}),this.resolve=e,this.reject=i}}function I(t,e){return Array.isArray(t)?O(t):null==t||null==e||0===t&&0===e?O([[0,0]]):O([[t,e]])}function O(t){return Object.defineProperties(t,{start:{value:e=>t[e][0]},end:{value:e=>t[e][1]}}),t}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",x);var $=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),j={className:"class",htmlFor:"for"};function q(t){return t.toLowerCase()}function _(t){return"boolean"==typeof t?t?"":void 0:"function"==typeof t?void 0:"object"!=typeof t||null===t?t:void 0}function F(t,e,i){var a;t[e]=i,null==i&&e in((null==(a=globalThis.HTMLElement)?void 0:a.prototype)??{})&&t.removeAttribute(e)}var z=function(t){let{react:e,tagName:i,elementClass:a,events:s,displayName:n,defaultProps:r,toAttributeName:l=q,toAttributeValue:o=_}=t,h=Number.parseInt(e.version)>
19=19,u=e.forwardRef((t,n)=>{var u,p;let c=e.useRef(null),d=e.useRef(new Map),v={},f={},w={},m={};for(let[e,i]of Object.entries(t)){if($.has(e)){w[e]=i;continue}let t=l(j[e]??e);if(a.prototype&&e in a.prototype&&!(e in((null==(u=globalThis.HTMLElement)?void 0:u.prototype)??{}))&&!(null==(p=a.observedAttributes)?void 0:p.some(e=>e===t))){m[e]=i;continue}if(e.startsWith("on")){v[e]=i;continue}let s=o(i);t&&null!=s&&(f[t]=String(s),h||(w[t]=s)),t&&h&&(s!==_(i)?w[t]=s:w[t]=i)}if("u">typeof window){for(let t in v){let i=v[t],a=t.endsWith("Capture"),n=((null==s?void 0:s[t])??t.slice(2).toLowerCase()).slice(0,a?-7:void 0);e.useLayoutEffect(()=>{let t=null==c?void 0:c.current;if(t&&"function"==typeof i)return t.addEventListener(n,i,a),()=>{t.removeEventListener(n,i,a)}},[null==c?void 0:c.current,i])}e.useLayoutEffect(()=>{if(null===c.current)return;let t=new Map;for(let e in m)F(c.current,e,m[e]),d.current.delete(e),t.set(e,m[e]);for(let[t,e]of d.current)F(c.current,t,void 0);d.current=t})}if("u"<typeof window&&(null==a?void 0:a.getTemplateHTML)&&(null==a?void 0:a.shadowRootOptions)){let{mode:i,delegatesFocus:s}=a.shadowRootOptions;w.children=[e.createElement("template",{shadowrootmode:i,shadowrootdelegatesfocus:s,dangerouslySetInnerHTML:{__html:a.getTemplateHTML(f,t)},key:"ce-la-react-ssr-template-shadow-root"}),w.children]}return e.createElement(i,{...r,...w,ref:e.useCallback(t=>{c.current=t,"function"==typeof n?n(t):null!==n&&(n.current=t)},[n])},w.children)});return u.displayName=n??a.name,u}({react:a,tagName:"vimeo-video",elementClass:x,toAttributeName:t=>"muted"===t?"":"defaultMuted"===t?"muted":q(t)})}}]);
20//# sourceMappingURL=spa.vendor.vimeo-video-element.bundle.8173ca2aeba0f8df.min.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.