PageSourceSearch

https://magica.com/_next/static/chunks/4341-fb3859cf7ae1314b.js?dpl=dpl_EpbZZwebesUNZKMWxZopFaX728EX

js magica.com collected 2026-10-02 05:23:15 UTC 40,783 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]="666c8048-f39d-4f76-9b33-4784a4ea3c90",e._sentryDebugIdIdentifier="sentry-dbid-666c8048-f39d-4f76-9b33-4784a4ea3c90")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4341],{52090:(e,t,r)=>{r.d(t,{Ay:()=>C});var a=r(681122),s=r(579841),n=r(71561),i=r(328773),o=r(6763),l=r(657847),c=r(550570),d=r(93682),u=r(99891),x=r(231693),m=r(289803),p=r(839002),f=r(626063),h=r(878418),g=r(869833),b=r(879265),y=r(653846),v=r(357690),N=r(229436),j=r(299083),I=r(528537),A=r(905393),w=r(596106),E=r(306342);function C(e){let t=(0,s.T)();return t?(0,a.jsx)(t,{open:e.open,onOpenChange:e.setOpen,intent:"subscription"}):(0,a.jsx)(n.Y,{dialogAction:e.open?"interaction":"close",dialogName:"UpgradePlanModal",onError:()=>e.setOpen(!1),open:e.open,children:(0,a.jsx)(R,{...e})})}function R(e){var t;let{open:r,setOpen:s,user:n,navigateToPaymentAction:C}=e,[R,_]=(0,w.useState)(!1),[k,P]=(0,w.useState)(!1),S=(0,w.useRef)(null),T=(0,w.useRef)(null),O=(0,w.useRef)(!1),{toast:U}=(0,m.dj)(),D=g.bP.SUBSCRIPTION.MONTHLY.PRICE,M=g.bP.SUBSCRIPTION.ANNUAL.PRICE,L=M/12,B=12*D-M,z=(0,g.uI)();(0,w.useEffect)(()=>{var e,t;
1if(R){O.current=!0,null==(e=T.current)||e.focus();return}O.current&&(O.current=!1,null==(t=S.current)||t.focus())},[R]);let Y=(0,p.j)((e,t)=>(0,x.qb)((0,u.A)("/api/stripe/plan-upgrade"),"POST",e,!1,t)),F=async()=>{if(n&&!k){P(!0);try{var e;let t=await Y({customerId:null==n?void 0:n.customerId,user_email:null==n?void 0:n.email,current_subscription_id:null==n||null==(e=n.subscription)?void 0:e.id,new_plan_period:"annual"});if(_(!1),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>window.location.assign(e),r=function(e){if(!e||"object"!=typeof e)return null;let{code:t,nextAction:r,paymentUrl:a}=e;if("PAYMENT_ACTION_REQUIRED"!==t)return null;if(r&&"object"==typeof r){let{type:e,url:t}=r;if("redirect"===e){let e=(0,f.W)(t);if(e)return e}}return(0,f.W)(a)}(e);return!!r&&(t(r),!0)}(t,C))s(!1);else if(t.success)U({title:"Upgrade Successful!",description:"Your subscription has been upgraded to the annual plan. You'll start saving immediately!"}),s(!1),setTimeout(()=>{window.location.reload()},1e3);else throw Error(function(e){if(!e||"object"!=typeof e)return"Upgrade failed";let{error:t,message:r}=e;return"string"==typeof t&&t.trim()?t:"string"==typeof r&&r.trim()?r:"Upgrade failed"}(t))}catch(t){if((0,p.I)(t))return;_(!1),(0,h.cJ)("Upgrade error",t,{source:"UpgradePlanModal",errorType:"api_call",operation:"confirmUpgrade",userId:null==n?void 0:n._id,__sf:"packages/galaxyai-packages/components/UpgradePlanModal.tsx",__sl:227,__sfn:"confirmUpgrade"});let e="Failed to upgrade plan. Please try again.";if(t instanceof Error&&t.message)try{e=JSON.parse(t.message.split("body: ")[1]).error||e}catch(r){e=t.message}U({title:"Upgrade Failed",description:e,variant:"destructive"})}finally{P(!1)}}},G=(null==n||null==(t=n.subscription)?void 0:t.status)==="active",$=(0,E.O)(null==n?void 0:n.subscription);return G&&$?(0,a.jsx)(l.lG,{open:r,modal:!k,onOpenChange:e=>{k||(e||_(!1),s(e))},children:(0,a.jsxs)(l.Cf,{onInteractOutside:e=>{k&&e.preventDefault()},onEscapeKeyDown:e=>{k&&e.preventDefault()},onOpenAutoFocus:e=>{k&&e.preventDefault()},onCloseAutoFocus:e=>{k&&e.preventDefault()},className:"border-none bg-transparent !p-0 shadow-none sm:max-w-lg",closeButtonClassName:"right-4 top-4 inline-flex size-9 items-center justify-center rounded-full data-[state=open]:bg-transparent hover:bg-surface-secondary focus-visible:ring-2 focus-visible:ring-boarder-action focus-visible:ring-offset-2",children:[(0,a.jsxs)("div",{"data-testid":"annual-upgrade-offer",inert:!!R||void 0,className:"w-full max-w-lg overflow-y-auto rounded-xl border border-magica-foundation-line bg-magica-foundation-surface p-6 shadow-lg transition-opacity ".concat(R?"pointer-events-none absolute inset-0 h-full opacity-0":"relative max-h-[90vh] opacity-100"),children:[!R&&(0,a.jsxs)("div",{className:"mb-6 px-10 text-center",children:[(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-center gap-2",children:[(0,a.jsx)(y.A,{className:"h-6 w-6 text-text-action dark:text-text-action"}),(0,a.jsx)(l.L3,{className:"text-2xl font-bold text-text-primary dark:text-text-primary",children:"Upgrade to Annual Plan"})]}),(0,a.jsxs)(l.rr,{className:"text-text-secondary dark:text-text-tertiary",children:["Save ",z,"% and unlock premium benefits"]})]}),(0,a.jsxs)("div",{className:"mb-6 grid grid-cols-1 gap-4 md:grid-cols-2",children:[(0,a.jsx)("div",{className:"dark:bg-surface-overlay-control/50 rounded-lg border border-boarder-tertiary bg-surface-main-background-2 p-4 dark:border-boarder-secondary",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h3",{className:"mb-2 font-semibold text-text-primary dark:text-text-primary",children:"Current Plan"}),(0,a.jsxs)("div",{className:"text-2xl font-bold text-text-secondary dark:text-text-tertiary",children:["$",D]}),(0,a.jsx)("div",{className:"text-sm text-text-tertiary dark:text-text-tertiary",children:"per month"}),(0,a.jsx)("div",{className:"mt-2 text-sm font-medium text-text-secondary dark:text-text-tertiary",children:"15M credits monthly"})]})}),(0,a.jsxs)("div",{"data-testid":"annual-plan-card",className:"relative rounded-lg border-2 border-boarder-action bg-surface-primary-active p-4 dark:border-boarder-action",children:[(0,a.jsx)("div",{className:"absolute -top-2 left-1/2 -translate-x-1/2 transform",children:(0,a.jsx)("span",{className:"whitespace-nowrap rounded-full bg-surface-primary-active px-3 py-1 text-xs font-medium text-text-on-action dark:bg-surface-primary-active",children:"Recommended"})}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h3",{className:"mb-2 font-semibold text-text-on-action",children:"Annual Plan"}),(0,a.jsxs)("div",{className:"mb-1 flex items-center justify-center gap-2",children:[(0,a.jsxs)("span",{className:"text-lg text-text-on-action line-through opacity-60",children:["$",D]}),(0,a.jsxs)("span",{className:"text-2xl font-bold text-text-on-action",children:["$",L.toFixed(2)]})]}),(0,a.jsx)("div",{className:"text-sm text-text-on-action opacity-70",children:"per month (billed annually)"}),(0,a.jsxs)("div",{className:"mt-1 text-sm font-semibold text-text-on-action",children:["$",M.toFixed(2)," billed once per year"]}),(0,a.jsxs)("div",{className:"mt-2 text-sm font-medium text-text-on-action",children:["15M credits monthly",(0,a.jsxs)(c.AM,{children:[(0,a.jsx)(c.Wv,{asChild:!0,children:(0,a.jsx)("button",{className:"ml-1 inline-flex h-4 w-4 items-center justify-center rounded-full",children:(0,a.jsx)(b.A,{className:"h-3 w-3 text-text-on-action opacity-70"})})}),(0,a.jsx)(c.hl,{className:"w-80 max-w-[calc(100vw-2rem)]",align:"center",children:(0,a.jsx)(i.O9,{})})]})]})]})]})]}),(0,a.jsxs)("div",{className:"dark:border-boarder-success/30 dark:bg-surface-success-disabled/20 mb-6 rounded-lg border border-boarder-success bg-surface-success-disabled p-4",children:[(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-center gap-2",children:[(0,a.jsx)(v.A,{className:"h-5 w-5 text-text-success dar
1k:text-text-success"}),(0,a.jsxs)("span",{className:"font-semibold text-text-success dark:text-text-success",children:["You'll Save $",B.toFixed(2)," Per Year"]})]}),(0,a.jsxs)("p",{className:"text-center text-sm text-text-success dark:text-text-success",children:["That's ",z,"% off compared to paying monthly!"]})]}),(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsxs)("h4",{className:"mb-3 flex items-center gap-2 font-semibold text-text-primary dark:text-text-primary",children:[(0,a.jsx)(N.A,{className:"h-5 w-5 text-text-action dark:text-text-action"}),"Premium Annual Benefits"]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm",children:[(0,a.jsx)(j.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-text-success"}),(0,a.jsx)("span",{className:"text-text-secondary dark:text-text-tertiary",children:"Priority customer support with faster response times"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm",children:[(0,a.jsx)(j.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-text-success"}),(0,a.jsx)("span",{className:"text-text-secondary dark:text-text-tertiary",children:"Early access to new AI tools and features"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm",children:[(0,a.jsx)(j.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-text-success"}),(0,a.jsx)("span",{className:"text-text-secondary dark:text-text-tertiary",children:"10x faster generation speeds for all AI operations"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm",children:[(0,a.jsx)(j.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-text-success"}),(0,a.jsxs)("span",{className:"text-text-secondary dark:text-text-tertiary",children:["Access to exclusive ",d.Az," Pro Community"]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm",children:[(0,a.jsx)(j.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-text-success"}),(0,a.jsx)("span",{className:"text-text-secondary dark:text-text-tertiary",children:"Advanced analytics and usage insights"})]})]})]}),(0,a.jsxs)("div",{className:"dark:bg-surface-overlay-control/50 mb-6 rounded-lg border border-boarder-tertiary bg-surface-main-background-2 p-3 dark:border-boarder-secondary",children:[(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-center",children:[[1,2,3,4,5].map(e=>(0,a.jsx)(I.A,{className:"h-4 w-4 fill-current text-text-warning"},e)),(0,a.jsx)("span",{className:"ml-2 text-sm text-text-secondary dark:text-text-tertiary",children:"4.9/5 (50,000+ reviews)"})]}),(0,a.jsx)("p",{className:"text-center text-xs text-text-tertiary dark:text-text-tertiary",children:'"The annual plan premium benefits are absolutely worth it!" - Sarah K.'})]}),(0,a.jsxs)(o.$n,{ref:S,"aria-busy":k||void 0,variant:"primary",className:"relative w-full overflow-hidden rounded-lg border-2 border-text-on-action bg-surface-primary-active py-3 text-base text-text-on-action shadow-lg transition-all duration-300 hover:border-text-on-action hover:bg-surface-primary-hover hover:shadow-xl focus-visible:ring-2 focus-visible:ring-boarder-action focus-visible:ring-offset-2 focus-visible:ring-offset-surface-primary-active dark:border-text-on-action dark:bg-surface-primary-active dark:hover:border-text-on-action dark:hover:bg-surface-primary-hover lg:py-4 lg:text-lg",onClick:()=>{_(!0)},disabled:k,children:[(0,a.jsxs)("span",{"aria-hidden":!k,className:"flex items-center gap-2 ".concat(k?""
1:"hidden"),children:[(0,a.jsx)(A.A,{className:"h-4 w-4 animate-spin"}),(0,a.jsx)("span",{children:"Processing Upgrade..."})]}),(0,a.jsx)("span",{className:k?"hidden":"",children:"Review $".concat(M.toFixed(2),"/year upgrade")})]}),(0,a.jsxs)("div",{className:"mt-4 flex items-center justify-center gap-4 text-sm text-text-tertiary dark:text-text-tertiary",children:[(0,a.jsx)("span",{className:"flex items-center",children:"\uD83D\uDD12 Secure payment"}),(0,a.jsx)("span",{className:"flex items-center",children:"↺ Cancel anytime"})]})]}),R&&(0,a.jsxs)("div",{"data-testid":"annual-upgrade-confirmation",className:"relative max-h-[90vh] overflow-y-auto rounded-xl border border-magica-foundation-line bg-magica-foundation-surface p-6 shadow-lg",children:[(0,a.jsxs)(l.c7,{className:"pr-10",children:[(0,a.jsxs)(l.L3,{className:"flex items-center gap-2 text-text-primary dark:text-text-primary",children:[(0,a.jsx)(y.A,{className:"h-5 w-5 text-text-action dark:text-text-action"}),"Confirm Plan Upgrade"]}),(0,a.jsx)(l.rr,{className:"text-left text-text-secondary dark:text-text-tertiary",children:"You're about to upgrade from your monthly plan to the annual plan. The upgrade will be processed immediately with automatic proration."})]}),(0,a.jsxs)("div",{className:"space-y-3 py-2",children:[(0,a.jsxs)("div",{"data-testid":"annual-benefits-card",className:"rounded-lg border border-boarder-action bg-surface-primary-active p-3 dark:border-boarder-action",children:[(0,a.jsx)("div",{className:"mb-1 text-sm font-medium text-text-on-action",children:"Immediate Benefits:"}),(0,a.jsxs)("ul",{className:"space-y-1 text-sm text-text-on-action",children:[(0,a.jsx)("li",{children:"• Premium support and priority assistance"}),(0,a.jsx)("li",{children:"• 10x faster AI generation speeds"}),(0,a.jsx)("li",{children:"• Early access to new features"}),(0,a.jsx)("li",{children:"• Access to Pro Community"})]})]}),(0,a.jsxs)("div",{className:"dark:border-boarder-success/30 dark:bg-surface-success-disabled/20 rounded-lg border border-boarder-success bg-surface-success-disabled p-3",children:[(0,a.jsx)("div",{className:"mb-1 text-sm font-medium text-text-success dark:text-text-success",children:"Savings:"}),(0,a.jsxs)("div",{className:"text-sm text-text-success dark:text-text-success",children:["You'll save $",B.toFixed(2)," per year (",z,"% discount)"]})]}),(0,a.jsxs)("div",{className:"dark:bg-surface-overlay-control/50 rounded-lg border border-boarder-tertiary bg-surface-main-background-2 p-3 dark:border-boarder-secondary",children:[(0,a.jsx)("div",{className:"mb-1 text-sm font-medium text-text-primary dark:text-text-tertiary",children:"Payment summary:"}),(0,a.jsxs)("dl",{className:"space-y-2 text-sm text-text-secondary dark:text-text-tertiary",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsx)("dt",{children:"Recurring annual price"}),(0,a.jsxs)("dd",{className:"font-semibold text-text-primary dark:text-text-primary",children:["$",M.toFixed(2),"/year"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("dt",{className:"font-medium text-text-primary dark:text-text-tertiary",children:"Today's charge"}),(0,a.jsx)("dd",{children:"Prorated for the unused portion of your monthly plan. The final adjustment will appear on your billing invoice."})]})]})]})]}),(0,a.jsxs)(l.Es,{className:"flex flex-col gap-3 sm:flex-row",children:[(0,a.jsx)(o.$n,{variant:"outline",onClick:()=>_(!1),disabled:k,className:"dark:hover:bg-surface-overlay-control/50 border-boarder-tertiary text-text-secondary hover:bg-surface-main-background-2 dark:border-boarder-secondary dark:text-text-tertiary",children:"Cancel"}),(0,a.jsxs)(o.$n,{ref:T,"aria-busy":k||void 0,onClick:F,disabled:k,className:"bg-surface-primary-active text-text-on-action hover:bg-surface-primary-active dark:bg-surface-primary-active dark:hover:bg-surface-primary-active",children:[(0,a.jsxs)("span",{"aria-hidden":!k,className:"flex items-center gap-2 ".concat(k?""
1:"hidden"),children:[(0,a.jsx)(A.A,{className:"h-4 w-4 animate-spin"}),(0,a.jsx)("span",{children:"Upgrading..."})]}),(0,a.jsx)("span",{className:k?"hidden":"",children:"Confirm $".concat(M.toFixed(2),"/year upgrade")})]})]})]})]})}):(0,a.jsx)(l.lG,{open:r,onOpenChange:s,children:(0,a.jsxs)(l.Cf,{className:"border border-magica-foundation-line bg-magica-foundation-surface sm:max-w-md",children:[(0,a.jsxs)(l.c7,{children:[(0,a.jsxs)(l.L3,{className:"flex items-center gap-2 text-text-primary dark:text-text-primary",children:[(0,a.jsx)(b.A,{className:"h-5 w-5 text-text-information"}),"Upgrade Not Available"]}),(0,a.jsx)(l.rr,{className:"text-text-secondary dark:text-text-tertiary",children:"This upgrade option is only available for users with active monthly subscriptions."})]}),(0,a.jsx)(l.Es,{children:(0,a.jsx)(o.$n,{onClick:()=>s(!1),variant:"outline",children:"Close"})})]})})}},71561:(e,t,r)=>{r.d(t,{Y:()=>n});var a=r(878418),s=r(596106);class n extends s.Component{static getDerivedStateFromError(){return{hasError:!0}}static getDerivedStateFromProps(e,t){return e.open===t.lastOpen?null:{hasError:!1,lastOpen:e.open}}componentDidCatch(e,t){var r;(0,a.cJ)("Billing dialog render failed",e,{componentStack:null!=(r=t.componentStack)?r:void 0,dialogAction:this.props.dialogAction,dialogName:this.props.dialogName,errorType:"rendering",severity:"critical",source:"BillingDialogErrorBoundary",__sf:"packages/galaxyai-packages/components/BillingDialogErrorBoundary.tsx",__sl:43,__sfn:"componentDidCatch"}),this.props.onError()}render(){return this.state.hasError?null:this.props.children}constructor(...e){super(...e),this.state={hasError:!1,lastOpen:this.props.open}}}},127714:(e,t,r)=>{r.d(t,{Xt:()=>v,nf:()=>h,q4:()=>f});var a=r(93682),s=r(528537),n=r(255677),i=r(86882),o=r(286610),l=r(108826),c=r(174525),d=r(301466),u=r(517736),x=r(229436),m=r(389476),p=r(548912);let f="premium-features",h="premium-priority-support",g=[{id:"premium-models",title:"Premium AI Services",describe:()=>"Get access to the world's leading AI models",emoji:"✨",lucideIcon:s.A,tier:"base"},{id:"api-mcp",title:"API & MCP Access",describe:()=>"Integrate ".concat(a.Az," into any app or workflow"),emoji:"\uD83D\uDD0C",lucideIcon:n.A,tier:"base"},{id:"connectors",title:"Connectors",describe:()=>"Connect your apps so agents can read and act on your data",emoji:"\uD83D\uDD17",lucideIcon:i.A,tier:"base"},{id:"multimodal-generation",title:"Multi-Modal AI Generation",describe:()=>"Create images, videos, ads, audio (speech, music, sound effects), websites, and more",emoji:"\uD83C\uDFA8",lucideIcon:o.A,tier:"base"},{id:"custom-projects",title:"Custom AI Projects",describe:()=>"Build self-contained workspaces trained on your specific data",emoji:"\uD83E\uDD16",lucideIcon:l.A,tier:"base"},{id:"flexible-usage",title:"Flexible Usage",describe:()=>"No waiting period or hourly limits - use credits anytime",emoji:"⚡",lucideIcon:c.A,tier:"base"},{id:"commercial-rights",title:"Commercial Rights",describe:()=>"100% commercial use rights for all outputs",emoji:"\uD83D\uDCBC",lucideIcon:d.A,tier:"base"},{id:"data-privacy",title:"Data Privacy",describe:()=>"Your data never trains AI models - complete privacy guaranteed \uD83C\uDDFA\uD83C\uDDF8",emoji:"\uD83D\uDD12",lucideIcon:u.A,tier:"base"},{id:h,title:"PREMIUM: Priority Support",describe:()=>"24-hour personalized response guarantee",emoji:"\uD83D\uDC51",lucideIcon:x.A,tier:"premium"},{id:"premium-early-access",title:"PREMIUM: Early Access",describe:()=>"Get new AI tools before other subscribers",emoji:"\uD83C\uDFAF",lucideIcon:m.A,tier:"premium"},{id:"premium-speed",title:"PREMIUM: Enhanced Speed",describe:()=>"10x faster generation speeds for all tools",emoji:"⚡",lucideIcon:p.A,tier:"premium"},{id:"premium-priority-queue",title:"PREMIUM: Priority API & MCP Queue",describe:()=>"Priority processing for all API and MCP requests",emoji:"\uD83D\uDD0C",lucideIcon:n.A,tier:"premium"}],b=new Set;for(let e of g){if(b.has(e.id))throw Error('Duplicate product-feature id "'.concat(e.id,'". Each feature must have a unique id.'));b.add(e.id)}
1if(!b.has(h))throw Error('PREMIUM_ANCHOR_FEATURE_ID "'.concat(h,'" does not match any feature — deep links to the premium section would 404.'));let y=["base"];function v(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=null!=(e=t.tiers)?e:y;return g.filter(e=>r.includes(e.tier)).map(e=>{let{describe:t,...r}=e;return{...r,description:t()}})}},170532:(e,t,r)=>{r.d(t,{JO:()=>s,SK:()=>a});let a="2M",s="50,000"},174509:(e,t,r)=>{r.d(t,{Q:()=>o});let a=/^fb\.1\.\d{10,16}\.[A-Za-z0-9._~-]{1,220}$/,s=/^[A-Za-z0-9._~-]{1,220}$/;function n(e){var t;let r="".concat(e,"="),a=null==(t=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith(r)))?void 0:t.slice(r.length);if(a)try{return decodeURIComponent(a)}catch(e){return}}function i(e){return e&&a.test(e)?e:void 0}function o(){if("undefined"==typeof document)return;let e=i(n("_fbp")),t=i(n("_fbc"));if(!t){let e=new URLSearchParams(window.location.search).get("fbclid");e&&s.test(e)&&(t="fb.1.".concat(Date.now(),".").concat(e))}return e||t?{...e?{fbp:e}:{},...t?{fbc:t}:{}}:void 0}},306342:(e,t,r)=>{r.d(t,{O:()=>a});function a(e){let t=null==e?void 0:e.current_period_start,r=null==e?void 0:e.current_period_ends;return"number"==typeof t&&"number"==typeof r&&!!Number.isFinite(t)&&!!Number.isFinite(r)&&!(r<=t)&&(r-t)/86400<=60}},326214:(e,t,r)=>{r.d(t,{$1:()=>c,CT:()=>o,Dd:()=>d,H7:()=>n,W3:()=>u,Y3:()=>l,a0:()=>i});var a=r(571160),s=r(869833);let n={UNAUTHORIZED:"UNAUTHORIZED",USER_NOT_FOUND:"USER_NOT_FOUND",ACTIVE_SUBSCRIPTION_EXISTS:"ACTIVE_SUBSCRIPTION_EXISTS",PAYMENT_ISSUE_EXISTS:"PAYMENT_ISSUE_EXISTS",INVALID_PARAMETERS:"INVALID_PARAMETERS",MISSING_ENV_VARS:"MISSING_ENV_VARS",STRIPE_ERROR:"STRIPE_ERROR",INTERNAL_ERROR:"INTERNAL_ERROR",NO_ACTIVE_SUBSCRIPTION:"NO_ACTIVE_SUBSCRIPTION"},i=["past_due","unpaid","incomplete","incomplete_expired","expired"];function o(e,t,r){var a;return!!(r&&t&&(null==e||null==(a=e.organizationInfo)?void 0:a.id)===t)}function l(e){var t,r,a;let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null==e||null==(t=e.subscription)?void 0:t.status;if(s){if(!(null==e||null==(r=e.organizationInfo)?void 0:r.id))return"active"===n;let t=null!=(a=e.organizationInfo.organizationStatus)?a:e.organizationInfo.status;return t?"active"===t||"trialing"===t:"active"===n}return"active"===n||!!n&&i.includes(n)}let c={QUANTITY_MIN:1,QUANTITY_MAX:5e3,CREDIT_TOPUP_MIN_DOLLARS:1,EMAIL_REGEX:/^[^\s@]+@[^\s@]+\.[^\s@]+$/};function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/tools";if("string"!=typeof e||0===e.length||e.length>2048||!e.startsWith("/")||e.startsWith("//")||e.includes("\\")||e.includes("#")||/[\u0000-\u001f\u007f]/.test(e))return t;let r=e.split("?",1)[0].replace(/\/+$/,"")||"/";return"/success"===r||"/app/success"===r?t:e}function u(e,t){var r;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=d(e),n=new URLSearchParams(null!=(r=null==t?void 0:t.toString())?r:"");for(let e of a)n.delete(e);let i=n.toString();return i?"".concat(s,"?").concat(i):s}s.bP.SUBSCRIPTION.MONTHLY.PRICE,s.bP.SUBSCRIPTION.MONTHLY.ORIGINAL_PRICE,s.bP.SUBSCRIPTION.CREDITS_PER_MONTH,s.bP.SUBSCRIPTION.ANNUAL.PRICE,s.bP.SUBSCRIPTION.ANNUAL.PRICE,s.bP.SUBSCRIPTION.CREDITS_PER_MONTH,s.bP.LIFETIME.REGULAR_PRICE,s.bP.LIFETIME.ORIGINAL_PRICE,s.bP.LIFETIME.MONTHLY_CREDITS,s.bP.LIFETIME.BONUS_CREDITS,s.bP.SUBSCRIPTION.ADDITIONAL_CREDITS_PRICE,a.Y.CREDIT_PER_DOLLAR,a.Y.BONUS_THRESHOLD},328773:(e,t,r)=>{r.d(t,{fz:()=>o,O9:()=>l,zW:()=>x,VP:()=>g});var a=r(681122),s=r(93682),n=r(564467),i=r(299083);function o(e){let{annualSavings:t,isBlackFridayMode:r=!1}=e,o=["Priority customer support","10x faster generation speeds","Exclusive early access to new AI tools","Access to ".concat(s.Az," Pro Community")];return(0,a.jsxs)("div",{className:"space-y-2 py-2",children:[o.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm",children:[(0,a.jsx)(i.A,{className:"mt-0.5 h-4 w-4 text-text-primary"}),(0,a.jsx)("span",{className:(0,n.cn)(r?"text-text-on-action":"text-text-primary"),children:e})]},t)),(0,a.jsxs)("div",{className:(0,n.cn)("flex items-start gap-2 text-sm font-medium",r?"text-text-error":"text-text-primary"),children:[(0,a.jsx)(i.A,{className:"mt-0.5 h-4 w-4 text-text-primary"}),(0,a.jsxs)("span",{children:["Total savings of $",t.toFixed(2)," per year"]})]})]})}let l=()=>(0,a.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,a.jsx)("p",{className:"font-medium text-text-primary dark:text-text-primary",children:"How do credits work?"}),(0,a.jsxs)("div",{className:"space-y-2 text-text-secondary dark:text-text-tertiary",children:[(0,a.jsxs)("p",{children:[s.Az," uses a credits-based system to allocate AI resources fairly. Credits reflect the computational load for each AI request."]}),(0,a.jsx)("p",{children:"Credit resets, rollover, and expiration depend on your plan’s terms."}),(0,a.jsx)("p",{children:"Review the available credit packs and their current prices before purchasing additional credits."})]})]});var c=r(170532);let d=[{question:"Wait, how is this even possible?",answer:"We're like Costco for AI tools. By bringing together ".concat(c.SK,"+ users, we negotiate directly with AI providers for bulk deals — then pass the savings to you. You get the SAME premium models that cost at least $20/month elsewhere (not the free or limited versions), just at wholesale prices instead of retail.")},{question:"Can I really cancel anytime?",answer:"Absolutely! No contracts, no cancellation fees. Cancel with one click from your dashboard. We're confident you'll love the value, so we don't need to lock you in."},{question:"Is the discounted price just for the first month/year?",answer:"New offers do not change your existing subscription’s terms. Review your plan details for your renewal price and billing period. If you change plans, review the new terms before confirming."},{question:"Is it easy to use for beginners?",answer:"Absolutely! ".concat(s.Az," is designed for users of all experience levels. Whether you're just curious about AI or you're a pro, our intuitive interface makes it simple to start creating amazing content in minutes.")},{question:"Where can I use Galaxy?",answer:(0,a.jsxs)(a.Fragment,{children:["Use it anywhere! Access ",s.Az," ",(0,a.jsx)("a",{href:s.B0,target:"_blank",rel:"noopener noreferrer",className:"text-text-action underline hover:text-text-action dark:text-text-action dark:hover:text-text-action",children:"on the web"}),", or download our mobile apps for"," ",(0,a.jsx)("a",{href:s.tw,target:"_blank",rel:"noopener noreferrer",className:"text-text-action underline hover:text-text-action dark:text-text-action dark:hover:text-text-action",children:"Android and iOS"}),". Your account syncs across all devices, so you can create on the go."]})},{question:"Are there tutorials to help me get started?",answer:(0,a.jsxs)(a.Fragment,{children:["Yes! We have tons of free tutorials on YouTube. Check out our"," ",(0,a.jsx)("a",{href:s.pv,target:"_blank",rel:"noopener noreferrer",className:"text-text-action underline hover:text-text-action dark:text-text-action dark:hover:text-text-action",children:"main channel"})," ","and our"," ",(0,a.jsx)("a",{href:s.U,target:"_blank",rel:"noopener noreferrer",className:"text-text-action underline hover:text-text-action dark:text-text-action dark:hover:text-text-action",children:"learning channel"}),". New tutorials added weekly!"]})}];r(596106);var u=r(127714);let x=e=>{let{selectedPlan:t,isBlackFridayMode:r=!1}=e,s=(0,u.Xt)({tiers:"annual"===t?["base","premium"]:["base"]});return(0,a.jsxs)("div",{className:(0,n.cn)("mt-6 border-t pt-6",r?"border-boarder-secondary":"border-magica-foundation-line"),children:[(0,a.jsx)("h3",{className:(0,n.cn)("mb-4 text-sm font-semibold",r?"text-text-on-action":"text-magica-foundation-foreground"),children:"Everything you'll get:"}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:s.map(e=>{let t="premium"===e.tier;return(0,a.jsxs)("div",{id:e.id===u.nf?u.q4:void 0,className:(0,n.cn)("flex scroll-mt-6 items-start gap-3 rounded-lg border p-3",t?r?"border-boarder-error bg-surface-overlay-control":"border-magica-foundation-line bg-magica-foundation-surface-raised":r?"border-boarder-secondary bg-surface-overlay-control":"border-magica-foundation-line bg-magica-foundation-surface-raised"),children:[(0,a.jsx)("span",{className:(0,n.cn)("flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full",r?"bg-surface-error-active text-text-on-action":"bg-magica-foundation-control-hover text-magica-foundation-foreground"),"aria-hidden":"true",children:(0,a.jsx)(i.A,{className:"h-3 w-3"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:(0,n.cn)("mb-1 text-xs font-medium",t?r?"text-text-error":"text-magica-foundation-foreground":r?"text-text-on-action":"text-magica-foundation-foreground"),children:e.title}),(0,a.jsx)("p",{className:(0,n.cn)("text-xs leading-relaxed",r?"text-text-tertiary":"text-magica-foundation-foreground-muted"),children:e.description})]})]},e.id)})})]})};var m=r(955023),p=r(781595),f=r(295631);let h=[{name:"Scott Molinaro",text:"I've tested several different AI platforms, and ".concat(s.Az," is by far the one that checks all the boxes for me. It's incredibly flexible, packed with options, and easy to use. The pricing is much more affordable compared to other big-name services—and unlike those, you're not stuck paying more for less."),highlight:"If you're on the fence, don't be—this is the one."},{name:"Janet Giessl",text:"".concat(s.Az," is fantastic because it c
1ombines so many popular AI apps in one place. Instead of paying for separate subscriptions to ChatGPT, MidJourney, Ideogram, video generators, and more, I can access them all under one platform."),highlight:"It saves me money and keeps everything organized."},{name:"Dean",text:"I use ".concat(s.Az," every day—for work, life stuff, and my hobbies—and it's honestly become my go-to app. It's packed with way more tools than I expected, so I can bounce from writing and planning to research and creative ideas without switching apps."),highlight:"It's affordable for what you get."},{name:"Trelandon Jones",text:"I ditched subscriptions to 7 different AI tools because ".concat(s.Az," packs them all in—plus extras I use daily for everything from content creation to brainstorming."),highlight:"No fluff, just pure efficiency and massive savings."}];function g(e){let{selectedPlan:t,isBlackFridayMode:r=!1}=e;return(0,a.jsxs)(a.Fragment,{children:["annual"===t&&(0,a.jsxs)("div",{className:(0,n.cn)("mt-6 space-y-3 border-t pt-6",r?"border-boarder-secondary":"border-magica-foundation-line"),children:[(0,a.jsx)("div",{className:"mb-1 text-center",children:(0,a.jsxs)("h3",{className:(0,n.cn)("mb-1 text-sm font-semibold",r?"text-text-on-action":"text-magica-foundation-foreground"),children:["See what our users have to say about ",s.Az]})}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2",children:h.map((e,t)=>(0,a.jsxs)("div",{className:(0,n.cn)("rounded-lg border p-3",r?"border-boarder-error/30 bg-surface-overlay-control":"border-magica-foundation-line bg-magica-foundation-surface-raised"),children:[(0,a.jsx)(m.G,{className:"mb-2 gap-0.5",starClassName:(0,n.cn)("w-3 h-3",r?"text-text-error":"text-text-warning")}),(0,a.jsxs)("p",{className:(0,n.cn)("mb-2 text-xs leading-relaxed",r?"text-text-tertiary":"text-magica-foundation-foreground-muted"),children:["“",e.text,"”"]}),(0,a.jsx)("p",{className:(0,n.cn)("mb-2 text-xs font-semibold",r?"text-text-error":"text-magica-foundation-foreground"),children:e.highlight}),(0,a.jsxs)("div",{className:(0,n.cn)("text-xs font-medium",r?"text-text-tertiary":"text-magica-foundation-foreground-subtle"),children:["— ",e.name]})]},t))})]}),(0,a.jsxs)("div",{className:(0,n.cn)("mt-6 border-t pt-6",r?"border-boarder-secondary":"border-magica-foundation-line"),children:[(0,a.jsxs)("details",{className:"group",children:[(0,a.jsx)("summary",{className:"cursor-pointer list-none",children:(0,a.jsxs)("h3",{className:(0,n.cn)("-mx-3 flex items-center justify-between p-3 text-sm font-semibold transition-colors",r?"text-text-on-action hover:bg-surface-overlay-control hover:text-text-error":"text-magica-foundation-foreground hover:bg-magica-foundation-control-hover"),children:[(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(p.A,{className:"h-4 w-4","aria-hidden":"true"}),"Have questions?"]}),(0,a.jsx)(f.A,{className:(0,n.cn)("h-4 w-4 transition-transform group-open:rotate-180",r?"text-text-on-action":"text-text-tertiary")})]})}),(0,a.jsx)("div",{className:"animate-fade-in-down mt-4 space-y-3",children:d.map((e,t)=>(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:(0,n.cn)("mb-1 font-medium",r?"text-text-on-action":"text-magica-foundation-foreground"),children:e.question}),(0,a.jsx)("div",{className:(0,n.cn)(r?"text-text-tertiary":"text-magica-foundation-foreground-muted"),children:e.answer})]},t))})]}),(0,a.jsx)("div",{className:"h-6"})]})]})}},438057:(e,t,r)=>{r.d(t,{$d:()=>x,CD:()=>o,Iw:()=>u,Px:()=>d,UA:()=>l,gr:()=>c});var a=r(681122),s=r(564467),n=r(457569),i=r(596106);let o=(0,i.createContext)(null),l=()=>(0,i.useContext)(o);function c(e){var t,r;return"loading"===e.status?"Loading plan…":"error"===e.status||"unresolved"===e.state?"Plan details unavailable":e.current?null!=(r=null==(t=e.current.offer)?void 0:t.name)?r:"lifetime"===e.current.billingInterval?"Lifetime Access":"Existing subscription":"No active subscription"}function d(e){let{compact:t=!1,className:r,showCreditReset:i=!0,inlineRenewal:o=!1}=e,d=l();if(!d)return null;let u="ready"===d.status&&"unresolved"!==d.state?d.current:null;if(t){var x,m,p;let e="ready"===d.status&&"unresolved"!==d.state?d.scheduledChange:null,t=null==u?void 0:u.nextCreditReset,i=(null==u?void 0:u.cancelAtPeriodEnd)&&!d.scheduledChange,o=e?e.effectiveAt:i?null!=(m=null==(x=d.cancellation)?void 0:x.effectiveAt)?m:null==u?void 0:u.renewalAt:null!=(p=null==t?void 0:t.at)?p:null==u?void 0:u.renewalAt;if(!o&&!e)return null;let l=o?new Date(o):null,c=l&&!Number.isNaN(l.getTime())?"".concat(l.getDate()," ").concat(l.toLocaleDateString("en-US",{month:"short"})," '").concat(String(l.getFullYear()).slice(-2)):null;return c||e?(0,a.jsx)("p",{className:(0,s.cn)("mt-2 rounded-radius-l border border-boarder-success bg-surface-success-disabled px-2 py-1 text-caption font-medium leading-4 text-text-success",r),"aria-live":"polite",children:e?c?"Plan changes on ".concat(c):"Plan change scheduled":i?"Plan will cancel on ".concat(c):t?"+".concat((0,n.k)(t.amount),"M credits on ").concat(c):"Renews on ".concat(c)}):null}let f=e=>new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return(0,a.jsxs)("div",{className:(0,s.cn)(o?"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1 text-sm":"space-y-1 text-sm",r),"aria-live":"polite",children:[(0,a.jsx)("p",{className:"text-base font-semibold",children:c(d)}),(null==u?void 0:u.renewalAt)?(0,a.jsxs)("p",{className:o?"text-xs text-muted-foreground":void 0,children:[u.cancelAtPeriodEnd&&!d.scheduledChange?"Ends":"Renews"," ","on ",f(u.renewalAt)]}):null,i&&(null==u?void 0:u.nextCreditReset)?(0,a.jsxs)("p",{children:[(0,n.k)(u.nextCreditReset.amount),"M credits reset on ",f(u.nextCreditReset.at)]}):null]})}let u=(0,i.createContext)(null);function x(){var e,t;let r=(0,i.useContext)(u),s=l();return r?(0,a.jsx)(r,{},null!=(t=null==s||null==(e=s.cancellation)?void 0:e.subscriptionId)?t:"none"):null}},457569:(e,t,r)=>{function a(e){return e?1e4>Math.abs(e)?String(e/1e6):String(Number((e/1e6).toFixed(2))):"0"}function s(e){let t=Number(e);return Number.isFinite(t)?t:0}r.d(t,{R:()=>s,k:()=>a})},550570:(e,t,r)=>{r.d(t,{AM:()=>o,Wv:()=>l,hl:()=>c});var a=r(681122),s=r(659542),n=r(596106),i=r(564467);let o=s.bL,l=s.l9;s.Mz;
1let c=n.forwardRef((e,t)=>{let{className:r,align:n="center",sideOffset:o=4,...l}=e;return(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{ref:t,align:n,sideOffset:o,className:(0,i.cn)("z-50 w-72 rounded-radius-xxl border bg-surface-main-background p-4 text-text-primary shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.UC.displayName},571160:(e,t,r)=>{r.d(t,{Y:()=>a});let a={BONUS_THRESHOLD:100,BONUS_PERCENTAGE:0,DEFAULT_BONUS_PERCENTAGE:0,MAX_BONUS_PERCENTAGE:0,BONUS_PERCENTAGE_ENV_VAR:"NEXT_PUBLIC_ADDON_BONUS_PERCENTAGE",CREDIT_PER_DOLLAR:1e6}},579841:(e,t,r)=>{r.d(t,{T:()=>n,r:()=>s});var a=r(596106);let s=(0,a.createContext)(null);function n(){return(0,a.useContext)(s)}},742244:(e,t,r)=>{r.d(t,{TooltipProvider:()=>o,ZI:()=>d,k$:()=>c,m_:()=>l});var a=r(681122),s=r(399547),n=r(596106),i=r(564467);let o=s.Kq,l=e=>{let{delayDuration:t=0,...r}=e;return(0,a.jsx)(s.bL,{delayDuration:t,...r})};l.displayName="Tooltip";let c=s.l9,d=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...o}=e;return(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{ref:t,sideOffset:n,className:(0,i.cn)("z-[500] overflow-hidden rounded-radius-xxl border bg-surface-main-background px-3 py-1.5 text-sm text-text-primary shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...o})})});d.displayName=s.UC.displayName},764162:(e,t,r)=>{r.r(t),r.d(t,{InAppSubscriptionModal:()=>o});var a=r(681122),s=r(6763),n=r(657847),i=r(165126);function o(e){let{isOpen:t,onClose:r}=e;return(0,a.jsx)(n.lG,{open:t,onOpenChange:r,children:(0,a.jsxs)(n.Cf,{className:"p-6 sm:max-w-[425px]",children:[(0,a.jsx)(n.c7,{className:"space-y-4",children:(0,a.jsx)(n.L3,{className:"text-center text-2xl font-semibold",children:"Manage Your Subscription"})}),(0,a.jsxs)("div",{className:"space-y-6 py-4",children:[(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)("div",{className:"bg-surface-primary-hover/10 rounded-full p-4",children:(0,a.jsx)(i.A,{className:"h-8 w-8 text-text-action"})})}),(0,a.jsxs)("div",{className:"space-y-3 text-center",children:[(0,a.jsx)("p",{className:"text-text-secondary",children:"It looks like you subscribed through the App Store or Play Store. To manage your billing, please head over to the store where you originally made the purchase."}),(0,a.jsx)("p",{className:"text-sm text-text-secondary",children:"You can manage your subscription directly from your device’s store account settings."})]}),(0,a.jsx)("div",{className:"flex flex-col space-y-3",children:(0,a.jsx)(s.$n,{onClick:r,className:"w-full",size:"lg",children:"Got it"})})]})]})})}},839002:(e,t,r)=>{r.d(t,{I:()=>l,j:()=>c});var a=r(699528),s=r(174615),n=r(596106),i=r(648591);class o extends Error{constructor(){super("The signed-in account changed. Start the action again."),this.code="sensitive_action_identity_changed",this.name="SensitiveActionIdentityChangedError"}}function l(e){return(0,s.I3)(e)||e instanceof o}function c(e){let t=(0,a.ho)(),r=(0,n.useCallback)(e=>{var r,a,s,n;if((null==(r=t.session)?void 0:r.id)!==e.sessionId||(null==(a=t.user)?void 0:a.id)!==e.userId||(null!=(n=null==(s=t.organization)?void 0:s.id)?n:null)!==e.orgId)throw new o},[t]),s=(0,a.Wp)(async e=>{var a,s,n;r(e);let l=await (null==(a=t.session)?void 0:a.getToken({skipCache:!0}));if(r(e),!l)throw new o;try{let t=await e.action(e.input,{Authorization:"Bearer ".concat(l)});r(e);let a=t instanceof Response&&403===t.status?await t.clone().json().catch(()=>null):t,n=null!=(s=(0,i.y)(a))?s:(0,i.y)(a&&"object"==typeof a&&"details"in a?a.details:void 0);return null!=n?n:{value:t}}catch(a){r(e);let t=null!=(n=(0,i.y)(a))?n:(0,i.y)(a&&"object"==typeof a&&"details"in a?a.details:void 0);if(t)return t;throw a}});return(0,n.useCallback)(async a=>{var n,i,l,c;let d=null==(n=t.session)?void 0:n.id,u=null==(i=t.user)?void 0:i.id;if(!d||!u)throw new o;let x={input:a,action:e,sessionId:d,userId:u,orgId:null!=(c=null==(l=t.organization)?void 0:l.id)?c:null},m=await s(x);if(r(x),!m||!("value"in m))throw Error("Verification could not be confirmed. Please try again.");return m.value},[e,r,t,s])}},869833:(e,t,r)=>{r.d(t,{bP:()=>a,uI:()=>s});let a={LIFETIME:{ORIGINAL_PRICE:1999,REGULAR_PRICE:499,BLACK_FRIDAY_PRICE:399,DISCOUNT_PERCENTAGE:69,BLACK_FRIDAY_DISCOUNT:80,MONTHLY_CREDITS:15,BONUS_CREDITS:150},SUBSCRIPTION:{MONTHLY:{ORIGINAL_PRICE:49,PRICE:14.99},ANNUAL:{PRICE:150},CREDITS_PER_MONTH:15,ADDITIONAL_CREDITS_PRICE:1},TEAM:{MONTHLY:{ORIGINAL_PRICE:49,PRICE:15},ANNUAL:{ORIGINAL_PRICE:180,PRICE:96}}};function s(){return function(e,t){let r=12*e;return Math.round((r-t)/r*100)}(a.SUBSCRIPTION.MONTHLY.PRICE,a.SUBSCRIPTION.ANNUAL.PRICE)}function n(e){return{$convert:{input:e,to:"long",onError:null,onNull:null}}}n("$subscription.current_period_ends"),n("$subscription.current_period_start")},881472:(e,t,r)=>{r.d(t,{e:()=>s,m:()=>n});var a=r(596106);let s=(0,a.createContext)(null);function n(){return(0,a.useContext)(s)}},955023:(e,t,r)=>{r.d(t,{G:()=>i});var a=r(681122),s=r(564467),n=r(528537);
1function i(e){let{count:t=5,className:r,starClassName:i}=e;return(0,a.jsx)("div",{className:(0,s.cn)("flex",r),children:Array.from({length:t},(e,t)=>(0,a.jsx)(n.A,{fill:"currentColor",className:(0,s.cn)("h-4 w-4",i)},t))})}},996218:(e,t,r)=>{r.d(t,{E:()=>n});var a=r(681122),s=r(564467);function n(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-surface-secondary",t),...r})}}}]);

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.