import{c as n,O as o,I as t}from"./p-fc1a362d.js";var r,i=(r=function(n,o){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(n[t]=o[t])})(n,o)},function(n,o){function t(){this.constructor=n}r(n,o),n.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}),a=new(function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return i(r,t),r.prototype.getCurrentPosition=function(o){return n(this,"getCurrentPosition",{callbackOrder:"reverse"},arguments)},r.prototype.watchPosition=function(n){return new o((function(o){var t=navigator.geolocation.watchPosition(o.next.bind(o),o.next.bind(o),n);return function(){return navigator.geolocation.clearWatch(t)}}))},r.pluginName="Geolocation",r.plugin="cordova-plugin-geolocation",r.pluginRef="navigator.geolocation",r.repo="https://github.com/apache/cordova-plugin-geolocation",r.install='ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"',r.installVariables=["GEOLOCATION_USAGE_DESCRIPTION"],r.platforms=["Amazon Fire OS","Android","Browser","iOS","Windows"],r}(t));export{a as G}