PageSourceSearch

https://helloskip.com/_next/static/immutable/chunks/1y9gxfugd-pdi.js

js helloskip.com collected 2026-10-03 19:39:45 UTC 58,532 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="38d3226c-e073-c391-74ca-9db2acaccc7b")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,395335,e=>{"use strict";var t=e.i(191788);let a=new WeakMap,s=e=>!e.isLoading,n=async(e,t)=>{let a,n=!1,{signal:r,waitFn:l=s}=t??{};return new Promise((t,s)=>{if(r?.aborted)return s(Error("[wait]: Aborted"));let i=()=>{n=!0,a?.(),r?.removeEventListener("abort",o)},o=()=>{i(),s(Error("[wait]: Aborted"))};r?.addEventListener("abort",o,{once:!0}),a=e.subscribe(e=>{var a,n;e.error?(a=e.error,i(),s(a)):l(e)&&(n=e.value,i(),t(n))}),n&&a()})};e.s(["useStoreSuspense",0,function(e){let s=(0,t.useRef)(null),r=(0,t.useCallback)(t=>e.subscribe(t),[e]),l=(0,t.useCallback)(()=>{a.delete(e),s.current&&(s.current(),s.current=null)},[e]),i=(0,t.useCallback)(()=>{let t=e.get();if(t?.error)throw l(),Error(t.error);if(t?.isLoading){let t=a.get(e);throw t||(t=n(e).finally(l),a.set(e,t)),t}return a.has(e)&&l(),t?.value},[e,l]);return(0,t.useDebugValue)(e,e=>e.get()),(0,t.useSyncExternalStore)(r,i)},"wait",0,n,"withTimeout",0,e=>{let t=new AbortController,a=setTimeout(()=>t.abort(),e);return t.signal.addEventListener("abort",()=>clearTimeout(a),{once:!0}),{signal:t.signal}}])},935829,e=>{"use strict";var t=e.i(391398),a=e.i(161324);let s={monthly:a.BUSINESS_VERIFICATION_PRICE_IDS.monthly,annual:a.BUSINESS_VERIFICATION_PRICE_IDS.annual},n={plus:{monthly:a.PLUS_PRICE_IDS.monthly_trial_may_26,annual:a.PLUS_PRICE_IDS.annual_may_26},pro:{monthly:a.PRO_PRICE_IDS.monthly,annual:a.PRO_PRICE_IDS.annual},verification:{annual:"business_verification_default"}},r=["Find and apply to more grant opportunities, faster","Create AI-generated images, plans, and reports","Get AI feedback and insights on your business","Sell your products and services directly","Automatically generate content, posts, and websites","Access growth insights, data, and advanced reports"],l=({totalAmount:e,billingCycle:a,chargedToday:s,hasCredits:n,trialDays:r})=>r&&r>0?(0,t.jsxs)(t.Fragment,{children:["You won't be charged today. Your plan renews at ",e," ",a," after the ",r,"-day free trial. Cancel anytime."]}):(0,t.jsxs)(t.Fragment,{children:["You'll be charged ",s," today and"," ",n?(0,t.jsxs)(t.Fragment,{children:[e," billed ",a]}):(0,t.jsxs)(t.Fragment,{children:["billed ",a]}),". Cancel anytime."]}),i={iconSrc:"/images/upsell/money.png",title:"Grow your business faster with Skip Plus",featuresHeader:"With Skip Plus you get:",features:r,cta:"Unlock Skip Plus",disclaimer:l},o={iconSrc:"/images/upsell/rocket.png",title:(0,t.jsxs)(t.Fragment,{children:["Scale your business faster",(0,t.jsx)("br",{}),"with Skip Pro"]}),featuresHeader:"With Skip Pro you get:",features:["Everything on Skip Plus","Near-unlimited access to all AI features","10x expanded creation and storage access","Business plan and website builder access","Payment links with reduced transaction fees","Premium support and faster response times","Early access to new AI and growth features"],cta:"Get Started",disclaimer:i.disclaimer},d={...i,title:"Choose how your AI Cofounder helps",subtitle:"Get guidance with Plus, or let your Cofounder take action with Pro."},c={...o,title:"Let Your Cofounder Handle It",subtitle:"Plus monitors and guides your business. Pro takes action for you."},u={iconSrc:"/images/upsell/website-builder.png",title:"Upgrade Your Website",subtitle:"Your website is live and free on Skip. Upgrade to customize your domain, remove Skip branding, and unlock advanced AI tools and data to grow your business online.",featuresHeader:"What You Get",mobileFeaturesHeader:"Featured",features:['Remove "Made with Skip" branding',"Connect custom domain","Advanced SEO tools","AI website optimization suggestions","Traffic analytics and growth insights"],cta:"Upgrade Website",getCta:({trialDays:e})=>e&&e>0?"Start Free Trial":"Upgrade Website",disclaimer:({billingCycle:e,chargedToday:a,monthlyAmount:s,totalAmount:n,trialDays:r})=>{let l="annually"===e?`${n} annually`:`${s}/month`;return r&&r>0?(0,t.jsxs)(t.Fragment,{children:["You won't be charged today. Your plan starts after the"," ",r,"-day trial and renews at ",l,". By continuing, you agree to Skip's Terms."]}):(0,t.jsxs)(t.Fragment,{children:["You'll be charged ",a," today and billed ",e,". By continuing, you agree to Skip's Terms."]})}},m={...u,cta:"Regain Access",getCta:()=>"Regain Access"},x={iconSrc:"/images/upsell/domain-email.png",iconClassName:"!h-20 !w-[98px]",title:"Business Email + Domain",subtitle:"Create a professional email address for your business. We'll register your domain and set everything up for you.",featuresHeader:"What's Included",features:["Annual domain registration included","Professional business email address","Emails forwarded to your existing inbox","Multiple email addresses available upon request","Setup handled for you","No technical configuration required"],cta:"Get Business Email",disclaimer:i.disclaimer};e.s(["BUSINESS_EMAIL_DOMAIN_PRICE_ID",0,"business_email_domain_annual","DOMAIN_EMAIL_FORWARD
2ING_UPSELL_COPY",0,x,"HARD_BLOCK_COPY",0,{iconSrc:"/images/upsell/lightning.png",title:"You've reached your limit",subtitle:"Upgrade to continue using this feature without interruptions",featuresHeader:"With Skip Plus you get:",features:r,cta:"Unlock Skip Plus",disclaimer:l},"PLANS_MODAL_ICON_SRC",0,"/images/dashboard/cofounder-orb.png","PLAN_CARD_COPY",0,{plus:{name:"Plus",benefitHeader:"Cofounder monitors & guides you",benefitDescription:"Your AI Cofounder watches your business, finds opportunities, and recommends what to do next.",features:["AI tools to create anything you need","Cofounder monitors your business","Personalized recommendations & next steps","Find & apply for grants","Create & schedule content","Business analytics & insights"]},pro:{name:"Pro",benefitHeader:"Cofounder does things for you",benefitDescription:"Your AI Cofounder proactively creates, automates, and handles recurring work for your business.",features:["Everything in Plus","Cofounder proactively works for you","Content created for you every week","Posts automatically scheduled & published","AI agents handle recurring tasks","Proactive business monitoring"]}},"PLUS_PLANS_DEFAULT_COPY",0,d,"PLUS_UPSELL_DEFAULT_COPY",0,i,"PRO_PLANS_DEFAULT_COPY",0,c,"PRO_UPSELL_DEFAULT_COPY",0,o,"SKIP_AI_COPY",0,{iconSrc:"/images/upsell/ai.png",title:"Get unlimited AI insights",subtitle:"Upgrade to keep improving your business with AI-powered suggestions",paymentTitle:"Get Unlimited AI Usage With Skip Plus",featuresHeader:"With Skip Plus you get:",features:r,cta:"Unlock Skip Plus",disclaimer:l},"TIER_PRICE_IDS",0,n,"VERIFICATION_CARD_PRICE_IDS",0,s,"WEBSITE_BUILDER_PRICE_IDS",0,{monthly:"website_builder_monthly",annual:"website_builder_standard"},"WEBSITE_BUILDER_REGAIN_ACCESS_UPSELL_COPY",0,m,"WEBSITE_BUILDER_UPSELL_COPY",0,u])},639889,859065,341844,809583,e=>{"use strict";var t=e.i(391398),a=e.i(469311);e.i(753051);var s=e.i(593537),n=e.i(605628),r=e.i(598019),l=e.i(430641),i=e.i(275885),o=e.i(682654),d=e.i(272225),c=e.i(161324),u=e.i(740154),m=e.i(47857),x=e.i(935829),p=e.i(662792),f=e.i(980517),h=e.i(622828),g=e.i(740012),y=e.i(525695),b=e.i(770084),v=e.i(551836),j=e.i(126019),C=e.i(191788),w=e.i(352644);let N=({className:e})=>(0,t.jsx)("svg",{className:(0,s.cn)("mt-0.5 h-5 w-5 flex-shrink-0 text-emerald-500",e),viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-sentry-element":"svg","data-sentry-component":"GreenCheck","data-sentry-source-file":"shared.tsx",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16.704 5.29a1 1 0 010 1.42l-7.5 7.5a1 1 0 01-1.42 0l-3.5-3.5a1 1 0 111.42-1.42l2.79 2.79 6.79-6.79a1 1 0 011.42 0z",clipRule:"evenodd","data-sentry-element":"path","data-sentry-source-file":"shared.tsx"})}),S=({items:e,listClassName:a,rowClassName:n,textClassName:r,checkClassName:l,icon:i})=>(0,t.jsx)("ul",{className:(0,s.cn)("flex flex-col gap-2",a),"data-sentry-component":"FeatureList","data-sentry-source-file":"shared.tsx",children:e.map((e,a)=>(0,t.jsxs)("li",{className:(0,s.cn)("flex items-start gap-1",n),children:[i??(0,t.jsx)(N,{className:l}),(0,t.jsx)("span",{className:(0,s.cn)("text-md",r),children:e})]},a))}),P={eyebrow:"Trusted by",value:"1 Million+",label:"Businesses"},D=({className:e,copy:a=P,tone:n="dark",valueClassName:r})=>(0,t.jsxs)("div",{className:(0,s.cn)("flex items-center gap-1 text-center",e),"data-sentry-component":"TrustedBadge","data-sentry-source-file":"shared.tsx",children:[(0,t.jsx)(j.default,{src:"/images/upsell/trusted-wings.png",width:55,height:68,alt:"",className:"h-[68px] w-[55px]","data-sentry-element":"Image","data-sentry-source-file":"shared.tsx"}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:(0,s.cn)("text-xs","dark"===n?"text-gray-300":"text-gray-600"),children:a.eyebrow}),(0,t.jsx)("span",{className:(0,s.cn)("text-[24px] font-semibold leading-8 tracking-[-0.5px]","dark"===n?"text-white":"text-gray-900",r),children:a.value}),(0,t.jsx)("div",{className:(0,s.cn)("text-sm","dark"===n?"text-gray-300":"text-gray-600"),children:a.label})]}),(0,t.jsx)(j.default,{src:"/images/upsell/trusted-wings.png",width:55,height:68,alt:"",className:"h-[68px] w-[55px] scale-x-[-1] transform","data-sentry-element":"Image","data-sentry-source-file":"shared.tsx"})]}),k=({option:e,hasCredits:t,hasTrial:a})=>a?0:t?e?.totalAmountWithCreditsApplied:e?.totalAmountWithPromotionDiscount??e?.totalAmount,I=({isLoading:e=!1,variant:a="membership",showTrialPrice:l=!0,compact:i=!1})=>
2{let o=(0,n.useStore)(c.$paymentOptions),u=(0,n.useStore)(c.$selectedPriceId),m="annualProduct"===a?o:[...o].reverse(),x=1===m.length?"grid-cols-1":"grid-cols-2";return e||!m.length?(0,t.jsxs)("div",{className:(0,s.cn)("grid gap-3",x),children:[(0,t.jsx)(d.Skeleton,{className:"h-[88px] rounded-xl"}),1!==m.length&&(0,t.jsx)(d.Skeleton,{className:"h-[88px] rounded-xl"})]}):(0,t.jsx)("div",{className:(0,s.cn)("grid gap-3",x),"data-sentry-component":"UpsellPriceSelector","data-sentry-source-file":"shared.tsx",children:m.map(e=>{let n=u===e.id,o="annual"===e.formattedCycle,d=(e.trialDays??0)>0,x=o?"Annually":"Monthly",p=(({formattedTotalAmount:e,isAnnual:t,showTrialPrice:a})=>t?a?`${e} annually`:"Billed annually":"Billed monthly")({formattedTotalAmount:e.formattedTotalAmount,isAnnual:o,showTrialPrice:l}),f=o?e.relativeDiscountText:void 0,h=(0,r.formatCurrency)(e.monthlyAmount),g=(e.totalAmountWithPromotionDiscount??e.totalAmount)/(o?12:1),y=e.totalAmountWithPromotionDiscount<e.totalAmount,v=y&&!!e.promotionDurationInMonths,j=1===m.length&&o&&!d,C=j&&e?.priceKey===c.BUSINESS_VERIFICATION_PRICE_IDS.default;return(0,t.jsxs)("button",{type:"button",onClick:()=>c.$selectedPriceId.set(e.id),className:(0,s.cn)("relative flex w-full flex-col items-start gap-1 rounded-xl border p-4 text-left transition-colors",n?"border-primary-500 bg-primary-40":"border-gray-200 bg-white hover:border-gray-300"),children:["annualProduct"===a?(0,t.jsxs)(t.Fragment,{children:[e.title&&(0,t.jsx)("span",{className:"text-xs font-semibold uppercase leading-none text-gray-950/80",children:e.title}),y&&(0,t.jsx)("span",{className:"text-xl font-semibold leading-none text-gray-500 line-through lg:hidden",children:(0,r.formatCurrency)(e.monthlyAmount)}),(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline gap-1",children:[y&&(0,t.jsx)("span",{className:"text-xl hidden font-semibold leading-none text-gray-500 line-through lg:inline",children:(0,r.formatCurrency)(e.monthlyAmount)}),(0,t.jsx)("span",{className:(0,s.cn)("font-semibold leading-none text-gray-950",y?"text-[2rem] lg:text-h6":"text-h6"),children:(0,r.formatCurrency)(g)}),(0,t.jsx)("span",{className:(0,s.cn)("font-medium text-gray-950",y?"text-xl lg:text-sm":"text-sm"),children:"/month"})]}),(0,t.jsx)("span",{className:"text-[11px] font-medium text-gray-500",children:"Billed annually"})]}):d&&l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950 line-through",children:h}),(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950",children:"$0"})]}),(0,t.jsxs)("span",{className:"text-[10px] font-medium leading-snug text-gray-500",children:["Try ",e.trialDays," Days for $0, Then"," ",e.formattedTotalAmount," ",x]})]}):v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950",children:(0,r.formatCurrency)(g)}),(0,t.jsx)("span",{className:"text-sm font-medium text-gray-950",children:"/mo"})]}),(0,t.jsxs)("span",{className:"text-[11px] font-medium text-gray-500",children:["First ",e.promotionDurationInMonths," months, then"," ",h," /mo"]})]}):C?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950 line-through",children:(0,r.formatCurrency)(79)}),(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950",children:e.formattedTotalAmount}),(0,t.jsx)("span",{className:"text-sm font-medium text-gray-950",children:"/year"})]}),(0,t.jsx)("span",{className:"text-[11px] font-medium text-gray-500",children:"Limited-time annual verification price"})]}):j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950",children:e.formattedTotalAmount}),(0,t.jsx)("span",{className:"text-sm font-medium text-gray-950",children:"/year"})]}),(0,t.jsx)("span",{className:"text-[11px] font-medium text-gray-500",children:"Billed annually"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-h6 font-semibold leading-none text-gray-950",children:h}),(0,t.jsx)("span",{className:"text-sm font-medium text-gray-950",children:"/month"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-[11px] font-medium text-gray-500",children:p}),f&&(0,t.jsx)("span",{className:(0,s.cn)("rounded-md px-1.5 py-0.5 text-[11px] font-medium",i?"border border-success-200 bg-success-50 text-success-700":"bg-secondary-50 text-secondary-700"),children:f})]})]}),n&&(0,t.jsx)("div",{className:"absolute right-3 top-3 flex h-6 w-6 items-center justify-center rounded-full bg-primary-500",children:(0,t.jsx)(b.Check,{size:14,color:"white",strokeWidth:3})})]},e.id)})})},A=({compact:e=!1})=>
2{let a=(0,n.useStore)(c.$selectedPaymentOption),l=(a?.trialDays??0)>0,i=!l&&!!a?.creditsApplied,o=k({option:a,hasCredits:i,hasTrial:l}),d=(({option:e,hasCredits:t,hasTrial:a})=>t?e?.totalAmountWithPromotionDiscount:a?void 0:(e?.totalAmountWithPromotionDiscount??0)<(e?.totalAmount??0)?e?.totalAmount:void 0)({option:a,hasCredits:i,hasTrial:l})??(e&&l?a?.totalAmount:void 0);return(0,t.jsxs)("div",{className:"flex flex-col gap-3","data-sentry-component":"UpsellTotalDue","data-sentry-source-file":"shared.tsx",children:[i&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-md",children:[(0,t.jsx)("span",{className:"font-semibold text-gray-950",children:"Skip Credits:"}),(0,t.jsxs)("span",{className:"font-semibold text-green-600",children:[(0,r.formatCurrency)(a.creditsApplied)," applied"]})]}),(0,t.jsx)("hr",{className:"h-px"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-md font-semibold text-gray-950",children:e?"Total due today":"Total due"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[!!d&&(0,t.jsx)("span",{className:(0,s.cn)("text-md line-through",e?"text-gray-300":"text-gray-400"),children:(0,r.formatCurrency)(d)}),(0,t.jsx)("span",{className:"text-md font-semibold text-gray-950",children:(0,r.formatCurrency)(o)})]})]})]})},E=({heading:e,mobileHeading:l,cta:i,getCta:o,disclaimer:u,showBackButton:m,isPriceSelectorLoading:x=!1,onBack:b,priceSelectorVariant:j="membership",showTrialPrice:N=!0,preserveCtaOnTrial:S=!1,hideHeading:P=!1,compact:D=!1})=>{let E,_,T,L,R,U,{data:O}=y.trpc.wallet.creditBalance.useQuery();(0,C.useEffect)(()=>{c.$credits.set(O?.balance)},[O]);let M=(0,n.useStore)(c.$clientSecret),{value:B}=(0,n.useStore)(p.$paymentMethods),F=(0,n.useStore)(c.$paymentState),$=(0,n.useStore)(c.$selectedPaymentOption),W=(0,n.useStore)(c.$paymentError),H=(0,n.useStore)(p.$selectedPaymentMethodId),Y=(0,n.useStore)(c.$paymentProcessing),z=(E=(0,n.use
2Store)(c.$selectedPaymentOption),T=!(_=(E?.trialDays??0)>0)&&!!E?.creditsApplied,L=Math.max(0,(E?.totalAmount??0)-(E?.totalAmountWithPromotionDiscount??E?.totalAmount??0)),R=k({option:E,hasCredits:T,hasTrial:_}),U=(e=>{let t=new Date,a=e?.trialDays??0;if(a>0)return t.setDate(t.getDate()+a),t;switch(e?.formattedCycle){case"annual":return t.setFullYear(t.getFullYear()+1),t;case"quarterly":return t.setMonth(t.getMonth()+3),t;case"weekly":return t.setDate(t.getDate()+7),t;default:return t.setMonth(t.getMonth()+1),t}})(E).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),{totalAmount:(0,r.formatCurrency)(E?.totalAmount),monthlyAmount:(0,r.formatCurrency)(E?.monthlyAmount),billingCycle:E?.formattedCycle==="annual"?"annually":"monthly",chargedToday:(0,r.formatCurrency)(R),hasCredits:T,trialDays:E?.trialDays??void 0,discountAmount:L?(0,r.formatCurrency)(L):void 0,renewalDate:U,selectedOptionTitle:E?.title}),G=($?.trialDays??0)>0,K=o?.(z)??i,V=G&&!S?"Start Free Trial":K;return(0,t.jsxs)("div",{className:(0,s.cn)("flex h-full w-full flex-col gap-5 bg-white lg:h-auto lg:gap-6",D?"":"px-4 pb-[calc(16px+env(safe-area-inset-bottom))] lg:rounded-r-2xl lg:px-8 lg:py-8"),"data-sentry-component":"UpsellPaymentPanel","data-sentry-source-file":"shared.tsx",children:[!P&&(0,t.jsxs)("div",{className:"relative flex min-h-8 items-center justify-center lg:justify-start",children:[m&&(0,t.jsx)("button",{type:"button",onClick:b,className:"absolute left-0 flex h-8 w-8 items-center justify-center text-gray-950 lg:hidden","aria-label":"Back",children:(0,t.jsx)(v.ChevronLeft,{size:24})}),(0,t.jsxs)("h3",{className:"mx-auto max-w-[342px] text-center text-h6 font-semibold leading-tight text-gray-950 lg:mx-0 lg:max-w-none lg:text-left lg:text-lg",children:[(0,t.jsx)("span",{className:"lg:hidden",children:l??e}),(0,t.jsx)("span",{className:"hidden lg:inline",children:e})]})]}),(0,t.jsx)(I,{isLoading:x,variant:j,showTrialPrice:N,compact:D,"data-sentry-element":"UpsellPriceSelector","data-sentry-source-file":"shared.tsx"}),!!W&&(0,t.jsx)("div",{className:"rounded-md bg-primary-40 p-3 text-xs text-alert-red-100",children:W}),x&&(0,t.jsx)(d.Skeleton,{className:"h-80 w-full"}),!x&&"input-cc"===F&&(0,t.jsx)(t.Fragment,{children:M?(0,t.jsx)(h.SkipStripeElements,{clientSecret:M.secret,children:(0,t.jsx)(h.SkipPaymentElement,{onPay:c.paymentActions.payWithSavedCreditCard,buttonVariant:"primary",buttonProps:{className:"w-full",size:"lg",children:V},children:(!D||N)&&(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)(A,{compact:D})})})}):(0,t.jsx)(d.Skeleton,{className:"h-80 w-full"})}),!x&&"select-cc"===F&&(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(f.SavedCreditCardSelector,{options:B,selected:H,setSelected:p.$selectedPaymentMethodId.set,className:(0,s.cn)(D&&"bg-gray-50"),children:(0,t.jsxs)(a.Button,{variant:"unstyled",className:"mt-3 h-auto p-0 text-center text-sm font-normal",onClick:()=>{c.$paymentState.set("input-cc")},children:[(0,t.jsx)(w.BsPlusCircle,{color:g.skipColors.primary["500"],size:16}),"Pay with another card"]})}),(!D||N)&&(0,t.jsx)(A,{compact:D}),(0,t.jsx)(a.Button,{variant:"primary",size:D?"lg":"2xl",className:"w-full",onClick:c.paymentActions.payWithSavedCreditCard,disabled:!H||Y,isLoading:Y,children:V})]}),(0,t.jsx)("div",{className:(0,s.cn)("hidden leading-normal text-gray-500 lg:block",D?"text-xs":"mt-auto min-h-[72px] text-sm lg:mt-0 lg:min-h-0"),children:x?(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(d.Skeleton,{className:"h-3 w-full"}),(0,t.jsx)(d.Skeleton,{className:"h-3 w-full"}),(0,t.jsx)(d.Skeleton,{className:"h-3 w-3/4"})]}):u(z)})]})};e.s(["FeatureList",0,S,"TrustedBadge",0,D,"UpsellPaymentPanel",0,E],859065);var _=e.i(868462);let T=({title:e,subtitle:n,icon:r,titleClassName:l,className:i,headerClassName:o,backgroundClassName:d,closeIcon:c,closeClassName:u,onClose:m,children:x})=>(0,t.jsxs)("div",{className:(0,s.cn)("relative flex h-full w-full flex-col items-center gap-5 overflow-hidden bg-black px-4 pb-8 pt-10 font-inter max-lg:overflow-y-auto lg:w-[856px] lg:rounded-[32px] lg:px-12",i),"data-sentry-component":"PricingPanel","data-sentry-source-file":"PricingPanel.tsx",children:[(0,t.jsx)("div",{"aria-hidden":!0,
2className:"pointer-events-none absolute inset-0 overflow-hidden",children:(0,t.jsx)("div",{className:(0,s.cn)("absolute left-1/2 top-[660px] h-[998px] w-[998px] -translate-x-1/2 rounded-full opacity-50 [background:radial-gradient(closest-side,theme(colors.primary.500),transparent)]",d)})}),m&&(0,t.jsx)(a.Button,{type:"button",variant:"unstyled",size:"none",onClick:m,className:(0,s.cn)("absolute right-4 top-4 z-10 flex h-10 w-10 items-center justify-center rounded-full bg-gray-50/10 text-white",u),"aria-label":"Close",children:c??(0,t.jsx)(_.X,{size:20,strokeWidth:2})}),(0,t.jsxs)("div",{className:(0,s.cn)("relative flex shrink-0 flex-col items-center gap-3 text-center",o),children:[r,(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("h2",{className:(0,s.cn)("text-h5 font-semibold text-white lg:text-h4",l),children:e}),n&&(0,t.jsx)("p",{className:"text-md text-gray-300",children:n})]})]}),x]}),L=({title:e,badge:n,price:r,emphasized:l,cta:i,ctaLabel:o,ctaClassName:d,disabled:c,className:u,onSelect:m,onContinue:x,children:p})=>(0,t.jsxs)("div",{onClick:m,className:(0,s.cn)("flex min-w-0 flex-1 flex-col gap-5 rounded-[20px] border-[1.5px] bg-gray-950/80 px-5 py-6 text-left transition-colors",m&&"cursor-pointer",l?"border-primary-500":"border-transparent",u),"data-sentry-component":"PricingCard","data-sentry-source-file":"PricingPanel.tsx",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"text-h7 font-semibold text-white",children:e}),n]}),r]}),(0,t.jsx)(a.Button,{type:"button",variant:"unstyled",size:"lg",disabled:c,"aria-label":o,onClick:e=>{e.stopPropagation(),m?.(),x()},className:(0,s.cn)("w-full gap-1 text-md text-white disabled:cursor-default disabled:border-transparent disabled:bg-gray-700 disabled:text-gray-300 disabled:opacity-80",l?"border border-white/10 bg-primary-500 bg-[linear-gradient(180deg,rgba(255,255,255,0.16),rgba(255,255,255,0))]":"bg-gray-700",d),"data-sentry-element":"Button","data-sentry-source-file":"PricingPanel.tsx",children:i}),p]}),R=({children:e,className:a})=>(0,t.jsx)("div",{className:(0,s.cn)("relative flex w-full shrink-0 flex-col gap-4 lg:flex-row lg:gap-6",a),"data-sentry-component":"PricingCards","data-sentry-source-file":"PricingPanel.tsx",children:e});e.s(["PricingCard",0,L,"PricingCards",0,R,"PricingPanel",0,T],341844);let U=Object.keys(x.PLAN_CARD_COPY),O=["monthly","annual"],M=e=>!!e&&e.totalAmountWithPromotionDiscount<e.totalAmount,B=(e,t)=>{let a=12*e.totalAmount,s=a-t.totalAmount;return{amount:s,percent:a?Math.round(s/a*100):0}},F=({plan:e,isCurrentPlan:t,isUpgrade:a,trialDays:s,promoPercentOff:n})=>{if(t)return"Current Plan";if((s??0)>0)return"Start Free Trial";let r=x.PLAN_CARD_COPY[e].name,l=n?` — ${n}% Off`:"";return a?`Upgrade to ${r}${l}`:`Get ${r}${l}`},$=({billingCycle:e,setBillingCycle:a,savingsPercent:n})=>(0,t.jsx)(o.Toggle.Root,{className:"w-[284px] border-transparent bg-gray-950","data-sentry-element":"Toggle.Root","data-sentry-component":"BillingCycleToggle","data-sentry-source-file":"PlanCards.tsx",children:O.map(r=>{let l=e===r;return(0,t.jsx)(o.Toggle.Option,{selected:l,decoratorClassName:"border-transparent bg-primary-50",children:(0,t.jsxs)("button",{type:"button",onClick:()=>a(r),className:(0,s.cn)("flex w-full items-center justify-center gap-1 whitespace-nowrap rounded-[10px] px-2.5 py-1.5 text-sm font-medium transition-colors",l?"text-gray-950":"text-gray-300"),children:["monthly"===r?"Monthly":"Annual","annual"===r&&!!n&&(0,t.jsxs)("span",{className:"whitespace-nowrap rounded-full bg-success-600 px-2 py-0.5 text-xs font-medium text-white",children:["Save ",n,"%"]})]})},r)})}),W=({plan:e,billingCycle:a,infos:n,isSelected:i,isRecommended:o,isCurrentPlan:c,ctaLabel:u,copyOverride:m,className:p,onSelect:f,onContinue:h})=>{let g={...x.PLAN_CARD_COPY[e],...m},y=n[a],v="annual"===a,j=y?y.totalAmountWithPromotionDiscount/(v?12:1):void 0,C=v&&y&&n.monthly?B(n.monthly,y):void 0,w=M(y)?y?.promotionDurationInMonths:null,N=c?0:y?.trialDays??0,P=N>0,D=y?v?`${(0,r.formatCurrency)(y.totalAmount)} billed annually`:`${(0,r.formatCurrency)(y.monthlyAmount,{decimals:!1})}
2/mo`:"",k=y?P?`Free for ${(0,l.formatDaysInterval)(N)}, then ${D}`:w?`First ${w} month${1===w?"":"s"}, then ${D}`:v?`${D}${C?` \xb7 Save ${(0,r.formatCurrency)(C.amount,{decimals:!1})} (${C.percent}%)`:""}`:"Billed monthly":void 0;return(0,t.jsxs)(L,{title:g.name,badge:o?(0,t.jsx)("span",{className:"rounded-md bg-primary-500 px-2 py-0.5 text-xs font-medium text-white",children:"Recommended"}):void 0,price:y?(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("span",{className:"flex items-baseline gap-1 whitespace-nowrap",children:[(0,t.jsx)("span",{className:"text-h5 font-semibold text-white",children:(0,r.formatCurrency)(P?0:j,{decimals:!1})}),(P||M(y))&&(0,t.jsx)("span",{className:"text-h7 font-semibold text-gray-500 line-through",children:(0,r.formatCurrency)(y.monthlyAmount,{decimals:!1})}),(0,t.jsx)("span",{className:"text-md font-medium text-gray-300",children:"/mo"})]}),(0,t.jsx)("span",{className:"text-sm text-gray-300 opacity-70",children:k})]}):(0,t.jsx)(d.Skeleton,{className:"h-14 w-full bg-gray-700"}),emphasized:i,disabled:c,cta:(0,t.jsxs)(t.Fragment,{children:[c&&(0,t.jsx)(b.Check,{size:16,strokeWidth:2.5}),u]}),className:(0,s.cn)("lg:[@media(max-height:919px)]:gap-3 lg:[@media(max-height:919px)]:py-4",p),onSelect:f,onContinue:h,"data-sentry-element":"PricingCard","data-sentry-component":"PlanCard","data-sentry-source-file":"PlanCards.tsx",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-white",children:g.benefitHeader}),(0,t.jsx)("span",{className:"text-xs text-gray-300",children:g.benefitDescription})]}),(0,t.jsx)(S,{items:g.features,listClassName:"lg:[@media(max-height:919px)]:gap-1",rowClassName:"items-center gap-1.5",textClassName:"text-sm text-gray-300",checkClassName:"mt-0 text-success-600","data-sentry-element":"FeatureList","data-sentry-source-file":"PlanCards.tsx"})]})},H=({title:e,titleClassName:a,subtitle:r,iconSrc:o,planCards:d,selectedPlan:p,leadPlan:f,onSelectPlan:h,billingCycle:g,setBillingCycle:y,currentPlan:b,recommendedPlan:v,promoCode:w,onContinue:N,onClose:S})=>{let{prices:P,hasFailed:k,retry:I}=(()=>{let[e,t]=(0,C.useState)(),[a,s]=(0,C.useState)(!1),[n,r]=(0,C.useState)(0);return(0,C.useEffect)(()=>{let e=!1;return Promise.allSettled(U.flatMap(e=>O.map(async t=>{let a=x.TIER_PRICE_IDS[e][t];if(!a)return null;let{exists:s,price:n}=await (0,c.fetchPriceDoc)(a);return s?{plan:e,cycle:t,price:n}:(i.captureException(Error(`Missing Stripe price doc for ${a}`)),null)}))).then(e=>{let t={};return e.forEach(e=>{if("rejected"===e.status)return void i.captureException(e.reason);let a=e.value;a&&(t[a.plan]={...t[a.plan],[a.cycle]:a.price})}),t}).then(a=>{e||(s(!Object.keys(a).length),t(a))}),()=>{e=!0}},[n]),{prices:e,hasFailed:a,retry:()=>{s(!1),t(void 0),r(e=>e+1)}}})(),A=(e=>{let[t,a]=(0,C.useState)();return(0,C.useEffect)(()=>{if(!e)return;let t=!1;return c.paymentActions.getPromotionDetails(e).then(e=>{if(t)return;let s=e?.promotion?.promotion?.active&&!e.isExpired?e:void 0;s&&a(s)}).catch(e=>i.captureException(e)),()=>{t=!0}},[e]),t})(w),E=(0,n.useStore)(m.$userData),_=!!E?.value?.trialPurchaseDate,L=A?.promotion?.product?.id,H=e=>{let t=P?.[e];if(!t)return{};let a={};return O.forEach(s=>{let n=t[s];if(!n)return;let r=(0,u.getPriceInfo)(n,{promo:"pro"===e&&L&&n.product===L?A:void 0});a[s]={...r,trialDays:_?void 0:r.trialDays}}),a},Y={plus:H("plus"),pro:H("pro")},z=Y.plus.monthly&&Y.plus.annual?B(Y.plus.monthly,Y.plus.annual).percent:void 0,G=(e,t)=>e===b?0:Y[e][t]?.trialDays??0,K=G(p,g),V=U.flatMap(e=>O.map(t=>G(e,t))).find(e=>e>0);return(0,t.jsxs)(T,{title:e,titleClassName:a,subtitle:r,onClose:S,className:"lg:[@media(max-height:919px)]:gap-3 lg:[@media(max-height:919px)]:pb-5 lg:[@media(max-height:919px)]:pt-5",headerClassName:"lg:[@media(max-height:919px)]:gap-2",icon:(0,t.jsxs)("div",{className:"relative h-16 w-16 lg:[@media(max-height:919px)]:h-12 lg:[@media(max-height:919px)]:w-12",children:[(0,t.jsx)(j.default,{src:o,width:64,height:64,alt:"",className:"absolute inset-0 h-full w-full object-contain opacity-60 blur-md"}),(0,t.jsx)(j.default,{src:o,width:64,height:64,alt:"",className:"relative h-full w-full object-contain"})]}),"data-sentry-element":"PricingPanel","data-sentry-component":"PlanCardsPanel","data-sentry-source-file":"PlanCards.tsx",children:[(0,t.jsx)($,{billingCycle:g,setBillingCycle:y,savingsPercent:z,"data-sentry-element":"Billing
2CycleToggle","data-sentry-source-file":"PlanCards.tsx"}),k?(0,t.jsxs)("div",{className:"relative flex w-full flex-col items-center gap-3 rounded-[20px] border-[1.5px] border-transparent bg-gray-950/80 px-5 py-8 text-center",children:[(0,t.jsx)("span",{className:"text-md font-medium text-white",children:"We couldn't load our plans"}),(0,t.jsx)("span",{className:"text-sm text-gray-300",children:"Check your connection and try again."}),(0,t.jsx)("button",{type:"button",onClick:I,className:"rounded-[10px] bg-gray-700 px-[18px] py-2.5 text-md font-medium text-white transition-colors",children:"Try Again"})]}):(0,t.jsx)(R,{children:U.map(e=>{let a,s,n=(s=(a=Y[e][g])&&M(a)?A?.promotion?.promotion?.coupon?.percent_off??Math.round((1-a.totalAmountWithPromotionDiscount/a.totalAmount)*100):void 0,F({plan:e,isCurrentPlan:e===b,isUpgrade:"plus"===b&&"pro"===e,trialDays:a?.trialDays,promoPercentOff:s}));return(0,t.jsx)(W,{plan:e,billingCycle:g,infos:Y[e],isSelected:p===e,isRecommended:e===v&&!b,isCurrentPlan:e===b,ctaLabel:n,copyOverride:d?.[e],className:e===f?"max-lg:order-first":void 0,onSelect:()=>e!==b&&h(e),onContinue:()=>N(n,e)},e)})}),(0,t.jsxs)("div",{className:"relative flex flex-col items-center gap-3 lg:[@media(max-height:919px)]:gap-2",children:[!!V&&(0,t.jsxs)("p",{className:(0,s.cn)("text-center text-xs text-gray-300",!K&&"invisible"),children:["You won't be charged today. Your selected plan starts after your ",(0,l.formatDaysInterval)(K||V)," ","free trial. Cancel anytime."]}),(0,t.jsx)(D,{className:"lg:[@media(max-height:779px)]:hidden",copy:{eyebrow:"Trusted by",value:"1 Million+",label:"businesses"},"data-sentry-element":"TrustedBadge","data-sentry-source-file":"PlanCards.tsx"})]})]})};e.s(["PlanCardsPanel",0,H,"getPlanCtaLabel",0,F],809583);let Y=({showBackButton:e=!1,onBack:a,onClose:s})=>(0,t.jsxs)("div",{className:"flex h-16 shrink-0 items-center justify-between px-4 pt-2","data-sentry-component":"MobileToolbar","data-sentry-source-file":"UpsellContent.tsx",children:[e?(0,t.jsx)("button",{type:"button",onClick:a,className:"flex h-10 w-10 items-center justify-center text-gray-950","aria-label":"Back",children:(0,t.jsx)(v.ChevronLeft,{size:24,strokeWidth:1.75})}):(0,t.jsx)("div",{className:"h-10 w-10","aria-hidden":!0}),(0,t.jsx)("button",{type:"button",onClick:s,disabled:!s,className:"flex h-10 w-10 items-center justify-center text-gray-950","aria-label":"Close",children:(0,t.jsx)(_.X,{size:24,strokeWidth:1.75,"data-sentry-element":"X","data-sentry-source-file":"UpsellContent.tsx"})})]}),z=({onClose:e})=>e?(0,t.jsx)("button",{type:"button",onClick:e,className:"absolute right-5 top-5 z-10 hidden h-8 w-8 items-center justify-center text-gray-950 lg:flex","aria-label":"Close","data-sentry-component":"DesktopCloseButton","data-sentry-source-file":"UpsellContent.tsx",children:(0,t.jsx)(_.X,{size:22,strokeWidth:2,"data-sentry-element":"X","data-sentry-source-file":"UpsellContent.tsx"})}):null,G=({children:e,onBack:a,onClose:s})=>(0,t.jsxs)("div",{className:"relative flex h-full flex-col bg-white font-inter text-gray-950 lg:w-[520px] lg:rounded-[32px]","data-sentry-component":"UpsellCheckoutFrame","data-sentry-source-file":"UpsellContent.tsx",children:[(0,t.jsx)(Y,{showBackButton:!0,onBack:a,onClose:s,"data-sentry-element":"MobileToolbar","data-sentry-source-file":"UpsellContent.tsx"}),(0,t.jsx)("div",{className:"flex flex-1 flex-col overflow-y-auto",children:e})]}),K=({copy:e,variant:a,compact:n=!1})=>"desktop"===a?(0,t.jsxs)("div",{className:"xs:gap-5 relative flex h-full min-w-[500px] flex-col items-center justify-center gap-8 overflow-hidden rounded-l-2xl bg-[#0B1739] p-8 text-white",style:{backgroundImage:"url('/images/upsell/upsell-bg.png')",backgroundSize:"cover",backgroundPosition:"center"},children:[(0,t.jsx)("div",{className:"flex flex-col items-center text-center",children:(0,t.jsx)(j.default,{src:e.iconSrc,width:96,height:96,alt:"",className:(0,s.cn)("h-[88px] w-[88px] object-contain",e.iconClassName)})}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center text-center",children:[(0,t.jsx)("h2",{className:(0,s.cn)("w-full text-h5 font-semibold leading-tight",e.titleClassName),children:e.title}),e.subtitle&&(0,t.jsx)("p",{className:"mt-2 text-md leading-snug text-white",children:e.subt
2itle})]}),(0,t.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,t.jsx)("div",{className:"text-md font-semibold text-white",children:e.featuresHeader}),(0,t.jsx)(S,{items:e.features,textClassName:"text-white"})]}),(0,t.jsx)(D,{copy:e.trustedBadge})]}):(0,t.jsxs)("div",{className:(0,s.cn)("flex flex-col items-center gap-4 pb-4 text-gray-950",n?"":"my-auto px-4"),"data-sentry-component":"ContentPanel","data-sentry-source-file":"UpsellContent.tsx",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[!n&&(0,t.jsx)(j.default,{src:e.iconSrc,width:96,height:96,alt:"",className:(0,s.cn)("h-[88px] w-[108px] object-contain",e.iconClassName)}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-1",children:[(0,t.jsx)("h2",{className:(0,s.cn)("w-full font-semibold leading-tight tracking-[-0.5px]",n?"text-h6":"text-h5"),children:e.title}),e.subtitle&&(0,t.jsx)("p",{className:"text-md leading-normal text-gray-900",children:e.subtitle})]})]}),(0,t.jsxs)("div",{className:"flex w-full flex-col gap-1",children:[!n&&(0,t.jsx)("div",{className:"text-md font-semibold",children:e.mobileFeaturesHeader??e.featuresHeader}),(0,t.jsx)(S,{items:e.features,rowClassName:"gap-2","data-sentry-element":"FeatureList","data-sentry-source-file":"UpsellContent.tsx"})]})]}),V=({onPrimaryCtaClick:e})=>(0,t.jsx)("div",{className:"mt-auto flex shrink-0 flex-col gap-5 px-4 pb-[calc(16px+env(safe-area-inset-bottom))] pt-4","data-sentry-component":"MobileBottomCta","data-sentry-source-file":"UpsellContent.tsx",children:(0,t.jsx)(a.Button,{variant:"primary",size:"lg",className:"mb-10 h-12 w-full rounded-[10px] text-md font-medium",onClick:e,"data-sentry-element":"Button","data-sentry-source-file":"UpsellContent.tsx",children:"Continue"})});e.s(["UpsellCheckoutFrame",0,G,"UpsellContent",0,({copy:e,modalState:s,setModalState:n,onPrimaryCtaClick:r,isPriceSelectorLoading:l=!1,priceSelectorVariant:i="membership",showTrialPrice:o=!0,preserveCtaOnTrial:d=!1,hideSidePanel:c=!1,planProps:u,onClose:m})=>{let x=e.paymentTitle??"Payment Details",p=a=>(0,t.jsx)(E,{heading:x,cta:e.cta,getCta:e.getCta,disclaimer:e.disclaimer,showBackButton:!1,isPriceSelectorLoading:l,onBack:()=>n("idle"),mobileHeading:e.paymentTitle??e.title,priceSelectorVariant:i,showTrialPrice:o,preserveCtaOnTrial:d,...a,"data-sentry-element":"UpsellPaymentPanel","data-sentry-component":"renderPaymentPanel","data-sentry-source-file":"UpsellContent.tsx"});return u?"idle"===s?(0,t.jsx)(H,{title:e.title,titleClassName:e.titleClassName,subtitle:e.subtitle,iconSrc:e.iconSrc,planCards:e.planCards,onClose:m,...u}):(0,t.jsx)(G,{onBack:()=>n("idle"),onClose:m,children:p({mobileHeading:x})}):c?(0,t.jsxs)("div",{className:"relative flex h-full flex-col font-inter text-gray-950",children:[m&&(0,t.jsx)("button",{type:"button",onClick:m,className:"absolute right-3 top-3 z-10 flex h-8 w-8 items-center justify-center text-gray-950","aria-label":"Close",children:(0,t.jsx)(_.X,{size:22,strokeWidth:2})}),(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[520px] flex-1 flex-col overflow-y-auto px-8 pb-[calc(32px+env(safe-area-inset-bottom))] pt-8",children:[(0,t.jsx)(K,{copy:e,variant:"mobile",compact:!0}),p({hideHeading:!0,compact:!0}),m&&(0,t.jsx)(a.Button,{variant:"secondary",size:"lg",className:"mt-4 w-full",onClick:m,children:"Not Now"})]})]}):(0,t.jsxs)("div",{className:"h-full font-inter text-gray-950","data-sentry-component":"UpsellContent","data-sentry-source-file":"UpsellContent.tsx",children:[(0,t.jsxs)("div",{className:"relative hidden lg:grid lg:grid-cols-[500px,500px]",children:[(0,t.jsx)(z,{onClose:m,"data-sentry-element":"DesktopCloseButton","data-sentry-source-file":"UpsellContent.tsx"}),(0,t.jsx)(K,{copy:e,variant:"desktop","data-sentry-element":"ContentPanel","data-sentry-source-file":"UpsellContent.tsx"}),p()]}),(0,t.jsxs)("div",{className:"flex h-full flex-col lg:hidden",children:["idle"===s&&(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsx)(Y,{onClose:m}),(0,t.jsx)("div",{className:"flex flex-1 flex-col overflow-y-visible",children:(0,t.jsx)(K,{copy:e,variant:"mobile"})}
2),(0,t.jsx)(V,{onPrimaryCtaClick:r})]}),"pay"===s&&(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsx)(Y,{showBackButton:!0,onBack:()=>n("idle"),onClose:m}),p()]})]})]})}],639889)},822038,e=>{"use strict";var t=e.i(470867),a=e.i(812500);let s={close:null,containerClassname:"max-lg:h-screen max-lg:max-h-[100dvh] max-lg:w-full max-lg:rounded-none",modalClassname:"max-lg:h-full max-lg:max-h-[100dvh] max-lg:w-full max-lg:rounded-none max-lg:overflow-hidden"},n={...s,modalClassname:`${s.modalClassname} bg-transparent lg:rounded-[32px]`},r={close:null,containerClassname:"max-lg:contents",modalClassname:"bg-transparent outline-none max-lg:contents lg:rounded-[32px]",dialogClassName:"max-lg:hidden"},l={...s,modalClassname:`${s.modalClassname} !max-h-[100svh]`};e.s(["UPSELL_FULLSCREEN_MAX_HEIGHT_MODAL_OPTIONS",0,l,"UPSELL_FULLSCREEN_MODAL_OPTIONS",0,s,"UPSELL_PLANS_MODAL_OPTIONS",0,n,"createUpsellDismissedError",0,e=>new t.ModalError(`[Modal:${e}]: Dismissed`,t.ModalReason.DISMISSED),"getUpsellModalOptions",0,(e,t=(0,a.isBreakpoint)(a.BREAKPOINTS.DESKTOP))=>"verification"===e?{...r,trapped:!t,blockScroll:!t,dismissOnEsc:!t,dismissOnOverlayClick:!t}:"plans"===e?n:s])},430641,e=>{"use strict";var t=e.i(294963);e.i(920724),e.i(908215),e.i(851596);var a=e.i(979606),s=e.i(191788);new Intl.DateTimeFormat("en-US",{timeZone:"UTC",month:"short",day:"2-digit",year:"numeric"});let n=(e,t=new Date)=>{let a=e?new Date(e).getTime()-t.getTime():0,s=e=>e<=0?0:Math.floor(e);return{days:s(a/864e5),hours:s(a%864e5/36e5),minutes:s(a%36e5/6e4),seconds:s(a%6e4/1e3),totalHours:s(a/36e5),totalMinutes:s(a/6e4),totalSeconds:s(a/1e3),totalMs:a}},r=e=>
2{let[t,a]=(0,s.useState)(()=>n(void 0,new Date(0)));return(0,s.useEffect)(()=>{let t=()=>a(n(e));t();let s=setInterval(t,1e3);return()=>clearInterval(s)},[e]),{countdownObject:t,countdownItems:[{type:"d",time:t.days},{type:"h",time:t.hours},{type:"m",time:t.minutes},{type:"s",time:t.seconds}]}},l=s.default.memo(({date:e,render:t})=>t(r(e)),(e,t)=>e.date===t.date);l.displayName="Counter",e.s(["Counter",0,l,"countdown",0,n,"formatDaysInterval",0,e=>{if(e%7==0){let t=e/7;return`${t} week${t>1?"s":""}`}return(0,a.formatDistanceStrict)(new Date,(0,t.addDays)(new Date,e))},"parseToDate",0,e=>{let t;return e?isNaN((t=e instanceof Date?e:"function"==typeof e.toDate?e.toDate():new Date(e)).getTime())?null:t:null},"useCountdown",0,r],430641)},682654,e=>{"use strict";var t=e.i(391398),a=e.i(420094),s=e.i(198311),n=e.i(191788);e.i(753051);var r=e.i(593537);let l=(0,n.createContext)(null);e.s(["Toggle",0,{Root:({children:e,className:s})=>{let i=(0,n.useId)();return(0,t.jsx)(a.LayoutGroup,{"data-sentry-element":"LayoutGroup","data-sentry-component":"ToggleRoot","data-sentry-source-file":"toggle.tsx",children:(0,t.jsx)(l.Provider,{value:{layoutId:i},"data-sentry-element":"ToggleContext.Provider","data-sentry-source-file":"toggle.tsx",children:(0,t.jsx)("div",{className:(0,r.cn)("relative flex gap-0.5 rounded-[10px] border border-gray-200 bg-gray-50 p-0.5",s),children:e})})})},Option:({selected:e,children:a,className:i,decoratorClassName:o})=>{let d=(0,n.useContext)(l);return(0,t.jsxs)("div",{className:(0,r.cn)("relative flex-1",i),"data-sentry-component":"ToggleOption","data-sentry-source-file":"toggle.tsx",children:[(0,t.jsx)("div",{className:"relative z-10",children:a}),e&&d&&(0,t.jsx)(s.motion.div,{layoutId:d.layoutId,layoutDependency:e,className:(0,r.cn)("pointer-events-none absolute inset-0 rounded-lg border border-primary-500 bg-white shadow-xs",o)})]})}}])},419556,632665,e=>{"use strict";var t=e.i(391398),a=e.i(191788),s=e.i(674534),n=a.forwardRef((e,a)=>(0,t.jsx)(s.Primitive.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label";var r=e.i(648684);e.i(753051);var l=e.i(593537);let i=(0,r.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(n,{ref:s,className:(0,l.cn)(i(),e),...a}));o.displayName=n.displayName,e.s(["Label",0,o],419556);var d=e.i(671185);function c(...e){return a.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}var u=e.i(479293),m=e.i(352162),x=globalThis?.document?a.useLayoutEffect:()=>{},p=a["useId".toString()]||(()=>void 0),f=0,h=e.i(55037),g=e.i(724537),y="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[j,C,w]=(0,m.createCollection)(v),[N,S]=(0,u.createContextScope)(v,[w]),[P,D]=N(v),k=a.forwardRef((e,a)=>(0,t.jsx)(j.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(j.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(I,{...e,ref:a})})}));k.displayName=v;var I=a.forwardRef((e,n)=>{let r,{__scopeRovingFocusGroup:l,orientation:i,loop:o=!1,dir:u,currentTabStopId:m,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:p,onEntryFocus:f,preventScrollOnEntryFocus:v=!1,...j}=e,w=a.useRef(null),N=c(n,w),S=(0,g.useDirection)(u),[D=null,k]=(0,h.useControllableState)({prop:m,defaultProp:x,onChange:p}),[I,A]=a.useState(!1),E=(r=a.useRef(f),a.useEffect(()=>{r.current=f}),a.useMemo(()=>(...e)=>r.current?.(...e),[])),_=C(l),L=a.useRef(!1),[R,U]=a.useState(0);return a.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(y,E),()=>e.removeEventListener(y,E)},[E]),(0,t.jsx)(P,{scope:l,orientation:i,dir:S,loop:o,currentTabStopId:D,onItemFocus:a.useCallback(e=>k(e),[k]),onItemShiftTab:a.useCallback(()=>A(!0),[]),onFocusableItemAdd:a.useCallback(()=>U(e=>e+1),[]),onFocusableItemRemove:a.useCallback(()=>U(e=>e-1),[]),children:(0,t.jsx)(s.Primitive.div,{tabIndex:I||0===R?-1:0,"data-orientation":i,...j,ref:N,style:{outline:"none",...e.style},onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,d.composeEventHandlers)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!I){let t=new CustomEvent(y,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=_().filter(e=>
2e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),v)}}L.current=!1}),onBlur:(0,d.composeEventHandlers)(e.onBlur,()=>A(!1))})})}),A="RovingFocusGroupItem",E=a.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:i=!1,tabStopId:o,...c}=e,u=function(){let[e,t]=a.useState(p());return x(()=>{t(e=>e??String(f++))},[void 0]),e?`radix-${e}`:""}(),m=o||u,h=D(A,r),g=h.currentTabStopId===m,y=C(r),{onFocusableItemAdd:b,onFocusableItemRemove:v}=h;return a.useEffect(()=>{if(l)return b(),()=>v()},[l,b,v]),(0,t.jsx)(j.ItemSlot,{scope:r,id:m,focusable:l,active:i,children:(0,t.jsx)(s.Primitive.span,{tabIndex:g?0:-1,"data-orientation":h.orientation,...c,ref:n,onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,e=>{l?h.onItemFocus(m):e.preventDefault()}),onFocus:(0,d.composeEventHandlers)(e.onFocus,()=>h.onItemFocus(m)),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,a){var s;let n=(s=e.key,"rtl"!==a?s:"ArrowLeft"===s?"ArrowRight":"ArrowRight"===s?"ArrowLeft":s);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return _[n]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){var a,s;"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=h.loop?(a=n,s=r+1,a.map((e,t)=>a[(s+t)%a.length])):n.slice(r+1)}setTimeout(()=>T(n))}})})})});E.displayName=A;var _={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e,t=!1){let a=document.activeElement;for(let s of e)if(s===a||(s.focus({preventScroll:t}),document.activeElement!==a))return}var L=e.i(474864),R=e.i(593427),U=e.i(993953),O="Radio",[M,B]=(0,u.createContextScope)(O),[F,$]=M(O),W=a.forwardRef((e,n)=>{let{__scopeRadio:r,name:l,checked:i=!1,required:o,disabled:u,value:m="on",onCheck:x,...p}=e,[f,h]=a.useState(null),g=c(n,e=>h(e)),y=a.useRef(!1),b=!f||!!f.closest("form");return(0,t.jsxs)(F,{scope:r,checked:i,disabled:u,children:[(0,t.jsx)(s.Primitive.button,{type:"button",role:"radio","aria-checked":i,"data-state":G(i),"data-disabled":u?"":void 0,disabled:u,value:m,...p,ref:g,onClick:(0,d.composeEventHandlers)(e.onClick,e=>{i||x?.(),b&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})}),b&&(0,t.jsx)(z,{control:f,bubbles:!y.current,name:l,value:m,checked:i,required:o,disabled:u,style:{transform:"translateX(-100%)"}})]})});W.displayName=O;var H="RadioIndicator",Y=a.forwardRef((e,a)=>{let{__scopeRadio:n,forceMount:r,...l}=e,i=$(H,n);return(0,t.jsx)(U.Presence,{present:r||i.checked,children:(0,t.jsx)(s.Primitive.span,{"data-state":G(i.checked),"data-disabled":i.disabled?"":void 0,...l,ref:a})})});Y.displayName=H;var z=e=>{let{control:s,checked:n,bubbles:r=!0,...l}=e,i=a.useRef(null),o=(0,R.usePrevious)(n),d=(0,L.useSize)(s);return a.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(o!==n&&t){let a=new Event("click",{bubbles:r});t.call(e,n),e.dispatchEvent(a)}},[o,n,r]),(0,t.jsx)("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...l,tabIndex:-1,ref:i,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function G(e){return e?"checked":"unchecked"}var K=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],V="RadioGroup",[X,q]=(0,u.createContextScope)(V,[S,B]),Q=S(),Z=B(),[J,ee]=X(V),et=a.forwardRef((e,a)=>{let{__scopeRadioGroup:n,name:r,defaultValue:l,value:i,required:o=!1,disabled:d=!1,orientation:c,dir:u,loop:m=!0,onValueChange:x,...p}=e,f=Q(n),y=(0,g.useDirection)(u),[b,v]=(0,h.useControllableState)({prop:i,defaultProp:l,onChange:x});return(0,t.jsx)(J,{scope:n,name:r,required:o,disabled:d,value:b,onValueChange:v,children:(0,t.jsx)(k,{asChild:!0,...f,orientation:c,dir:y,loop:m,children:(0,t.jsx)(s.Primitive.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":d?"":void 0,dir:y,...p,ref:a})})})});et.displayName=V;var ea="RadioGroupItem",es=a.forwardRef((e,s)=>{let{__scopeRadioGroup:n,disabled:r,...l}=e,i=ee(ea,n),o=i.disabled||r,u=Q(n),m=Z(n),x=a.useRef(null),p=c(s,x),f=i.value===l.value,h=a.useRef(!1);return a.useEffect(()=>{let e=e=>
2{K.includes(e.key)&&(h.current=!0)},t=()=>h.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,t.jsx)(E,{asChild:!0,...u,focusable:!o,active:f,children:(0,t.jsx)(W,{disabled:o,required:i.required,checked:f,...m,...l,name:i.name,ref:p,onCheck:()=>i.onValueChange(l.value),onKeyDown:(0,d.composeEventHandlers)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,d.composeEventHandlers)(l.onFocus,()=>{h.current&&x.current?.click()})})})});es.displayName=ea;var en=a.forwardRef((e,a)=>{let{__scopeRadioGroup:s,...n}=e,r=Z(s);return(0,t.jsx)(Y,{...r,...n,ref:a})});en.displayName="RadioGroupIndicator";var er=e.i(482566);let el=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(et,{className:(0,l.cn)("grid gap-2",e),...a,ref:s}));el.displayName=et.displayName;let ei=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(es,{ref:s,className:(0,l.cn)("ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border border-primary text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...a,children:(0,t.jsx)(en,{className:"flex items-center justify-center",children:(0,t.jsx)(er.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));ei.displayName=es.displayName,e.s(["RadioGroup",0,el,"RadioGroupItem",0,ei],632665)},272225,e=>{"use strict";var t=e.i(391398);e.i(753051);var a=e.i(593537);e.s(["Skeleton",0,function({className:e,isLoaded:s=!1,isLoadedOnlyChildren:n,children:r,style:l,...i}){return s&&n?r:(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-clip",e),style:l,"data-sentry-component":"Skeleton","data-sentry-source-file":"skeleton.tsx",children:[r,(0,t.jsx)("div",{className:(0,a.cn)("absolute left-0 top-0 h-full w-full rounded-lg bg-white transition-opacity",{"pointer-events-none opacity-0":s}),children:(0,t.jsx)("div",{className:(0,a.cn)("h-full w-full animate-pulse rounded-lg bg-gray-200",e),...i})})]})}])},567573,e=>{"use strict";var t=e.i(191788);let a=1e6,s=0,n=new Map,r=(e,t=a)=>{if(n.has(e))return;let s=setTimeout(()=>{n.delete(e),o({type:"REMOVE_TOAST",toastId:e})},t);n.set(e,s)},l=[],i={toasts:[]};function o(e){i=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?r(a):e.toasts.forEach(e=>{r(e.id,e.duration)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(i,e),l.forEach(e=>{e(i)})}function d({...e}){let t=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>o({type:"DISMISS_TOAST",toastId:t});return o({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:e=>{e||a()}}}),{id:t,dismiss:a,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:t}})}}e.s(["toast",0,d,"useToast",0,function(){let[e,a]=t.useState(i);return t.useEffect(()=>(l.push(a),()=>{let e=l.indexOf(a);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}])},797645,654600,e=>{"use strict";var t=e.i(985343),a=e.i(493525),s=e.i(613572);e.i(564376);var n=e.i(187276);e.i(581516);var r=e.i(359385),l=e.i(706770),i=e.i(992811),o=e.i(673254),d=e.i(303454),c=e.i(636201);let u=async e=>{let t=(0,r.query)((0,s.getCollection)("business"),(0,r.where)("userId","==",e),(0,r.orderBy)("createdAt","desc")).withConverter((0,c.converter)());return Promise.all((await (0,r.getDocs)(t)).docs.map(e=>({...e.data(),_id:e.id})))};e.s(["getBusinesses",0,u],654600);let m=(0,l.atom)(!1),x=(0,d.authAtom)({isLoading:!0,value:[]}),p=(0,t.persistentAtom)("selected-business-id"),f=(0,i.batched)([x,p],(e,t)=>e.isLoading?{isLoading:!0,value:null}:{isLoading:!1,value:(e.value||[]).find(e=>e._id===t)||null});(0,o.onMount)(x,()=>{if(!a.auth)return;let e=(0,n.onAuthStateChanged)(a.auth,async e=>{e?await h():x.set({isLoading:!1,value:[]})}),t=x.subscribe(e=>{if(e.isLoading)return;let t=p.get(),a=(e.value?.length||0)>0,s=m.get();if(!t&&a){let t=e.value?.[0];t?._id&&p.set(t._id)}else if(a||!t||s){if(t&&a&&!e.value?.some(e=>e._id===t)){let t=e.value?.[0];t?._id&&p.set(t._id)}}else p.set(void 0)});return()=>{e(),t()}});let h=async()=>
2{if(!a.auth?.currentUser?.uid)return;let e=x.get();x.set({isLoading:!0,value:e.value});try{let e=await u(a.auth.currentUser?.uid);x.set({isLoading:!1,value:e||[]})}catch(e){console.error(e),x.set({isLoading:!1,value:[]})}},g=async(e,t)=>{let n=a.auth?.currentUser?.uid;if(!n)throw Error("User not authenticated");let l={...t,userId:n,updatedAt:new Date};return"interests"in l&&delete l.interests,await (0,r.setDoc)((0,r.doc)((0,s.collection)("business").ref,e),l,{merge:!0}),await h(),{...l,_id:e}},y=async(e,t,s)=>{if(!a.auth?.currentUser?.uid)throw Error("User not authenticated");if(!e.startDate)throw Error("Business start date is required");m.set(!0);try{let a=await t({business:e,createdFrom:s});return p.set(a._id),await h(),a}finally{m.set(!1)}},b=async e=>{a.auth?.currentUser?.uid&&(p.get()===e&&p.set(void 0),await (0,r.deleteDoc)((0,r.doc)((0,s.collection)("business").ref,e)),await h())};(0,o.onMount)(p,()=>{if(!a.auth)return;let e=p.subscribe(e=>{if(!a.auth?.currentUser?.uid)return;let t=x.get().value||[];(e&&!t.some(t=>t._id===e)||0===t.length)&&h()});return()=>{e()}}),e.s(["$business",0,f,"$businessId",0,p,"$isCreatingBusiness",0,m,"$listOfBusinesses",0,x,"createBusiness",0,y,"deleteBusiness",0,b,"fetchBusinesses",0,h,"setSelectedBusinessVerified",0,()=>{let e=p.get();if(!e)return;let t=x.get();t.isLoading||x.set({...t,value:(t.value||[]).map(t=>t._id===e?{...t,verificationStatus:"verified"}:t)})},"updateBusinessLegacy",0,g],797645)},294963,e=>{"use strict";var t=e.i(936290),a=e.i(696291);e.s(["addDays",0,function(e,s){let n=(0,t.toDate)(e);return isNaN(s)?(0,a.constructFrom)(e,NaN):(s&&n.setDate(n.getDate()+s),n)}])},920724,851596,e=>{"use strict";var t=e.i(936290),a=e.i(696291);function s(e,s){let n=+(0,t.toDate)(e);return(0,a.constructFrom)(e,n+s)}e.s(["addMilliseconds",0,s],851596);var n=e.i(224493);e.s(["addHours",0,function(e,t){return s(e,t*n.millisecondsInHour)}],920724)},908215,e=>{"use strict";var t=e.i(851596),a=e.i(224493);e.s(["addMinutes",0,function(e,s){return(0,t.addMilliseconds)(e,s*a.millisecondsInMinute)}])},979606,377650,e=>{"use strict";var t=e.i(888519),a=e.i(878938),s=e.i(243865),n=e.i(242727),r=e.i(936290);function l(e,t){let a=(0,r.toDate)(e),s=(0,r.toDate)(t),n=a.getTime()-s.getTime();return n<0?-1:n>0?1:n}e.s(["compareAsc",0,l],377650);var i=e.i(224493);e.s(["formatDistanceStrict",0,function(e,o,d){let c,u,m,x=(0,a.getDefaultOptions)(),p=d?.locale??x.locale??t.defaultLocale,f=l(e,o);if(isNaN(f))throw RangeError("Invalid time value");let h=Object.assign({},d,{addSuffix:d?.addSuffix,comparison:f});f>0?(c=(0,r.toDate)(o),u=(0,r.toDate)(e)):(c=(0,r.toDate)(e),u=(0,r.toDate)(o));let g=(0,s.getRoundingMethod)(d?.roundingMethod??"round"),y=u.getTime()-c.getTime(),b=y/i.millisecondsInMinute,v=(y-((0,n.getTimezoneOffsetInMilliseconds)(u)-(0,n.getTimezoneOffsetInMilliseconds)(c)))/i.millisecondsInMinute,j=d?.unit;if("second"===(m=j||(b<1?"second":b<60?"minute":b<i.minutesInDay?"hour":v<i.minutesInMonth?"day":v<i.minutesInYear?"month":"year"))){let e=g(y/1e3);return p.formatDistance("xSeconds",e,h)}if("minute"===m){let e=g(b);return p.formatDistance("xMinutes",e,h)}if("hour"===m){let e=g(b/60);return p.formatDistance("xHours",e,h)}if("day"===m){let e=g(v/i.minutesInDay);return p.formatDistance("xDays",e,h)}if("month"===m){let e=g(v/i.minutesInMonth);return 12===e&&"month"!==j?p.formatDistance("xYears",1,h):p.formatDistance("xMonths",e,h)}else{let e=g(v/i.minutesInYear);return p.formatDistance("xYears",e,h)}}],979606)},420094,e=>{"use strict";var t=e.i(391398),a=e.i(191788),s=e.i(811535);let n=(0,a.createContext)(null);var r=e.i(262448),l=e.i(39016);let i=e=>!e.isLayoutDirty&&e.willUpdate(!1);e.s(["LayoutGroup",0,({children:e,id:o,inherit:d=!0})=>{let c=(0,a.useContext)(s.LayoutGroupContext),u=(0,a.useContext)(n),[m,x]=function(){let e,t=(e=(0,a.useRef)(!1),(0,l.useIsomorphicLayoutEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e),[s,n]=(0,a.useState)(0),i=(0,a.useCallback)(()=>{t.current&&n(s+1)},[s]);return[(0,a.useCallback)(()=>r.frame.postRender(i),[i]),s]}(),p=(0,a.useRef)(null),f=c.id||u;if(null===p.current){let e,t,a,s;(!0==(!0===(s=d))||"id"===s)&&f&&(o=o?f+"-"+o:f),p.current={id:o,group:!0===d&&c.group||(e=new Set,t=new WeakMap,{add:s=>{e.add(s),t.set(s,s.addEventListener("willUpdate",a))},remove:s=>{e.delete(s);let n=t.get(s);n&&(n(),t.delete(s)),a()},dirty:a=()=>e.forEach(i)})}}let h=(0,a.useMemo)(()=>({...p.current,forceRender:m}),[x]);return(0,t.jsx)(s.LayoutGroupContext.Provider,{value:h,children:e})}],420094)},770084,885998,e=>{"use strict";let t=(0,e.i(369547).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t],885998),e.s(["Check",0,t],770084)},551836,e=>{"use strict";let t=(0,e.i(369547).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],551836)},754919,e=>{"use strict";let t=(0,e.i(369547).default)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["default",0,t])},482566,e=>{"use strict";var t=e.i(754919);e.s(["Circle",()=>t.default])},868462,597477,e=>{"use strict";let t=(0,e.i(369547).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
2],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t],597477),e.s(["X",0,t],868462)}]);
3
4//# debugId=38d3226c-e073-c391-74ca-9db2acaccc7b

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.