PageSourceSearch

https://bigmind2.genie9.com/_next/static/chunks/125-a0110e5e91526d02.js

js genie9.com collected 2026-09-24 10:26:48 UTC 13,746 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[125],{14186:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},15094:(e,a,t)=>{t.d(a,{_:()=>o});var r=t(95155),s=t(91218);function o(e){let{accountType:a="local",disabled:t=!1,compact:o=!1}=e,{t:n}=(0,s.Bd)("auth"),i="/api/auth/google?accountType=".concat(a);return(0,r.jsxs)("a",{href:i,onClick:e=>{e.preventDefault();let t=localStorage.getItem("genie-ai-language"),r=t?"/api/auth/google?accountType=".concat(a,"&lang=").concat(encodeURIComponent(t)):i;window.location.href=r},className:"w-full flex items-center justify-center gap-3 px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-200 font-medium transition-colors whitespace-nowrap ".concat(t?"opacity-50 pointer-events-none":""),children:[(0,r.jsxs)("svg",{className:"w-5 h-5 flex-shrink-0",viewBox:"0 0 24 24",children:[(0,r.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z",fill:"#4285F4"}),(0,r.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,r.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),(0,r.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),o?"Google":n("continueWithGoogle","Continue with Google")]})}},33786:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},50589:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]])},53241:(e,a,t)=>{t.d(a,{z:()=>o});var r=t(95155),s=t(91218);function o(e){let{accountType:a="local",disabled:t=!1,compact:o=!1}=e,{t:n}=(0,s.Bd)("auth");return(0,r.jsxs)("a",{href:"/api/auth/apple?accountType=".concat(a),className:"w-full flex items-center justify-center gap-3 px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-200 font-medium transition-colors whitespace-nowrap ".concat(t?"opacity-50 pointer-events-none":""),children:[(0,r.jsx)("svg",{className:"w-5 h-5 flex-shrink-0",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{d:"M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"})}),o?"Apple":n("continueWithApple","Continue with Apple")]})}},54165:(e,a,t)=>{t.d(a,{Cf:()=>p,Es:()=>h,L3:()=>b,c7:()=>x,lG:()=>c,rr:()=>f,zM:()=>g});var r=t(95155),s=t(12115),o=t(15452),n=t(54416),i=t(59434),l=t(91218);let d=()=>{let{t:e}=(0,l.Bd)("common");return(0,r.jsx)("span",{className:"sr-only",children:e("close")})},c=o.bL,g=o.l9,m=o.ZL;o.bm;let u=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(o.hJ,{ref:a,className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...s})});u.displayName=o.hJ.displayName;let p=s.forwardRef((e,a)=>{let{className:t,children:s,hideCloseButton:l=!1,...c}=e;return(0,r.jsxs)(m,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(o.UC,{ref:a,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
1nded-lg",t),...c,children:[s,!l&&(0,r.jsxs)(o.bm,{className:"absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(n.A,{className:"h-4 w-4"}),(0,r.jsx)(d,{})]})]})]})});p.displayName=o.UC.displayName;let x=e=>{let{className:a,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-start",a),...t})};x.displayName="DialogHeader";let h=e=>{let{className:a,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-2",a),...t})};h.displayName="DialogFooter";let b=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(o.hE,{ref:a,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...s})});b.displayName=o.hE.displayName;let f=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(o.VY,{ref:a,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});f.displayName=o.VY.displayName},54416:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},92138:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},92190:(e,a,t)=>{t.d(a,{u:()=>u});var r=t(95155),s=t(12115),o=t(35695),n=t(91218),i=t(54165),l=t(50589),d=t(14186),c=t(33786),g=t(92138),m=t(94870);function u(e){let{isOpen:a,onClose:t,email:u,onCreateNewAccount:p,onSignAndMigrate:x,status:h}=e,{t:b}=(0,n.Bd)("auth"),f=(0,o.useRouter)(),[y,v]=(0,s.useState)(!1),j=()=>{window.open("https://bigmind.genie9.com/signin","_blank"),t()},k=async()=>{v(!0);try{let e=await fetch("/api/auth/check-bigmind1",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:u,action:"opt_new_account"})});if(e.ok)p();else{let a=await e.json().catch(()=>({}));console.warn("PATCH check-bigmind1 returned non-OK, proceeding anyway:",a),p()}}catch(e){console.error("Error updating status:",e)}finally{v(!1)}};return(0,r.jsx)(i.lG,{open:a,onOpenChange:t,children:(0,r.jsxs)(i.Cf,{className:"sm:max-w-[480px] p-0 overflow-hidden",children:[(0,r.jsx)("div",{className:"bg-gradient-to-r from-blue-600 to-blue-500 px-6 py-5 text-white",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"p-2 bg-white/20 rounded-lg",children:(0,r.jsx)(l.A,{className:"h-6 w-6"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)(i.L3,{className:"text-xl text-white",children:b("migration.welcomeBack","Welcome Back!")}),(0,r.jsx)(i.rr,{className:"text-blue-100 mt-1",children:b("migration.v1AccountDetected","BigMind 1.0 Account Detected")})]})]})}),(0,r.jsxs)("div",{className:"px-6 py-5 space-y-5",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:(0,r.jsx)(n.x6,{i18nKey:"migration.emailConnected",t:b,values:{email:u},components:{bold:(0,r.jsx)("span",{className:"font-semibold text-foreground"})},defaults:"Your email <bold>{{email}}</bold> is connected to an active BigMind 1.0 account."})}),"partner_migration_pending"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex gap-3 p-4 bg-amber-50 dark:bg-amber-950/30 rounded-lg border border-amber-200 dark:border-amber-800",children:[(0,r.jsx)(d.A,{className:"h-5 w-5 text-amber-600 dark:text-amber-400 flex-shrink-0 mt-0.5"}),(0,r.jsxs)("div",{className:"text-sm text-amber-800 dark:text-amber-200",children:[(0,r.jsx)("p",{className:"font-medium",children:b("migration.partnerManaged","Managed by your service provider")}),(0,r.jsx)("p",{className:"mt-1",children:b("migration.partnerManagedDescription","This account will be moved to BigMind 2.0 as part of your provider's migration. There is nothing you need to do — please keep using BigMind 1.0 until then.")})]})]}),(0,r.jsx)("button",{onClick:j,className:"w-full p-4 border-2 border-gray-200 dark:border-gray-700 rounded-xl hover:border-gray-300 dark:hover:border-gray-600 hover:bg-gray-50/50 dark:hover:bg-gray-950/20 transition-all text-left group",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"p-2 bg-gray-100 dark:bg-gray-900/50 rounded-lg group-hover:bg-gray-200 dark:group-hover:bg-gray-800/50 transition-colors",children:(0,r.jsx)(c.A,{className:"h-5 w-5 text-gray-600 dark:text-gray-400"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("p",{className:"font-semibold text-sm",children:b("migration.continueToBigmind1","Continue to BigMind 1.0")}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:b("migration.continueToBigmind1Desc","Access your existing account and data at bigmind.genie9.com")})]}),(0,r.jsx)(g.A,{className:"h-4 w-4 text-muted-foreground group-hover:text-gray-600 transition-colors"})]})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex gap-3 p-4 bg-blue-50 dark:bg-blue-950/30 rounded-lg border border-blue-200 dark:border-blue-800",children:[(0,r.jsx)(m.A,{className:"h-5 w-5 text-blue-600 dar
1k:text-blue-400 flex-shrink-0 mt-0.5"}),(0,r.jsxs)("div",{className:"text-sm text-blue-800 dark:text-blue-200",children:[(0,r.jsx)("p",{className:"font-medium",children:b("migration.migrationAvailable","Migration Available")}),(0,r.jsx)("p",{className:"mt-1",children:b("migration.migrationAvailableDescription","You can now migrate your BigMind 1.0 data to BigMind 2.0. Your files will be transferred without re-uploading.")})]})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("button",{onClick:()=>{if(x)return void x();f.push("/migrate?email=".concat(encodeURIComponent(u))),t()},className:"w-full p-4 border-2 border-blue-200 dark:border-blue-700 bg-blue-50/50 dark:bg-blue-950/20 rounded-xl hover:border-blue-400 dark:hover:border-blue-500 hover:bg-blue-50 dark:hover:bg-blue-950/30 transition-all text-left group",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"p-2 bg-blue-100 dark:bg-blue-900/50 rounded-lg group-hover:bg-blue-200 dark:group-hover:bg-blue-800/50 transition-colors",children:(0,r.jsx)(m.A,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("p",{className:"font-semibold text-sm",children:x?b("migration.signAndMigrate","Sign & Migrate"):b("migration.migrateNow","Migrate to BigMind 2.0")}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:x?b("migration.signAndMigrateDesc","Create your BigMind 2.0 account and start the migration in one step"):b("migration.migrateNowDesc","Transfer your data and start using BigMind 2.0")})]}),(0,r.jsx)(g.A,{className:"h-4 w-4 text-muted-foreground group-hover:text-blue-600 transition-colors"})]})}),(0,r.jsx)("button",{onClick:j,className:"w-full p-4 border-2 border-gray-200 dark:border-gray-700 rounded-xl hover:border-gray-300 dark:hover:border-gray-600 hover:bg-gray-50/50 dark:hover:bg-gray-950/20 transition-all text-left group",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"p-2 bg-gray-100 dark:bg-gray-900/50 rounded-lg group-hover:bg-gray-200 dark:group-hover:bg-gray-800/50 transition-colors",children:(0,r.jsx)(c.A,{className:"h-5 w-5 text-gray-600 dark:text-gray-400"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("p",{className:"font-semibold text-sm",children:b("migration.continueToBigmind1","Continue to BigMind 1.0")}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:b("migration.continueToBigmind1Desc","Access your existing account and data at bigmind.genie9.com")})]}),(0,r.jsx)(g.A,{className:"h-4 w-4 text-muted-foreground group-hover:text-gray-600 transition-colors"})]})}),(0,r.jsx)("button",{onClick:k,disabled:y,className:"w-full p-4 border-2 border-gray-200 dark:border-gray-700 rounded-xl hover:border-purple-300 dark:hover:border-purple-700 hover:bg-purple-50/50 dark:hover:bg-purple-950/20 transition-all text-left group disabled:opacity-50 disabled:cursor-not-allowed",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"p-2 bg-purple-100 dark:bg-purple-900/50 rounded-lg group-hover:bg-purple-200 dark:group-hover:bg-purple-800/50 transition-colors",children:(0,r.jsx)(g.A,{className:"h-5 w-5 text-purple-600 dark:text-purple-400"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("p",{className:"font-semibold text-sm",children:y?b("migration.processing","Processing..."):b("migration.tryBigmind2","Try BigMind 2.0 Now")}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:b("migration.tryBigmind2Desc","Sign up with a different email to explore the new features")})]}),(0,r.jsx)(g.A,{className:"h-4 w-4 text-muted-foreground group-hover:text-purple-600 transition-colors"})]})})]})]})]})]})})}},94870:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])}}]);
2//# sourceMappingURL=125-a0110e5e91526d02.js.map

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.