1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3207],{1921:(e,t,s)=>{s.d(t,{cn:()=>n});var a=s(5242),r=s(3134);function n(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,a.$)(t))}},2799:(e,t,s)=>{s.d(t,{SignOutButton:()=>l});var a=s(8111),r=s(1413),n=s(4736),i=s(9673),o=s(9952);function l(e){let{className:t,onSignedOut:s,showLabel:l=!1}=e,c=(0,n.useRouter)();return(0,a.jsxs)(i.$,{variant:"ghost",size:l?"default":"icon-sm",className:t?"cursor-pointer ".concat(t):"cursor-pointer","aria-label":"Sign out",onClick:async()=>{let e=(0,o.U)();await e.auth.signOut(),null==s||s(),c.refresh(),c.push("/login")},children:[(0,a.jsx)(r.A,{}),l?(0,a.jsx)("span",{children:"Sign out"}):null]})}},3207:(e,t,s)=>{s.d(t,{Navbar:()=>x});var a=s(8111),r=s(5271),n=s(5935),i=s.n(n),o=s(6405),l=s(9673),c=s(9074),d=s(9952),u=s(2799);let h=[{label:"Resources",href:"/resources"},{label:"MCP server",href:"/#mcp"},{label:"Pricing",href:"/#pricing"},{label:"Changelog",href:"/changelog"}];function x(){let[e,t]=(0,r.useState)(!1),[s,n]=(0,r.useState)(null),x=()=>t(!1);return(0,r.useEffect)(()=>{let e=(0,d.U)(),t=!0;e.auth.getUser().then(e=>{var s,a;let{data:r}=e;t&&n(null!=(a=null==(s=r.user)?void 0:s.email)?a:null)});let{data:s}=e.auth.onAuthStateChange((e,s)=>{var a,r;t&&n(null!=(r=null==s||null==(a=s.user)?void 0:a.email)?r:null)});return()=>{t=!1,s.subscription.unsubscribe()}},[]),(0,a.jsx)("header",{className:"sticky top-0 z-50 w-full border-b border-border/50 bg-background/80 backdrop-blur-lg",children:(0,a.jsxs)("div",{className:"mx-auto flex h-16 max-w-6xl items-center justify-between gap-3 px-4 sm:px-6",children:[(0,a.jsxs)(i(),{href:"/",className:"flex min-w-0 shrink-0 items-center gap-0.5 text-base font-bold tracking-tight sm:text-lg",children:[(0,a.jsx)("span",{className:"text-primary",children:"/"}),"createskills"]}),(0,a.jsx)("nav",{className:"hidden min-w-0 items-center gap-1 md:flex",children:h.map(e=>(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",size:"sm",className:"cursor-pointer",children:(0,a.jsx)(i(),{href:e.href,children:e.label})},e.href))}),(0,a.jsx)("div",{className:"hidden min-w-0 items-center gap-2 md:flex",children:s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"max-w-[260px] truncate font-mono text-xs text-muted-foreground",title:s,children:s}),(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",size:"sm",className:"cursor-pointer",children:(0,a.jsx)(i(),{href:"/account",children:"Account"})}),(0,a.jsx)(u.SignOutButton,{})]}):(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",size:"sm",className:"cursor-pointer",children:(0,a.jsx)(i(),{href:"/login",children:"Sign in"})})}),(0,a.jsxs)(c.cj,{open:e,onOpenChange:t,children:[(0,a.jsx)(c.CG,{asChild:!0,children:(0,a.jsxs)(l.$,{variant:"ghost",size:"icon",className:"cursor-pointer md:hidden",children:[(0,a.jsx)(o.A,{className:"size-5"}),(0,a.jsx)("span",{className:"sr-only",children:"Open menu"})]})}),(0,a.jsxs)(c.h,{side:"right",className:"w-[calc(100vw-2rem)] max-w-xs",children:[(0,a.jsx)(c.Fm,{children:(0,a.jsxs)(c.qp,{children:[(0,a.jsx)("span",{className:"text-primary",children:"/"}),"createskills"]})}),(0,a.jsxs)("nav",{className:"mt-8 flex flex-col gap-2",children:[h.map(e=>(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",className:"h-11 cursor-pointer justify-start px-3",children:(0,a.jsx)(i(),{href:e.href,onClick:x,children:e.label})},e.href)),(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",className:"h-11 cursor-pointer justify-start px-3",children:(0,a.jsx)(i(),{href:"https://chromewebstore.google.com/detail/web-to-markdown-converter/baldeecdnlomdeedfddlnakmbhpeomgc",onClick:x,children:"Extension"})}),(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",className:"h-11 cursor-pointer justify-start px-3",children:(0,a.jsx)(i(),{href:"https://apps.apple.com/app/createskills/id6763325282",onClick:x,children:"Mobile App"})}),s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"my-3 border-t border-border/50 pt-5",children:[(0,a.jsx)("p",{className:"px-3 font-mono text-[11px] uppercase text-muted-foreground",children:"Signed in"}),(0,a.jsx)("p",{className:"mt-1 truncate px-3 font-mono text-xs text-foreground",title:s,children:s})]}),(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",className:"h-11 cursor-pointer justify-start px-3",children:(0,a.jsx)(i(),{href:"/account",onClick:x,children:"Account"})}),(0,a.jsx)(u.SignOutButton,{showLabel:!0,onSignedOut:x,className:"h-11 justify-start px-3"})]}):(0,a.jsx)(l.$,{asChild:!0,variant:"ghost",className:"h-11 cursor-pointer justify-start px-3",children:(0,a.jsx)(i(),{href:"/login",onClick:x,children:"Sign in"})})]})]})]})]})})}},9074:(e,t,s)=>{s.d(t,{CG:()=>l,Fm:()=>h,Qs:()=>g,cj:()=>o,h:()=>u,qp:()=>x});var a=s(8111);s(5271);var r=s(9206),n=s(4241),i=s(1921);function o(e){let{...t}=e;return(0,a.jsx)(n.Root,{"data-slot":"sheet",...t})}function l(e){let{...t}=e;return(0,a.jsx)(n.Trigger,{"data-slot":"sheet-trigger",...t})}function c(e){let{...t}=e;return(0,a.jsx)(n.Portal,{"data-slot":"sheet-portal",...t})}function d(e){let{className:t,...s}=e;return(0,a.jsx)(n.Overlay,{"data-slot":"sheet-overlay",className:(0,i.cn)("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",t),...s})}function u(e){let{className:t,children:s,side:o="right",showCloseButton:l=!0,...u}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(d,{}),(0,a.jsxs)(n.Content,{"data-slot":"sheet-content",className:(0,i.cn)("fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500","right"===o&&"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm","left"===o&&"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm","top"===o&&"inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top","bottom"===o&&"inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",t),...u,children:[s,l&&(0,a.jsxs)(n.Close,{className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,a.jsx)(r.A,{className:"size-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function h(e){let{className:t,...s}=e;return(0,a.jsx)("div",{"data-slot":"sheet-header",className:(0,i.cn)("flex flex-col gap-1.5 p-4",t),...s})}function x(e){let{className:t,...s}=e;return(0,a.jsx)(n.Title,{"data-slot":"sheet-title",className:(0,i.cn)("font-semibold text-foreground",t),...s})}function g(e){let{className:t,...s}=e;
1return(0,a.jsx)(n.Description,{"data-slot":"sheet-description",className:(0,i.cn)("text-sm text-muted-foreground",t),...s})}},9673:(e,t,s)=>{s.d(t,{$:()=>l});var a=s(8111);s(5271);var r=s(3916),n=s(1373),i=s(1921);let o=(0,r.F)("inline-flex shrink-0 items-center justify-center gap-2 text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:s="default",size:r="default",asChild:l=!1,...c}=e,d=l?n.bL:"button";return(0,a.jsx)(d,{"data-slot":"button","data-variant":s,"data-size":r,className:(0,i.cn)(o({variant:s,size:r,className:t})),...c})}},9952:(e,t,s)=>{s.d(t,{U:()=>r});var a=s(9878);function r(){return(0,a.createBrowserClient)("https://dgdplreuwlwjkvdgklbt.supabase.co","sb_publishable_RWKyI_K6jXfHyx55r_53Aw_6Wewi9wT")}}}]);
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.