"use strict";exports.id=827,exports.ids=[827],exports.modules={8827:(e,t,i)=>{i.d(t,{GeolocationWeb:()=>n});var a=i(5438);class n extends a.E_{async getCurrentPosition(e){return new Promise((t,i)=>{navigator.geolocation.getCurrentPosition(e=>{t(e)},e=>{i(e)},Object.assign({enableHighAccuracy:!1,timeout:1e4,maximumAge:0},e))})}async watchPosition(e,t){const i=navigator.geolocation.watchPosition(e=>{t(e)},e=>{t(null,e)},Object.assign({enableHighAccuracy:!1,timeout:1e4,maximumAge:0,minimumUpdateInterval:5e3},e));return`${i}`}async clearWatch(e){navigator.geolocation.clearWatch(parseInt(e.id,10))}async checkPermissions(){if("undefined"===typeof navigator||!navigator.permissions)throw this.unavailable("Permissions API not available in this browser");const e=await navigator.permissions.query({name:"geolocation"});return{location:e.state,coarseLocation:e.state}}async requestPermissions(){throw this.unimplemented("Not implemented on web.")}}new n}};