1"use strict";(self.webpackChunkkunstmaan_edition=self.webpackChunkkunstmaan_edition||[]).push([[4331],{6712:(e,o,t)=>{t.r(o),t.d(o,{handleChange:()=>s,handleObserve:()=>r});var a=t(5649);let n=null,i=()=>{};const l=new Promise(e=>{i=e});try{n=JSON.parse(window.localStorage.getItem("geolocation"))}catch(e){n=null}i();const s=async(e,o,t=!0)=>{const i=e.options[e.selectedIndex],s=void 0!==i&&i.hasAttribute("data-require-user-location"),r=Array.from((0,a.A)(e.dataset.coordinateField));for(const e of r)e.disabled=!s;if(t&&s)try{const e=await(async()=>(await l,null!==n?Promise.resolve(n):new Promise((e,o)=>{navigator.geolocation.getCurrentPosition(o=>{n={latitude:o.coords.latitude,longitude:o.coords.longitude},window.localStorage.setItem("geolocation",JSON.stringify(n)),e(n)},()=>{window.localStorage.removeItem("geolocation"),o()})})))();if(e)for(const o of r)o.value=`${e.latitude},${e.longitude}`}catch(e){}},r=async(e,o)=>s(e,o,!1)}}]);
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.