PageSourceSearch

https://platform.autods.com/Cpuld9vX.js

js autods.com collected 2026-09-24 08:53:02 UTC 38,205 bytes, 1 lines download raw bytes

1try{let 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]="34833b10-2af6-4925-8385-d964f803b23e",e._sentryDebugIdIdentifier="sentry-dbid-34833b10-2af6-4925-8385-d964f803b23e")}catch(Rs){}import{j as e,r as t,g as s}from"./CSvdPb0x.js";import{ac as a,m as r,Y as i,y as n,ur as l,dL as o,dU as c,us as d,dy as m,ez as x,B as w,ut as p,uu as h,uv as f,uw as u,Q as g,hs as b,iX as j,v as N,b as S,ux as y,uy as v,iH as C,hX as _,uz as I,uA as k,p as O,uB as E,ig as T,a3 as P,o as z,uC as D,a6 as A,uD as L,uE as F,uF as U,uG as M,aL as R,ic as $,uH as W,uI as B,uJ as H,uK as Y,cp as G,gF as V,uL as J,uM as Z,uN as X,nY as q,cy as Q,uO as K,aP as ee,uP as te,cs as se,ct as ae,uQ as re,iV as ie,aM as ne,uR as le,kH as oe,uS as ce,uT as de,i4 as me,uU as xe,ao as we,uV as pe,uW as he,al as fe,uX as ue,a5 as ge}from"./B97aNPiN.js";import{g as be}from"./KqG1GbuE.js";import{W as je}from"./DphhMgYm.js";import{s as Ne}from"./CI1ji8yk.js";import{S as Se}from"./DLD1CBC4.js";import{R as ye}from"./3utiQB6j.js";import{r as ve}from"./DyGSd7Gm.js";const Ce=a.div.attrs({className:"flex jc-c"}).withConfig({componentId:"sc-1f37p01-0"})(["padding:4rem 0 8rem;@media screen and (max-width:1199px){height:unset;}@media screen and (max-width:767px){padding-bottom:",";}"],({isOnboarding:e})=>!e&&"14rem"),_e=a.div.attrs({className:"flex column ai-c w-p-100 position-r"}).withConfig({componentId:"sc-1f37p01-1"})(["max-width:",";padding-left:1.5rem;padding-right:1.5rem;"],({maxWidth:e})=>`${e}px`),Ie=a.div.attrs({className:"flex ai-c m-b-30 w-p-100 position-r"}).withConfig({componentId:"sc-1f37p01-2"})(["max-width:600px;justify-content:",";gap:30px;> div{z-index:1;.br-round{min-width:32px;}.bg-warning-15{border:dashed 1px ",";}.bg-secondary{svg{opacity:0.5;}}}&::after{content:'';position:absolute;display:",";top:50%;left:0;transform:translateY(-50%);width:100%;height:1px;background-color:",";z-index:0;}@media screen and (max-width:767px){margin-bottom:1rem;}"],({isLastStep:e})=>e?"center":"space-between",({theme:e})=>e.colorWarning,({isLastStep:e})=>e?"none":"block",({theme:e})=>e.colorGrey100),ke=a.div.attrs({className:"flex column br-8 w-p-100"}).withConfig({componentId:"sc-1f37p01-3"})(["box-shadow:0 4px 12px 0 rgba(0,0,0,0.12);span.pointer.td-underline{transition:",";&:hover{color:",";}}> div:first-child{padding:2rem;}@media screen and (max-width:1199px){margin-bottom:",";}@media screen and (max-width:767px){> div:first-child{align-items:flex-start;flex-direction:column;}> div:first-child{padding:1rem;}}"],({theme:e})=>e.transitions.fast,({theme:e})=>e.colorWarning,({isMobileStoreGuide:e})=>e&&"75px"),Oe=a.div.attrs({className:"flex jc-sb ai-c m-l-20 m-t-10 flex-1"}).withConfig({componentId:"sc-1f37p01-4"})(["max-width:360px;span{margin:0 1rem;}.bg-grey-100::after,.bg-warning::after,.bg-primary::after{content:'';position:absolute;display:block;top:6px;height:1px;background-color:",";}.bg-grey-100::after{left:calc(50% + 6px);right:0;}.bg-warning::after{left:",";right:",";}.bg-primary::after{left:0;right:calc(50% + 6px);}@media screen and (max-width:767px){margin-top:1rem;margin-left:0;max-width:unset;width:100%;span{margin:0;}> div:first-child{align-items:flex-start;}> div:last-child{align-items:flex-end;}.bg-grey-100::after{left:12px;right:0;}.bg-warning::after{left:",";right:",";}.bg-primary::after{left:0;right:12px;}}"],({theme:e})=>e.colorGrey100,({isLastSubStep:e})=>e?"0":"calc(50% + 6px)",({isLastSubStep:e})=>e?"calc(50% + 6px)":"0",({isLastSubStep:e})=>e?"0":"12px",({isLastSubStep:e})=>e?"12px":"0"),Ee=a.div.attrs({className:"flex ai-c gap-10 bg-primary position-f b-0 r-0"}).withConfig({componentId:"sc-1f37p01-5"})(["left:","px;transition:",";padding:1rem 6rem 1rem 1.5rem;box-shadow:0 -2px 12px 0 rgba(0,0,0,0.12);z-index:2;@media screen and (max-width:1199px){padding:1rem 1.5rem;left:0;bottom:","px;}@media screen and (max-width:767px){flex-direction:column-reverse;justify-content:flex-start;bottom:","px;.ant-btn{width:100%;}}"],({isOnboarding:e,isLeftPanelOpened:t})=>e?0:t?220:70,({theme:e})=>e.transitions.fast,({isOnboarding:e,isMobileStoreGuide:t})=>!e&&t?70:0,({isOnboarding:e,isMobileStoreGuide:t})=>e?0:t?137:62),Te=a.div.attrs({className:"grid"}).withConfig({componentId:"sc-1f37p01-11"})(["padding:2rem;grid-template-columns:repeat(3,1fr);gap:1.5rem;@media screen and (max-width:767px){grid-template-columns:repeat(1,1fr);padding:1rem;}"]),Pe=a.div.attrs({className:"flex column ai-c pointer br-4 border-2 border-grey100 p-15"}).withConfig({componentId:"sc-1f37p01-12"})(["transition:",";&:hover{background-color:",";}"],({theme:e})=>e.transitions.fast,({theme:e})=>e.colorWarning15),ze=a.div.attrs({className:"grid p-b-30"}).withConfig({componentId:"sc-1f37p01-13"})(["grid-template-columns:repeat(2,1fr);gap:1.5rem;padding:2rem;@media screen and (max-width:767px){grid-template-columns:repeat(1,1fr);padding:1rem;}"]),De=a.div.attrs({className:"flex column ai-c pointer br-4 position-r"}).withConfig({componentId:"sc-1f37p01-14"})(["transition:",';height:230px;background:url("','") no-repeat center;background-size:cover;&::after{transition:',";content:'';position:absolute;top:-8px;left:-8px;right:-8px;bottom:-8px;border-radius:8px;border:4px solid ",";opacity:0;}&.selected::after{opacity:1;}"],({theme:e})=>e.transitions.fast,({banner:e})=>e,({theme:e})=>e.transitions.fast,({theme:e})=>e.colorWarning),Ae=a.div.attrs({className:"flex column"}).withConfig({componentId:"sc-1f37p01-15"})(["> div{padding:2rem;width:100%;}> div:first-child{grid-template-columns:3fr 1fr;align-items:center;gap:1rem;img{grid-column:span 2;}@media (max-width:767px){grid-template-columns:1fr;> span{order:1;}> .ant-btn{order:3;}img{order:2;grid-column:span 1;}}}@media screen and (max-width:767px){> div{padding:1rem;}}"]),Le=a.div.attrs({className:"flex column"}).withConfig({componentId:"sc-1f37p01-16"})(["> div{padding:2rem;width:100%;}@media screen and (max-width:767px){> div{padding:1rem;}> div:first-child{flex-direction:column;> .ant-btn{width:100%;}}}"]),Fe=a.div.attrs({className:"flex column ai-c ta-c w-p-100"}).withConfig({componentId:"sc-1f37p01-18"})(["padding:2rem;@media screen and (max-width:767px){padding:1rem;}"]),Ue=a.div.attrs({className:"flex column"}).withConfig({componentId:"sc-1f37p01-19"})(["> div{padding:2rem;width:100%;}@media screen and (max-width:767px){> div{padding:1rem;&:first-child{flex-direction:column;> .ant-btn{width:100%;}}}}"]),Me=a.div.attrs({className:"flex column ai-c jc-c gap-25 w-p-100"}).withConfig({componentId:"sc-1f37p01-20"})(["padding:2rem;>
1 div:first-child{max-width:800px;}@media screen and (max-width:767px){padding:1rem;> div:first-child{padding:1rem;}.ant-btn{width:100%;}}"]),Re=({breadcrumbs:t})=>{if(!t)return null;const{current:s,next:a}=t,n=!a,l=[{label:n?"Last Step":"Current",text:s,className:"bg-warning-15"},{label:"Next",text:a,className:"bg-secondary",icon:e.jsx(be,{size:24})}];return e.jsx(Ie,{isLastStep:n,children:r(l,({label:t,text:s,className:a,icon:r},n)=>s&&e.jsxs("div",{className:"flex ai-c gap-10 bg-primary p-r-5 p-l-5",children:[e.jsx("div",{className:i("flex ai-c jc-c w-32 h-32 br-round",a),children:r}),e.jsxs("div",{className:"flex column",children:[e.jsx("span",{className:i("fz-11 ff-regular",{"c-secondary":1===n}),children:t}),e.jsx("span",{className:i("fz-15 ff-regular",{"c-secondary":1===n}),children:s})]})]},n))})},$e=({breadcrumbs:t})=>{if(!t)return null;const{prev:s,current:a,next:n}=t,l=!n&&s,o=[{label:s,className:"bg-grey-100"},{label:a,className:"bg-warning",isActive:!0},{label:n,className:"border-1 border-grey100 bg-primary"}];return e.jsx(Oe,{isLastSubStep:l,children:r(o,({label:t,className:s,isActive:a},r)=>t&&e.jsxs("div",{className:"flex column ai-c position-r w-p-100",children:[e.jsx("div",{className:i("w-12 h-12 m-b-10 br-round",s)}),e.jsx("span",{className:i("ws-nw ff-regular",{disabled:!a}),children:t})]},r))})},We=()=>{const t=n(l),{isMobileStoreGuideVisible:s}=n(o),{stepData:{containerContent:a,maxWidth:r,title:i,description:c,breadcrumbs:{primary:d,secondary:m}}}=Ls();return e.jsxs(_e,{maxWidth:r,children:[e.jsx(Re,{breadcrumbs:d}),e.jsxs(ke,{isMobileStoreGuide:t&&s,children:[e.jsxs("div",{className:"flex ai-fs jc-sb border-b-1 border-grey100",children:[e.jsxs("div",{className:"flex column gap-5",children:[i,c]}),e.jsx($e,{breadcrumbs:m})]}),e.jsx(a,{})]})]})},Be=({className:t="jc-sb",children:s})=>{const a=n(c),r=n(l),i=n(d),{isMobileStoreGuideVisible:m}=n(o);return e.jsx(Ee,{className:t,isOnboarding:i,isLeftPanelOpened:a,isMobileStoreGuide:r&&m,children:s})},He=`${x}/images/add-store/trial-for-shopify.webm`,Ye=`${x}/images/add-store/shopify-zipstore-entry-point-1-img.jpg`,Ge=`${x}/images/add-store/shopify-zipstore-entry-point-2-img.jpg`,Ve=`${x}/images/add-store/shopify-zipstore-entry-point-3-img.jpg`,Je="tw:flex tw:flex-col tw:items-center tw:gap-24 tw:p-24 tw:md:p-32 tw:rounded-3xl tw:bg-bg tw:border tw:border-solid tw:border-border tw:shadow-[0_4px_6px_rgba(0,0,0,0.12)] tw:w-full tw:max-w-[1072px]",Ze="tw:flex tw:items-center tw:gap-16 tw:w-full",Xe="tw:flex tw:items-center tw:justify-center tw:size-64 tw:rounded-full tw:bg-[#f7f9ff] tw:shrink-0",qe="tw:text-32! tw:leading-40 tw:m-0!",Qe="tw:flex tw:flex-col tw:gap-4 tw:flex-1",Ke="tw:font-bold! tw:text-13! tw:leading-20 tw:text-text-disabled tw:m-0! tw:tracking-wider",et="tw:font-rubik! tw:text-24! tw:leading-32 tw:text-text tw:m-0!",tt="tw:bg-clip-text tw:bg-linear-[90deg,#00bf8d_0%,#008364_100%] tw:text-transparent",st="tw:flex tw:flex-col tw:gap-24 tw:w-full",at="tw:flex tw:flex-col tw:md:flex-row tw:items-start tw:gap-24 tw:p-24 tw:rounded-3xl tw:border tw:border-solid tw:border-border",rt="tw:flex tw:flex-col tw:gap-8 tw:flex-1 tw:min-w-0",it="tw:w-full tw:md:w-[492px] tw:h-[246px] tw:rounded-3xl tw:object-cover tw:shrink-0 tw:bg-[#f7f9ff]",nt="tw:font-bold! tw:text-13! tw:leading-20 tw:text-[#e49e4c] tw:m-0! tw:tracking-wider",lt="tw:font-heading tw:font-semibold! tw:text-18! tw:leading-28 tw:text-text tw:m-0!",ot="tw:text-15! tw:leading-24 tw:text-text tw:m-0!",ct="tw:font-bold",dt="tw:inline-flex tw:items-center tw:gap-4 tw:px-12 tw:py-4 tw:rounded-full tw:bg-[#0a0e33] tw:text-text-inverse tw:text-13 tw:font-semibold tw:leading-20 tw:mx-4 tw:align-middle",mt="tw:px-8",xt=()=>n(g,{addonType:j})?e.jsxs("div",{className:Je,children:[e.jsxs("div",{className:Ze,children:[e.jsx("div",{className:Xe,children:e.jsx("p",{className:qe,children:"💡"})}),e.jsxs("div",{className:Qe,children:[e.jsx("p",{className:Ke,children:"LIFEHACK"}),e.jsxs("p",{className:et,children:["Where to Find ",e.jsx("span",{className:tt,children:"ZipStore"})," Later?"]})]})]}),e.jsxs("div",{className:st,children:[e.jsxs("div",{className:at,children:[e.jsxs("div",{className:rt,children:[e.jsx("p",{className:nt,children:"PLACE 1"}),e.jsx("p",{className:lt,children:"From the Sidebar Menu"}),e.jsxs("p",{className:ot,children:["Scroll to the bottom of the ",e.jsx("span",{className:ct,children:"left side menu"}),"."," ","Under ",e.jsx("span",{className:ct,children:"Build One Winning Product ZipStore"}),","," ","tap ",e.jsx("span",{className:dt,children:"Build & Edit"}),"."]})]}),e.jsx("img",{className:it,src:Ye,alt:"Sidebar menu Build & Edit button"})]}),e.jsxs("div",{className:at,children:[e.jsxs("div",{className:rt,children:[e.jsx("p",{className:nt,children:"PLACE 2"}),e.jsx("p",{className:lt,children:"From the Add Products Modal"}),e.jsxs("p",{className:ot,children:["Click the ",e.jsx("span",{className:dt,children:"Store Name"})," section."," ","Click any store row's"," ",e.jsx("span",{className:`${dt} ${mt}`,children:e.jsx(b,{size:16})})," ","menu and choose ",e.jsx("span",{className:ct,children:"Build One Product ZipStore"}),"."]})]}),e.jsx("img",{className:it,src:Ge,alt:"Add Products modal with store menu"})]}),e.jsxs("div",{className:at,children:[e.jsxs("div",{className:rt,children:[e.jsx("p",{className:nt,children:"PLACE 3"}),e.jsx("p",{className:lt,children:"From Plans & Add-ons Page"}),e.jsxs("p",{className:ot,children:["Go to ",e.jsx("span",{className:ct,children:"Settings"})," →"," ",e.jsx("span",{className:ct,children:"Plans & Addons"}),"."," ","Find the ",e.jsx("span",{className:ct,children:"One Product ZipStore"})," add-on card"," ","and click ",e.jsx("span",{className:dt,children:"Build & Edit"}),"."]})]}),e.jsx("img",{className:it,src:Ve,alt:"One Product ZipStore add-on card"})]})]})]}):null,wt=`${x}/images/add-store/claim-store.mp4`,pt="proTheme",ht=["Expert-Designed Store","Built for 1 Product","Sales Funnel Included","Fast US Shipping"],ft=[16,24],ut=[5,9],gt=[24,44],bt=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,jt=()=>{const e=t.useMemo(()=>Math.min(86400,3600*bt(...ft)+60*bt(0,59)+bt(0,59)),[]),[s,a]=t.useState(e),r=t.useMemo(()=>bt(...ut),[]),i=t.useMemo(()=>bt(...gt),[]);t.useEffect(()=>{const e=setInterval(()=>{a(e=>e>0?e-1:0)},1e3);return()=>clearInterval(e)},[]);const n=Math.round((ut[1]+1-r)/(ut[1]+1)*100);return{formattedTime:(l=s,[Math.floor(l/3600),Math.floor(l%3600/60),l%60].map(e=>String(e).padStart(2,"0")).join(":")),spotsLeft:r,peopleViewing:i,progress:n};var l},Nt=`${x}/images/add-store/shopify-pro-theme-notebook-img.png`,St="tw:relative tw:flex tw:flex-col tw:w-full tw:min-[1200px]:max-w-[432px] tw:rounded-3xl tw:cursor-pointer tw:sha
1dow-[0_0_16px_0_rgba(249,115,51,0.8),0_12px_16px_0_rgba(10,14,51,0.1)]",yt="tw:flex tw:items-center tw:justify-between tw:gap-12 tw:px-16 tw:py-8 tw:rounded-t-3xl tw:bg-[linear-gradient(90deg,#f97433_0%,#f3393b_100%)]",vt="tw:flex tw:items-center tw:gap-8 tw:flex-wrap",Ct="tw:font-semibold tw:text-13 tw:text-white",_t="tw:text-13 tw:text-white/80",It="tw:bg-[#c32f2f] tw:text-white tw:font-bold tw:text-13 tw:px-16 tw:py-4 tw:rounded-full tw:whitespace-nowrap",kt="tw:rounded-b-3xl tw:px-3 tw:pb-3 tw:bg-[linear-gradient(90deg,#f97433_0%,#f3393b_100%)]",Ot="tw:bg-bg tw:rounded-b-[21px] tw:p-24 tw:flex tw:flex-col tw:gap-16",Et="tw:flex tw:items-center tw:gap-12",Tt="tw:font-semibold! tw:text-18! tw:text-text tw:mb-0! tw:font-heading",Pt="tw:flex tw:gap-8 tw:bg-bg-fill-brand-light tw:rounded-3xl tw:p-16 tw:relative tw:overflow-hidden",zt="tw:max-w-200 tw:-right-90 tw:absolute tw:bottom-0 tw:min-[500px]:right-0 tw:md:max-w-4/10",Dt="tw:text-11! tw:font-bold! tw:text-text-secondary tw:mb-0! tw:tracking-wide",At="tw:flex tw:flex-col tw:gap-12",Lt="tw:flex tw:items-center tw:gap-8",Ft="tw:text-[#59ce88] tw:shrink-0",Ut="tw:text-13 tw:font-semibold tw:text-text tw:mb-0!",Mt="tw:flex tw:items-center tw:justify-between tw:gap-12 tw:rounded-2xl tw:p-16 tw:bg-[linear-gradient(180deg,#fa7318_0%,#fb923c_100%)]",Rt="tw:flex tw:flex-col tw:gap-2",$t="tw:text-11! tw:font-bold! tw:text-white/80 tw:mb-0! tw:tracking-wide",Wt="tw:flex tw:items-baseline tw:gap-8",Bt="tw:font-semibold! tw:text-24! tw:text-white tw:font-heading tw:leading-none",Ht="tw:line-through tw:text-15 tw:font-regular! tw:text-[#0a0e33]",Yt="tw:bg-[#0a0e33] tw:text-white tw:font-bold tw:text-11 tw:rounded-full tw:px-16 tw:py-8 tw:whitespace-nowrap tw:tracking-wide",Gt="tw:flex tw:flex-col tw:gap-8",Vt="tw:flex tw:items-center tw:justify-between tw:gap-12 tw:flex-wrap",Jt="tw:text-15 tw:font-semibold tw:text-text tw:mb-0!",Zt="tw:font-semibold tw:bg-[linear-gradient(90deg,#f97433_0%,#f3393b_100%)] tw:bg-clip-text tw:text-transparent",Xt="tw:flex tw:items-center tw:gap-8 tw:text-13 tw:font-semibold tw:text-[#59ce88]",qt="tw:relative tw:h-8 tw:w-full tw:rounded-full tw:bg-black/10 tw:overflow-hidden",Qt="tw:absolute tw:left-0 tw:top-0 tw:h-full tw:rounded-full tw:bg-[linear-gradient(90deg,#f97433_0%,#f3393b_100%)]",Kt="tw:text-13 tw:text-text tw:mb-0!",es=({isActive:t,onSelect:s})=>{const{formattedTime:a,spotsLeft:r,peopleViewing:i,progress:n}=jt();return e.jsxs("div",{className:St,onClick:e=>s(e.currentTarget.innerText),children:[e.jsxs("div",{className:yt,children:[e.jsxs("div",{className:vt,children:[e.jsx("span",{className:Ct,children:"⭐  MOST POPULAR"}),e.jsx("span",{className:_t,children:"•"}),e.jsx("span",{className:Ct,children:"Quick & Easy Start"})]}),e.jsx("div",{className:It,children:a})]}),e.jsx("div",{className:kt,children:e.jsxs("div",{className:Ot,children:[e.jsxs("div",{className:Et,children:[e.jsx(ye,{checked:t}),e.jsx("p",{className:Tt,children:"Professional One Product Store"})]}),e.jsxs("div",{className:Pt,children:[e.jsxs("div",{children:[e.jsx("p",{className:Dt,children:"WHAT'S INCLUDED"}),e.jsx("div",{className:At,children:ht.map(t=>e.jsxs("div",{className:Lt,children:[e.jsx($,{className:Ft,size:16}),e.jsx("p",{className:Ut,children:t})]},t))})]}),e.jsx("img",{src:Nt,alt:"",className:zt})]}),e.jsxs("div",{className:Mt,children:[e.jsxs("div",{className:Rt,children:[e.jsx("p",{className:$t,children:"TOTAL PRICE"}),e.jsxs("div",{className:Wt,children:[e.jsx("span",{className:Bt,children:"$97"}),e.jsx("span",{className:Ht,children:"$297"})]})]}),e.jsx("div",{className:Yt,children:"SAVE $200 • 67% OFF"})]}),e.jsxs("div",{className:Gt,children:[e.jsxs("div",{className:Vt,children:[e.jsxs("p",{className:Jt,children:["🔥  Only ",e.jsxs("span",{className:Zt,children:[r," spots"]})," left!"]}),e.jsxs("div",{className:Xt,children:[e.jsx(W,{size:8}),e.jsxs("span",{children:[i," people viewing"]})]})]}),e.jsx("div",{className:qt,children:e.jsx("div",{className:Qt,style:{width:`${n}%`}})}),e.jsxs("p",{className:Kt,children:["Price increases to $297 after the next ",r," sales."]})]})]})})]})},ts=({selectedOption:t,setSelectedOption:s})=>e.jsx(es,{isActive:t===pt,onSelect:e=>s(pt,e)}),ss=`${x}/images/add-store/shopify-existing-store-img.png`,as=`${x}/images/add-store/shopify-pre-build-store-img.png`,rs="tw:flex tw:flex-col tw:min-[1200px]:flex-row tw:gap-24 tw:items-stretch tw:justify-center tw:w-full",is="tw:relative tw:flex tw:flex-col tw:min-[768px]:flex-row tw:min-[1200px]:flex-col tw:rounded-3xl tw:overflow-hidden tw:cursor-pointer tw:w-full  tw:min-[1200px]:max-w-[432px] tw:border-[2px] tw:border-solid",ns="tw:border-[#e49e4c] tw:shadow-lg",ls="tw:border-border",os="tw:flex tw:flex-col tw:gap-16 tw:pt-16 tw:pb-24 tw:px-24 tw:flex-1 tw:min-[1200px]:flex-none",cs="tw:flex tw:items-center tw:justify-between tw:gap-16 tw:min-h-[36px]",ds="tw:flex tw:flex-col tw:gap-4",ms="tw:font-semibold! tw:text-15! tw:text-text tw:mb-0! tw:font-heading",xs="tw:text-13 tw:text-text tw:mb-0!",ws="tw:hidden tw:min-[768px]:flex tw:bg-[#f7f9ff] tw:items-center tw:justify-center tw:min-[768px]:w-[255px] tw:min-[768px]:h-[200px] tw:min-[768px]:shrink-0 tw:min-[1200px]:w-full tw:min-[1200px]:h-auto tw:min-[1200px]:flex-1 tw:min-[1200px]:min-h-[192px]",ps="tw:max-w-full tw:max-h-full tw:object-contain",hs="tw:hidden tw:min-[1200px]:flex tw:gap-4 tw:items-center tw:flex-wrap",fs="tw:flex tw:min-[1200px]:hidden tw:gap-4 tw:items-center tw:flex-wrap",us="tw:bg-bg-fill-brand-light tw:text-[#e49e4c] tw:text-13 tw:font-semibold tw:px-12 tw:py-8 tw:rounded-full",gs=({selectedOption:t,setSelectedOption:s})=>e.jsxs("div",{className:rs,children:[e.jsxs("div",{className:`${is} ${t===B?ns:ls}`,onClick:()=>s(B),children:[e.jsxs("div",{className:os,children:[e.jsx("div",{className:cs,children:e.jsx(ye,{checked:t===B})}),e.jsxs("div",{className:ds,children:[e.jsx("p",{className:ms,children:"Existing Shopify Store"}),e.jsx("p",{className:xs,children:"I have a Shopify store - Connect it to AutoDS"})]})]}),e.jsx("div",{className:ws,children:e.jsx("img",{src:ss,alt:"Connect store",className:ps})})]}),e.jsxs("div",{className:`${is} ${t===H?ns:ls}`,onClick:()=>s(H),children:[e.jsxs("div",{className:os,children:[e.jsxs("div",{className:cs,children:[e.jsx(ye,{checked:t===H}),e.jsxs("div",{className:hs,children:[e.jsx("span",{className:us,children:"🏆  Hand-Picked Products"}),e.jsx("span",{className:us,children:"🎁  New for FREE"})]})]}),e.jsxs("div",{className:ds,children:[e.jsx("p",{className:ms,children:"AI Pre-built Shopify Store"}),e.jsx("p",{className:xs,children:"Use AI to generate a pre-built Shopify store"})]}),e.jsxs("div",{className:fs,children:[e.jsx("span",{className:us,children:"🏆  Hand-Picked Products"}),e.jsx("span",{className:us,children:"🎁  New for FREE"})]})]}),e.jsx("div",{className:ws,children:e.jsx("img",{src:as,alt:"Build store",className:ps})})]}),e.jsx(ts,{selectedOption:t,setSelectedOption:s})]}),bs=({isDisabled:t,onSubmit:s})=>e.jsxs("div",{className:"tw:flex tw:flex-col tw:items-center tw:gap-16",children:[e.jsx(w,{size:"large",type:"primary",className:"tw:rounded-lg",disabled:t,onClick:s,children:"Continue"}),e.jsx("div",{className:"tw:text-15 tw:font-regular ",children:"OR"}),e.jsx(w,{type:"link",className:"tw:font-regular!",onClick:()=>s(Y),children:"Create a Shop Manually"})]}),js=()=>e.jsxs("div",{className:"tw:flex tw:flex-col tw:gap-16 tw:text-center",children:[e.jsx("h2",{children:"Let’s connect your Shopify store"}),e.jsx("p",{className:"tw:text-15! tw:mb-0!",children:"Which store do you want to connect?"})]}),Ns=({isDisabled:t,selectedOption:s,setSelectedOption:a,onSubmit:r})=>e.jsxs("div",{className:"tw:flex tw:flex-col tw:items-center tw:gap-24 tw:flex-1 tw:w-screen tw:px-24",children:[e.jsx(js,{}),e.jsx(gs,{selectedOption:s,setSelectedOption:a}),e.jsx(bs,{onSubmit:r,isDisabled:t})]}),Ss=`${x}/images/add-store/claim-store.mp4`;var ys,vs,Cs,_s,Is,ks;function Os(){if(vs)return ys;vs=1;var e=ve();return ys=function(t){var s=t.length;return s?t[e(0,s-1)]:void 0}}const Es=s(function(){if(ks)return Is;ks=1;var e=Os(),t=function(){if(_s)return Cs;_s=1;var e=Os(),t=de();return Cs=function(s){return e(t(s))}}(),s=me();return Is=function(a){return(s(a)?e:t)(a)}}()),Ts=`${x}/images/lior-store-loader-img.png`,Ps=()=>e.jsx(Fe,{children:e.jsxs("div",{className:"tw:flex tw:flex-col tw:gap-32",children:[e.jsxs("div",{className:"tw:flex tw:bg-radial-[46.75%_46.75%_at_49.5%_-4%,_#0B0E31_0%,_#2D387E_100%] tw:rounded-3xl\n         tw:overflow-hidden tw:max-sm:flex-col",children:[e.jsxs("div",{className:"tw:flex tw:flex-col tw:items-start tw:justify-center tw:w-1/2 tw:text-text-inverse tw:pl-32\n          tw:py-20 tw:max-sm:w-full tw:max-sm:px-24 tw:max-sm:pt-32",children:[e.jsx(pe,{size:24}),e.jsx("h4",{className:"tw:text-left tw:text-text-inverse! tw:text-20! tw:my-8! tw:font-regular!",children:"These keys? They’re yours. Cat
1ch! You’re opening your first store exactly how I opened mine."}),e.jsx(he,{className:"tw:self-end",size:24}),e.jsx("h2",{className:"tw:text-text-inverse! tw:mt-8",children:"Lior Pozin"}),e.jsx("h4",{className:"tw:text-text-inverse! tw:text-20! tw:mb-0! tw:text-left",children:"Co-Founder & CEO, AutoDS"})]}),e.jsx("div",{className:"tw:w-1/2 tw:flex tw:items-end tw:justify-end tw:max-sm:w-full",children:e.jsx("img",{alt:"Lior img",className:"tw:max-w-full tw:object-contain",src:Ts})})]}),e.jsx(fe,{size:"large"})]})}),zs={[h.CONNECT_STORE]:{component:()=>{const s=S(),{niches:a,setNiches:r,onStep:i,onCacheFormData:l}=Ls(),o=n(G,{addonType:j,duration:30}),c=n(V,{sellSite:Q}),[d,x]=t.useState(null),w=()=>{l({[X]:"Pro",[y]:!1}),i(h.SELECT_NICHE)},p=()=>{l({[X]:"Default",[Z]:!0,[y]:!1}),i(h.SELECT_NICHE)},f=async()=>{const{success:e,data:t}=await ie.getUserPurchases();return!(!e||!ne(t?.userPurchases,{purchaseType:"protheme",isActive:!0}))};return t.useEffect(()=>{!a.length&&(async()=>{const{success:e,data:t}=await D.getNichesList();e&&r(t?.results)})()},[]),t.useEffect(()=>{const e=localStorage.getItem(m.cameFromProThemeBanner),t=localStorage.getItem(m.cameFromZipStoreOffer);if(e)return localStorage.removeItem(m.cameFromProThemeBanner),void(async()=>{await f()&&(J(pt),w())})();t&&(localStorage.removeItem(m.cameFromZipStoreOffer),p())},[]),e.jsx(Ns,{isDisabled:!d,selectedOption:d,setSelectedOption:(e,t)=>{e===pt&&re(t),x(e)},onSubmit:async e=>{const t="string"==typeof e?e:d;if(J(t),t!==B){if(t===Y)return l({[X]:"Default",[y]:!0}),void i(h.CLAIM_YOUR_STORE);if(t===pt){K();return await f()?void w():void s(ee({name:te,onSuccess:w}))}if("zipStore"===t){if(!o?.id)return;return s(se({addons:[{status:!0,addonId:o.id}]},`add_on_${j}`)),void s(ee({name:ae,addonType:j,addonId:o.id,cleanInvoice:!1,isPaymentMethodVisible:!1,...!c&&{onSuccess:p}}))}l({[X]:"Default",[y]:!1}),i(h.SELECT_NICHE)}else q(Q)}})}},[h.SELECT_NICHE]:{breadcrumbs:{primary:{current:ue.configureStore,
1next:ue.claimYourStore},secondary:{current:ue.selectNiche,next:ue.chooseBanners}},title:e.jsx("h2",{children:"Select Your Niche"}),description:e.jsx("span",{className:"ff-regular",children:"Select a niche that aligns with your interests and target audience."}),containerContent:()=>{const{niches:t,formData:s,onFromData:a,onCacheFormData:n,onStep:l}=Ls(),o=[...t,xe],c=s[I],d=we(c);return e.jsxs(e.Fragment,{children:[e.jsx(Te,{children:r(o,({id:t,name:s,icon:r},n)=>{return e.jsxs(Pe,{className:i({"bg-warning-15 border-warning":c.id===t}),onClick:(l={id:t,name:s},()=>a({[I]:l})),children:[e.jsx(ye,{className:"w-p-100",checked:c.id===t}),e.jsx("img",{className:"m-t-15 m-b-15 w-p-100 max-w-300 h-auto br-4",src:r,alt:"niche icon"}),e.jsx("p",{className:"m-0 ta-c fz-15",children:s})]},n);var l})}),e.jsxs(Be,{children:[e.jsx(w,{size:"large",type:"text",className:"fz-15",icon:e.jsx(T,{}),onClick:()=>l(h.CONNECT_STORE),children:"Go Back"}),e.jsx(P,{title:d&&"Please select niche to continue",placement:"top",children:e.jsx(w,{size:"large",type:"primary",className:"fz-15",disabled:d,onClick:()=>{if(c.id)n({[I]:s[I]});else{const{id:e,name:s}=Es(t);n({[I]:{id:e,name:s}})}l(h.SELECT_BANNERS)},children:"Continue"})})]})]})},maxWidth:1100,mixPanelName:"set_up_choose_niche"},[h.SELECT_BANNERS]:{breadcrumbs:{primary:{current:ue.configureStore,
1next:ue.claimYourStore},secondary:{prev:ue.selectNiche,current:ue.chooseBanners}},title:e.jsxs("h2",{children:["Choose ",e.jsx("span",{className:"c-warning",children:"2 Banners"})," for Your Homepage"]}),description:e.jsxs("div",{children:[e.jsx("span",{className:"ff-regular",children:"We've designed 6 banner options for your homepage."}),e.jsx("br",{}),e.jsxs("span",{className:"ff-regular",children:["Please select ",e.jsx("span",{className:"c-warning",children:"two"}),", and we'll add them to your store's homepage"]})]}),containerContent:()=>{const{formData:t,onFromData:s,onCacheFormData:a,onStep:n}=Ls(),l=JSON.parse(localStorage.getItem(m.addStoreData))||{},o=t[I]?.id?t[I]:l[I],c=t[k],d=c.length>=2,x=o?.name,p=o?.name&&Array.from({length:6},(e,t)=>t+1);return e.jsxs(e.Fragment,{children:[e.jsx(ze,{children:r(p,t=>{const a=O(c,t),r=E(x,t).preview;return e.jsx(De,{className:i({selected:a,"disabled-events":!a&&d}),banner:r,onClick:(n=t,()=>s({[k]:O(c,n)?z(c,e=>e!==n):[...c,n]}))},t);var n})}),e.jsxs(Be,{children:[e.jsx(w,{size:"large",type:"text",className:"fz-15",icon:e.jsx(T,{}),onClick:()=>{s({[k]:[]}),n(h.SELECT_NICHE)},children:"Go Back"}),e.jsx(P,{title:!d&&"Please select 2 banners to continue",placement:"top",children:e.jsx(w,{size:"large",type:"primary",className:"fz-15",disabled:!d,onClick:()=>{a({[k]:c}),n(h.CLAIM_YOUR_STORE)},children:"Continue"})})]})]})},maxWidth:1100,mixPanelName:"set_up_choose_banner"},[h.CLAIM_YOUR_STORE]:{breadcrumbs:{primary:{current:ue.claimYourStore,next:ue.activateShopifyTrial}},title:e.jsx("h2",{children:"Claim Your Store on Shopify"}),containerContent:()=>{const{onStep:s,onCacheFormData:a}=Ls(),[r,i]=t.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(Ae,{children:e.jsxs("div",{className:"tw:flex tw:flex-col border-b-1 border-grey100",children:[e.jsx("p",{className:"tw:mb-0!",children:"We've built your store — now just click \"Claim store\" on the next screen and it's yours. We'll bring you straight back to launch."}),e.jsx("video",{className:"w-p-100 h-auto tw:rounded-md",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:wt}),e.jsx("p",{className:"tw:w-full tw:font-semibold! tw:text-left",children:"What Happens Next:"}),e.jsx(Se,{progressDot:!0,current:3,direction:"vertical",className:"tw:font-regular!",items:[{title:"You’re taken to Shopify"},{title:"Click “Claim Store” - one button"},{title:"We bring you back here"}]})]})}),e.jsxs(Be,{children:[e.jsx(w,{size:"large",type:"text",className:"fz-15",icon:e.jsx(T,{}),onClick:()=>s(h.SELECT_BANNERS),children:"Go Back"}),e.jsx(w,{size:"large",type:"primary",className:"fz-15",loading:r,onClick:async()=>{i(!0);const{success:e,data:t,error:s}=await D.getClaimStoreUrl({redirectUrl:`${A}${L}`});e&&t?.claimStoreUrl?(a({[U]:t.shopId,[f]:t.shopDomain,[F]:t.claimStoreUrl}),window.location.href=`${M}?u=${t.claimStoreUrl}`):(i(!1),R("error",s))},children:"Claim My Store"})]})]})},maxWidth:850,mixPanelName:"set_up_open_store",manual:{containerContent:()=>{const{onStep:s,onCacheFormData:a}=Ls(),[r,i]=t.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(Ae,{children:e.jsxs("div",{className:"tw:flex tw:flex-col border-b-1 border-grey100",children:[e.jsx("p",{className:"tw:mb-0!",children:'Sign in to Shopify (or create your store), then click "Claim store" on the next screen to connect it to AutoDS. We\'ll bring you straight back here.'}),e.jsx("video",{className:"w-p-100 h-auto tw:rounded-md",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:Ss}),e.jsx("p",{className:"tw:w-full tw:font-semibold! tw:text-left",children:"What Happens Next:"}),e.jsx(Se,{progressDot:!0,current:3,direction:"vertical",className:"tw:font-regular!",items:[{title:"You’re taken to Shopify"},{title:'Sign in and click "Claim Store"'},{title:"We bring you back here"}]})]})}),e.jsxs(Be,{children:[e.jsx(w,{size:"large",type:"text",className:"fz-15",icon:e.jsx(T,{}),onClick:()=>s(h.CONNECT_STORE),children:"Go Back"}),e.jsx(w,{size:"large",type:"primary",className:"fz-15",loading:r,onClick:async()=>{i(!0);const{success:e,data:t,error:s}=await D.getClaimStoreUrl({redirectUrl:`${A}${L}`});e&&t?.claimStoreUrl?(a({[U]:t.shopId,[f]:t.shopDomain,[F]:t.claimStoreUrl}),window.location.href=`${M}?u=${t.claimStoreUrl}`):(i(!1),R("error",s))},children:"Claim My Store"})]})]})}}},[h.ACTIVATE_STORE_TRIAL]:{breadcrumbs:{primary:{current:ue.activateShopifyTrial,next:ue.storeCustomization}},title:e.jsx("h2",{children:"Activate Your $1 Shopify Trial"}),containerContent:()=>{const{onStep:t,onCacheFormData:s}=Ls(),a=JSON.parse(localStorage.getItem(m.addStoreData))||{};return e.jsxs(e.Fragment,{children:[e.jsx(Le,{children:e.jsxs("div",{className:"tw:flex tw:flex-col jc-sb tw:gap-12 ai-c border-b-1 border-grey100",children:[e.jsxs("p",{className:"tw:mb-0!",children:["You're still signed in to Shopify, so this is quick - just hit pay.",e.jsx("span",{className:"tw:text-orange-6 tw:font-semibold",children:" 3 months for $1. "}),"We’ll open Shopify in a new tab."]}),e.jsx("video",{className:"w-p-100 h-auto tw:rounded-xl",autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,src:He}),e.jsx(je,{content:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"tw:font-semibold",children:"Don't close this tab!: "}),"Pay on Shopify tab, then pop right back here."]}),variant:"warning"})]})}),e.jsx(Be,{className:"jc-fe",children:e.jsx(w,{size:"large",type:"primary",className:"fz-15",onClick:()=>{window.open(p[h.ACTIVATE_STORE_TRIAL](a[f]),"_blank"),s({[u]:h.STORE_CUSTOMIZATION}),t(h.STORE_CUSTOMIZATION)},children:"Open Payment Page in a New Tab"})})]})},maxWidth:850,mixPanelName:"set_up_payment",manual:{breadcrumbs:{primary:{current:ue.activateShopifyTrial}}}},[h.STORE_CUSTOMIZATION]:{breadcrumbs:{primary:{current:ue.storeCustomization},secondary:{current:ue.storeCustomization,next:ue.publishStore}},title:e.jsx("h2",{children:"Store AI Customization"}),containerContent:()=>{const s=S(),a=n(d),{onStep:i,onCacheFormData:l}=Ls(),[o,c]=t.useState(!1),x=JSON.parse(localStorage.getItem(m.addStoreData))||{},p=r(x[k],e=>E(x[I].name,e).full),f=async()=>{const{success:e,error:t}=await D.setStoreTheme({storeId:x[v].id},{niche_id:x[I].id,home_page_banner_urls:p,theme_type:x[X]||"Default"});e?((async()=>{const{success:e,data:t}=await ie.getUserPurchases();if(e){const e=ne(t?.userPurchases,{purchaseType:"protheme"});e?.purchaseId&&ie.getUserPurchaseIsActive({purchaseId:e.purchaseId},{isActive:!1})}})(),a?l({[u]:h.STORE_CUSTOMIZATION}):localStorage.setItem(m.addStoreData,JSON.stringify({[v]:{name:x[v].name}})),setTimeout(()=>i(h.PUBLISH_STORE),5e3)):(c(!1),R("error",t))};return o?e.jsx(Ps,{}):e.jsxs(e.Fragment,{children:[e.jsxs(Fe,{children:[e.jsx("img",{className:"w-p-100 max-w-300 h-auto m-b-15",src:"/CXopE4mq.png",alt:"Shopify store customization image"}),e.jsx("span",{className:"fz-18 m-b-5",children:"Make Your Store Unique"}),e.jsxs("span",{className:"ff-regular",children:["Just hit the ‘",e.jsx("span",{className:"ff-bold",children:"Customize My Store"}),"’ button and in under a minute, our AI will do all the customization work for your store, saving you weeks of design and programming time."]})]}),e.jsx(Be,{className:"jc-fe",children:e.jsx(w,{size:"large",type:"primary",className:"fz-15",onClick:async()=>{if(c(!0),x[le])return void f();const{success:e,data:t,error:a}=await oe.getStorePlan({storeId:x[v].id});e?t?.isStoreOnTrial?(s(ee({name:ce})),c(!1)):f():(c(!1),R("error",a))},children:"Customize My Store"})})]})},maxWidth:850,mixPanelName:"set_up_store_customize",manual:{title:e.jsx("h2",{children:"Verify Your Shopify Trial"}),breadcrumbs:{primary:{current:ue.activateShopifyTrial}},containerContent:()=>{const s=S(),{onStep:a,onCacheFormData:r}=Ls(),[i,n]=t.useState(!1),l=JSON.parse(localStorage.getItem(m.addStoreData))||{},o=()=>{r({[u]:h.SUCCESS}),a(h.SUCCESS)};return e.jsxs(e.Fragment,{children:[e.jsx(Le,{children:e.jsxs("div",{className:"tw:flex tw:flex-col jc-sb tw:gap-12 ai-c border-b-1 border-grey100",children:[e.jsxs("p",{className:"tw:mb-0!",children:["Once you've completed the ",e.jsx("span",{className:"tw:font-semibold",children:"3 months for $1"})," payment on the Shopify tab, come back here and click Continue — we'll confirm it with Shopify."]}),e.jsx(je,{content:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"tw:font-semibold",children:"Paid already? "}),"Hit Continue and we'll verify your trial with Shopify."]}),variant:"warning"})]})}),e.jsx(Be,{className:"jc-fe",children:e.jsx(w,{size:"large",type:"primary",className:"fz-15",loading:i,onClick:async()=>{if(n(!0),l[le])return void o();const{success:e,data:t,error:a}=await oe.getStorePlan({storeId:l[v].id});e?t?.isStoreOnTrial?(s(ee({name:ce})),n(!1)):o():(n(!1),R("error",a))},children:"Continue"})})]})}}},[h.PUBLISH_STORE]:{breadcrumbs:{primary:{current:ue.storeCustomization},secondary:{current:ue.publishStore,prev:ue.storeCustomization}},title:e.jsx("h2",{children:"Publish Your Store"}),containerContent:()=>{const[s,a]=t.useState(!0),{onStep:r,onCacheFormData:i}=Ls(),l=n(d),o=()=>{window.open(p[h.PUBLISH_STORE],"_blank"),a(!1),l&&i({[u]:h.PUBLISH_STORE})};return e.jsxs(e.Fragment,{children:[e.jsxs(Ue,{children:[e.jsxs("div",{className:"flex jc-sb gap-5 ai-c border-b-1 border-grey100",children:[e.jsxs("span",{className:"ff-regular w-p-100",children:["1. ",e.jsx("span",{className:"ff-semi-bold td-underline c-blue-200 pointer",onClick:o,children:"Access Shopify"}),"  to Publish Store. It will open in a new tab, so you can easily switch back."]}),e.jsx(w,{size:"large",type:"primary",className:"fz-15",onClick:o,children:"Access Shopify"})]}),e.jsxs("div",{className:"flex column gap-5 border-b-1 border-grey100",children:[e.jsxs("span",{className:"ff-regular",children:["2. Uncheck ‘",e.jsx("span",{className:"ff-semi-bold",children:"Restrict access to visitors with password"}),"’."]}),e.jsx("img",{className:"w-p-100 h-auto",src:"/D2npyf1L.gif",alt:"Shopify store customization image"})]}),e.jsx("div",{className:"border-b-1 border-grey100",children:e.jsxs("span",{className:"ff-regular",children:["3. Click ‘",e.jsx("span",{className:"ff-semi-bold",children:"Save"}),"’."]})}),e.jsx("div",{className:"border-b-1 border-grey100",children:e.jsx("span",{className:"ff-regular",children:"4. Return to this tab to continue."})}),e.jsx("div",{children:e.jsxs("span",{className:"ff-regular",children:["5. Hit the ‘",e.jsx("span",{className:"ff-semi-bold",children:"Continue"}),"’ button to move on. Your store will be ready in the next step."]})})]}),e.jsx(Be,{className:"jc-fe",children:e.jsx(w,{size:"large",type:"primary",className:"fz-15",disabled:s,onClick:()=>r(h.SUCCESS),children:"Continue"})})]})},maxWidth:850,mixPanelName:"set_up_publish_store"},[h.SUCCESS]:{component:()=>{const{push:t}
1=N(),s=S(),a=n(d),r=JSON.parse(localStorage.getItem(m.addStoreData))||{};return e.jsxs(Me,{children:[e.jsxs("div",{className:"flex column ai-c w-p-100",children:[e.jsx("img",{className:"w-p-100 h-auto max-w-200 m-b-20",src:Ne,alt:"success image"}),e.jsx("h2",{className:"m-b-10 ta-c",children:"Your Shopify Store Is Live!"}),e.jsx("span",{className:"ff-regular ta-c",children:"All set! Now, just sit back, relax, and watch your business grow!"})]}),e.jsx(w,{size:"large",type:"primary",className:"fz-15",onClick:()=>{const e=p[h.SUCCESS](r[v].name);window.open(e,"_blank"),localStorage.removeItem(m.addStoreData),a&&s({type:C,payload:{user:{user_state:{isOnboarding:!1}}}}),t(_)},children:"Access My Store"}),!r[y]&&e.jsx(xt,{})]})},mixPanelName:"set_up_store_published"}},Ds=t.createContext({}),{Provider:As}=Ds,Ls=()=>t.useContext(Ds),Fs=()=>{const s=JSON.parse(localStorage.getItem(m.addStoreData))||{},[a,r]=t.useState(s[u]||h.CONNECT_STORE),[i,n]=t.useState([]),[l,o]=t.useState({[I]:{},[k]:[],[v]:s[v]||{}}),c=s[y],d=zs[a],x=c&&d.manual?{...d,...d.manual}:d,{component:w=We,mixPanelName:p,manual:f,...g}=x;t.useEffect(()=>{p&&ge("View Window",{"Window Type":"bys_funnel","Window Name":p})},[a]);const b={stepData:g,niches:i,setNiches:n,formData:l,onStep:e=>{r(e),window.scrollTo({top:0,behavior:"smooth"})},onFromData:e=>o(t=>({...t,...e})),onCacheFormData:e=>localStorage.setItem(m.addStoreData,JSON.stringify({...s,...e}))};return e.jsx(As,{value:b,children:e.jsx(w,{})})},Us=t.memo(()=>{const t=n(d);return e.jsx(Ce,{isOnboarding:t,children:e.jsx(Fs,{})})}),Ms=Object.freeze(Object.defineProperty({__proto__:null,default:Us},Symbol.toStringTag,{value:"Module"}));export{Us as A,Ms as a,jt as u};

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.