PageSourceSearch

https://schulteufer.de/theme/ea56c8fdc093b3e6898be3636819d006/js/m…-foundation.input-location.plugin.061f1b.js

js schulteufer.de collected 2026-10-10 00:50:26 UTC 824 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[51792],{792:(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.