1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,395672,(e,t,n)=>{var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,l=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function f(e){return e?e.replace(c,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,c=1;function d(e){var t=e.match(i);t&&(n+=t.length);var r=e.lastIndexOf("\n");c=~r?e.length-r:c+e.length}function p(){var e={line:n,column:c};return function(t){return t.position=new h(e),y(l),t}}function h(e){this.start=e,this.end={line:n,column:c},this.source=t.source}h.prototype.content=e;var m=[];function g(r){var i=Error(t.source+":"+n+":"+c+": "+r);if(i.reason=r,i.filename=t.source,i.line=n,i.column=c,i.source=e,t.silent)m.push(i);else throw i}function y(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function x(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return c+=2,d(r),e=e.slice(n),c+=2,t({type:"comment",comment:r})}}y(l);var v,b=[];for(x(b);v=function(){var e=p(),t=y(o);if(t){if(k(),!y(a))return g("property missing ':'");var n=y(s),i=e({type:"declaration",property:f(t[0].replace(r,"")),value:n?f(n[0].replace(r,"")):""});return y(u),i}}();)!1!==v&&(b.push(v),x(b));return b}},270454,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),l="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;l?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(e.r(395672))},965185,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,l=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||l.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,u):e.replace(o,u)).replace(i,s))}},515511,(e,t,n)=>{"use strict";var r=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(270454)),i=e.r(965185);function l(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}l.default=l,t.exports=l},104100,(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,l=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},s=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=r.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!l)return!1;for(t in e);return void 0===t||r.call(e,t)},u=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;else if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,l,o,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(t=arguments[d],null!=t)for(n in t)r=c(f,n),f!==(i=c(t,n))&&(h&&i&&(s(i)||(l=a(i)))?(l?(l=!1,o=r&&a(r)?r:[]):o=r&&s(r)?r:{},u(f,{name:n,newValue:e(h,o,i)})):void 0!==i&&u(f,{name:n,newValue:i}));return f}},225873,e=>{"use strict";var t=e.i(843476),n=e.i(522016),r=e.i(519455),i=e.i(980376),l=e.i(492161),o=e.i(463059),a=e.i(373375),s=e.i(383157),u=e.i(923102),
1c=e.i(723616),f=e.i(284614),d=e.i(531278),p=e.i(778917),h=e.i(475254);let m=(0,h.default)("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);var g=e.i(260289),y=e.i(237918),x=e.i(271645),k=e.i(975157),v=e.i(414877),b=e.i(557951),w=e.i(618566),S=e.i(70454),C=e.i(248256),j=e.i(643531),E=e.i(755146);function N({lang:e}){let n=(0,w.usePathname)(),i={da:"Dansk",en:"English"};return(0,t.jsxs)(E.DropdownMenu,{children:[(0,t.jsx)(E.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(r.Button,{variant:"ghost",size:"icon",className:"text-primary-foreground hover:text-primary-darker hover:bg-transparent",children:[(0,t.jsx)(C.Globe,{}),(0,t.jsx)("span",{className:"sr-only",children:"Skift sprog"})]})}),(0,t.jsx)(E.DropdownMenuContent,{align:"end",children:S.i18n.locales.map(r=>(0,t.jsx)(E.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:(e=>{if(!n)return"/";let t=n.split("/").filter(Boolean);S.i18n.locales.includes(t[0])&&t.shift();let r=t.join("/");return e===S.i18n.defaultLocale?r?`/${r}`:"/":`/${e}/${r||""}`.replace(/\/$/,"")})(r),className:"flex items-center justify-between w-full",onClick:()=>{document.cookie=`NEXT_LOCALE=${r}; path=/; max-age=31536000`},children:[i[r],e===r&&(0,t.jsx)(j.Check,{className:"h-4 w-4 ml-2"})]})},r))})]})}var T=e.i(158862),D=e.i(511152);function A({lang:e,dictionary:h}){let w,C,j=e||S.i18n.defaultLocale,[E,A]=(0,x.useState)(!1),L=(0,v.useIsMobile)(),[_,I]=(0,x.useState)("main"),[P,M]=(0,x.useState)(null),[F,z]=(0,x.useState)(!1),[O,R]=(0,x.useState)(!1),[B,H]=(0,x.useState)(!1),{currentUser:U,isLoading:q,isAdmin:V}=(0,b.useAuth)(),[$,W]=(0,x.useState)(!1),[K,Q]=(0,x.useState)(null);(0,x.useEffect)(()=>{W(!0),A(!0),async function(){Q(await (0,T.getSocialLinkSettings)())}()},[]);let Y=(C=(w=j||S.i18n.defaultLocale)===S.i18n.defaultLocale?"":`/${w}`,[{label:"Live",href:`${C}/`},{label:"Disco",href:`${C}/disco`},{label:"Menu",href:`${C}/menu`},{label:"News",href:`${C}/news`},{label:"Backstage",id:"backstage",subItems:[{label:h.submenu_backstage.history,href:`${C}/backstage/historie`},{label:h.submenu_backstage.concert_photos,href:`${C}/backstage/koncertfotos`},{label:h.submenu_backstage.team_hq,href:`${C}/backstage/team-hq`},{label:h.submenu_backstage.collaboration,href:`${C}/backstage/samarbejde`},{label:h.submenu_backstage.press_kit,href:`${C}/backstage/presse`},{label:h.submenu_backstage.hq_rec,href:"https://rec.hq.dk",isExternal:!0},{label:h.submenu_backstage.hq_music,href:"https://music.hq.dk",isExternal:!0}]},{label:h.nav_info,href:`${C}/info`},{label:h.nav_contact,id:"kontakt",subItems:[{label:h.submenu_contact.general,href:`${C}/kontakt/generelt`},{label:h.submenu_contact.live_booking,href:`${C}/kontakt/live-booking`},{label:h.submenu_contact.private_events,href:`${C}/kontakt/selskaber`},{label:h.submenu_contact.hire_dj,href:`${C}/kontakt/lej-en-dj`},{label:h.submenu_contact.lost_found,href:`${C}/kontakt/glemte-sager`},{label:h.submenu_contact.jobs,href:`${C}/kontakt/job-paa-hq`},{label:h.submenu_contact.feedback,href:`${C}/kontakt/ris-ros`}]},{label:h.nav_newsletter,href:`${C}/kontakt/nyhedsbrev`},{label:h.nav_shop,href:"https://shop.hq.dk",isExternal:!0}]),X=150+75*Y.length+100,J=150+75*Y.length+200,Z=e=>Y.map((l,a)=>{let s=150+75*a,u=l.icon,c="text-3xl sm:text-4xl font-semibold py-1 transition-colors text-left w-full opacity-0 transform translate-y-5 group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0 pl-0",f=(0,k.cn)(c,"hover:text-primary flex items-center"),d=(0,k.cn)(c,"justify-between hover:text-primary"),h=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"flex items-center",children:[u&&(0,t.jsx)(u,{className:"mr-2 h-6 w-6 sm:h-7 sm:w-7"}),l.label]}),l.subItems&&(0,t.jsx)(o.ChevronRight,{className:"h-6 w-6 sm:h-7 sm:w-7"}),l.isExternal&&(0,t.jsx)(p.ExternalLink,{className:"ml-2 h-4 w-4 sm:h-5 sm:w-5 text-muted-foreground/70"})]});if(l.subItems&&l.id)return(0,t.jsx)(r.Button,{variant:"ghost",onClick:()=>{l.subItems&&l.id&&(L?(I(l.id),M(l.id)):_===l.id?(z(!0),R(!1),setTimeout(()=>{I("main"),M(null),z(!1)},300)):"main"!==_&&P!==l.id?(z(!0),setTimeout(()=>{I(l.id),M(l.id),z(!1)},300)):("main"===_&&R(!0),I(l.id),M(l.id)))},className:(0,k.cn)(d,l.id&&l.id===P&&_===l.id?"text-primary hover:text-primary/90":""),style:{transitionProperty:"opacity, transform, color",transitionDuration:"300ms",transitionTimingFunction:"ease-
1out",transitionDelay:`${s}ms`},children:h},l.label);let m=(0,t.jsx)(n.default,{href:l.href||"#",target:l.isExternal?"_blank":void 0,rel:l.isExternal?"noopener noreferrer":void 0,className:f,style:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out",transitionDelay:`${s}ms`},children:h});return e?(0,t.jsx)(i.SheetClose,{asChild:!0,children:m},l.href||l.label):(0,t.jsx)(x.default.Fragment,{children:m},l.href||l.label)}),G=()=>(Y.find(e=>e.id===P)?.subItems||[]).map((e,r)=>(0,t.jsx)(i.SheetClose,{asChild:!0,children:(0,t.jsxs)(n.default,{href:e.href||"#",target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,className:"text-xl sm:text-2xl font-semibold py-1 hover:text-primary transition-colors text-left pl-0 flex items-center opacity-0 transform translate-y-5 group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0",style:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out",transitionDelay:`${150+75*r}ms`},children:[e.label,e.isExternal&&(0,t.jsx)(p.ExternalLink,{className:"ml-2 h-3 w-3 sm:h-4 w-4 text-muted-foreground/70"})]})},e.href||e.label)),ee=j===S.i18n.defaultLocale,et=ee?"/":`/${j}`,en=`${ee?"":`/${j}`}/profil`,er=`${ee?"":`/${j}`}/login`;return(0,t.jsxs)("header",{className:"sticky top-0 z-50 w-full border-b border-primary-darker text-primary-foreground h-20 relative",children:[(0,t.jsx)("div",{style:{backgroundImage:"url('/header-bg-image.png')",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"},className:"absolute inset-0 z-0"}),(0,t.jsxs)("div",{className:"flex h-full items-center px-4 sm:px-6 lg:px-8 justify-between gap-4 relative z-10",children:[(0,t.jsx)(n.default,{href:et,className:"flex items-center",children:(0,t.jsx)("img",{src:"/hq-logo-white.png",alt:"HeadQuarters Logo Hvid",className:"h-10 w-auto object-contain"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(N,{lang:j}),$&&!q&&U&&V&&(0,t.jsx)(r.Button,{asChild:!0,variant:"ghost",size:"icon",className:"text-primary-foreground hover:bg-transparent hover:text-primary-foreground/80",children:(0,t.jsxs)(n.default,{href:"/admin/dashboard",children:[(0,t.jsx)(g.LayoutDashboard,{className:"h-5 w-5"}),(0,t.jsx)("span",{className:"sr-only",children:"Admin Dashboard"})]})}),(0,t.jsx)(r.Button,{asChild:!0,variant:"ghost",size:"icon",className:"text-primary-foreground hover:bg-transparent hover:text-primary-foreground/80",children:!$||q?(0,t.jsx)(d.Loader2,{className:"animate-spin"}):U?(0,t.jsxs)(n.default,{href:en,children:[(0,t.jsx)(m,{}),(0,t.jsx)("span",{className:"sr-only",children:"Profil"})]}):(0,t.jsxs)(n.default,{href:er,children:[(0,t.jsx)(f.User,{}),(0,t.jsx)("span",{className:"sr-only",children:"Log Ind"})]})})]}),E&&(0,t.jsxs)(i.Sheet,{open:B,onOpenChange:e=>{H(e),e||(I("main"),M(null),z(!1),R(!1))},children:[(0,t.jsx)(i.SheetTrigger,{asChild:!0,children:(0,t.jsx)(r.Button,{variant:"ghost",className:"text-primary-foreground hover:bg-transparent hover:text-primary-foreground/80 w-14 h-14 p-0 [&_svg]:size-8 -mr-2 sm:-mr-4","aria-label":"Ã
bn Menu",children:(0,t.jsx)(l.Menu,{})})}),(0,t.jsxs)(i.SheetContent,{side:"right","aria-describedby":void 0,className:"!p-0 !shadow-none !border-none !max-w-none fixed inset-0 w-screen h-screen flex flex-col overflow-hidden bg-background group",onOpenAutoFocus:e=>e.preventDefault(),suppressHydrationWarning:!0,children:[(0,t.jsx)(i.SheetTitle,{className:"sr-only",children:"Menu"}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto flex flex-col pt-16",children:(0,t.jsx)(y.Container,{className:"py-10 md:py-16 flex-1 flex flex-col",children:(0,t.jsxs)("div",{suppressHydrationWarning:!0,className:"grid grid-cols-1 md:grid-cols-3 gap-x-8 gap-y-12 flex-1",children:[(0,t.jsx)("div",{suppressHydrationWarning:!0,className:"hidden md:flex flex-col items-center justify-center opacity-0 transform translate-y-5 transition-all duration-500 ease-out group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0",style:{transitionDelay:`${X}ms`},children:(0,t.jsx)(i.SheetClose,{asChild:!0,children:(0,t.jsx)(n.default,{href:et,className:"block",children:(0,t.jsx)("img",{src:"/hq-logo-black.png",alt:"HeadQuarters Logo Sort",className:"w-48 sm:w-60 h-auto object-contain"})})})}),(0,t.jsx)("nav",{suppressHydrationWarning:!0,className:"md:col-start-2 flex flex-col justify-center relative overflow-hidden",children:$&&L?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,k.cn)("transition-all duration-300 ease-in-out transform","main"===_?"opacity-0 -translate-x-4 h-0 invisible":"opacity-100 translate-x-0 h-auto visible mb-4"),children:"main"!==_&&(0,t.jsxs)(r.Button,{variant:"ghost",onClick:()=>{L&&I("main")},className:"text-lg font-semibold py-1 transition-colors text-left justify-start w-full hover:text-primary pl-0",children:[(0,t.jsx)(a.ChevronLeft,{className:"mr-2 h-5 w-5 sm:h-6 sm:w-6"}),"Tilbage til ",P&&Y.find(e=>e.id===P)?.label||"Menu"]})}),(0,t.jsx)("div",{className:(0,k.cn)("flex flex-col space-y-3 sm:space-y-4 transition-all duration-300 ease-in-out transform","main"!==_?"opacity-0 -translate-x-full absolute pointer-events-none":"opacity-100 translate-x-0"),children:Z(!0)}),(0,t.jsx)("div",{className:(0,k.cn)("flex flex-col space-y-2 sm:space-y-3 transition-all duration-300 ease-in-out transform","main"===_?"opacity-0 translate-x-full absolute pointer-events-none":"opacity-100 translate-x-0"),children:"main"!==_&&G()})]}):(0,t.jsx)("div",{className:"flex flex-col space-y-3 sm:space-y-4 justify-center",children:Z(!0)})}),(0,t.jsxs)("aside",{suppressHydrationWarning:!0,className:(0,k.cn)("md:col-start-3 flex flex-col",L&&"main"===_?"justify-center flex-grow":L||"main"!==_?!L&&"main"!==_&&P?"justify-center":L&&"main"!==_?"justify-start pt-0":"justify-center":"justify-center"),children:[$&&!L&&"main"!==_&&P&&(0,t.jsx)("div",{className:(0,k.cn)("w-full transition-all duration-300 ease-out",F?"opacity-0 translate-y-5":"opacity-0 translate-y-5 group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0",!F&&"group-data-[state=open]:delay-150"),children:(0,t.jsx)("div",{className:"flex flex-col space-y-2 sm:space-y-3",children:G()})}),(0,t.jsxs)("div",{suppressHydrationWarning:!0,className:(0,k.cn)("space-y-8 w-full transition-all duration-300 ease-out text-center md:text-left",!$&&"main"===_&&"opacity-0 translate-y-5 group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0",!$&&"main"!==_&&"opacity-0 translate-y-5 absolute pointer-events-none",$&&!L&&O&&"opacity-0 translate-y-5",$&&!L&&!O&&"main"===_&&"opacity-0 translate-y-5 group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0",$&&L&&"main"===_&&"opacity-100 translate-y-0 group-data-[state=open]:opacity-100 group-data-[state=open]:translate-y-0 group-data-[state=open]:delay-300",$&&L&&"main"!==_&&"opacity-0 translate-y-5 absolute pointer-events-none"),style:($||"main"!==_)&&(!$||L||O||"main"!==_)?{}:{"--aside-delay":`${J}ms`},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-1",children:"HeadQuarters"}
1),(0,t.jsxs)("p",{className:"text-sm text-foreground/80",children:["Valdemarsgade 1A,",(0,t.jsx)("br",{}),"8000 Aarhus C"]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-muted-foreground mb-3 uppercase tracking-wider",children:h.follow_us}),(0,t.jsxs)("div",{className:"flex space-x-4 justify-center md:justify-start",children:[K?.facebook&&(0,t.jsx)("a",{href:K.facebook,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary",children:(0,t.jsx)(s.Facebook,{className:"h-7 w-7"})}),K?.instagram_live&&(0,t.jsx)("a",{href:K.instagram_live,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary",children:(0,t.jsx)(u.Instagram,{className:"h-7 w-7"})}),K?.instagram_disco&&(0,t.jsx)("a",{href:K.instagram_disco,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary",children:(0,t.jsx)(u.Instagram,{className:"h-7 w-7"})}),K?.youtube&&(0,t.jsx)("a",{href:K.youtube,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary",children:(0,t.jsx)(c.Youtube,{className:"h-7 w-7"})}),K?.tiktok&&(0,t.jsx)("a",{href:K.tiktok,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary",children:(0,t.jsx)(D.FaTiktok,{className:"h-7 w-7"})})]})]})]})]})]})})}),(0,t.jsx)("div",{className:"p-4 sm:p-6 border-t text-muted-foreground text-xs shrink-0 hidden md:block",children:(0,t.jsxs)(y.Container,{className:"flex flex-col sm:flex-row justify-between items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("img",{src:"/logo-statens-kunstfond.webp",alt:"Statens Kunstfond",className:"h-20 w-auto object-contain"}),(0,t.jsx)("img",{src:"/logo-aarhus-kommune.webp",alt:"Aarhus Kommune",className:"h-20 w-auto object-contain"})]}),(0,t.jsxs)("p",{children:["© ",new Date().getFullYear()," HeadQuarters. Alle rettigheder forbeholdes."]})]})})]})]})]})]})]})}var L=e.i(375679),_=e.i(653145),I=e.i(994814);e.i(470395);
1var P=e.i(517515),M=e.i(908406),F=e.i(793479),z=e.i(170338);let O=P.object({name:P.string().min(2,{message:"Navn er påkrævet."}),email:P.string().email({message:"Indtast en gyldig email."})});function R({t:e}){let{toast:n}=(0,M.useToast)(),[i,l]=(0,x.useTransition)(),o=(0,_.useForm)({resolver:(0,I.zodResolver)(O),defaultValues:{name:"",email:""}});return(0,t.jsxs)("form",{onSubmit:o.handleSubmit(t=>{l(async()=>{let r=await (0,z.submitFormAction)({formType:"nyhedsbrev",...t});r.success?(n({title:e.success_title,description:r.message}),o.reset()):n({title:e.error_title,description:r.message||e.error_description,variant:"destructive"})})}),className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,t.jsx)(F.Input,{type:"text",placeholder:e.name_placeholder,...o.register("name"),className:"flex-1 bg-transparent border border-primary-foreground/50 rounded-md text-primary-foreground placeholder:text-primary-foreground/70 focus:border-primary-foreground focus:ring-primary-foreground",disabled:i}),(0,t.jsx)(F.Input,{type:"email",placeholder:e.email_placeholder,...o.register("email"),className:"flex-1 bg-transparent border border-primary-foreground/50 rounded-md text-primary-foreground placeholder:text-primary-foreground/70 focus:border-primary-foreground focus:ring-primary-foreground",disabled:i})]}),(o.formState.errors.name||o.formState.errors.email)&&(0,t.jsxs)("div",{className:"text-destructive-foreground/80 text-sm px-1",children:[o.formState.errors.name?.message,o.formState.errors.name&&o.formState.errors.email&&(0,t.jsx)("br",{}),o.formState.errors.email?.message]}),(0,t.jsx)(r.Button,{type:"submit",variant:"outline",className:"w-full border-primary-foreground text-primary hover:bg-muted hover:text-primary/90 focus:bg-muted focus:text-primary/90",disabled:i,children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Loader2,{className:"mr-2 h-4 w-4 animate-spin"}),e.subscribing_button]}):e.subscribe_button})]})}function B({lang:e,footer_dictionary:r,header_dictionary:i}){let[l,o]=(0,x.useState)(null);return(0,x.useEffect)(()=>{!async function(){o(await (0,T.getSocialLinkSettings)())}()},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"bg-secondary py-4 md:py-4",children:(0,t.jsxs)(y.Container,{children:[(0,t.jsx)("h3",{className:"text-center text-sm font-semibold uppercase tracking-wider text-foreground mb-2",children:r.sponsors_and_partners}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-x-4 gap-y-6 sm:gap-x-6 md:gap-x-8 lg:gap-x-12 xl:gap-x-14",children:[(0,t.jsx)("div",{className:"w-12 md:w-24 lg:w-28 shrink-0 flex justify-center items-center",children:(0,t.jsx)("img",{src:"/logo-statens-kunstfond.webp",alt:"Statens Kunstfond Logo",className:"w-full h-auto object-contain"})}),(0,t.jsx)("div",{className:"w-12 md:w-24 lg:w-28 shrink-0 flex justify-center items-center",children:(0,t.jsx)("img",{src:"/logo-aarhus-kommune.webp",alt:"Aarhus Kommune Logo",className:"w-full h-auto object-contain"})}),(0,t.jsx)("div",{className:"w-12 md:w-24 lg:w-28 shrink-0 flex justify-center items-center",children:(0,t.jsx)("img",{src:"/logo-train.webp",alt:"Train Logo",className:"w-full h-auto object-contain"})}),(0,t.jsx)("div",{className:"w-12 md:w-24 lg:w-28 shrink-0 flex justify-center items-center",children:(0,t.jsx)("img",{src:"/logo-borabora.webp",alt:"Bora Bora Logo",className:"w-full h-auto object-contain"})}),(0,t.jsx)("div",{className:"w-12 md:w-24 lg:w-28 shrink-0 flex justify-center items-center",children:(0,t.jsx)("img",{src:"/logo-akustikken.webp",alt:"Akustikken Logo",className:"w-full h-auto object-contain"})})]})]})}),(0,t.jsx)("footer",{className:"bg-primary text-primary-foreground",children:(0,t.jsxs)("div",{className:" md:grid md:grid-cols-[1fr_auto_1fr] md:items-start gap-10 lg:gap-16 px-4 sm:px-6 lg:px-8 py-10 md:py-12 ",children:[(0,t.jsx)("div",{className:"md:justify-self-start",children:(0,t.jsxs)("div",{className:"w-full md:max-w-xs lg:max-w-sm",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold uppercase tracking-wider text-primary-foreground mb-4",children:i.nav_newsletter}),(0,t.jsx)(R,{t:r.newsletter_form})]})}),(0,t.jsxs)("div",{className:"md:justify-self-center text-center mt-8 md:mt-0",children:[(0,t.jsx)("div",{className:"mb-4 flex justify-center",children:(0,t.jsx)(n.default,{href:`/${e}`,children:(0,t.jsx)("img",{src:"/hq-logo-white.png",alt:"HeadQuarters Logo Hvid Footer",className:"w-[180px] md:w-[250px] h-auto"})})}),(0,t.jsxs)("div",{className:"space-y-1 text-sm text-primary-foreground
1/90",children:[(0,t.jsx)("p",{children:r.address}),(0,t.jsx)("p",{className:"font-medium text-primary-foreground",children:r.opening_hours_weekend}),(0,t.jsx)("p",{children:r.opening_hours_weekdays}),(0,t.jsxs)("p",{className:"pt-4 text-xs leading-loose text-primary-foreground/90",children:["© ",new Date().getFullYear()," ",r.copyright]})]})]}),(0,t.jsx)("div",{className:"md:justify-self-end md:text-right mt-8 md:mt-0",children:(0,t.jsxs)("div",{className:"w-full md:max-w-xs lg:max-w-sm",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold uppercase tracking-wider text-transparent select-none mb-4 hidden md:block",children:r.links_title}),(0,t.jsxs)("div",{className:"text-center md:text-right space-y-1 mb-4",children:[(0,t.jsx)(n.default,{href:`/${e}/privatlivspolitik`,className:"block text-sm text-primary-foreground/90 hover:text-primary-foreground hover:underline",children:r.privacy_policy}),(0,t.jsx)(n.default,{href:`/${e}/cookie-politik`,className:"block text-sm text-primary-foreground/90 hover:text-primary-foreground hover:underline",children:r.cookie_policy})]}),(0,t.jsx)("button",{type:"button",className:"block text-sm mb-4 mx-auto md:ml-auto md:mr-0 hover:underline",onClick:()=>window.dispatchEvent(new Event(L.CONSENT_OPEN_EVENT)),children:"da"===e?"Cookieindstillinger":"Cookie settings"}),(0,t.jsxs)("div",{className:"flex justify-center md:justify-end space-x-3",children:[l?.facebook&&(0,t.jsx)("a",{href:l.facebook,target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"text-primary-foreground/80 hover:text-primary-foreground",children:(0,t.jsx)(s.Facebook,{className:"h-6 w-6"})}),l?.instagram_live&&(0,t.jsx)("a",{href:l.instagram_live,target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram for Live/Koncerter",className:"text-primary-foreground/80 hover:text-primary-foreground",children:(0,t.jsx)(u.Instagram,{className:"h-6 w-6"})}),l?.instagram_disco&&(0,t.jsx)("a",{href:l.instagram_disco,target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram for Disco/Natklub",className:"text-primary-foreground/80 hover:text-primary-foreground",children:(0,t.jsx)(u.Instagram,{className:"h-6 w-6"})}),l?.youtube&&(0,t.jsx)("a",{href:l.youtube,target:"_blank",rel:"noopener noreferrer","aria-label":"YouTube",className:"text-primary-foreground/80 hover:text-primary-foreground",children:(0,t.jsx)(c.Youtube,{className:"h-6 w-6"})}),l?.tiktok&&(0,t.jsx)("a",{href:l.tiktok,target:"_blank",rel:"noopener noreferrer","aria-label":"TikTok",className:"text-primary-foreground/80 hover:text-primary-foreground",children:(0,t.jsx)(D.FaTiktok,{className:"h-6 w-6"})})]})]})})]})})]})}let H=(0,h.default)("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);function U(){let[e,i]=(0,x.useState)(null),[l,o]=(0,x.useState)(!1);(0,x.useEffect)(()=>{try{let e=localStorage.getItem(L.CONSENT_KEY);if("accepted"===e||"denied"===e)i(e);else{let e=setTimeout(()=>{o(!0)},1500);return()=>clearTimeout(e)}}catch(e){o(!0)}},[]),(0,x.useEffect)(()=>{let e=()=>{i(null),o(!0)};return window.addEventListener(L.CONSENT_OPEN_EVENT,e),()=>window.removeEventListener(L.CONSENT_OPEN_EVENT,e)},[]);let a=e=>{try{if(localStorage.setItem(L.CONSENT_KEY,e),i(e),o(!1),window.dispatchEvent(new Event(L.CONSENT_EVENT)),"denied"===e&&((0,L.setAnalyticsDisabled)(!0),window.gtag)){for(let e of document.cookie.split(";")){let t=e.split("=")[0].trim();if(t.startsWith("_ga"))for(let e of["",location.hostname,".hq.dk"])document.cookie=`${t}=; Max-Age=0; path=/;${e?` domain=${e};`:""}`}location.reload()}}catch(e){console.error("Could not save cookie consent to localStorage:",e)}};return null!==e?null:(0,t.jsx)("div",{className:(0,k.cn)("fixed bottom-0 left-0 right-0 z-50 p-4 sm:p-6 transition-transform duration-500 ease-in-out",l?"translate-y-0":"translate-y-full"),role:"dialog","aria-live":"polite","aria-label":"Cookie samtykke",children:(0,t.jsx)("div",{className:"bg-primary-darker text-primary-foreground rounded-lg shadow-2xl max-w-4xl mx-auto p-5 sm:p-6",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(H,{className:"h-8 w-8 text-primary-foreground
1/80"})}),(0,t.jsxs)("div",{className:"flex-grow",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold",children:"Statistik på hq.dk"}),(0,t.jsxs)("p",{className:"text-sm text-primary-foreground/80 mt-1",children:["Med dit samtykke bruger vi Google Analytics til at måle besøg og klik på billetlinks. Du kan altid ændre dit valg under Cookieindstillinger nederst på siden. Læs mere i vores"," ",(0,t.jsx)(n.default,{href:"/cookie-politik",className:"underline hover:text-primary-foreground font-semibold",children:"cookie-politik"}),"."]})]}),(0,t.jsxs)("div",{className:"flex-shrink-0 w-full sm:w-auto flex flex-col sm:flex-row gap-2 mt-3 sm:mt-0",children:[(0,t.jsx)(r.Button,{onClick:()=>a("accepted"),className:"w-full sm:w-auto bg-primary text-primary-foreground hover:bg-primary/90",children:"Tillad statistik"}),(0,t.jsx)(r.Button,{onClick:()=>a("denied"),variant:"ghost",className:"w-full sm:w-auto hover:bg-primary-foreground/10",children:"Afvis"})]})]})})})}function q(){let e=(0,w.usePathname)(),t=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(!/^G-[A-Z0-9]+$/.test(L.GA_ID))return;let n=()=>{if(!(0,L.hasAnalyticsConsent)()||/\/(login|opret-konto|profil)(\/|$)/.test(e))return void(0,L.setAnalyticsDisabled)(!0);if((0,L.setAnalyticsDisabled)(!1),!document.getElementById("hq-google-analytics")){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("consent","default",{analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied"}),window.gtag("consent","update",{analytics_storage:"granted"}),window.gtag("js",new Date),window.gtag("config",L.GA_ID,{send_page_view:!1,allow_google_signals:!1,allow_ad_personalization_signals:!1});let e=document.createElement("script");e.id="hq-google-analytics",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${L.GA_ID}`,document.head.appendChild(e)}t.current!==e&&(window.gtag?.("event","page_view",{send_to:L.GA_ID,page_location:window.location.origin+e,page_title:document.title}),t.current=e)},r=e=>{(e.key===L.CONSENT_KEY||null===e.key)&&((0,L.hasAnalyticsConsent)()?n():((0,L.setAnalyticsDisabled)(!0),location.reload()))};return n(),window.addEventListener(L.CONSENT_EVENT,n),window.addEventListener("storage",r),()=>{window.removeEventListener(L.CONSENT_EVENT,n),window.removeEventListener("storage",r),(0,L.setAnalyticsDisabled)(!0)}},[e]),null}var V=e.i(515288),$=e.i(759684),W=e.i(194983),K=e.i(514764),Q=e.i(37727);let Y=(0,h.default)("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);var X=e.i(95187);let J=(0,X.createServerReference)("40e00c78489596a6d7a978e3274a4d3a299231dcff",X.callServer,void 0,X.findSourceMapURL,"sendMessageToChatbot");function Z(){}function G(){}let ee=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,et=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,en={};function er(e,t){return((t||en).jsx?et:ee).test(e)}let ei=/[ \t\n\f\r]/g;function el(e){return""===e.replace(ei,"")}class eo{constructor(e,t){this.attribute=t,this.property=e}}eo.prototype.attribute="",eo.prototype.booleanish=!1,eo.prototype.boolean=!1,eo.prototype.commaOrSpaceSeparated=!1,eo.prototype.commaSeparated=!1,eo.prototype.defined=!1,eo.prototype.mustUseProperty=!1,eo.prototype.number=!1,eo.prototype.overloadedBoolean=!1,eo.prototype.property="",eo.prototype.spaceSeparated=!1,eo.prototype.space=void 0;let ea=0,es=em(),eu=em(),ec=em(),ef=em(),ed=em(),ep=em(),eh=em();function em(){return 2**++ea}e.s(["boolean",0,es,"booleanish",0,eu,"commaOrSpaceSeparated",0,eh,"commaSeparated",0,ep,"number",0,ef,"overloadedBoolean",0,ec,"spaceSeparated",0,ed],400744);var eg=e.i(400744);let ey=Object.keys(eg);class ex extends eo{constructor(e,t,n,r){let i=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i<ey.length;){const e=ey[i];!function(e,t,n){n&&(e[t]=n)}(this,ey[i],(n&eg[e])===eg[e])}}}function ek(e){return e.toLowerCase()}ex.prototype.defined=!0;let ev=/[A-Z]/g,eb=/-[a-z]/g,ew=/^data[-\w.:]+$/i;function eS(e){return"-"+e.toLowerCase()}function eC(e){return e.charAt(1).toUpperCase()}let ej={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};class eE{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function eN(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new eE(n,r,t)}function eT(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let l=new ex(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[ek(r)]=r,n[ek(l.attribute)]=r}return new eE(t,n,e.space)}eE.prototype.normal={},eE.prototype.property={},eE.prototype.space=void 0;let eD=eT({properties:{ariaActiveDescendant:null,ariaAtomic:eu,ariaAutoComplete:null,ariaBusy:eu,ariaChecked:eu,ariaColCount:ef,ariaColIndex:ef,ariaColSpan:ef,ariaControl
1s:ed,ariaCurrent:null,ariaDescribedBy:ed,ariaDetails:null,ariaDisabled:eu,ariaDropEffect:ed,ariaErrorMessage:null,ariaExpanded:eu,ariaFlowTo:ed,ariaGrabbed:eu,ariaHasPopup:null,ariaHidden:eu,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ed,ariaLevel:ef,ariaLive:null,ariaModal:eu,ariaMultiLine:eu,ariaMultiSelectable:eu,ariaOrientation:null,ariaOwns:ed,ariaPlaceholder:null,ariaPosInSet:ef,ariaPressed:eu,ariaReadOnly:eu,ariaRelevant:null,ariaRequired:eu,ariaRoleDescription:ed,ariaRowCount:ef,ariaRowIndex:ef,ariaRowSpan:ef,ariaSelected:eu,ariaSetSize:ef,ariaSort:null,ariaValueMax:ef,ariaValueMin:ef,ariaValueNow:ef,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function eA(e,t){return t in e?e[t]:t}function eL(e,t){return eA(e,t.toLowerCase())}let e_=eT({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ep,acceptCharset:ed,accessKey:ed,action:null,allow:null,allowFullScreen:es,allowPaymentRequest:es,allowUserMedia:es,alt:null,as:null,async:es,autoCapitalize:null,autoComplete:ed,autoFocus:es,autoPlay:es,blocking:ed,capture:null,charSet:null,checked:es,cite:null,className:ed,cols:ef,colSpan:null,content:null,contentEditable:eu,controls:es,controlsList:ed,coords:ef|ep,crossOrigin:null,data:null,dateTime:null,decoding:null,default:es,defer:es,dir:null,dirName:null,disabled:es,download:ec,draggable:eu,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:es,formTarget:null,headers:ed,height:ef,hidden:ec,high:ef,href:null,hrefLang:null,htmlFor:ed,httpEquiv:ed,id:null,imageSizes:null,imageSrcSet:null,inert:es,inputMode:null,integrity:null,is:null,isMap:es,itemId:null,itemProp:ed,itemRef:ed,itemScope:es,itemType:ed,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:es,low:ef,manifest:null,max:null,maxLength:ef,media:null,method:null,min:null,minLength:ef,multiple:es,muted:es,name:null,nonce:null,noModule:es,noValidate:es,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:es,optimum:ef,pattern:null,ping:ed,placeholder:null,playsInline:es,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:es,referrerPolicy:null,rel:ed,required:es,reversed:es,rows:ef,rowSpan:ef,sandbox:ed,scope:null,scoped:es,seamless:es,selected:es,shadowRootClonable:es,shadowRootDelegatesFocus:es,shadowRootMode:null,shape:null,size:ef,sizes:null,slot:null,span:ef,spellCheck:eu,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ef,step:null,style:null,tabIndex:ef,target:null,title:null,translate:null,type:null,typeMustMatch:es,useMap:null,value:eu,width:ef,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ed,axis:null,background:null,bgColor:null,border:ef,borderColor:null,bottomMargin:ef,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:es,declare:es,event:null,face:null,frame:null,frameBorder:null,hSpace:ef,leftMargin:ef,link:null,longDesc:null,lowSrc:null,marginHeight:ef,marginWidth:ef,noResize:es,noHref:es,noShade:es,noWrap:es,object:null,profile:null,prompt:null,rev:null,rightMargin:ef,rules:null,scheme:null,scrolling:eu,standby:null,summary:null,text:null,topMargin:ef,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ef,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:es,disableRemotePlayback:es,prefix:null,property:null,results:ef,security:null,unselectable:null},space:"html",transform:eL}),eI=eT({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
1dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:eh,accentHeight:ef,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ef,amplitude:ef,arabicForm:null,ascent:ef,attributeName:null,attributeType:null,azimuth:ef,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ef,by:null,calcMode:null,capHeight:ef,className:ed,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
1dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ef,diffuseConstant:ef,direction:null,display:null,dur:null,divisor:ef,dominantBaseline:null,download:es,dx:null,dy:null,edgeMode:null,editable:null,elevation:ef,enableBackground:null,end:null,event:null,exponent:ef,externalResourcesRequired:null,fill:null,fillOpacity:ef,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ep,g2:ep,glyphName:ep,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ef,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ef,horizOriginX:ef,horizOriginY:ef,id:null,ideographic:ef,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ef,k:ef,k1:ef,k2:ef,k3:ef,k4:ef,kernelMatrix:eh,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ef,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ef,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ef,overlineThickness:ef,paintOrder:null,panose1:null,path:null,pathLength:ef,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ed,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ef,pointsAtY:ef,pointsAtZ:ef,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:eh,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:eh,rev:eh,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:eh,requiredFeatures:eh,requiredFonts:eh,requiredFormats:eh,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ef,specularExponent:ef,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ef,strikethroughThickness:ef,string:null,stroke:null,strokeDashArray:eh,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ef,strokeOpacity:ef,strokeWidth:null,style:null,surfaceScale:ef,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:eh,tabIndex:ef,tableValues:null,target:null,targetX:ef,targetY:ef,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:eh,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ef,underlineThickness:ef,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ef,values:null,vAlphabetic:ef,vMathematical:ef,vectorEffect:null,vHanging:ef,vIdeographic:ef,version:null,vertAdvY:ef,vertOriginX:ef,vertOriginY:ef,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ef,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eA}),eP=eT({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase()}),eM=eT({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:eL}),eF=eT({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ez=eN([eD,e_,eP,eM,eF],"html"),eO=eN([eD,eI,eP,eM,eF],"svg");var eR=e.i(515511);let eB=eU("end"),eH=eU("start");function eU(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function eq(e){return e&&"object"==typeof e?"position"in e||"type"in e?e$(e.position):"start"in e||"end"in e?e$(e):"line"in e||"column"in e?eV(e):"":""}function eV(e){return eW(e&&e.line)+":"+eW(e&&e.column)}function e$(e){return eV(e&&e.start)+"-"+eV(e&&e.end)}function eW(e){return e&&"number"==typeof e?e:1}class eK extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},l=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(l=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=eq(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=l&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}eK.prototype.file="",eK.prototype.name="",eK.prototype.reason="",eK.prototype.message="",eK.prototype.stack="",eK.prototype.column=void 0,eK.prototype.line=void 0,eK.prototype.ancestors=void 0,eK.prototype.cause=void 0,eK.prototype.fatal=void 0,eK.prototype.place=void 0,eK.prototype.ruleId=void 0,eK.prototype.source=void 0;let eQ={}.hasOwnProperty,eY=new Map,eX=/[A-Z]/g,eJ=new Set(["table","tbody","thead","tfoot","tr"]),eZ=new Set(["td","th"]),eG="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function e0(e,t,n){var r,i,l,o,a,s,u,c,f;let d,p,h,m,g,y,x,k,v,b,w;return"element"===t.type?(r=e,i=t,l=n,p=d=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===d.space&&(r.schema=eO),r.ancestors.push(i),h=e5(r,i.tagName,!1),m=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&eQ.call(t.properties,r)){let l=function(e,t,n){let r=function(e,t){let n=ek(t),r=t,i=eo;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&ew.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(eb,eC);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!eb.test(e)){let n=e.replace(ev,eS);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=ex}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var i;let t;if(Array.isArray(n)&&(n=r.commaSeparated?(t={},(""===(i=n)[i.length-1]?[...i,""]:i).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return(0,eR.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new eK("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=eG+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)eQ.call(e,t)&&(n[function(e){let t=e.replace(eX,e6);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ej[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(l){let[r,o]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&eZ.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,i),g=e4(r,i),eJ.has(i.tagName)&&(g=g.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&el(e.value):el(e))})),e1(r,m,h,i),e2(m,g),r.ancestors.pop(),r.schema=d,r.create(i,h,m,l)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return Z("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}e3(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(o=e,a=t,s=n,x=y=o.schema,"svg"===a.name&&"html"===y.space&&(o.schema=eO),o.ancestors.push(a),k=null===a.name?o.Fragment:e5(o,a.name,!0),v=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];Z("ExpressionStatement"===t.type);let i=t.expression;
1Z("ObjectExpression"===i.type);let l=i.properties[0];Z("SpreadElement"===l.type),Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else e3(e,t.position);else{let i,l=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];Z("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else e3(e,t.position);else i=null===r.value||r.value;n[l]=i}return n}(o,a),b=e4(o,a),e1(o,v,k,a),e2(v,b),o.ancestors.pop(),o.schema=y,o.create(a,k,v,s)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);e3(e,t.position)}(e,t):"root"===t.type?(u=e,c=t,f=n,e2(w={},e4(u,c)),u.create(c,u.Fragment,w,f)):"text"===t.type?t.value:void 0}function e1(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function e2(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function e4(e,t){let n=[],r=-1,i=e.passKeys?new Map:eY;for(;++r<t.children.length;){let l,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;l=e+"-"+t,i.set(e,t+1)}}let a=e0(e,o,l);void 0!==a&&n.push(a)}return n}function e5(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=er(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}Z(e,"always a result"),r=e}else r=er(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return eQ.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);e3(e)}function e3(e,t){let n=new eK("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=eG+"#cannot-handle-mdx-estrees-without-createevaluater",n}function e6(e){return"-"+e.toLowerCase()}let e9={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},e7={};function e8(e,t){let n=t||e7;return te(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function te(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return tt(e.children,t,n)}return Array.isArray(e)?tt(e,t,n):""}function tt(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=te(e[i],t,n);return r.join("")}function tn(e,t,n,r){let i,l=e.length,o=0;if(t=t<0?-t>l?0:l+t:t>l?l:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function tr(e,t){return e.length>0?(tn(e,e.length,0,t),e):t}let ti={}.hasOwnProperty;function tl(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(ti.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];if(l)for(r in l){ti.call(i,r)||(i[r]=[]);let e=l[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);tn(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}let to=tx(/[A-Za-z]/),ta=tx(/[\dA-Za-z]/),ts=tx(/[#-'*+\--9=?A-Z^-~]/);function tu(e){return null!==e&&(e<32||127===e)}let tc=tx(/\d/),tf=tx(/[\dA-Fa-f]/),td=tx(/[!-/:-@[-`{-~]/);function tp(e){return null!==e&&e<-2}function th(e){return null!==e&&(e<0||32===e)}function tm(e){return -2===e||-1===e||32===e}let tg=tx(/\p{P}|\p{S}/u),ty=tx(/\s/);function tx(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function tk(e,t,n,r){let i=r?r-1:1/0,l=0;return function(r){return tm(r)?(e.enter(n),function r(o){return tm(o)&&l++<i?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}let tv={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),tk(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return tp(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},tb={tokenize:function(e){let t,n,r,i=this,l=[],o=0;return a;function a(t){if(o<l.length){let n=l[o];return i.containerState=n[1],e.attempt(n[0].continuation,s,u)(t)}return u(t)}function s(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,l=r;
1for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}g(o);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return tn(i.events,l+1,0,i.events.slice(r)),i.events.length=a,u(e)}return a(e)}function u(n){if(o===l.length){if(!t)return d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(tw,c,f)(n)}function c(e){return t&&y(),g(o),d(e)}function f(e){return i.parser.lazy[i.now().line]=o!==l.length,r=i.now().offset,h(e)}function d(t){return i.containerState={},e.attempt(tw,p,h)(t)}function p(e){return o++,l.push([i.currentConstruct,i.containerState]),d(e)}function h(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return tp(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function m(e,l){let a=i.sliceStream(e);if(l&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let a=i.events.length,s=a;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){n=i.events[s][1].end;break}e=!0}for(g(o),l=a;l<i.events.length;)i.events[l][1].end={...n},l++;tn(i.events,s+1,0,i.events.slice(a)),i.events.length=l}}function g(t){let n=l.length;for(;n-- >t;){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},tw={tokenize:function(e,t,n){return tk(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},tS={partial:!0,tokenize:function(e,t,n){return function(t){return tm(t)?tk(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||tp(e)?t(e):n(e)}}};class tC{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&tj(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),tj(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),tj(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);tj(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);tj(this.left,t.reverse())}}}function tj(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function tE(e){let t,n,r,i,l,o,a,s={},u=-1,c=new tC(e);for(;++u<c.length;){for(;u in s;)u=s[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r,i=e.get(t)[1],l=e.get(t)[2],o=t-1,a=[],s=i._tokenizer;!s&&(s=l.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._c
1ontentTypeTextTrailing=!0));let u=s.events,c=[],f={},d=-1,p=i,h=0,m=0,g=[0];for(;p;){for(;e.get(++o)[1]!==p;);a.push(o),!p._tokenizer&&(n=l.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++d<u.length;)"exit"===u[d][0]&&"enter"===u[d-1][0]&&u[d][1].type===u[d-1][1].type&&u[d][1].start.line!==u[d][1].end.line&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){let t=u.slice(g[d],g[d+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)f[h+c[d][0]]=h+c[d][1],h+=c[d][1]-c[d][0]-1;return f}(c,u)),u=s[u],a=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(l=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,l))}}return tn(e,0,1/0,c.slice(0)),!a}let tN={resolve:function(e){return tE(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):tp(t)?e.check(tT,l,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function l(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},tT={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),tk(e,i,"linePrefix")};function i(i){if(null===i||tp(i))return n(i);let l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},tD={tokenize:function(e){let t=this,n=e.attempt(tS,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,tk(e,e.attempt(this.parser.constructs.flow,r,e.attempt(tN,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},tA={resolveAll:tP()},tL=tI("string"),t_=tI("text");function tI(e){return{resolveAll:tP("text"===e?tM:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,l,o);return l;function l(e){return s(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function tP(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function tM(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],l=t.sliceStream(i),o=l.length,a=-1,s=0;for(;o--;){let e=l[o];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let l={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:i.start._bufferIndex+a,_index:i.start._index+o,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...l.start},i.start.offset===i.end.offset?Object.assign(i,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}function tF(e){return null===e||th(e)||ty(e)?1:tg(e)?2:void 0}function tz(e,t,n){let r=[],i=-1;for(;++i<e.length;){let l=e[i].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}let tO={name:"attention",resolveAll:function(e,t){let n,r,i,l,o,a,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
1n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f={...e[n][1].end},d={...e[c][1].start};tR(f,-a),tR(d,a),l={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},o={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:d},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[c][1].start={...o.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=tr(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=tr(s,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",i,t]]),s=tr(s,tz(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=tr(s,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=tr(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,tn(e,n-1,c-n+3,s),c=n+s.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,l=tF(i);return function(o){return n=o,e.enter("attentionSequence"),function o(a){if(a===n)return e.consume(a),o;let s=e.exit("attentionSequence"),u=tF(a),c=!u||2===u&&l||r.includes(a),f=!l||2===l&&u||r.includes(i);return s._open=!!(42===n?c:c&&(l||!f)),s._close=!!(42===n?f:f&&(u||!c)),t(a)}(o)}}};function tR(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tB={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return tm(t)?tk(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(tB,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return tm(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},tH={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return td(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tU=document.createElement("i");function tq(e){let t="&"+e+";";tU.innerHTML=t;let n=tU.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tV={name:"characterReference",tokenize:function(e,t,n){let r,i,l=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=ta,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=tf,u):(e.enter("characterReferenceValue"),r=7,i=tc,u(t))}function u(a){if(59===a&&o){let r=e.exit("characterReferenceValue");return i!==ta||tq(l.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&o++<r?(e.consume(a),u):n(a)}}},t$={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tW={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,l={partial:!0,tokenize:function(e,t,n){let l=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};
vendor: 11,033 bytes, line 1
1function o(t){return e.enter("codeFencedFence"),tm(t)?tk(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l>=a?(e.exit("codeFencedFenceSequence"),tm(i)?tk(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||tp(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,a=0;return function(t){var l;let u;return l=t,o=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=l,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),tm(i)?tk(e,s,"whitespace")(i):s(i))}(l)};function s(l){return null===l||tp(l)?(e.exit("codeFencedFence"),i.interrupt?t(l):e.check(t$,c,h)(l)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tp(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):tm(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),tk(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(l))}function u(t){return null===t||tp(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tp(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(l,h,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return o>0&&tm(t)?tk(e,p,"linePrefix",o+1)(t):p(t)}function p(t){return null===t||tp(t)?e.check(t$,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||tp(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},tK={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),tk(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?l(n):tp(n)?e.attempt(tQ,t,l)(n):(e.enter("codeFlowValue"),function n(r){return null===r||tp(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function l(n){return e.exit("codeIndented"),t(n)}}},tQ={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):tp(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):tk(e,l,"linePrefix",5)(t)}function l(e){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(e):tp(e)?i(e):n(e)}}};function tY(e,t,n,r,i,l,o,a,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(l),e.consume(t),e.exit(l),f):null===t||32===t||41===t||tu(t)?n(t):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||tp(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(i){return!c&&(null===i||41===i||th(i))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||tu(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function tX(e,t,n,r,i,l){let o,a=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(l),u};function u(f){return s>999||null===f||91===f||93===f&&!o||94===f&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(l),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):tp(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||tp(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!tm(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function tJ(e,t,n,r,i,l){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,a):n(t)};function a(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(l),s(n))}function s(t){return t===o?(e.exit(l),a(o)):null===t?n(t):tp(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),tk(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||tp(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function tZ(e,t){let n;return function r(i){return tp(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):tm(i)?tk(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function tG(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let t0={partial:!0,tokenize:function(e,t,n){return function(t){return th(t)?tZ(e,r)(t):n(t)};function r(t){return tJ(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return tm(t)?tk(e,l,"whitespace")(t):l(t)}function l(e){return null===e||tp(e)?t(e):n(e)}}},t1=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],t2=["pre","script","style","textarea"],t4={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(tS,t,n)}}},t5={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return tp(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},t3={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&tn(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l,o=e.length,a=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=o);let s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return l=tr(l=[["enter",s,t],["enter",u,t]],e.slice(r+1,r+a+3)),l=tr(l,[["enter",c,t]]),l=tr(l,tz(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),l=tr(l,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),l=tr(l,e.slice(i+1)),l=tr(l,[["exit",s,t]]),tn(e,r,e.length,l),e},tokenize:function(e,t,n){let r,i,l=this,o=l.events.length;for(;o--;)if(("labelImage"===l.events[o][1].type||"labelLink"===l.events[o][1].type)&&!l.events[o][1]._balanced){r=l.events[o][1];break}return function(t){return r?r._inactive?c(t):(i=l.parser.defined.includes(tG(l.sliceSerialize({start:r.end,end:l.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(t6,u,i?u:c)(t):91===t?e.attempt(t9,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(t7,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},t6={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return th(t)?tZ(e,i)(t):i(t)}function i(t){return 41===t?u(t):tY(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function l(t){return th(t)?tZ(e,a)(t):u(t)}function o(e){return n(e)}function a(t){return 34===t||39===t||40===t?tJ(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return th(t)?tZ(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},t9={tokenize:function(e,t,n){let r=this;return function(t){return tX.call(r,e,i,l,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(tG(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function l(e){return n(e)}}},t7={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},t8={name:"labelStartImage",resolveAll:t3.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),l):n(t)}function l(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},ne={name:"labelStartLink",resolveAll:t3.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},nt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),tk(e,t,"linePrefix")}}},nn={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(l){var o;return e.enter("thematicBreak"),r=o=l,function l(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),tm(n)?tk(e,l,"whitespace")(n):l(n))}(o)):i>=3&&(null===o||tp(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},nr={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(tS,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,tk(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!tm(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
1=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(nl,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,tk(e,e.attempt(nr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],l=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:tc(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(nn,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return tc(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(tS,r.interrupt?n:s,e.attempt(ni,c,u))}
1function s(e){return r.containerState.initialBlankLine=!0,l++,c(e)}function u(t){return tm(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},ni={partial:!0,tokenize:function(e,t,n){let r=this;return tk(e,function(e){let i=r.events[r.events.length-1];return!tm(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},nl={partial:!0,tokenize:function(e,t,n){let r=this;return tk(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},no={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,l=e.length;for(;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),i||"definition"!==e[l][1].type||(i=l);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var o;let a,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){a="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),tm(n)?tk(e,l,"lineSuffix")(n):l(n))}(o)):n(t)};function l(r){return null===r||tp(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};e.s(["attentionMarkers",0,{null:[42,95]},"contentInitial",0,{91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,tX.call(i,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function l(t){return(r=tG(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return th(t)?tZ(e,a)(t):a(t)}function a(t){return tY(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(t0,u,u)(t)}function u(t){return tm(t)?tk(e,c,"whitespace")(t):c(t)}function c(l){return null===l||tp(l)?(e.exit("definition"),i.parser.defined.push(r),t(l)):n(l)}}}},"disable",0,{null:[]},"document",0,{42:nr,43:nr,45:nr,48:nr,49:nr,50:nr,51:nr,52:nr,53:nr,54:nr,55:nr,56:nr,57:nr,62:tB},"flow",0,{35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),i-2>l&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(l===i-1||i-4>l&&"whitespace"===e[i-2][1].type)&&(i-=l+1===i?2:4),i>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[i][1].end},r={type:"chunkText",start:e[l][1].start,end:e[i][1].end,contentType:"text"},tn(e,l,i-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var l;return e.enter("atxHeading"),l=i,e.enter("atxHeadingSequence"),function i(l){return 35===l&&r++<6?(e.consume(l),i):null===l||th(l)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||tp(r)?(e.exit("atxHeading"),t(r)):tm(r)?tk(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||th(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(l)):n(l)}(l)}}},42:nn,45:[no,nn],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,l,o,a,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),i=!0,p):63===o?(e.consume(o),r=3,s.interrupt?t:_):to(o)?(e.consume(o),l=String.fromCharCode(o),h):n(o)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,o=0,d):to(i)?(e.consume(i),r=4,s.interrupt?t:_):n(i)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:_):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?s.interrupt?t:C:d:n(r)}function p(t){return to(t)?(e.consume(t),l=String.fromCharCode(t),h):n(t)}
1function h(o){if(null===o||47===o||62===o||th(o)){let a=47===o,u=l.toLowerCase();return!a&&!i&&t2.includes(u)?(r=1,s.interrupt?t(o):C(o)):t1.includes(l.toLowerCase())?(r=6,a)?(e.consume(o),m):s.interrupt?t(o):C(o):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(o):i?function t(n){return tm(n)?(e.consume(n),t):w(n)}(o):g(o))}return 45===o||ta(o)?(e.consume(o),l+=String.fromCharCode(o),h):n(o)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||to(t)?(e.consume(t),y):tm(t)?(e.consume(t),g):w(t)}function y(t){return 45===t||46===t||58===t||95===t||ta(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),k):tm(t)?(e.consume(t),x):g(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,v):tm(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||th(n)?x(n):(e.consume(n),t)}(t)}function v(t){return t===a?(e.consume(t),a=null,b):null===t||tp(t)?n(t):(e.consume(t),v)}function b(e){return 47===e||62===e||tm(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||tp(t)?C(t):tm(t)?(e.consume(t),S):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),I):63===t&&3===r?(e.consume(t),_):93===t&&5===r?(e.consume(t),L):tp(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(t4,P,j)(t)):null===t||tp(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),C)}function j(t){return e.check(t5,E,P)(t)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return null===t||tp(t)?j(t):(e.enter("htmlFlowData"),C(t))}function T(t){return 45===t?(e.consume(t),_):C(t)}function D(t){return 47===t?(e.consume(t),l="",A):C(t)}function A(t){if(62===t){let n=l.toLowerCase();return t2.includes(n)?(e.consume(t),I):C(t)}return to(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),A):C(t)}function L(t){return 93===t?(e.consume(t),_):C(t)}function _(t){return 62===t?(e.consume(t),I):45===t&&2===r?(e.consume(t),_):C(t)}function I(t){return null===t||tp(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),I)}function P(n){return e.exit("htmlFlow"),t(n)}}},61:no,95:nn,96:tW,126:tW},"flowInitial",0,{[-2]:tK,[-1]:tK,32:tK},"insideSpan",0,{null:[tO,tA]},"string",0,{38:tV,92:tH},"text",0,{[-5]:nt,[-4]:nt,[-3]:nt,33:t8,38:tV,42:tO,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return to(t)?(e.consume(t),l):64===t?n(t):a(t)}function l(t){return 43===t||45===t||46===t||ta(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||ta(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||tu(r)?n(r):(e.consume(r),o)}function a(t){return 64===t?(e.consume(t),s):ts(t)?(e.consume(t),a):n(t)}function s(i){return ta(i)?function i(l){return 46===l?(e.consume(l),r=0,s):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(l),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(l){if((45===l||ta(l))&&r++<63){let n=45===l?t:i;return e.consume(l),n}return n(l)}(l)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,l,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),v):63===t?(e.consume(t),x):to(t)?(e.consume(t),w):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):to(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),d):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):tp(t)?(l=c,A(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),d):c(t)}function d(e){return 62===e?D(e):45===e?f(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):tp(t)?(l=h,A(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?D(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?D(t):tp(t)?(l=y,A(t)):(e.consume(t),y)}function x(t){return null===t?n(t):63===t?(e.consume(t),k):tp(t)?(l=x,A(t)):(e.consume(t),x)}function k(e){return 62===e?D(e):x(e)}function v(t){return to(t)?(e.consume(t),b):n(t)}function b(t){return 45===t||ta(t)?(e.consume(t),b):function t(n){return tp(n)?(l=t,A(n)):tm(n)?(e.consume(n),t):D(n)}(t)}function w(t){return 45===t||ta(t)?(e.consume(t),w):47===t||62===t||th(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),D):58===t||95===t||to(t)?(e.consume(t),C):tp(t)?(l=S,A(t)):tm(t)?(e.consume(t),S):D(t)}function C(t){return 45===t||46===t||58===t||95===t||ta(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),j):tp(n)?(l=t,A(n)):tm(n)?(e.consume(n),t):S(n)}(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,E):tp(t)?(l=j,A(t)):tm(t)?(e.consume(t),j):(e.consume(t),N)}function E(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):tp(t)?(l=E,A(t)):(e.consume(t),E)}function N(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||th(t)?S(t):(e.consume(t),N)}function T(e){return 47===e||62===e||th(e)?S(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return tm(t)?tk(e,_,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):_(t)}function _(t){return e.enter("htmlTextData"),l(t)}}}],91:ne,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return tp(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tH],93:t3,95:tO,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,l=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),l++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),o):96===s?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",a(o))}(s)):tp(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):(e.enter("codeTextData"),a(s))}function a(t){return null===t||32===t||96===t||tp(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),a)}}}}],304127);var na=e.i(304127);let ns=/[\0\t\n\r]/g;function nu(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let nc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nf(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return nu(n.slice(t?2:1),t?16:10)}return tq(n)||e}let nd={}.hasOwnProperty;function np(e){return{line:e.line,column:e.column,offset:e.offset}}function nh(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+eq({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+eq({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+eq({start:t.start,end:t.end})+") is still open")}function nm(e){let t=this;t.parser=function(n){var r,i;let l,o,a,s;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:u,htmlText:r(g,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(x,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(x),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=nu(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tq(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=np(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tG(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(f),hardBreakTrailing:o(f),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(nc,nf),n.identifier=tG(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=np(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(u.call(this,e),c.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tG(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(nd.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:l,exit:a,buffer:i,resume:s,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,i,l,o,a=t-1,s=-1,u=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||s||l||(l=a),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=a;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}l&&(!i||l<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,l=void 0,o=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];nd.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},o),e[c][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||nh).call(o,void 0,e[0])}for(r.position={start:np(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:np(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:np(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||nh).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+eq({start:e.start,end:e.end})+"): itâs not open");n.position.end=np(e.end)}function s(){return e8(this.stack.pop())}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:np(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=np(e.end)}function f(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function h(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function x(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!tE(e););return e}((function(e){let t={constructs:tl([na,...(e||{}).extensions||[]]),content:n(tv),defined:[],document:n(tb),flow:n(tD),lazy:{},string:n(tL),text:n(t_)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},i={},l=[],o=[],a=[],s={attempt:h(function(e,t){m(e,t.from)}),check:h(p),consume:function(e){tp(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=d(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=d(),u.events.push(["exit",t,u]),t},interrupt:h(p,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:d,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let l,o=e[r];if("string"==typeof o)l=o;else switch(o){case -5:l="\r";break;case -4:l="\n";break;case -3:l="\r\n";break;case -2:l=t?" ":" ";break;case -1:if(!t&&n)continue;l=" ";break;default:l=String.fromCharCode(o)}n=-2===o,i.push(l)}return i.join("")}(f(e),t)},sliceStream:f,write:function(e){return(o=tr(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==o[o.length-1])?[]:(m(t,0),u.events=tz(l,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&l.push(t),u;function f(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,l=t.end._index,o=t.end._bufferIndex;if(r===l)n=[e[r].slice(i,o)];else{if(n=e.slice(r,l),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[l].slice(0,o))}return n}(o,e)}function d(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:l}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:l}}function p(e,t){t.restore()}function h(e,t){return function(n,i,l){var o;let c,f,p,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,f=0,0===e.length)?l:y(e[f])}function y(e){return function(n){let i,l,o,c,f;return(i=d(),l=u.previous,o=u.currentConstruct,c=u.events.length,f=Array.from(a),h={from:c,restore:function(){r=i,u.previous=l,u.currentConstruct=o,u.events.length=c,a=f,g()}},p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?k(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,x,k)(n)}}function x(t){return e(p,h),i}function k(e){return(h.restore(),++f<c.length)?y(c[f]):l}}}function m(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&tn(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(i).document().write((o=1,a="",s=!0,function(e,t,n){let r,i,u,c,f,d=[];for(e=a+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),u=0,a="",s&&(65279===e.charCodeAt(0)&&u++,s=void 0);u<e.length;){if(ns.lastIndex=u,c=(r=ns.exec(e))&&void 0!==r.index?r.index:e.length,f=e.charCodeAt(c),!r){a=e.slice(u);break}if(10===f&&u===c&&l)d.push(-3),l=void 0;else switch(l&&(d.push(-5),l=void 0),u<c&&(d.push(e.slice(u,c)),o+=c-u),f){case 0:d.push(65533),o++;break;case 9:for(i=4*Math.ceil(o/4),d.push(-2);o++<i;)d.push(-1);break;case 10:d.push(-4),o=1;break;default:l=!0,o=1}u=c+1}return n&&(l&&d.push(-5),a&&d.push(a),d.push(null)),d})(n,r,!0))))}}let ng="object"==typeof self?self:globalThis,ny=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[l,o]=e[i];switch(l){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new ng[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new ng[l](o),i)})(0)},{toString:nx}={},{keys:nk}=Object,nv=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=nx.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},nb=([e,t])=>0===e&&("function"===t||"symbol"===t),nw=(e,{json:t,lossy:n}={})=>{var r,i,l;let o,a,s=[];return(r=!(t||n),i=!!t,l=new Map,o=(e,t)=>{let n=s.push(e)-1;return l.set(t,n),n},a=e=>{if(l.has(e))return l.get(e);let[t,n]=nv(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return o([-1],e)}return o([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),o([n,[...t]],e)}let r=[],i=o([t,r],e);for(let t of e)r.push(a(t));return i}case 2:{if(n)switch(n){case"BigInt":return o([n,e.toString()],e);case"Boolean":case"Number":case"String":return o([n,e.valueOf()],e)}if(i&&"toJSON"in e)return a(e.toJSON());let l=[],s=o([t,l],e);for(let t of nk(e))(r||!nb(nv(e[t])))&&l.push([a(t),a(e[t])]);return s}case 3:return o([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return o([t,{source:n,flags:r}],e)}case 5:{let n=[],i=o([t,n],e);for(let[t,i]of e)(r||!(nb(nv(t))||nb(nv(i))))&&n.push([a(t),a(i)]);return i}case 6:{let n=[],i=o([t,n],e);for(let t of e)(r||!nb(nv(t)))&&n.push(a(t));return i}}let{message:s}=e;return o([t,{name:n,message:s}],e)})(e),s}
1,nS="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?ny(nw(e,t)):structuredClone(e):(e,t)=>ny(nw(e,t));function nC(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let l=e.charCodeAt(n),o="";if(37===l&&ta(e.charCodeAt(n+1))&&ta(e.charCodeAt(n+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){let t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(o=String.fromCharCode(l,t),i=1):o="�"}else o=String.fromCharCode(l);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function nj(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function nE(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let nN=function(e){var t,n;if(null==e)return nD;if("function"==typeof e)return nT(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=nN(e[n]);return nT(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,nT(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,nT(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function nT(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function nD(){return!0}let nA=[];function nL(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let l=nN(i),o=r?-1:1;(function e(i,a,s){let u=i&&"object"==typeof i?i:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;let c,f,d,p=nA;if((!t||l(i,a,s[s.length-1]||void 0))&&!1===(p=Array.isArray(u=n(i,s))?u:"number"==typeof u?[!0,u]:null==u?nA:[u])[0])return p;if("children"in i&&i.children&&i.children&&"skip"!==p[0])for(f=(r?i.children.length:-1)+o,d=s.concat(i);f>-1&&f<i.children.length;){if(!1===(c=e(i.children[f],f,d)())[0])return c;f="number"==typeof c[1]?c[1]:f+o}return p}})(e,void 0,[])()}function n_(e,t,n,r){let i,l,o;"function"==typeof t&&"function"!=typeof n?(l=void 0,o=t,i=n):(l=t,o=n,i=r),nL(e,l,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},i)}function nI(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),l=i[0];l&&"text"===l.type?l.value="["+l.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function nP(e){let t=e.spread;return null==t?e.children.length>1:t}function nM(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let nF={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l={type:"element",tagName:"pre",properties:{},children:[l=e.applyData(t,l)]},e.patch(t,l),l},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
1,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),l=nC(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,a+=1,e.footnoteCounts.set(i,a);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nI(e,t);let i={src:nC(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,l),e.applyData(t,l)},image:function(e,t){let n={src:nC(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nI(e,t);let i={href:nC(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)},link:function(e,t){let n={href:nC(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=nP(n[r])}return t}(n):nP(t),l={},o=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let s=r[r.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&o.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=eH(t.children[1]),o=eB(t.children[t.children.length-1]);l&&o&&(r.position={start:l,end:o}),i.push(r)}let l={type:"element",tagName:"table",properties:{}
1,children:e.wrap(i,!0)};return e.patch(t,l),e.applyData(t,l)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",l=n&&"table"===n.type?n.align:void 0,o=l?l.length:t.children.length,a=-1,s=[];for(;++a<o;){let n=t.children[a],r={},o=l?l[a]:void 0;o&&(r.align=o);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,l=[];for(;r;)l.push(nM(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return l.push(nM(t.slice(i),i>0,!1)),l.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:nz,yaml:nz,definition:nz,footnoteDefinition:nz};function nz(){}let nO={}.hasOwnProperty,nR={};function nB(e,t){e.position&&(t.position=function(e){let t=eH(e),n=eB(e);if(t&&n)return{start:t,end:n}}(e))}function nH(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,nS(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function nU(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function nq(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function nV(e,t){let n,r,i,l,o=(n=t||nR,r=new Map,i=new Map,l={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=l.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=nq(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=nq(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:nH,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...nF,...n.handlers},one:function(e,t){let n=e.type,r=l.handlers[n];if(nO.call(l.handlers,n)&&r)return r(l,e,t);if(l.options.passThrough&&l.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=nS(n);return r.children=l.all(e),r}return nS(e)}return(l.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(nO.call(n,"hProperties")||nO.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(l,e,t)},options:n,patch:nB,wrap:nU},n_(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),l),a=o.one(e,void 0),s=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||nj,r=e.options.footnoteBackLabel||nE,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],s=-1;for(;++s<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[s]);if(!i)continue;let l=e.all(i),o=String(i.identifier).toUpperCase(),u=nC(o.toLowerCase()),c=0,f=[],d=e.footnoteCounts.get(o);for(;void 0!==d&&++c<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=l[l.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else l.push(...f);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(l,!0)};e.patch(i,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...nS(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
1,{type:"text",value:"\n"}]}}(o),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return s&&(Z("children"in u),u.children.push({type:"text",value:"\n"},s)),u}function n$(e,t){return e&&"run"in e?async function(n,r){let i=nV(n,{file:r,...t});await e.run(i,r)}:function(n,r){return nV(n,{file:r,...e||t})}}function nW(e){if(e)throw e}var nK=e.i(104100);function nQ(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let nY=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');nG(e);let r=0,i=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,a=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1),a>-1&&(e.codePointAt(l)===t.codePointAt(a--)?a<0&&(i=l):(a=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},nX=function(e){let t;if(nG(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},nJ=function(e){let t;nG(e);let n=e.length,r=-1,i=0,l=-1,o=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==o&&(o=1):l>-1&&(o=-1)}return l<0||r<0||0===o||1===o&&l===r-1&&l===i+1?"":e.slice(l,r)},nZ=function(...e){var t;let n,r,i,l=-1;for(;++l<e.length;)nG(e[l]),e[l]&&(i=void 0===i?e[l]:i+"/"+e[l]);return void 0===i?".":(nG(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",l=0,o=-1,a=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(i.length<2||2!==l||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",l=0):l=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=s,a=0;continue}}else if(i.length>0){i="",l=0,o=s,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",l=2)}else i.length>0?i+="/"+e.slice(o+1,s):i=e.slice(o+1,s),l=s-o-1;o=s,a=0}else 46===n&&a>-1?a++:a=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function nG(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n0(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let n1=["history","path","basename","stem","extname","dirname"];class n2{constructor(e){let t,n;t=e?n0(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<n1.length;){const e=n1[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)n1.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?nY(this.path):void 0}set basename(e){n5(e,"basename"),n4(e,"basename"),this.path=nZ(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nX(this.path):void 0}set dirname(e){n3(this.basename,"dirname"),this.path=nZ(e||"",this.basename)}get extname(){return"string"==typeof this.path?nJ(this.path):void 0}set extname(e){if(n4(e,"extname"),n3(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=nZ(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){n0(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!n0(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),n5(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nY(this.path,this.extname):void 0}set stem(e){n5(e,"stem"),n4(e,"stem"),this.path=nZ(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}
1message(e,t,n){let r=new eK(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function n4(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function n5(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function n3(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let n6=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},n9={}.hasOwnProperty;class n7 extends n6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(l,...o){let a=e[++n],s=-1;if(l)return void r(l);for(;++s<t.length;)(null===o[s]||void 0===o[s])&&(o[s]=t[s]);t=o,a?(function(e,t){let n;return function(...t){let l,o=e.length>t.length;o&&t.push(r);try{l=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(l&&l.then&&"function"==typeof l.then?l.then(i,r):l instanceof Error?r(l):i(l))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(a,i)(...o):r(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new n7,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data((0,nK.default)(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(rn("data",this.frozen),this.namespace[e]=t,this):n9.call(this.namespace,e)&&this.namespace[e]||void 0:e?(rn("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=rl(e),n=this.parser||this.Parser;return re("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),re("process",this.parser||this.Parser),rt("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let l=rl(e),o=n.parse(l);function a(e,n){e||!n?i(e):r?r(n):(Z(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,l,function(e,t,r){var i,l;if(e||!t||!r)return a(e);let o=n.stringify(t,r);"string"==typeof(i=o)||(l=i)&&"object"==typeof l&&"byteLength"in l&&"byteOffset"in l?r.value=o:r.result=o,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),re("processSync",this.parser||this.Parser),rt("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,nW(e),t=r}),ri("processSync","process",n),Z(t,"we either bailed on an error or have a tree"),t}run(e,t,n){rr(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,l){Z("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let o=rl(t);r.run(e,o,function(t,r,o){let a=r||e;t?l(t):i?i(a):(Z(n,"`done` is defined if `resolve` is not"),n(void 0,a,o))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){nW(e),n=t,r=!0}),ri("runSync","run",r),Z(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=rl(t),r=this.compiler||this.Compiler;return rt("stringify",r),rr(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(rn("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?l(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(r.settings=(0,nK.default)(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)o(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;o(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...l]=t,o=n[i][1];nQ(o)&&nQ(r)&&(r=(0,nK.default)(!0,o,r)),n[i]=[e,r,...l]}}}}let n8=new n7().freeze();function re(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function rt(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function rn(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rr(e){if(!nQ(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function ri(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function rl(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new n2(e)}let ro=[],ra={allowDangerousHtml:!0},rs=/^(https?|ircs?|mailto|xmpp)$/i,ru=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function rc(e){var n;let r,i,l,o,a,s=(r=(n=e).rehypePlugins||ro,i=n.remarkPlugins||ro,l=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...ra}:ra,n8().use(nm).use(i).use(n$,l).use(r)),u=(o=e.children||"",a=new n2,"string"==typeof o?a.value=o:G("Unexpected value `"+o+"` for `children` prop, expected `string`"),a);return function(e,n){let r=n.allowedElements,i=n.allowElement,l=n.components,o=n.disallowedElements,a=n.skipHtml,s=n.unwrapDisallowed,u=n.urlTransform||rf;for(let e of ru)Object.hasOwn(n,e.from)&&G("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return r&&o&&G("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),n.className&&(e={type:"element",tagName:"div",properties:{className:n.className},children:"root"===e.type?e.children:[e]}),n_(e,function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return a?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in e9)if(Object.hasOwn(e9,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=e9[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=u(String(n||""),t,e))}}if("element"===e.type){let l=r?!r.includes(e.tagName):!!o&&o.includes(e.tagName);if(!l&&i&&"number"==typeof t&&(l=!i(e,t,n)),l&&n&&"number"==typeof t)return s&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}}),function(e,t){var n,r,i,l;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,r=t.jsxDEV,o=function(e,t,i,l){let o=Array.isArray(i.children),a=eH(e);return r(t,i,l,o,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,l=t.jsxs,o=function(e,t,n,r){let o=Array.isArray(n.children)?l:i;return r?o(t,n,r):o(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?eO:ez,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=e0(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}(e,{Fragment:t.Fragment,components:l,ignoreInvalidStyle:!0,jsx:t.jsx,jsxs:t.jsxs,passKeys:!0,passNode:!0})}(s.runSync(s.parse(u),u),e)}function rf(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||rs.test(e.slice(0,t))?e:""}function rd(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}let rp="phrasing",rh=["autolink","link","image","label"];function rm(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function rg(e){this.config.enter.autolinkProtocol.call(this,e)}function ry(e){this.config.exit.autolinkProtocol.call(this,e)}function rx(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];Z("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function rk(e){this.config.exit.autolinkEmail.call(this,e)}function rv(e){this.exit(e)}function rb(e){!function(e,t,n){let r=nN((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),l=-1;for(;++l<i.length;)nL(e,"text",o);function o(e,t){let n,o=-1;for(;++o<t.length;){let e=t[o],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[l][0],o=i[l][1],a=0,s=n.children.indexOf(e),u=!1,c=[];r.lastIndex=0;let f=r.exec(e.value);for(;f;){let n=f.index,i={index:f.index,input:f.input,stack:[...t,e]},l=o(...f,i);if("string"==typeof l&&(l=l.length>0?{type:"text",value:l}:void 0),!1===l?r.lastIndex=n+1:(a!==n&&c.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(l)?c.push(...l):l&&c.push(l),a=n+f[0].length,u=!0),!r.global)break;f=r.exec(e.value)}return u?(a<e.value.length&&c.push({type:"text",value:e.value.slice(a)}),n.children.splice(s,1,...c)):c=[e],s+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,rw],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,rS]],{ignore:["link","linkReference"]})}function rw(e,t,n,r,i){let l,o="";if(!rC(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),(l=n.split(".")).length<2||l[l.length-1]&&(/_/.test(l[l.length-1])||!/[a-zA-Z\d]/.test(l[l.length-1]))||l[l.length-2]&&(/_/.test(l[l.length-2])||!/[a-zA-Z\d]/.test(l[l.length-2])))return!1;let a=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=rd(e,"("),l=rd(e,")");for(;-1!==r&&i>l;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),l++;return[e,n]}(n+r);if(!a[0])return!1;let s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function rS(e,t,n,r){return!(!rC(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function rC(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||ty(n)||tg(n))&&(!t||47!==n)}function rj(){this.buffer()}function rE(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function rN(){this.buffer()}function rT(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function rD(e){let t=this.resume(),n=this.stack[this.stack.length-1];Z("footnoteReference"===n.type),n.identifier=tG(this.sliceSerialize(e)).toLowerCase(),n.label=t}function rA(e){this.exit(e)}function rL(e){let t=this.resume(),n=this.stack[this.stack.length-1];Z("footnoteDefinition"===n.type),n.identifier=tG(this.sliceSerialize(e)).toLowerCase(),n.label=t}function r_(e){this.exit(e)}function rI(e,t,n,r){let i=n.createTracker(r),l=i.move("[^"),o=n.enter("footnoteReference"),a=n.enter("reference");return l+=i.move(n.safe(n.associationId(e),{after:"]",before:l})),a(),o(),l+=i.move("]")}function rP(e,t,n){return 0===t?e:rM(e,t,n)}function rM(e,t,n){return(n?"":" ")+e}rI.peek=function(){return"["};let rF=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function rz(e){this.enter({type:"delete",children:[]},e)}function rO(e){this.exit(e)}function rR(e,t,n,r){let i=n.createTracker(r),l=n.enter("strikethrough"),o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),l(),o}function rB(e){return e.length}function rH(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}rR.peek=function(){return"~"};function rU(e,t,n){let r=e.value||"",i="`",l=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++l<n.unsafe.length;){let e,t=n.unsafe[l],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}rU.peek=function(){return"`"};nN(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let rq=function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),l=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(l=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+l);let o=l.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let a=n.createTracker(r);a.move(l+" ".repeat(o-l.length)),a.shift(o);let s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?l:l+" ".repeat(o-l.length))+e});return s(),u};function rV(e){let t=e._align;Z(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function r$(e){this.exit(e),this.data.inTable=void 0}function rW(e){this.enter({type:"tableRow",children:[]},e)}function rK(e){this.exit(e)}function rQ(e){this.enter({type:"tableCell",children:[]},e)}function rY(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rX));let n=this.stack[this.stack.length-1];Z("inlineCode"===n.type),n.value=t,this.exit(e)}function rX(e,t){return"|"===t?t:e}function rJ(e){let t=this.stack[this.stack.length-2];Z("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function rZ(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];Z("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,l=-1;for(;++l<i.length;){let e=i[l];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function rG(e,t,n,r){let i=e.children[0],l="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);l&&a.move(o);let s=rq(e,t,n,{...r,...a.current()});return l&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),s}let r0={tokenize:function(e,t,n){let r=0;return function t(l){return(87===l||119===l)&&r<3?(r++,e.consume(l),t):46===l&&3===r?(e.consume(l),i):n(l)};function i(e){return null===e?n(e):t(e)}},partial:!0},r1={tokenize:function(e,t,n){let r,i,l;return o;function o(t){return 46===t||95===t?e.check(r4,s,a)(t):null===t||th(t)||ty(t)||45!==t&&tg(t)?s(t):(l=!0,e.consume(t),o)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),o}function s(e){return i||r||!l?n(e):t(e)}},partial:!0},r2={tokenize:function(e,t){let n=0,r=0;return i;function i(o){return 40===o?(n++,e.consume(o),i):41===o&&r<n?l(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(r4,t,l)(o):null===o||th(o)||ty(o)?t(o):(e.consume(o),i)}function l(t){return 41===t&&r++,e.consume(t),i}},partial:!0},r4={tokenize:function(e,t,n){return r;function r(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),r):38===o?(e.consume(o),l):93===o?(e.consume(o),i):60===o||null===o||th(o)||ty(o)?t(o):n(o)}function i(e){return null===e||40===e||91===e||th(e)||ty(e)?t(e):r(e)}function l(t){return to(t)?function t(i){return 59===i?(e.consume(i),r):to(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},r5={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return ta(e)?n(e):t(e)}},partial:!0},r3={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!ie.call(r,r.previous)||il(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(r0,e.attempt(r1,e.attempt(r2,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ie},r6={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",l=!1;return function(t){return(72===t||104===t)&&it.call(r,r.previous)&&!il(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),o):n(t)};function o(t){if(to(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),o;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),l)?s:(l=!0,a):n(t)}function s(t){return null===t||tu(t)||th(t)||ty(t)||tg(t)?n(t):e.attempt(r1,e.attempt(r2,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:it},r9={name:"emailAutolink",tokenize:function(e,t,n){let r,i,l=this;return function(t){return!ii(t)||!ir.call(l,l.previous)||il(l.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return ii(r)?(e.consume(r),t):64===r?(e.consume(r),o):n(r)}(t))};function o(t){return 46===t?e.check(r5,s,a)(t):45===t||95===t||ta(t)?(i=!0,e.consume(t),o):s(t)}function a(t){return e.consume(t),r=!0,o}function s(o){return i&&r&&to(l.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:ir},r7={},r8=48;for(;r8<123;)r7[r8]=r9,58==++r8?r8=65:91===r8&&(r8=97);function ie(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||th(e)}function it(e){return!to(e)}function ir(e){return!(47===e||ii(e))}function ii(e){return 43===e||45===e||46===e||95===e||ta(e)}function il(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}r7[43]=r9,r7[45]=r9,r7[46]=r9,r7[95]=r9,r7[72]=[r9,r6],r7[104]=[r9,r6],r7[87]=[r9,r3],r7[119]=[r9,r3];let io={tokenize:function(e,t,n){let r=this;return tk(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ia(e,t,n){let r,i=this,l=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;l--;){let e=i.events[l][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(l){if(!r||!r._balanced)return n(l);let a=tG(i.sliceSerialize({start:r.end,end:i.now()}));return 94===a.codePointAt(0)&&o.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l)):n(l)}}function is(e,t){let n=e.length;for(;n--;
1)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let l={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",l,t],["enter",o,t],["exit",o,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function iu(e,t,n){let r,i=this,l=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(a){if(o>999||93===a&&!r||null===a||91===a||th(a))return n(a);if(93===a){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return l.includes(tG(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return th(a)||(r=!0),o++,e.consume(a),92===a?u:s}function u(t){return 91===t||92===t||93===t?(e.consume(t),o++,s):s(t)}}function ic(e,t,n){let r,i,l=this,o=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(a>999||93===t&&!i||null===t||91===t||th(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=tG(l.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return th(t)||(i=!0),a++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,u):u(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(r)||o.push(r),tk(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return t(e)}}function id(e,t,n){return e.check(tS,t,e.attempt(io,t,n))}function ip(e){e.exit("gfmFootnoteDefinition")}class ih{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function im(e,t,n){let r,i=this,l=0,o=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,l="tableHead"===r||"tableRow"===r?x:a;return l===x&&i.parser.lazy[i.now().line]?n(e):l(e)};function a(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,o+=1),s(n)}function s(t){return null===t?n(t):tp(t)?o>1?(o=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):n(t):tm(t)?tk(e,s,"whitespace")(t):(o+=1,r&&(r=!1,l+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,s):(e.enter("data"),u(t))}function u(t){return null===t||124===t||th(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function f(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,tm(t))?tk(e,d,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t)}function d(t){return 45===t||58===t?h(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):n(t)}function p(t){return tm(t)?tk(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(o+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||tp(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return tm(t)?tk(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return d(i);if(null===i||tp(i))return r&&l===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function x(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||tp(n)?(e.exit("tableRow"),t(n)):tm(n)?tk(e,k,"whitespace")(n):(e.enter("data"),v(n))}function v(t){return null===t||124===t||th(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?b:v)}function b(t){return 92===t||124===t?(e.consume(t),v):v(t)}}function ig(e,t){let n,r,i,l=-1,o=!0,a=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,f=0,d=new ih;for(;++l<e.length;){let p=e[l],h=p[1];
1"enter"===p[0]?"tableHead"===h.type?(c=!1,0!==f&&(ix(d,t,f,n,r),r=void 0,f=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(l,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(o=!0,i=void 0,s=[0,0,0,0],u=[0,l+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},d.add(l,0,[["enter",r,t]])),a="tableDelimiterRow"===h.type?2:r?3:1):a&&("data"===h.type||"tableDelimiterMarker"===h.type||"tableDelimiterFiller"===h.type)?(o=!1,0===u[2]&&(0!==s[1]&&(u[0]=u[1],i=iy(d,t,s,a,void 0,i),s=[0,0,0,0]),u[2]=l)):"tableCellDivider"===h.type&&(o?o=!1:(0!==s[1]&&(u[0]=u[1],i=iy(d,t,s,a,void 0,i)),u=[(s=u)[1],l,0,0])):"tableHead"===h.type?(c=!0,f=l):"tableRow"===h.type||"tableDelimiterRow"===h.type?(f=l,0!==s[1]?(u[0]=u[1],i=iy(d,t,s,a,l,i)):0!==u[1]&&(i=iy(d,t,u,a,l,i)),a=0):a&&("data"===h.type||"tableDelimiterMarker"===h.type||"tableDelimiterFiller"===h.type)&&(u[3]=l)}for(0!==f&&ix(d,t,f,n,r),d.consume(t.events),l=-1;++l<t.events.length;){let e=t.events[l];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,l))}return e}function iy(e,t,n,r,i,l){0!==n[0]&&(l.end=Object.assign({},ik(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));let o=ik(t.events,n[1]);if(l={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",l,t]]),0!==n[2]){let i=ik(t.events,n[2]),l=ik(t.events,n[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},l)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(l.end=Object.assign({},ik(t.events,i)),e.add(i,0,[["exit",l,t]]),l=void 0),l}function ix(e,t,n,r,i){let l=[],o=ik(t.events,n);i&&(i.end=Object.assign({},o),l.push(["exit",i,t])),r.end=Object.assign({},o),l.push(["exit",r,t]),e.add(n+1,0,l)}function ik(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let iv={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return th(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),l):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),l):n(t)}function l(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return tp(r)?t(r):tm(r)?e.check({tokenize:ib},t,n)(r):n(r)}}};function ib(e,t,n){return tk(e,function(e){return null===e?n(e):t(e)},"whitespace")}let iw={};function iS(e){let t,n,r,i=e||iw,l=this.data(),o=l.micromarkExtensions||(l.micromarkExtensions=[]),a=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),s=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);o.push(tl([{text:r7},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ic,continuation:{tokenize:id},exit:ip}},text:{91:{name:"gfmFootnoteCall",tokenize:iu},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ia,resolveTo:is}}},(t=(i||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,l=this.events,o=0;return function(a){return 126===i&&"characterEscape"!==l[l.length-1][1].type?r(a):(e.enter("strikethroughSequenceTemporary"),function l(a){let s=tF(i);if(126===a)return o>1?r(a):(e.consume(a),o++,l);if(o<2&&!t)return r(a);let u=e.exit("strikethroughSequenceTemporary"),c=tF(a);return u._open=!c||2===c&&!!s,u._close=!s||2===s&&!!c,n(a)}
1(a))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},l={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",l,t]],a=t.parser.constructs.insideSpan.null;a&&tn(o,o.length,0,tz(a,e.slice(r+1,n),t)),tn(o,o.length,0,[["exit",l,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),tn(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:im,resolveAll:ig}}},{text:{91:iv}}])),a.push([{transforms:[rb],enter:{literalAutolink:rm,literalAutolinkEmail:rg,literalAutolinkHttp:rg,literalAutolinkWww:rg},exit:{literalAutolink:rv,literalAutolinkEmail:rk,literalAutolinkHttp:ry,literalAutolinkWww:rx}},{enter:{gfmFootnoteCallString:rj,gfmFootnoteCall:rE,gfmFootnoteDefinitionLabelString:rN,gfmFootnoteDefinition:rT},exit:{gfmFootnoteCallString:rD,gfmFootnoteCall:rA,gfmFootnoteDefinitionLabelString:rL,gfmFootnoteDefinition:r_}},{canContainEols:["delete"],enter:{strikethrough:rz},exit:{strikethrough:rO}},{enter:{table:rV,tableData:rQ,tableHeader:rQ,tableRow:rW},exit:{codeText:rY,table:r$,tableData:rK,tableHeader:rK,tableRow:rK}},{exit:{taskListCheckValueChecked:rJ,taskListCheckValueUnchecked:rJ,paragraph:rZ}}]),s.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:rp,notInConstruct:rh},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:rp,notInConstruct:rh},{character:":",before:"[ps]",after:"\\/",inConstruct:rp,notInConstruct:rh}]},(r=!1,i&&i.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:function(e,t,n,i){let l=n.createTracker(i),o=l.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=l.move(n.safe(n.associationId(e),{before:o,after:"]"})),s(),o+=l.move("]:"),e.children&&e.children.length>0&&(l.shift(4),o+=l.move((r?"\n":" ")+n.indentLines(n.containerFlow(e,l.current()),r?rM:rP))),a(),o},footnoteReference:rI},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:rF}],handlers:{delete:rR}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=rU(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return a(function(e,t,n){let r=e.children,i=-1,l=[],o=t.enter("table");for(;++i<r.length;)l[i]=s(r[i],t,n);return o(),l}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){let i=a([s(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function o(e,t,n,r){let i=n.enter("tableCell"),o=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:l,after:l});return o(),i(),a}function a(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||rB,l=[],o=[],a=[],s=[],u=0,c=-1;for(;++c<e.length;){let t=[],r=[],l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){var f;let o=null==(f=e[c][l])?"":String(f);if(!1!==n.alignDelimiters){let e=i(o);r[l]=e,(void 0===s[l]||e>s[l])&&(s[l]=e)}t.push(o)}o[c]=t,a[c]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<u;)l[d]=rH(r[d]);else{let e=rH(r);for(;++d<u;)l[d]=e}d=-1;let p=[],h=[];for(;++d<u;){let e=l[d],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,s[d]-t.length-r.length),o=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>s[d]&&(s[d]=i),h[d]=i),p[d]=o}o.splice(1,0,p),a.splice(1,0,h),c=-1;let m=[];for(;++c<o.length;){let e=o[c],t=a[c];d=-1;let r=[];for(;++d<u;){let i=e[d]||"",o="",a="";if(!1!==n.alignDelimiters){let e=s[d]-(t[d]||0),n=l[d];114===n?o=" ".repeat(e):99===n?e%2?(o=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):a=o=" ".repeat(e/2):a=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||d)&&r.push(" "),!1!==n.alignDelimiters&&r.push(o),r.push(i),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||d!==u-1)&&r.push("|")}m.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function s(e,t,n){let r=e.children,i=-1,l=[],a=t.enter("tableRow");for(;++i<r.length;)l[i]=o(r[i],e,t,n);return a(),l}}(i),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rG}}]})}function iC(){let[e,n]=(0,x.useState)(!1),[i,l]=(0,x.useState)([]),[o,a]=(0,x.useState)(""),[s,u]=(0,x.useTransition)(),c=(0,x.useRef)(null);(0,x.useEffect)(()=>
1{if(c.current){let e=c.current.querySelector("div[data-radix-scroll-area-viewport]");e&&(e.scrollTop=e.scrollHeight)}},[i]);let p=async e=>{e&&e.preventDefault();let t=o.trim();if(!t)return;let n={id:Date.now().toString(),role:"user",text:t};l(e=>[...e,n]),a(""),u(async()=>{let e={userQuery:t,chatHistory:[...i.map(e=>({role:e.role,parts:[{text:e.text}]})),{role:"user",parts:[{text:t}]}]};try{let t=await J(e),n={id:(Date.now()+1).toString(),role:"model",text:t.aiResponse};l(e=>[...e,n])}catch(t){console.error("Chatbot error:",t);let e={id:(Date.now()+1).toString(),role:"model",text:"Jeg beklager, jeg har lidt problemer med at svare lige nu."};l(t=>[...t,e])}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Button,{variant:"default",size:"icon",className:"fixed bottom-6 right-6 h-14 w-14 rounded-full shadow-lg z-50 animate-pulse",onClick:()=>n(!e),"aria-label":e?"Luk chat":"Ã
bn chat",children:e?(0,t.jsx)(Q.X,{className:"h-7 w-7"}):(0,t.jsx)(W.MessageCircle,{className:"h-7 w-7"})}),e&&(0,t.jsxs)(V.Card,{className:(0,k.cn)("fixed bottom-24 right-6 w-[90vw] max-w-md h-[70vh] max-h-[600px] z-50 flex flex-col shadow-xl","transition-all duration-300 ease-in-out",e?"opacity-100 translate-y-0":"opacity-0 translate-y-10 pointer-events-none"),children:[(0,t.jsxs)(V.CardHeader,{className:"flex flex-row items-center justify-between border-b p-4",children:[(0,t.jsxs)(V.CardTitle,{className:"text-lg font-semibold flex items-center",children:[(0,t.jsx)(Y,{className:"mr-2 h-5 w-5 text-primary"})," HQ Chat Assistent"]}),(0,t.jsx)(r.Button,{variant:"ghost",size:"icon",onClick:()=>n(!1),className:"-mr-2",children:(0,t.jsx)(Q.X,{className:"h-5 w-5"})})]}),(0,t.jsx)(V.CardContent,{className:"flex-grow p-0 overflow-hidden",children:(0,t.jsx)($.ScrollArea,{ref:c,className:"h-full p-4",children:(0,t.jsxs)("div",{className:"space-y-4",children:[i.map(e=>(0,t.jsxs)("div",{className:(0,k.cn)("flex items-end space-x-2","user"===e.role?"justify-end":"justify-start"),children:["model"===e.role&&(0,t.jsx)(Y,{className:"h-6 w-6 text-primary flex-shrink-0 mb-1"}),(0,t.jsx)("div",{className:(0,k.cn)("max-w-[75%] rounded-lg px-3 py-2 text-sm","user"===e.role?"bg-primary text-primary-foreground":"bg-muted"),children:"model"===e.role?(0,t.jsx)(rc,{className:"prose prose-sm prose-p:my-0 text-foreground",remarkPlugins:[iS],components:{a:({node:e,...n})=>(0,t.jsx)("a",{...n,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline font-medium"})},children:e.text}):e.text}),"user"===e.role&&(0,t.jsx)(f.User,{className:"h-6 w-6 text-muted-foreground flex-shrink-0 mb-1"})]},e.id)),s&&(0,t.jsxs)("div",{className:"flex items-end space-x-2 justify-start",children:[(0,t.jsx)(Y,{className:"h-6 w-6 text-primary flex-shrink-0 mb-1"}),(0,t.jsx)("div",{className:"bg-muted text-muted-foreground rounded-lg px-3 py-2 text-sm",children:(0,t.jsx)(d.Loader2,{className:"h-4 w-4 animate-spin"})})]})]})})}),(0,t.jsx)(V.CardFooter,{className:"p-4 border-t",children:(0,t.jsxs)("form",{onSubmit:p,className:"flex w-full items-center space-x-2",children:[(0,t.jsx)(F.Input,{type:"text",placeholder:"Skriv din besked...",value:o,onChange:e=>a(e.target.value),className:"flex-1",disabled:s,autoFocus:!0}),(0,t.jsxs)(r.Button,{type:"submit",size:"icon",disabled:s||!o.trim(),children:[s?(0,t.jsx)(d.Loader2,{className:"h-4 w-4 animate-spin"}):(0,t.jsx)(K.Send,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Send"})]})]})})]})]})}function ij({children:e,lang:n,dictionary:r}){return["/event-slider","/event-calendar"].includes((0,w.usePathname)().replace(`/${n}`,"")||"/")?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsxs)("div",{className:"flex min-h-screen flex-col bg-background text-foreground",children:[(0,t.jsx)(A,{lang:n,dictionary:r.site_header}),(0,t.jsx)("main",{className:"flex-1",children:e}),(0,t.jsx)(B,{lang:n,footer_dictionary:r.site_footer,header_dictionary:r.site_header}),(0,t.jsx)(U,{}),(0,t.jsx)(q,{}),(0,t.jsx)(iC,{})]})}e.s(["SiteLayout",()=>ij],225873)}]);
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.