PageSourceSearch

https://askplus.ai/_next/static/chunks/569.c08a28d16620aa23.js

js askplus.ai collected 2026-10-05 15:28:22 UTC 3,039 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[569],{40569:function(e,l,a){a.r(l);var i=a(11527),s=a(50959),t=a(88717),n=a(63947),r=a(94985),c=a(69569),d=a(32975),o=a(43352),u=a(31719),m=a(53346),f=a(7242),x=a(71428),v=a(5754),h=a(57897),j=a(8807),y=a(15598),p=a(20203),E=a(11260);l.default=e=>{var l;let{isOpen:a,onClose:N}=e,b=(0,r.m)(),{studioUser:w}=(0,c.t)(),{t:g}=(0,f.$G)("popup"),{portal:k,studio:C,onUpdateCurrentPopup:V}=(0,n.D)(),{style:_}=(0,t.H)(),[F,S]=(0,s.useState)(0),[I,M]=(0,s.useState)(""),[$,z]=(0,s.useState)(!1),[A,H]=(0,s.useState)(""),L=(null===(l=w.data)||void 0===l?void 0:l.email)||"Unknown",P=g("verifyEmail.body",{defaultValue:I?"We've sent a verification email to [EMAIL].":"For your security, link expires in 15 minutes."}),[U,W]=P.split("[EMAIL]"),Z=o.S.user.create.verificationEmail.useMutation();(0,s.useEffect)(()=>{if(!F)return;let e=setInterval(()=>{S(e=>e-1)},1e3);return()=>clearInterval(e)},[F]);let q=async()=>{try{H(""),z(!0);let e=await Z.mutateAsync({redirectUrl:k?void 0:window.location.href});S(200),M(e)}catch(e){H(b((0,d.Z)(e)))}finally{z(!1)}};return(0,i.jsx)(j.Vq,{open:a,onOpenChange:N,children:(0,i.jsxs)(j.cZ,{className:"glass-color min-h-[70vh] pb-12 md:max-w-[813px]",..."Real Head Pro"!==_.font&&{style:{fontFamily:_.font}},children:[(0,i.jsx)(m.TX,{children:(0,i.jsxs)(j.fK,{children:[(0,i.jsx)(j.$N,{children:g("verifyEmail.title",{defaultValue:"Please verify your email"})}),(0,i.jsx)(u.Be,{children:g("verifyEmail.body",{defaultValue:I?"We've sent a verification email to":"For your security, link expires in 15 minutes."})})]})}),(0,i.jsx)("div",{className:"flex justify-end",children:(0,i.jsx)(h.z,{variant:"glass",size:"icon",onClick:N,"aria-label":"Close",children:(0,i.jsx)(x.Z,{})})}),(0,i.jsx)("div",{className:"flex flex-col items-center",children:(0,i.jsxs)("div",{className:"flex w-full max-w-[341px] flex-col items-center",children:[(0,i.jsxs)(v.qE,{className:"h-[68px] w-[68px]",children:[(0,i.jsx)(v.F$,{src:null==C?void 0:C.image,alt:"".concat(null==C?void 0:C.name," Logo")}),(0,i.jsx)(v.Q5,{})]}),(0,i.jsxs)("div",{className:"mt-4 flex flex-col gap-2 text-center",children:[(0,i.jsx)("h3",{className:"text-2xl font-semibold",children:g("verifyEmail.title",{defaultValue:"Please verify your email"})}),(0,i.jsx)("p",{className:"text-lg",children:void 0===W?P:(0,i.jsxs)(i.Fragment,{children:[U,(0,i.jsx)("span",{className:"underline underline-offset-2",children:L}),W]})})]}),(0,i.jsxs)("div",{className:"mt-6 flex w-full flex-col gap-2",children:[!!A&&(0,i.jsx)(p.$,{variant:"destructive",className:"mt-2",children:(0,i.jsx)(p.E,{value:A})}),(0,i.jsx)(E.z,{variant:"primary",onClick:q,disabled:$||F>0,children:F>0?F+"s":g("verifyEmail.resendBtn",{defaultValue:"Resend email"})}),(0,i.jsx)(y.M,{className:"mt-2 text-center text-sm [&_b]:cursor-pointer [&_b]:underline [&_b]:underline-offset-2",value:g("verifyEmail.wrongEmailHtml",{defaultValue:"Wrong email address? <b>Update your email</b>"}),onClick:()=>V("profile")})]})]})})]})})}}}]);

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.