PageSourceSearch

https://www.heitenried.ch/compiled/index/js/searchchmap-cms.43b9a140db1438f21cd1.js

js heitenried.ch collected 2026-10-02 20:58:25 UTC 1,821 bytes, 1 lines download raw bytes

1(self.webpackChunkCMS=self.webpackChunkCMS||[]).push([[8071],{93313:(t,a,e)=>{var i=e(19755),n=i("html").attr("lang");i.getScript("https://map.search.ch/api/map.js?lang="+n.substr(0,2),(function(){i('*[data-webpack-module="searchchmap"]').each((function(){var t,a,e,n=i(this).data("pois-default-selection"),o=i(this).data("pois-possible-selections"),s=i(this).data("standardzoom"),c=i(this).data("width-fraction"),r=i(this).data("height-fraction"),h=[i(this).data("center-ort"),i(this).data("center-strasse")].join("/"),p=i(this).data("center-latitude"),d=i(this).data("center-longitude"),l=i(this).data("ortsplan-pois")||[],u=i(this).data("ortsplan-pois-icon"),m=i(this).data("ortsplan-address-url");function f(){var t=i("#ortSelect").val(),a=i("#strasse").val();if(""!=t||""!=a){var e=m.replace(/ORT/,t).replace(/STRASSE/,a);window.history.replaceState({},null,e)}}function w(){var a=i("#mapcontainer-max-width").width()*c,e=i(window).height()*r;t.resize(a,e)}function k(a){a||(a=[i("#ortSelect").val(),i("#strasse").val()].join("/")),t.set({center:a})}p&&d&&(h=[d,p]),t=new SearchChMap({circle:!0,center:h,zoom:s}),e=o,""===(a=n)?t.hidePOIGroup(e):t.set({poigroups:a}),function(a,e){i.each(a,(function(a,i){var n={title:i.title,html:i.description,center:i.center,icon:e};-1!==parseInt(i.minZoom)&&(n.minzoom=parseInt(i.minZoom)),-1!==parseInt(i.maxZoom)&&(n.maxzoom=parseInt(i.maxZoom)),t.addPOI(new SearchChPOI(n))}))}(l,u),w(),k(h),function(t,a){if(""!==a){var e=a.split(",");i.each(e,(function(a,e){i("#"+e).prop("checked",t.indexOf(e)>=0)}))}}(n,o),i(".goBtn").on("click",(function(){k(),f()})),i("#strasse").on("keyup",(function(t){13==t.keyCode&&(k(),f())})),i(".chk_box_poi_group").change((function(){this.checked?t.showPOIGroup(this.id):t.hidePOIGroup(this.id)})),i(window).resize((function(){w()}))}))}))}}]);

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.