PageSourceSearch

https://artmuseum.pl/_next/static/chunks/7704.e1735632bbc10c7e.js

js artmuseum.pl collected 2026-09-24 17:45:31 UTC 8,867 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7704,6397],{47704:function(t,e,i){i.r(e),i.d(e,{YouTubeProvider:function(){return A}});var s=i(53359),a=i(10851),n=i(70262),o=i(27938),r=i(12226),l=i(63298),h=i(71911),u=i(13466),c=i(36397);i(2265);let d={Ended:0,Playing:1,Paused:2,Buffering:3,Cued:5};var _=new WeakMap,f=new WeakMap,v=new WeakMap,p=new WeakMap,w=new WeakMap,y=new WeakMap,g=new WeakMap,b=new WeakSet,k=new WeakSet,m=new WeakSet,S=new WeakSet,W=new WeakSet,M=new WeakSet,P=new WeakSet,$=new WeakSet,T=new WeakSet,E=new WeakSet,V=new WeakSet,N=new WeakSet,O=new WeakSet,R=new WeakSet;class A extends u.w{get currentSrc(){return(0,s._)(this,p)}get type(){return"youtube"}get videoId(){return(0,s._)(this,f).call(this)}preconnect(){(0,h.$P)(this.getOrigin())}setup(){super.setup(),(0,l.effect)((0,o._)(this,m,Y).bind(this)),(0,s._)(this,_).notify("provider-setup",this)}destroy(){for(let t of((0,o._)(this,N,J).call(this),(0,s._)(this,g).values()))for(let{reject:e}of t)e("provider destroyed");(0,s._)(this,g).clear()}async play(){return(0,o._)(this,S,B).call(this,"playVideo")}async pause(){return(0,o._)(this,S,B).call(this,"pauseVideo")}setMuted(t){t?(0,o._)(this,S,B).call(this,"mute"):(0,o._)(this,S,B).call(this,"unMute")}setCurrentTime(t){(0,o._)(this,S,B).call(this,"seekTo",t),(0,s._)(this,_).notify("seeking",t)}setVolume(t){(0,o._)(this,S,B).call(this,"setVolume",100*t)}setPlaybackRate(t){(0,o._)(this,S,B).call(this,"setPlaybackRate",t)}async loadSource(t){if(!(0,l.isString)(t.src)){(0,n._)(this,p,null),(0,s._)(this,f).set("");return}let e=(0,c.resolveYouTubeVideoId)(t.src);(0,s._)(this,f).set(null!=e?e:""),(0,n._)(this,p,t)}getOrigin(){return this.cookies?"https://www.youtube.com":"https://www.youtube-nocookie.com"}buildParams(){let{keyDisabled:t}=(0,s._)(this,_).$props,{muted:e,playsInline:i,nativeControls:a}=(0,s._)(this,_).$state,n=a();return{rel:0,autoplay:0,cc_lang_pref:this.language,cc_load_policy:n?1:void 0,color:this.color,controls:n?1:0,disablekb:!n||t()?1:0,enablejsapi:1,fs:1,hl:this.language,iv_load_policy:n?1:3,mute:e()?1:0,playsinline:i()?1:0}}onLoad(){window.setTimeout(()=>this.postMessage({event:"listening"}),100)}onMessage(t,e){let{info:i}=t;if(!i)return;let{title:a,intrinsicDuration:n,playbackRate:r}=(0,s._)(this,_).$state;if((0,l.isObject)(i.videoData)&&i.videoData.title!==a()&&(0,s._)(this,_).notify("title-change",i.videoData.title,e),(0,l.isNumber)(i.duration)&&i.duration!==n()){if((0,l.isNumber)(i.videoLoadedFraction)){var u,c;let t=null!==(c=null===(u=i.progressState)||void 0===u?void 0:u.loaded)&&void 0!==c?c:i.videoLoadedFraction*i.duration,s=new h.tn(0,i.duration);(0,o._)(this,$,L).call(this,t,s,e)}(0,s._)(this,_).notify("duration-change",i.duration,e)}if((0,l.isNumber)(i.playbackRate)&&i.playbackRate!==r()&&(0,s._)(this,_).notify("rate-change",i.playbackRate,e),i.progressState){let{current:t,seekableStart:a,seekableEnd:r,loaded:l,duration:u}=i.progressState;(0,o._)(this,P,I).call(this,t,e),(0,o._)(this,$,L).call(this,l,new h.tn(a,r),e),u!==n()&&(0,s._)(this,_).notify("duration-change",u,e)}if((0,l.isNumber)(i.volume)&&(0,l.isBoolean)(i.muted)&&!(0,s._)(this,y)){let t={muted:i.muted,volume:i.volume/100};(0,s._)(this,_).notify("volume-change",t,e)}(0,l.isNumber)(i.playerState)&&i.playerState!==(0,s._)(this,v)&&(0,o._)(this,V,F).call(this,i.playerState,e)}constructor(t,e){super(t),(0,r._)(this,b),(0,r._)(this,k),(0,r._)(this,m),(0,r._)(this,S),(0,r._)(this,W),(0,r._)(this,M),(0,r._)(this,P),(0,r._)(this,$),(0,r._)(this,T),(0,r._)(this,E),(0,r._)(this,V),(0,r._)(this,N),(0,r._)(this,O),(0,r._)(this,R),(0,a._)(this,_,{writable:!0,value:void 0}),(0,a._)(this,f,{writable:!0,value:void 0}),(0,a._)(this,v,{writable:!0,value:void 0}),(0,a._)(this,p,{writable:!0,value:void 0}),(0,a._)(this,w,{writable:!0,value:void 0}),(0,a._)(this,y,{writable:!0,value:void 0}),(0,a._)(this,g,{writable:!0,value:void 0}),this.$$PROVIDER_TYPE="YOUTUBE",this.scope=(0,l.createScope)(),(0,n._)(this,f,(0,l.signal)("")),(0,n._)(this,v,-1),(0,n._)(this,p,null),(0,n._)(this,w,-1),(0,n._)(this,y,!1),(0,n._)(this,g,new Map),this.language="en",this.color="red",this.cookies=!1,(0,n._)(this,_,e)}}function Y(){(0,o._)(this,N,J).call(this);let t=(0,s._)(this,f).call(this);if(!t){this.src.set("");return}this.src.set("".concat(this.getOrigin(),"/embed/").concat(t)),(0,s._)(this,_).notify("load-start")}function B(t,e){let i=(0,l.deferredPromise)(),a=(0,s._)(this,g).get(t);return a||(0,s._)(this,g).set(t,a=[]),a.push(i),this.postMessage({event:"command",func:t,args:e?[e]:void 0}),i.promise}function C(t){(0,s._)(this,_).notify("loaded-metadata"),(0,s._)(this,_).notify("loaded-data"),(0,s._)(this,_).delegate.ready(void 0,t)}function D(t){var e;null===(e=(0,o._)(this,O,U).call(this,"pauseVideo"))||void 0===e||e.resolve(),(0,s._)(this,_).notify("pause",void 0,t)}function I(t,e){let{duration:i,realCurrentTime:a}=(0,s._)(this,_).$state,n=(0,s._)(this,v)===d.Ended,o=n?i():t;(0,s._)(this,_).notify("time-change",o,e),!n&&Math.abs(o-a())>1&&(0,s._)(this,_).notify("seeking",o,e)}function L(t,e,i){let a={buffered:new h.tn(0,t),seekable:e};(0,s._)(this,_).notify("progress",a,i);let{seeking:n,realCurrentTime:r}=(0,s._)(this,_).$state;n()&&t>r()&&(0,o._)(this,T,j).call(this,i)}function j(t){let{paused:e,realCurrentTime:i}=(0,s._)(this,_).$state;window.clearTimeout((0,s._)(this,w)),(0,n._)(this,w,window.setTimeout(()=>{(0,s._)(this,_).notify("seeked",i(),t),(0,n._)(this,w,-1)},e()?100:0))}function x(t){let{seeking:e}=(0,s._)(this,_).$state;e()&&(0,o._)(this,T,j).call(this,t),(0,s._)(this,_).notify("pause",void 0,t),(0,s._)(this,_).notify("end",void 0,t)}function F(t,e){let{paused:i,seeking:a}=(0,s._)(this,_).$state,r=t===d.Playing,l=t===d.Buffering,h=(0,o._)(this,R,q).call(this,"playVideo"),u=i()&&(l||r);if(l&&(0,s._)(this,_).notify("waiting",void 0,e),a()&&r&&(0,o._)(this,T,j).call(this,e),(0,s._)(this,y)&&r){this.pause(),(0,n._)(this,y,!1),this.setMuted((0,s._)(this,_).$state.muted());return}if(!h&&u){(0,n._)(this,y,!0),this.setMuted(!0);return}if(u){var c;null===(c=(0,o._)(this,O,U).call(this,"playVideo"))||void 0===c||c.resolve(),(0,s._)(this,_).notify("play",void 0,e)}switch(t){case d.Cued:(0,o._)(this,W,C).call(this,e);break;case d.Playing:(0,s._)(this,_).notify("playing",void 0,e);break;case d.Paused:(0,o._)(this,M,D).call(this,e);break;case d.Ended:(0,o._)(this,E,x).call(this,e)}(0,n._)(this,v,t)}function J(){(0,n._)(this,v,-1),(0,n._)(this,w,-1),(0,n._)(this,y,!1)}function U(t){var e;return null===(e=(0,s._)(this,g).get(t))||void 0===e?void 0:e.shift()}function q(t){var e;return!!(null===(e=(0,s._)(this,g).get(t))||void 0===e?void 0:e.length)}}
1,36397:function(t,e,i){i.d(e,{findYouTubePoster:function(){return r},resolveYouTubeVideoId:function(){return o}});let s=/(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)(?:\/shorts)?\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/,a=new Map,n=new Map;function o(t){var e;return null===(e=t.match(s))||void 0===e?void 0:e[1]}async function r(t,e){if(a.has(t))return a.get(t);if(n.has(t))return n.get(t);let i=new Promise(async i=>{for(let s of["maxresdefault","sddefault","hqdefault"])for(let n of[!0,!1]){let o="https://i.ytimg.com/".concat(n?"vi_webp":"vi","/").concat(t,"/").concat(s,".").concat(n?"webp":"jpg");if((await fetch(o,{mode:"no-cors",signal:e.signal})).status<400){a.set(t,o),i(o);return}}}).catch(()=>"").finally(()=>n.delete(t));return n.set(t,i),i}},13466:function(t,e,i){i.d(e,{w:function(){return _}});var s=i(53359),a=i(10851),n=i(70262),o=i(27938),r=i(12226),l=i(71911),h=i(63298),u=new WeakMap,c=new WeakSet,d=new WeakSet;class _{get iframe(){return(0,s._)(this,u)}setup(){(0,h.listenEvent)(window,"message",(0,o._)(this,d,v).bind(this)),(0,h.listenEvent)((0,s._)(this,u),"load",this.onLoad.bind(this)),(0,h.effect)((0,o._)(this,c,f).bind(this))}postMessage(t,e){var i;l.W6||null===(i=(0,s._)(this,u).contentWindow)||void 0===i||i.postMessage(JSON.stringify(t),null!=e?e:"*")}constructor(t){(0,r._)(this,c),(0,r._)(this,d),(0,a._)(this,u,{writable:!0,value:void 0}),this.src=(0,h.signal)(""),this.referrerPolicy=null,(0,n._)(this,u,t),t.setAttribute("frameBorder","0"),t.setAttribute("aria-hidden","true"),t.setAttribute("allow","autoplay; fullscreen; encrypted-media; picture-in-picture; accelerometer; gyroscope"),null!==this.referrerPolicy&&t.setAttribute("referrerpolicy",this.referrerPolicy)}}function f(){let t=this.src();if(!t.length){(0,s._)(this,u).setAttribute("src","");return}let e=(0,h.peek)(()=>this.buildParams());(0,s._)(this,u).setAttribute("src",(0,l.nQ)(t,e))}function v(t){var e;let i=this.getOrigin();if((null===t.source||t.source===(null===(e=(0,s._)(this,u))||void 0===e?void 0:e.contentWindow))&&(!(0,h.isString)(i)||i===t.origin)){try{let e=JSON.parse(t.data);e&&this.onMessage(e,t);return}catch(t){}t.data&&this.onMessage(t.data,t)}}}}]);

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.