PageSourceSearch

https://www.meetinfriesland.nl/build/2942.420f724d0b407cbf0070.bundle.js

js meetinfriesland.nl collected 2026-10-09 03:10:18 UTC 5,405 bytes, 1 lines download raw bytes

1(self.webpackChunkkunstmaan_edition=self.webpackChunkkunstmaan_edition||[]).push([[2942],{2942:(e,n,t)=>{"use strict";t.d(n,{default:()=>s});var l=t(2891);t(9401);const s=class extends l.xI{connect(){this.element.addEventListener("ux:map:connect",this._onConnect)}disconnect(){this.element.removeEventListener("ux:map:connect",this._onConnect)}_onConnect(e){const{map:n,extra:t}=e.detail;L.control.fullscreen({position:t.controlPosition||"topleft",forceSeparateButton:!0}).addTo(n)}}},9401:function(e,n,t){var l,s,i,o;"undefined"!=typeof self&&self,o=e=>{"use strict";if("undefined"==typeof document)return console.warn('"window.document" is undefined; leaflet.fullscreen requires this object to access the DOM'),!1;const n=(()=>{const e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"]],n=e[0],t={};for(const l of e)if(l[1]in document){for(let e=0;e<l.length;e++)t[n[e]]=l[e];return t}return!1})(),t={change:n.fullscreenchange,error:n.fullscreenerror},l={request(e,t){return new Promise((l,s)=>{const i=function(){this.off("change",i),l()}.bind(this);this.on("change",i);const o=(e=e||document.documentElement)[n.requestFullscreen](t);o instanceof Promise&&o.then(i).catch(s)})},exit(){return new Promise((e,t)=>{if(!this.isFullscreen)return void e();const l=function(){this.off("change",l),e()}.bind(this);this.on("change",l);const s=document[n.exitFullscreen]();s instanceof Promise&&s.then(l).catch(t)})},on(e,n){const l=t[e];l&&document.addEventListener(l,n,!1)},off(e,n){const l=t[e];l&&document.removeEventListener(l,n,!1)},nativeAPI:n};return Object.defineProperties(l,{isFullscreen:{get:()=>Boolean(document[n.fullscreenElement])},isEnabled:{enumerable:!0,get:()=>Boolean(document[n.fullscreenEnabled])}}),e.Control.FullScreen=e.Control.extend({options:{position:"topleft",title:"Full Screen",titleCancel:"Exit Full Screen",forceSeparateButton:!1,forcePseudoFullscreen:!1,fullscreenElement:!1},_screenfull:l,onAdd(n){let t,l="leaflet-control-zoom-fullscreen",s="";return t=n.zoomControl&&!this.options.forceSeparateButton?n.zoomControl._container:e.DomUtil.create("div","leaflet-bar"),this.options.content?s=this.options.content:l+=" leaflet-fullscreen-icon",this._createButton(this.options.title,l,s,t,this.toggleFullScreen,this),this._map.fullscreenControl=this,this._map.on("enterFullscreen exitFullscreen",this._toggleState,this),t},onRemove(){e.DomEvent.off(this.link,"click",e.DomEvent.stop).off(this.link,"click",this.toggleFullScreen,this),this._screenfull.isEnabled&&(e.DomEvent.off(this._container,this._screenfull.nativeAPI.fullscreenchange,e.DomEvent.stop).off(this._container,this._screenfull.nativeAPI.fullscreenchange,this._handleFullscreenChange,this),e.DomEvent.off(document,this._screenfull.nativeAPI.fullscreenchange,e.DomEvent.stop).off(document,this._screenfull.nativeAPI.fullscreenchange,this._handleFullscreenChange,this))},_createButton(n,t,l,s,i,o){return this.link=e.DomUtil.create("a",t,s),this.link.href="#",this.link.title=n,this.link.innerHTML=l,this.link.setAttribute("role","button"),this.link.setAttribute("aria-label",n),L.DomEvent.disableClickPropagation(s),e.DomEvent.on(this.link,"click",e.DomEvent.stop).on(this.link,"click",i,o),this._screenfull.isEnabled&&(e.DomEvent.on(s,this._screenfull.nativeAPI.fullscreenchange,e.DomEvent.stop).on(s,this._screenfull.nativeAPI.fullscreenchange,this._handleFullscreenChange,o),e.DomEvent.on(document,this._screenfull.nativeAPI.fullscreenchange,e.DomEvent.stop).on(document,this._screenfull.nativeAPI.fullscreenchange,this._handleFullscreenChange,o)),this.link},toggleFullScreen(){const n=this._map;n._exitFired=!1,n._isFullscreen?(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.exit().then(()=>n.invalidateSize()):(e.DomUtil.removeClass(this.options.fullscreenElement?this.options.fullscreenElement:n._container,"leaflet-pseudo-fullscreen"),n.invalidateSize()),n.fire("exitFullscreen"),n._exitFired=!0,n._isFullscreen=!1):(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.request(this.options.fullscreenElement?this.options.fullscreenElement:n._container).then(()=>n.invalidateSize()):(e.DomUtil.addClass(this.options.fullscreenElement?this.options.fullscreenElement:n._container,"leaflet-pseudo-fullscreen"),n.invalidateSize()),n.fire("enterFullscreen"),n._isFullscreen=!0)},_toggleState(){this.link.title=this._map._isFullscreen?this.options.title:this.options.titleCancel,this._map._isFullscreen?L.DomUtil.removeClass(this.link,"leaflet-fullscreen-on"):L.DomUtil.addClass(this.link,"leaflet-fullscreen-on")},_handleFullscreenChange(e){const n=this._map;e.target!==n.getContainer()||this._screenfull.isFullscreen||n._exitFired||(this._screenfull.exit().then(()=>n.invalidateSize()),n.fire("exitFullscreen"),n._exitFired=!0,n._isFullscreen=!1)}}),e.Map.include({toggleFullscreen(){this.fullscreenControl.toggleFullScreen()}}),e.Map.addInitHook(function(){this.options.fullscreenControl&&this.addControl(e.control.fullscreen(this.options.fullscreenControlOptions))}),e.control.fullscreen=function(n){return new e.Control.FullScreen(n)},{leaflet:e}},s=[t(3481)],void 0===(i="function"==typeof(l=o)?l.apply(n,s):l)||(e.exports=i)}}]);

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.