PageSourceSearch

https://assetmanagement.apg.nl/assets/js/apg-4629.9a705bbeee0d0a44a499.js

js apg.nl collected 2026-10-02 16:49:41 UTC 12,442 bytes, 2 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"d4565b8d74a783408ebb345c6f900325acc9d09f"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="753337e1-1f33-4a50-b668-8a3e443c1f58",t._sentryDebugIdIdentifier="sentry-dbid-753337e1-1f33-4a50-b668-8a3e443c1f58")}catch(t){}}(),(self.webpackChunkapg=self.webpackChunkapg||[]).push([[4629],{81839:function(t,e,i){i.d(e,{B:function(){return f}});var s=i(69370),a=i(17307),n=i(60176),r=i(72037);let o=null,d=[],h=[];function c(){return o??=new AudioContext}function u(){o&&0===d.length&&0===h.length&&o.close().then(()=>{o=null})}var l=class{#t;#e;#i=null;#s=null;get currentGain(){return this.#i?.gain?.value??null}get supported(){return!0}constructor(t,e){this.#t=t,this.#e=e}setGain(t){const e=this.currentGain;t!==this.currentGain&&(1!==t||1===e?(this.#i||(this.#i=function(){const t=c(),e=t.createGain();return e.connect(t.destination),d.push(e),e}(),this.#s&&this.#s.connect(this.#i)),this.#s||(this.#s=function(t,e){const i=c().createMediaElementSource(t);return e&&i.connect(e),h.push(i),i}(this.#t,this.#i)),this.#i.gain.value=t,this.#e(t)):this.removeGain())}removeGain(){this.#i&&(this.#s&&this.#s.connect(c().destination),this.#a(),this.#e(null))}destroy(){this.#n(),this.#a()}#n(){if(this.#s)try{!function(t){const e=h.indexOf(t);-1!==e&&(h.splice(e,1),t.disconnect(),u())}(this.#s)}catch(t){}finally{this.#s=null}}#a(){if(this.#i)try{!function(t){const e=d.indexOf(t);-1!==e&&(d.splice(e,1),t.disconnect(),u())}(this.#i)}catch(t){}finally{this.#i=null}}};const p=["focus","blur","visibilitychange","pageshow","pagehide"];var m=class{#r=(0,s.O)(g());#o=(0,s.O)(document.visibilityState);#d;connect(){const t=new s.En(window),e=this.#h.bind(this);for(const i of p)t.add(i,e);n.Yw&&t.add("beforeunload",t=>{this.#d=setTimeout(()=>{t.defaultPrevented||t.returnValue.length>0||(this.#r.set("hidden"),this.#o.set("hidden"))},0)})}get pageState(){return this.#r()}get visibility(){return this.#o()}#h(t){n.Yw&&window.clearTimeout(this.#d),"blur"===t.type&&"active"!==this.#r()||(this.#r.set(g(t)),this.#o.set("hidden"==document.visibilityState?"hidden":"visible"))}};function g(t){return"blur"===t?.type||"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var v=class{#c;#u;#l=!1;#p=!1;#m=!1;#g=new a.e(this.#v.bind(this));#y=new m;#f;get#t(){return this.#c.media}constructor(t,e){this.#c=t,this.#u=e,this.#f=new s.En(t.media),this.#b(),this.#y.connect(),(0,s.QZ)(this.#k.bind(this)),(0,s.zp)(this.#x.bind(this))}#x(){this.#p=!1,this.#m=!1,this.#g.stop(),this.#f.abort(),this.#T?.clear()}#E=0;#w=-1;#v(){const t=this.#t.currentTime;n.Yw&&t-this.#w<.35||this.#E===t||(this.#P(t),this.#E=t)}#b(){this.#S("loadstart",this.#C),this.#S("abort",this.#L),this.#S("emptied",this.#N),this.#S("error",this.#A),this.#S("volumechange",this.#D)}#M(){this.#p||(this.#S("loadeddata",this.#R),this.#S("loadedmetadata",this.#$),this.#S("canplay",this.#I),this.#S("canplaythrough",this.#G),this.#S("durationchange",this.#B),this.#S("play",this.#F),this.#S("progress",this.#O),this.#S("stalled",this.#V),this.#S("suspend",this.#q),this.#S("ratechange",this.#U),this.#p=!0)}#j(){this.#m||(this.#S("pause",this.#z),this.#S("playing",this.#H),this.#S("seeked",this.#Y),this.#S("seeking",this.#_),this.#S("ended",this.#Q),this.#S("waiting",this.#J),this.#m=!0)}#T=void 0;#W=void 0;#S(t,e){this.#f.add(t,e.bind(this))}#K(t){}#P(t,e){const i=Math.min(t,this.#u.$state.seekableEnd());this.#u.notify("time-change",i,e)}#C(t){3!==this.#t.networkState?(this.#M(),this.#u.notify("load-start",void 0,t)):this.#L(t)}#L(t){this.#u.notify("abort",void 0,t)}#N(t){this.#u.notify("emptied",void 0,t)}#R(t){this.#u.notify("loaded-data",void 0,t)}#$(t){this.#E=0,this.#w=-1,this.#j(),this.#u.notify("loaded-metadata",void 0,t),(n.pz||n.Yw&&(0,n.YJ)(this.#u.$state.source()))&&this.#u.delegate.ready(this.#Z(),t)}#Z(){return{provider:(0,s.se)(this.#u.$provider),duration:this.#t.duration,buffered:this.#t.buffered,seekable:this.#t.seekable}}#F(t){this.#u.$state.canPlay()&&this.#u.notify("play",void 0,t)}#z(t){(1!==this.#t.readyState||this.#l)&&(this.#l=!1,this.#g.stop(),this.#u.notify("pause",void 0,t))}#I(t){this.#u.delegate.ready(this.#Z(),t)}#G(t){this.#u.$state.started()||this.#u.notify("can-play-through",this.#Z(),t)}#H(t){this.#t.paused||(this.#l=!1,this.#u.notify("playing",void 0,t),this.#g.start())}#V(t){this.#u.notify("stalled",void 0,t),this.#t.readyState<3&&(this.#l=!0,this.#u.notify("waiting",void 0,t))}#J(t){this.#t.readyState<3&&(this.#l=!0,this.#u.notify("waiting",void 0,t))}#Q(t){this.#g.stop(),this.#P(this.#t.duration,t),this.#u.notify("end",void 0,t),this.#u.$state.loop()&&(0,s.gD)(this.#t.controls)&&
1(this.#t.controls=!1)}#k(){const t=this.#u.$state.paused(),e="hidden"===this.#y.visibility;(t||e)&&(0,s.k6)(this.#t,"timeupdate",this.#X.bind(this))}#X(t){this.#P(this.#t.currentTime,t)}#B(t){this.#u.$state.ended()&&this.#P(this.#t.duration,t),this.#u.notify("duration-change",this.#t.duration,t)}#D(t){const e={volume:this.#t.volume,muted:this.#t.muted};this.#u.notify("volume-change",e,t)}#Y(t){this.#w=this.#t.currentTime,this.#P(this.#t.currentTime,t),this.#u.notify("seeked",this.#t.currentTime,t),Math.trunc(this.#t.currentTime)===Math.trunc(this.#t.duration)&&(0,r.Q4)(this.#t.duration)>(0,r.Q4)(this.#t.currentTime)&&(this.#P(this.#t.duration,t),this.#t.ended||this.#u.player.dispatch(new s.vP("media-play-request",{trigger:t})))}#_(t){this.#u.notify("seeking",this.#t.currentTime,t)}#O(t){const e={buffered:this.#t.buffered,seekable:this.#t.seekable};this.#u.notify("progress",e,t)}#q(t){this.#u.notify("suspend",void 0,t)}#U(t){this.#u.notify("rate-change",this.#t.playbackRate,t)}#A(t){const e=this.#t.error;if(!e)return;const i={message:e.message,code:e.code,mediaError:e};this.#u.notify("error",i,t)}},y=class{#c;#u;get#tt(){return this.#c.media.audioTracks}constructor(t,e){this.#c=t,this.#u=e,this.#tt.onaddtrack=this.#et.bind(this),this.#tt.onremovetrack=this.#it.bind(this),this.#tt.onchange=this.#st.bind(this),(0,s.k6)(this.#u.audioTracks,"change",this.#at.bind(this))}#et(t){const e=t.track;if(""===e.label)return;const i={id:e.id.toString()||`native-audio-${this.#u.audioTracks.length}`,label:e.label,language:e.language,kind:e.kind,selected:!1};this.#u.audioTracks[a.j.add](i,t),e.enabled&&(i.selected=!0)}#it(t){const e=this.#u.audioTracks.getById(t.track.id);e&&this.#u.audioTracks[a.j.remove](e,t)}#st(t){let e=this.#nt();if(!e)return;const i=this.#u.audioTracks.getById(e.id);i&&this.#u.audioTracks[a.j.select](i,!0,t)}#nt(){return Array.from(this.#tt).find(t=>t.enabled)}#at(t){const{current:e}=t.detail;if(!e)return;const i=this.#tt.getTrackById(e.id);if(i){const t=this.#nt();t&&(t.enabled=!1),i.enabled=!0}}},f=class{media;ctx;scope=(0,s.Ds)();currentSrc=null;audioGain;constructor(t,e){this.media=t,this.ctx=e,this.audioGain=new l(t,t=>{this.ctx.notify("audio-gain-change",t)})}setup(){new v(this,this.ctx),"audioTracks"in this.media&&new y(this,this.ctx),(0,s.zp)(()=>{this.audioGain.destroy(),this.media.srcObject=null,this.media.removeAttribute("src");for(const t of this.media.querySelectorAll("source"))t.remove();this.media.load()})}get type(){return""}setPlaybackRate(t){this.media.playbackRate=t}async play(){return this.media.play()}async pause(){return this.media.pause()}setMuted(t){this.media.muted=t}setVolume(t){this.media.volume=t}setCurrentTime(t){this.media.currentTime=t}setPlaysInline(t){(0,s.Bq)(this.media,"playsinline",t)}async loadSource({src:t,type:e},i){this.media.preload=i||"",(0,n.dv)(t)?(this.removeSource(),this.media.srcObject=t):(this.media.srcObject=null,(0,s.Kg)(t)?"?"!==e?this.appendSource({src:t,type:e}):(this.removeSource(),this.media.src=this.#rt(t)):(this.removeSource(),this.media.src=window.URL.createObjectURL(t))),this.media.load(),this.currentSrc={src:t,type:e}}appendSource(t,e){const i=this.media.querySelector("source[data-vds]"),a=i??document.createElement("source");(0,s.Bq)(a,"src",this.#rt(t.src)),(0,s.Bq)(a,"type","?"!==t.type?t.type:e),(0,s.Bq)(a,"data-vds",""),i||this.media.append(a)}removeSource(){this.media.querySelector("source[data-vds]")?.remove()}#rt(t){const{clipStartTime:e,clipEndTime:i}=this.ctx.$state,s=e(),a=i();return s>0&&a>0?`${t}#t=${s},${a}`:s>0?`${t}#t=${s}`:a>0?`${t}#t=0,${a}`:t}}},74629:function(t,e,i){i.d(e,{N:function(){return p}});var s=i(69370),a=i(60176),n=i(64114),r=i(81839),o=i(57121),d=class{#ot;#u;constructor(t,e){this.#ot=t,this.#u=e,t.textTracks.onaddtrack=this.#dt.bind(this),(0,s.zp)(this.#x.bind(this))}#dt(t){const e=t.track;if(!e||function(t,e){return Array.from(t.children).find(t=>t.track===e)}(this.#ot,e))return;const i=new n.to({id:e.id,kind:e.kind,label:e.label??"",language:e.language,type:"vtt"});i[n.Hp.native]={track:e},i[n.Hp.readyState]=2,i[n.Hp.nativeHLS]=!0;let s=0;const a=t=>{if(e.cues)for(let a=s;a<e.cues.length;a++)i.addCue(e.cues[a],t),s++};a(t),e.oncuechange=a,this.#u.textTracks.add(i,t),i.setMode(e.mode,t)}#x(){this.#ot.textTracks.onaddtrack=null;for(const t of this.#u.textTracks){const e=t[n.Hp.native]?.track;e?.oncuechange&&(e.oncuechange=null)}}},h=class{#ot;#t;constructor(t,e){this.#ot=t,this.#t=e,new s.En(t).add("enterpictureinpicture",this.#ht.bind(this)).add("leavepictureinpicture",this.#ct.bind(this))}get active(){return document.pictureInPictureElement===this.#ot}get supported(){return(0,a.dE)(this.#ot)}async enter(){return this.#ot.requestPictureInPicture()}exit(){return document.exitPictureInPicture()}#ht(t){this.#e(!0,t)}#ct(t){this.#e(!1,t)}#e=(t,e)=>{this.#t.notify("picture-in-picture-change",t,e)}},c=class{#ot;#t;#ut="inline";get mode(){return this.#ut}constructor(t,e){this.#ot=t,this.#t=e,(0,s.k6)(t,"webkitpresentationmodechanged",this.#lt.bind(this))}get supported(){return(0,a.Jt)(this.#ot)}async setPresentationMode(t){this.#ut!==t&&this.#ot.webkitSetPresentationMode(t)}#lt(t){const e=this.#ut;this.#ut=this.#ot.webkitPresentationMode,this.#t.player?.dispatch(new s.vP("video-presentation-change",{detail:this.#ut,trigger:t})),["fullscreen","picture-in-picture"].forEach(i=>
1{this.#ut!==i&&e!==i||this.#t.notify(`${i}-change`,this.#ut===i,t)})}},u=class{#pt;get active(){return"fullscreen"===this.#pt.mode}get supported(){return this.#pt.supported}constructor(t){this.#pt=t}async enter(){this.#pt.setPresentationMode("fullscreen")}async exit(){this.#pt.setPresentationMode("inline")}},l=class{#pt;get active(){return"picture-in-picture"===this.#pt.mode}get supported(){return this.#pt.supported}constructor(t){this.#pt=t}async enter(){this.#pt.setPresentationMode("picture-in-picture")}async exit(){this.#pt.setPresentationMode("inline")}},p=class extends r.B{$$PROVIDER_TYPE="VIDEO";get type(){return"video"}airPlay;fullscreen;pictureInPicture;constructor(t,e){super(t,e),(0,s.P1)(()=>{if(this.airPlay=new o.z(t,e),(0,a.Jt)(t)){const i=new c(t,e);this.fullscreen=new u(i),this.pictureInPicture=new l(i)}else(0,a.dE)(t)&&(this.pictureInPicture=new h(t,e))},this.scope)}setup(){super.setup(),(0,a.uo)(this.video)&&new d(this.video,this.ctx),this.ctx.textRenderers.attachVideo(this.video),(0,s.zp)(()=>{this.ctx.textRenderers.attachVideo(null)}),"video"===this.type&&this.ctx.notify("provider-setup",this)}get video(){return this.media}}},57121:function(t,e,i){i.d(e,{z:function(){return n}});var s=i(69370),a=class{#t;#u;#r;#mt=(0,s.O)(!1);get supported(){return this.#mt()}constructor(t,e){this.#t=t,this.#u=e,this.#gt()}#gt(){this.#t?.remote&&this.canPrompt&&(this.#t.remote.watchAvailability(t=>{this.#mt.set(t)}).catch(()=>{this.#mt.set(!1)}),(0,s.QZ)(this.#vt.bind(this)))}#vt(){if(!this.#mt())return;const t=["connecting","connect","disconnect"],e=this.#yt.bind(this);e(),(0,s.k6)(this.#t,"playing",e);const i=new s.En(this.#t.remote);for(const s of t)i.add(s,e)}async prompt(){if(!this.supported)throw Error("Not supported on this platform.");return"airplay"===this.type&&this.#t.webkitShowPlaybackTargetPicker?this.#t.webkitShowPlaybackTargetPicker():this.#t.remote.prompt()}#yt(t){const e=this.#t.remote.state;if(e===this.#r)return;const i={type:this.type,state:e};this.#u.notify("remote-playback-change",i,t),this.#r=e}},n=class extends a{type="airplay";get canPrompt(){return"WebKitPlaybackTargetAvailabilityEvent"in window}}}}]);
2//# sourceMappingURL=apg-4629.9a705bbeee0d0a44a499.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.