PageSourceSearch

https://banking.godutch.com/_next/static/chunks/app/auth/login/pag…?dpl=dpl_GGuYSsZHi6yGwXBKk6KXtXpeMjue

js godutch.com collected 2026-10-02 10:53:26 UTC 12,587 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="36f8515b-6966-42a8-93a2-d0889aed86a1",e._sentryDebugIdIdentifier="sentry-dbid-36f8515b-6966-42a8-93a2-d0889aed86a1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4859],{6135:(e,t,r)=>{"use strict";var s=r(49119);r.o(s,"useParams")&&r.d(t,{useParams:function(){return s.useParams}}),r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},18064:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s={src:"/_next/static/media/new_avatar.07ded02b.svg",height:128,width:127,blurWidth:0,blurHeight:0}},18511:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var s=r(56970),a=r(6135),n=r(1622),i=r(69730),l=r(70191),o=r(71616),c=r(40717),d=r(24195),u=r(18064);let h={src:"/_next/static/media/shield-check.b6214963.svg",height:32,width:32,blurWidth:0,blurHeight:0},m={src:"/_next/static/media/swan.84cde6c9.svg",height:10,width:45,blurWidth:0,blurHeight:0};function g(){let e=(0,a.useSearchParams)(),{t,locale:r}=(0,o.Y)(),{isDark:g}=(0,c.e)(),{setTheme:f,theme:x}=(0,d.D)(),v="dark"===function(){if("undefined"==typeof document)return null;let e=document.cookie.split(";").find(e=>e.trim().startsWith("theme="));if(e){var t;let r=null==(t=e.split("=")[1])?void 0:t.trim();if("light"===r||"dark"===r)return r}return null}()||g,p=(()=>{let e="https://start.godutch.com/";try{let t=new URL(e);return t.searchParams.set("locale",r),t.toString()}catch(t){return e}})();return(0,s.jsxs)("div",{className:"min-h-screen flex flex-col ".concat(v?"bg-[#26262B]":"bg-gradient-to-br from-[#EBEEFF] via-[#F7F6F5] to-[#F7F6F5]"),children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between px-8 py-3",children:[(0,s.jsx)("div",{className:"relative h-6",children:v?(0,s.jsx)(n.default,{src:"https://storage.googleapis.com/godutch-test-public-content/white_logo.png",alt:"GoDutch Banking",width:120,height:24,className:"h-6 w-auto",unoptimized:!0}):(0,s.jsx)(n.default,{src:"https://storage.googleapis.com/godutch-test-public-content/logo2.png",alt:"GoDutch Banking",width:120,height:24,className:"h-6 w-auto",unoptimized:!0})}),(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,s.jsx)("div",{className:"h-2 w-2 rounded-full bg-blue-500"}),(0,s.jsx)("span",{className:v?"text-white":"text-gray-700",children:t("common.all_systems_online")})]}),(0,s.jsx)("button",{type:"button",onClick:()=>{f("dark"===x?"light":"dark")},className:"p-2 rounded-full transition-colors ".concat(v?"text-white hover:bg-gray-700":"text-gray-700 hover:bg-gray-100"),"aria-label":"Toggle theme",children:(0,s.jsx)(i.A,{className:"h-5 w-5"})})]})]}),(0,s.jsx)("div",{className:"flex-1 flex items-center justify-center p-6",children:(0,s.jsxs)("div",{className:"w-full max-w-sm flex flex-col items-center",children:[(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 rounded-3xl shadow-xl p-8 md:p-10 flex flex-col items-center text-center space-y-6 w-full",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded-xl flex items-center justify-center overflow-hidden",children:(0,s.jsx)(n.default,{src:u.A,alt:"GoDutch",width:64,height:64,className:"w-full h-full object-cover"})}),(0,s.jsxs)("div",{className:"w-full flex items-center gap-4 mt-5",children:[(0,s.jsx)("div",{className:"flex-1 h-px bg-gray-200 dark:bg-zinc-800"}),(0,s.jsx)(n.default,{src:h,alt:"Secure sign-in",width:40,height:40,className:"w-10 h-10"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-gray-200 dark:bg-zinc-800"})]}),(0,s.jsxs)("div",{className:"space-y-2 max-w-sm mx-auto",children:[(0,s.jsx)("h1",{className:"text-xl md:text-2xl font-semibold text-gray-900 dark:text-white",children:t("auth.login.title")}),(0,s.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t("auth.login.description")})]}),(0,s.jsxs)("div",{className:"w-full pt-2 space-y-3",children:[(0,s.jsx)(l.$,{onClick:()=>{let t=function(e){if(!e||!e.startsWith("/")||e.startsWith("//")||e.includes("http:")||e.includes("https:"))return"/home";let t=e.indexOf("#"),r=-1!==t?e.substring(0,t):e,s=r.indexOf("?"),a=-1!==s?r.substring(0,s):r,n=-1!==s?r.substring(s):"";return a.includes("//")||e.includes("\n")||e.includes("\r")?"/home":a+n}((null==e?void 0:e.get("returnTo"))||null),s=new URL("/api/auth/login",window.location.origin);s.searchParams.set("returnTo",t),s.searchParams.set("ui_locales",r),window.location.href=s.toString()},className:"w-full bg-blue-600 hover:bg-blue-700 text-white h-12 rounded-xl font-medium text-base",size:"lg",children:t("auth.login.button")}),(0,s.jsxs)("div",{className:"text-center text-sm text-gray-600 dark:text-gray-400",children:[t("auth.login.no_account")," ",(0,s.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline font-medium",children:t("auth.login.register_link")})]})]})]}),(0,s.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-1 text-xs text-gray-500 dark:text-gray-400",children:[(0,s.jsx)("span",{children:t("auth.login.swan_partnership_prefix")}),(0,s.jsx)(n.default,{src:m,alt:"Swan",width:45,height:10,className:"h-2 w-auto dark:opacity-80",unoptimized:!0})]})]})})]})}},21673:(e,t,r)=>{Promise.resolve().then(r.bind(r,18511))},22351:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});
1var s=r(94164),a=r(77891);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,s.$)(t))}},24195:(e,t,r)=>{"use strict";r.d(t,{D:()=>d,N:()=>u});var s=r(63074),a=(e,t,r,s,a,n,i,l)=>{let o=document.documentElement,c=["light","dark"];function d(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,s=r&&n?a.map(e=>n[e]||e):a;r?(o.classList.remove(...s),o.classList.add(n&&n[t]?n[t]:t)):o.setAttribute(e,t)}),r=t,l&&c.includes(r)&&(o.style.colorScheme=r)}if(s)d(s);else try{let e=localStorage.getItem(t)||r,s=i&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;d(s)}catch(e){}},n=["light","dark"],i="(prefers-color-scheme: dark)",l="undefined"==typeof window,o=s.createContext(void 0),c={setTheme:e=>{},themes:[]},d=()=>{var e;return null!=(e=s.useContext(o))?e:c},u=e=>s.useContext(o)?s.createElement(s.Fragment,null,e.children):s.createElement(m,{...e}),h=["light","dark"],m=e=>{let{forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:a=!0,enableColorScheme:l=!0,storageKey:c="theme",themes:d=h,defaultTheme:u=a?"system":"light",attribute:m="data-theme",value:p,children:b,nonce:y,scriptProps:w}=e,[k,j]=s.useState(()=>f(c,u)),[N,E]=s.useState(()=>"system"===k?v():k),_=p?Object.values(p):d,S=s.useCallback(e=>{let t=e;if(!t)return;"system"===e&&a&&(t=v());let s=p?p[t]:t,i=r?x(y):null,o=document.documentElement,c=e=>{"class"===e?(o.classList.remove(..._),s&&o.classList.add(s)):e.startsWith("data-")&&(s?o.setAttribute(e,s):o.removeAttribute(e))};if(Array.isArray(m)?m.forEach(c):c(m),l){let e=n.includes(u)?u:null,r=n.includes(t)?t:e;o.style.colorScheme=r}null==i||i()},[y]),C=s.useCallback(e=>{let t="function"==typeof e?e(k):e;j(t);try{localStorage.setItem(c,t)}catch(e){}},[k]),L=s.useCallback(e=>{E(v(e)),"system"===k&&a&&!t&&S("system")},[k,t]);s.useEffect(()=>{let e=window.matchMedia(i);return e.addListener(L),L(e),()=>e.removeListener(L)},[L]),s.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?j(e.newValue):C(u))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),s.useEffect(()=>{S(null!=t?t:k)},[t,k]);let T=s.useMemo(()=>({theme:k,setTheme:C,forcedTheme:t,resolvedTheme:"system"===k?N:k,themes:a?[...d,"system"]:d,systemTheme:a?N:void 0}),[k,C,t,N,a,d]);return s.createElement(o.Provider,{value:T},s.createElement(g,{forcedTheme:t,storageKey:c,attribute:m,enableSystem:a,enableColorScheme:l,defaultTheme:u,value:p,themes:d,nonce:y,scriptProps:w}),b)},g=s.memo(e=>{let{forcedTheme:t,storageKey:r,attribute:n,enableSystem:i,enableColorScheme:l,defaultTheme:o,value:c,themes:d,nonce:u,scriptProps:h}=e,m=JSON.stringify([n,r,o,t,d,c,i,l]).slice(1,-1);return s.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?u:"",dangerouslySetInnerHTML:{__html:"(".concat(a.toString(),")(").concat(m,")")}})}),f=(e,t)=>{let r;if(!l){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},x=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},v=e=>(e||(e=window.matchMedia(i)),e.matches?"dark":"light")},40717:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var s=r(24195);function a(){let{resolvedTheme:e}=(0,s.D)();return{isDark:"dark"===e,isLight:"light"===e,theme:e}}},69730:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(59040).A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]])},70191:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,r:()=>l});var s=r(56970);r(63074);var a=r(30061),n=r(8598),i=r(22351);let l=(0,n.F)("cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:r,size:n,asChild:o=!1,...c}=e,d=o?a.DX:"button";return(0,s.jsx)(d,{"data-slot":"button",className:(0,i.cn)(l({variant:r,size:n,className:t})),...c})}},71616:(e,t,r)=>{"use strict";r.d(t,{I:()=>i,LocaleProvider:()=>c,Y:()=>d});var s=r(56970),a=r(63074),n=r(27965);let i=["en","nl"],l=(0,a.createContext)(null);function o(){let e=window.location.hostname;if("localhost"===e||"127.0.0.1"===e)return;let t=e.split(".");if(t.length>=2)return".".concat(t.slice(-2).join("."))}let c=e=>{let{children:t,defaultLocale:r="en",messages:c}=e,[d,u]=(0,a.useState)(r),[h,m]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e=n.A.get("NEXT_LOCALE"),t=e&&i.includes(e)?e:function(){var e,t;for(let r of((null==(e=navigator.languages)?void 0:e.length)?Array.from(navigator.languages):[navigator.language]).filter(e=>"string"==typeof e)){let e=null==(t=r.split("-")[0])?void 0:t.toLowerCase();if(e&&i.includes(e))return e}return"nl"}();u(t),n.A.set("NEXT_LOCALE",t,{expires:365,domain:o()}),m(!0)},[]),h)?(0,s.jsx)(l.Provider,{value:{locale:d,setLocale:e=>{u(e),n.A.set("NEXT_LOCALE",e,{expires:365,domain:o()})},t:(e,t)=>{let r=e.split("."),s=c[d];for(let t of r){if(!s||!s[t]){if("en"!==d){for(let t of(s=c.en,r)){if(!s||!s[t])return e;s=s[t]}break}return e}s=s[t]}if("string"!=typeof s)return e;let a=s;
1return t&&Object.entries(t).forEach(e=>{let[t,r]=e;a=a.replace("{{".concat(t,"}}"),r)}),a},messages:c[d]},children:t}):null},d=()=>{let e=(0,a.useContext)(l);if(null===e)throw Error("useLocale must be used within a LocaleProvider");return e}}},e=>{e.O(0,[9529,1622,8997,6068,7358],()=>e(e.s=21673)),_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.