import{w as s,a,b as i,L as l}from"./chunk-JZWAC4HX-5kJHQiQ9.js";import{j as e}from"./jsx-runtime-C4_65a1U.js";import{E as n}from"./index-zkt0glVO.js";import{E as d}from"./epic-video-BZ1AWKL2.js";import{G as c}from"./error-boundary-BC83xzIm.js";import{u as m}from"./revalidation-ws-bT9ZdRVV.js";import{E as p}from"./launch-editor-CwyOLU4S.js";import{M as x}from"./mdx-CNkHFdBV.js";import{c as f}from"./misc-DRDyxdMg.js";import{g as u}from"./root-loader-Cnwtpb_k.js";import{g as h}from"./seo-B5xVovF0.js";import"./index-B9zr-vzA.js";import"./use-event-source-Dip1vrZy.js";import"./index-nErvdZSM.js";import"./index-BzPxupzT.js";import"./index-BYdxj4vr.js";import"./tooltip-mkBMB3mq.js";import"./pe-P58jSSsB.js";import"./schemas-RF4TJjJw.js";import"./online-CrGTaAx4.js";import"./loading-DDR0n-s7.js";import"./format-CKpZi3Um.js";import"./user-Pnhys2oT.js";import"./workshop-config-BVRT-ayZ.js";import"./preload-helper-DqNgO5-4.js";import"./progress-bar-BwLqNk15.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"8a6db0ac5fe78363b0c97fe458a96ce773bf357c"};var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="8470f078-a4f3-4724-99c5-5cc6c4484698",t._sentryDebugIdIdentifier="sentry-dbid-8470f078-a4f3-4724-99c5-5cc6c4484698")}catch{}})();const Q=t=>{const r=t.data,o=u(t.matches);return!r||!o?[{title:"🦉 | Error"}]:h({title:`📚 | ${r.title} | ${o.workshopTitle}`,description:`Extras for ${o.workshopTitle}`,ogTitle:r.title,ogDescription:`Extras for ${o.workshopTitle}`,instructor:o.instructor,requestInfo:o.requestInfo})};function b({extra:t}){return e.jsx("li",{children:e.jsxs(l,{className:f("relative flex items-center gap-4 px-4 py-3 text-lg font-semibold transition","hover:bg-muted/60 focus:bg-muted/60"),prefetch:"intent",to:t.dirName,children:[e.jsx("span",{className:"text-muted-foreground text-xs font-normal tabular-nums",children:"•"}),e.jsx("span",{className:"truncate",children:t.title})]})})}const j={h1:()=>null},W=s(function(){const r=i();return m({watchPaths:["./extra","./example","./examples"]}),e.jsxs("main",{className:"relative flex h-full w-full max-w-5xl flex-col justify-between border-r md:w-3/4 xl:w-2/3",children:[e.jsxs("article",{id:r.articleId,className:"shadow-on-scrollbox scrollbar-thin scrollbar-thumb-scrollbar flex w-full flex-1 flex-col gap-12 overflow-y-scroll px-3 py-4 pt-6 md:px-10 md:py-12 md:pt-16",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-[clamp(3rem,6vw,7.5rem)] leading-none font-extrabold",children:r.title})}),e.jsx("div",{children:r.extrasReadme.compiled.status==="success"&&r.extrasReadme.compiled.code?e.jsx(d,{epicVideoInfosPromise:r.epicVideoInfosPromise,children:e.jsx("div",{className:"prose dark:prose-invert sm:prose-lg",children:e.jsx(x,{code:r.extrasReadme.compiled.code,components:j})})}):r.extrasReadme.compiled.status==="error"?e.jsxs("div",{className:"text-foreground-destructive",children:["There was an error:",e.jsx("pre",{children:r.extrasReadme.compiled.error})]}):"No extras overview yet..."}),e.jsxs("div",{className:"pt-6",children:[e.jsx("h2",{className:"pb-4 font-mono text-xs font-semibold uppercase",children:"Extras"}),r.extras.length?e.jsx("ul",{className:"divide-border dark:divide-border/50 flex flex-col divide-y",children:r.extras.map(o=>e.jsx(b,{extra:o},o.dirName))}):e.jsx("p",{className:"text-muted-foreground",children:"No extras yet. Add one to get started."})]})]}),e.jsx(n,{elementQuery:`#${r.articleId}`}),e.jsx("div",{className:"@container flex h-16 justify-center border-t",children:e.jsx(p,{file:r.extrasReadme.file,relativePath:r.extrasReadme.relativePath})})]})}),Y=a(function(){return e.jsx(c,{})});export{Y as ErrorBoundary,W as default,Q as meta};
//# sourceMappingURL=index-D13c6nsR.js.map
