mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-22 01:24:54 +02:00
2 lines
515 KiB
JavaScript
2 lines
515 KiB
JavaScript
/*! For license information please see common.fdf3d109.js.LICENSE.txt */
|
|
(globalThis.webpackChunkOpenSign_Docs=globalThis.webpackChunkOpenSign_Docs||[]).push([[2076],{94083(e,t,n){"use strict";e=n.nmd(e);const r=(e,t)=>(...n)=>`\x1b[${e(...n)+t}m`,o=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};5;${r}m`},i=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};2;${r[0]};${r[1]};${r[2]}m`},s=e=>e,a=(e,t,n)=>[e,t,n],c=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let l;const u=(e,t,r,o)=>{void 0===l&&(l=n(10734));const i=o?10:0,s={};for(const[n,a]of Object.entries(l)){const o="ansi16"===n?"ansi":n;n===t?s[o]=e(r,i):"object"==typeof a&&(s[o]=e(a[t],i))}return s};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[n,r]of Object.entries(t)){for(const[n,o]of Object.entries(r))t[n]={open:`\x1b[${o[0]}m`,close:`\x1b[${o[1]}m`},r[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",c(t.color,"ansi",()=>u(r,"ansi16",s,!1)),c(t.color,"ansi256",()=>u(o,"ansi256",s,!1)),c(t.color,"ansi16m",()=>u(i,"rgb",a,!1)),c(t.bgColor,"ansi",()=>u(r,"ansi16",s,!0)),c(t.bgColor,"ansi256",()=>u(o,"ansi256",s,!0)),c(t.bgColor,"ansi16m",()=>u(i,"rgb",a,!0)),t}})},78478(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>i});n(96540);var r=n(92303),o=n(74848);function i({children:e,fallback:t}){return(0,r.default)()?(0,o.jsx)(o.Fragment,{children:e?.()}):t??null}},13472(e,t,n){"use strict";n.d(t,{A:()=>R});n(96540);var r=n(88473),o=n(18215),i=n(21312),s=n(17559);const a="admonition_xJq3",c="admonitionHeading_Gvgb",l="admonitionIcon_Rf37",u="admonitionContent_BuS1";var p=n(74848);function f({type:e,className:t,children:n}){return(0,p.jsx)("div",{className:(0,o.A)(s.G.common.admonition,s.G.common.admonitionType(e),a,t),children:n})}function h({icon:e,title:t}){return(0,p.jsxs)("div",{className:c,children:[(0,p.jsx)("span",{className:l,children:e}),t]})}function d({children:e}){return e?(0,p.jsx)("div",{className:u,children:e}):null}function m(e){const{type:t,icon:n,title:r,children:o,className:i}=e;return(0,p.jsxs)(f,{type:t,className:i,children:[r||n?(0,p.jsx)(h,{title:r,icon:n}):null,(0,p.jsx)(d,{children:o})]})}function E(e){return(0,p.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,p.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const g={icon:(0,p.jsx)(E,{}),title:(0,p.jsx)(i.default,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function T(e){return(0,p.jsx)(m,{...g,...e,className:(0,o.A)("alert alert--secondary",e.className),children:e.children})}function _(e){return(0,p.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,p.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const A={icon:(0,p.jsx)(_,{}),title:(0,p.jsx)(i.default,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function y(e){return(0,p.jsx)(m,{...A,...e,className:(0,o.A)("alert alert--success",e.className),children:e.children})}function b(e){return(0,p.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,p.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const S={icon:(0,p.jsx)(b,{}),title:(0,p.jsx)(i.default,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function C(e){return(0,p.jsx)(m,{...S,...e,className:(0,o.A)("alert alert--info",e.className),children:e.children})}function I(e){return(0,p.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,p.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const k={icon:(0,p.jsx)(I,{}),title:(0,p.jsx)(i.default,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function O(e){return(0,p.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,p.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const N={icon:(0,p.jsx)(O,{}),title:(0,p.jsx)(i.default,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const v={icon:(0,p.jsx)(I,{}),title:(0,p.jsx)(i.default,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const D={...{note:T,tip:y,info:C,warning:function(e){return(0,p.jsx)(m,{...k,...e,className:(0,o.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,p.jsx)(m,{...N,...e,className:(0,o.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,p.jsx)(T,{title:"secondary",...e}),important:e=>(0,p.jsx)(C,{title:"important",...e}),success:e=>(0,p.jsx)(y,{title:"success",...e}),caution:function(e){return(0,p.jsx)(m,{...v,...e,className:(0,o.A)("alert alert--warning",e.className),children:e.children})}}};function R(e){const t=(0,r.c)(e),n=(o=t.type,D[o]||(console.warn(`No admonition component found for admonition type "${o}". Using Info as fallback.`),D.info));var o;return(0,p.jsx)(n,{...t})}},90446(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>V});var r=n(96540),o=n(92303),i=n(18215),s=n(26058),a=n(17559),c=n(34291);const l="codeBlockContainer_Ckt0";var u=n(74848);function p({as:e,...t}){const n=(0,s.A)(),r=(0,c.M$)(n);return(0,u.jsx)(e,{...t,style:r,className:(0,i.A)(t.className,l,a.G.common.codeBlock)})}const f="codeBlock_bY9V",h="codeBlockStandalone_MEMb",d="codeBlockLines_e6Vv",m="codeBlockLinesWithNumbering_o6Pm";function E({children:e,className:t}){return(0,u.jsx)(p,{as:"pre",tabIndex:0,className:(0,i.A)(h,"thin-scrollbar",t),children:(0,u.jsx)("code",{className:d,children:e})})}var g=n(6342),T=n(96591);function _({children:e}){return e}var A=n(78181);function y({line:e,token:t,...n}){return(0,u.jsx)("span",{...n})}const b="codeLine_lJS_",S="codeLineNumber_Tfdd",C="codeLineContent_feaV";function I({line:e,classNames:t,showLineNumbers:n,getLineProps:r,getTokenProps:o}){const s=function(e){const t=1===e.length&&"\n"===e[0].content?e[0]:void 0;return t?[{...t,content:""}]:e}(e),a=r({line:s,className:(0,i.A)(t,n&&b)}),c=s.map((e,t)=>{const n=o({token:e});return(0,u.jsx)(y,{...n,line:s,token:e,children:n.children},t)});return(0,u.jsxs)("span",{...a,children:[n?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("span",{className:S}),(0,u.jsx)("span",{className:C,children:c})]}):c,(0,u.jsx)("br",{})]})}const k=r.forwardRef((e,t)=>(0,u.jsx)("pre",{ref:t,tabIndex:0,...e,className:(0,i.A)(e.className,f,"thin-scrollbar")}));function O(e){const{metadata:t}=(0,c.Ph)();return(0,u.jsx)("code",{...e,className:(0,i.A)(e.className,d,void 0!==t.lineNumbersStart&&m),style:{...e.style,counterReset:void 0===t.lineNumbersStart?void 0:"line-count "+(t.lineNumbersStart-1)}})}function N({className:e}){const{metadata:t,wordWrap:n}=(0,c.Ph)(),r=(0,s.A)(),{code:o,language:a,lineNumbersStart:l,lineClassNames:p}=t;return(0,u.jsx)(A.Highlight,{theme:r,code:o,language:a,children:({className:t,style:r,tokens:o,getLineProps:s,getTokenProps:a})=>(0,u.jsx)(k,{ref:n.codeBlockRef,className:(0,i.A)(e,t),style:r,children:(0,u.jsx)(O,{children:o.map((e,t)=>(0,u.jsx)(I,{line:e,getLineProps:s,getTokenProps:a,classNames:p[t],showLineNumbers:void 0!==l},t))})})})}var v=n(78478),D=n(21312);function R({className:e,...t}){return(0,u.jsx)("button",{type:"button",...t,className:(0,i.A)("clean-btn",e)})}function P(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function L(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const x={copyButtonCopied:"copyButtonCopied_Vdqa",copyButtonIcons:"copyButtonIcons_IEyt",copyButtonIcon:"copyButtonIcon_TrPX",copyButtonSuccessIcon:"copyButtonSuccessIcon_cVMy"};function M(e){return e?(0,D.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,D.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"})}function w({className:e}){const{copyCode:t,isCopied:n}=function(){const{metadata:{code:e}}=(0,c.Ph)(),[t,n]=(0,r.useState)(!1),o=(0,r.useRef)(void 0),i=(0,r.useCallback)(()=>{navigator.clipboard.writeText(e).then(()=>{n(!0),o.current=window.setTimeout(()=>{n(!1)},1e3)})},[e]);return(0,r.useEffect)(()=>()=>window.clearTimeout(o.current),[]),{copyCode:i,isCopied:t}}();return(0,u.jsx)(R,{"aria-label":M(n),title:(0,D.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.A)(e,x.copyButton,n&&x.copyButtonCopied),onClick:t,children:(0,u.jsxs)("span",{className:x.copyButtonIcons,"aria-hidden":"true",children:[(0,u.jsx)(P,{className:x.copyButtonIcon}),(0,u.jsx)(L,{className:x.copyButtonSuccessIcon})]})})}function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const F="wordWrapButtonIcon_b1P5",H="wordWrapButtonEnabled_uzNF";function U({className:e}){const{wordWrap:t}=(0,c.Ph)();if(!(t.isEnabled||t.isCodeScrollable))return!1;const n=(0,D.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,u.jsx)(R,{onClick:()=>t.toggle(),className:(0,i.A)(e,t.isEnabled&&H),"aria-label":n,title:n,children:(0,u.jsx)(B,{className:F,"aria-hidden":"true"})})}const j="buttonGroup_M5ko";function G({className:e}){return(0,u.jsx)(v.default,{children:()=>(0,u.jsxs)("div",{className:(0,i.A)(e,j),children:[(0,u.jsx)(U,{}),(0,u.jsx)(w,{})]})})}const z="codeBlockContent_QJqH",Y="codeBlockTitle_OeMC";function q({className:e}){const{metadata:t}=(0,c.Ph)();return(0,u.jsxs)(p,{as:"div",className:(0,i.A)(e,t.className),children:[t.title&&(0,u.jsx)("div",{className:Y,children:(0,u.jsx)(_,{children:t.title})}),(0,u.jsxs)("div",{className:z,children:[(0,u.jsx)(N,{}),(0,u.jsx)(G,{})]})]})}function $(e){const t=function(e){const{prism:t}=(0,g.p)();return(0,c.mU)({code:e.children,className:e.className,metastring:e.metastring,magicComments:t.magicComments,defaultLanguage:t.defaultLanguage,language:e.language,title:e.title,showLineNumbers:e.showLineNumbers})}(e),n=(0,T.f)();return(0,u.jsx)(c.l8,{metadata:t,wordWrap:n,children:(0,u.jsx)(q,{})})}function V({children:e,...t}){const n=(0,o.default)(),i=function(e){return r.Children.toArray(e).some(e=>(0,r.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e}(e),s="string"==typeof i?$:E;return(0,u.jsx)(s,{...t,children:i},String(n))}},41622(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(96540),o=n(18215),i=n(15066),s=n(63427),a=n(92303),c=n(41422);const l="details_lb9f",u="isBrowser_bmU9",p="collapsibleContent_i85q";var f=n(74848);function h(e){return!!e&&("SUMMARY"===e.tagName||h(e.parentElement))}function d(e,t){return!!e&&(e===t||d(e.parentElement,t))}function m({summary:e,children:t,...n}){(0,s.A)().collectAnchor(n.id);const o=(0,a.default)(),m=(0,r.useRef)(null),{collapsed:E,setCollapsed:g}=(0,c.u)({initialState:!n.open}),[T,_]=(0,r.useState)(n.open),A=r.isValidElement(e)?e:(0,f.jsx)("summary",{children:e??"Details"});return(0,f.jsxs)("details",{...n,ref:m,open:T,"data-collapsed":E,className:(0,i.A)(l,o&&u,n.className),onMouseDown:e=>{h(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;h(t)&&d(t,m.current)&&(e.preventDefault(),E?(g(!1),_(!0)):g(!0))},children:[A,(0,f.jsx)(c.N,{lazy:!1,collapsed:E,onCollapseTransitionEnd:e=>{g(e),_(!e)},children:(0,f.jsx)("div",{className:p,children:t})})]})}const E="details_b_Ee";function g({...e}){return(0,f.jsx)(m,{...e,className:(0,o.A)("alert alert--info",E,e.className)})}},19365(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});n(96540);var r=n(18215);const o="tabItem_Ymn6";var i=n(74848);function s({children:e,hidden:t,className:n}){return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.A)(o,n),hidden:t,children:e})}},7663(e,t,n){"use strict";n.d(t,{H:()=>s});var r=n(96540),o=n(23104),i=n(75062);function s({threshold:e}){const[t,n]=(0,r.useState)(!1),s=(0,r.useRef)(!1),{startScroll:a,cancelScroll:c}=(0,o.gk)();return(0,o.Mq)(({scrollY:t},r)=>{const o=r?.scrollY;o&&(s.current?s.current=!1:t>=o?(c(),n(!1)):t<e?n(!1):t+window.innerHeight<document.documentElement.scrollHeight&&n(!0))}),(0,i.$)(e=>{e.location.hash&&(s.current=!0,n(!1))}),{shown:t,scrollToTop:()=>a(0)}}},96591(e,t,n){"use strict";n.d(t,{f:()=>a});var r=n(96540),o=n(89532);const i={attributes:!0,characterData:!0,childList:!0,subtree:!0};function s(e,t){const[n,s]=(0,r.useState)(),a=(0,r.useCallback)(()=>{s(e.current?.closest("[role=tabpanel][hidden]"))},[e,s]);(0,r.useEffect)(()=>{a()},[a]),function(e,t,n=i){const s=(0,o._q)(t),a=(0,o.Be)(n);(0,r.useEffect)(()=>{const t=new MutationObserver(s);return e&&t.observe(e,a),()=>t.disconnect()},[e,s,a])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}function a(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),a=(0,r.useCallback)(()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[i,e]),c=(0,r.useCallback)(()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");o(n)},[i]);return s(i,c),(0,r.useEffect)(()=>{c()},[e,c]),(0,r.useEffect)(()=>(window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("resize",c)}),[c]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:a}}},26058(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(95293),o=n(6342);function i(){const{prism:e}=(0,o.p)(),{colorMode:t}=(0,r.G)(),n=e.theme,i=e.darkTheme||n;return"dark"===t?i:n}},20366(e,t,n){"use strict";n.d(t,{i:()=>c});var r=n(96540),o=n(6342);function i(e){const t=e.getBoundingClientRect();return t.top===t.bottom?i(e.parentNode):t}function s(e,{anchorTopOffset:t}){const n=e.find(e=>i(e).top>=t);if(n){return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(i(n))?n:e[e.indexOf(n)-1]??null}return e[e.length-1]??null}function a(){const e=(0,r.useRef)(0),{navbar:{hideOnScroll:t}}=(0,o.p)();return(0,r.useEffect)(()=>{e.current=t?0:document.querySelector(".navbar").clientHeight},[t]),e}function c(e){const t=(0,r.useRef)(void 0),n=a();(0,r.useEffect)(()=>{if(!e)return()=>{};const{linkClassName:r,linkActiveClassName:o,minHeadingLevel:i,maxHeadingLevel:a}=e;function c(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(r),c=function({minHeadingLevel:e,maxHeadingLevel:t}){const n=[];for(let r=e;r<=t;r+=1)n.push(`h${r}.anchor`);return Array.from(document.querySelectorAll(n.join()))}({minHeadingLevel:i,maxHeadingLevel:a}),l=s(c,{anchorTopOffset:n.current}),u=e.find(e=>l&&l.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e));e.forEach(e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(o),e.classList.add(o),t.current=e):e.classList.remove(o)}(e,e===u)})}return document.addEventListener("scroll",c),document.addEventListener("resize",c),c(),()=>{document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}},[e,n])}},83262(e,t,n){"use strict";n.r(t),n.d(t,{Collapsible:()=>l.N,DraftBannerMessage:()=>v.TT,DraftBannerTitle:()=>v.Yh,ErrorBoundaryError:()=>D.bq,ErrorBoundaryErrorMessageFallback:()=>D.MN,ErrorBoundaryTryAgainButton:()=>D.a2,ErrorCauseBoundary:()=>D.k2,HtmlClassNameProvider:()=>h.e3,NavbarSecondaryMenuFiller:()=>m.GX,PageMetadata:()=>h.be,ReactContextError:()=>f.dV,SkipToContentFallbackId:()=>N.j,SkipToContentLink:()=>N.K,ThemeClassNames:()=>u.G,ThemedComponent:()=>s.A,UnlistedBannerMessage:()=>v.Uh,UnlistedBannerTitle:()=>v.Rc,UnlistedMetadata:()=>v.AE,composeProviders:()=>f.fM,createStorageSlot:()=>a.Wf,duplicates:()=>I.XI,filterDocCardListItems:()=>P,groupBy:()=>I.$z,isMultiColumnFooterLinks:()=>S.C,isRegexpStringMatch:()=>C.G,listStorageKeys:()=>a.Eo,listTagsByLetters:()=>g.Q,mergeSearchParams:()=>_.TJ,mergeSearchStrings:()=>_.jy,prefersReducedMotion:()=>p.O,processAdmonitionProps:()=>O.c,translateTagsPageTitle:()=>g.b,uniq:()=>I.sb,useAnchorTargetClassName:()=>b.v,useClearQueryString:()=>_.W9,useCollapsible:()=>l.u,useColorMode:()=>d.G,useContextualSearchFilters:()=>x,useCurrentSidebarCategory:()=>R,useDocsPreferredVersion:()=>L,useEvent:()=>f._q,useHistorySelector:()=>_.Hl,usePluralForm:()=>c.W,usePrevious:()=>f.ZC,usePrismTheme:()=>k.A,useQueryString:()=>_.l,useQueryStringList:()=>_.fV,useSearchLinkCreator:()=>y,useSearchQueryString:()=>A,useStorageSlot:()=>a.Dv,useThemeConfig:()=>i.p,useWindowSize:()=>E.l});var r=n(44586),o=n(2967),i=n(6342),s=n(9967),a=n(70679),c=n(53465),l=n(41422),u=n(17559),p=n(53109),f=n(89532),h=n(45500),d=n(95293),m=n(75600),E=n(24581),g=n(26820),T=n(96540),_=n(57485);function A(){return(0,_.l)("q")}function y(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,r.default)(),{algolia:{searchPagePath:n}}=t;return(0,T.useCallback)(t=>`${e}${n}?q=${encodeURIComponent(t)}`,[e,n])}var b=n(73535),S=n(53106),C=n(91252),I=n(31682),k=n(26058),O=n(88473),N=n(75236),v=n(44084),D=n(12181);function R(...e){return n(44070).useCurrentSidebarCategory(...e)}function P(...e){return n(44070).filterDocCardListItems(...e)}function L(...e){return n(44070).useDocsPreferredVersion(...e)}function x(){const{i18n:e}=(0,r.default)(),t=n(44070).useDocsContextualSearchTags(),i=[o.C,...t];return{locale:e.currentLocale,tags:i}}},67622(e,t,n){"use strict";n.r(t),n.d(t,{AnnouncementBarProvider:()=>o.o,BlogAuthorNoPostsLabel:()=>B.Y4,BlogAuthorsListViewAllLabel:()=>B.np,CodeBlockContextProvider:()=>A.l8,Collapsible:()=>r.Collapsible,ColorModeProvider:()=>T.a,DEFAULT_SEARCH_TAG:()=>y.C,DraftBannerMessage:()=>r.DraftBannerMessage,DraftBannerTitle:()=>r.DraftBannerTitle,ErrorBoundaryError:()=>r.ErrorBoundaryError,ErrorBoundaryErrorMessageFallback:()=>r.ErrorBoundaryErrorMessageFallback,ErrorBoundaryTryAgainButton:()=>r.ErrorBoundaryTryAgainButton,ErrorCauseBoundary:()=>r.ErrorCauseBoundary,HtmlClassNameProvider:()=>r.HtmlClassNameProvider,NavbarProvider:()=>v.G,NavbarSecondaryMenuFiller:()=>r.NavbarSecondaryMenuFiller,PageMetadata:()=>r.PageMetadata,PluginHtmlClassNameProvider:()=>N.Jx,ReactContextError:()=>r.ReactContextError,ScrollControllerProvider:()=>k.Tv,SkipToContentFallbackId:()=>r.SkipToContentFallbackId,SkipToContentLink:()=>r.SkipToContentLink,ThemeClassNames:()=>r.ThemeClassNames,ThemedComponent:()=>r.ThemedComponent,TitleFormatterProvider:()=>b.AL,UnlistedBannerMessage:()=>r.UnlistedBannerMessage,UnlistedBannerTitle:()=>r.UnlistedBannerTitle,UnlistedMetadata:()=>r.UnlistedMetadata,composeProviders:()=>r.composeProviders,containsLineNumbers:()=>A._u,createCodeBlockMetadata:()=>A.mU,createStorageSlot:()=>r.createStorageSlot,duplicates:()=>r.duplicates,filterDocCardListItems:()=>r.filterDocCardListItems,getLineNumbersStart:()=>A.J9,getPrismCssVariables:()=>A.M$,groupBy:()=>r.groupBy,isMultiColumnFooterLinks:()=>r.isMultiColumnFooterLinks,isRegexpStringMatch:()=>r.isRegexpStringMatch,isSamePath:()=>O.ys,keyboardFocusedClassName:()=>L.w,listStorageKeys:()=>r.listStorageKeys,listTagsByLetters:()=>r.listTagsByLetters,mergeSearchParams:()=>r.mergeSearchParams,mergeSearchStrings:()=>r.mergeSearchStrings,parseCodeBlockTitle:()=>A.wt,parseLanguage:()=>A.DX,parseLines:()=>A.Li,prefersReducedMotion:()=>r.prefersReducedMotion,processAdmonitionProps:()=>r.processAdmonitionProps,sanitizeTabsChildren:()=>p,splitNavbarItems:()=>v.D,translateBlogAuthorsListPageTitle:()=>B.uz,translateTagsPageTitle:()=>r.translateTagsPageTitle,uniq:()=>r.uniq,useAlternatePageUtils:()=>_.o,useAnchorTargetClassName:()=>r.useAnchorTargetClassName,useAnnouncementBar:()=>o.M,useBackToTopButton:()=>w.H,useBlogAuthorPageTitle:()=>B.wI,useBlogTagsPostsPageTitle:()=>B.ZD,useClearQueryString:()=>r.useClearQueryString,useCodeBlockContext:()=>A.Ph,useCodeWordWrap:()=>M.f,useCollapsible:()=>r.useCollapsible,useColorMode:()=>r.useColorMode,useContextualSearchFilters:()=>r.useContextualSearchFilters,useCurrentSidebarCategory:()=>r.useCurrentSidebarCategory,useDateTimeFormat:()=>R.i,useDocsPreferredVersion:()=>r.useDocsPreferredVersion,useEvent:()=>r.useEvent,useFilteredAndTreeifiedTOC:()=>I.h,useHideableNavbar:()=>P.S,useHistoryPopHandler:()=>c.$Z,useHistorySelector:()=>c.Hl,useHomePageRoute:()=>O.Dt,useKeyboardNavigation:()=>L.J,useLocalPathname:()=>C.B,useLocationChange:()=>S.$,useLockBodyScroll:()=>x._,useNavbarMobileSidebar:()=>E.M,useNavbarSecondaryMenu:()=>g.T,usePluralForm:()=>r.usePluralForm,usePrevious:()=>r.usePrevious,usePrismTheme:()=>r.usePrismTheme,useQueryString:()=>r.useQueryString,useQueryStringList:()=>r.useQueryStringList,useQueryStringValue:()=>c.aZ,useScrollController:()=>k.n1,useScrollPosition:()=>k.Mq,useScrollPositionBlocker:()=>k.a_,useSearchLinkCreator:()=>r.useSearchLinkCreator,useSearchQueryString:()=>r.useSearchQueryString,useSmoothScrollTo:()=>k.gk,useStorageSlot:()=>r.useStorageSlot,useTOCHighlight:()=>D.i,useTabs:()=>m,useThemeConfig:()=>r.useThemeConfig,useTitleFormatter:()=>b.s$,useTreeifiedTOC:()=>I.v,useWindowSize:()=>r.useWindowSize});var r=n(83262),o=n(65041),i=n(96540),s=n(56347),a=n(205),c=n(57485),l=n(31682),u=n(70679);function p(e){return i.Children.toArray(e).filter(e=>"\n"!==e).map(e=>{if(!e||(0,i.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)})?.filter(Boolean)??[]}function f(e){const{values:t,children:n}=e;return(0,i.useMemo)(()=>{const e=t??function(e){return p(e).map(({props:{value:e,label:t,attributes:n,default:r}})=>({value:e,label:t,attributes:n,default:r}))}(n);return function(e){const t=(0,l.XI)(e,(e,t)=>e.value===t.value);if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map(e=>e.value).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e},[t,n])}function h({value:e,tabValues:t}){return t.some(t=>t.value===e)}function d({queryString:e=!1,groupId:t}){const n=(0,s.W6)(),r=function({queryString:e=!1,groupId:t}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!t)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:e,groupId:t});return[(0,c.aZ)(r),(0,i.useCallback)(e=>{if(!r)return;const t=new URLSearchParams(n.location.search);t.set(r,e),n.replace({...n.location,search:t.toString()})},[r,n])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:r}=e,o=f(e),[s,c]=(0,i.useState)(()=>function({defaultValue:e,tabValues:t}){if(0===t.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!h({value:e,tabValues:t}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${t.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}const n=t.find(e=>e.default)??t[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:o})),[l,p]=d({queryString:n,groupId:r}),[m,E]=function({groupId:e}){const t=function(e){return e?`docusaurus.tab.${e}`:null}(e),[n,r]=(0,u.Dv)(t);return[n,(0,i.useCallback)(e=>{t&&r.set(e)},[t,r])]}({groupId:r}),g=(()=>{const e=l??m;return h({value:e,tabValues:o})?e:null})();(0,a.A)(()=>{g&&c(g)},[g]);return{selectedValue:s,selectValue:(0,i.useCallback)(e=>{if(!h({value:e,tabValues:o}))throw new Error(`Can't select invalid tab value=${e}`);c(e),p(e),E(e)},[p,E,o]),tabValues:o}}var E=n(22069),g=n(98695),T=n(95293),_=n(32131),A=n(34291),y=n(2967),b=n(14563),S=n(75062),C=n(9342),I=n(37243),k=n(23104),O=n(99169),N=n(45500),v=n(76305),D=n(20366),R=n(36266),P=n(61182),L=n(14090),x=n(43458),M=n(96591),w=n(7663),B=n(96461)},96461(e,t,n){"use strict";n.d(t,{Y4:()=>p,ZD:()=>a,np:()=>u,uz:()=>l,wI:()=>c});n(96540);var r=n(21312),o=n(53465),i=n(74848);function s(){const{selectMessage:e}=(0,o.W)();return t=>e(t,(0,r.translate)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}function a(e){const t=s();return(0,r.translate)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function c(e){const t=s();return(0,r.translate)({id:"theme.blog.author.pageTitle",description:"The title of the page for a blog author",message:"{authorName} - {nPosts}"},{nPosts:t(e.count),authorName:e.name||e.key})}const l=()=>(0,r.translate)({id:"theme.blog.authorsList.pageTitle",message:"Authors",description:"The title of the authors page"});function u(){return(0,i.jsx)(r.default,{id:"theme.blog.authorsList.viewAll",description:"The label of the link targeting the blog authors page",children:"View all authors"})}function p(){return(0,i.jsx)(r.default,{id:"theme.blog.author.noPosts",description:"The text for authors with 0 blog post",children:"This author has not written any posts yet."})}},44084(e,t,n){"use strict";n.d(t,{AE:()=>c,Rc:()=>s,TT:()=>u,Uh:()=>a,Yh:()=>l});n(96540);var r=n(21312),o=n(5260),i=n(74848);function s(){return(0,i.jsx)(r.default,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function a(){return(0,i.jsx)(r.default,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,i.jsx)(o.A,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function l(){return(0,i.jsx)(r.default,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function u(){return(0,i.jsx)(r.default,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}},36266(e,t,n){"use strict";n.d(t,{i:()=>o});var r=n(44586);function o(e={}){const{i18n:{currentLocale:t}}=(0,r.default)(),n=function(){const{i18n:{currentLocale:e,localeConfigs:t}}=(0,r.default)();return t[e].calendar}();return new Intl.DateTimeFormat(t,{calendar:n,...e})}},88473(e,t,n){"use strict";n.d(t,{c:()=>i});var r=n(96540),o=n(74848);function i(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=r.Children.toArray(e),n=t.find(e=>r.isValidElement(e)&&"mdxAdmonitionTitle"===e.type),i=t.filter(e=>e!==n),s=n?.props.children;return{mdxAdmonitionTitle:s,rest:i.length>0?(0,o.jsx)(o.Fragment,{children:i}):null}}(e.children),i=e.title??t;return{...e,...i&&{title:i},children:n}}},34291(e,t,n){"use strict";n.d(t,{DX:()=>A,J9:()=>E,Li:()=>_,M$:()=>b,Ph:()=>I,_u:()=>g,l8:()=>C,mU:()=>y,wt:()=>m});var r=n(96540),o=n(15066),i=n(18426),s=n.n(i),a=n(89532),c=n(74848);const l=/title=(?<quote>["'])(?<title>.*?)\1/,u=/\{(?<range>[\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},f={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},h=Object.keys(p);function d(e,t){const n=e.map(e=>{const{start:n,end:r}=f[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${r})`}).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function m(e){return e?.match(l)?.groups.title??""}function E({showLineNumbers:e,metastring:t}){return"boolean"==typeof e?e?1:void 0:"number"==typeof e?e:function(e){const t=e?.split(" ").find(e=>e.startsWith("showLineNumbers"));if(t){if(t.startsWith("showLineNumbers=")){const e=t.replace("showLineNumbers=","");return parseInt(e,10)}return 1}}(t)}function g(e){return Boolean(e?.includes("showLineNumbers"))}function T(e,t){const{language:n,magicComments:r}=t;if(void 0===n)return{lineClassNames:{},code:e};const o=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return d(["js","jsBlock"],t);case"jsx":case"tsx":return d(["js","jsBlock","jsx"],t);case"html":return d(["js","jsBlock","html"],t);case"python":case"py":case"bash":return d(["bash"],t);case"markdown":case"md":return d(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return d(["tex"],t);case"lua":case"haskell":return d(["lua"],t);case"sql":return d(["lua","jsBlock"],t);case"wasm":return d(["wasm"],t);case"vb":case"vba":case"visual-basic":return d(["vb","rem"],t);case"vbnet":return d(["vbnet","rem"],t);case"batch":return d(["rem"],t);case"basic":return d(["rem","f90"],t);case"fsharp":return d(["js","ml"],t);case"ocaml":case"sml":return d(["ml"],t);case"fortran":return d(["f90"],t);case"cobol":return d(["cobol"],t);default:return d(h,t)}}(n,r),i=e.split(/\r?\n/),a=Object.fromEntries(r.map(e=>[e.className,{start:0,range:""}])),c=Object.fromEntries(r.filter(e=>e.line).map(({className:e,line:t})=>[t,e])),l=Object.fromEntries(r.filter(e=>e.block).map(({className:e,block:t})=>[t.start,e])),u=Object.fromEntries(r.filter(e=>e.block).map(({className:e,block:t})=>[t.end,e]));for(let s=0;s<i.length;){const e=i[s].match(o);if(!e){s+=1;continue}const t=e.slice(1).find(e=>void 0!==e);c[t]?a[c[t]].range+=`${s},`:l[t]?a[l[t]].start=s:u[t]&&(a[u[t]].range+=`${a[u[t]].start}-${s-1},`),i.splice(s,1)}const p={};return Object.entries(a).forEach(([e,{range:t}])=>{s()(t).forEach(t=>{p[t]??=[],p[t].push(e)})}),{code:i.join("\n"),lineClassNames:p}}function _(e,t){const n=e.replace(/\r?\n$/,"");return function(e,{metastring:t,magicComments:n}){if(t&&u.test(t)){const r=t.match(u).groups.range;if(0===n.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${t}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const o=n[0].className,i=s()(r).filter(e=>e>0).map(e=>[e-1,[o]]);return{lineClassNames:Object.fromEntries(i),code:e}}return null}(n,{...t})??T(n,{...t})}function A(e){if(!e)return;const t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}function y(e){const t=function(e){return t=e.language??A(e.className)??e.defaultLanguage,t?.toLowerCase()??"text";var t}({language:e.language,defaultLanguage:e.defaultLanguage,className:e.className}),{lineClassNames:n,code:r}=_(e.code,{metastring:e.metastring,magicComments:e.magicComments,language:t}),i=function({className:e,language:t}){return(0,o.A)(e,t&&!e?.includes(`language-${t}`)&&`language-${t}`)}({className:e.className,language:t}),s=m(e.metastring)||e.title,a=E({showLineNumbers:e.showLineNumbers,metastring:e.metastring});return{codeInput:e.code,code:r,className:i,language:t,title:s,lineNumbersStart:a,lineClassNames:n}}function b(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(([e,r])=>{const o=t[e];o&&"string"==typeof r&&(n[o]=r)}),n}const S=(0,r.createContext)(null);function C({metadata:e,wordWrap:t,children:n}){const o=(0,r.useMemo)(()=>({metadata:e,wordWrap:t}),[e,t]);return(0,c.jsx)(S.Provider,{value:o,children:n})}function I(){const e=(0,r.useContext)(S);if(null===e)throw new a.dV("CodeBlockContextProvider");return e}},26820(e,t,n){"use strict";n.d(t,{Q:()=>i,b:()=>o});var r=n(21312);const o=()=>(0,r.translate)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function i(e){const t={};return Object.values(e).forEach(e=>{const n=function(e){return e[0].toUpperCase()}(e.label);t[n]??=[],t[n].push(e)}),Object.entries(t).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>({letter:e,tags:t.sort((e,t)=>e.label.localeCompare(t.label))}))}},37243(e,t,n){"use strict";n.d(t,{h:()=>a,v:()=>i});var r=n(96540);function o(e){const t=e.map(e=>({...e,parentIndex:-1,children:[]})),n=Array(7).fill(-1);t.forEach((e,t)=>{const r=n.slice(2,e.level);e.parentIndex=Math.max(...r),n[e.level]=t});const r=[];return t.forEach(e=>{const{parentIndex:n,...o}=e;n>=0?t[n].children.push(o):r.push(o)}),r}function i(e){return(0,r.useMemo)(()=>o(e),[e])}function s({toc:e,minHeadingLevel:t,maxHeadingLevel:n}){return e.flatMap(e=>{const r=s({toc:e.children,minHeadingLevel:t,maxHeadingLevel:n});return function(e){return e.level>=t&&e.level<=n}(e)?[{...e,children:r}]:r})}function a({toc:e,minHeadingLevel:t,maxHeadingLevel:n}){return(0,r.useMemo)(()=>s({toc:o(e),minHeadingLevel:t,maxHeadingLevel:n}),[e,t,n])}},53465(e,t,n){"use strict";n.d(t,{W:()=>l});var r=n(96540),o=n(44586);const i=["zero","one","two","few","many","other"];function s(e){return i.filter(t=>e.includes(t))}const a={locale:"en",pluralForms:s(["one","other"]),select:e=>1===e?"one":"other"};function c(){const{i18n:{currentLocale:e}}=(0,o.default)();return(0,r.useMemo)(()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:s(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),a}},[e])}function l(){const e=c();return{selectMessage:(t,n)=>function(e,t,n){const r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const o=n.select(t),i=n.pluralForms.indexOf(o);return r[Math.min(i,r.length-1)]}(n,t,e)}}},5674(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOpeningArrayBracket=function(){return(0,r.create)("li",{children:(0,r.create)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem",paddingBottom:".5rem"},children:["Array ["]})})},t.createClosingArrayBracket=function(){return(0,r.create)("li",{children:(0,r.create)("div",{style:{fontSize:"var(--ifm-code-font-size)",opacity:"0.6",marginLeft:"-.5rem"},children:["]"]})})};const r=n(5700)},78583(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDescription=function(e){return`\n\n${(0,r.clean)(e)}\n\n`};const r=n(5700)},27691(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDetails=function({children:e,style:t,...n}){return(0,r.create)("details",{style:{...t},...n,children:e})};const r=n(5700)},67747(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDetailsSummary=function({children:e,style:t,...n}){return(0,r.create)("summary",{style:{...t},...n,children:e})};const r=n(5700)},35946(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAllOf=d,t.createNodes=y;const o=n(68307),i=r(n(10365)),s=r(n(62193)),a=n(5674),c=n(78583),l=n(27691),u=n(67747),p=n(51126),f=n(5700);let h;function d(e){return(0,o.merge)(e,{onMergeError:e=>{console.warn(e)}})}function m(e){const t=e.oneOf?"oneOf":"anyOf";return(0,f.create)("div",{children:[(0,f.create)("span",{className:"badge badge--info",children:t,style:{marginBottom:"1rem"}}),(0,f.create)("SchemaTabs",{children:e[t].map((t,n)=>{const r=t.title?t.title:`MOD${n+1}`,o=[];if(t.description&&o.push((0,f.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},className:"openapi-schema__summary",children:(0,c.createDescription)(t.description)})),"object"!==t.type||t.properties||t.allOf||t.items||o.push(y(t,h)),void 0!==t.properties&&(o.push(E(t)),delete t.properties),void 0!==t.allOf&&(o.push(y(t,h)),delete t.allOf),void 0!==t.oneOf&&(o.push(y(t,h)),delete t.oneOf),void 0!==t.items&&(o.push(T(t)),delete t.items),"string"!==t.type&&"number"!==t.type&&"integer"!==t.type&&"boolean"!==t.type||o.push(y(t,h)),o.length)return"array"===e.type?(0,f.create)("TabItem",{label:r,value:`${n}-item-properties`,children:[(0,a.createOpeningArrayBracket)(),o,(0,a.createClosingArrayBracket)()].filter(Boolean).flat()}):(0,f.create)("TabItem",{label:r,value:`${n}-item-properties`,children:o.filter(Boolean).flat()})})})]})}function E(e){const t=e.discriminator;return 0===Object.keys(e.properties).length?(0,f.create)("SchemaItem",{collapsible:!1,name:"",required:!1,schemaName:"object",qualifierMessage:void 0,schema:{}}):Object.entries(e.properties).map(([n,r])=>A({name:n,schema:r,required:!!Array.isArray(e.required)&&e.required.includes(n),discriminator:t}))}function g(e){var t;const n=e.additionalProperties;if(!n)return[];if(!0===n||(0,s.default)(n))return(0,f.create)("SchemaItem",{name:"property name*",required:!1,schemaName:"any",qualifierMessage:(0,p.getQualifierMessage)(e),schema:e,collapsible:!1,discriminator:!1});if(n.properties||n.items||n.allOf||n.additionalProperties||n.oneOf||n.anyOf){const r=n.title,o=(0,p.getSchemaName)(n);return _("property name*",null!=r?r:o,n,null!==(t=e.required)&&void 0!==t&&t,e.nullable)}if("string"===n.type||"boolean"===n.type||"integer"===n.type||"number"===n.type){const t=(0,p.getSchemaName)(n);return(0,f.create)("SchemaItem",{name:"property name*",required:!1,schemaName:t,qualifierMessage:(0,p.getQualifierMessage)(e),schema:n,collapsible:!1,discriminator:!1})}return[]}function T(e){var t,n,r,o,i,s,c,l,u,p;if(void 0!==(null===(t=e.items)||void 0===t?void 0:t.properties))return[(0,a.createOpeningArrayBracket)(),E(e.items),(0,a.createClosingArrayBracket)()].flat();if(void 0!==(null===(n=e.items)||void 0===n?void 0:n.additionalProperties))return[(0,a.createOpeningArrayBracket)(),g(e.items),(0,a.createClosingArrayBracket)()].flat();if(void 0!==(null===(r=e.items)||void 0===r?void 0:r.oneOf)||void 0!==(null===(o=e.items)||void 0===o?void 0:o.anyOf))return[(0,a.createOpeningArrayBracket)(),m(e.items),(0,a.createClosingArrayBracket)()].flat();if(void 0!==(null===(i=e.items)||void 0===i?void 0:i.allOf)){const t=d(e.items);if((void 0!==t.oneOf||void 0!==t.anyOf)&&t.properties)return[(0,a.createOpeningArrayBracket)(),m(t),E(t),(0,a.createClosingArrayBracket)()].flat();if(void 0!==t.oneOf||void 0!==t.anyOf)return[(0,a.createOpeningArrayBracket)(),m(t),(0,a.createClosingArrayBracket)()].flat();if(void 0!==t.properties)return[(0,a.createOpeningArrayBracket)(),E(t),(0,a.createClosingArrayBracket)()].flat()}return"string"===(null===(s=e.items)||void 0===s?void 0:s.type)||"number"===(null===(c=e.items)||void 0===c?void 0:c.type)||"integer"===(null===(l=e.items)||void 0===l?void 0:l.type)||"boolean"===(null===(u=e.items)||void 0===u?void 0:u.type)||"object"===(null===(p=e.items)||void 0===p?void 0:p.type)?[(0,a.createOpeningArrayBracket)(),y(e.items,h),(0,a.createClosingArrayBracket)()].flat():[(0,a.createOpeningArrayBracket)(),Object.entries(e.items).map(([t,n])=>A({name:t,schema:n,required:!!Array.isArray(e.required)&&e.required.includes(t)})),(0,a.createClosingArrayBracket)()].flat()}function _(e,t,n,r,o){return(0,f.create)("SchemaItem",{collapsible:!0,className:"schemaItem",children:[(0,l.createDetails)({className:"openapi-markdown__details",children:[(0,u.createDetailsSummary)({children:[(0,f.create)("span",{className:"openapi-schema__container",children:[(0,f.create)("strong",{className:(0,i.default)("openapi-schema__property",{"openapi-schema__strikethrough":n.deprecated}),children:e}),(0,f.create)("span",{className:"openapi-schema__name",children:` ${t}`}),(0,f.guard)((Array.isArray(r)?r.includes(e):!0===r)||n.deprecated||o,()=>[(0,f.create)("span",{className:"openapi-schema__divider"})]),(0,f.guard)(o,()=>[(0,f.create)("span",{className:"openapi-schema__nullable",children:"nullable"})]),(0,f.guard)(Array.isArray(r)?r.includes(e):!0===r,()=>[(0,f.create)("span",{className:"openapi-schema__required",children:"<Translate id='theme.openapi.schemaItem.required'>required</Translate>"})]),(0,f.guard)(n.deprecated,()=>[(0,f.create)("span",{className:"openapi-schema__deprecated",children:"deprecated"})])]})]}),(0,f.create)("div",{style:{marginLeft:"1rem"},children:[(0,f.guard)(n.description,e=>(0,f.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:(0,c.createDescription)(e)})),(0,f.guard)((0,p.getQualifierMessage)(n),e=>(0,f.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:(0,c.createDescription)(e)})),y(n,h)]})]})]})}function A({name:e,schema:t,required:n,discriminator:r}){var o,i,s,a,l;if("request"===h&&t.readOnly&&!0===t.readOnly)return;if("response"===h&&t.writeOnly&&!0===t.writeOnly)return;const u=(0,p.getSchemaName)(t);if(void 0!==r&&r.propertyName===e)return function(e,t,n,r,o){if(void 0!==n)return void 0===r.mapping?A({name:e,schema:n,required:o}):(0,f.create)("div",{className:"openapi-discriminator__item openapi-schema__list-item",children:(0,f.create)("div",{children:[(0,f.create)("span",{className:"openapi-schema__container",children:[(0,f.create)("strong",{className:"openapi-discriminator__name openapi-schema__property",children:e}),(0,f.guard)(t,e=>(0,f.create)("span",{className:"openapi-schema__name",children:` ${t}`})),(0,f.guard)(o,()=>[(0,f.create)("span",{className:"openapi-schema__required",children:"<Translate id='theme.openapi.schemaItem.required'>required</Translate>"})])]}),(0,f.guard)(n.description,e=>(0,f.create)("div",{style:{paddingLeft:"1rem"},children:(0,c.createDescription)(e)})),(0,f.guard)((0,p.getQualifierMessage)(r),e=>(0,f.create)("div",{style:{paddingLeft:"1rem"},children:(0,c.createDescription)(e)})),(0,f.create)("DiscriminatorTabs",{className:"openapi-tabs__discriminator",children:Object.keys(null==r?void 0:r.mapping).map((e,t)=>{const n=e;return(0,f.create)("TabItem",{label:n,value:`${t}-item-discriminator`,children:[y(null==r?void 0:r.mapping[e],h)]})})})]})})}(e,"string",t,r,n);if(void 0!==t.oneOf||void 0!==t.anyOf)return _(e,u,t,n,t.nullable);if(void 0!==t.properties)return _(e,u,t,n,t.nullable);if(void 0!==t.additionalProperties)return _(e,u,t,n,t.nullable);if(void 0!==(null===(o=t.items)||void 0===o?void 0:o.properties))return _(e,u,t,n,t.nullable);if(void 0!==(null===(i=t.items)||void 0===i?void 0:i.anyOf)||void 0!==(null===(s=t.items)||void 0===s?void 0:s.oneOf))return _(e,u,t,n,t.nullable);if(void 0!==(null===(a=t.items)||void 0===a?void 0:a.allOf)){const r=d(t.items);if("request"===h&&r.readOnly&&!0===r.readOnly)return;if("response"===h&&r.writeOnly&&!0===r.writeOnly)return;const o=(0,p.getSchemaName)(r);return void 0!==r.oneOf||void 0!==r.anyOf||(void 0!==r.properties||void 0!==r.additionalProperties||void 0!==(null===(l=r.items)||void 0===l?void 0:l.properties))?_(e,o,r,n,r.nullable):(0,f.create)("SchemaItem",{collapsible:!1,name:e,required:Array.isArray(n)?n.includes(e):n,schemaName:o,qualifierMessage:(0,p.getQualifierMessage)(r),schema:r})}return(0,f.create)("SchemaItem",{collapsible:!1,name:e,required:Array.isArray(n)?n.includes(e):n,schemaName:u,qualifierMessage:(0,p.getQualifierMessage)(t),schema:t})}function y(e,t){if(h=t,"request"===h&&e.readOnly&&!0===e.readOnly)return;if("response"===h&&e.writeOnly&&!0===e.writeOnly)return;const n=[];if(void 0===e.oneOf&&void 0===e.anyOf||n.push(m(e)),void 0!==e.properties&&n.push(E(e)),void 0!==e.additionalProperties&&n.push(g(e)),void 0!==e.items&&n.push(T(e)),void 0!==e.allOf){const t=d(e);void 0===t.oneOf&&void 0===t.anyOf||n.push(m(t)),void 0!==t.properties&&n.push(E(t))}return n.length&&n.length>0?n.filter(Boolean).flat():void 0!==e.type?e.allOf&&e.allOf.length&&"string"==typeof e.allOf[0]?(0,f.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem",marginLeft:"1rem"},children:(0,c.createDescription)(e.allOf[0])}):(0,f.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:[(0,c.createDescription)(e.type),(0,f.guard)((0,p.getQualifierMessage)(e),e=>(0,f.create)("div",{style:{paddingTop:"1rem"},children:(0,c.createDescription)(e)}))]}):"string"==typeof e?(0,f.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:[(0,c.createDescription)(e),(0,f.guard)((0,p.getQualifierMessage)(e),e=>(0,f.create)("div",{style:{paddingTop:"1rem"},children:(0,c.createDescription)(e)}))]}):"any"}},51126(e,t){"use strict";function n(e,t){var n,r,o,i,s;return e.enum&&!e.type?"string":e.format?e.type?`${e.type}<${e.format}>`:e.format:e.allOf?"string"==typeof e.allOf[0]&&e.allOf[0].includes("circular")?e.allOf[0]:"object":e.oneOf||e.anyOf?"object":"object"===e.type?null!==(r=null===(n=e.xml)||void 0===n?void 0:n.name)&&void 0!==r?r:e.type:"array"===e.type?null!==(i=null===(o=e.xml)||void 0===o?void 0:o.name)&&void 0!==i?i:e.type:e.title&&e.type?`${e.title} (${e.type})`:null!==(s=e.title)&&void 0!==s?s:e.type}Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaName=function(e,t){var r;if(e.items)return n(e.items,t)+"[]";return null!==(r=n(e,t))&&void 0!==r?r:""},t.getQualifierMessage=function e(t){if(!t)return;if(t.items&&void 0===t.minItems&&void 0===t.maxItems)return e(t.items);let n=[];t.items&&t.items.enum&&t.items.enum&&n.push(`[${t.items.enum.map(e=>`\`${e}\``).join(", ")}]`);if(t.minLength||t.maxLength){let e,r,o="";t.minLength&&t.minLength>1&&(e=`\`>= ${t.minLength} characters\``),t.minLength&&1===t.minLength&&(e="`non-empty`"),t.maxLength&&(r=`\`<= ${t.maxLength} characters\``),e&&!r&&(o+=e),r&&!e&&(o+=r),e&&r&&(o+=`${e} and ${r}`),n.push(o)}if(null!=t.minimum||null!=t.maximum||"number"==typeof t.exclusiveMinimum||"number"==typeof t.exclusiveMaximum){let e,r,o="";"number"==typeof t.exclusiveMinimum?e=`\`> ${t.exclusiveMinimum}\``:null==t.minimum||t.exclusiveMinimum?null!=t.minimum&&!0===t.exclusiveMinimum&&(e=`\`> ${t.minimum}\``):e=`\`>= ${t.minimum}\``,"number"==typeof t.exclusiveMaximum?r=`\`< ${t.exclusiveMaximum}\``:null==t.maximum||t.exclusiveMaximum?null!=t.maximum&&!0===t.exclusiveMaximum&&(r=`\`< ${t.maximum}\``):r=`\`<= ${t.maximum}\``,e&&!r&&(o+=e),r&&!e&&(o+=r),e&&r&&(o+=`${e} and ${r}`),n.push(o)}t.pattern&&n.push(`Value must match regular expression \`${t.pattern}\``);const r=t;if(r.mapping){const e=Object.keys(r.mapping);n.push(`[${e.map(e=>`\`${e}\``).join(", ")}]`)}t.enum&&n.push(`[${t.enum.map(e=>`\`${e}\``).join(", ")}]`);t.minItems&&n.push(`\`>= ${t.minItems}\``);t.maxItems&&n.push(`\`<= ${t.maxItems}\``);if(0===n.length)return;return"**Possible values:** "+n.join(", ")}},5700(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codeBlock=t.curlyBrackets=t.codeFence=t.greaterThan=t.lessThan=void 0,t.runWithExternalization=function(e,t){n={baseFilename:e,componentCounters:{},files:[]};try{const e=t();return{result:e,files:n.files}}finally{n=null}},t.create=function(e,t,i={}){const{children:s,...a}=t;let c="";if(function(e,t){if(!n)return!1;if(!r.has(e))return!1;const o=Object.values(t).some(e=>null!=e);if(!o)return!1;return!0}(e,a)){const t=function(e){var t;if(!n)throw new Error("Externalization context not set");const r=(null!==(t=n.componentCounters[e])&&void 0!==t?t:0)+1;n.componentCounters[e]=r;const o=r>1?`.${r}`:"";return`${n.baseFilename}.${e}${o}.json`}(e),r=JSON.stringify(a);n.files.push({filename:t,content:r}),c=`\n {...require("./${t}")}`}else for(const[n,r]of Object.entries(a))c+=`\n ${n}={${JSON.stringify(r)}}`;let l=o(s).replace(/^/gm," ");i.inline&&(c+=`\n children={${JSON.stringify(s)}}`,l="");return c+=c?"\n":"",l+=l?"\n":"",`<${e}${c}>\n${l}</${e}>`},t.guard=function(e,t){if(e||0===e){return o(t(e))}return""},t.render=o,t.clean=function(e){if(!e)return"";let n=e.split(t.codeBlock);for(let r in n)n[r].startsWith("`")||(n[r]=n[r].replace(t.lessThan,"<").replace(t.greaterThan,">").replace(t.codeFence,function(e){return e.replace(/\\>/g,">")}).replace(t.curlyBrackets,"\\$1"));return n.join("")};let n=null;const r=new Set(["StatusCodes","ParamsDetails","RequestSchema","Schema","SchemaItem"]);function o(e){if(Array.isArray(e)){return e.filter(e=>void 0!==e).map(e=>Array.isArray(e)?e.join(""):e).join("")}return null!=e?e:""}t.lessThan=/<=?(?!(=|button|\s?\/button|code|\s?\/code|details|\s?\/details|summary|\s?\/summary|hr|\s?\/hr|br|\s?\/br|span|\s?\/span|strong|\s?\/strong|small|\s?\/small|table|\s?\/table|thead|\s?\/thead|tbody|\s?\/tbody|td|\s?\/td|tr|\s?\/tr|th|\s?\/th|h1|\s?\/h1|h2|\s?\/h2|h3|\s?\/h3|h4|\s?\/h4|h5|\s?\/h5|h6|\s?\/h6|title|\s?\/title|p|\s?\/p|em|\s?\/em|b|\s?\/b|i|\s?\/i|u|\s?\/u|strike|\s?\/strike|bold|\s?\/bold|a|\s?\/a|table|\s?\/table|li|\s?\/li|ol|\s?\/ol|ul|\s?\/ul|img|\s?\/img|svg|\s?\/svg|div|\s?\/div|center|\s?\/center))/gu,t.greaterThan=/(?<!(button|code|details|summary|hr|br|span|strong|small|table|thead|tbody|td|tr|th|h1|h2|h3|h4|h5|h6|title|p|em|b|i|u|strike|bold|a|li|ol|ul|img|svg|div|center|\/|\s|"|'))>/gu,t.codeFence=/`{1,3}[\s\S]*?`{1,3}/g,t.curlyBrackets=/([{}])/g,t.codeBlock=/(^```.*[\s\S]*?```$|`[^`].+?`)/gm},74871(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sampleFromSchema=void 0;const o=r(n(55248)),i=r(n(55364)),s=n(35946),a={string:{default:()=>"string",email:()=>"user@example.com",date:()=>"2024-07-29","date-time":()=>"2024-07-29T15:51:28.071Z",uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",hostname:()=>"example.com",ipv4:()=>"198.51.100.42",ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a"},number:{default:()=>0,float:()=>0},integer:{default:()=>0},boolean:{default:e=>"boolean"!=typeof e.default||e.default},object:{},array:{},null:{default:()=>"null"}};function c(e,t){return!!e.deprecated||("request"===t.type?!0===e.readOnly:!0===e.writeOnly)}function l(e,n,r,o){if("object"==typeof n&&0===Object.keys(n).length)return r[e]=n,r;if(void 0!==n.example)r[e]=n.example;else if(void 0!==n.examples&&n.examples.length>0)r[e]=n.examples[0];else if(n.oneOf)r[e]=(0,t.sampleFromSchema)(n.oneOf[0],o);else if(n.anyOf)r[e]=(0,t.sampleFromSchema)(n.anyOf[0],o);else if(n.allOf){l(e,(0,s.mergeAllOf)(n),r,o)}else r[e]=(0,t.sampleFromSchema)(n,o);return r}function u(e){return Array.isArray(e)?e:[e]}function p(e,n,r){return e[n].map(o=>{if(e.properties){const i={...o,properties:{...e.properties,...o.properties}};return delete i[n],(0,t.sampleFromSchema)(i,r)}return(0,t.sampleFromSchema)(o,r)})}t.sampleFromSchema=(e={},n)=>{try{let r=JSON.parse(JSON.stringify(e)),{type:o,example:f,examples:h,allOf:d,properties:m,items:E,oneOf:g,anyOf:T,const:_}=r;if(void 0!==f)return f;if(void 0!==h&&h.length>0)return h[0];if(g){if(m){const e=(0,i.default)(r,g[0]);return delete e.oneOf,(0,t.sampleFromSchema)(e,n)}return(0,t.sampleFromSchema)(g[0],n)}if(T){if(m){const e=(0,i.default)(r,T[0]);return delete e.anyOf,(0,t.sampleFromSchema)(e,n)}return(0,t.sampleFromSchema)(T[0],n)}if(d){const e=(0,s.mergeAllOf)(r);if(e.properties)for(const[t,r]of Object.entries(e.properties))c(r,n)&&delete e.properties[t];if(m){const o=(0,i.default)(r,e);return delete o.allOf,(0,t.sampleFromSchema)(o,n)}return(0,t.sampleFromSchema)(e,n)}if(!o)if(m)o="object";else{if(!E)return;o="array"}if("object"===o){let e={};for(let[t,r]of Object.entries(null!=m?m:{})){if(r.properties)for(const[e,t]of Object.entries(r.properties))c(t,n)&&delete r.properties[e];if(r.items&&r.items.properties)for(const[e,t]of Object.entries(r.items.properties))c(t,n)&&delete r.items.properties[e];c(r,n)||(e=l(t,r,e,n))}return e}if("array"===o)return Array.isArray(null==E?void 0:E.anyOf)?p(E,"anyOf",n):Array.isArray(null==E?void 0:E.oneOf)?p(E,"oneOf",n):u((0,t.sampleFromSchema)(E,n));if(r.enum)return r.default?r.default:u(r.enum)[0];if(c(r,n))return;return _||function(e={}){let{type:t,format:n}=e;if(void 0===t)return;if(Array.isArray(t)&&(t=t[0],void 0===t))return;if(void 0!==e.default)return e.default;const r=a[t];if(r){if(void 0!==n&&void 0!==r[n])return r[n](e);if(void 0!==r.default)return r.default(e)}return"Unknown Type: "+e.type}(r)}catch(r){return void console.error(o.default.yellow("WARNING: failed to create example from schema object:",r))}}},54612(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setAccept=t.slice=void 0;const r=n(6737);t.slice=(0,r.createSlice)({name:"accept",initialState:{},reducers:{setAccept:(e,t)=>{e.value=t.payload}}}),t.setAccept=t.slice.actions.setAccept,t.default=t.slice.reducer},13761(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setContentType=t.slice=void 0;const r=n(6737);t.slice=(0,r.createSlice)({name:"contentType",initialState:{},reducers:{setContentType:(e,t)=>{e.value=t.payload}}}),t.setContentType=t.slice.actions.setContentType,t.default=t.slice.reducer},33107(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.clearSchemaSelections=t.setSchemaSelection=t.slice=void 0;const o=n(6737);t.slice=(0,o.createSlice)({name:"schemaSelection",initialState:{selections:{}},reducers:{setSchemaSelection:(e,t)=>{e.selections[t.payload.path]=t.payload.index},clearSchemaSelections:e=>{e.selections={}}}}),r=t.slice.actions,t.setSchemaSelection=r.setSchemaSelection,t.clearSchemaSelections=r.clearSchemaSelections,t.default=t.slice.reducer},75657(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTypedSelector=t.useTypedDispatch=void 0;const r=n(73729);t.useTypedDispatch=()=>(0,r.useDispatch)(),t.useTypedSelector=r.useSelector},97231(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>Dl});var r={};n.r(r),n.d(r,{boolean:()=>b,booleanish:()=>S,commaOrSpaceSeparated:()=>N,commaSeparated:()=>O,number:()=>I,overloadedBoolean:()=>C,spaceSeparated:()=>k});var o={};n.r(o),n.d(o,{attentionMarkers:()=>bn,contentInitial:()=>En,disable:()=>Sn,document:()=>mn,flow:()=>Tn,flowInitial:()=>gn,insideSpan:()=>yn,string:()=>_n,text:()=>An});n(96540);var i=n(13472),s=n(90446);function a(){}function c(){}function l(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function u(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const p=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,f=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h={};function d(e,t){return((t||h).jsx?f:p).test(e)}const m=/[ \t\n\f\r]/g;function E(e){return""===e.replace(m,"")}class g{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function T(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new g(n,r,t)}function _(e){return e.toLowerCase()}g.prototype.normal={},g.prototype.property={},g.prototype.space=void 0;class A{constructor(e,t){this.attribute=t,this.property=e}}A.prototype.attribute="",A.prototype.booleanish=!1,A.prototype.boolean=!1,A.prototype.commaOrSpaceSeparated=!1,A.prototype.commaSeparated=!1,A.prototype.defined=!1,A.prototype.mustUseProperty=!1,A.prototype.number=!1,A.prototype.overloadedBoolean=!1,A.prototype.property="",A.prototype.spaceSeparated=!1,A.prototype.space=void 0;let y=0;const b=v(),S=v(),C=v(),I=v(),k=v(),O=v(),N=v();function v(){return 2**++y}const D=Object.keys(r);class R extends A{constructor(e,t,n,o){let i=-1;if(super(e,t),P(this,"space",o),"number"==typeof n)for(;++i<D.length;){const e=D[i];P(this,D[i],(n&r[e])===r[e])}}}function P(e,t,n){n&&(e[t]=n)}function L(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new R(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[_(r)]=r,n[_(i.attribute)]=r}return new g(t,n,e.space)}R.prototype.defined=!0;const x=L({properties:{ariaActiveDescendant:null,ariaAtomic:S,ariaAutoComplete:null,ariaBusy:S,ariaChecked:S,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:k,ariaCurrent:null,ariaDescribedBy:k,ariaDetails:null,ariaDisabled:S,ariaDropEffect:k,ariaErrorMessage:null,ariaExpanded:S,ariaFlowTo:k,ariaGrabbed:S,ariaHasPopup:null,ariaHidden:S,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:k,ariaLevel:I,ariaLive:null,ariaModal:S,ariaMultiLine:S,ariaMultiSelectable:S,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:S,ariaReadOnly:S,ariaRelevant:null,ariaRequired:S,ariaRoleDescription:k,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:S,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function M(e,t){return t in e?e[t]:t}function w(e,t){return M(e,t.toLowerCase())}const B=L({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:O,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:b,allowPaymentRequest:b,allowUserMedia:b,alt:null,as:null,async:b,autoCapitalize:null,autoComplete:k,autoFocus:b,autoPlay:b,blocking:k,capture:null,charSet:null,checked:b,cite:null,className:k,cols:I,colSpan:null,content:null,contentEditable:S,controls:b,controlsList:k,coords:I|O,crossOrigin:null,data:null,dateTime:null,decoding:null,default:b,defer:b,dir:null,dirName:null,disabled:b,download:C,draggable:S,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:b,formTarget:null,headers:k,height:I,hidden:C,high:I,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:null,inert:b,inputMode:null,integrity:null,is:null,isMap:b,itemId:null,itemProp:k,itemRef:k,itemScope:b,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:b,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:b,muted:b,name:null,nonce:null,noModule:b,noValidate:b,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:b,optimum:I,pattern:null,ping:k,placeholder:null,playsInline:b,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:b,referrerPolicy:null,rel:k,required:b,reversed:b,rows:I,rowSpan:I,sandbox:k,scope:null,scoped:b,seamless:b,selected:b,shadowRootClonable:b,shadowRootDelegatesFocus:b,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:S,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:b,useMap:null,value:S,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:b,declare:b,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:b,noHref:b,noShade:b,noWrap:b,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:S,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:b,disableRemotePlayback:b,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:w}),F=L({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",colorRendering:"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:N,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:k,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:b,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:O,g2:O,glyphName:O,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:N,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:k,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:N,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:N,rev:N,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:N,requiredFeatures:N,requiredFonts:N,requiredFormats:N,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:N,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:N,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:N,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:M}),H=L({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),U=L({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:w}),j=L({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),G=T([x,B,H,U,j],"html"),z=T([x,F,H,U,j],"svg"),Y=/[A-Z]/g,q=/-[a-z]/g,$=/^data[-\w.:]+$/i;function V(e,t){const n=_(t);let r=t,o=A;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&$.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(q,Q);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!q.test(e)){let n=e.replace(Y,W);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=R}return new o(r,t)}function W(e){return"-"+e.toLowerCase()}function Q(e){return e.charAt(1).toUpperCase()}const X={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"};function K(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Z(e){return e.join(" ").trim()}var J=n(35229);const ee=ne("end"),te=ne("start");function ne(e){return function(t){const 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 re(e){return e&&"object"==typeof e?"position"in e||"type"in e?ie(e.position):"start"in e||"end"in e?ie(e):"line"in e||"column"in e?oe(e):"":""}function oe(e){return se(e&&e.line)+":"+se(e&&e.column)}function ie(e){return oe(e&&e.start)+"-"+oe(e&&e.end)}function se(e){return e&&"number"==typeof e?e:1}class ae extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="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:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=re(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ae.prototype.file="",ae.prototype.name="",ae.prototype.reason="",ae.prototype.message="",ae.prototype.stack="",ae.prototype.column=void 0,ae.prototype.line=void 0,ae.prototype.ancestors=void 0,ae.prototype.cause=void 0,ae.prototype.fatal=void 0,ae.prototype.place=void 0,ae.prototype.ruleId=void 0,ae.prototype.source=void 0;const ce={}.hasOwnProperty,le=new Map,ue=/[A-Z]/g,pe=new Set(["table","tbody","thead","tfoot","tr"]),fe=new Set(["td","th"]),he="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function de(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const s=Array.isArray(o.children),a=te(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const s=Array.isArray(o.children)?n:t;return i?s(r,o,i):s(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?z:G,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=me(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function me(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=z,e.schema=o);e.ancestors.push(t);const i=Ae(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&ce.call(t.properties,o)){const i=_e(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&fe.has(t.tagName)?r=s:n[o]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Te(e,t);pe.has(t.tagName)&&(a=a.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&E(t.value):E(t));var t}));return Ee(e,s,i,t),ge(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}ye(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=z,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:Ae(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];a(t.type);const o=t.expression;a(o.type);const i=o.properties[0];a(i.type),Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else ye(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];a(t.type),i=e.evaluater.evaluateExpression(t.expression)}else ye(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),c=Te(e,t);return Ee(e,s,i,t),ge(s,c),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ye(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return ge(r,Te(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function Ee(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ge(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Te(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:le;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;s=e+"-"+t,o.set(e,t+1)}}const a=me(e,i,s);void 0!==a&&n.push(a)}return n}function _e(e,t,n){const r=V(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?u(n):Z(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return J(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const t=n,r=new ae("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=he+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)ce.call(e,n)&&(t[be(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?X[r.property]||r.property:r.attribute,n]}}function Ae(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=d(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=d(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return ce.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);ye(e)}function ye(e,t){const n=new ae("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=he+"#cannot-handle-mdx-estrees-without-createevaluater",n}function be(e){let t=e.replace(ue,Se);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Se(e){return"-"+e.toLowerCase()}const Ce={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"]};var Ie=n(74848);const ke={};function Oe(e,t){const n=t||ke;return Ne(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function Ne(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){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 ve(e.children,t,n)}return Array.isArray(e)?ve(e,t,n):""}function ve(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=Ne(e[o],t,n);return r.join("")}function De(e,t,n,r){const o=e.length;let i,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Re(e,t){return e.length>0?(De(e,e.length,0,t),e):t}class Pe{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new 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){const n=null==t?Number.POSITIVE_INFINITY: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){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Le(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Le(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Le(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){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Le(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Le(this.left,t.reverse())}}}function Le(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 xe(e){const t={};let n,r,o,i,s,a,c,l=-1;const u=new Pe(e);for(;++l<u.length;){for(;l in t;)l=t[l];if(n=u.get(l),l&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(l-1)[1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Me(u,l)),l=t[l],c=!0);else if(n[1]._container){for(o=l,r=void 0;o--;)if(i=u.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if("linePrefix"!==i[1].type&&"listItemIndent"!==i[1].type)break;r&&(n[1].end={...u.get(r)[1].start},s=u.slice(r,l),s.unshift(n),u.splice(r,l-r+1,s))}}return De(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function Me(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const a=s.events,c=[],l={};let u,p,f=-1,h=n,d=0,m=0;const E=[m];for(;h;){for(;e.get(++o)[1]!==h;);i.push(o),h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),p&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=h,h=h.next}for(h=n;++f<a.length;)"exit"===a[f][0]&&"enter"===a[f-1][0]&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(m=f+1,E.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):E.pop(),f=E.length;f--;){const t=a.slice(E[f],E[f+1]),n=i.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[d+c[f][0]]=d+c[f][1],d+=c[f][1]-c[f][0]-1;return l}const we={}.hasOwnProperty;function Be(e){const t={};let n=-1;for(;++n<e.length;)Fe(t,e[n]);return t}function Fe(e,t){let n;for(n in t){const r=(we.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){we.call(r,i)||(r[i]=[]);const e=o[i];He(r[i],Array.isArray(e)?e:e?[e]:[])}}}function He(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);De(e,0,0,r)}Ge(/[A-Za-z]/),Ge(/[\dA-Za-z]/),Ge(/[#-'*+\--9=?A-Z^-~]/);Ge(/\d/),Ge(/[\dA-Fa-f]/),Ge(/[!-/:-@[-`{-~]/);function Ue(e){return null!==e&&e<-2}function je(e){return-2===e||-1===e||32===e}Ge(/\p{P}|\p{S}/u),Ge(/\s/);function Ge(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ze(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(je(r))return e.enter(n),s(r);return t(r)};function s(r){return je(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const Ye={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ze(e,t,"linePrefix")},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Ue(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const qe={tokenize:function(e){const t=this,n=[];let r,o,i,s=0;return a;function a(r){if(s<n.length){const o=n[s];return t.containerState=o[1],e.attempt(o[0].continuation,c,l)(r)}return l(r)}function c(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&T();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}g(s);let a=n;for(;a<t.events.length;)t.events[a][1].end={...o},a++;return De(t.events,i+1,0,t.events.slice(n)),t.events.length=a,l(e)}return a(e)}function l(o){if(s===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return d(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check($e,u,p)(o)}function u(e){return r&&T(),g(s),f(e)}function p(e){return t.parser.lazy[t.now().line]=s!==n.length,i=t.now().offset,d(e)}function f(n){return t.containerState={},e.attempt($e,h,d)(n)}function h(e){return s++,n.push([t.currentConstruct,t.containerState]),f(e)}function d(n){return null===n?(r&&T(),g(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),m(n))}function m(n){return null===n?(E(e.exit("chunkFlow"),!0),g(0),void e.consume(n)):Ue(n)?(e.consume(n),E(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),m)}function E(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(o){a=t.events[c][1].end;break}o=!0}for(g(s),e=n;e<t.events.length;)t.events[e][1].end={...a},e++;De(t.events,c+1,0,t.events.slice(n)),t.events.length=e}}function g(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function T(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},$e={tokenize:function(e,t,n){return ze(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Ve=nt(/[A-Za-z]/),We=nt(/[\dA-Za-z]/),Qe=nt(/[#-'*+\--9=?A-Z^-~]/);const Xe=nt(/\d/),Ke=nt(/[\dA-Fa-f]/),Ze=nt(/[!-/:-@[-`{-~]/);function Je(e){return null!==e&&e<-2}function et(e){return null!==e&&(e<0||32===e)}function tt(e){return-2===e||-1===e||32===e}nt(/\p{P}|\p{S}/u),nt(/\s/);function nt(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function rt(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(tt(r))return e.enter(n),s(r);return t(r)};function s(r){return tt(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const ot={partial:!0,tokenize:function(e,t,n){return function(t){return tt(t)?rt(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Je(e)?t(e):n(e)}}};const it={resolve:function(e){return xe(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?o(t):Je(t)?e.check(st,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},st={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),rt(e,o,"linePrefix")};function o(o){if(null===o||Je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};const at={tokenize:function(e){const t=this,n=e.attempt(ot,function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,ze(e,e.attempt(this.parser.constructs.flow,r,e.attempt(it,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ct={resolveAll:ft()},lt=pt("string"),ut=pt("text");function pt(e){return{resolveAll:ft("text"===e?ht:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return c(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return c(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function ft(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ht(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,s=o.length,a=-1,c=0;for(;s--;){const e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)c++,a--;if(a)break;a=-1}else if(-2===e)i=!0,c++;else if(-1!==e){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const o={type:n===e.length||i||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:r.start._bufferIndex+a,_index:r.start._index+s,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const dt={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),s(i)):o>=3&&(null===i||Je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),tt(t)?rt(e,i,"whitespace")(t):i(t))}}};const mt={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ot,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,rt(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!tt(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(gt,t,s)(n))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,rt(e,e.attempt(mt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(dt,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Xe(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ot,r.interrupt?n:l,e.attempt(Et,p,u))}function l(e){return r.containerState.initialBlankLine=!0,i++,p(e)}function u(t){return tt(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):n(t)}function p(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},Et={partial:!0,tokenize:function(e,t,n){const r=this;return rt(e,function(e){const o=r.events[r.events.length-1];return!tt(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},gt={partial:!0,tokenize:function(e,t,n){const r=this;return rt(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}};const Tt={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(tt(t))return rt(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(Tt,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const 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"),o}return n(t)};function o(n){return tt(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};At(/[A-Za-z]/),At(/[\dA-Za-z]/),At(/[#-'*+\--9=?A-Z^-~]/);function _t(e){return null!==e&&(e<32||127===e)}At(/\d/),At(/[\dA-Fa-f]/),At(/[!-/:-@[-`{-~]/);At(/\p{P}|\p{S}/u),At(/\s/);function At(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function yt(e,t,n,r,o,i,s,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),p;if(null===t||32===t||41===t||_t(t))return n(t);return e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t)};function p(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),p(t)):null===t||60===t||function(e){return null!==e&&e<-2}(t)?n(t):(e.consume(t),92===t?h:f)}function h(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function d(o){return u||null!==o&&41!==o&&!function(e){return null!==e&&(e<0||32===e)}(o)?u<l&&40===o?(e.consume(o),u++,d):41===o?(e.consume(o),u--,d):null===o||32===o||40===o||_t(o)?n(o):(e.consume(o),92===o?m:d):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),d):d(t)}}St(/[A-Za-z]/),St(/[\dA-Za-z]/),St(/[#-'*+\--9=?A-Z^-~]/);St(/\d/),St(/[\dA-Fa-f]/),St(/[!-/:-@[-`{-~]/);function bt(e){return null!==e&&e<-2}St(/\p{P}|\p{S}/u),St(/\s/);function St(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Ct(e,t,n,r,o,i){const s=this;let a,c=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),l};function l(p){return c>999||null===p||91===p||93===p&&!a||94===p&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):93===p?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):bt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||bt(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a||(a=!function(e){return-2===e||-1===e||32===e}(t)),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}Ot(/[A-Za-z]/),Ot(/[\dA-Za-z]/),Ot(/[#-'*+\--9=?A-Z^-~]/);Ot(/\d/),Ot(/[\dA-Fa-f]/),Ot(/[!-/:-@[-`{-~]/);function It(e){return null!==e&&e<-2}function kt(e){return-2===e||-1===e||32===e}Ot(/\p{P}|\p{S}/u),Ot(/\s/);function Ot(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Nt(e,t,n,r,o,i){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),c(n))}function c(t){return t===s?(e.exit(i),a(s)):null===t?n(t):It(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),function(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return kt(r)?(e.enter(n),s(r)):t(r)};function s(r){return kt(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===s||null===t||It(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===s||92===t?(e.consume(t),l):l(t)}}Dt(/[A-Za-z]/),Dt(/[\dA-Za-z]/),Dt(/[#-'*+\--9=?A-Z^-~]/);Dt(/\d/),Dt(/[\dA-Fa-f]/),Dt(/[!-/:-@[-`{-~]/);function vt(e){return-2===e||-1===e||32===e}Dt(/\p{P}|\p{S}/u),Dt(/\s/);function Dt(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Rt(e,t){let n;return function r(o){if(function(e){return null!==e&&e<-2}(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(vt(o))return function(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return vt(r)?(e.enter(n),s(r)):t(r)};function s(r){return vt(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Pt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Lt={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Ct.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Pt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return et(t)?Rt(e,a)(t):a(t)}function a(t){return yt(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(xt,l,l)(t)}function l(t){return tt(t)?rt(e,u,"whitespace")(t):u(t)}function u(i){return null===i||Je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},xt={partial:!0,tokenize:function(e,t,n){return function(t){return et(t)?Rt(e,r)(t):n(t)};function r(t){return Nt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return tt(t)?rt(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Je(e)?t(e):n(e)}}};const Mt={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),rt(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):Je(t)?e.attempt(wt,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},wt={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):rt(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Je(e)?o(e):n(e)}}};const Bt={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},De(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||et(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):tt(n)?rt(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||et(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}}};const Ft={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=s;return e.push(["exit",s,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),tt(t)?rt(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const Ht=["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"],Ut=["pre","script","style","textarea"],jt={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););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));return e},tokenize:function(e,t,n){const r=this;let o,i,s,a,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),o=3,r.interrupt?t:x):Ve(a)?(e.consume(a),s=String.fromCharCode(a),d):n(a)}function u(i){return 45===i?(e.consume(i),o=2,p):91===i?(e.consume(i),o=5,a=0,f):Ve(i)?(e.consume(i),o=4,r.interrupt?t:x):n(i)}function p(o){return 45===o?(e.consume(o),r.interrupt?t:x):n(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:k:f):n(o)}function h(t){return Ve(t)?(e.consume(t),s=String.fromCharCode(t),d):n(t)}function d(a){if(null===a||47===a||62===a||et(a)){const c=47===a,l=s.toLowerCase();return c||i||!Ut.includes(l)?Ht.includes(s.toLowerCase())?(o=6,c?(e.consume(a),m):r.interrupt?t(a):k(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?E(a):g(a)):(o=1,r.interrupt?t(a):k(a))}return 45===a||We(a)?(e.consume(a),s+=String.fromCharCode(a),d):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:k):n(o)}function E(t){return tt(t)?(e.consume(t),E):C(t)}function g(t){return 47===t?(e.consume(t),C):58===t||95===t||Ve(t)?(e.consume(t),T):tt(t)?(e.consume(t),g):C(t)}function T(t){return 45===t||46===t||58===t||95===t||We(t)?(e.consume(t),T):_(t)}function _(t){return 61===t?(e.consume(t),A):tt(t)?(e.consume(t),_):g(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,y):tt(t)?(e.consume(t),A):b(t)}function y(t){return t===c?(e.consume(t),c=null,S):null===t||Je(t)?n(t):(e.consume(t),y)}function b(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||et(t)?_(t):(e.consume(t),b)}function S(e){return 47===e||62===e||tt(e)?g(e):n(e)}function C(t){return 62===t?(e.consume(t),I):n(t)}function I(t){return null===t||Je(t)?k(t):tt(t)?(e.consume(t),I):n(t)}function k(t){return 45===t&&2===o?(e.consume(t),D):60===t&&1===o?(e.consume(t),R):62===t&&4===o?(e.consume(t),M):63===t&&3===o?(e.consume(t),x):93===t&&5===o?(e.consume(t),L):!Je(t)||6!==o&&7!==o?null===t||Je(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),k):(e.exit("htmlFlowData"),e.check(Gt,w,O)(t))}function O(t){return e.check(zt,N,w)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),v}function v(t){return null===t||Je(t)?O(t):(e.enter("htmlFlowData"),k(t))}function D(t){return 45===t?(e.consume(t),x):k(t)}function R(t){return 47===t?(e.consume(t),s="",P):k(t)}function P(t){if(62===t){const n=s.toLowerCase();return Ut.includes(n)?(e.consume(t),M):k(t)}return Ve(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),P):k(t)}function L(t){return 93===t?(e.consume(t),x):k(t)}function x(t){return 62===t?(e.consume(t),M):45===t&&2===o?(e.consume(t),x):k(t)}function M(t){return null===t||Je(t)?(e.exit("htmlFlowData"),w(t)):(e.consume(t),M)}function w(n){return e.exit("htmlFlow"),t(n)}}},Gt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ot,t,n)}}},zt={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(Je(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const Yt={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},qt={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),c}function c(t){return e.enter("codeFencedFence"),tt(t)?rt(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===i?(o++,e.consume(t),u):o>=a?(e.exit("codeFencedFenceSequence"),tt(t)?rt(e,p,"whitespace")(t):p(t)):n(t)}function p(r){return null===r||Je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===i?(a++,e.consume(t),c):a<3?n(t):(e.exit("codeFencedFenceSequence"),tt(t)?rt(e,l,"whitespace")(t):l(t))}function l(n){return null===n||Je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Yt,h,T)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):tt(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),rt(e,p,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function p(t){return null===t||Je(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===i?n(t):(e.consume(t),f)}function h(t){return e.attempt(o,T,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&tt(t)?rt(e,E,"linePrefix",s+1)(t):E(t)}function E(t){return null===t||Je(t)?e.check(Yt,h,T)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||Je(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),g)}function T(n){return e.exit("codeFenced"),t(n)}}};const $t=document.createElement("i");function Vt(e){const t="&"+e+";";$t.innerHTML=t;const n=$t.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Wt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=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"),c):(e.enter("characterReferenceValue"),o=31,i=We,l(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Ke,l):(e.enter("characterReferenceValue"),o=7,i=Xe,l(t))}function l(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==We||Vt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<o?(e.consume(a),l):n(a)}}};const Qt={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 Ze(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const Xt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),rt(e,t,"linePrefix")}}};function Kt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Zt={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}e.length!==n.length&&De(e,0,e.length,n);return e},resolveTo:function(e,t){let n,r,o,i,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=s);const c={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[r][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[o-2][1].start}};return i=[["enter",c,t],["enter",l,t]],i=Re(i,e.slice(r+1,r+a+3)),i=Re(i,[["enter",u,t]]),i=Re(i,Kt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=Re(i,[["exit",u,t],e[o-2],e[o-1],["exit",l,t]]),i=Re(i,e.slice(o+1)),i=Re(i,[["exit",c,t]]),De(e,r,e.length,i),e},tokenize:function(e,t,n){const r=this;let o,i,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){o=r.events[s][1];break}return function(t){if(!o)return n(t);if(o._inactive)return u(t);return i=r.parser.defined.includes(Pt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(Jt,l,i?l:u)(t):91===t?e.attempt(en,l,i?c:u)(t):i?l(t):u(t)}function c(t){return e.attempt(tn,l,u)(t)}function l(e){return t(e)}function u(e){return o._balanced=!0,n(e)}}},Jt={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 et(t)?Rt(e,o)(t):o(t)}function o(t){return 41===t?l(t):yt(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return et(t)?Rt(e,a)(t):l(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?Nt(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function c(t){return et(t)?Rt(e,l)(t):l(t)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},en={tokenize:function(e,t,n){const r=this;return function(t){return Ct.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Pt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},tn={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)}}};const nn={name:"labelStartImage",resolveAll:Zt.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};sn(/[A-Za-z]/),sn(/[\dA-Za-z]/),sn(/[#-'*+\--9=?A-Z^-~]/);sn(/\d/),sn(/[\dA-Fa-f]/),sn(/[!-/:-@[-`{-~]/);const rn=sn(/\p{P}|\p{S}/u),on=sn(/\s/);function sn(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function an(e){return null===e||function(e){return null!==e&&(e<0||32===e)}(e)||on(e)?1:rn(e)?2:void 0}const cn={name:"attention",resolveAll:function(e,t){let n,r,o,i,s,a,c,l,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const p={...e[n][1].end},f={...e[u][1].start};ln(p,-a),ln(f,a),i={type:a>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:f},o={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:a>1?"strong":"emphasis",start:{...i.start},end:{...s.end}},e[n][1].end={...i.start},e[u][1].start={...s.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=Re(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=Re(c,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),c=Re(c,Kt(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=Re(c,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(l=2,c=Re(c,[["enter",e[u][1],t],["exit",e[u][1],t]])):l=0,De(e,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=an(r);let i;return function(t){return i=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===i)return e.consume(a),s;const c=e.exit("attentionSequence"),l=an(a),u=!l||2===l&&o||n.includes(a),p=!o||2===o&&l||n.includes(r);return c._open=Boolean(42===i?u:u&&(o||!p)),c._close=Boolean(42===i?p:p&&(l||!u)),t(a)}}};function ln(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const un={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"),o};function o(t){return Ve(t)?(e.consume(t),i):64===t?n(t):c(t)}function i(e){return 43===e||45===e||46===e||We(e)?(r=1,s(e)):c(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||We(t))&&r++<32?(e.consume(t),s):(r=0,c(t))}function a(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||function(e){return null!==e&&(e<32||127===e)}(r)?n(r):(e.consume(r),a)}function c(t){return 64===t?(e.consume(t),l):Qe(t)?(e.consume(t),c):n(t)}function l(e){return We(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,l):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):p(n)}function p(t){if((45===t||We(t))&&r++<63){const n=45===t?p:u;return e.consume(t),n}return n(t)}}};const pn={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),A):63===t?(e.consume(t),T):Ve(t)?(e.consume(t),S):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,h):Ve(t)?(e.consume(t),g):n(t)}function l(t){return 45===t?(e.consume(t),f):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),p):Je(t)?(s=u,P(t)):(e.consume(t),u)}function p(t){return 45===t?(e.consume(t),f):u(t)}function f(e){return 62===e?R(e):45===e?p(e):u(e)}function h(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?d:h):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):Je(t)?(s=d,P(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),E):d(t)}function E(t){return 62===t?R(t):93===t?(e.consume(t),E):d(t)}function g(t){return null===t||62===t?R(t):Je(t)?(s=g,P(t)):(e.consume(t),g)}function T(t){return null===t?n(t):63===t?(e.consume(t),_):Je(t)?(s=T,P(t)):(e.consume(t),T)}function _(e){return 62===e?R(e):T(e)}function A(t){return Ve(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||We(t)?(e.consume(t),y):b(t)}function b(t){return Je(t)?(s=b,P(t)):tt(t)?(e.consume(t),b):R(t)}function S(t){return 45===t||We(t)?(e.consume(t),S):47===t||62===t||et(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),R):58===t||95===t||Ve(t)?(e.consume(t),I):Je(t)?(s=C,P(t)):tt(t)?(e.consume(t),C):R(t)}function I(t){return 45===t||46===t||58===t||95===t||We(t)?(e.consume(t),I):k(t)}function k(t){return 61===t?(e.consume(t),O):Je(t)?(s=k,P(t)):tt(t)?(e.consume(t),k):C(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,N):Je(t)?(s=O,P(t)):tt(t)?(e.consume(t),O):(e.consume(t),v)}function N(t){return t===o?(e.consume(t),o=void 0,D):null===t?n(t):Je(t)?(s=N,P(t)):(e.consume(t),N)}function v(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||et(t)?C(t):(e.consume(t),v)}function D(e){return 47===e||62===e||et(e)?C(e):n(e)}function R(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function P(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return tt(t)?rt(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):x(t)}function x(t){return e.enter("htmlTextData"),s(t)}}};const fn={name:"labelStartLink",resolveAll:Zt.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};const hn={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Je(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const dn={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,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++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,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,l(t)):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||Je(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",c(n))}}};const mn={42:mt,43:mt,45:mt,48:mt,49:mt,50:mt,51:mt,52:mt,53:mt,54:mt,55:mt,56:mt,57:mt,62:Tt},En={91:Lt},gn={[-2]:Mt,[-1]:Mt,32:Mt},Tn={35:Bt,42:dt,45:[Ft,dt],60:jt,61:Ft,95:dt,96:qt,126:qt},_n={38:Wt,92:Qt},An={[-5]:Xt,[-4]:Xt,[-3]:Xt,33:nn,38:Wt,42:cn,60:[un,pn],91:fn,92:[hn,Qt],93:Zt,95:cn,96:dn},yn={null:[cn,ct]},bn={null:[42,95]},Sn={null:[]};function Cn(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let s=[],a=[],c=!0;const l={attempt:T(function(e,t){_(e,t.from)}),check:T(g),consume:function(e){Ue(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,A()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=e,c=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=d(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=d(),u.events.push(["exit",t,u]),t},interrupt:T(g,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,A()},events:[],now:d,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if("string"==typeof i)s=i;else switch(i){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&o)continue;s=" ";break;default:s=String.fromCharCode(i)}o=-2===i,r.push(s)}return r.join("")}(h(e),t)},sliceStream:h,write:function(e){if(s=Re(s,e),m(),null!==s[s.length-1])return[];return _(t,0),u.events=Kt(i,u.events,u),u.events}};let p,f=t.tokenize.call(u,l);return t.resolveAll&&i.push(t),u;function h(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function d(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:i}}function m(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)E(t.charCodeAt(r._bufferIndex));else E(t)}}function E(e){c=void 0,p=e,f=f(e)}function g(e,t){t.restore()}function T(e,t){return function(n,o,i){let s,p,f,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return s=e,p=0,0===e.length?i:E(e[p])}function E(e){return function(n){h=function(){const e=d(),t=u.previous,n=u.currentConstruct,o=u.events.length,i=Array.from(a);return{from:o,restore:s};function s(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=o,a=i,A()}}(),f=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return T(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,g,T)(n)}}function g(t){return c=!0,e(f,h),o}function T(e){return c=!0,h.restore(),++p<s.length?E(s[p]):i}}}function _(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&De(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function A(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const In=/[\0\t\n\r]/g;function kn(e,t){const 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)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const On=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Nn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return kn(n.slice(t?2:1),t?16:10)}return Vt(n)||e}const vn={}.hasOwnProperty;function Dn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(te),autolinkProtocol:I,autolinkEmail:I,atxHeading:i(K),blockQuote:i($),characterEscape:I,characterReference:I,codeFenced:i(V),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(V,s),codeText:i(W,s),codeTextData:I,data:I,codeFlowValue:I,definition:i(Q),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(X),hardBreakEscape:i(Z),hardBreakTrailing:i(Z),htmlFlow:i(J,s),htmlFlowData:I,htmlText:i(J,s),htmlTextData:I,image:i(ee),label:s,link:i(te),listItem:i(oe),listItemValue:f,listOrdered:i(ne,p),listUnordered:i(ne),paragraph:i(ie),reference:H,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(K),strong:i(se),thematicBreak:i(ce)},exit:{atxHeading:c(),atxHeadingSequence:y,autolink:c(),autolinkEmail:q,autolinkProtocol:Y,blockQuote:c(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:j,characterReferenceMarkerNumeric:j,characterReferenceValue:G,characterReference:z,codeFenced:c(E),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:d,codeFlowValue:k,codeIndented:c(g),codeText:c(R),codeTextData:k,data:k,definition:c(),definitionDestinationString:A,definitionLabelString:T,definitionTitleString:_,emphasis:c(),hardBreakEscape:c(N),hardBreakTrailing:c(N),htmlFlow:c(v),htmlFlowData:k,htmlText:c(D),htmlTextData:k,image:c(L),label:M,labelText:x,lineEnding:O,link:c(P),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:U,resourceDestinationString:w,resourceTitleString:B,resource:F,setextHeading:c(C),setextHeadingLineSequence:S,setextHeadingText:b,strong:c(),thematicBreak:c()}};Pn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:l,buffer:s,resume:u,data:n},c=[];let p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])c.push(p);else{p=o(e,c.pop(),p)}for(p=-1;++p<e.length;){const n=t[e[p][0]];vn.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},i),e[p][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||xn).call(i,void 0,e[0])}for(r.position={start:Rn(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Rn(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r}function o(e,t,n){let r,o,i,s,a=t-1,c=-1,l=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?c++:c--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||c||i||(i=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!c&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===c&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(o=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",l=!0),t[1].type="lineEnding",o=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,s=!0}}}return e[t][1]._spread=l,n}function i(e,t){return n;function n(n){a.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(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:Rn(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+re({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||xn).call(this,e,r[0])}n.position.end=Rn(e.end)}function u(){return Oe(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function d(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function T(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Pt(this.sliceSerialize(e)).toLowerCase()}function _(){const e=this.resume();this.stack[this.stack.length-1].title=e}function A(){const e=this.resume();this.stack[this.stack.length-1].url=e}function y(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function b(){this.data.setextHeadingSlurpLineEnding=!0}function S(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function C(){this.data.setextHeadingSlurpLineEnding=void 0}function I(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ae(),n.position={start:Rn(e.start),end:void 0},t.push(n)),this.stack.push(n)}function k(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Rn(e.end)}function O(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=Rn(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(I.call(this,e),k.call(this,e))}function N(){this.data.atHardBreak=!0}function v(){const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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}function L(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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}function x(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(On,Nn)}(t),n.identifier=Pt(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function w(){const e=this.resume();this.stack[this.stack.length-1].url=e}function B(){const e=this.resume();this.stack[this.stack.length-1].title=e}function F(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function U(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Pt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function j(e){this.data.characterReferenceType=e.type}function G(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=kn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Vt(t)}this.stack[this.stack.length-1].value+=r}function z(e){this.stack.pop().position.end=Rn(e.end)}function Y(e){k.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){k.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function $(){return{type:"blockquote",children:[]}}function V(){return{type:"code",lang:null,meta:null,value:""}}function W(){return{type:"inlineCode",value:""}}function Q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function K(){return{type:"heading",depth:0,children:[]}}function Z(){return{type:"break"}}function J(){return{type:"html",value:""}}function ee(){return{type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",title:null,url:"",children:[]}}function ne(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ie(){return{type:"paragraph",children:[]}}function se(){return{type:"strong",children:[]}}function ae(){return{type:"text",value:""}}function ce(){return{type:"thematicBreak"}}}(n)(function(e){for(;!xe(e););return e}(function(e){const t={constructs:Be([o,...(e||{}).extensions||[]]),content:n(Ye),defined:[],document:n(qe),flow:n(at),lazy:{},string:n(lt),text:n(ut)};return t;function n(e){return function(n){return Cn(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,s){const a=[];let c,l,u,p,f;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(In.lastIndex=u,c=In.exec(o),p=c&&void 0!==c.index?c.index:o.length,f=o.charCodeAt(p),!c){n=o.slice(u);break}if(10===f&&u===p&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),u<p&&(a.push(o.slice(u,p)),t+=p-u),f){case 0:a.push(65533),t++;break;case 9:for(l=4*Math.ceil(t/4),a.push(-2);t++<l;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}u=p+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function Rn(e){return{line:e.line,column:e.column,offset:e.offset}}function Pn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Pn(e,r):Ln(e,r)}}function Ln(e,t){let n;for(n in t)if(vn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function xn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+re({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+re({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+re({start:t.start,end:t.end})+") is still open")}function Mn(e){const t=this;t.parser=function(n){return Dn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const wn="object"==typeof self?self:globalThis,Bn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new wn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:e}=new Uint8Array(s);return n(new DataView(e),s)}}return n(new wn[i](s),o)};return r})(new Map,e)(0),Fn="",{toString:Hn}={},{keys:Un}=Object,jn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Hn.call(e).slice(8,-1);switch(n){case"Array":return[1,Fn];case"Object":return[2,Fn];case"Date":return[3,Fn];case"RegExp":return[4,Fn];case"Map":return[5,Fn];case"Set":return[6,Fn];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Gn=([e,t])=>0===e&&("function"===t||"symbol"===t),zn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=jn(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a){let e=r;return"DataView"===a?e=new Uint8Array(r.buffer):"ArrayBuffer"===a&&(e=new Uint8Array(r)),o([a,[...e]],r)}const e=[],t=o([s,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],c=o([s,n],r);for(const t of Un(r))!e&&Gn(jn(r[t]))||n.push([i(t),i(r[t])]);return c}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[o,s]of r)(e||!Gn(jn(o))&&!Gn(jn(s)))&&t.push([i(o),i(s)]);return n}case 6:{const t=[],n=o([s,t],r);for(const o of r)!e&&Gn(jn(o))||t.push(i(o));return n}}const{message:c}=r;return o([s,{name:a,message:c}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Yn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Bn(zn(e,t)):structuredClone(e):(e,t)=>Bn(zn(e,t)),qn=($n(/[A-Za-z]/),$n(/[\dA-Za-z]/));$n(/[#-'*+\--9=?A-Z^-~]/);$n(/\d/),$n(/[\dA-Fa-f]/),$n(/[!-/:-@[-`{-~]/);$n(/\p{P}|\p{S}/u),$n(/\s/);function $n(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Vn(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(37===i&&qn(e.charCodeAt(n+1))&&qn(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="\ufffd"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Wn(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Qn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Xn=function(e){if(null==e)return Zn;if("function"==typeof e)return Kn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Xn(e[n]);return Kn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Kn(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Kn(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Kn(e){return function(t,n,r){return Boolean(Jn(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Zn(){return!0}function Jn(e){return null!==e&&"object"==typeof e&&"type"in e}const er=[],tr=!0,nr=!1;function rr(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Xn(o),s=r?-1:1;!function e(o,a,c){const l=o&&"object"==typeof o?o:{};if("string"==typeof l.type){const e="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let l,u,p,f=er;if((!t||i(o,a,c[c.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[tr,e];return null==e?er:[e]}(n(o,c)),f[0]===nr))return f;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==f[0])for(u=(r?t.children.length:-1)+s,p=c.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(l=e(n,u,p)(),l[0]===nr)return l;u="number"==typeof l[1]?l[1]:u+s}}return f}}(e,void 0,[])()}function or(e,t,n,r){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=r),rr(e,i,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},o)}function ir(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&"text"===s.type?s.value+=r:o.push({type:"text",value:r}),o}function sr(e){const t=e.spread;return null==t?e.children.length>1:t}function ar(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(cr(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(cr(t.slice(o),o>0,!1)),i.join("")}function cr(e,t,n){let r=0,o=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(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const lr={blockquote:function(e,t){const 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){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Vn(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const 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){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ir(e,t);const o={src:Vn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Vn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ir(e,t);const o={href:Vn(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Vn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const 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){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=sr(n[r])}return t}(n):sr(t),i={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?s.push(e):s.push(...e.children)}const c=r[r.length-1];c&&(o||"element"!==c.type||"p"!==c.tagName)&&s.push({type:"text",value:"\n"});const l={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,l),e.applyData(t,l)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];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}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=te(t.children[1]),s=ee(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const c=[];for(;++a<s;){const n=t.children[a],r={},s=i?i[a]:void 0;s&&(r.align=s);let l={type:"element",tagName:o,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}const l={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)},text:function(e,t){const n={type:"text",value:ar(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:ur,yaml:ur,definition:ur,footnoteDefinition:ur};function ur(){}const pr={}.hasOwnProperty,fr={};function hr(e,t){e.position&&(t.position=function(e){const t=te(e),n=ee(e);if(t&&n)return{start:t,end:n}}(e))}function dr(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Yn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function mr(e,t){const n=t.data||{},r=!("value"in t)||pr.call(n,"hProperties")||pr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Er(e,t){const n=[];let 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 gr(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Tr(e,t){const n=function(e,t){const n=t||fr,r=new Map,o=new Map,i=new Map,s={...lr,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=gr(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=gr(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:dr,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:function(e,t){const n=e.type,r=a.handlers[n];if(pr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Yn(n);return r.children=a.all(e),r}return Yn(e)}return(a.options.unknownHandler||mr)(a,e,t)},options:n,patch:hr,wrap:Er};return or(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Wn,r=e.options.footnoteBackLabel||Qn,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let c=-1;for(;++c<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[c]);if(!o)continue;const i=e.all(o),s=String(o.identifier).toUpperCase(),l=Vn(s.toLowerCase());let u=0;const p=[],f=e.footnoteCounts.get(s);for(;void 0!==f&&++u<=f;){p.length>0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(c,u);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...p)}else i.push(...p);const d={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(i,!0)};e.patch(o,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Yn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function _r(e,t){return e&&"run"in e?async function(n,r){const o=Tr(n,{file:r,...t});await e.run(o,r)}:function(n,r){return Tr(n,{file:r,...e||t})}}function Ar(e){if(e)throw e}var yr=n(92849);function br(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Sr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let c=-1;if(i)r(i);else{for(;++c<t.length;)null!==s[c]&&void 0!==s[c]||(s[c]=t[c]);t=s,a?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(a&&a.then&&"function"==typeof a.then?a.then(s,o):a instanceof Error?o(a):s(a))}function o(e,...r){n||(n=!0,t(e,...r))}function s(e){o(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const Cr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Ir(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));r===o?o=s:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(Ir(e),0===e.length)return".";let t,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)},extname:function(e){Ir(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===s||1===s&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)Ir(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Ir(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,s=-1,a=0,c=-1;for(;++c<=e.length;){if(c<e.length)n=e.codePointAt(c);else{if(47===n)break;n=47}if(47===n){if(s===c-1||1===a);else if(s!==c-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=c,a=0;continue}}else if(o.length>0){o="",i=0,s=c,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,c):o=e.slice(s+1,c),i=c-s-1;s=c,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Ir(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const kr={cwd:function(){return"/"}};function Or(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Nr(e){if("string"==typeof e)e=new URL(e);else if(!Or(e)){const t=new 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){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const vr=["history","path","basename","stem","extname","dirname"];class Dr{constructor(e){let t;t=e?Or(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":kr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<vr.length;){const e=vr[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)vr.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Cr.basename(this.path):void 0}set basename(e){Pr(e,"basename"),Rr(e,"basename"),this.path=Cr.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Cr.dirname(this.path):void 0}set dirname(e){Lr(this.basename,"dirname"),this.path=Cr.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?Cr.extname(this.path):void 0}set extname(e){if(Rr(e,"extname"),Lr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Cr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Or(e)&&(e=Nr(e)),Pr(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Cr.basename(this.path,this.extname):void 0}set stem(e){Pr(e,"stem"),Rr(e,"stem"),this.path=Cr.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new ae(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){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function Rr(e,t){if(e&&e.includes(Cr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Cr.sep+"`")}function Pr(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Lr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const xr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},Mr={}.hasOwnProperty;class wr extends xr{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=Sr()}copy(){const e=new wr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(yr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Ur("data",this.frozen),this.namespace[e]=t,this):Mr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ur("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=zr(e),n=this.parser||this.Parser;return Fr("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Fr("process",this.parser||this.Parser),Hr("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=zr(e),s=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(s,i,function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var s;"string"==typeof(s=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=i:r.result=i,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),Fr("processSync",this.parser||this.Parser),Hr("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,Ar(e),t=r}),Gr("processSync","process",n),t}run(e,t,n){jr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const s=zr(t);r.run(e,s,function(t,r,s){const a=r||e;t?i(t):o?o(a):n(void 0,a,s)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){Ar(e),n=t,r=!0}),Gr("runSync","run",r),n}stringify(e,t){this.freeze();const n=zr(t),r=this.compiler||this.Compiler;return Hr("stringify",r),jr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Ur("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new 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");s(e.plugins),e.settings&&(r.settings=yr(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const s=n[o][1];br(s)&&br(r)&&(r=yr(!0,s,r)),n[o]=[e,r,...i]}}}}const Br=(new wr).freeze();function Fr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Hr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ur(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function jr(e){if(!br(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Gr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function zr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Dr(e)}const Yr=[],qr={allowDangerousHtml:!0},$r=/^(https?|ircs?|mailto|xmpp)$/i,Vr=[{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:"className",id:"remove-classname"},{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 Wr(e){const t=Qr(e),n=Xr(e);return Kr(t.runSync(t.parse(n),n),e)}function Qr(e){const t=e.rehypePlugins||Yr,n=e.remarkPlugins||Yr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...qr}:qr;return Br().use(Mn).use(n).use(_r,r).use(t)}function Xr(e){const t=e.children||"",n=new Dr;return"string"==typeof t&&(n.value=t),n}function Kr(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,s=t.skipHtml,a=t.unwrapDisallowed,l=t.urlTransform||Zr;for(const u of Vr)Object.hasOwn(t,u.from)&&c((u.from,u.to&&u.to,u.id));return or(e,function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return s?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in Ce)if(Object.hasOwn(Ce,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Ce[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let s=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!s&&r&&"number"==typeof t&&(s=!r(e,t,o)),s&&o&&"number"==typeof t)return a&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}}),de(e,{Fragment:Ie.Fragment,components:o,ignoreInvalidStyle:!0,jsx:Ie.jsx,jsxs:Ie.jsxs,passKeys:!0,passNode:!0})}function Zr(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||$r.test(e.slice(0,t))?e:""}const Jr=/[#.]/g;function eo(e,t,n){const r=n?function(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,o,...i){let s;if(null==n){s={type:"root",children:[]};const e=o;i.unshift(e)}else{s=function(e,t){const n=e||"",r={};let o,i,s=0;for(;s<n.length;){Jr.lastIndex=s;const e=Jr.exec(n),t=n.slice(s,e?e.index:n.length);t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,s+=t.length),e&&(o=e[0],s++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}(n,t);const a=s.tagName.toLowerCase(),c=r?r.get(a):void 0;if(s.tagName=c||a,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;const t=e,n=Object.keys(e);for(const r of n){const e=t[r];if(e&&"object"==typeof e){if(!Array.isArray(e))return!0;const t=e;for(const e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}if("children"in e&&Array.isArray(e.children))return!0;return!1}(o))i.unshift(o);else for(const[t,n]of Object.entries(o))to(e,s.properties,t,n)}for(const e of i)no(s.children,e);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function to(e,t,n,r){const o=V(e,n);let i;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?K(r):o.commaSeparated?l(r):o.commaOrSpaceSeparated?K(l(r).join(" ")):ro(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(const t of i)e.push(ro(o,o.property,t));i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}function no(e,t){if(null==t);else if("number"==typeof t||"string"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)no(e,n);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?no(e,t.children):e.push(t)}}function ro(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||_(n)===_(t)))return!0}return n}const oo=eo(G,"div"),io=eo(z,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function so(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return-1===r?n:-1===n||n+1===r?r:n<r?n:r}const ao={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},co={}.hasOwnProperty,lo=Object.prototype;function uo(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},fo(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:po(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){const e=n[n.length-1],r=so(t,e),o=-1===r?t.length+1:r+1;if(e===o)break;n.push(o)}const r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let o=n[r];if(void 0===o){const e=so(t,n[r-1]);o=-1===e?t.length+1:e+1,n[r]=o}if(o>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}case"#documentType":return n={type:"doctype"},fo(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},fo(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===ao.svg?z:G;let r=-1;const o={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;co.call(lo,n)||(o[n]=e.value)}const i="svg"===e.schema.space?io:oo,s=i(t.tagName,o,po(e,t.childNodes));if(fo(e,t,s),"template"===s.tagName){const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&ho(r.startTag),i=r&&r.endTag&&ho(r.endTag),a=uo(e,n.content);o&&i&&e.file&&(a.position={start:o.end,end:i.start}),s.content=a}return e.schema=n,s}(e,t),n}}function po(e,t){let n=-1;const r=[];for(;++n<t.length;){const o=uo(e,t[n]);r.push(o)}return r}function fo(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=function(e,t,n){const r=ho(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;if(n.attrs)for(o in n.attrs)co.call(n.attrs,o)&&(r[V(e.schema,o).property]=ho(n.attrs[o]));n.startTag;const i=ho(n.startTag),s=n.endTag?ho(n.endTag):void 0,a={opening:i};s&&(a.closing=s),a.properties=r,t.data={position:a}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function ho(e){const t=mo({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=mo({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function mo(e){return e.line&&e.column?e:void 0}const Eo={}.hasOwnProperty;function go(e,t){const n=t||{};function r(t,...n){let o=r.invalid;const i=r.handlers;if(t&&Eo.call(t,e)){const n=String(t[e]);o=Eo.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const To={},_o={}.hasOwnProperty,Ao=go("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=bo(e.children,n,t),So(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=z);const o=[];let i;if(e.properties)for(i in e.properties)if("children"!==i&&_o.call(e.properties,i)){const t=yo(r,i,e.properties[i]);t&&o.push(t)}const s=r.space;const a={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:ao[s],childNodes:[],parentNode:null};a.childNodes=bo(e.children,a,r),So(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=bo(e.children,n,t),So(e,n),n}(e.content,r));return a},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return So(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return So(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return So(e,t),t}}});function yo(e,t,n){const r=V(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?u(n):Z(n));const o={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=o.name.indexOf(":");e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),o.namespace=ao[r.space]}return o}function bo(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const i=Ao(e[r],n);i.parentNode=t,o.push(i)}return o}function So(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Co=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Io=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ko="\ufffd";var Oo;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(Oo||(Oo={}));const No="--",vo="[CDATA[",Do="doctype",Ro="script",Po="public",Lo="system";function xo(e){return e>=55296&&e<=57343}function Mo(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function wo(e){return e>=64976&&e<=65007||Io.has(e)}var Bo;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(Bo||(Bo={}));class Fo{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:n,col:r,offset:o}=this,i=r+t,s=o+t;return{code:e,startLine:n,endLine:n,startCol:i,endCol:i,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Oo.EOF;return this._err(Bo.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++){if((32|this.html.charCodeAt(this.pos+n))!==e.charCodeAt(n))return!1}return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Oo.EOF;const n=this.html.charCodeAt(t);return n===Oo.CARRIAGE_RETURN?Oo.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Oo.EOF;let e=this.html.charCodeAt(this.pos);if(e===Oo.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,Oo.LINE_FEED;if(e===Oo.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,xo(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===Oo.LINE_FEED||e===Oo.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){Mo(e)?this._err(Bo.controlCharacterInInputStream):wo(e)&&this._err(Bo.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ho;function Uo(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(Ho||(Ho={}));const jo=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\ud835\udd04rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\ud835\udd38plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\ud835\udc9cign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\ud835\udd05pf;\uc000\ud835\udd39eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\ud835\udc9ep\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\ud835\udd07\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\ud835\udd3b\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\ud835\udc9frok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\ud835\udd08rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\ud835\udd3csilon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\ud835\udd09lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\ud835\udd3dAll;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\ud835\udd0a;\u62d9pf;\uc000\ud835\udd3eeater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\ud835\udca2;\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\ud835\udd40a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\ud835\udd0dpf;\uc000\ud835\udd41\u01e3\u07c7\0\u07ccr;\uc000\ud835\udca5rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\ud835\udd0epf;\uc000\ud835\udd42cr;\uc000\ud835\udca6\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\ud835\udd0f\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\ud835\udd43er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\ud835\udd10nusPlus;\u6213pf;\uc000\ud835\udd44c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\ud835\udd11\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\ud835\udca9ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\ud835\udd12rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\ud835\udd46enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\ud835\udcaaash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\ud835\udd13i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\ud835\udcab;\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\ud835\udd14pf;\u611acr;\uc000\ud835\udcac\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\ud835\udd16ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\ud835\udd4a\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\ud835\udcaear;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\ud835\udd17\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\ud835\udd4bipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\ud835\udcafrok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\ud835\udd18rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\ud835\udd4c\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\ud835\udcb0ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\ud835\udd19pf;\uc000\ud835\udd4dcr;\uc000\ud835\udcb1dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\ud835\udd1apf;\uc000\ud835\udd4ecr;\uc000\ud835\udcb2\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\ud835\udd1b;\u439epf;\uc000\ud835\udd4fcr;\uc000\ud835\udcb3\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\ud835\udd1cpf;\uc000\ud835\udd50cr;\uc000\ud835\udcb4ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\ud835\udcb5\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\ud835\udd1erave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\ud835\udd52\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\ud835\udcb6;\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\ud835\udd1fg\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\ud835\udd53\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\ud835\udcb7mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\ud835\udd20\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\ud835\udd54o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\ud835\udcb8\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\ud835\udd21ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\ud835\udd55\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\ud835\udcb9;\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\ud835\udd22\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\ud835\udd56\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\ud835\udd23lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\ud835\udd57\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\ud835\udcbb\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\ud835\udd24\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\ud835\udd58\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\ud835\udd25s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\ud835\udd59bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\ud835\udcbdas\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\ud835\udd26rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\ud835\udd5aa;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\ud835\udcben\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\ud835\udd27ath;\u4237pf;\uc000\ud835\udd5b\u01e3\u23ec\0\u23f1r;\uc000\ud835\udcbfrcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\ud835\udd28reen;\u4138cy;\u4445cy;\u445cpf;\uc000\ud835\udd5ccr;\uc000\ud835\udcc0\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\ud835\udd29\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\ud835\udd5dus;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\ud835\udcc1m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\ud835\udd2ao;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\ud835\udd5e\u0100ct\u28f8\u28fdr;\uc000\ud835\udcc2pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\ud835\udd2b\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\ud835\udd5f\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\ud835\udcc3ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\ud835\udd2c\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\ud835\udd60\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\ud835\udd2d\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\ud835\udd61nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\ud835\udcc5;\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\ud835\udd2epf;\uc000\ud835\udd62rime;\u6057cr;\uc000\ud835\udcc6\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\ud835\udd2f\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\ud835\udd63us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\ud835\udcc7\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\ud835\udd30\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\ud835\udd64a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\ud835\udcc8tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\ud835\udd31\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\ud835\udd65rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\ud835\udcc9;\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\ud835\udd32rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\ud835\udd66\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\ud835\udcca\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\ud835\udd33tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\ud835\udd67ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\ud835\udccb\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\ud835\udd34pf;\uc000\ud835\udd68\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\ud835\udccc\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\ud835\udd35\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\ud835\udd69im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\ud835\udccd\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\ud835\udd36cy;\u4457pf;\uc000\ud835\udd6acr;\uc000\ud835\udcce\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\ud835\udd37cy;\u4436grarr;\u61ddpf;\uc000\ud835\udd6bcr;\uc000\ud835\udccf\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(e=>e.charCodeAt(0)));var Go;const zo=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);Go=String.fromCodePoint;function Yo(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=zo.get(e))&&void 0!==t?t:e}var qo;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(qo||(qo={}));var $o,Vo,Wo;function Qo(e){return e>=qo.ZERO&&e<=qo.NINE}function Xo(e){return e>=qo.UPPER_A&&e<=qo.UPPER_F||e>=qo.LOWER_A&&e<=qo.LOWER_F}function Ko(e){return e===qo.EQUALS||function(e){return e>=qo.UPPER_A&&e<=qo.UPPER_Z||e>=qo.LOWER_A&&e<=qo.LOWER_Z||Qo(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}($o||($o={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(Vo||(Vo={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Wo||(Wo={}));class Zo{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Vo.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wo.Strict}startEntity(e){this.decodeMode=e,this.state=Vo.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Vo.EntityStart:return e.charCodeAt(t)===qo.NUM?(this.state=Vo.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Vo.NamedEntity,this.stateNamedEntity(e,t));case Vo.NumericStart:return this.stateNumericStart(e,t);case Vo.NumericDecimal:return this.stateNumericDecimal(e,t);case Vo.NumericHex:return this.stateNumericHex(e,t);case Vo.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===qo.LOWER_X?(this.state=Vo.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Vo.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+Number.parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Qo(r)&&!Xo(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Qo(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===qo.SEMI)this.consumed+=1;else if(this.decodeMode===Wo.Strict)return 0;return this.emitCodePoint(Yo(this.result),this.consumed),this.errors&&(e!==qo.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&$o.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=Jo(n,r,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return 0===this.result||this.decodeMode===Wo.Attribute&&(0===o||Ko(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&$o.VALUE_LENGTH)>>14,0!==o){if(i===qo.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Wo.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&$o.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~$o.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Vo.NamedEntity:return 0===this.result||this.decodeMode===Wo.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Vo.NumericDecimal:return this.emitNumericEntity(0,2);case Vo.NumericHex:return this.emitNumericEntity(0,3);case Vo.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Vo.EntityStart:return 0}}}function Jo(e,t,n,r){const o=(t&$o.BRANCH_LENGTH)>>7,i=t&$o.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=o?-1:e[n+t]-1}let s=n,a=s+o-1;for(;s<=a;){const t=s+a>>>1,n=e[t];if(n<r)s=t+1;else{if(!(n>r))return e[t+o];a=t-1}}return-1}var ei,ti,ni,ri,oi;!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(ei||(ei={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(ti||(ti={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(ni||(ni={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(ri||(ri={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(oi||(oi={}));const ii=new Map([[ri.A,oi.A],[ri.ADDRESS,oi.ADDRESS],[ri.ANNOTATION_XML,oi.ANNOTATION_XML],[ri.APPLET,oi.APPLET],[ri.AREA,oi.AREA],[ri.ARTICLE,oi.ARTICLE],[ri.ASIDE,oi.ASIDE],[ri.B,oi.B],[ri.BASE,oi.BASE],[ri.BASEFONT,oi.BASEFONT],[ri.BGSOUND,oi.BGSOUND],[ri.BIG,oi.BIG],[ri.BLOCKQUOTE,oi.BLOCKQUOTE],[ri.BODY,oi.BODY],[ri.BR,oi.BR],[ri.BUTTON,oi.BUTTON],[ri.CAPTION,oi.CAPTION],[ri.CENTER,oi.CENTER],[ri.CODE,oi.CODE],[ri.COL,oi.COL],[ri.COLGROUP,oi.COLGROUP],[ri.DD,oi.DD],[ri.DESC,oi.DESC],[ri.DETAILS,oi.DETAILS],[ri.DIALOG,oi.DIALOG],[ri.DIR,oi.DIR],[ri.DIV,oi.DIV],[ri.DL,oi.DL],[ri.DT,oi.DT],[ri.EM,oi.EM],[ri.EMBED,oi.EMBED],[ri.FIELDSET,oi.FIELDSET],[ri.FIGCAPTION,oi.FIGCAPTION],[ri.FIGURE,oi.FIGURE],[ri.FONT,oi.FONT],[ri.FOOTER,oi.FOOTER],[ri.FOREIGN_OBJECT,oi.FOREIGN_OBJECT],[ri.FORM,oi.FORM],[ri.FRAME,oi.FRAME],[ri.FRAMESET,oi.FRAMESET],[ri.H1,oi.H1],[ri.H2,oi.H2],[ri.H3,oi.H3],[ri.H4,oi.H4],[ri.H5,oi.H5],[ri.H6,oi.H6],[ri.HEAD,oi.HEAD],[ri.HEADER,oi.HEADER],[ri.HGROUP,oi.HGROUP],[ri.HR,oi.HR],[ri.HTML,oi.HTML],[ri.I,oi.I],[ri.IMG,oi.IMG],[ri.IMAGE,oi.IMAGE],[ri.INPUT,oi.INPUT],[ri.IFRAME,oi.IFRAME],[ri.KEYGEN,oi.KEYGEN],[ri.LABEL,oi.LABEL],[ri.LI,oi.LI],[ri.LINK,oi.LINK],[ri.LISTING,oi.LISTING],[ri.MAIN,oi.MAIN],[ri.MALIGNMARK,oi.MALIGNMARK],[ri.MARQUEE,oi.MARQUEE],[ri.MATH,oi.MATH],[ri.MENU,oi.MENU],[ri.META,oi.META],[ri.MGLYPH,oi.MGLYPH],[ri.MI,oi.MI],[ri.MO,oi.MO],[ri.MN,oi.MN],[ri.MS,oi.MS],[ri.MTEXT,oi.MTEXT],[ri.NAV,oi.NAV],[ri.NOBR,oi.NOBR],[ri.NOFRAMES,oi.NOFRAMES],[ri.NOEMBED,oi.NOEMBED],[ri.NOSCRIPT,oi.NOSCRIPT],[ri.OBJECT,oi.OBJECT],[ri.OL,oi.OL],[ri.OPTGROUP,oi.OPTGROUP],[ri.OPTION,oi.OPTION],[ri.P,oi.P],[ri.PARAM,oi.PARAM],[ri.PLAINTEXT,oi.PLAINTEXT],[ri.PRE,oi.PRE],[ri.RB,oi.RB],[ri.RP,oi.RP],[ri.RT,oi.RT],[ri.RTC,oi.RTC],[ri.RUBY,oi.RUBY],[ri.S,oi.S],[ri.SCRIPT,oi.SCRIPT],[ri.SEARCH,oi.SEARCH],[ri.SECTION,oi.SECTION],[ri.SELECT,oi.SELECT],[ri.SOURCE,oi.SOURCE],[ri.SMALL,oi.SMALL],[ri.SPAN,oi.SPAN],[ri.STRIKE,oi.STRIKE],[ri.STRONG,oi.STRONG],[ri.STYLE,oi.STYLE],[ri.SUB,oi.SUB],[ri.SUMMARY,oi.SUMMARY],[ri.SUP,oi.SUP],[ri.TABLE,oi.TABLE],[ri.TBODY,oi.TBODY],[ri.TEMPLATE,oi.TEMPLATE],[ri.TEXTAREA,oi.TEXTAREA],[ri.TFOOT,oi.TFOOT],[ri.TD,oi.TD],[ri.TH,oi.TH],[ri.THEAD,oi.THEAD],[ri.TITLE,oi.TITLE],[ri.TR,oi.TR],[ri.TRACK,oi.TRACK],[ri.TT,oi.TT],[ri.U,oi.U],[ri.UL,oi.UL],[ri.SVG,oi.SVG],[ri.VAR,oi.VAR],[ri.WBR,oi.WBR],[ri.XMP,oi.XMP]]);function si(e){var t;return null!==(t=ii.get(e))&&void 0!==t?t:oi.UNKNOWN}const ai=oi,ci={[ei.HTML]:new Set([ai.ADDRESS,ai.APPLET,ai.AREA,ai.ARTICLE,ai.ASIDE,ai.BASE,ai.BASEFONT,ai.BGSOUND,ai.BLOCKQUOTE,ai.BODY,ai.BR,ai.BUTTON,ai.CAPTION,ai.CENTER,ai.COL,ai.COLGROUP,ai.DD,ai.DETAILS,ai.DIR,ai.DIV,ai.DL,ai.DT,ai.EMBED,ai.FIELDSET,ai.FIGCAPTION,ai.FIGURE,ai.FOOTER,ai.FORM,ai.FRAME,ai.FRAMESET,ai.H1,ai.H2,ai.H3,ai.H4,ai.H5,ai.H6,ai.HEAD,ai.HEADER,ai.HGROUP,ai.HR,ai.HTML,ai.IFRAME,ai.IMG,ai.INPUT,ai.LI,ai.LINK,ai.LISTING,ai.MAIN,ai.MARQUEE,ai.MENU,ai.META,ai.NAV,ai.NOEMBED,ai.NOFRAMES,ai.NOSCRIPT,ai.OBJECT,ai.OL,ai.P,ai.PARAM,ai.PLAINTEXT,ai.PRE,ai.SCRIPT,ai.SECTION,ai.SELECT,ai.SOURCE,ai.STYLE,ai.SUMMARY,ai.TABLE,ai.TBODY,ai.TD,ai.TEMPLATE,ai.TEXTAREA,ai.TFOOT,ai.TH,ai.THEAD,ai.TITLE,ai.TR,ai.TRACK,ai.UL,ai.WBR,ai.XMP]),[ei.MATHML]:new Set([ai.MI,ai.MO,ai.MN,ai.MS,ai.MTEXT,ai.ANNOTATION_XML]),[ei.SVG]:new Set([ai.TITLE,ai.FOREIGN_OBJECT,ai.DESC]),[ei.XLINK]:new Set,[ei.XML]:new Set,[ei.XMLNS]:new Set},li=new Set([ai.H1,ai.H2,ai.H3,ai.H4,ai.H5,ai.H6]);new Set([ri.STYLE,ri.SCRIPT,ri.XMP,ri.IFRAME,ri.NOEMBED,ri.NOFRAMES,ri.PLAINTEXT]);var ui;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(ui||(ui={}));const pi={DATA:ui.DATA,RCDATA:ui.RCDATA,RAWTEXT:ui.RAWTEXT,SCRIPT_DATA:ui.SCRIPT_DATA,PLAINTEXT:ui.PLAINTEXT,CDATA_SECTION:ui.CDATA_SECTION};function fi(e){return e>=Oo.LATIN_CAPITAL_A&&e<=Oo.LATIN_CAPITAL_Z}function hi(e){return function(e){return e>=Oo.LATIN_SMALL_A&&e<=Oo.LATIN_SMALL_Z}(e)||fi(e)}function di(e){return hi(e)||function(e){return e>=Oo.DIGIT_0&&e<=Oo.DIGIT_9}(e)}function mi(e){return e+32}function Ei(e){return e===Oo.SPACE||e===Oo.LINE_FEED||e===Oo.TABULATION||e===Oo.FORM_FEED}function gi(e){return Ei(e)||e===Oo.SOLIDUS||e===Oo.GREATER_THAN_SIGN}class Ti{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ui.DATA,this.returnState=ui.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Fo(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Zo(jo,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Bo.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(Bo.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{const t=function(e){return e===Oo.NULL?Bo.nullCharacterReference:e>1114111?Bo.characterReferenceOutsideUnicodeRange:xo(e)?Bo.surrogateCharacterReference:wo(e)?Bo.noncharacterCharacterReference:Mo(e)||e===Oo.CARRIAGE_RETURN?Bo.controlCharacterReference:null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null===(r=(n=this.handler).onParseError)||void 0===r||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:Ho.START_TAG,tagName:"",tagID:oi.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ho.END_TAG,tagName:"",tagID:oi.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Ho.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Ho.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;if(null===Uo(n,this.currentAttr.name)){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){(null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Bo.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=si(e.tagName),e.type===Ho.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(Bo.endTagWithAttributes),e.selfClosing&&this._err(Bo.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Ho.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Ho.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Ho.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Ho.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Ei(e)?Ho.WHITESPACE_CHARACTER:e===Oo.NULL?Ho.NULL_CHARACTER:Ho.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Ho.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=ui.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Wo.Attribute:Wo.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ui.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ui.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ui.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case ui.DATA:this._stateData(e);break;case ui.RCDATA:this._stateRcdata(e);break;case ui.RAWTEXT:this._stateRawtext(e);break;case ui.SCRIPT_DATA:this._stateScriptData(e);break;case ui.PLAINTEXT:this._statePlaintext(e);break;case ui.TAG_OPEN:this._stateTagOpen(e);break;case ui.END_TAG_OPEN:this._stateEndTagOpen(e);break;case ui.TAG_NAME:this._stateTagName(e);break;case ui.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case ui.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case ui.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case ui.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case ui.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case ui.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case ui.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case ui.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case ui.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case ui.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case ui.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case ui.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case ui.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case ui.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case ui.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case ui.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case ui.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case ui.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case ui.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case ui.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case ui.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case ui.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case ui.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case ui.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case ui.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case ui.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case ui.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case ui.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case ui.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case ui.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case ui.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case ui.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case ui.BOGUS_COMMENT:this._stateBogusComment(e);break;case ui.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case ui.COMMENT_START:this._stateCommentStart(e);break;case ui.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case ui.COMMENT:this._stateComment(e);break;case ui.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case ui.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case ui.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case ui.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case ui.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case ui.COMMENT_END:this._stateCommentEnd(e);break;case ui.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case ui.DOCTYPE:this._stateDoctype(e);break;case ui.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case ui.DOCTYPE_NAME:this._stateDoctypeName(e);break;case ui.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case ui.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case ui.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case ui.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case ui.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case ui.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case ui.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case ui.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case ui.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case ui.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case ui.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case ui.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case ui.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case ui.CDATA_SECTION:this._stateCdataSection(e);break;case ui.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case ui.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case ui.CHARACTER_REFERENCE:this._stateCharacterReference();break;case ui.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case Oo.LESS_THAN_SIGN:this.state=ui.TAG_OPEN;break;case Oo.AMPERSAND:this._startCharacterReference();break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitCodePoint(e);break;case Oo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Oo.AMPERSAND:this._startCharacterReference();break;case Oo.LESS_THAN_SIGN:this.state=ui.RCDATA_LESS_THAN_SIGN;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitChars(ko);break;case Oo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Oo.LESS_THAN_SIGN:this.state=ui.RAWTEXT_LESS_THAN_SIGN;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitChars(ko);break;case Oo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_LESS_THAN_SIGN;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitChars(ko);break;case Oo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitChars(ko);break;case Oo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(hi(e))this._createStartTagToken(),this.state=ui.TAG_NAME,this._stateTagName(e);else switch(e){case Oo.EXCLAMATION_MARK:this.state=ui.MARKUP_DECLARATION_OPEN;break;case Oo.SOLIDUS:this.state=ui.END_TAG_OPEN;break;case Oo.QUESTION_MARK:this._err(Bo.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ui.BOGUS_COMMENT,this._stateBogusComment(e);break;case Oo.EOF:this._err(Bo.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(Bo.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ui.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(hi(e))this._createEndTagToken(),this.state=ui.TAG_NAME,this._stateTagName(e);else switch(e){case Oo.GREATER_THAN_SIGN:this._err(Bo.missingEndTagName),this.state=ui.DATA;break;case Oo.EOF:this._err(Bo.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(Bo.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=ui.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this.state=ui.BEFORE_ATTRIBUTE_NAME;break;case Oo.SOLIDUS:this.state=ui.SELF_CLOSING_START_TAG;break;case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentTagToken();break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.tagName+=ko;break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(fi(e)?mi(e):e)}}_stateRcdataLessThanSign(e){e===Oo.SOLIDUS?this.state=ui.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=ui.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){hi(e)?(this.state=ui.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=ui.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();this.currentToken.tagName=this.lastStartTagName;switch(this.preprocessor.peek(this.lastStartTagName.length)){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=ui.BEFORE_ATTRIBUTE_NAME,!1;case Oo.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=ui.SELF_CLOSING_START_TAG,!1;case Oo.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=ui.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=ui.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===Oo.SOLIDUS?this.state=ui.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=ui.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){hi(e)?(this.state=ui.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=ui.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=ui.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case Oo.SOLIDUS:this.state=ui.SCRIPT_DATA_END_TAG_OPEN;break;case Oo.EXCLAMATION_MARK:this.state=ui.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=ui.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){hi(e)?(this.state=ui.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=ui.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=ui.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===Oo.HYPHEN_MINUS?(this.state=ui.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=ui.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===Oo.HYPHEN_MINUS?(this.state=ui.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=ui.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case Oo.HYPHEN_MINUS:this.state=ui.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitChars(ko);break;case Oo.EOF:this._err(Bo.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case Oo.HYPHEN_MINUS:this.state=ui.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.state=ui.SCRIPT_DATA_ESCAPED,this._emitChars(ko);break;case Oo.EOF:this._err(Bo.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=ui.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case Oo.HYPHEN_MINUS:this._emitChars("-");break;case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Oo.GREATER_THAN_SIGN:this.state=ui.SCRIPT_DATA,this._emitChars(">");break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.state=ui.SCRIPT_DATA_ESCAPED,this._emitChars(ko);break;case Oo.EOF:this._err(Bo.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=ui.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Oo.SOLIDUS?this.state=ui.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:hi(e)?(this._emitChars("<"),this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=ui.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){hi(e)?(this.state=ui.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=ui.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=ui.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Ro,!1)&&gi(this.preprocessor.peek(Ro.length))){this._emitCodePoint(e);for(let e=0;e<Ro.length;e++)this._emitCodePoint(this._consume());this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=ui.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case Oo.HYPHEN_MINUS:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._emitChars(ko);break;case Oo.EOF:this._err(Bo.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Oo.HYPHEN_MINUS:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ko);break;case Oo.EOF:this._err(Bo.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Oo.HYPHEN_MINUS:this._emitChars("-");break;case Oo.LESS_THAN_SIGN:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Oo.GREATER_THAN_SIGN:this.state=ui.SCRIPT_DATA,this._emitChars(">");break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ko);break;case Oo.EOF:this._err(Bo.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Oo.SOLIDUS?(this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Ro,!1)&&gi(this.preprocessor.peek(Ro.length))){this._emitCodePoint(e);for(let e=0;e<Ro.length;e++)this._emitCodePoint(this._consume());this.state=ui.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=ui.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.SOLIDUS:case Oo.GREATER_THAN_SIGN:case Oo.EOF:this.state=ui.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case Oo.EQUALS_SIGN:this._err(Bo.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=ui.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=ui.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:case Oo.SOLIDUS:case Oo.GREATER_THAN_SIGN:case Oo.EOF:this._leaveAttrName(),this.state=ui.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case Oo.EQUALS_SIGN:this._leaveAttrName(),this.state=ui.BEFORE_ATTRIBUTE_VALUE;break;case Oo.QUOTATION_MARK:case Oo.APOSTROPHE:case Oo.LESS_THAN_SIGN:this._err(Bo.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.currentAttr.name+=ko;break;default:this.currentAttr.name+=String.fromCodePoint(fi(e)?mi(e):e)}}_stateAfterAttributeName(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.SOLIDUS:this.state=ui.SELF_CLOSING_START_TAG;break;case Oo.EQUALS_SIGN:this.state=ui.BEFORE_ATTRIBUTE_VALUE;break;case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentTagToken();break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=ui.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.QUOTATION_MARK:this.state=ui.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:this.state=ui.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.missingAttributeValue),this.state=ui.DATA,this.emitCurrentTagToken();break;default:this.state=ui.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case Oo.QUOTATION_MARK:this.state=ui.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Oo.AMPERSAND:this._startCharacterReference();break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.currentAttr.value+=ko;break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case Oo.APOSTROPHE:this.state=ui.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Oo.AMPERSAND:this._startCharacterReference();break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.currentAttr.value+=ko;break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this._leaveAttrValue(),this.state=ui.BEFORE_ATTRIBUTE_NAME;break;case Oo.AMPERSAND:this._startCharacterReference();break;case Oo.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=ui.DATA,this.emitCurrentTagToken();break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this.currentAttr.value+=ko;break;case Oo.QUOTATION_MARK:case Oo.APOSTROPHE:case Oo.LESS_THAN_SIGN:case Oo.EQUALS_SIGN:case Oo.GRAVE_ACCENT:this._err(Bo.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this._leaveAttrValue(),this.state=ui.BEFORE_ATTRIBUTE_NAME;break;case Oo.SOLIDUS:this._leaveAttrValue(),this.state=ui.SELF_CLOSING_START_TAG;break;case Oo.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=ui.DATA,this.emitCurrentTagToken();break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:this._err(Bo.missingWhitespaceBetweenAttributes),this.state=ui.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case Oo.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=ui.DATA,this.emitCurrentTagToken();break;case Oo.EOF:this._err(Bo.eofInTag),this._emitEOFToken();break;default:this._err(Bo.unexpectedSolidusInTag),this.state=ui.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentComment(t);break;case Oo.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.data+=ko;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(No,!0)?(this._createCommentToken(No.length+1),this.state=ui.COMMENT_START):this._consumeSequenceIfMatch(Do,!1)?(this.currentLocation=this.getCurrentLocation(Do.length+1),this.state=ui.DOCTYPE):this._consumeSequenceIfMatch(vo,!0)?this.inForeignNode?this.state=ui.CDATA_SECTION:(this._err(Bo.cdataInHtmlContent),this._createCommentToken(vo.length+1),this.currentToken.data="[CDATA[",this.state=ui.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Bo.incorrectlyOpenedComment),this._createCommentToken(2),this.state=ui.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case Oo.HYPHEN_MINUS:this.state=ui.COMMENT_START_DASH;break;case Oo.GREATER_THAN_SIGN:{this._err(Bo.abruptClosingOfEmptyComment),this.state=ui.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=ui.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case Oo.HYPHEN_MINUS:this.state=ui.COMMENT_END;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.abruptClosingOfEmptyComment),this.state=ui.DATA,this.emitCurrentComment(t);break;case Oo.EOF:this._err(Bo.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=ui.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case Oo.HYPHEN_MINUS:this.state=ui.COMMENT_END_DASH;break;case Oo.LESS_THAN_SIGN:t.data+="<",this.state=ui.COMMENT_LESS_THAN_SIGN;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.data+=ko;break;case Oo.EOF:this._err(Bo.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case Oo.EXCLAMATION_MARK:t.data+="!",this.state=ui.COMMENT_LESS_THAN_SIGN_BANG;break;case Oo.LESS_THAN_SIGN:t.data+="<";break;default:this.state=ui.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===Oo.HYPHEN_MINUS?this.state=ui.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=ui.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===Oo.HYPHEN_MINUS?this.state=ui.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=ui.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==Oo.GREATER_THAN_SIGN&&e!==Oo.EOF&&this._err(Bo.nestedComment),this.state=ui.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case Oo.HYPHEN_MINUS:this.state=ui.COMMENT_END;break;case Oo.EOF:this._err(Bo.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=ui.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentComment(t);break;case Oo.EXCLAMATION_MARK:this.state=ui.COMMENT_END_BANG;break;case Oo.HYPHEN_MINUS:t.data+="-";break;case Oo.EOF:this._err(Bo.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=ui.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case Oo.HYPHEN_MINUS:t.data+="--!",this.state=ui.COMMENT_END_DASH;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.incorrectlyClosedComment),this.state=ui.DATA,this.emitCurrentComment(t);break;case Oo.EOF:this._err(Bo.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=ui.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this.state=ui.BEFORE_DOCTYPE_NAME;break;case Oo.GREATER_THAN_SIGN:this.state=ui.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case Oo.EOF:{this._err(Bo.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(Bo.missingWhitespaceBeforeDoctypeName),this.state=ui.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(fi(e))this._createDoctypeToken(String.fromCharCode(mi(e))),this.state=ui.DOCTYPE_NAME;else switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),this._createDoctypeToken(ko),this.state=ui.DOCTYPE_NAME;break;case Oo.GREATER_THAN_SIGN:{this._err(Bo.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=ui.DATA;break}case Oo.EOF:{this._err(Bo.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=ui.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this.state=ui.AFTER_DOCTYPE_NAME;break;case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.name+=ko;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(fi(e)?mi(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(Po,!1)?this.state=ui.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Lo,!1)?this.state=ui.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Bo.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this.state=ui.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case Oo.QUOTATION_MARK:this._err(Bo.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=ui.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:this._err(Bo.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=ui.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.QUOTATION_MARK:t.publicId="",this.state=ui.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:t.publicId="",this.state=ui.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Oo.QUOTATION_MARK:this.state=ui.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.publicId+=ko;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Oo.APOSTROPHE:this.state=ui.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.publicId+=ko;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this.state=ui.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case Oo.GREATER_THAN_SIGN:this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.QUOTATION_MARK:this._err(Bo.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:this._err(Bo.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.QUOTATION_MARK:t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:this.state=ui.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case Oo.QUOTATION_MARK:this._err(Bo.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:this._err(Bo.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.QUOTATION_MARK:t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Oo.APOSTROPHE:t.systemId="",this.state=ui.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=ui.DATA,this.emitCurrentDoctype(t);break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Oo.QUOTATION_MARK:this.state=ui.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.systemId+=ko;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Oo.APOSTROPHE:this.state=ui.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter),t.systemId+=ko;break;case Oo.GREATER_THAN_SIGN:this._err(Bo.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Oo.SPACE:case Oo.LINE_FEED:case Oo.TABULATION:case Oo.FORM_FEED:break;case Oo.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.EOF:this._err(Bo.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Bo.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=ui.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case Oo.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=ui.DATA;break;case Oo.NULL:this._err(Bo.unexpectedNullCharacter);break;case Oo.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case Oo.RIGHT_SQUARE_BRACKET:this.state=ui.CDATA_SECTION_BRACKET;break;case Oo.EOF:this._err(Bo.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===Oo.RIGHT_SQUARE_BRACKET?this.state=ui.CDATA_SECTION_END:(this._emitChars("]"),this.state=ui.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case Oo.GREATER_THAN_SIGN:this.state=ui.DATA;break;case Oo.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=ui.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0);e=this.entityDecoder.end()}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Oo.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&di(this.preprocessor.peek(1))?ui.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){di(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===Oo.SEMICOLON&&this._err(Bo.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const _i=new Set([oi.DD,oi.DT,oi.LI,oi.OPTGROUP,oi.OPTION,oi.P,oi.RB,oi.RP,oi.RT,oi.RTC]),Ai=new Set([..._i,oi.CAPTION,oi.COLGROUP,oi.TBODY,oi.TD,oi.TFOOT,oi.TH,oi.THEAD,oi.TR]),yi=new Set([oi.APPLET,oi.CAPTION,oi.HTML,oi.MARQUEE,oi.OBJECT,oi.TABLE,oi.TD,oi.TEMPLATE,oi.TH]),bi=new Set([...yi,oi.OL,oi.UL]),Si=new Set([...yi,oi.BUTTON]),Ci=new Set([oi.ANNOTATION_XML,oi.MI,oi.MN,oi.MO,oi.MS,oi.MTEXT]),Ii=new Set([oi.DESC,oi.FOREIGN_OBJECT,oi.TITLE]),ki=new Set([oi.TR,oi.TEMPLATE,oi.HTML]),Oi=new Set([oi.TBODY,oi.TFOOT,oi.THEAD,oi.TEMPLATE,oi.HTML]),Ni=new Set([oi.TABLE,oi.TEMPLATE,oi.HTML]),vi=new Set([oi.TD,oi.TH]);class Di{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=oi.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===oi.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ei.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==ei.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(li,ei.HTML)}popUntilTableCellPopped(){this.popUntilPopped(vi,ei.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Ni,ei.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Oi,ei.HTML)}clearBackToTableRowContext(){this.clearBackTo(ki,ei.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===oi.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===oi.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case ei.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case ei.SVG:if(Ii.has(r))return!1;break;case ei.MATHML:if(Ci.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,yi)}hasInListItemScope(e){return this.hasInDynamicScope(e,bi)}hasInButtonScope(e){return this.hasInDynamicScope(e,Si)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case ei.HTML:if(li.has(t))return!0;if(yi.has(t))return!1;break;case ei.SVG:if(Ii.has(t))return!1;break;case ei.MATHML:if(Ci.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ei.HTML)switch(this.tagIDs[t]){case e:return!0;case oi.TABLE:case oi.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===ei.HTML)switch(this.tagIDs[e]){case oi.TBODY:case oi.THEAD:case oi.TFOOT:return!0;case oi.TABLE:case oi.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ei.HTML)switch(this.tagIDs[t]){case e:return!0;case oi.OPTION:case oi.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&_i.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&Ai.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&Ai.has(this.currentTagId);)this.pop()}}var Ri;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(Ri||(Ri={}));const Pi={type:Ri.Marker};class Li{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let s=0;s<this.entries.length;s++){const e=this.entries[s];if(e.type===Ri.Marker)break;const{element:t}=e;if(this.treeAdapter.getTagName(t)===o&&this.treeAdapter.getNamespaceURI(t)===i){const e=this.treeAdapter.getAttrList(t);e.length===r&&n.push({idx:s,attrs:e})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;const r=new Map(t.map(e=>[e.name,e.value]));let o=0;for(let i=0;i<n.length;i++){const e=n[i];e.attrs.every(e=>r.get(e.name)===e.value)&&(o+=1,o>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(Pi)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ri.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ri.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Pi);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find(t=>t.type===Ri.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===Ri.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Ri.Element&&t.element===e)}}const xi={createDocument:()=>({nodeName:"#document",mode:ni.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const o=e.childNodes.find(e=>"#documentType"===e.nodeName);if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};xi.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(xi.isTextNode(n))return void(n.value+=t)}xi.appendChild(e,xi.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&xi.isTextNode(r)?r.value+=t:xi.insertBefore(e,xi.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Mi="html",wi=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Bi=[...wi,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Fi=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Hi=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Ui=[...Hi,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ji(e,t){return t.some(t=>e.startsWith(t))}const Gi="text/html",zi="application/xhtml+xml",Yi=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),qi=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ei.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ei.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ei.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ei.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ei.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ei.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ei.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ei.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ei.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ei.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ei.XMLNS}]]),$i=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Vi=new Set([oi.B,oi.BIG,oi.BLOCKQUOTE,oi.BODY,oi.BR,oi.CENTER,oi.CODE,oi.DD,oi.DIV,oi.DL,oi.DT,oi.EM,oi.EMBED,oi.H1,oi.H2,oi.H3,oi.H4,oi.H5,oi.H6,oi.HEAD,oi.HR,oi.I,oi.IMG,oi.LI,oi.LISTING,oi.MENU,oi.META,oi.NOBR,oi.OL,oi.P,oi.PRE,oi.RUBY,oi.S,oi.SMALL,oi.SPAN,oi.STRONG,oi.STRIKE,oi.SUB,oi.SUP,oi.TABLE,oi.TT,oi.U,oi.UL,oi.VAR]);function Wi(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function Qi(e){for(let t=0;t<e.attrs.length;t++){const n=Yi.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function Xi(e){for(let t=0;t<e.attrs.length;t++){const n=qi.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function Ki(e,t,n,r){return(!r||r===ei.HTML)&&function(e,t,n){if(t===ei.MATHML&&e===oi.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===ti.ENCODING){const e=n[r].value.toLowerCase();return e===Gi||e===zi}return t===ei.SVG&&(e===oi.FOREIGN_OBJECT||e===oi.DESC||e===oi.TITLE)}(e,t,n)||(!r||r===ei.MATHML)&&function(e,t){return t===ei.MATHML&&(e===oi.MI||e===oi.MO||e===oi.MN||e===oi.MS||e===oi.MTEXT)}(e,t)}var Zi;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(Zi||(Zi={}));const Ji={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},es=new Set([oi.TABLE,oi.TBODY,oi.TFOOT,oi.THEAD,oi.TR]),ts={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:xi,onParseError:null};class ns{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Zi.INITIAL,this.originalInsertionMode=Zi.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...ts,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new Ti(this.options,this),this.activeFormattingElements=new Li(this.treeAdapter),this.fragmentContextID=n?si(this.treeAdapter.getTagName(n)):oi.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new Di(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){const n={...ts,...t};null!=e||(e=n.treeAdapter.createElement(ri.TEMPLATE,ei.HTML,[]));const r=n.treeAdapter.createElement("documentmock",ei.HTML,[]),o=new this(n,r,e);return o.fragmentContextID===oi.TEMPLATE&&o.tmplInsertionModeStack.unshift(Zi.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;const o=null!==(r=e.location)&&void 0!==r?r:Ji,i={code:t,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,o;null===(o=(r=this.treeAdapter).onItemPush)||void 0===o||o.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===ei.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,ei.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Zi.TEXT}switchToPlaintextParsing(){this.insertionMode=Zi.TEXT,this.originalInsertionMode=Zi.IN_BODY,this.tokenizer.state=pi.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===ri.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===ei.HTML)switch(this.fragmentContextID){case oi.TITLE:case oi.TEXTAREA:this.tokenizer.state=pi.RCDATA;break;case oi.STYLE:case oi.XMP:case oi.IFRAME:case oi.NOEMBED:case oi.NOFRAMES:case oi.NOSCRIPT:this.tokenizer.state=pi.RAWTEXT;break;case oi.SCRIPT:this.tokenizer.state=pi.SCRIPT_DATA;break;case oi.PLAINTEXT:this.tokenizer.state=pi.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,ei.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,ei.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(ri.HTML,ei.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,oi.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,i=r[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===Ho.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==oi.SVG||this.treeAdapter.getTagName(t)!==ri.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==ei.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===oi.MGLYPH||e.tagID===oi.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,ei.HTML))}_processToken(e){switch(e.type){case Ho.CHARACTER:this.onCharacter(e);break;case Ho.NULL_CHARACTER:this.onNullCharacter(e);break;case Ho.COMMENT:this.onComment(e);break;case Ho.DOCTYPE:this.onDoctype(e);break;case Ho.START_TAG:this._processStartTag(e);break;case Ho.END_TAG:this.onEndTag(e);break;case Ho.EOF:this.onEof(e);break;case Ho.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return Ki(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(e=>e.type===Ri.Marker||this.openElements.contains(e.element));for(let n=-1===t?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Zi.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(oi.P),this.openElements.popUntilTagNamePopped(oi.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case oi.TR:return void(this.insertionMode=Zi.IN_ROW);case oi.TBODY:case oi.THEAD:case oi.TFOOT:return void(this.insertionMode=Zi.IN_TABLE_BODY);case oi.CAPTION:return void(this.insertionMode=Zi.IN_CAPTION);case oi.COLGROUP:return void(this.insertionMode=Zi.IN_COLUMN_GROUP);case oi.TABLE:return void(this.insertionMode=Zi.IN_TABLE);case oi.BODY:return void(this.insertionMode=Zi.IN_BODY);case oi.FRAMESET:return void(this.insertionMode=Zi.IN_FRAMESET);case oi.SELECT:return void this._resetInsertionModeForSelect(e);case oi.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case oi.HTML:return void(this.insertionMode=this.headElement?Zi.AFTER_HEAD:Zi.BEFORE_HEAD);case oi.TD:case oi.TH:if(e>0)return void(this.insertionMode=Zi.IN_CELL);break;case oi.HEAD:if(e>0)return void(this.insertionMode=Zi.IN_HEAD)}this.insertionMode=Zi.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===oi.TEMPLATE)break;if(e===oi.TABLE)return void(this.insertionMode=Zi.IN_SELECT_IN_TABLE)}this.insertionMode=Zi.IN_SELECT}_isElementCausesFosterParenting(e){return es.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case oi.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===ei.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case oi.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return ci[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Zi.INITIAL:fs(this,e);break;case Zi.BEFORE_HTML:hs(this,e);break;case Zi.BEFORE_HEAD:ds(this,e);break;case Zi.IN_HEAD:gs(this,e);break;case Zi.IN_HEAD_NO_SCRIPT:Ts(this,e);break;case Zi.AFTER_HEAD:_s(this,e);break;case Zi.IN_BODY:case Zi.IN_CAPTION:case Zi.IN_CELL:case Zi.IN_TEMPLATE:bs(this,e);break;case Zi.TEXT:case Zi.IN_SELECT:case Zi.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Zi.IN_TABLE:case Zi.IN_TABLE_BODY:case Zi.IN_ROW:Rs(this,e);break;case Zi.IN_TABLE_TEXT:ws(this,e);break;case Zi.IN_COLUMN_GROUP:Us(this,e);break;case Zi.AFTER_BODY:Qs(this,e);break;case Zi.AFTER_AFTER_BODY:Xs(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=ko,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Zi.INITIAL:fs(this,e);break;case Zi.BEFORE_HTML:hs(this,e);break;case Zi.BEFORE_HEAD:ds(this,e);break;case Zi.IN_HEAD:gs(this,e);break;case Zi.IN_HEAD_NO_SCRIPT:Ts(this,e);break;case Zi.AFTER_HEAD:_s(this,e);break;case Zi.TEXT:this._insertCharacters(e);break;case Zi.IN_TABLE:case Zi.IN_TABLE_BODY:case Zi.IN_ROW:Rs(this,e);break;case Zi.IN_COLUMN_GROUP:Us(this,e);break;case Zi.AFTER_BODY:Qs(this,e);break;case Zi.AFTER_AFTER_BODY:Xs(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)us(this,e);else switch(this.insertionMode){case Zi.INITIAL:case Zi.BEFORE_HTML:case Zi.BEFORE_HEAD:case Zi.IN_HEAD:case Zi.IN_HEAD_NO_SCRIPT:case Zi.AFTER_HEAD:case Zi.IN_BODY:case Zi.IN_TABLE:case Zi.IN_CAPTION:case Zi.IN_COLUMN_GROUP:case Zi.IN_TABLE_BODY:case Zi.IN_ROW:case Zi.IN_CELL:case Zi.IN_SELECT:case Zi.IN_SELECT_IN_TABLE:case Zi.IN_TEMPLATE:case Zi.IN_FRAMESET:case Zi.AFTER_FRAMESET:us(this,e);break;case Zi.IN_TABLE_TEXT:Bs(this,e);break;case Zi.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Zi.AFTER_AFTER_BODY:case Zi.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Zi.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?ni.QUIRKS:function(e){if(e.name!==Mi)return ni.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return ni.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),Fi.has(n))return ni.QUIRKS;let e=null===t?Bi:wi;if(ji(n,e))return ni.QUIRKS;if(e=null===t?Hi:Ui,ji(n,e))return ni.LIMITED_QUIRKS}return ni.NO_QUIRKS}(t);(function(e){return e.name===Mi&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,Bo.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Zi.BEFORE_HTML}(this,e);break;case Zi.BEFORE_HEAD:case Zi.IN_HEAD:case Zi.IN_HEAD_NO_SCRIPT:case Zi.AFTER_HEAD:this._err(e,Bo.misplacedDoctype);break;case Zi.IN_TABLE_TEXT:Bs(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,Bo.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===oi.FONT&&e.attrs.some(({name:e})=>e===ti.COLOR||e===ti.SIZE||e===ti.FACE)||Vi.has(t)}(t))Ks(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===ei.MATHML?Wi(t):r===ei.SVG&&(!function(e){const t=$i.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=si(e.tagName))}(t),Qi(t)),Xi(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Zi.INITIAL:fs(this,e);break;case Zi.BEFORE_HTML:!function(e,t){t.tagID===oi.HTML?(e._insertElement(t,ei.HTML),e.insertionMode=Zi.BEFORE_HEAD):hs(e,t)}(this,e);break;case Zi.BEFORE_HEAD:!function(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.HEAD:e._insertElement(t,ei.HTML),e.headElement=e.openElements.current,e.insertionMode=Zi.IN_HEAD;break;default:ds(e,t)}}(this,e);break;case Zi.IN_HEAD:ms(this,e);break;case Zi.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.BASEFONT:case oi.BGSOUND:case oi.HEAD:case oi.LINK:case oi.META:case oi.NOFRAMES:case oi.STYLE:ms(e,t);break;case oi.NOSCRIPT:e._err(t,Bo.nestedNoscriptInHead);break;default:Ts(e,t)}}(this,e);break;case Zi.AFTER_HEAD:!function(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.BODY:e._insertElement(t,ei.HTML),e.framesetOk=!1,e.insertionMode=Zi.IN_BODY;break;case oi.FRAMESET:e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_FRAMESET;break;case oi.BASE:case oi.BASEFONT:case oi.BGSOUND:case oi.LINK:case oi.META:case oi.NOFRAMES:case oi.SCRIPT:case oi.STYLE:case oi.TEMPLATE:case oi.TITLE:e._err(t,Bo.abandonedHeadElementChild),e.openElements.push(e.headElement,oi.HEAD),ms(e,t),e.openElements.remove(e.headElement);break;case oi.HEAD:e._err(t,Bo.misplacedStartTagForHeadElement);break;default:_s(e,t)}}(this,e);break;case Zi.IN_BODY:Os(this,e);break;case Zi.IN_TABLE:Ps(this,e);break;case Zi.IN_TABLE_TEXT:Bs(this,e);break;case Zi.IN_CAPTION:!function(e,t){const n=t.tagID;Fs.has(n)?e.openElements.hasInTableScope(oi.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(oi.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zi.IN_TABLE,Ps(e,t)):Os(e,t)}(this,e);break;case Zi.IN_COLUMN_GROUP:Hs(this,e);break;case Zi.IN_TABLE_BODY:js(this,e);break;case Zi.IN_ROW:zs(this,e);break;case Zi.IN_CELL:!function(e,t){const n=t.tagID;Fs.has(n)?(e.openElements.hasInTableScope(oi.TD)||e.openElements.hasInTableScope(oi.TH))&&(e._closeTableCell(),zs(e,t)):Os(e,t)}(this,e);break;case Zi.IN_SELECT:qs(this,e);break;case Zi.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===oi.CAPTION||n===oi.TABLE||n===oi.TBODY||n===oi.TFOOT||n===oi.THEAD||n===oi.TR||n===oi.TD||n===oi.TH?(e.openElements.popUntilTagNamePopped(oi.SELECT),e._resetInsertionMode(),e._processStartTag(t)):qs(e,t)}(this,e);break;case Zi.IN_TEMPLATE:!function(e,t){switch(t.tagID){case oi.BASE:case oi.BASEFONT:case oi.BGSOUND:case oi.LINK:case oi.META:case oi.NOFRAMES:case oi.SCRIPT:case oi.STYLE:case oi.TEMPLATE:case oi.TITLE:ms(e,t);break;case oi.CAPTION:case oi.COLGROUP:case oi.TBODY:case oi.TFOOT:case oi.THEAD:e.tmplInsertionModeStack[0]=Zi.IN_TABLE,e.insertionMode=Zi.IN_TABLE,Ps(e,t);break;case oi.COL:e.tmplInsertionModeStack[0]=Zi.IN_COLUMN_GROUP,e.insertionMode=Zi.IN_COLUMN_GROUP,Hs(e,t);break;case oi.TR:e.tmplInsertionModeStack[0]=Zi.IN_TABLE_BODY,e.insertionMode=Zi.IN_TABLE_BODY,js(e,t);break;case oi.TD:case oi.TH:e.tmplInsertionModeStack[0]=Zi.IN_ROW,e.insertionMode=Zi.IN_ROW,zs(e,t);break;default:e.tmplInsertionModeStack[0]=Zi.IN_BODY,e.insertionMode=Zi.IN_BODY,Os(e,t)}}(this,e);break;case Zi.AFTER_BODY:!function(e,t){t.tagID===oi.HTML?Os(e,t):Qs(e,t)}(this,e);break;case Zi.IN_FRAMESET:!function(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.FRAMESET:e._insertElement(t,ei.HTML);break;case oi.FRAME:e._appendElement(t,ei.HTML),t.ackSelfClosing=!0;break;case oi.NOFRAMES:ms(e,t)}}(this,e);break;case Zi.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.NOFRAMES:ms(e,t)}}(this,e);break;case Zi.AFTER_AFTER_BODY:!function(e,t){t.tagID===oi.HTML?Os(e,t):Xs(e,t)}(this,e);break;case Zi.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.NOFRAMES:ms(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===oi.P||t.tagID===oi.BR)return Ks(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===ei.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Zi.INITIAL:fs(this,e);break;case Zi.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==oi.HTML&&n!==oi.HEAD&&n!==oi.BODY&&n!==oi.BR||hs(e,t)}(this,e);break;case Zi.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===oi.HEAD||n===oi.BODY||n===oi.HTML||n===oi.BR?ds(e,t):e._err(t,Bo.endTagWithoutMatchingOpenElement)}(this,e);break;case Zi.IN_HEAD:!function(e,t){switch(t.tagID){case oi.HEAD:e.openElements.pop(),e.insertionMode=Zi.AFTER_HEAD;break;case oi.BODY:case oi.BR:case oi.HTML:gs(e,t);break;case oi.TEMPLATE:Es(e,t);break;default:e._err(t,Bo.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zi.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case oi.NOSCRIPT:e.openElements.pop(),e.insertionMode=Zi.IN_HEAD;break;case oi.BR:Ts(e,t);break;default:e._err(t,Bo.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zi.AFTER_HEAD:!function(e,t){switch(t.tagID){case oi.BODY:case oi.HTML:case oi.BR:_s(e,t);break;case oi.TEMPLATE:Es(e,t);break;default:e._err(t,Bo.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zi.IN_BODY:vs(this,e);break;case Zi.TEXT:!function(e,t){var n;t.tagID===oi.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current));e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Zi.IN_TABLE:Ls(this,e);break;case Zi.IN_TABLE_TEXT:Bs(this,e);break;case Zi.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case oi.CAPTION:case oi.TABLE:e.openElements.hasInTableScope(oi.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(oi.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zi.IN_TABLE,n===oi.TABLE&&Ls(e,t));break;case oi.BODY:case oi.COL:case oi.COLGROUP:case oi.HTML:case oi.TBODY:case oi.TD:case oi.TFOOT:case oi.TH:case oi.THEAD:case oi.TR:break;default:vs(e,t)}}(this,e);break;case Zi.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case oi.COLGROUP:e.openElements.currentTagId===oi.COLGROUP&&(e.openElements.pop(),e.insertionMode=Zi.IN_TABLE);break;case oi.TEMPLATE:Es(e,t);break;case oi.COL:break;default:Us(e,t)}}(this,e);break;case Zi.IN_TABLE_BODY:Gs(this,e);break;case Zi.IN_ROW:Ys(this,e);break;case Zi.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case oi.TD:case oi.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zi.IN_ROW);break;case oi.TABLE:case oi.TBODY:case oi.TFOOT:case oi.THEAD:case oi.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Ys(e,t));break;case oi.BODY:case oi.CAPTION:case oi.COL:case oi.COLGROUP:case oi.HTML:break;default:vs(e,t)}}(this,e);break;case Zi.IN_SELECT:$s(this,e);break;case Zi.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===oi.CAPTION||n===oi.TABLE||n===oi.TBODY||n===oi.TFOOT||n===oi.THEAD||n===oi.TR||n===oi.TD||n===oi.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(oi.SELECT),e._resetInsertionMode(),e.onEndTag(t)):$s(e,t)}(this,e);break;case Zi.IN_TEMPLATE:!function(e,t){t.tagID===oi.TEMPLATE&&Es(e,t)}(this,e);break;case Zi.AFTER_BODY:Ws(this,e);break;case Zi.IN_FRAMESET:!function(e,t){t.tagID!==oi.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===oi.FRAMESET||(e.insertionMode=Zi.AFTER_FRAMESET))}(this,e);break;case Zi.AFTER_FRAMESET:!function(e,t){t.tagID===oi.HTML&&(e.insertionMode=Zi.AFTER_AFTER_FRAMESET)}(this,e);break;case Zi.AFTER_AFTER_BODY:Xs(this,e)}}onEof(e){switch(this.insertionMode){case Zi.INITIAL:fs(this,e);break;case Zi.BEFORE_HTML:hs(this,e);break;case Zi.BEFORE_HEAD:ds(this,e);break;case Zi.IN_HEAD:gs(this,e);break;case Zi.IN_HEAD_NO_SCRIPT:Ts(this,e);break;case Zi.AFTER_HEAD:_s(this,e);break;case Zi.IN_BODY:case Zi.IN_TABLE:case Zi.IN_CAPTION:case Zi.IN_COLUMN_GROUP:case Zi.IN_TABLE_BODY:case Zi.IN_ROW:case Zi.IN_CELL:case Zi.IN_SELECT:case Zi.IN_SELECT_IN_TABLE:Ds(this,e);break;case Zi.TEXT:!function(e,t){e._err(t,Bo.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Zi.IN_TABLE_TEXT:Bs(this,e);break;case Zi.IN_TEMPLATE:Vs(this,e);break;case Zi.AFTER_BODY:case Zi.IN_FRAMESET:case Zi.AFTER_FRAMESET:case Zi.AFTER_AFTER_BODY:case Zi.AFTER_AFTER_FRAMESET:ps(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Oo.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Zi.IN_HEAD:case Zi.IN_HEAD_NO_SCRIPT:case Zi.AFTER_HEAD:case Zi.TEXT:case Zi.IN_COLUMN_GROUP:case Zi.IN_SELECT:case Zi.IN_SELECT_IN_TABLE:case Zi.IN_FRAMESET:case Zi.AFTER_FRAMESET:this._insertCharacters(e);break;case Zi.IN_BODY:case Zi.IN_CAPTION:case Zi.IN_CELL:case Zi.IN_TEMPLATE:case Zi.AFTER_BODY:case Zi.AFTER_AFTER_BODY:case Zi.AFTER_AFTER_FRAMESET:ys(this,e);break;case Zi.IN_TABLE:case Zi.IN_TABLE_BODY:case Zi.IN_ROW:Rs(this,e);break;case Zi.IN_TABLE_TEXT:Ms(this,e)}}}function rs(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ns(e,t),n}function os(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function is(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,s=o;s!==n;i++,s=o){o=e.openElements.getCommonAncestor(s);const n=e.activeFormattingElements.getElementEntry(s),a=n&&i>=3;!n||a?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=ss(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function ss(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function as(e,t,n){const r=si(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const o=e.treeAdapter.getNamespaceURI(t);r===oi.TEMPLATE&&o===ei.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function cs(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,o.tagID)}function ls(e,t){for(let n=0;n<8;n++){const n=rs(e,t);if(!n)break;const r=os(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const o=is(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),i&&as(e,i,o),cs(e,r,n)}}function us(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function ps(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function fs(e,t){e._err(t,Bo.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ni.QUIRKS),e.insertionMode=Zi.BEFORE_HTML,e._processToken(t)}function hs(e,t){e._insertFakeRootElement(),e.insertionMode=Zi.BEFORE_HEAD,e._processToken(t)}function ds(e,t){e._insertFakeElement(ri.HEAD,oi.HEAD),e.headElement=e.openElements.current,e.insertionMode=Zi.IN_HEAD,e._processToken(t)}function ms(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.BASE:case oi.BASEFONT:case oi.BGSOUND:case oi.LINK:case oi.META:e._appendElement(t,ei.HTML),t.ackSelfClosing=!0;break;case oi.TITLE:e._switchToTextParsing(t,pi.RCDATA);break;case oi.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,pi.RAWTEXT):(e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_HEAD_NO_SCRIPT);break;case oi.NOFRAMES:case oi.STYLE:e._switchToTextParsing(t,pi.RAWTEXT);break;case oi.SCRIPT:e._switchToTextParsing(t,pi.SCRIPT_DATA);break;case oi.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Zi.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Zi.IN_TEMPLATE);break;case oi.HEAD:e._err(t,Bo.misplacedStartTagForHeadElement);break;default:gs(e,t)}}function Es(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==oi.TEMPLATE&&e._err(t,Bo.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(oi.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Bo.endTagWithoutMatchingOpenElement)}function gs(e,t){e.openElements.pop(),e.insertionMode=Zi.AFTER_HEAD,e._processToken(t)}function Ts(e,t){const n=t.type===Ho.EOF?Bo.openElementsLeftAfterEof:Bo.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Zi.IN_HEAD,e._processToken(t)}function _s(e,t){e._insertFakeElement(ri.BODY,oi.BODY),e.insertionMode=Zi.IN_BODY,As(e,t)}function As(e,t){switch(t.type){case Ho.CHARACTER:bs(e,t);break;case Ho.WHITESPACE_CHARACTER:ys(e,t);break;case Ho.COMMENT:us(e,t);break;case Ho.START_TAG:Os(e,t);break;case Ho.END_TAG:vs(e,t);break;case Ho.EOF:Ds(e,t)}}function ys(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function bs(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ss(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ei.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Cs(e){const t=Uo(e,ti.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function Is(e,t){e._switchToTextParsing(t,pi.RAWTEXT)}function ks(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML)}function Os(e,t){switch(t.tagID){case oi.I:case oi.S:case oi.B:case oi.U:case oi.EM:case oi.TT:case oi.BIG:case oi.CODE:case oi.FONT:case oi.SMALL:case oi.STRIKE:case oi.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case oi.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ri.A);n&&(ls(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case oi.H1:case oi.H2:case oi.H3:case oi.H4:case oi.H5:case oi.H6:!function(e,t){e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&li.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,ei.HTML)}(e,t);break;case oi.P:case oi.DL:case oi.OL:case oi.UL:case oi.DIV:case oi.DIR:case oi.NAV:case oi.MAIN:case oi.MENU:case oi.ASIDE:case oi.CENTER:case oi.FIGURE:case oi.FOOTER:case oi.HEADER:case oi.HGROUP:case oi.DIALOG:case oi.DETAILS:case oi.ADDRESS:case oi.ARTICLE:case oi.SEARCH:case oi.SECTION:case oi.SUMMARY:case oi.FIELDSET:case oi.BLOCKQUOTE:case oi.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._insertElement(t,ei.HTML)}(e,t);break;case oi.LI:case oi.DD:case oi.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.tagIDs[r];if(n===oi.LI&&t===oi.LI||(n===oi.DD||n===oi.DT)&&(t===oi.DD||t===oi.DT)){e.openElements.generateImpliedEndTagsWithExclusion(t),e.openElements.popUntilTagNamePopped(t);break}if(t!==oi.ADDRESS&&t!==oi.DIV&&t!==oi.P&&e._isSpecialElement(e.openElements.items[r],t))break}e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._insertElement(t,ei.HTML)}(e,t);break;case oi.BR:case oi.IMG:case oi.WBR:case oi.AREA:case oi.EMBED:case oi.KEYGEN:Ss(e,t);break;case oi.HR:!function(e,t){e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._appendElement(t,ei.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case oi.RB:case oi.RTC:!function(e,t){e.openElements.hasInScope(oi.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ei.HTML)}(e,t);break;case oi.RT:case oi.RP:!function(e,t){e.openElements.hasInScope(oi.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(oi.RTC),e._insertElement(t,ei.HTML)}(e,t);break;case oi.PRE:case oi.LISTING:!function(e,t){e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._insertElement(t,ei.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case oi.XMP:!function(e,t){e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,pi.RAWTEXT)}(e,t);break;case oi.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Qi(t),Xi(t),t.selfClosing?e._appendElement(t,ei.SVG):e._insertElement(t,ei.SVG),t.ackSelfClosing=!0}(e,t);break;case oi.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case oi.BASE:case oi.LINK:case oi.META:case oi.STYLE:case oi.TITLE:case oi.SCRIPT:case oi.BGSOUND:case oi.BASEFONT:case oi.TEMPLATE:ms(e,t);break;case oi.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case oi.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._insertElement(t,ei.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case oi.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(oi.NOBR)&&(ls(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ei.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case oi.MATH:!function(e,t){e._reconstructActiveFormattingElements(),Wi(t),Xi(t),t.selfClosing?e._appendElement(t,ei.MATHML):e._insertElement(t,ei.MATHML),t.ackSelfClosing=!0}(e,t);break;case oi.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==ni.QUIRKS&&e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._insertElement(t,ei.HTML),e.framesetOk=!1,e.insertionMode=Zi.IN_TABLE}(e,t);break;case oi.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ei.HTML),Cs(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case oi.PARAM:case oi.TRACK:case oi.SOURCE:!function(e,t){e._appendElement(t,ei.HTML),t.ackSelfClosing=!0}(e,t);break;case oi.IMAGE:!function(e,t){t.tagName=ri.IMG,t.tagID=oi.IMG,Ss(e,t)}(e,t);break;case oi.BUTTON:!function(e,t){e.openElements.hasInScope(oi.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(oi.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML),e.framesetOk=!1}(e,t);break;case oi.APPLET:case oi.OBJECT:case oi.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case oi.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,pi.RAWTEXT)}(e,t);break;case oi.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Zi.IN_TABLE||e.insertionMode===Zi.IN_CAPTION||e.insertionMode===Zi.IN_TABLE_BODY||e.insertionMode===Zi.IN_ROW||e.insertionMode===Zi.IN_CELL?Zi.IN_SELECT_IN_TABLE:Zi.IN_SELECT}(e,t);break;case oi.OPTION:case oi.OPTGROUP:!function(e,t){e.openElements.currentTagId===oi.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ei.HTML)}(e,t);break;case oi.NOEMBED:case oi.NOFRAMES:Is(e,t);break;case oi.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_FRAMESET)}(e,t);break;case oi.TEXTAREA:!function(e,t){e._insertElement(t,ei.HTML),e.skipNextNewLine=!0,e.tokenizer.state=pi.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Zi.TEXT}(e,t);break;case oi.NOSCRIPT:e.options.scriptingEnabled?Is(e,t):ks(e,t);break;case oi.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(oi.P)&&e._closePElement(),e._insertElement(t,ei.HTML),e.tokenizer.state=pi.PLAINTEXT}(e,t);break;case oi.COL:case oi.TH:case oi.TD:case oi.TR:case oi.HEAD:case oi.FRAME:case oi.TBODY:case oi.TFOOT:case oi.THEAD:case oi.CAPTION:case oi.COLGROUP:break;default:ks(e,t)}}function Ns(e,t){const n=t.tagName,r=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){const t=e.openElements.items[o],i=e.openElements.tagIDs[o];if(r===i&&(r!==oi.UNKNOWN||e.treeAdapter.getTagName(t)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}if(e._isSpecialElement(t,i))break}}function vs(e,t){switch(t.tagID){case oi.A:case oi.B:case oi.I:case oi.S:case oi.U:case oi.EM:case oi.TT:case oi.BIG:case oi.CODE:case oi.FONT:case oi.NOBR:case oi.SMALL:case oi.STRIKE:case oi.STRONG:ls(e,t);break;case oi.P:!function(e){e.openElements.hasInButtonScope(oi.P)||e._insertFakeElement(ri.P,oi.P),e._closePElement()}(e);break;case oi.DL:case oi.UL:case oi.OL:case oi.DIR:case oi.DIV:case oi.NAV:case oi.PRE:case oi.MAIN:case oi.MENU:case oi.ASIDE:case oi.BUTTON:case oi.CENTER:case oi.FIGURE:case oi.FOOTER:case oi.HEADER:case oi.HGROUP:case oi.DIALOG:case oi.ADDRESS:case oi.ARTICLE:case oi.DETAILS:case oi.SEARCH:case oi.SECTION:case oi.SUMMARY:case oi.LISTING:case oi.FIELDSET:case oi.BLOCKQUOTE:case oi.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case oi.LI:!function(e){e.openElements.hasInListItemScope(oi.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(oi.LI),e.openElements.popUntilTagNamePopped(oi.LI))}(e);break;case oi.DD:case oi.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case oi.H1:case oi.H2:case oi.H3:case oi.H4:case oi.H5:case oi.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case oi.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ri.BR,oi.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case oi.BODY:!function(e,t){if(e.openElements.hasInScope(oi.BODY)&&(e.insertionMode=Zi.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case oi.HTML:!function(e,t){e.openElements.hasInScope(oi.BODY)&&(e.insertionMode=Zi.AFTER_BODY,Ws(e,t))}(e,t);break;case oi.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(oi.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(oi.FORM):n&&e.openElements.remove(n))}(e);break;case oi.APPLET:case oi.OBJECT:case oi.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case oi.TEMPLATE:Es(e,t);break;default:Ns(e,t)}}function Ds(e,t){e.tmplInsertionModeStack.length>0?Vs(e,t):ps(e,t)}function Rs(e,t){if(void 0!==e.openElements.currentTagId&&es.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Zi.IN_TABLE_TEXT,t.type){case Ho.CHARACTER:ws(e,t);break;case Ho.WHITESPACE_CHARACTER:Ms(e,t)}else xs(e,t)}function Ps(e,t){switch(t.tagID){case oi.TD:case oi.TH:case oi.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ri.TBODY,oi.TBODY),e.insertionMode=Zi.IN_TABLE_BODY,js(e,t)}(e,t);break;case oi.STYLE:case oi.SCRIPT:case oi.TEMPLATE:ms(e,t);break;case oi.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ri.COLGROUP,oi.COLGROUP),e.insertionMode=Zi.IN_COLUMN_GROUP,Hs(e,t)}(e,t);break;case oi.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,ei.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case oi.TABLE:!function(e,t){e.openElements.hasInTableScope(oi.TABLE)&&(e.openElements.popUntilTagNamePopped(oi.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case oi.TBODY:case oi.TFOOT:case oi.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_TABLE_BODY}(e,t);break;case oi.INPUT:!function(e,t){Cs(t)?e._appendElement(t,ei.HTML):xs(e,t),t.ackSelfClosing=!0}(e,t);break;case oi.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_CAPTION}(e,t);break;case oi.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_COLUMN_GROUP}(e,t);break;default:xs(e,t)}}function Ls(e,t){switch(t.tagID){case oi.TABLE:e.openElements.hasInTableScope(oi.TABLE)&&(e.openElements.popUntilTagNamePopped(oi.TABLE),e._resetInsertionMode());break;case oi.TEMPLATE:Es(e,t);break;case oi.BODY:case oi.CAPTION:case oi.COL:case oi.COLGROUP:case oi.HTML:case oi.TBODY:case oi.TD:case oi.TFOOT:case oi.TH:case oi.THEAD:case oi.TR:break;default:xs(e,t)}}function xs(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,As(e,t),e.fosterParentingEnabled=n}function Ms(e,t){e.pendingCharacterTokens.push(t)}function ws(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Bs(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)xs(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Fs=new Set([oi.CAPTION,oi.COL,oi.COLGROUP,oi.TBODY,oi.TD,oi.TFOOT,oi.TH,oi.THEAD,oi.TR]);function Hs(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.COL:e._appendElement(t,ei.HTML),t.ackSelfClosing=!0;break;case oi.TEMPLATE:ms(e,t);break;default:Us(e,t)}}function Us(e,t){e.openElements.currentTagId===oi.COLGROUP&&(e.openElements.pop(),e.insertionMode=Zi.IN_TABLE,e._processToken(t))}function js(e,t){switch(t.tagID){case oi.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_ROW;break;case oi.TH:case oi.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ri.TR,oi.TR),e.insertionMode=Zi.IN_ROW,zs(e,t);break;case oi.CAPTION:case oi.COL:case oi.COLGROUP:case oi.TBODY:case oi.TFOOT:case oi.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE,Ps(e,t));break;default:Ps(e,t)}}function Gs(e,t){const n=t.tagID;switch(t.tagID){case oi.TBODY:case oi.TFOOT:case oi.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE);break;case oi.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE,Ls(e,t));break;case oi.BODY:case oi.CAPTION:case oi.COL:case oi.COLGROUP:case oi.HTML:case oi.TD:case oi.TH:case oi.TR:break;default:Ls(e,t)}}function zs(e,t){switch(t.tagID){case oi.TH:case oi.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,ei.HTML),e.insertionMode=Zi.IN_CELL,e.activeFormattingElements.insertMarker();break;case oi.CAPTION:case oi.COL:case oi.COLGROUP:case oi.TBODY:case oi.TFOOT:case oi.THEAD:case oi.TR:e.openElements.hasInTableScope(oi.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE_BODY,js(e,t));break;default:Ps(e,t)}}function Ys(e,t){switch(t.tagID){case oi.TR:e.openElements.hasInTableScope(oi.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE_BODY);break;case oi.TABLE:e.openElements.hasInTableScope(oi.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE_BODY,Gs(e,t));break;case oi.TBODY:case oi.TFOOT:case oi.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(oi.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zi.IN_TABLE_BODY,Gs(e,t));break;case oi.BODY:case oi.CAPTION:case oi.COL:case oi.COLGROUP:case oi.HTML:case oi.TD:case oi.TH:break;default:Ls(e,t)}}function qs(e,t){switch(t.tagID){case oi.HTML:Os(e,t);break;case oi.OPTION:e.openElements.currentTagId===oi.OPTION&&e.openElements.pop(),e._insertElement(t,ei.HTML);break;case oi.OPTGROUP:e.openElements.currentTagId===oi.OPTION&&e.openElements.pop(),e.openElements.currentTagId===oi.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ei.HTML);break;case oi.HR:e.openElements.currentTagId===oi.OPTION&&e.openElements.pop(),e.openElements.currentTagId===oi.OPTGROUP&&e.openElements.pop(),e._appendElement(t,ei.HTML),t.ackSelfClosing=!0;break;case oi.INPUT:case oi.KEYGEN:case oi.TEXTAREA:case oi.SELECT:e.openElements.hasInSelectScope(oi.SELECT)&&(e.openElements.popUntilTagNamePopped(oi.SELECT),e._resetInsertionMode(),t.tagID!==oi.SELECT&&e._processStartTag(t));break;case oi.SCRIPT:case oi.TEMPLATE:ms(e,t)}}function $s(e,t){switch(t.tagID){case oi.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===oi.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===oi.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===oi.OPTGROUP&&e.openElements.pop();break;case oi.OPTION:e.openElements.currentTagId===oi.OPTION&&e.openElements.pop();break;case oi.SELECT:e.openElements.hasInSelectScope(oi.SELECT)&&(e.openElements.popUntilTagNamePopped(oi.SELECT),e._resetInsertionMode());break;case oi.TEMPLATE:Es(e,t)}}function Vs(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(oi.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ps(e,t)}function Ws(e,t){var n;if(t.tagID===oi.HTML){if(e.fragmentContext||(e.insertionMode=Zi.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===oi.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else Qs(e,t)}function Qs(e,t){e.insertionMode=Zi.IN_BODY,As(e,t)}function Xs(e,t){e.insertionMode=Zi.IN_BODY,As(e,t)}function Ks(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ei.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),String.prototype.codePointAt;function Zs(e,t){return function(n){let r,o=0,i="";for(;r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}new Map([[34,"""],[38,"&"],[160," "]]),new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]);new Set([ri.AREA,ri.BASE,ri.BASEFONT,ri.BGSOUND,ri.BR,ri.COL,ri.EMBED,ri.FRAME,ri.HR,ri.IMG,ri.INPUT,ri.KEYGEN,ri.LINK,ri.META,ri.PARAM,ri.SOURCE,ri.TRACK,ri.WBR]);const Js=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ea=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ta={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function na(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=go("type",{handlers:{root:oa,element:ia,text:sa,comment:la,doctype:aa,raw:ua},unknown:pa}),o={parser:n?new ns(ta):ns.getFragmentParser(void 0,ta),handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),fa(o,te());const i=function(e,t){const n=t||{};return uo({file:n.file||void 0,location:!1,schema:"svg"===n.space?z:G,verbose:n.verbose||!1},e)}(n?o.parser.document:o.parser.getFragment(),{file:o.options.file});return o.stitches&&or(i,"comment",function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}}),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function ra(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function oa(e,t){ra(e.children,t)}function ia(e,t){!function(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===pi.PLAINTEXT)return;fa(t,te(e));const r=t.parser.openElements.current;let o="namespaceURI"in r?r.namespaceURI:ao.html;o===ao.html&&"svg"===n&&(o=ao.svg);const i=function(e,t){const n=(t||To).space;return Ao(e,"svg"===n?z:G)}({...e,children:[]},{space:o===ao.svg?"svg":"html"}),s={type:Ho.START_TAG,tagName:n,tagID:si(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:da(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}(e,t),ra(e.children,t),function(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Co.includes(n))return;if(t.parser.tokenizer.state===pi.PLAINTEXT)return;fa(t,ee(e));const r={type:Ho.END_TAG,tagName:n,tagID:si(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:da(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==pi.RCDATA&&t.parser.tokenizer.state!==pi.RAWTEXT&&t.parser.tokenizer.state!==pi.SCRIPT_DATA||(t.parser.tokenizer.state=pi.DATA)}(e,t)}function sa(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Ho.CHARACTER,chars:e.value,location:da(e)};fa(t,te(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function aa(e,t){const n={type:Ho.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:da(e)};fa(t,te(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function ca(e,t){t.stitches=!0;const n=function(e){return Yn("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=na({type:"root",children:e.children},t.options);n.children=r.children}la({type:"comment",value:{stitch:n}},t)}function la(e,t){const n=e.value,r={type:Ho.COMMENT,data:n,location:da(e)};fa(t,te(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ua(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,ha(t,te(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Js,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function pa(e,t){const n=e;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e="";throw ea.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+e)}ca(n,t)}function fa(e,t){ha(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=pi.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function ha(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function da(e){const t=te(e)||{line:void 0,column:void 0,offset:void 0},n=ee(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function ma(e){return function(t,n){return na(t,{...e,file:n})}}function Ea(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}_a(/[A-Za-z]/),_a(/[\dA-Za-z]/),_a(/[#-'*+\--9=?A-Z^-~]/);_a(/\d/),_a(/[\dA-Fa-f]/),_a(/[!-/:-@[-`{-~]/);const ga=_a(/\p{P}|\p{S}/u),Ta=_a(/\s/);function _a(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Aa(e,t,n){const r=Xn((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([ya(e[0]),ba(e[1])])}return t}(t);let i=-1;for(;++i<o.length;)rr(e,"text",s);function s(e,t){let n,s=-1;for(;++s<t.length;){const e=t[s],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[i][0],s=o[i][1];let a=0;const c=n.children.indexOf(e);let l=!1,u=[];r.lastIndex=0;let p=r.exec(e.value);for(;p;){const n=p.index,o={index:p.index,input:p.input,stack:[...t,e]};let i=s(...p,o);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(i)?u.push(...i):i&&u.push(i),a=n+p[0].length,l=!0),!r.global)break;p=r.exec(e.value)}l?(a<e.value.length&&u.push({type:"text",value:e.value.slice(a)}),n.children.splice(c,1,...u)):u=[e];return c+u.length}(e,t)}}function ya(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function ba(e){return"function"==typeof e?e:function(){return e}}const Sa="phrasing",Ca=["autolink","link","image","label"];function Ia(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ka(e){this.config.enter.autolinkProtocol.call(this,e)}function Oa(e){this.config.exit.autolinkProtocol.call(this,e)}function Na(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function va(e){this.config.exit.autolinkEmail.call(this,e)}function Da(e){this.exit(e)}function Ra(e){Aa(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Pa],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,La]],{ignore:["link","linkReference"]})}function Pa(e,t,n,r,o){let i="";if(!xa(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const s=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Ea(e,"(");let i=Ea(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!s[0])return!1;const a={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function La(e,t,n,r){return!(!xa(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function xa(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Ta(n)||ga(n))&&(!t||47!==n)}function Ma(){this.buffer()}function wa(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ba(){this.buffer()}function Fa(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ha(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Pt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ua(e){this.exit(e)}function ja(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Pt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ga(e){this.exit(e)}function za(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return i+=o.move(n.safe(n.associationId(e),{after:"]",before:i})),a(),s(),i+=o.move("]"),i}function Ya(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,o){const i=r.createTracker(o);let s=i.move("[^");const a=r.enter("footnoteDefinition"),c=r.enter("label");s+=i.move(r.safe(r.associationId(e),{before:s,after:"]"})),c(),s+=i.move("]:"),e.children&&e.children.length>0&&(i.shift(4),s+=i.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,i.current()),t?$a:qa)));return a(),s},footnoteReference:za},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function qa(e,t,n){return 0===t?e:$a(e,t,n)}function $a(e,t,n){return(n?"":" ")+e}za.peek=function(){return"["};const Va=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Wa(e){this.enter({type:"delete",children:[]},e)}function Qa(e){this.exit(e)}function Xa(e,t,n,r){const o=n.createTracker(r),i=n.enter("strikethrough");let s=o.move("~~");return s+=n.containerPhrasing(e,{...o.current(),before:s,after:"~"}),s+=o.move("~~"),i(),s}function Ka(e){return e.length}function Za(e){return null==e?"":String(e)}function Ja(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function ec(e,t,n){return">"+(n?"":" ")+e}function tc(e,t){return nc(e,t.inConstruct,!0)&&!nc(e,t.notInConstruct,!1)}function nc(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function rc(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&tc(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function oc(e,t,n){return(n?"":" ")+e}function ic(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function sc(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ac(e,t,n){const r=an(e),o=an(t);return void 0===r?void 0===o?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function cc(e,t,n,r){const o=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),i=n.enter("emphasis"),s=n.createTracker(r),a=s.move(o);let c=s.move(n.containerPhrasing(e,{after:o,before:a,...s.current()}));const l=c.charCodeAt(0),u=ac(r.before.charCodeAt(r.before.length-1),l,o);u.inside&&(c=sc(l)+c.slice(1));const p=c.charCodeAt(c.length-1),f=ac(r.after.charCodeAt(0),p,o);f.inside&&(c=c.slice(0,-1)+sc(p));const h=s.move(o);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},a+c+h}function lc(e){return e.value||""}function uc(e,t,n,r){const o=ic(n),i='"'===o?"Quote":"Apostrophe",s=n.enter("image");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("![");return l+=c.move(n.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+o),l+=c.move(n.safe(e.title,{before:l,after:o,...c.current()})),l+=c.move(o),a()),l+=c.move(")"),s(),l}function pc(e,t,n,r){const o=e.referenceType,i=n.enter("imageReference");let s=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),s();const u=n.stack;n.stack=[],s=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return s(),n.stack=u,i(),"full"!==o&&l&&l===p?"shortcut"===o?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(p+"]"),c}function fc(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=n.compilePattern(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function hc(e,t){const n=Oe(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function dc(e,t,n,r){const o=ic(n),i='"'===o?"Quote":"Apostrophe",s=n.createTracker(r);let a,c;if(hc(e,n)){const t=n.stack;n.stack=[],a=n.enter("autolink");let r=s.move("<");return r+=s.move(n.containerPhrasing(e,{before:r,after:">",...s.current()})),r+=s.move(">"),a(),n.stack=t,r}a=n.enter("link"),c=n.enter("label");let l=s.move("[");return l+=s.move(n.containerPhrasing(e,{before:l,after:"](",...s.current()})),l+=s.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(n.safe(e.url,{before:l,after:">",...s.current()})),l+=s.move(">")):(c=n.enter("destinationRaw"),l+=s.move(n.safe(e.url,{before:l,after:e.title?" ":")",...s.current()}))),c(),e.title&&(c=n.enter(`title${i}`),l+=s.move(" "+o),l+=s.move(n.safe(e.title,{before:l,after:o,...s.current()})),l+=s.move(o),c()),l+=s.move(")"),a(),l}function mc(e,t,n,r){const o=e.referenceType,i=n.enter("linkReference");let s=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),s();const u=n.stack;n.stack=[],s=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return s(),n.stack=u,i(),"full"!==o&&l&&l===p?"shortcut"===o?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(p+"]"),c}function Ec(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function gc(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Xa.peek=function(){return"~"},cc.peek=function(e,t,n){return n.options.emphasis||"*"},lc.peek=function(){return"<"},uc.peek=function(){return"!"},pc.peek=function(){return"!"},fc.peek=function(){return"`"},dc.peek=function(e,t,n){return hc(e,n)?"<":"["},mc.peek=function(){return"["};const Tc=Xn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function _c(e,t,n,r){const o=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),s=n.createTracker(r),a=s.move(o+o);let c=s.move(n.containerPhrasing(e,{after:o,before:a,...s.current()}));const l=c.charCodeAt(0),u=ac(r.before.charCodeAt(r.before.length-1),l,o);u.inside&&(c=sc(l)+c.slice(1));const p=c.charCodeAt(c.length-1),f=ac(r.after.charCodeAt(0),p,o);f.inside&&(c=c.slice(0,-1)+sc(p));const h=s.move(o+o);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},a+c+h}_c.peek=function(e,t,n){return n.options.strong||"*"};const Ac={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const s=n.indentLines(n.containerFlow(e,i.current()),ec);return o(),s},break:rc,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",s="`"===o?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,oc);return e(),t}const a=n.createTracker(r),c=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,i=0,s=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++i>s&&(s=i):i=1,o=r+t.length,r=n.indexOf(t,o);return s}(i,o)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(e.lang){const t=n.enter(`codeFencedLang${s}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...a.current()})),t()}return u+=a.move("\n"),i&&(u+=a.move(i+"\n")),u+=a.move(c),l(),u},definition:function(e,t,n,r){const o=ic(n),i='"'===o?"Quote":"Apostrophe",s=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(e),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":"\n",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+o),l+=c.move(n.safe(e.title,{before:l,after:o,...c.current()})),l+=c.move(o),a()),s(),l},emphasis:cc,hardBreak:rc,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(function(e,t){let n=!1;return or(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,nr}),Boolean((!e.depth||e.depth<3)&&Oe(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),s=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),s+"\n"+(1===o?"=":"-").repeat(s.length-(Math.max(s.lastIndexOf("\r"),s.lastIndexOf("\n"))+1))}const s="#".repeat(o),a=n.enter("headingAtx"),c=n.enter("phrasing");i.move(s+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(l)&&(l=sc(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,n.options.closeAtx&&(l+=" "+s),c(),a(),l},html:lc,image:uc,imageReference:pc,inlineCode:fc,link:dc,linkReference:mc,list:function(e,t,n,r){const o=n.enter("list"),i=n.bulletCurrent;let s=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Ec(n);const a=e.ordered?"."===s?")":".":function(e){const t=Ec(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!t||!n.bulletLastUsed)&&s===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==s&&"-"!==s||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),gc(n)===s&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){c=!0;break}}}}c&&(s=a),n.bulletCurrent=s;const l=n.containerFlow(e,r);return n.bulletLastUsed=s,n.bulletCurrent=i,o(),l},listItem:function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||Ec(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let s=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));const a=n.createTracker(r);a.move(i+" ".repeat(s-i.length)),a.shift(s);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){if(t)return(n?"":" ".repeat(s))+e;return(n?i:i+" ".repeat(s-i.length))+e});return c(),l},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),i=n.enter("phrasing"),s=n.containerPhrasing(e,r);return i(),o(),s},root:function(e,t,n,r){return(e.children.some(function(e){return Tc(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:_c,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(gc(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function yc(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function bc(e){this.exit(e),this.data.inTable=void 0}function Sc(e){this.enter({type:"tableRow",children:[]},e)}function Cc(e){this.exit(e)}function Ic(e){this.enter({type:"tableCell",children:[]},e)}function kc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Oc));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Oc(e,t){return"|"===t?t:e}function Nc(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Ac.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return a(function(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("table");for(;++o<r.length;)i[o]=c(r[o],t,n);return s(),i}(e,n,r),e.align)},tableCell:s,tableRow:function(e,t,n,r){const o=c(e,n,r),i=a([o]);return i.slice(0,i.indexOf("\n"))}}};function s(e,t,n,r){const o=n.enter("tableCell"),s=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:i,after:i});return s(),o(),a}function a(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||Ka,i=[],s=[],a=[],c=[];let l=0,u=-1;for(;++u<e.length;){const t=[],r=[];let i=-1;for(e[u].length>l&&(l=e[u].length);++i<e[u].length;){const s=Za(e[u][i]);if(!1!==n.alignDelimiters){const e=o(s);r[i]=e,(void 0===c[i]||e>c[i])&&(c[i]=e)}t.push(s)}s[u]=t,a[u]=r}let p=-1;if("object"==typeof r&&"length"in r)for(;++p<l;)i[p]=Ja(r[p]);else{const e=Ja(r);for(;++p<l;)i[p]=e}p=-1;const f=[],h=[];for(;++p<l;){const e=i[p];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,c[p]-t.length-r.length);const s=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>c[p]&&(c[p]=o),h[p]=o),f[p]=s}s.splice(1,0,f),a.splice(1,0,h),u=-1;const d=[];for(;++u<s.length;){const e=s[u],t=a[u];p=-1;const r=[];for(;++p<l;){const o=e[p]||"";let s="",a="";if(!1!==n.alignDelimiters){const e=c[p]-(t[p]||0),n=i[p];114===n?s=" ".repeat(e):99===n?e%2?(s=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):(s=" ".repeat(e/2),a=s):a=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!p||r.push(" "),!1!==n.alignDelimiters&&r.push(s),r.push(o),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&p===l-1||r.push("|")}d.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return d.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function c(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("tableRow");for(;++o<r.length;)i[o]=s(r[o],0,t,n);return a(),i}}function vc(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Dc(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===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 Rc(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,s="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);i&&a.move(s);let c=Ac.listItem(e,t,n,{...r,...a.current()});return i&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+s})),c}const Pc=Bc(/[A-Za-z]/),Lc=Bc(/[\dA-Za-z]/);Bc(/[#-'*+\--9=?A-Z^-~]/);Bc(/\d/),Bc(/[\dA-Fa-f]/),Bc(/[!-/:-@[-`{-~]/);function xc(e){return null!==e&&(e<0||32===e)}const Mc=Bc(/\p{P}|\p{S}/u),wc=Bc(/\s/);function Bc(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}const Fc={tokenize:function(e,t,n){let r=0;return function t(i){if((87===i||119===i)&&r<3)return r++,e.consume(i),t;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Hc={tokenize:function(e,t,n){let r,o,i;return s;function s(t){return 46===t||95===t?e.check(jc,c,a)(t):null===t||xc(t)||wc(t)||45!==t&&Mc(t)?c(t):(i=!0,e.consume(t),s)}function a(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),s}function c(e){return o||r||!i?n(e):t(e)}},partial:!0},Uc={tokenize:function(e,t){let n=0,r=0;return o;function o(s){return 40===s?(n++,e.consume(s),o):41===s&&r<n?i(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(jc,t,i)(s):null===s||xc(s)||wc(s)?t(s):(e.consume(s),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},jc={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),i):93===s?(e.consume(s),o):60===s||null===s||xc(s)||wc(s)?t(s):n(s)}function o(e){return null===e||40===e||91===e||xc(e)||wc(e)?t(e):r(e)}function i(e){return Pc(e)?s(e):n(e)}function s(t){return 59===t?(e.consume(t),r):Pc(t)?(e.consume(t),s):n(t)}},partial:!0},Gc={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Lc(e)?n(e):t(e)}},partial:!0},zc={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!Wc.call(r,r.previous)||Zc(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Fc,e.attempt(Hc,e.attempt(Uc,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Wc},Yc={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){if((72===t||104===t)&&Qc.call(r,r.previous)&&!Zc(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),s;return n(t)};function s(t){if(Pc(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),s;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),i?c:(i=!0,a)):n(t)}function c(t){return null===t||function(e){return null!==e&&(e<32||127===e)}(t)||xc(t)||wc(t)||Mc(t)?n(t):e.attempt(Hc,e.attempt(Uc,l),n)(t)}function l(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Qc},qc={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let o,i;return function(t){if(!Kc(t)||!Xc.call(r,r.previous)||Zc(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return Kc(t)?(e.consume(t),s):64===t?(e.consume(t),a):n(t)}function a(t){return 46===t?e.check(Gc,l,c)(t):45===t||95===t||Lc(t)?(i=!0,e.consume(t),a):l(t)}function c(t){return e.consume(t),o=!0,a}function l(s){return i&&o&&Pc(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:Xc},$c={};let Vc=48;for(;Vc<123;)$c[Vc]=qc,Vc++,58===Vc?Vc=65:91===Vc&&(Vc=97);function Wc(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||xc(e)}function Qc(e){return!Pc(e)}function Xc(e){return!(47===e||Kc(e))}function Kc(e){return 43===e||45===e||46===e||95===e||Lc(e)}function Zc(e){let t=e.length,n=!1;for(;t--;){const 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}$c[43]=qc,$c[45]=qc,$c[46]=qc,$c[95]=qc,$c[72]=[qc,Yc],$c[104]=[qc,Yc],$c[87]=[qc,zc],$c[119]=[qc,zc];tl(/[A-Za-z]/),tl(/[\dA-Za-z]/),tl(/[#-'*+\--9=?A-Z^-~]/);tl(/\d/),tl(/[\dA-Fa-f]/),tl(/[!-/:-@[-`{-~]/);function Jc(e){return null!==e&&(e<0||32===e)}function el(e){return-2===e||-1===e||32===e}tl(/\p{P}|\p{S}/u),tl(/\s/);function tl(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function nl(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(el(r))return e.enter(n),s(r);return t(r)};function s(r){return el(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const rl={tokenize:function(e,t,n){const r=this;return nl(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ol(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){s=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!s||!s._balanced)return n(o);const a=Pt(r.sliceSerialize({start:s.end,end:r.now()}));if(94!==a.codePointAt(0)||!i.includes(a.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function il(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...c),e}function sl(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,s=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",c)}function c(a){if(s>999||93===a&&!i||null===a||91===a||Jc(a))return n(a);if(93===a){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(Pt(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return Jc(a)||(i=!0),s++,e.consume(a),92===a?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function al(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,s,a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!s||null===t||91===t||Jc(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=Pt(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Jc(t)||(s=!0),a++,e.consume(t),92===t?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),nl(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function cl(e,t,n){return e.check(ot,t,e.attempt(rl,t,n))}function ll(e){e.exit("gfmFootnoteDefinition")}function ul(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const o=this.previous,i=this.events;let s=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),a(t)};function a(i){const c=an(o);if(126===i)return s>1?r(i):(e.consume(i),s++,a);if(s<2&&!t)return r(i);const l=e.exit("strikethroughSequenceTemporary"),u=an(i);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(i)}},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";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],a=t.parser.constructs.insideSpan.null;a&&De(s,s.length,0,Kt(a,e.slice(r+1,n),t)),De(s,s.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),De(e,r-1,n-r+3,s),n=r+s.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}dl(/[A-Za-z]/),dl(/[\dA-Za-z]/),dl(/[#-'*+\--9=?A-Z^-~]/);dl(/\d/),dl(/[\dA-Fa-f]/),dl(/[!-/:-@[-`{-~]/);function pl(e){return null!==e&&e<-2}function fl(e){return null!==e&&(e<0||32===e)}function hl(e){return-2===e||-1===e||32===e}dl(/\p{P}|\p{S}/u),dl(/\s/);function dl(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ml(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(hl(r))return e.enter(n),s(r);return t(r)};function s(r){return hl(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}class El{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0===n&&0===r.length)return;for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=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;const 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(const t of r)e.push(t);r=n.pop()}this.map.length=0}}function gl(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function Tl(e,t,n){const r=this;let o,i=0,s=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?A:a;if(i===A&&r.parser.lazy[r.now().line])return n(e);return i(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return c(e);return o=!0,s+=1,c(e)}(t)}function c(t){return null===t?n(t):pl(t)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):hl(t)?ml(e,c,"whitespace")(t):(s+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||fl(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return 92===t||124===t?(e.consume(t),l):l(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,hl(t)?ml(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?d(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):_(t)}function h(t){return hl(t)?ml(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||pl(t)?T(t):_(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),E(t)):_(t)}function E(t){return 45===t?(e.consume(t),E):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(t))}function g(t){return hl(t)?ml(e,T,"whitespace")(t):T(t)}function T(n){return 124===n?f(n):(null===n||pl(n))&&o&&i===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):_(n)}function _(e){return n(e)}function A(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||pl(n)?(e.exit("tableRow"),t(n)):hl(n)?ml(e,y,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||fl(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?S:b)}function S(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function _l(e,t){let n,r,o,i=-1,s=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,p=0;const f=new El;for(;++i<e.length;){const h=e[i],d=h[1];"enter"===h[0]?"tableHead"===d.type?(u=!1,0!==p&&(yl(f,t,p,n,r),r=void 0,p=0),n={type:"table",start:Object.assign({},d.start),end:Object.assign({},d.end)},f.add(i,0,[["enter",n,t]])):"tableRow"===d.type||"tableDelimiterRow"===d.type?(s=!0,o=void 0,c=[0,0,0,0],l=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},d.start),end:Object.assign({},d.end)},f.add(i,0,[["enter",r,t]])),a="tableDelimiterRow"===d.type?2:r?3:1):!a||"data"!==d.type&&"tableDelimiterMarker"!==d.type&&"tableDelimiterFiller"!==d.type?"tableCellDivider"===d.type&&(s?s=!1:(0!==c[1]&&(l[0]=l[1],o=Al(f,t,c,a,void 0,o)),c=l,l=[c[1],i,0,0])):(s=!1,0===l[2]&&(0!==c[1]&&(l[0]=l[1],o=Al(f,t,c,a,void 0,o),c=[0,0,0,0]),l[2]=i)):"tableHead"===d.type?(u=!0,p=i):"tableRow"===d.type||"tableDelimiterRow"===d.type?(p=i,0!==c[1]?(l[0]=l[1],o=Al(f,t,c,a,i,o)):0!==l[1]&&(o=Al(f,t,l,a,i,o)),a=0):!a||"data"!==d.type&&"tableDelimiterMarker"!==d.type&&"tableDelimiterFiller"!==d.type||(l[3]=i)}for(0!==p&&yl(f,t,p,n,r),f.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=gl(t.events,i))}return e}function Al(e,t,n,r,o,i){const s=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},bl(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const a=bl(t.events,n[1]);if(i={type:s,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=bl(t.events,n[2]),i=bl(t.events,n[3]),s={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",s,t]])}return void 0!==o&&(i.end=Object.assign({},bl(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function yl(e,t,n,r,o){const i=[],s=bl(t.events,n);o&&(o.end=Object.assign({},s),i.push(["exit",o,t])),r.end=Object.assign({},s),i.push(["exit",r,t]),e.add(n+1,0,i)}function bl(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}Cl(/[A-Za-z]/),Cl(/[\dA-Za-z]/),Cl(/[#-'*+\--9=?A-Z^-~]/);Cl(/\d/),Cl(/[\dA-Fa-f]/),Cl(/[!-/:-@[-`{-~]/);function Sl(e){return-2===e||-1===e||32===e}Cl(/\p{P}|\p{S}/u),Cl(/\s/);function Cl(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}const Il={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return function(e){return null!==e&&(e<0||32===e)}(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return function(e){return null!==e&&e<-2}(r)?t(r):Sl(r)?e.check({tokenize:kl},t,n)(r):n(r)}}};function kl(e,t,n){return function(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return Sl(r)?(e.enter(n),s(r)):t(r)};function s(r){return Sl(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}(e,function(e){return null===e?n(e):t(e)},"whitespace")}const Ol={};function Nl(e){const t=e||Ol,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Be([{text:$c},{document:{91:{name:"gfmFootnoteDefinition",tokenize:al,continuation:{tokenize:cl},exit:ll}},text:{91:{name:"gfmFootnoteCall",tokenize:sl},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ol,resolveTo:il}}},ul(e),{flow:{null:{name:"table",tokenize:Tl,resolveAll:_l}}},{text:{91:Il}}])}(t)),o.push([{transforms:[Ra],enter:{literalAutolink:Ia,literalAutolinkEmail:ka,literalAutolinkHttp:ka,literalAutolinkWww:ka},exit:{literalAutolink:Da,literalAutolinkEmail:va,literalAutolinkHttp:Oa,literalAutolinkWww:Na}},{enter:{gfmFootnoteCallString:Ma,gfmFootnoteCall:wa,gfmFootnoteDefinitionLabelString:Ba,gfmFootnoteDefinition:Fa},exit:{gfmFootnoteCallString:Ha,gfmFootnoteCall:Ua,gfmFootnoteDefinitionLabelString:ja,gfmFootnoteDefinition:Ga}},{canContainEols:["delete"],enter:{strikethrough:Wa},exit:{strikethrough:Qa}},{enter:{table:yc,tableData:Ic,tableHeader:Ic,tableRow:Sc},exit:{codeText:kc,table:bc,tableData:Cc,tableHeader:Cc,tableRow:Cc}},{exit:{taskListCheckValueChecked:vc,taskListCheckValueUnchecked:vc,paragraph:Dc}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Sa,notInConstruct:Ca},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Sa,notInConstruct:Ca},{character:":",before:"[ps]",after:"\\/",inConstruct:Sa,notInConstruct:Ca}]},Ya(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Va}],handlers:{delete:Xa}},Nc(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Rc}}]}}(t))}function vl(){return e=>{const t=/^:::(\w+)(?:\[(.*?)\])?\s*$/,n=/^:::\s*$/,r=/^:::(\w+)(?:\[(.*?)\])?\s*([\s\S]*?)\s*:::$/,o=[];let i=[],s=!1,a=null,c=null;e.children.forEach(e=>{if("paragraph"===e.type&&1===e.children.length&&"text"===e.children[0].type){const l=e.children[0].value.trim(),u=l.match(t),p=l.match(n),f=l.match(r);if(f){const e=f[1],t=f[2]?f[2]?.trim():void 0,n=f[3],r={type:"admonition",data:{hName:"Admonition",hProperties:{type:e,title:t}},children:[{type:"text",value:n?.trim()}]};return void o.push(r)}if(u)return a=u[1],c=u[2]||a,void(s=!0);if(p&&s)return o.push({type:"admonition",data:{hName:"Admonition",hProperties:{type:a,title:c}},children:i}),i=[],s=!1,a=null,void(c=null)}s?i.push(e):o.push(e)}),i.length>0&&a&&o.push({type:"admonition",data:{hName:"Admonition",hProperties:{type:a,title:c}},children:i}),e.children=o}}const Dl=function({children:e}){return(0,Ie.jsx)(Wr,{rehypePlugins:[ma],remarkPlugins:[Nl,vl],components:{pre:e=>(0,Ie.jsx)("div",{...e}),code({node:e,inline:t,className:n,children:r,...o}){const i=/language-(\w+)/.exec(n||"");return i?(0,Ie.jsx)(s.default,{className:n,language:i[1],...o,children:r}):(0,Ie.jsx)("code",{className:n,...o,children:r})},admonition:({node:e,...t})=>{const n=e.data?.hProperties?.type||"note",r=e.data?.hProperties?.title||n,o=function(e){if(!e||!Array.isArray(e))return"";const t=e=>{switch(e.type){case"text":return e.value;case"element":const{tagName:n,properties:r,children:o}=e;return`<${n} ${r?Object.entries(r).map(([e,t])=>`${e}="${t}"`).join(" "):""}>${o?o.map(t).join(""):""}</${n}>`;default:return""}};return e.map(t).join("")}(e.children);return(0,Ie.jsx)(i.A,{type:n,title:r,...t,children:(0,Ie.jsx)("div",{dangerouslySetInnerHTML:{__html:o}})})}},children:e})}},23397(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&o(t,e,n[s]);return i(t,e),t}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,u.default)();return c.default.createElement(m,{key:String(t),...e},(0,l.sanitizeTabsChildren)(e.children))};const c=s(n(96540)),l=n(67622),u=a(n(92303)),p=a(n(21607)),f=a(n(35970));function h({className:e,block:t,selectedValue:n,selectValue:r,tabValues:o,onChange:i}){const s=[],{blockElementScrollPositionUntilNextRender:a}=(0,l.useScrollPositionBlocker)(),u=e=>{const t=e.currentTarget,c=s.indexOf(t),l=o[c].value;l!==n&&(a(t),r(l),i?.(c))},f=e=>{let t=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const n=s.indexOf(e.currentTarget)+1;t=s[n]??s[0];break}case"ArrowLeft":{const n=s.indexOf(e.currentTarget)-1;t=s[n]??s[s.length-1];break}}t?.focus()},h=(0,c.useRef)(null),[d,m]=(0,c.useState)(!1);(0,c.useEffect)(()=>{const e=new ResizeObserver(e=>{for(let t of e)requestAnimationFrame(()=>{t.target.clientWidth<t.target.scrollWidth?m(!0):m(!1)})});return e.observe(h.current),()=>{e.disconnect()}},[]);return c.default.createElement("div",{className:"openapi-tabs__schema-tabs-container",style:{marginBottom:"1rem"}},d&&c.default.createElement("button",{className:"openapi-tabs__arrow left",onClick:e=>{e.preventDefault(),h.current&&(h.current.scrollLeft-=90)}}),c.default.createElement("ul",{ref:h,role:"tablist","aria-orientation":"horizontal",className:(0,p.default)("openapi-tabs__schema-list-container","tabs",{"tabs--block":t},e)},o.map(({value:e,label:t,attributes:r})=>c.default.createElement("li",{role:"tab",tabIndex:n===e?0:-1,"aria-selected":n===e,key:e,ref:e=>{s.push(e)},onKeyDown:f,onClick:u,...r,className:(0,p.default)("tabs__item","openapi-tabs__schema-item",r?.className,{active:n===e})},c.default.createElement("span",{className:"openapi-tabs__schema-label"},t??e)))),d&&c.default.createElement("button",{className:"openapi-tabs__arrow right",onClick:e=>{e.preventDefault(),h.current&&(h.current.scrollLeft+=90)}}))}function d({lazy:e,children:t,selectedValue:n}){const r=(Array.isArray(t)?t:[t]).filter(Boolean),o=(0,f.default)(r);if(e){const e=o.find(e=>e.props.value===n);return e?(0,c.cloneElement)(e,{className:"margin-top--md"}):null}return c.default.createElement("div",{className:"margin-top--md"},r.map((e,t)=>(0,c.cloneElement)(e,{key:t,hidden:e.props.value!==n})))}function m(e){const t=(0,l.useTabs)(e);return c.default.createElement("div",{className:"openapi-tabs__schema-container"},c.default.createElement(h,{...e,...t}),c.default.createElement(d,{...e,...t}))}},47530(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(96540));t.default=e=>o.default.createElement("div",{className:`openapi-skeleton ${e.size??"md"}`})},64218(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OPENAPI_SECURITY_SCHEMES=t.OPENAPI_PARAMS_DETAILS=t.OPENAPI_SCHEMA_ITEM=t.OPENAPI_SCHEMA=t.OPENAPI_STATUS_CODES=t.OPENAPI_BODY=t.OPENAPI_RESPONSE_EXAMPLES=t.OPENAPI_AUTH=t.OPENAPI_FORM=t.OPENAPI_FORM_FILE_UPLOAD=t.OPENAPI_PARAM_OPTIONS=t.OPENAPI_SERVER=t.OPENAPI_REQUEST=t.OPENAPI_TABS=t.OPENAPI_RESPONSE=void 0,t.OPENAPI_RESPONSE={TITLE:"theme.openapi.response.title",CLEAR:"theme.openapi.response.clear",PLACEHOLDER:"theme.openapi.response.placeholder",HEADERS_TAB:"theme.openapi.response.headersTab"},t.OPENAPI_TABS={RESPONSES_LABEL:"theme.openapi.tabs.responses.label"},t.OPENAPI_REQUEST={BODY_TITLE:"theme.openapi.request.body.title",ACCEPT_TITLE:"theme.openapi.request.accept.title",SEND_BUTTON:"theme.openapi.request.sendButton",REQUIRED_LABEL:"theme.openapi.request.requiredLabel",REQUEST_TITLE:"theme.openapi.request.title",COLLAPSE_ALL:"theme.openapi.request.collapseAll",EXPAND_ALL:"theme.openapi.request.expandAll",BASE_URL_TITLE:"theme.openapi.request.baseUrl.title",AUTH_TITLE:"theme.openapi.request.auth.title",PARAMETERS_TITLE:"theme.openapi.request.parameters.title",FETCHING_MESSAGE:"theme.openapi.request.fetchingMessage",CONNECTION_FAILED:"theme.openapi.request.connectionFailed",ERROR_TIMEOUT:"theme.openapi.request.error.timeout",ERROR_NETWORK:"theme.openapi.request.error.network",ERROR_CORS:"theme.openapi.request.error.cors",ERROR_UNKNOWN:"theme.openapi.request.error.unknown"},t.OPENAPI_SERVER={EDIT_BUTTON:"theme.openapi.server.editButton",HIDE_BUTTON:"theme.openapi.server.hideButton"},t.OPENAPI_PARAM_OPTIONS={SHOW_OPTIONAL:"theme.openapi.paramOptions.showOptional",HIDE_OPTIONAL:"theme.openapi.paramOptions.hideOptional"},t.OPENAPI_FORM_FILE_UPLOAD={CLEAR_BUTTON:"theme.openapi.formFileUpload.clearButton"},t.OPENAPI_FORM={FIELD_REQUIRED:"theme.openapi.form.fieldRequired"},t.OPENAPI_AUTH={BEARER_TOKEN:"theme.openapi.auth.bearerToken",USERNAME:"theme.openapi.auth.username",PASSWORD:"theme.openapi.auth.password",SECURITY_SCHEME:"theme.openapi.auth.securityScheme"},t.OPENAPI_RESPONSE_EXAMPLES={EXAMPLE:"theme.openapi.responseExamples.example",AUTO_EXAMPLE:"theme.openapi.responseExamples.autoExample"},t.OPENAPI_BODY={EXAMPLE_FROM_SCHEMA:"theme.openapi.body.exampleFromSchema"},t.OPENAPI_STATUS_CODES={RESPONSE_HEADERS:"theme.openapi.statusCodes.responseHeaders",SCHEMA_TITLE:"theme.openapi.statusCodes.schemaTitle"},t.OPENAPI_SCHEMA={NO_SCHEMA:"theme.openapi.schema.noSchema"},t.OPENAPI_SCHEMA_ITEM={REQUIRED:"theme.openapi.schemaItem.required",DEPRECATED:"theme.openapi.schemaItem.deprecated",NULLABLE:"theme.openapi.schemaItem.nullable",DEFAULT_VALUE:"theme.openapi.schemaItem.defaultValue",EXAMPLE:"theme.openapi.schemaItem.example",EXAMPLES:"theme.openapi.schemaItem.examples",DESCRIPTION:"theme.openapi.schemaItem.description",CONSTANT_VALUE:"theme.openapi.schemaItem.constantValue",ENUM_VALUE:"theme.openapi.schemaItem.enumValue",ENUM_DESCRIPTION:"theme.openapi.schemaItem.enumDescription",POSSIBLE_VALUES:"theme.openapi.schemaItem.possibleValues",ONE_OF:"theme.openapi.schemaItem.oneOf",ANY_OF:"theme.openapi.schemaItem.anyOf"},t.OPENAPI_PARAMS_DETAILS={PARAMETERS_TITLE:"theme.openapi.paramsDetails.parametersTitle"},t.OPENAPI_SECURITY_SCHEMES={NAME:"theme.openapi.securitySchemes.name",TYPE:"theme.openapi.securitySchemes.type",SCOPES:"theme.openapi.securitySchemes.scopes",IN:"theme.openapi.securitySchemes.in",FLOWS:"theme.openapi.securitySchemes.flows",DESCRIPTION:"theme.openapi.securitySchemes.description",SCHEME:"theme.openapi.securitySchemes.scheme",BEARER_FORMAT:"theme.openapi.securitySchemes.bearerFormat",OPEN_ID_CONNECT_URL:"theme.openapi.securitySchemes.openIdConnectUrl"}},55248(e,t,n){"use strict";const r=n(94083),{stdout:o,stderr:i}=n(2747),{stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:a}=n(4058),{isArray:c}=Array,l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null);class p{constructor(e){return f(e)}}const f=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=o?o.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>A(t.template,...e),Object.setPrototypeOf(t,h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=p,t.template};function h(e){return f(e)}for(const[b,S]of Object.entries(r))u[b]={get(){const e=g(this,E(S.open,S.close,this._styler),this._isEmpty);return Object.defineProperty(this,b,{value:e}),e}};u.visible={get(){const e=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const d=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const b of d)u[b]={get(){const{level:e}=this;return function(...t){const n=E(r.color[l[e]][b](...t),r.color.close,this._styler);return g(this,n,this._isEmpty)}}};for(const b of d){u["bg"+b[0].toUpperCase()+b.slice(1)]={get(){const{level:e}=this;return function(...t){const n=E(r.bgColor[l[e]][b](...t),r.bgColor.close,this._styler);return g(this,n,this._isEmpty)}}}}const m=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),E=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},g=(e,t,n)=>{const r=(...e)=>c(e[0])&&c(e[0].raw)?T(r,A(r,...e)):T(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,m),r._generator=e,r._styler=t,r._isEmpty=n,r},T=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=s(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=a(t,o,r,i)),r+t+o};let _;const A=(e,...t)=>{const[r]=t;if(!c(r)||!c(r.raw))return t.join(" ");const o=t.slice(1),i=[r.raw[0]];for(let n=1;n<r.length;n++)i.push(String(o[n-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[n]));return void 0===_&&(_=n(12991)),_(e,i.join(""))};Object.defineProperties(h.prototype,u);const y=h();y.supportsColor=o,y.stderr=h({level:i?i.level:0}),y.stderr.supportsColor=i,e.exports=y},12991(e){"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function s(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):i.get(e)||e}function a(e,t){const n=[],i=t.trim().split(/\s*,\s*/g);let a;for(const c of i){const t=Number(c);if(Number.isNaN(t)){if(!(a=c.match(r)))throw new Error(`Invalid Chalk template style argument: ${c} (in style '${e}')`);n.push(a[2].replace(o,(e,t,n)=>t?s(t):n))}else n.push(t)}return n}function c(e){n.lastIndex=0;const t=[];let r;for(;null!==(r=n.exec(e));){const e=r[1];if(r[2]){const n=a(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function l(e,t){const n={};for(const o of t)for(const e of o.styles)n[e[0]]=o.inverse?null:e.slice(1);let r=e;for(const[o,i]of Object.entries(n))if(Array.isArray(i)){if(!(o in r))throw new Error(`Unknown Chalk style: ${o}`);r=i.length>0?r[o](...i):r[o]}return r}e.exports=(e,n)=>{const r=[],o=[];let i=[];if(n.replace(t,(t,n,a,u,p,f)=>{if(n)i.push(s(n));else if(u){const t=i.join("");i=[],o.push(0===r.length?t:l(e,r)(t)),r.push({inverse:a,styles:c(u)})}else if(p){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");o.push(l(e,r)(i.join(""))),i=[],r.pop()}else i.push(f)}),o.push(i.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return o.join("")}},4058(e){"use strict";e.exports={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,s="";do{s+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return s+=e.substr(i),s},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let o=0,i="";do{const s="\r"===e[r-1];i+=e.substr(o,(s?r-1:r)-o)+t+(s?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.substr(o),i}}},15659(e,t,n){const r=n(8156),o={};for(const a of Object.keys(r))o[r[a]]=a;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const a of Object.keys(i)){if(!("channels"in i[a]))throw new Error("missing channels property: "+a);if(!("labels"in i[a]))throw new Error("missing channel labels property: "+a);if(i[a].labels.length!==i[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:e,labels:t}=i[a];delete i[a].channels,delete i[a].labels,Object.defineProperty(i[a],"channels",{value:e}),Object.defineProperty(i[a],"labels",{value:t})}function s(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=i-o;let a,c;i===o?a=0:t===i?a=(n-r)/s:n===i?a=2+(r-t)/s:r===i&&(a=4+(t-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const l=(o+i)/2;return c=i===o?0:l<=.5?s/(i+o):s/(2-i-o),[a,100*c,100*l]},i.rgb.hsv=function(e){let t,n,r,o,i;const s=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(s,a,c),u=l-Math.min(s,a,c),p=function(e){return(l-e)/6/u+.5};return 0===u?(o=0,i=0):(i=u/l,t=p(s),n=p(a),r=p(c),s===l?o=r-n:a===l?o=1/3+t-r:c===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*l]},i.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=i.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*s,100*r]},i.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},i.rgb.keyword=function(e){const t=o[e];if(t)return t;let n,i=1/0;for(const o of Object.keys(r)){const t=s(e,r[o]);t<i&&(i=t,n=o)}return n},i.keyword.rgb=function(e){return r[e]},i.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){const t=i.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*r-16,500*(n-r),200*(r-o)]},i.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,i,s;if(0===n)return s=255*r,[s,s,s];o=r<.5?r*(1+n):r+n-r*n;const a=2*r-o,c=[0,0,0];for(let l=0;l<3;l++)i=t+1/3*-(l-1),i<0&&i++,i>1&&i--,s=6*i<1?a+6*(o-a)*i:2*i<1?o:3*i<2?a+(o-a)*(2/3-i)*6:a,c[l]=255*s;return c},i.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i;return[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},i.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*i),c=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,c,s];case 1:return[a,r,s];case 2:return[s,r,c];case 3:return[s,a,r];case 4:return[c,s,r];case 5:return[r,s,a]}},i.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let i,s;s=(2-n)*r;const a=(2-n)*o;return i=n*o,i/=a<=1?a:2-a,i=i||0,s/=2,[t,100*i,100*s]},i.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let i;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),a=1-r;i=6*t-s,1&s&&(i=1-i);const c=n+i*(a-n);let l,u,p;switch(s){default:case 6:case 0:l=a,u=c,p=n;break;case 1:l=c,u=a,p=n;break;case 2:l=n,u=a,p=c;break;case 3:l=n,u=c,p=a;break;case 4:l=c,u=n,p=a;break;case 5:l=a,u=n,p=c}return[255*l,255*u,255*p]},i.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},i.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,i,s;return o=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[255*o,255*i,255*s]},i.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},i.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,i=t**3,s=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},i.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(n*n+r*r),o]},i.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},i.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let s=null===t?i.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===s&&(a+=60),a},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),s=o-i;let a,c;return a=s<1?i/(1-s):0,c=s<=0?0:o===t?(n-r)/s%6:o===n?2+(r-t)/s:4+(t-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},i.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},i.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],i=t%1*6,s=i%1,a=1-s;let c=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return c=(1-n)*r,[255*(n*o[0]+c),255*(n*o[1]+c),255*(n*o[2]+c)]},i.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},10734(e,t,n){const r=n(15659),o=n(8507),i={};Object.keys(r).forEach(e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:r[e].channels}),Object.defineProperty(i[e],"labels",{value:r[e].labels});const t=o(e);Object.keys(t).forEach(n=>{const r=t[n];i[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,o=0;o<e;o++)r[o]=Math.round(r[o]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),i[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=i},8507(e,t,n){const r=n(15659);function o(e){const t=function(){const e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),o=Object.keys(r[e]);for(let r=o.length,i=0;i<r;i++){const r=o[i],s=t[r];-1===s.distance&&(s.distance=t[e].distance+1,s.parent=e,n.unshift(r))}}return t}function i(e,t){return function(n){return t(e(n))}}function s(e,t){const n=[t[e].parent,e];let o=r[t[e].parent][e],s=t[e].parent;for(;t[s].parent;)n.unshift(t[s].parent),o=i(r[t[s].parent][s],o),s=t[s].parent;return o.conversion=n,o}e.exports=function(e){const t=o(e),n={},r=Object.keys(t);for(let o=r.length,i=0;i<o;i++){const e=r[i];null!==t[e].parent&&(n[e]=s(e,t))}return n}},8156(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},10365(e){function t(e){var n,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(n=0;n<i;n++)e[n]&&(r=t(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function n(){for(var e,n,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(n=t(e))&&(o&&(o+=" "),o+=n);return o}e.exports=n,e.exports.clsx=n},21607(e){function t(e){var n,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(n=0;n<i;n++)e[n]&&(r=t(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function n(){for(var e,n,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(n=t(e))&&(o&&(o+=" "),o+=n);return o}e.exports=n,e.exports.clsx=n},92849(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,l,u,p=arguments[0],f=1,h=arguments.length,d=!1;for("boolean"==typeof p&&(d=p,p=arguments[1]||{},f=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});f<h;++f)if(null!=(t=arguments[f]))for(n in t)r=c(p,n),p!==(o=c(t,n))&&(d&&o&&(s(o)||(l=i(o)))?(l?(l=!1,u=r&&i(r)?r:[]):u=r&&s(r)?r:{},a(p,{name:n,newValue:e(d,u,o)})):void 0!==o&&a(p,{name:n,newValue:o}));return p}},5077(e){"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,c=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(c,l):l}e.exports=function(e,c){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var p=1,f=1;function h(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function d(){var e={line:p,column:f};return function(t){return t.position=new m(e),T(),t}}function m(e){this.start=e,this.end={line:p,column:f},this.source=c.source}function E(t){var n=new Error(c.source+":"+p+":"+f+": "+t);if(n.reason=t,n.filename=c.source,n.line=p,n.column=f,n.source=e,!c.silent)throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function T(){g(r)}function _(e){var t;for(e=e||[];t=A();)!1!==t&&e.push(t);return e}function A(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;l!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,l===e.charAt(n-1))return E("End of comment missing");var r=e.slice(2,n-2);return f+=2,h(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function y(){var e=d(),n=g(o);if(n){if(A(),!g(i))return E("property missing ':'");var r=g(s),c=e({type:"declaration",property:u(n[0].replace(t,l)),value:r?u(r[0].replace(t,l)):l});return g(a),c}}return m.prototype.content=e,T(),function(){var e,t=[];for(_(t);e=y();)!1!==e&&(t.push(e),_(t));return t}()}},55580(e,t,n){var r=n(56110)(n(9325),"DataView");e.exports=r},21549(e,t,n){var r=n(22032),o=n(63862),i=n(66721),s=n(12749),a=n(35749);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},80079(e,t,n){var r=n(63702),o=n(70080),i=n(24739),s=n(48655),a=n(31175);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},68223(e,t,n){var r=n(56110)(n(9325),"Map");e.exports=r},53661(e,t,n){var r=n(63040),o=n(17670),i=n(90289),s=n(4509),a=n(72949);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},32804(e,t,n){var r=n(56110)(n(9325),"Promise");e.exports=r},76545(e,t,n){var r=n(56110)(n(9325),"Set");e.exports=r},37217(e,t,n){var r=n(80079),o=n(51420),i=n(90938),s=n(63605),a=n(29817),c=n(80945);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=s,l.prototype.has=a,l.prototype.set=c,e.exports=l},51873(e,t,n){var r=n(9325).Symbol;e.exports=r},37828(e,t,n){var r=n(9325).Uint8Array;e.exports=r},28303(e,t,n){var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},70695(e,t,n){var r=n(78096),o=n(72428),i=n(56449),s=n(3656),a=n(30361),c=n(37167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&s(e),f=!n&&!u&&!p&&c(e),h=n||u||p||f,d=h?r(e.length,String):[],m=d.length;for(var E in e)!t&&!l.call(e,E)||h&&("length"==E||p&&("offset"==E||"parent"==E)||f&&("buffer"==E||"byteLength"==E||"byteOffset"==E)||a(E,m))||d.push(E);return d}},14528(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},87805(e,t,n){var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547(e,t,n){var r=n(43360),o=n(75288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025(e,t,n){var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},43360(e,t,n){var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},39344(e,t,n){var r=n(23805),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},83120(e,t,n){var r=n(14528),o=n(45891);e.exports=function e(t,n,i,s,a){var c=-1,l=t.length;for(i||(i=o),a||(a=[]);++c<l;){var u=t[c];n>0&&i(u)?n>1?e(u,n-1,i,s,a):r(a,u):s||(a[a.length]=u)}return a}},86649(e,t,n){var r=n(83221)();e.exports=r},72552(e,t,n){var r=n(51873),o=n(659),i=n(59350),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},27534(e,t,n){var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},45083(e,t,n){var r=n(1882),o=n(87296),i=n(23805),s=n(47473),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:a).test(s(e))}},4901(e,t,n){var r=n(72552),o=n(30294),i=n(40346),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!s[r(e)]}},88984(e,t,n){var r=n(55527),o=n(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903(e,t,n){var r=n(23805),o=n(55527),i=n(90181),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}},85250(e,t,n){var r=n(37217),o=n(87805),i=n(86649),s=n(42824),a=n(23805),c=n(37241),l=n(14974);e.exports=function e(t,n,u,p,f){t!==n&&i(n,function(i,c){if(f||(f=new r),a(i))s(t,n,c,u,e,p,f);else{var h=p?p(l(t,c),i,c+"",t,n,f):void 0;void 0===h&&(h=i),o(t,c,h)}},c)}},42824(e,t,n){var r=n(87805),o=n(93290),i=n(71961),s=n(23007),a=n(35529),c=n(72428),l=n(56449),u=n(83693),p=n(3656),f=n(1882),h=n(23805),d=n(11331),m=n(37167),E=n(14974),g=n(69884);e.exports=function(e,t,n,T,_,A,y){var b=E(e,n),S=E(t,n),C=y.get(S);if(C)r(e,n,C);else{var I=A?A(b,S,n+"",e,t,y):void 0,k=void 0===I;if(k){var O=l(S),N=!O&&p(S),v=!O&&!N&&m(S);I=S,O||N||v?l(b)?I=b:u(b)?I=s(b):N?(k=!1,I=o(S,!0)):v?(k=!1,I=i(S,!0)):I=[]:d(S)||c(S)?(I=b,c(b)?I=g(b):h(b)&&!f(b)||(I=a(S))):k=!1}k&&(y.set(S,I),_(I,S,T,A,y),y.delete(S)),r(e,n,I)}}},69302(e,t,n){var r=n(83488),o=n(56757),i=n(32865);e.exports=function(e,t){return i(o(e,t,r),e+"")}},19570(e,t,n){var r=n(37334),o=n(93243),i=n(83488),s=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=s},78096(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},27301(e){e.exports=function(e){return function(t){return e(t)}}},49653(e,t,n){var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290(e,t,n){e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}},71961(e,t,n){var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791(e,t,n){var r=n(16547),o=n(43360);e.exports=function(e,t,n,i){var s=!n;n||(n={});for(var a=-1,c=t.length;++a<c;){var l=t[a],u=i?i(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),s?o(n,l,u):r(n,l,u)}return n}},55481(e,t,n){var r=n(9325)["__core-js_shared__"];e.exports=r},20999(e,t,n){var r=n(69302),o=n(36800);e.exports=function(e){return r(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,s)}return t})}},83221(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===n(i[c],c,i))break}return t}}},93243(e,t,n){var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},34840(e){var t="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;e.exports=t},12651(e,t,n){var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},56110(e,t,n){var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879(e,t,n){var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659(e,t,n){var r=n(51873),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(c){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},5861(e,t,n){var r=n(55580),o=n(68223),i=n(32804),s=n(76545),a=n(28303),c=n(72552),l=n(47473),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",m=l(r),E=l(o),g=l(i),T=l(s),_=l(a),A=c;(r&&A(new r(new ArrayBuffer(1)))!=d||o&&A(new o)!=u||i&&A(i.resolve())!=p||s&&A(new s)!=f||a&&A(new a)!=h)&&(A=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return d;case E:return u;case g:return p;case T:return f;case _:return h}return t}),e.exports=A},10392(e){e.exports=function(e,t){return null==e?void 0:e[t]}},22032(e,t,n){var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721(e,t,n){var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749(e,t,n){var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749(e,t,n){var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},35529(e,t,n){var r=n(39344),o=n(28879),i=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},45891(e,t,n){var r=n(51873),o=n(72428),i=n(56449),s=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(s&&e&&e[s])}},30361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800(e,t,n){var r=n(75288),o=n(64894),i=n(30361),s=n(23805);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?o(n)&&i(t,n.length):"string"==a&&t in n)&&r(n[t],e)}},74218(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296(e,t,n){var r,o=n(55481),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},55527(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},63702(e){e.exports=function(){this.__data__=[],this.size=0}},70080(e,t,n){var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24739(e,t,n){var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655(e,t,n){var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175(e,t,n){var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040(e,t,n){var r=n(21549),o=n(80079),i=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},17670(e,t,n){var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949(e,t,n){var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},81042(e,t,n){var r=n(56110)(Object,"create");e.exports=r},3650(e,t,n){var r=n(74335)(Object.keys,Object);e.exports=r},90181(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009(e,t,n){e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=a},59350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335(e){e.exports=function(e,t){return function(n){return e(t(n))}}},56757(e,t,n){var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=o(i.length-t,0),c=Array(a);++s<a;)c[s]=i[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=i[s];return l[t]=n(c),r(e,this,l)}}},9325(e,t,n){var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},14974(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},32865(e,t,n){var r=n(19570),o=n(51811)(r);e.exports=o},51811(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},51420(e,t,n){var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605(e){e.exports=function(e){return this.__data__.get(e)}},29817(e){e.exports=function(e){return this.__data__.has(e)}},80945(e,t,n){var r=n(80079),o=n(68223),i=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},47473(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},37334(e){e.exports=function(e){return function(){return e}}},75288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970(e,t,n){var r=n(83120);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},83488(e){e.exports=function(e){return e}},72428(e,t,n){var r=n(27534),o=n(40346),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},56449(e){var t=Array.isArray;e.exports=t},64894(e,t,n){var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693(e,t,n){var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656(e,t,n){e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;e.exports=c},62193(e,t,n){var r=n(88984),o=n(5861),i=n(72428),s=n(56449),a=n(64894),c=n(3656),l=n(55527),u=n(37167),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(p.call(e,n))return!1;return!0}},1882(e,t,n){var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},23805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331(e,t,n){var r=n(72552),o=n(28879),i=n(40346),s=Function.prototype,a=Object.prototype,c=s.toString,l=a.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==u}},37167(e,t,n){var r=n(4901),o=n(27301),i=n(86009),s=i&&i.isTypedArray,a=s?o(s):r;e.exports=a},37241(e,t,n){var r=n(70695),o=n(72903),i=n(64894);e.exports=function(e){return i(e)?r(e,!0):o(e)}},55364(e,t,n){var r=n(85250),o=n(20999)(function(e,t,n){r(e,t,n)});e.exports=o},89935(e){e.exports=function(){return!1}},69884(e,t,n){var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},18426(e,t){function n(e){let t,n=[];for(let r of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,i]=t;if(r&&i){r=parseInt(r),i=parseInt(i);const e=r<i?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(i+=e);for(let t=r;t!==i;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},65606(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,c=[],l=!1,u=-1;function p(){l&&a&&(l=!1,a.length?c=a.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(a=c,c=[];++u<t;)a&&a[u].run();u=-1,t=c.length}a=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},73729(e,t,n){"use strict";e.exports=n(37372)},35229(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(51133)),o=n(98917);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n):n}i.default=i,e.exports=i},98917(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,c):e.replace(i,c)).replace(r,a))}},51133(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;const r=(0,o.default)(e),i="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;const{property:r,value:o}=e;i?t(r,o,e):o&&(n=n||{},n[r]=o)}),n};const o=r(n(5077))},2747(e){"use strict";e.exports={stdout:!1,stderr:!1}},85160(e,t,n){"use strict";var r=n(96540);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,s=r.useRef,a=r.useEffect,c=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var p=s(null);if(null===p.current){var f={hasValue:!1,value:null};p.current=f}else f=p.current;p=c(function(){function e(e){if(!a){if(a=!0,i=e,e=r(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,o(i,e))return t;var n=r(e);return void 0!==u&&u(t,n)?(i=e,t):(i=e,s=n)}var i,s,a=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,u]);var h=i(e,p[0],p[1]);return a(function(){f.hasValue=!0,f.value=h},[h]),l(h),h}},78418(e,t,n){"use strict";e.exports=n(85160)},16099(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(86308));function i(e){if(!e.options.indentation&&!e.options.lineSeparator)return;let t;for(e.content+=e.options.lineSeparator,t=0;t<e.level;t++)e.content+=e.options.indentation}function s(e,t){e.content+=t}function a(e,t,n){if("Element"===e.type)!function(e,t,n){t.path.push(e.name),!n&&t.content.length>0&&i(t);if(s(t,"<"+e.name),function(e,t){Object.keys(t).forEach(function(n){const r=t[n].replace(/"/g,""");s(e," "+n+'="'+r+'"')})}(t,e.attributes),null===e.children||t.options.forceSelfClosingEmptyTag&&0===e.children.length){const e=t.options.whiteSpaceAtEndOfSelfclosingTag?" />":"/>";s(t,e)}else if(0===e.children.length)s(t,"></"+e.name+">");else{const r=e.children;s(t,">"),t.level++;let o="preserve"===e.attributes["xml:space"]||n,c=!1;if(!o&&t.options.ignoredPaths&&(c=function(e,t){const n="/"+e.join("/"),r=e[e.length-1];return t.includes(r)||t.includes(n)}(t.path,t.options.ignoredPaths),o=c),!o&&t.options.collapseContent){let e=!1,t=!1,i=!1;r.forEach(function(o,s){"Text"===o.type?(o.content.includes("\n")?(t=!0,o.content=o.content.trim()):0!==s&&s!==r.length-1||n||0===o.content.trim().length&&(o.content=""),(o.content.trim().length>0||1===r.length)&&(e=!0)):"CDATA"===o.type?e=!0:i=!0}),!e||i&&t||(o=!0)}r.forEach(function(e){a(e,t,n||o)}),t.level--,n||o||i(t),c&&function(e){let t;for(e.content=e.content.replace(/ +$/,""),t=0;t<e.level;t++)e.content+=e.options.indentation}(t),s(t,"</"+e.name+">")}t.path.pop()}(e,t,n);else if("ProcessingInstruction"===e.type)c(e,t);else{if("string"!=typeof e.content)throw new Error("Unknown node type: "+e.type);!function(e,t,n){if(!n){const n=e.trim();(t.options.lineSeparator||0===n.length)&&(e=n)}e.length>0&&(!n&&t.content.length>0&&i(t),s(t,e))}(e.content,t,n)}}function c(e,t){t.content.length>0&&i(t),s(t,"<?"+e.name),s(t," "+e.content.trim()),s(t,"?>")}function l(e,t={}){t.indentation="indentation"in t?t.indentation:" ",t.collapseContent=!0===t.collapseContent,t.lineSeparator="lineSeparator"in t?t.lineSeparator:"\r\n",t.whiteSpaceAtEndOfSelfclosingTag=!0===t.whiteSpaceAtEndOfSelfclosingTag,t.throwOnFailure=!1!==t.throwOnFailure;try{const n=(0,o.default)(e,{filter:t.filter,strictMode:t.strictMode}),r={content:"",level:0,options:t,path:[]};return n.declaration&&c(n.declaration,r),n.children.forEach(function(e){a(e,r,!1)}),t.lineSeparator?r.content.replace(/\r\n/g,"\n").replace(/\n/g,t.lineSeparator):r.content}catch(n){if(t.throwOnFailure)throw n;return e}}l.minify=(e,t={})=>l(e,Object.assign(Object.assign({},t),{indentation:"",lineSeparator:""})),e.exports=l,t.default=l},86308(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParsingError=void 0;class n extends Error{constructor(e,t){super(e),this.cause=t}}let r;function o(){return a(!1)||function(){const e=u(/^([^<]+)/);if(e){const t={type:"Text",content:e[1]};return{excluded:!1===r.options.filter(t),node:t}}}()||c()||function(){if(r.xml.startsWith("<![CDATA[")){const e=r.xml.indexOf("]]>");if(e>-1){const t=e+3,n={type:"CDATA",content:r.xml.substring(0,t)};return r.xml=r.xml.slice(t),{excluded:!1===r.options.filter(n),node:n}}}}()||s()}function i(){return u(/\s*/),a(!0)||c()||function(){const e=u(/^<!DOCTYPE\s+\S+\s+SYSTEM[^>]*>/)||u(/^<!DOCTYPE\s+\S+\s+PUBLIC[^>]*>/)||u(/^<!DOCTYPE\s+\S+\s*\[[^\]]*]>/)||u(/^<!DOCTYPE\s+\S+\s*>/);if(e){const t={type:"DocumentType",content:e[0]};return{excluded:!1===r.options.filter(t),node:t}}}()||s()}function s(){const e=u(/^<\?([\w-:.]+)\s*/);if(!e)return;const t={name:e[1],type:"ProcessingInstruction",content:""},o=r.xml.indexOf("?>");if(!(o>-1))throw new n("Failed to parse XML","ProcessingInstruction closing tag not found");return t.content=r.xml.substring(0,o).trim(),r.xml=r.xml.slice(o),u(/\?>/),{excluded:!1===r.options.filter(t),node:t}}function a(e){const t=u(/^<([^?!</>\s]+)\s*/);if(!t)return;const i={type:"Element",name:t[1],attributes:{},children:[]},s=!e&&!1===r.options.filter(i);for(;!(p()||f(">")||f("?>")||f("/>"));){const e=l();if(!e)return;i.attributes[e.name]=e.value}if(u(/^\s*\/>/))return i.children=null,{excluded:s,node:i};u(/\??>/);let a=o();for(;a;)a.excluded||i.children.push(a.node),a=o();if(r.options.strictMode){const e=`</${i.name}>`;if(!r.xml.startsWith(e))throw new n("Failed to parse XML",`Closing tag not matching "${e}"`);r.xml=r.xml.slice(e.length)}else u(/^<\/[\w-:.\u00C0-\u00FF]+\s*>/);return{excluded:s,node:i}}function c(){const e=u(/^<!--[\s\S]*?-->/);if(e){const t={type:"Comment",content:e[0]};return{excluded:!1===r.options.filter(t),node:t}}}function l(){const e=u(/([^=]+)\s*=\s*("[^"]*"|'[^']*'|[^>\s]+)\s*/);if(e)return{name:e[1].trim(),value:(t=e[2].trim(),t.replace(/^['"]|['"]$/g,""))};var t}function u(e){const t=r.xml.match(e);if(t)return r.xml=r.xml.slice(t[0].length),t}function p(){return 0===r.xml.length}function f(e){return 0===r.xml.indexOf(e)}function h(e,t={}){e=e.trim();const o=t.filter||(()=>!0);return r={xml:e,options:Object.assign(Object.assign({},t),{filter:o,strictMode:!0===t.strictMode})},function(){const e=s(),t=[];let o,a=i();for(;a;){if("Element"===a.node.type){if(o)throw new Error("Found multiple root nodes");o=a.node}a.excluded||t.push(a.node),a=i()}if(!o)throw new n("Failed to parse XML","Root Element not found");if(0!==r.xml.length)throw new n("Failed to parse XML","Not Well-Formed XML");return{declaration:e?e.node:null,root:o,children:t}}()}t.ParsingError=n,e.exports=h,t.default=h},68307(e,t){!function(e){"use strict";function t(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const r=(e={},t,n,r)=>{const o=`/${t}`,i="function"==typeof e["/**"]?e["/**"]({key:t,path:n,value:r}):e["/**"],s="function"==typeof e["/*"]?e["/*"]({key:t,path:n,value:r}):e["/*"];let a={};if(o in e)a=e[o];else if(!i&&!s)return;return a="function"==typeof a?a({key:t,path:n,value:r}):a,s&&(a=Object.assign(Object.assign({},s),a)),i?Object.assign(Object.assign({"/**":e["/**"]},i),a):a},o=e=>{const t={},n=e.reduce((e,t)=>(Object.keys(t).forEach(t=>e.add(t)),e),new Set);for(const r of n.keys()){const n=e.filter(e=>r in e);if(1!==n.length){if("/"!==r.charAt(0))throw new Error(`Cannot merge rules. Duplicate key: ${r}. Rules should not have same Rule key`);t[r]=(e,t)=>{const i=n.map(n=>"function"==typeof n[r]?n[r](e,t):n[r]);return o(i)}}else t[r]=n[0][r]}return t},i=e=>"object"==typeof e&&null!==e,s=e=>Array.isArray(e),a=(e,t,a={})=>{var c,l;t=s(t)?t:[t];const u=s(a.rules)?o(a.rules):a.rules,p=[{data:e,state:a.state,path:[],keys:[],keyIndex:-1,rules:u}];for(;p.length>0;){const e=p[p.length-1];if(e.keyIndex>=e.keys.length){for(;null===(c=e.hooks)||void 0===c?void 0:c.length;)e.hooks.pop()();p.pop();continue}const o=e.keys[e.keyIndex++],[a,f,h]=p.length>1?[e.data[o],[...e.path,o],r(e.rules,o,[...e.path,o],e.data[o])]:[e.data,e.path,u];let d={value:a,path:f,key:o,state:e.state,rules:h};const m=[];for(const r of t){if(!r||"function"!=typeof r)continue;const e=null!==(l=r(d))&&void 0!==l?l:{},{terminate:t,done:o,exitHook:i}=e,s=n(e,["terminate","done","exitHook"]);if(t)return;if(i&&m.push(i),d=Object.assign(Object.assign({},d),s),o){d=null;break}}if(d&&i(d.value)){const e=s(d.value)?[...d.value.keys()]:Object.keys(d.value);p.push({hooks:m,state:d.state,data:d.value,path:f,keys:e,keyIndex:0,rules:d.rules})}else for(;m.length;)m.pop()()}},c=()=>{const e=new WeakMap;let t;return[({value:e})=>{t=e},({value:n,path:r,key:o,state:s})=>{if(o=r.length?o:"#",i(t)&&i(n)){if(e.has(t))return s.node[o]=e.get(t),{done:!0};const r=Array.isArray(n)?[]:{};s.node[o]=r,e.set(t,r)}else s.node[o]=n;return{value:n,state:Object.assign(Object.assign({},s),{node:s.node[o]})}}]};class l extends Map{add(e,t){const n=this.get(e);return n?n.push(t):this.set(e,[t]),this}}const u=(e,t)=>{const n={};for(const r of t)r in e&&(n[r]=e[r],delete e[r]);return n},p=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return[...e,...t];if(i(e)&&i(t)){const n=Object.assign({},e);for(const e of Object.keys(t))n[e]=p(n[e],t[e]);return n}return t},f=e=>e&&e.$ref&&"string"==typeof e.$ref,h=e=>e&&e.anyOf&&Array.isArray(e.anyOf),d=e=>e&&e.oneOf&&Array.isArray(e.oneOf),m=(e,t="")=>{const[n=t,r]=e.split("#"),o=r&&"/"!==r?r:"";return{filePath:n,pointer:o,normalized:E(n,o),jsonPath:_(o)}},E=(e,t)=>e?`${e}${t?"#"+t:""}`:t?`#${t}`:"#",g=(e,t,n=[t])=>{if(!i(e))return;let r=e;const o=_(t);for(const s of o)if(Array.isArray(r)&&r.length>+s)r=r[+s];else if(i(r)&&s in r)r=r[s];else{if(!f(r))return;{const t=m(r.$ref);r=t.filePath||n.includes(t.pointer)?void 0:g(e,t.pointer,[...n,t.pointer])}}return r},T={slash:/\//g,tilde:/~/g,escapedSlash:/~1/g,escapedTilde:/~0/g},_=e=>e.split("/").map(e=>decodeURIComponent(e.replace(T.escapedSlash,"/").replace(T.escapedTilde,"~"))).slice(1),A=e=>e.length?"/"+e.map(e=>encodeURIComponent(String(e).replace(T.tilde,"~0").replace(T.slash,"~1"))).join("/"):"",y=(e,t)=>JSON.stringify(e)==JSON.stringify(t),b=e=>{let t=1;for(;e*t%1!=0;)t*=10;return t};function S(e){const t=e.reduce((e,t)=>Math.max(e,b(t)),0);return e.reduce((e,n)=>Math.round(e*t*n*t/C(e*t,n*t))/t)}function C(e,t){return 0===t?e:C(t,e%t)}const I=e=>{if(0===e.length)return[[]];const t=e[0],n=e.slice(1),r=I(n),o=[];for(const i of t)for(const e of r)o.push([i,...e]);return o},k=e=>{const t=[];for(const n of e){if(!("properties"in n))continue;const r=new Set(Object.keys(n.properties)),o=new l;for(const t of r.values())for(const i of e)if(!(i==n||i.properties&&t in i.properties))if("patternProperties"in i&&i.patternProperties)for(const e of Object.keys(i.patternProperties))new RegExp(e).test(t)||r.delete(t);else"additionalProperties"in i&&(!1===i.additionalProperties?r.delete(t):"object"==typeof i.additionalProperties&&o.add(t,i.additionalProperties));if(!r.size)continue;const i={};for(const e of r.values())o.has(e)?i[e]={allOf:[n.properties[e],...o.get(e)]}:i[e]=n.properties[e];t.push(i)}return t},O=e=>{const t=[];for(const n of e){if(!("patternProperties"in n))continue;const r=new Set(Object.keys(n.patternProperties));for(const t of e)if(t!=n&&"additionalProperties"in t&&!t.additionalProperties)for(const e of r.values())t.patternProperties&&e in t.patternProperties||r.delete(e);if(!r.size)continue;const o={};for(const e of r.values())o[e]=n.patternProperties[e];t.push(o)}return t},N=e=>{const t={},n=P(e);for(const[r,o]of Object.entries(n))o.includes(!1)?t[r]=!1:t[r]=o.length>1?{allOf:o}:o[0];return t},v=(e,t)=>!!e.reduce((e,t)=>e&&!0===t,!0)||L(e,t),D=()=>"Could not merge values, they are probably incompatible",R=e=>`Merge rule not found for key: ${e}`,P=e=>{const t={};for(const n of e)for(const e of Object.keys(n))Array.isArray(t[e])?t[e].push(n[e]):t[e]=[n[e]];return t},L=(e,t)=>{if(e.includes(!1))return!1;const n={},r=P(e);"properties"in r&&(r.properties=k(e)),"patternProperties"in r&&(r.patternProperties=O(e));for(let[o,i]of Object.entries(r)){if(!i.length)continue;const r=t.mergeRules;let s=`/${o}`in r?r[`/${o}`]:r["/?"];s=s&&!("$"in s)&&"/"in s?s["/"]:s,s="function"==typeof s?s():s;const a=s&&"$"in s?s.$:void 0;if(!a)throw new Error(R(o));const c=i.length>1?a(i,Object.assign(Object.assign({},t),{allOfItems:e})):i[0];void 0===c?t.mergeError(i):n[o]=c}return Object.keys(n).length?n:void 0},x=e=>e[e.length-1],M=e=>e.reduce((e,t)=>e||t,!1),w=e=>Math.min(...e),B=e=>Math.max(...e),F=e=>e.length>1?e.reduce((e,t)=>`${e}(?=${t})`,""):e[0],H=([e,...t])=>t.reduce((e,t)=>e.filter(e=>t.includes(e)),e),U=([e,...t])=>t.find(t=>!y(t,e))?void 0:e,j=([e,...t])=>t.reduce((e,t)=>p(e,t),e),G=e=>I(e).map(e=>({allOf:e})),z=e=>({anyOf:e}),Y=e=>S(e),q=(e,t)=>{const n=e.map(e=>e.map(e=>JSON.stringify(e))),r=H(n).map(e=>JSON.parse(e)).sort();return r.length||t.mergeError(e),r},$=(e,t)=>{const n=e.map(e=>Array.isArray(e)?e:[e]),r=H(n);return 1===r.length?r[0]:r.length?r:void 0},V=e=>{const t=new Set;for(const n of e)for(const e of n)t.add(e);return Array.from(t).sort()},W=(e,t)=>{const n={},r=P(e);for(const[o,i]of Object.entries(r))if(i.reduce((e,t)=>e&&Array.isArray(t),!0))n[o]=V(i);else{const e=i.map(e=>Array.isArray(e)?{required:e}:e);n[o]=e.length>1?{allOf:e}:e[0]}return n},Q=(e,t)=>{if(!e.reduce((e,t)=>Array.isArray(t)||e,!1))return L(e,t);const n=[];let r=1/0,o=0;const i=new l;for(const c of t.allOfItems)"additionalItems"in c&&c.additionalItems&&"items"in c&&Array.isArray(c.items)&&i.add(c.items.length,c.additionalItems),"items"in c&&(n.push(c.items),Array.isArray(c.items)&&(o=Math.max(o,c.items.length),"additionalItems"in c&&!1===c.additionalItems&&(r=Math.min(r,c.items.length))));const s=Math.min(o,r),a=[...Array(s)].map(()=>({allOf:[]}));for(const c of n)if(Array.isArray(c))for(let e=0;e<s;e++){const t=[];for(let n=0;n<=e;n++)i.has(n)&&t.push(...i.get(n));e<c.length?a[e].allOf.push(t.length?Object.assign(Object.assign({},c[e]),{allOf:t}):c[e]):a[e].allOf.push(!t.length||{allOf:t})}else a.forEach(({allOf:e})=>e.push(c));return a},X=(e,t)=>{const n=[],r=[];for(const o of t.allOfItems)"items"in o&&!Array.isArray(o.items)&&r.push(o.items),"additionalItems"in o&&"items"in o&&Array.isArray(o.items)&&n.push(o.additionalItems);return r.length&&n.forEach(e=>e.allOf=r),L(n,t)},K=(e="draft-06",t={})=>Object.assign(Object.assign(Object.assign(Object.assign({"/maximum":{$:w},"/exclusiveMaximum":{$:M},"/minimum":{$:B},"/exclusiveMinimum":{$:M},"/maxLength":{$:w},"/minLength":{$:B},"/maxItems":{$:w},"/minItems":{$:B},"/uniqueItems":{$:M},"/maxProperties":{$:w},"/minProperties":{$:B},"/required":{$:V},"/multipleOf":{$:Y},"/enum":{$:q},"/type":{$:$},"/allOf":{"/*":()=>K(e,t),$:G},"/not":{$:z},"/oneOf":{"/*":()=>K(e,t),$:G,sibling:["definitions","$defs","$id","$schema"]},"/anyOf":{"/*":()=>K(e,t),$:G,sibling:["definitions","$defs","$id","$schema"]},"/properties":{"/*":()=>K(e,t),$:N},"/items":()=>Object.assign(Object.assign({},K(e,t)),{$:Q,"/*":({key:n})=>"number"==typeof n?K(e,t):{}}),"/additionalProperties":()=>Object.assign(Object.assign({},K(e,t)),{$:v}),"/additionalItems":()=>Object.assign(Object.assign({},K(e,t)),{$:X}),"/patternProperties":{"/*":()=>K(e,t),$:N},"/pattern":{$:F},"/readOnly":{$:M},"/writeOnly":{$:M},"/example":{$:j},"/examples":{$:j},"/deprecated":{$:M}},"draft-04"!==e?{"/propertyNames":()=>K(e,t),"/contains":()=>K(e,t),"/dependencies":{"/*":()=>K(e,t),$:W},"/const":{$:U},"/exclusiveMaximum":{$:w},"/exclusiveMinimum":{$:B},"/$defs":{"/*":()=>K(e,t),$:j}}:{}),{"/definitions":{"/*":()=>K(e,t),$:j},"/xml":{$:j},"/externalDocs":{$:x},"/description":{$:x},"/title":{$:x},"/format":{$:x},"/default":{$:x},"/?":{$:x}}),t),{$:L}),Z=e=>K(e,{"/discriminator":{$:j},"/oneOf":{"/*":()=>Z(e),$:G,sibling:["discriminator"]},"/anyOf":{"/*":()=>Z(e),$:G,sibling:["discriminator"]}}),J=e=>"3.0.x"===e?Object.assign(Object.assign({},Z("draft-04")),{"/items":({key:e})=>Object.assign(Object.assign({},Z("draft-04")),{$:Q})}):Z("draft-06"),ee=e=>({"/*":{"/schema":J(e)}}),te=e=>({"/content":{"/*":{"/schema":J(e),"/encoding":{"/headers":ee(e)}}}}),ne=e=>({"/*":{"/headers":ee(e),"/content":{"/*":{"/schema":J(e),"/encoding":{"/headers":ee(e)}}}}}),re=(e="3.0.x")=>({"/paths":{"/*":{"/*":{"/parameters":ee(e),"/requestBody":te(e),"/responses":ne(e)},"/parameters":ee(e)}},"/components":{"/schemas":{"/*":J(e)},"/responses":ne(e),"/parameters":ee(e),"/requestBodies":{"/*":te(e)},"/headers":ee(e)}}),oe=K("draft-06",{"/args":()=>oe,"/nullable":{$:M},"/specifiedByURL":{$:x},"/values":{$:j,"/*":{$:j,"/description":{$:x},"/deprecated":{$:x,"/reason":{$:x}}}},"/interfaces":{$:j,"/*":{$:j}},"/directives":{$:j,"/*":()=>Object.assign(Object.assign({},oe),{"/meta":{$:j}})}}),ie={"/queries":{"/*":()=>oe},"/mutations":{"/*":()=>oe},"/subscriptions":{"/*":()=>oe},"/components":{"/*":{"/*":oe},"/directives":{"/*":{"/args":()=>oe}}}},se=(e,n,r)=>{const o=r.sibling||[],i=e,s=n,a=i[s],c=t(i,["symbol"==typeof s?s:s+""]),l=u(c,o);return Object.keys(c).length?Object.assign({[n]:a.map(e=>({allOf:[c,e]}))},l):e},ae=(e,n,r,o)=>{const i=[],s=A(n),a=[],c={pointer:s,data:"",refs:[]};for(const u of e)if(f(u)&&!a.includes(u.$ref)){""===c.data&&(c.data=JSON.stringify(e));const{$ref:n}=u,l=t(u,["$ref"]),{filePath:p,normalized:f,pointer:h}=m(n);if(s===h)continue;const d=o.find(e=>e.refs.includes(u.$ref)&&e.data===c.data&&h!==e.pointer);if(d)return{allOfItems:[{$ref:`#${d.pointer}`}],brokenRefs:a};if(!c.refs.includes(f)){c.refs.push(f);const e=p?void 0:g(r,h);void 0===e?(a.push(f),i.push(u)):i.push(e)}Object.keys(l).length&&i.push(l)}else i.push(u);c.refs.length&&o.push(c);const l=ce(i);return l.find(e=>f(e)&&!a.includes(e.$ref))?ae(l,n,r,o):{allOfItems:l,brokenRefs:a}},ce=e=>{const n=[];for(const r of e)if(i(r))if(r.allOf&&Array.isArray(r.allOf)){const{allOf:e}=r,o=t(r,["allOf"]),i=Object.keys(o).length?[...e,o]:e;n.push(...ce(i))}else n.push(r);return n},le=e=>{if("object"!=typeof e||!e)return K();if("openapi"in e&&"string"==typeof e.openapi&&/3.+/.test(e.openapi)){const t=e.openapi.startsWith("3.1")?"3.1.x":"3.0.x";return re(t)}return"graphapi"in e&&"string"==typeof e.graphapi?ie:K()},ue=e=>{const n=new Map;let r=null==e?void 0:e.source;const o=[];return({value:s,key:a,path:c,rules:l,state:u})=>{var p;c.length||(null==e?void 0:e.source)||(r=s);const f=t=>{var r;const o=pe(c);o?n.set(...o):null===(r=null==e?void 0:e.onMergeError)||void 0===r||r.call(e,D(),c,t)},m=()=>{const{node:e}=u,t=A(c);if(n.has(t)){const r=n.get(t),o=e[a];Array.isArray(o)&&(o.length<2&&f((null==s?void 0:s.allOf)||[]),o.splice(r,1))}};if(!i(s)||Array.isArray(s))return{exitHook:m};if(!(e=>!!e&&e["/allOf"]&&"$"in e["/allOf"])(l))return{exitHook:m};const{allOf:E}=s,g=t(s,["allOf"]),T=[];if(Array.isArray(E)&&T.push(...E),T.length)Object.keys(g).length&&T.push(g);else{const{$ref:n}=g,r=t(g,["$ref"]);if((null==e?void 0:e.mergeRefSibling)&&n&&Object.keys(r).length>0)T.push({$ref:n},r);else if(null==e?void 0:e.mergeCombinarySibling){if(h(g)&&l["/anyOf"])return{value:se(g,"anyOf",l["/anyOf"]),exitHook:m};if(d(g)&&l["/oneOf"])return{value:se(g,"oneOf",l["/oneOf"]),exitHook:m}}}if(!T.length)return{value:g,exitHook:m};const{allOfItems:_,brokenRefs:y}=ae(T,c,r,o);if(y.length){for(const t of y)null===(p=null==e?void 0:e.onRefResolveError)||void 0===p||p.call(e,"Cannot resolve $ref",c,t);return{value:{allOf:_},exitHook:m}}if(_.length<2)return{value:_.length?_[0]:{},exitHook:m};const b=L(_,{allOfItems:_,mergeRules:l,mergeError:f});return(null==e?void 0:e.mergeCombinarySibling)&&h(b)?{value:se(b,"anyOf",l["/anyOf"]),exitHook:m}:(null==e?void 0:e.mergeCombinarySibling)&&d(b)?{value:se(b,"oneOf",l["/oneOf"]),exitHook:m}:{value:b,exitHook:m}}},pe=e=>{for(let t=e.length-2;t>=0;t--)if("anyOf"===e[t]||"oneOf"===e[t]){const n=e.slice(0,t+1);return[A(n),e[t+1]]}};e.MapArray=l,e.additionalItemsMergeResolver=X,e.additionalPropertiesMergeResolver=v,e.allOfResolverHook=ue,e.alternative=M,e.buildPointer=A,e.calculateGCD=C,e.calculateLCM=S,e.createRef=E,e.dependenciesMergeResolver=W,e.equal=U,e.findCombinations=I,e.findMultiplierForInteger=b,e.first=([e])=>e,e.getAllOfItemsMap=P,e.getPatternPropertiesForMerge=O,e.getPropertiesForMerge=k,e.graphapiMergeRules=ie,e.intersectItems=H,e.isAnyOfNode=h,e.isEqual=y,e.isOneOfNode=d,e.isRefNode=f,e.itemsMergeResolver=Q,e.jsonSchemaMergeResolver=L,e.jsonSchemaMergeRules=K,e.jsonSchemaVersion=["draft-04","draft-06"],e.last=x,e.maxValue=B,e.merge=(e,t)=>{var n;const r=null!==(n=null==t?void 0:t.rules)&&void 0!==n?n:le(e);return((e,t=[],n={})=>{var r;t=Array.isArray(t)?t:[t];const o={"#":void 0},i=Object.assign({state:Object.assign(Object.assign({},null!==(r=n.state)&&void 0!==r?r:{}),{root:o,node:o})},n.rules?{rules:n.rules}:{}),[s,l]=c();return a(e,[s,...t,l],i),o["#"]})(e,ue(t),{rules:r})},e.mergeArray=G,e.mergeEnum=q,e.mergeMultipleOf=Y,e.mergeNot=z,e.mergeObjects=j,e.mergePattern=F,e.mergeStringItems=V,e.mergeTypes=$,e.mergeValues=p,e.minValue=w,e.openApiJsonSchemaMergeRules=J,e.openApiMergeRules=re,e.openApiVersion=["3.0.x","3.1.x"],e.parsePointer=_,e.parseRef=m,e.pathMask=T,e.popValues=u,e.propertiesMergeResolver=N,e.resolvePointer=g,e.selectMergeRules=le,Object.defineProperty(e,"__esModule",{value:!0})}(t)},37372(e,t,n){"use strict";var r,o=Object.create,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of a(t))!l.call(e,o)&&o!==n&&i(e,o,{get:()=>t[o],enumerable:!(r=s(t,o))||r.enumerable});return e},p={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(p,{Provider:()=>ce,ReactReduxContext:()=>re,batch:()=>_e,connect:()=>ae,createDispatchHook:()=>he,createSelectorHook:()=>ge,createStoreHook:()=>pe,shallowEqual:()=>G,useDispatch:()=>de,useSelector:()=>Te,useStore:()=>fe}),e.exports=(r=p,u(i({},"__esModule",{value:!0}),r));var f=((e,t,n)=>(n=null!=e?o(c(e)):{},u(!t&&e&&e.__esModule?n:i(n,"default",{value:e,enumerable:!0}),e)))(n(96540)),h=f.version.startsWith("19"),d=Symbol.for(h?"react.transitional.element":"react.element"),m=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),A=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),k=y,O=C;function N(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case d:switch(e=e.type){case E:case T:case g:case b:case S:return e;default:switch(e=e&&e.$$typeof){case A:case y:case I:case C:case _:return e;default:return t}}case m:return t}}}(e)===C}function v(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:s}){let a,c,l,u,p,f=!1;function h(f,h){let d=!i(h,c),m=!o(f,a,h,c);return a=f,c=h,d&&m?(l=e(a,c),t.dependsOnOwnProps&&(u=t(r,c)),p=n(l,u,c),p):d?(e.dependsOnOwnProps&&(l=e(a,c)),t.dependsOnOwnProps&&(u=t(r,c)),p=n(l,u,c),p):m?function(){let t=e(a,c),r=!s(t,l);return l=t,r&&(p=n(l,u,c)),p}():p}return function(o,i){return f?h(o,i):function(o,i){return a=o,c=i,l=e(a,c),u=t(r,c),p=n(l,u,c),f=!0,p}(o,i)}}function D(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function R(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function P(e,t){return function(t,{displayName:n}){let r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=R(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=R(o),o=r(t,n)),o},r}}function L(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function x(e,t,n){return{...n,...e,...t}}function M(e){e()}var w={notify(){},get:()=>[]};function B(e,t){let n,r=w,o=0,i=!1;function s(){l.onStateChange&&l.onStateChange()}function a(){o++,n||(n=t?t.addNestedSub(s):e.subscribe(s),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){M(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||null===e||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function c(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=w)}let l={addNestedSub:function(e){a();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),c())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:s,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,a())},tryUnsubscribe:function(){i&&(i=!1,c())},getListeners:()=>r};return l}var F=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",H=typeof navigator<"u"&&"ReactNative"===navigator.product,U=F||H?f.useLayoutEffect:f.useEffect;function j(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function G(e,t){if(j(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!j(e[n[o]],t[n[o]]))return!1;return!0}var z={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Y={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},q={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$={[k]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[O]:q};function V(e){return N(e)?q:$[e.$$typeof]||z}var W=Object.defineProperty,Q=Object.getOwnPropertyNames,X=Object.getOwnPropertySymbols,K=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,J=Object.prototype;function ee(e,t){if("string"!=typeof t){if(J){let n=Z(t);n&&n!==J&&ee(e,n)}let n=Q(t);X&&(n=n.concat(X(t)));let r=V(e),o=V(t);for(let i=0;i<n.length;++i){let s=n[i];if(!(Y[s]||o&&o[s]||r&&r[s])){let n=K(t,s);try{W(e,s,n)}catch{}}}}return e}var te=Symbol.for("react-redux-context"),ne=typeof globalThis<"u"?globalThis:{};var re=function(){if(!f.createContext)return{};let e=ne[te]??=new Map,t=e.get(f.createContext);return t||(t=f.createContext(null),e.set(f.createContext,t)),t}(),oe=[null,null];function ie(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function se(e,t){return e===t}var ae=function(e,t,n,{pure:r,areStatesEqual:o=se,areOwnPropsEqual:i=G,areStatePropsEqual:s=G,areMergedPropsEqual:a=G,forwardRef:c=!1,context:l=re}={}){let u=l,p=function(e){return e?"function"==typeof e?P(e):L(e,"mapStateToProps"):D(()=>({}))}(e),h=function(e){return e&&"object"==typeof e?D(t=>function(e,t){let n={};for(let r in e){let o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t)):e?"function"==typeof e?P(e):L(e,"mapDispatchToProps"):D(e=>({dispatch:e}))}(t),d=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,s){let a=e(t,n,s);return i?r(a,o)||(o=a):(i=!0,o=a),o}}}(e):L(e,"mergeProps"):()=>x}(n),m=!!e;return e=>{let t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:h,initMergeProps:d,areStatesEqual:o,areStatePropsEqual:s,areOwnPropsEqual:i,areMergedPropsEqual:a};function l(t){let[o,i,s]=f.useMemo(()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]},[t]),a=f.useMemo(()=>u,[o,u]),c=f.useContext(a),l=!!t.store&&!!t.store.getState&&!!t.store.dispatch,p=!!c&&!!c.store,h=l?t.store:c.store,d=p?c.getServerState:h.getState,E=f.useMemo(()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return v(t(e,o),n(e,o),r(e,o),e,o)}(h.dispatch,r),[h]),[g,T]=f.useMemo(()=>{if(!m)return oe;let e=B(h,l?void 0:c.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[h,l,c]),_=f.useMemo(()=>l?c:{...c,subscription:g},[l,c,g]),A=f.useRef(void 0),y=f.useRef(s),b=f.useRef(void 0),S=f.useRef(!1),C=f.useRef(!1),I=f.useRef(void 0);U(()=>(C.current=!0,()=>{C.current=!1}),[]);let k,O=f.useMemo(()=>()=>b.current&&s===y.current?b.current:E(h.getState(),s),[h,s]),N=f.useMemo(()=>e=>g?function(e,t,r,o,i,s,a,c,l,u,p){if(!e)return()=>{};let f=!1,h=null,d=()=>{if(f||!c.current)return;let e,r,d=t.getState();try{e=o(d,i.current)}catch(n){r=n,h=n}r||(h=null),e===s.current?a.current||u():(s.current=e,l.current=e,a.current=!0,p())};return r.onStateChange=d,r.trySubscribe(),d(),()=>{if(f=!0,r.tryUnsubscribe(),r.onStateChange=null,h)throw h}}(m,h,g,E,y,A,S,C,b,T,e):()=>{},[g]);!function(e,t,n){U(()=>e(...t),n)}(ie,[y,A,S,s,b,T]);try{k=f.useSyncExternalStore(N,O,d?()=>E(d(),s):O)}catch(R){throw I.current&&(R.message+=`\nThe error may be correlated with this previous error:\n${I.current.stack}\n\n`),R}U(()=>{I.current=void 0,b.current=void 0,A.current=k});let D=f.useMemo(()=>f.createElement(e,{...k,ref:i}),[i,e,k]);return f.useMemo(()=>m?f.createElement(a.Provider,{value:_},D):D,[a,D,_])}let E=f.memo(l);if(E.WrappedComponent=e,E.displayName=l.displayName=n,c){let t=f.forwardRef(function(e,t){return f.createElement(E,{...e,reactReduxForwardedRef:t})});return t.displayName=n,t.WrappedComponent=e,ee(t,e)}return ee(E,e)}};var ce=function(e){let{children:t,context:n,serverState:r,store:o}=e,i=f.useMemo(()=>{let e=B(o);return{store:o,subscription:e,getServerState:r?()=>r:void 0}},[o,r]),s=f.useMemo(()=>o.getState(),[o]);return U(()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,s]),f.createElement((n||re).Provider,{value:i},t)};function le(e=re){return function(){return f.useContext(e)}}var ue=le();function pe(e=re){let t=e===re?ue:le(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var fe=pe();function he(e=re){let t=e===re?fe:pe(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var de=he(),me=n(78418),Ee=(e,t)=>e===t;function ge(e=re){let t=e===re?ue:le(e),n=(e,n={})=>{let{equalityFn:r=Ee}="function"==typeof n?{equalityFn:n}:n,o=t(),{store:i,subscription:s,getServerState:a}=o,c=(f.useRef(!0),f.useCallback({[e.name]:t=>e(t)}[e.name],[e])),l=(0,me.useSyncExternalStoreWithSelector)(s.addNestedSub,i.getState,a||i.getState,c,r);return f.useDebugValue(l),l};return Object.assign(n,{withTypes:()=>n}),n}var Te=ge(),_e=M},28453(e,t,n){"use strict";n.d(t,{R:()=>s,x:()=>a});var r=n(96540);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}},6737(e,t,n){"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.r(t),n.d(t,{ReducerType:()=>Bt,SHOULD_AUTOBATCH:()=>ut,TaskAbortError:()=>an,Tuple:()=>tt,__DO_NOT_USE__ActionTypes:()=>s,addListener:()=>kn,applyMiddleware:()=>d,asyncThunkCreator:()=>wt,autoBatchEnhancer:()=>ht,bindActionCreators:()=>f,buildCreateSlice:()=>Ht,clearAllListeners:()=>On,combineReducers:()=>u,combineSlices:()=>Fn,compose:()=>h,configureStore:()=>dt,createAction:()=>Xe,createActionCreatorInvariantMiddleware:()=>et,createAsyncThunk:()=>Lt,createDraftSafeSelector:()=>Ve,createDraftSafeSelectorCreator:()=>$e,createDynamicMiddleware:()=>Pn,createEntityAdapter:()=>Zt,createImmutableStateInvariantMiddleware:()=>it,createListenerMiddleware:()=>Dn,createNextState:()=>ve,createReducer:()=>Et,createSelector:()=>je,createSelectorCreator:()=>Ue,createSerializableStateInvariantMiddleware:()=>lt,createSlice:()=>jt,createStore:()=>c,current:()=>ke,findNonSerializableValue:()=>at,formatProdErrorMessage:()=>Hn,freeze:()=>W,isAction:()=>m,isActionCreator:()=>Ke,isAllOf:()=>_t,isAnyOf:()=>Tt,isAsyncThunkAction:()=>kt,isDraft:()=>N,isFluxStandardAction:()=>Ze,isFulfilled:()=>It,isImmutableDefault:()=>ot,isPending:()=>bt,isPlain:()=>st,isPlainObject:()=>a,isRejected:()=>St,isRejectedWithValue:()=>Ct,legacy_createStore:()=>l,lruMemoize:()=>we,miniSerializeError:()=>Rt,nanoid:()=>Ot,original:()=>L,prepareAutoBatched:()=>pt,removeListener:()=>Nn,unwrapResult:()=>xt,weakMapMemoize:()=>He});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function a(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function c(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(c)(e,t)}let i=e,l=t,u=new Map,p=u,f=0,h=!1;function d(){p===u&&(p=new Map,u.forEach((e,t)=>{p.set(t,e)}))}function m(){if(h)throw new Error(r(3));return l}function E(e){if("function"!=typeof e)throw new Error(r(4));if(h)throw new Error(r(5));let t=!0;d();const n=f++;return p.set(n,e),function(){if(t){if(h)throw new Error(r(6));t=!1,d(),p.delete(n),u=null}}}function g(e){if(!a(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(h)throw new Error(r(9));try{h=!0,l=i(l,e)}finally{h=!1}return(u=p).forEach(e=>{e()}),e}g({type:s.INIT});return{dispatch:g,subscribe:E,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,g({type:s.REPLACE})},[o]:function(){const e=E;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(m())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function l(e,t,n){return c(e,t,n)}function u(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const o=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:s.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))})}(n)}catch(a){i=a}return function(e={},t){if(i)throw i;let s=!1;const a={};for(let i=0;i<o.length;i++){const c=o[i],l=n[c],u=e[c],p=l(u,t);if(void 0===p){t&&t.type;throw new Error(r(14))}a[c]=p,s=s||p!==u}return s=s||o.length!==Object.keys(e).length,s?a:e}}function p(e,t){return function(...n){return t(e.apply(this,n))}}function f(e,t){if("function"==typeof e)return p(e,t);if("object"!=typeof e||null===e)throw new Error(r(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=p(o,t))}return n}function h(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function d(...e){return t=>(n,o)=>{const i=t(n,o);let s=()=>{throw new Error(r(15))};const a={getState:i.getState,dispatch:(e,...t)=>s(e,...t)},c=e.map(e=>e(a));return s=h(...c)(i.dispatch),{...i,dispatch:s}}}function m(e){return a(e)&&"type"in e&&"string"==typeof e.type}var E=Symbol.for("immer-nothing"),g=Symbol.for("immer-draftable"),T=Symbol.for("immer-state");function _(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var A=Object,y=A.getPrototypeOf,b="constructor",S="prototype",C="configurable",I="enumerable",k="writable",O="value",N=e=>!!e&&!!e[T];function v(e){return!!e&&(P(e)||H(e)||!!e[g]||!!e[b]?.[g]||U(e)||j(e))}var D=A[S][b].toString(),R=new WeakMap;function P(e){if(!e||!G(e))return!1;const t=y(e);if(null===t||t===A[S])return!0;const n=A.hasOwnProperty.call(t,b)&&t[b];if(n===Object)return!0;if(!z(n))return!1;let r=R.get(n);return void 0===r&&(r=Function.toString.call(n),R.set(n,r)),r===D}function L(e){return N(e)||_(15),e[T].base_}function x(e,t,n=!0){if(0===M(e)){(n?Reflect.ownKeys(e):A.keys(e)).forEach(n=>{t(n,e[n],e)})}else e.forEach((n,r)=>t(r,n,e))}function M(e){const t=e[T];return t?t.type_:H(e)?1:U(e)?2:j(e)?3:0}var w=(e,t,n=M(e))=>2===n?e.has(t):A[S].hasOwnProperty.call(e,t),B=(e,t,n=M(e))=>2===n?e.get(t):e[t],F=(e,t,n,r=M(e))=>{2===r?e.set(t,n):3===r?e.add(n):e[t]=n};var H=Array.isArray,U=e=>e instanceof Map,j=e=>e instanceof Set,G=e=>"object"==typeof e,z=e=>"function"==typeof e,Y=e=>"boolean"==typeof e;var q=e=>e.copy_||e.base_,$=e=>e.modified_?e.copy_:e.base_;function V(e,t){if(U(e))return new Map(e);if(j(e))return new Set(e);if(H(e))return Array[S].slice.call(e);const n=P(e);if(!0===t||"class_only"===t&&!n){const t=A.getOwnPropertyDescriptors(e);delete t[T];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const o=n[r],i=t[o];!1===i[k]&&(i[k]=!0,i[C]=!0),(i.get||i.set)&&(t[o]={[C]:!0,[k]:!0,[I]:i[I],[O]:e[o]})}return A.create(y(e),t)}{const t=y(e);if(null!==t&&n)return{...e};const r=A.create(t);return A.assign(r,e)}}function W(e,t=!1){return X(e)||N(e)||!v(e)||(M(e)>1&&A.defineProperties(e,{set:Q,add:Q,clear:Q,delete:Q}),A.freeze(e),t&&x(e,(e,t)=>{W(t,!0)},!1)),e}var Q={[O]:function(){_(2)}};function X(e){return null===e||!G(e)||A.isFrozen(e)}var K="MapSet",Z="Patches",J="ArrayMethods",ee={};function te(e){const t=ee[e];return t||_(0),t}var ne,re=e=>!!ee[e];var oe=()=>ne;function ie(e,t){t&&(e.patchPlugin_=te(Z),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function se(e){ae(e),e.drafts_.forEach(le),e.drafts_=null}function ae(e){e===ne&&(ne=e.parent_)}var ce=e=>ne={drafts_:[],parent_:ne,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:re(K)?te(K):void 0,arrayMethodsPlugin_:re(J)?te(J):void 0};function le(e){const t=e[T];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function ue(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(void 0!==e&&e!==n){n[T].modified_&&(se(t),_(4)),v(e)&&(e=pe(t,e));const{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[T].base_,e,t)}else e=pe(t,n);return function(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&W(t,n)}(t,e,!0),se(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==E?e:void 0}function pe(e,t){if(X(t))return t;const n=t[T];if(!n){return Te(t,e.handledSet_,e)}if(!he(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:t}=n;if(t)for(;t.length>0;){t.pop()(e)}Ee(n,e)}return n.copy_}function fe(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var he=(e,t)=>e.scope_===t,de=[];function me(e,t,n,r){const o=q(e),i=e.type_;if(void 0!==r){if(B(o,r,i)===t)return void F(o,r,n,i)}if(!e.draftLocations_){const t=e.draftLocations_=new Map;x(o,(e,n)=>{if(N(n)){const r=t.get(n)||[];r.push(e),t.set(n,r)}})}const s=e.draftLocations_.get(t)??de;for(const a of s)F(o,a,n,i)}function Ee(e,t){if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:n}=t;if(n){const r=n.getPath(e);r&&n.generatePatches_(e,r,t)}fe(e)}}function ge(e,t,n){const{scope_:r}=e;if(N(n)){const o=n[T];he(o,r)&&o.callbacks_.push(function(){Ce(e);const r=$(o);me(e,n,r,t)})}else v(n)&&e.callbacks_.push(function(){const o=q(e);3===e.type_?o.has(n)&&Te(n,r.handledSet_,r):B(o,t,e.type_)===n&&r.drafts_.length>1&&!0===(e.assigned_.get(t)??!1)&&e.copy_&&Te(B(e.copy_,t,e.type_),r.handledSet_,r)})}function Te(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||N(e)||t.has(e)||!v(e)||X(e)||(t.add(e),x(e,(r,o)=>{if(N(o)){const t=o[T];if(he(t,n)){const n=$(t);F(e,r,n,e.type_),fe(t)}}else v(o)&&Te(o,t,n)})),e}var _e={get(e,t){if(t===T)return e;let n=e.scope_.arrayMethodsPlugin_;const r=1===e.type_&&"string"==typeof t;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const o=q(e);if(!w(o,t,e.type_))return function(e,t,n){const r=be(t,n);return r?O in r?r[O]:r.get?.call(e.draft_):void 0}(e,o,t);const i=o[t];if(e.finalized_||!v(i))return i;if(r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&function(e){const t=+e;return Number.isInteger(t)&&String(t)===e}(t))return i;if(i===ye(e.base_,t)){Ce(e);const n=1===e.type_?+t:t,r=Ie(e.scope_,i,e,n);return e.copy_[n]=r}return i},has:(e,t)=>t in q(e),ownKeys:e=>Reflect.ownKeys(q(e)),set(e,t,n){const r=be(q(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=ye(q(e),t),s=r?.[T];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(((o=n)===(i=r)?0!==o||1/o==1/i:o!=o&&i!=i)&&(void 0!==n||w(e.base_,t,e.type_)))return!0;Ce(e),Se(e)}var o,i;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),ge(e,t,n)),!0},deleteProperty:(e,t)=>(Ce(e),void 0!==ye(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),Se(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=q(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{[k]:!0,[C]:1!==e.type_||"length"!==t,[I]:r[I],[O]:n[t]}:r},defineProperty(){_(11)},getPrototypeOf:e=>y(e.base_),setPrototypeOf(){_(12)}},Ae={};for(let Un in _e){let e=_e[Un];Ae[Un]=function(){const t=arguments;return t[0]=t[0][0],e.apply(this,t)}}function ye(e,t){const n=e[T];return(n?q(n):e)[t]}function be(e,t){if(!(t in e))return;let n=y(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=y(n)}}function Se(e){e.modified_||(e.modified_=!0,e.parent_&&Se(e.parent_))}function Ce(e){e.copy_||(e.assigned_=new Map,e.copy_=V(e.base_,e.scope_.immer_.useStrictShallowCopy_))}Ae.deleteProperty=function(e,t){return Ae.set.call(this,e,t,void 0)},Ae.set=function(e,t,n){return _e.set.call(this,e[0],t,n,e[0])};function Ie(e,t,n,r){const[o,i]=U(t)?te(K).proxyMap_(t,n):j(t)?te(K).proxySet_(t,n):function(e,t){const n=H(e),r={type_:n?1:0,scope_:t?t.scope_:oe(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=r,i=_e;n&&(o=[r],i=Ae);const{revoke:s,proxy:a}=Proxy.revocable(o,i);return r.draft_=a,r.revoke_=s,[a,r]}(t,n);return(n?.scope_??oe()).drafts_.push(o),i.callbacks_=n?.callbacks_??[],i.key_=r,n&&void 0!==r?function(e,t,n){e.callbacks_.push(function(r){const o=t;if(!o||!he(o,r))return;r.mapSetPlugin_?.fixSetContents(o);const i=$(o);me(e,o.draft_??o,i,n),Ee(o,r)})}(n,i,r):i.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:t}=e;i.modified_&&t&&t.generatePatches_(i,[],e)}),o}function ke(e){return N(e)||_(10),Oe(e)}function Oe(e){if(!v(e)||X(e))return e;const t=e[T];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=V(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=V(e,!0);return x(n,(e,t)=>{F(n,e,Oe(t))},r),t&&(t.finalized_=!1),n}var Ne=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(z(e)&&!z(t)){const n=t;t=e;const r=this;return function(e=n,...o){return r.produce(e,e=>t.call(this,e,...o))}}let r;if(z(t)||_(6),void 0===n||z(n)||_(7),v(e)){const o=ce(this),i=Ie(o,e,void 0);let s=!0;try{r=t(i),s=!1}finally{s?se(o):ae(o)}return ie(o,n),ue(r,o)}if(!e||!G(e)){if(r=t(e),void 0===r&&(r=e),r===E&&(r=void 0),this.autoFreeze_&&W(r,!0),n){const t=[],o=[];te(Z).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:o}),n(t,o)}return r}_(1)},this.produceWithPatches=(e,t)=>{if(z(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Y(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Y(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Y(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){v(e)||_(8),N(e)&&(e=ke(e));const t=ce(this),n=Ie(t,e,void 0);return n[T].isManual_=!0,ae(t),n}finishDraft(e,t){const n=e&&e[T];n&&n.isManual_||_(9);const{scope_:r}=n;return ie(r,t),ue(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=te(Z).applyPatches_;return N(e)?r(e,t):this.produce(e,e=>r(e,t))}},ve=Ne.produce,De=Symbol("NOT_FOUND");function Re(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}var Pe=e=>Array.isArray(e)?e:[e];function Le(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){const n=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw new TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}Symbol(),Object.getPrototypeOf({});var xe=(e,t)=>e===t;function Me(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;const{length:r}=t;for(let o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}function we(e,t){const n="object"==typeof t?t:{equalityCheck:t},{equalityCheck:r=xe,maxSize:o=1,resultEqualityCheck:i}=n,s=Me(r);let a=0;const c=o<=1?function(e){let t;return{get:n=>t&&e(t.key,n)?t.value:De,put(e,n){t={key:e,value:n}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}(s):function(e,t){let n=[];function r(e){const r=n.findIndex(n=>t(e,n.key));if(r>-1){const e=n[r];return r>0&&(n.splice(r,1),n.unshift(e)),e.value}return De}return{get:r,put:function(t,o){r(t)===De&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(o,s);function l(){let t=c.get(arguments);if(t===De){if(t=e.apply(null,arguments),a++,i){const e=c.getEntries().find(e=>i(e.value,t));e&&(t=e.value,0!==a&&a--)}c.put(arguments,t)}return t}return l.clearCache=()=>{c.clear(),l.resetResultsCount()},l.resultsCount=()=>a,l.resetResultsCount=()=>{a=0},l}var Be="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function Fe(){return{s:0,v:void 0,o:null,p:null}}function He(e,t={}){let n={s:0,v:void 0,o:null,p:null};const{resultEqualityCheck:r}=t;let o,i=0;function s(){let t=n;const{length:s}=arguments;for(let e=0,n=s;e<n;e++){const n=arguments[e];if("function"==typeof n||"object"==typeof n&&null!==n){let e=t.o;null===e&&(t.o=e=new WeakMap);const r=e.get(n);void 0===r?(t=Fe(),e.set(n,t)):t=r}else{let e=t.p;null===e&&(t.p=e=new Map);const r=e.get(n);void 0===r?(t=Fe(),e.set(n,t)):t=r}}const a=t;let c;if(1===t.s)c=t.v;else if(c=e.apply(null,arguments),i++,r){const e=o?.deref?.()??o;null!=e&&r(e,c)&&(c=e,0!==i&&i--);o="object"==typeof c&&null!==c||"function"==typeof c?new Be(c):c}return a.s=1,a.v=c,c}return s.clearCache=()=>{n={s:0,v:void 0,o:null,p:null},s.resetResultsCount()},s.resultsCount=()=>i,s.resetResultsCount=()=>{i=0},s}function Ue(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,i={},s=e.pop();"object"==typeof s&&(i=s,s=e.pop()),Re(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const a={...n,...i},{memoize:c,memoizeOptions:l=[],argsMemoize:u=He,argsMemoizeOptions:p=[],devModeChecks:f={}}=a,h=Pe(l),d=Pe(p),m=Le(e),E=c(function(){return r++,s.apply(null,arguments)},...h);const g=u(function(){o++;const e=function(e,t){const n=[],{length:r}=e;for(let o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(m,arguments);return t=E.apply(null,e),t},...d);return Object.assign(g,{resultFunc:s,memoizedResultFunc:E,dependencies:m,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:c,argsMemoize:u})};return Object.assign(r,{withTypes:()=>r}),r}var je=Ue(He),Ge=Object.assign((e,t=je)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>Ge});function ze(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}var Ye=ze(),qe=ze,$e=(n(65606),(...e)=>{const t=Ue(...e),n=Object.assign((...e)=>{const n=t(...e),r=(e,...t)=>n(N(e)?ke(e):e,...t);return Object.assign(r,n),r},{withTypes:()=>n});return n}),Ve=$e(He),We="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?h:h.apply(null,arguments)},Qe=("undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,e=>e&&"function"==typeof e.match);function Xe(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw new Error(Hn(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>m(t)&&t.type===e,n}function Ke(e){return"function"==typeof e&&"type"in e&&Qe(e)}function Ze(e){return m(e)&&Object.keys(e).every(Je)}function Je(e){return["type","payload","error","meta"].indexOf(e)>-1}function et(e={}){return()=>e=>t=>e(t)}var tt=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function nt(e){return v(e)?ve(e,()=>{}):e}function rt(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function ot(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function it(e={}){return()=>e=>t=>e(t)}function st(e){const t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||a(e)}function at(e,t="",n=st,r,o=[],i){let s;if(!n(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e)return!1;if(i?.has(e))return!1;const a=null!=r?r(e):Object.entries(e),c=o.length>0;for(const[l,u]of a){const e=t?t+"."+l:l;if(c){if(o.some(t=>t instanceof RegExp?t.test(e):e===t))continue}if(!n(u))return{keyPath:e,value:u};if("object"==typeof u&&(s=at(u,e,n,r,o,i),s))return s}return i&&ct(e)&&i.add(e),!1}function ct(e){if(!Object.isFrozen(e))return!1;for(const t of Object.values(e))if("object"==typeof t&&null!==t&&!ct(t))return!1;return!0}function lt(e={}){return()=>e=>t=>e(t)}var ut="RTK_autoBatch",pt=()=>e=>({payload:e,meta:{[ut]:!0}}),ft=e=>t=>{setTimeout(t,e)},ht=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let o=!0,i=!1,s=!1;const a=new Set,c="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:ft(10):"callback"===e.type?e.queueNotification:ft(e.timeout),l=()=>{s=!1,i&&(i=!1,a.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){const t=r.subscribe(()=>o&&e());return a.add(e),()=>{t(),a.delete(e)}},dispatch(e){try{return o=!e?.meta?.[ut],i=!o,i&&(s||(s=!0,c(l))),r.dispatch(e)}finally{o=!0}}})};function dt(e){const t=function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:o=!0}=e??{};let i=new tt;return t&&("boolean"==typeof t?i.push(Ye):i.push(qe(t.extraArgument))),i},{reducer:n,middleware:r,devTools:o=!0,duplicateMiddlewareCheck:i=!0,preloadedState:s,enhancers:l}=e||{};let p,f;if("function"==typeof n)p=n;else{if(!a(n))throw new Error(Hn(1));p=u(n)}f="function"==typeof r?r(t):t();let m=h;o&&(m=We({trace:!1,..."object"==typeof o&&o}));const E=(e=>function(t){const{autoBatch:n=!0}=t??{};let r=new tt(e);return n&&r.push(ht("object"==typeof n?n:void 0)),r})(d(...f));return c(p,s,m(..."function"==typeof l?l(E):E()))}function mt(e){const t={},n=[];let r;const o={addCase(e,n){const r="string"==typeof e?e:e.type;if(!r)throw new Error(Hn(28));if(r in t)throw new Error(Hn(29));return t[r]=n,o},addAsyncThunk:(e,r)=>(r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),o),addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),o),addDefaultCase:e=>(r=e,o)};return e(o),[t,n,r]}function Et(e,t){let n,[r,o,i]=mt(t);if("function"==typeof e)n=()=>nt(e());else{const t=nt(e);n=()=>t}function s(e=n(),t){let s=[r[t.type],...o.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===s.filter(e=>!!e).length&&(s=[i]),s.reduce((e,n)=>{if(n){if(N(e)){const r=n(e,t);return void 0===r?e:r}if(v(e))return ve(e,e=>n(e,t));{const r=n(e,t);if(void 0===r){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}}return e},e)}return s.getInitialState=n,s}var gt=(e,t)=>Qe(e)?e.match(t):e(t);function Tt(...e){return t=>e.some(e=>gt(e,t))}function _t(...e){return t=>e.every(e=>gt(e,t))}function At(e,t){if(!e||!e.meta)return!1;const n="string"==typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function yt(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function bt(...e){return 0===e.length?e=>At(e,["pending"]):yt(e)?Tt(...e.map(e=>e.pending)):bt()(e[0])}function St(...e){return 0===e.length?e=>At(e,["rejected"]):yt(e)?Tt(...e.map(e=>e.rejected)):St()(e[0])}function Ct(...e){const t=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===e.length||yt(e)?_t(St(...e),t):Ct()(e[0])}function It(...e){return 0===e.length?e=>At(e,["fulfilled"]):yt(e)?Tt(...e.map(e=>e.fulfilled)):It()(e[0])}function kt(...e){return 0===e.length?e=>At(e,["pending","fulfilled","rejected"]):yt(e)?Tt(...e.flatMap(e=>[e.pending,e.rejected,e.fulfilled])):kt()(e[0])}var Ot=(e=21)=>{let t="",n=e;for(;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},Nt=["name","message","stack","code"],vt=class{constructor(e,t){this.payload=e,this.meta=t}_type},Dt=class{constructor(e,t){this.payload=e,this.meta=t}_type},Rt=e=>{if("object"==typeof e&&null!==e){const t={};for(const n of Nt)"string"==typeof e[n]&&(t[n]=e[n]);return t}return{message:String(e)}},Pt="External signal was aborted",Lt=(()=>{function e(e,t,n){const r=Xe(e+"/fulfilled",(e,t,n,r)=>({payload:e,meta:{...r||{},arg:n,requestId:t,requestStatus:"fulfilled"}})),o=Xe(e+"/pending",(e,t,n)=>({payload:void 0,meta:{...n||{},arg:t,requestId:e,requestStatus:"pending"}})),i=Xe(e+"/rejected",(e,t,r,o,i)=>({payload:o,error:(n&&n.serializeError||Rt)(e||"Rejected"),meta:{...i||{},arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===e?.name,condition:"ConditionError"===e?.name}}));return Object.assign(function(e,{signal:s}={}){return(a,c,l)=>{const u=n?.idGenerator?n.idGenerator(e):Ot(),p=new AbortController;let f,h;function d(e){h=e,p.abort()}s&&(s.aborted?d(Pt):s.addEventListener("abort",()=>d(Pt),{once:!0}));const m=async function(){let s;try{let i=n?.condition?.(e,{getState:c,extra:l});if(null!==(m=i)&&"object"==typeof m&&"function"==typeof m.then&&(i=await i),!1===i||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((e,t)=>{f=()=>{t({name:"AbortError",message:h||"Aborted"})},p.signal.addEventListener("abort",f,{once:!0})});a(o(u,e,n?.getPendingMeta?.({requestId:u,arg:e},{getState:c,extra:l}))),s=await Promise.race([E,Promise.resolve(t(e,{dispatch:a,getState:c,extra:l,requestId:u,signal:p.signal,abort:d,rejectWithValue:(e,t)=>new vt(e,t),fulfillWithValue:(e,t)=>new Dt(e,t)})).then(t=>{if(t instanceof vt)throw t;return t instanceof Dt?r(t.payload,u,e,t.meta):r(t,u,e)})])}catch(E){s=E instanceof vt?i(null,u,e,E.payload,E.meta):i(E,u,e)}finally{f&&p.signal.removeEventListener("abort",f)}var m;return n&&!n.dispatchConditionRejection&&i.match(s)&&s.meta.condition||a(s),s}();return Object.assign(m,{abort:d,requestId:u,arg:e,unwrap:()=>m.then(xt)})}},{pending:o,rejected:i,fulfilled:r,settled:Tt(i,r),typePrefix:e})}return e.withTypes=()=>e,e})();function xt(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var Mt=Symbol.for("rtk-slice-createasyncthunk"),wt={[Mt]:Lt},Bt=(e=>(e.reducer="reducer",e.reducerWithPrepare="reducerWithPrepare",e.asyncThunk="asyncThunk",e))(Bt||{});function Ft(e,t){return`${e}/${t}`}function Ht({creators:e}={}){const t=e?.asyncThunk?.[Mt];return function(e){const{name:n,reducerPath:r=n}=e;if(!n)throw new Error(Hn(11));const o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),s={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},a={addCase(e,t){const n="string"==typeof e?e:e.type;if(!n)throw new Error(Hn(12));if(n in s.sliceCaseReducersByType)throw new Error(Hn(13));return s.sliceCaseReducersByType[n]=t,a},addMatcher:(e,t)=>(s.sliceMatchers.push({matcher:e,reducer:t}),a),exposeAction:(e,t)=>(s.actionCreators[e]=t,a),exposeCaseReducer:(e,t)=>(s.sliceCaseReducersByName[e]=t,a)};function c(){const[t={},n=[],r]="function"==typeof e.extraReducers?mt(e.extraReducers):[e.extraReducers],o={...t,...s.sliceCaseReducersByType};return Et(e.initialState,e=>{for(let t in o)e.addCase(t,o[t]);for(let t of s.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}i.forEach(r=>{const i=o[r],s={reducerName:r,type:Ft(n,r),createNotation:"function"==typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(i)?function({type:e,reducerName:t,createNotation:n},r,o){let i,s;if("reducer"in r){if(n&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(r))throw new Error(Hn(17));i=r.reducer,s=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,s?Xe(e,s):Xe(e))}(s,i,a):function({type:e,reducerName:t},n,r,o){if(!o)throw new Error(Hn(18));const{payloadCreator:i,fulfilled:s,pending:a,rejected:c,settled:l,options:u}=n,p=o(e,i,u);r.exposeAction(t,p),s&&r.addCase(p.fulfilled,s);a&&r.addCase(p.pending,a);c&&r.addCase(p.rejected,c);l&&r.addMatcher(p.settled,l);r.exposeCaseReducer(t,{fulfilled:s||Gt,pending:a||Gt,rejected:c||Gt,settled:l||Gt})}(s,i,a,t)});const l=e=>e,u=new Map,p=new WeakMap;let f;function h(e,t){return f||(f=c()),f(e,t)}function d(){return f||(f=c()),f.getInitialState()}function m(t,n=!1){function r(e){let o=e[t];return void 0===o&&n&&(o=rt(p,r,d)),o}function o(t=l){const r=rt(u,n,()=>new WeakMap);return rt(r,t,()=>{const r={};for(const[o,i]of Object.entries(e.selectors??{}))r[o]=Ut(i,t,()=>rt(p,t,d),n);return r})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}const E={name:n,reducer:h,actions:s.actionCreators,caseReducers:s.sliceCaseReducersByName,getInitialState:d,...m(r),injectInto(e,{reducerPath:t,...n}={}){const o=t??r;return e.inject({reducerPath:o,reducer:h},n),{...E,...m(o,!0)}}};return E}}function Ut(e,t,n,r){function o(o,...i){let s=t(o);return void 0===s&&r&&(s=n()),e(s,...i)}return o.unwrapped=e,o}var jt=Ht();function Gt(){}var zt=N;function Yt(e){const t=qt((t,n)=>e(n));return function(e){return t(e,void 0)}}function qt(e){return function(t,n){const r=t=>{Ze(n)?e(n.payload,t):e(n,t)};return zt(t)?(r(t),t):ve(t,r)}}function $t(e,t){return t(e)}function Vt(e){return Array.isArray(e)||(e=Object.values(e)),e}function Wt(e){return N(e)?ke(e):e}function Qt(e,t,n){e=Vt(e);const r=Wt(n.ids),o=new Set(r),i=[],s=new Set([]),a=[];for(const c of e){const e=$t(c,t);o.has(e)||s.has(e)?a.push({id:e,changes:c}):(s.add(e),i.push(c))}return[i,a,r]}function Xt(e){function t(t,n){const r=$t(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){e=Vt(e);for(const r of e)t(r,n)}function r(t,n){const r=$t(t,e);r in n.entities||n.ids.push(r),n.entities[r]=t}function o(e,t){let n=!1;e.forEach(e=>{e in t.entities&&(delete t.entities[e],n=!0)}),n&&(t.ids=t.ids.filter(e=>e in t.entities))}function i(t,n){const r={},o={};t.forEach(e=>{e.id in n.entities&&(o[e.id]={id:e.id,changes:{...o[e.id]?.changes,...e.changes}})});if((t=Object.values(o)).length>0){const o=t.filter(t=>function(t,n,r){const o=r.entities[n.id];if(void 0===o)return!1;const i=Object.assign({},o,n.changes),s=$t(i,e),a=s!==n.id;return a&&(t[n.id]=s,delete r.entities[n.id]),r.entities[s]=i,a}(r,t,n)).length>0;o&&(n.ids=Object.values(n.entities).map(t=>$t(t,e)))}}function s(t,r){const[o,s]=Qt(t,e,r);n(o,r),i(s,r)}return{removeAll:Yt(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:qt(t),addMany:qt(n),setOne:qt(r),setMany:qt(function(e,t){e=Vt(e);for(const n of e)r(n,t)}),setAll:qt(function(e,t){e=Vt(e),t.ids=[],t.entities={},n(e,t)}),updateOne:qt(function(e,t){return i([e],t)}),updateMany:qt(i),upsertOne:qt(function(e,t){return s([e],t)}),upsertMany:qt(s),removeOne:qt(function(e,t){return o([e],t)}),removeMany:qt(o)}}function Kt(e,t,n){const r=function(e,t,n){let r=0,o=e.length;for(;r<o;){let i=r+o>>>1;n(t,e[i])>=0?r=i+1:o=i}return r}(e,t,n);return e.splice(r,0,t),e}function Zt(e={}){const{selectId:t,sortComparer:n}={sortComparer:!1,selectId:e=>e.id,...e},r=n?function(e,t){const{removeOne:n,removeMany:r,removeAll:o}=Xt(e);function i(t,n,r){t=Vt(t);const o=new Set(r??Wt(n.ids)),i=new Set,s=t.filter(t=>{const n=$t(t,e),r=!i.has(n);return r&&i.add(n),!o.has(n)&&r});0!==s.length&&l(n,s)}function s(t,n){let r={};if(0!==(t=Vt(t)).length){for(const o of t){const t=e(o);r[t]=o,delete n.entities[t]}t=Vt(r),l(n,t)}}function a(t,n){let r=!1,o=!1;for(let i of t){const t=n.entities[i.id];if(!t)continue;r=!0,Object.assign(t,i.changes);const s=e(t);if(i.id!==s){o=!0,delete n.entities[i.id];const e=n.ids.indexOf(i.id);n.ids[e]=s,n.entities[s]=t}}r&&l(n,[],r,o)}function c(t,n){const[r,o,s]=Qt(t,e,n);r.length&&i(r,n,s),o.length&&a(o,n)}const l=(n,r,o,i)=>{const s=Wt(n.entities),a=Wt(n.ids),c=n.entities;let l=a;i&&(l=new Set(a));let u=[];for(const e of l){const t=s[e];t&&u.push(t)}const p=0===u.length;for(const h of r)c[e(h)]=h,p||Kt(u,h,t);p?u=r.slice().sort(t):o&&u.sort(t);const f=u.map(e);(function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0})(a,f)||(n.ids=f)};return{removeOne:n,removeMany:r,removeAll:o,addOne:qt(function(e,t){return i([e],t)}),updateOne:qt(function(e,t){return a([e],t)}),upsertOne:qt(function(e,t){return c([e],t)}),setOne:qt(function(e,t){return s([e],t)}),setMany:qt(s),setAll:qt(function(e,t){e=Vt(e),t.entities={},t.ids=[],i(e,t,[])}),addMany:qt(i),updateMany:qt(a),upsertMany:qt(c)}}(t,n):Xt(t),o=function(e){return{getInitialState:function(t={},n){const r=Object.assign({ids:[],entities:{}},t);return n?e.setAll(r,n):r}}}(r),i={getSelectors:function(e,t={}){const{createSelector:n=Ve}=t,r=e=>e.ids,o=e=>e.entities,i=n(r,o,(e,t)=>e.map(e=>t[e])),s=(e,t)=>t,a=(e,t)=>e[t],c=n(r,e=>e.length);if(!e)return{selectIds:r,selectEntities:o,selectAll:i,selectTotal:c,selectById:n(o,s,a)};const l=n(e,o);return{selectIds:n(e,r),selectEntities:l,selectAll:n(e,i),selectTotal:n(e,c),selectById:n(l,s,a)}}};return{selectId:t,sortComparer:n,...o,...i,...r}}var Jt="listener",en="completed",tn="cancelled",nn=`task-${tn}`,rn=`task-${en}`,on=`${Jt}-${tn}`,sn=`${Jt}-${en}`,an=class{constructor(e){this.code=e,this.message=`task ${tn} (reason: ${e})`}name="TaskAbortError";message},cn=(e,t)=>{if("function"!=typeof e)throw new TypeError(Hn(32))},ln=()=>{},un=(e,t=ln)=>(e.catch(t),e),pn=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),fn=e=>{if(e.aborted)throw new an(e.reason)};function hn(e,t){let n=ln;return new Promise((r,o)=>{const i=()=>o(new an(e.reason));e.aborted?i():(n=pn(e,i),t.finally(()=>n()).then(r,o))}).finally(()=>{n=ln})}var dn=e=>t=>un(hn(e,t).then(t=>(fn(e),t))),mn=e=>{const t=dn(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:En}=Object,gn={},Tn="listenerMiddleware",_n=(e,t)=>(n,r)=>{cn(n);const o=new AbortController;var i;i=o,pn(e,()=>i.abort(e.reason));const s=(async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(n){return{status:n instanceof an?"cancelled":"rejected",error:n}}finally{t?.()}})(async()=>{fn(e),fn(o.signal);const t=await n({pause:dn(o.signal),delay:mn(o.signal),signal:o.signal});return fn(o.signal),t},()=>o.abort(rn));return r?.autoJoin&&t.push(s.catch(ln)),{result:dn(e)(s),cancel(){o.abort(nn)}}},An=(e,t)=>(n,r)=>un((async(n,r)=>{fn(t);let o=()=>{};const i=[new Promise((t,r)=>{let i=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});o=()=>{i(),r()}})];null!=r&&i.push(new Promise(e=>setTimeout(e,r,null)));try{const e=await hn(t,Promise.race(i));return fn(t),e}finally{o()}})(n,r)),yn=e=>{let{type:t,actionCreator:n,matcher:r,predicate:o,effect:i}=e;if(t)o=Xe(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(Hn(21));return cn(i),{predicate:o,type:t,effect:i}},bn=En(e=>{const{type:t,predicate:n,effect:r}=yn(e);return{id:Ot(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Hn(22))}}},{withTypes:()=>bn}),Sn=(e,t)=>{const{type:n,effect:r,predicate:o}=yn(t);return Array.from(e.values()).find(e=>("string"==typeof n?e.type===n:e.predicate===o)&&e.effect===r)},Cn=e=>{e.pending.forEach(e=>{e.abort(on)})},In=(e,t,n)=>{try{e(t,n)}catch(r){setTimeout(()=>{throw r},0)}},kn=En(Xe(`${Tn}/add`),{withTypes:()=>kn}),On=Xe(`${Tn}/removeAll`),Nn=En(Xe(`${Tn}/remove`),{withTypes:()=>Nn}),vn=(...e)=>{console.error(`${Tn}/error`,...e)},Dn=(e={})=>{const t=new Map,n=new Map,{extra:r,onError:o=vn}=e;cn(o);const i=e=>(e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&Cn(e)}))(Sn(t,e)??bn(e));En(i,{withTypes:()=>i});const s=e=>{const n=Sn(t,e);return n&&(n.unsubscribe(),e.cancelActive&&Cn(n)),!!n};En(s,{withTypes:()=>s});const a=async(e,s,a,c)=>{const l=new AbortController,u=An(i,l.signal),p=[];try{e.pending.add(l),(e=>{const t=n.get(e)??0;n.set(e,t+1)})(e),await Promise.resolve(e.effect(s,En({},a,{getOriginalState:c,condition:(e,t)=>u(e,t).then(Boolean),take:u,delay:mn(l.signal),pause:dn(l.signal),extra:r,signal:l.signal,fork:_n(l.signal,p),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==l&&(e.abort(on),n.delete(e))})},cancel:()=>{l.abort(on),e.pending.delete(l)},throwIfCancelled:()=>{fn(l.signal)}})))}catch(f){f instanceof an||In(o,f,{raisedBy:"effect"})}finally{await Promise.all(p),l.abort(sn),(e=>{const t=n.get(e)??1;1===t?n.delete(e):n.set(e,t-1)})(e),e.pending.delete(l)}},c=((e,t)=>()=>{for(const e of t.keys())Cn(e);e.clear()})(t,n);return{middleware:e=>n=>r=>{if(!m(r))return n(r);if(kn.match(r))return i(r.payload);if(On.match(r))return void c();if(Nn.match(r))return s(r.payload);let l=e.getState();const u=()=>{if(l===gn)throw new Error(Hn(23));return l};let p;try{if(p=n(r),t.size>0){const n=e.getState(),i=Array.from(t.values());for(const t of i){let i=!1;try{i=t.predicate(r,n,l)}catch(f){i=!1,In(o,f,{raisedBy:"predicate"})}i&&a(t,r,e,u)}}}finally{l=gn}return p},startListening:i,stopListening:s,clearListeners:c}},Rn=e=>({middleware:e,applied:new Map}),Pn=()=>{const e=Ot(),t=new Map,n=Object.assign(Xe("dynamicMiddleware/add",(...t)=>({payload:t,meta:{instanceId:e}})),{withTypes:()=>n}),r=Object.assign(function(...e){e.forEach(e=>{rt(t,e,Rn)})},{withTypes:()=>r}),o=_t(n,(e=>t=>t?.meta?.instanceId===e)(e));return{middleware:e=>n=>i=>o(i)?(r(...i.payload),e.dispatch):(e=>h(...Array.from(t.values()).map(t=>rt(t.applied,e,t.middleware))))(e)(n)(i),addMiddleware:r,withMiddleware:n,instanceId:e}},Ln=Symbol.for("rtk-state-proxy-original"),xn=new WeakMap,Mn=e=>{if(!(t=e)||!t[Ln])throw new Error(Hn(25));var t;return e[Ln]},wn={},Bn=(e=wn)=>e;function Fn(...e){const t=Object.fromEntries((e=>e.flatMap(e=>{return"reducerPath"in(t=e)&&"string"==typeof t.reducerPath?[[e.reducerPath,e.reducer]]:Object.entries(e);var t}))(e)),n=()=>Object.keys(t).length?u(t):Bn;let r=n();function o(e,t){return r(e,t)}o.withLazyLoadedSlices=()=>o;const i={},s=Object.assign(function(e,n){return function(r,...o){return e(((e,t,n)=>rt(xn,e,()=>new Proxy(e,{get:(e,r,o)=>{if(r===Ln)return e;const i=Reflect.get(e,r,o);if(void 0===i){const e=n[r];if(void 0!==e)return e;const o=t[r];if(o){const e=o(void 0,{type:Ot()});if(void 0===e)throw new Error(Hn(24));return n[r]=e,e}}return i}})))(n?n(r,...o):r,t,i),...o)}},{original:Mn});return Object.assign(o,{inject:(e,s={})=>{const{reducerPath:a,reducer:c}=e,l=t[a];return!s.overrideExisting&&l&&l!==c||(s.overrideExisting&&l!==c&&delete i[a],t[a]=c,r=n()),o},selector:s})}function Hn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}}}]); |