PageSourceSearch

https://chatmo.ai/_next/static/chunks/app/%5Blocale%5D/account-acc…?dpl=dpl_nPcuyYmBgK1QWjzpFqpo6uWrG3dP

js chatmo.ai collected 2026-10-05 13:03:40 UTC 8,621 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39290],{2872:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(65589),l=r(6982),a=r(22202),i=r(4048),o=r(99554),u=r(20466),s=(0,a.forwardRef)(function({href:e,locale:t,localeCookie:r,onClick:a,prefetch:s,...c},f){let d=(0,i.Ym)(),p=null!=t&&t!==d,m=(0,l.usePathname)();return p&&(s=!1),(0,u.jsx)(n,{ref:f,href:e,hrefLang:p?t:void 0,onClick:function(e){(0,o.A)(r,m,d,t),a&&a(e)},prefetch:s,...c})})},6982:(e,t,r)=>{"use strict";var n=r(30842);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return n.permanentRedirect}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},24417:(e,t,r)=>{"use strict";r.d(t,{FD:()=>g,MY:()=>a,PJ:()=>i,Wl:()=>u,XP:()=>f,_x:()=>l,bL:()=>d,po:()=>s,ql:()=>c,wO:()=>o,yL:()=>b});var n=r(76714);function l(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function a(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function i(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function o(e,t){return t===e||t.startsWith(`${e}/`)}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function s(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...l]=e.split("#"),a=l.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return a&&(i+="#"+a),i}function c(e,t){let r,n=s(e),l=s(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(l)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function p(e){return e.includes("[[...")}function m(e){return e.includes("[...")}function h(e){return e.includes("[")}function y(e,t){let r=e.split("/"),n=t.split("/"),l=Math.max(r.length,n.length);for(let e=0;e<l;e++){let t=r[e],l=n[e];if(!t&&l)return -1;if(t&&!l)return 1;if(t||l){if(!h(t)&&h(l))return -1;if(h(t)&&!h(l))return 1;if(!m(t)&&m(l))return -1;if(m(t)&&!m(l))return 1;if(!p(t)&&p(l))return -1;if(p(t)&&!p(l))return 1}}return 0}function g(e){return e.sort(y)}function b(e){return"function"==typeof e.then}},27084:(e,t,r)=>{Promise.resolve().then(r.bind(r,2872)),Promise.resolve().then(r.bind(r,35784)),Promise.resolve().then(r.bind(r,30204))},30204:(e,t,r)=>{"use strict";r.d(t,{AccountAccessForm:()=>g});var n=r(20466),l=r(20160),a=r(99537),i=r(33331),o=r(92999),u=r(56437),s=r(34387),c=r(97357),f=r(79565),d=r(41980),p=r(6982),m=r(22202),h=r(64806),y=r(75256);function g({callbackUrl:e}){let t=(0,d.c)("AccountAccess"),r=(0,p.useSearchParams)().get("callbackUrl"),b=e||r||s.BV.Dashboard,[v,x]=(0,m.useState)(""),[j,R]=(0,m.useState)(!1),P=y.Ikc({email:y.Rpp({message:t("emailRequired")})}),S=(0,h.mN)({resolver:(0,c.u)(P),defaultValues:{email:""}}),_=async e=>{await u.y.signIn.magicLink({email:e.email,callbackURL:b,errorCallbackURL:s.BV.AuthError},{onRequest:()=>{R(!0),x("")},onResponse:()=>{R(!1)},onSuccess:()=>{x(t("success"))},onError:()=>{x(t("success"))}})};return(0,n.jsx)(i.lV,{...S,children:(0,n.jsxs)("form",{onSubmit:S.handleSubmit(_),className:"space-y-4",children:[(0,n.jsx)(i.zB,{control:S.control,name:"email",render:({field:e})=>(0,n.jsxs)(i.eI,{children:[(0,n.jsx)(i.lR,{children:t("emailLabel")}),(0,n.jsx)(i.MJ,{children:(0,n.jsx)(o.p,{...e,disabled:j,placeholder:"[email protected]",type:"email"})}),(0,n.jsx)(i.C5,{})]})}),(0,n.jsx)(l.i,{message:v}),(0,n.jsxs)(a.$,{disabled:j,type:"submit",className:"w-full cursor-pointer",children:[j&&(0,n.jsx)(f.A,{className:"mr-2 size-4 animate-spin"}),t("magicCta")]})]})})}},35784:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var n=r(4048),l=r(20466);function a({locale:e,...t}){if(!e)throw Error(void 0);return(0,l.jsx)(n.Dk,{locale:e,...t})}},44228:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});
1var n=r(44818);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=n.$,i=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:o}=t,u=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let a=l(t)||l(n);return i[e][a]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return a(e,u,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...s}[t]):({...o,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},83739:(e,t,r)=>{"use strict";r.d(t,{DX:()=>f,TL:()=>c});var n,l=r(22202),a=r(39584),i=r(20466),o=Symbol.for("react.lazy"),u=(n||(n=r.t(l,2)))[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){var t;let r,n=(t=e,(r=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(s(r)&&"function"==typeof u&&(r=u(r._payload)),l.isValidElement(r)){var i;let e,o,u=(i=r,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let l=e[n],a=t[n];/^on[A-Z]/.test(n)?l&&a?r[n]=(...e)=>{let t=a(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...a}:"className"===n&&(r[n]=[l,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==l.Fragment&&(s.ref=t?(0,a.t)(t,u):u),l.cloneElement(r,s)}return l.Children.count(r)>1?l.Children.only(null):null})).displayName=`${t}.SlotClone`,r),o=l.forwardRef((e,t)=>{let{children:r,...a}=e;s(r)&&"function"==typeof u&&(r=u(r._payload));let o=l.Children.toArray(r),c=o.find(p);if(c){let e=c.props.children,r=o.map(t=>t!==c?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(n,{...a,ref:t,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,i.jsx)(n,{...a,ref:t,children:r})});return o.displayName=`${e}.Slot`,o}var f=c("Slot"),d=Symbol("radix.slottable");function p(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}},86154:(e,t,r)=>{"use strict";r.d(t,{DT:()=>u,FP:()=>i,TK:()=>l,Zn:()=>a,aM:()=>o,x3:()=>s});var n=r(24417);function l(e){return"string"==typeof e?{pathname:e}:e}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function i({pathname:e,locale:t,params:r,pathnames:l,query:o}){function u(e){let i,u=l[e];return u?(i=(0,n.Wl)(u,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),i=i.replace(RegExp(r,"g"),n)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=(0,n.po)(i),o&&(i+=a(o)),i}if("string"==typeof e)return u(e);{let{pathname:t,...r}=e;return{...r,pathname:u(t)}}}function o(e,t,r){let l=(0,n.FD)(Object.keys(r)),a=decodeURI(t);for(let t of l){let l=r[t];if("string"==typeof l){if((0,n.ql)(l,a))return t}else if((0,n.ql)((0,n.Wl)(l,e,t),a))return t}return t}function u(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function s(e,t,r,l){let a,{mode:i}=r.localePrefix;if(void 0!==l)a=l;else if((0,n._x)(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||i;"always"===n?a=!0:"as-needed"===n&&(a=e?t!==e.defaultLocale:t!==r.defaultLocale)}return a?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},99554:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(86154);function l(e,t,r,l){if(!e||l===r||null==l||!t)return;let a=(0,n.DT)(t),{name:i,...o}=e;o.path||(o.path=""!==a?a:"/");let u=`${i}=${l};`;for(let[e,t]of Object.entries(o))u+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(u+="="+t),u+=";";document.cookie=u}}},e=>{e.O(0,[23263,4048,65589,11698,91463,82107,7214,83999,92852,77358],()=>e(e.s=27084)),_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.