1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,654150,e=>{"use strict";var t=e.i(670805);e.s(["ChevronDown",()=>t.default])},448751,e=>{"use strict";let t=(0,e.i(889522).default)("panel-left-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);e.s(["default",0,t])},173835,e=>{"use strict";let t=(0,e.i(889522).default)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);e.s(["default",0,t])},245193,e=>{"use strict";let t=(0,e.i(889522).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",ke
1y:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",0,t])},550573,e=>{"use strict";var t=e.i(245193);e.s(["Sparkles",()=>t.default])},336104,e=>{"use strict";var t=e.i(442445),a=e.i(84860),r=e.i(204361),s=e.i(697761),n=e.i(654150),i=e.i(570172),l=e.i(866273),o=e.i(173835),o=o,c=e.i(448751),c=c,d=e.i(550573),m=e.i(706392),u=e.i(199978),h=e.i(331597),x=e.i(511398),p=e.i(710990),g=e.i(526683);function f(e){let n,h,f,j,w,y,N,k,_,S,C,z,L,T=(0,a.c)(36),{activePath:M}=e,E=(0,s.usePathname)(),H=M||E,I=(0,m.useTranslations)("studio.sidebar"),P=(0,p.useMedia)("(min-width: 1280px)"),[B,D]=(0,r.useState)(!1),R=!P||B;T[0]!==I?(n=I.raw("displayLogoZone"),T[0]=I,T[1]=n):n=T[1];let O=n;T[2]!==I?(h=I.raw("allowGroupCollapse"),T[2]=I,T[3]=h):h=T[3];let A=h;T[4]!==I?(f=I.raw("groups"),T[4]=I,T[5]=f):f=T[5];let F=f;T[6]!==F?(j=Object.entries(F).map(b),T[6]=F,T[7]=j):j=T[7];let q=j;T[8]!==q?(w=()=>{let e={};return q.forEach(t=>{e[t.id]=!1!==t.defaultExpanded}),e},T[8]=q,T[9]=w):w=T[9];let[U,W]=(0,r.useState)(w);T[10]===Symbol.for("react.memo_cache_sentinel")?(y=e=>{W(t=>({...t,[e]:!t[e]}))},T[10]=y):y=T[10];let G=y,K=R?"w-16":"w-72";return T[11]!==K?(N=(0,g.cn)("relative flex h-full flex-col border-r transition-all duration-300",K),T[11]=K,T[12]=N):N=T[12],T[13]!==B?(k=()=>D(!B),T[13]=B,T[14]=k):k=T[14],T[15]!==R?(_=R?(0,t.jsx)(l.ChevronRight,{className:"size-4",width:"100%",height:"100%"}):(0,t.jsx)(i.ChevronLeft,{className:"size-4",width:"100%",height:"100%"}),T[15]=R,T[16]=_):_=T[16],T[17]!==_||T[18]!==k?(S=(0,t.jsx)(x.Button,{variant:"ghost",size:"icon",className:"bg-accent bg-muted/50 absolute top-15 -right-3 size-6 rounded-full border",onClick:k,children:_}),T[17]=_,T[18]=k,T[19]=S):S=T[19],T[20]!==R||T[21]!==O||T[22]!==I||T[23]!==B?(C=O&&(0,t.jsxs)("div",{className:"border-border flex h-14 items-center justify-between border-b px-4",children:[!R&&(0,t.jsxs)(u.Link,{href:"/studio",className:"flex items-center gap-2",children:[(0,t.jsx)(d.Sparkles,{className:"text-primary h-5 w-5"}),(0,t.jsx)("span",{className:"font-semibold",children:I("title")})]}),(0,t.jsx)(x.Button,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>D(!B),children:R?(0,t.jsx)(o.default,{className:"h-4 w-4"}):(0,t.jsx)(c.default,{className:"h-4 w-4"})})]}),T[20]=R,T[21]=O,T[22]=I,T[23]=B,T[24]=C):C=T[24],T[25]!==A||T[26]!==R||T[27]!==H||T[28]!==U||T[29]!==q?(z=(0,t.jsx)("nav",{className:"flex-1 overflow-y-auto p-4",children:q.map(e=>(0,t.jsx)(v,{groupId:e.id,group:e,collapsed:R,expanded:U[e.id],allowGroupCollapse:A,onToggle:()=>G(e.id),currentPath:H},e.id))}),T[25]=A,T[26]=R,T[27]=H,T[28]=U,T[29]=q,T[30]=z):z=T[30],T[31]!==S||T[32]!==C||T[33]!==z||T[34]!==N?(L=(0,t.jsxs)("aside",{className:N,children:[S,C,z]}),T[31]=S,T[32]=C,T[33]=z,T[34]=N,T[35]=L):L=T[35],L}function b(e){let[t,a]=e;return{id:t,...a}}function v(e){let r,s,i,o,c,d=(0,a.c)(26),{group:m,collapsed:u,expanded:h,onToggle:x,allowGroupCollapse:p,currentPath:f}=e,b=m.items;if(d[0]!==p||d[1]!==u||d[2]!==f||d[3]!==h||d[4]!==m.items||d[5]!==m.name||d[6]!==m.showDivider||d[7]!==m.showName||d[8]!==x){o=Symbol.for("react.early_return_sentinel");e:{let e=b.filter(j);if(0===e.length){o=null;break e}let a=!1!==m.showName,c=!0===m.showDivider&&"border-border border-b pb-2";d[13]!==c?(r=(0,g.cn)("mb-2",c),d[13]=c,d[14]=r):r=d[14],d[15]!==p||d[16]!==u||d[17]!==h||d[18]!==m.name||d[19]!==x||d[20]!==a?(s=!u&&a&&(0,t.jsxs)("button",{onClick:x,disabled:!p,className:(0,g.cn)("text-muted-foreground flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-xs font-medium","disabled:!cursor-default"),children:[p?h?(0,t.jsx)(n.ChevronDown,{className:"h-3 w-3"}):(0,t.jsx)(l.ChevronRight,{className:"h-3 w-3"}):null,(0,t.jsx)("span",{className:"tracking-wider uppercase",children:m.name})]}),d[15]=p,d[16]=u,d[17]=h,d[18]=m.name,d[19]=x,d[20]=a,d[21]=s):s=d[21],i=(u||h)&&(0,t.jsx)("div",{className:(0,g.cn)("space-y-0.5",!u&&a&&"mt-1"),children:e.map(e=>(0,t.jsx)(N,{item:e,collapsed:u,isActive:f.includes(e.path),shouldIndent:a&&!1!==e.indent},e.id))})}d[0]=p,d[1]=u,d[2]=f,d[3]=h,d[4]=m.items,d[5]=m.name,d[6]=m.showDivider,d[7]=m.showName,d[8]=x,d[9]=r,d[10]=s,d[11]=i,d[12]=o}else r=d[9],s=d[10],i=d[11],o=d[12];return o!==Symbol.for("react.early_return_sentinel")?o:(d[22]!==r||d[23]!==s||d[24]!==i?(c=(0,t.jsxs)("div",{className:r,children:[s,i]}),d[22]=r,d[23]=s,d[24]=i,d[25]=c):c=d[25],c)}function j(e){return!1!==e.enabled}function w(e){switch(e){case"primary":return"bg-primary text-primary-foreground hover:bg-primary/90";case"secondary":return"bg-secondary text-secondary-foreground hover:bg-secondary/80";case"outline":return"border border-input bg-background hover:bg-accent hover:text-accent-foreground";case"ghost":return"hover:bg-accent hover:text-accent-foreground";default:return"text-foreground hover:bg-accent hover:text-accent-foreground"}}function y(e){let r,s,n,i,l=(0,a.c)(10),{item:o}=e;return l[0]!==o.isNew?(r=o.isNew&&(0,t.jsx)("span",{className:"tag tag-new",children:"NEW"}),l[0]=o.isNew,l[1]=r):r=l[1],l[2]!==o.isHot?(s=o.isHot&&(0,t.jsx)("span",{className:"tag tag-hot",children:"HOT"}),l[2]=o.isHot,l[3]=s):s=l[3],l[4]!==o.tagPromo?(n=o.tagPromo&&(0,t.jsx)("span",{className:"tag tag-promo",children:o.tagPromo}),l[4]=o.tagPromo,l[5]=n):n=l[5],l[6]!==r||l[7]!==s||l[8]!==n?(i=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[r,s,n]}),l[6]=r,l[7]=s,l[8]=n,l[9]=i):i=l[9],i}function N(e){let r,s,n=(0,a.c)(22),{item:i,collapsed:l,isActive:o,shouldIndent:c}=e,d=i.type||"nav";n[0]!==l||n[1]!==i?(r=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(h.SmartIcon,{name:i.icon,size:16}),!l&&(0,t.jsx)("span",{className:"flex-1 truncate",children:i.name})]}),!l&&(0,t.jsx)(y,{item:i})]}),n[0]=l,n[1]=i,n[2]=r):r=n[2];let m=r;if(n[3]!==l||n[4]!==o||n[5]!==i.action||n[6]!==i.external||n[7]!==i.name||n[8]!==i.path||n[9]!==i.variant||n[10]!==d||n[11]!==m||n[12]!==c){s=Symbol.for("react.early_return_sentinel");e:{let e=(0,g.cn)("flex items-center justify-between gap-3 rounded-md px-3 py-2 text-sm transition-colors",l&&"justify-center px-2",!l&&c&&"ml-2");switch(d){case"link-button":{let a,r=i.path,o=(0,g.cn)(e,w(i.variant));n[14]!==m?(a=m(),n[14]=m,n[15]=a):a=n[15],s=(0,t.jsx)(u.Link,{href:r,target:i.external?"_blank":void 0,rel:i.external?"noopener noreferrer":void 0,className:o,title:l?i.name:void 0,children:a});break e}case"button":{let a,r,o=(0,g.cn)(e,"w-full",w(i.variant));n[16]!==i.action?(a=()=>{console.warn(`Button action "${i.action}" is not implemented yet`)},n[16]=i.action,n[17]=a):a=n[17],n[18]!==m?(r=m(),n[18]=m,n[19]=r):r=n[19],s=(0,t.jsx)("button",{type:"button",className:o,title:l?i.name:void 0,onClick:a,children:r});break e}default:{let a,r=i.path,c=(0,g.cn)(e,o?"bg-accent text-primary":"text-foreground hover:bg-accent hover:text-accent-foreground");n[20]!==m?(a=m(),n[20]=m,n[21]=a):a=n[21],s=(0,t.jsx)(u.Link,{href:r,target:i.external?"_blank":void 0,rel:i.external?"noopener noreferrer":void 0,className:c,title:l?i.name:void 0,children:a});break e}}}n[3]=l,n[4]=o,n[5]=i.action,n[6]=i.external,n[7]=i.name,n[8]=i.path,n[9]=i.variant,n[10]=d,n[11]=m,n[12]=c,n[13]=s}else s=n[13];if(s!==Symbol.for("react.early_return_sentinel"))return s}e.i(654243),e.i(741820);var k=e.i(799112),_=e.i(54074),S=e.i(998559),C=e.i(538630),z=e.i(600195);function L(e){let r,s,n,i,l,o,c,d,m,u,h,x,p,g,f,b,v,j,w,y,N,L,H,I=(0,a.c)(50),{footer:P}=e,B=`py-8 sm:py-8 ${P.className||""} overflow-x-hidden`;return I[0]!==P.brand?(r=P.brand?(0,t.jsx)(k.BrandLogo,{brand:P.brand}):null,I[0]=P.brand,I[1]=r):r=I[1],I[2]!==P.brand?(s=P.brand?.description?(0,t.jsx)("p",{className:"text-muted-foreground text-sm text-balance break-words",dangerouslySetInnerHTML:{__html:P.brand.description}}):null,I[2]=P.brand,I[3]=s):s=I[3],I[4]!==r||I[5]!==s?(n=(0,t.jsxs)("div",{className:"min-w-0 space-y-4 break-words md:col-span-2 md:space-y-6",children:[r,s]}),I[4]=r,I[5]=s,I[6]=n):n=I[6],I[7]!==P.nav?.items?(i=P.nav?.items.map(E),I[7]=P.nav?.items,I[8]=i):i=I[8],I[9]!==i?(l=(0,t.jsx)("div",{className:"col-span-3 grid min-w-0 gap-6 sm:grid-cols-3",children:i}
1),I[9]=i,I[10]=l):l=I[10],I[11]!==n||I[12]!==l?(o=(0,t.jsxs)("div",{className:"grid min-w-0 gap-12 md:grid-cols-5",children:[n,l]}),I[11]=n,I[12]=l,I[13]=o):o=I[13],I[14]!==P.show_built_with?(c=!1!==P.show_built_with?(0,t.jsx)(_.BuiltWith,{}):null,I[14]=P.show_built_with,I[15]=c):c=I[15],I[16]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{className:"min-w-0 flex-1"}),I[16]=d):d=I[16],I[17]!==P.show_theme?(m=!1!==P.show_theme?(0,t.jsx)(z.ThemeToggler,{type:"toggle"}):null,I[17]=P.show_theme,I[18]=m):m=I[18],I[19]!==P.show_locale?(u=!1!==P.show_locale?(0,t.jsx)(C.LocaleSelector,{type:"button"}):null,I[19]=P.show_locale,I[20]=u):u=I[20],I[21]!==m||I[22]!==u||I[23]!==c?(h=(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-4 sm:gap-8",children:[c,d,m,u]}),I[21]=m,I[22]=u,I[23]=c,I[24]=h):h=I[24],I[25]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("div",{"aria-hidden":!0,className:"h-px min-w-0 [background-image:linear-gradient(90deg,var(--color-foreground)_1px,transparent_1px)] bg-[length:6px_1px] bg-repeat-x opacity-25"}),I[25]=x):x=I[25],I[26]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("a",{href:"https://turbo0.com/item/hy-motion",target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)("img",{src:"https://img.turbo0.com/badge-listed-light.svg",alt:"Listed on Turbo0",loading:"lazy",style:{height:"40px",width:"auto"}})}),I[26]=p):p=I[26],I[27]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)("a",{href:"https://findly.tools/hy-motion?utm_source=hy-motion",target:"_blank",children:(0,t.jsx)("img",{src:"https://findly.tools/badges/findly-tools-badge-light.svg",alt:"Featured on findly.tools",loading:"lazy",style:{height:"40px",width:"auto"}})}),I[27]=g):g=I[27],I[28]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("a",{href:"https://submitaitools.org",target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)("img",{src:"https://submitaitools.org/static_submitaitools/images/submitaitools.png",alt:"Submit AI Tools",loading:"lazy",style:{borderRadius:"10px",height:"40px",width:"auto"}})}),I[28]=f):f=I[28],I[29]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsxs)("div",{className:"flex justify-center gap-4",children:[p,g,f,(0,t.jsx)("a",{href:"https://fazier.com/launches/hymotion.app",target:"_blank",children:(0,t.jsx)("img",{src:"https://fazier.com/api/v1//public/badges/launch_badges.svg?badge_type=launched&theme=light",style:{borderRadius:"10px",height:"40px",width:"auto"},alt:"Fazier badge"})})]}),I[29]=b):b=I[29],I[30]!==P.brand||I[31]!==P.copyright?(v=P.copyright?(0,t.jsx)("p",{className:"text-muted-foreground text-sm text-balance break-words",dangerouslySetInnerHTML:{__html:P.copyright}}):P.brand?(0,t.jsx)(S.Copyright,{brand:P.brand}):null,I[30]=P.brand,I[31]=P.copyright,I[32]=v):v=I[32],I[33]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)("div",{className:"min-w-0 flex-1"}),I[33]=j):j=I[33],I[34]!==P.agreement?(w=P.agreement?(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-4",children:P.agreement?.items.map(M)}):null,I[34]=P.agreement,I[35]=w):w=I[35],I[36]!==P.social?(y=P.social?(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:P.social?.items.map(T)}):null,I[36]=P.social,I[37]=y):y=I[37],I[38]!==v||I[39]!==w||I[40]!==y?(N=(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap justify-between gap-8",children:[v,j,w,y]}),I[38]=v,I[39]=w,I[40]=y,I[41]=N):N=I[41],I[42]!==h||I[43]!==N||I[44]!==o?(L=(0,t.jsxs)("div",{className:"container space-y-8 overflow-x-hidden",children:[o,h,x,b,N]}),I[42]=h,I[43]=N,I[44]=o,I[45]=L):L=I[45],I[46]!==P.id||I[47]!==B||I[48]!==L?(H=(0,t.jsx)("footer",{id:P.id,className:B,children:L}),I[46]=P.id,I[47]=B,I[48]=L,I[49]=H):H=I[49],H}function T(e,a){return(0,t.jsx)(u.Link,{href:e.url||"",target:e.target||"",className:"text-muted-foreground hover:text-primary bg-background block cursor-pointer rounded-full p-2 duration-150","aria-label":e.title||"Social media link",children:e.icon&&(0,t.jsx)(h.SmartIcon,{name:e.icon,size:20})},a)}function M(e,a){return(0,t.jsx)(u.Link,{href:e.url||"",target:e.target||"",className:"text-muted-foreground hover:text-primary block text-xs break-words underline duration-150",children:e.title||""},a)}function E(e,a){return(0,t.jsxs)("div",{className:"min-w-0 space-y-4 text-sm break-words",children:[(0,t.jsx)("span",{className:"block font-medium break-words",children:e.title}),(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap gap-4 sm:flex-col",children:e.children?.map(H)})]},a)}function H(e,a){return(0,t.jsx)(u.Link,{href:e.url||"",target:e.target||"",className:"text-muted-foreground hover:text-primary block break-words duration-150",children:(0,t.jsx)("span",{className:"break-words",children:e.title||""})},a)}e.i(320384),e.i(943592),e.i(890210),e.i(693287),e.i(223833),e.i(550974),e.i(137114),e.i(32943),e.i(514534),e.i(417374),e.i(421616),e.i(389366),e.i(435624),e.i(609639),e.i(140880),e.i(944560),e.i(471061),e.i(669764),e.i(850260),e.i(387115),e.s(["StudioContent",0,function(e){let r,s,n,i,l=(0,a.c)(8),{children:o,footer:c}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"hidden sm:block",children:(0,t.jsx)(f,{})}),l[0]=r):r=l[0],l[1]!==o?(s=(0,t.jsx)("div",{children:o}),l[1]=o,l[2]=s):s=l[2],l[3]!==c?(n=(0,t.jsx)(L,{footer:c}),l[3]=c,l[4]=n):n=l[4],l[5]!==s||l[6]!==n?(i=(0,t.jsxs)("div",{className:"flex flex-1 overflow-hidden",children:[r,(0,t.jsxs)("main",{className:"my-scroll-container flex-1 overflow-y-auto",children:[s,n]})]}),l[5]=s,l[6]=n,l[7]=i):i=l[7],i}],336104)},686247,e=>{"use strict";var t=e.i(442445),a=e.i(84860),r=e.i(526683);e.s(["Card",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l},"CardAction",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card-action",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l},"CardContent",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("px-6",
1s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card-content",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l},"CardDescription",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("text-muted-foreground text-sm",s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card-description",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l},"CardFooter",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("flex items-center px-6 [.border-t]:pt-6",s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card-footer",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l},"CardHeader",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card-header",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l},"CardTitle",0,function(e){let s,n,i,l,o=(0,a.c)(8);return o[0]!==e?({className:s,...n}=e,o[0]=e,o[1]=s,o[2]=n):(s=o[1],n=o[2]),o[3]!==s?(i=(0,r.cn)("leading-none font-semibold",s),o[3]=s,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(l=(0,t.jsx)("div",{"data-slot":"card-title",className:i,...n}),o[5]=n,o[6]=i,o[7]=l):l=o[7],l}])},740170,e=>{"use strict";var t=e.i(442445);e.i(84860);var a=e.i(204361),r=e.i(654150),s=e.i(866273),n=e.i(539143),i=e.i(550573),l=e.i(653668),o=e.i(706392),c=e.i(199978);e.i(741820);var d=e.i(799112),m=e.i(221178),u=e.i(538630),h=e.i(642616),x=e.i(331597),p=e.i(600195);e.i(55543);var g=e.i(710990),f=e.i(526683);e.s(["Header",0,function({header:e}){let[b,v]=(0,a.useState)(!1),[j,w]=(0,a.useState)(!1),y=(0,g.useMedia)("(min-width: 64rem)");(0,c.useRouter)();let N=(0,c.usePathname)(),k=(0,o.useTranslations)("studio.sidebar"),_=(0,a.useMemo)(()=>{try{let e=k.raw("groups");return Object.entries(e).map(([e,t])=>({id:e,...t}))}catch{return[]}},[k]),[S,C]=(0,a.useState)({});return(0,a.useEffect)(()=>{if(_.length>0){let e={};_.forEach(t=>{e[t.id]=!1!==t.defaultExpanded}),C(e)}},[_]),(0,a.useEffect)(()=>{let e=()=>{w(window.scrollY>50)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("header",{"data-state":b?"active":"inactive",...j&&{"data-scrolled":!0},className:(0,f.cn)("has-data-[state=open]:bg-background/50 fixed inset-x-0 top-0 z-50 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur"),children:(0,t.jsx)("div",{className:(0,f.cn)("border-border absolute inset-x-0 top-0 z-50 h-18 border-b ring-1 ring-transparent transition-all duration-300","in-data-scrolled:bg-background/75 in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/75 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/75 max-lg:h-14 max-lg:overflow-hidden max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur"),children:(0,t.jsxs)("div",{className:"w-full px-4 lg:px-6 xl:px-8",children:[(0,t.jsxs)("div",{className:"relative flex items-center justify-between max-lg:h-14 lg:py-5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("button",{onClick:()=>v(!b),"aria-label":b?"Close Menu":"Open Menu",className:"relative z-20 -m-2 block cursor-pointer p-2 lg:hidden",children:[(0,t.jsx)(n.Menu,{className:(0,f.cn)("m-auto size-5 transition-all duration-200",b&&"scale-0 rotate-180 opacity-0")}),(0,t.jsx)(l.X,{className:(0,f.cn)("absolute inset-0 m-auto size-5 transition-all duration-200",b?"scale-100 rotate-0 opacity-100":"scale-0 -rotate-180 opacity-0")})]}),e.brand&&(0,t.jsx)(d.BrandLogo,{brand:e.brand})]}),(0,t.jsx)("div",{className:"flex items-center gap-4 lg:gap-6",children:(0,t.jsxs)("div",{className:"flex items-center gap-4 sm:gap-6",children:[e.show_theme?(0,t.jsx)(p.ThemeToggler,{}):null,e.show_locale?(0,t.jsx)(u.LocaleSelector,{}):null,e.show_credits?(0,t.jsx)(m.CreditsDisplay,{}):null,(0,t.jsx)("div",{className:"flex-1 md:hidden"}),e.show_sign?(0,t.jsx)(h.SignUser,{userNav:e.user_nav}):null,e.buttons&&e.buttons.map((e,a)=>(0,t.jsxs)(c.Link,{href:e.url||"",target:e.target||"_self",className:(0,f.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-7 px-3 ring-0","outline"===e.variant?"bg-background ring-foreground
1/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),children:[e.icon&&(0,t.jsx)(x.SmartIcon,{name:e.icon}),(0,t.jsx)("span",{children:e.title})]},a))]})})]}),b&&!y&&(0,t.jsx)("div",{className:"bg-background/95 border-border mt-8 max-h-[calc(100vh-3.5rem)] overflow-y-auto border-t backdrop-blur lg:hidden",children:(0,t.jsx)(({closeMenu:e})=>(0,t.jsxs)("nav",{role:"navigation",className:"w-full px-4 py-4",children:[(0,t.jsxs)(c.Link,{href:"/studio",onClick:e,className:"mb-4 flex items-center gap-2 px-2",children:[(0,t.jsx)(i.Sparkles,{className:"text-primary h-5 w-5"}),(0,t.jsx)("span",{className:"font-semibold",children:k("title")})]}),(0,t.jsx)("div",{className:"space-y-2",children:_.map(a=>{let n=a.items.filter(e=>!1!==e.enabled);return 0===n.length?null:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsxs)("button",{onClick:()=>{var e;return e=a.id,void C(t=>({...t,[e]:!t[e]}))},className:"text-muted-foreground hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-xs font-medium",children:[S[a.id]?(0,t.jsx)(r.ChevronDown,{className:"h-3 w-3"}):(0,t.jsx)(s.ChevronRight,{className:"h-3 w-3"}),(0,t.jsx)("span",{className:"tracking-wider uppercase",children:a.name})]}),S[a.id]&&(0,t.jsx)("div",{className:"mt-1 ml-2 space-y-0.5",children:n.map(a=>{let r=N.includes(a.path);return(0,t.jsxs)(c.Link,{href:a.path,onClick:e,className:(0,f.cn)("flex items-center gap-3 rounded-md px-3 py-2 text-sm transition-colors",r?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"),children:[(0,t.jsx)(x.SmartIcon,{name:a.icon,className:"h-4 w-4"}),(0,t.jsx)("span",{className:"flex-1 truncate",children:a.name}),a.isNew&&(0,t.jsx)("span",{className:"bg-primary/20 text-primary rounded px-1.5 py-0.5 text-[10px] font-medium",children:"NEW"}),a.isHot&&(0,t.jsx)("span",{className:"rounded bg-orange-500/20 px-1.5 py-0.5 text-[10px] font-medium text-orange-500",children:"HOT"})]},a.id)})})]},a.id)})}),(0,t.jsx)("div",{className:"border-border mt-4 border-t pt-4",children:(0,t.jsx)("p",{className:"text-muted-foreground text-xs",children:k("powered_by")})})]}),{closeMenu:()=>v(!1)})})]})})})})}])}]);
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.