(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{93035:function(e,t,r){Promise.resolve().then(r.bind(r,64404)),Promise.resolve().then(r.bind(r,27640)),Promise.resolve().then(r.bind(r,90239)),Promise.resolve().then(r.t.bind(r,231,23)),Promise.resolve().then(r.t.bind(r,84080,23)),Promise.resolve().then(r.t.bind(r,87226,23)),Promise.resolve().then(r.t.bind(r,53054,23)),Promise.resolve().then(r.bind(r,19613)),Promise.resolve().then(r.bind(r,41982)),Promise.resolve().then(r.bind(r,29973)),Promise.resolve().then(r.bind(r,60771))},19613:function(e,t,r){"use strict";r.d(t,{default:function(){return Q}});var s=r(57437),a=r(87138),n=r(2265),i=r(89733),l=r(42873),o=r(25912),d=r(80233),c=r(56143),u=r(68954),f=r(99973),h=r(55936),m=r(35265);function x(e){let{}=e;return(0,s.jsxs)(h.Sheet,{children:[(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsx)(i.z,{className:"-ml-2 mr-2 inline-flex h-10 w-10 rounded-full lg:hidden",variant:"ghost",size:"icon",children:(0,s.jsx)(l.Z,{className:"h-5 w-5"})})}),(0,s.jsxs)(h.SheetContent,{side:"left",children:[(0,s.jsx)(h.SheetHeader,{children:(0,s.jsx)(h.SheetTitle,{className:"text-base font-medium",children:"Navigasjon"})}),(0,s.jsx)("div",{className:"mt-8 space-y-6",children:(0,s.jsxs)(m.Accordion,{type:"single",collapsible:!0,className:"w-full",children:[(0,s.jsxs)(m.AccordionItem,{value:"item-1",children:[(0,s.jsxs)(m.AccordionTrigger,{children:[(0,s.jsx)("span",{className:"text-xl font-medium",children:"Kurskatalog"}),(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"h-4 w-4 shrink-0 transition-transform duration-200",children:(0,s.jsx)("path",{d:"m6 9 6 6 6-6"})})]}),(0,s.jsxs)(m.AccordionContent,{children:[(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsxs)(a.default,{href:"/kurskatalog/business",className:"flex items-center py-2 text-base",prefetch:!1,children:[(0,s.jsx)(o.Z,{strokeWidth:1.5,className:"mr-5 h-5 w-5"}),"Business"]})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsxs)(a.default,{href:"/kurskatalog/foto-design",className:"flex items-center py-2 text-base",prefetch:!1,children:[(0,s.jsx)(d.Z,{strokeWidth:1.5,className:"mr-5 h-5 w-5"}),"Foto og design"]})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsxs)(a.default,{href:"/kurskatalog/digital-markedsforing",className:"flex items-center py-2 text-base",prefetch:!1,children:[(0,s.jsx)(c.Z,{strokeWidth:1.5,className:"mr-5 h-5 w-5"}),"Digital markedsf\xf8ring"]})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsxs)(a.default,{href:"/kurskatalog/video-lyd",className:"flex items-center py-2 text-base",prefetch:!1,children:[(0,s.jsx)(u.Z,{strokeWidth:1.5,className:"mr-5 h-5 w-5"}),"Video og lyd"]})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsxs)(a.default,{href:"/kurskatalog/web-utvikling",className:"flex items-center py-2 text-base",prefetch:!1,children:[(0,s.jsx)(f.Z,{strokeWidth:1.5,className:"mr-5 h-5 w-5"}),"Web og utvikling"]})})]})]}),(0,s.jsxs)(m.AccordionItem,{value:"item-2",children:[(0,s.jsxs)(m.AccordionTrigger,{children:[(0,s.jsx)("span",{className:"text-xl font-medium",children:"Sider"}),(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"h-4 w-4 shrink-0 transition-transform duration-200",children:(0,s.jsx)("path",{d:"m6 9 6 6 6-6"})})]}),(0,s.jsxs)(m.AccordionContent,{children:[(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsx)(a.default,{href:"/bli-kursholder",className:"flex items-center py-2 text-base",children:"Bli kursholder"})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsx)(a.default,{href:"/kursholdere",className:"flex items-center py-2 text-base",children:"Kursholdere"})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsx)(a.default,{href:"/om-oss",className:"flex items-center py-2 text-base",children:"Om oss"})}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsx)(a.default,{href:"/kontakt-oss",className:"flex items-center py-2 text-base",children:"Kontakt oss"})})]})]}),(0,s.jsx)(h.SheetTrigger,{asChild:!0,children:(0,s.jsx)(a.default,{className:"flex flex-1 items-center py-4 text-xl font-medium",href:"/priser",children:"Priser"})})]})})]})]})}var p=r(7580),g=r(12218),j=r(42421),k=r(49354);let v=n.forwardRef((e,t)=>{let{className:r,children:a,...n}=e;return(0,s.jsxs)(p.fC,{ref:t,className:(0,k.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",r),...n,children:[a,(0,s.jsx)(C,{})]})});v.displayName=p.fC.displayName;let b=n.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(p.aV,{ref:t,className:(0,k.cn)("group flex flex-1 list-none items-center justify-center space-x-1",r),...a})});b.displayName=p.aV.displayName;let N=p.ck,w=(0,g.j)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),y=n.forwardRef((e,t)=>{let{className:r,children:a,...n}=e;return(0,s.jsxs)(p.xz,{ref:t,className:(0,k.cn)(w(),"group",r),...n,children:[a," ",(0,s.jsx)(j.Z,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})});y.displayName=p.xz.displayName;let S=n.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(p.VY,{ref:t,className:(0,k.cn)("left-0 top-0 w-full 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 md:absolute md:w-auto ",r),...a})});S.displayName=p.VY.displayName;let T=p.rU,C=n.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{className:(0,k.cn)("absolute left-0 top-full flex justify-center"),children:(0,s.jsx)(p.l_,{className:(0,k.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",r),ref:t,...a})})});C.displayName=p.l_.displayName,n.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(p.z$,{ref:t,className:(0,k.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",r),...a,children:(0,s.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=p.z$.displayName;var R=r(71976);function A(e){let{}=e;return(0,s.jsx)(v,{className:"ml-4 hidden lg:block",children:(0,s.jsxs)(b,{children:[(0,s.jsxs)(N,{children:[(0,s.jsx)(y,{children:"Kurskatalog"}),(0,s.jsx)(S,{children:(0,s.jsxs)("ul",{className:"grid w-[300px] p-4",children:[(0,s.jsxs)(z,{href:"/kurskatalog/business",children:[(0,s.jsx)(o.Z,{strokeWidth:1.5,className:"mr-3 h-5 w-5"}),"Business"]}),(0,s.jsxs)(z,{href:"/kurskatalog/digital-markedsforing",children:[(0,s.jsx)(c.Z,{strokeWidth:1.5,className:"mr-3 h-5 w-5"}),"Digital markedsf\xf8ring"]}),(0,s.jsxs)(z,{href:"/kurskatalog/foto-design",children:[(0,s.jsx)(d.Z,{strokeWidth:1.5,className:"mr-3 h-5 w-5"}),"Foto og design"]}),(0,s.jsxs)(z,{href:"/kurskatalog/video-lyd",children:[(0,s.jsx)(u.Z,{strokeWidth:1.5,className:"mr-3 h-5 w-5"}),"Video og lyd"]}),(0,s.jsxs)(z,{href:"/kurskatalog/web-utvikling",children:[(0,s.jsx)(f.Z,{strokeWidth:1.5,className:"mr-3 h-5 w-5"}),"Web og utvikling"]})]})})]}),(0,s.jsx)(N,{children:(0,s.jsx)(a.default,{href:"/priser",legacyBehavior:!0,passHref:!0,children:(0,s.jsx)(T,{className:w(),children:"Priser"})})})]})})}n.forwardRef((e,t)=>{let{className:r,title:n,children:i,href:l,...o}=e;return(0,s.jsx)("li",{children:(0,s.jsx)(T,{asChild:!0,children:(0,s.jsxs)(a.default,{href:l,ref:t,className:(0,k.cn)("block select-none space-y-1 rounded-md p-3 leading-tight no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",r),...o,prefetch:!1,children:[(0,s.jsx)("div",{className:"font-medium",children:n}),(0,s.jsx)("p",{className:"line-clamp-2 text-sm leading-snug text-muted-foreground",children:i})]})})})}).displayName="ListItem";let z=n.forwardRef((e,t)=>{let{className:r,title:n,children:i,href:l,...o}=e;return(0,s.jsx)("li",{children:(0,s.jsx)(T,{asChild:!0,children:(0,s.jsxs)(a.default,{href:l,ref:t,className:(0,k.cn)("group flex select-none items-center space-y-1 rounded-md px-4 py-3 font-medium leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",r),...o,prefetch:!1,children:[i,(0,s.jsx)(R.Z,{className:"ml-auto mr-3 h-4 w-4 opacity-0 transition-all duration-200 ease-in-out group-hover:mr-0 group-hover:opacity-80"})]})})})});z.displayName="ListItem";var _=r(77209),Z=r(54817),V=r(74697),D=r(16463),I=r(9881);function O(e){let{}=e,t=(0,D.useRouter)(),[r,a]=(0,n.useState)(""),l=(0,n.useRef)(null);function o(){var e;a(""),null===(e=l.current)||void 0===e||e.focus()}return(0,s.jsxs)("form",{className:"relative flex h-10 w-full items-center",onSubmit:function(e){var s;if(e.preventDefault(),""===r.trim())return;let n=encodeURIComponent(r.toLowerCase());(0,I.sendGAEvent)("event","search",{search_term:n}),t.push("/search?query=".concat(n)),a(""),null===(s=l.current)||void 0===s||s.blur()},children:[(0,s.jsx)("div",{className:"pointer-events-none absolute left-3",children:(0,s.jsx)(Z.Z,{className:"h-4 w-4 text-muted-foreground"})}),(0,s.jsx)(_.I,{ref:l,className:"w-full rounded-full border-none bg-muted pl-9 pr-12 font-medium",placeholder:"S\xf8k etter kurs",value:r,onChange:function(e){a(e.target.value)},onKeyDown:function(e){"Escape"===e.key&&r&&o()}}),r&&(0,s.jsx)(i.z,{type:"button",variant:"ghost",size:"icon",onClick:o,className:"absolute right-2 top-1/2 -translate-y-1/2 transform rounded-full text-muted-foreground","aria-label":"Clear search",children:(0,s.jsx)(V.Z,{className:"h-4 w-4"})}),[{"@context":"https://schema.org","@type":"WebSite",name:"Utdannet.no",url:"https://www.utdannet.no",potentialAction:[{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"https://www.utdannet.no/search?query={search_term_string}"},"query-input":"required name=search_term_string"}]}].map((e,t)=>(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}},t))]})}var P=r(31590),E=r(30998),W=r(52022),U=r(36198),B=r(24501),F=r(95095),M=r(92699),Y=r(85302),q=r(89896),X=r(80420),L=r(66648),K=r(71268),G=function(e){let{user:t}=e;return(0,s.jsx)(X.Avatar,{children:t.image?(0,s.jsx)(L.default,{alt:"".concat(t.name,"s avatar"),src:t.image,fill:!0,quality:50,sizes:"5vw"}):(0,s.jsx)(X.AvatarFallback,{children:(0,s.jsx)(K.Z,{width:18})})})},H=r(85169);function $(e){let{user:t}=e,{setTheme:r}=(0,H.F)();return(0,D.useRouter)(),(0,s.jsxs)(P.h_,{children:[(0,s.jsx)(P.$F,{className:"",children:(0,s.jsx)(G,{user:t})}),(0,s.jsxs)(P.AW,{align:"end",children:[(0,s.jsx)("div",{className:"flex items-center justify-start gap-2 p-2",children:(0,s.jsxs)("div",{className:"loading-none flex w-[200px] flex-col space-y-1",children:[(null==t?void 0:t.name)&&(0,s.jsx)("p",{className:"truncate font-medium",children:null==t?void 0:t.name}),(null==t?void 0:t.email)&&(0,s.jsx)("p",{className:"truncate text-sm text-zinc-500 dark:text-zinc-500",children:null==t?void 0:t.email})]})}),(0,s.jsx)(P.VD,{}),(0,s.jsxs)(P.Qk,{children:[(0,s.jsx)(a.default,{href:"/bruker",children:(0,s.jsxs)(P.Xi,{className:"cursor-pointer",children:[(0,s.jsx)(W.Z,{className:"mr-2 h-4 w-4"}),"Bruker"]})}),(0,s.jsx)(a.default,{href:"/team",children:(0,s.jsxs)(P.Xi,{className:"cursor-pointer",children:[(0,s.jsx)(o.Z,{className:"mr-2 h-4 w-4"}),"Team"]})}),(0,s.jsx)(a.default,{href:"/kursholder",children:(0,s.jsxs)(P.Xi,{className:"cursor-pointer",children:[(0,s.jsx)(U.Z,{className:"mr-2 h-4 w-4"}),"Kursholder"]})}),(0,s.jsx)(P.VD,{}),(0,s.jsxs)(P.Ph,{children:[(0,s.jsxs)(P.kt,{children:[(0,s.jsx)(B.Z,{className:"mr-2 h-4 w-4"}),(0,s.jsx)("span",{children:"Velg tema"})]}),(0,s.jsx)(P.cq,{children:(0,s.jsxs)(P.TG,{children:[(0,s.jsxs)(P.Xi,{onClick:()=>r("light"),children:[(0,s.jsx)(F.Z,{className:"mr-2 h-4 w-4"}),(0,s.jsx)("span",{children:"Dag"})]}),(0,s.jsxs)(P.Xi,{onClick:()=>r("dark"),children:[(0,s.jsx)(M.Z,{className:"mr-2 h-4 w-4"}),(0,s.jsx)("span",{children:"Natt"})]}),(0,s.jsxs)(P.Xi,{onClick:()=>r("system"),children:[(0,s.jsx)(Y.Z,{className:"mr-2 h-4 w-4"}),(0,s.jsx)("span",{children:"System"})]})]})})]})]}),(0,s.jsx)(P.VD,{}),(0,s.jsxs)(P.Xi,{onClick:e=>{e.preventDefault(),(0,E.signOut)({redirect:!0,callbackUrl:"".concat(window.location.origin,"/logg-inn")}).catch(console.error)},className:"cursor-pointer text-red-600",children:[(0,s.jsx)(q.Z,{className:"mr-2 h-4 w-4"}),(0,s.jsx)("span",{children:"Logg ut"})]})]})]})}function J(e){let{}=e;return(0,s.jsx)(i.z,{className:"lg-rounded-md h-10 w-10 rounded-full lg:w-auto lg:px-4 lg:py-2",variant:"outline",asChild:!0,children:(0,s.jsxs)(a.default,{href:"/logg-inn",children:[(0,s.jsx)(K.Z,{className:"h-4 w-4 shrink-0 lg:mr-2"}),(0,s.jsx)("span",{className:"hidden lg:inline",children:"Logg inn"})]})})}function Q(e){let{}=e,{data:t,status:r}=(0,E.useSession)();return(0,s.jsx)("header",{className:"w-full",children:(0,s.jsxs)("div",{className:"mx-4 flex h-14 items-center justify-between md:mx-8 ",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(x,{}),(0,s.jsx)(a.default,{href:"/",prefetch:!1,children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 300 300",children:[(0,s.jsx)("title",{children:"Utdannets logo"}),(0,s.jsx)("circle",{fill:"#ffe566",cx:"150",cy:"150",r:"150"}),(0,s.jsx)("path",{d:"M129.1,74.7V167a48.72,48.72,0,0,0,2.8,18.5,17.11,17.11,0,0,0,17.2,10.7,16.54,16.54,0,0,0,17-9.9,52.58,52.58,0,0,0,2.4-19.3V74.7h39.2V167c0,25.7-5.7,37.2-15.3,47.1a57.59,57.59,0,0,1-42.3,16.7A61.54,61.54,0,0,1,106,214.4c-12.7-14-15.3-24.7-15.3-47.3V74.8Z"})]})}),(0,s.jsx)("nav",{className:"hidden",children:(0,s.jsx)("ul",{children:(0,s.jsxs)("li",{children:[(0,s.jsx)(a.default,{href:"/kurskatalog",prefetch:!1,children:"Kurskatalog"}),(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:[(0,s.jsx)(a.default,{href:"/kurskatalog/business",prefetch:!1,children:"Business-kurs"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/business/google-workspace",prefetch:!1,children:"Google Workspace-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/business/jobb-karriere",prefetch:!1,children:"Jobb og karriere-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/business/microsoft-office",prefetch:!1,children:"Microsoft Office-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/business/prosjektledelse",prefetch:!1,children:"Prosjektledelse-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/business/regnskap",prefetch:!1,children:"Regnskap-kurs"})})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing",prefetch:!1,children:"Digital Markedsf\xf8ring-kurs"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing/digital-annonsering",prefetch:!1,children:"Digital annonsering-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing/e-postmarkedsforing",prefetch:!1,children:"E-postmarkedsf\xf8ring-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing/innholdsmarkedsforing",prefetch:!1,children:"Innholdsmarkedsf\xf8ring-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing/sosiale-medier",prefetch:!1,children:"Sosiale medier-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing/sokemotoroptimalisering",prefetch:!1,children:"S\xf8kemotoroptimalisering-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/digital-markedsforing/webanalyse",prefetch:!1,children:"Webanalyse-kurs"})})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(a.default,{href:"/kurskatalog/foto-design",prefetch:!1,children:"Foto og design-kurs"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/foto-design/bilderedigering",prefetch:!1,children:"Bilderedigering-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/foto-design/foto",prefetch:!1,children:"Foto-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/foto-design/grafisk-design",prefetch:!1,children:"Grafisk design-kurs"})})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(a.default,{href:"/kurskatalog/video-lyd",prefetch:!1,children:"Video og lyd-kurs"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/video-lyd/lydproduksjon",prefetch:!1,children:"Lydprodukskjon-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/video-lyd/videoredigering",prefetch:!1,children:"Videoredigering-kurs"})})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling",prefetch:!1,children:"Web og utvikling-kurs"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling/database",prefetch:!1,children:"Database-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling/nettbutikk",prefetch:!1,children:"Nettbutikk-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling/nettside",prefetch:!1,children:"Nettside-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling/programmering",prefetch:!1,children:"Programmering-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling/skytjenester",prefetch:!1,children:"Skytjenester-kurs"})}),(0,s.jsx)("li",{children:(0,s.jsx)(a.default,{href:"/kurskatalog/web-utvikling/webutvikling",prefetch:!1,children:"Webutvikling-kurs"})})]})]})]})]})})}),(0,s.jsx)(A,{})]}),(0,s.jsx)("div",{className:"shrink-1 mx-4 min-w-0 grow-0 basis-[600px] lg:mx-8",children:(0,s.jsx)(O,{})}),(0,s.jsx)("div",{className:"align-center flex shrink-0 justify-end xl:min-w-[307px]",children:"authenticated"===r?(0,s.jsx)($,{user:t.user}):(0,s.jsx)(J,{})})]})})}},41982:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var s=r(57437),a=r(30998),n=r(85169);function i(e){let{children:t,...r}=e;return(0,s.jsx)(n.f,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:(0,s.jsx)(a.SessionProvider,{children:t})})}},35265:function(e,t,r){"use strict";r.d(t,{Accordion:function(){return l},AccordionContent:function(){return c},AccordionItem:function(){return o},AccordionTrigger:function(){return d}});var s=r(57437),a=r(2265),n=r(64756),i=r(49354);let l=n.fC,o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.ck,{ref:t,className:(0,i.cn)("border-b last:border-b-0",r),...a})});o.displayName="AccordionItem";let d=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsx)(n.h4,{className:"flex",children:(0,s.jsx)(n.xz,{ref:t,className:(0,i.cn)("flex flex-1 items-center justify-between py-4 font-normal transition-all [&[data-state=open]>svg]:rotate-180",r),...l,children:a})})});d.displayName=n.xz.displayName;let c=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsx)(n.VY,{ref:t,className:(0,i.cn)("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",r),...l,children:(0,s.jsx)("div",{className:"pb-4 pt-0",children:a})})});c.displayName=n.VY.displayName},80420:function(e,t,r){"use strict";r.d(t,{Avatar:function(){return l},AvatarFallback:function(){return d},AvatarImage:function(){return o}});var s=r(57437),a=r(2265),n=r(44458),i=r(49354);let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.fC,{ref:t,className:(0,i.cn)("relative flex h-8 w-8 shrink-0 overflow-hidden rounded-full h",r),...a})});l.displayName=n.fC.displayName;let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Ee,{ref:t,className:(0,i.cn)("aspect-square h-full w-full",r),...a})});o.displayName=n.Ee.displayName;let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.NY,{ref:t,className:(0,i.cn)("flex h-full w-full items-center justify-center rounded-full bg-secondary",r),...a})});d.displayName=n.NY.displayName},89733:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return d}});var s=r(57437),a=r(2265),n=r(71538),i=r(12218),l=r(49354);let o=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,s.jsx)(u,{className:(0,l.cn)(o({variant:a,size:i,className:r})),ref:t,...c})});d.displayName="Button"},31590:function(e,t,r){"use strict";r.d(t,{$F:function(){return u},AW:function(){return j},Ju:function(){return N},Ph:function(){return m},Qk:function(){return f},TG:function(){return g},VD:function(){return w},Xi:function(){return k},_x:function(){return x},bO:function(){return v},cq:function(){return h},h_:function(){return c},kt:function(){return p},qB:function(){return b}});var s=r(57437),a=r(2265),n=r(81622),i=r(87592),l=r(22468),o=r(28165),d=r(49354);let c=n.fC,u=n.xz,f=n.ZA,h=n.Uv,m=n.Tr,x=n.Ee,p=a.forwardRef((e,t)=>{let{className:r,inset:a,children:l,...o}=e;return(0,s.jsxs)(n.fF,{ref:t,className:(0,d.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",a&&"pl-8",r),...o,children:[l,(0,s.jsx)(i.Z,{className:"ml-auto h-4 w-4"})]})});p.displayName=n.fF.displayName;let g=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.tu,{ref:t,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...a})});g.displayName=n.tu.displayName;let j=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...i}=e;return(0,s.jsx)(n.Uv,{children:(0,s.jsx)(n.VY,{ref:t,sideOffset:a,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...i})})});j.displayName=n.VY.displayName;let k=a.forwardRef((e,t)=>{let{className:r,inset:a,...i}=e;return(0,s.jsx)(n.ck,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",r),...i})});k.displayName=n.ck.displayName;let v=a.forwardRef((e,t)=>{let{className:r,children:a,checked:i,...o}=e;return(0,s.jsxs)(n.oC,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...o,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(n.wU,{children:(0,s.jsx)(l.Z,{className:"h-4 w-4"})})}),a]})});v.displayName=n.oC.displayName;let b=a.forwardRef((e,t)=>{let{className:r,children:a,...i}=e;return(0,s.jsxs)(n.Rk,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(n.wU,{children:(0,s.jsx)(o.Z,{className:"h-2 w-2 fill-current"})})}),a]})});b.displayName=n.Rk.displayName;let N=a.forwardRef((e,t)=>{let{className:r,inset:a,...i}=e;return(0,s.jsx)(n.__,{ref:t,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",r),...i})});N.displayName=n.__.displayName;let w=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Z0,{ref:t,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",r),...a})});w.displayName=n.Z0.displayName},77209:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(57437),a=r(2265),n=r(49354);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,s.jsx)("input",{type:a,className:(0,n.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},29973:function(e,t,r){"use strict";r.d(t,{Separator:function(){return l}});var s=r(57437),a=r(2265),n=r(48484),i=r(49354);let l=a.forwardRef((e,t)=>{let{className:r,orientation:a="horizontal",decorative:l=!0,...o}=e;return(0,s.jsx)(n.f,{ref:t,decorative:l,orientation:a,className:(0,i.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",r),...o})});l.displayName=n.f.displayName},55936:function(e,t,r){"use strict";r.d(t,{Sheet:function(){return d},SheetContent:function(){return m},SheetHeader:function(){return x},SheetTitle:function(){return p},SheetTrigger:function(){return c}});var s=r(57437),a=r(2265),n=r(13304),i=r(12218),l=r(74697),o=r(49354);let d=n.fC,c=n.xz;n.x8;let u=n.h_,f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.aV,{className:(0,o.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...a,ref:t})});f.displayName=n.aV.displayName;let h=(0,i.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"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",right:"inset-y-0 right-2 top-2 bottom-2 rounded-md w-full border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right max-w-md"}},defaultVariants:{side:"right"}}),m=a.forwardRef((e,t)=>{let{side:r="right",className:a,children:i,...d}=e;return(0,s.jsxs)(u,{children:[(0,s.jsx)(f,{}),(0,s.jsxs)(n.VY,{ref:t,className:(0,o.cn)(h({side:r}),a),...d,children:[i,(0,s.jsxs)(n.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,s.jsx)(l.Z,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=n.VY.displayName;let x=e=>{let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-2",t),...r})};x.displayName="SheetHeader";let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold text-foreground",r),...a})});p.displayName=n.Dx.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",r),...a})}).displayName=n.dk.displayName},60771:function(e,t,r){"use strict";r.d(t,{Toaster:function(){return g}});var s=r(57437),a=r(2265),n=r(44504),i=r(12218),l=r(74697),o=r(49354);let d=n.zt,c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.l_,{ref:t,className:(0,o.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...a})});c.displayName=n.l_.displayName;let u=(0,i.j)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),f=a.forwardRef((e,t)=>{let{className:r,variant:a,...i}=e;return(0,s.jsx)(n.fC,{ref:t,className:(0,o.cn)(u({variant:a}),r),...i})});f.displayName=n.fC.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.aU,{ref:t,className:(0,o.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...a})}).displayName=n.aU.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.x8,{ref:t,className:(0,o.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...a,children:(0,s.jsx)(l.Z,{className:"h-4 w-4"})})});h.displayName=n.x8.displayName;let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Dx,{ref:t,className:(0,o.cn)("text-base font-bold",r),...a})});m.displayName=n.Dx.displayName;let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.dk,{ref:t,className:(0,o.cn)("text-sm opacity-90",r),...a})});x.displayName=n.dk.displayName;var p=r(78068);function g(){let{toasts:e}=(0,p.pm)();return(0,s.jsxs)(d,{children:[e.map(function(e){let{id:t,title:r,description:a,action:n,...i}=e;return(0,s.jsxs)(f,{...i,children:[(0,s.jsxs)("div",{className:"grid gap-1",children:[r&&(0,s.jsx)(m,{children:r}),a&&(0,s.jsx)(x,{children:a})]}),n,(0,s.jsx)(h,{})]},t)}),(0,s.jsx)(c,{})]})}},78068:function(e,t,r){"use strict";r.d(t,{Am:function(){return u},pm:function(){return f}});var s=r(2265);let a=0,n=new Map,i=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(a=(a+1)%Number.MAX_VALUE).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(d);return s.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},49354:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var s=r(44839),a=r(78077);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.m)((0,s.W)(t))}},53054:function(){}},function(e){e.O(0,[3453,9616,231,8557,4674,8173,97,3721,9881,193,998,9784,9936,2971,7023,1744],function(){return e(e.s=93035)}),_N_E=e.O()}]);