PageSourceSearch

https://wnti.ch/_next/static/chunks/pages/404-aea7c6898f2b91ef.js

js wnti.ch collected 2026-09-25 06:43:09 UTC 5,898 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6e734f52-6859-41d7-9a67-cf57e10efb4b",e._sentryDebugIdIdentifier="sentry-dbid-6e734f52-6859-41d7-9a67-cf57e10efb4b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[336],{18019:(e,t,r)=>{"use strict";r.d(t,{U:()=>u});var o=r(2860),n=r(83113),i=r(89441),s=r(62454),l=r(89072),a=r(85612);function u({documentType:e,documentId:t,tags:r,className:u}){let{Banner:c}=(0,i.K8)(),{hasUser:d}=(0,s.Jd)(),f=(0,l.J)(),{data:p,loading:g,error:v}=(0,n.gn6)({skip:null==f,variables:{documentId:t??"",documentType:e,loggedIn:d,hasSubscription:f,hasPaywallBypass:(0,a.ns)()}});return(0,o.Y)(c,{data:p,loading:g,error:v,tags:r,className:u})}},18081:(e,t,r)=>{"use strict";r.d(t,{L:()=>u});var o=r(2860),n=r(67532),i=r(61264),s=r(83113),l=r(89441),a=r(18019);function u({id:e,slug:t,className:r,children:u}){let{Page:c}=(0,l.K8)(),{data:d,loading:f,error:p}=(0,s.Nuq)({variables:{id:e,slug:t}});return(0,o.Y)(n.w,{children:(0,o.FD)(i.b,{children:[(0,o.Y)(a.U,{documentId:d?.page?.id,documentType:s.ank.Page}),(0,o.Y)(c,{data:d,loading:f,error:p,className:r,children:u})]})})}},22900:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var o=r(83113),n=r(62454);let i=()=>{let{setToken:e,hasUser:t}=(0,n.Jd)(),r=(0,o.F$b)({skip:t});return{register:(0,o.gef)({onError:()=>r.refetch(),onCompleted(t){t.registerMember.session&&e(t.registerMember.session)}}),challenge:r}}},24409:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/404",function(){return r(37053)}])},37053:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>s,default:()=>i});var o=r(2860),n=r(18081);function i(){return(0,o.Y)(n.L,{slug:"404"})}r(83113);var s=!0},56758:(e,t,r)=>{"use strict";r.d(t,{S:()=>s,tS:()=>a,yG:()=>l});var o=r(83113),n=r(55729);let i=e=>e.startsWith("http")?e:`${window.location.origin}${e}`,s=(...e)=>
1{let[t,r]=(0,n.useState)(),[s,l]=(0,n.useState)(),[a]=(0,o.FJY)({...e[0]});return[(0,n.useCallback)(async(e,...t)=>{let o=i(e?.successPage?.url??"/profile"),n=i(e?.failPage?.url??"/profile");return l({successUrl:o,failUrl:n}),a({...t[0],variables:t[0]?.variables?{...t[0].variables,successURL:o,failureURL:n}:void 0,onCompleted:e=>{t[0]?.onCompleted?.(e),u({intent:e.createUserSubscription??void 0,successUrl:o,failUrl:n,setStripeClientSecret:r})},onError:e=>window.location.href=`${n}?error=${encodeURIComponent(e.message)}`})},[a]),s,t]},l=(...e)=>{let[t,r]=(0,n.useState)(),[s,l]=(0,n.useState)(),[a]=(0,o.zMy)({...e[0]});return[(0,n.useCallback)(async(e,...t)=>{let o=i(e?.successPage?.url??"/profile"),n=i(e?.failPage?.url??"/profile");return l({successUrl:o,failUrl:n}),a({...t[0],variables:t[0]?.variables?{...t[0].variables,successURL:o,failureURL:n}:void 0,onCompleted:e=>{t[0]?.onCompleted?.(e),u({intent:e.upgradeUserSubscription??void 0,successUrl:o,failUrl:n,setStripeClientSecret:r})},onError:e=>window.location.href=`${n}?error=${encodeURIComponent(e.message)}`})},[a]),s,t]},a=(...e)=>{let[t,r]=(0,n.useState)(),[i,s]=(0,n.useState)(),[l]=(0,o.oo5)({...e[0]});return[(0,n.useCallback)(async(e,...t)=>{let o=e?.successPage?.url??window.location.origin+"/profile",n=e?.failPage?.url??window.location.origin+"/profile";return s({successUrl:o,failUrl:n}),l({...t[0],variables:t[0]?.variables?{...t[0].variables,successURL:o,failureURL:n}:void 0,onCompleted:e=>{t[0]?.onCompleted?.(e),u({intent:e.createPaymentFromInvoice??void 0,successUrl:o,failUrl:n,setStripeClientSecret:r})},onError:e=>window.location.href=`${n}?error=${encodeURIComponent(e.message)}`})},[l]),i,t]},u=({intent:e,successUrl:t,failUrl:r,setStripeClientSecret:o})=>{if(!e){window.location.href=`${r}?error=${encodeURIComponent("Intent konnte nicht gefunden werden.")}`;return}if("paid"===e.state){window.location.href=t;return}if("stripe"===e.paymentMethod.paymentProviderID)return void o?.(e.intentSecret??void 0);if(o?.(void 0),!e.intentSecret){window.location.href=t;return}if(e.intentSecret.startsWith("http")){window.location.href=e.intentSecret;return}}},61264:(e,t,r)=>{"use strict";r.d(t,{b:()=>u});var o=r(2860),n=r(62454),i=r(22900),s=r(44776),l=r(83113),a=r(56758);function u({children:e}){let{hasUser:t}=(0,n.Jd)(),r=(0,l.eLu)({skip:!t}),u=(0,l.QjV)({skip:!t}),[c,d,f]=(0,a.S)(),[p,g,v]=(0,a.yG)(),b=(0,l.Ra7)({fetchPolicy:"cache-first"}),w=(0,l.rlh)({fetchPolicy:"cache-first"}),{register:h,challenge:m}=(0,i.L)(),y=(0,l.UdU)();return(0,o.Y)(s.F.Provider,{value:{userSubscriptions:r,userInvoices:u,subscribe:c,upgrade:p,upgradeInfo:b,subscribeInfo:w,redirectPages:d??g,stripeClientSecret:f??v,register:h,challenge:m,resubscribe:y},children:e})}},67532:(e,t,r)=>{"use strict";r.d(t,{w:()=>u});var o=r(2860),n=r(62454),i=r(83113),s=r(55729),l=r(7268);let a=e=>"u">typeof localStorage?localStorage.getItem(`poll-vote:${e}`):null;function u({children:e}){let{hasUser:t}=(0,n.Jd)(),[r]=(0,i.SmP)(),[u]=(0,i.ciS)({onCompleted(e,t){let r,o;e.voteOnPoll&&(r=e.voteOnPoll.pollId,o=e.voteOnPoll.answerId,"u">typeof localStorage&&localStorage.setItem(`poll-vote:${r}`,o))}}),{data:c}=(0,i.obv)(),d=(0,s.useMemo)(()=>!!c?.settings.find(e=>e.name===i.Oup.AllowGuestPollVoting)?.value,[c?.settings]),f=(0,s.useCallback)(async function(e,r){return a(r)?void 0:t?await u(e):d?u(e):void 0},[d,t,u]);return(0,o.Y)(l.y.Provider,{value:{fetchUserVote:r,vote:f,canVoteAnonymously:d,getAnonymousVote:a},children:e})}},89072:(e,t,r)=>{"use strict";r.d(t,{J:()=>l,k:()=>s});var o=r(62454),n=r(83113),i=r(55729);let s=()=>{let{hasUser:e}=(0,o.Jd)(),{data:t}=(0,n.eLu)({fetchPolicy:"cache-first",skip:!e}),r=(0,i.useMemo)(()=>t?.userSubscriptions.filter(({isActive:e})=>e),[t?.userSubscriptions]);return t?.userSubscriptions?r:null},l=()=>{let e=s();return!!e?.length}}},e=>{e.O(0,[636,593,792],()=>e(e.s=24409)),_N_E=e.O()}]);

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.