PageSourceSearch

https://app.arturito.ai/_next/static/chunks/8853-7483c0bc091e4b41.js

js arturito.ai collected 2026-10-05 15:02:52 UTC 8,238 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]="d6935c03-7ba5-4131-96e8-fad61797e751",e._sentryDebugIdIdentifier="sentry-dbid-d6935c03-7ba5-4131-96e8-fad61797e751")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8853],{7427:(e,t,a)=>{a.d(t,{g:()=>v});var s=a(66352),r=a(95132),l=a(6734),i=a(90171),n=a(32790),d=a.n(n),o=a(42319),u=a(40522),c=a(84394),h=a(57645),m=a(35805),x=a(27165),p=a(55372),f=a(62119),g=a(22994);let _=a(17580).D;function v(e){let{mode:t,callbackUrl:a,disabled:n=!1,lockedEmail:v}=e,{t:w}=(0,o.Bd)("common"),b=(0,i.useRouter)(),y=p.id.accounts.signup.useMutation(),[j,N]=(0,r.useState)(null!=v?v:""),[k,C]=(0,r.useState)(""),[A,z]=(0,r.useState)(!1),[M,D]=(0,r.useState)(!1),[I,S]=(0,r.useState)(null),B=e=>{var t;return w(null!=(t=_[null!=e?e:""])?t:"auth.error_generic")},E=async e=>{e.preventDefault(),S(null),D(!0),(0,f.C)(t),(0,g.u4)("login_started",{method:t});try{if("signup"===t)try{await y.mutateAsync({email:j,password:k})}catch(e){S(B(e instanceof Error?e.message:null));return}let e=await (0,l.signIn)("password",{redirect:!1,email:j,password:k});if(null==e?void 0:e.error)return void S(B(e.error));await b.push(a)}finally{D(!1)}};return(0,s.jsxs)("form",{onSubmit:e=>void E(e),className:"flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,s.jsx)(h.J,{htmlFor:"auth-email",children:w("auth.email_label")}),(0,s.jsx)(c.p,{id:"auth-email",type:"email",autoComplete:"email",required:!0,value:j,onChange:e=>N(e.target.value),readOnly:!!v,"aria-describedby":v?"auth-email-locked":void 0,className:v?"bg-muted text-muted-foreground":void 0}),v&&(0,s.jsx)("p",{id:"auth-email-locked",className:"text-xs text-muted-foreground",children:w("auth.locked_email_hint")})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)(h.J,{htmlFor:"auth-password",children:w("auth.password_label")}),"login"===t&&(0,s.jsx)(d(),{href:"/forgot-password",className:"text-xs text-muted-foreground hover:text-foreground underline-offset-2 hover:underline",children:w("auth.forgot_password_link")})]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(c.p,{id:"auth-password",type:A?"text":"password",autoComplete:"signup"===t?"new-password":"current-password",required:!0,minLength:"signup"===t?8:void 0,value:k,onChange:e=>C(e.target.value),className:"pr-9"}),(0,s.jsx)("button",{type:"button","aria-label":A?w("auth.hide_password"):w("auth.show_password"),onClick:()=>z(e=>!e),className:"absolute right-2 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",children:A?(0,s.jsx)(m.A,{className:"size-4"}):(0,s.jsx)(x.A,{className:"size-4"})})]})]}),I&&(0,s.jsx)("p",{role:"alert",className:"text-sm text-destructive",children:I}),(0,s.jsx)(u.$,{type:"submit",variant:"primary",className:"w-full",disabled:n||M,children:"signup"===t?w("auth.signup_submit"):w("auth.login_submit")})]})}},8717:(e,t,a)=>{a.d(t,{GC:()=>l,_Q:()=>s,fJ:()=>r});let s=["es","en"];function r(e){return"string"==typeof e&&s.includes(e)}function l(e){return r(e)?e:"es"}},17580:(e,t,a)=>{a.d(t,{D:()=>s,V:()=>r});let s={bot_detected:"auth.error_bot_detected",wrong_credentials:"auth.error_wrong_credentials",too_many_attempts:"auth.error_too_many_attempts",blocked:"auth.error_blocked",mfa_required:"auth.error_mfa_required",invalid_password:"auth.error_invalid_password",password_reused:"auth.error_password_reused",user_exists:"auth.error_user_exists",email_not_verified:"auth.error_email_not_verified",auth_failed:"auth.error_generic"};function r(e){var t,a;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auth.error_generic";return null!=(a=null!=(t=r[e])?t:s[e])?a:l}},27165:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(1782).A)("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"}]])},35805:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(1782).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},50390:(e,t,a)=>{a.d(t,{V:()=>h});var s=a(66352),r=a(6734),l=a(95132),i=a(42319),n=a(40522);let d=e=>{let{size:t=16,className:a}=e;return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"currentColor",children:(0,s.jsx)("path",{d:"M17.05 12.54c-.02-2.06 1.68-3.05 1.76-3.1-.96-1.4-2.45-1.6-2.98-1.62-1.27-.13-2.48.75-3.12.75-.64 0-1.64-.73-2.7-.71-1.39.02-2.67.8-3.38 2.04-1.44 2.5-.37 6.2 1.03 8.23.69.99 1.5 2.1 2.57 2.06 1.03-.04 1.42-.67 2.67-.67 1.25 0 1.6.67 2.69.65 1.11-.02 1.81-1.01 2.49-2.01.78-1.15 1.1-2.26 1.12-2.32-.02-.01-2.15-.83-2.15-3.3zM15 5.88c.57-.69.95-1.65.85-2.6-.82.03-1.8.54-2.39 1.23-.52.61-.98 1.58-.86 2.51.91.07 1.84-.46 2.4-1.14z"})})},o=e=>{let{size:t=16,className:a}=e;return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24","aria-hidden":"true",className:a,children:[(0,s.jsx)("path",{fill:"#4285F4",d:"M23.5 12.27c0-.85-.08-1.66-.22-2.45H12v4.64h6.45a5.52 5.52 0 0 1-2.39 3.62v3h3.87c2.26-2.08 3.57-5.15 3.57-8.81z"}),(0,s.jsx)("path",{fill:"#34A853",d:"M12 24c3.24 0 5.96-1.07 7.94-2.91l-3.87-3c-1.07.72-2.45 1.15-4.07 1.15-3.13 0-5.78-2.11-6.73-4.96H1.29v3.1A12 12 0 0 0 12 24z"}),(0,s.jsx)("path",{fill:"#FBBC05",d:"M5.27 14.28A7.2 7.2 0 0 1 4.9 12c0-.79.14-1.56.37-2.28v-3.1H1.29a12 12 0 0 0 0 10.76l3.98-3.1z"}),(0,s.jsx)("path",{fill:"#EA4335",d:"M12 4.77c1.76 0 3.34.6 4.59 1.8l3.44-3.44A11.97 11.97 0 0 0 12 0 12 12 0 0 0 1.29 6.62l3.98 3.1C6.22 6.88 8.87 4.77 12 4.77z"})]})};var u=a(62119),c=a(22994);function h(e){let{mode:t,callbackUrl:a,disabled:h=!1,lockedEmail:m}=e,{t:x}=(0,i.Bd)("common"),[p,f]=(0,l.useState)(!1),g=async e=>{f(!0),(0,u.C)(t),(0,c.u4)("login_started",{method:t}),await (0,c.PO)(),await (0,r.signIn)("auth0",{callbackUrl:a},{connection:e,..."signup"===t&&{prompt:"login"},...m&&{login_hint:m}})};return(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[m&&(0,s.jsx)("p",{id:"auth-social-locked",className:"text-xs text-muted-foreground",children:x("auth.social_locked_email_hint",{email:m})}),(0,s.jsxs)(n.$,{variant:"outline",className:"w-full",disabled:h||p,"aria-describedby":m?"auth-social-locked":void 0,onClick:()=>void g("apple"),children:[(0,s.jsx)(d,{size:16}),x("auth.continue_with_apple")]}),(0,s.jsxs)(n.$,{variant:"outline",className:"w-full",disabled:h||p,"aria-describedby":m?"auth-social-locked":void 0,onClick:()=>void g("google-oauth2"),children:[(0,s.jsx)(o,{size:16}),x("auth.continue_with_google")]})]})}},73466:(e,t,a)=>{a.d(t,{D:()=>d,Y:()=>o});var s=a(66352),r=a(30411),l=a.n(r),i=a(32790),n=a.n(i);function d(e){let{title:t,subtitle:a,children:r}=e;return(0,s.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-muted/40 px-4 py-10",children:[(0,s.jsx)(n(),{href:"/",className:"mb-8",children:(0,s.jsx)(l(),{src:"/logo.svg",alt:"Arturito",width:160,height:48,priority:!0})}),(0,s.jsxs)("div",{className:"w-full max-w-sm rounded-xl border bg-background p-6 shadow-sm",children:[(0,s.jsx)("h1",{className:"text-xl font-semibold text-center",children:t}),a&&(0,s.jsx)("p",{className:"mt-1 text-sm text-muted-foreground text-center",children:a}),(0,s.jsx)("div",{className:"mt-6",children:r})]})]})}function o(e){let{label:t}=e;return(0,s.jsxs)("div",{className:"my-5 flex items-center gap-3",children:[(0,s.jsx)("span",{className:"h-px flex-1 bg-border"}),(0,s.jsx)("span",{className:"text-xs uppercase text-muted-foreground",children:t}),(0,s.jsx)("span",{className:"h-px flex-1 bg-border"})]})}}}]);

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.