PageSourceSearch

https://magicretake.app/_nuxt/DINV1Z8c.js

js magicretake.app collected 2026-10-09 16:55:41 UTC 23,137 bytes, 31 lines download raw bytes

1import{B as xe}from"./CRmEIWDb.js";import{A as be,a as he,b as ke}from"./9yKO8s6Q.js";import{T as _e,a as we,b as Ce,c as Se}from"./BNUvLbd4.js";import{C as Ie,a as Pe,b as Ue}from"./cyUelfxM.js";import{I as Te}from"./CcPPHZck.js";import{S as Ve}from"./yL8oRhln.js";import{C as Me}from"./K2QtPg65.js";import{C as Be}from"./BCiCp9nx.js";import{B as Ee}from"./CJmEgCIL.js";import{L as De}from"./DJWk2446.js";import{T as Ne}from"./B70z8zcQ.js";import{S as Oe}from"./BAOAE9Nl.js";import{S as je}from"./Dn3lhLLH.js";import{e as Le,q as Ae,r as y,bT as X,x as Fe,s as J,c as P,o as p,a as s,b as t,L as c,g as Y,w as o,K as h,d as n,h as d,F as H,k as R,t as f,T as ee,z as qe}from"#entry";import{h as Je}from"./0f0XNADI.js";import{D as He,a as Re,b as ze,c as Ge,d as Qe}from"./Bx1YkclB.js";import"./DU5acZ8b.js";import{D as We}from"./Bi9MIFHC.js";import{D as $e}from"./Bv5xW1KC.js";import{U as te}from"./DBCm6qIa.js";import{W as Ke}from"./DbzlKyHl.js";import{C as Ze}from"./Bt0gm6oG.js";import{c as U}from"./DxYjk6yg.js";import{H as oe,P as Xe}from"./DeItKsCv.js";import{F as z}from"./iqx1jFpt.js";import{S as Ye}from"./DIG0jqSq.js";import{C as et}from"./BwJw2i0S.js";import{I as tt}from"./Clrl58ZK.js";import{E as se}from"./B1FkK7VC.js";import{R as ot}from"./Brxwrxgn.js";import{L as st}from"./Dgyd19qE.js";import{S as at}from"./DHztsO3u.js";import{C as lt}from"./D7X9GIOp.js";import{F as nt}from"./-s8bIUGb.js";import{S as it}from"./DUHGY2LG.js";import{C as rt}from"./CnC7sYvo.js";import{S as ut}from"./BLvMdBH7.js";import{C as dt}from"./fdge5C0Y.js";import{D as pt}from"./hyb4NqEq.js";import{U as mt}from"./a_uwgy8p.js";import{C as ae}from"./Cu3XJCKx.js";import{C as le}from"./DQOgadmV.js";import{_ as ct}from"./DlAUqK2U.js";import"./OaRjpU2K.js";import"./BSMlXKon.js";import"./BkLtITBR.js";import"./C50x5zDf.js";/**
2 * @license lucide-vue-next v0.441.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const ft=U("BriefcaseIcon",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
7 * @license lucide-vue-next v0.441.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const gt=U("CirclePlayIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/**
12 * @license lucide-vue-next v0.441.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const yt=U("MessageSquareIcon",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
17 * @license lucide-vue-next v0.441.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const vt=U("PartyPopperIcon",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]);/**
22 * @license lucide-vue-next v0.441.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const xt=U("SlidersVerticalIcon",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
27 * @license lucide-vue-next v0.441.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const bt=U("TrophyIcon",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}
31],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]),ht={class:"container mx-auto p-6 max-w-[1400px]"},kt={class:"flex flex-col gap-6 mb-8"},_t={class:"flex items-center justify-between"},wt={class:"flex items-center gap-2"},Ct={class:"grid grid-cols-1 lg:grid-cols-3 gap-6"},St={class:"relative mt-3"},It={class:"px-6 py-2 bg-muted/50 dark:bg-muted/20"},Pt={class:"text-sm font-medium text-muted-foreground"},Ut={class:"p-2"},Tt={class:"flex-1 text-left"},Vt={class:"font-medium"},Mt={class:"text-xs text-muted-foreground"},Bt={class:"flex items-center justify-between"},Et={class:"flex items-center gap-3"},Dt={class:"p-2 bg-primary/10 dark:bg-primary/20 rounded-lg"},Nt={class:"text-xs text-muted-foreground"},Ot={class:"space-y-2"},jt={class:"p-4 bg-muted/30 dark:bg-muted/20 rounded-lg border"},Lt={class:"space-y-2"},At={class:"text-lg font-semibold"},Ft={class:"text-sm text-muted-foreground"},qt={class:"text-sm"},Jt={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Ht={class:"flex items-center justify-between"},Rt={class:"space-y-0.5"},zt={class:"space-y-4"},Gt={class:"space-y-2"},Qt={class:"space-y-2"},Wt={class:"space-y-4"},$t={class:"flex items-center justify-center p-12 bg-muted/20 rounded-lg border-2 border-dashed"},Kt={class:"text-center space-y-4"},Zt={class:"flex items-center justify-between"},Xt={class:"text-sm"},Yt=Le({__name:"onboarding-config",setup(eo){const v=Ae(),G=y("pages"),m=y("welcome");y(null);const B=y(!1),E=y(""),T=y(!1),D=y(""),N=y(!1);y(!1);const i=y({enableUploads:v.isUploadEnabled,minImages:v.minImages,maxImages:v.maxImages,texts:JSON.parse(JSON.stringify(v.onboardingTexts||X))}),{copy:ne,copied:F}=Je();Fe(i,()=>{const a={enableUploads:v.isUploadEnabled,minImages:v.minImages,maxImages:v.maxImages,texts:v.onboardingTexts};T.value=JSON.stringify(i.value)!==JSON.stringify(a)},{deep:!0});const q={"Main Flow":[{id:"welcome",title:"Welcome",icon:et,description:"Initial landing page"},{id:"purpose",title:"Purpose Selection",icon:yt,description:"User selects their purpose"},{id:"upload",title:"Photo Upload",icon:tt,description:"Upload photos for processing"},{id:"review",title:"Review Photos",icon:se,description:"Review uploaded photos"},{id:"preference",title:"Editing Preference",icon:xt,description:"Natural vs edited preference"},{id:"style",title:"Style Selection",icon:Xe,description:"Choose style path"}],"Style Paths":[{id:"fun-intro",title:"Fun Path Intro",icon:vt,description:"Introduction to fun style",path:"fun"},{id:"fun-eval",title:"Fun Path Evaluation",icon:oe,description:"Evaluate fun edits",path:"fun"},{id:"fun-filters",title:"Fun Path Filters",icon:z,description:"Select fun filters",path:"fun"},{id:"professional-intro",title:"Professional Path Intro",icon:ft,description:"Introduction to professional style",path:"professional"},{id:"professional-eval",title:"Professional Path Evaluation",icon:te,description:"Evaluate professional edits",path:"professional"},{id:"professional-filters",title:"Professional Path Filters",icon:z,description:"Select professional filters",path:"professional"},{id:"glamorous-intro",title:"Glamorous Path Intro",icon:Ye,description:"Introduction to glamorous style",path:"glamorous"},{id:"glamorous-eval",title:"Glamorous Path Evaluation",icon:oe,description:"Evaluate glamorous edits",path:"glamorous"},{id:"glamorous-filters",title:"Glamorous Path Filters",icon:z,description:"Select glamorous filters",path:"glamorous"}],"Final Steps":[{id:"signup",title:"Sign Up",icon:te,description:"User registration"},{id:"experience",title:"AI Experience",icon:Ke,description:"AI processing animation"},{id:"payment",title:"Payment",icon:Ze,description:"Subscription options"},{id:"congratulations",title:"Success",icon:bt,description:"Completion page"}]},ie=J(()=>Object.values(q).flat()),re=J(()=>{if(!D.value)return q;const a=D.value.toLowerCase(),e={};return Object.entries(q).forEach(([u,l])=>{const x=l.filter(b=>b.title.toLowerCase().includes(a)||b.description.toLowerCase().includes(a)||b.id.includes(a));x.length>0&&(e[u]=x)}),e}),V=J(()=>ie.value.find(a=>a.id===m.value)),g=(a,e)=>{const u=i.value.texts,x={welcome:u.welcome,purpose:u.purpose,upload:u.photoUpload,review:u.photoReview,preference:u.photoEditingPreference,agreement:u.agreement,style:u.photoStyle,signup:u.signup,experience:u.experience,payment:u.payment,congratulations:u.congratulations}[a];return x&&x[e]||""},Q=(a,e,u)=>{const l=i.value.texts;a==="welcome"&&!l.welcome&&(l.welcome={}),a==="purpose"&&!l.purpose&&(l.purpose={}),a==="upload"&&!l.photoUpload&&(l.photoUpload={}),a==="review"&&!l.photoReview&&(l.photoReview={}),a==="preference"&&!l.photoEditingPreference&&(l.photoEditingPreference={}),a==="agreement"&&!l.agreement&&(l.agreement={}),a==="style"&&!l.photoStyle&&(l.photoStyle={}),a==="signup"&&!l.signup&&(l.signup={}
31),a==="experience"&&!l.experience&&(l.experience={}),a==="payment"&&!l.payment&&(l.payment={}),a==="congratulations"&&!l.congratulations&&(l.congratulations={});const b={welcome:l.welcome,purpose:l.purpose,upload:l.photoUpload,review:l.photoReview,preference:l.photoEditingPreference,agreement:l.agreement,style:l.photoStyle,signup:l.signup,experience:l.experience,payment:l.payment,congratulations:l.congratulations}[a];b&&(b[e]=u)},ue=a=>({welcome:[{key:"title",label:"Title",type:"text",description:"Welcome page title"},{key:"brand",label:"Brand Name",type:"text",description:"App brand name"},{key:"subtitle",label:"Subtitle",type:"text",description:"Welcome page subtitle"},{key:"startButton",label:"Start Button",type:"text",description:"Start button text"}],purpose:[{key:"question",label:"Question",type:"text",description:"Purpose selection question"},{key:"continueButton",label:"Continue Button",type:"text",description:"Continue button text"}],upload:[{key:"heading",label:"Heading",type:"text",description:"Photo upload heading"}],review:[{key:"heading",label:"Heading",type:"text",description:"Photo review heading"},{key:"subtitle",label:"Subtitle",type:"text",description:"Photo review subtitle"}],preference:[{key:"question",label:"Question",type:"textarea",description:"Editing preference question"},{key:"subtitle",label:"Subtitle",type:"text",description:"Question subtitle"}],agreement:[{key:"title",label:"Title",type:"text",description:"Agreement page title"},{key:"emoji",label:"Emoji",type:"text",description:"Agreement emoji"},{key:"subtitle",label:"Subtitle",type:"text",description:"Agreement subtitle"},{key:"nextButton",label:"Next Button",type:"text",description:"Next button text"}],style:[{key:"question",label:"Question",type:"text",description:"Style selection question"},{key:"continueButton",label:"Continue Button",type:"text",description:"Continue button text"}],signup:[{key:"title",label:"Title",type:"text",description:"Signup page title"},{key:"subtitle",label:"Subtitle",type:"text",description:"Signup page subtitle"}],experience:[{key:"heading",label:"Heading",type:"text",description:"Experience page heading"},{key:"letsGoButton",label:"Lets Go Button",type:"text",description:"Lets go button text"}],payment:[{key:"discountBanner",label:"Discount Banner",type:"text",description:"Discount banner text"},{key:"heading",label:"Heading",type:"text",description:"Payment page heading"},{key:"subtitle",label:"Subtitle",type:"text",description:"Payment page subtitle"}],congratulations:[{key:"badge",label:"Badge",type:"text",description:"Success badge text"},{key:"subtitle",label:"Subtitle",type:"text",description:"Success subtitle"},{key:"heading",label:"Heading",type:"text",description:"Success heading"}]})[a]||[],de=async()=>{N.value=!0;try{v.setOnboardingTexts(i.value.texts),await new Promise(a=>setTimeout(a,1e3)),T.value=!1,h.success("Configuration saved successfully")}catch{h.error("Failed to save configuration")}finally{N.value=!1}},pe=()=>{const a={enableUploads:i.value.enableUploads,minImages:i.value.minImages,maxImages:i.value.maxImages,texts:i.value.texts},e=new Blob([JSON.stringify(a,null,2)],{type:"application/json"}),u=URL.createObjectURL(e),l=document.createElement("a");l.href=u,l.download=`onboarding-config-${new Date().toISOString().split("T")[0]}.json`,l.click(),URL.revokeObjectURL(u),h.success("Configuration exported")},me=()=>{try{const a=JSON.parse(E.value);a.enableUploads!==void 0&&(i.value.enableUploads=a.enableUploads),a.minImages!==void 0&&(i.value.minImages=a.minImages),a.maxImages!==void 0&&(i.value.maxImages=a.maxImages),a.texts&&(i.value.texts={...i.value.texts,...a.texts}),B.value=!1,E.value="",h.success("Configuration imported successfully")}catch{h.error("Invalid JSON format")}},ce=()=>{i.value={enableUploads:!0,minImages:4,maxImages:9,texts:JSON.parse(JSON.stringify(X))},h.success("Configuration reset to defaults")},W=()=>{const a={enableUploads:i.value.enableUploads,minImages:i.value.minImages,maxImages:i.value.maxImages,texts:i.value.texts};ne(JSON.stringify(a,null,2)),h.success("Configuration copied to clipboard")};return(a,e)=>
31{const u=xe,l=he,x=ke,b=be,O=Ce,fe=we,k=Pe,j=Te,_=Ie,$=Ve,w=Me,C=Be,M=Ue,ge=Ee,L=De,K=Ne,Z=Oe,A=Se,ye=je,ve=_e;return p(),P("div",ht,[s("div",kt,[s("div",_t,[e[10]||(e[10]=s("div",null,[s("h1",{class:"text-3xl font-bold"},"Onboarding Configuration"),s("p",{class:"text-muted-foreground mt-1"}," Manage the onboarding flow, texts, and user journey for Magic Retake ")],-1)),s("div",wt,[t(u,{variant:"outline",size:"sm",onClick:ce,disabled:!T.value},{default:o(()=>[t(d(ot),{class:"w-4 h-4 mr-2"}),e[8]||(e[8]=n(" Reset ",-1))]),_:1},8,["disabled"]),t(u,{size:"sm",onClick:de,disabled:!T.value||N.value},{default:o(()=>[N.value?(p(),c(d(st),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):(p(),c(d(at),{key:1,class:"w-4 h-4 mr-2"})),e[9]||(e[9]=n(" Save Changes ",-1))]),_:1},8,["disabled"])])]),T.value?(p(),c(b,{key:0,class:"border-orange-200 bg-orange-50 dark:bg-orange-950/20"},{default:o(()=>[t(d(lt),{class:"h-4 w-4 text-orange-600"}),t(l,null,{default:o(()=>[...e[11]||(e[11]=[n("Unsaved Changes",-1)])]),_:1}),t(x,null,{default:o(()=>[...e[12]||(e[12]=[n(" You have unsaved changes. Don't forget to save before leaving this page. ",-1)])]),_:1})]),_:1})):Y("",!0)]),t(ve,{modelValue:G.value,"onUpdate:modelValue":e[7]||(e[7]=r=>G.value=r),class:"space-y-6"},{default:o(()=>[t(fe,{class:"grid w-full max-w-[600px] grid-cols-4"},{default:o(()=>[t(O,{value:"pages"},{default:o(()=>[t(d(nt),{class:"w-4 h-4 mr-2"}),e[13]||(e[13]=n(" Pages ",-1))]),_:1}),t(O,{value:"settings"},{default:o(()=>[t(d(it),{class:"w-4 h-4 mr-2"}),e[14]||(e[14]=n(" Settings ",-1))]),_:1}),t(O,{value:"preview"},{default:o(()=>[t(d(se),{class:"w-4 h-4 mr-2"}),e[15]||(e[15]=n(" Preview ",-1))]),_:1}),t(O,{value:"json"},{default:o(()=>[t(d(rt),{class:"w-4 h-4 mr-2"}),e[16]||(e[16]=n(" JSON ",-1))]),_:1})]),_:1}),t(A,{value:"pages",class:"space-y-6"},{default:o(()=>[s("div",Ct,[t(C,{class:"lg:col-span-1"},{default:o(()=>[t(_,null,{default:o(()=>[t(k,{class:"text-lg"},{default:o(()=>[...e[17]||(e[17]=[n("Onboarding Pages",-1)])]),_:1}),s("div",St,[t(d(ut),{class:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4"}),t(j,{modelValue:D.value,"onUpdate:modelValue":e[0]||(e[0]=r=>D.value=r),placeholder:"Search pages...",class:"pl-9"},null,8,["modelValue"])])]),_:1}),t(w,{class:"p-0"},{default:o(()=>[t($,{class:"h-[600px]"},{default:o(()=>
31[(p(!0),P(H,null,R(re.value,(r,S)=>(p(),P("div",{key:S,class:"mb-6"},[s("div",It,[s("h4",Pt,f(S),1)]),s("div",Ut,[(p(!0),P(H,null,R(r,I=>(p(),c(u,{key:I.id,variant:"ghost",class:qe(["w-full justify-start gap-3 mb-1",{"bg-accent":m.value===I.id}]),onClick:to=>m.value=I.id},{default:o(()=>[(p(),c(ee(I.icon),{class:"w-4 h-4 text-muted-foreground"})),s("div",Tt,[s("div",Vt,f(I.title),1),s("div",Mt,f(I.description),1)]),t(d(dt),{class:"w-4 h-4 text-muted-foreground"})]),_:2},1032,["class","onClick"]))),128))])]))),128))]),_:1})]),_:1})]),_:1}),t(C,{class:"lg:col-span-2"},{default:o(()=>[t(_,null,{default:o(()=>[s("div",Bt,[s("div",Et,[s("div",Dt,[(p(),c(ee(V.value?.icon),{class:"w-5 h-5 text-primary"}))]),s("div",null,[t(k,null,{default:o(()=>[n(f(V.value?.title),1)]),_:1}),t(M,null,{default:o(()=>[n(f(V.value?.description),1)]),_:1})])]),V.value?.path?(p(),c(ge,{key:0,variant:"outline"},{default:o(()=>[n(f(V.value.path)+" path ",1)]),_:1})):Y("",!0)])]),_:1}),t(w,{class:"space-y-6"},{default:o(()=>[(p(!0),P(H,null,R(ue(m.value),r=>(p(),P("div",{key:r.key,class:"space-y-2"},[t(L,{for:r.key,class:"text-sm font-medium"},{default:o(()=>[n(f(r.label),1)]),_:2},1032,["for"]),s("p",Nt,f(r.description),1),r.type==="textarea"?(p(),c(K,{key:0,id:r.key,"model-value":g(m.value,r.key),"onUpdate:modelValue":S=>Q(m.value,r.key,S),placeholder:`Enter ${r.label.toLowerCase()}...`,class:"min-h-[80px]"},null,8,["id","model-value","onUpdate:modelValue","placeholder"])):(p(),c(j,{key:1,id:r.key,"model-value":g(m.value,r.key),"onUpdate:modelValue":S=>Q(m.value,r.key,S),placeholder:`Enter ${r.label.toLowerCase()}...`},null,8,["id","model-value","onUpdate:modelValue","placeholder"]))]))),128)),t(Z,{class:"my-6"}),s("div",Ot,[e[18]||(e[18]=s("h4",{class:"text-sm font-medium"},"Page Preview",-1)),s("div",jt,[s("div",Lt,[s("h3",At,f(g(m.value,"title")||g(m.value,"heading")||g(m.value,"question")||"Page Title"),1),s("p",Ft,f(g(m.value,"subtitle")||g(m.value,"brand")||"Page subtitle will appear here"),1),s("p",qt,f(g(m.value,"description")||g(m.value,"startButton")||g(m.value,"continueButton")||"Additional content will appear here"),1)])])])]),_:1})]),_:1})])]),_:1}),t(A,{value:"settings",class:"space-y-6"},{default:o(()=>[s("div",Jt,[t(C,null,{default:o(()=>[t(_,null,{default:o(()=>[t(k,null,{default:o(()=>[...e[19]||(e[19]=[n("Upload Settings",-1)])]),_:1}),t(M,null,{default:o(()=>[...e[20]||(e[20]=[n("Configure photo upload requirements",-1)])]),_:1})]),_:1}),t(w,{class:"space-y-6"},{default:o(()=>[s("div",Ht,[s("div",Rt,[t(L,null,{default:o(()=>[...e[21]||(e[21]=[n("Enable Uploads",-1)])]),_:1}),e[22]||(e[22]=s("p",{class:"text-sm text-muted-foreground"}," Allow users to upload photos during onboarding ",-1))]),t(ye,{checked:i.value.enableUploads,"onUpdate:checked":e[1]||(e[1]=r=>i.value.enableUploads=r)},null,8,["checked"])]),t(Z),s("div",zt,[s("div",Gt,[t(L,{for:"min-images"},{default:o(()=>[...e[23]||(e[23]=[n("Minimum Images",-1)])]),_:1}),t(j,{id:"min-images",modelValue:i.value.minImages,"onUpdate:modelValue":e[2]||(e[2]=r=>i.value.minImages=r),modelModifiers:{number:!0},type:"number",min:"1",max:"10",disabled:!i.value.enableUploads},null,8,["modelValue","disabled"]),e[24]||(e[24]=s("p",{class:"text-xs text-muted-foreground"}," Minimum number of photos required ",-1))]),s("div",Qt,[t(L,{for:"max-images"},{default:o(()=>[...e[25]||(e[25]=[n("Maximum Images",-1)])]),_:1}),t(j,{id:"max-images",modelValue:i.value.maxImages,"onUpdate:modelValue":e[3]||(e[3]=r=>i.value.maxImages=r),modelModifiers:{number:!0},type:"number",min:"1",max:"20",disabled:!i.value.enableUploads},null,8,["modelValue","disabled"]),e[26]||(e[26]=s("p",{class:"text-xs text-muted-foreground"}," Maximum number of photos allowed ",-1))])])]),_:1})]),_:1}),t(C,null,{default:o(()=>[t(_,null,{default:o(()=>[t(k,null,{default:o(()=>[...e[27]||(e[27]=[n("Export & Import",-1)])]),_:1}),t(M,null,{default:o(()=>[...e[28]||(e[28]=[n("Manage configuration data",-1)])]),_:1})]),_:1}),t(w,{class:"space-y-4"},{default:o(()=>[t(u,{variant:"outline",class:"w-full justify-start",onClick:pe},{default:o(()=>[t(d(pt),{class:"w-4 h-4 mr-2"}),e[29]||(e[29]=n(" Export Configuration ",-1))]),_:1}),t(d(He),{open:B.value,"onUpdate:open":e[6]||(e[6]=r=>B.value=r)},{default:o(()=>[t(d(We),{"as-child":""},{default:o(()=>[t(u,{variant:"outline",class:"w-full justify-start"},{default:o(()=>[t(d(mt),{class:"w-4 h-4 mr-2"}),e[30]||(e[30]=n(" Import Configuration ",-1))]),_:1})]),_:1}),t(d(Re),null,{default:o(()=>[t(d(ze),null,{default:o(()=>[t(d(Ge),null,{default:o(()=>[...e[31]||(e[31]=[n("Import Configuration",-1)])]),_:1}),t(d(Qe),null,{default:o(()=>[...e[32]||(e[32]=[n(" Paste your configuration JSON below ",-1)])]),_:1})]),_:1}),s("div",Wt,[t(K,{modelValue:E.value,"onUpdate:modelValue":e[4]||(e[4]=r=>E.value=r),placeholder:"Paste JSON here...",class:"min-h-[200px] font-mono text-sm"},null,8,["modelValue"])]),t(d($e),null,{default:o(()=>[t(u,{variant:"outline",onClick:e[5]||(e[5]=r=>B.value=!1)},{default:o(()=>[...e[33]||(e[33]=[n(" Cancel ",-1)])]),_:1}),t(u,{onClick:me},{default:o(()=>[...e[34]||(e[34]=[n(" Import ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),t(u,{variant:"outline",class:"w-full justify-start",onClick:W},{default:o(()=>[d(F)?(p(),c(d(le),{key:1,class:"w-4 h-4 mr-2"})):(p(),c(d(ae),{key:0,class:"w-4 h-4 mr-2"})),n(" "+f(d(F)?"Copied!":"Copy JSON to Clipboard"),1)]),_:1})]),_:1})]),_:1})])]),_:1}),t(A,{value:"preview"},{default:o(()=>[t(C,null,{default:o(()=>[t(_,null,{default:o(()=>[t(k,null,{default:o(()=>[...e[35]||(e[35]=[n("Flow Preview",-1)])]),_:1}),t(M,null,{default:o(()=>[...e[36]||(e[36]=[n(" Interactive preview of the onboarding flow ",-1)])]),_:1})]),_:1}),t(w,null,{default:o(()=>[s("div",$t,[s("div",Kt,[t(d(gt),{class:"w-12 h-12 mx-auto text-muted-foreground"}),e[37]||(e[37]=s("h3",{class:"text-lg font-medium"},"Preview Coming Soon",-1)),e[38]||(e[38]=s("p",{class:"text-sm text-muted-foreground max-w-md"}," An interactive preview of the onboarding flow will be available here ",-1))])])]),_:1})]),_:1})]),_:1}),t(A,{value:"json"},{default:o(()=>[t(C,null,{default:o(()=>[t(_,null,{default:o(()=>[s("div",Zt,[s("div",null,[t(k,null,{default:o(()=>[...e[39]||(e[39]=[n("JSON Configuration",-1)])]),_:1}),t(M,null,{default:o(()=>[...e[40]||(e[40]=[n(" View and edit the raw configuration data ",-1)])]),_:1})]),t(u,{variant:"outline",size:"sm",onClick:W},{default:o(()=>[d(F)?(p(),c(d(le),{key:1,class:"w-4 h-4 mr-2"})):(p(),c(d(ae),{key:0,class:"w-4 h-4 mr-2"})),e[41]||(e[41]=n(" Copy ",-1))]),_:1})])]),_:1}),t(w,null,{default:o(()=>[t($,{class:"h-[600px] w-full rounded-md border bg-muted/30 dark:bg-muted/20 p-4"},{default:o(()=>[s("pre",Xt,[s("code",null,f(JSON.stringify({enableUploads:i.value.enableUploads,minImages:i.value.minImages,maxImages:i.value.maxImages,texts:i.value.texts},null,2)),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}}),Ko=ct(Yt,[["__scopeId","data-v-7a1fd8d6"]]);export{Ko as default};

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.