1"use strict";(self.webpackChunkCMS=self.webpackChunkCMS||[]).push([[6006],{88439:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(8081),i=t.n(o),s=t(23645),r=t.n(s)()(i());r.push([e.id,"\n.friedhofplan-dietikon[data-v-1734308c] {\n position: relative;\n padding: 0;\n margin: 0;\n width: 100%;\n height: 100%;\n}\n.friedhofplan-dietikon__map[data-v-1734308c] {\n width: 100%;\n height: 100%;\n}\n.friedhofplan-dietikon__notice[data-v-1734308c] {\n position: absolute;\n display: flex;\n gap: 0.75rem;\n align-items: flex-start;\n justify-content: space-between;\n right: 1rem;\n bottom: 1.5rem;\n left: 1rem;\n z-index: 1000;\n padding: 0.75rem 1rem;\n border: 1px solid #b6d4fe;\n border-radius: 0.25rem;\n background: #e7f1ff;\n color: #084298;\n font-size: 0.9375rem;\n line-height: 1.35;\n}\n.friedhofplan-dietikon__notice-close[data-v-1734308c] {\n flex: 0 0 auto;\n padding: 0;\n border: 0;\n background: transparent;\n color: #084298;\n cursor: pointer;\n font-size: 1.25rem;\n font-weight: 700;\n line-height: 1;\n}\n",""]);const a=r},26006:(e,n,t)=>{t.r(n),t.d(n,{default:()=>w});var o=function(){var e=this,n=e._self._c;return n("div",{staticClass:"friedhofplan-dietikon"},[n("div",{ref:"friedhofplan_dietikon",staticClass:"friedhofplan-dietikon__map"}),e._v(" "),e.mapNotice?n("div",{staticClass:"friedhofplan-dietikon__notice",attrs:{role:"status"}},[n("span",[e._v(e._s(e.mapNotice))]),e._v(" "),n("button",{staticClass:"friedhofplan-dietikon__notice-close",attrs:{type:"button","aria-label":"Hinweis schliessen"},on:{click:function(n){e.mapNotice=null}}},[e._v("\n Ã\n ")])]):e._e()])};o._withStripped=!0;var i=t(45243),s=t.n(i),r=t(62980);t(41751),t(28171);const a={name:"dietikon-ago-map",props:{section:String,graveNumber:String},data:()=>({map:null,mapNotice:null}),mounted(){this.initMap()},beforeDestroy(){this.map&&(this.map.remove(),this.map=null)},methods:{grabBezeichnung(){return this.section+" - "+this.graveNumber}
1,async initMap(){this.mapNotice=null;const e={epsg:"EPSG:2056",def:"+proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=2600000 +y_0=1200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs",resolutions:[4096,2048,1024,512,256,128,64,32,16,8,4,2,1,.5,.25,.125,.0625,.03125,.015625],origin:[2673321,1250119],bounds:s().bounds([2672961.029,1250022.0462],[2673195.6116,1250209.1264])};r.default.defs(e.epsg,e.def);const n=new(s().Proj.CRS)(e.epsg,null,{resolutions:e.resolutions,origin:e.origin,bounds:e.bounds}),t=s().latLngBounds(n.unproject(e.bounds.min),n.unproject(e.bounds.max));this.map=s().map(this.$refs.friedhofplan_dietikon,{crs:n,maxZoom:e.resolutions.length-1,zoom:10}),this.map.attributionControl.setPrefix(!1),s().tileLayer.wms("/_friedhofplan/dietikon_ago/wms",{layers:"0,1,2,3,4,5,6,7,8",transparent:!0,opacity:.5,format:"image/png",version:"1.3.0",maxZoom:e.resolutions.length}).addTo(this.map),this.map.fitBounds(t);const o='<fes:Filter xmlns:fes="http://www.opengis.net/fes/2.0"><fes:And><fes:PropertyIsEqualTo><fes:ValueReference>Grabnummer</fes:ValueReference><fes:Literal>'+this.graveNumber+"</fes:Literal></fes:PropertyIsEqualTo><fes:PropertyIsEqualTo><fes:ValueReference>Sektion</fes:ValueReference><fes:Literal>"+this.section+"</fes:Literal></fes:PropertyIsEqualTo></fes:And></fes:Filter>",i="https://maps.achtgradost.ch/arcgis_ago/services/ago_wms/ago_wfs_friedhof_DIE/MapServer/WFSServer?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=friedhof:Grabnummersuche&SRSNAME=urn:ogc:def:crs:EPSG::2056&OUTPUTFORMAT=geojson&FILTER="+encodeURIComponent(o);try{const e=await fetch(i,{method:"GET"});if(!e.ok)throw new Error(`GeoJSON request failed with status ${e.status}`);const n=await e.json();if(!Array.isArray(n.features)||0===n.features.length)return this.mapNotice="Das Grab konnte im Plan nicht gefunden werden.",console.warn("No Dietikon grave geometry found",{graveNumber:this.graveNumber,section:this.section}),void this.map.fitBounds(t);const o=s().Proj.geoJson(n,{style:{color:"#ff0000",weight:2,fillOpacity:1,fillColor:"#ff7800"},onEachFeature:(e,n)=>{n.bindPopup(this.grabBezeichnung(),{autoPan:!1})}}).addTo(this.map),r=o.getBounds();if(r.isValid()){o.getLayers()[0].openPopup(r.getCenter())}}catch(e){console.error("Error loading GeoJSON:",e)}}}};var l=t(93379),f=t.n(l),d=t(89037),u=t.n(d),c=t(90569),p=t.n(c),h=t(3565),m=t.n(h),g=t(19216),b=t.n(g),_=t(88439),v={};v.setAttributes=m(),v.insert=p().bind(null,"head"),v.domAPI=u(),v.insertStyleElement=b();f()(_.Z,v);_.Z&&_.Z.locals&&_.Z.locals;const w=(0,t(51900).Z)(a,o,[],!1,null,"1734308c",null).exports}}]);
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.