1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[48114],{114(t,o,i){i.r(o),i.d(o,{default:()=>e});let n=window.PluginBaseClass;class e extends n{static #t=this.options={inputLocationSelector:".location",buttonMyLocationSelector:".my-location"};init(){this._inputLocation=this.el.querySelector(this.options.inputLocationSelector),this._buttonMyLocation=this.el.querySelector(this.options.buttonMyLocationSelector),this._registerEvents()}_registerEvents(){this._buttonMyLocation&&this._buttonMyLocation.addEventListener("click",this._onClickButton.bind(this))}_onClickButton(){this._inputLocation.value="0|0",navigator.geolocation&&navigator.geolocation.getCurrentPosition(t=>{this._inputLocation.value=`${t.coords.latitude}|${t.coords.longitude}`,this._inputLocation.dispatchEvent(new Event("input"))})}}}}]);
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.