import{n as O,r as Q,a as h,t as M,b as ut}from"../chunks/C5OrMAnU.js";import{s as Y,l as q,q as pt,i as lt}from"../chunks/B-4V-jI8.js";import{t as $,p as tt,s as vt,a as ot,d as e,c as s,r as t,n as nt,g as o,b as et,e as rt,u as ft,i as K,f as X,h as mt}from"../chunks/c625DOTJ.js";import{s as B}from"../chunks/CB4taJkr.js";import{e as Z,i as G}from"../chunks/UOmQN89A.js";import{d as F,c as N,e as E}from"../chunks/zO0CuF4M.js";import{d as ct,j as gt,e as ht,i as xt}from"../chunks/flAd0kFy.js";import"../chunks/CkTfP3o1.js";import{U as at}from"../chunks/D-XkNEAB.js";import{e as st}from"../chunks/DOs8svU4.js";import{B as H}from"../chunks/Cdd3lFmI.js";import{F as bt}from"../chunks/CorCCrLJ.js";import{T as wt}from"../chunks/DvcJt-9W.js";import{h as J}from"../chunks/Dsd3-0x-.js";import{E as yt}from"../chunks/xDKwCG3k.js";import{V as it}from"../chunks/BcfMzF_z.js";import{M as _t}from"../chunks/eeKT1H0w.js";import{S as kt}from"../chunks/BYy58_Fr.js";import{B as $t}from"../chunks/BsQpGzEx.js";import{C as Ct}from"../chunks/CdGE_8A2.js";import{S as Lt}from"../chunks/BuPmAkr0.js";var Rt=O('');function Ut(x,f){const r=Q(f,["$$slots","$$events","$$legacy"]);var l=Rt();let n;$(()=>n=Y(l,n,{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...r})),h(x,l)}var Mt=O('');function Dt(x,f){const r=Q(f,["$$slots","$$events","$$legacy"]);var l=Mt();let n;$(()=>n=Y(l,n,{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...r})),h(x,l)}var It=O('');function Vt(x,f){const r=Q(f,["$$slots","$$events","$$legacy"]);var l=It();let n;$(()=>n=Y(l,n,{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...r})),h(x,l)}const St=""+new URL("../assets/discodance.DwkhtVLR.webm",import.meta.url).href,Tt=""+new URL("../assets/discodance.DoNeuSLW.webp",import.meta.url).href,jt=""+new URL("../assets/rotation360.B6cj7MCb.webm",import.meta.url).href,Bt=""+new URL("../assets/rotation360.CNUGnMj6.webp",import.meta.url).href,zt=""+new URL("../assets/tittydrop.CPoaU4Fo.webm",import.meta.url).href,Pt=""+new URL("../assets/tittydrop.Diciluoi.webp",import.meta.url).href,qt=""+new URL("../assets/flying.Ch7wkwt-.webm",import.meta.url).href,At=""+new URL("../assets/flying.rZeVV6AB.webp",import.meta.url).href,Ft=""+new URL("../assets/squish.BqtIxgoB.webm",import.meta.url).href,Nt=""+new URL("../assets/squish.BwaeuKnH.webp",import.meta.url).href,Et=""+new URL("../assets/crush.yNZ7Fsj9.webm",import.meta.url).href,Zt=""+new URL("../assets/crush.DdH5ZuZI.webp",import.meta.url).href,Gt=""+new URL("../assets/transform.B-DJ6ZAW.webm",import.meta.url).href,Wt=""+new URL("../assets/transform.D6I1GdAX.webp",import.meta.url).href;var Ht=()=>!1,Jt=M('
',2),Kt=M('
'),Xt=M('
',2);function Ot(x,f){tt(f,!0);const r=[{video:qt,image:At,title:"Fly",subtitle:"See your dreams soar through digital skies.",effect:"flying"},{video:St,image:Tt,title:"Dance",subtitle:"Make your creativity dance across the screen.",effect:"discodance"},{video:jt,image:Bt,title:"Rotate",subtitle:"Revolve through the landscapes of imagination.",effect:"rotation360"},{video:Ft,image:Nt,title:"Squish",subtitle:"Compress your ideas into perfect form.",effect:"squish"},{video:Et,image:Zt,title:"Crush",subtitle:"Pulverize obstacles with creative force.",effect:"crush"},{video:Gt,image:Wt,title:"Transform",subtitle:"Reshape your vision into new realities.",effect:"vip"},{nsfw:!0,video:zt,image:Pt,title:"Reveal",subtitle:"A drop of digital fantasy, an allure beyond reality.",effect:"tittydrop"}],l=ft(()=>at.get().isMature());function n(){return new Date().getMinutes()%6}let c=vt(ot(n())),d=ot([]);function U(){rt(c,(o(c)+1)%r.length),r[o(c)].nsfw&&!o(l)&&U(),st("carousel_click"),I()}function D(){rt(c,(o(c)-1+r.length)%r.length),r[o(c)].nsfw&&!o(l)&&D(),st("carousel_click"),I()}function I(){!d||d.length===0||d.forEach((a,i)=>{i===o(c)?a==null||a.play():a==null||a.pause()})}function z(a){a===o(c)&&d[a]&&d[a].play()}function w(a,i){d[i]||(d[i]=a),i===o(c)&&a&&setTimeout(()=>{a.play()},10)}var V=Xt(),C=e(V),S=e(C);Z(S,17,()=>r,G,(a,i,v)=>{var k=Jt(),u=e(k);u.muted=!0,u.__contextmenu=[Ht],gt(u,(g,R)=>d[R]=g,g=>d==null?void 0:d[g],()=>[v]),pt(u,(g,R)=>w==null?void 0:w(g,R),()=>v),t(k),$((g,R)=>{E(k,1,g,"svelte-1u2yh2r"),q(u,"src",o(i).video),E(u,1,R,"svelte-1u2yh2r"),q(u,"poster",o(i).image)},[()=>F(N("absolute top-0 left-0 w-full h-full transition-opacity duration-300",v===o(c)?"opacity-100 z-10":"opacity-0 z-0")),()=>F(N("w-full h-auto lg:h-[350px] rounded-md object-contain pointer-events-none",o(i).nsfw&&!o(l)&&"blur-xl"))]),ht("mouseenter",u,()=>z(v)),h(a,k)});var j=s(S,2),P=e(j);t(j),t(C);var p=s(C,2),b=e(p);Z(b,21,()=>r,G,(a,i,v)=>{var k=Kt(),u=e(k),g=e(u,!0);t(u);var R=s(u,2),A=e(R,!0);t(R),t(k),$(W=>{E(k,1,W,"svelte-1u2yh2r"),B(g,o(i).title),B(A,o(i).subtitle)},[()=>F(N("absolute w-full transition-opacity duration-300 grid gap-4",v===o(c)?"opacity-100 z-10":"opacity-0 z-0"))]),h(a,k)}),t(b);var m=s(b,2),L=e(m);H(L,{get href(){return`/video?effect=${r[o(c)].effect??""}`},requireSignIn:!0,class:"bg-gradient-to-r from-primary to-purple-600 text-white rounded-full p-6 px-8 sm:px-6 px-3 text-md sm:text-xl",children:(a,i)=>{nt();var v=ut("Try Now");h(a,v)},$$slots:{default:!0}});var y=s(L,2),_=e(y);H(_,{size:"icon",class:"rounded-full h-[48px] w-[48px]","aria-label":"Previous slide",$$events:{click:D},children:(a,i)=>{Ut(a,{class:"size-6"})},$$slots:{default:!0}});var T=s(_,2);H(T,{size:"icon",class:"rounded-full h-[48px] w-[48px]","aria-label":"Next slide",$$events:{click:U},children:(a,i)=>{Dt(a,{class:"size-6"})},$$slots:{default:!0}}),t(y),t(m),t(p),t(V),$(()=>q(P,"src",r[0].video)),h(x,V),et()}ct(["contextmenu"]);var Qt=(x,f)=>f.promptMatureEnabled(),Yt=M('
',1),te=M(' ',1),ee=M('
'),ae=M('
');function oe(x,f){tt(f,!1);const r=at.get(),l=_t.get();lt();var n=ae(),c=e(n);Z(c,5,()=>J,G,(d,U,D)=>{let I=()=>o(U).image,z=()=>o(U).nsfw;var w=ee(),V=e(w),C=e(V),S=s(C,2);{var j=p=>{var b=Yt(),m=X(b),L=e(m);yt(L,{});var y=s(L,2);it(y,{}),t(m);var _=s(m,2);_.__click=[Qt,l];var T=e(_),a=e(T,!0);t(T),t(_),$(i=>B(a,i),[()=>r.isSignedIn()?"NSFW Content":"Sign in to view"],K),h(p,b)},P=p=>{var b=te(),m=X(b);m.__click=()=>{l.showVideo({...J[D],fileExt:"webm"})};var L=e(m),y=e(L,!0);t(L),t(m);var _=s(m,2),T=e(_);it(T,{}),t(_),$(()=>B(y,J[D].effect)),h(p,b)};xt(S,p=>{z()&&!r.isMature()?p(j):p(P,!1)})}t(V),t(w),$(p=>{q(C,"src",I()),E(C,1,p)},[()=>F(N(z()&&!r.isMature()&&"blur-xl"))],K),h(d,w)}),t(c),nt(2),t(n),h(x,n),et()}ct(["click"]);var re=M(`