PageSourceSearch

https://bajour.ch/_next/static/chunks/pages/index-5eaa85f16b5035eb.js

js bajour.ch collected 2026-10-03 20:14:50 UTC 6,564 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]="becd6e70-5315-435d-8249-da658976ec9f",e._sentryDebugIdIdentifier="sentry-dbid-becd6e70-5315-435d-8249-da658976ec9f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[332],{3344:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>d,default:()=>p});var n=r(2860),o=r(25527),i=r(2148),a=r(85611),l=r(18081),s=r(89441),c=r(25399);let u=(0,o.A)(l.L,{target:"e10zonb70"})("grid-column:-1/1;gap:",({theme:e})=>e.spacing(3),";",c.Q,"{padding-left:calc(100% / 24);padding-right:calc(100% / 24);}",({theme:e})=>e.breakpoints.up("sm"),"{gap:",({theme:e})=>e.spacing(6),";}",({theme:e})=>e.breakpoints.up("md"),"{gap:",({theme:e})=>e.spacing(5),";",i.tp,"{padding-left:calc(100% / 12);padding-right:calc(100% / 12);}}",({theme:e})=>e.breakpoints.up("lg"),"{grid-column:2/3;",c.Q,"{padding:0;}}",({theme:e})=>e.breakpoints.up("xl"),"{gap:",({theme:e})=>e.spacing(10),";}");var d=!0;function p(){return(0,n.Y)(s.s1.Provider,{value:{prefetch:!0},children:(0,n.Y)(a.DE,{fullWidth:!0,children:(0,n.Y)(u,{slug:"home"})})})}},17703:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(3344)}])},18019:(e,t,r)=>{"use strict";r.d(t,{U:()=>c});var n=r(2860),o=r(22626),i=r(89441),a=r(62454),l=r(89072),s=r(85612);function c({documentType:e,documentId:t,tags:r,className:c}){let{Banner:u}=(0,i.K8)(),{hasUser:d}=(0,a.Jd)(),p=(0,l.J)(),{data:g,loading:f,error:v}=(0,o.gn6)({skip:null==p,variables:{documentId:t??"",documentType:e,loggedIn:d,hasSubscription:p,hasPaywallBypass:(0,s.ns)()}});return(0,n.Y)(u,{data:g,loading:f,error:v,tags:r,className:c})}},18081:(e,t,r)=>{"use strict";r.d(t,{L:()=>c});var n=r(2860),o=r(67532),i=r(61264),a=r(22626),l=r(89441),s=r(18019);function c({id:e,slug:t,className:r,children:c}){let{Page:u}=(0,l.K8)(),{data:d,loading:p,error:g}=(0,a.Nuq)({variables:{id:e,slug:t}});return(0,n.Y)(o.w,{children:(0,n.FD)(i.b,{children:[(0,n.Y)(s.U,{documentId:d?.page?.id,documentType:a.ank.Page}),(0,n.Y)(u,{data:d,loading:p,error:g,className:r,children:c})]})})}},22900:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(22626),o=r(62454);let i=()=>{let{setToken:e,hasUser:t}=(0,o.Jd)(),r=(0,n.F$b)({skip:t});return{register:(0,n.gef)({onError:()=>r.refetch(),onCompleted(t){t.registerMember.session&&e(t.registerMember.session)}}),challenge:r}}},56758:(e,t,r)=>{"use strict";r.d(t,{S:()=>a,tS:()=>s,yG:()=>l});var n=r(22626),o=r(55729);let i=e=>e.startsWith("http")?e:`${window.location.origin}${e}`,a=(...e)=>{let[t,r]=(0,o.useState)(),[a,l]=(0,o.useState)(),[s]=(0,n.FJY)({...e[0]});return[(0,o.useCallback)(async(e,...t)=>{let n=i(e?.successPage?.url??"/profile"),o=i(e?.failPage?.url??"/profile");return l({successUrl:n,failUrl:o}),s({...t[0],variables:t[0]?.variables?{...t[0].variables,successURL:n,failureURL:o}:void 0,onCompleted:e=>{t[0]?.onCompleted?.(e),c({intent:e.createUserSubscription??void 0,successUrl:n,failUrl:o,setStripeClientSecret:r})},onError:e=>window.location.href=`${o}?error=${encodeURIComponent(e.message)}`})},[s]),a,t]},l=(...e)=>{let[t,r]=(0,o.useState)(),[a,l]=(0,o.useState)(),[s]=(0,n.zMy)({...e[0]});return[(0,o.useCallback)(async(e,...t)=>{let n=i(e?.successPage?.url??"/profile"),o=i(e?.failPage?.url??"/profile");return l({successUrl:n,failUrl:o}),s({...t[0],variables:t[0]?.variables?{...t[0].variables,successURL:n,failureURL:o}:void 0,onCompleted:e=>{t[0]?.onCompleted?.(e),c({intent:e.upgradeUserSubscription??void 0,successUrl:n,failUrl:o,setStripeClientSecret:r})},onError:e=>window.location.href=`${o}?error=${encodeURIComponent(e.message)}`})},[s]),a,t]},s=(...e)=>{let[t,r]=(0,o.useState)(),[i,a]=(0,o.useState)(),[l]=(0,n.oo5)({...e[0]});return[(0,o.useCallback)(async(e,...t)=>{let n=e?.successPage?.url??window.location.origin+"/profile",o=e?.failPage?.url??window.location.origin+"/profile";return a({successUrl:n,failUrl:o}),l({...t[0],variables:t[0]?.variables?{...t[0].variables,successURL:n,failureURL:o}:void 0,onCompleted:e=>{t[0]?.onCompleted?.(e),c({intent:e.createPaymentFromInvoice??void 0,successUrl:n,failUrl:o,setStripeClientSecret:r})},onError:e=>window.location.href=`${o}?error=${encodeURIComponent(e.message)}`})},[l]),i,t]},c=({intent:e,successUrl:t,failUrl:r,setStripeClientSecret:n})=>{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 n?.(e.intentSecret??void 0);if(n?.(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:()=>c});var n=r(2860),o=r(62454),i=r(22900),a=r(44776),l=r(22626),s=r(56758);function c({children:e}){let{hasUser:t}=(0,o.Jd)(),r=(0,l.eLu)({skip:!t}
1),c=(0,l.QjV)({skip:!t}),[u,d,p]=(0,s.S)(),[g,f,v]=(0,s.yG)(),b=(0,l.Ra7)({fetchPolicy:"cache-first"}),h=(0,l.rlh)({fetchPolicy:"cache-first"}),{register:w,challenge:m}=(0,i.L)(),y=(0,l.UdU)();return(0,n.Y)(a.F.Provider,{value:{userSubscriptions:r,userInvoices:c,subscribe:u,upgrade:g,upgradeInfo:b,subscribeInfo:h,redirectPages:d??f,stripeClientSecret:p??v,register:w,challenge:m,resubscribe:y},children:e})}},67532:(e,t,r)=>{"use strict";r.d(t,{w:()=>c});var n=r(2860),o=r(62454),i=r(22626),a=r(55729),l=r(7268);let s=e=>"u">typeof localStorage?localStorage.getItem(`poll-vote:${e}`):null;function c({children:e}){let{hasUser:t}=(0,o.Jd)(),[r]=(0,i.SmP)(),[c]=(0,i.ciS)({onCompleted(e,t){let r,n;e.voteOnPoll&&(r=e.voteOnPoll.pollId,n=e.voteOnPoll.answerId,"u">typeof localStorage&&localStorage.setItem(`poll-vote:${r}`,n))}}),{data:u}=(0,i.obv)(),d=(0,a.useMemo)(()=>!!u?.settings.find(e=>e.name===i.Oup.AllowGuestPollVoting)?.value,[u?.settings]),p=(0,a.useCallback)(async function(e,r){return s(r)?void 0:t?await c(e):d?c(e):void 0},[d,t,c]);return(0,n.Y)(l.y.Provider,{value:{fetchUserVote:r,vote:p,canVoteAnonymously:d,getAnonymousVote:s},children:e})}},89072:(e,t,r)=>{"use strict";r.d(t,{J:()=>l,k:()=>a});var n=r(62454),o=r(22626),i=r(55729);let a=()=>{let{hasUser:e}=(0,n.Jd)(),{data:t}=(0,o.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=a();return!!e?.length}}},e=>{e.O(0,[636,593,792],()=>e(e.s=17703)),_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.