PageSourceSearch

https://www.naturskyddsforeningen.se/_next/static/chunks/1698.7320b7d112dc3887.js

js naturskyddsforeningen.se collected 2026-10-01 10:38:01 UTC 1,813 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1698],{61698:function(e,t,s){s.r(t),s.d(t,{default:function(){return d}});var r=s(85893),i=s(67294),a=s(11163),n=s(80450),c=s(37485),o=s(52797),l=s(86572);function d(e){let{block:t}=e,s=(0,a.useRouter)(),[d,u]=(0,i.useState)(!1),[p,h]=(0,i.useState)(!1),[w,f]=(0,i.useState)({}),[b,k]=(0,i.useState)(!1),x=(0,n.useMediaPredicate)("(max-width: 640px)"),m=(0,n.useMediaPredicate)("(min-width: 641px) and (max-width: 1024px)"),g=(0,n.useMediaPredicate)("(min-width: 1025px)"),S=(0,l.Z)();return((0,i.useEffect)(()=>{if(!S.isClient||b)return;k(!0);let e=new URLSearchParams(window.location.search);null!==e.get("debug")&&f({block:{os:t.attrs.os,inApp:t.attrs.inApp,redirect:t.attrs.redirect,device:t.attrs.device},browser:{name:S.name,os:S.os,inApp:S.inApp}});let r=!0,i=!0;switch(t.attrs.os){case"ios":r="ios"===S.os;break;case"android":r="android"===S.os}switch(t.attrs.inApp){case"true":i=!0===S.inApp;break;case"false":i=!1===S.inApp}if(r&&i&&t.attrs.redirect.length>0){let r=new URL(t.attrs.redirect,t.attrs.redirect.startsWith("http")?void 0:window.location.origin),i=new URLSearchParams(r.
1search);for(let[t,s]of e.entries())i.has(t)||i.set(t,s);r.search=i.toString();let a=r.toString();a.startsWith("http")?window.location.replace(a):s.push(a);return}u(r&&i)},[S]),(0,i.useEffect)(()=>{var e;let{device:s}=t.attrs;h(null!==(e=s[x?"mobile":m?"tablet":"desktop"])&&void 0!==e&&e)},[x,m,g]),0!==t.innerBlocks.length&&d&&p)?(0,r.jsxs)(c.Z,{width:"bleed",gap:"none",block:t,children:[w.block&&(0,r.jsx)("div",{className:"w-full bottom-0 p-4 text-xs text-white bg-[rebeccapurple]",children:(0,r.jsx)("pre",{children:JSON.stringify(w,null,2)})}),(0,r.jsx)(o.Z,{blocks:t.innerBlocks})]}):null}}}]);
2//# sourceMappingURL=1698.7320b7d112dc3887.js.map

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.