(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24345],{7233:(e,a,n)=>{Promise.resolve().then(n.bind(n,49443))},49443:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>c});var r=n(19002);n(52114);var t=n(40315),s=n(99906),o=n(31055);function c(){let e=(0,t.useRouter)();return(0,r.jsxs)("div",{className:"flex flex-col py-32 items-center justify-center text-center",children:[(0,r.jsx)("span",{className:"text-[10rem] font-semibold leading-none",children:"404"}),(0,r.jsx)("h2",{className:"font-heading my-2 text-2xl font-bold",children:"Something's missing"}),(0,r.jsx)("p",{children:"Sorry, the page you are looking for doesn't exist or has been moved."}),(0,r.jsxs)("div",{className:"mt-8 flex justify-center gap-2",children:[(0,r.jsx)(o.$,{type:"button",variant:"default",size:"lg",onClick:()=>{e.back()},children:"Go back"}),(0,r.jsx)(o.$,{type:"button",variant:"ghost",size:"lg",onClick:()=>{e.push(s.JZ.dashboard.dashboard.Index)},children:"Back to Home"})]})]})}},85979:(e,a,n)=>{"use strict";n.d(a,{A:()=>i});var r=n(52114);let t=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,a=Array(e),n=0;n!!e&&""!==e.trim()&&n.indexOf(e)===a).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let c=(0,r.forwardRef)((e,a)=>{let{color:n="currentColor",size:t=24,strokeWidth:c=2,absoluteStrokeWidth:i,className:d="",children:l,iconNode:u,...h}=e;return(0,r.createElement)("svg",{ref:a,...o,width:t,height:t,stroke:n,strokeWidth:i?24*Number(c)/Number(t):c,className:s("lucide",d),...h},[...u.map(e=>{let[a,n]=e;return(0,r.createElement)(a,n)}),...Array.isArray(l)?l:[l]])}),i=(e,a)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:i,...d}=n;return(0,r.createElement)(c,{ref:o,iconNode:a,className:s("lucide-".concat(t(e)),i),...d})});return n.displayName="".concat(e),n}},2005:(e,a,n)=>{"use strict";n.d(a,{A:()=>r});let r=(0,n(85979).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},40315:(e,a,n)=>{"use strict";var r=n(79651);n.o(r,"useParams")&&n.d(a,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(a,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(a,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(a,{useSearchParams:function(){return r.useSearchParams}})},99906:(e,a,n)=>{"use strict";n.d(a,{JZ:()=>r.JZ});var r=n(96306)},13401:(e,a,n)=>{"use strict";n.d(a,{H:()=>s});var r=n(17943),t=n(31001);let s=()=>(0,r.w)({client:{NEXT_PUBLIC_DASHBOARD_URL:t.z.string().min(1).url(),NEXT_PUBLIC_MARKETING_URL:t.z.string().min(1).url()},runtimeEnv:{NEXT_PUBLIC_DASHBOARD_URL:"https://courses.anyscale.com",NEXT_PUBLIC_MARKETING_URL:"https://courses.anyscale.com"}})},96306:(e,a,n)=>{"use strict";n.d(a,{Hm:()=>c,JZ:()=>s,MD:()=>o,pc:()=>t});var r=n(13401);let t={Dashboard:(0,r.H)().NEXT_PUBLIC_DASHBOARD_URL,Marketing:(0,r.H)().NEXT_PUBLIC_MARKETING_URL},s={dashboard:{Api:"".concat(t.Dashboard,"/api"),auth:{changeEmail:{Expired:"".concat(t.Dashboard,"/auth/change-email/expired"),Index:"".concat(t.Dashboard,"/auth/change-email"),Invalid:"".concat(t.Dashboard,"/auth/change-email/invalid"),Request:"".concat(t.Dashboard,"/auth/change-email/request")},Error:"".concat(t.Dashboard,"/auth/error"),forgetPassword:{Index:"".concat(t.Dashboard,"/auth/forgot-password"),Success:"".concat(t.Dashboard,"/auth/forgot-password/success")},Index:"".concat(t.Dashboard,"/auth"),RecoveryCode:"".concat(t.Dashboard,"/auth/recovery-code"),resetPassword:{Expired:"".concat(t.Dashboard,"/auth/reset-password/expired"),Index:"".concat(t.Dashboard,"/auth/reset-password"),Request:"".concat(t.Dashboard,"/auth/reset-password/request"),Success:"".concat(t.Dashboard,"/auth/reset-password/success")},SignIn:"".concat(t.Dashboard,"/auth/sign-in"),SignUp:"".concat(t.Dashboard,"/auth/sign-up"),Totp:"".concat(t.Dashboard,"/auth/totp"),verifyEmail:{Expired:"".concat(t.Dashboard,"/auth/verify-email/expired"),Index:"".concat(t.Dashboard,"/auth/verify-email"),Request:"".concat(t.Dashboard,"/auth/verify-email/request"),Success:"".concat(t.Dashboard,"/auth/verify-email/success")}},manage:{Index:"".concat(t.Dashboard,"/manage"),modelId:{Index:"".concat(t.Dashboard,"/manage/[modelId]")},admin:{Index:"".concat(t.Dashboard,"/manage/admin"),core:{Index:"".concat(t.Dashboard,"/manage/admin/core"),affiliates:{Index:"".concat(t.Dashboard,"/manage/admin/core/affiliates"),id:{Index:"".concat(t.Dashboard,"/manage/admin/core/affiliates/[id]")}},customers:{Index:"".concat(t.Dashboard,"/manage/admin/core/customers")},grading:{Index:"".concat(t.Dashboard,"/manage/admin/core/grading")},organisations:{Index:"".concat(t.Dashboard,"/manage/admin/core/organisations")},issues:{Index:"".concat(t.Dashboard,"/manage/admin/core/issues")},privateClassRequests:{Index:"".concat(t.Dashboard,"/manage/admin/core/private-class-requests")},redirects:{Index:"".concat(t.Dashboard,"/manage/admin/core/redirects")},roles:{Index:"".concat(t.Dashboard,"/manage/admin/core/roles")},settings:{Index:"".concat(t.Dashboard,"/manage/admin/core/settings")},usageAnalytics:{Index:"".concat(t.Dashboard,"/manage/admin/core/usage-analytics")}},debug:{Index:"".concat(t.Dashboard,"/manage/admin/debug")},docs:{Index:"".concat(t.Dashboard,"/manage/admin/docs"),slug:{Index:"".concat(t.Dashboard,"/manage/admin/docs/[[...slug]]")}},device:{Index:"".concat(t.Dashboard,"/manage/admin/device")},pitch:{Index:"".concat(t.Dashboard,"/manage/admin/pitch")}},tools:{Index:"".concat(t.Dashboard,"/manage/tools"),imageMinifier:{Index:"".concat(t.Dashboard,"/manage/tools/image-minifier")},linkValidation:{Index:"".concat(t.Dashboard,"/manage/tools/link-validation")},thinkificImport:{Index:"".concat(t.Dashboard,"/manage/tools/thinkific-import")},thumbnails:{Index:"".concat(t.Dashboard,"/manage/tools/thumbnails")}},projects:{Index:"".concat(t.Dashboard,"/manage/projects"),sources:{Index:"".concat(t.Dashboard,"/manage/projects/sources")},definition:{Index:"".concat(t.Dashboard,"/manage/projects/definition")},updates:{Index:"".concat(t.Dashboard,"/manage/projects/updates")},themes:{Index:"".concat(t.Dashboard,"/manage/projects/themes")},production:{Index:"".concat(t.Dashboard,"/manage/projects/production")},curricula:{Index:"".concat(t.Dashboard,"/manage/projects/curricula")},learningPaths:{Index:"".concat(t.Dashboard,"/manage/projects/learning-paths")},workspaceTemplates:{Index:"".concat(t.Dashboard,"/manage/projects/workspace-templates")}}},affiliates:{Index:"".concat(t.Dashboard,"/affiliates"),slug:{Index:"".concat(t.Dashboard,"/affiliates/[slug]")}},upgrade:{Index:"".concat(t.Dashboard,"/upgrade")},courses:{Index:"".concat(t.Dashboard,"/courses"),slug:{Index:"".concat(t.Dashboard,"/courses/[slug]")}},learningPaths:{Index:"".concat(t.Dashboard,"/learning-paths"),slug:{Index:"".concat(t.Dashboard,"/learning-paths/[slug]")}},onboarding:{Index:"".concat(t.Dashboard,"/onboarding"),Organization:"".concat(t.Dashboard,"/onboarding/organization"),User:"".concat(t.Dashboard,"/onboarding/user")},admin:{Index:"".concat(t.Dashboard,"/admin")},dashboard:{Index:"".concat(t.Dashboard,"/dashboard"),app:{Index:"".concat(t.Dashboard,"/dashboard/app")},slug:{Contacts:"".concat(t.Dashboard,"/dashboard/[slug]/contacts"),Home:"".concat(t.Dashboard,"/dashboard/[slug]/home"),New:"".concat(t.Dashboard,"/dashboard/[slug]/new"),Analytics:"".concat(t.Dashboard,"/dashboard/[slug]/analytics"),Index:"".concat(t.Dashboard,"/dashboard/[slug]"),VideoGallery:"".concat(t.Dashboard,"/dashboard/[slug]/video-gallery"),VideoPlayer:"".concat(t.Dashboard,"/dashboard/[slug]/video-gallery/[videoId]"),DiscordIntegration:"".concat(t.Dashboard,"/dashboard/[slug]/discord-integration"),Changelog:"".concat(t.Dashboard,"/dashboard/[slug]/changelog"),Bookmarks:"".concat(t.Dashboard,"/dashboard/[slug]/bookmarks"),Certificates:"".concat(t.Dashboard,"/dashboard/[slug]/certificates"),Training:"".concat(t.Dashboard,"/dashboard/[slug]/training"),settings:{account:{Index:"".concat(t.Dashboard,"/dashboard/[slug]/settings/account"),Notifications:"".concat(t.Dashboard,"/dashboard/[slug]/settings/account/notifications"),Profile:"".concat(t.Dashboard,"/dashboard/[slug]/settings/account/profile"),Security:"".concat(t.Dashboard,"/dashboard/[slug]/settings/account/security")},Index:"".concat(t.Dashboard,"/dashboard/[slug]/settings"),organization:{Billing:"".concat(t.Dashboard,"/dashboard/[slug]/settings/organization/billing"),General:"".concat(t.Dashboard,"/dashboard/[slug]/settings/organization/general"),Index:"".concat(t.Dashboard,"/dashboard/[slug]/settings/organization"),Members:"".concat(t.Dashboard,"/dashboard/[slug]/settings/organization/members")}}}}},marketing:{Api:"".concat(t.Marketing,"/api"),Blog:"".concat(t.Marketing,"/blog"),Careers:"".concat(t.Marketing,"/careers"),Contact:"".concat(t.Marketing,"/contact"),CookiePolicy:"".concat(t.Marketing,"/cookie-policy"),Docs:"".concat(t.Marketing,"/docs"),FAQ:"".concat(t.Marketing,"/#faq"),Index:"".concat(t.Marketing,"/"),Features:"".concat(t.Marketing,"/#features"),PrivacyPolicy:"".concat(t.Marketing,"/privacy"),Roadmap:"".concat(t.Marketing,"/roadmap"),Story:"".concat(t.Marketing,"/story"),TermsOfUse:"".concat(t.Marketing,"/terms-of-use")}};function o(e,a){if(-1===e.indexOf("[slug]"))throw Error("Invalid route: ".concat(e,". Route must contain the placeholder [slug]."));return e.replace("[slug]",a)}function c(e,a){return new URL(e,a).pathname}},31055:(e,a,n)=>{"use strict";n.d(a,{$:()=>l,r:()=>d});var r=n(19002),t=n(52114),s=n(4302),o=n(42030),c=n(40399),i=n(56130);let d=(0,o.F)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),l=t.forwardRef((e,a)=>{let{className:n,variant:t,size:o,asChild:l=!1,loading:u=!1,children:h,...g}=e,m=l?s.DX:"button";return(0,r.jsx)(m,{className:(0,c.cn)(d({variant:t,size:o,className:n}),u&&"relative"),ref:a,...g,children:u?(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{className:(0,c.cn)({"opacity-0":u}),children:h}),(0,r.jsx)("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,r.jsx)(i.y,{className:"text-current size-4"})})]}):h})});l.displayName="Button"},56130:(e,a,n)=>{"use strict";n.d(a,{Y:()=>l,y:()=>d});var r=n(19002);n(52114);var t=n(42030),s=n(2005),o=n(40399);let c=(0,t.F)("flex-col items-center justify-center",{variants:{show:{true:"flex",false:"hidden"}},defaultVariants:{show:!0}}),i=(0,t.F)("animate-spin text-primary",{variants:{size:{small:"size-6 shrink-0",medium:"size-8 shrink-0",large:"size-12 shrink-0"}},defaultVariants:{size:"medium"}});function d(e){let{size:a,show:n,children:t,className:d}=e;return(0,r.jsxs)("span",{className:c({show:n}),children:[(0,r.jsx)(s.A,{className:(0,o.cn)(i({size:a}),d)}),t]})}function l(e){let{containerClassName:a,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("pointer-events-none absolute inset-0 flex select-none items-center justify-center opacity-65",a),children:(0,r.jsx)(d,{...n})})}l.displayName="CenteredSpinner"},40399:(e,a,n)=>{"use strict";n.d(a,{cn:()=>s});var r=n(60236),t=n(40111);function s(){for(var e=arguments.length,a=Array(e),n=0;n{"use strict";n.d(a,{s:()=>o,t:()=>s});var r=n(52114);function t(e,a){if("function"==typeof e)return e(a);null!=e&&(e.current=a)}function s(...e){return a=>{let n=!1,r=e.map(e=>{let r=t(e,a);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let a=0;a{"use strict";n.d(a,{DX:()=>o,xV:()=>i});var r=n(52114),t=n(74768),s=n(19002),o=r.forwardRef((e,a)=>{let{children:n,...t}=e,o=r.Children.toArray(n),i=o.find(d);if(i){let e=i.props.children,n=o.map(a=>a!==i?a:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,s.jsx)(c,{...t,ref:a,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,s.jsx)(c,{...t,ref:a,children:n})});o.displayName="Slot";var c=r.forwardRef((e,a)=>{let{children:n,...s}=e;if(r.isValidElement(n)){let e=function(e){let a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=a&&"isReactWarning"in a&&a.isReactWarning;return n?e.ref:(n=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return r.cloneElement(n,{...function(e,a){let n={...a};for(let r in a){let t=e[r],s=a[r];/^on[A-Z]/.test(r)?t&&s?n[r]=(...e)=>{s(...e),t(...e)}:t&&(n[r]=t):"style"===r?n[r]={...t,...s}:"className"===r&&(n[r]=[t,s].filter(Boolean).join(" "))}return{...e,...n}}(s,n.props),ref:a?(0,t.t)(a,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});c.displayName="SlotClone";var i=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});function d(e){return r.isValidElement(e)&&e.type===i}},17943:(e,a,n)=>{"use strict";n.d(a,{w:()=>o});var r=n(31001),t=n(37811),s=n(37811);function o(e){let a="object"==typeof e.client?e.client:{},n="object"==typeof e.server?e.server:{},o=e.shared,c=e.runtimeEnv?e.runtimeEnv:{...s.env,...e.experimental__runtimeEnv};return function(e){let a=e.runtimeEnvStrict??e.runtimeEnv??t.env;if(e.emptyStringAsUndefined)for(let[e,n]of Object.entries(a))""===n&&delete a[e];if(e.skipValidation)return a;let n="object"==typeof e.client?e.client:{},s="object"==typeof e.server?e.server:{},o="object"==typeof e.shared?e.shared:{},c=(0,r.Ik)(n),i=(0,r.Ik)(s),d=(0,r.Ik)(o),l=e.isServer??("undefined"==typeof window||"Deno"in window),u=c.merge(d),h=i.merge(d).merge(c),g=l?h.safeParse(a):u.safeParse(a),m=e.onValidationError??(e=>{throw console.error("❌ Invalid environment variables:",e.flatten().fieldErrors),Error("Invalid environment variables")}),b=e.onInvalidAccess??(e=>{throw Error("❌ Attempted to access a server-side environment variable on the client")});if(!1===g.success)return m(g.error);let f=a=>!e.clientPrefix||!a.startsWith(e.clientPrefix)&&!(a in d.shape),p=e=>l||!f(e),x=e=>"__esModule"===e||"$$typeof"===e,v=(e.extends??[]).reduce((e,a)=>Object.assign(e,a),{});return new Proxy(Object.assign(g.data,v),{get(e,a){if("string"==typeof a&&!x(a))return p(a)?Reflect.get(e,a):b(a)}})}({...e,shared:o,client:a,server:n,clientPrefix:"NEXT_PUBLIC_",runtimeEnv:c})}},42030:(e,a,n)=>{"use strict";n.d(a,{F:()=>o});var r=n(60236);let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=r.$,o=(e,a)=>n=>{var r;if((null==a?void 0:a.variants)==null)return s(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:c}=a,i=Object.keys(o).map(e=>{let a=null==n?void 0:n[e],r=null==c?void 0:c[e];if(null===a)return null;let s=t(a)||t(r);return o[e][s]}),d=n&&Object.entries(n).reduce((e,a)=>{let[n,r]=a;return void 0===r||(e[n]=r),e},{});return s(e,i,null==a?void 0:null===(r=a.compoundVariants)||void 0===r?void 0:r.reduce((e,a)=>{let{class:n,className:r,...t}=a;return Object.entries(t).every(e=>{let[a,n]=e;return Array.isArray(n)?n.includes({...c,...d}[a]):({...c,...d})[a]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}},e=>{var a=a=>e(e.s=a);e.O(0,[17094,31001,85030,5779,77358],()=>a(7233)),_N_E=e.O()}]);