Files
OpenSign/assets/js/414.d9ebe090.js
T

2 lines
474 KiB
JavaScript

/*! For license information please see 414.d9ebe090.js.LICENSE.txt */
(globalThis.webpackChunkOpenSign_Docs=globalThis.webpackChunkOpenSign_Docs||[]).push([[414],{94083(e,t,n){"use strict";e=n.nmd(e);const r=(e,t)=>(...n)=>`\x1b[${e(...n)+t}m`,i=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};5;${r}m`},o=(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,i)=>{void 0===l&&(l=n(10734));const o=i?10:0,s={};for(const[n,a]of Object.entries(l)){const i="ansi16"===n?"ansi":n;n===t?s[i]=e(r,o):"object"==typeof a&&(s[i]=e(a[t],o))}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,i]of Object.entries(r))t[n]={open:`\x1b[${i[0]}m`,close:`\x1b[${i[1]}m`},r[n]=t[n],e.set(i[0],i[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(i,"ansi256",s,!1)),c(t.color,"ansi16m",()=>u(o,"rgb",a,!1)),c(t.bgColor,"ansi",()=>u(r,"ansi16",s,!0)),c(t.bgColor,"ansi256",()=>u(i,"ansi256",s,!0)),c(t.bgColor,"ansi16m",()=>u(o,"rgb",a,!0)),t}})},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 i=n(68307),o=r(n(10365)),s=r(n(62193)),a=n(5674),c=n(78583),l=n(27691),u=n(67747),p=n(51126),h=n(5700);let f;function d(e){return(0,i.merge)(e,{onMergeError:e=>{console.warn(e)}})}function m(e){const t=e.oneOf?"oneOf":"anyOf";return(0,h.create)("div",{children:[(0,h.create)("span",{className:"badge badge--info",children:t,style:{marginBottom:"1rem"}}),(0,h.create)("SchemaTabs",{children:e[t].map((t,n)=>{const r=t.title?t.title:`MOD${n+1}`,i=[];if(t.description&&i.push((0,h.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||i.push(y(t,f)),void 0!==t.properties&&(i.push(E(t)),delete t.properties),void 0!==t.allOf&&(i.push(y(t,f)),delete t.allOf),void 0!==t.oneOf&&(i.push(y(t,f)),delete t.oneOf),void 0!==t.items&&(i.push(g(t)),delete t.items),"string"!==t.type&&"number"!==t.type&&"integer"!==t.type&&"boolean"!==t.type||i.push(y(t,f)),i.length)return"array"===e.type?(0,h.create)("TabItem",{label:r,value:`${n}-item-properties`,children:[(0,a.createOpeningArrayBracket)(),i,(0,a.createClosingArrayBracket)()].filter(Boolean).flat()}):(0,h.create)("TabItem",{label:r,value:`${n}-item-properties`,children:i.filter(Boolean).flat()})})})]})}function E(e){const t=e.discriminator;return 0===Object.keys(e.properties).length?(0,h.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 T(e){var t;const n=e.additionalProperties;if(!n)return[];if(!0===n||(0,s.default)(n))return(0,h.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,i=(0,p.getSchemaName)(n);return _("property name*",null!=r?r:i,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,h.create)("SchemaItem",{name:"property name*",required:!1,schemaName:t,qualifierMessage:(0,p.getQualifierMessage)(e),schema:n,collapsible:!1,discriminator:!1})}return[]}function g(e){var t,n,r,i,o,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)(),T(e.items),(0,a.createClosingArrayBracket)()].flat();if(void 0!==(null===(r=e.items)||void 0===r?void 0:r.oneOf)||void 0!==(null===(i=e.items)||void 0===i?void 0:i.anyOf))return[(0,a.createOpeningArrayBracket)(),m(e.items),(0,a.createClosingArrayBracket)()].flat();if(void 0!==(null===(o=e.items)||void 0===o?void 0:o.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,f),(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,i){return(0,h.create)("SchemaItem",{collapsible:!0,className:"schemaItem",children:[(0,l.createDetails)({className:"openapi-markdown__details",children:[(0,u.createDetailsSummary)({children:[(0,h.create)("span",{className:"openapi-schema__container",children:[(0,h.create)("strong",{className:(0,o.default)("openapi-schema__property",{"openapi-schema__strikethrough":n.deprecated}),children:e}),(0,h.create)("span",{className:"openapi-schema__name",children:` ${t}`}),(0,h.guard)((Array.isArray(r)?r.includes(e):!0===r)||n.deprecated||i,()=>[(0,h.create)("span",{className:"openapi-schema__divider"})]),(0,h.guard)(i,()=>[(0,h.create)("span",{className:"openapi-schema__nullable",children:"nullable"})]),(0,h.guard)(Array.isArray(r)?r.includes(e):!0===r,()=>[(0,h.create)("span",{className:"openapi-schema__required",children:"<Translate id='theme.openapi.schemaItem.required'>required</Translate>"})]),(0,h.guard)(n.deprecated,()=>[(0,h.create)("span",{className:"openapi-schema__deprecated",children:"deprecated"})])]})]}),(0,h.create)("div",{style:{marginLeft:"1rem"},children:[(0,h.guard)(n.description,e=>(0,h.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:(0,c.createDescription)(e)})),(0,h.guard)((0,p.getQualifierMessage)(n),e=>(0,h.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:(0,c.createDescription)(e)})),y(n,f)]})]})]})}function A({name:e,schema:t,required:n,discriminator:r}){var i,o,s,a,l;if("request"===f&&t.readOnly&&!0===t.readOnly)return;if("response"===f&&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,i){if(void 0!==n)return void 0===r.mapping?A({name:e,schema:n,required:i}):(0,h.create)("div",{className:"openapi-discriminator__item openapi-schema__list-item",children:(0,h.create)("div",{children:[(0,h.create)("span",{className:"openapi-schema__container",children:[(0,h.create)("strong",{className:"openapi-discriminator__name openapi-schema__property",children:e}),(0,h.guard)(t,e=>(0,h.create)("span",{className:"openapi-schema__name",children:` ${t}`})),(0,h.guard)(i,()=>[(0,h.create)("span",{className:"openapi-schema__required",children:"<Translate id='theme.openapi.schemaItem.required'>required</Translate>"})])]}),(0,h.guard)(n.description,e=>(0,h.create)("div",{style:{paddingLeft:"1rem"},children:(0,c.createDescription)(e)})),(0,h.guard)((0,p.getQualifierMessage)(r),e=>(0,h.create)("div",{style:{paddingLeft:"1rem"},children:(0,c.createDescription)(e)})),(0,h.create)("DiscriminatorTabs",{className:"openapi-tabs__discriminator",children:Object.keys(null==r?void 0:r.mapping).map((e,t)=>{const n=e;return(0,h.create)("TabItem",{label:n,value:`${t}-item-discriminator`,children:[y(null==r?void 0:r.mapping[e],f)]})})})]})})}(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===(i=t.items)||void 0===i?void 0:i.properties))return _(e,u,t,n,t.nullable);if(void 0!==(null===(o=t.items)||void 0===o?void 0:o.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"===f&&r.readOnly&&!0===r.readOnly)return;if("response"===f&&r.writeOnly&&!0===r.writeOnly)return;const i=(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,i,r,n,r.nullable):(0,h.create)("SchemaItem",{collapsible:!1,name:e,required:Array.isArray(n)?n.includes(e):n,schemaName:i,qualifierMessage:(0,p.getQualifierMessage)(r),schema:r})}return(0,h.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(f=t,"request"===f&&e.readOnly&&!0===e.readOnly)return;if("response"===f&&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(T(e)),void 0!==e.items&&n.push(g(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,h.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem",marginLeft:"1rem"},children:(0,c.createDescription)(e.allOf[0])}):(0,h.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:[(0,c.createDescription)(e.type),(0,h.guard)((0,p.getQualifierMessage)(e),e=>(0,h.create)("div",{style:{paddingTop:"1rem"},children:(0,c.createDescription)(e)}))]}):"string"==typeof e?(0,h.create)("div",{style:{marginTop:".5rem",marginBottom:".5rem"},children:[(0,c.createDescription)(e),(0,h.guard)((0,p.getQualifierMessage)(e),e=>(0,h.create)("div",{style:{paddingTop:"1rem"},children:(0,c.createDescription)(e)}))]}):"any"}},51126(e,t){"use strict";function n(e,t){var n,r,i,o,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!==(o=null===(i=e.xml)||void 0===i?void 0:i.name)&&void 0!==o?o: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,i="";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&&(i+=e),r&&!e&&(i+=r),e&&r&&(i+=`${e} and ${r}`),n.push(i)}if(null!=t.minimum||null!=t.maximum||"number"==typeof t.exclusiveMinimum||"number"==typeof t.exclusiveMaximum){let e,r,i="";"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&&(i+=e),r&&!e&&(i+=r),e&&r&&(i+=`${e} and ${r}`),n.push(i)}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,o={}){const{children:s,...a}=t;let c="";if(function(e,t){if(!n)return!1;if(!r.has(e))return!1;const i=Object.values(t).some(e=>null!=e);if(!i)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 i=r>1?`.${r}`:"";return`${n.baseFilename}.${e}${i}.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=i(s).replace(/^/gm," ");o.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 i(t(e))}return""},t.render=i,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,"&lt;").replace(t.greaterThan,"&gt;").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 i(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 i=r(n(55248)),o=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,i){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],i);else if(n.anyOf)r[e]=(0,t.sampleFromSchema)(n.anyOf[0],i);else if(n.allOf){l(e,(0,s.mergeAllOf)(n),r,i)}else r[e]=(0,t.sampleFromSchema)(n,i);return r}function u(e){return Array.isArray(e)?e:[e]}function p(e,n,r){return e[n].map(i=>{if(e.properties){const o={...i,properties:{...e.properties,...i.properties}};return delete o[n],(0,t.sampleFromSchema)(o,r)}return(0,t.sampleFromSchema)(i,r)})}t.sampleFromSchema=(e={},n)=>{try{let r=JSON.parse(JSON.stringify(e)),{type:i,example:h,examples:f,allOf:d,properties:m,items:E,oneOf:T,anyOf:g,const:_}=r;if(void 0!==h)return h;if(void 0!==f&&f.length>0)return f[0];if(T){if(m){const e=(0,o.default)(r,T[0]);return delete e.oneOf,(0,t.sampleFromSchema)(e,n)}return(0,t.sampleFromSchema)(T[0],n)}if(g){if(m){const e=(0,o.default)(r,g[0]);return delete e.anyOf,(0,t.sampleFromSchema)(e,n)}return(0,t.sampleFromSchema)(g[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 i=(0,o.default)(r,e);return delete i.allOf,(0,t.sampleFromSchema)(i,n)}return(0,t.sampleFromSchema)(e,n)}if(!i)if(m)i="object";else{if(!E)return;i="array"}if("object"===i){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"===i)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(i.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 i=n(6737);t.slice=(0,i.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:()=>vl});var r={};n.r(r),n.d(r,{boolean:()=>S,booleanish:()=>b,commaOrSpaceSeparated:()=>N,commaSeparated:()=>C,number:()=>O,overloadedBoolean:()=>I,spaceSeparated:()=>k});var i={};n.r(i),n.d(i,{attentionMarkers:()=>Sn,contentInitial:()=>En,disable:()=>bn,document:()=>mn,flow:()=>gn,flowInitial:()=>Tn,insideSpan:()=>yn,string:()=>_n,text:()=>An});n(96540);var o=n(13472),s=n(90446);function a(){}function c(){}function l(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const e=n.slice(i,r).trim();!e&&o||t.push(e),i=r+1,r=n.indexOf(",",i)}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,h=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,f={};function d(e,t){return((t||f).jsx?h:p).test(e)}const m=/[ \t\n\f\r]/g;function E(e){return""===e.replace(m,"")}class T{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function g(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new T(n,r,t)}function _(e){return e.toLowerCase()}T.prototype.normal={},T.prototype.property={},T.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 S=D(),b=D(),I=D(),O=D(),k=D(),C=D(),N=D();function D(){return 2**++y}const v=Object.keys(r);class R extends A{constructor(e,t,n,i){let o=-1;if(super(e,t),P(this,"space",i),"number"==typeof n)for(;++o<v.length;){const e=v[o];P(this,v[o],(n&r[e])===r[e])}}}function P(e,t,n){n&&(e[t]=n)}function L(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new R(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[_(r)]=r,n[_(o.attribute)]=r}return new T(t,n,e.space)}R.prototype.defined=!0;const M=L({properties:{ariaActiveDescendant:null,ariaAtomic:b,ariaAutoComplete:null,ariaBusy:b,ariaChecked:b,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:k,ariaCurrent:null,ariaDescribedBy:k,ariaDetails:null,ariaDisabled:b,ariaDropEffect:k,ariaErrorMessage:null,ariaExpanded:b,ariaFlowTo:k,ariaGrabbed:b,ariaHasPopup:null,ariaHidden:b,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:k,ariaLevel:O,ariaLive:null,ariaModal:b,ariaMultiLine:b,ariaMultiSelectable:b,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:b,ariaReadOnly:b,ariaRelevant:null,ariaRequired:b,ariaRoleDescription:k,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:b,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function x(e,t){return t in e?e[t]:t}function w(e,t){return x(e,t.toLowerCase())}const F=L({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:C,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:k,autoFocus:S,autoPlay:S,blocking:k,capture:null,charSet:null,checked:S,cite:null,className:k,cols:O,colSpan:null,content:null,contentEditable:b,controls:S,controlsList:k,coords:O|C,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:I,draggable:b,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:k,height:O,hidden:I,high:O,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:k,itemRef:k,itemScope:S,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,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:S,optimum:O,pattern:null,ping:k,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:k,required:S,reversed:S,rows:O,rowSpan:O,sandbox:k,scope:null,scoped:S,seamless:S,selected:S,shadowRootClonable:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:b,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:b,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:b,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:O,security:null,unselectable:null},space:"html",transform:w}),B=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:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,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:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,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:C,g2:C,glyphName:C,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:N,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,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:O,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:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:k,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,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:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:N,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:N,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,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:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x}),U=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()}),H=L({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:w}),G=L({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),j=g([M,F,U,H,G],"html"),z=g([M,B,U,H,G],"svg"),Y=/[A-Z]/g,q=/-[a-z]/g,$=/^data[-\w.:]+$/i;function W(e,t){const n=_(t);let r=t,i=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,V);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=R}return new i(r,t)}function V(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?oe(e.position):"start"in e||"end"in e?oe(e):"line"in e||"column"in e?ie(e):"":""}function ie(e){return se(e&&e.line)+":"+se(e&&e.column)}function oe(e){return ie(e&&e.start)+"-"+ie(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="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=re(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.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"]),he=new Set(["td","th"]),fe="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,i,o){const s=Array.isArray(i.children),a=te(n);return t(r,i,o,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,i,o){const s=Array.isArray(i.children)?n:t;return o?s(r,i,o):s(r,i)}}(0,t.jsx,t.jsxs)}const i={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:j,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},o=me(i,e,void 0);return o&&"string"!=typeof o?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function me(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=z,e.schema=i);e.ancestors.push(t);const o=Ae(e,t.tagName,!1),s=function(e,t){const n={};let r,i;for(i in t.properties)if("children"!==i&&ce.call(t.properties,i)){const o=_e(e,i,t.properties[i]);if(o){const[i,s]=o;e.tableCellAlignToStyle&&"align"===i&&"string"==typeof s&&he.has(t.tagName)?r=s:n[i]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=ge(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,o,t),Te(s,a),e.ancestors.pop(),e.schema=r,e.create(t,o,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 i=r;"svg"===t.name&&"html"===r.space&&(i=z,e.schema=i);e.ancestors.push(t);const o=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 i=t.expression;a(i.type);const o=i.properties[0];a(o.type),Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else ye(e,t.position);else{const i=r.name;let o;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),o=e.evaluater.evaluateExpression(t.expression)}else ye(e,t.position);else o=null===r.value||r.value;n[i]=o}return n}(e,t),c=ge(e,t);return Ee(e,s,o,t),Te(s,c),e.ancestors.pop(),e.schema=r,e.create(t,o,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 Te(r,ge(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 Te(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ge(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:le;for(;++r<t.children.length;){const o=t.children[r];let s;if(e.passKeys){const e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){const t=i.get(e)||0;s=e+"-"+t,i.set(e,t+1)}}const a=me(e,o,s);void 0!==a&&n.push(a)}return n}function _e(e,t,n){const r=W(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=fe+"#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[Se(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,i=-1;for(;++i<e.length;){const t=d(e[i])?{type:"Identifier",name:e[i]}:{type:"Literal",value:e[i]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(i&&"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=fe+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Se(e){let t=e.replace(ue,be);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function be(e){return"-"+e.toLowerCase()}const Ie={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 Oe=n(74848);const ke={};function Ce(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 De(e.children,t,n)}return Array.isArray(e)?De(e,t,n):""}function De(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ne(e[i],t,n);return r.join("")}function ve(e,t,n,r){const i=e.length;let o,s=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function Re(e,t){return e.length>0?(ve(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 i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Le(this.left,n),i.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 Me(e){const t={};let n,r,i,o,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,i=0,i<a.length&&"lineEndingBlank"===a[i][1].type&&(i+=2),i<a.length&&"content"===a[i][1].type))for(;++i<a.length&&"content"!==a[i][1].type;)"chunkText"===a[i][1].type&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,xe(u,l)),l=t[l],c=!0);else if(n[1]._container){for(i=l,r=void 0;i--;)if(o=u.get(i),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type)"enter"===o[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);else if("linePrefix"!==o[1].type&&"listItemIndent"!==o[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 ve(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function xe(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];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,h=-1,f=n,d=0,m=0;const E=[m];for(;f;){for(;e.get(++i)[1]!==f;);o.push(i),f._tokenizer||(u=r.sliceStream(f),f.next||u.push(null),p&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=f,f=f.next}for(f=n;++h<a.length;)"exit"===a[h][0]&&"enter"===a[h-1][0]&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(m=h+1,E.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):E.pop(),h=E.length;h--;){const t=a.slice(E[h],E[h+1]),n=o.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),h=-1;++h<c.length;)l[d+c[h][0]]=d+c[h][1],d+=c[h][1]-c[h][0]-1;return l}const we={}.hasOwnProperty;function Fe(e){const t={};let n=-1;for(;++n<e.length;)Be(t,e[n]);return t}function Be(e,t){let n;for(n in t){const r=(we.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){we.call(r,o)||(r[o]=[]);const e=i[o];Ue(r[o],Array.isArray(e)?e:e?[e]:[])}}}function Ue(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);ve(e,0,0,r)}je(/[A-Za-z]/),je(/[\dA-Za-z]/),je(/[#-'*+\--9=?A-Z^-~]/);je(/\d/),je(/[\dA-Fa-f]/),je(/[!-/:-@[-`{-~]/);function He(e){return null!==e&&e<-2}function Ge(e){return-2===e||-1===e||32===e}je(/\p{P}|\p{S}/u),je(/\s/);function je(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ze(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(Ge(r))return e.enter(n),s(r);return t(r)};function s(r){return Ge(r)&&o++<i?(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,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):He(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};const qe={tokenize:function(e){const t=this,n=[];let r,i,o,s=0;return a;function a(r){if(s<n.length){const i=n[s];return t.containerState=i[1],e.attempt(i[0].continuation,c,l)(r)}return l(r)}function c(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&g();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}T(s);let a=n;for(;a<t.events.length;)t.events[a][1].end={...i},a++;return ve(t.events,o+1,0,t.events.slice(n)),t.events.length=a,l(e)}return a(e)}function l(i){if(s===n.length){if(!r)return h(i);if(r.currentConstruct&&r.currentConstruct.concrete)return d(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check($e,u,p)(i)}function u(e){return r&&g(),T(s),h(e)}function p(e){return t.parser.lazy[t.now().line]=s!==n.length,o=t.now().offset,d(e)}function h(n){return t.containerState={},e.attempt($e,f,d)(n)}function f(e){return s++,n.push([t.currentConstruct,t.containerState]),h(e)}function d(n){return null===n?(r&&g(),T(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),m(n))}function m(n){return null===n?(E(e.exit("chunkFlow"),!0),T(0),void e.consume(n)):He(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=i,i&&(i.next=e),i=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<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(i){a=t.events[c][1].end;break}i=!0}for(T(s),e=n;e<t.events.length;)t.events[e][1].end={...a},e++;ve(t.events,c+1,0,t.events.slice(n)),t.events.length=e}}function T(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function g(){r.write([null]),i=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 We=nt(/[A-Za-z]/),Ve=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 i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(tt(r))return e.enter(n),s(r);return t(r)};function s(r){return tt(r)&&o++<i?(e.consume(r),s):(e.exit(n),t(r))}}const it={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 ot={resolve:function(e){return Me(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):Je(t)?e.check(st,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(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,i,"linePrefix")};function i(i){if(null===i||Je(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}};const at={tokenize:function(e){const t=this,n=e.attempt(it,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(ot,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:ht()},lt=pt("string"),ut=pt("text");function pt(e){return{resolveAll:ht("text"===e?ft:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return c(e)?i(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"),i(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function ht(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ft(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],i=t.sliceStream(r);let o,s=i.length,a=-1,c=0;for(;s--;){const e=i[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)o=!0,c++;else if(-1!==e){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const i={type:n===e.length||o||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={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}const dt={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),s(o)):i>=3&&(null===o||Je(o))?(e.exit("thematicBreak"),t(o)):n(o)}function s(t){return t===r?(e.consume(t),i++,s):(e.exit("thematicBreakSequence"),tt(t)?rt(e,o,"whitespace")(t):o(t))}}};const mt={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(it,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,rt(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(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(Tt,t,s)(n))}function s(i){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)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(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(it,r.interrupt?n:l,e.attempt(Et,p,u))}function l(e){return r.containerState.initialBlankLine=!0,o++,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=o+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 i=r.events[r.events.length-1];return!tt(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},Tt={partial:!0,tokenize:function(e,t,n){const r=this;return rt(e,function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}};const gt={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(tt(t))return rt(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return i(t)};function i(r){return e.attempt(gt,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"),i}return n(t)};function i(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,i,o,s,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),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(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(n))}function h(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?f:h)}function f(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function d(i){return u||null!==i&&41!==i&&!function(e){return null!==e&&(e<0||32===e)}(i)?u<l&&40===i?(e.consume(i),u++,d):41===i?(e.consume(i),u--,d):null===i||32===i||40===i||_t(i)?n(i):(e.consume(i),92===i?m:d):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),d):d(t)}}bt(/[A-Za-z]/),bt(/[\dA-Za-z]/),bt(/[#-'*+\--9=?A-Z^-~]/);bt(/\d/),bt(/[\dA-Fa-f]/),bt(/[!-/:-@[-`{-~]/);function St(e){return null!==e&&e<-2}bt(/\p{P}|\p{S}/u),bt(/\s/);function bt(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function It(e,t,n,r,i,o){const s=this;let a,c=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),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(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):St(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||St(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)}}Ct(/[A-Za-z]/),Ct(/[\dA-Za-z]/),Ct(/[#-'*+\--9=?A-Z^-~]/);Ct(/\d/),Ct(/[\dA-Fa-f]/),Ct(/[!-/:-@[-`{-~]/);function Ot(e){return null!==e&&e<-2}function kt(e){return-2===e||-1===e||32===e}Ct(/\p{P}|\p{S}/u),Ct(/\s/);function Ct(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Nt(e,t,n,r,i,o){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),c(n))}function c(t){return t===s?(e.exit(o),a(s)):null===t?n(t):Ot(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),function(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return kt(r)?(e.enter(n),s(r)):t(r)};function s(r){return kt(r)&&o++<i?(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||Ot(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)}}vt(/[A-Za-z]/),vt(/[\dA-Za-z]/),vt(/[#-'*+\--9=?A-Z^-~]/);vt(/\d/),vt(/[\dA-Fa-f]/),vt(/[!-/:-@[-`{-~]/);function Dt(e){return-2===e||-1===e||32===e}vt(/\p{P}|\p{S}/u),vt(/\s/);function vt(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Rt(e,t){let n;return function r(i){if(function(e){return null!==e&&e<-2}(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(Dt(i))return function(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return Dt(r)?(e.enter(n),s(r)):t(r)};function s(r){return Dt(r)&&o++<i?(e.consume(r),s):(e.exit(n),t(r))}}(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}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 i;return function(t){return e.enter("definition"),function(t){return It.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=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(Mt,l,l)(t)}function l(t){return tt(t)?rt(e,u,"whitespace")(t):u(t)}function u(o){return null===o||Je(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},Mt={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,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return tt(t)?rt(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Je(e)?t(e):n(e)}}};const xt={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),rt(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):Je(t)?e.attempt(wt,o,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),o(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 i;function i(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):rt(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Je(e)?i(e):n(e)}}};const Ft={name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},ve(e,o,i-o+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"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||et(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):tt(n)?rt(e,o,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),o(t))}function a(t){return null===t||35===t||et(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),a)}}};const Bt={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s;return e.push(["exit",s,t]),e},tokenize:function(e,t,n){const r=this;let i;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"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===i?(e.consume(t),o):(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 Ut=["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"],Ht=["pre","script","style","textarea"],Gt={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 i,o,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),o=!0,f):63===a?(e.consume(a),i=3,r.interrupt?t:M):We(a)?(e.consume(a),s=String.fromCharCode(a),d):n(a)}function u(o){return 45===o?(e.consume(o),i=2,p):91===o?(e.consume(o),i=5,a=0,h):We(o)?(e.consume(o),i=4,r.interrupt?t:M):n(o)}function p(i){return 45===i?(e.consume(i),r.interrupt?t:M):n(i)}function h(i){const o="CDATA[";return i===o.charCodeAt(a++)?(e.consume(i),6===a?r.interrupt?t:k:h):n(i)}function f(t){return We(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||o||!Ht.includes(l)?Ut.includes(s.toLowerCase())?(i=6,c?(e.consume(a),m):r.interrupt?t(a):k(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?E(a):T(a)):(i=1,r.interrupt?t(a):k(a))}return 45===a||Ve(a)?(e.consume(a),s+=String.fromCharCode(a),d):n(a)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:k):n(i)}function E(t){return tt(t)?(e.consume(t),E):I(t)}function T(t){return 47===t?(e.consume(t),I):58===t||95===t||We(t)?(e.consume(t),g):tt(t)?(e.consume(t),T):I(t)}function g(t){return 45===t||46===t||58===t||95===t||Ve(t)?(e.consume(t),g):_(t)}function _(t){return 61===t?(e.consume(t),A):tt(t)?(e.consume(t),_):T(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):S(t)}function y(t){return t===c?(e.consume(t),c=null,b):null===t||Je(t)?n(t):(e.consume(t),y)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||et(t)?_(t):(e.consume(t),S)}function b(e){return 47===e||62===e||tt(e)?T(e):n(e)}function I(t){return 62===t?(e.consume(t),O):n(t)}function O(t){return null===t||Je(t)?k(t):tt(t)?(e.consume(t),O):n(t)}function k(t){return 45===t&&2===i?(e.consume(t),v):60===t&&1===i?(e.consume(t),R):62===t&&4===i?(e.consume(t),x):63===t&&3===i?(e.consume(t),M):93===t&&5===i?(e.consume(t),L):!Je(t)||6!==i&&7!==i?null===t||Je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),k):(e.exit("htmlFlowData"),e.check(jt,w,C)(t))}function C(t){return e.check(zt,N,w)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),D}function D(t){return null===t||Je(t)?C(t):(e.enter("htmlFlowData"),k(t))}function v(t){return 45===t?(e.consume(t),M):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 Ht.includes(n)?(e.consume(t),x):k(t)}return We(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),P):k(t)}function L(t){return 93===t?(e.consume(t),M):k(t)}function M(t){return 62===t?(e.consume(t),x):45===t&&2===i?(e.consume(t),M):k(t)}function x(t){return null===t||Je(t)?(e.exit("htmlFlowData"),w(t)):(e.consume(t),x)}function w(n){return e.exit("htmlFlow"),t(n)}}},jt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(it,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"),i;return n(t)};function i(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"),i};function i(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,i={partial:!0,tokenize:function(e,t,n){let i=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===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===o?(i++,e.consume(t),u):i>=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 o,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,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===o?(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,f,g)(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===o?n(t):(e.consume(t),u)}function p(t){return null===t||Je(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===o?n(t):(e.consume(t),h)}function f(t){return e.attempt(i,g,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,f,g)(t):(e.enter("codeFlowValue"),T(t))}function T(t){return null===t||Je(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),T)}function g(n){return e.exit("codeFenced"),t(n)}}};const $t=document.createElement("i");function Wt(e){const t="&"+e+";";$t.innerHTML=t;const n=$t.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Vt={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,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"),i=31,o=Ve,l(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Ke,l):(e.enter("characterReferenceValue"),i=7,o=Xe,l(t))}function l(a){if(59===a&&s){const i=e.exit("characterReferenceValue");return o!==Ve||Wt(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return o(a)&&s++<i?(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 i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}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&&ve(e,0,e.length,n);return e},resolveTo:function(e,t){let n,r,i,o,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(i){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&&(i=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[i][1].end}},u={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",c,t],["enter",l,t]],o=Re(o,e.slice(r+1,r+a+3)),o=Re(o,[["enter",u,t]]),o=Re(o,Kt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=Re(o,[["exit",u,t],e[i-2],e[i-1],["exit",l,t]]),o=Re(o,e.slice(i+1)),o=Re(o,[["exit",c,t]]),ve(e,r,e.length,o),e},tokenize:function(e,t,n){const r=this;let i,o,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){i=r.events[s][1];break}return function(t){if(!i)return n(t);if(i._inactive)return u(t);return o=r.parser.defined.includes(Pt(r.sliceSerialize({start:i.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,o?l:u)(t):91===t?e.attempt(en,l,o?c:u)(t):o?l(t):u(t)}function c(t){return e.attempt(tn,l,u)(t)}function l(e){return t(e)}function u(e){return i._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,i)(t):i(t)}function i(t){return 41===t?l(t):yt(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(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 It.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(Pt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(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"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(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,i,o,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},h={...e[u][1].start};ln(p,-a),ln(h,a),o={type:a>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:h},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.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",o,t],["exit",o,t],["enter",i,t]]),c=Re(c,Kt(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=Re(c,[["exit",i,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,ve(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,i=an(r);let o;return function(t){return o=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===o)return e.consume(a),s;const c=e.exit("attentionSequence"),l=an(a),u=!l||2===l&&i||n.includes(a),p=!i||2===i&&l||n.includes(r);return c._open=Boolean(42===o?u:u&&(i||!p)),c._close=Boolean(42===o?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"),i};function i(t){return We(t)?(e.consume(t),o):64===t?n(t):c(t)}function o(e){return 43===e||45===e||46===e||Ve(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||Ve(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 Ve(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||Ve(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 i,o,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),g):We(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),o=0,f):We(t)?(e.consume(t),T):n(t)}function l(t){return 45===t?(e.consume(t),h):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),h):u(t)}function h(e){return 62===e?R(e):45===e?p(e):u(e)}function f(t){const r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),6===o?d:f):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 T(t){return null===t||62===t?R(t):Je(t)?(s=T,P(t)):(e.consume(t),T)}function g(t){return null===t?n(t):63===t?(e.consume(t),_):Je(t)?(s=g,P(t)):(e.consume(t),g)}function _(e){return 62===e?R(e):g(e)}function A(t){return We(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||Ve(t)?(e.consume(t),y):S(t)}function S(t){return Je(t)?(s=S,P(t)):tt(t)?(e.consume(t),S):R(t)}function b(t){return 45===t||Ve(t)?(e.consume(t),b):47===t||62===t||et(t)?I(t):n(t)}function I(t){return 47===t?(e.consume(t),R):58===t||95===t||We(t)?(e.consume(t),O):Je(t)?(s=I,P(t)):tt(t)?(e.consume(t),I):R(t)}function O(t){return 45===t||46===t||58===t||95===t||Ve(t)?(e.consume(t),O):k(t)}function k(t){return 61===t?(e.consume(t),C):Je(t)?(s=k,P(t)):tt(t)?(e.consume(t),k):I(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,N):Je(t)?(s=C,P(t)):tt(t)?(e.consume(t),C):(e.consume(t),D)}function N(t){return t===i?(e.consume(t),i=void 0,v):null===t?n(t):Je(t)?(s=N,P(t)):(e.consume(t),N)}function D(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||et(t)?I(t):(e.consume(t),D)}function v(e){return 47===e||62===e||et(e)?I(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,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):M(t)}function M(t){return e.enter("htmlTextData"),s(t)}}};const hn={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"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};const fn={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,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-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,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),o++,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?(i=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===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.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:gt},En={91:Lt},Tn={[-2]:xt,[-1]:xt,32:xt},gn={35:Ft,42:dt,45:[Bt,dt],60:Gt,61:Bt,95:dt,96:qt,126:qt},_n={38:Vt,92:Qt},An={[-5]:Xt,[-4]:Xt,[-3]:Xt,33:nn,38:Vt,42:cn,60:[un,pn],91:hn,92:[fn,Qt],93:Zt,95:cn,96:dn},yn={null:[cn,ct]},Sn={null:[42,95]},bn={null:[]};function In(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 i={},o=[];let s=[],a=[],c=!0;const l={attempt:g(function(e,t){_(e,t.from)}),check:g(T),consume:function(e){He(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:g(T,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[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 i;for(;++n<e.length;){const o=e[n];let s;if("string"==typeof o)s=o;else switch(o){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&&i)continue;s=" ";break;default:s=String.fromCharCode(o)}i=-2===o,r.push(s)}return r.join("")}(f(e),t)},sliceStream:f,write:function(e){if(s=Re(s,e),m(),null!==s[s.length-1])return[];return _(t,0),u.events=Kt(o,u.events,u),u.events}};let p,h=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function f(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}(s,e)}function d(){const{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}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,h=h(e)}function T(e,t){t.restore()}function g(e,t){return function(n,i,o){let s,p,h,f;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?o:E(e[p])}function E(e){return function(n){f=function(){const e=d(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(a);return{from:i,restore:s};function s(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,a=o,A()}}(),h=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return g(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,T,g)(n)}}function T(t){return c=!0,e(h,f),i}function g(e){return c=!0,f.restore(),++p<s.length?E(s[p]):o}}}function _(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&ve(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 i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const On=/[\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 Cn=/\\([!-/:-@[-`{-~])|&(#(?:\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 Wt(n)||e}const Dn={}.hasOwnProperty;function vn(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:o(te),autolinkProtocol:O,autolinkEmail:O,atxHeading:o(K),blockQuote:o($),characterEscape:O,characterReference:O,codeFenced:o(W),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(W,s),codeText:o(V,s),codeTextData:O,data:O,codeFlowValue:O,definition:o(Q),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(X),hardBreakEscape:o(Z),hardBreakTrailing:o(Z),htmlFlow:o(J,s),htmlFlowData:O,htmlText:o(J,s),htmlTextData:O,image:o(ee),label:s,link:o(te),listItem:o(ie),listItemValue:h,listOrdered:o(ne,p),listUnordered:o(ne),paragraph:o(oe),reference:U,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(K),strong:o(se),thematicBreak:o(ce)},exit:{atxHeading:c(),atxHeadingSequence:y,autolink:c(),autolinkEmail:q,autolinkProtocol:Y,blockQuote:c(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:j,characterReference:z,codeFenced:c(E),codeFencedFence:m,codeFencedFenceInfo:f,codeFencedFenceMeta:d,codeFlowValue:k,codeIndented:c(T),codeText:c(R),codeTextData:k,data:k,definition:c(),definitionDestinationString:A,definitionLabelString:g,definitionTitleString:_,emphasis:c(),hardBreakEscape:c(N),hardBreakTrailing:c(N),htmlFlow:c(D),htmlFlowData:k,htmlText:c(v),htmlTextData:k,image:c(L),label:x,labelText:M,lineEnding:C,link:c(P),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:H,resourceDestinationString:w,resourceTitleString:F,resource:B,setextHeading:c(I),setextHeadingLineSequence:b,setextHeadingText:S,strong:c(),thematicBreak:c()}};Pn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={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=i(e,c.pop(),p)}for(p=-1;++p<e.length;){const n=t[e[p][0]];Dn.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},o),e[p][1])}if(o.tokenStack.length>0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||Mn).call(o,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 i(e,t,n){let r,i,o,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||o||(o=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(i=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",l=!0),t[1].type="lineEnding",i=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,s=!0}}}return e[t][1]._spread=l,n}function o(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]||Mn).call(this,e,r[0])}n.position.end=Rn(e.end)}function u(){return Ce(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function h(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function f(){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 T(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function g(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 S(){this.data.setextHeadingSlurpLineEnding=!0}function b(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function O(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 C(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)&&(O.call(this,e),k.call(this,e))}function N(){this.data.atHardBreak=!0}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function v(){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 M(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Cn,Nn)}(t),n.identifier=Pt(t).toLowerCase()}function x(){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 F(){const e=this.resume();this.stack[this.stack.length-1].title=e}function B(){this.data.inReference=void 0}function U(){this.data.referenceType="collapsed"}function H(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 G(e){this.data.characterReferenceType=e.type}function j(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=Wt(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 W(){return{type:"code",lang:null,meta:null,value:""}}function V(){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 ie(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function oe(){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(;!Me(e););return e}(function(e){const t={constructs:Fe([i,...(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 In(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,s){const a=[];let c,l,u,p,h;for(i=n+("string"==typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(On.lastIndex=u,c=On.exec(i),p=c&&void 0!==c.index?c.index:i.length,h=i.charCodeAt(p),!c){n=i.slice(u);break}if(10===h&&u===p&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),u<p&&(a.push(i.slice(u,p)),t+=p-u),h){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(Dn.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 Mn(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 xn(e){const t=this;t.parser=function(n){return vn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const wn="object"==typeof self?self:globalThis,Fn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);const[o,s]=t[i];switch(o){case 0:case-1:return n(s,i);case 1:{const e=n([],i);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},i);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),i);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{const e=n(new Map,i);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,i);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),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);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[o](s),i)};return r})(new Map,e)(0),Bn="",{toString:Un}={},{keys:Hn}=Object,Gn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Un.call(e).slice(8,-1);switch(n){case"Array":return[1,Bn];case"Object":return[2,Bn];case"Date":return[3,Bn];case"RegExp":return[4,Bn];case"Map":return[5,Bn];case"Set":return[6,Bn];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},jn=([e,t])=>0===e&&("function"===t||"symbol"===t),zn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[s,a]=Gn(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 i([-1],r)}return i([s,t],r)}case 1:{if(a){let e=r;return"DataView"===a?e=new Uint8Array(r.buffer):"ArrayBuffer"===a&&(e=new Uint8Array(r)),i([a,[...e]],r)}const e=[],t=i([s,e],r);for(const n of r)e.push(o(n));return t}case 2:{if(a)switch(a){case"BigInt":return i([a,r.toString()],r);case"Boolean":case"Number":case"String":return i([a,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],c=i([s,n],r);for(const t of Hn(r))!e&&jn(Gn(r[t]))||n.push([o(t),o(r[t])]);return c}case 3:return i([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return i([s,{source:e,flags:t}],r)}case 5:{const t=[],n=i([s,t],r);for(const[i,s]of r)(e||!jn(Gn(i))&&!jn(Gn(s)))&&t.push([o(i),o(s)]);return n}case 6:{const t=[],n=i([s,t],r);for(const i of r)!e&&jn(Gn(i))||t.push(o(i));return n}}const{message:c}=r;return i([s,{name:a,message:c}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},Yn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Fn(zn(e,t)):structuredClone(e):(e,t)=>Fn(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 Wn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(37===o&&qn(e.charCodeAt(n+1))&&qn(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),i=1):s="\ufffd"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Vn(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 i;for(i in e)if(r[i]!==t[i])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 i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;const o=Xn(i),s=r?-1:1;!function e(i,a,c){const l=i&&"object"==typeof i?i:{};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 ("+i.type+(e?"<"+e+">":"")+")"})}return u;function u(){let l,u,p,h=er;if((!t||o(i,a,c[c.length-1]||void 0))&&(h=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[tr,e];return null==e?er:[e]}(n(i,c)),h[0]===nr))return h;if("children"in i&&i.children){const t=i;if(t.children&&"skip"!==h[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 h}}(e,void 0,[])()}function ir(e,t,n,r){let i,o,s;"function"==typeof t&&"function"!=typeof n?(o=void 0,s=t,i=n):(o=t,s=n,i=r),rr(e,o,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},i)}function or(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 i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}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),i=0;const o=[];for(;r;)o.push(cr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(cr(t.slice(i),i>0,!1)),o.join("")}function cr(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}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={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},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(),i=Wn(r.toLowerCase()),o=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=o+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(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 or(e,t);const i={src:Wn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:Wn(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 or(e,t);const i={href:Wn(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:Wn(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),i=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),o={},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:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?s.push(e):s.push(...e.children)}const c=r[r.length-1];c&&(i||"element"!==c.type||"p"!==c.tagName)&&s.push({type:"text",value:"\n"});const l={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,l),e.applyData(t,l)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},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(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=te(t.children[1]),s=ee(t.children[t.children.length-1]);o&&s&&(r.position={start:o,end:s}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},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,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length;let a=-1;const c=[];for(;++a<s;){const n=t.children[a],r={},s=o?o[a]:void 0;s&&(r.align=s);let l={type:"element",tagName:i,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,hr={};function fr(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,i=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&&i&&Object.assign(n.properties,Yn(i)),"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 Tr(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function gr(e,t){const n=function(e,t){const n=t||hr,r=new Map,i=new Map,o=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 i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=Tr(i.value)),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=Tr(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:dr,definitionById:r,footnoteById:i,footnoteCounts:o,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:fr,wrap:Er};return ir(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a}(e,t),r=n.one(e,void 0),i=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Vn,r=e.options.footnoteBackLabel||Qn,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let c=-1;for(;++c<e.footnoteOrder.length;){const i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;const o=e.all(i),s=String(i.identifier).toUpperCase(),l=Wn(s.toLowerCase());let u=0;const p=[],h=e.footnoteCounts.get(s);for(;void 0!==h&&++u<=h;){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 f=o[o.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...p)}else o.push(...p);const d={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(o,!0)};e.patch(i,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Yn(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function _r(e,t){return e&&"run"in e?async function(n,r){const i=gr(n,{file:r,...t});await e.run(i,r)}:function(n,r){return gr(n,{file:r,...e||t})}}function Ar(e){if(e)throw e}var yr=n(92849);function Sr(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 br(){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 i(o,...s){const a=e[++n];let c=-1;if(o)r(o);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(i);try{a=e.apply(this,t)}catch(o){if(r&&n)throw o;return i(o)}r||(a&&a.then&&"function"==typeof a.then?a.then(s,i):a instanceof Error?i(a):s(a))}function i(e,...r){n||(n=!0,t(e,...r))}function s(e){i(null,e)}}(a,i)(...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 Ir={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Or(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=s));r===i?i=s:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(Or(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){Or(e);let t,n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===s||1===s&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)Or(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Or(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,i="",o=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(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),s=c,a=0;continue}}else if(i.length>0){i="",o=0,s=c,a=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(s+1,c):i=e.slice(s+1,c),o=c-s-1;s=c,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Or(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const kr={cwd:function(){return"/"}};function Cr(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(!Cr(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 Dr=["history","path","basename","stem","extname","dirname"];class vr{constructor(e){let t;t=e?Cr(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<Dr.length;){const e=Dr[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Dr.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Ir.basename(this.path):void 0}set basename(e){Pr(e,"basename"),Rr(e,"basename"),this.path=Ir.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Ir.dirname(this.path):void 0}set dirname(e){Lr(this.basename,"dirname"),this.path=Ir.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?Ir.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=Ir.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Cr(e)&&(e=Nr(e)),Pr(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Ir.basename(this.path,this.extname):void 0}set stem(e){Pr(e,"stem"),Rr(e,"stem"),this.path=Ir.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(Ir.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ir.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 Mr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},xr={}.hasOwnProperty;class wr extends Mr{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=br()}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?(Hr("data",this.frozen),this.namespace[e]=t,this):xr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Hr("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 Br("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Br("process",this.parser||this.Parser),Ur("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){const o=zr(e),s=n.parse(o);function a(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(s,o,function(e,t,r){if(e||!t||!r)return a(e);const i=t,o=n.stringify(i,r);var s;"string"==typeof(s=o)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=o:r.result=o,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),Br("processSync",this.parser||this.Parser),Ur("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,Ar(e),t=r}),jr("processSync","process",n),t}run(e,t,n){Gr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const s=zr(t);r.run(e,s,function(t,r,s){const a=r||e;t?o(t):i?i(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}),jr("runSync","run",r),n}stringify(e,t){this.freeze();const n=zr(t),r=this.compiler||this.Compiler;return Ur("stringify",r),Gr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Hr("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):o(e)}return this;function i(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 o(e)}}function o(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;){i(e[t])}}}function a(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t;const s=n[i][1];Sr(s)&&Sr(r)&&(r=yr(!0,s,r)),n[i]=[e,r,...o]}}}}const Fr=(new wr).freeze();function Br(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Ur(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Hr(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 Gr(e){if(!Sr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function jr(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 vr(e)}const Yr=[],qr={allowDangerousHtml:!0},$r=/^(https?|ircs?|mailto|xmpp)$/i,Wr=[{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 Vr(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 Fr().use(xn).use(n).use(_r,r).use(t)}function Xr(e){const t=e.children||"",n=new vr;return"string"==typeof t&&(n.value=t),n}function Kr(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,s=t.skipHtml,a=t.unwrapDisallowed,l=t.urlTransform||Zr;for(const u of Wr)Object.hasOwn(t,u.from)&&c((u.from,u.to&&u.to,u.id));return ir(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return s?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in Ie)if(Object.hasOwn(Ie,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Ie[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):!!o&&o.includes(e.tagName);if(!s&&r&&"number"==typeof t&&(s=!r(e,t,i)),s&&i&&"number"==typeof t)return a&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),de(e,{Fragment:Oe.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Oe.jsx,jsxs:Oe.jsxs,passKeys:!0,passNode:!0})}function Zr(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return-1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||$r.test(e.slice(0,t))?e:""}const Jr=/[#.]/g;function ei(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,i,...o){let s;if(null==n){s={type:"root",children:[]};const e=i;o.unshift(e)}else{s=function(e,t){const n=e||"",r={};let i,o,s=0;for(;s<n.length;){Jr.lastIndex=s;const e=Jr.exec(n),t=n.slice(s,e?e.index:n.length);t&&(i?"#"===i?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,s+=t.length),e&&(i=e[0],s++)}return{type:"element",tagName:o||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}(i))o.unshift(i);else for(const[t,n]of Object.entries(i))ti(e,s.properties,t,n)}for(const e of o)ni(s.children,e);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function ti(e,t,n,r){const i=W(e,n);let o;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r}else o="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?K(r):i.commaSeparated?l(r):i.commaOrSpaceSeparated?K(l(r).join(" ")):ri(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.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(o)){const e=[];for(const t of o)e.push(ri(i,i.property,t));o=e}"className"===i.property&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function ni(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)ni(e,n);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?ni(e,t.children):e.push(t)}}function ri(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 ii=ei(j,"div"),oi=ei(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 si(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 ai={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/"},ci={}.hasOwnProperty,li=Object.prototype;function ui(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},hi(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:pi(e,t.childNodes),data:{quirksMode:i}},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=si(t,e),i=-1===r?t.length+1:r+1;if(e===i)break;n.push(i)}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 i=n[r];if(void 0===i){const e=si(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),i=r.toPoint(0),o=r.toPoint(t.length);n.position={start:i,end:o}}return n}case"#documentType":return n={type:"doctype"},hi(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},hi(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===ai.svg?z:j;let r=-1;const i={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;ci.call(li,n)||(i[n]=e.value)}const o="svg"===e.schema.space?oi:ii,s=o(t.tagName,i,pi(e,t.childNodes));if(hi(e,t,s),"template"===s.tagName){const n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&fi(r.startTag),o=r&&r.endTag&&fi(r.endTag),a=ui(e,n.content);i&&o&&e.file&&(a.position={start:i.end,end:o.start}),s.content=a}return e.schema=n,s}(e,t),n}}function pi(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=ui(e,t[n]);r.push(i)}return r}function hi(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=function(e,t,n){const r=fi(n);if("element"===t.type){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const r={};let i;if(n.attrs)for(i in n.attrs)ci.call(n.attrs,i)&&(r[W(e.schema,i).property]=fi(n.attrs[i]));n.startTag;const o=fi(n.startTag),s=n.endTag?fi(n.endTag):void 0,a={opening:o};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 fi(e){const t=di({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=di({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function di(e){return e.line&&e.column?e:void 0}const mi={}.hasOwnProperty;function Ei(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&mi.call(t,e)){const n=String(t[e]);i=mi.call(o,n)?o[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Ti={},gi={}.hasOwnProperty,_i=Ei("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=yi(e.children,n,t),Si(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 i=[];let o;if(e.properties)for(o in e.properties)if("children"!==o&&gi.call(e.properties,o)){const t=Ai(r,o,e.properties[o]);t&&i.push(t)}const s=r.space;const a={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:ai[s],childNodes:[],parentNode:null};a.childNodes=yi(e.children,a,r),Si(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=yi(e.children,n,t),Si(e,n),n}(e.content,r));return a},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Si(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Si(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Si(e,t),t}}});function Ai(e,t,n){const r=W(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 i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=ai[r.space]}return i}function yi(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const o=_i(e[r],n);o.parentNode=t,i.push(o)}return i}function Si(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 bi=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Ii=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]),Oi="\ufffd";var ki;!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"}(ki||(ki={}));const Ci="--",Ni="[CDATA[",Di="doctype",vi="script",Ri="public",Pi="system";function Li(e){return e>=55296&&e<=57343}function Mi(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function xi(e){return e>=64976&&e<=65007||Ii.has(e)}var wi;!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"}(wi||(wi={}));class Fi{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:i}=this,o=r+t,s=i+t;return{code:e,startLine:n,endLine:n,startCol:o,endCol:o,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,ki.EOF;return this._err(wi.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,ki.EOF;const n=this.html.charCodeAt(t);return n===ki.CARRIAGE_RETURN?ki.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,ki.EOF;let e=this.html.charCodeAt(this.pos);if(e===ki.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,ki.LINE_FEED;if(e===ki.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,Li(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===ki.LINE_FEED||e===ki.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){Mi(e)?this._err(wi.controlCharacterInInputStream):xi(e)&&this._err(wi.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Bi;function Ui(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"}(Bi||(Bi={}));const Hi=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 Gi;const ji=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]]);Gi=String.fromCodePoint;function zi(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=ji.get(e))&&void 0!==t?t:e}var Yi;!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"}(Yi||(Yi={}));var qi,$i,Wi;function Vi(e){return e>=Yi.ZERO&&e<=Yi.NINE}function Qi(e){return e>=Yi.UPPER_A&&e<=Yi.UPPER_F||e>=Yi.LOWER_A&&e<=Yi.LOWER_F}function Xi(e){return e===Yi.EQUALS||function(e){return e>=Yi.UPPER_A&&e<=Yi.UPPER_Z||e>=Yi.LOWER_A&&e<=Yi.LOWER_Z||Vi(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"}(qi||(qi={})),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"}($i||($i={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Wi||(Wi={}));class Ki{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=$i.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wi.Strict}startEntity(e){this.decodeMode=e,this.state=$i.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case $i.EntityStart:return e.charCodeAt(t)===Yi.NUM?(this.state=$i.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=$i.NamedEntity,this.stateNamedEntity(e,t));case $i.NumericStart:return this.stateNumericStart(e,t);case $i.NumericDecimal:return this.stateNumericDecimal(e,t);case $i.NumericHex:return this.stateNumericHex(e,t);case $i.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Yi.LOWER_X?(this.state=$i.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=$i.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!Vi(r)&&!Qi(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(!Vi(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===Yi.SEMI)this.consumed+=1;else if(this.decodeMode===Wi.Strict)return 0;return this.emitCodePoint(zi(this.result),this.consumed),this.errors&&(e!==Yi.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&qi.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);if(this.treeIndex=Zi(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Wi.Attribute&&(0===i||Xi(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&qi.VALUE_LENGTH)>>14,0!==i){if(o===Yi.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Wi.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]&qi.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]&~qi.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case $i.NamedEntity:return 0===this.result||this.decodeMode===Wi.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case $i.NumericDecimal:return this.emitNumericEntity(0,2);case $i.NumericHex:return this.emitNumericEntity(0,3);case $i.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case $i.EntityStart:return 0}}}function Zi(e,t,n,r){const i=(t&qi.BRANCH_LENGTH)>>7,o=t&qi.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let s=n,a=s+i-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+i];a=t-1}}return-1}var Ji,eo,to,no,ro;!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/"}(Ji||(Ji={})),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"}(eo||(eo={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(to||(to={})),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"}(no||(no={})),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"}(ro||(ro={}));const io=new Map([[no.A,ro.A],[no.ADDRESS,ro.ADDRESS],[no.ANNOTATION_XML,ro.ANNOTATION_XML],[no.APPLET,ro.APPLET],[no.AREA,ro.AREA],[no.ARTICLE,ro.ARTICLE],[no.ASIDE,ro.ASIDE],[no.B,ro.B],[no.BASE,ro.BASE],[no.BASEFONT,ro.BASEFONT],[no.BGSOUND,ro.BGSOUND],[no.BIG,ro.BIG],[no.BLOCKQUOTE,ro.BLOCKQUOTE],[no.BODY,ro.BODY],[no.BR,ro.BR],[no.BUTTON,ro.BUTTON],[no.CAPTION,ro.CAPTION],[no.CENTER,ro.CENTER],[no.CODE,ro.CODE],[no.COL,ro.COL],[no.COLGROUP,ro.COLGROUP],[no.DD,ro.DD],[no.DESC,ro.DESC],[no.DETAILS,ro.DETAILS],[no.DIALOG,ro.DIALOG],[no.DIR,ro.DIR],[no.DIV,ro.DIV],[no.DL,ro.DL],[no.DT,ro.DT],[no.EM,ro.EM],[no.EMBED,ro.EMBED],[no.FIELDSET,ro.FIELDSET],[no.FIGCAPTION,ro.FIGCAPTION],[no.FIGURE,ro.FIGURE],[no.FONT,ro.FONT],[no.FOOTER,ro.FOOTER],[no.FOREIGN_OBJECT,ro.FOREIGN_OBJECT],[no.FORM,ro.FORM],[no.FRAME,ro.FRAME],[no.FRAMESET,ro.FRAMESET],[no.H1,ro.H1],[no.H2,ro.H2],[no.H3,ro.H3],[no.H4,ro.H4],[no.H5,ro.H5],[no.H6,ro.H6],[no.HEAD,ro.HEAD],[no.HEADER,ro.HEADER],[no.HGROUP,ro.HGROUP],[no.HR,ro.HR],[no.HTML,ro.HTML],[no.I,ro.I],[no.IMG,ro.IMG],[no.IMAGE,ro.IMAGE],[no.INPUT,ro.INPUT],[no.IFRAME,ro.IFRAME],[no.KEYGEN,ro.KEYGEN],[no.LABEL,ro.LABEL],[no.LI,ro.LI],[no.LINK,ro.LINK],[no.LISTING,ro.LISTING],[no.MAIN,ro.MAIN],[no.MALIGNMARK,ro.MALIGNMARK],[no.MARQUEE,ro.MARQUEE],[no.MATH,ro.MATH],[no.MENU,ro.MENU],[no.META,ro.META],[no.MGLYPH,ro.MGLYPH],[no.MI,ro.MI],[no.MO,ro.MO],[no.MN,ro.MN],[no.MS,ro.MS],[no.MTEXT,ro.MTEXT],[no.NAV,ro.NAV],[no.NOBR,ro.NOBR],[no.NOFRAMES,ro.NOFRAMES],[no.NOEMBED,ro.NOEMBED],[no.NOSCRIPT,ro.NOSCRIPT],[no.OBJECT,ro.OBJECT],[no.OL,ro.OL],[no.OPTGROUP,ro.OPTGROUP],[no.OPTION,ro.OPTION],[no.P,ro.P],[no.PARAM,ro.PARAM],[no.PLAINTEXT,ro.PLAINTEXT],[no.PRE,ro.PRE],[no.RB,ro.RB],[no.RP,ro.RP],[no.RT,ro.RT],[no.RTC,ro.RTC],[no.RUBY,ro.RUBY],[no.S,ro.S],[no.SCRIPT,ro.SCRIPT],[no.SEARCH,ro.SEARCH],[no.SECTION,ro.SECTION],[no.SELECT,ro.SELECT],[no.SOURCE,ro.SOURCE],[no.SMALL,ro.SMALL],[no.SPAN,ro.SPAN],[no.STRIKE,ro.STRIKE],[no.STRONG,ro.STRONG],[no.STYLE,ro.STYLE],[no.SUB,ro.SUB],[no.SUMMARY,ro.SUMMARY],[no.SUP,ro.SUP],[no.TABLE,ro.TABLE],[no.TBODY,ro.TBODY],[no.TEMPLATE,ro.TEMPLATE],[no.TEXTAREA,ro.TEXTAREA],[no.TFOOT,ro.TFOOT],[no.TD,ro.TD],[no.TH,ro.TH],[no.THEAD,ro.THEAD],[no.TITLE,ro.TITLE],[no.TR,ro.TR],[no.TRACK,ro.TRACK],[no.TT,ro.TT],[no.U,ro.U],[no.UL,ro.UL],[no.SVG,ro.SVG],[no.VAR,ro.VAR],[no.WBR,ro.WBR],[no.XMP,ro.XMP]]);function oo(e){var t;return null!==(t=io.get(e))&&void 0!==t?t:ro.UNKNOWN}const so=ro,ao={[Ji.HTML]:new Set([so.ADDRESS,so.APPLET,so.AREA,so.ARTICLE,so.ASIDE,so.BASE,so.BASEFONT,so.BGSOUND,so.BLOCKQUOTE,so.BODY,so.BR,so.BUTTON,so.CAPTION,so.CENTER,so.COL,so.COLGROUP,so.DD,so.DETAILS,so.DIR,so.DIV,so.DL,so.DT,so.EMBED,so.FIELDSET,so.FIGCAPTION,so.FIGURE,so.FOOTER,so.FORM,so.FRAME,so.FRAMESET,so.H1,so.H2,so.H3,so.H4,so.H5,so.H6,so.HEAD,so.HEADER,so.HGROUP,so.HR,so.HTML,so.IFRAME,so.IMG,so.INPUT,so.LI,so.LINK,so.LISTING,so.MAIN,so.MARQUEE,so.MENU,so.META,so.NAV,so.NOEMBED,so.NOFRAMES,so.NOSCRIPT,so.OBJECT,so.OL,so.P,so.PARAM,so.PLAINTEXT,so.PRE,so.SCRIPT,so.SECTION,so.SELECT,so.SOURCE,so.STYLE,so.SUMMARY,so.TABLE,so.TBODY,so.TD,so.TEMPLATE,so.TEXTAREA,so.TFOOT,so.TH,so.THEAD,so.TITLE,so.TR,so.TRACK,so.UL,so.WBR,so.XMP]),[Ji.MATHML]:new Set([so.MI,so.MO,so.MN,so.MS,so.MTEXT,so.ANNOTATION_XML]),[Ji.SVG]:new Set([so.TITLE,so.FOREIGN_OBJECT,so.DESC]),[Ji.XLINK]:new Set,[Ji.XML]:new Set,[Ji.XMLNS]:new Set},co=new Set([so.H1,so.H2,so.H3,so.H4,so.H5,so.H6]);new Set([no.STYLE,no.SCRIPT,no.XMP,no.IFRAME,no.NOEMBED,no.NOFRAMES,no.PLAINTEXT]);var lo;!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"}(lo||(lo={}));const uo={DATA:lo.DATA,RCDATA:lo.RCDATA,RAWTEXT:lo.RAWTEXT,SCRIPT_DATA:lo.SCRIPT_DATA,PLAINTEXT:lo.PLAINTEXT,CDATA_SECTION:lo.CDATA_SECTION};function po(e){return e>=ki.LATIN_CAPITAL_A&&e<=ki.LATIN_CAPITAL_Z}function ho(e){return function(e){return e>=ki.LATIN_SMALL_A&&e<=ki.LATIN_SMALL_Z}(e)||po(e)}function fo(e){return ho(e)||function(e){return e>=ki.DIGIT_0&&e<=ki.DIGIT_9}(e)}function mo(e){return e+32}function Eo(e){return e===ki.SPACE||e===ki.LINE_FEED||e===ki.TABULATION||e===ki.FORM_FEED}function To(e){return Eo(e)||e===ki.SOLIDUS||e===ki.GREATER_THAN_SIGN}class go{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=lo.DATA,this.returnState=lo.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Fi(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ki(Hi,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(wi.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(wi.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{const t=function(e){return e===ki.NULL?wi.nullCharacterReference:e>1114111?wi.characterReferenceOutsideUnicodeRange:Li(e)?wi.surrogateCharacterReference:xi(e)?wi.noncharacterCharacterReference:Mi(e)||e===ki.CARRIAGE_RETURN?wi.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:Bi.START_TAG,tagName:"",tagID:ro.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Bi.END_TAG,tagName:"",tagID:ro.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Bi.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Bi.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===Ui(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(wi.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=oo(e.tagName),e.type===Bi.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(wi.endTagWithAttributes),e.selfClosing&&this._err(wi.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 Bi.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Bi.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Bi.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:Bi.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=Eo(e)?Bi.WHITESPACE_CHARACTER:e===ki.NULL?Bi.NULL_CHARACTER:Bi.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Bi.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=lo.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Wi.Attribute:Wi.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===lo.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===lo.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===lo.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case lo.DATA:this._stateData(e);break;case lo.RCDATA:this._stateRcdata(e);break;case lo.RAWTEXT:this._stateRawtext(e);break;case lo.SCRIPT_DATA:this._stateScriptData(e);break;case lo.PLAINTEXT:this._statePlaintext(e);break;case lo.TAG_OPEN:this._stateTagOpen(e);break;case lo.END_TAG_OPEN:this._stateEndTagOpen(e);break;case lo.TAG_NAME:this._stateTagName(e);break;case lo.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case lo.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case lo.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case lo.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case lo.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case lo.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case lo.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case lo.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case lo.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case lo.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case lo.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case lo.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case lo.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case lo.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case lo.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case lo.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case lo.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case lo.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case lo.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case lo.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case lo.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case lo.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case lo.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case lo.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case lo.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case lo.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case lo.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case lo.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case lo.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case lo.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case lo.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case lo.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case lo.BOGUS_COMMENT:this._stateBogusComment(e);break;case lo.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case lo.COMMENT_START:this._stateCommentStart(e);break;case lo.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case lo.COMMENT:this._stateComment(e);break;case lo.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case lo.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case lo.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case lo.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case lo.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case lo.COMMENT_END:this._stateCommentEnd(e);break;case lo.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case lo.DOCTYPE:this._stateDoctype(e);break;case lo.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case lo.DOCTYPE_NAME:this._stateDoctypeName(e);break;case lo.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case lo.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case lo.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case lo.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case lo.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case lo.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case lo.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case lo.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case lo.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case lo.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case lo.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case lo.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case lo.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case lo.CDATA_SECTION:this._stateCdataSection(e);break;case lo.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case lo.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case lo.CHARACTER_REFERENCE:this._stateCharacterReference();break;case lo.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case ki.LESS_THAN_SIGN:this.state=lo.TAG_OPEN;break;case ki.AMPERSAND:this._startCharacterReference();break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitCodePoint(e);break;case ki.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case ki.AMPERSAND:this._startCharacterReference();break;case ki.LESS_THAN_SIGN:this.state=lo.RCDATA_LESS_THAN_SIGN;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitChars(Oi);break;case ki.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case ki.LESS_THAN_SIGN:this.state=lo.RAWTEXT_LESS_THAN_SIGN;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitChars(Oi);break;case ki.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_LESS_THAN_SIGN;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitChars(Oi);break;case ki.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitChars(Oi);break;case ki.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ho(e))this._createStartTagToken(),this.state=lo.TAG_NAME,this._stateTagName(e);else switch(e){case ki.EXCLAMATION_MARK:this.state=lo.MARKUP_DECLARATION_OPEN;break;case ki.SOLIDUS:this.state=lo.END_TAG_OPEN;break;case ki.QUESTION_MARK:this._err(wi.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=lo.BOGUS_COMMENT,this._stateBogusComment(e);break;case ki.EOF:this._err(wi.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(wi.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=lo.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ho(e))this._createEndTagToken(),this.state=lo.TAG_NAME,this._stateTagName(e);else switch(e){case ki.GREATER_THAN_SIGN:this._err(wi.missingEndTagName),this.state=lo.DATA;break;case ki.EOF:this._err(wi.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(wi.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=lo.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this.state=lo.BEFORE_ATTRIBUTE_NAME;break;case ki.SOLIDUS:this.state=lo.SELF_CLOSING_START_TAG;break;case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentTagToken();break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.tagName+=Oi;break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(po(e)?mo(e):e)}}_stateRcdataLessThanSign(e){e===ki.SOLIDUS?this.state=lo.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=lo.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ho(e)?(this.state=lo.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=lo.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 ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=lo.BEFORE_ATTRIBUTE_NAME,!1;case ki.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=lo.SELF_CLOSING_START_TAG,!1;case ki.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=lo.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=lo.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===ki.SOLIDUS?this.state=lo.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=lo.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ho(e)?(this.state=lo.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=lo.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=lo.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case ki.SOLIDUS:this.state=lo.SCRIPT_DATA_END_TAG_OPEN;break;case ki.EXCLAMATION_MARK:this.state=lo.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=lo.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ho(e)?(this.state=lo.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=lo.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=lo.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===ki.HYPHEN_MINUS?(this.state=lo.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=lo.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===ki.HYPHEN_MINUS?(this.state=lo.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=lo.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case ki.HYPHEN_MINUS:this.state=lo.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitChars(Oi);break;case ki.EOF:this._err(wi.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case ki.HYPHEN_MINUS:this.state=lo.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.state=lo.SCRIPT_DATA_ESCAPED,this._emitChars(Oi);break;case ki.EOF:this._err(wi.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=lo.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case ki.HYPHEN_MINUS:this._emitChars("-");break;case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case ki.GREATER_THAN_SIGN:this.state=lo.SCRIPT_DATA,this._emitChars(">");break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.state=lo.SCRIPT_DATA_ESCAPED,this._emitChars(Oi);break;case ki.EOF:this._err(wi.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=lo.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===ki.SOLIDUS?this.state=lo.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ho(e)?(this._emitChars("<"),this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=lo.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ho(e)?(this.state=lo.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=lo.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=lo.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(vi,!1)&&To(this.preprocessor.peek(vi.length))){this._emitCodePoint(e);for(let e=0;e<vi.length;e++)this._emitCodePoint(this._consume());this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=lo.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case ki.HYPHEN_MINUS:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._emitChars(Oi);break;case ki.EOF:this._err(wi.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case ki.HYPHEN_MINUS:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Oi);break;case ki.EOF:this._err(wi.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case ki.HYPHEN_MINUS:this._emitChars("-");break;case ki.LESS_THAN_SIGN:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case ki.GREATER_THAN_SIGN:this.state=lo.SCRIPT_DATA,this._emitChars(">");break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Oi);break;case ki.EOF:this._err(wi.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===ki.SOLIDUS?(this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(vi,!1)&&To(this.preprocessor.peek(vi.length))){this._emitCodePoint(e);for(let e=0;e<vi.length;e++)this._emitCodePoint(this._consume());this.state=lo.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=lo.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.SOLIDUS:case ki.GREATER_THAN_SIGN:case ki.EOF:this.state=lo.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case ki.EQUALS_SIGN:this._err(wi.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=lo.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=lo.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:case ki.SOLIDUS:case ki.GREATER_THAN_SIGN:case ki.EOF:this._leaveAttrName(),this.state=lo.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case ki.EQUALS_SIGN:this._leaveAttrName(),this.state=lo.BEFORE_ATTRIBUTE_VALUE;break;case ki.QUOTATION_MARK:case ki.APOSTROPHE:case ki.LESS_THAN_SIGN:this._err(wi.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.currentAttr.name+=Oi;break;default:this.currentAttr.name+=String.fromCodePoint(po(e)?mo(e):e)}}_stateAfterAttributeName(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.SOLIDUS:this.state=lo.SELF_CLOSING_START_TAG;break;case ki.EQUALS_SIGN:this.state=lo.BEFORE_ATTRIBUTE_VALUE;break;case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentTagToken();break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=lo.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.QUOTATION_MARK:this.state=lo.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case ki.APOSTROPHE:this.state=lo.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case ki.GREATER_THAN_SIGN:this._err(wi.missingAttributeValue),this.state=lo.DATA,this.emitCurrentTagToken();break;default:this.state=lo.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case ki.QUOTATION_MARK:this.state=lo.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case ki.AMPERSAND:this._startCharacterReference();break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.currentAttr.value+=Oi;break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case ki.APOSTROPHE:this.state=lo.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case ki.AMPERSAND:this._startCharacterReference();break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.currentAttr.value+=Oi;break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this._leaveAttrValue(),this.state=lo.BEFORE_ATTRIBUTE_NAME;break;case ki.AMPERSAND:this._startCharacterReference();break;case ki.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=lo.DATA,this.emitCurrentTagToken();break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this.currentAttr.value+=Oi;break;case ki.QUOTATION_MARK:case ki.APOSTROPHE:case ki.LESS_THAN_SIGN:case ki.EQUALS_SIGN:case ki.GRAVE_ACCENT:this._err(wi.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this._leaveAttrValue(),this.state=lo.BEFORE_ATTRIBUTE_NAME;break;case ki.SOLIDUS:this._leaveAttrValue(),this.state=lo.SELF_CLOSING_START_TAG;break;case ki.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=lo.DATA,this.emitCurrentTagToken();break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:this._err(wi.missingWhitespaceBetweenAttributes),this.state=lo.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case ki.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=lo.DATA,this.emitCurrentTagToken();break;case ki.EOF:this._err(wi.eofInTag),this._emitEOFToken();break;default:this._err(wi.unexpectedSolidusInTag),this.state=lo.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentComment(t);break;case ki.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.data+=Oi;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Ci,!0)?(this._createCommentToken(Ci.length+1),this.state=lo.COMMENT_START):this._consumeSequenceIfMatch(Di,!1)?(this.currentLocation=this.getCurrentLocation(Di.length+1),this.state=lo.DOCTYPE):this._consumeSequenceIfMatch(Ni,!0)?this.inForeignNode?this.state=lo.CDATA_SECTION:(this._err(wi.cdataInHtmlContent),this._createCommentToken(Ni.length+1),this.currentToken.data="[CDATA[",this.state=lo.BOGUS_COMMENT):this._ensureHibernation()||(this._err(wi.incorrectlyOpenedComment),this._createCommentToken(2),this.state=lo.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case ki.HYPHEN_MINUS:this.state=lo.COMMENT_START_DASH;break;case ki.GREATER_THAN_SIGN:{this._err(wi.abruptClosingOfEmptyComment),this.state=lo.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=lo.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case ki.HYPHEN_MINUS:this.state=lo.COMMENT_END;break;case ki.GREATER_THAN_SIGN:this._err(wi.abruptClosingOfEmptyComment),this.state=lo.DATA,this.emitCurrentComment(t);break;case ki.EOF:this._err(wi.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=lo.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case ki.HYPHEN_MINUS:this.state=lo.COMMENT_END_DASH;break;case ki.LESS_THAN_SIGN:t.data+="<",this.state=lo.COMMENT_LESS_THAN_SIGN;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.data+=Oi;break;case ki.EOF:this._err(wi.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case ki.EXCLAMATION_MARK:t.data+="!",this.state=lo.COMMENT_LESS_THAN_SIGN_BANG;break;case ki.LESS_THAN_SIGN:t.data+="<";break;default:this.state=lo.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===ki.HYPHEN_MINUS?this.state=lo.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=lo.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===ki.HYPHEN_MINUS?this.state=lo.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=lo.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==ki.GREATER_THAN_SIGN&&e!==ki.EOF&&this._err(wi.nestedComment),this.state=lo.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case ki.HYPHEN_MINUS:this.state=lo.COMMENT_END;break;case ki.EOF:this._err(wi.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=lo.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentComment(t);break;case ki.EXCLAMATION_MARK:this.state=lo.COMMENT_END_BANG;break;case ki.HYPHEN_MINUS:t.data+="-";break;case ki.EOF:this._err(wi.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=lo.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case ki.HYPHEN_MINUS:t.data+="--!",this.state=lo.COMMENT_END_DASH;break;case ki.GREATER_THAN_SIGN:this._err(wi.incorrectlyClosedComment),this.state=lo.DATA,this.emitCurrentComment(t);break;case ki.EOF:this._err(wi.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=lo.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this.state=lo.BEFORE_DOCTYPE_NAME;break;case ki.GREATER_THAN_SIGN:this.state=lo.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case ki.EOF:{this._err(wi.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(wi.missingWhitespaceBeforeDoctypeName),this.state=lo.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(po(e))this._createDoctypeToken(String.fromCharCode(mo(e))),this.state=lo.DOCTYPE_NAME;else switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.NULL:this._err(wi.unexpectedNullCharacter),this._createDoctypeToken(Oi),this.state=lo.DOCTYPE_NAME;break;case ki.GREATER_THAN_SIGN:{this._err(wi.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=lo.DATA;break}case ki.EOF:{this._err(wi.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=lo.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this.state=lo.AFTER_DOCTYPE_NAME;break;case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.name+=Oi;break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(po(e)?mo(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(Ri,!1)?this.state=lo.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Pi,!1)?this.state=lo.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(wi.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this.state=lo.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case ki.QUOTATION_MARK:this._err(wi.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=lo.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case ki.APOSTROPHE:this._err(wi.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=lo.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case ki.GREATER_THAN_SIGN:this._err(wi.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.QUOTATION_MARK:t.publicId="",this.state=lo.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case ki.APOSTROPHE:t.publicId="",this.state=lo.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case ki.GREATER_THAN_SIGN:this._err(wi.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case ki.QUOTATION_MARK:this.state=lo.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.publicId+=Oi;break;case ki.GREATER_THAN_SIGN:this._err(wi.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.EOF:this._err(wi.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 ki.APOSTROPHE:this.state=lo.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.publicId+=Oi;break;case ki.GREATER_THAN_SIGN:this._err(wi.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.EOF:this._err(wi.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 ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this.state=lo.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case ki.GREATER_THAN_SIGN:this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.QUOTATION_MARK:this._err(wi.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ki.APOSTROPHE:this._err(wi.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.QUOTATION_MARK:t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ki.APOSTROPHE:t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:this.state=lo.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case ki.QUOTATION_MARK:this._err(wi.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ki.APOSTROPHE:this._err(wi.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ki.GREATER_THAN_SIGN:this._err(wi.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.QUOTATION_MARK:t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case ki.APOSTROPHE:t.systemId="",this.state=lo.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case ki.GREATER_THAN_SIGN:this._err(wi.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=lo.DATA,this.emitCurrentDoctype(t);break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case ki.QUOTATION_MARK:this.state=lo.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.systemId+=Oi;break;case ki.GREATER_THAN_SIGN:this._err(wi.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.EOF:this._err(wi.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 ki.APOSTROPHE:this.state=lo.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case ki.NULL:this._err(wi.unexpectedNullCharacter),t.systemId+=Oi;break;case ki.GREATER_THAN_SIGN:this._err(wi.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.EOF:this._err(wi.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 ki.SPACE:case ki.LINE_FEED:case ki.TABULATION:case ki.FORM_FEED:break;case ki.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.EOF:this._err(wi.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(wi.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=lo.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case ki.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=lo.DATA;break;case ki.NULL:this._err(wi.unexpectedNullCharacter);break;case ki.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case ki.RIGHT_SQUARE_BRACKET:this.state=lo.CDATA_SECTION_BRACKET;break;case ki.EOF:this._err(wi.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===ki.RIGHT_SQUARE_BRACKET?this.state=lo.CDATA_SECTION_END:(this._emitChars("]"),this.state=lo.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case ki.GREATER_THAN_SIGN:this.state=lo.DATA;break;case ki.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=lo.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(ki.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&fo(this.preprocessor.peek(1))?lo.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){fo(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===ki.SEMICOLON&&this._err(wi.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const _o=new Set([ro.DD,ro.DT,ro.LI,ro.OPTGROUP,ro.OPTION,ro.P,ro.RB,ro.RP,ro.RT,ro.RTC]),Ao=new Set([..._o,ro.CAPTION,ro.COLGROUP,ro.TBODY,ro.TD,ro.TFOOT,ro.TH,ro.THEAD,ro.TR]),yo=new Set([ro.APPLET,ro.CAPTION,ro.HTML,ro.MARQUEE,ro.OBJECT,ro.TABLE,ro.TD,ro.TEMPLATE,ro.TH]),So=new Set([...yo,ro.OL,ro.UL]),bo=new Set([...yo,ro.BUTTON]),Io=new Set([ro.ANNOTATION_XML,ro.MI,ro.MN,ro.MO,ro.MS,ro.MTEXT]),Oo=new Set([ro.DESC,ro.FOREIGN_OBJECT,ro.TITLE]),ko=new Set([ro.TR,ro.TEMPLATE,ro.HTML]),Co=new Set([ro.TBODY,ro.TFOOT,ro.THEAD,ro.TEMPLATE,ro.HTML]),No=new Set([ro.TABLE,ro.TEMPLATE,ro.HTML]),Do=new Set([ro.TD,ro.TH]);class vo{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=ro.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===ro.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ji.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])!==Ji.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(co,Ji.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Do,Ji.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(No,Ji.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Co,Ji.HTML)}clearBackToTableRowContext(){this.clearBackTo(ko,Ji.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]===ro.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]===ro.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 Ji.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case Ji.SVG:if(Oo.has(r))return!1;break;case Ji.MATHML:if(Io.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,yo)}hasInListItemScope(e){return this.hasInDynamicScope(e,So)}hasInButtonScope(e){return this.hasInDynamicScope(e,bo)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case Ji.HTML:if(co.has(t))return!0;if(yo.has(t))return!1;break;case Ji.SVG:if(Oo.has(t))return!1;break;case Ji.MATHML:if(Io.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ji.HTML)switch(this.tagIDs[t]){case e:return!0;case ro.TABLE:case ro.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===Ji.HTML)switch(this.tagIDs[e]){case ro.TBODY:case ro.THEAD:case ro.TFOOT:return!0;case ro.TABLE:case ro.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ji.HTML)switch(this.tagIDs[t]){case e:return!0;case ro.OPTION:case ro.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&_o.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&Ao.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&Ao.has(this.currentTagId);)this.pop()}}var Ro;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(Ro||(Ro={}));const Po={type:Ro.Marker};class Lo{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,i=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let s=0;s<this.entries.length;s++){const e=this.entries[s];if(e.type===Ro.Marker)break;const{element:t}=e;if(this.treeAdapter.getTagName(t)===i&&this.treeAdapter.getNamespaceURI(t)===o){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 i=0;for(let o=0;o<n.length;o++){const e=n[o];e.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(Po)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ro.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ro.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(Po);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find(t=>t.type===Ro.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===Ro.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Ro.Element&&t.element===e)}}const Mo={createDocument:()=>({nodeName:"#document",mode:to.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 i=e.childNodes.find(e=>"#documentType"===e.nodeName);if(i)i.name=t,i.publicId=n,i.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Mo.appendChild(e,i)}},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(Mo.isTextNode(n))return void(n.value+=t)}Mo.appendChild(e,Mo.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Mo.isTextNode(r)?r.value+=t:Mo.insertBefore(e,Mo.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}}},xo="html",wo=["+//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//"],Fo=[...wo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Bo=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Uo=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Ho=[...Uo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Go(e,t){return t.some(t=>e.startsWith(t))}const jo="text/html",zo="application/xhtml+xml",Yo=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])),qo=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ji.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ji.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ji.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ji.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ji.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ji.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ji.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ji.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ji.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ji.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ji.XMLNS}]]),$o=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])),Wo=new Set([ro.B,ro.BIG,ro.BLOCKQUOTE,ro.BODY,ro.BR,ro.CENTER,ro.CODE,ro.DD,ro.DIV,ro.DL,ro.DT,ro.EM,ro.EMBED,ro.H1,ro.H2,ro.H3,ro.H4,ro.H5,ro.H6,ro.HEAD,ro.HR,ro.I,ro.IMG,ro.LI,ro.LISTING,ro.MENU,ro.META,ro.NOBR,ro.OL,ro.P,ro.PRE,ro.RUBY,ro.S,ro.SMALL,ro.SPAN,ro.STRONG,ro.STRIKE,ro.SUB,ro.SUP,ro.TABLE,ro.TT,ro.U,ro.UL,ro.VAR]);function Vo(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function Qo(e){for(let t=0;t<e.attrs.length;t++){const n=Yo.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function Xo(e){for(let t=0;t<e.attrs.length;t++){const n=qo.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 Ko(e,t,n,r){return(!r||r===Ji.HTML)&&function(e,t,n){if(t===Ji.MATHML&&e===ro.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===eo.ENCODING){const e=n[r].value.toLowerCase();return e===jo||e===zo}return t===Ji.SVG&&(e===ro.FOREIGN_OBJECT||e===ro.DESC||e===ro.TITLE)}(e,t,n)||(!r||r===Ji.MATHML)&&function(e,t){return t===Ji.MATHML&&(e===ro.MI||e===ro.MO||e===ro.MN||e===ro.MS||e===ro.MTEXT)}(e,t)}var Zo;!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"}(Zo||(Zo={}));const Jo={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},es=new Set([ro.TABLE,ro.TBODY,ro.TFOOT,ro.THEAD,ro.TR]),ts={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Mo,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=Zo.INITIAL,this.originalInsertionMode=Zo.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 go(this.options,this),this.activeFormattingElements=new Lo(this.treeAdapter),this.fragmentContextID=n?oo(this.treeAdapter.getTagName(n)):ro.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new vo(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(no.TEMPLATE,Ji.HTML,[]));const r=n.treeAdapter.createElement("documentmock",Ji.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===ro.TEMPLATE&&i.tmplInsertionModeStack.unshift(Zo.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}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 i=null!==(r=e.location)&&void 0!==r?r:Jo,o={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(e,t,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.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)===Ji.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,Ji.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Zo.TEXT}switchToPlaintextParsing(){this.insertionMode=Zo.TEXT,this.originalInsertionMode=Zo.IN_BODY,this.tokenizer.state=uo.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)===no.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===Ji.HTML)switch(this.fragmentContextID){case ro.TITLE:case ro.TEXTAREA:this.tokenizer.state=uo.RCDATA;break;case ro.STYLE:case ro.XMP:case ro.IFRAME:case ro.NOEMBED:case ro.NOFRAMES:case ro.NOSCRIPT:this.tokenizer.state=uo.RAWTEXT;break;case ro.SCRIPT:this.tokenizer.state=uo.SCRIPT_DATA;break;case ro.PLAINTEXT:this.tokenizer.state=uo.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,Ji.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,Ji.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(no.HTML,Ji.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,ro.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),i=n?r.lastIndexOf(n):r.length,o=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,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),i=t.type===Bi.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,i)}}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!==ro.SVG||this.treeAdapter.getTagName(t)!==no.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==Ji.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===ro.MGLYPH||e.tagID===ro.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,Ji.HTML))}_processToken(e){switch(e.type){case Bi.CHARACTER:this.onCharacter(e);break;case Bi.NULL_CHARACTER:this.onNullCharacter(e);break;case Bi.COMMENT:this.onComment(e);break;case Bi.DOCTYPE:this.onDoctype(e);break;case Bi.START_TAG:this._processStartTag(e);break;case Bi.END_TAG:this.onEndTag(e);break;case Bi.EOF:this.onEof(e);break;case Bi.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return Ko(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===Ro.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=Zo.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(ro.P),this.openElements.popUntilTagNamePopped(ro.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case ro.TR:return void(this.insertionMode=Zo.IN_ROW);case ro.TBODY:case ro.THEAD:case ro.TFOOT:return void(this.insertionMode=Zo.IN_TABLE_BODY);case ro.CAPTION:return void(this.insertionMode=Zo.IN_CAPTION);case ro.COLGROUP:return void(this.insertionMode=Zo.IN_COLUMN_GROUP);case ro.TABLE:return void(this.insertionMode=Zo.IN_TABLE);case ro.BODY:return void(this.insertionMode=Zo.IN_BODY);case ro.FRAMESET:return void(this.insertionMode=Zo.IN_FRAMESET);case ro.SELECT:return void this._resetInsertionModeForSelect(e);case ro.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case ro.HTML:return void(this.insertionMode=this.headElement?Zo.AFTER_HEAD:Zo.BEFORE_HEAD);case ro.TD:case ro.TH:if(e>0)return void(this.insertionMode=Zo.IN_CELL);break;case ro.HEAD:if(e>0)return void(this.insertionMode=Zo.IN_HEAD)}this.insertionMode=Zo.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===ro.TEMPLATE)break;if(e===ro.TABLE)return void(this.insertionMode=Zo.IN_SELECT_IN_TABLE)}this.insertionMode=Zo.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 ro.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===Ji.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case ro.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 ao[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 Zo.INITIAL:hs(this,e);break;case Zo.BEFORE_HTML:fs(this,e);break;case Zo.BEFORE_HEAD:ds(this,e);break;case Zo.IN_HEAD:Ts(this,e);break;case Zo.IN_HEAD_NO_SCRIPT:gs(this,e);break;case Zo.AFTER_HEAD:_s(this,e);break;case Zo.IN_BODY:case Zo.IN_CAPTION:case Zo.IN_CELL:case Zo.IN_TEMPLATE:Ss(this,e);break;case Zo.TEXT:case Zo.IN_SELECT:case Zo.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Zo.IN_TABLE:case Zo.IN_TABLE_BODY:case Zo.IN_ROW:Rs(this,e);break;case Zo.IN_TABLE_TEXT:ws(this,e);break;case Zo.IN_COLUMN_GROUP:Hs(this,e);break;case Zo.AFTER_BODY:Qs(this,e);break;case Zo.AFTER_AFTER_BODY:Xs(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=Oi,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Zo.INITIAL:hs(this,e);break;case Zo.BEFORE_HTML:fs(this,e);break;case Zo.BEFORE_HEAD:ds(this,e);break;case Zo.IN_HEAD:Ts(this,e);break;case Zo.IN_HEAD_NO_SCRIPT:gs(this,e);break;case Zo.AFTER_HEAD:_s(this,e);break;case Zo.TEXT:this._insertCharacters(e);break;case Zo.IN_TABLE:case Zo.IN_TABLE_BODY:case Zo.IN_ROW:Rs(this,e);break;case Zo.IN_COLUMN_GROUP:Hs(this,e);break;case Zo.AFTER_BODY:Qs(this,e);break;case Zo.AFTER_AFTER_BODY:Xs(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)us(this,e);else switch(this.insertionMode){case Zo.INITIAL:case Zo.BEFORE_HTML:case Zo.BEFORE_HEAD:case Zo.IN_HEAD:case Zo.IN_HEAD_NO_SCRIPT:case Zo.AFTER_HEAD:case Zo.IN_BODY:case Zo.IN_TABLE:case Zo.IN_CAPTION:case Zo.IN_COLUMN_GROUP:case Zo.IN_TABLE_BODY:case Zo.IN_ROW:case Zo.IN_CELL:case Zo.IN_SELECT:case Zo.IN_SELECT_IN_TABLE:case Zo.IN_TEMPLATE:case Zo.IN_FRAMESET:case Zo.AFTER_FRAMESET:us(this,e);break;case Zo.IN_TABLE_TEXT:Fs(this,e);break;case Zo.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Zo.AFTER_AFTER_BODY:case Zo.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Zo.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?to.QUIRKS:function(e){if(e.name!==xo)return to.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return to.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),Bo.has(n))return to.QUIRKS;let e=null===t?Fo:wo;if(Go(n,e))return to.QUIRKS;if(e=null===t?Uo:Ho,Go(n,e))return to.LIMITED_QUIRKS}return to.NO_QUIRKS}(t);(function(e){return e.name===xo&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,wi.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Zo.BEFORE_HTML}(this,e);break;case Zo.BEFORE_HEAD:case Zo.IN_HEAD:case Zo.IN_HEAD_NO_SCRIPT:case Zo.AFTER_HEAD:this._err(e,wi.misplacedDoctype);break;case Zo.IN_TABLE_TEXT:Fs(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,wi.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===ro.FONT&&e.attrs.some(({name:e})=>e===eo.COLOR||e===eo.SIZE||e===eo.FACE)||Wo.has(t)}(t))Ks(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Ji.MATHML?Vo(t):r===Ji.SVG&&(!function(e){const t=$o.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=oo(e.tagName))}(t),Qo(t)),Xo(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 Zo.INITIAL:hs(this,e);break;case Zo.BEFORE_HTML:!function(e,t){t.tagID===ro.HTML?(e._insertElement(t,Ji.HTML),e.insertionMode=Zo.BEFORE_HEAD):fs(e,t)}(this,e);break;case Zo.BEFORE_HEAD:!function(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.HEAD:e._insertElement(t,Ji.HTML),e.headElement=e.openElements.current,e.insertionMode=Zo.IN_HEAD;break;default:ds(e,t)}}(this,e);break;case Zo.IN_HEAD:ms(this,e);break;case Zo.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.BASEFONT:case ro.BGSOUND:case ro.HEAD:case ro.LINK:case ro.META:case ro.NOFRAMES:case ro.STYLE:ms(e,t);break;case ro.NOSCRIPT:e._err(t,wi.nestedNoscriptInHead);break;default:gs(e,t)}}(this,e);break;case Zo.AFTER_HEAD:!function(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.BODY:e._insertElement(t,Ji.HTML),e.framesetOk=!1,e.insertionMode=Zo.IN_BODY;break;case ro.FRAMESET:e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_FRAMESET;break;case ro.BASE:case ro.BASEFONT:case ro.BGSOUND:case ro.LINK:case ro.META:case ro.NOFRAMES:case ro.SCRIPT:case ro.STYLE:case ro.TEMPLATE:case ro.TITLE:e._err(t,wi.abandonedHeadElementChild),e.openElements.push(e.headElement,ro.HEAD),ms(e,t),e.openElements.remove(e.headElement);break;case ro.HEAD:e._err(t,wi.misplacedStartTagForHeadElement);break;default:_s(e,t)}}(this,e);break;case Zo.IN_BODY:Cs(this,e);break;case Zo.IN_TABLE:Ps(this,e);break;case Zo.IN_TABLE_TEXT:Fs(this,e);break;case Zo.IN_CAPTION:!function(e,t){const n=t.tagID;Bs.has(n)?e.openElements.hasInTableScope(ro.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(ro.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zo.IN_TABLE,Ps(e,t)):Cs(e,t)}(this,e);break;case Zo.IN_COLUMN_GROUP:Us(this,e);break;case Zo.IN_TABLE_BODY:Gs(this,e);break;case Zo.IN_ROW:zs(this,e);break;case Zo.IN_CELL:!function(e,t){const n=t.tagID;Bs.has(n)?(e.openElements.hasInTableScope(ro.TD)||e.openElements.hasInTableScope(ro.TH))&&(e._closeTableCell(),zs(e,t)):Cs(e,t)}(this,e);break;case Zo.IN_SELECT:qs(this,e);break;case Zo.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===ro.CAPTION||n===ro.TABLE||n===ro.TBODY||n===ro.TFOOT||n===ro.THEAD||n===ro.TR||n===ro.TD||n===ro.TH?(e.openElements.popUntilTagNamePopped(ro.SELECT),e._resetInsertionMode(),e._processStartTag(t)):qs(e,t)}(this,e);break;case Zo.IN_TEMPLATE:!function(e,t){switch(t.tagID){case ro.BASE:case ro.BASEFONT:case ro.BGSOUND:case ro.LINK:case ro.META:case ro.NOFRAMES:case ro.SCRIPT:case ro.STYLE:case ro.TEMPLATE:case ro.TITLE:ms(e,t);break;case ro.CAPTION:case ro.COLGROUP:case ro.TBODY:case ro.TFOOT:case ro.THEAD:e.tmplInsertionModeStack[0]=Zo.IN_TABLE,e.insertionMode=Zo.IN_TABLE,Ps(e,t);break;case ro.COL:e.tmplInsertionModeStack[0]=Zo.IN_COLUMN_GROUP,e.insertionMode=Zo.IN_COLUMN_GROUP,Us(e,t);break;case ro.TR:e.tmplInsertionModeStack[0]=Zo.IN_TABLE_BODY,e.insertionMode=Zo.IN_TABLE_BODY,Gs(e,t);break;case ro.TD:case ro.TH:e.tmplInsertionModeStack[0]=Zo.IN_ROW,e.insertionMode=Zo.IN_ROW,zs(e,t);break;default:e.tmplInsertionModeStack[0]=Zo.IN_BODY,e.insertionMode=Zo.IN_BODY,Cs(e,t)}}(this,e);break;case Zo.AFTER_BODY:!function(e,t){t.tagID===ro.HTML?Cs(e,t):Qs(e,t)}(this,e);break;case Zo.IN_FRAMESET:!function(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.FRAMESET:e._insertElement(t,Ji.HTML);break;case ro.FRAME:e._appendElement(t,Ji.HTML),t.ackSelfClosing=!0;break;case ro.NOFRAMES:ms(e,t)}}(this,e);break;case Zo.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.NOFRAMES:ms(e,t)}}(this,e);break;case Zo.AFTER_AFTER_BODY:!function(e,t){t.tagID===ro.HTML?Cs(e,t):Xs(e,t)}(this,e);break;case Zo.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.NOFRAMES:ms(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===ro.P||t.tagID===ro.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)===Ji.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Zo.INITIAL:hs(this,e);break;case Zo.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==ro.HTML&&n!==ro.HEAD&&n!==ro.BODY&&n!==ro.BR||fs(e,t)}(this,e);break;case Zo.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===ro.HEAD||n===ro.BODY||n===ro.HTML||n===ro.BR?ds(e,t):e._err(t,wi.endTagWithoutMatchingOpenElement)}(this,e);break;case Zo.IN_HEAD:!function(e,t){switch(t.tagID){case ro.HEAD:e.openElements.pop(),e.insertionMode=Zo.AFTER_HEAD;break;case ro.BODY:case ro.BR:case ro.HTML:Ts(e,t);break;case ro.TEMPLATE:Es(e,t);break;default:e._err(t,wi.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zo.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case ro.NOSCRIPT:e.openElements.pop(),e.insertionMode=Zo.IN_HEAD;break;case ro.BR:gs(e,t);break;default:e._err(t,wi.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zo.AFTER_HEAD:!function(e,t){switch(t.tagID){case ro.BODY:case ro.HTML:case ro.BR:_s(e,t);break;case ro.TEMPLATE:Es(e,t);break;default:e._err(t,wi.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zo.IN_BODY:Ds(this,e);break;case Zo.TEXT:!function(e,t){var n;t.tagID===ro.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 Zo.IN_TABLE:Ls(this,e);break;case Zo.IN_TABLE_TEXT:Fs(this,e);break;case Zo.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case ro.CAPTION:case ro.TABLE:e.openElements.hasInTableScope(ro.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(ro.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zo.IN_TABLE,n===ro.TABLE&&Ls(e,t));break;case ro.BODY:case ro.COL:case ro.COLGROUP:case ro.HTML:case ro.TBODY:case ro.TD:case ro.TFOOT:case ro.TH:case ro.THEAD:case ro.TR:break;default:Ds(e,t)}}(this,e);break;case Zo.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case ro.COLGROUP:e.openElements.currentTagId===ro.COLGROUP&&(e.openElements.pop(),e.insertionMode=Zo.IN_TABLE);break;case ro.TEMPLATE:Es(e,t);break;case ro.COL:break;default:Hs(e,t)}}(this,e);break;case Zo.IN_TABLE_BODY:js(this,e);break;case Zo.IN_ROW:Ys(this,e);break;case Zo.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case ro.TD:case ro.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zo.IN_ROW);break;case ro.TABLE:case ro.TBODY:case ro.TFOOT:case ro.THEAD:case ro.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Ys(e,t));break;case ro.BODY:case ro.CAPTION:case ro.COL:case ro.COLGROUP:case ro.HTML:break;default:Ds(e,t)}}(this,e);break;case Zo.IN_SELECT:$s(this,e);break;case Zo.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===ro.CAPTION||n===ro.TABLE||n===ro.TBODY||n===ro.TFOOT||n===ro.THEAD||n===ro.TR||n===ro.TD||n===ro.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(ro.SELECT),e._resetInsertionMode(),e.onEndTag(t)):$s(e,t)}(this,e);break;case Zo.IN_TEMPLATE:!function(e,t){t.tagID===ro.TEMPLATE&&Es(e,t)}(this,e);break;case Zo.AFTER_BODY:Vs(this,e);break;case Zo.IN_FRAMESET:!function(e,t){t.tagID!==ro.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===ro.FRAMESET||(e.insertionMode=Zo.AFTER_FRAMESET))}(this,e);break;case Zo.AFTER_FRAMESET:!function(e,t){t.tagID===ro.HTML&&(e.insertionMode=Zo.AFTER_AFTER_FRAMESET)}(this,e);break;case Zo.AFTER_AFTER_BODY:Xs(this,e)}}onEof(e){switch(this.insertionMode){case Zo.INITIAL:hs(this,e);break;case Zo.BEFORE_HTML:fs(this,e);break;case Zo.BEFORE_HEAD:ds(this,e);break;case Zo.IN_HEAD:Ts(this,e);break;case Zo.IN_HEAD_NO_SCRIPT:gs(this,e);break;case Zo.AFTER_HEAD:_s(this,e);break;case Zo.IN_BODY:case Zo.IN_TABLE:case Zo.IN_CAPTION:case Zo.IN_COLUMN_GROUP:case Zo.IN_TABLE_BODY:case Zo.IN_ROW:case Zo.IN_CELL:case Zo.IN_SELECT:case Zo.IN_SELECT_IN_TABLE:vs(this,e);break;case Zo.TEXT:!function(e,t){e._err(t,wi.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Zo.IN_TABLE_TEXT:Fs(this,e);break;case Zo.IN_TEMPLATE:Ws(this,e);break;case Zo.AFTER_BODY:case Zo.IN_FRAMESET:case Zo.AFTER_FRAMESET:case Zo.AFTER_AFTER_BODY:case Zo.AFTER_AFTER_FRAMESET:ps(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===ki.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 Zo.IN_HEAD:case Zo.IN_HEAD_NO_SCRIPT:case Zo.AFTER_HEAD:case Zo.TEXT:case Zo.IN_COLUMN_GROUP:case Zo.IN_SELECT:case Zo.IN_SELECT_IN_TABLE:case Zo.IN_FRAMESET:case Zo.AFTER_FRAMESET:this._insertCharacters(e);break;case Zo.IN_BODY:case Zo.IN_CAPTION:case Zo.IN_CELL:case Zo.IN_TEMPLATE:case Zo.AFTER_BODY:case Zo.AFTER_AFTER_BODY:case Zo.AFTER_AFTER_FRAMESET:ys(this,e);break;case Zo.IN_TABLE:case Zo.IN_TABLE_BODY:case Zo.IN_ROW:Rs(this,e);break;case Zo.IN_TABLE_TEXT:xs(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 is(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function os(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,s=i;s!==n;o++,s=i){i=e.openElements.getCommonAncestor(s);const n=e.activeFormattingElements.getElementEntry(s),a=n&&o>=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=oo(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);r===ro.TEMPLATE&&i===Ji.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function cs(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o,i.tagID)}function ls(e,t){for(let n=0;n<8;n++){const n=rs(e,t);if(!n)break;const r=is(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const i=os(e,r,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),o&&as(e,o,i),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 hs(e,t){e._err(t,wi.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,to.QUIRKS),e.insertionMode=Zo.BEFORE_HTML,e._processToken(t)}function fs(e,t){e._insertFakeRootElement(),e.insertionMode=Zo.BEFORE_HEAD,e._processToken(t)}function ds(e,t){e._insertFakeElement(no.HEAD,ro.HEAD),e.headElement=e.openElements.current,e.insertionMode=Zo.IN_HEAD,e._processToken(t)}function ms(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.BASE:case ro.BASEFONT:case ro.BGSOUND:case ro.LINK:case ro.META:e._appendElement(t,Ji.HTML),t.ackSelfClosing=!0;break;case ro.TITLE:e._switchToTextParsing(t,uo.RCDATA);break;case ro.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,uo.RAWTEXT):(e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_HEAD_NO_SCRIPT);break;case ro.NOFRAMES:case ro.STYLE:e._switchToTextParsing(t,uo.RAWTEXT);break;case ro.SCRIPT:e._switchToTextParsing(t,uo.SCRIPT_DATA);break;case ro.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Zo.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Zo.IN_TEMPLATE);break;case ro.HEAD:e._err(t,wi.misplacedStartTagForHeadElement);break;default:Ts(e,t)}}function Es(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==ro.TEMPLATE&&e._err(t,wi.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(ro.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,wi.endTagWithoutMatchingOpenElement)}function Ts(e,t){e.openElements.pop(),e.insertionMode=Zo.AFTER_HEAD,e._processToken(t)}function gs(e,t){const n=t.type===Bi.EOF?wi.openElementsLeftAfterEof:wi.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Zo.IN_HEAD,e._processToken(t)}function _s(e,t){e._insertFakeElement(no.BODY,ro.BODY),e.insertionMode=Zo.IN_BODY,As(e,t)}function As(e,t){switch(t.type){case Bi.CHARACTER:Ss(e,t);break;case Bi.WHITESPACE_CHARACTER:ys(e,t);break;case Bi.COMMENT:us(e,t);break;case Bi.START_TAG:Cs(e,t);break;case Bi.END_TAG:Ds(e,t);break;case Bi.EOF:vs(e,t)}}function ys(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ss(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function bs(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ji.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Is(e){const t=Ui(e,eo.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function Os(e,t){e._switchToTextParsing(t,uo.RAWTEXT)}function ks(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML)}function Cs(e,t){switch(t.tagID){case ro.I:case ro.S:case ro.B:case ro.U:case ro.EM:case ro.TT:case ro.BIG:case ro.CODE:case ro.FONT:case ro.SMALL:case ro.STRIKE:case ro.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case ro.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(no.A);n&&(ls(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case ro.H1:case ro.H2:case ro.H3:case ro.H4:case ro.H5:case ro.H6:!function(e,t){e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&co.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Ji.HTML)}(e,t);break;case ro.P:case ro.DL:case ro.OL:case ro.UL:case ro.DIV:case ro.DIR:case ro.NAV:case ro.MAIN:case ro.MENU:case ro.ASIDE:case ro.CENTER:case ro.FIGURE:case ro.FOOTER:case ro.HEADER:case ro.HGROUP:case ro.DIALOG:case ro.DETAILS:case ro.ADDRESS:case ro.ARTICLE:case ro.SEARCH:case ro.SECTION:case ro.SUMMARY:case ro.FIELDSET:case ro.BLOCKQUOTE:case ro.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._insertElement(t,Ji.HTML)}(e,t);break;case ro.LI:case ro.DD:case ro.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===ro.LI&&t===ro.LI||(n===ro.DD||n===ro.DT)&&(t===ro.DD||t===ro.DT)){e.openElements.generateImpliedEndTagsWithExclusion(t),e.openElements.popUntilTagNamePopped(t);break}if(t!==ro.ADDRESS&&t!==ro.DIV&&t!==ro.P&&e._isSpecialElement(e.openElements.items[r],t))break}e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._insertElement(t,Ji.HTML)}(e,t);break;case ro.BR:case ro.IMG:case ro.WBR:case ro.AREA:case ro.EMBED:case ro.KEYGEN:bs(e,t);break;case ro.HR:!function(e,t){e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._appendElement(t,Ji.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case ro.RB:case ro.RTC:!function(e,t){e.openElements.hasInScope(ro.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Ji.HTML)}(e,t);break;case ro.RT:case ro.RP:!function(e,t){e.openElements.hasInScope(ro.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(ro.RTC),e._insertElement(t,Ji.HTML)}(e,t);break;case ro.PRE:case ro.LISTING:!function(e,t){e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._insertElement(t,Ji.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case ro.XMP:!function(e,t){e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,uo.RAWTEXT)}(e,t);break;case ro.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Qo(t),Xo(t),t.selfClosing?e._appendElement(t,Ji.SVG):e._insertElement(t,Ji.SVG),t.ackSelfClosing=!0}(e,t);break;case ro.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case ro.BASE:case ro.LINK:case ro.META:case ro.STYLE:case ro.TITLE:case ro.SCRIPT:case ro.BGSOUND:case ro.BASEFONT:case ro.TEMPLATE:ms(e,t);break;case ro.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 ro.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._insertElement(t,Ji.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case ro.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(ro.NOBR)&&(ls(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Ji.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case ro.MATH:!function(e,t){e._reconstructActiveFormattingElements(),Vo(t),Xo(t),t.selfClosing?e._appendElement(t,Ji.MATHML):e._insertElement(t,Ji.MATHML),t.ackSelfClosing=!0}(e,t);break;case ro.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==to.QUIRKS&&e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._insertElement(t,Ji.HTML),e.framesetOk=!1,e.insertionMode=Zo.IN_TABLE}(e,t);break;case ro.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ji.HTML),Is(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case ro.PARAM:case ro.TRACK:case ro.SOURCE:!function(e,t){e._appendElement(t,Ji.HTML),t.ackSelfClosing=!0}(e,t);break;case ro.IMAGE:!function(e,t){t.tagName=no.IMG,t.tagID=ro.IMG,bs(e,t)}(e,t);break;case ro.BUTTON:!function(e,t){e.openElements.hasInScope(ro.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(ro.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML),e.framesetOk=!1}(e,t);break;case ro.APPLET:case ro.OBJECT:case ro.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case ro.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,uo.RAWTEXT)}(e,t);break;case ro.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Zo.IN_TABLE||e.insertionMode===Zo.IN_CAPTION||e.insertionMode===Zo.IN_TABLE_BODY||e.insertionMode===Zo.IN_ROW||e.insertionMode===Zo.IN_CELL?Zo.IN_SELECT_IN_TABLE:Zo.IN_SELECT}(e,t);break;case ro.OPTION:case ro.OPTGROUP:!function(e,t){e.openElements.currentTagId===ro.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Ji.HTML)}(e,t);break;case ro.NOEMBED:case ro.NOFRAMES:Os(e,t);break;case ro.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_FRAMESET)}(e,t);break;case ro.TEXTAREA:!function(e,t){e._insertElement(t,Ji.HTML),e.skipNextNewLine=!0,e.tokenizer.state=uo.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Zo.TEXT}(e,t);break;case ro.NOSCRIPT:e.options.scriptingEnabled?Os(e,t):ks(e,t);break;case ro.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(ro.P)&&e._closePElement(),e._insertElement(t,Ji.HTML),e.tokenizer.state=uo.PLAINTEXT}(e,t);break;case ro.COL:case ro.TH:case ro.TD:case ro.TR:case ro.HEAD:case ro.FRAME:case ro.TBODY:case ro.TFOOT:case ro.THEAD:case ro.CAPTION:case ro.COLGROUP:break;default:ks(e,t)}}function Ns(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const t=e.openElements.items[i],o=e.openElements.tagIDs[i];if(r===o&&(r!==ro.UNKNOWN||e.treeAdapter.getTagName(t)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(t,o))break}}function Ds(e,t){switch(t.tagID){case ro.A:case ro.B:case ro.I:case ro.S:case ro.U:case ro.EM:case ro.TT:case ro.BIG:case ro.CODE:case ro.FONT:case ro.NOBR:case ro.SMALL:case ro.STRIKE:case ro.STRONG:ls(e,t);break;case ro.P:!function(e){e.openElements.hasInButtonScope(ro.P)||e._insertFakeElement(no.P,ro.P),e._closePElement()}(e);break;case ro.DL:case ro.UL:case ro.OL:case ro.DIR:case ro.DIV:case ro.NAV:case ro.PRE:case ro.MAIN:case ro.MENU:case ro.ASIDE:case ro.BUTTON:case ro.CENTER:case ro.FIGURE:case ro.FOOTER:case ro.HEADER:case ro.HGROUP:case ro.DIALOG:case ro.ADDRESS:case ro.ARTICLE:case ro.DETAILS:case ro.SEARCH:case ro.SECTION:case ro.SUMMARY:case ro.LISTING:case ro.FIELDSET:case ro.BLOCKQUOTE:case ro.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case ro.LI:!function(e){e.openElements.hasInListItemScope(ro.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(ro.LI),e.openElements.popUntilTagNamePopped(ro.LI))}(e);break;case ro.DD:case ro.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case ro.H1:case ro.H2:case ro.H3:case ro.H4:case ro.H5:case ro.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case ro.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(no.BR,ro.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case ro.BODY:!function(e,t){if(e.openElements.hasInScope(ro.BODY)&&(e.insertionMode=Zo.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case ro.HTML:!function(e,t){e.openElements.hasInScope(ro.BODY)&&(e.insertionMode=Zo.AFTER_BODY,Vs(e,t))}(e,t);break;case ro.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(ro.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(ro.FORM):n&&e.openElements.remove(n))}(e);break;case ro.APPLET:case ro.OBJECT:case ro.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 ro.TEMPLATE:Es(e,t);break;default:Ns(e,t)}}function vs(e,t){e.tmplInsertionModeStack.length>0?Ws(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=Zo.IN_TABLE_TEXT,t.type){case Bi.CHARACTER:ws(e,t);break;case Bi.WHITESPACE_CHARACTER:xs(e,t)}else Ms(e,t)}function Ps(e,t){switch(t.tagID){case ro.TD:case ro.TH:case ro.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(no.TBODY,ro.TBODY),e.insertionMode=Zo.IN_TABLE_BODY,Gs(e,t)}(e,t);break;case ro.STYLE:case ro.SCRIPT:case ro.TEMPLATE:ms(e,t);break;case ro.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(no.COLGROUP,ro.COLGROUP),e.insertionMode=Zo.IN_COLUMN_GROUP,Us(e,t)}(e,t);break;case ro.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,Ji.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case ro.TABLE:!function(e,t){e.openElements.hasInTableScope(ro.TABLE)&&(e.openElements.popUntilTagNamePopped(ro.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case ro.TBODY:case ro.TFOOT:case ro.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_TABLE_BODY}(e,t);break;case ro.INPUT:!function(e,t){Is(t)?e._appendElement(t,Ji.HTML):Ms(e,t),t.ackSelfClosing=!0}(e,t);break;case ro.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_CAPTION}(e,t);break;case ro.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_COLUMN_GROUP}(e,t);break;default:Ms(e,t)}}function Ls(e,t){switch(t.tagID){case ro.TABLE:e.openElements.hasInTableScope(ro.TABLE)&&(e.openElements.popUntilTagNamePopped(ro.TABLE),e._resetInsertionMode());break;case ro.TEMPLATE:Es(e,t);break;case ro.BODY:case ro.CAPTION:case ro.COL:case ro.COLGROUP:case ro.HTML:case ro.TBODY:case ro.TD:case ro.TFOOT:case ro.TH:case ro.THEAD:case ro.TR:break;default:Ms(e,t)}}function Ms(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,As(e,t),e.fosterParentingEnabled=n}function xs(e,t){e.pendingCharacterTokens.push(t)}function ws(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Fs(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ms(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Bs=new Set([ro.CAPTION,ro.COL,ro.COLGROUP,ro.TBODY,ro.TD,ro.TFOOT,ro.TH,ro.THEAD,ro.TR]);function Us(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.COL:e._appendElement(t,Ji.HTML),t.ackSelfClosing=!0;break;case ro.TEMPLATE:ms(e,t);break;default:Hs(e,t)}}function Hs(e,t){e.openElements.currentTagId===ro.COLGROUP&&(e.openElements.pop(),e.insertionMode=Zo.IN_TABLE,e._processToken(t))}function Gs(e,t){switch(t.tagID){case ro.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_ROW;break;case ro.TH:case ro.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(no.TR,ro.TR),e.insertionMode=Zo.IN_ROW,zs(e,t);break;case ro.CAPTION:case ro.COL:case ro.COLGROUP:case ro.TBODY:case ro.TFOOT:case ro.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE,Ps(e,t));break;default:Ps(e,t)}}function js(e,t){const n=t.tagID;switch(t.tagID){case ro.TBODY:case ro.TFOOT:case ro.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE);break;case ro.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE,Ls(e,t));break;case ro.BODY:case ro.CAPTION:case ro.COL:case ro.COLGROUP:case ro.HTML:case ro.TD:case ro.TH:case ro.TR:break;default:Ls(e,t)}}function zs(e,t){switch(t.tagID){case ro.TH:case ro.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,Ji.HTML),e.insertionMode=Zo.IN_CELL,e.activeFormattingElements.insertMarker();break;case ro.CAPTION:case ro.COL:case ro.COLGROUP:case ro.TBODY:case ro.TFOOT:case ro.THEAD:case ro.TR:e.openElements.hasInTableScope(ro.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE_BODY,Gs(e,t));break;default:Ps(e,t)}}function Ys(e,t){switch(t.tagID){case ro.TR:e.openElements.hasInTableScope(ro.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE_BODY);break;case ro.TABLE:e.openElements.hasInTableScope(ro.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE_BODY,js(e,t));break;case ro.TBODY:case ro.TFOOT:case ro.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(ro.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Zo.IN_TABLE_BODY,js(e,t));break;case ro.BODY:case ro.CAPTION:case ro.COL:case ro.COLGROUP:case ro.HTML:case ro.TD:case ro.TH:break;default:Ls(e,t)}}function qs(e,t){switch(t.tagID){case ro.HTML:Cs(e,t);break;case ro.OPTION:e.openElements.currentTagId===ro.OPTION&&e.openElements.pop(),e._insertElement(t,Ji.HTML);break;case ro.OPTGROUP:e.openElements.currentTagId===ro.OPTION&&e.openElements.pop(),e.openElements.currentTagId===ro.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Ji.HTML);break;case ro.HR:e.openElements.currentTagId===ro.OPTION&&e.openElements.pop(),e.openElements.currentTagId===ro.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Ji.HTML),t.ackSelfClosing=!0;break;case ro.INPUT:case ro.KEYGEN:case ro.TEXTAREA:case ro.SELECT:e.openElements.hasInSelectScope(ro.SELECT)&&(e.openElements.popUntilTagNamePopped(ro.SELECT),e._resetInsertionMode(),t.tagID!==ro.SELECT&&e._processStartTag(t));break;case ro.SCRIPT:case ro.TEMPLATE:ms(e,t)}}function $s(e,t){switch(t.tagID){case ro.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===ro.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===ro.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===ro.OPTGROUP&&e.openElements.pop();break;case ro.OPTION:e.openElements.currentTagId===ro.OPTION&&e.openElements.pop();break;case ro.SELECT:e.openElements.hasInSelectScope(ro.SELECT)&&(e.openElements.popUntilTagNamePopped(ro.SELECT),e._resetInsertionMode());break;case ro.TEMPLATE:Es(e,t)}}function Ws(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(ro.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ps(e,t)}function Vs(e,t){var n;if(t.tagID===ro.HTML){if(e.fragmentContext||(e.insertionMode=Zo.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===ro.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=Zo.IN_BODY,As(e,t)}function Xs(e,t){e.insertionMode=Zo.IN_BODY,As(e,t)}function Ks(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Ji.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),String.prototype.codePointAt;function Zs(e,t){return function(n){let r,i=0,o="";for(;r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]]),new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]);new Set([no.AREA,no.BASE,no.BASEFONT,no.BGSOUND,no.BR,no.COL,no.EMBED,no.FRAME,no.HR,no.IMG,no.INPUT,no.KEYGEN,no.LINK,no.META,no.PARAM,no.SOURCE,no.TRACK,no.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=Ei("type",{handlers:{root:ia,element:oa,text:sa,comment:la,doctype:aa,raw:ua},unknown:pa}),i={parser:n?new ns(ta):ns.getFragmentParser(void 0,ta),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),ha(i,te());const o=function(e,t){const n=t||{};return ui({file:n.file||void 0,location:!1,schema:"svg"===n.space?z:j,verbose:n.verbose||!1},e)}(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&ir(o,"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"===o.type&&1===o.children.length&&o.children[0].type===e.type?o.children[0]:o}function ra(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function ia(e,t){ra(e.children,t)}function oa(e,t){!function(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===uo.PLAINTEXT)return;ha(t,te(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:ai.html;i===ai.html&&"svg"===n&&(i=ai.svg);const o=function(e,t){const n=(t||Ti).space;return _i(e,"svg"===n?z:j)}({...e,children:[]},{space:i===ai.svg?"svg":"html"}),s={type:Bi.START_TAG,tagName:n,tagID:oo(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.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&&bi.includes(n))return;if(t.parser.tokenizer.state===uo.PLAINTEXT)return;ha(t,ee(e));const r={type:Bi.END_TAG,tagName:n,tagID:oo(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!==uo.RCDATA&&t.parser.tokenizer.state!==uo.RAWTEXT&&t.parser.tokenizer.state!==uo.SCRIPT_DATA||(t.parser.tokenizer.state=uo.DATA)}(e,t)}function sa(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Bi.CHARACTER,chars:e.value,location:da(e)};ha(t,te(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function aa(e,t){const n={type:Bi.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:da(e)};ha(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:Bi.COMMENT,data:n,location:da(e)};ha(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,fa(t,te(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Js,"&lt;$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 ha(e,t){fa(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=uo.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 fa(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,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}_a(/[A-Za-z]/),_a(/[\dA-Za-z]/),_a(/[#-'*+\--9=?A-Z^-~]/);_a(/\d/),_a(/[\dA-Fa-f]/),_a(/[!-/:-@[-`{-~]/);const Ta=_a(/\p{P}|\p{S}/u),ga=_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||[]),i=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]),Sa(e[1])])}return t}(t);let o=-1;for(;++o<i.length;)rr(e,"text",s);function s(e,t){let n,s=-1;for(;++s<t.length;){const e=t[s],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=i[o][0],s=i[o][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,i={index:p.index,input:p.input,stack:[...t,e]};let o=s(...p,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),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 Sa(e){return"function"==typeof e?e:function(){return e}}const ba="phrasing",Ia=["autolink","link","image","label"];function Oa(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ka(e){this.config.enter.autolinkProtocol.call(this,e)}function Ca(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 Da(e){this.config.exit.autolinkEmail.call(this,e)}function va(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,i){let o="";if(!Ma(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="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 i=Ea(e,"(");let o=Ea(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!s[0])return!1;const a={type:"link",title:null,url:o+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!(!Ma(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Ma(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||ga(n)||Ta(n))&&(!t||47!==n)}function xa(){this.buffer()}function wa(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Fa(){this.buffer()}function Ba(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ua(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 Ha(e){this.exit(e)}function Ga(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 ja(e){this.exit(e)}function za(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),s(),o+=i.move("]"),o}function Ya(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,i){const o=r.createTracker(i);let s=o.move("[^");const a=r.enter("footnoteDefinition"),c=r.enter("label");s+=o.move(r.safe(r.associationId(e),{before:s,after:"]"})),c(),s+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),s+=o.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,o.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 Wa=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Va(e){this.enter({type:"delete",children:[]},e)}function Qa(e){this.exit(e)}function Xa(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),o(),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 i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&tc(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function ic(e,t,n){return(n?"":" ")+e}function oc(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),i=an(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function cc(e,t,n,r){const i=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),o=n.enter("emphasis"),s=n.createTracker(r),a=s.move(i);let c=s.move(n.containerPhrasing(e,{after:i,before:a,...s.current()}));const l=c.charCodeAt(0),u=ac(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=sc(l)+c.slice(1));const p=c.charCodeAt(c.length-1),h=ac(r.after.charCodeAt(0),p,i);h.inside&&(c=c.slice(0,-1)+sc(p));const f=s.move(i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:u.outside},a+c+f}function lc(e){return e.value||""}function uc(e,t,n,r){const i=oc(n),o='"'===i?"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${o}`),l+=c.move(" "+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),a()),l+=c.move(")"),s(),l}function pc(e,t,n,r){const i=e.referenceType,o=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,o(),"full"!==i&&l&&l===p?"shortcut"===i?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(p+"]"),c}function hc(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=n.compilePattern(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function fc(e,t){const n=Ce(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 i=oc(n),o='"'===i?"Quote":"Apostrophe",s=n.createTracker(r);let a,c;if(fc(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${o}`),l+=s.move(" "+i),l+=s.move(n.safe(e.title,{before:l,after:i,...s.current()})),l+=s.move(i),c()),l+=s.move(")"),a(),l}function mc(e,t,n,r){const i=e.referenceType,o=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,o(),"full"!==i&&l&&l===p?"shortcut"===i?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 Tc(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"!"},hc.peek=function(){return"`"},dc.peek=function(e,t,n){return fc(e,n)?"<":"["},mc.peek=function(){return"["};const gc=Xn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function _c(e,t,n,r){const i=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),o=n.enter("strong"),s=n.createTracker(r),a=s.move(i+i);let c=s.move(n.containerPhrasing(e,{after:i,before:a,...s.current()}));const l=c.charCodeAt(0),u=ac(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=sc(l)+c.slice(1));const p=c.charCodeAt(c.length-1),h=ac(r.after.charCodeAt(0),p,i);h.inside&&(c=c.slice(0,-1)+sc(p));const f=s.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:u.outside},a+c+f}_c.peek=function(e,t,n){return n.options.strong||"*"};const Ac={blockquote:function(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const s=n.indentLines(n.containerFlow(e,o.current()),ec);return i(),s},break:rc,code:function(e,t,n,r){const i=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),o=e.value||"",s="`"===i?"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(o,ic);return e(),t}const a=n.createTracker(r),c=i.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,s=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++o>s&&(s=o):o=1,i=r+t.length,r=n.indexOf(t,i);return s}(o,i)+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"),o&&(u+=a.move(o+"\n")),u+=a.move(c),l(),u},definition:function(e,t,n,r){const i=oc(n),o='"'===i?"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${o}`),l+=c.move(" "+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),a()),s(),l},emphasis:cc,hardBreak:rc,heading:function(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(function(e,t){let n=!1;return ir(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)&&Ce(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),s=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),s+"\n"+(1===i?"=":"-").repeat(s.length-(Math.max(s.lastIndexOf("\r"),s.lastIndexOf("\n"))+1))}const s="#".repeat(i),a=n.enter("headingAtx"),c=n.enter("phrasing");o.move(s+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...o.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:hc,link:dc,linkReference:mc,list:function(e,t,n,r){const i=n.enter("list"),o=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),Tc(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=o,i(),l},listItem:function(e,t,n,r){const i=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 o=n.bulletCurrent||Ec(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let s=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));const a=n.createTracker(r);a.move(o+" ".repeat(s-o.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?o:o+" ".repeat(s-o.length))+e});return c(),l},paragraph:function(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),s=n.containerPhrasing(e,r);return o(),i(),s},root:function(e,t,n,r){return(e.children.some(function(e){return gc(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=(Tc(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 Sc(e){this.exit(e),this.data.inTable=void 0}function bc(e){this.enter({type:"tableRow",children:[]},e)}function Ic(e){this.exit(e)}function Oc(e){this.enter({type:"tableCell",children:[]},e)}function kc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Cc));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Cc(e,t){return"|"===t?t:e}function Nc(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=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 i=-1;const o=[],s=t.enter("table");for(;++i<r.length;)o[i]=c(r[i],t,n);return s(),o}(e,n,r),e.align)},tableCell:s,tableRow:function(e,t,n,r){const i=c(e,n,r),o=a([i]);return o.slice(0,o.indexOf("\n"))}}};function s(e,t,n,r){const i=n.enter("tableCell"),s=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:o,after:o});return s(),i(),a}function a(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Ka,o=[],s=[],a=[],c=[];let l=0,u=-1;for(;++u<e.length;){const t=[],r=[];let o=-1;for(e[u].length>l&&(l=e[u].length);++o<e[u].length;){const s=Za(e[u][o]);if(!1!==n.alignDelimiters){const e=i(s);r[o]=e,(void 0===c[o]||e>c[o])&&(c[o]=e)}t.push(s)}s[u]=t,a[u]=r}let p=-1;if("object"==typeof r&&"length"in r)for(;++p<l;)o[p]=Ja(r[p]);else{const e=Ja(r);for(;++p<l;)o[p]=e}p=-1;const h=[],f=[];for(;++p<l;){const e=o[p];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,c[p]-t.length-r.length);const s=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&(i=t.length+i+r.length,i>c[p]&&(c[p]=i),f[p]=i),h[p]=s}s.splice(1,0,h),a.splice(1,0,f),u=-1;const d=[];for(;++u<s.length;){const e=s[u],t=a[u];p=-1;const r=[];for(;++p<l;){const i=e[p]||"";let s="",a="";if(!1!==n.alignDelimiters){const e=c[p]-(t[p]||0),n=o[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&&""===i||!1===n.delimiterStart&&!p||r.push(" "),!1!==n.alignDelimiters&&r.push(s),r.push(i),!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:i})}function c(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("tableRow");for(;++i<r.length;)o[i]=s(r[i],0,t,n);return a(),o}}function Dc(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function vc(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 i,o=-1;for(;++o<r.length;){const e=r[o];if("paragraph"===e.type){i=e;break}}i===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 i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,s="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(s);let c=Ac.listItem(e,t,n,{...r,...a.current()});return o&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+s})),c}const Pc=Fc(/[A-Za-z]/),Lc=Fc(/[\dA-Za-z]/);Fc(/[#-'*+\--9=?A-Z^-~]/);Fc(/\d/),Fc(/[\dA-Fa-f]/),Fc(/[!-/:-@[-`{-~]/);function Mc(e){return null!==e&&(e<0||32===e)}const xc=Fc(/\p{P}|\p{S}/u),wc=Fc(/\s/);function Fc(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}const Bc={tokenize:function(e,t,n){let r=0;return function t(o){if((87===o||119===o)&&r<3)return r++,e.consume(o),t;if(46===o&&3===r)return e.consume(o),i;return n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},Uc={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(Gc,c,a)(t):null===t||Mc(t)||wc(t)||45!==t&&xc(t)?c(t):(o=!0,e.consume(t),s)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function c(e){return i||r||!o?n(e):t(e)}},partial:!0},Hc={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?o(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(Gc,t,o)(s):null===s||Mc(s)||wc(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},Gc={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),o):93===s?(e.consume(s),i):60===s||null===s||Mc(s)||wc(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||Mc(e)||wc(e)?t(e):r(e)}function o(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},jc={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||!Vc.call(r,r.previous)||Zc(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Bc,e.attempt(Uc,e.attempt(Hc,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Vc},Yc={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let i="",o=!1;return function(t){if((72===t||104===t)&&Qc.call(r,r.previous)&&!Zc(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s;return n(t)};function s(t){if(Pc(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),o?c:(o=!0,a)):n(t)}function c(t){return null===t||function(e){return null!==e&&(e<32||127===e)}(t)||Mc(t)||wc(t)||xc(t)?n(t):e.attempt(Uc,e.attempt(Hc,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 i,o;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(jc,l,c)(t):45===t||95===t||Lc(t)?(o=!0,e.consume(t),a):l(t)}function c(t){return e.consume(t),i=!0,a}function l(s){return o&&i&&Pc(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:Xc},$c={};let Wc=48;for(;Wc<123;)$c[Wc]=qc,Wc++,58===Wc?Wc=65:91===Wc&&(Wc=97);function Vc(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Mc(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 i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(el(r))return e.enter(n),s(r);return t(r)};function s(r){return el(r)&&o++<i?(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 i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function il(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const e=r.events[i][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(i){if(!s||!s._balanced)return n(i);const a=Pt(r.sliceSerialize({start:s.end,end:r.now()}));if(94!==a.codePointAt(0)||!o.includes(a.slice(1)))return n(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function ol(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 i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.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",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...c),e}function sl(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,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&&!o||null===a||91===a||Jc(a))return n(a);if(93===a){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes(Pt(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return Jc(a)||(o=!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,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,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 o=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"),i.includes(o)||i.push(o),nl(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return t(e)}}function cl(e,t,n){return e.check(it,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 i=this.previous,o=this.events;let s=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),a(t)};function a(o){const c=an(i);if(126===o)return s>1?r(o):(e.consume(o),s++,a);if(s<2&&!t)return r(o);const l=e.exit("strikethroughSequenceTemporary"),u=an(o);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(o)}},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 i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],a=t.parser.constructs.insideSpan.null;a&&ve(s,s.length,0,Kt(a,e.slice(r+1,n),t)),ve(s,s.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),ve(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 hl(e){return null!==e&&(e<0||32===e)}function fl(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 i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(fl(r))return e.enter(n),s(r);return t(r)};function s(r){return fl(r)&&o++<i?(e.consume(r),s):(e.exit(n),t(r))}}class El{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0===n&&0===r.length)return;for(;i<e.map.length;){if(e.map[i][0]===t)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;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 Tl(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}function gl(e,t,n){const r=this;let i,o=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 i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?A:a;if(o===A&&r.parser.lazy[r.now().line])return n(e);return o(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return c(e);return i=!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):fl(t)?ml(e,c,"whitespace")(t):(s+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||hl(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"),i=!1,fl(t)?ml(e,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t))}function h(t){return 45===t||58===t?d(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):_(t)}function f(t){return fl(t)?ml(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||pl(t)?g(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?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(t))}function T(t){return fl(t)?ml(e,g,"whitespace")(t):g(t)}function g(n){return 124===n?h(n):(null===n||pl(n))&&i&&o===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)):fl(n)?ml(e,y,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||hl(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?b:S)}function b(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function _l(e,t){let n,r,i,o=-1,s=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,p=0;const h=new El;for(;++o<e.length;){const f=e[o],d=f[1];"enter"===f[0]?"tableHead"===d.type?(u=!1,0!==p&&(yl(h,t,p,n,r),r=void 0,p=0),n={type:"table",start:Object.assign({},d.start),end:Object.assign({},d.end)},h.add(o,0,[["enter",n,t]])):"tableRow"===d.type||"tableDelimiterRow"===d.type?(s=!0,i=void 0,c=[0,0,0,0],l=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},d.start),end:Object.assign({},d.end)},h.add(o,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],i=Al(h,t,c,a,void 0,i)),c=l,l=[c[1],o,0,0])):(s=!1,0===l[2]&&(0!==c[1]&&(l[0]=l[1],i=Al(h,t,c,a,void 0,i),c=[0,0,0,0]),l[2]=o)):"tableHead"===d.type?(u=!0,p=o):"tableRow"===d.type||"tableDelimiterRow"===d.type?(p=o,0!==c[1]?(l[0]=l[1],i=Al(h,t,c,a,o,i)):0!==l[1]&&(i=Al(h,t,l,a,o,i)),a=0):!a||"data"!==d.type&&"tableDelimiterMarker"!==d.type&&"tableDelimiterFiller"!==d.type||(l[3]=o)}for(0!==p&&yl(h,t,p,n,r),h.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Tl(t.events,o))}return e}function Al(e,t,n,r,i,o){const s=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},Sl(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const a=Sl(t.events,n[1]);if(o={type:s,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const i=Sl(t.events,n[2]),o=Sl(t.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){const r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){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!==i&&(o.end=Object.assign({},Sl(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function yl(e,t,n,r,i){const o=[],s=Sl(t.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function Sl(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}Il(/[A-Za-z]/),Il(/[\dA-Za-z]/),Il(/[#-'*+\--9=?A-Z^-~]/);Il(/\d/),Il(/[\dA-Fa-f]/),Il(/[!-/:-@[-`{-~]/);function bl(e){return-2===e||-1===e||32===e}Il(/\p{P}|\p{S}/u),Il(/\s/);function Il(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}const Ol={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"),i};function i(t){return function(e){return null!==e&&(e<0||32===e)}(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(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):bl(r)?e.check({tokenize:kl},t,n)(r):n(r)}}};function kl(e,t,n){return function(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return bl(r)?(e.enter(n),s(r)):t(r)};function s(r){return bl(r)&&o++<i?(e.consume(r),s):(e.exit(n),t(r))}}(e,function(e){return null===e?n(e):t(e)},"whitespace")}const Cl={};function Nl(e){const t=e||Cl,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Fe([{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:il,resolveTo:ol}}},ul(e),{flow:{null:{name:"table",tokenize:gl,resolveAll:_l}}},{text:{91:Ol}}])}(t)),i.push([{transforms:[Ra],enter:{literalAutolink:Oa,literalAutolinkEmail:ka,literalAutolinkHttp:ka,literalAutolinkWww:ka},exit:{literalAutolink:va,literalAutolinkEmail:Da,literalAutolinkHttp:Ca,literalAutolinkWww:Na}},{enter:{gfmFootnoteCallString:xa,gfmFootnoteCall:wa,gfmFootnoteDefinitionLabelString:Fa,gfmFootnoteDefinition:Ba},exit:{gfmFootnoteCallString:Ua,gfmFootnoteCall:Ha,gfmFootnoteDefinitionLabelString:Ga,gfmFootnoteDefinition:ja}},{canContainEols:["delete"],enter:{strikethrough:Va},exit:{strikethrough:Qa}},{enter:{table:yc,tableData:Oc,tableHeader:Oc,tableRow:bc},exit:{codeText:kc,table:Sc,tableData:Ic,tableHeader:Ic,tableRow:Ic}},{exit:{taskListCheckValueChecked:Dc,taskListCheckValueUnchecked:Dc,paragraph:vc}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ba,notInConstruct:Ia},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ba,notInConstruct:Ia},{character:":",before:"[ps]",after:"\\/",inConstruct:ba,notInConstruct:Ia}]},Ya(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Wa}],handlers:{delete:Xa}},Nc(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Rc}}]}}(t))}function Dl(){return e=>{const t=/^:::(\w+)(?:\[(.*?)\])?\s*$/,n=/^:::\s*$/,r=/^:::(\w+)(?:\[(.*?)\])?\s*([\s\S]*?)\s*:::$/,i=[];let o=[],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),h=l.match(r);if(h){const e=h[1],t=h[2]?h[2]?.trim():void 0,n=h[3],r={type:"admonition",data:{hName:"Admonition",hProperties:{type:e,title:t}},children:[{type:"text",value:n?.trim()}]};return void i.push(r)}if(u)return a=u[1],c=u[2]||a,void(s=!0);if(p&&s)return i.push({type:"admonition",data:{hName:"Admonition",hProperties:{type:a,title:c}},children:o}),o=[],s=!1,a=null,void(c=null)}s?o.push(e):i.push(e)}),o.length>0&&a&&i.push({type:"admonition",data:{hName:"Admonition",hProperties:{type:a,title:c}},children:o}),e.children=i}}const vl=function({children:e}){return(0,Oe.jsx)(Vr,{rehypePlugins:[ma],remarkPlugins:[Nl,Dl],components:{pre:e=>(0,Oe.jsx)("div",{...e}),code({node:e,inline:t,className:n,children:r,...i}){const o=/language-(\w+)/.exec(n||"");return o?(0,Oe.jsx)(s.default,{className:n,language:o[1],...i,children:r}):(0,Oe.jsx)("code",{className:n,...i,children:r})},admonition:({node:e,...t})=>{const n=e.data?.hProperties?.type||"note",r=e.data?.hProperties?.title||n,i=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:i}=e;return`<${n} ${r?Object.entries(r).map(([e,t])=>`${e}="${t}"`).join(" "):""}>${i?i.map(t).join(""):""}</${n}>`;default:return""}};return e.map(t).join("")}(e.children);return(0,Oe.jsx)(o.A,{type:n,title:r,...t,children:(0,Oe.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})})}},children:e})}},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 i=r(n(96540));t.default=e=>i.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:i,stderr:o}=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 h(e)}}const h=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=i?i.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>A(t.template,...e),Object.setPrototypeOf(t,f.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 f(e){return h(e)}for(const[S,b]of Object.entries(r))u[S]={get(){const e=T(this,E(b.open,b.close,this._styler),this._isEmpty);return Object.defineProperty(this,S,{value:e}),e}};u.visible={get(){const e=T(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const d=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const S of d)u[S]={get(){const{level:e}=this;return function(...t){const n=E(r.color[l[e]][S](...t),r.color.close,this._styler);return T(this,n,this._isEmpty)}}};for(const S of d){u["bg"+S[0].toUpperCase()+S.slice(1)]={get(){const{level:e}=this;return function(...t){const n=E(r.bgColor[l[e]][S](...t),r.bgColor.close,this._styler);return T(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,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},T=(e,t,n)=>{const r=(...e)=>c(e[0])&&c(e[0].raw)?g(r,A(r,...e)):g(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,m),r._generator=e,r._styler=t,r._isEmpty=n,r},g=(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:i}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=s(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=a(t,i,r,o)),r+t+i};let _;const A=(e,...t)=>{const[r]=t;if(!c(r)||!c(r.raw))return t.join(" ");const i=t.slice(1),o=[r.raw[0]];for(let n=1;n<r.length;n++)o.push(String(i[n-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[n]));return void 0===_&&(_=n(12991)),_(e,o.join(""))};Object.defineProperties(f.prototype,u);const y=f();y.supportsColor=i,y.stderr=f({level:o?o.level:0}),y.stderr.supportsColor=o,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$/,i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,o=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)):o.get(e)||e}function a(e,t){const n=[],o=t.trim().split(/\s*,\s*/g);let a;for(const c of o){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(i,(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 i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);r=o.length>0?r[i](...o):r[i]}return r}e.exports=(e,n)=>{const r=[],i=[];let o=[];if(n.replace(t,(t,n,a,u,p,h)=>{if(n)o.push(s(n));else if(u){const t=o.join("");o=[],i.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");i.push(l(e,r)(o.join(""))),o=[],r.pop()}else o.push(h)}),i.push(o.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},4058(e){"use strict";e.exports={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,s="";do{s+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return s+=e.substr(o),s},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const s="\r"===e[r-1];o+=e.substr(i,(s?r-1:r)-i)+t+(s?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}}},15659(e,t,n){const r=n(8156),i={};for(const a of Object.keys(r))i[r[a]]=a;const o={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=o;for(const a of Object.keys(o)){if(!("channels"in o[a]))throw new Error("missing channels property: "+a);if(!("labels"in o[a]))throw new Error("missing channel labels property: "+a);if(o[a].labels.length!==o[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:e,labels:t}=o[a];delete o[a].channels,delete o[a].labels,Object.defineProperty(o[a],"channels",{value:e}),Object.defineProperty(o[a],"labels",{value:t})}function s(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}o.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=o-i;let a,c;o===i?a=0:t===o?a=(n-r)/s:n===o?a=2+(r-t)/s:r===o&&(a=4+(t-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+o)/2;return c=o===i?0:l<=.5?s/(o+i):s/(2-o-i),[a,100*c,100*l]},o.rgb.hsv=function(e){let t,n,r,i,o;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?(i=0,o=0):(o=u/l,t=p(s),n=p(a),r=p(c),s===l?i=r-n:a===l?i=1/3+t-r:c===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},o.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=o.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)),[i,100*s,100*r]},o.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},o.rgb.keyword=function(e){const t=i[e];if(t)return t;let n,o=1/0;for(const i of Object.keys(r)){const t=s(e,r[i]);t<o&&(o=t,n=i)}return n},o.keyword.rgb=function(e){return r[e]},o.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)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*r-16,500*(n-r),200*(r-i)]},o.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,s;if(0===n)return s=255*r,[s,s,s];i=r<.5?r*(1+n):r+n-r*n;const a=2*r-i,c=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,c[l]=255*s;return c},o.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;return[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),c=255*r*(1-n*(1-o));switch(r*=255,i){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]}},o.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,s;s=(2-n)*r;const a=(2-n)*i;return o=n*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},o.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const s=Math.floor(6*t),a=1-r;o=6*t-s,1&s&&(o=1-o);const c=n+o*(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]},o.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},o.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},o.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)]},o.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,s=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(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]},o.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(n*n+r*r),i]},o.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)]},o.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let s=null===t?o.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===s&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.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)},o.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]},o.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]},o.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},o.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]},o.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),s=i-o;let a,c;return a=s<1?o/(1-s):0,c=s<=0?0:i===t?(n-r)/s%6:i===n?2+(r-t)/s:4+(t-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},o.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},o.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.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 i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let c=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-n)*r,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},o.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]},o.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]},o.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)]},o.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.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},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},10734(e,t,n){const r=n(15659),i=n(8507),o={};Object.keys(r).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});const t=i(e);Object.keys(t).forEach(n=>{const r=t[n];o[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,i=0;i<e;i++)r[i]=Math.round(r[i]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),o[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=o},8507(e,t,n){const r=n(15659);function i(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(),i=Object.keys(r[e]);for(let r=i.length,o=0;o<r;o++){const r=i[o],s=t[r];-1===s.distance&&(s.distance=t[e].distance+1,s.parent=e,n.unshift(r))}}return t}function o(e,t){return function(n){return t(e(n))}}function s(e,t){const n=[t[e].parent,e];let i=r[t[e].parent][e],s=t[e].parent;for(;t[s].parent;)n.unshift(t[s].parent),i=o(r[t[s].parent][s],i),s=t[s].parent;return i.conversion=n,i}e.exports=function(e){const t=i(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o<i;o++){const e=r[o];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,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function n(){for(var e,n,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(n=t(e))&&(i&&(i+=" "),i+=n);return i}e.exports=n,e.exports.clsx=n},92849(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=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,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)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(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,l,u,p=arguments[0],h=1,f=arguments.length,d=!1;for("boolean"==typeof p&&(d=p,p=arguments[1]||{},h=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});h<f;++h)if(null!=(t=arguments[h]))for(n in t)r=c(p,n),p!==(i=c(t,n))&&(d&&i&&(s(i)||(l=o(i)))?(l?(l=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},a(p,{name:n,newValue:e(d,u,i)})):void 0!==i&&a(p,{name:n,newValue:i}));return p}},5077(e){"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\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,h=1;function f(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function d(){var e={line:p,column:h};return function(t){return t.position=new m(e),g(),t}}function m(e){this.start=e,this.end={line:p,column:h},this.source=c.source}function E(t){var n=new Error(c.source+":"+p+":"+h+": "+t);if(n.reason=t,n.filename=c.source,n.line=p,n.column=h,n.source=e,!c.silent)throw n}function T(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function g(){T(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 h+=2,f(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function y(){var e=d(),n=T(i);if(n){if(A(),!T(o))return E("property missing ':'");var r=T(s),c=e({type:"declaration",property:u(n[0].replace(t,l)),value:r?u(r[0].replace(t,l)):l});return T(a),c}}return m.prototype.content=e,g(),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),i=n(63862),o=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=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},80079(e,t,n){var r=n(63702),i=n(70080),o=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=i,c.prototype.get=o,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),i=n(17670),o=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=i,c.prototype.get=o,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),i=n(51420),o=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=i,l.prototype.delete=o,l.prototype.get=s,l.prototype.has=a,l.prototype.set=c,e.exports=l},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),i=n(72428),o=n(56449),s=n(3656),a=n(30361),c=n(37167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),p=!n&&!u&&s(e),h=!n&&!u&&!p&&c(e),f=n||u||p||h,d=f?r(e.length,String):[],m=d.length;for(var E in e)!t&&!l.call(e,E)||f&&("length"==E||p&&("offset"==E||"parent"==E)||h&&("buffer"==E||"byteLength"==E||"byteOffset"==E)||a(E,m))||d.push(E);return d}},87805(e,t,n){var r=n(43360),i=n(75288);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547(e,t,n){var r=n(43360),i=n(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];o.call(e,t)&&i(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),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},86649(e,t,n){var r=n(83221)();e.exports=r},45083(e,t,n){var r=n(1882),i=n(87296),o=n(23805),s=n(47473),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,h=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:a).test(s(e))}},4901(e,t,n){var r=n(72552),i=n(30294),o=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 o(e)&&i(e.length)&&!!s[r(e)]}},88984(e,t,n){var r=n(55527),i=n(3650),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903(e,t,n){var r=n(23805),i=n(55527),o=n(90181),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(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),i=n(87805),o=n(86649),s=n(42824),a=n(23805),c=n(37241),l=n(14974);e.exports=function e(t,n,u,p,h){t!==n&&o(n,function(o,c){if(h||(h=new r),a(o))s(t,n,c,u,e,p,h);else{var f=p?p(l(t,c),o,c+"",t,n,h):void 0;void 0===f&&(f=o),i(t,c,f)}},c)}},42824(e,t,n){var r=n(87805),i=n(93290),o=n(71961),s=n(23007),a=n(35529),c=n(72428),l=n(56449),u=n(83693),p=n(3656),h=n(1882),f=n(23805),d=n(11331),m=n(37167),E=n(14974),T=n(69884);e.exports=function(e,t,n,g,_,A,y){var S=E(e,n),b=E(t,n),I=y.get(b);if(I)r(e,n,I);else{var O=A?A(S,b,n+"",e,t,y):void 0,k=void 0===O;if(k){var C=l(b),N=!C&&p(b),D=!C&&!N&&m(b);O=b,C||N||D?l(S)?O=S:u(S)?O=s(S):N?(k=!1,O=i(b,!0)):D?(k=!1,O=o(b,!0)):O=[]:d(b)||c(b)?(O=S,c(S)?O=T(S):f(S)&&!h(S)||(O=a(b))):k=!1}k&&(y.set(b,O),_(O,b,g,A,y),y.delete(b)),r(e,n,O)}}},69302(e,t,n){var r=n(83488),i=n(56757),o=n(32865);e.exports=function(e,t){return o(i(e,t,r),e+"")}},19570(e,t,n){var r=n(37334),i=n(93243),o=n(83488),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;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),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?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),i=n(43360);e.exports=function(e,t,n,o){var s=!n;n||(n={});for(var a=-1,c=t.length;++a<c;){var l=t[a],u=o?o(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),s?i(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),i=n(36800);e.exports=function(e){return r(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r<o;){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 i=-1,o=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===n(o[c],c,o))break}return t}}},93243(e,t,n){var r=n(56110),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},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),i=n(10392);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},28879(e,t,n){var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},5861(e,t,n){var r=n(55580),i=n(68223),o=n(32804),s=n(76545),a=n(28303),c=n(72552),l=n(47473),u="[object Map]",p="[object Promise]",h="[object Set]",f="[object WeakMap]",d="[object DataView]",m=l(r),E=l(i),T=l(o),g=l(s),_=l(a),A=c;(r&&A(new r(new ArrayBuffer(1)))!=d||i&&A(new i)!=u||o&&A(o.resolve())!=p||s&&A(new s)!=h||a&&A(new a)!=f)&&(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 T:return p;case g:return h;case _:return f}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),i=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 i.call(t,e)?t[e]:void 0}},12749(e,t,n){var r=n(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.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),i=n(28879),o=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},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),i=n(64894),o=n(30361),s=n(23805);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?i(n)&&o(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,i=n(55481),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o 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),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.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__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},63040(e,t,n){var r=n(21549),i=n(80079),o=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),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),i=n.size;return n.set(e,t),this.size+=n.size==i?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),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&r.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=a},74335(e){e.exports=function(e,t){return function(n){return e(t(n))}}},56757(e,t,n){var r=n(91033),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=o[s];return l[t]=n(c),r(e,this,l)}}},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),i=n(51811)(r);e.exports=i},51811(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>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),i=n(68223),o=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(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}},83488(e){e.exports=function(e){return e}},64894(e,t,n){var r=n(1882),i=n(30294);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},83693(e,t,n){var r=n(64894),i=n(40346);e.exports=function(e){return i(e)&&r(e)}},3656(e,t,n){e=n.nmd(e);var r=n(9325),i=n(89935),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},62193(e,t,n){var r=n(88984),i=n(5861),o=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)||o(e)))return!e.length;var t=i(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),i=n(23805);e.exports=function(e){if(!i(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)}},11331(e,t,n){var r=n(72552),i=n(28879),o=n(40346),s=Function.prototype,a=Object.prototype,c=s.toString,l=a.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(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),i=n(27301),o=n(86009),s=o&&o.isTypedArray,a=s?i(s):r;e.exports=a},37241(e,t,n){var r=n(70695),i=n(72903),o=n(64894);e.exports=function(e){return o(e)?r(e,!0):i(e)}},55364(e,t,n){var r=n(85250),i=n(20999)(function(e,t,n){r(e,t,n)});e.exports=i},89935(e){e.exports=function(){return!1}},69884(e,t,n){var r=n(21791),i=n(37241);e.exports=function(e){return r(e,i(e))}},65606(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!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:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var a,c=[],l=!1,u=-1;function p(){l&&a&&(l=!1,a.length?c=a.concat(c):u=-1,c.length&&h())}function h(){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===o||!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 f(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 f(e,t)),1!==c.length||l||s(h)},f.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)),i=n(98917);function o(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n):n}o.default=o,e.exports=o},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,i=/^[^-]+$/,o=/^-(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||i.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,c):e.replace(o,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,i.default)(e),o="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;const{property:r,value:i}=e;o?t(r,i,e):i&&(n=n||{},n[r]=i)}),n};const i=r(n(5077))},2747(e){"use strict";e.exports={stdout:!1,stderr:!1}},85160(e,t,n){"use strict";var r=n(96540);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=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 h={hasValue:!1,value:null};p.current=h}else h=p.current;p=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),void 0!==u&&h.hasValue){var t=h.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return void 0!==u&&u(t,n)?(o=e,t):(o=e,s=n)}var o,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 f=o(e,p[0],p[1]);return a(function(){h.hasValue=!0,h.value=f},[f]),l(f),f}},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 i=r(n(86308));function o(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&&o(t);if(s(t,"<"+e.name),function(e,t){Object.keys(t).forEach(function(n){const r=t[n].replace(/"/g,"&quot;");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 i="preserve"===e.attributes["xml:space"]||n,c=!1;if(!i&&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),i=c),!i&&t.options.collapseContent){let e=!1,t=!1,o=!1;r.forEach(function(i,s){"Text"===i.type?(i.content.includes("\n")?(t=!0,i.content=i.content.trim()):0!==s&&s!==r.length-1||n||0===i.content.trim().length&&(i.content=""),(i.content.trim().length>0||1===r.length)&&(e=!0)):"CDATA"===i.type?e=!0:o=!0}),!e||o&&t||(i=!0)}r.forEach(function(e){a(e,t,n||i)}),t.level--,n||i||o(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&&o(t),s(t,e))}(e.content,t,n)}}function c(e,t){t.content.length>0&&o(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,i.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 i(){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 o(){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:""},i=r.xml.indexOf("?>");if(!(i>-1))throw new n("Failed to parse XML","ProcessingInstruction closing tag not found");return t.content=r.xml.substring(0,i).trim(),r.xml=r.xml.slice(i),u(/\?>/),{excluded:!1===r.options.filter(t),node:t}}function a(e){const t=u(/^<([^?!</>\s]+)\s*/);if(!t)return;const o={type:"Element",name:t[1],attributes:{},children:[]},s=!e&&!1===r.options.filter(o);for(;!(p()||h(">")||h("?>")||h("/>"));){const e=l();if(!e)return;o.attributes[e.name]=e.value}if(u(/^\s*\/>/))return o.children=null,{excluded:s,node:o};u(/\??>/);let a=i();for(;a;)a.excluded||o.children.push(a.node),a=i();if(r.options.strictMode){const e=`</${o.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:o}}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 h(e){return 0===r.xml.indexOf(e)}function f(e,t={}){e=e.trim();const i=t.filter||(()=>!0);return r={xml:e,options:Object.assign(Object.assign({},t),{filter:i,strictMode:!0===t.strictMode})},function(){const e=s(),t=[];let i,a=o();for(;a;){if("Element"===a.node.type){if(i)throw new Error("Found multiple root nodes");i=a.node}a.excluded||t.push(a.node),a=o()}if(!i)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:i,children:t}}()}t.ParsingError=n,e.exports=f,t.default=f},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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const r=(e={},t,n,r)=>{const i=`/${t}`,o="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(i in e)a=e[i];else if(!o&&!s)return;return a="function"==typeof a?a({key:t,path:n,value:r}):a,s&&(a=Object.assign(Object.assign({},s),a)),o?Object.assign(Object.assign({"/**":e["/**"]},o),a):a},i=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 o=n.map(n=>"function"==typeof n[r]?n[r](e,t):n[r]);return i(o)}}else t[r]=n[0][r]}return t},o=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)?i(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 i=e.keys[e.keyIndex++],[a,h,f]=p.length>1?[e.data[i],[...e.path,i],r(e.rules,i,[...e.path,i],e.data[i])]:[e.data,e.path,u];let d={value:a,path:h,key:i,state:e.state,rules:f};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:i,exitHook:o}=e,s=n(e,["terminate","done","exitHook"]);if(t)return;if(o&&m.push(o),d=Object.assign(Object.assign({},d),s),i){d=null;break}}if(d&&o(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:h,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:i,state:s})=>{if(i=r.length?i:"#",o(t)&&o(n)){if(e.has(t))return s.node[i]=e.get(t),{done:!0};const r=Array.isArray(n)?[]:{};s.node[i]=r,e.set(t,r)}else s.node[i]=n;return{value:n,state:Object.assign(Object.assign({},s),{node:s.node[i]})}}]};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(o(e)&&o(t)){const n=Object.assign({},e);for(const e of Object.keys(t))n[e]=p(n[e],t[e]);return n}return t},h=e=>e&&e.$ref&&"string"==typeof e.$ref,f=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("#"),i=r&&"/"!==r?r:"";return{filePath:n,pointer:i,normalized:E(n,i),jsonPath:_(i)}},E=(e,t)=>e?`${e}${t?"#"+t:""}`:t?`#${t}`:"#",T=(e,t,n=[t])=>{if(!o(e))return;let r=e;const i=_(t);for(const s of i)if(Array.isArray(r)&&r.length>+s)r=r[+s];else if(o(r)&&s in r)r=r[s];else{if(!h(r))return;{const t=m(r.$ref);r=t.filePath||n.includes(t.pointer)?void 0:T(e,t.pointer,[...n,t.pointer])}}return r},g={slash:/\//g,tilde:/~/g,escapedSlash:/~1/g,escapedTilde:/~0/g},_=e=>e.split("/").map(e=>decodeURIComponent(e.replace(g.escapedSlash,"/").replace(g.escapedTilde,"~"))).slice(1),A=e=>e.length?"/"+e.map(e=>encodeURIComponent(String(e).replace(g.tilde,"~0").replace(g.slash,"~1"))).join("/"):"",y=(e,t)=>JSON.stringify(e)==JSON.stringify(t),S=e=>{let t=1;for(;e*t%1!=0;)t*=10;return t};function b(e){const t=e.reduce((e,t)=>Math.max(e,S(t)),0);return e.reduce((e,n)=>Math.round(e*t*n*t/I(e*t,n*t))/t)}function I(e,t){return 0===t?e:I(t,e%t)}const O=e=>{if(0===e.length)return[[]];const t=e[0],n=e.slice(1),r=O(n),i=[];for(const o of t)for(const e of r)i.push([o,...e]);return i},k=e=>{const t=[];for(const n of e){if(!("properties"in n))continue;const r=new Set(Object.keys(n.properties)),i=new l;for(const t of r.values())for(const o of e)if(!(o==n||o.properties&&t in o.properties))if("patternProperties"in o&&o.patternProperties)for(const e of Object.keys(o.patternProperties))new RegExp(e).test(t)||r.delete(t);else"additionalProperties"in o&&(!1===o.additionalProperties?r.delete(t):"object"==typeof o.additionalProperties&&i.add(t,o.additionalProperties));if(!r.size)continue;const o={};for(const e of r.values())i.has(e)?o[e]={allOf:[n.properties[e],...i.get(e)]}:o[e]=n.properties[e];t.push(o)}return t},C=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 i={};for(const e of r.values())i[e]=n.patternProperties[e];t.push(i)}return t},N=e=>{const t={},n=P(e);for(const[r,i]of Object.entries(n))i.includes(!1)?t[r]=!1:t[r]=i.length>1?{allOf:i}:i[0];return t},D=(e,t)=>!!e.reduce((e,t)=>e&&!0===t,!0)||L(e,t),v=()=>"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=C(e));for(let[i,o]of Object.entries(r)){if(!o.length)continue;const r=t.mergeRules;let s=`/${i}`in r?r[`/${i}`]: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(i));const c=o.length>1?a(o,Object.assign(Object.assign({},t),{allOfItems:e})):o[0];void 0===c?t.mergeError(o):n[i]=c}return Object.keys(n).length?n:void 0},M=e=>e[e.length-1],x=e=>e.reduce((e,t)=>e||t,!1),w=e=>Math.min(...e),F=e=>Math.max(...e),B=e=>e.length>1?e.reduce((e,t)=>`${e}(?=${t})`,""):e[0],U=([e,...t])=>t.reduce((e,t)=>e.filter(e=>t.includes(e)),e),H=([e,...t])=>t.find(t=>!y(t,e))?void 0:e,G=([e,...t])=>t.reduce((e,t)=>p(e,t),e),j=e=>O(e).map(e=>({allOf:e})),z=e=>({anyOf:e}),Y=e=>b(e),q=(e,t)=>{const n=e.map(e=>e.map(e=>JSON.stringify(e))),r=U(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=U(n);return 1===r.length?r[0]:r.length?r:void 0},W=e=>{const t=new Set;for(const n of e)for(const e of n)t.add(e);return Array.from(t).sort()},V=(e,t)=>{const n={},r=P(e);for(const[i,o]of Object.entries(r))if(o.reduce((e,t)=>e&&Array.isArray(t),!0))n[i]=W(o);else{const e=o.map(e=>Array.isArray(e)?{required:e}:e);n[i]=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,i=0;const o=new l;for(const c of t.allOfItems)"additionalItems"in c&&c.additionalItems&&"items"in c&&Array.isArray(c.items)&&o.add(c.items.length,c.additionalItems),"items"in c&&(n.push(c.items),Array.isArray(c.items)&&(i=Math.max(i,c.items.length),"additionalItems"in c&&!1===c.additionalItems&&(r=Math.min(r,c.items.length))));const s=Math.min(i,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++)o.has(n)&&t.push(...o.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 i of t.allOfItems)"items"in i&&!Array.isArray(i.items)&&r.push(i.items),"additionalItems"in i&&"items"in i&&Array.isArray(i.items)&&n.push(i.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":{$:x},"/minimum":{$:F},"/exclusiveMinimum":{$:x},"/maxLength":{$:w},"/minLength":{$:F},"/maxItems":{$:w},"/minItems":{$:F},"/uniqueItems":{$:x},"/maxProperties":{$:w},"/minProperties":{$:F},"/required":{$:W},"/multipleOf":{$:Y},"/enum":{$:q},"/type":{$:$},"/allOf":{"/*":()=>K(e,t),$:j},"/not":{$:z},"/oneOf":{"/*":()=>K(e,t),$:j,sibling:["definitions","$defs","$id","$schema"]},"/anyOf":{"/*":()=>K(e,t),$:j,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)),{$:D}),"/additionalItems":()=>Object.assign(Object.assign({},K(e,t)),{$:X}),"/patternProperties":{"/*":()=>K(e,t),$:N},"/pattern":{$:B},"/readOnly":{$:x},"/writeOnly":{$:x},"/example":{$:G},"/examples":{$:G},"/deprecated":{$:x}},"draft-04"!==e?{"/propertyNames":()=>K(e,t),"/contains":()=>K(e,t),"/dependencies":{"/*":()=>K(e,t),$:V},"/const":{$:H},"/exclusiveMaximum":{$:w},"/exclusiveMinimum":{$:F},"/$defs":{"/*":()=>K(e,t),$:G}}:{}),{"/definitions":{"/*":()=>K(e,t),$:G},"/xml":{$:G},"/externalDocs":{$:M},"/description":{$:M},"/title":{$:M},"/format":{$:M},"/default":{$:M},"/?":{$:M}}),t),{$:L}),Z=e=>K(e,{"/discriminator":{$:G},"/oneOf":{"/*":()=>Z(e),$:j,sibling:["discriminator"]},"/anyOf":{"/*":()=>Z(e),$:j,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)}}),ie=K("draft-06",{"/args":()=>ie,"/nullable":{$:x},"/specifiedByURL":{$:M},"/values":{$:G,"/*":{$:G,"/description":{$:M},"/deprecated":{$:M,"/reason":{$:M}}}},"/interfaces":{$:G,"/*":{$:G}},"/directives":{$:G,"/*":()=>Object.assign(Object.assign({},ie),{"/meta":{$:G}})}}),oe={"/queries":{"/*":()=>ie},"/mutations":{"/*":()=>ie},"/subscriptions":{"/*":()=>ie},"/components":{"/*":{"/*":ie},"/directives":{"/*":{"/args":()=>ie}}}},se=(e,n,r)=>{const i=r.sibling||[],o=e,s=n,a=o[s],c=t(o,["symbol"==typeof s?s:s+""]),l=u(c,i);return Object.keys(c).length?Object.assign({[n]:a.map(e=>({allOf:[c,e]}))},l):e},ae=(e,n,r,i)=>{const o=[],s=A(n),a=[],c={pointer:s,data:"",refs:[]};for(const u of e)if(h(u)&&!a.includes(u.$ref)){""===c.data&&(c.data=JSON.stringify(e));const{$ref:n}=u,l=t(u,["$ref"]),{filePath:p,normalized:h,pointer:f}=m(n);if(s===f)continue;const d=i.find(e=>e.refs.includes(u.$ref)&&e.data===c.data&&f!==e.pointer);if(d)return{allOfItems:[{$ref:`#${d.pointer}`}],brokenRefs:a};if(!c.refs.includes(h)){c.refs.push(h);const e=p?void 0:T(r,f);void 0===e?(a.push(h),o.push(u)):o.push(e)}Object.keys(l).length&&o.push(l)}else o.push(u);c.refs.length&&i.push(c);const l=ce(o);return l.find(e=>h(e)&&!a.includes(e.$ref))?ae(l,n,r,i):{allOfItems:l,brokenRefs:a}},ce=e=>{const n=[];for(const r of e)if(o(r))if(r.allOf&&Array.isArray(r.allOf)){const{allOf:e}=r,i=t(r,["allOf"]),o=Object.keys(i).length?[...e,i]:e;n.push(...ce(o))}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?oe:K()},ue=e=>{const n=new Map;let r=null==e?void 0:e.source;const i=[];return({value:s,key:a,path:c,rules:l,state:u})=>{var p;c.length||(null==e?void 0:e.source)||(r=s);const h=t=>{var r;const i=pe(c);i?n.set(...i):null===(r=null==e?void 0:e.onMergeError)||void 0===r||r.call(e,v(),c,t)},m=()=>{const{node:e}=u,t=A(c);if(n.has(t)){const r=n.get(t),i=e[a];Array.isArray(i)&&(i.length<2&&h((null==s?void 0:s.allOf)||[]),i.splice(r,1))}};if(!o(s)||Array.isArray(s))return{exitHook:m};if(!(e=>!!e&&e["/allOf"]&&"$"in e["/allOf"])(l))return{exitHook:m};const{allOf:E}=s,T=t(s,["allOf"]),g=[];if(Array.isArray(E)&&g.push(...E),g.length)Object.keys(T).length&&g.push(T);else{const{$ref:n}=T,r=t(T,["$ref"]);if((null==e?void 0:e.mergeRefSibling)&&n&&Object.keys(r).length>0)g.push({$ref:n},r);else if(null==e?void 0:e.mergeCombinarySibling){if(f(T)&&l["/anyOf"])return{value:se(T,"anyOf",l["/anyOf"]),exitHook:m};if(d(T)&&l["/oneOf"])return{value:se(T,"oneOf",l["/oneOf"]),exitHook:m}}}if(!g.length)return{value:T,exitHook:m};const{allOfItems:_,brokenRefs:y}=ae(g,c,r,i);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 S=L(_,{allOfItems:_,mergeRules:l,mergeError:h});return(null==e?void 0:e.mergeCombinarySibling)&&f(S)?{value:se(S,"anyOf",l["/anyOf"]),exitHook:m}:(null==e?void 0:e.mergeCombinarySibling)&&d(S)?{value:se(S,"oneOf",l["/oneOf"]),exitHook:m}:{value:S,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=D,e.allOfResolverHook=ue,e.alternative=x,e.buildPointer=A,e.calculateGCD=I,e.calculateLCM=b,e.createRef=E,e.dependenciesMergeResolver=V,e.equal=H,e.findCombinations=O,e.findMultiplierForInteger=S,e.first=([e])=>e,e.getAllOfItemsMap=P,e.getPatternPropertiesForMerge=C,e.getPropertiesForMerge=k,e.graphapiMergeRules=oe,e.intersectItems=U,e.isAnyOfNode=f,e.isEqual=y,e.isOneOfNode=d,e.isRefNode=h,e.itemsMergeResolver=Q,e.jsonSchemaMergeResolver=L,e.jsonSchemaMergeRules=K,e.jsonSchemaVersion=["draft-04","draft-06"],e.last=M,e.maxValue=F,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 i={"#":void 0},o=Object.assign({state:Object.assign(Object.assign({},null!==(r=n.state)&&void 0!==r?r:{}),{root:i,node:i})},n.rules?{rules:n.rules}:{}),[s,l]=c();return a(e,[s,...t,l],o),i["#"]})(e,ue(t),{rules:r})},e.mergeArray=j,e.mergeEnum=q,e.mergeMultipleOf=Y,e.mergeNot=z,e.mergeObjects=G,e.mergePattern=B,e.mergeStringItems=W,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=g,e.popValues=u,e.propertiesMergeResolver=N,e.resolvePointer=T,e.selectMergeRules=le,Object.defineProperty(e,"__esModule",{value:!0})}(t)},37372(e,t,n){"use strict";var r,i=Object.create,o=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 i of a(t))!l.call(e,i)&&i!==n&&o(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},p={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(p,{Provider:()=>ce,ReactReduxContext:()=>re,batch:()=>_e,connect:()=>ae,createDispatchHook:()=>fe,createSelectorHook:()=>Te,createStoreHook:()=>pe,shallowEqual:()=>j,useDispatch:()=>de,useSelector:()=>ge,useStore:()=>he}),e.exports=(r=p,u(o({},"__esModule",{value:!0}),r));var h=((e,t,n)=>(n=null!=e?i(c(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(96540)),f=h.version.startsWith("19"),d=Symbol.for(f?"react.transitional.element":"react.element"),m=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),A=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),k=y,C=I;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 g:case T:case S:case b:return e;default:switch(e=e&&e.$$typeof){case A:case y:case O:case I:case _:return e;default:return t}}case m:return t}}}(e)===I}function D(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:s}){let a,c,l,u,p,h=!1;function f(h,f){let d=!o(f,c),m=!i(h,a,f,c);return a=h,c=f,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(i,o){return h?f(i,o):function(i,o){return a=i,c=o,l=e(a,c),u=t(r,c),p=n(l,u,c),h=!0,p}(i,o)}}function v(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 i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=R(i),i=r(t,n)),i},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 M(e,t,n){return{...n,...e,...t}}function x(e){e()}var w={notify(){},get:()=>[]};function F(e,t){let n,r=w,i=0,o=!1;function s(){l.onStateChange&&l.onStateChange()}function a(){i++,n||(n=t?t.addNestedSub(s):e.subscribe(s),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){x(()=>{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,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||null===e||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function c(){i--,n&&0===i&&(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 o},trySubscribe:function(){o||(o=!0,a())},tryUnsubscribe:function(){o&&(o=!1,c())},getListeners:()=>r};return l}var B=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",U=typeof navigator<"u"&&"ReactNative"===navigator.product,H=B||U?h.useLayoutEffect:h.useEffect;function G(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function j(e,t){if(G(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 i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!G(e[n[i]],t[n[i]]))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},[C]:q};function W(e){return N(e)?q:$[e.$$typeof]||z}var V=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=W(e),i=W(t);for(let o=0;o<n.length;++o){let s=n[o];if(!(Y[s]||i&&i[s]||r&&r[s])){let n=K(t,s);try{V(e,s,n)}catch{}}}}return e}var te=Symbol.for("react-redux-context"),ne=typeof globalThis<"u"?globalThis:{};var re=function(){if(!h.createContext)return{};let e=ne[te]??=new Map,t=e.get(h.createContext);return t||(t=h.createContext(null),e.set(h.createContext,t)),t}(),ie=[null,null];function oe(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function se(e,t){return e===t}var ae=function(e,t,n,{pure:r,areStatesEqual:i=se,areOwnPropsEqual:o=j,areStatePropsEqual:s=j,areMergedPropsEqual:a=j,forwardRef:c=!1,context:l=re}={}){let u=l,p=function(e){return e?"function"==typeof e?P(e):L(e,"mapStateToProps"):v(()=>({}))}(e),f=function(e){return e&&"object"==typeof e?v(t=>function(e,t){let n={};for(let r in e){let i=e[r];"function"==typeof i&&(n[r]=(...e)=>t(i(...e)))}return n}(e,t)):e?"function"==typeof e?P(e):L(e,"mapDispatchToProps"):v(e=>({dispatch:e}))}(t),d=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i,o=!1;return function(t,n,s){let a=e(t,n,s);return o?r(a,i)||(i=a):(o=!0,i=a),i}}}(e):L(e,"mergeProps"):()=>M}(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:f,initMergeProps:d,areStatesEqual:i,areStatePropsEqual:s,areOwnPropsEqual:o,areMergedPropsEqual:a};function l(t){let[i,o,s]=h.useMemo(()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]},[t]),a=h.useMemo(()=>u,[i,u]),c=h.useContext(a),l=!!t.store&&!!t.store.getState&&!!t.store.dispatch,p=!!c&&!!c.store,f=l?t.store:c.store,d=p?c.getServerState:f.getState,E=h.useMemo(()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){return D(t(e,i),n(e,i),r(e,i),e,i)}(f.dispatch,r),[f]),[T,g]=h.useMemo(()=>{if(!m)return ie;let e=F(f,l?void 0:c.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,l,c]),_=h.useMemo(()=>l?c:{...c,subscription:T},[l,c,T]),A=h.useRef(void 0),y=h.useRef(s),S=h.useRef(void 0),b=h.useRef(!1),I=h.useRef(!1),O=h.useRef(void 0);H(()=>(I.current=!0,()=>{I.current=!1}),[]);let k,C=h.useMemo(()=>()=>S.current&&s===y.current?S.current:E(f.getState(),s),[f,s]),N=h.useMemo(()=>e=>T?function(e,t,r,i,o,s,a,c,l,u,p){if(!e)return()=>{};let h=!1,f=null,d=()=>{if(h||!c.current)return;let e,r,d=t.getState();try{e=i(d,o.current)}catch(n){r=n,f=n}r||(f=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(h=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}(m,f,T,E,y,A,b,I,S,g,e):()=>{},[T]);!function(e,t,n){H(()=>e(...t),n)}(oe,[y,A,b,s,S,g]);try{k=h.useSyncExternalStore(N,C,d?()=>E(d(),s):C)}catch(R){throw O.current&&(R.message+=`\nThe error may be correlated with this previous error:\n${O.current.stack}\n\n`),R}H(()=>{O.current=void 0,S.current=void 0,A.current=k});let v=h.useMemo(()=>h.createElement(e,{...k,ref:o}),[o,e,k]);return h.useMemo(()=>m?h.createElement(a.Provider,{value:_},v):v,[a,v,_])}let E=h.memo(l);if(E.WrappedComponent=e,E.displayName=l.displayName=n,c){let t=h.forwardRef(function(e,t){return h.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:i}=e,o=h.useMemo(()=>{let e=F(i);return{store:i,subscription:e,getServerState:r?()=>r:void 0}},[i,r]),s=h.useMemo(()=>i.getState(),[i]);return H(()=>{let{subscription:e}=o;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[o,s]),h.createElement((n||re).Provider,{value:o},t)};function le(e=re){return function(){return h.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 he=pe();function fe(e=re){let t=e===re?he:pe(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var de=fe(),me=n(78418),Ee=(e,t)=>e===t;function Te(e=re){let t=e===re?ue:le(e),n=(e,n={})=>{let{equalityFn:r=Ee}="function"==typeof n?{equalityFn:n}:n,i=t(),{store:o,subscription:s,getServerState:a}=i,c=(h.useRef(!0),h.useCallback({[e.name]:t=>e(t)}[e.name],[e])),l=(0,me.useSyncExternalStoreWithSelector)(s.addNestedSub,o.getState,a||o.getState,c,r);return h.useDebugValue(l),l};return Object.assign(n,{withTypes:()=>n}),n}var ge=Te(),_e=x},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:()=>Ft,SHOULD_AUTOBATCH:()=>ut,TaskAbortError:()=>an,Tuple:()=>tt,__DO_NOT_USE__ActionTypes:()=>s,addListener:()=>kn,applyMiddleware:()=>d,asyncThunkCreator:()=>wt,autoBatchEnhancer:()=>ft,bindActionCreators:()=>h,buildCreateSlice:()=>Ut,clearAllListeners:()=>Cn,combineReducers:()=>u,combineSlices:()=>Bn,compose:()=>f,configureStore:()=>dt,createAction:()=>Xe,createActionCreatorInvariantMiddleware:()=>et,createAsyncThunk:()=>Lt,createDraftSafeSelector:()=>We,createDraftSafeSelectorCreator:()=>$e,createDynamicMiddleware:()=>Pn,createEntityAdapter:()=>Zt,createImmutableStateInvariantMiddleware:()=>ot,createListenerMiddleware:()=>vn,createNextState:()=>De,createReducer:()=>Et,createSelector:()=>Ge,createSelectorCreator:()=>He,createSerializableStateInvariantMiddleware:()=>lt,createSlice:()=>Gt,createStore:()=>c,current:()=>ke,findNonSerializableValue:()=>at,formatProdErrorMessage:()=>Un,freeze:()=>V,isAction:()=>m,isActionCreator:()=>Ke,isAllOf:()=>_t,isAnyOf:()=>gt,isAsyncThunkAction:()=>kt,isDraft:()=>N,isFluxStandardAction:()=>Ze,isFulfilled:()=>Ot,isImmutableDefault:()=>it,isPending:()=>St,isPlain:()=>st,isPlainObject:()=>a,isRejected:()=>bt,isRejectedWithValue:()=>It,legacy_createStore:()=>l,lruMemoize:()=>we,miniSerializeError:()=>Rt,nanoid:()=>Ct,original:()=>L,prepareAutoBatched:()=>pt,removeListener:()=>Nn,unwrapResult:()=>Mt,weakMapMemoize:()=>Ue});var i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),o=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${o()}`,REPLACE:`@@redux/REPLACE${o()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${o()}`};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 o=e,l=t,u=new Map,p=u,h=0,f=!1;function d(){p===u&&(p=new Map,u.forEach((e,t)=>{p.set(t,e)}))}function m(){if(f)throw new Error(r(3));return l}function E(e){if("function"!=typeof e)throw new Error(r(4));if(f)throw new Error(r(5));let t=!0;d();const n=h++;return p.set(n,e),function(){if(t){if(f)throw new Error(r(6));t=!1,d(),p.delete(n),u=null}}}function T(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(f)throw new Error(r(9));try{f=!0,l=o(l,e)}finally{f=!1}return(u=p).forEach(e=>{e()}),e}T({type:s.INIT});return{dispatch:T,subscribe:E,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));o=e,T({type:s.REPLACE})},[i]: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)}},[i](){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 i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}const i=Object.keys(n);let o;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){o=a}return function(e={},t){if(o)throw o;let s=!1;const a={};for(let o=0;o<i.length;o++){const c=i[o],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||i.length!==Object.keys(e).length,s?a:e}}function p(e,t){return function(...n){return t(e.apply(this,n))}}function h(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 i=e[r];"function"==typeof i&&(n[r]=p(i,t))}return n}function f(...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,i)=>{const o=t(n,i);let s=()=>{throw new Error(r(15))};const a={getState:o.getState,dispatch:(e,...t)=>s(e,...t)},c=e.map(e=>e(a));return s=f(...c)(o.dispatch),{...o,dispatch:s}}}function m(e){return a(e)&&"type"in e&&"string"==typeof e.type}var E=Symbol.for("immer-nothing"),T=Symbol.for("immer-draftable"),g=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,S="constructor",b="prototype",I="configurable",O="enumerable",k="writable",C="value",N=e=>!!e&&!!e[g];function D(e){return!!e&&(P(e)||U(e)||!!e[T]||!!e[S]?.[T]||H(e)||G(e))}var v=A[b][S].toString(),R=new WeakMap;function P(e){if(!e||!j(e))return!1;const t=y(e);if(null===t||t===A[b])return!0;const n=A.hasOwnProperty.call(t,S)&&t[S];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===v}function L(e){return N(e)||_(15),e[g].base_}function M(e,t,n=!0){if(0===x(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 x(e){const t=e[g];return t?t.type_:U(e)?1:H(e)?2:G(e)?3:0}var w=(e,t,n=x(e))=>2===n?e.has(t):A[b].hasOwnProperty.call(e,t),F=(e,t,n=x(e))=>2===n?e.get(t):e[t],B=(e,t,n,r=x(e))=>{2===r?e.set(t,n):3===r?e.add(n):e[t]=n};var U=Array.isArray,H=e=>e instanceof Map,G=e=>e instanceof Set,j=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 W(e,t){if(H(e))return new Map(e);if(G(e))return new Set(e);if(U(e))return Array[b].slice.call(e);const n=P(e);if(!0===t||"class_only"===t&&!n){const t=A.getOwnPropertyDescriptors(e);delete t[g];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const i=n[r],o=t[i];!1===o[k]&&(o[k]=!0,o[I]=!0),(o.get||o.set)&&(t[i]={[I]:!0,[k]:!0,[O]:o[O],[C]:e[i]})}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 V(e,t=!1){return X(e)||N(e)||!D(e)||(x(e)>1&&A.defineProperties(e,{set:Q,add:Q,clear:Q,delete:Q}),A.freeze(e),t&&M(e,(e,t)=>{V(t,!0)},!1)),e}var Q={[C]:function(){_(2)}};function X(e){return null===e||!j(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 ie=()=>ne;function oe(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[g];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[g].modified_&&(se(t),_(4)),D(e)&&(e=pe(t,e));const{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[g].base_,e,t)}else e=pe(t,n);return function(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&V(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[g];if(!n){return ge(t,e.handledSet_,e)}if(!fe(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 he(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var fe=(e,t)=>e.scope_===t,de=[];function me(e,t,n,r){const i=q(e),o=e.type_;if(void 0!==r){if(F(i,r,o)===t)return void B(i,r,n,o)}if(!e.draftLocations_){const t=e.draftLocations_=new Map;M(i,(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)B(i,a,n,o)}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)}he(e)}}function Te(e,t,n){const{scope_:r}=e;if(N(n)){const i=n[g];fe(i,r)&&i.callbacks_.push(function(){Ie(e);const r=$(i);me(e,n,r,t)})}else D(n)&&e.callbacks_.push(function(){const i=q(e);3===e.type_?i.has(n)&&ge(n,r.handledSet_,r):F(i,t,e.type_)===n&&r.drafts_.length>1&&!0===(e.assigned_.get(t)??!1)&&e.copy_&&ge(F(e.copy_,t,e.type_),r.handledSet_,r)})}function ge(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||N(e)||t.has(e)||!D(e)||X(e)||(t.add(e),M(e,(r,i)=>{if(N(i)){const t=i[g];if(fe(t,n)){const n=$(t);B(e,r,n,e.type_),he(t)}}else D(i)&&ge(i,t,n)})),e}var _e={get(e,t){if(t===g)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 i=q(e);if(!w(i,t,e.type_))return function(e,t,n){const r=Se(t,n);return r?C in r?r[C]:r.get?.call(e.draft_):void 0}(e,i,t);const o=i[t];if(e.finalized_||!D(o))return o;if(r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&function(e){const t=+e;return Number.isInteger(t)&&String(t)===e}(t))return o;if(o===ye(e.base_,t)){Ie(e);const n=1===e.type_?+t:t,r=Oe(e.scope_,o,e,n);return e.copy_[n]=r}return o},has:(e,t)=>t in q(e),ownKeys:e=>Reflect.ownKeys(q(e)),set(e,t,n){const r=Se(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?.[g];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(((i=n)===(o=r)?0!==i||1/i==1/o:i!=i&&o!=o)&&(void 0!==n||w(e.base_,t,e.type_)))return!0;Ie(e),be(e)}var i,o;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),Te(e,t,n)),!0},deleteProperty:(e,t)=>(Ie(e),void 0!==ye(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),be(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,[I]:1!==e.type_||"length"!==t,[O]:r[O],[C]:n[t]}:r},defineProperty(){_(11)},getPrototypeOf:e=>y(e.base_),setPrototypeOf(){_(12)}},Ae={};for(let Hn in _e){let e=_e[Hn];Ae[Hn]=function(){const t=arguments;return t[0]=t[0][0],e.apply(this,t)}}function ye(e,t){const n=e[g];return(n?q(n):e)[t]}function Se(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 be(e){e.modified_||(e.modified_=!0,e.parent_&&be(e.parent_))}function Ie(e){e.copy_||(e.assigned_=new Map,e.copy_=W(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 Oe(e,t,n,r){const[i,o]=H(t)?te(K).proxyMap_(t,n):G(t)?te(K).proxySet_(t,n):function(e,t){const n=U(e),r={type_:n?1:0,scope_:t?t.scope_:ie(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let i=r,o=_e;n&&(i=[r],o=Ae);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return r.draft_=a,r.revoke_=s,[a,r]}(t,n);return(n?.scope_??ie()).drafts_.push(i),o.callbacks_=n?.callbacks_??[],o.key_=r,n&&void 0!==r?function(e,t,n){e.callbacks_.push(function(r){const i=t;if(!i||!fe(i,r))return;r.mapSetPlugin_?.fixSetContents(i);const o=$(i);me(e,i.draft_??i,o,n),Ee(i,r)})}(n,o,r):o.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(o);const{patchPlugin_:t}=e;o.modified_&&t&&t.generatePatches_(o,[],e)}),i}function ke(e){return N(e)||_(10),Ce(e)}function Ce(e){if(!D(e)||X(e))return e;const t=e[g];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=W(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=W(e,!0);return M(n,(e,t)=>{B(n,e,Ce(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,...i){return r.produce(e,e=>t.call(this,e,...i))}}let r;if(z(t)||_(6),void 0===n||z(n)||_(7),D(e)){const i=ce(this),o=Oe(i,e,void 0);let s=!0;try{r=t(o),s=!1}finally{s?se(i):ae(i)}return oe(i,n),ue(r,i)}if(!e||!j(e)){if(r=t(e),void 0===r&&(r=e),r===E&&(r=void 0),this.autoFreeze_&&V(r,!0),n){const t=[],i=[];te(Z).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}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){D(e)||_(8),N(e)&&(e=ke(e));const t=ce(this),n=Oe(t,e,void 0);return n[g].isManual_=!0,ae(t),n}finishDraft(e,t){const n=e&&e[g];n&&n.isManual_||_(9);const{scope_:r}=n;return oe(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))}},De=Ne.produce,ve=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 Me=(e,t)=>e===t;function xe(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;const{length:r}=t;for(let i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}function we(e,t){const n="object"==typeof t?t:{equalityCheck:t},{equalityCheck:r=Me,maxSize:i=1,resultEqualityCheck:o}=n,s=xe(r);let a=0;const c=i<=1?function(e){let t;return{get:n=>t&&e(t.key,n)?t.value:ve,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 ve}return{get:r,put:function(t,i){r(t)===ve&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(i,s);function l(){let t=c.get(arguments);if(t===ve){if(t=e.apply(null,arguments),a++,o){const e=c.getEntries().find(e=>o(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 Fe="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function Be(){return{s:0,v:void 0,o:null,p:null}}function Ue(e,t={}){let n={s:0,v:void 0,o:null,p:null};const{resultEqualityCheck:r}=t;let i,o=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=Be(),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=Be(),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),o++,r){const e=i?.deref?.()??i;null!=e&&r(e,c)&&(c=e,0!==o&&o--);i="object"==typeof c&&null!==c||"function"==typeof c?new Fe(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=()=>o,s.resetResultsCount=()=>{o=0},s}function He(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,i=0,o={},s=e.pop();"object"==typeof s&&(o=s,s=e.pop()),Re(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const a={...n,...o},{memoize:c,memoizeOptions:l=[],argsMemoize:u=Ue,argsMemoizeOptions:p=[],devModeChecks:h={}}=a,f=Pe(l),d=Pe(p),m=Le(e),E=c(function(){return r++,s.apply(null,arguments)},...f);const T=u(function(){i++;const e=function(e,t){const n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}(m,arguments);return t=E.apply(null,e),t},...d);return Object.assign(T,{resultFunc:s,memoizedResultFunc:E,dependencies:m,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:c,argsMemoize:u})};return Object.assign(r,{withTypes:()=>r}),r}var Ge=He(Ue),je=Object.assign((e,t=Ge)=>{!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:()=>je});function ze(e){return({dispatch:t,getState:n})=>r=>i=>"function"==typeof i?i(t,n,e):r(i)}var Ye=ze(),qe=ze,$e=(n(65606),(...e)=>{const t=He(...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}),We=$e(Ue),Ve="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?f:f.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(Un(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 D(e)?De(e,()=>{}):e}function rt(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function it(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function ot(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,i=[],o){let s;if(!n(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e)return!1;if(o?.has(e))return!1;const a=null!=r?r(e):Object.entries(e),c=i.length>0;for(const[l,u]of a){const e=t?t+"."+l:l;if(c){if(i.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,i,o),s))return s}return o&&ct(e)&&o.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}}),ht=e=>t=>{setTimeout(t,e)},ft=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,s=!1;const a=new Set,c="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:ht(10):"callback"===e.type?e.queueNotification:ht(e.timeout),l=()=>{s=!1,o&&(o=!1,a.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){const t=r.subscribe(()=>i&&e());return a.add(e),()=>{t(),a.delete(e)}},dispatch(e){try{return i=!e?.meta?.[ut],o=!i,o&&(s||(s=!0,c(l))),r.dispatch(e)}finally{i=!0}}})};function dt(e){const t=function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{};let o=new tt;return t&&("boolean"==typeof t?o.push(Ye):o.push(qe(t.extraArgument))),o},{reducer:n,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:o=!0,preloadedState:s,enhancers:l}=e||{};let p,h;if("function"==typeof n)p=n;else{if(!a(n))throw new Error(Un(1));p=u(n)}h="function"==typeof r?r(t):t();let m=f;i&&(m=Ve({trace:!1,..."object"==typeof i&&i}));const E=(e=>function(t){const{autoBatch:n=!0}=t??{};let r=new tt(e);return n&&r.push(ft("object"==typeof n?n:void 0)),r})(d(...h));return c(p,s,m(..."function"==typeof l?l(E):E()))}function mt(e){const t={},n=[];let r;const i={addCase(e,n){const r="string"==typeof e?e:e.type;if(!r)throw new Error(Un(28));if(r in t)throw new Error(Un(29));return t[r]=n,i},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}),i),addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),i),addDefaultCase:e=>(r=e,i)};return e(i),[t,n,r]}function Et(e,t){let n,[r,i,o]=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],...i.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===s.filter(e=>!!e).length&&(s=[o]),s.reduce((e,n)=>{if(n){if(N(e)){const r=n(e,t);return void 0===r?e:r}if(D(e))return De(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 Tt=(e,t)=>Qe(e)?e.match(t):e(t);function gt(...e){return t=>e.some(e=>Tt(e,t))}function _t(...e){return t=>e.every(e=>Tt(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 St(...e){return 0===e.length?e=>At(e,["pending"]):yt(e)?gt(...e.map(e=>e.pending)):St()(e[0])}function bt(...e){return 0===e.length?e=>At(e,["rejected"]):yt(e)?gt(...e.map(e=>e.rejected)):bt()(e[0])}function It(...e){const t=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===e.length||yt(e)?_t(bt(...e),t):It()(e[0])}function Ot(...e){return 0===e.length?e=>At(e,["fulfilled"]):yt(e)?gt(...e.map(e=>e.fulfilled)):Ot()(e[0])}function kt(...e){return 0===e.length?e=>At(e,["pending","fulfilled","rejected"]):yt(e)?gt(...e.flatMap(e=>[e.pending,e.rejected,e.fulfilled])):kt()(e[0])}var Ct=(e=21)=>{let t="",n=e;for(;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},Nt=["name","message","stack","code"],Dt=class{constructor(e,t){this.payload=e,this.meta=t}_type},vt=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"}})),i=Xe(e+"/pending",(e,t,n)=>({payload:void 0,meta:{...n||{},arg:t,requestId:e,requestStatus:"pending"}})),o=Xe(e+"/rejected",(e,t,r,i,o)=>({payload:i,error:(n&&n.serializeError||Rt)(e||"Rejected"),meta:{...o||{},arg:r,requestId:t,rejectedWithValue:!!i,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):Ct(),p=new AbortController;let h,f;function d(e){f=e,p.abort()}s&&(s.aborted?d(Pt):s.addEventListener("abort",()=>d(Pt),{once:!0}));const m=async function(){let s;try{let o=n?.condition?.(e,{getState:c,extra:l});if(null!==(m=o)&&"object"==typeof m&&"function"==typeof m.then&&(o=await o),!1===o||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const E=new Promise((e,t)=>{h=()=>{t({name:"AbortError",message:f||"Aborted"})},p.signal.addEventListener("abort",h,{once:!0})});a(i(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 Dt(e,t),fulfillWithValue:(e,t)=>new vt(e,t)})).then(t=>{if(t instanceof Dt)throw t;return t instanceof vt?r(t.payload,u,e,t.meta):r(t,u,e)})])}catch(E){s=E instanceof Dt?o(null,u,e,E.payload,E.meta):o(E,u,e)}finally{h&&p.signal.removeEventListener("abort",h)}var m;return n&&!n.dispatchConditionRejection&&o.match(s)&&s.meta.condition||a(s),s}();return Object.assign(m,{abort:d,requestId:u,arg:e,unwrap:()=>m.then(Mt)})}},{pending:i,rejected:o,fulfilled:r,settled:gt(o,r),typePrefix:e})}return e.withTypes=()=>e,e})();function Mt(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var xt=Symbol.for("rtk-slice-createasyncthunk"),wt={[xt]:Lt},Ft=(e=>(e.reducer="reducer",e.reducerWithPrepare="reducerWithPrepare",e.asyncThunk="asyncThunk",e))(Ft||{});function Bt(e,t){return`${e}/${t}`}function Ut({creators:e}={}){const t=e?.asyncThunk?.[xt];return function(e){const{name:n,reducerPath:r=n}=e;if(!n)throw new Error(Un(11));const i=("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)||{},o=Object.keys(i),s={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},a={addCase(e,t){const n="string"==typeof e?e:e.type;if(!n)throw new Error(Un(12));if(n in s.sliceCaseReducersByType)throw new Error(Un(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],i={...t,...s.sliceCaseReducersByType};return Et(e.initialState,e=>{for(let t in i)e.addCase(t,i[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)})}o.forEach(r=>{const o=i[r],s={reducerName:r,type:Bt(n,r),createNotation:"function"==typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function({type:e,reducerName:t,createNotation:n},r,i){let o,s;if("reducer"in r){if(n&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(r))throw new Error(Un(17));o=r.reducer,s=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?Xe(e,s):Xe(e))}(s,o,a):function({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Un(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:c,settled:l,options:u}=n,p=i(e,o,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||jt,pending:a||jt,rejected:c||jt,settled:l||jt})}(s,o,a,t)});const l=e=>e,u=new Map,p=new WeakMap;let h;function f(e,t){return h||(h=c()),h(e,t)}function d(){return h||(h=c()),h.getInitialState()}function m(t,n=!1){function r(e){let i=e[t];return void 0===i&&n&&(i=rt(p,r,d)),i}function i(t=l){const r=rt(u,n,()=>new WeakMap);return rt(r,t,()=>{const r={};for(const[i,o]of Object.entries(e.selectors??{}))r[i]=Ht(o,t,()=>rt(p,t,d),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}const E={name:n,reducer:f,actions:s.actionCreators,caseReducers:s.sliceCaseReducersByName,getInitialState:d,...m(r),injectInto(e,{reducerPath:t,...n}={}){const i=t??r;return e.inject({reducerPath:i,reducer:f},n),{...E,...m(i,!0)}}};return E}}function Ht(e,t,n,r){function i(i,...o){let s=t(i);return void 0===s&&r&&(s=n()),e(s,...o)}return i.unwrapped=e,i}var Gt=Ut();function jt(){}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):De(t,r)}}function $t(e,t){return t(e)}function Wt(e){return Array.isArray(e)||(e=Object.values(e)),e}function Vt(e){return N(e)?ke(e):e}function Qt(e,t,n){e=Wt(e);const r=Vt(n.ids),i=new Set(r),o=[],s=new Set([]),a=[];for(const c of e){const e=$t(c,t);i.has(e)||s.has(e)?a.push({id:e,changes:c}):(s.add(e),o.push(c))}return[o,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=Wt(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 i(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 o(t,n){const r={},i={};t.forEach(e=>{e.id in n.entities&&(i[e.id]={id:e.id,changes:{...i[e.id]?.changes,...e.changes}})});if((t=Object.values(i)).length>0){const i=t.filter(t=>function(t,n,r){const i=r.entities[n.id];if(void 0===i)return!1;const o=Object.assign({},i,n.changes),s=$t(o,e),a=s!==n.id;return a&&(t[n.id]=s,delete r.entities[n.id]),r.entities[s]=o,a}(r,t,n)).length>0;i&&(n.ids=Object.values(n.entities).map(t=>$t(t,e)))}}function s(t,r){const[i,s]=Qt(t,e,r);n(i,r),o(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=Wt(e);for(const n of e)r(n,t)}),setAll:qt(function(e,t){e=Wt(e),t.ids=[],t.entities={},n(e,t)}),updateOne:qt(function(e,t){return o([e],t)}),updateMany:qt(o),upsertOne:qt(function(e,t){return s([e],t)}),upsertMany:qt(s),removeOne:qt(function(e,t){return i([e],t)}),removeMany:qt(i)}}function Kt(e,t,n){const r=function(e,t,n){let r=0,i=e.length;for(;r<i;){let o=r+i>>>1;n(t,e[o])>=0?r=o+1:i=o}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:i}=Xt(e);function o(t,n,r){t=Wt(t);const i=new Set(r??Vt(n.ids)),o=new Set,s=t.filter(t=>{const n=$t(t,e),r=!o.has(n);return r&&o.add(n),!i.has(n)&&r});0!==s.length&&l(n,s)}function s(t,n){let r={};if(0!==(t=Wt(t)).length){for(const i of t){const t=e(i);r[t]=i,delete n.entities[t]}t=Wt(r),l(n,t)}}function a(t,n){let r=!1,i=!1;for(let o of t){const t=n.entities[o.id];if(!t)continue;r=!0,Object.assign(t,o.changes);const s=e(t);if(o.id!==s){i=!0,delete n.entities[o.id];const e=n.ids.indexOf(o.id);n.ids[e]=s,n.entities[s]=t}}r&&l(n,[],r,i)}function c(t,n){const[r,i,s]=Qt(t,e,n);r.length&&o(r,n,s),i.length&&a(i,n)}const l=(n,r,i,o)=>{const s=Vt(n.entities),a=Vt(n.ids),c=n.entities;let l=a;o&&(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 f of r)c[e(f)]=f,p||Kt(u,f,t);p?u=r.slice().sort(t):i&&u.sort(t);const h=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,h)||(n.ids=h)};return{removeOne:n,removeMany:r,removeAll:i,addOne:qt(function(e,t){return o([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=Wt(e),t.entities={},t.ids=[],o(e,t,[])}),addMany:qt(o),updateMany:qt(a),upsertMany:qt(c)}}(t,n):Xt(t),i=function(e){return{getInitialState:function(t={},n){const r=Object.assign({ids:[],entities:{}},t);return n?e.setAll(r,n):r}}}(r),o={getSelectors:function(e,t={}){const{createSelector:n=We}=t,r=e=>e.ids,i=e=>e.entities,o=n(r,i,(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:i,selectAll:o,selectTotal:c,selectById:n(i,s,a)};const l=n(e,i);return{selectIds:n(e,r),selectEntities:l,selectAll:n(e,o),selectTotal:n(e,c),selectById:n(l,s,a)}}};return{selectId:t,sortComparer:n,...i,...o,...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(Un(32))},ln=()=>{},un=(e,t=ln)=>(e.catch(t),e),pn=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),hn=e=>{if(e.aborted)throw new an(e.reason)};function fn(e,t){let n=ln;return new Promise((r,i)=>{const o=()=>i(new an(e.reason));e.aborted?o():(n=pn(e,o),t.finally(()=>n()).then(r,i))}).finally(()=>{n=ln})}var dn=e=>t=>un(fn(e,t).then(t=>(hn(e),t))),mn=e=>{const t=dn(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:En}=Object,Tn={},gn="listenerMiddleware",_n=(e,t)=>(n,r)=>{cn(n);const i=new AbortController;var o;o=i,pn(e,()=>o.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()=>{hn(e),hn(i.signal);const t=await n({pause:dn(i.signal),delay:mn(i.signal),signal:i.signal});return hn(i.signal),t},()=>i.abort(rn));return r?.autoJoin&&t.push(s.catch(ln)),{result:dn(e)(s),cancel(){i.abort(nn)}}},An=(e,t)=>(n,r)=>un((async(n,r)=>{hn(t);let i=()=>{};const o=[new Promise((t,r)=>{let o=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{o(),r()}})];null!=r&&o.push(new Promise(e=>setTimeout(e,r,null)));try{const e=await fn(t,Promise.race(o));return hn(t),e}finally{i()}})(n,r)),yn=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:o}=e;if(t)i=Xe(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error(Un(21));return cn(o),{predicate:i,type:t,effect:o}},Sn=En(e=>{const{type:t,predicate:n,effect:r}=yn(e);return{id:Ct(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Un(22))}}},{withTypes:()=>Sn}),bn=(e,t)=>{const{type:n,effect:r,predicate:i}=yn(t);return Array.from(e.values()).find(e=>("string"==typeof n?e.type===n:e.predicate===i)&&e.effect===r)},In=e=>{e.pending.forEach(e=>{e.abort(on)})},On=(e,t,n)=>{try{e(t,n)}catch(r){setTimeout(()=>{throw r},0)}},kn=En(Xe(`${gn}/add`),{withTypes:()=>kn}),Cn=Xe(`${gn}/removeAll`),Nn=En(Xe(`${gn}/remove`),{withTypes:()=>Nn}),Dn=(...e)=>{console.error(`${gn}/error`,...e)},vn=(e={})=>{const t=new Map,n=new Map,{extra:r,onError:i=Dn}=e;cn(i);const o=e=>(e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&In(e)}))(bn(t,e)??Sn(e));En(o,{withTypes:()=>o});const s=e=>{const n=bn(t,e);return n&&(n.unsubscribe(),e.cancelActive&&In(n)),!!n};En(s,{withTypes:()=>s});const a=async(e,s,a,c)=>{const l=new AbortController,u=An(o,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:()=>{hn(l.signal)}})))}catch(h){h instanceof an||On(i,h,{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())In(e);e.clear()})(t,n);return{middleware:e=>n=>r=>{if(!m(r))return n(r);if(kn.match(r))return o(r.payload);if(Cn.match(r))return void c();if(Nn.match(r))return s(r.payload);let l=e.getState();const u=()=>{if(l===Tn)throw new Error(Un(23));return l};let p;try{if(p=n(r),t.size>0){const n=e.getState(),o=Array.from(t.values());for(const t of o){let o=!1;try{o=t.predicate(r,n,l)}catch(h){o=!1,On(i,h,{raisedBy:"predicate"})}o&&a(t,r,e,u)}}}finally{l=Tn}return p},startListening:o,stopListening:s,clearListeners:c}},Rn=e=>({middleware:e,applied:new Map}),Pn=()=>{const e=Ct(),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}),i=_t(n,(e=>t=>t?.meta?.instanceId===e)(e));return{middleware:e=>n=>o=>i(o)?(r(...o.payload),e.dispatch):(e=>f(...Array.from(t.values()).map(t=>rt(t.applied,e,t.middleware))))(e)(n)(o),addMiddleware:r,withMiddleware:n,instanceId:e}},Ln=Symbol.for("rtk-state-proxy-original"),Mn=new WeakMap,xn=e=>{if(!(t=e)||!t[Ln])throw new Error(Un(25));var t;return e[Ln]},wn={},Fn=(e=wn)=>e;function Bn(...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):Fn;let r=n();function i(e,t){return r(e,t)}i.withLazyLoadedSlices=()=>i;const o={},s=Object.assign(function(e,n){return function(r,...i){return e(((e,t,n)=>rt(Mn,e,()=>new Proxy(e,{get:(e,r,i)=>{if(r===Ln)return e;const o=Reflect.get(e,r,i);if(void 0===o){const e=n[r];if(void 0!==e)return e;const i=t[r];if(i){const e=i(void 0,{type:Ct()});if(void 0===e)throw new Error(Un(24));return n[r]=e,e}}return o}})))(n?n(r,...i):r,t,o),...i)}},{original:xn});return Object.assign(i,{inject:(e,s={})=>{const{reducerPath:a,reducer:c}=e,l=t[a];return!s.overrideExisting&&l&&l!==c||(s.overrideExisting&&l!==c&&delete o[a],t[a]=c,r=n()),i},selector:s})}function Un(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. `}}}]);