1"use strict";(self.webpackChunkfriedwald=self.webpackChunkfriedwald||[]).push([[898],{5997(o,t,e){e(4435);var n,a=e(4692),c=e(4692);c(".getGeolocation").on("click",function(o){o.preventDefault(),navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(o){var t=o.coords.longitude,e=o.coords.latitude,n=new google.maps.LatLng({lat:e,lng:t});(new google.maps.Geocoder).geocode({location:n},function(o,t){c(".locationAutocomplete").val(o[0].formatted_address)})})}),c(".locationAutocomplete").removeAttr("disabled"),c(".locationAutocomplete").on("focus",function(){Array.from(document.getElementsByClassName("locationAutocomplete")).forEach(function(o,t,e){var a={types:["geocode"],componentRestrictions:{country:countrycode}};(n=new google.maps.places.Autocomplete(o,a)).setFields(["address_component"])}),navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(o){var t={lat:o.coords.latitude,lng:o.coords.longitude},e=new google.maps.Circle({center:t,radius:o.coords.accuracy});n.setBounds(e.getBounds())})}),c(".search-form").on("submit",function(o){o.preventDefault();var t=a(this),e=t.find("button, input[type=submit]"),n=new google.maps.Geocoder,c=t.find(".locationAutocomplete").val();c&&(e.attr("disabled","disabled"),n.geocode({address:c,region:countrycode},function(o,n){var c=o[0].geometry.location.lat(),i=o[0].geometry.location.lng(),r={latitude:c,longitude:i,autocomplete:o[0].formatted_address};t.find(".locationAutocomplete").val(r.autocomplete),t.trigger("locationUpdate",[i,c]),function(o,t){a.cookie.json=!0,a.cookie("location",t,{path:"/",expires:365})}(0,r),window.location.href=t.attr("action"),e.removeAttr("disabled")}))}),c(".search-form").on("locationUpdate",function(o,t,e){var n=c(this),i=(n.attr("action"),a(this).data("current-uri")+"/search/"+t+"/"+e+"#results-list");n.attr("action",i)})}},o=>{o(o.s=5997)}]);
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.