import{w as s,a,b as i,L as l}from"./chunk-EVOBXE3Y-Bmgys8-c.js";import{j as e}from"./jsx-runtime-hUI6LOBV.js";import{E as d}from"./index-J1nVA_jb.js";import{E as n}from"./epic-video-CaAYhEZJ.js";import{G as m}from"./error-boundary-C8cCfAXR.js";import{u as c}from"./revalidation-ws-DjL8N8TA.js";import{E as p}from"./launch-editor-DiQgdwg7.js";import{M as x}from"./mdx-C9OwPmWH.js";import{c as f}from"./misc-BNcbB3dR.js";import{g as u}from"./root-loader-ByAKsmmv.js";import{g as h}from"./seo-DV9H08y-.js";import"./index-CFdT0RIo.js";import"./loading-Cf-_cX4u.js";import"./index-BiGqsMpe.js";import"./tooltip-CoTdGGXz.js";import"./index-ZNADqOyW.js";import"./pe-BRA_K7Pt.js";import"./schemas-Bn3zadsT.js";import"./index-Bh67Vwl7.js";import"./online-BM9kpW1W.js";import"./format-C6HW_OzJ.js";import"./user-BrD2IM_u.js";import"./workshop-config-BNvMPSev.js";import"./preload-helper-DLdknYSj.js";import"./progress-bar-8MSIg-hJ.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:"66e9b849450b819e11683314a547a341cb57f7d0"};var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="9253dc2a-6f5a-4350-87aa-8293638598eb",t._sentryDebugIdIdentifier="sentry-dbid-9253dc2a-6f5a-4350-87aa-8293638598eb")}catch{}})();const O=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},Q=s(function(){const r=i();return c({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(n,{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(d,{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})})]})}),W=a(function(){return e.jsx(m,{})});export{W as ErrorBoundary,Q as default,O as meta};
//# sourceMappingURL=index-DVoM9egA.js.map
