PageSourceSearch

https://midtaperfade.ai/_next/static/chunks/app/%5Blocale%5D/(marketing)/layout-377bffb32a0ba822.js

js midtaperfade.ai collected 2026-10-05 12:15:52 UTC 53,634 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39278],{410:(e,t,a)=>{"use strict";a.d(t,{Ke:()=>o,Nt:()=>n,R6:()=>i});var r=a(21633),s=a(2249);function n({...e}){return(0,r.jsx)(s.bL,{"data-slot":"collapsible",...e})}function i({...e}){return(0,r.jsx)(s.R6,{"data-slot":"collapsible-trigger",...e})}function o({...e}){return(0,r.jsx)(s.Ke,{"data-slot":"collapsible-content",...e})}},1267:(e,t,a)=>{"use strict";a.d(t,{n:()=>c});var r=a(21633),s=a(4104),n=a(64178),i=a(25391),o=a(46450),l=a(48357);let c=({children:e,mode:t="redirect",asChild:a,callbackUrl:c})=>{let d=(0,i.tx)(),[u,m]=(0,l.useState)(!1),[x,h]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{m(!0)},[]),u)?"modal"===t?(0,r.jsxs)(n.lG,{open:x,onOpenChange:h,children:[(0,r.jsx)(n.zM,{asChild:a,children:e}),(0,r.jsxs)(n.Cf,{className:"sm:max-w-[400px] p-0",children:[(0,r.jsx)(n.c7,{className:"hidden",children:(0,r.jsx)(n.L3,{})}),(0,r.jsx)(s.LoginForm,{callbackUrl:c,className:"border-none"})]})]}):(0,r.jsx)("span",{onClick:()=>{let e=c?`${o.BV.Login}?callbackUrl=${encodeURIComponent(c)}`:`${o.BV.Login}`;console.log("login wrapper, loginPath",e),d.push(e)},className:"cursor-pointer",children:e}):null}},7031:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(21633),s=a(38069);function n({className:e,children:t}){return(0,r.jsx)("div",{className:(0,s.cn)("container","mx-auto max-w-7xl",e),children:t})}},13270:(e,t,a)=>{"use strict";a.d(t,{n:()=>x});var r=a(21633),s=a(4806),n=a(21898),i=a(38069),o=a(87773),l=a(85704),c=a(72433),d=a(87726),u=a(5100),m=a(48357);function x(){if(!n.u.ui.mode?.enableSwitch)return null;let{theme:e,setTheme:t}=(0,u.D)(),[a,x]=(0,m.useState)(!1),h=(0,d.c3)("Common.mode");return((0,m.useEffect)(()=>{x(!0)},[]),a)?(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-full border p-1",children:[(0,r.jsx)(s.$,{variant:"ghost",size:"icon",className:(0,i.cn)("size-6 px-0 rounded-full cursor-pointer","light"===e&&"bg-muted text-foreground"),onClick:()=>t("light"),"aria-label":h("light"),children:(0,r.jsx)(o.A,{className:"size-4"})}),(0,r.jsx)(s.$,{variant:"ghost",size:"icon",className:(0,i.cn)("size-6 px-0 rounded-full cursor-pointer","dark"===e&&"bg-muted text-foreground"),onClick:()=>t("dark"),"aria-label":h("dark"),children:(0,r.jsx)(l.A,{className:"size-4"})}),(0,r.jsx)(s.$,{variant:"ghost",size:"icon",className:(0,i.cn)("size-6 px-0 rounded-full cursor-pointer","system"===e&&"bg-muted text-foreground"),onClick:()=>t("system"),"aria-label":h("system"),children:(0,r.jsx)(c.A,{className:"size-4"})})]}):(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-full border p-1",children:[(0,r.jsx)("div",{className:"size-6 px-0 rounded-full"}),(0,r.jsx)("div",{className:"size-6 px-0 rounded-full"}),(0,r.jsx)("div",{className:"size-6 px-0 rounded-full"})]})}},26755:(e,t,a)=>{"use strict";a.d(t,{m8:()=>f,JB:()=>x,G4:()=>h,A7:()=>g});var r=a(9816);let s=(0,r.createServerReference)("7f6477aa8ab1953bc695136cf463e489ad5f0aa496",r.callServer,void 0,r.findSourceMapURL,"consumeCreditsAction"),n=(0,r.createServerReference)("7f766c17f3251d075855a58d999dc024c69944f4e3",r.callServer,void 0,r.findSourceMapURL,"getCreditBalanceAction"),i=(0,r.createServerReference)("7f766a53511b0e0a2fc1f6922a513c27ece44b7e1f",r.callServer,void 0,r.findSourceMapURL,"getCreditStatsAction"),o=(0,r.createServerReference)("7f4db39bd3855371388b2c222c3e9c521d1ca3a810",r.callServer,void 0,r.findSourceMapURL,"getCreditTransactionsAction");var l=a(34229),c=a(26976),d=a(97398),u=a(88040);let m={all:["credits"],balance:()=>[...m.all,"balance"],stats:()=>[...m.all,"stats"],transactions:()=>[...m.all,"transactions"],transactionsList:e=>[...m.transactions(),e]};function x(){return(0,l.I)({queryKey:m.balance(),queryFn:async()=>{console.log("Fetching credit balance...");let e=await n();if(!e?.data?.success)throw console.log("useCreditBalance error:",e?.data?.error),Error(e?.data?.error||"Failed to fetch credit balance");return console.log("Credit balance fetched:",e.data.credits),e.data.credits||0}})}function h(){return(0,l.I)({queryKey:m.stats(),queryFn:async()=>{console.log("Fetching credit stats...");let e=await i();if(!e?.data?.success)throw console.log("useCreditStats error:",e?.data?.error),Error(e?.data?.error||"Failed to fetch credit stats");return console.log("Credit stats fetched:",e.data.data),e.data.data}})}function f(){let e=(0,c.jE)();return(0,d.n)({mutationFn:async({amount:e,description:t})=>{let a=await s({amount:e,description:t});if(!a?.data?.success)throw console.log("useConsumeCredits error:",a?.data?.error),Error(a?.data?.error||"Failed to consume credits");return a.data},onSuccess:()=>
1{e.invalidateQueries({queryKey:m.balance()}),e.invalidateQueries({queryKey:m.stats()})}})}function g(e,t,a,r,s){return(0,l.I)({queryKey:m.transactionsList({pageIndex:e,pageSize:t,search:a,sorting:r,filters:s}),queryFn:async()=>{let n=await o({pageIndex:e,pageSize:t,search:a,sorting:r,filters:s});if(!n?.data?.success)throw console.log("useCreditTransactions error:",n?.data?.error),Error(n?.data?.error||"Failed to fetch credit transactions");return{items:n.data.data?.items||[],total:n.data.data?.total||0}},placeholderData:u.rX})}},46513:(e,t,a)=>{"use strict";a.d(t,{ModeSwitcher:()=>m});var r=a(21633),s=a(4806),n=a(71787),i=a(21898),o=a(87773),l=a(85704),c=a(72433),d=a(87726),u=a(5100);function m(){if(!i.u.ui.mode?.enableSwitch)return null;let{setTheme:e}=(0,u.D)(),t=(0,d.c3)("Common.mode");return(0,r.jsxs)(n.rI,{children:[(0,r.jsx)(n.ty,{asChild:!0,children:(0,r.jsxs)(s.$,{variant:"ghost",size:"sm",className:"size-8 p-0.5 border border-border rounded-full cursor-pointer",children:[(0,r.jsx)(o.A,{className:"rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,r.jsx)(l.A,{className:"absolute rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,r.jsx)("span",{className:"sr-only",children:t("label")})]})}),(0,r.jsxs)(n.SQ,{align:"end",children:[(0,r.jsxs)(n._2,{onClick:()=>e("light"),className:"cursor-pointer",children:[(0,r.jsx)(o.A,{className:"mr-2 size-4"}),(0,r.jsx)("span",{children:t("light")})]}),(0,r.jsxs)(n._2,{onClick:()=>e("dark"),className:"cursor-pointer",children:[(0,r.jsx)(l.A,{className:"mr-2 size-4"}),(0,r.jsx)("span",{children:t("dark")})]}),(0,r.jsxs)(n._2,{onClick:()=>e("system"),className:"cursor-pointer",children:[(0,r.jsx)(c.A,{className:"mr-2 size-4"}),(0,r.jsx)("span",{children:t("system")})]})]})]})}},64178:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>u,L3:()=>x,c7:()=>m,lG:()=>o,zM:()=>l});var r=a(21633);a(48357);var s=a(79927),n=a(70063),i=a(38069);function o({...e}){return(0,r.jsx)(s.bL,{"data-slot":"dialog",...e})}function l({...e}){return(0,r.jsx)(s.l9,{"data-slot":"dialog-trigger",...e})}function c({...e}){return(0,r.jsx)(s.ZL,{"data-slot":"dialog-portal",...e})}function d({className:e,...t}){return(0,r.jsx)(s.hJ,{"data-slot":"dialog-overlay",className:(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function u({className:e,children:t,showCloseButton:a=!0,...o}){return(0,r.jsxs)(c,{"data-slot":"dialog-portal",children:[(0,r.jsx)(d,{}),(0,r.jsxs)(s.UC,{"data-slot":"dialog-content",className:(0,i.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...o,children:[t,a&&(0,r.jsxs)(s.bm,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,r.jsx)(n.A,{}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"dialog-header",className:(0,i.cn)("flex flex-col gap-2 text-center sm:text-left",e),...t})}function x({className:e,...t}){return(0,r.jsx)(s.hE,{"data-slot":"dialog-title",className:(0,i.cn)("text-lg leading-none font-semibold",e),...t})}},73822:(e,t,a)=>{"use strict";a.d(t,{Navbar:()=>eh});var r=a(21633),s=a(1267),n=a(7031),i=a(23687),o=a(46513),l=a(95530),c=a(21898),d=a(25391),u=a(77285),m=a(67857),x=a(58259),h=a(15810),f=a(48357);function g(){if(!(Object.keys(c.u.i18n.locales).length>1))return null;let e=(0,d.tx)(),t=(0,d.iN)(),a=(0,h.useParams)(),s=(0,x.Ym)(),{currentLocale:n,setCurrentLocale:i}=(0,m.D)(),[,o]=(0,f.useTransition)();return(0,f.useEffect)(()=>{i(s)},[s,i]),(0,r.jsxs)(l.l6,{defaultValue:s,value:n,onValueChange:r=>{i(r),o(()=>{e.replace({pathname:t,params:a},{locale:r})})},children:[(0,r.jsx)(l.bq,{className:"w-fit cursor-pointer",children:(0,r.jsx)(l.yv,{placeholder:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[c.u.i18n.locales[u.Xn].flag&&(0,r.jsx)("span",{className:"text-lg",children:c.u.i18n.locales[u.Xn].flag}),(0,r.jsx)("span",{children:c.u.i18n.locales[u.Xn].name})]}),children:n&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[c.u.i18n.locales[n].flag&&(0,r.jsx)("span",{className:"text-lg",children:c.u.i18n.locales[n].flag}),(0,r.jsx)("span",{children:c.u.i18n.locales[n].name})]})})}
1),(0,r.jsx)(l.gC,{children:Object.entries(c.u.i18n.locales).map(([e,t])=>(0,r.jsx)(l.eb,{value:e,className:"cursor-pointer flex items-center gap-2",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[t.flag&&(0,r.jsx)("span",{className:"text-md",children:t.flag}),(0,r.jsx)("span",{children:t.name})]})},e))})]})}var p=a(13270),v=a(4806),j=a(410),b=a(46450),w=a(96398),N=a(39408),k=a(40818),y=a(27355),z=a(50034),C=a(42018),_=a(5368),A=a(87726);function S(){let e=(0,A.c3)("Marketing.navbar");return[{title:e("hairstyles.title"),items:[{title:e("hairstyles.items.midTaperFade.title"),description:e("hairstyles.items.midTaperFade.description"),icon:(0,r.jsx)(w.A,{className:"size-4 shrink-0"}),href:"/hairstyles/mid-taper-fade",external:!1},{title:e("hairstyles.items.buzzCut.title"),description:e("hairstyles.items.buzzCut.description"),icon:(0,r.jsx)(N.A,{className:"size-4 shrink-0"}),href:"/hairstyles/buzz-cut",external:!1},{title:e("hairstyles.items.undercut.title"),description:e("hairstyles.items.undercut.description"),icon:(0,r.jsx)(k.A,{className:"size-4 shrink-0"}),href:"/hairstyles/undercut",external:!1},{title:e("hairstyles.items.slickBack.title"),description:e("hairstyles.items.slickBack.description"),icon:(0,r.jsx)(y.A,{className:"size-4 shrink-0"}),href:"/hairstyles/slick-back",external:!1},{title:e("hairstyles.items.pompadour.title"),description:e("hairstyles.items.pompadour.description"),icon:(0,r.jsx)(z.A,{className:"size-4 shrink-0"}),href:"/hairstyles/pompadour",external:!1},{title:e("hairstyles.items.fauxHawk.title"),description:e("hairstyles.items.fauxHawk.description"),icon:(0,r.jsx)(C.A,{className:"size-4 shrink-0"}),href:"/hairstyles/faux-hawk",external:!1},{title:e("hairstyles.items.viewAll.title"),description:e("hairstyles.items.viewAll.description"),icon:(0,r.jsx)(_.A,{className:"size-4 shrink-0"}),href:"/hairstyles",external:!1}]},{title:e("tryNow.title"),href:"/#try-hairstyle",external:!1},{title:e("pricing.title"),href:b.BV.Pricing,external:!1},...c.u.blog.enable?[{title:e("blog.title"),href:b.BV.Blog,external:!1}]:[]]}var B=a(31274),L=a(38069),M=a(33622),E=a(70063),V=a(96102),F=a(42135),H=a(97639),O=a(89515),T=a(53205),q=a(69499),R=a(94787),P=a(83357),X=a(31290),U=a(68505),I=a(26567);function $(){let e=(0,A.c3)("Marketing.avatar");return[{title:e("dashboard"),href:b.BV.Dashboard,icon:(0,r.jsx)(X.A,{className:"size-4 shrink-0"})},{title:e("billing"),href:b.BV.SettingsBilling,icon:(0,r.jsx)(U.A,{className:"size-4 shrink-0"})},{title:e("settings"),href:b.BV.SettingsProfile,icon:(0,r.jsx)(I.A,{className:"size-4 shrink-0"})}]}var D=a(16868),K=a(10856);function Q({user:e}){let t=(0,A.c3)(),a=$(),s=(0,d.tx)(),[n,i]=(0,f.useState)(!1),o=()=>{i(!1)},l=async()=>{await B.y.signOut({fetchOptions:{onSuccess:()=>{console.log("sign out success"),s.replace("/")},onError:e=>{console.error("sign out error:",e),K.o.error(t("Common.logoutFailed"))}}})};return(0,r.jsxs)(P._s,{open:n,onClose:o,children:[(0,r.jsx)(P.Uz,{onClick:()=>i(!0),children:(0,r.jsx)(R.H,{name:e.name,image:e.image,className:"size-8 border cursor-pointer"})}),(0,r.jsxs)(P.uT,{children:[(0,r.jsx)(P.QP,{className:"fixed inset-0 z-40 bg-background/50"}),(0,r.jsxs)(P.zj,{className:"fixed inset-x-0 bottom-0 z-50 mt-24 overflow-hidden rounded-t-[10px] border bg-background px-3 text-sm",children:[(0,r.jsx)(P.BE,{children:(0,r.jsx)(P.gk,{})}),(0,r.jsxs)("div",{className:"flex items-center justify-start gap-4 p-2",children:[(0,r.jsx)(R.H,{name:e.name,image:e.image,className:"size-8 border cursor-pointer"}),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("p",{className:"font-medium",children:e.name}),(0,r.jsx)("p",{className:"w-[200px] truncate text-muted-foreground",children:e.email})]})]}),(0,r.jsxs)("ul",{className:"mb-14 mt-1 w-full text-muted-foreground",children:[a?.map(e=>(0,r.jsx)("li",{className:"rounded-lg text-foreground hover:bg-muted",children:(0,r.jsxs)(d.XO,{href:e.href||"#",onClick:o,className:"flex w-full items-center gap-3 px-2.5 py-2",children:[e.icon?e.icon:null,(0,r.jsx)("p",{className:"text-sm",children:e.title})]})}
1,e.title)),(0,r.jsx)("li",{className:"rounded-lg text-foreground hover:bg-muted",children:(0,r.jsxs)("a",{href:"#",onClick:async e=>{e.preventDefault(),o(),l()},className:"flex w-full items-center gap-3 px-2.5 py-2",children:[(0,r.jsx)(D.A,{className:"size-4"}),(0,r.jsx)("p",{className:"text-sm",children:t("Common.logout")})]})},"logout")]})]})]})]})}function W({className:e,...t}){let a=(0,A.c3)(),[s,n]=f.useState(!1),o=(0,d.iN)(),[l,c]=(0,f.useState)(!1),{data:u,isPending:m}=B.y.useSession(),x=u?.user;(0,f.useEffect)(()=>{c(!0)},[]),(0,f.useEffect)(()=>{document.activeElement instanceof HTMLInputElement&&document.activeElement.blur(),n(!1)},[o]);let h=()=>{let e=window.matchMedia("(min-width: 1024px)");n(t=>!!t&&!e.matches)};(0,f.useEffect)(()=>{h();let e=window.matchMedia("(min-width: 1024px)");return e.addEventListener("change",h),()=>e.removeEventListener("change",h)},[]);let g=()=>{n(e=>!e)};return l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,L.cn)("flex items-center justify-between",e),...t,children:[(0,r.jsxs)(d.XO,{href:b.BV.Root,className:"flex items-center gap-2",children:[(0,r.jsx)(i.Logo,{}),(0,r.jsx)("span",{className:"text-xl font-semibold",children:a("Metadata.name")})]}),(0,r.jsxs)("div",{className:"flex items-center justify-end gap-4",children:[m?(0,r.jsx)(q.E,{className:"size-8 border rounded-full"}):x?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(Q,{user:x})}):null,(0,r.jsx)(v.$,{variant:"ghost",size:"icon","aria-expanded":s,"aria-label":"Toggle Mobile Menu",onClick:g,className:"size-8 flex aspect-square h-fit select-none items-center justify-center rounded-md border cursor-pointer",children:s?(0,r.jsx)(E.A,{className:"size-4"}):(0,r.jsx)(V.A,{className:"size-4"})})]})]}),s&&(0,r.jsx)(M.Z,{asChild:!0,children:(0,r.jsx)(T.A,{allowPinchZoom:!0,enabled:!0,children:!m&&(0,r.jsx)(Y,{userLoggedIn:!!x,onLinkClicked:g})})})]}):null}function Y({userLoggedIn:e,onLinkClicked:t}){let[a,s]=f.useState({}),n=(0,A.c3)(),i=S(),o=(0,d.iN)();return(0,r.jsx)("div",{className:"fixed w-full inset-0 z-50 mt-[64px] overflow-y-auto bg-background backdrop-blur-md animate-in fade-in-0",children:(0,r.jsxs)("div",{className:"size-full flex flex-col items-start space-y-4",children:[e?null:(0,r.jsxs)("div",{className:"w-full flex flex-col gap-4 px-4",children:[(0,r.jsx)(d.XO,{href:b.BV.Login,onClick:t,className:(0,L.cn)((0,v.r)({variant:"outline",size:"lg"}),"w-full"),children:n("Common.login")}),(0,r.jsx)(d.XO,{href:b.BV.Register,className:(0,L.cn)((0,v.r)({variant:"default",size:"lg"}),"w-full"),onClick:t,children:n("Common.signUp")})]}),(0,r.jsx)("ul",{className:"w-full px-4",children:i?.map(e=>{let n=e.href?"/"===e.href?"/"===o:o.startsWith(e.href):e.items?.some(e=>e.href&&("/"===e.href?"/"===o:o.startsWith(e.href)));return(0,r.jsx)("li",{className:"py-1",children:e.items?(0,r.jsxs)(j.Nt,{open:a[e.title.toLowerCase()],onOpenChange:t=>s(a=>({...a,[e.title.toLowerCase()]:t})),children:[(0,r.jsx)(j.R6,{asChild:!0,children:(0,r.jsxs)(v.$,{type:"button",variant:"ghost",className:(0,L.cn)("flex w-full !pl-2 items-center justify-between text-left","bg-transparent text-muted-foreground cursor-pointer","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),children:[(0,r.jsx)("span",{className:"text-base",children:e.title}),a[e.title.toLowerCase()]?(0,r.jsx)(F.A,{className:"size-4"}):(0,r.jsx)(H.A,{className:"size-4"})]})}),(0,r.jsx)(j.Ke,{className:"pl-2",children:(0,r.jsx)("ul",{className:"mt-2 space-y-2 pl-0",children:e.items.map(e=>{let a=e.href&&o.startsWith(e.href);return(0,r.jsx)("li",{children:(0,r.jsxs)(d.XO,{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,L.cn)((0,v.r)({variant:"ghost"}),"group h-auto w-full justify-start gap-4 p-1 !pl-0 !pr-3","bg-transparent text-muted-foreground cursor-pointer","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",a&&"font-semibold bg-transparent text-foreground"),onClick:t,children:[(0,r.jsx)("div",{className:(0,L.cn)("flex size-8 shrink-0 items-center justify-center transition-colors ml-0","bg-transparent text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground"),children:e.icon?e.icon:null}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("span",{className:(0,L.cn)("text-sm text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"font-semibold bg-transparent text-foreground"),children:e.title})}),e.external&&(0,r.jsx)(O.A,{className:(0,L.cn)("size-4 shrink-0 text-muted-foreground items-center","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground")})]})}
1,e.title)})})})]}):(0,r.jsx)(d.XO,{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,L.cn)((0,v.r)({variant:"ghost"}),"w-full !pl-2 justify-start cursor-pointer group","bg-transparent text-muted-foreground","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),onClick:t,children:(0,r.jsx)("div",{className:"flex items-center w-full pl-0",children:(0,r.jsx)("span",{className:"text-base",children:e.title})})})},e.title)})}),(0,r.jsxs)("div",{className:"flex w-full items-center justify-between gap-4 border-t border-border/50 p-4",children:[(0,r.jsx)(g,{}),(0,r.jsx)(p.n,{})]})]})})}var Z=a(71787),G=a(26755),J=a(94913),ee=a(27897);function et(){if(!c.u.credits.enableCredits)return null;let e=(0,A.c3)("Marketing.avatar"),t=(0,d.tx)(),{data:a=0,isLoading:s}=(0,G.JB)();return(0,r.jsxs)("div",{className:"flex items-center justify-between cursor-pointer w-full",onClick:()=>{t.push(b.BV.SettingsCredits)},children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2.5",children:[(0,r.jsx)(J.A,{className:"h-4 w-4"}),(0,r.jsx)("p",{className:"text-sm",children:e("credits")})]}),(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsx)("p",{className:"text-sm font-medium",children:s?(0,r.jsx)(ee.A,{className:"h-4 w-4 animate-spin"}):a.toLocaleString()})})]})}function ea({user:e}){let t=(0,A.c3)(),a=$(),s=(0,d.tx)(),[n,i]=(0,f.useState)(!1),o=async()=>{await B.y.signOut({fetchOptions:{onSuccess:()=>{console.log("sign out success"),s.replace("/")},onError:e=>{console.error("sign out error:",e),K.o.error(t("Common.logoutFailed"))}}})};return(0,r.jsxs)(Z.rI,{open:n,onOpenChange:i,children:[(0,r.jsx)(Z.ty,{children:(0,r.jsx)(R.H,{name:e.name,image:e.image,className:"size-8 border cursor-pointer"})}),(0,r.jsxs)(Z.SQ,{align:"end",children:[(0,r.jsx)("div",{className:"flex items-center justify-start gap-2 p-2",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-1 leading-none",children:[(0,r.jsx)("p",{className:"font-medium",children:e.name}),(0,r.jsx)("p",{className:"w-[200px] truncate text-sm text-muted-foreground",children:e.email})]})}),(0,r.jsx)(Z.mB,{}),c.u.credits.enableCredits&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Z._2,{className:"cursor-pointer",children:(0,r.jsx)(et,{})}),(0,r.jsx)(Z.mB,{})]}),a.map(e=>(0,r.jsx)(Z._2,{className:"cursor-pointer",onClick:()=>{e.href&&s.push(e.href)},children:(0,r.jsxs)("div",{className:"flex items-center space-x-2.5",children:[e.icon?e.icon:null,(0,r.jsx)("p",{className:"text-sm",children:e.title})]})},e.title)),(0,r.jsx)(Z.mB,{}),(0,r.jsx)(Z._2,{className:"cursor-pointer",onSelect:async e=>{e.preventDefault(),i(!1),o()},children:(0,r.jsxs)("div",{className:"flex items-center space-x-2.5",children:[(0,r.jsx)(D.A,{className:"size-4"}),(0,r.jsx)("p",{className:"text-sm",children:t("Common.logout")})]})})]})]})}var er=a(98110);
1function es({className:e,children:t,viewport:a=!0,...s}){return(0,r.jsxs)(er.bL,{"data-slot":"navigation-menu","data-viewport":a,className:(0,L.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...s,children:[t,a&&(0,r.jsx)(ed,{})]})}function en({className:e,...t}){return(0,r.jsx)(er.B8,{"data-slot":"navigation-menu-list",className:(0,L.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),...t})}function ei({className:e,...t}){return(0,r.jsx)(er.q7,{"data-slot":"navigation-menu-item",className:(0,L.cn)("relative",e),...t})}let eo=(0,a(49991).F)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function el({className:e,children:t,...a}){return(0,r.jsxs)(er.l9,{"data-slot":"navigation-menu-trigger",className:(0,L.cn)(eo(),"group",e),...a,children:[t," ",(0,r.jsx)(F.A,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function ec({className:e,...t}){return(0,r.jsx)(er.UC,{"data-slot":"navigation-menu-content",className:(0,L.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",e),...t})}function ed({className:e,...t}){return(0,r.jsx)("div",{className:(0,L.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,r.jsx)(er.LM,{"data-slot":"navigation-menu-viewport",className:(0,L.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",e),...t})})}function eu({className:e,...t}){return(0,r.jsx)(er.N_,{"data-slot":"navigation-menu-link",className:(0,L.cn)("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",e),...t})}var em=a(76564);let ex=(0,L.cn)(eo(),"relative bg-transparent text-muted-foreground cursor-pointer","hover:bg-accent hover:text-accent-foreground","focus:bg-accent focus:text-accent-foreground","data-active:font-semibold data-active:bg-transparent data-active:text-accent-foreground","data-[state=open]:bg-transparent data-[state=open]:text-accent-foreground");function eh({scroll:e}
1){let t=(0,A.c3)(),a=function(e){let[t,a]=(0,f.useState)(!1),r=(0,f.useCallback)(()=>{a(window.pageYOffset>50)},[50]);return(0,f.useEffect)(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[r]),t}(50),l=S(),c=(0,d.iN)(),[u,m]=(0,f.useState)(!1),{data:x,isPending:h}=B.y.useSession(),g=x?.user;return(0,f.useEffect)(()=>{m(!0)},[]),(0,r.jsx)("section",{className:(0,L.cn)("sticky inset-x-0 top-0 z-40 py-4 transition-all duration-300",e?a?"bg-muted/50 dark:bg-[rgba(8,10,13,0.7)] backdrop-blur-md border-b border-border/60 dark:border-white/10 supports-backdrop-filter:bg-muted/50 dark:supports-backdrop-filter:bg-[rgba(8,10,13,0.7)]":"bg-transparent":"border-b border-border/60 bg-muted/50 dark:border-white/10 dark:bg-[rgba(8,10,13,0.85)]","dark:[background:radial-gradient(circle_at_12%_20%,rgba(0,138,138,0.14),transparent_32%),radial-gradient(circle_at_82%_12%,rgba(247,147,30,0.12),transparent_30%),linear-gradient(135deg,#0b0f14_0%,#0f0f0f_50%,#080a0d_100%)]","dark:text-[var(--mtf-text,inherit)]"),children:(0,r.jsxs)(n.A,{className:"px-4",children:[(0,r.jsxs)("nav",{className:"hidden lg:flex",children:[(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(d.XO,{href:"/",className:"flex items-center space-x-2",children:[(0,r.jsx)(i.Logo,{}),(0,r.jsx)("span",{className:"text-xl font-semibold text-foreground dark:text-white",children:t("Metadata.name")})]})}),(0,r.jsx)("div",{className:"flex-1 flex items-center justify-center space-x-2 text-foreground dark:text-white",children:(0,r.jsx)(es,{className:"relative",children:(0,r.jsx)(en,{className:"flex items-center",children:l?.map((e,t)=>e.items?(0,r.jsxs)(ei,{className:"relative",children:[(0,r.jsx)(el,{"data-active":e.items.some(e=>!!e.href&&c.startsWith(e.href))?"true":void 0,className:(0,L.cn)(ex,"text-foreground/80 hover:text-foreground dark:text-white/80 dark:hover:text-white"),children:e.title}),(0,r.jsx)(ec,{children:(0,r.jsx)("ul",{className:"grid w-[400px] gap-4 p-4 md:w-[500px] md:grid-cols-2 lg:w-[600px]",children:e.items?.map((e,t)=>{let a=e.href&&c.startsWith(e.href);return(0,r.jsx)("li",{children:(0,r.jsx)(eu,{asChild:!0,children:(0,r.jsxs)(d.XO,{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,L.cn)("group flex select-none flex-row items-center gap-4 roun
1ded-md","p-2 leading-none no-underline outline-hidden transition-colors","hover:bg-muted hover:text-foreground","focus:bg-muted focus:text-foreground",a&&"bg-muted text-foreground dark:bg-white/10 dark:text-white","dark:hover:bg-white/10 dark:hover:text-white","dark:focus:bg-white/10 dark:focus:text-white"),children:[(0,r.jsx)("div",{className:(0,L.cn)("flex size-8 shrink-0 items-center justify-center transition-colors","bg-transparent text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground dark:text-white","dark:text-white/70","dark:group-hover:text-white","dark:group-focus:text-white"),children:e.icon?e.icon:null}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:(0,L.cn)("text-sm font-medium text-foreground/80","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground dark:text-white","dark:text-white/80","dark:group-hover:text-white","dark:group-focus:text-white"),children:e.title}),e.description&&(0,r.jsx)("div",{className:(0,L.cn)("text-sm text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground/85","group-focus:bg-transparent group-focus:text-foreground/85",a&&"bg-transparent text-foreground/85 dark:text-white/85","dark:text-white/70","dark:group-hover:text-white/85","dark:group-focus:text-white/85"),children:e.description})]}),e.external&&(0,r.jsx)(O.A,{className:(0,L.cn)("size-4 shrink-0 text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground dark:text-white","dark:text-white/70","dark:group-hover:text-white","dark:group-focus:text-white")})]})})},t)})})})]},t):(0,r.jsx)(ei,{children:(0,r.jsx)(eu,{asChild:!0,active:!!e.href&&("/"===e.href?"/"===c:c.startsWith(e.href)),className:(0,L.cn)(ex,"text-foreground/80 hover:text-foreground dark:text-white/80 dark:hover:text-white"),children:(0,r.jsx)(d.XO,{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,children:e.title})})},t))})})}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4",children:[!u||h?(0,r.jsx)(q.E,{className:"size-8 border rounded-full"}):g?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(ea,{user:g})}):(0,r.jsxs)("div",{className:"flex items-center gap-x-4",children:[(0,r.jsx)(s.n,{mode:"modal",asChild:!0,children:(0,r.jsx)(v.$,{variant:"outline",size:"sm",className:"cursor-pointer border-border bg-transparent text-foreground hover:border-[var(--mtf-brand,#008a8a)] hover:text-foreground dark:border-white/40 dark:bg-white/5 dark:text-white/85 dark:hover:bg-white/10 dark:hover:text-white",children:t("Common.login")})}),(0,r.jsx)(d.XO,{href:b.BV.Register,className:(0,L.cn)((0,v.r)({variant:"default",size:"sm"}),"bg-[var(--mtf-brand,#008a8a)] text-white hover:bg-[var(--mtf-brand-dark,#006d6d)] shadow-[0_10px_30px_-12px_rgba(0,138,138,0.35)]"),children:t("Common.signUp")})]}),(0,r.jsx)(o.ModeSwitcher,{}),(0,r.jsx)(em.default,{})]})]}),(0,r.jsx)(W,{className:"lg:hidden"})]})})}},76564:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var r=a(21633),s=a(4806),n=a(71787),i=a(21898),o=a(25391),l=a(67857),c=a(39544),d=a(58259),u=a(87726),m=a(15810),x=a(48357);function h(){if(!(Object.keys(i.u.i18n.locales).length>1))return null;let e=(0,o.tx)(),t=(0,o.iN)(),a=(0,m.useParams)(),h=(0,d.Ym)(),{currentLocale:f,setCurrentLocale:g}=(0,l.D)(),[,p]=(0,x.useTransition)(),v=(0,u.c3)("Common");return(0,x.useEffect)(()=>{g(h)},[h,g]),(0,r.jsxs)(n.rI,{children:[(0,r.jsx)(n.ty,{asChild:!0,children:(0,r.jsxs)(s.$,{variant:"ghost",size:"sm",className:"size-8 p-0.5 border border-border rounded-full cursor-pointer",children:[(0,r.jsx)(c.A,{className:"size-3"}),(0,r.jsx)("span",{className:"sr-only",children:v("language")})]})}),(0,r.jsx)(n.SQ,{align:"end",children:Object.entries(i.u.i18n.locales).map(([s,i])=>(0,r.jsxs)(n._2,{onClick:()=>{g(s),p(()=>{e.replace({pathname:t,params:a},{locale:s})})},className:"cursor-pointer",children:[i.flag&&(0,r.jsx)("span",{className:"mr-2 text-md",children:i.flag}),(0,r.jsx)("span",{className:"text-sm",children:i.name})]},s))})]})}},79215:(e,t,a)=>{Promise.resolve().then(a.bind(a,81966)),Promise.resolve().then(a.bind(a,73822))},81966:(e,t,a)=>{"use strict";a.d(t,{Footer:()=>S});var r=a(21633),s=a(7031),n=a(23687),i=a(13270),o=a(4806),l=a(38069),c=a(4353),d=a(15777),u=a.n(d);function m(){return(0,r.jsxs)(u(),{href:"/",className:(0,l.cn)((0,o.r)({variant:"outline",size:"sm"}
1),"border border-border px-4 rounded-md"),children:[(0,r.jsx)("span",{children:(0,r.jsx)(c.default,{src:"/logo.png",alt:"Mid Taper Fade Logo",width:20,height:20,className:"size-5 rounded-full"})}),(0,r.jsx)("span",{className:"font-semibold",children:"Mid Taper Fade"})]})}var x=a(46450),h=a(87726),f=a(21898);function g(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:512,height:512,viewBox:"0 0 512 512",...e,children:[(0,r.jsx)("title",{children:"Bluesky"}),(0,r.jsx)("path",{fill:"currentColor",d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2c-18.2 64.8-84.4 81.4-143.3 71.3C456 322 482.2 380 425.6 438c-107.4 110.2-154.3-27.6-166.3-62.9c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"})]})}function p(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:640,height:512,viewBox:"0 0 640 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M524.531 69.836a1.5 1.5 0 0 0-.764-.7A485 485 0 0 0 404.081 32.03a1.82 1.82 0 0 0-1.923.91a338 338 0 0 0-14.9 30.6a447.9 447.9 0 0 0-134.426 0a310 310 0 0 0-15.135-30.6a1.89 1.89 0 0 0-1.924-.91a483.7 483.7 0 0 0-119.688 37.107a1.7 1.7 0 0 0-.788.676C39.068 183.651 18.186 294.69 28.43 404.354a2.02 2.02 0 0 0 .765 1.375a487.7 487.7 0 0 0 146.825 74.189a1.9 1.9 0 0 0 2.063-.676A348 348 0 0 0 208.12 430.4a1.86 1.86 0 0 0-1.019-2.588a321 321 0 0 1-45.868-21.853a1.885 1.885 0 0 1-.185-3.126a251 251 0 0 0 9.109-7.137a1.82 1.82 0 0 1 1.9-.256c96.229 43.917 200.41 43.917 295.5 0a1.81 1.81 0 0 1 1.924.233a235 235 0 0 0 9.132 7.16a1.884 1.884 0 0 1-.162 3.126a301.4 301.4 0 0 1-45.89 21.83a1.875 1.875 0 0 0-1 2.611a391 391 0 0 0 30.014 48.815a1.86 1.86 0 0 0 2.063.7A486 486 0 0 0 610.7 405.729a1.88 1.88 0 0 0 .765-1.352c12.264-126.783-20.532-236.912-86.934-334.541M222.491 337.58c-28.972 0-52.844-26.587-52.844-59.239s23.409-59.241 52.844-59.241c29.665 0 53.306 26.82 52.843 59.239c0 32.654-23.41 59.241-52.843 59.241m195.38 0c-28.971 0-52.843-26.587-52.843-59.239s23.409-59.241 52.843-59.241c29.667 0 53.307 26.82 52.844 59.239c0 32.654-23.177 59.241-52.844 59.241"})})}function v(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,viewBox:"0 0 512 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256c0 120 82.7 220.8 194.2 248.5V334.2h-52.8V256h52.8v-33.7c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287v175.9C413.8 494.8 512 386.9 512 256"})})}a(48357);var j=a(52317);function b(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:42,he
1ight:48,viewBox:"0 0 448 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9S287.7 141 224.1 141m0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7s74.7 33.5 74.7 74.7s-33.6 74.7-74.7 74.7m146.4-194.3c0 14.9-12 26.8-26.8 26.8c-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8s26.8 12 26.8 26.8m76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9c-26.2-26.2-58-34.4-93.9-36.2c-37-2.1-147.9-2.1-184.9 0c-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9c1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0c35.9-1.7 67.7-9.9 93.9-36.2c26.2-26.2 34.4-58 36.2-93.9c2.1-37 2.1-147.8 0-184.8M398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6c-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6c-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6c29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6c11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1"})})}function w(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:42,he
1ight:48,viewBox:"0 0 448 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3M135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5c0 21.3-17.2 38.5-38.5 38.5m282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7c-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5c67.2 0 79.7 44.3 79.7 101.9z"})})}function N(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:448,height:512,viewBox:"0 0 448 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M433 179.11c0-97.2-63.71-125.7-63.71-125.7c-62.52-28.7-228.56-28.4-290.48 0c0 0-63.72 28.5-63.72 125.7c0 115.7-6.6 259.4 105.63 289.1c40.51 10.7 75.32 13 103.33 11.4c50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.5 102.5 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7c56.12-6.7 105-41.3 111.23-72.9c9.8-49.8 9-121.5 9-121.5m-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175c25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5l11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1c23.71 27.3 18.4 53 18.4 175z"})})}function k(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:496,height:512,viewBox:"0 0 496 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M248 8C111.033 8 0 119.033 0 256s111.033 248 248 248s248-111.033 248-248S384.967 8 248 8m114.952 168.66c-3.732 39.215-19.881 134.378-28.1 178.3c-3.476 18.584-10.322 24.816-16.948 25.425c-14.4 1.326-25.338-9.517-39.287-18.661c-21.827-14.308-34.158-23.215-55.346-37.177c-24.485-16.135-8.612-25 5.342-39.5c3.652-3.793 67.107-61.51 68.335-66.746c.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608 69.142q-14.845 10.194-26.894 9.934c-8.855-.191-25.888-5.006-38.551-9.123c-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7 18.45-13.7q108.446-47.248 144.628-62.3c68.872-28.647 83.183-33.623 92.511-33.789c2.052-.034 6.639.474 9.61 2.885a10.45 10.45 0 0 1 3.53 6.716a43.8 43.8 0 0 1 .417 9.769"})})}function y(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:42,he
1ight:48,viewBox:"0 0 448 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121 121 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z"})})}function z(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,viewBox:"0 0 512 512",...e,children:[(0,r.jsx)("title",{children:"X (Twitter)"}),(0,r.jsx)("path",{fill:"currentColor",d:"M389.2 48h70.6L305.6 224.2L487 464H345L233.7 318.6L106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9zm-24.8 373.8h39.1L151.1 88h-42z"})]})}function C(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,viewBox:"0 0 512 512",...e,children:[(0,r.jsx)("title",{children:"YouTube"}),(0,r.jsx)("path",{fill:"currentColor",d:"M508.64 148.79c0-45-33.1-81.2-74-81.2C379.24 65 322.74 64 265 64h-18c-57.6 0-114.2 1-169.6 3.6C36.6 67.6 3.5 104 3.5 149C1 184.59-.06 220.19 0 255.79q-.15 53.4 3.4 106.9c0 45 33.1 81.5 73.9 81.5c58.2 2.7 117.9 3.9 178.6 3.8q91.2.3 178.6-3.8c40.9 0 74-36.5 74-81.5c2.4-35.7 3.5-71.3 3.4-107q.34-53.4-3.26-106.9M207 353.89v-196.5l145 98.2Z"})]})}var _=a(14446),A=a(25391);function S({className:e}){let t=(0,h.c3)(),a=function(){let e=(0,h.c3)("Marketing.footer");return[{title:e("popularHairstyles.title"),items:[{title:e("popularHairstyles.items.midTaperFade"),href:"/hairstyles/mid-taper-fade",external:!1},{title:e("popularHairstyles.items.buzzCut"),href:"/hairstyles/buzz-cut",external:!1},{title:e("popularHairstyles.items.undercut"),href:"/hairstyles/undercut",external:!1},{title:e("popularHairstyles.items.slickBack"),href:"/hairstyles/slick-back",external:!1},{title:e("popularHairstyles.items.pompadour"),href:"/hairstyles/pompadour",external:!1}]},{title:e("moreHairstyles.title"),items:[{title:e("moreHairstyles.items.fauxHawk"),href:"/hairstyles/faux-hawk",external:!1},{title:e("moreHairstyles.items.viewAll"),href:"/hairstyles",external:!1}]},{title:e("product.title"),items:[{title:e("product.items.tryHairstyle"),href:"/#try-hairstyle",external:!1},{title:e("product.items.pricing"),href:x.BV.Pricing,external:!1},...f.u.blog.enable?[{title:e("product.items.blog"),href:x.BV.Blog,external:!1}]:[]]},{title:e("support.title"),items:[{title:e("support.items.about"),href:x.BV.About,external:!1},{title:e("support.items.contact"),href:x.BV.Contact,external:!1},{title:e("support.items.privacy"),href:x.BV.PrivacyPolicy,external:!1},{title:e("support.items.terms"),href:x.BV.TermsOfService,external:!1}]}]}(),o=function(){let e=[];return f.u.metadata.social?.github&&e.push({title:"GitHub",href:f.u.metadata.social.github,icon:(0,r.jsx)(j.H,{className:"size-4 shrink-0"})}),f.u.metadata.social?.twitter&&e.push({title:"Twitter",href:f.u.metadata.social.twitter,icon:(0,r.jsx)(z,{className:"size-4 shrink-0"})}),f.u.metadata.social?.blueSky&&e.push({title:"Bluesky",href:f.u.metadata.social.blueSky,icon:(0,r.jsx)(g,{className:"size-4 shrink-0"})}),f.u.metadata.social?.mastodon&&e.push({title:"Mastodon",href:f.u.metadata.social.mastodon,icon:(0,r.jsx)(N,{className:"size-4 shrink-0"})}),f.u.metadata.social?.discord&&e.push({title:"Discord",href:f.u.metadata.social.discord,icon:(0,r.jsx)(p,{className:"size-4 shrink-0"})}),f.u.metadata.social?.youtube&&e.push({title:"YouTube",href:f.u.metadata.social.youtube,icon:(0,r.jsx)(C,{className:"size-4 shrink-0"})}),f.u.metadata.social?.linkedin&&e.push({title:"LinkedIn",href:f.u.metadata.social.linkedin,icon:(0,r.jsx)(w,{className:"size-4 shrink-0"})}),f.u.metadata.social?.facebook&&e.push({title:"Facebook",href:f.u.metadata.social.facebook,icon:(0,r.jsx)(v,{className:"size-4 shrink-0"})}),f.u.metadata.social?.instagram&&e.push({title:"Instagram",href:f.u.metadata.social.instagram,icon:(0,r.jsx)(b,{className:"size-4 shrink-0"})}),f.u.metadata.social?.tiktok&&e.push({title:"TikTok",href:f.u.metadata.social.tiktok,icon:(0,r.jsx)(y,{className:"size-4 shrink-0"})}),f.u.metadata.social?.telegram&&e.push({title:"Telegram",href:f.u.metadata.social.telegram,icon:(0,r.jsx)(k,{className:"size-4 shrink-0"})}),f.u.mail.supportEmail&&e.push({title:"Email",href:`mailto:${f.u.mail.supportEmail}`,icon:(0,r.jsx)(_.A,{className:"size-4 shrink-0"})}),e}();return(0,r.jsxs)("footer",{"data-theme":"footer",className:(0,l.cn)("border-t border-border","dark:border-white/10",e,"dark:[background:radial-gradient(circle_at_15%_20%,rgba(0,138,138,0.12),transparent_32%),radial-gradient(circle_at_82%_15%,rgba(247,147,30,0.12),transparent_30%),linear-gradient(135deg,#0b0f14_0%,#0f0f0f_50%,#080a0d_100%)]","dark:text-[var(--mtf-text,inherit)]"),children:[(0,r.jsx)(s.A,{className:"px-4",children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-8 py-16 md:grid-cols-6",children:[(0,r.jsx)("div",{className:"flex flex-col items-start col-span-full md:col-span-2",children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"items-center space-x-2 flex",children:[(0,r.jsx)(n.Logo,{}),(0,r.jsx)("span",{className:"text-xl font-semibold text-white",children:t("Metadata.name")}
1)]}),(0,r.jsx)("p",{className:"text-muted-foreground dark:text-white/70 text-base py-2 md:pr-12",children:t("Marketing.footer.tagline")}),(0,r.jsx)("div",{className:"flex items-center gap-4 py-2",children:(0,r.jsx)("div",{className:"flex items-center gap-2",children:o?.map(e=>(0,r.jsxs)("a",{href:e.href||"#",target:"_blank",rel:"noreferrer","aria-label":e.title,className:"border border-border inline-flex h-8 w-8 items-center justify-center rounded-full text-foreground/80 hover:text-foreground hover:border-[var(--mtf-brand,#008a8a)] hover:bg-foreground/5 transition dark:border-white/20 dark:text-white/80 dark:hover:text-white dark:hover:bg-white/10",children:[(0,r.jsx)("span",{className:"sr-only",children:e.title}),e.icon?e.icon:null]},e.title))})}),(0,r.jsx)(m,{})]})}),a?.map(e=>(0,r.jsxs)("div",{className:"col-span-1 md:col-span-1 items-start",children:[(0,r.jsx)("span",{className:"text-sm font-semibold uppercase text-foreground dark:text-white",children:e.title}),(0,r.jsx)("ul",{className:"mt-4 list-inside space-y-3",children:e.items?.map(e=>e.href&&(0,r.jsx)("li",{children:(0,r.jsx)(A.XO,{href:e.href||"#",target:e.external?"_blank":void 0,className:"text-sm text-muted-foreground hover:text-[var(--mtf-brand,#008a8a)] dark:text-white/70",children:e.title})},e.title))})]},e.title))]})}),(0,r.jsx)("div",{className:"border-t border-border dark:border-white/10 py-8",children:(0,r.jsxs)(s.A,{className:"px-4 flex items-center justify-between gap-x-4",children:[(0,r.jsxs)("span",{className:"text-muted-foreground dark:text-white/70 text-sm",children:["\xa9 ",new Date().getFullYear()," ",t("Metadata.name")," All Rights Reserved."]}),(0,r.jsx)("div",{className:"flex items-center gap-x-4",children:(0,r.jsx)(i.n,{})})]})})]})}},83357:(e,t,a)=>{"use strict";a.d(t,{BE:()=>m,QP:()=>d,Uz:()=>o,_s:()=>i,cp:()=>c,gk:()=>h,tb:()=>x,uT:()=>l,zj:()=>u});var r=a(21633);a(48357);var s=a(90865),n=a(38069);function i({...e}){return(0,r.jsx)(s._s.Root,{"data-slot":"drawer",...e})}function o({...e}){return(0,r.jsx)(s._s.Trigger,{"data-slot":"drawer-trigger",...e})}function l({...e}){return(0,r.jsx)(s._s.Portal,{"data-slot":"drawer-portal",...e})}function c({...e}){return(0,r.jsx)(s._s.Close,{"data-slot":"drawer-close",...e})}function d({className:e,...t}){return(0,r.jsx)(s._s.Overlay,{"data-slot":"drawer-overlay",className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function u({className:e,children:t,...a}){return(0,r.jsxs)(l,{"data-slot":"drawer-portal",children:[(0,r.jsx)(d,{}),(0,r.jsxs)(s._s.Content,{"data-slot":"drawer-content",className:(0,n.cn)("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",e),...a,children:[(0,r.jsx)("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),t]})]})}function m({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"drawer-header",className:(0,n.cn)("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",e),...t})}function x({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"drawer-footer",className:(0,n.cn)("mt-auto flex flex-col gap-2 p-4",e),...t})}function h({className:e,...t}){return(0,r.jsx)(s._s.Title,{"data-slot":"drawer-title",className:(0,n.cn)("text-foreground font-semibold",e),...t})}},94787:(e,t,a)=>{"use strict";a.d(t,{H:()=>i});var r=a(21633),s=a(38069),n=a(99339);function i({name:e,image:t,className:a,...i}){return(0,r.jsxs)("div",{className:(0,s.cn)("relative flex size-8 shrink-0 overflow-hidden rounded-full bg-muted",a),...i,children:[(0,r.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center",children:[(0,r.jsx)("span",{className:"sr-only",children:e}),(0,r.jsx)(n.A,{className:"size-4"})]}),t&&(0,r.jsx)("img",{alt:e,title:e,src:t,className:"absolute inset-0 size-full object-cover",loading:"lazy",onLoad:e=>{let t=e.currentTarget.previousElementSibling;t&&(t.style.opacity="0")},onError:e=>{let t=e.currentTarget.previousElementSibling;t&&(t.style.opacity="1"),e.currentTarget.style.display="none"}})]})}},95530:(e,t,a)=>{"use strict";a.d(t,{bq:()=>m,eb:()=>h,gC:()=>x,l6:()=>c,s3:()=>d,yv:()=>u});var r=a(21633);a(48357);var s=a(74504),n=a(42135),i=a(3075),o=a(71214),l=a(38069);function c({...e}){return(0,r.jsx)(s.bL,{"data-slot":"select",...e})}function d({...e}){return(0,r.jsx)(s.YJ,{"data-slot":"select-group",...e})}function u({...e}){return(0,r.jsx)(s.WT,{"data-slot":"select-value",...e})}function m({className:e,size:t="default",children:a,...i}){return(0,r.jsxs)(s.l9,{"data-slot":"select-trigger","data-size":t,className:(0,l.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i,children:[a,(0,r.jsx)(s.In,{asChild:!0,children:(0,r.jsx)(n.A,{className:"size-4 opacity-50"})})]})}function x({className:e,children:t,position:a="popper",align:n="center",...i}){return(0,r.jsx)(s.ZL,{children:(0,r.jsxs)(s.UC,{"data-slot":"select-content",className:(0,l.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,align:n,...i,children:[(0,r.jsx)(f,{}),(0,r.jsx)(s.LM,{className:(0,l.cn)("p-1","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),(0,r.jsx)(g,{})]})})}function h({className:e,children:t,...a}){return(0,r.jsxs)(s.q7,{"data-slot":"select-item",className:(0,l.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...a,children:[(0,r.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,r.jsx)(s.VF,{children:(0,r.jsx)(i.A,{className:"size-4"})})}),(0,r.jsx)(s.p4,{children:t})]})}function f({className:e,...t}){return(0,r.jsx)(s.PP,{"data-slot":"select-scroll-up-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,r.jsx)(o.A,{className:"size-4"})})}function g({className:e,...t}){return(0,r.jsx)(s.wn,{"data-slot":"select-scroll-down-button",className:(0,l.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,r.jsx)(n.A,{className:"size-4"})})}}},e=>{e.O(0,[58259,85689,15777,4353,90072,28281,90452,21584,77561,97067,58871,74925,10856,69692,97369,31656,46141,90865,48476,79184,12875,4104,80662,4047,77358],()=>e(e.s=79215)),_N_E=e.O()}]);

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.