PageSourceSearch

https://www.naturgefahren.ch/static/2382.2d62f3d2.js

js naturgefahren.ch collected 2026-10-02 06:11:50 UTC 6,389 bytes, 2 lines download raw bytes

1/*! For license information please see 2382.2d62f3d2.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2382],{21258:(e,n,t)=>{t.d(n,{k:()=>o.PageIntro});var o=t(11638)},16265:(e,n,t)=>{t.d(n,{r:()=>r});var o=t(65723);const r=({title:e,level:n=2})=>{const t=`h${n}`;return e?(0,o.jsx)(t,{className:"accessibility-title",children:e}):null}},71163:(e,n,t)=>{t.d(n,{S:()=>o});const o=[t.p+"css/mch/accessibility-title.391ddf47.css"].filter(((e,n,t)=>t.indexOf(e)===n))},24498:(e,n,t)=>{t.d(n,{j:()=>l});var o=t(65723),r=t(41594),s=t(11618),i=t(12232),a=t(40149);const c=(0,s.V)({goToTop:{de:"Zum Seitenbeginn springen",fr:"Aller au début de la page",it:"Torna alla pagina iniziale ",en:"Scroll to top",rm:"Al cumenzament da la pagina"}}),l=({iconSize:e})=>{const[n,t]=(0,r.useState)(null);return(0,r.useEffect)((()=>{const e=()=>{var e,o,r,s,i,a;if("back-to-top"===n){t(null);const n=null===(a=null===(i=null===(s=null===(r=null===(o=null===(e=document.querySelector("mch-header"))||void 0===e?void 0:e.shadowRoot)||void 0===o?void 0:o.querySelector("mch-link"))||void 0===r?void 0:r.shadowRoot)||void 0===s?void 0:s.querySelector("wb-link"))||void 0===i?void 0:i.shadowRoot)||void 0===a?void 0:a.querySelector("a");null==n||n.focus()}};return(0,s.on)("scrollend",e,window),()=>{(0,s.AU)("scrollend",e,window)}}),[n]),(0,o.jsx)(i.$,{ariaLabel:c("goToTop"),onClick:()=>{t("back-to-top"),window.scrollTo({top:0,behavior:"smooth"})},children:(0,o.jsx)(a.In,{name:"chevron-up",size:e,ariaHidden:"true"})})}},38776:(e,n,t)=>{t.d(n,{S:()=>o});const o=[t.p+"css/mch/go-to-top.bbaf94fa.css"].filter(((e,n,t)=>t.indexOf(e)===n))},65208:(e,n,t)=>{t.d(n,{R:()=>o});const o=(0,t(11618).V)({footer:{de:"Fussbereich",fr:"Pied de page",it:"Piè di pagina",en:"Footer",rm:"Pied dal pagin"}})},55815:(e,n,t)=>{t.d(n,{m:()=>d});var o=t(35079),r=t(71163),s=t(89808),i=t(38776),a=t(99410);const c=t.p+"css/mch/base-page.editor.753cd138.css",l=t.p+"css/mch/base-page.7512e8f6.css",d=[...o.L,...r.S,...s.t,...i.S,...a.w,c,l].filter(((e,n,t)=>t.indexOf(e)===n))},78726:(e,n,t)=>{t.d(n,{v:()=>v});var o=t(65723),r=t(41594),s=t(11618),i=t(16265),a=t(31422),c=t(30395),l=t.n(c),d=t(24498);const u=({headerRef:e,footerRef:n})=>{const[t,s]=(0,r.useState)(!1),[i,a]=(0,r.useState)(!0);(0,r.useEffect)((()=>{if(null==e?void 0:e.current){const n=new IntersectionObserver((e=>{for(const n of e)s(n.isIntersecting)}),{threshold:0});return n.observe(e.current),()=>{n.disconnect()}}}),[null==e?void 0:e.current]);const c=(0,r.useCallback)((e=>{if(e)try{new IntersectionObserver((e=>{var t;for(const o of e)a(!o.isIntersecting||!(null===(t=null==n?void 0:n.current)||void 0===t?void 0:t.offsetHeight))})).observe(e)}catch(e){}}),[n]);return(0,o.jsx)("div",{ref:c,children:(0,o.jsx)("div",{className:l()("mch-go-to-top",{"mch-go-to-top--hidden":t,"mch-go-to-top--stuck":i}),children:(0,o.jsx)(d.j,{iconSize:"none"})})})};var f=t(27344),h=t(65208),p=t(94570),g=t(17415);const v=({pageIntroElement:e,children:n,childrenPosition:t="before-main-slot"})=>{const c=(0,r.useRef)(null),l=(0,r.useRef)(null),d=(0,s.Rd)("main");return(0,r.useEffect)((()=>{(0,g.j$)()}),[]),(0,o.jsx)(f.h,{children:(0,o.jsxs)("div",{children:[(0,o.jsxs)(a.A,{children:[(0,o.jsx)("header",{ref:c,children:(0,o.jsx)("slot",{name:"header"})}),(0,o.jsx)("div",{className:"page-main__wrapper",ref:d,children:(0,o.jsxs)("main",{children:[e,"before-main-slot-layout"===t&&n,(0,o.jsxs)(p.P,{distribution:"1",children:["before-main-slot"===t&&n,(0,o.jsx)("slot",{slot:"main",name:"main"}),"after-main-slot"===t&&n]})]})})]}),(0,o.jsxs)("footer",{className:"page-footer",ref:l,children:[(0,o.jsx)(i.r,{title:(0,h.R)("footer")}),(0,o.jsx)(u,{headerRef:c,footerRef:l}),(0,o.jsx)("slot",{name:"footer"})]})]})})}},17415:(e,n,t)=>{t.d(n,{j$:()=>a});var o=t(11618),r=t(6405);const s=(e,n=document.body,t=100)=>{if(t<=0)return null;const o=i(e,n,t-1);if(o)return o;if(n.hasChildNodes())for(const o of Array.from(n.children)){let n=i(e,o,t-1);if(n)return n;if(n=s(e,o,t-1),n)return n}return null},i=(e,n,t)=>{if(null==n?void 0:n.shadowRoot){const o=n.shadowRoot.querySelector(e);
2if(o)return o;for(const o of Array.from(n.shadowRoot.children)){const n=s(e,o,t);if(n)return n}}const o=null==n?void 0:n.querySelector(e);return o||null};function a(){setTimeout((()=>{c(),window.addEventListener("hashchange",(()=>{c()}))}),1e3)}function c(e){const n=e||function(e=window.location){const n=e.hash.slice(1);if(!n)return null;if(!n.includes("="))return n;return(0,o.pe)(n)[r.ci]||null}();if(!n)return;const t=s(`#${n}`);t&&function(e,{behavior:n="smooth"}={}){const t=e.getBoundingClientRect(),o=window.scrollY,r=t.top+o;window.scrollTo({top:r,behavior:n})}(t)}},78758:(e,n,t)=>{t.r(n),t.d(n,{NgpPressReleasePage:()=>h,NgpPressReleasePageElement:()=>u,default:()=>p});var o=t(65723),r=(t(41594),t(69913)),s=t(91536),i=t(35079),a=t(55815);const c=[...[...i.L,...a.m].filter(((e,n,t)=>t.indexOf(e)===n))].filter(((e,n,t)=>t.indexOf(e)===n));var l=t(19521);const d=({data:e})=>(0,o.jsx)(l.A,{data:e}),u=(0,r.b)({reactComponent:d,cssUrls:[...c],properties:{data:Object}}),f=(0,s.N)("ngp-press-release-page",u),h=e=>(0,o.jsx)(f,Object.assign({},e)),p=u},19521:(e,n,t)=>{t.d(n,{A:()=>i});var o=t(65723),r=t(21258),s=t(78726);const i=({data:e})=>{const{title:n,lead:t,pageIntroRenditions:i,date:a,categories:c,teaserType:l,languageLinks:d,childrenPosition:u,children:f}=e,h={text:t,heading:n,pageIntroRenditions:i,type:"simple",date:a,categories:c,pageType:l,languageLinks:d,canBeShared:!0};return(0,o.jsx)(s.v,{pageIntroElement:(0,o.jsx)(r.k,Object.assign({},h)),childrenPosition:u,children:f})}},6405:(e,n,t)=>{t.d(n,{D0:()=>l,Fk:()=>b,PY:()=>u,Qw:()=>s,RX:()=>f,YM:()=>g,YY:()=>v,ci:()=>p,dP:()=>i,f4:()=>h,gz:()=>r,i2:()=>d,iR:()=>j,l$:()=>a,uh:()=>c,un:()=>w,vX:()=>m});var o=t(11618);const r="tab",s="pollen",i="weather-tab",a="hazards-tab",c="l-a-tab",l="hazards-list-tab",d="forecast-tab",u="region",f="place",h="pos",p="a",g="ogd-q",v="ogd-cat",m="ogd-fmt",b="ogd-kw",j=(e,n)=>{const[t,r]=(0,o.N_)({[n]:e},{encodeMapping:e=>({[n]:String(e[n])}),decodeMapping:t=>({[n]:void 0===t[n]?e:Number(t[n])})});return[t[n],e=>r({[n]:e})]},w=(e,n,t)=>{const[r,s]=(0,o.N_)({[n]:e},{encodeMapping:e=>({[n]:String(e[n])}),decodeMapping:o=>{const r=o[n],s=function(e,n){if(e)try{return e[n]}catch(e){}}(t,r);return{[n]:s||r||e}}});return[r[n],e=>s({[n]:e})]}}}]);

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.