1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./-cW7Gahn.js","./B6kO6bEY.js","./entry.CUXkg3g_.css","./bzsZd4gR.js","./BSUorE7t.js","./Slide01Cover.ClGAFBR1.css","./N0aI86xp.js","./Slide02WhatMoved.DO5bkjaZ.css","./46HYM2OT.js","./Slide03CedarNight.C7e7u1mo.css","./fp29gqmp.js","./Slide04WhatWeDid.Mv_L8kia.css","./B2fhMk6U.js","./Slide05Numbers.BJGfNOjN.css","./DQhVpe2n.js","./Slide06CedarStory.D4Lb1ohc.css","./Cy0vg_q8.js","./Slide07WhyItHappened.Bxd6Dvg_.css","./Cq6yYdBl.js","./Slide08NextWeekPlan.DjHI9Ckv.css","./CZIpySri.js","./Slide09NextUpdate.B-AUmV9q.css"])))=>i.map(i=>d[i]); 2import{a4 as Tt,d as Se,p as Te,D as Ye,o as n,g as s,M,e as o,r as p,J as Ae,w as Me,L as $,b as O,T as Q,a as G,t as d,h as m,R as At,n as $e,G as H,E as V,O as Et,P as Ie,Q as zt,f as T,i as Dt,F as w,a7 as He,u as Ve,K as N,c as ke,$ as Ft,j as Pt,W as Bt,N as Lt,aT as Rt,l as y,m as C}from"#entry";import{I as Ue}from"./C2fQiChb.js";import{l as Ot}from"./Bd28r0OD.js";const It=Tt("/Seede_logotype.svg"),Ht=Se({__name:"SeedeFrameLoading",props:{background:{default:"#1D1D1B"},quality:{default:"balanced"}},setup(h){const le={high:{fps:60,dpi:1,lazyLoad:!1},balanced:{fps:30,dpi:1,lazyLoad:!0}},B=h,A=p(null),i=p(null);let k=null,_=null;const r=`seede-loading-${Math.random().toString(36).slice(2,9)}`,f=async()=>{if(i.value){i.value.id=r;try{const L=await Ot();if(!i.value)return;const F=le[B.quality];k=await L.addScene({elementId:r,fps:F.fps,scale:1,dpi:F.dpi,filePath:"/unicornstudio_animation_remix.json",lazyLoad:F.lazyLoad,fixed:!1,production:!1,interactivity:{mouse:{disabled:!0,disableMobile:!0}},altText:"Loading",ariaLabel:"Loading animation"});try{k?.resize?.()}catch{}}catch(L){console.warn("[SeedeFrameLoading] Unicorn scene failed",L)}}},U=()=>{try{k?.destroy?.()}catch{}k=null};return Te(()=>{f(),A.value&&(_=new ResizeObserver(()=>{try{k?.resize?.()}catch{}}),_.observe(A.value))}),Ye(()=>{_?.disconnect(),_=null,U()}),(L,F)=>(n(),s("div",{ref_key:"rootRef",ref:A,class:"seede-frame-loading pointer-events-none absolute inset-0 overflow-hidden",style:M({backgroundColor:B.background}),"aria-hidden":"true"},[o("div",{ref_key:"usHostRef",ref:i,class:"seede-frame-loading__us absolute inset-0"},null,512),F[0]||(F[0]=o("img",{class:"seede-frame-loading__logo",src:It,alt:"",draggable:"false"},null,-1))],4))}}),Vt=Object.assign(Ae(Ht,[["__scopeId","data-v-299788c4"]]),{__name:"FeaturesV3SeedeFrameLoading"}),Ut={class:"attachment-slot__inner"},jt={key:0,class:"px-3 pt-2"},Yt={class:"flex w-fit max-w-full items-center gap-2 rounded-xl border border-black/5 bg-white px-2.5 py-1.5"},Wt={class:"min-w-0 leading-tight"},Xt={class:"truncate text-[12px] font-medium text-black/80"},Zt={key:0,class:"text-[10px] text-black/40"},Nt={class:"composer__input-row px-3 py-2"},Gt=["value","wrap","placeholder","readonly"],qt={class:"flex items-center justify-between px-3 pb-2"},Kt={key:1,"aria-hidden":"true"},Jt={class:"relative h-8 w-8"},Qt={key:0,class:"absolute inset-0 flex items-center justify-center rounded-full bg-black","aria-label":"Generating"},ea=["disabled"],ta=Se({__name:"MockChatComposer",props:{modelValue:{},placeholder:{default:"Type something..."},readonly:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},showAddFile:{type:Boolean,default:!0},attachment:{default:null},removableAttachment:{type:Boolean,default:!1},autoResize:{type:Boolean,default:!0}},emits:["update:modelValue","send","add-file","remove-attachment"],setup(h,{expose:le,emit:B}){const A=h,i=B,k=p(null),_=()=>{if(!A.autoResize)return;const v=k.value;if(v){if(v.style.height="auto",!A.modelValue){const u=Number.parseFloat(getComputedStyle(v).lineHeight)||20;v.style.height=`${u}px`;return}v.style.height=`${Math.min(v.scrollHeight,120)}px`}};Me(()=>A.modelValue,()=>{$e(_)}),Te(()=>{_()});const r=v=>{const u=v.target;i("update:modelValue",u.value),_()},f=v=>{v.shiftKey||(v.preventDefault(),U())},U=()=>{A.loading||A.modelValue.trim()&&i("send")};le({focus:()=>k.value?.focus()});const L=()=>A.autoResize?"soft":"off",F=v=>{switch(v){case"pdf":return"bg-[#e53935]/10 text-[#e53935]";case"md":return"bg-black/[0.04] text-black/70";
2case"image":return"bg-[#13a17a]/10 text-[#13a17a]";default:return"bg-[#1a73e8]/10 text-[#1a73e8]"}};return(v,u)=>(n(),s("div",{class:$(["composer rounded-2xl border border-black/5 bg-white/60 backdrop-blur-[20px] transition-colors hover:border-black/10",{"composer--readonly":h.readonly}])},[o("div",{class:$(["attachment-slot",{"attachment-slot--open":!!h.attachment}])},[o("div",Ut,[O(Q,{name:"attachment-chip"},{default:G(()=>[h.attachment?(n(),s("div",jt,[o("div",Yt,[o("span",{class:$(["flex h-7 w-7 shrink-0 items-center justify-center rounded-lg",F(h.attachment.type)])},[...u[2]||(u[2]=[o("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"},[o("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),o("path",{d:"M14 2v6h6"}),o("path",{d:"M9 13h6"}),o("path",{d:"M9 17h6"})],-1)])],2),o("div",Wt,[o("p",Xt,d(h.attachment.name),1),h.attachment.size?(n(),s("p",Zt,d(h.attachment.size),1)):m("",!0)]),h.removableAttachment?(n(),s("button",{key:0,type:"button",class:"ml-1 flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-black/40 transition-colors hover:bg-black/[0.04] hover:text-black/80","aria-label":"Remove attachment",onClick:u[0]||(u[0]=j=>i("remove-attachment"))},[...u[3]||(u[3]=[o("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round"},[o("path",{d:"M3 3L9 9M9 3L3 9"})],-1)])])):m("",!0)])])):m("",!0)]),_:1})])],2),o("div",Nt,[o("textarea",{ref_key:"textareaRef",ref:k,value:h.modelValue,rows:"1",wrap:L(),placeholder:h.placeholder,readonly:h.readonly,class:"composer__textarea w-full resize-none overflow-hidden bg-transparent text-[13px] leading-[20px] text-black caret-black placeholder:text-black/35 focus:outline-none",onInput:r,onKeydown:At(f,["enter"])},null,40,Gt)]),o("div",qt,[h.showAddFile?(n(),s("button",{key:0,type:"button",class:"flex h-7 w-7 items-center justify-center rounded-full border border-black/10 text-black/50 transition-colors hover:border-black/40 hover:text-black/70 focus-visible:ring-2 focus-visible:ring-black/15 focu
2s-visible:outline-none","aria-label":"Add file",onClick:u[1]||(u[1]=j=>i("add-file"))},[...u[4]||(u[4]=[o("svg",{width:"14",height:"14",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[o("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12 4v16m8-8H4"})],-1)])])):(n(),s("span",Kt)),o("div",Jt,[O(Q,{name:"send-swap"},{default:G(()=>[h.loading?(n(),s("span",Qt,[...u[5]||(u[5]=[o("span",{class:"composer__spinner h-3 w-3 rounded-full border-[1.5px] border-white/30 border-t-white"},null,-1)])])):m("",!0)]),_:1}),O(Q,{name:"send-swap"},{default:G(()=>[h.loading?m("",!0):(n(),s("button",{key:0,type:"button",class:"absolute inset-0 flex items-center justify-center rounded-full bg-black text-white transition-[opacity,transform,background-color] hover:bg-black/85 focus-visible:ring-2 focus-visible:ring-black/15 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",disabled:!h.modelValue.trim(),"aria-label":"Send",onClick:U},[...u[6]||(u[6]=[o("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[o("path",{d:"M5.36899 0.224375C5.76177 -0.0959754 6.34077 -0.0733816 6.70689 0.292734L11.7069 5.29273C12.0971 5.68329 12.0973 6.31639 11.7069 6.7068C11.3165 7.09707 10.6833 7.09694 10.2928 6.7068L6.99985 3.41383V12.4998C6.99972 13.0519 6.552 13.4997 5.99985 13.4998C5.44765 13.4998 4.99999 13.0519 4.99985 12.4998V3.41383L1.70689 6.7068C1.31646 7.09707 0.683328 7.09694 0.292823 6.7068C-0.0976545 6.31632 -0.0975609 5.68327 0.292823 5.29273L5.29282 0.292734L5.36899 0.224375Z",fill:"currentColor"})],-1)])],8,ea))]),_:1})])])],2))}}),aa=Object.assign(Ae(ta,[["__scopeId","data-v-69071fb3"]]),{__name:"MockChatComposer"}),oa=[{id:"cover",label:"Frame 1",component:H(()=>V(()=>import("./-cW7Gahn.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))},{id:"what-moved",label:"Frame 2",component:H(()=>V(()=>import("./N0aI86xp.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url))},{id:"cedar-night",label:"Frame 3",component:H(()=>V(()=>import("./46HYM2OT.js"),__vite__mapDeps([8,1,2,3,4,9]),import.meta.url))},{id:"what-we-did",label:"Frame 4",component:H(()=>V(()=>import("./fp29gqmp.js"),__vite__mapDeps([10,1,2,3,4,11]),import.meta.url))},{id:"numbers",label:"Frame 5",component:H(()=>V(()=>import("./B2fhMk6U.js"),__vite__mapDeps([12,1,2,3,4,13]),import.meta.url))},{id:"cedar-story",label:"Frame 6",component:H(()=>V(()=>import("./DQhVpe2n.js"),__vite__mapDeps([14,1,2,3,4,15]),import.meta.url))},{id:"why-it-happened",label:"Frame 7",component:H(()=>V(()=>import("./Cy0vg_q8.js"),__vite__mapDeps([16,1,2,3,4,17]),import.meta.url))},{id:"next-week-plan",label:"Frame 8",component:H(()=>V(()=>import("./Cq6yYdBl.js"),__vite__mapDeps([18,1,2,3,4,19]),import.meta.url))},{id:"next-update",label:"Frame 9",component:H(()=>V(()=>import("./CZIpySri.js"),__vite__mapDeps([20,1,2,3,4,21]),import.meta.url))}],je={lang:"en",translate:"no"},la={class:"relative w-full h-full rounded-xl overflow-hidden flex flex-col md:flex-row bg-[#fafafa] border border-black/[0.03]"},na={class:"relative isolate z-0 min-h-0 min-w-0 flex-1"},sa={key:0,class:"pointer-events-none absolute top-0 left-0 right-0 z-30 flex items-center justify-between px-2 py-1"},ia={class:"pointer-events-auto flex items-center gap-1 px-2 py-1 rounded-lg bg-[#fafafa]/80 backdrop-blur-[20px]"},ra={class:"whitespace-nowrap text-black/30 text-xs font-normal"},ca={class:"pointer-events-auto flex items-center gap-1"},ua={class:"relative"},da={key:0,class:"absolute top-full right-0 mt-2 w-80 p-2 rounded-2xl bg-white border border-black/5 shadow-xl z-20"},ma={class:"space-y-3"},ha={class:"text-black/70 text-sm px-1"},va={class:"flex items-center justify-between"},pa={class:"flex items-center gap-2"},fa={class:"text-black/40 text-xs"},ba=["href"],ga=["href"],xa=["title"],ya=["onClick"],ka={key:0,class:"absolute inset-0 z-10 flex items-center justify-center bg-white"},_a={class:"flex flex-col items-center gap-3"},wa={class:"text-black/40 text-xs font-medium"},Ca={class:"absolute inset-0 flex flex-col p-2"},Ma={class:"flex justify-between items-start"},$a={class:"font-bold text-black leading-[1] tracking-tight text-[28px]"},Sa={class:"font-normal py-2 px-2 text-black text-xs leading-[1]"},Ta={key:0},Aa={class:"grid grid-cols-4 mt-6 gap-2"},Ea=["onClick"],za={class:"text-black/70 leading-[1.1] text-[8px]"},Da={key:0},Fa={class:"flex-1 flex items-center justify-end mt-2 relative z-10"},Pa={class:"font-black text-[#E53935] leading-[0.9] tracking-tight text-[24px]"},Ba={key:0},La={class:"font-black text-[#E53935] leading-[0.9] tracking-tight text-[32px]"},Ra={key:0},Oa={class:"flex justify-between items-end mt-2"},Ia={class:"font-medium text-black text-xs"},Ha={class:"w-full md:w-[320px] h-[50%] md:h-auto flex flex-col border-t md:border-t-0 md:border-l border-black/5 bg-white relative"},Va={key:0,class:"flex justify-end mb-2"},Ua={class:"max-w-[85%] w-fit space-y-1.5"},ja={key:0,class:"ml-auto flex w-fit items-center gap-2 rounded-2xl border border-black/5 bg-white px-2.5 py-1.5
2shadow-[0_1px_2px_rgba(15,23,42,0.04)]"},Ya={class:"min-w-0 leading-tight"},Wa={class:"truncate text-[12px] font-medium text-black/80"},Xa={key:0,class:"text-[10px] text-black/40"},Za={class:"ml-auto w-fit max-w-full rounded-2xl bg-black/[0.03] px-3 py-1.5 text-[13px]"},Na={class:"text-black/70"},Ga={key:1,class:"space-y-3 pb-4"},qa={key:0,class:"text-black/70 text-sm"},Ka=["href"],Ja=["href"],Qa={key:1,class:"text-black/70 text-sm"},eo={key:0,class:"inline-block w-0.5 h-4 bg-black/40 animate-pulse ml-0.5 align-middle"},to={key:0,class:"flex items-center"},ao={class:"text-black/70 text-sm"},oo={key:1,class:"px-3 py-1.5 bg-black/[0.03] border border-white/[0.03] rounded-xl space-y-1.5"},lo={key:0,class:"text-black/70 text-sm font-medium"},no={class:"text-black/70 text-sm"},so={key:2,class:"px-3 py-2 bg-black/[0.03] border border-white/[0.03] rounded-xl flex items-center gap-2"},io={class:"text-black/70 text-sm"},ro={key:3,class:"px-3 py-1 bg-black/[0.03] border border-white/[0.03] rounded-xl flex items-center gap-2"},co={class:"text-lg"},uo={class:"text-black/70 text-sm"},mo={key:4,class:"px-3 py-2 bg-black/[0.03] border border-white/[0.03] rounded-xl flex items-center gap-2"},ho={class:"text-black/70 text-sm"},vo={class:"absolute bottom-0 left-0 right-0 pb-2 md:pb-3 bg-gradient-to-t from-[#ffffff] to-[#ffffff]/0 [&>*]:mx-auto [&>*]:w-[90%]"},_e="https://veeso.ai",he=32,we=24,Ce=28,po=320,fo=320,bo=3,go=Se({__name:"MockCanvas",props:{variant:{default:"dark"},title:{default:""},demoUserMessage:{},demoAiMessage:{},demoUserAttachment:{},deckSlides:{},artboardWidth:{},artboardHeight:{},deckMaxColumns:{},deckWidth:{},deckHeight:{},initialState:{default:"complete"},defaultSidebarOpen:{type:Boolean,default:void 0},hideChatHistory:{type:Boolean,default:!1},allowPageScroll:{type:Boolean,default:!1},compactChrome:{type:Boolean,default:!1},playbackPaused:{type:Boolean,default:!1},composerAutoResize:{type:Boolean,default:!0}},setup(h,{expose:le}){const B=Et(Ie.options,"locale"),A=y(()=>B.value==="ja"),i=h,k=y(()=>i.deckSlides??oa),_=p(null),r=p(1),f=p({x:0,y:0}),U=p(!1),L=p({x:0,y:0}),F=t=>t??i.initialState==="complete",v=p(F(i.defaultSidebarOpen));Me(()=>i.defaultSidebarOpen,t=>{typeof t=="boolean"&&(v.value=t)});const u=p(null),j=y(()=>u.value==="artboard"),We=()=>{u.value=null},ve=p(!1),pe=y(()=>(B.value,C("landing_home.mock.canvas.share_text"))),Xe=()=>{ve.value=!ve.value},Ze=async()=>{const t=`${pe.value} ${_e}`;try{await navigator.clipboard.writeText(t)}catch{const e=document.createElement("textarea");e.value=t,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}},fe=p("select"),Ne=()=>{v.value=!v.value},Ge=t=>{v.value=t},E=p(""),R=p(null),qe=p(null),q=p(!1),ce=p(i.initialState==="complete"),K=y(()=>Array.isArray(i.deckSlides)&&i.deckSlides.length>0),ue=y(()=>i.artboardWidth??360),de=y(()=>i.artboardHeight??203),Ke=y(()=>i.deckMaxColumns??3),Ee=y(()=>K.value&&k.value.some(t=>typeof t.x=="number"&&typeof t.y=="number")),ne=y(()=>Math.max(1,Math.min(Ke.value,K.value?k.value.length:1))),ze=y(()=>K.value?Math.ceil(k.value.length/ne.value):1),be=y(()=>K.value?Ee.value?i.deckWidth?i.deckWidth:k.value.reduce((e,a)=>{if(typeof a.x!="number")return e;const l=a.width??ue.value;return Math.max(e,a.x+l)},0)+we:we*2+ne.value*ue.value+(ne.value-1)*he:po),ge=y(()=>K.value?Ee.value?i.deckHeight?i.deckHeight:k.value.reduce((e,a)=>{if(typeof a.y!="number")return e;const l=a.height??de.value;return Math.max(e,a.y+l)},0)+Ce:Ce*2+ze.value*de.value+(ze.value-1)*he:fo),Y=p(0),Je=t=>{const e=k.value[t];if(e&&typeof e.x=="number"&&typeof e.y=="number")return{x:e.x,y:e.y};const a=t%ne.value,l=Math.floor(t/ne.value);return{x:we+a*(ue.value+he),y:Ce+l*(de.value+he)}},Qe=t=>{const e=k.value[t];return{width:e?.width??ue.value,height:e?.height??de.value}},et=t=>{const e=Je(t),a=Qe(t),l="0 8px 28px -8px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.06)";return{width:`${a.width}px`,height:`${a.height}px`,left:`${e.x}px`,top:`${e.y}px`,boxShadow:Y.value===t&&j.value?`${l}, 0 0 0 ${1/r.value}px #FE713B`:l}},De=()=>{if(!K.value)return 1;if(!_.value)return i.compactChrome?.26:.35;const t=_.value.clientWidth,e=_.value.clientHeight;if(!t||!e)return i.compactChrome?.26:.35;const a=i.compactChrome?16:64,l=i.compactChrome?12:80,c=i.compactChrome?.12:.35;return Math.min(1,Math.max(c,Math.min((t-a)/be.value,(e-l)/ge.value)))},se=p(1),tt=y(()=>Math.max(.12,se.value*.98)),at=t=>Math.max(tt.value,Math.min(bo,t)),Fe=(t,e,a)=>{const l=at(t);if(!_.value){r.value=l;return}const c=_.value.getBoundingClientRect(),g=e-c.left-c.width/2,S=a-c.top-c.height/2,P=l/r.value,x={x:g-(g-f.value.x)*P,y:S-(S-f.value.y)*P};r.value=l,f.value=ye(x,l)},ot=()=>{const t=_.value;if(!t||t.clientWidth<48||t.clientHeight<48)return!1;const e=getComputedStyle(t);if(e.visibility==="hidden"||e.display==="none")return!1;const a=t.getBoundingClientRect();return!(a.width<48||a.height<48)},ee=()=>{if(!ot())return;const t=De();se.value=t,r.value=t,f.value={x:0,y:0}},lt=(t,e)=>{e.stopPropagation(),Y.value=t,u.value="artboard"},nt=(t,e,a)=>{a.stopPropagation(),Y.value=t,u.value=e},st=t=>{t.stopPropagation(),u.value="artboard"},W=(t,e)=>{e.stopPropagation(),u.value=t},it=y(()=>(B.value,C("landing_home.mock.user_message"))),rt=y(()=>(B.value,{id:2,role:"ai",content:C("landing_home.mock.ai_intro"),steps:[{label:"pastel gradient background",done:!0},{label:"bold typography hierarchy",done:!0},{label:"1:1 square for social media",done:!0},{label:"celebratory imagery",done:!0}],sections:[{id:"copy",label:C("landing_home.mock.section.design_concept_label")},{id:"concept",label:"",content:C("landing_home.mock.section.design_concept_content")},{id:"theme",label:C("landing_home.mock.section.theme_label"),value:C("landing_home.mock.section.theme_value"),color:"#E8D5F0"},{id:"imageStyle",label:C("landing_home.mock.section.image_style_label"),value:C("landing_home.mock.section.image_style_value"),icon:"ð"},{id:"ratio",label:C("landing_home.mock.section.ratio_label"),value:C("landing_home.mock.section.ratio_value")}]})),Pe=y(()=>i.demoUserMessage??it.value),me=y(()=>i.demoAiMessage??rt.value),z=y(()=>{B.value;const t=C("landing_home.mock.auth.sign_in"),e=C("landing_home.mock.auth.sign_up"),a=C("landing_home.mock.auth.prompt"),l=a.indexOf(t),c=a.indexOf(e);if(l===-1||c===-1)return null;const g=Math.min(l,c),S=Math.max(l,c),P=l<c?t.length:e.length,x=l<c?e.length:t.length;return{before:a.slice(0,g),middle:a.slice(g+P,S),after:a.slice(S+x),signInFirst:l<c,signInLabel:t,signUpLabel:e}}),ct=()=>{if(i.demoUserMessage||i.demoAiMessage)return;const t=D.value.find(a=>a.role==="user");t&&(t.content=Pe.value);const e=D.value.find(a=>a.role==="ai"&&!a.isAuthPrompt);if(e){const a=me.value;e.content=a.content,e.steps=a.steps,e.sections=a.sections,e.displayedContent!==void 0&&(e.displayedContent=a.content)}};Me(()=>Ie.locale,()=>{ct()});const ie=p(i.initialState==="empty"&&i.demoUserAttachment?{...i.demoUserAttachment}:null),D=p(i.initialState==="empty"?[]:[{id:1,role:"user",content:Pe.value,...i.demoUserAttachment?{attachment:{...i.demoUserAttachment}}:{}},{...me.value}]);let re=3;const ut=()=>{D.value=[],E.value="",ce.value=!1,q.value=!1,Y.value=0,u.value=null,v.value=F(i.defaultSidebarOpen),ie.value=i.demoUserAttachment?{...i.demoUserAttachment}:null},dt=t=>{E.value=t.trim(),ie.value=i.demoUserAttachment?{...i.demoUserAttachment}:null},te=async t=>{let e=t;for(;e>0;){for(;i.playbackPaused;)await new Promise(l=>setTimeout(l,32));const a=Math.min(16,e);await new Promise(l=>setTimeout(l,a)),e-=a}},mt=async(t,e=15)=>{E.value="";for(const a of t){for(;i.playbackPaused;)await new Promise(l=>setTimeout(l,32));E.value+=a,await te(e)}},ht=t=>{const e=(t??E.value).trim();if(!e)return;const a=ie.value??i.demoUserAttachment??null;D.value.push({id:re++,role:"user",content:e,...a?{attachment:{...a}}:{}}),E.value="",ie.value=null,ae()},vt=()=>{D.value.push({...me.value,id:re++}),ae()},pt=async()=>{const t=re++,e=me.value,a={...e,id:t,displayedContent:"",visibleStepsCount:0,visibleSectionsCount:0,isTyping:!0};D.value.push(a),ae();const l=D.value.findIndex(x=>x.id===t);if(l===-1)return;const c=D.value[l];if(!c)return;const g=e.content;for(let x=0;x<=g.length;x++){for(;i.playbackPaused;)await new Promise(Z=>setTimeout(Z,32));c.displayedContent=g.slice(0,x),await te(8)}c.isTyping=!1,await te(100),ae();const S=e.steps?.length||0;for(let x=1;x<=S;x++){for(;i.playbackPaused;)await new Promise(Z=>setTimeout(Z,32));c.visibleStepsCount=x,ae(),await te(80)}await te(150);const P=e.sections?.length||0;for(let x=1;x<=P;x++){for(;i.playbackPaused;)await new Promise(Z=>setTimeout(Z,32));c.visibleSectionsCount=x,ae(),await te(100)}},ft=()=>{q.value=!0,ce.value=!0},bt=()=>{q.value=!1,$e(ee)},ae=()=>{setTimeout(()=>{R.value&&(R.value.scrollTop=R.value.scrollHeight)},50)};Te(()=>{$e(()=>{se.value=De(),ee()}),window.addEventListener("resize",ee)}),zt(()=>{window.removeEventListener("resize",ee)}),le({resetDemo:ut,prepareDemoComposer:dt,typeText:mt,sendDemoMessage:ht,showAiMessage:vt,showAiMessageAnimated:pt,startArtboardLoading:ft,f
2inishArtboardLoading:bt,fitDeckToContainer:ee,setSidebarOpen:Ge,messages:D,chatInput:E,showArtboard:ce,isArtboardLoading:q});const gt=()=>{E.value.trim()&&(D.value.push({id:re++,role:"user",content:E.value.trim()}),E.value="",setTimeout(()=>{R.value&&(R.value.scrollTop=R.value.scrollHeight)},50),setTimeout(()=>{D.value.push({id:re++,role:"ai",content:C("landing_home.mock.auth.prompt"),isAuthPrompt:!0}),setTimeout(()=>{R.value&&(R.value.scrollTop=R.value.scrollHeight)},50)},500))},b=p(null),J={active:!1,x:0,y:0},X={deltaY:0,clientX:0,clientY:0},I={active:!1,dx:0,dy:0};let oe=null;const xt=()=>{if(X.deltaY!==0){const t=-X.deltaY*.008;Fe(r.value+t,X.clientX,X.clientY),X.deltaY=0}J.active&&(f.value=ye({x:J.x-L.value.x,y:J.y-L.value.y}),J.active=!1),I.active&&(f.value=ye({x:f.value.x+I.dx,y:f.value.y+I.dy}),I.active=!1,I.dx=0,I.dy=0)},xe=()=>{oe===null&&(oe=requestAnimationFrame(()=>{oe=null,xt()}))},yt=t=>{(t.ctrlKey||t.metaKey)&&(t.preventDefault(),X.deltaY+=t.deltaY,X.clientX=t.clientX,X.clientY=t.clientY,xe())},kt=t=>{U.value=!0,L.value={x:t.clientX-f.value.x,y:t.clientY-f.value.y}},_t=t=>{U.value&&(J.active=!0,J.x=t.clientX,J.y=t.clientY,xe())},Be=()=>{U.value=!1};Ye(()=>{oe!==null&&(cancelAnimationFrame(oe),oe=null)});const Le=(t,e)=>{const a=e.x-t.x,l=e.y-t.y;return Math.sqrt(a*a+l*l)},Re=(t,e)=>({x:(t.x+e.x)/2,y:(t.y+e.y)/2}),wt=t=>{if(i.allowPageScroll&&t.touches.length===1)return;t.preventDefault();const e=Array.from(t.touches).map(c=>({x:c.clientX,y:c.clientY})),a=e[0],l=e[1];if(e.length===1&&a)b.value={touches:e,initialDistance:0,initialZoom:r.value,initialOffset:{...f.value},lastTouchCenter:a,lastPinchDistance:0};else if(e.length===2&&a&&l){const c=Le(a,l),g=Re(a,l);b.value={touches:e,initialDistance:c,initialZoom:r.value,initialOffset:{...f.value},lastTouchCenter:g,lastPinchDistance:c}}},Ct=t=>{if(i.allowPageScroll&&(!b.value||t.touches.length===1)||(t.preventDefault(),!b.value))return;const e=Array.from(t.touches).map(c=>({x:c.clientX,y:c.clientY})),a=e[0],l=e[1];if(e.length===1&&b.value.touches.length===1&&a){const c=a.x-b.value.lastTouchCenter.x,g=a.y-b.value.lastTouchCenter.y;I.active=!0,I.dx+=c,I.dy+=g,b.value.lastTouchCenter=a,xe()}else if(e.length===2&&b.value.initialDistance>0&&a&&l){const c=Le(a,l),g=Re(a,l),S=b.value.lastPinchDistance||b.value.initialDistance;if(S>0){const P=c/S;Fe(r.value*P,g.x,g.y)}b.value.lastPinchDistance=c,b.value.lastTouchCenter=g}},Mt=t=>{if(t.touches.length===0){const e=(b.value?.lastPinchDistance??0)>0;b.value=null,e&&Math.abs(r.value-se.value)<=se.value*.1&&ee()}else if(t.touches.length===1){const e=t.touches[0];b.value&&e&&(b.value.touches=[{x:e.clientX,y:e.clientY}],b.value.initialOffset={...f.value},b.value.lastTouchCenter={x:e.clientX,y:e.clientY},b.value.lastPinchDistance=0,b.value.initialDistance=0)}},ye=(t,e)=>{if(!_.value)return t;const a=_.value,l=a.clientWidth,c=a.clientHeight,g=e??r.value,S=be.value*g,P=ge.value*g,x=Math.min(100,S*.3,P*.3),Z=l/2+S/2-x,$t=-Z,Oe=c/2+P/2-x,St=-Oe;return{x:Math.max($t,Math.min(Z,t.x)),y:Math.max(St,Math.min(Oe,t.y))}};return(t,e)=>(n(),s("div",la,[o("div",na,[h.compactChrome?m("",!0):(n(),s("div",sa,[o("div",ia,[O(Ue,{src:"/veesoai-condense-dark.svg",alt:"Veeso AI",class:"h-5 w-auto","image-class":"h-5 w-auto opacity-40"}),o("span",ra,d(i.title||t.$t("landing_home.mock.canvas.untitled_design")),1)]),o("div",ca,[o("div",ua,[o("button",{onClick:Xe,class:"px-2 py-1 flex items-center gap-1 rounded-lg bg-[#fafafa]/80 backdrop-blur-[20px] text-black/50 hover:text-black hover:bg-[#fafafa] transition-colors text-sm font-medium"},d(t.$t("landing_home.mock.canvas.share_button")),1),O(Q,{name:"fade"},{default:G(()=>[ve.value?(n(),s("div",da,[o("div",ma,[o("p",ha,d(pe.value),1),o("div",va,[o("button",{onClick:Ze,class:"px-3 py-1.5 text-xs font-medium text-black/70 hover:text-black bg-black/5 hover:bg-black/10 rounded-full transition-colors flex items-center gap-1.5"},[e[8]||(e[8]=o("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[o("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})],-1)),T(" "+d(t.$t("landing_home.mock.canvas.copy_link")),1)]),o("div",pa,[o("span",fa,d(t.$t("landing_home.mock.canvas.share_to")),1),o("a",{href:`https://twitter.com/intent/tweet?text=${encodeURIComponent(pe.value)}&url=${encodeURIComponent(_e)}`,target:"_blank",class:"w-7 h-7 flex items-center justify-center rounded-full bg-black/5 hover:bg-black/10 transition-colors"},[...e[9]||(e[9]=[o("svg",{class:"w-3 h-3 text-black/70",viewBox:"0 0 24 24",fill:"
2currentColor"},[o("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})],-1)])],8,ba),o("a",{href:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(_e)}`,target:"_blank",class:"w-7 h-7 flex items-center justify-center rounded-full bg-black/5 hover:bg-black/10 transition-colors"},[...e[10]||(e[10]=[o("svg",{class:"w-3 h-3 text-black/70",viewBox:"0 0 24 24",fill:"currentColor"},[o("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})],-1)])],8,ga)])])])])):m("",!0)]),_:1})]),h.hideChatHistory?m("",!0):(n(),s("button",{key:0,type:"button",onClick:Dt(Ne,["stop"]),class:"relative z-40 w-7 h-7 flex items-center justify-center rounded-lg bg-[#fafafa]/80 backdrop-blur-[20px] text-black/50 hover:text-black hover:bg-[#fafafa] transition-colors",title:v.value?t.$t("landing_home.mock.canvas.collapse_sidebar"):t.$t("landing_home.mock.canvas.expand_sidebar")},[...e[11]||(e[11]=[o("svg",{class:"w-4 h-4",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o("rect",{x:"2.5",y:"2.5",width:"11",height:"11",stroke:"currentColor"}),o("path",{d:"M10 4V12",stroke:"currentColor"})],-1)])],8,xa))])])),o("div",{ref_key:"containerRef",ref:_,class:$(["absolute inset-0 z-0 flex items-center justify-center overflow-hidden",{"curs
2or-default":fe.value==="select"||fe.value==="deep-select","cursor-grab active:cursor-grabbing":fe.value==="hand"}]),style:M({touchAction:h.allowPageScroll?"pan-y":"none",userSelect:"none",WebkitUserSelect:"none"}),onMousedown:kt,onMousemove:_t,onMouseup:Be,onMouseleave:Be,onWheel:yt,onTouchstart:wt,onTouchmove:Ct,onTouchend:Mt,onClick:We},[O(Q,{"enter-active-class":"transition-all duration-500 ease-out","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition-all duration-300 ease-in","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:G(()=>[ce.value?(n(),s(w,{key:0},[K.value?(n(),s("div",He({key:0},Ve(je),{class:"deck-canvas notranslate relative transition-all duration-500",style:{width:`${be.value}px`,height:`${ge.value}px`,transform:`translate(${f.value.x}px, ${f.value.y}px) scale(${r.value})`,transformOrigin:"center center",background:"transparent",flexShrink:0}}),[(n(!0),s(w,null,N(k.value,(a,l)=>(n(),s("div",{key:a.id,class:"wgp-frame absolute bg-white",style:M(et(l)),onClick:c=>lt(l,c)},[o("div",{class:$(["wgp-frame-label absolute left-0 whitespace-nowrap text-[11px] font-medium",Y.value===l&&j.value?"text-[#FE713B]":"text-black/40"]),style:M({top:`${-18/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"bottom left"})},d(a.label),7),O(Q,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-500","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:G(()=>[q.value?(n(),ke(Vt,{key:0,class:$(["absolute inset-0 z-20",{"is-playback-paused":h.playbackPaused}]),quality:Y.value===l?"high":"balanced"},null,8,["class","quality"])):m("",!0)]),_:2},1024),Y.value===l&&j.value?(n(),s(w,{key:0},[o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nwse-resize z-30",style:M({top:`${-4/r.value}px`,left:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4),o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nesw-resize z-30",style:M({top:`${-4/r.value}px`,right:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4),o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nesw-resize z-30",style:M({bottom:`${-4/r.value}px`,left:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4),o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nwse-resize z-30",style:M({bottom:`${-4/r.value}px`,right:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4)],64)):m("",!0),a.component?(n(),s("div",He({key:1,ref_for:!0},Ve(je),{class:"deck-slide-shell notranslate"}),[(n(),ke(Ft(a.component),{"selected-element":Y.value===l?u.value:null,onSelect:(c,g)=>nt(l,c,g)},null,40,["selected-element","onSelect"]))],16)):m("",!0)],12,ya))),128))],16)):(n(),s("div",{key:1,class:"artboard relative transition-all duration-500",style:M({width:"320px",height:"320px",transform:`translate(${f.value.x}px, ${f.value.y}px) scale(${r.value})`,transformOrigin:"center center",background:q.value?"#ffffff":"linear-gradient(180deg, #E8D5F0 0%, #C5E8E8 50%, #F5D5C8 100%)",flexShrink:0,boxShadow:j.value?`0 0 0 ${1/r.value}px #FE713B`:"none"}),onClick:st},[O(Q,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-500","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:G(()=>[q.value?(n(),s("div",ka,[o("div",_a,[e[12]||(e[12]=o("div",{class:"w-8 h-8 border-2 border-black/10 border-t-black/40 rounded-full animate-spin"},null,-1)),o("span",wa,d(t.$t("landing_home.mock.canvas.generating")),1)])])):m("",!0)]),_:1}),j.value?(n(),s(w,{key:0},[o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nwse-resize",style:M({top:`${-4/r.value}px`,left:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4),o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nesw-resize",style:M({top:`${-4/r.value}px`,right:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4),o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nesw-resize",style:M({bottom:`${-4/r.value}px`,left:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4),o("div",{class:"absolute w-2 h-2 bg-white border border-[#FE713B] cursor-nwse-resize",style:M({bottom:`${-4/r.value}px`,right:`${-4/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"center center"})},null,4)],64)):m("",!0),o("div",Ca,[o("div",Ma,[o("div",{class:$(["flex-1 relative cursor-pointer",{"ring-1 ring-[#FE713B]":u.value==="title"}]),onClick:e[0]||(e[0]=a=>W("title",a))},[o("div",$a,[T(d(t.$t("landing_home.mock.poster.title_line1"))+" ",1),e[13]||(e[13]=o("br",null,null,-1)),T(" "+d(t.$t("landing_home.mock.poster.title_line2"))+" ",1),e[14]||(e[14]=o("br",null,null,-1)),T(" "+d(t.$t("landing_home.mock.poster.title_line3")),1)])],2),o("div",{class:$(["text-left relative cursor-pointer",{"ring-1 ring-[#FE713B]":u.value==="name"}]),onClick:e[1]||(e[1]=a=>W("name",a))},[o("p",Sa,[(n(!0),s(w,null,N(t.$t("landing_home.mock.poster.name").split(` 3`),(a,l)=>(n(),s(w,{key:l},[l>0?(n(),s("br",Ta)):m("",!0),T(d(a),1)],64))),128))])],2)]),o("div",Aa,[(n(),s(w,null,N(["feature1","feature2","feature3","feature4"],a=>o("div",{key:a,class:$(["relative cursor-pointer",{"ring-1 ring-[#FE713B]":u.value===a}]),onClick:l=>W(a,l)},[o("p",za,[(n(!0),s(w,null,N(t.$t(`landing_home.mock.poster.${a}`).split(` 4`),(l,c)=>(n(),s(w,{key:c},[c>0?(n(),s("br",Da)):m("",!0),T(d(l),1)],64))),128))])],10,Ea)),64))]),o("div",Fa,[A.value?(n(),s("div",{key:0,class:$(["text-left relative cursor-pointer ml-[10px]",{"ring-1 ring-[#FE713B]":u.value==="number"}]),onClick:e[2]||(e[2]=a=>W("number",a))},[o("p",Pa,[(n(!0),s(w,null,N(t.$t("landing_home.mock.poster.number").split(` 5`),(a,l)=>(n(),s(w,{key:l},[l>0?(n(),s("br",Ba)):m("",!0),T(d(a),1)],64))),128))])],2)):(n(),s("div",{key:1,class:$(["text-left relative cursor-pointer",{"ring-1 ring-[#FE713B]":u.value==="number"}]),onClick:e[3]||(e[3]=a=>W("number",a))},[o("p",La,[(n(!0),s(w,null,N(t.$t("landing_home.mock.poster.number").split(` 6`),(a,l)=>(n(),s(w,{key:l},[l>0?(n(),s("br",Ra)):m("",!0),T(d(a),1)],64))),128))])],2))]),o("div",{class:$(["absolute w-52 h-auto -left-4 bottom-0 cursor-pointer z-0",{"ring-1 ring-[#FE713B]":u.value==="image"}]),onClick:e[4]||(e[4]=a=>W("image",a))},[O(Ue,{src:"/left.webp",alt:t.$t("landing_home.mock.poster.image_alt"),class:"w-full h-auto","image-class":"object-contain w-full h-auto",draggable:!1},null,8,["alt"])],2),o("div",Oa,[o("div",{class:$(["relative cursor-pointer",{"ring-1 ring-[#FE713B]":u.value==="logo"}]),onClick:e[5]||(e[5]=a=>W("logo",a))},[...e[15]||(e[15]=[o("svg",{width:"18",height:"18",viewBox:"0 0 63 63",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o("path",{d:"M42.9849 26.2959C44.8605 26.8182 46.4256 27.9315 47.4644 29.7656C51.6549 37.1654 46.7943 45.5647 36.5483 49.6455C25.8051 53.924 14.4439 49.1764 14.1958 49.0488C14.0444 48.9707 13.9573 48.7802 13.9771 48.6318C14.0035 48.4466 17.3455 41.7327 22.6401 35.2021C22.7352 35.0848 22.9226 35.1234 22.979 35.2627C23.0562 35.4526 23.1447 35.6431 23.2466 35.832C25.1668 39.3823 31.6289 38.1866 35.5464 34.6719C38.7339 32.1848 42.0932 27.2018 42.7056 26.3916V26.3906C42.7709 26.3057 42.8811 26.2672 42.9849 26.2959ZM26.3081 13.2119C37.0536 8.93257 48.4173 13.682 48.6606 13.8086C48.904 13.9352 48.9165 14.1036 48.8403 14.3252C48.8137 14.3729 44.0359 22.9316 40.5269 27.2861C40.4962 27.3247 40.4521 27.3774 40.4126 27.4258C40.3552 27.495 40.2594 27.519 40.1763 27.4814C40.0071 27.4062 39.7182 27.2775 39.4858 27.1846C37.5726 26.4179 33.594 25.228 29.5669 26.4287C25.497 27.6426 22.7481 30.3544 22.6284 33.2451C22.6235 33.3579 22.5786 33.4677 22.5024 33.5469C22.4264 33.6258 22.3519 33.7062 22.2778 33.7861C21.439 34.6952 20.6668 35.5866 19.9595 36.4512C19.9051 36.5175 19.816 36.5462 19.7329 36.5215C17.9186 35.9833 16.4051 34.8804 15.3921 33.0918C11.2015 25.692 16.0621 17.2927 26.3081 13.2119Z",fill:"black"})],-1)])],2),o("div",{class:$(["relative cursor-pointer",{"ring-1 ring-[#FE713B]":u.value==="brand"}]),onClick:e[6]||(e[6]=a=>W("brand",a))},[o("p",Ia,d(t.$t("landing_home.mock.poster.brand")),1)],2)])]),j.value?(n(),s("div",{key:1,class:"absolute left-0 text-[#FE713B] font-medium whitespace-nowrap text-[11px]",style:M({top:`${-20/r.value}px`,transform:`scale(${1/r.value})`,transformOrigin:"bottom left"})},d(t.$t("landing_home.mock.canvas.frame_label")),5)):m("",!0)],4))],64)):m("",!0)]),_:1})],38)]),Pt(o("div",Ha,[h.hideChatHistory?m("",!0):(n(),s("div",{key:0,ref_key:"messagesRef",ref:R,class:"mx-auto w-[90%] flex-1 overflow-y-auto pt-4 pb-20 md:pb-24 space-y-6"},[(n(!0),s(w,null,N(D.value,a=>(n(),s("div",{key:a.id},[a.role==="user"?(n(),s("div",Va,[o("div",Ua,[a.attachment?(n(),s("div",ja,[o("span",{class:$(["flex h-7 w-7 items-center justify-center rounded-lg",{"bg-[#1a73e8]/10 text-[#1a73e8]":a.attachment.type==="doc"||!a.attachment.type,"bg-[#e53935]/10 text-[#e53935]":a.attachment.type==="pdf","bg-[#000]/[0.04] text-black/70":a.attachment.type==="md","bg-[#13a17a]/10 text-[#13a17a]":a.attachment.type==="image"}])},[...e[16]||(e[16]=[Lt('<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-c0f490dc><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" data-v-c0f490dc></path><path d="M14 2v6h6" data-v-c0f490dc></path><path d="M9 13h6" data-v-c0f490dc></path><path d="M9 17h6" data-v-c0f490dc></path></svg>',1)])],2),o("div",Ya,[o("p",Wa,d(a.attachment.name),1),a.attachment.size?(n(),s("p",Xa,d(a.attachment.size),1)):m("",!0)])])):m("",!0),o("div",Za,[o("p",Na,d(a.c
6ontent),1)])])])):(n(),s("div",Ga,[a.isAuthPrompt?(n(),s("p",qa,[z.value?(n(),s(w,{key:0},[T(d(z.value.before)+" ",1),o("a",{href:z.value.signInFirst?"https://veeso.ai/login":"https://veeso.ai/signup",target:"_blank",class:"text-black font-medium hover:underline"},d(z.value.signInFirst?z.value.signInLabel:z.value.signUpLabel),9,Ka),T(" "+d(z.value.middle)+" ",1),o("a",{href:z.value.signInFirst?"https://veeso.ai/signup":"https://veeso.ai/login",target:"_blank",class:"text-black font-medium hover:underline"},d(z.value.signInFirst?z.value.signUpLabel:z.value.signInLabel),9,Ja),T(" "+d(z.value.after),1)],64)):(n(),s(w,{key:1},[T(d(t.$t("landing_home.mock.auth.prompt")),1)],64))])):(n(),s("p",Qa,[T(d(a.displayedContent!==void 0?a.displayedContent:a.content)+" ",1),a.isTyping?(n(),s("span",eo)):m("",!0)])),a.sections?(n(),ke(Rt,{key:2,"enter-active-class":"transition-all duration-300 ease-out","enter-from-class":"opacity-0 translate-y-2","enter-to-class":"opacity-100 translate-y-0"},{default:G(()=>[(n(!0),s(w,null,N(a.sections.slice(0,a.visibleSectionsCount??a.sections.length),l=>(n(),s("div",{key:l.id,class:"space-y-2"},[l.content?m("",!0):(n(),s("div",to,[o("span",ao,d(l.label),1)])),l.content?(n(),s("div",oo,[l.label?(n(),s("p",lo,d(l.label),1)):m("",!0),o("p",no,d(l.content),1)])):l.color?(n(),s("div",so,[o("div",{class:"w-5 h-5 rounded",style:M({backgroundColor:l.color})},null,4),o("span",io,d(l.value),1)])):l.icon?(n(),s("div",ro,[o("span",co,d(l.icon),1),o("span",uo,d(l.value),1)])):l.value?(n(),s("div",mo,[e[17]||(e[17]=o("div",{class:"w-5 h-5 border border-black/30 rounded-sm"},null,-1)),o("span",ho,d(l.value),1)])):m("",!0)]))),128))]),_:2},1024)):m("",!0)]))]))),128))],512)),o("div",vo,[O(aa,{ref_key:"composerRef",ref:qe,modelValue:E.value,"onUpdate:modelValue":e[7]||(e[7]=a=>E.value=a),placeholder:t.$t("landing_home.mock.canvas.composer_placeholder"),attachment:ie.value,"auto-resize":i.composerAutoResize,onSend:gt},null,8,["modelValue","placeholder","attachment","auto-resize"])])],512),[[Bt,v.value]])]))}}),_o=Object.assign(Ae(go,[["__scopeId","data-v-c0f490dc"]]),{__name:"MockCanvas"});export{_o as M,Vt as S,It as _,aa as a,oa as w}; 7//# sourceMappingURL=DNNdcOu3.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.