import{r as e}from"./rolldown-runtime-DCMCV6zW.js";import"./vendor-primevue-DsBxnwSO.js";import"./vendor-firebase-CdLSXhbt.js";import{$ as t,A as n,Bt as r,D as i,F as a,Ft as o,L as s,P as c,ht as l,nt as u,t as d,x as f}from"./vendor-vue-core-D3IvUUeM.js";import"./vendor-other-C_YjAAj3.js";import"./useFeatureFlags-Bfb3fghV.js";import"./api-Ckh8-1rW.js";import"./colorUtil-DCPbkdH3.js";import{n as p}from"./vendor-i18n-CHjQVoSH.js";import"./i18n-C2nvaQjh.js";import"./vendor-reka-ui-djAAohzU.js";import{t as m}from"./Button-CJj3KtkO.js";import"./dialogService-Daa_oID7.js";import"./systemStatsStore-CSnXy46l.js";import"./useErrorHandling-BfFOVBcK.js";import{t as h}from"./_plugin-vue_export-helper-CyuQ2M0r.js";import"./dialogStore-CBXn_TDV.js";import"./useCopyToClipboard-DcMopO23.js";import"./vendor-tiptap-CjhX_1DY.js";import"./vendor-markdown-CyF8uRn7.js";import"./markdownRendererUtil-DU6rKHAL.js";import"./useExternalLink-C8tDmXU8.js";import{t as g}from"./GlobalToast-DAeTK8CV.js";import{t as _}from"./BaseViewTemplate-B3k4vini.js";var v=``+new URL(`thumbnail-imMA3y7Z.png`,import.meta.url).href,y=``+new URL(`video-BvOHf4P9.mp4`,import.meta.url).href,b=``+new URL(`images/comfy-cloud-logo.svg`,import.meta.url).href,x={},S={class:`mx-auto flex h-[7%] max-h-[70px] w-5/6 items-end`},C=[`alt`];function _sfc_render(e,r){return t(),n(`div`,S,[i(`img`,{src:b,alt:e.$t(`subscription.comfyCloudLogo`),class:`h-3/4 max-h-10 w-auto`},null,8,C)])}var w=h(x,[[`render`,_sfc_render]]),T={class:`mx-auto flex h-[5%] max-h-[60px] w-5/6 items-start gap-2.5`},E={href:`https://www.comfy.org/terms-of-service`,target:`_blank`,class:`cursor-pointer text-sm text-gray-600 no-underline`},D={href:`https://www.comfy.org/privacy-policy`,target:`_blank`,class:`cursor-pointer text-sm text-gray-600 no-underline`},O={href:`https://support.comfy.org`,class:`cursor-pointer text-sm text-gray-600 no-underline`,target:`_blank`,rel:`noopener noreferrer`},k=s({__name:`CloudTemplateFooter`,setup(e){let{t:a}=p();return(e,s)=>(t(),n(`footer`,T,[i(`a`,E,r(o(a)(`auth.login.termsLink`)),1),i(`a`,D,r(o(a)(`auth.login.privacyLink`)),1),i(`a`,O,r(o(a)(`cloudFooter_needHelp`)),1)]))}}),A={class:`flex`},j={class:`relative hidden flex-1 overflow-hidden bg-black lg:block`},M=[`poster`],N=[`src`],P={class:`absolute inset-0 flex items-center justify-center text-center text-white`},F={class:`font-abcrom hero-title font-black uppercase italic`},I={class:`m-2 text-center text-xl text-white`},L={class:`m-0 text-center text-xl text-white`},R={class:`absolute inset-0 flex flex-col justify-end px-14 pb-[64px]`},z={class:`flex items-center justify-end`},B={class:`flex items-center gap-3`},V={class:`text-md text-white`},H=s({__name:`CloudTemplate`,setup(e){let{t:s}=p(),handleDownloadClick=()=>{window.open(`https://www.comfy.org/download`,`_blank`)};return(e,d)=>(t(),n(`div`,A,[a(_,{dark:``,class:`flex-1`},{header:l(()=>[a(w)]),footer:l(()=>[a(k)]),default:l(()=>[u(e.$slots,`default`)]),_:3}),i(`div`,j,[i(`video`,{class:`absolute inset-0 h-full w-full object-cover`,autoplay:``,muted:``,loop:``,playsinline:``,poster:o(v)},[i(`source`,{src:o(y),type:`video/mp4`},null,8,N)],8,M),d[0]||=i(`div`,{class:`absolute inset-0 h-full w-full bg-black/30`},null,-1),i(`div`,P,[i(`div`,null,[i(`h1`,F,r(o(s)(`cloudStart_title`)),1),i(`p`,I,r(o(s)(`cloudStart_desc`)),1),i(`p`,L,r(o(s)(`cloudStart_explain`)),1)])]),i(`div`,R,[i(`div`,z,[i(`div`,B,[i(`p`,V,r(o(s)(`cloudStart_wantToRun`)),1),a(m,{type:`button`,class:`h-10 bg-black font-bold text-white`,variant:`secondary`,onClick:handleDownloadClick},{default:l(()=>[c(r(o(s)(`cloudStart_download`)),1)]),_:1})])])])])]))}}),U=s({__name:`CloudLayoutView`,setup(e){return(e,r)=>(t(),n(f,null,[a(H,null,{default:l(()=>[a(o(d))]),_:1}),a(g)],64))}});export{U as default};
//# sourceMappingURL=CloudLayoutView-CB9NTZip.js.map