PageSourceSearch

https://skyzack.ai/_next/static/chunks/0mc2f2vpfd7db.js

js skyzack.ai collected 2026-10-05 14:59:54 UTC 11,201 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26091,e=>{"use strict";let t=(0,e.i(56420).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],26091)},72382,e=>{"use strict";let t=(0,e.i(56420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],72382)},6659,e=>{e.v({h1:"AuthHead-module__4SZtNW__h1",head:"AuthHead-module__4SZtNW__head",sub:"AuthHead-module__4SZtNW__sub",tag:"AuthHead-module__4SZtNW__tag"})},91658,e=>{e.v({error:"AuthField-module__vsBQmG__error",field:"AuthField-module__vsBQmG__field",hasError:"AuthField-module__vsBQmG__hasError",hasPrefix:"AuthField-module__vsBQmG__hasPrefix",input:"AuthField-module__vsBQmG__input",inputWrap:"AuthField-module__vsBQmG__inputWrap",label:"AuthField-module__vsBQmG__label",prefix:"AuthField-module__vsBQmG__prefix",readOnly:"AuthField-module__vsBQmG__readOnly",shake:"AuthField-module__vsBQmG__shake",toggle:"AuthField-module__vsBQmG__toggle"})},15693,e=>{e.v({bt:"AuthSubmit-module__m9dTwq__bt",loading:"AuthSubmit-module__m9dTwq__loading",sp:"AuthSubmit-module__m9dTwq__sp",spin:"AuthSubmit-module__m9dTwq__spin",sub:"AuthSubmit-module__m9dTwq__sub"})},54906,e=>{e.v({wrap:"AuthApiError-module__i_clVW__wrap"})},76604,38665,96510,33235,55237,e=>{"use strict";var t=e.i(43476),a=e.i(6659);e.s(["AuthHead",0,function({tag:e,title:r,children:l}){return(0,t.jsxs)("div",{className:a.default.head,children:[e&&(0,t.jsx)("span",{className:a.default.tag,children:e}),(0,t.jsx)("h1",{className:a.default.h1,children:r}),l&&(0,t.jsx)("p",{className:a.default.sub,children:l})]})}],76604);var r=e.i(71645),l=e.i(72382),i=e.i(56812),s=e.i(61904),o=e.i(91658);e.s(["AuthField",0,function({id:e,label:a,type:n="text",value:u,onChange:d,placeholder:c,autoComplete:h,required:_,minLength:m,maxLength:p,readOnly:f,prefix:g,error:v,shake:x,children:y}){let[A,b]=(0,r.useState)(!1),j="password"===n,k=j&&A?"text":n;return(0,t.jsxs)("div",{className:(0,s.cx)(o.default.field,v&&o.default.hasError,x&&o.default.shake),children:[(0,t.jsx)("label",{className:o.default.label,htmlFor:e,children:a}),(0,t.jsxs)("div",{className:o.default.inputWrap,children:[g&&(0,t.jsx)("span",{className:o.default.prefix,children:g}),(0,t.jsx)("input",{id:e,className:(0,s.cx)(o.default.input,g&&o.default.hasPrefix,f&&o.default.readOnly),type:k,value:u,onChange:e=>d(e.target.value),placeholder:c,autoComplete:h,required:_,minLength:m,maxLength:p,readOnly:f})]}),j&&(0,t.jsx)("button",{type:"button",className:o.default.toggle,tabIndex:-1,"aria-label":A?"Hide password":"Show password",onClick:()=>b(e=>!e),style:A?{color:"var(--accent)"}:void 0,children:(0,t.jsx)(i.Icon,{icon:l.Eye,size:18,strokeWidth:1.8})}),y,v?(0,t.jsx)("div",{className:o.default.error,children:v}):null]})}],38665);var n=e.i(15693);e.s(["AuthSubmit",0,function({children:e,loading:a=!1,type:r="submit",onClick:l}){return(0,t.jsxs)("button",{type:r,className:(0,s.cx)(n.default.sub,a&&n.default.loading),onClick:l,disabled:a,children:[(0,t.jsx)("span",{className:n.default.bt,children:e}),(0,t.jsx)("span",{className:n.default.sp,"aria-hidden":"true"})]})}],96510),e.s(["useShake",0,function(e=400){let[t,a]=(0,r.useState)(!1),l=(0,r.useRef)(null);return(0,r.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]),{shaking:t,shake:(0,r.useCallback)(()=>{a(!1),requestAnimationFrame(()=>a(!0)),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>a(!1),e)},[e])}}],33235);var u=e.i(99847),d=e.i(54906);e.s(["AuthApiError",0,function({message:e}){return e?(0,t.jsxs)("div",{className:d.default.wrap,role:"alert","aria-live":"polite",children:[(0,t.jsx)(i.Icon,{icon:u.AlertCircle,size:15,strokeWidth:2}),(0,t.jsx)("span",{children:e})]}):null}],55237)},94039,e=>{e.v({alt:"formShared-module__jgI5RW__alt",back:"formShared-module__jgI5RW__back",flink:"formShared-module__jgI5RW__flink",row2:"formShared-module__jgI5RW__row2",scard:"formShared-module__jgI5RW__scard",sr:"formShared-module__jgI5RW__sr",srLink:"formShared-module__jgI5RW__srLink"})},5812,e=>{e.v({connected:"GoogleButton-module__hACaLa__connected",google:"GoogleButton-module__hACaLa__google",spin:"GoogleButton-module__hACaLa__spin",spinner:"GoogleButton-module__hACaLa__spinner"})},63990,e=>{e.v({divider:"AuthDivider-module___upieG__divider"})},57341,65515,70013,31511,79330,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(74080),l=e.i(18566),i=e.i(31431),s=e.i(56420);
1(0,s.default)("book-marked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]),(0,s.default)("book-open",[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]),e.i(26091).FileText;let o="/dashboard";function n({size:e=18,className:a}){return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 48 48",className:a,"aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,t.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"})]})}e.s(["POST_AUTH_HREF",0,o,"loginCaptions",0,["Signing you in…","Fetching today's paper…","Syncing your progress…","Loading your dashboard…","Almost ready…"],"registerCaptions",0,["Setting up your account…","Linking your Early Access to your account…","Preparing your first paper…","Loading your dashboard…","Almost ready…"]],65515),e.s(["AuthRedirectSplash",0,function({captions:e,action:s,minDurationMs:n=0,onError:u}){let d=(0,l.useRouter)();return((0,a.useEffect)(()=>{d.prefetch(o),Promise.all([s,new Promise(e=>setTimeout(e,n))]).then(()=>d.push(o)).catch(e=>{let t=e instanceof Error?e.message:"Something went wrong";u?.(t)})},[d,s,n,u]),"u"<typeof document)?null:(0,r.createPortal)((0,t.jsx)(i.GlyphPulse,{captions:e,captionIntervalMs:950}),document.body)}],57341);var u=e.i(61904),d=e.i(5812);e.s(["GoogleButton",0,function({connected:e,connecting:a,onClick:r}){let l=a?"Connecting…":e?"Connected with Google":"Continue with Google";return(0,t.jsxs)("button",{type:"button",className:(0,u.cx)(d.default.google,e&&d.default.connected),onClick:r,disabled:a||e,"aria-live":"polite",children:[a?(0,t.jsx)("span",{className:d.default.spinner,"aria-hidden":"true"}):(0,t.jsx)(n,{size:18}),(0,t.jsx)("span",{children:l})]})}],70013);var c=e.i(63990);e.s(["AuthDivider",0,function({children:e}){return(0,t.jsx)("div",{className:c.default.divider,children:e})}],31511),e.i(47167);var h=e.i(27643),_=e.i(61238);e.s(["useGoogleSignIn",0,function(e={}){let{signInWithGoogle:t}=(0,h.useAuth)(),[r,l]=a.useState(!1),i="1096240753401-77rv9ou0frjak52cbfehns2auf38tlpa.apps.googleusercontent.com",s=!i,o=a.useRef(e);return o.current=e,{start:a.useCallback(()=>{if(s||r)return;let e=window.google?.accounts?.id;e?(l(!0),e.initialize({client_id:i,cancel_on_tap_outside:!1,callback:async({credential:e})=>{try{await t({id_token:e,...o.current.referralCode?{referral_code:o.current.referralCode}:{}}),o.current.onSuccess?.()}catch(e){e instanceof _.ApiError?409===e.status?o.current.onError?.("An account already uses this Google email — try password sign-in."):401===e.status||422===e.status?o.current.onError?.("We couldn't verify that Google account. Please try again."):o.current.onError?.(e.message||"Google sign-in failed."):o.current.onError?.("Network error. Check your connection and try again.")}finally{l(!1)}}}),e.prompt(e=>{(e.isNotDisplayed()||e.isSkippedMoment())&&(l(!1),"opt_out_or_no_session"!==(e.getNotDisplayedReason?.()??"")&&o.current.onError?.("Google sign-in prompt was blocked. Enable pop-ups and try again."))})):o.current.onError?.("Google sign-in is not available. Try refreshing the page.")},[i,r,t,s]),pending:r,unavailable:s}}],79330)},85817,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016),l=e.i(76604),i=e.i(38665),s=e.i(96510),o=e.i(57341),n=e.i(70013),u=e.i(31511),d=e.i(33235),c=e.i(43811),h=e.i(65515),_=e.i(27643),m=e.i(79330),p=e.i(55237),f=e.i(94039);e.s(["LoginView",0,function(){let{signIn:e}=(0,_.useAuth)(),[g,v]=(0,a.useState)(""),[x,y]=(0,a.useState)(""),[A,b]=(0,a.useState)(null),[j,k]=(0,a.useState)(null),[S,w]=(0,a.useState)(null),[C,G]=(0,a.useState)(!1),[N,E]=(0,a.useState)(null),[F,B]=(0,a.useState)(!1),W=(0,d.useShake)(),H=(0,d.useShake)(),T=(0,a.useRef)(null),M=(0,m.useGoogleSignIn)({onSuccess:()=>{B(!1),G(!0),T.current?.()},onError:e=>{B(!1),G(!1),E(null),w(e)}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.AuthHead,{tag:"Welcome back",title:"Sign in to your account",children:"Pick up where you left off — today's paper is waiting."}),(0,t.jsxs)("form",{onSubmit:function(t){t.preventDefault(),w(null);let a=!0;(0,c.isValidEmail)(g)||(b("Enter a valid email address."),W.shake(),a=!1),x||(k("Password is required."),H.shake(),a=!1),a&&(E(e({email:g,password:x}).then(()=>{})),G(!0))},noValidate:!0,children:[!M.unavailable&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.GoogleButton,{connected:!1,connecting:F,onClick:function(){if(F||C)return;if(M.unavailable)return void w("Google sign-in is not configured.");let e=new Promise(e=>{T.current=e});B(!0),E(e),M.start()}}),(0,t.jsx)(u.AuthDivider,{children:"or sign in with email"})]}),(0,t.jsx)(i.AuthField,{id:"login-email",label:"Email address",type:"email",value:g,onChange:e=>{v(e),b(null)},placeholder:"[email protected]",autoComplete:"email",error:A,shake:W.shaking}),(0,t.jsx)(i.AuthField,{id:"login-password",label:"Password",type:"password",value:x,onChange:e=>{y(e),k(null)},placeholder:"Enter your password",autoComplete:"current-password",error:j,shake:H.shaking}),(0,t.jsx)("div",{className:f.default.flink,children:(0,t.jsx)(r.default,{href:"/auth/forgot-password",children:"Forgot password?"})}),(0,t.jsx)(p.AuthApiError,{message:S}),(0,t.jsx)(s.AuthSubmit,{loading:C,children:"Sign in"})]}),(0,t.jsxs)("div",{className:f.default.alt,children:["New to SkyZack? ",(0,t.jsx)(r.default,{href:"/auth/register",children:"Create an account"})]}),C&&N&&(0,t.jsx)(o.AuthRedirectSplash,{captions:h.loginCaptions,action:N,minDurationMs:0,onError:e=>{G(!1),E(null),B(!1),w(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.