@workflow/web 4.0.1-beta.22 → 4.0.1-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +5 -5
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error/page/build-manifest.json +3 -3
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/build-manifest.json +3 -3
- package/.next/server/app/_not-found/page/server-reference-manifest.json +18 -18
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/build-manifest.json +3 -3
- package/.next/server/app/page/server-reference-manifest.json +19 -19
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/run/[runId]/page/build-manifest.json +3 -3
- package/.next/server/app/run/[runId]/page/server-reference-manifest.json +19 -19
- package/.next/server/app/run/[runId]/page.js.nft.json +1 -1
- package/.next/server/app/run/[runId]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/6f243_streamdown_dist_code-block-IT6T5CEO_5126e4d3.js +141 -0
- package/.next/server/chunks/ssr/6f243_streamdown_dist_code-block-IT6T5CEO_5126e4d3.js.map +1 -0
- package/.next/server/chunks/ssr/6f243_streamdown_dist_mermaid-VLURNSYL_9196f878.js +3 -0
- package/.next/server/chunks/ssr/6f243_streamdown_dist_mermaid-VLURNSYL_9196f878.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0b625b89._.js +20 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0b625b89._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__2168651f._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__2168651f._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__25c4ca9a._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__25c4ca9a._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d416fa5e._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d416fa5e._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__e576a2e1._.js +7 -7
- package/.next/server/chunks/ssr/[root-of-the-server]__e576a2e1._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__f238920e._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__f238920e._.js.map +1 -0
- package/.next/server/chunks/ssr/_73d9d1d2._.js +8 -0
- package/.next/server/chunks/ssr/_73d9d1d2._.js.map +1 -0
- package/.next/server/chunks/ssr/_af28dabd._.js +1 -1
- package/.next/server/chunks/ssr/_af28dabd._.js.map +1 -1
- package/.next/server/chunks/ssr/_bff7cae2._.js +1 -1
- package/.next/server/chunks/ssr/_bff7cae2._.js.map +1 -1
- package/.next/server/chunks/ssr/{_c8bf1458._.js → _ce81e446._.js} +3 -3
- package/.next/server/chunks/ssr/{_c8bf1458._.js.map → _ce81e446._.js.map} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_1053b681._.js → node_modules__pnpm_f298fb32._.js} +2 -2
- package/.next/server/chunks/ssr/packages_web_src_19bb3951._.js +1 -1
- package/.next/server/chunks/ssr/packages_web_src_19bb3951._.js.map +1 -1
- package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js +2 -2
- package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +20 -20
- package/.next/static/chunks/0170442250d0d197.js +3 -0
- package/.next/static/chunks/050a53a61e5e2460.js +1 -0
- package/.next/static/chunks/0807db8fd89b4be6.js +1 -0
- package/.next/static/chunks/08ed7a5affa5aee0.js +21 -0
- package/.next/static/chunks/1432ad27401a7e47.js +1 -0
- package/.next/static/chunks/163fa6140215b388.css +3 -0
- package/.next/static/chunks/{f71c82ee950bb628.js → 1fc8ab18b8905b92.js} +1 -1
- package/.next/static/chunks/{7923b4297b28749b.css → 220345de3b9d49d5.css} +0 -1
- package/.next/static/chunks/{c4653dabfa8c5536.js → 298f13f3e64963bb.js} +3 -3
- package/.next/static/chunks/2c0fbde1a0975e33.js +5 -0
- package/.next/static/chunks/{8d32c2bf0f991bbb.js → 3578235c395ce702.js} +1 -1
- package/.next/static/chunks/4731ef7b3abe3f84.js +1 -0
- package/.next/static/chunks/{5cc4b7d8f173d21f.js → 5b454d96e1a464e6.js} +2 -2
- package/.next/static/chunks/6f04dbb31b3b2afc.css +1 -0
- package/.next/static/chunks/8331ced066b7d7a3.js +139 -0
- package/.next/static/chunks/{c41b2f1bfdc5f91e.js → 9e4f9d9be33a8436.js} +1 -1
- package/.next/static/chunks/{36a636d76f662255.js → d322dd03d7afd673.js} +1 -1
- package/.next/static/chunks/{turbopack-444344f6e8c5b8fb.js → turbopack-5bab4060acaecce6.js} +1 -1
- package/.next/static/chunks/{turbopack-fcbada14c092d574.js → turbopack-b873adab9cda5434.js} +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/package.json +5 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__1365a866._.js +0 -159
- package/.next/server/chunks/ssr/[root-of-the-server]__1365a866._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__65e98dcf._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__65e98dcf._.js.map +0 -1
- package/.next/static/chunks/4cc8e6fbfadefe1c.js +0 -1
- package/.next/static/chunks/998975f01526efbb.js +0 -1
- package/.next/static/chunks/ab6cd88fb6e08748.js +0 -1
- package/.next/static/chunks/affb91574db5b135.js +0 -154
- package/.next/static/chunks/b39dd1bd2af229c0.css +0 -3
- package/.next/static/chunks/c72c95cb5a7775b3.js +0 -5
- /package/.next/server/chunks/ssr/{node_modules__pnpm_1053b681._.js.map → node_modules__pnpm_f298fb32._.js.map} +0 -0
- /package/.next/static/{ieavtosUwWbQ98kcW2Cp7 → SXofRbhw5afEl7lezkj_x}/_buildManifest.js +0 -0
- /package/.next/static/{ieavtosUwWbQ98kcW2Cp7 → SXofRbhw5afEl7lezkj_x}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{ieavtosUwWbQ98kcW2Cp7 → SXofRbhw5afEl7lezkj_x}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,175974,(e,t,n)=>{var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,u=/^\s+|\s+$/g;function d(e){return e?e.replace(u,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,u=1;function h(e){var t=e.match(a);t&&(n+=t.length);var r=e.lastIndexOf("\n");u=~r?e.length-r:u+e.length}function p(){var e={line:n,column:u};return function(t){return t.position=new m(e),g(i),t}}function m(e){this.start=e,this.end={line:n,column:u},this.source=t.source}m.prototype.content=e;var f=[];function E(r){var a=Error(t.source+":"+n+":"+u+": "+r);if(a.reason=r,a.filename=t.source,a.line=n,a.column=u,a.source=e,t.silent)f.push(a);else throw a}function g(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function T(e){var t;for(e=e||[];t=A();)!1!==t&&e.push(t);return e}function A(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return E("End of comment missing");var r=e.slice(2,n-2);return u+=2,h(r),e=e.slice(n),u+=2,t({type:"comment",comment:r})}}g(i);var _,k=[];for(T(k);_=function(){var e=p(),t=g(o);if(t){if(A(),!g(s))return E("property missing ':'");var n=g(l),a=e({type:"declaration",property:d(t[0].replace(r,"")),value:n?d(n[0].replace(r,"")):""});return g(c),a}}();)!1!==_&&(k.push(_),T(k));return k}},388441,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,a.default)(e),i="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,a=e.value;i?t(r,a,e):a&&((n=n||{})[r]=a)}}),n};var a=r(e.r(175974))},133945,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||i.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,c):e.replace(o,c)).replace(a,l))}},411341,(e,t,n)=>{"use strict";var r=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(388441)),a=e.r(133945);function i(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,a.camelCase)(e,t)]=r)}),n}i.default=i,t.exports=i},975609,(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)},l=function(e){if(!e||"[object Object]"!==a.call(e))return!1;var t,n=r.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||r.call(e,t)},c=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;else if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,n,r,a,i,o,d=arguments[0],h=1,p=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(t=arguments[h],null!=t)for(n in t)r=u(d,n),d!==(a=u(t,n))&&(m&&a&&(l(a)||(i=s(a)))?(i?(i=!1,o=r&&s(r)?r:[]):o=r&&l(r)?r:{},c(d,{name:n,newValue:e(m,o,a)})):void 0!==a&&c(d,{name:n,newValue:a}));return d}},328582,61634,816220,273638,722365,79694,600577,470284,158206,e=>{"use strict";var t,n,r,a,i,o,s,l,c,u,d,h,p,m,f,E,g,T,A,_,k,b,y,S,N,C,I,D,x,O,v,L,R,w=e.i(686107);let P=function(e){var t,n;if(null==e)return F;if("function"==typeof e)return M(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=P(e[n]);return M(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,M(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,M(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function M(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function F(){return!0}let B=[],U="skip";function H(e,t,n,r){var a,i,o;let s,l,c,u,d,h;"function"==typeof t&&"function"!=typeof n?(l=void 0,c=t,s=n):(l=t,c=n,s=r),a=l,i=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return c(e,r,n)},o=s,"function"==typeof a&&"function"!=typeof i?(o=i,i=a):u=a,d=P(u),h=o?-1:1,(function e(t,n,r){let s=t&&"object"==typeof t?t:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(l,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return l;function l(){var s;let l,c,u,p=B;if((!a||d(t,n,r[r.length-1]||void 0))&&!1===(p=Array.isArray(s=i(t,r))?s:"number"==typeof s?[!0,s]:null==s?B:[s])[0])return p;if("children"in t&&t.children&&t.children&&p[0]!==U)for(c=(o?t.children.length:-1)+h,u=r.concat(t);c>-1&&c<t.children.length;){if(!1===(l=e(t.children[c],c,u)())[0])return l;c="number"==typeof l[1]?l[1]:c+h}return p}})(e,void 0,[])()}function G(e,t){if("string"!=typeof e)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{}return null}}let j=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),z=new Set(["javascript:","data:","file:","vbscript:"]);function Y(e,t,n,r=!1,a=!1,i=[]){if(!e)return null;if("string"==typeof e&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if("string"==typeof e&&e.startsWith("data:"))return a&&r&&e.startsWith("data:image/")?e:null;if("string"==typeof e&&e.startsWith("blob:")){try{let t=new URL(e);if("blob:"===t.protocol&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&"invalid"!==t)return e}}catch{}return null}let o=G(e,n);if(!o||z.has(o.protocol)||!(j.has(o.protocol)||i.includes(o.protocol)||i.includes("*")))return null;if("mailto:"===o.protocol||!o.protocol.match(/^https?:$/))return o.href;let s="string"==typeof e&&(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"));return o&&t.some(e=>{let t=G(e,n);return!!t&&t.origin===o.origin&&o.href.startsWith(t.href)})?s?o.pathname+o.search+o.hash:o.href:t.includes("*")?"https:"!==o.protocol&&"http:"!==o.protocol?null:s?o.pathname+o.search+o.hash:o.href:null}let q=Symbol("node-seen");class W{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function V(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new W(n,r,t)}function Q(e){return e.toLowerCase()}W.prototype.normal={},W.prototype.property={},W.prototype.space=void 0;class K{constructor(e,t){this.attribute=t,this.property=e}}K.prototype.attribute="",K.prototype.booleanish=!1,K.prototype.boolean=!1,K.prototype.commaOrSpaceSeparated=!1,K.prototype.commaSeparated=!1,K.prototype.defined=!1,K.prototype.mustUseProperty=!1,K.prototype.number=!1,K.prototype.overloadedBoolean=!1,K.prototype.property="",K.prototype.spaceSeparated=!1,K.prototype.space=void 0;let X=0,$=ea(),Z=ea(),J=ea(),ee=ea(),et=ea(),en=ea(),er=ea();function ea(){return 2**++X}e.s(["boolean",0,$,"booleanish",0,Z,"commaOrSpaceSeparated",0,er,"commaSeparated",0,en,"number",0,ee,"overloadedBoolean",0,J,"spaceSeparated",0,et],383954);var ei=e.i(383954);let eo=Object.keys(ei);class es extends K{constructor(e,t,n,r){let a=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++a<eo.length;){const e=eo[a];!function(e,t,n){n&&(e[t]=n)}(this,eo[a],(n&ei[e])===ei[e])}}}function el(e){let t={},n={};for(let[r,a]of Object.entries(e.properties)){let i=new es(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Q(r)]=r,n[Q(i.attribute)]=r}return new W(t,n,e.space)}es.prototype.defined=!0;let ec=el({properties:{ariaActiveDescendant:null,ariaAtomic:Z,ariaAutoComplete:null,ariaBusy:Z,ariaChecked:Z,ariaColCount:ee,ariaColIndex:ee,ariaColSpan:ee,ariaControls:et,ariaCurrent:null,ariaDescribedBy:et,ariaDetails:null,ariaDisabled:Z,ariaDropEffect:et,ariaErrorMessage:null,ariaExpanded:Z,ariaFlowTo:et,ariaGrabbed:Z,ariaHasPopup:null,ariaHidden:Z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:et,ariaLevel:ee,ariaLive:null,ariaModal:Z,ariaMultiLine:Z,ariaMultiSelectable:Z,ariaOrientation:null,ariaOwns:et,ariaPlaceholder:null,ariaPosInSet:ee,ariaPressed:Z,ariaReadOnly:Z,ariaRelevant:null,ariaRequired:Z,ariaRoleDescription:et,ariaRowCount:ee,ariaRowIndex:ee,ariaRowSpan:ee,ariaSelected:Z,ariaSetSize:ee,ariaSort:null,ariaValueMax:ee,ariaValueMin:ee,ariaValueNow:ee,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function eu(e,t){return t in e?e[t]:t}function ed(e,t){return eu(e,t.toLowerCase())}let eh=el({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:en,acceptCharset:et,accessKey:et,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:et,autoFocus:$,autoPlay:$,blocking:et,capture:null,charSet:null,checked:$,cite:null,className:et,cols:ee,colSpan:null,content:null,contentEditable:Z,controls:$,controlsList:et,coords:ee|en,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:J,draggable:Z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:et,height:ee,hidden:J,high:ee,href:null,hrefLang:null,htmlFor:et,httpEquiv:et,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:et,itemRef:et,itemScope:$,itemType:et,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:ee,manifest:null,max:null,maxLength:ee,media:null,method:null,min:null,minLength:ee,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,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:$,optimum:ee,pattern:null,ping:et,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:et,required:$,reversed:$,rows:ee,rowSpan:ee,sandbox:et,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shape:null,size:ee,sizes:null,slot:null,span:ee,spellCheck:Z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ee,step:null,style:null,tabIndex:ee,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:Z,width:ee,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:et,axis:null,background:null,bgColor:null,border:ee,borderColor:null,bottomMargin:ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:ee,leftMargin:ee,link:null,longDesc:null,lowSrc:null,marginHeight:ee,marginWidth:ee,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:ee,rules:null,scheme:null,scrolling:Z,standby:null,summary:null,text:null,topMargin:ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$,disableRemotePlayback:$,prefix:null,property:null,results:ee,security:null,unselectable:null},space:"html",transform:ed}),ep=el({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:er,accentHeight:ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ee,amplitude:ee,arabicForm:null,ascent:ee,attributeName:null,attributeType:null,azimuth:ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ee,by:null,calcMode:null,capHeight:ee,className:et,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:ee,diffuseConstant:ee,direction:null,display:null,dur:null,divisor:ee,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:ee,enableBackground:null,end:null,event:null,exponent:ee,externalResourcesRequired:null,fill:null,fillOpacity:ee,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:en,g2:en,glyphName:en,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ee,horizOriginX:ee,horizOriginY:ee,id:null,ideographic:ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ee,k:ee,k1:ee,k2:ee,k3:ee,k4:ee,kernelMatrix:er,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ee,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:ee,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:ee,overlineThickness:ee,paintOrder:null,panose1:null,path:null,pathLength:ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:et,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ee,pointsAtY:ee,pointsAtZ:ee,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:er,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:er,rev:er,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:er,requiredFeatures:er,requiredFonts:er,requiredFormats:er,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:ee,specularExponent:ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ee,strikethroughThickness:ee,string:null,stroke:null,strokeDashArray:er,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ee,strokeOpacity:ee,strokeWidth:null,style:null,surfaceScale:ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:er,tabIndex:ee,tableValues:null,target:null,targetX:ee,targetY:ee,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:er,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ee,underlineThickness:ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ee,values:null,vAlphabetic:ee,vMathematical:ee,vectorEffect:null,vHanging:ee,vIdeographic:ee,version:null,vertAdvY:ee,vertOriginX:ee,vertOriginY:ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eu}),em=el({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()}),ef=el({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ed}),eE=el({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),eg=V([ec,eh,em,ef,eE],"html"),eT=V([ec,ep,em,ef,eE],"svg");function eA(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);let e=n.slice(a,r).trim();(e||!i)&&t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function e_(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}e.s(["html",0,eg,"svg",0,eT],61634),e.s(["parse",()=>eA,"stringify",()=>e_],816220);let ek=/[#.]/g,eb=/[A-Z]/g,ey=/-[a-z]/g,eS=/^data[-\w.:]+$/i;function eN(e,t){let n=Q(t),r=t,a=K;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&eS.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ey,eI);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ey.test(e)){let n=e.replace(eb,eC);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=es}return new a(r,t)}function eC(e){return"-"+e.toLowerCase()}function eI(e){return e.charAt(1).toUpperCase()}function eD(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function ex(e){return e.join(" ").trim()}function eO(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let o;if(null==n)o={type:"root",children:[]},i.unshift(a);else{let s=(o=function(e,t){let n,r,a=e||"",i={},o=0;for(;o<a.length;){ek.lastIndex=o;let e=ek.exec(a),t=a.slice(o,e?e.index:a.length);t&&(n?"#"===n?i.id=t:Array.isArray(i.className)?i.className.push(t):i.className=[t]:r=t,o+=t.length),e&&(n=e[0],o++)}return{type:"element",tagName:r||t||"div",properties:i,children:[]}}(n,t)).tagName.toLowerCase(),l=r?r.get(s):void 0;if(o.tagName=l||s,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a,i=eN(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?eD(r):i.commaSeparated?eA(r):i.commaOrSpaceSeparated?eD(eA(r).join(" ")):ev(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(ev(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,o.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(o.children,e);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function ev(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||Q(n)===Q(t)))return!0}return n}e.s(["find",()=>eN],273638),e.s(["parse",()=>eD,"stringify",()=>ex],722365);let eL=eO(eg,"div"),eR=eO(eT,"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"]),ew={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/"};function eP(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===ew.svg?eR:eL,a=n===ew.html?e.tagName.toLowerCase():e.tagName,i=n===ew.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++l<o.length;)s[o[l]]=e.getAttribute(o[l])||"";return r(a,s,eM(i,t))}(e,t);case 3:return{type:"text",value:e.nodeValue||""};case 8:return{type:"comment",value:e.nodeValue||""};case 9:case 11:return function(e,t){return{type:"root",children:eM(e,t)}}(e,t);case 10:return{type:"doctype"};default:return}}(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function eM(e,t){let n=e.childNodes,r=[],a=-1;for(;++a<n.length;){let e=eP(n[a],t);void 0!==e&&r.push(e)}return r}let eF=new DOMParser,eB=function(e,t,n){let r=P(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},eU=function(e){if(null==e)return eG;if("string"==typeof e){var t;return t=e,eH(function(e){return e.tagName===t})}if("object"==typeof e){var n=e;let t=[],r=-1;for(;++r<n.length;)t[r]=eU(n[r]);return eH(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}if("function"==typeof e)return eH(e);throw Error("Expected function, string, or array as `test`")};function eH(e){return function(t,n,r){var a;return!!(null!==(a=t)&&"object"==typeof a&&"type"in a&&"tagName"in a&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function eG(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}let ej=/\n/g,ez=/[\t ]+/g,eY=eU("br"),eq=eU(function(e){return"td"===e.tagName||"th"===e.tagName}),eW=eU("p"),eV=eU("tr"),eQ=eU(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),eK=eU(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function eX(e,t){let n,r=String(e.value),a=[],i=[],o=0;for(;o<=r.length;){ej.lastIndex=o;let e=ej.exec(r),n=e&&"index"in e?e.index:r.length;a.push(function(e,t,n){let r,a=[],i=0;for(;i<e.length;){ez.lastIndex=i;let n=ez.exec(e);r=n?n.index:e.length,i||r||!n||t||a.push(""),i!==r&&a.push(e.slice(i,r)),i=n?r+n[0].length:r}return i===r||n||a.push(""),a.join(" ")}(r.slice(o,n).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||t.breakBefore,n!==r.length||t.breakAfter)),o=n+1}let s=-1;for(;++s<a.length;)8203===a[s].charCodeAt(a[s].length-1)||s<a.length-1&&8203===a[s+1].charCodeAt(0)?(i.push(a[s]),n=void 0):a[s]?("number"==typeof n&&i.push(n),i.push(a[s]),n=0):(0===s||s===a.length-1)&&i.push(0);return i}function e$(e,t){if("element"===e.type){let n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var eZ=e.i(923472);let eJ=[],e1="skip";function e0(e,t,n,r){let a;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):a=t;let i=P(a),o=r?-1:1;(function e(a,s,l){let c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){let e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){var c;let u,d,h,p=eJ;if((!t||i(a,s,l[l.length-1]||void 0))&&!1===(p=Array.isArray(c=n(a,l))?c:"number"==typeof c?[!0,c]:null==c?eJ:[c])[0])return p;if("children"in a&&a.children&&a.children&&p[0]!==e1)for(d=(r?a.children.length:-1)+o,h=l.concat(a);d>-1&&d<a.children.length;){if(!1===(u=e(a.children[d],d,h)())[0])return u;d="number"==typeof u[1]?u[1]:d+o}return p}})(e,void 0,[])()}let e2={},e3=[];function e5(e){let t=e||e2;return function(e,n){e0(e,"element",function(e,r){let a,i=Array.isArray(e.properties.className)?e.properties.className:e3,o=i.includes("language-math"),s=i.includes("math-display"),l=i.includes("math-inline"),c=s;if(!o&&!s&&!l)return;let u=r[r.length-1],d=e;if("code"===e.tagName&&o&&u&&"element"===u.type&&"pre"===u.tagName&&(d=u,u=r[r.length-2],c=!0),!u)return;let h=function(e,t){let n,r="children"in e?e.children:[],a=eK(e),i=e$(e,{whitespace:(t||{}).whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];("text"===e.type||"comment"===e.type)&&o.push(...eX(e,{whitespace:i,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...function e(t,n,r){return"element"===t.type?function(t,n,r){let a,i,o=e$(t,r),s=t.children||[],l=-1,c=[];if(eQ(t))return c;for(eY(t)||eV(t)&&eB(n,t,eV)?i="\n":eW(t)?(a=2,i=2):eK(t)&&(a=1,i=1);++l<s.length;)c=c.concat(e(s[l],t,{whitespace:o,breakBefore:l?void 0:a,breakAfter:l<s.length-1?eY(s[l+1]):i}));return eq(t)&&eB(n,t,eq)&&c.push(" "),a&&c.unshift(a),i&&c.push(i),c}(t,n,r):"text"===t.type?"normal"===r.whitespace?eX(t,r):[String(t.value)]:[]}(r[s],e,{whitespace:i,breakBefore:s?void 0:a,breakAfter:s<r.length-1?eY(r[s+1]):a}));let l=[];for(s=-1;++s<o.length;){let e=o[s];"number"==typeof e?void 0!==n&&e>n&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=eZ.default.renderToString(h,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=eZ.default.renderToString(h,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:h}]}]}}if("string"==typeof a){var p,m,f;let e;a=(p=a,m={fragment:!0},eP(m?.fragment?(f=p,(e=document.createElement("template")).innerHTML=f,e.content):eF.parseFromString(p,"text/html"),{})||{type:"root",children:[]}).children}let E=u.children.indexOf(d);return u.children.splice(E,1,...a),e1})}}let e4="object"==typeof self?self:globalThis,e9=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=a=>{if(t.has(a))return t.get(a);let[i,o]=e[a];switch(i){case 0:case -1:return n(o,a);case 1:{let e=n([],a);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},a);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),a);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,a);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new e4[e](t),a)}case 8:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new e4[i](o),a)})(0)},{toString:e8}={},{keys:e6}=Object,e7=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=e8.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},te=([e,t])=>0===e&&("function"===t||"symbol"===t),tt=(e,{json:t,lossy:n}={})=>{var r,a,i;let o,s,l=[];return(r=!(t||n),a=!!t,i=new Map,o=(e,t)=>{let n=l.push(e)-1;return i.set(t,n),n},s=e=>{if(i.has(e))return i.get(e);let[t,n]=e7(e);switch(t){case 0:{let a=e;switch(n){case"bigint":t=8,a=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);a=null;break;case"undefined":return o([-1],e)}return o([t,a],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),o([n,[...t]],e)}let r=[],a=o([t,r],e);for(let t of e)r.push(s(t));return a}case 2:{if(n)switch(n){case"BigInt":return o([n,e.toString()],e);case"Boolean":case"Number":case"String":return o([n,e.valueOf()],e)}if(a&&"toJSON"in e)return s(e.toJSON());let i=[],l=o([t,i],e);for(let t of e6(e))(r||!te(e7(e[t])))&&i.push([s(t),s(e[t])]);return l}case 3:return o([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return o([t,{source:n,flags:r}],e)}case 5:{let n=[],a=o([t,n],e);for(let[t,a]of e)(r||!(te(e7(t))||te(e7(a))))&&n.push([s(t),s(a)]);return a}case 6:{let n=[],a=o([t,n],e);for(let t of e)(r||!te(e7(t)))&&n.push(s(t));return a}}let{message:l}=e;return o([t,{name:n,message:l}],e)})(e),l},tn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?e9(tt(e,t)):structuredClone(e):(e,t)=>e9(tt(e,t));function tr(){}function ta(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n<r?n:r}let ti={}.hasOwnProperty,to=Object.prototype;function ts(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},tc(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:tl(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t,r,a=String(e.file),i=(t=String(a),r=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;r.length<e.line;){let e=r[r.length-1],n=ta(t,e),a=-1===n?t.length+1:n+1;if(e===a)break;r.push(a)}let n=(e.line>1?r[e.line-2]:0)+e.column-1;if(n<r[e.line-1])return n}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let n=0;for(;;){let a=r[n];if(void 0===a){let e=ta(t,r[n-1]);a=-1===e?t.length+1:e+1,r[n]=a}if(a>e)return{line:n+1,column:e-(n>0?r[n-1]:0)+1,offset:e};n++}}}}),o=i.toPoint(0),s=i.toPoint(a.length);tr(o,"expected `start`"),tr(s,"expected `end`"),n.position={start:o,end:s}}return n}case"#documentType":return tc(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},tc(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===ew.svg?eT:eg;let r=-1,a={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;ti.call(to,n)||(a[n]=e.value)}let i=("svg"===e.schema.space?eR:eL)(t.tagName,a,tl(e,t.childNodes));if(tc(e,t,i),"template"===i.tagName){let n=t.sourceCodeLocation,r=n&&n.startTag&&tu(n.startTag),a=n&&n.endTag&&tu(n.endTag),o=ts(e,t.content);r&&a&&e.file&&(o.position={start:r.end,end:a.start}),i.content=o}return e.schema=n,i}(e,t)}}function tl(e,t){let n=-1,r=[];for(;++n<t.length;){let a=ts(e,t[n]);r.push(a)}return r}function tc(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,n){let r=tu(n);if("element"===t.type){let a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){let r,a={};if(n.attrs)for(r in n.attrs)ti.call(n.attrs,r)&&(a[eN(e.schema,r).property]=tu(n.attrs[r]));tr(n.startTag,"a start tag should exist");let i=tu(n.startTag),o=n.endTag?tu(n.endTag):void 0,s={opening:i};o&&(s.closing=o),s.properties=a,t.data={position:s}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function tu(e){let t=td({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=td({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function td(e){return e.line&&e.column?e:void 0}function th(e){return e.toLowerCase()}class tp{constructor(e,t){this.property=e,this.attribute=t}}tp.prototype.space=null,tp.prototype.boolean=!1,tp.prototype.booleanish=!1,tp.prototype.overloadedBoolean=!1,tp.prototype.number=!1,tp.prototype.commaSeparated=!1,tp.prototype.spaceSeparated=!1,tp.prototype.commaOrSpaceSeparated=!1,tp.prototype.mustUseProperty=!1,tp.prototype.defined=!1;let tm=0,tf=tb(),tE=tb(),tg=tb(),tT=tb(),tA=tb(),t_=tb(),tk=tb();function tb(){return 2**++tm}e.s(["boolean",0,tf,"booleanish",0,tE,"commaOrSpaceSeparated",0,tk,"commaSeparated",0,t_,"number",0,tT,"overloadedBoolean",0,tg,"spaceSeparated",0,tA],505400);var ty=e.i(505400);let tS=Object.keys(ty);class tN extends tp{constructor(e,t,n,r){let a=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++a<tS.length;){const e=tS[a];!function(e,t,n){n&&(e[t]=n)}(this,tS[a],(n&ty[e])===ty[e])}}}tN.prototype.defined=!0;let tC=/^data[-\w.:]+$/i,tI=/-[a-z]/g,tD=/[A-Z]/g;function tx(e){return"-"+e.toLowerCase()}function tO(e){return e.charAt(1).toUpperCase()}class tv{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function tL(e,t){let n={},r={},a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new tv(n,r,t)}tv.prototype.property={},tv.prototype.normal={},tv.prototype.space=null;let tR={}.hasOwnProperty;function tw(e){let t,n={},r={};for(t in e.properties)if(tR.call(e.properties,t)){let a=e.properties[t],i=new tN(t,e.transform(e.attributes||{},t),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(i.mustUseProperty=!0),n[t]=i,r[th(t)]=t,r[th(i.attribute)]=t}return new tv(n,r,e.space)}let tP=tw({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tM=tw({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tF(e,t){return t in e?e[t]:t}function tB(e,t){return tF(e,t.toLowerCase())}let tU=tw({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tB,properties:{xmlns:null,xmlnsXLink:null}}),tH=tw({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tE,ariaAutoComplete:null,ariaBusy:tE,ariaChecked:tE,ariaColCount:tT,ariaColIndex:tT,ariaColSpan:tT,ariaControls:tA,ariaCurrent:null,ariaDescribedBy:tA,ariaDetails:null,ariaDisabled:tE,ariaDropEffect:tA,ariaErrorMessage:null,ariaExpanded:tE,ariaFlowTo:tA,ariaGrabbed:tE,ariaHasPopup:null,ariaHidden:tE,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tA,ariaLevel:tT,ariaLive:null,ariaModal:tE,ariaMultiLine:tE,ariaMultiSelectable:tE,ariaOrientation:null,ariaOwns:tA,ariaPlaceholder:null,ariaPosInSet:tT,ariaPressed:tE,ariaReadOnly:tE,ariaRelevant:null,ariaRequired:tE,ariaRoleDescription:tA,ariaRowCount:tT,ariaRowIndex:tT,ariaRowSpan:tT,ariaSelected:tE,ariaSetSize:tT,ariaSort:null,ariaValueMax:tT,ariaValueMin:tT,ariaValueNow:tT,ariaValueText:null,role:null}}),tG=tw({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tB,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:t_,acceptCharset:tA,accessKey:tA,action:null,allow:null,allowFullScreen:tf,allowPaymentRequest:tf,allowUserMedia:tf,alt:null,as:null,async:tf,autoCapitalize:null,autoComplete:tA,autoFocus:tf,autoPlay:tf,blocking:tA,capture:null,charSet:null,checked:tf,cite:null,className:tA,cols:tT,colSpan:null,content:null,contentEditable:tE,controls:tf,controlsList:tA,coords:tT|t_,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tf,defer:tf,dir:null,dirName:null,disabled:tf,download:tg,draggable:tE,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tf,formTarget:null,headers:tA,height:tT,hidden:tf,high:tT,href:null,hrefLang:null,htmlFor:tA,httpEquiv:tA,id:null,imageSizes:null,imageSrcSet:null,inert:tf,inputMode:null,integrity:null,is:null,isMap:tf,itemId:null,itemProp:tA,itemRef:tA,itemScope:tf,itemType:tA,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tf,low:tT,manifest:null,max:null,maxLength:tT,media:null,method:null,min:null,minLength:tT,multiple:tf,muted:tf,name:null,nonce:null,noModule:tf,noValidate:tf,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:tf,optimum:tT,pattern:null,ping:tA,placeholder:null,playsInline:tf,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:tf,referrerPolicy:null,rel:tA,required:tf,reversed:tf,rows:tT,rowSpan:tT,sandbox:tA,scope:null,scoped:tf,seamless:tf,selected:tf,shadowRootClonable:tf,shadowRootDelegatesFocus:tf,shadowRootMode:null,shape:null,size:tT,sizes:null,slot:null,span:tT,spellCheck:tE,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tT,step:null,style:null,tabIndex:tT,target:null,title:null,translate:null,type:null,typeMustMatch:tf,useMap:null,value:tE,width:tT,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tA,axis:null,background:null,bgColor:null,border:tT,borderColor:null,bottomMargin:tT,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tf,declare:tf,event:null,face:null,frame:null,frameBorder:null,hSpace:tT,leftMargin:tT,link:null,longDesc:null,lowSrc:null,marginHeight:tT,marginWidth:tT,noResize:tf,noHref:tf,noShade:tf,noWrap:tf,object:null,profile:null,prompt:null,rev:null,rightMargin:tT,rules:null,scheme:null,scrolling:tE,standby:null,summary:null,text:null,topMargin:tT,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tT,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tf,disableRemotePlayback:tf,prefix:null,property:null,results:tT,security:null,unselectable:null}}),tj=tw({space:"svg",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"},transform:tF,properties:{about:tk,accentHeight:tT,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tT,amplitude:tT,arabicForm:null,ascent:tT,attributeName:null,attributeType:null,azimuth:tT,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tT,by:null,calcMode:null,capHeight:tT,className:tA,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:tT,diffuseConstant:tT,direction:null,display:null,dur:null,divisor:tT,dominantBaseline:null,download:tf,dx:null,dy:null,edgeMode:null,editable:null,elevation:tT,enableBackground:null,end:null,event:null,exponent:tT,externalResourcesRequired:null,fill:null,fillOpacity:tT,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:t_,g2:t_,glyphName:t_,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tT,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tT,horizOriginX:tT,horizOriginY:tT,id:null,ideographic:tT,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tT,k:tT,k1:tT,k2:tT,k3:tT,k4:tT,kernelMatrix:tk,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tT,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:tT,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:tT,overlineThickness:tT,paintOrder:null,panose1:null,path:null,pathLength:tT,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tA,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tT,pointsAtY:tT,pointsAtZ:tT,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tk,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tk,rev:tk,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tk,requiredFeatures:tk,requiredFonts:tk,requiredFormats:tk,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:tT,specularExponent:tT,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tT,strikethroughThickness:tT,string:null,stroke:null,strokeDashArray:tk,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tT,strokeOpacity:tT,strokeWidth:null,style:null,surfaceScale:tT,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tk,tabIndex:tT,tableValues:null,target:null,targetX:tT,targetY:tT,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tk,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:tT,underlineThickness:tT,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tT,values:null,vAlphabetic:tT,vMathematical:tT,vectorEffect:null,vHanging:tT,vIdeographic:tT,version:null,vertAdvY:tT,vertOriginX:tT,vertOriginY:tT,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tT,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),tz=tL([tM,tP,tU,tH,tG],"html"),tY=tL([tM,tP,tU,tH,tj],"svg"),tq={}.hasOwnProperty;function tW(e,t){let n=t||{};function r(t,...n){let a=r.invalid,i=r.handlers;if(t&&tq.call(t,e)){let n=String(t[e]);a=tq.call(i,n)?i[n]:r.unknown}if(a)return a.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}e.s(["zwitch",()=>tW],79694);let tV={}.hasOwnProperty,tQ=tW("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=tK(e.children,n,t),tX(e,n),n},element:function(e,t){var n,r;let a,i,o=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(o=tY);let s=[];if(e.properties){for(a in e.properties)if("children"!==a&&tV.call(e.properties,a)){let t=function(e,t,n){let r=function(e,t){let n=th(t),r=t,a=tp;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&tC.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(tI,tO);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tI.test(e)){let n=e.replace(tD,tx);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=tN}return new a(r,t)}(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?e_(n):ex(n));let a={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=a.name.indexOf(":");e<0?a.prefix="":(a.name=a.name.slice(e+1),a.prefix=r.attribute.slice(0,e)),a.namespace=ew[r.space]}return a}(o,a,e.properties[a]);t&&s.push(t)}}let l=o.space;tr(l);let c={nodeName:e.tagName,tagName:e.tagName,attrs:s,namespaceURI:ew[l],childNodes:[],parentNode:null};return c.childNodes=tK(e.children,c,o),tX(e,c),"template"===e.tagName&&e.content&&(n=e.content,r=o,(i={nodeName:"#document-fragment",childNodes:[]}).childNodes=tK(n.children,i,r),tX(n,i),c.content=i),c},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return tX(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return tX(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return tX(e,t),t}}});function tK(e,t,n){let r=-1,a=[];if(e)for(;++r<e.length;){let i=tQ(e[r],n);i.parentNode=t,a.push(i)}return a}function tX(e,t){let n=e.position;n&&n.start&&n.end&&(tr("number"==typeof n.start.offset),tr("number"==typeof 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})}let t$=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];e.s(["htmlVoidElements",0,t$],600577);let tZ=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]);(t=g||(g={}))[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let tJ="[CDATA[",t1="doctype",t0="script";function t2(e){return e>=55296&&e<=57343}function t3(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function t5(e){return e>=64976&&e<=65007||tZ.has(e)}(n=T||(T={})).controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class t4{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){let{line:n,col:r,offset:a}=this,i=r+t,o=a+t;return{code:e,startLine:n,endLine:n,startCol:i,endCol:i,startOffset:o,endOffset:o}}_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){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(T.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 t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let n=this.html.charCodeAt(t);return n===g.CARRIAGE_RETURN?g.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,g.EOF;let e=this.html.charCodeAt(this.pos);return e===g.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED):e===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,t2(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===g.LINE_FEED||e===g.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){t3(e)?this._err(T.controlCharacterInInputStream):t5(e)&&this._err(T.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function t9(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}(r=A||(A={}))[r.CHARACTER=0]="CHARACTER",r[r.NULL_CHARACTER=1]="NULL_CHARACTER",r[r.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",r[r.START_TAG=3]="START_TAG",r[r.END_TAG=4]="END_TAG",r[r.COMMENT=5]="COMMENT",r[r.DOCTYPE=6]="DOCTYPE",r[r.EOF=7]="EOF",r[r.HIBERNATION=8]="HIBERNATION",e.s(["TokenType",()=>A,"getTokenAttr",()=>t9],743820);let t8=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀\ud835\udd04rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀\ud835\udc9cign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀\ud835\udd09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\ud835\udd3dAll;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\0ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcacBEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀\ud835\udcb5ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀\ud835\udd1erave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀\ud835\udd1fgcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀\ud835\udd54oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdasè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻¿䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\0⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀\ud835\udd2bȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀\ud835\udd5f膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀\ud835\udcc3ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀\ud835\udd2cͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⋢⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀\ud835\udd33tré㦮suĀbp㧯㧱»ജ»൙pf;쀀\ud835\udd67roðtré㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦atèᑹcr;쀀\ud835\udcccૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀\ud835\udd35ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),t6=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]]);function t7(e){return e>=k.ZERO&&e<=k.NINE}_=String.fromCodePoint,(a=k||(k={}))[a.NUM=35]="NUM",a[a.SEMI=59]="SEMI",a[a.EQUALS=61]="EQUALS",a[a.ZERO=48]="ZERO",a[a.NINE=57]="NINE",a[a.LOWER_A=97]="LOWER_A",a[a.LOWER_F=102]="LOWER_F",a[a.LOWER_X=120]="LOWER_X",a[a.LOWER_Z=122]="LOWER_Z",a[a.UPPER_A=65]="UPPER_A",a[a.UPPER_F=70]="UPPER_F",a[a.UPPER_Z=90]="UPPER_Z",(i=b||(b={}))[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE",(o=y||(y={}))[o.EntityStart=0]="EntityStart",o[o.NumericStart=1]="NumericStart",o[o.NumericDecimal=2]="NumericDecimal",o[o.NumericHex=3]="NumericHex",o[o.NamedEntity=4]="NamedEntity",(s=S||(S={}))[s.Legacy=0]="Legacy",s[s.Strict=1]="Strict",s[s.Attribute=2]="Attribute";class ne{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=y.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=S.Strict}startEntity(e){this.decodeMode=e,this.state=y.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case y.EntityStart:if(e.charCodeAt(t)===k.NUM)return this.state=y.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=y.NamedEntity,this.stateNamedEntity(e,t);case y.NumericStart:return this.stateNumericStart(e,t);case y.NumericDecimal:return this.stateNumericDecimal(e,t);case y.NumericHex:return this.stateNumericHex(e,t);case y.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===k.LOWER_X?(this.state=y.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=y.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let a=n-t;this.result=this.result*Math.pow(r,a)+Number.parseInt(e.substr(t,a),r),this.consumed+=a}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let a=e.charCodeAt(t);if(!t7(a)&&(!((r=a)>=k.UPPER_A)||!(r<=k.UPPER_F))&&(!(r>=k.LOWER_A)||!(r<=k.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(a,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!t7(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,r,a;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===k.SEMI)this.consumed+=1;else if(this.decodeMode===S.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!=(a=t6.get(r))?a:r,this.consumed),this.errors&&(e!==k.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],a=(r&b.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let i=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,r){let a=(t&b.BRANCH_LENGTH)>>7,i=t&b.JUMP_TABLE;if(0===a)return 0!==i&&r===i?n:-1;if(i){let t=r-i;return t<0||t>=a?-1:e[n+t]-1}let o=n,s=o+a-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else{if(!(n>r))return e[t+a];s=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return 0===this.result||this.decodeMode===S.Attribute&&(0===a||function(e){var t;return e===k.EQUALS||(t=e)>=k.UPPER_A&&t<=k.UPPER_Z||t>=k.LOWER_A&&t<=k.LOWER_Z||t7(t)}(i))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((r=n[this.treeIndex])&b.VALUE_LENGTH)>>14)){if(i===k.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==S.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&b.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~b.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case y.NamedEntity:return 0!==this.result&&(this.decodeMode!==S.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case y.NumericDecimal:return this.emitNumericEntity(0,2);case y.NumericHex:return this.emitNumericEntity(0,3);case y.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case y.EntityStart:return 0}}}(l=N||(N={})).HTML="http://www.w3.org/1999/xhtml",l.MATHML="http://www.w3.org/1998/Math/MathML",l.SVG="http://www.w3.org/2000/svg",l.XLINK="http://www.w3.org/1999/xlink",l.XML="http://www.w3.org/XML/1998/namespace",l.XMLNS="http://www.w3.org/2000/xmlns/",(c=C||(C={})).TYPE="type",c.ACTION="action",c.ENCODING="encoding",c.PROMPT="prompt",c.NAME="name",c.COLOR="color",c.FACE="face",c.SIZE="size",(u=I||(I={})).NO_QUIRKS="no-quirks",u.QUIRKS="quirks",u.LIMITED_QUIRKS="limited-quirks",(d=D||(D={})).A="a",d.ADDRESS="address",d.ANNOTATION_XML="annotation-xml",d.APPLET="applet",d.AREA="area",d.ARTICLE="article",d.ASIDE="aside",d.B="b",d.BASE="base",d.BASEFONT="basefont",d.BGSOUND="bgsound",d.BIG="big",d.BLOCKQUOTE="blockquote",d.BODY="body",d.BR="br",d.BUTTON="button",d.CAPTION="caption",d.CENTER="center",d.CODE="code",d.COL="col",d.COLGROUP="colgroup",d.DD="dd",d.DESC="desc",d.DETAILS="details",d.DIALOG="dialog",d.DIR="dir",d.DIV="div",d.DL="dl",d.DT="dt",d.EM="em",d.EMBED="embed",d.FIELDSET="fieldset",d.FIGCAPTION="figcaption",d.FIGURE="figure",d.FONT="font",d.FOOTER="footer",d.FOREIGN_OBJECT="foreignObject",d.FORM="form",d.FRAME="frame",d.FRAMESET="frameset",d.H1="h1",d.H2="h2",d.H3="h3",d.H4="h4",d.H5="h5",d.H6="h6",d.HEAD="head",d.HEADER="header",d.HGROUP="hgroup",d.HR="hr",d.HTML="html",d.I="i",d.IMG="img",d.IMAGE="image",d.INPUT="input",d.IFRAME="iframe",d.KEYGEN="keygen",d.LABEL="label",d.LI="li",d.LINK="link",d.LISTING="listing",d.MAIN="main",d.MALIGNMARK="malignmark",d.MARQUEE="marquee",d.MATH="math",d.MENU="menu",d.META="meta",d.MGLYPH="mglyph",d.MI="mi",d.MO="mo",d.MN="mn",d.MS="ms",d.MTEXT="mtext",d.NAV="nav",d.NOBR="nobr",d.NOFRAMES="noframes",d.NOEMBED="noembed",d.NOSCRIPT="noscript",d.OBJECT="object",d.OL="ol",d.OPTGROUP="optgroup",d.OPTION="option",d.P="p",d.PARAM="param",d.PLAINTEXT="plaintext",d.PRE="pre",d.RB="rb",d.RP="rp",d.RT="rt",d.RTC="rtc",d.RUBY="ruby",d.S="s",d.SCRIPT="script",d.SEARCH="search",d.SECTION="section",d.SELECT="select",d.SOURCE="source",d.SMALL="small",d.SPAN="span",d.STRIKE="strike",d.STRONG="strong",d.STYLE="style",d.SUB="sub",d.SUMMARY="summary",d.SUP="sup",d.TABLE="table",d.TBODY="tbody",d.TEMPLATE="template",d.TEXTAREA="textarea",d.TFOOT="tfoot",d.TD="td",d.TH="th",d.THEAD="thead",d.TITLE="title",d.TR="tr",d.TRACK="track",d.TT="tt",d.U="u",d.UL="ul",d.SVG="svg",d.VAR="var",d.WBR="wbr",d.XMP="xmp",(h=x||(x={}))[h.UNKNOWN=0]="UNKNOWN",h[h.A=1]="A",h[h.ADDRESS=2]="ADDRESS",h[h.ANNOTATION_XML=3]="ANNOTATION_XML",h[h.APPLET=4]="APPLET",h[h.AREA=5]="AREA",h[h.ARTICLE=6]="ARTICLE",h[h.ASIDE=7]="ASIDE",h[h.B=8]="B",h[h.BASE=9]="BASE",h[h.BASEFONT=10]="BASEFONT",h[h.BGSOUND=11]="BGSOUND",h[h.BIG=12]="BIG",h[h.BLOCKQUOTE=13]="BLOCKQUOTE",h[h.BODY=14]="BODY",h[h.BR=15]="BR",h[h.BUTTON=16]="BUTTON",h[h.CAPTION=17]="CAPTION",h[h.CENTER=18]="CENTER",h[h.CODE=19]="CODE",h[h.COL=20]="COL",h[h.COLGROUP=21]="COLGROUP",h[h.DD=22]="DD",h[h.DESC=23]="DESC",h[h.DETAILS=24]="DETAILS",h[h.DIALOG=25]="DIALOG",h[h.DIR=26]="DIR",h[h.DIV=27]="DIV",h[h.DL=28]="DL",h[h.DT=29]="DT",h[h.EM=30]="EM",h[h.EMBED=31]="EMBED",h[h.FIELDSET=32]="FIELDSET",h[h.FIGCAPTION=33]="FIGCAPTION",h[h.FIGURE=34]="FIGURE",h[h.FONT=35]="FONT",h[h.FOOTER=36]="FOOTER",h[h.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",h[h.FORM=38]="FORM",h[h.FRAME=39]="FRAME",h[h.FRAMESET=40]="FRAMESET",h[h.H1=41]="H1",h[h.H2=42]="H2",h[h.H3=43]="H3",h[h.H4=44]="H4",h[h.H5=45]="H5",h[h.H6=46]="H6",h[h.HEAD=47]="HEAD",h[h.HEADER=48]="HEADER",h[h.HGROUP=49]="HGROUP",h[h.HR=50]="HR",h[h.HTML=51]="HTML",h[h.I=52]="I",h[h.IMG=53]="IMG",h[h.IMAGE=54]="IMAGE",h[h.INPUT=55]="INPUT",h[h.IFRAME=56]="IFRAME",h[h.KEYGEN=57]="KEYGEN",h[h.LABEL=58]="LABEL",h[h.LI=59]="LI",h[h.LINK=60]="LINK",h[h.LISTING=61]="LISTING",h[h.MAIN=62]="MAIN",h[h.MALIGNMARK=63]="MALIGNMARK",h[h.MARQUEE=64]="MARQUEE",h[h.MATH=65]="MATH",h[h.MENU=66]="MENU",h[h.META=67]="META",h[h.MGLYPH=68]="MGLYPH",h[h.MI=69]="MI",h[h.MO=70]="MO",h[h.MN=71]="MN",h[h.MS=72]="MS",h[h.MTEXT=73]="MTEXT",h[h.NAV=74]="NAV",h[h.NOBR=75]="NOBR",h[h.NOFRAMES=76]="NOFRAMES",h[h.NOEMBED=77]="NOEMBED",h[h.NOSCRIPT=78]="NOSCRIPT",h[h.OBJECT=79]="OBJECT",h[h.OL=80]="OL",h[h.OPTGROUP=81]="OPTGROUP",h[h.OPTION=82]="OPTION",h[h.P=83]="P",h[h.PARAM=84]="PARAM",h[h.PLAINTEXT=85]="PLAINTEXT",h[h.PRE=86]="PRE",h[h.RB=87]="RB",h[h.RP=88]="RP",h[h.RT=89]="RT",h[h.RTC=90]="RTC",h[h.RUBY=91]="RUBY",h[h.S=92]="S",h[h.SCRIPT=93]="SCRIPT",h[h.SEARCH=94]="SEARCH",h[h.SECTION=95]="SECTION",h[h.SELECT=96]="SELECT",h[h.SOURCE=97]="SOURCE",h[h.SMALL=98]="SMALL",h[h.SPAN=99]="SPAN",h[h.STRIKE=100]="STRIKE",h[h.STRONG=101]="STRONG",h[h.STYLE=102]="STYLE",h[h.SUB=103]="SUB",h[h.SUMMARY=104]="SUMMARY",h[h.SUP=105]="SUP",h[h.TABLE=106]="TABLE",h[h.TBODY=107]="TBODY",h[h.TEMPLATE=108]="TEMPLATE",h[h.TEXTAREA=109]="TEXTAREA",h[h.TFOOT=110]="TFOOT",h[h.TD=111]="TD",h[h.TH=112]="TH",h[h.THEAD=113]="THEAD",h[h.TITLE=114]="TITLE",h[h.TR=115]="TR",h[h.TRACK=116]="TRACK",h[h.TT=117]="TT",h[h.U=118]="U",h[h.UL=119]="UL",h[h.SVG=120]="SVG",h[h.VAR=121]="VAR",h[h.WBR=122]="WBR",h[h.XMP=123]="XMP";let nt=new Map([[D.A,x.A],[D.ADDRESS,x.ADDRESS],[D.ANNOTATION_XML,x.ANNOTATION_XML],[D.APPLET,x.APPLET],[D.AREA,x.AREA],[D.ARTICLE,x.ARTICLE],[D.ASIDE,x.ASIDE],[D.B,x.B],[D.BASE,x.BASE],[D.BASEFONT,x.BASEFONT],[D.BGSOUND,x.BGSOUND],[D.BIG,x.BIG],[D.BLOCKQUOTE,x.BLOCKQUOTE],[D.BODY,x.BODY],[D.BR,x.BR],[D.BUTTON,x.BUTTON],[D.CAPTION,x.CAPTION],[D.CENTER,x.CENTER],[D.CODE,x.CODE],[D.COL,x.COL],[D.COLGROUP,x.COLGROUP],[D.DD,x.DD],[D.DESC,x.DESC],[D.DETAILS,x.DETAILS],[D.DIALOG,x.DIALOG],[D.DIR,x.DIR],[D.DIV,x.DIV],[D.DL,x.DL],[D.DT,x.DT],[D.EM,x.EM],[D.EMBED,x.EMBED],[D.FIELDSET,x.FIELDSET],[D.FIGCAPTION,x.FIGCAPTION],[D.FIGURE,x.FIGURE],[D.FONT,x.FONT],[D.FOOTER,x.FOOTER],[D.FOREIGN_OBJECT,x.FOREIGN_OBJECT],[D.FORM,x.FORM],[D.FRAME,x.FRAME],[D.FRAMESET,x.FRAMESET],[D.H1,x.H1],[D.H2,x.H2],[D.H3,x.H3],[D.H4,x.H4],[D.H5,x.H5],[D.H6,x.H6],[D.HEAD,x.HEAD],[D.HEADER,x.HEADER],[D.HGROUP,x.HGROUP],[D.HR,x.HR],[D.HTML,x.HTML],[D.I,x.I],[D.IMG,x.IMG],[D.IMAGE,x.IMAGE],[D.INPUT,x.INPUT],[D.IFRAME,x.IFRAME],[D.KEYGEN,x.KEYGEN],[D.LABEL,x.LABEL],[D.LI,x.LI],[D.LINK,x.LINK],[D.LISTING,x.LISTING],[D.MAIN,x.MAIN],[D.MALIGNMARK,x.MALIGNMARK],[D.MARQUEE,x.MARQUEE],[D.MATH,x.MATH],[D.MENU,x.MENU],[D.META,x.META],[D.MGLYPH,x.MGLYPH],[D.MI,x.MI],[D.MO,x.MO],[D.MN,x.MN],[D.MS,x.MS],[D.MTEXT,x.MTEXT],[D.NAV,x.NAV],[D.NOBR,x.NOBR],[D.NOFRAMES,x.NOFRAMES],[D.NOEMBED,x.NOEMBED],[D.NOSCRIPT,x.NOSCRIPT],[D.OBJECT,x.OBJECT],[D.OL,x.OL],[D.OPTGROUP,x.OPTGROUP],[D.OPTION,x.OPTION],[D.P,x.P],[D.PARAM,x.PARAM],[D.PLAINTEXT,x.PLAINTEXT],[D.PRE,x.PRE],[D.RB,x.RB],[D.RP,x.RP],[D.RT,x.RT],[D.RTC,x.RTC],[D.RUBY,x.RUBY],[D.S,x.S],[D.SCRIPT,x.SCRIPT],[D.SEARCH,x.SEARCH],[D.SECTION,x.SECTION],[D.SELECT,x.SELECT],[D.SOURCE,x.SOURCE],[D.SMALL,x.SMALL],[D.SPAN,x.SPAN],[D.STRIKE,x.STRIKE],[D.STRONG,x.STRONG],[D.STYLE,x.STYLE],[D.SUB,x.SUB],[D.SUMMARY,x.SUMMARY],[D.SUP,x.SUP],[D.TABLE,x.TABLE],[D.TBODY,x.TBODY],[D.TEMPLATE,x.TEMPLATE],[D.TEXTAREA,x.TEXTAREA],[D.TFOOT,x.TFOOT],[D.TD,x.TD],[D.TH,x.TH],[D.THEAD,x.THEAD],[D.TITLE,x.TITLE],[D.TR,x.TR],[D.TRACK,x.TRACK],[D.TT,x.TT],[D.U,x.U],[D.UL,x.UL],[D.SVG,x.SVG],[D.VAR,x.VAR],[D.WBR,x.WBR],[D.XMP,x.XMP]]);function nn(e){var t;return null!=(t=nt.get(e))?t:x.UNKNOWN}let nr=x,na={[N.HTML]:new Set([nr.ADDRESS,nr.APPLET,nr.AREA,nr.ARTICLE,nr.ASIDE,nr.BASE,nr.BASEFONT,nr.BGSOUND,nr.BLOCKQUOTE,nr.BODY,nr.BR,nr.BUTTON,nr.CAPTION,nr.CENTER,nr.COL,nr.COLGROUP,nr.DD,nr.DETAILS,nr.DIR,nr.DIV,nr.DL,nr.DT,nr.EMBED,nr.FIELDSET,nr.FIGCAPTION,nr.FIGURE,nr.FOOTER,nr.FORM,nr.FRAME,nr.FRAMESET,nr.H1,nr.H2,nr.H3,nr.H4,nr.H5,nr.H6,nr.HEAD,nr.HEADER,nr.HGROUP,nr.HR,nr.HTML,nr.IFRAME,nr.IMG,nr.INPUT,nr.LI,nr.LINK,nr.LISTING,nr.MAIN,nr.MARQUEE,nr.MENU,nr.META,nr.NAV,nr.NOEMBED,nr.NOFRAMES,nr.NOSCRIPT,nr.OBJECT,nr.OL,nr.P,nr.PARAM,nr.PLAINTEXT,nr.PRE,nr.SCRIPT,nr.SECTION,nr.SELECT,nr.SOURCE,nr.STYLE,nr.SUMMARY,nr.TABLE,nr.TBODY,nr.TD,nr.TEMPLATE,nr.TEXTAREA,nr.TFOOT,nr.TH,nr.THEAD,nr.TITLE,nr.TR,nr.TRACK,nr.UL,nr.WBR,nr.XMP]),[N.MATHML]:new Set([nr.MI,nr.MO,nr.MN,nr.MS,nr.MTEXT,nr.ANNOTATION_XML]),[N.SVG]:new Set([nr.TITLE,nr.FOREIGN_OBJECT,nr.DESC]),[N.XLINK]:new Set,[N.XML]:new Set,[N.XMLNS]:new Set},ni=new Set([nr.H1,nr.H2,nr.H3,nr.H4,nr.H5,nr.H6]),no=new Set([D.STYLE,D.SCRIPT,D.XMP,D.IFRAME,D.NOEMBED,D.NOFRAMES,D.PLAINTEXT]);function ns(e,t){return no.has(e)||t&&e===D.NOSCRIPT}e.s(["ATTRS",()=>C,"DOCUMENT_MODE",()=>I,"NS",()=>N,"NUMBERED_HEADERS",0,ni,"SPECIAL_ELEMENTS",0,na,"TAG_ID",()=>x,"TAG_NAMES",()=>D,"getTagID",()=>nn,"hasUnescapedText",()=>ns],113515),(p=O||(O={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let nl={DATA:O.DATA,RCDATA:O.RCDATA,RAWTEXT:O.RAWTEXT,SCRIPT_DATA:O.SCRIPT_DATA,PLAINTEXT:O.PLAINTEXT,CDATA_SECTION:O.CDATA_SECTION};function nc(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function nu(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z||nc(e)}function nd(e){return nu(e)||e>=g.DIGIT_0&&e<=g.DIGIT_9}function nh(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function np(e){return nh(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class nm{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=O.DATA,this.returnState=O.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new t4(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ne(t8,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(T.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(T.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===g.NULL)return T.nullCharacterReference;if(e>1114111)return T.characterReferenceOutsideUnicodeRange;if(t2(e))return T.surrogateCharacterReference;if(t5(e))return T.noncharacterCharacterReference;if(t3(e)||e===g.CARRIAGE_RETURN)return T.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null==(r=(n=this.handler).onParseError)||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;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw 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:A.START_TAG,tagName:"",tagID:x.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:A.END_TAG,tagName:"",tagID:x.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:A.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:A.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;let n=this.currentToken;null===t9(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!=(e=(t=n.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(T.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(){let e=this.currentToken;this.prepareToken(e),e.tagID=nn(e.tagName),e.type===A.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(T.endTagWithAttributes),e.selfClosing&&this._err(T.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 A.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case A.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case A.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:A.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=nh(e)?A.WHITESPACE_CHARACTER:e===g.NULL?A.NULL_CHARACTER:A.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(A.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=O.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?S.Attribute:S.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===O.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===O.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===O.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case O.DATA:this._stateData(e);break;case O.RCDATA:this._stateRcdata(e);break;case O.RAWTEXT:this._stateRawtext(e);break;case O.SCRIPT_DATA:this._stateScriptData(e);break;case O.PLAINTEXT:this._statePlaintext(e);break;case O.TAG_OPEN:this._stateTagOpen(e);break;case O.END_TAG_OPEN:this._stateEndTagOpen(e);break;case O.TAG_NAME:this._stateTagName(e);break;case O.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case O.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case O.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case O.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case O.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case O.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case O.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case O.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case O.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case O.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case O.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case O.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case O.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case O.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case O.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case O.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case O.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case O.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case O.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case O.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case O.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case O.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case O.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case O.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case O.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case O.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case O.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case O.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case O.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case O.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case O.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case O.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case O.BOGUS_COMMENT:this._stateBogusComment(e);break;case O.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case O.COMMENT_START:this._stateCommentStart(e);break;case O.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case O.COMMENT:this._stateComment(e);break;case O.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case O.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case O.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case O.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case O.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case O.COMMENT_END:this._stateCommentEnd(e);break;case O.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case O.DOCTYPE:this._stateDoctype(e);break;case O.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case O.DOCTYPE_NAME:this._stateDoctypeName(e);break;case O.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case O.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case O.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case O.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case O.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case O.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case O.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case O.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case O.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case O.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case O.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case O.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case O.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case O.CDATA_SECTION:this._stateCdataSection(e);break;case O.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case O.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case O.CHARACTER_REFERENCE:this._stateCharacterReference();break;case O.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case g.LESS_THAN_SIGN:this.state=O.TAG_OPEN;break;case g.AMPERSAND:this._startCharacterReference();break;case g.NULL:this._err(T.unexpectedNullCharacter),this._emitCodePoint(e);break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case g.AMPERSAND:this._startCharacterReference();break;case g.LESS_THAN_SIGN:this.state=O.RCDATA_LESS_THAN_SIGN;break;case g.NULL:this._err(T.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case g.LESS_THAN_SIGN:this.state=O.RAWTEXT_LESS_THAN_SIGN;break;case g.NULL:this._err(T.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_LESS_THAN_SIGN;break;case g.NULL:this._err(T.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case g.NULL:this._err(T.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(nu(e))this._createStartTagToken(),this.state=O.TAG_NAME,this._stateTagName(e);else switch(e){case g.EXCLAMATION_MARK:this.state=O.MARKUP_DECLARATION_OPEN;break;case g.SOLIDUS:this.state=O.END_TAG_OPEN;break;case g.QUESTION_MARK:this._err(T.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=O.BOGUS_COMMENT,this._stateBogusComment(e);break;case g.EOF:this._err(T.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(T.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=O.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(nu(e))this._createEndTagToken(),this.state=O.TAG_NAME,this._stateTagName(e);else switch(e){case g.GREATER_THAN_SIGN:this._err(T.missingEndTagName),this.state=O.DATA;break;case g.EOF:this._err(T.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(T.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=O.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=O.BEFORE_ATTRIBUTE_NAME;break;case g.SOLIDUS:this.state=O.SELF_CLOSING_START_TAG;break;case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentTagToken();break;case g.NULL:this._err(T.unexpectedNullCharacter),t.tagName+="�";break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(nc(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===g.SOLIDUS?this.state=O.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=O.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){nu(e)?(this.state=O.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=O.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=O.BEFORE_ATTRIBUTE_NAME,!1;case g.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=O.SELF_CLOSING_START_TAG,!1;case g.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=O.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=O.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===g.SOLIDUS?this.state=O.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=O.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){nu(e)?(this.state=O.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=O.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=O.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case g.SOLIDUS:this.state=O.SCRIPT_DATA_END_TAG_OPEN;break;case g.EXCLAMATION_MARK:this.state=O.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=O.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){nu(e)?(this.state=O.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=O.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=O.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===g.HYPHEN_MINUS?(this.state=O.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=O.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===g.HYPHEN_MINUS?(this.state=O.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=O.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case g.HYPHEN_MINUS:this.state=O.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case g.NULL:this._err(T.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._err(T.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case g.HYPHEN_MINUS:this.state=O.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case g.NULL:this._err(T.unexpectedNullCharacter),this.state=O.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(T.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=O.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case g.HYPHEN_MINUS:this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case g.GREATER_THAN_SIGN:this.state=O.SCRIPT_DATA,this._emitChars(">");break;case g.NULL:this._err(T.unexpectedNullCharacter),this.state=O.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(T.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=O.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===g.SOLIDUS?this.state=O.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:nu(e)?(this._emitChars("<"),this.state=O.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=O.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){nu(e)?(this.state=O.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=O.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=O.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(t0,!1)&&np(this.preprocessor.peek(t0.length))){this._emitCodePoint(e);for(let e=0;e<t0.length;e++)this._emitCodePoint(this._consume());this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=O.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case g.HYPHEN_MINUS:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case g.NULL:this._err(T.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._err(T.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case g.HYPHEN_MINUS:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case g.NULL:this._err(T.unexpectedNullCharacter),this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(T.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case g.HYPHEN_MINUS:this._emitChars("-");break;case g.LESS_THAN_SIGN:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case g.GREATER_THAN_SIGN:this.state=O.SCRIPT_DATA,this._emitChars(">");break;case g.NULL:this._err(T.unexpectedNullCharacter),this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(T.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===g.SOLIDUS?(this.state=O.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(t0,!1)&&np(this.preprocessor.peek(t0.length))){this._emitCodePoint(e);for(let e=0;e<t0.length;e++)this._emitCodePoint(this._consume());this.state=O.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=O.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:this.state=O.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case g.EQUALS_SIGN:this._err(T.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=O.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=O.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:this._leaveAttrName(),this.state=O.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case g.EQUALS_SIGN:this._leaveAttrName(),this.state=O.BEFORE_ATTRIBUTE_VALUE;break;case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:this._err(T.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case g.NULL:this._err(T.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(nc(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:this.state=O.SELF_CLOSING_START_TAG;break;case g.EQUALS_SIGN:this.state=O.BEFORE_ATTRIBUTE_VALUE;break;case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentTagToken();break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=O.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:this.state=O.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case g.APOSTROPHE:this.state=O.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(T.missingAttributeValue),this.state=O.DATA,this.emitCurrentTagToken();break;default:this.state=O.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case g.QUOTATION_MARK:this.state=O.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case g.AMPERSAND:this._startCharacterReference();break;case g.NULL:this._err(T.unexpectedNullCharacter),this.currentAttr.value+="�";break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case g.APOSTROPHE:this.state=O.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case g.AMPERSAND:this._startCharacterReference();break;case g.NULL:this._err(T.unexpectedNullCharacter),this.currentAttr.value+="�";break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this._leaveAttrValue(),this.state=O.BEFORE_ATTRIBUTE_NAME;break;case g.AMPERSAND:this._startCharacterReference();break;case g.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=O.DATA,this.emitCurrentTagToken();break;case g.NULL:this._err(T.unexpectedNullCharacter),this.currentAttr.value+="�";break;case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:case g.EQUALS_SIGN:case g.GRAVE_ACCENT:this._err(T.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this._leaveAttrValue(),this.state=O.BEFORE_ATTRIBUTE_NAME;break;case g.SOLIDUS:this._leaveAttrValue(),this.state=O.SELF_CLOSING_START_TAG;break;case g.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=O.DATA,this.emitCurrentTagToken();break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:this._err(T.missingWhitespaceBetweenAttributes),this.state=O.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case g.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=O.DATA,this.emitCurrentTagToken();break;case g.EOF:this._err(T.eofInTag),this._emitEOFToken();break;default:this._err(T.unexpectedSolidusInTag),this.state=O.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentComment(t);break;case g.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case g.NULL:this._err(T.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=O.COMMENT_START):this._consumeSequenceIfMatch(t1,!1)?(this.currentLocation=this.getCurrentLocation(t1.length+1),this.state=O.DOCTYPE):this._consumeSequenceIfMatch(tJ,!0)?this.inForeignNode?this.state=O.CDATA_SECTION:(this._err(T.cdataInHtmlContent),this._createCommentToken(tJ.length+1),this.currentToken.data="[CDATA[",this.state=O.BOGUS_COMMENT):this._ensureHibernation()||(this._err(T.incorrectlyOpenedComment),this._createCommentToken(2),this.state=O.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case g.HYPHEN_MINUS:this.state=O.COMMENT_START_DASH;break;case g.GREATER_THAN_SIGN:{this._err(T.abruptClosingOfEmptyComment),this.state=O.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=O.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:this.state=O.COMMENT_END;break;case g.GREATER_THAN_SIGN:this._err(T.abruptClosingOfEmptyComment),this.state=O.DATA,this.emitCurrentComment(t);break;case g.EOF:this._err(T.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=O.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:this.state=O.COMMENT_END_DASH;break;case g.LESS_THAN_SIGN:t.data+="<",this.state=O.COMMENT_LESS_THAN_SIGN;break;case g.NULL:this._err(T.unexpectedNullCharacter),t.data+="�";break;case g.EOF:this._err(T.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case g.EXCLAMATION_MARK:t.data+="!",this.state=O.COMMENT_LESS_THAN_SIGN_BANG;break;case g.LESS_THAN_SIGN:t.data+="<";break;default:this.state=O.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===g.HYPHEN_MINUS?this.state=O.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=O.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===g.HYPHEN_MINUS?this.state=O.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=O.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==g.GREATER_THAN_SIGN&&e!==g.EOF&&this._err(T.nestedComment),this.state=O.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:this.state=O.COMMENT_END;break;case g.EOF:this._err(T.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=O.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentComment(t);break;case g.EXCLAMATION_MARK:this.state=O.COMMENT_END_BANG;break;case g.HYPHEN_MINUS:t.data+="-";break;case g.EOF:this._err(T.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=O.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case g.HYPHEN_MINUS:t.data+="--!",this.state=O.COMMENT_END_DASH;break;case g.GREATER_THAN_SIGN:this._err(T.incorrectlyClosedComment),this.state=O.DATA,this.emitCurrentComment(t);break;case g.EOF:this._err(T.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=O.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=O.BEFORE_DOCTYPE_NAME;break;case g.GREATER_THAN_SIGN:this.state=O.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case g.EOF:{this._err(T.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(T.missingWhitespaceBeforeDoctypeName),this.state=O.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(nc(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=O.DOCTYPE_NAME;else switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.NULL:this._err(T.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=O.DOCTYPE_NAME;break;case g.GREATER_THAN_SIGN:{this._err(T.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=O.DATA;break}case g.EOF:{this._err(T.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=O.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=O.AFTER_DOCTYPE_NAME;break;case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.NULL:this._err(T.unexpectedNullCharacter),t.name+="�";break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(nc(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=O.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=O.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(T.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=O.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case g.QUOTATION_MARK:this._err(T.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=O.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:this._err(T.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=O.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(T.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:t.publicId="",this.state=O.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:t.publicId="",this.state=O.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(T.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case g.QUOTATION_MARK:this.state=O.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case g.NULL:this._err(T.unexpectedNullCharacter),t.publicId+="�";break;case g.GREATER_THAN_SIGN:this._err(T.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case g.APOSTROPHE:this.state=O.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case g.NULL:this._err(T.unexpectedNullCharacter),t.publicId+="�";break;case g.GREATER_THAN_SIGN:this._err(T.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=O.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case g.GREATER_THAN_SIGN:this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.QUOTATION_MARK:this._err(T.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:this._err(T.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.QUOTATION_MARK:t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:this.state=O.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case g.QUOTATION_MARK:this._err(T.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:this._err(T.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(T.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case g.APOSTROPHE:t.systemId="",this.state=O.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case g.GREATER_THAN_SIGN:this._err(T.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=O.DATA,this.emitCurrentDoctype(t);break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case g.QUOTATION_MARK:this.state=O.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case g.NULL:this._err(T.unexpectedNullCharacter),t.systemId+="�";break;case g.GREATER_THAN_SIGN:this._err(T.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case g.APOSTROPHE:this.state=O.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case g.NULL:this._err(T.unexpectedNullCharacter),t.systemId+="�";break;case g.GREATER_THAN_SIGN:this._err(T.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.EOF:this._err(T.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(T.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=O.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case g.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=O.DATA;break;case g.NULL:this._err(T.unexpectedNullCharacter);break;case g.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case g.RIGHT_SQUARE_BRACKET:this.state=O.CDATA_SECTION_BRACKET;break;case g.EOF:this._err(T.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===g.RIGHT_SQUARE_BRACKET?this.state=O.CDATA_SECTION_END:(this._emitChars("]"),this.state=O.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case g.GREATER_THAN_SIGN:this.state=O.DATA;break;case g.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=O.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&nd(this.preprocessor.peek(1))?O.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){nd(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===g.SEMICOLON&&this._err(T.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let nf=new Set([x.DD,x.DT,x.LI,x.OPTGROUP,x.OPTION,x.P,x.RB,x.RP,x.RT,x.RTC]),nE=new Set([...nf,x.CAPTION,x.COLGROUP,x.TBODY,x.TD,x.TFOOT,x.TH,x.THEAD,x.TR]),ng=new Set([x.APPLET,x.CAPTION,x.HTML,x.MARQUEE,x.OBJECT,x.TABLE,x.TD,x.TEMPLATE,x.TH]),nT=new Set([...ng,x.OL,x.UL]),nA=new Set([...ng,x.BUTTON]),n_=new Set([x.ANNOTATION_XML,x.MI,x.MN,x.MO,x.MS,x.MTEXT]),nk=new Set([x.DESC,x.FOREIGN_OBJECT,x.TITLE]),nb=new Set([x.TR,x.TEMPLATE,x.HTML]),ny=new Set([x.TBODY,x.TFOOT,x.THEAD,x.TEMPLATE,x.HTML]),nS=new Set([x.TABLE,x.TEMPLATE,x.HTML]),nN=new Set([x.TD,x.TH]);class nC{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=x.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===x.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===N.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(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let 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])!==N.HTML)this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ni,N.HTML)}popUntilTableCellPopped(){this.popUntilPopped(nN,N.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){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(nS,N.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ny,N.HTML)}clearBackToTableRowContext(){this.clearBackTo(nb,N.HTML)}remove(e){let 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]===x.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===x.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case N.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case N.SVG:if(nk.has(r))return!1;break;case N.MATHML:if(n_.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,ng)}hasInListItemScope(e){return this.hasInDynamicScope(e,nT)}hasInButtonScope(e){return this.hasInDynamicScope(e,nA)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case N.HTML:if(ni.has(t))return!0;if(ng.has(t))return!1;break;case N.SVG:if(nk.has(t))return!1;break;case N.MATHML:if(n_.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===N.HTML)switch(this.tagIDs[t]){case e:return!0;case x.TABLE:case x.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===N.HTML)switch(this.tagIDs[e]){case x.TBODY:case x.THEAD:case x.TFOOT:return!0;case x.TABLE:case x.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===N.HTML)switch(this.tagIDs[t]){case e:return!0;case x.OPTION:case x.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&nf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&nE.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&nE.has(this.currentTagId);)this.pop()}}(m=v||(v={}))[m.Marker=0]="Marker",m[m.Element=1]="Element";let nI={type:v.Marker};class nD{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===v.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===a&&this.treeAdapter.getNamespaceURI(o)===i){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),a=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(nI)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:v.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:v.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(nI);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===v.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===v.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===v.Element&&t.element===e)}}let nx={createDocument:()=>({nodeName:"#document",mode:I.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){let 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){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):nx.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(nx.isTextNode(n)){n.value+=t;return}}nx.appendChild(e,nx.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&nx.isTextNode(r)?r.value+=t:nx.insertBefore(e,nx.createTextNode(t),n)},adoptAttributes(e,t){let 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}}},nO="html",nv=["+//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//"],nL=[...nv,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],nR=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),nw=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],nP=[...nw,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function nM(e,t){return t.some(t=>e.startsWith(t))}let nF=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])),nB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:N.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:N.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:N.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:N.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:N.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:N.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:N.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:N.XML}],["xml:space",{prefix:"xml",name:"space",namespace:N.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:N.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:N.XMLNS}]]),nU=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])),nH=new Set([x.B,x.BIG,x.BLOCKQUOTE,x.BODY,x.BR,x.CENTER,x.CODE,x.DD,x.DIV,x.DL,x.DT,x.EM,x.EMBED,x.H1,x.H2,x.H3,x.H4,x.H5,x.H6,x.HEAD,x.HR,x.I,x.IMG,x.LI,x.LISTING,x.MENU,x.META,x.NOBR,x.OL,x.P,x.PRE,x.RUBY,x.S,x.SMALL,x.SPAN,x.STRONG,x.STRIKE,x.SUB,x.SUP,x.TABLE,x.TT,x.U,x.UL,x.VAR]);function nG(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function nj(e){for(let t=0;t<e.attrs.length;t++){let n=nF.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function nz(e){for(let t=0;t<e.attrs.length;t++){let n=nB.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}(f=L||(L={}))[f.INITIAL=0]="INITIAL",f[f.BEFORE_HTML=1]="BEFORE_HTML",f[f.BEFORE_HEAD=2]="BEFORE_HEAD",f[f.IN_HEAD=3]="IN_HEAD",f[f.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",f[f.AFTER_HEAD=5]="AFTER_HEAD",f[f.IN_BODY=6]="IN_BODY",f[f.TEXT=7]="TEXT",f[f.IN_TABLE=8]="IN_TABLE",f[f.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",f[f.IN_CAPTION=10]="IN_CAPTION",f[f.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",f[f.IN_TABLE_BODY=12]="IN_TABLE_BODY",f[f.IN_ROW=13]="IN_ROW",f[f.IN_CELL=14]="IN_CELL",f[f.IN_SELECT=15]="IN_SELECT",f[f.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",f[f.IN_TEMPLATE=17]="IN_TEMPLATE",f[f.AFTER_BODY=18]="AFTER_BODY",f[f.IN_FRAMESET=19]="IN_FRAMESET",f[f.AFTER_FRAMESET=20]="AFTER_FRAMESET",f[f.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",f[f.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let nY={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},nq=new Set([x.TABLE,x.TBODY,x.TFOOT,x.THEAD,x.TR]),nW={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:nx,onParseError:null};class nV{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=L.INITIAL,this.originalInsertionMode=L.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={...nW,...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 nm(this.options,this),this.activeFormattingElements=new nD(this.treeAdapter),this.fragmentContextID=n?nn(this.treeAdapter.getTagName(n)):x.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new nC(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...nW,...t};null!=e||(e=n.treeAdapter.createElement(D.TEMPLATE,N.HTML,[]));let r=n.treeAdapter.createElement("documentmock",N.HTML,[]),a=new this(n,r,e);return a.fragmentContextID===x.TEMPLATE&&a.tmplInsertionModeStack.unshift(L.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){let 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;let a=null!=(r=e.location)?r:nY,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,a;null==(a=(r=this.treeAdapter).onItemPush)||a.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)||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){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===N.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,N.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=L.TEXT}switchToPlaintextParsing(){this.insertionMode=L.TEXT,this.originalInsertionMode=L.IN_BODY,this.tokenizer.state=nl.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)===D.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===N.HTML)switch(this.fragmentContextID){case x.TITLE:case x.TEXTAREA:this.tokenizer.state=nl.RCDATA;break;case x.STYLE:case x.XMP:case x.IFRAME:case x.NOEMBED:case x.NOFRAMES:case x.NOSCRIPT:this.tokenizer.state=nl.RAWTEXT;break;case x.SCRIPT:this.tokenizer.state=nl.SCRIPT_DATA;break;case x.PLAINTEXT:this.tokenizer.state=nl.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let 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){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,N.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,N.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(){let e=this.treeAdapter.createElement(D.HTML,N.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,x.HTML)}_appendCommentNode(e,t){let 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;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===A.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,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==x.SVG||this.treeAdapter.getTagName(t)!==D.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==N.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===x.MGLYPH||e.tagID===x.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,N.HTML)))}_processToken(e){switch(e.type){case A.CHARACTER:this.onCharacter(e);break;case A.NULL_CHARACTER:this.onNullCharacter(e);break;case A.COMMENT:this.onComment(e);break;case A.DOCTYPE:this.onDoctype(e);break;case A.START_TAG:this._processStartTag(e);break;case A.END_TAG:this.onEndTag(e);break;case A.EOF:this.onEof(e);break;case A.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===N.HTML)&&function(e,t,n){if(t===N.MATHML&&e===x.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===C.ENCODING){let t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===N.SVG&&(e===x.FOREIGN_OBJECT||e===x.DESC||e===x.TITLE)}(e,r,a)||(!n||n===N.MATHML)&&r===N.MATHML&&(e===x.MI||e===x.MO||e===x.MN||e===x.MS||e===x.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===v.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=L.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(x.P),this.openElements.popUntilTagNamePopped(x.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case x.TR:this.insertionMode=L.IN_ROW;return;case x.TBODY:case x.THEAD:case x.TFOOT:this.insertionMode=L.IN_TABLE_BODY;return;case x.CAPTION:this.insertionMode=L.IN_CAPTION;return;case x.COLGROUP:this.insertionMode=L.IN_COLUMN_GROUP;return;case x.TABLE:this.insertionMode=L.IN_TABLE;return;case x.BODY:this.insertionMode=L.IN_BODY;return;case x.FRAMESET:this.insertionMode=L.IN_FRAMESET;return;case x.SELECT:return void this._resetInsertionModeForSelect(e);case x.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case x.HTML:this.insertionMode=this.headElement?L.AFTER_HEAD:L.BEFORE_HEAD;return;case x.TD:case x.TH:if(e>0){this.insertionMode=L.IN_CELL;return}break;case x.HEAD:if(e>0){this.insertionMode=L.IN_HEAD;return}}this.insertionMode=L.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===x.TEMPLATE)break;if(e===x.TABLE){this.insertionMode=L.IN_SELECT_IN_TABLE;return}}this.insertionMode=L.IN_SELECT}_isElementCausesFosterParenting(e){return nq.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--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case x.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===N.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case x.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return na[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case L.INITIAL:n$(this,e);break;case L.BEFORE_HTML:nZ(this,e);break;case L.BEFORE_HEAD:nJ(this,e);break;case L.IN_HEAD:n2(this,e);break;case L.IN_HEAD_NO_SCRIPT:n3(this,e);break;case L.AFTER_HEAD:n5(this,e);break;case L.IN_BODY:case L.IN_CAPTION:case L.IN_CELL:case L.IN_TEMPLATE:n8(this,e);break;case L.TEXT:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case L.IN_TABLE:case L.IN_TABLE_BODY:case L.IN_ROW:ro(this,e);break;case L.IN_TABLE_TEXT:rd(this,e);break;case L.IN_COLUMN_GROUP:rf(this,e);break;case L.AFTER_BODY:rS(this,e);break;case L.AFTER_AFTER_BODY:rN(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case L.INITIAL:n$(this,e);break;case L.BEFORE_HTML:nZ(this,e);break;case L.BEFORE_HEAD:nJ(this,e);break;case L.IN_HEAD:n2(this,e);break;case L.IN_HEAD_NO_SCRIPT:n3(this,e);break;case L.AFTER_HEAD:n5(this,e);break;case L.TEXT:this._insertCharacters(e);break;case L.IN_TABLE:case L.IN_TABLE_BODY:case L.IN_ROW:ro(this,e);break;case L.IN_COLUMN_GROUP:rf(this,e);break;case L.AFTER_BODY:rS(this,e);break;case L.AFTER_AFTER_BODY:rN(this,e)}}onComment(e){var t,n,r,a;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void nK(this,e);switch(this.insertionMode){case L.INITIAL:case L.BEFORE_HTML:case L.BEFORE_HEAD:case L.IN_HEAD:case L.IN_HEAD_NO_SCRIPT:case L.AFTER_HEAD:case L.IN_BODY:case L.IN_TABLE:case L.IN_CAPTION:case L.IN_COLUMN_GROUP:case L.IN_TABLE_BODY:case L.IN_ROW:case L.IN_CELL:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:case L.IN_TEMPLATE:case L.IN_FRAMESET:case L.AFTER_FRAMESET:nK(this,e);break;case L.IN_TABLE_TEXT:rh(this,e);break;case L.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case L.AFTER_AFTER_BODY:case L.AFTER_AFTER_FRAMESET:r=this,a=e,r._appendCommentNode(a,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case L.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?I.QUIRKS:function(e){if(e.name!==nO)return I.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return I.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),nR.has(n))return I.QUIRKS;let e=null===t?nL:nv;if(nM(n,e))return I.QUIRKS;if(nM(n,e=null===t?nw:nP))return I.LIMITED_QUIRKS}return I.NO_QUIRKS}(t);(t.name!==nO||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,T.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=L.BEFORE_HTML}(this,e);break;case L.BEFORE_HEAD:case L.IN_HEAD:case L.IN_HEAD_NO_SCRIPT:case L.AFTER_HEAD:this._err(e,T.misplacedDoctype);break;case L.IN_TABLE_TEXT:rh(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,T.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let n;if((n=t.tagID)===x.FONT&&t.attrs.some(({name:e})=>e===C.COLOR||e===C.SIZE||e===C.FACE)||nH.has(n))rC(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===N.MATHML)nG(t);else if(r===N.SVG){let e;null!=(e=nU.get(t.tagName))&&(t.tagName=e,t.tagID=nn(t.tagName)),nj(t)}nz(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 L.INITIAL:n$(this,e);break;case L.BEFORE_HTML:t=this,(n=e).tagID===x.HTML?(t._insertElement(n,N.HTML),t.insertionMode=L.BEFORE_HEAD):nZ(t,n);break;case L.BEFORE_HEAD:var t,n,r,a,i,o,s,l,c,u,d,h,p=this,m=e;switch(m.tagID){case x.HTML:rn(p,m);break;case x.HEAD:p._insertElement(m,N.HTML),p.headElement=p.openElements.current,p.insertionMode=L.IN_HEAD;break;default:nJ(p,m)}break;case L.IN_HEAD:n1(this,e);break;case L.IN_HEAD_NO_SCRIPT:var f=this,E=e;switch(E.tagID){case x.HTML:rn(f,E);break;case x.BASEFONT:case x.BGSOUND:case x.HEAD:case x.LINK:case x.META:case x.NOFRAMES:case x.STYLE:n1(f,E);break;case x.NOSCRIPT:f._err(E,T.nestedNoscriptInHead);break;default:n3(f,E)}break;case L.AFTER_HEAD:var g=this,A=e;switch(A.tagID){case x.HTML:rn(g,A);break;case x.BODY:g._insertElement(A,N.HTML),g.framesetOk=!1,g.insertionMode=L.IN_BODY;break;case x.FRAMESET:g._insertElement(A,N.HTML),g.insertionMode=L.IN_FRAMESET;break;case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:case x.NOFRAMES:case x.SCRIPT:case x.STYLE:case x.TEMPLATE:case x.TITLE:g._err(A,T.abandonedHeadElementChild),g.openElements.push(g.headElement,x.HEAD),n1(g,A),g.openElements.remove(g.headElement);break;case x.HEAD:g._err(A,T.misplacedStartTagForHeadElement);break;default:n5(g,A)}break;case L.IN_BODY:rn(this,e);break;case L.IN_TABLE:rs(this,e);break;case L.IN_TABLE_TEXT:rh(this,e);break;case L.IN_CAPTION:let _;r=this,_=(a=e).tagID,rp.has(_)?r.openElements.hasInTableScope(x.CAPTION)&&(r.openElements.generateImpliedEndTags(),r.openElements.popUntilTagNamePopped(x.CAPTION),r.activeFormattingElements.clearToLastMarker(),r.insertionMode=L.IN_TABLE,rs(r,a)):rn(r,a);break;case L.IN_COLUMN_GROUP:rm(this,e);break;case L.IN_TABLE_BODY:rE(this,e);break;case L.IN_ROW:rT(this,e);break;case L.IN_CELL:let k;i=this,k=(o=e).tagID,rp.has(k)?(i.openElements.hasInTableScope(x.TD)||i.openElements.hasInTableScope(x.TH))&&(i._closeTableCell(),rT(i,o)):rn(i,o);break;case L.IN_SELECT:r_(this,e);break;case L.IN_SELECT_IN_TABLE:let b;s=this,(b=(l=e).tagID)===x.CAPTION||b===x.TABLE||b===x.TBODY||b===x.TFOOT||b===x.THEAD||b===x.TR||b===x.TD||b===x.TH?(s.openElements.popUntilTagNamePopped(x.SELECT),s._resetInsertionMode(),s._processStartTag(l)):r_(s,l);break;case L.IN_TEMPLATE:var y=this,S=e;switch(S.tagID){case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:case x.NOFRAMES:case x.SCRIPT:case x.STYLE:case x.TEMPLATE:case x.TITLE:n1(y,S);break;case x.CAPTION:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:y.tmplInsertionModeStack[0]=L.IN_TABLE,y.insertionMode=L.IN_TABLE,rs(y,S);break;case x.COL:y.tmplInsertionModeStack[0]=L.IN_COLUMN_GROUP,y.insertionMode=L.IN_COLUMN_GROUP,rm(y,S);break;case x.TR:y.tmplInsertionModeStack[0]=L.IN_TABLE_BODY,y.insertionMode=L.IN_TABLE_BODY,rE(y,S);break;case x.TD:case x.TH:y.tmplInsertionModeStack[0]=L.IN_ROW,y.insertionMode=L.IN_ROW,rT(y,S);break;default:y.tmplInsertionModeStack[0]=L.IN_BODY,y.insertionMode=L.IN_BODY,rn(y,S)}break;case L.AFTER_BODY:c=this,(u=e).tagID===x.HTML?rn(c,u):rS(c,u);break;case L.IN_FRAMESET:var C=this,I=e;switch(I.tagID){case x.HTML:rn(C,I);break;case x.FRAMESET:C._insertElement(I,N.HTML);break;case x.FRAME:C._appendElement(I,N.HTML),I.ackSelfClosing=!0;break;case x.NOFRAMES:n1(C,I)}break;case L.AFTER_FRAMESET:var D=this,O=e;switch(O.tagID){case x.HTML:rn(D,O);break;case x.NOFRAMES:n1(D,O)}break;case L.AFTER_AFTER_BODY:d=this,(h=e).tagID===x.HTML?rn(d,h):rN(d,h);break;case L.AFTER_AFTER_FRAMESET:var v=this,R=e;switch(R.tagID){case x.HTML:rn(v,R);break;case x.NOFRAMES:n1(v,R)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===x.P||t.tagID===x.BR){rC(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===N.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case L.INITIAL:n$(this,e);break;case L.BEFORE_HTML:let t;r=this,((t=(a=e).tagID)===x.HTML||t===x.HEAD||t===x.BODY||t===x.BR)&&nZ(r,a);break;case L.BEFORE_HEAD:let n;i=this,(n=(o=e).tagID)===x.HEAD||n===x.BODY||n===x.HTML||n===x.BR?nJ(i,o):i._err(o,T.endTagWithoutMatchingOpenElement);break;case L.IN_HEAD:var r,a,i,o,s,l,c,u,d,h,p,m,f=this,E=e;switch(E.tagID){case x.HEAD:f.openElements.pop(),f.insertionMode=L.AFTER_HEAD;break;case x.BODY:case x.BR:case x.HTML:n2(f,E);break;case x.TEMPLATE:n0(f,E);break;default:f._err(E,T.endTagWithoutMatchingOpenElement)}break;case L.IN_HEAD_NO_SCRIPT:var g=this,A=e;switch(A.tagID){case x.NOSCRIPT:g.openElements.pop(),g.insertionMode=L.IN_HEAD;break;case x.BR:n3(g,A);break;default:g._err(A,T.endTagWithoutMatchingOpenElement)}break;case L.AFTER_HEAD:var _=this,k=e;switch(k.tagID){case x.BODY:case x.HTML:case x.BR:n5(_,k);break;case x.TEMPLATE:n0(_,k);break;default:_._err(k,T.endTagWithoutMatchingOpenElement)}break;case L.IN_BODY:ra(this,e);break;case L.TEXT:s=this,e.tagID===x.SCRIPT&&(null==(l=s.scriptHandler)||l.call(s,s.openElements.current)),s.openElements.pop(),s.insertionMode=s.originalInsertionMode;break;case L.IN_TABLE:rl(this,e);break;case L.IN_TABLE_TEXT:rh(this,e);break;case L.IN_CAPTION:var b=this,y=e;let S=y.tagID;switch(S){case x.CAPTION:case x.TABLE:b.openElements.hasInTableScope(x.CAPTION)&&(b.openElements.generateImpliedEndTags(),b.openElements.popUntilTagNamePopped(x.CAPTION),b.activeFormattingElements.clearToLastMarker(),b.insertionMode=L.IN_TABLE,S===x.TABLE&&rl(b,y));break;case x.BODY:case x.COL:case x.COLGROUP:case x.HTML:case x.TBODY:case x.TD:case x.TFOOT:case x.TH:case x.THEAD:case x.TR:break;default:ra(b,y)}break;case L.IN_COLUMN_GROUP:var N=this,C=e;switch(C.tagID){case x.COLGROUP:N.openElements.currentTagId===x.COLGROUP&&(N.openElements.pop(),N.insertionMode=L.IN_TABLE);break;case x.TEMPLATE:n0(N,C);break;case x.COL:break;default:rf(N,C)}break;case L.IN_TABLE_BODY:rg(this,e);break;case L.IN_ROW:rA(this,e);break;case L.IN_CELL:var I=this,D=e;let O=D.tagID;switch(O){case x.TD:case x.TH:I.openElements.hasInTableScope(O)&&(I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(O),I.activeFormattingElements.clearToLastMarker(),I.insertionMode=L.IN_ROW);break;case x.TABLE:case x.TBODY:case x.TFOOT:case x.THEAD:case x.TR:I.openElements.hasInTableScope(O)&&(I._closeTableCell(),rA(I,D));break;case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:break;default:ra(I,D)}break;case L.IN_SELECT:rk(this,e);break;case L.IN_SELECT_IN_TABLE:let v;c=this,(v=(u=e).tagID)===x.CAPTION||v===x.TABLE||v===x.TBODY||v===x.TFOOT||v===x.THEAD||v===x.TR||v===x.TD||v===x.TH?c.openElements.hasInTableScope(v)&&(c.openElements.popUntilTagNamePopped(x.SELECT),c._resetInsertionMode(),c.onEndTag(u)):rk(c,u);break;case L.IN_TEMPLATE:d=this,(h=e).tagID===x.TEMPLATE&&n0(d,h);break;case L.AFTER_BODY:ry(this,e);break;case L.IN_FRAMESET:p=this,e.tagID===x.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),p.fragmentContext||p.openElements.currentTagId===x.FRAMESET||(p.insertionMode=L.AFTER_FRAMESET));break;case L.AFTER_FRAMESET:m=this,e.tagID===x.HTML&&(m.insertionMode=L.AFTER_AFTER_FRAMESET);break;case L.AFTER_AFTER_BODY:rN(this,e)}}onEof(e){switch(this.insertionMode){case L.INITIAL:n$(this,e);break;case L.BEFORE_HTML:nZ(this,e);break;case L.BEFORE_HEAD:nJ(this,e);break;case L.IN_HEAD:n2(this,e);break;case L.IN_HEAD_NO_SCRIPT:n3(this,e);break;case L.AFTER_HEAD:n5(this,e);break;case L.IN_BODY:case L.IN_TABLE:case L.IN_CAPTION:case L.IN_COLUMN_GROUP:case L.IN_TABLE_BODY:case L.IN_ROW:case L.IN_CELL:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:ri(this,e);break;case L.TEXT:var t,n;t=this,n=e,t._err(n,T.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case L.IN_TABLE_TEXT:rh(this,e);break;case L.IN_TEMPLATE:rb(this,e);break;case L.AFTER_BODY:case L.IN_FRAMESET:case L.AFTER_FRAMESET:case L.AFTER_AFTER_BODY:case L.AFTER_AFTER_FRAMESET:nX(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===g.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case L.IN_HEAD:case L.IN_HEAD_NO_SCRIPT:case L.AFTER_HEAD:case L.TEXT:case L.IN_COLUMN_GROUP:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:case L.IN_FRAMESET:case L.AFTER_FRAMESET:this._insertCharacters(e);break;case L.IN_BODY:case L.IN_CAPTION:case L.IN_CELL:case L.IN_TEMPLATE:case L.AFTER_BODY:case L.AFTER_AFTER_BODY:case L.AFTER_AFTER_FRAMESET:n9(this,e);break;case L.IN_TABLE:case L.IN_TABLE_BODY:case L.IN_ROW:ro(this,e);break;case L.IN_TABLE_TEXT:ru(this,e)}}}function nQ(e,t){for(let n=0;n<8;n++){let n=function(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):rr(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let 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}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=nn(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let a=e.treeAdapter.getNamespaceURI(t);r===x.TEMPLATE&&a===N.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function nK(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function nX(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function n$(e,t){e._err(t,T.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,I.QUIRKS),e.insertionMode=L.BEFORE_HTML,e._processToken(t)}function nZ(e,t){e._insertFakeRootElement(),e.insertionMode=L.BEFORE_HEAD,e._processToken(t)}function nJ(e,t){e._insertFakeElement(D.HEAD,x.HEAD),e.headElement=e.openElements.current,e.insertionMode=L.IN_HEAD,e._processToken(t)}function n1(e,t){switch(t.tagID){case x.HTML:rn(e,t);break;case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break;case x.TITLE:e._switchToTextParsing(t,nl.RCDATA);break;case x.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,nl.RAWTEXT):(e._insertElement(t,N.HTML),e.insertionMode=L.IN_HEAD_NO_SCRIPT);break;case x.NOFRAMES:case x.STYLE:e._switchToTextParsing(t,nl.RAWTEXT);break;case x.SCRIPT:e._switchToTextParsing(t,nl.SCRIPT_DATA);break;case x.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=L.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(L.IN_TEMPLATE);break;case x.HEAD:e._err(t,T.misplacedStartTagForHeadElement);break;default:n2(e,t)}}function n0(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==x.TEMPLATE&&e._err(t,T.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(x.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,T.endTagWithoutMatchingOpenElement)}function n2(e,t){e.openElements.pop(),e.insertionMode=L.AFTER_HEAD,e._processToken(t)}function n3(e,t){let n=t.type===A.EOF?T.openElementsLeftAfterEof:T.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=L.IN_HEAD,e._processToken(t)}function n5(e,t){e._insertFakeElement(D.BODY,x.BODY),e.insertionMode=L.IN_BODY,n4(e,t)}function n4(e,t){switch(t.type){case A.CHARACTER:n8(e,t);break;case A.WHITESPACE_CHARACTER:n9(e,t);break;case A.COMMENT:nK(e,t);break;case A.START_TAG:rn(e,t);break;case A.END_TAG:ra(e,t);break;case A.EOF:ri(e,t)}}function n9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function n8(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function n6(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,N.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function n7(e){let t=t9(e,C.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function re(e,t){e._switchToTextParsing(t,nl.RAWTEXT)}function rt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML)}function rn(e,t){switch(t.tagID){case x.I:case x.S:case x.B:case x.U:case x.EM:case x.TT:case x.BIG:case x.CODE:case x.FONT:case x.SMALL:case x.STRIKE:case x.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case x.A:let n;(n=e.activeFormattingElements.getElementEntryInScopeWithTagName(D.A))&&(nQ(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case x.H1:case x.H2:case x.H3:case x.H4:case x.H5:case x.H6:e.openElements.hasInButtonScope(x.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&ni.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,N.HTML);break;case x.P:case x.DL:case x.OL:case x.UL:case x.DIV:case x.DIR:case x.NAV:case x.MAIN:case x.MENU:case x.ASIDE:case x.CENTER:case x.FIGURE:case x.FOOTER:case x.HEADER:case x.HGROUP:case x.DIALOG:case x.DETAILS:case x.ADDRESS:case x.ARTICLE:case x.SEARCH:case x.SECTION:case x.SUMMARY:case x.FIELDSET:case x.BLOCKQUOTE:case x.FIGCAPTION:e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,N.HTML);break;case x.LI:case x.DD:case x.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===x.LI&&n===x.LI||(r===x.DD||r===x.DT)&&(n===x.DD||n===x.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==x.ADDRESS&&n!==x.DIV&&n!==x.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,N.HTML);break;case x.BR:case x.IMG:case x.WBR:case x.AREA:case x.EMBED:case x.KEYGEN:n6(e,t);break;case x.HR:e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._appendElement(t,N.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case x.RB:case x.RTC:e.openElements.hasInScope(x.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,N.HTML);break;case x.RT:case x.RP:e.openElements.hasInScope(x.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(x.RTC),e._insertElement(t,N.HTML);break;case x.PRE:case x.LISTING:e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case x.XMP:e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,nl.RAWTEXT);break;case x.SVG:e._reconstructActiveFormattingElements(),nj(t),nz(t),t.selfClosing?e._appendElement(t,N.SVG):e._insertElement(t,N.SVG),t.ackSelfClosing=!0;break;case x.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case x.BASE:case x.LINK:case x.META:case x.STYLE:case x.TITLE:case x.SCRIPT:case x.BGSOUND:case x.BASEFONT:case x.TEMPLATE:n1(e,t);break;case x.BODY:let a;(a=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs));break;case x.FORM:let i;i=e.openElements.tmplCount>0,(!e.formElement||i)&&(e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,N.HTML),i||(e.formElement=e.openElements.current));break;case x.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(x.NOBR)&&(nQ(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case x.MATH:e._reconstructActiveFormattingElements(),nG(t),nz(t),t.selfClosing?e._appendElement(t,N.MATHML):e._insertElement(t,N.MATHML),t.ackSelfClosing=!0;break;case x.TABLE:e.treeAdapter.getDocumentMode(e.document)!==I.QUIRKS&&e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=L.IN_TABLE;break;case x.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,N.HTML),n7(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case x.PARAM:case x.TRACK:case x.SOURCE:e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break;case x.IMAGE:t.tagName=D.IMG,t.tagID=x.IMG,n6(e,t);break;case x.BUTTON:e.openElements.hasInScope(x.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.framesetOk=!1;break;case x.APPLET:case x.OBJECT:case x.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case x.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,nl.RAWTEXT);break;case x.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===L.IN_TABLE||e.insertionMode===L.IN_CAPTION||e.insertionMode===L.IN_TABLE_BODY||e.insertionMode===L.IN_ROW||e.insertionMode===L.IN_CELL?L.IN_SELECT_IN_TABLE:L.IN_SELECT;break;case x.OPTION:case x.OPTGROUP:e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML);break;case x.NOEMBED:case x.NOFRAMES:re(e,t);break;case x.FRAMESET:let o;o=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&o&&(e.treeAdapter.detachNode(o),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,N.HTML),e.insertionMode=L.IN_FRAMESET);break;case x.TEXTAREA:e._insertElement(t,N.HTML),e.skipNextNewLine=!0,e.tokenizer.state=nl.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=L.TEXT;break;case x.NOSCRIPT:e.options.scriptingEnabled?re(e,t):rt(e,t);break;case x.PLAINTEXT:e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.tokenizer.state=nl.PLAINTEXT;break;case x.COL:case x.TH:case x.TD:case x.TR:case x.HEAD:case x.FRAME:case x.TBODY:case x.TFOOT:case x.THEAD:case x.CAPTION:case x.COLGROUP:break;default:rt(e,t)}}function rr(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==x.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function ra(e,t){switch(t.tagID){case x.A:case x.B:case x.I:case x.S:case x.U:case x.EM:case x.TT:case x.BIG:case x.CODE:case x.FONT:case x.NOBR:case x.SMALL:case x.STRIKE:case x.STRONG:nQ(e,t);break;case x.P:e.openElements.hasInButtonScope(x.P)||e._insertFakeElement(D.P,x.P),e._closePElement();break;case x.DL:case x.UL:case x.OL:case x.DIR:case x.DIV:case x.NAV:case x.PRE:case x.MAIN:case x.MENU:case x.ASIDE:case x.BUTTON:case x.CENTER:case x.FIGURE:case x.FOOTER:case x.HEADER:case x.HGROUP:case x.DIALOG:case x.ADDRESS:case x.ARTICLE:case x.DETAILS:case x.SEARCH:case x.SECTION:case x.SUMMARY:case x.LISTING:case x.FIELDSET:case x.BLOCKQUOTE:case x.FIGCAPTION:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case x.LI:e.openElements.hasInListItemScope(x.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(x.LI),e.openElements.popUntilTagNamePopped(x.LI));break;case x.DD:case x.DT:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case x.H1:case x.H2:case x.H3:case x.H4:case x.H5:case x.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case x.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(D.BR,x.BR),e.openElements.pop(),e.framesetOk=!1;break;case x.BODY:if(e.openElements.hasInScope(x.BODY)&&(e.insertionMode=L.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case x.HTML:e.openElements.hasInScope(x.BODY)&&(e.insertionMode=L.AFTER_BODY,ry(e,t));break;case x.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(x.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(x.FORM):n&&e.openElements.remove(n))}(e);break;case x.APPLET:case x.OBJECT:case x.MARQUEE:let a;a=t.tagID,e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker());break;case x.TEMPLATE:n0(e,t);break;default:rr(e,t)}}function ri(e,t){e.tmplInsertionModeStack.length>0?rb(e,t):nX(e,t)}function ro(e,t){if(void 0!==e.openElements.currentTagId&&nq.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=L.IN_TABLE_TEXT,t.type){case A.CHARACTER:rd(e,t);break;case A.WHITESPACE_CHARACTER:ru(e,t)}else rc(e,t)}function rs(e,t){switch(t.tagID){case x.TD:case x.TH:case x.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(D.TBODY,x.TBODY),e.insertionMode=L.IN_TABLE_BODY,rE(e,t);break;case x.STYLE:case x.SCRIPT:case x.TEMPLATE:n1(e,t);break;case x.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(D.COLGROUP,x.COLGROUP),e.insertionMode=L.IN_COLUMN_GROUP,rm(e,t);break;case x.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,N.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case x.TABLE:e.openElements.hasInTableScope(x.TABLE)&&(e.openElements.popUntilTagNamePopped(x.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case x.TBODY:case x.TFOOT:case x.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,N.HTML),e.insertionMode=L.IN_TABLE_BODY;break;case x.INPUT:n7(t)?e._appendElement(t,N.HTML):rc(e,t),t.ackSelfClosing=!0;break;case x.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,N.HTML),e.insertionMode=L.IN_CAPTION;break;case x.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,N.HTML),e.insertionMode=L.IN_COLUMN_GROUP;break;default:rc(e,t)}}function rl(e,t){switch(t.tagID){case x.TABLE:e.openElements.hasInTableScope(x.TABLE)&&(e.openElements.popUntilTagNamePopped(x.TABLE),e._resetInsertionMode());break;case x.TEMPLATE:n0(e,t);break;case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TBODY:case x.TD:case x.TFOOT:case x.TH:case x.THEAD:case x.TR:break;default:rc(e,t)}}function rc(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,n4(e,t),e.fosterParentingEnabled=n}function ru(e,t){e.pendingCharacterTokens.push(t)}function rd(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function rh(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)rc(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let rp=new Set([x.CAPTION,x.COL,x.COLGROUP,x.TBODY,x.TD,x.TFOOT,x.TH,x.THEAD,x.TR]);function rm(e,t){switch(t.tagID){case x.HTML:rn(e,t);break;case x.COL:e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break;case x.TEMPLATE:n1(e,t);break;default:rf(e,t)}}function rf(e,t){e.openElements.currentTagId===x.COLGROUP&&(e.openElements.pop(),e.insertionMode=L.IN_TABLE,e._processToken(t))}function rE(e,t){switch(t.tagID){case x.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,N.HTML),e.insertionMode=L.IN_ROW;break;case x.TH:case x.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(D.TR,x.TR),e.insertionMode=L.IN_ROW,rT(e,t);break;case x.CAPTION:case x.COL:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE,rs(e,t));break;default:rs(e,t)}}function rg(e,t){let n=t.tagID;switch(t.tagID){case x.TBODY:case x.TFOOT:case x.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE);break;case x.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE,rl(e,t));break;case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TD:case x.TH:case x.TR:break;default:rl(e,t)}}function rT(e,t){switch(t.tagID){case x.TH:case x.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,N.HTML),e.insertionMode=L.IN_CELL,e.activeFormattingElements.insertMarker();break;case x.CAPTION:case x.COL:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:case x.TR:e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY,rE(e,t));break;default:rs(e,t)}}function rA(e,t){switch(t.tagID){case x.TR:e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY);break;case x.TABLE:e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY,rg(e,t));break;case x.TBODY:case x.TFOOT:case x.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(x.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY,rg(e,t));break;case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TD:case x.TH:break;default:rl(e,t)}}function r_(e,t){switch(t.tagID){case x.HTML:rn(e,t);break;case x.OPTION:e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e._insertElement(t,N.HTML);break;case x.OPTGROUP:e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop(),e._insertElement(t,N.HTML);break;case x.HR:e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop(),e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break;case x.INPUT:case x.KEYGEN:case x.TEXTAREA:case x.SELECT:e.openElements.hasInSelectScope(x.SELECT)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),t.tagID!==x.SELECT&&e._processStartTag(t));break;case x.SCRIPT:case x.TEMPLATE:n1(e,t)}}function rk(e,t){switch(t.tagID){case x.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===x.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===x.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop();break;case x.OPTION:e.openElements.currentTagId===x.OPTION&&e.openElements.pop();break;case x.SELECT:e.openElements.hasInSelectScope(x.SELECT)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode());break;case x.TEMPLATE:n0(e,t)}}function rb(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(x.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):nX(e,t)}function ry(e,t){var n;if(t.tagID===x.HTML){if(e.fragmentContext||(e.insertionMode=L.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===x.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else rS(e,t)}function rS(e,t){e.insertionMode=L.IN_BODY,n4(e,t)}function rN(e,t){e.insertionMode=L.IN_BODY,n4(e,t)}function rC(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==N.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}null==String.prototype.codePointAt||((e,t)=>e.codePointAt(t)),D.AREA,D.BASE,D.BASEFONT,D.BGSOUND,D.BR,D.COL,D.EMBED,D.FRAME,D.HR,D.IMG,D.INPUT,D.KEYGEN,D.LINK,D.META,D.PARAM,D.SOURCE,D.TRACK,D.WBR;var rI=e.i(743820),rI=rI,rD=e.i(113515),rD=rD;let rx=rv("end"),rO=rv("start");function rv(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function rL(e){let t=rO(e),n=rx(e);if(t&&n)return{start:t,end:n}}let rR=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,rw=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),rP={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function rM(e,t){var n,r;let a,i,o=!!((a="root"===(r=e).type?r.children[0]:r)&&("doctype"===a.type||"element"===a.type&&"html"===a.tagName.toLowerCase())),s=tW("type",{handlers:{root:rB,element:rU,text:rH,comment:rj,doctype:rG,raw:rz},unknown:rY}),l={parser:o?new nV(rP):nV.getFragmentParser(void 0,rP),handle(e){s(e,l)},stitches:!1,options:t||{}};s(e,l),rq(l,rO());let c=(n=o?l.parser.document:l.parser.getFragment(),ts({file:(i={file:l.options.file}).file||void 0,location:!1,schema:"svg"===i.space?eT:eg,verbose:i.verbose||!1},n));return(l.stitches&&H(c,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===c.type&&1===c.children.length&&c.children[0].type===e.type)?c.children[0]:c}function rF(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function rB(e,t){rF(e.children,t)}function rU(e,t){(function(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===nl.PLAINTEXT)return;rq(t,rO(e));let r=t.parser.openElements.current,a="namespaceURI"in r?r.namespaceURI:ew.html;a===ew.html&&"svg"===n&&(a=ew.svg);let i=tQ({...e,children:[]},"svg"===({space:a===ew.svg?"svg":"html"}).space?tY:tz),o={type:rI.TokenType.START_TAG,tagName:n,tagID:rD.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:rV(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n})(e,t),rF(e.children,t),function(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&t$.includes(n)||t.parser.tokenizer.state===nl.PLAINTEXT)return;rq(t,rx(e));let r={type:rI.TokenType.END_TAG,tagName:n,tagID:rD.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:rV(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===nl.RCDATA||t.parser.tokenizer.state===nl.RAWTEXT||t.parser.tokenizer.state===nl.SCRIPT_DATA)&&(t.parser.tokenizer.state=nl.DATA)}(e,t)}function rH(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:rI.TokenType.CHARACTER,chars:e.value,location:rV(e)};rq(t,rO(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rG(e,t){let n={type:rI.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:rV(e)};rq(t,rO(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rj(e,t){let n=e.value,r={type:rI.TokenType.COMMENT,data:n,location:rV(e)};rq(t,rO(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rz(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,rW(t,rO(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(rR,"<$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;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function rY(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;let r;t.stitches=!0,r="children"in(n=e)?tn({...n,children:[]}):tn(n),"children"in e&&"children"in r&&(r.children=rM({type:"root",children:e.children},t.options).children),rj({type:"comment",value:{stitch:r}},t)}else{let t="";throw rw.has(e.type)&&(t=". 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"),Error("Cannot compile `"+e.type+"` node"+t)}}function rq(e,t){rW(e,t);let 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=nl.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 rW(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function rV(e){let t=rO(e)||{line:void 0,column:void 0,offset:void 0},n=rx(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}}let rQ=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],rK={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...rQ,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...rQ],h2:[["className","sr-only"]],img:[...rQ,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...rQ,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...rQ],table:[...rQ],ul:[...rQ,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},rX={}.hasOwnProperty;function r$(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var n,r,a=e,i=t;if(a.schema.allowComments){let e="string"==typeof i.value?i.value:"",t=e.indexOf("-->"),n={type:"comment",value:t<0?e:e.slice(0,t)};return r0(n,i),n}return;case"doctype":var o=e,s=t;if(o.schema.allowDoctypes){let e={type:"doctype"};return r0(e,s),e}return;case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let r=rZ(e,t.children),a=function(e,t){let n,r=e.stack[e.stack.length-1],a=e.schema.attributes,i=e.schema.required,o=a&&rX.call(a,r)?a[r]:void 0,s=a&&rX.call(a,"*")?a["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(n in l)if(rX.call(l,n)){let t=l[n],r=rJ(e,r2(o,n),n,t);null==r&&(r=rJ(e,r2(s,n),n,t)),null!=r&&(c[n]=r)}if(i&&rX.call(i,r)){let e=i[r];for(n in e)rX.call(e,n)&&!rX.call(c,n)&&(c[n]=e[n])}return c}(e,t.properties);e.stack.pop();let i=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&rX.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(i=!1;++r<t.length;)e.stack.includes(t[r])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:"element",tagName:n,properties:a,children:r};return r0(o,t),o}(e,t);case"root":let l;return r0(l={type:"root",children:rZ(e,(n=t).children)},n),l;case"text":let c;return r0(c={type:"text",value:"string"==typeof(r=t).value?r.value:""},r),c}}function rZ(e,t){let n=[];if(Array.isArray(t)){let r=-1;for(;++r<t.length;){let a=r$(e,t[r]);a&&(Array.isArray(a)?n.push(...a):n.push(a))}}return n}function rJ(e,t,n,r){return t?Array.isArray(r)?function(e,t,n,r){let a=-1,i=[];for(;++a<r.length;){let o=r1(e,t,n,r[a]);("number"==typeof o||"string"==typeof o)&&i.push(o)}return i}(e,t,n,r):r1(e,t,n,r):void 0}function r1(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){let r=e.schema.protocols&&rX.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;let a=String(n),i=a.indexOf(":"),o=a.indexOf("?"),s=a.indexOf("#"),l=a.indexOf("/");if(i<0||l>-1&&i>l||o>-1&&i>o||s>-1&&i>s)return!0;let c=-1;for(;++c<r.length;){let e=r[c];if(i===e.length&&a.slice(0,e.length)===e)return!0}return!1}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let a=t[n];if(a&&"object"==typeof a&&"flags"in a){if(a.test(String(r))){e=!0;break}}else if(a===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function r0(e,t){let n=rL(t);t.data&&(e.data=tn(t.data)),n&&(e.position=n)}function r2(e,t){let n,r=-1;if(e)for(;++r<e.length;){let a=e[r],i="string"==typeof a?a:a[0];if(i===t)return a;"data*"===i&&(n=a)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}let r3=ai(/[A-Za-z]/),r5=ai(/[\dA-Za-z]/),r4=ai(/[#-'*+\--9=?A-Z^-~]/);function r9(e){return null!==e&&(e<32||127===e)}let r8=ai(/\d/),r6=ai(/[\dA-Fa-f]/),r7=ai(/[!-/:-@[-`{-~]/);function ae(e){return null!==e&&e<-2}function at(e){return null!==e&&(e<0||32===e)}function an(e){return -2===e||-1===e||32===e}let ar=ai(/\p{P}|\p{S}/u),aa=ai(/\s/);function ai(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}var ao=Object.defineProperty,as=ac(/\p{P}|\p{S}/u),al=ac(/\s/);function ac(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCodePoint(t))}}function au(e){if(null===e||at(e)||al(e))return 1;let t=0;if(e>=4352){if(null!==e&&e>=65024&&e<=65038)return R.nonEmojiGeneralUseVS;switch(function(e){if(!e||e<4352)return!1;switch(function(e){if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`);return 161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109?"ambiguous":12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510?"fullwidth":8361===e||e>=65377&&e<=65470||e>=65474&&e<=65479||e>=65482&&e<=65487||e>=65490&&e<=65495||e>=65498&&e<=65500||e>=65512&&e<=65518?"halfwidth":e>=32&&e<=126||162===e||163===e||165===e||166===e||172===e||175===e||e>=10214&&e<=10221||10629===e||10630===e?"narrow":e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9776&&e<=9783||e>=9800&&e<=9811||9855===e||e>=9866&&e<=9871||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141?"wide":"neutral"}(e)){case"fullwidth":case"halfwidth":return!0;case"wide":return!/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e));case"narrow":return!1;case"ambiguous":return 917760<=e&&e<=917999&&null;case"neutral":return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}(e)){case null:return R.ivs;case!0:t|=R.cjk}}return as(e)&&(t|=2),t}function ad(e,t,n){if(e!==R.nonEmojiGeneralUseVS)return e;let r=t(),a=au(r);return!r||1&a?e:65025===n&&r&&!(r<8216)&&(8216===r||8217===r||8220===r||8221===r)?R.cjkPunctuation:a&~R.ivs}(E=R||(R={})).spaceOrPunctuation=3,E.cjk=4096,E.cjkPunctuation=4098,E.ivs=8192,E.cjkOrIvs=12288,E.nonEmojiGeneralUseVS=16384,E.variationSelector=24576,E.ivsToCjkRightShift=1;function ah(e){return(e&R.cjkPunctuation)==2}function ap(e){return!!(e&R.cjk)}function am(e){return!!(e&R.spaceOrPunctuation)}function af(e){return!!(e&&e>=55296&&e<=56319)}function aE(e){return!!(e&&e>=56320&&e<=57343)}function ag(e,t,n){if(t._bufferIndex<2)return e;let r=n({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return r&&r>=65536?r:e}var aT=class{constructor(e,t,n){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=n,((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?ao(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"cachedValue")}value(){return void 0===this.cachedValue&&(this.cachedValue=function(e,t,n){let r=e>=65536?2:1;if(t._bufferIndex<1+r)return null;let a=t._bufferIndex-r-2,i=n({start:{...t,_bufferIndex:a>=0?a:0},end:{...t,_bufferIndex:t._bufferIndex-r}}),o=i.charCodeAt(i.length-1);if(Number.isNaN(o))return null;if(i.length<2||o<56320||57343<o)return o;let s=i.codePointAt(0);return s&&s>=65536?s:o}(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function aA(e,t,n){let r=n({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return r&&r>=65536?r:e}function a_(e,t,n,r){let a,i=e.length,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)(a=r.slice(o,o+1e4)).unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function ak(e,t){return e.length>0?(a_(e,e.length,0,t),e):t}function ab(e,t,n){let r=[],a=-1;for(;++a<e.length;){let i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}let ay="emphasisSequence",aS="strongSequence";var aN={name:"attention",resolveAll:function(e,t){let n,r,a,i,o,s,l,c,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;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},h={...e[u][1].start};aC(d,-s),aC(h,s),i={type:s>1?aS:ay,start:d,end:{...e[n][1].end}},o={type:s>1?aS:ay,start:{...e[u][1].start},end:h},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...i.start},end:{...o.end}},e[n][1].end={...i.start},e[u][1].start={...o.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=ak(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=ak(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),tr(t.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),l=ak(l,ab(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=ak(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=ak(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,a_(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,{now:a,sliceSerialize:i,previous:o}=this,s=aE(o)?ag(o,a(),i):o,l=au(s),c=new aT(s,a(),i),u=ad(l,c.value.bind(c),s);return function(o){return tr(42===o||95===o,"expected asterisk or underscore"),n=o,e.enter("attentionSequence"),function o(l){if(l===n)return e.consume(l),o;let c=e.exit("attentionSequence"),d=au(af(l)?aA(l,a(),i):l);tr(r,"expected `attentionMarkers` to be populated");let h=ah(u),p=h||!!(1&u),m=ah(d),f=m||!!(1&d),E=!!(u&R.cjkOrIvs),g=!f||m&&(p||E)||r.includes(l),T=!p||h&&(f||ap(d))||r.includes(s);return c._open=!!(42===n?g:g&&(am(u)||!T)),c._close=!!(42===n?T:T&&(am(d)||!g)),t(l)}(o)}}};function aC(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function aI(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}e.s(["ccount",()=>aI],470284);let aD="phrasing",ax=["autolink","link","image","label"];function aO(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function av(e){this.config.enter.autolinkProtocol.call(this,e)}function aL(e){this.config.exit.autolinkProtocol.call(this,e)}function aR(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];tr("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function aw(e){this.config.exit.autolinkEmail.call(this,e)}function aP(e){this.exit(e)}function aM(e){!function(e,t,n){let r=P((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var a;let e=n[r];t.push(["string"==typeof(a=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a),"g"):a,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),i=-1;for(;++i<a.length;)e0(e,"text",o);function o(e,t){let n,o=-1;for(;++o<t.length;){let e=t[o],a=n?n.children:void 0;if(r(e,a?a.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=a[i][0],o=a[i][1],s=0,l=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,a={index:d.index,input:d.input,stack:[...t,e]},i=o(...d,a);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?u.push(...i):i&&u.push(i),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,aF],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,aB]],{ignore:["link","linkReference"]})}function aF(e,t,n,r,a){let i,o="";if(!aU(a))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),(i=n.split(".")).length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),a=aI(e,"("),i=aI(e,")");for(;-1!==r&&a>i;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),i++;return[e,n]}(n+r);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function aB(e,t,n,r){return!(!aU(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function aU(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||aa(n)||ar(n))&&(!t||47!==n)}function aH(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function aG(){this.buffer()}function aj(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function az(){this.buffer()}function aY(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function aq(e){let t=this.resume(),n=this.stack[this.stack.length-1];tr("footnoteReference"===n.type),n.identifier=aH(this.sliceSerialize(e)).toLowerCase(),n.label=t}function aW(e){this.exit(e)}function aV(e){let t=this.resume(),n=this.stack[this.stack.length-1];tr("footnoteDefinition"===n.type),n.identifier=aH(this.sliceSerialize(e)).toLowerCase(),n.label=t}function aQ(e){this.exit(e)}function aK(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{after:"]",before:i})),s(),o(),i+=a.move("]")}function aX(e,t,n){return 0===t?e:a$(e,t,n)}function a$(e,t,n){return(n?"":" ")+e}aK.peek=function(){return"["};let aZ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function aJ(e){this.enter({type:"delete",children:[]},e)}function a1(e){this.exit(e)}function a0(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function a2(e){return e.length}function a3(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}a0.peek=function(){return"~"};function a5(e){return null===e||at(e)||aa(e)?1:ar(e)?2:void 0}let a4={};function a9(e,t){let n=t||a4;return a8(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a8(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return a6(e.children,t,n)}return Array.isArray(e)?a6(e,t,n):""}function a6(e,t,n){let r=[],a=-1;for(;++a<e.length;)r[a]=a8(e[a],t,n);return r.join("")}function a7(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){let e,t=n.unsafe[i],a=n.compilePattern(t);if(t.atBreak)for(;e=a.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return a+r+a}a7.peek=function(){return"`"};P(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let ie=function(e,t,n,r){let a=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),i=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c};function it(e){let t=e._align;tr(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function ir(e){this.exit(e),this.data.inTable=void 0}function ia(e){this.enter({type:"tableRow",children:[]},e)}function ii(e){this.exit(e)}function io(e){this.enter({type:"tableCell",children:[]},e)}function is(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,il));let n=this.stack[this.stack.length-1];tr("inlineCode"===n.type),n.value=t,this.exit(e)}function il(e,t){return"|"===t?t:e}function ic(e){let t=this.stack[this.stack.length-2];tr("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function iu(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];tr("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,a=t.children,i=-1;for(;++i<a.length;){let e=a[i];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function id(e,t,n,r){let a=e.children[0],i="boolean"==typeof e.checked&&a&&"paragraph"===a.type,o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);i&&s.move(o);let l=ie(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),l}let ih={}.hasOwnProperty;function ip(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,a=(ih.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];if(i)for(r in i){ih.call(a,r)||(a[r]=[]);let e=i[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);a_(e,0,0,r)}(a[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}let im={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),a):n(i)};function a(e){return null===e?n(e):t(e)}},partial:!0},iE={tokenize:function(e,t,n){let r,a,i;return o;function o(t){return 46===t||95===t?e.check(iT,l,s)(t):null===t||at(t)||aa(t)||45!==t&&ar(t)?l(t):(i=!0,e.consume(t),o)}function s(t){return 95===t?r=!0:(a=r,r=void 0),e.consume(t),o}function l(e){return a||r||!i?n(e):t(e)}},partial:!0},ig={tokenize:function(e,t){let n=0,r=0;return a;function a(o){return 40===o?(n++,e.consume(o),a):41===o&&r<n?i(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(iT,t,i)(o):null===o||at(o)||aa(o)?t(o):(e.consume(o),a)}function i(t){return 41===t&&r++,e.consume(t),a}},partial:!0},iT={tokenize:function(e,t,n){return r;function r(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),r):38===o?(e.consume(o),i):93===o?(e.consume(o),a):60===o||null===o||at(o)||aa(o)?t(o):n(o)}function a(e){return null===e||40===e||91===e||at(e)||aa(e)?t(e):r(e)}function i(t){return r3(t)?function t(a){return 59===a?(e.consume(a),r):r3(a)?(e.consume(a),t):n(a)}(t):n(t)}},partial:!0},iA={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return r5(e)?n(e):t(e)}},partial:!0},i_={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!iN.call(r,r.previous)||ix(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(im,e.attempt(iE,e.attempt(ig,a),n),n)(t))};function a(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:iN},ik={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,a="",i=!1;return function(t){return(72===t||104===t)&&iC.call(r,r.previous)&&!ix(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(t),e.consume(t),o):n(t)};function o(t){if(r3(t)&&a.length<5)return a+=String.fromCodePoint(t),e.consume(t),o;if(58===t){let n=a.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i)?l:(i=!0,s):n(t)}function l(t){return null===t||r9(t)||at(t)||aa(t)||ar(t)?n(t):e.attempt(iE,e.attempt(ig,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:iC},ib={name:"emailAutolink",tokenize:function(e,t,n){let r,a,i=this;return function(t){return!iD(t)||!iI.call(i,i.previous)||ix(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return iD(r)?(e.consume(r),t):64===r?(e.consume(r),o):n(r)}(t))};function o(t){return 46===t?e.check(iA,l,s)(t):45===t||95===t||r5(t)?(a=!0,e.consume(t),o):l(t)}function s(t){return e.consume(t),r=!0,o}function l(o){return a&&r&&r3(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:iI},iy={},iS=48;for(;iS<123;)iy[iS]=ib,58==++iS?iS=65:91===iS&&(iS=97);function iN(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||at(e)}function iC(e){return!r3(e)}function iI(e){return!(47===e||iD(e))}function iD(e){return 43===e||45===e||46===e||95===e||r5(e)}function ix(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}iy[43]=ib,iy[45]=ib,iy[46]=ib,iy[95]=ib,iy[72]=[ib,ik],iy[104]=[ib,ik],iy[87]=[ib,i_],iy[119]=[ib,i_];function iO(e){let t=[],n=-1,r=0,a=0;for(;++n<e.length;){let i=e.charCodeAt(n),o="";if(37===i&&r5(e.charCodeAt(n+1))&&r5(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function iv(e,t,n,r){let a=r?r-1:1/0,i=0;return function(r){return an(r)?(e.enter(n),function r(o){return an(o)&&i++<a?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}let iL={partial:!0,tokenize:function(e,t,n){return function(t){return an(t)?iv(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||ae(e)?t(e):n(e)}}},iR={tokenize:function(e,t,n){let r=this;return iv(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function iw(e,t,n){let r,a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=aH(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function iP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function iM(e,t,n){let r,a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(o>999||93===s&&!r||null===s||91===s||at(s))return n(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return i.includes(aH(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return at(s)||(r=!0),o++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,l):l(t)}}function iF(e,t,n){let r,a,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||at(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=aH(i.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return at(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(r)||o.push(r),iv(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return t(e)}}function iB(e,t,n){return e.check(iL,t,e.attempt(iR,t,n))}function iU(e){e.exit("gfmFootnoteDefinition")}class iH{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function iG(e,t,n){let r,a=this,i=0,o=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?T:s;return i===T&&a.parser.lazy[a.now().line]?n(e):i(e)};function s(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,o+=1),l(n)}function l(t){return null===t?n(t):ae(t)?o>1?(o=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):an(t)?iv(e,l,"whitespace")(t):(o+=1,r&&(r=!1,i+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),c(t))}function c(t){return null===t||124===t||at(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,an(t))?iv(e,h,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t)}function h(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):n(t)}function p(t){return an(t)?iv(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(o+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),f):45===t?(o+=1,f(t)):null===t||ae(t)?g(t):n(t)}function f(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(n))}(t)):n(t)}function E(t){return an(t)?iv(e,g,"whitespace")(t):g(t)}function g(a){if(124===a)return h(a);if(null===a||ae(a))return r&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a);return n(a)}function T(t){return e.enter("tableRow"),A(t)}function A(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),A):null===n||ae(n)?(e.exit("tableRow"),t(n)):an(n)?iv(e,A,"whitespace")(n):(e.enter("data"),_(n))}function _(t){return null===t||124===t||at(t)?(e.exit("data"),A(t)):(e.consume(t),92===t?k:_)}function k(t){return 92===t||124===t?(e.consume(t),_):_(t)}}function ij(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,h=new iH;for(;++i<e.length;){let p=e[i],m=p[1];"enter"===p[0]?"tableHead"===m.type?(u=!1,0!==d&&(iY(h,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(i,0,[["enter",n,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(o=!0,a=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===m.type?2:r?3:1):s&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)?(o=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],a=iz(h,t,l,s,void 0,a),l=[0,0,0,0]),c[2]=i)):"tableCellDivider"===m.type&&(o?o=!1:(0!==l[1]&&(c[0]=c[1],a=iz(h,t,l,s,void 0,a)),c=[(l=c)[1],i,0,0])):"tableHead"===m.type?(u=!0,d=i):"tableRow"===m.type||"tableDelimiterRow"===m.type?(d=i,0!==l[1]?(c[0]=c[1],a=iz(h,t,l,s,i,a)):0!==c[1]&&(a=iz(h,t,c,s,i,a)),s=0):s&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=i)}for(0!==d&&iY(h,t,d,n,r),h.consume(t.events),i=-1;++i<t.events.length;){let e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let a=e[t];if(n){if("enter"===a[0])"tableContent"===a[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===a[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===a[1].type)break}else"enter"===a[0]&&"tableDelimiterRow"===a[1].type&&(n=!0);t+=1}return r}(t.events,i))}return e}function iz(e,t,n,r,a,i){0!==n[0]&&(i.end=Object.assign({},iq(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));let o=iq(t.events,n[1]);if(i={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){let a=iq(t.events,n[2]),i=iq(t.events,n[3]),o={type:"tableContent",start:Object.assign({},a),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){let r=t.events[n[2]],a=t.events[n[3]];if(r[1].end=Object.assign({},a[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},iq(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function iY(e,t,n,r,a){let i=[],o=iq(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function iq(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}RegExp("^"+/<(\/?)(iframe|noembed|noframes|plaintext|script|style|title|textarea|xmp)(?=[\t\n\f\r />])/gi.source,"i");let iW={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return at(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return ae(r)?t(r):an(r)?e.check({tokenize:iV},t,n)(r):n(r)}}};function iV(e,t,n){return iv(e,function(e){return null===e?n(e):t(e)},"whitespace")}let iQ={},iK={tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(e.consume(r),o++,t):o<2?n(r):(e.exit("mathFlowFenceSequence"),iv(e,s,"whitespace")(r))}(t)};function s(t){return null===t||ae(t)?l(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||ae(r)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),l(r)):36===r?n(r):(e.consume(r),t)}(t))}function l(n){return(e.exit("mathFlowFence"),r.interrupt)?t(n):e.attempt(iX,c,h)(n)}function c(t){return e.attempt({tokenize:p,partial:!0},h,u)(t)}function u(t){return(i?iv(e,d,"linePrefix",i+1):d)(t)}function d(t){return null===t?h(t):ae(t)?e.attempt(iX,c,h)(t):(e.enter("mathFlowValue"),function t(n){return null===n||ae(n)?(e.exit("mathFlowValue"),d(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("mathFlow"),t(n)}function p(e,t,n){let a=0;return iv(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(a++,e.consume(r),t):a<o?n(r):(e.exit("mathFlowFenceSequence"),iv(e,i,"whitespace")(r))}(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(r){return null===r||ae(r)?(e.exit("mathFlowFence"),t(r)):n(r)}}},concrete:!0,name:"mathFlow"},iX={tokenize:function(e,t,n){let r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};function i$(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[a][1].type="mathTextPadding",a+=2,r-=2;break}}for(t=a-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="mathTextData",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}function iZ(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}let iJ={};function i1(e){let t,n=e||iJ,r=this.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push({flow:{36:iK},text:{36:(null==(t=(n||{}).singleDollarTextMath)&&(t=!0),{tokenize:function(e,n,r){let a,i,o=0;return function(n){return e.enter("mathText"),e.enter("mathTextSequence"),function n(a){return 36===a?(e.consume(a),o++,n):o<2&&!t?r(a):(e.exit("mathTextSequence"),s(a))}(n)};function s(t){return null===t?r(t):36===t?(i=e.enter("mathTextSequence"),a=0,function t(r){return 36===r?(e.consume(r),a++,t):a===o?(e.exit("mathTextSequence"),e.exit("mathText"),n(r)):(i.type="mathTextData",l(r))}(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):ae(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("mathTextData"),l(t))}function l(t){return null===t||32===t||36===t||ae(t)?(e.exit("mathTextData"),s(t)):(e.consume(t),l)}},resolve:i$,previous:iZ,name:"mathText"})}}),i.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];tr("math"===n.type),this.exit(e),n.value=t;let r=n.data.hChildren[0];tr("element"===r.type),tr("code"===r.tagName),r.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];tr("math"===t.type),t.meta=e},mathFlowValue:e,mathText:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];tr("inlineMath"===n.type),this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),o.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),n.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){let a=e.value||"",i=n.createTracker(r),o="$".repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf("$"),a=r,i=0,o=0;!1;for(;-1!==r;)r===a?++i>o&&(o=i):i=1,a=r+1,r=n.indexOf("$",a);return o}(a,"$")+1,2)),s=n.enter("mathFlow"),l=i.move(o);if(e.meta){let t=n.enter("mathFlowMeta");l+=i.move(n.safe(e.meta,{after:"\n",before:l,encode:["$"],...i.current()})),t()}return l+=i.move("\n"),a&&(l+=i.move(a+"\n")),l+=i.move(o),s(),l},inlineMath:n}};function n(e,n,r){let a=e.value||"",i=1;for(!t&&i++;RegExp("(^|[^$])"+"\\$".repeat(i)+"([^$]|$)").test(a);)i++;let o="$".repeat(i);/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^\$|\$$/.test(a))&&(a=" "+a+" ");let s=-1;for(;++s<r.unsafe.length;){let e,t=r.unsafe[s];if(!t.atBreak)continue;let n=r.compilePattern(t);for(;e=n.exec(a);){let t=e.index;10===a.codePointAt(t)&&13===a.codePointAt(t-1)&&t--,a=a.slice(0,t)+" "+a.slice(e.index+1)}}return o+a+o}}(n))}var i0=/(\*\*)([^*]*?)$/,i2=/(__)([^_]*?)$/,i3=/(\*\*\*)([^*]*?)$/,i5=/(\*)([^*]*?)$/,i4=/(_)([^_]*?)$/,i9=/(`)([^`]*?)$/,i8=/(~~)([^~]*?)$/,i6=/^[\s_~*`]*$/,i7=/^[\s]*[-*+][\s]+$/,oe=/[\p{L}\p{N}_]/u,ot=/^```[^`\n]*```?$/,on=/^\*{4,}$/,or=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t||oe.test(e)},oa=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2==0&&e.includes(`
|
|
2
|
+
`)},oi=(e,t)=>{let n=!1,r=!1;for(let a=0;a<e.length&&a<t;a+=1){if("\\"===e[a]&&"$"===e[a+1]){a+=1;continue}"$"===e[a]&&("$"===e[a+1]?(r=!r,a+=1,n=!1):r||(n=!n))}return n||r},oo=(e,t,n,r)=>!!("\\"===n||"*"===n||"*"===r||n&&r&&or(n)&&or(r)||((e,t,n)=>{if(" "!==n&&" "!==n)return!1;let r=0;for(let n=t-1;n>=0;n-=1)if(e[n]===`
|
|
3
|
+
`){r=n+1;break}for(let n=r;n<t;n+=1)if(" "!==e[n]&&" "!==e[n])return!1;return!0})(e,t,r)),os=(e,t,n,r)=>!!("\\"===n||e.includes("$")&&oi(e,t)||"_"===n||"_"===r||n&&r&&or(n)&&or(r)),ol=(e,t)=>{let n=!1,r=!1;for(let a=0;a<t;a+=1){if("```"===e.substring(a,a+3)){r=!r,a+=2;continue}r||"`"!==e[a]||(n=!n)}return n||r},oc=(e,t)=>{let n="```"===e.substring(t,t+3),r=t>0&&"```"===e.substring(t-1,t+2),a=t>1&&"```"===e.substring(t-2,t+1);return n||r||a},ou=(e,t)=>{let n=t>0&&"!"===e[t-1];if(!e.substring(t+1).includes("]")||-1===((e,t)=>{let n=1;for(let r=t+1;r<e.length;r+=1)if("["===e[r])n+=1;else if("]"===e[r]&&0==(n-=1))return r;return -1})(e,t)){let r=e.substring(0,n?t-1:t);return n?r:`${e}](streamdown:incomplete-link)`}return null};let od=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},oh=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();var op={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let om=(0,w.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...s},l)=>(0,w.createElement)("svg",{ref:l,...op,width:t,height:t,stroke:e,strokeWidth:r?24*Number(n)/Number(t):n,className:oh("lucide",a),...!i&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(s)&&{"aria-hidden":"true"},...s},[...o.map(([e,t])=>(0,w.createElement)(e,t)),...Array.isArray(i)?i:[i]])),of=(e,t)=>{let n=(0,w.forwardRef)(({className:n,...r},a)=>(0,w.createElement)(om,{ref:a,iconNode:t,className:oh(`lucide-${od(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...r}));return n.displayName=od(e),n},oE=of("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),og=of("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),oT=of("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),oA=of("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),o_=of("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ok=of("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),ob=of("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),oy=of("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),oS=of("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);var oN=e.i(7284);let oC=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),oI=[],oD=(e,t,n)=>{if(0==e.length-t)return n.classGroupId;let r=e[t],a=n.nextPart.get(r);if(a){let n=oD(e,t+1,a);if(n)return n}let i=n.validators;if(null===i)return;let o=0===t?e.join("-"):e.slice(t).join("-"),s=i.length;for(let e=0;e<s;e++){let t=i[e];if(t.validator(o))return t.classGroupId}},ox=(e,t)=>{let n=oC();for(let r in e)oO(e[r],n,r,t);return n},oO=(e,t,n,r)=>{let a=e.length;for(let i=0;i<a;i++)ov(e[i],t,n,r)},ov=(e,t,n,r)=>{"string"==typeof e?oL(e,t,n):"function"==typeof e?oR(e,t,n,r):ow(e,t,n,r)},oL=(e,t,n)=>{(""===e?t:oP(t,e)).classGroupId=n},oR=(e,t,n,r)=>{oM(e)?oO(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:n,validator:e}))},ow=(e,t,n,r)=>{let a=Object.entries(e),i=a.length;for(let e=0;e<i;e++){let[i,o]=a[e];oO(o,oP(t,i),n,r)}},oP=(e,t)=>{let n=e,r=t.split("-"),a=r.length;for(let e=0;e<a;e++){let t=r[e],a=n.nextPart.get(t);a||(a=oC(),n.nextPart.set(t,a)),n=a}return n},oM=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,oF=[],oB=(e,t,n,r,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),oU=/\s+/,oH=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=oH(e[r]))&&(n&&(n+=" "),n+=t);return n},oG=[],oj=e=>{let t=t=>t[e]||oG;return t.isThemeGetter=!0,t},oz=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oY=/^\((?:(\w[\w-]*):)?(.+)\)$/i,oq=/^\d+\/\d+$/,oW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,oV=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,oQ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oK=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oX=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,o$=e=>oq.test(e),oZ=e=>!!e&&!Number.isNaN(Number(e)),oJ=e=>!!e&&Number.isInteger(Number(e)),o1=e=>e.endsWith("%")&&oZ(e.slice(0,-1)),o0=e=>oW.test(e),o2=()=>!0,o3=e=>oV.test(e)&&!oQ.test(e),o5=()=>!1,o4=e=>oK.test(e),o9=e=>oX.test(e),o8=e=>!o7(e)&&!si(e),o6=e=>sh(e,sE,o5),o7=e=>oz.test(e),se=e=>sh(e,sg,o3),st=e=>sh(e,sT,oZ),sn=e=>sh(e,sm,o5),sr=e=>sh(e,sf,o9),sa=e=>sh(e,s_,o4),si=e=>oY.test(e),so=e=>sp(e,sg),ss=e=>sp(e,sA),sl=e=>sp(e,sm),sc=e=>sp(e,sE),su=e=>sp(e,sf),sd=e=>sp(e,s_,!0),sh=(e,t,n)=>{let r=oz.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},sp=(e,t,n=!1)=>{let r=oY.exec(e);return!!r&&(r[1]?t(r[1]):n)},sm=e=>"position"===e||"percentage"===e,sf=e=>"image"===e||"url"===e,sE=e=>"length"===e||"size"===e||"bg-size"===e,sg=e=>"length"===e,sT=e=>"number"===e,sA=e=>"family-name"===e,s_=e=>"shadow"===e,sk=((e,...t)=>{let n,r,a,i,o=e=>{let t=r(e);if(t)return t;let i=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],s=e.trim().split(oU),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?h.substring(0,p):h);if(!f){if(!m||!(f=r(h))){l=t+(l.length>0?" "+l:l);continue}m=!1}let E=0===u.length?"":1===u.length?u[0]:i(u).join(":"),g=d?E+"!":E,T=g+f;if(o.indexOf(T)>-1)continue;o.push(T);let A=a(f,m);for(let e=0;e<A.length;++e){let t=A[e];o.push(g+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return a(e,i),i};return i=s=>{var l;let c;return r=(n={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),a=(a,i)=>{n[a]=i,++t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set(e,t){e in n?n[e]=t:a(e,t)}}})((l=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t,n=[],r=0,a=0,i=0,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(0===r&&0===a){if(":"===o){n.push(e.slice(i,s)),i=s+1;continue}if("/"===o){t=s;continue}}"["===o?r++:"]"===o?r--:"("===o?a++:")"===o&&a--}let s=0===n.length?e:e.slice(i),l=s,c=!1;return s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0),oB(n,c,l,t&&t>i?t-i:void 0)};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):oB(oF,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r})(l),sortModifiers:(c=new Map,l.orderSensitiveModifiers.forEach((e,t)=>{c.set(e,1e6+t)}),e=>{let t=[],n=[];for(let r=0;r<e.length;r++){let a=e[r],i="["===a[0],o=c.has(a);i||o?(n.length>0&&(n.sort(),t.push(...n),n=[]),t.push(a)):n.push(a)}return n.length>0&&(n.sort(),t.push(...n)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:n}=e;return ox(n,t)})(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var n;let t,r,a;return -1===(n=e).slice(1,-1).indexOf(":")?void 0:(r=(t=n.slice(1,-1)).indexOf(":"),(a=t.slice(0,r))?"arbitrary.."+a:void 0)}let r=e.split("-"),a=+(""===r[0]&&r.length>1);return oD(r,a,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],a=n[e];if(t){if(a){let e=Array(a.length+t.length);for(let t=0;t<a.length;t++)e[t]=a[t];for(let n=0;n<t.length;n++)e[a.length+n]=t[n];return e}return t}return a||oI}return n[e]||oI}}})(l)}).cache.get,a=n.cache.set,i=o,o(s)},(...e)=>i(((...e)=>{let t,n,r=0,a="";for(;r<e.length;)(t=e[r++])&&(n=oH(t))&&(a&&(a+=" "),a+=n);return a})(...e))})(()=>{let e=oj("color"),t=oj("font"),n=oj("text"),r=oj("font-weight"),a=oj("tracking"),i=oj("leading"),o=oj("breakpoint"),s=oj("container"),l=oj("spacing"),c=oj("radius"),u=oj("shadow"),d=oj("inset-shadow"),h=oj("text-shadow"),p=oj("drop-shadow"),m=oj("blur"),f=oj("perspective"),E=oj("aspect"),g=oj("ease"),T=oj("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[..._(),si,o7],b=()=>["auto","hidden","clip","visible","scroll"],y=()=>["auto","contain","none"],S=()=>[si,o7,l],N=()=>[o$,"full","auto",...S()],C=()=>[oJ,"none","subgrid",si,o7],I=()=>["auto",{span:["full",oJ,si,o7]},oJ,si,o7],D=()=>[oJ,"auto",si,o7],x=()=>["auto","min","max","fr",si,o7],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],v=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...S()],R=()=>[o$,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],w=()=>[e,si,o7],P=()=>[..._(),sl,sn,{position:[si,o7]}],M=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F=()=>["auto","cover","contain",sc,o6,{size:[si,o7]}],B=()=>[o1,so,se],U=()=>["","none","full",c,si,o7],H=()=>["",oZ,so,se],G=()=>["solid","dashed","dotted","double"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>[oZ,o1,sl,sn],Y=()=>["","none",m,si,o7],q=()=>["none",oZ,si,o7],W=()=>["none",oZ,si,o7],V=()=>[oZ,si,o7],Q=()=>[o$,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[o0],breakpoint:[o0],color:[o2],container:[o0],"drop-shadow":[o0],ease:["in","out","in-out"],font:[o8],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[o0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[o0],shadow:[o0],spacing:["px",oZ],text:[o0],"text-shadow":[o0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",o$,o7,si,E]}],container:["container"],columns:[{columns:[oZ,o7,si,s]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:b()}],"overflow-x":[{"overflow-x":b()}],"overflow-y":[{"overflow-y":b()}],overscroll:[{overscroll:y()}],"overscroll-x":[{"overscroll-x":y()}],"overscroll-y":[{"overscroll-y":y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[oJ,"auto",si,o7]}],basis:[{basis:[o$,"full","auto",s,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[oZ,o$,"auto","initial","none",o7]}],grow:[{grow:["",oZ,si,o7]}],shrink:[{shrink:["",oZ,si,o7]}],order:[{order:[oJ,"first","last","none",si,o7]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":x()}],"auto-rows":[{"auto-rows":x()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...v(),"normal"]}],"justify-self":[{"justify-self":["auto",...v()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...v(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...v(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...v(),"baseline"]}],"place-self":[{"place-self":["auto",...v()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],w:[{w:[s,"screen",...R()]}],"min-w":[{"min-w":[s,"screen","none",...R()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",n,so,se]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,si,st]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",o1,o7]}],"font-family":[{font:[ss,o7,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,si,o7]}],"line-clamp":[{"line-clamp":[oZ,"none",si,st]}],leading:[{leading:[i,...S()]}],"list-image":[{"list-image":["none",si,o7]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",si,o7]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:[oZ,"from-font","auto",si,se]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[oZ,"auto",si,o7]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",si,o7]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",si,o7]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:M()}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oJ,si,o7],radial:["",si,o7],conic:[oJ,si,o7]},su,sr]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...G(),"hidden","none"]}],"divide-style":[{divide:[...G(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...G(),"none","hidden"]}],"outline-offset":[{"outline-offset":[oZ,si,o7]}],"outline-w":[{outline:["",oZ,so,se]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",u,sd,sa]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",d,sd,sa]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[oZ,se]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",h,sd,sa]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[oZ,si,o7]}],"mix-blend":[{"mix-blend":[...j(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":j()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[oZ]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[si,o7]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[oZ]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:M()}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",si,o7]}],filter:[{filter:["","none",si,o7]}],blur:[{blur:Y()}],brightness:[{brightness:[oZ,si,o7]}],contrast:[{contrast:[oZ,si,o7]}],"drop-shadow":[{"drop-shadow":["","none",p,sd,sa]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",oZ,si,o7]}],"hue-rotate":[{"hue-rotate":[oZ,si,o7]}],invert:[{invert:["",oZ,si,o7]}],saturate:[{saturate:[oZ,si,o7]}],sepia:[{sepia:["",oZ,si,o7]}],"backdrop-filter":[{"backdrop-filter":["","none",si,o7]}],"backdrop-blur":[{"backdrop-blur":Y()}],"backdrop-brightness":[{"backdrop-brightness":[oZ,si,o7]}],"backdrop-contrast":[{"backdrop-contrast":[oZ,si,o7]}],"backdrop-grayscale":[{"backdrop-grayscale":["",oZ,si,o7]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[oZ,si,o7]}],"backdrop-invert":[{"backdrop-invert":["",oZ,si,o7]}],"backdrop-opacity":[{"backdrop-opacity":[oZ,si,o7]}],"backdrop-saturate":[{"backdrop-saturate":[oZ,si,o7]}],"backdrop-sepia":[{"backdrop-sepia":["",oZ,si,o7]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",si,o7]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[oZ,"initial",si,o7]}],ease:[{ease:["linear","initial",g,si,o7]}],delay:[{delay:[oZ,si,o7]}],animate:[{animate:["none",T,si,o7]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,si,o7]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:V()}],"skew-x":[{"skew-x":V()}],"skew-y":[{"skew-y":V()}],transform:[{transform:[si,o7,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":["translate-none"],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",si,o7]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",si,o7]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[oZ,so,se,st]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});var sb=e.i(666426);let sy=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sS=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sN={};function sC(e,t){return((t||sN).jsx?sS:sy).test(e)}let sI=/[ \t\n\f\r]/g;function sD(e){return"object"==typeof e?"text"===e.type&&sx(e.value):sx(e)}function sx(e){return""===e.replace(sI,"")}e.s(["whitespace",()=>sD],158206);let sO={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"};var sv=e.i(411341);function sL(e){return e&&"object"==typeof e?"position"in e||"type"in e?sw(e.position):"start"in e||"end"in e?sw(e):"line"in e||"column"in e?sR(e):"":""}function sR(e){return sP(e&&e.line)+":"+sP(e&&e.column)}function sw(e){return sR(e&&e.start)+"-"+sR(e&&e.end)}function sP(e){return e&&"number"==typeof e?e:1}class sM extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",a={},i=!1;if(t&&(a="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:!a.cause&&e&&(i=!0,r=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?a.ruleId=n:(a.source=n.slice(0,e),a.ruleId=n.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){const e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=sL(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=i&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}sM.prototype.file="",sM.prototype.name="",sM.prototype.reason="",sM.prototype.message="",sM.prototype.stack="",sM.prototype.column=void 0,sM.prototype.line=void 0,sM.prototype.ancestors=void 0,sM.prototype.cause=void 0,sM.prototype.fatal=void 0,sM.prototype.place=void 0,sM.prototype.ruleId=void 0,sM.prototype.source=void 0;let sF={}.hasOwnProperty,sB=new Map,sU=/[A-Z]/g,sH=new Set(["table","tbody","thead","tfoot","tr"]),sG=new Set(["td","th"]),sj="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function sz(e,t,n){var r,a,i,o,s,l,c,u,d;let h,p,m,f,E,g,T,A,_,k,b;return"element"===t.type?(r=e,a=t,i=n,p=h=r.schema,"svg"===a.tagName.toLowerCase()&&"html"===h.space&&(r.schema=eT),r.ancestors.push(a),m=sV(r,a.tagName,!1),f=function(e,t){let n,r,a={};for(r in t.properties)if("children"!==r&&sF.call(t.properties,r)){let i=function(e,t,n){let r=eN(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?e_(n):ex(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return(0,sv.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new sM("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=sj+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)sF.call(e,t)&&(n[function(e){let t=e.replace(sU,sK);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?sO[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(i){let[r,o]=i;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&sG.has(t.tagName)?n=o:a[r]=o}}return n&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),a}(r,a),E=sW(r,a),sH.has(a.tagName)&&(E=E.filter(function(e){return"string"!=typeof e||!sD(e)})),sY(r,f,m,a),sq(f,E),r.ancestors.pop(),r.schema=h,r.create(a,m,f,i)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return tr("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}sQ(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(o=e,s=t,l=n,T=g=o.schema,"svg"===s.name&&"html"===g.space&&(o.schema=eT),o.ancestors.push(s),A=null===s.name?o.Fragment:sV(o,s.name,!0),_=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];tr("ExpressionStatement"===t.type);let a=t.expression;tr("ObjectExpression"===a.type);let i=a.properties[0];tr("SpreadElement"===i.type),Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else sQ(e,t.position);else{let a,i=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];tr("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else sQ(e,t.position);else a=null===r.value||r.value;n[i]=a}return n}(o,s),k=sW(o,s),sY(o,_,A,s),sq(_,k),o.ancestors.pop(),o.schema=g,o.create(s,A,_,l)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sQ(e,t.position)}(e,t):"root"===t.type?(c=e,u=t,d=n,sq(b={},sW(c,u)),c.create(u,c.Fragment,b,d)):"text"===t.type?t.value:void 0}function sY(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function sq(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function sW(e,t){let n=[],r=-1,a=e.passKeys?new Map:sB;for(;++r<t.children.length;){let i,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=a.get(e)||0;i=e+"-"+t,a.set(e,t+1)}}let s=sz(e,o,i);void 0!==s&&n.push(s)}return n}function sV(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=sC(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}tr(e,"always a result"),r=e}else r=sC(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return sF.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);sQ(e)}function sQ(e,t){let n=new sM("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=sj+"#cannot-handle-mdx-estrees-without-createevaluater",n}function sK(e){return"-"+e.toLowerCase()}let sX={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),iv(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let a=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return ae(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},s$={tokenize:function(e){let t,n,r,a=this,i=[],o=0;return s;function s(t){if(o<i.length){let n=i[o];return a.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(o++,a.containerState._closeFlow){let n;a.containerState._closeFlow=void 0,t&&g();let r=a.events.length,i=r;for(;i--;)if("exit"===a.events[i][0]&&"chunkFlow"===a.events[i][1].type){n=a.events[i][1].end;break}E(o);let s=r;for(;s<a.events.length;)a.events[s][1].end={...n},s++;return a_(a.events,i+1,0,a.events.slice(r)),a.events.length=s,c(e)}return s(e)}function c(n){if(o===i.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);a.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return a.containerState={},e.check(sZ,u,d)(n)}function u(e){return t&&g(),E(o),h(e)}function d(e){return a.parser.lazy[a.now().line]=o!==i.length,r=a.now().offset,m(e)}function h(t){return a.containerState={},e.attempt(sZ,p,m)(t)}function p(e){return o++,i.push([a.currentConstruct,a.containerState]),h(e)}function m(r){if(null===r){t&&g(),E(0),e.consume(r);return}return t=t||a.parser.flow(a.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){f(e.exit("chunkFlow"),!0),E(0),e.consume(n);return}return ae(n)?(e.consume(n),f(e.exit("chunkFlow")),o=0,a.interrupt=void 0,s):(e.consume(n),t)}(r)}function f(e,i){let s=a.sliceStream(e);if(i&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),a.parser.lazy[e.start.line]){let e,n,i=t.events.length;for(;i--;)if(t.events[i][1].start.offset<r&&(!t.events[i][1].end||t.events[i][1].end.offset>r))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){n=a.events[l][1].end;break}e=!0}for(E(o),i=s;i<a.events.length;)a.events[i][1].end={...n},i++;a_(a.events,l+1,0,a.events.slice(s)),a.events.length=i}}function E(t){let n=i.length;for(;n-- >t;){let t=i[n];a.containerState=t[1],t[0].exit.call(a,e)}i.length=t}function g(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},sZ={tokenize:function(e,t,n){return iv(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};class sJ{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&s1(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),s1(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),s1(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);s1(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);s1(this.left,t.reverse())}}}function s1(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 s0(e){let t,n,r,a,i,o,s,l={},c=-1,u=new sJ(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,a=e.get(t)[1],i=e.get(t)[2],o=t-1,s=[],l=a._tokenizer;!l&&(l=i.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},h=-1,p=a,m=0,f=0,E=[0];for(;p;){for(;e.get(++o)[1]!==p;);s.push(o),!p._tokenizer&&(n=i.sliceStream(p),p.next||n.push(null),r&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=a;++h<c.length;)"exit"===c[h][0]&&"enter"===c[h-1][0]&&c[h][1].type===c[h-1][1].type&&c[h][1].start.line!==c[h][1].end.line&&(f=h+1,E.push(f),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):E.pop(),h=E.length;h--;){let t=c.slice(E[h],E[h+1]),n=s.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),h=-1;++h<u.length;)d[m+u[h][0]]=m+u[h][1],m+=u[h][1]-u[h][0]-1;return d}(u,c)),c=l[c],s=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(a=u.get(r))[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),a[1].type="lineEnding",n=r);else if("linePrefix"===a[1].type||"listItemIndent"===a[1].type);else break;n&&(t[1].end={...u.get(n)[1].start},(i=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,i))}}return a_(e,0,1/0,u.slice(0)),!s}let s2={resolve:function(e){return s0(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?a(t):ae(t)?e.check(s3,i,a)(t):(e.consume(t),r)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},s3={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),iv(e,a,"linePrefix")};function a(a){if(null===a||ae(a))return n(a);let i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}},s5={tokenize:function(e){let t=this,n=e.attempt(iL,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,iv(e,e.attempt(this.parser.constructs.flow,r,e.attempt(s2,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},s4={resolveAll:s7()},s9=s6("string"),s8=s6("text");function s6(e){return{resolveAll:s7("text"===e?le:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return l(e)?a(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a<t.length;){let e=t[a];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function s7(e){return function(t,n){let r,a=-1;for(;++a<=t.length;)void 0===r?t[a]&&"data"===t[a][1].type&&(r=a,a++):t[a]&&"data"===t[a][1].type||(a!==r+2&&(t[r][1].end=t[a-1][1].end,t.splice(r+2,a-r-2),a=r+2),r=void 0);return e?e(t,n):t}}function le(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,a=e[n-1][1],i=t.sliceStream(a),o=i.length,s=-1,l=0;for(;o--;){let e=i[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let i={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:a.start._bufferIndex+s,_index:a.start._index+o,line:a.end.line,column:a.end.column-l,offset:a.end.offset-l},end:{...a.end}};a.end={...i.start},a.start.offset===a.end.offset?Object.assign(a,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}let lt={name:"attention",resolveAll:function(e,t){let n,r,a,i,o,s,l,c,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;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[n][1].end},h={...e[u][1].start};ln(d,-s),ln(h,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:h},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...i.start},end:{...o.end}},e[n][1].end={...i.start},e[u][1].start={...o.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=ak(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=ak(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=ak(l,ab(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=ak(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=ak(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,a_(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,a=this.previous,i=a5(a);return function(o){return n=o,e.enter("attentionSequence"),function o(s){if(s===n)return e.consume(s),o;let l=e.exit("attentionSequence"),c=a5(s),u=!c||2===c&&i||r.includes(s),d=!i||2===i&&c||r.includes(a);return l._open=!!(42===n?u:u&&(i||!d)),l._close=!!(42===n?d:d&&(c||!u)),t(s)}(o)}}};function ln(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let lr={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return an(t)?iv(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(lr,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return an(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},la={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 r7(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},li=document.createElement("i");function lo(e){let t="&"+e+";";li.innerHTML=t;let n=li.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let ls={name:"characterReference",tokenize:function(e,t,n){let r,a,i=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,a=r5,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=r6,c):(e.enter("characterReferenceValue"),r=7,a=r8,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==r5||lo(i.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&o++<r?(e.consume(s),c):n(s)}}},ll={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},lc={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,a=this,i={partial:!0,tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),an(t)?iv(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(i++,e.consume(a),t):i>=s?(e.exit("codeFencedFenceSequence"),an(a)?iv(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||ae(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,s=0;return function(t){var i;let c;return i=t,o=(c=a.events[a.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=i,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(s++,e.consume(a),t):s<3?n(a):(e.exit("codeFencedFenceSequence"),an(a)?iv(e,l,"whitespace")(a):l(a))}(i)};function l(i){return null===i||ae(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(ll,u,m)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||ae(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):an(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),iv(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||ae(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||ae(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function u(t){return e.attempt(i,m,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return o>0&&an(t)?iv(e,p,"linePrefix",o+1)(t):p(t)}function p(t){return null===t||ae(t)?e.check(ll,u,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||ae(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},lu={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),iv(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?i(n):ae(n)?e.attempt(ld,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||ae(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function i(n){return e.exit("codeIndented"),t(n)}}},ld={partial:!0,tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):ae(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):iv(e,i,"linePrefix",5)(t)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):ae(e)?a(e):n(e)}}};function lh(e,t,n,r,a,i,o,s,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||r9(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||ae(t)?n(t):(e.consume(t),92===t?p:h)}function p(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(a){return!u&&(null===a||41===a||at(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u<c&&40===a?(e.consume(a),u++,m):41===a?(e.consume(a),u--,m):null===a||32===a||40===a||r9(a)?n(a):(e.consume(a),92===a?f:m)}function f(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function lp(e,t,n,r,a,i){let o,s=this,l=0;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(i),c};function c(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):ae(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||ae(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!an(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function lm(e,t,n,r,a,i){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===o?(e.exit(i),s(o)):null===t?n(t):ae(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),iv(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||ae(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function lf(e,t){let n;return function r(a){return ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):an(a)?iv(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}let lE={partial:!0,tokenize:function(e,t,n){return function(t){return at(t)?lf(e,r)(t):n(t)};function r(t){return lm(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return an(t)?iv(e,i,"whitespace")(t):i(t)}function i(e){return null===e||ae(e)?t(e):n(e)}}},lg=["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"],lT=["pre","script","style","textarea"],lA={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(iL,t,n)}}},l_={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return ae(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},lk={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&a_(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,a,i,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(a=o);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[a][1].end}},u={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[a-2][1].start}};return i=ak(i=[["enter",l,t],["enter",c,t]],e.slice(r+1,r+s+3)),i=ak(i,[["enter",u,t]]),i=ak(i,ab(t.parser.constructs.insideSpan.null,e.slice(r+s+4,a-3),t)),i=ak(i,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),i=ak(i,e.slice(a+1)),i=ak(i,[["exit",l,t]]),a_(e,r,e.length,i),e},tokenize:function(e,t,n){let r,a,i=this,o=i.events.length;for(;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){r=i.events[o][1];break}return function(t){return r?r._inactive?u(t):(a=i.parser.defined.includes(aH(i.sliceSerialize({start:r.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(lb,c,a?c:u)(t):91===t?e.attempt(ly,c,a?l:u)(t):a?c(t):u(t)}function l(t){return e.attempt(lS,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},lb={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 at(t)?lf(e,a)(t):a(t)}function a(t){return 41===t?c(t):lh(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return at(t)?lf(e,s)(t):c(t)}function o(e){return n(e)}function s(t){return 34===t||39===t||40===t?lm(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return at(t)?lf(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},ly={tokenize:function(e,t,n){let r=this;return function(t){return lp.call(r,e,a,i,"reference","referenceMarker","referenceString")(t)};function a(e){return r.parser.defined.includes(aH(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},lS={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)}}},lN={name:"labelStartImage",resolveAll:lk.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a};function a(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},lC={name:"labelStartLink",resolveAll:lk.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a};function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},lI={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),iv(e,t,"linePrefix")}}},lD={name:"thematicBreak",tokenize:function(e,t,n){let r,a=0;return function(i){var o;return e.enter("thematicBreak"),r=o=i,function i(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),a++,t):(e.exit("thematicBreakSequence"),an(n)?iv(e,i,"whitespace")(n):i(n))}(o)):a>=3&&(null===o||ae(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},lx={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(iL,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,iv(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!an(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(lv,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,iv(e,e.attempt(lx,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:r8(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(lD,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return r8(a)&&++o<10?(e.consume(a),t):(!r.interrupt||o<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):n(a)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(iL,r.interrupt?n:l,e.attempt(lO,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return an(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},lO={partial:!0,tokenize:function(e,t,n){let r=this;return iv(e,function(e){let a=r.events[r.events.length-1];return!an(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},lv={partial:!0,tokenize:function(e,t,n){let r=this;return iv(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},lL={name:"setextUnderline",resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let r,a=this;return function(t){var o;let s,l=a.events.length;for(;l--;)if("lineEnding"!==a.events[l][1].type&&"linePrefix"!==a.events[l][1].type&&"content"!==a.events[l][1].type){s="paragraph"===a.events[l][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||s)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),an(n)?iv(e,i,"lineSuffix")(n):i(n))}(o)):n(t)};function i(r){return null===r||ae(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};e.s(["attentionMarkers",0,{null:[42,95]},"contentInitial",0,{91:{name:"definition",tokenize:function(e,t,n){let r,a=this;return function(t){var r;return e.enter("definition"),r=t,lp.call(a,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function i(t){return(r=aH(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return at(t)?lf(e,s)(t):s(t)}function s(t){return lh(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(lE,c,c)(t)}function c(t){return an(t)?iv(e,u,"whitespace")(t):u(t)}function u(i){return null===i||ae(i)?(e.exit("definition"),a.parser.defined.push(r),t(i)):n(i)}}}},"disable",0,{null:[]},"document",0,{42:lx,43:lx,45:lx,48:lx,49:lx,50:lx,51:lx,52:lx,53:lx,54:lx,55:lx,56:lx,57:lx,62:lr},"flow",0,{35:{name:"headingAtx",resolve:function(e,t){let n,r,a=e.length-2,i=3;return"whitespace"===e[3][1].type&&(i+=2),a-2>i&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},a_(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(a){var i;return e.enter("atxHeading"),i=a,e.enter("atxHeadingSequence"),function a(i){return 35===i&&r++<6?(e.consume(i),a):null===i||at(i)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||ae(r)?(e.exit("atxHeading"),t(r)):an(r)?iv(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||at(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(i)):n(i)}(i)}}},42:lD,45:[lL,lD],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,a,i,o,s,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),a=!0,p):63===o?(e.consume(o),r=3,l.interrupt?t:L):r3(o)?(e.consume(o),i=String.fromCharCode(o),m):n(o)}function u(a){return 45===a?(e.consume(a),r=2,d):91===a?(e.consume(a),r=5,o=0,h):r3(a)?(e.consume(a),r=4,l.interrupt?t:L):n(a)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:L):n(r)}function h(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:S:h:n(r)}function p(t){return r3(t)?(e.consume(t),i=String.fromCharCode(t),m):n(t)}function m(o){if(null===o||47===o||62===o||at(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&lT.includes(c)?(r=1,l.interrupt?t(o):S(o)):lg.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),f):l.interrupt?t(o):S(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return an(n)?(e.consume(n),t):b(n)}(o):E(o))}return 45===o||r5(o)?(e.consume(o),i+=String.fromCharCode(o),m):n(o)}function f(r){return 62===r?(e.consume(r),l.interrupt?t:S):n(r)}function E(t){return 47===t?(e.consume(t),b):58===t||95===t||r3(t)?(e.consume(t),g):an(t)?(e.consume(t),E):b(t)}function g(t){return 45===t||46===t||58===t||95===t||r5(t)?(e.consume(t),g):T(t)}function T(t){return 61===t?(e.consume(t),A):an(t)?(e.consume(t),T):E(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,_):an(t)?(e.consume(t),A):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||at(n)?T(n):(e.consume(n),t)}(t)}function _(t){return t===s?(e.consume(t),s=null,k):null===t||ae(t)?n(t):(e.consume(t),_)}function k(e){return 47===e||62===e||an(e)?E(e):n(e)}function b(t){return 62===t?(e.consume(t),y):n(t)}function y(t){return null===t||ae(t)?S(t):an(t)?(e.consume(t),y):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),D):60===t&&1===r?(e.consume(t),x):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),v):ae(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(lA,w,N)(t)):null===t||ae(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),S)}function N(t){return e.check(l_,C,w)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||ae(t)?N(t):(e.enter("htmlFlowData"),S(t))}function D(t){return 45===t?(e.consume(t),L):S(t)}function x(t){return 47===t?(e.consume(t),i="",O):S(t)}function O(t){if(62===t){let n=i.toLowerCase();return lT.includes(n)?(e.consume(t),R):S(t)}return r3(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),O):S(t)}function v(t){return 93===t?(e.consume(t),L):S(t)}function L(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),L):S(t)}function R(t){return null===t||ae(t)?(e.exit("htmlFlowData"),w(t)):(e.consume(t),R)}function w(n){return e.exit("htmlFlow"),t(n)}}},61:lL,95:lD,96:lc,126:lc},"flowInitial",0,{[-2]:lu,[-1]:lu,32:lu},"insideSpan",0,{null:[lt,s4]},"string",0,{38:ls,92:la},"text",0,{[-5]:lI,[-4]:lI,[-3]:lI,33:lN,38:ls,42:lt,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return r3(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(t){return 43===t||45===t||46===t||r5(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||r5(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||r9(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):r4(t)?(e.consume(t),s):n(t)}function l(a){return r5(a)?function a(i){return 46===i?(e.consume(i),r=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||r5(i))&&r++<63){let n=45===i?t:a;return e.consume(i),n}return n(i)}(i)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,i,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),_):63===t?(e.consume(t),T):r3(t)?(e.consume(t),b):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,p):r3(t)?(e.consume(t),g):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):ae(t)?(i=u,O(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?x(e):45===e?d(e):u(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?m:p):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),f):ae(t)?(i=m,O(t)):(e.consume(t),m)}function f(t){return 93===t?(e.consume(t),E):m(t)}function E(t){return 62===t?x(t):93===t?(e.consume(t),E):m(t)}function g(t){return null===t||62===t?x(t):ae(t)?(i=g,O(t)):(e.consume(t),g)}function T(t){return null===t?n(t):63===t?(e.consume(t),A):ae(t)?(i=T,O(t)):(e.consume(t),T)}function A(e){return 62===e?x(e):T(e)}function _(t){return r3(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||r5(t)?(e.consume(t),k):function t(n){return ae(n)?(i=t,O(n)):an(n)?(e.consume(n),t):x(n)}(t)}function b(t){return 45===t||r5(t)?(e.consume(t),b):47===t||62===t||at(t)?y(t):n(t)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||r3(t)?(e.consume(t),S):ae(t)?(i=y,O(t)):an(t)?(e.consume(t),y):x(t)}function S(t){return 45===t||46===t||58===t||95===t||r5(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),N):ae(n)?(i=t,O(n)):an(n)?(e.consume(n),t):y(n)}(t)}function N(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):ae(t)?(i=N,O(t)):an(t)?(e.consume(t),N):(e.consume(t),I)}function C(t){return t===r?(e.consume(t),r=void 0,D):null===t?n(t):ae(t)?(i=C,O(t)):(e.consume(t),C)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||at(t)?y(t):(e.consume(t),I)}function D(e){return 47===e||62===e||at(e)?y(e):n(e)}function x(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),v}function v(t){return an(t)?iv(e,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),i(t)}}}],91:lC,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return ae(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},la],93:lk,95:lt,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t<r;)if("codeTextData"===e[t][1].type){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(t=a-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,a,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(a=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(a.type="codeTextData",s(o))}(l)):ae(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||ae(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}}}}],119210);var lR=e.i(119210);let lw=/[\0\t\n\r]/g;function lP(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let lM=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function lF(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return lP(n.slice(t?2:1),t?16:10)}return lo(n)||e}let lB={}.hasOwnProperty;function lU(e){return{line:e.line,column:e.column,offset:e.offset}}function lH(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+sL({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+sL({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+sL({start:t.start,end:t.end})+") is still open")}function lG(e){let t=this;t.parser=function(n){var r,a;let i,o,s,l;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(a=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(g),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(p),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(p,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(f),hardBreakTrailing:r(f),htmlFlow:r(E,a),htmlFlowData:c,htmlText:r(E,a),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(g),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(T,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(T),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=lP(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=lo(n);let a=this.stack[this.stack.length-1];a.value+=t},characterReference:function(e){this.stack.pop().position.end=lU(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=aH(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(lM,lF),n.identifier=aH(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=lU(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=aH(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let a=n[r];Array.isArray(a)?e(t,a):function(e,t){let n;for(n in t)if(lB.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,a)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:i,exit:s,buffer:a,resume:l,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,a,i,o,s=t-1,l=-1,c=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||l||i||(i=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=s;for(a=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;a&&(e[a][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",a=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}i&&(!a||i<a)&&(r._spread=!0),r.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let a={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=a,e.splice(s,0,["enter",a,t[2]]),s++,n++,i=void 0,o=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];lB.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||lH).call(o,void 0,e[0])}for(r.position={start:lU(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:lU(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){i.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function i(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:lU(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||lH).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+sL({start:e.start,end:e.end})+"): it’s not open");n.position.end=lU(e.end)}function l(){return a9(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:lU(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=lU(e.end)}function d(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function f(){return{type:"break"}}function E(){return{type:"html",value:""}}function g(){return{type:"link",title:null,url:"",children:[]}}function T(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(a)(function(e){for(;!s0(e););return e}((function(e){let t={constructs:ip([lR,...(e||{}).extensions||[]]),content:n(sX),defined:[],document:n(s$),flow:n(s5),lazy:{},string:n(s9),text:n(s8)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},a={},i=[],o=[],s=[],l={attempt:m(function(e,t){f(e,t.from)}),check:m(p),consume:function(e){ae(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,E()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=h(),c.events.push(["exit",t,c]),t},interrupt:m(p,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){a[e.line]=e.column,E()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,a=[];for(;++r<e.length;){let i,o=e[r];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=t?" ":" ";break;case -1:if(!t&&n)continue;i=" ";break;default:i=String.fromCharCode(o)}n=-2===o,a.push(i)}return a.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=ak(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==o[o.length-1])?[]:(f(t,0),c.events=ab(i,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(e){return function(e,t){let n,r=t.start._index,a=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;if(r===i)n=[e[r].slice(a,o)];else{if(n=e.slice(r,i),a>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}o>0&&n.push(e[i].slice(0,o))}return n}(o,e)}function h(){let{_bufferIndex:e,_index:t,line:n,column:a,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:a,offset:i}}function p(e,t){t.restore()}function m(e,t){return function(n,a,i){var o;let u,d,p,m;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function f(e){return(u=e,d=0,0===e.length)?i:g(e[d])}function g(e){return function(n){let a,i,o,u,d;return(a=h(),i=c.previous,o=c.currentConstruct,u=c.events.length,d=Array.from(s),m={from:u,restore:function(){r=a,c.previous=i,c.currentConstruct=o,c.events.length=u,s=d,E()}},p=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?A(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,T,A)(n)}}function T(t){return e(p,m),a}function A(e){return(m.restore(),++d<u.length)?g(u[d]):i}}}function f(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&a_(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function E(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}(t,e,n)}}})(a).document().write((o=1,s="",l=!0,function(e,t,n){let r,a,c,u,d,h=[];for(e=s+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),c=0,s="",l&&(65279===e.charCodeAt(0)&&c++,l=void 0);c<e.length;){if(lw.lastIndex=c,u=(r=lw.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(u),!r){s=e.slice(c);break}if(10===d&&c===u&&i)h.push(-3),i=void 0;else switch(i&&(h.push(-5),i=void 0),c<u&&(h.push(e.slice(c,u)),o+=u-c),d){case 0:h.push(65533),o++;break;case 9:for(a=4*Math.ceil(o/4),h.push(-2);o++<a;)h.push(-1);break;case 10:h.push(-4),o=1;break;default:i=!0,o=1}c=u+1}return n&&(i&&h.push(-5),s&&h.push(s),h.push(null)),h})(n,r,!0))))}}function lj(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function lz(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function lY(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});let o=a[a.length-1];return o&&"text"===o.type?o.value+=r:a.push({type:"text",value:r}),a}function lq(e){let t=e.spread;return null==t?e.children.length>1:t}function lW(e,t,n){let r=0,a=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(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let lV={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=iO(a.toLowerCase()),o=e.footnoteOrder.indexOf(a),s=e.footnoteCounts.get(a);void 0===s?(s=0,e.footnoteOrder.push(a),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(a,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return lY(e,t);let a={src:iO(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:iO(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return lY(e,t);let a={href:iO(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);let i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:iO(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=lq(n[r])}return t}(n):lq(t),i={},o=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(a||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?o.push(e):o.push(...e.children)}let l=r[r.length-1];l&&(a||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),a=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++a<r.length;){let e=r[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),a=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),a.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=rO(t.children[1]),o=rx(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),a.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,o=i?i.length:t.children.length,s=-1,l=[];for(;++s<o;){let n=t.children[s],r={},o=i?i[s]:void 0;o&&(r.align=o);let c={type:"element",tagName:a,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),a=0,i=[];for(;r;)i.push(lW(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(lW(t.slice(a),a>0,!1)),i.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:lQ,yaml:lQ,definition:lQ,footnoteDefinition:lQ};function lQ(){}let lK={}.hasOwnProperty,lX={};function l$(e,t){e.position&&(t.position=rL(e))}function lZ(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&a&&Object.assign(n.properties,tn(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function lJ(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function l1(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function l0(e,t){let n,r,a,i,o=(n=t||lX,r=new Map,a=new Map,i={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let a=i.one(n[r],e);if(a){if(r&&"break"===n[r-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=l1(a.value)),!Array.isArray(a)&&"element"===a.type)){let e=a.children[0];e&&"text"===e.type&&(e.value=l1(e.value))}Array.isArray(a)?t.push(...a):t.push(a)}}}return t},applyData:lZ,definitionById:r,footnoteById:a,footnoteCounts:new Map,footnoteOrder:[],handlers:{...lV,...n.handlers},one:function(e,t){let n=e.type,r=i.handlers[n];if(lK.call(i.handlers,n)&&r)return r(i,e,t);if(i.options.passThrough&&i.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tn(n);return r.children=i.all(e),r}return tn(e)}return(i.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(lK.call(n,"hProperties")||lK.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(i,e,t)},options:n,patch:l$,wrap:lJ},H(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:a,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),i),s=o.one(e,void 0),l=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||lj,r=e.options.footnoteBackLabel||lz,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let a=e.footnoteById.get(e.footnoteOrder[l]);if(!a)continue;let i=e.all(a),o=String(a.identifier).toUpperCase(),c=iO(o.toLowerCase()),u=0,d=[],h=e.footnoteCounts.get(o);for(;void 0!==h&&++u<=h;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,m),s.push(m)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...tn(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(o),c=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return l&&(tr("children"in c),c.children.push({type:"text",value:"\n"},l)),c}function l2(e,t){return e&&"run"in e?async function(n,r){let a=l0(n,{file:r,...t});await e.run(a,r)}:function(n,r){return l0(n,{file:r,...e||t})}}function l3(e){if(e)throw e}var l5=e.i(975609);function l4(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let l9=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');ce(e);let r=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(a=i):(s=-1,a=o));return r===a?a=o:a<0&&(a=e.length),e.slice(r,a)},l8=function(e){let t;if(ce(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},l6=function(e){let t;ce(e);let n=e.length,r=-1,a=0,i=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===a+1?"":e.slice(i,r)},l7=function(...e){var t;let n,r,a,i=-1;for(;++i<e.length;)ce(e[i]),e[i]&&(a=void 0===a?e[i]:a+"/"+e[i]);return void 0===a?".":(ce(t=a),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,a="",i=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(a.length<2||2!==i||46!==a.codePointAt(a.length-1)||46!==a.codePointAt(a.length-2)){if(a.length>2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=l,s=0;continue}}else if(a.length>0){a="",i=0,o=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(o+1,l):a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function ce(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function ct(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let cn=["history","path","basename","stem","extname","dirname"];class cr{constructor(e){let t,n;t=e?ct(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<cn.length;){const e=cn[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)cn.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?l9(this.path):void 0}set basename(e){ci(e,"basename"),ca(e,"basename"),this.path=l7(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?l8(this.path):void 0}set dirname(e){co(this.basename,"dirname"),this.path=l7(e||"",this.basename)}get extname(){return"string"==typeof this.path?l6(this.path):void 0}set extname(e){if(ca(e,"extname"),co(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=l7(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){ct(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!ct(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),ci(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?l9(this.path,this.extname):void 0}set stem(e){ci(e,"stem"),ca(e,"stem"),this.path=l7(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new sM(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function ca(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function ci(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function co(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let cs=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},cl={}.hasOwnProperty;class cc extends cs{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function a(i,...o){let s=e[++n],l=-1;if(i)return void r(i);for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?(function(e,t){let n;return function(...t){let i,o=e.length>t.length;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(s,a)(...o):r(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new cc,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data((0,l5.default)(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(cp("data",this.frozen),this.namespace[e]=t,this):cl.call(this.namespace,e)&&this.namespace[e]||void 0:e?(cp("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=cE(e),n=this.parser||this.Parser;return cd("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),cd("process",this.parser||this.Parser),ch("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,a){let i=cE(e),o=n.parse(i);function s(e,n){e||!n?a(e):r?r(n):(tr(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,i,function(e,t,r){var a,i;if(e||!t||!r)return s(e);let o=n.stringify(t,r);"string"==typeof(a=o)||(i=a)&&"object"==typeof i&&"byteLength"in i&&"byteOffset"in i?r.value=o:r.result=o,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),cd("processSync",this.parser||this.Parser),ch("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,l3(e),t=r}),cf("processSync","process",n),tr(t,"we either bailed on an error or have a tree"),t}run(e,t,n){cm(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,i){tr("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=cE(t);r.run(e,o,function(t,r,o){let s=r||e;t?i(t):a?a(s):(tr(n,"`done` is defined if `resolve` is not"),n(void 0,s,o))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){l3(e),n=t,r=!0}),cf("runSync","run",r),tr(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=cE(t),r=this.compiler||this.Compiler;return ch("stringify",r),cm(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(cp("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?i(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");i(e.plugins),e.settings&&(r.settings=(0,l5.default)(!0,r.settings,e.settings))}function i(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)o(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;o(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,a=-1;for(;++r<n.length;)if(n[r][0]===e){a=r;break}if(-1===a)n.push([e,...t]);else if(t.length>0){let[r,...i]=t,o=n[a][1];l4(o)&&l4(r)&&(r=(0,l5.default)(!0,o,r)),n[a]=[e,r,...i]}}}}let cu=new cc().freeze();function cd(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function ch(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function cp(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function cm(e){if(!l4(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function cf(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function cE(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new cr(e)}var cg=e.i(51379),cT=(...e)=>sk((0,oN.clsx)(e)),cA=(e,t,n)=>{let r="string"==typeof t?new Blob([t],{type:n}):t,a=URL.createObjectURL(r),i=document.createElement("a");i.href=a,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},c_=(0,w.createContext)({code:""}),ck=()=>(0,w.useContext)(c_),cb=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:a,code:i,...o})=>{let[s,l]=(0,w.useState)(!1),c=(0,w.useRef)(0),{code:u}=ck(),{isAnimating:d}=(0,w.useContext)(uS),h=null!=i?i:u,p=async()=>{var r;if("undefined"==typeof window||!(null!=(r=null==navigator?void 0:navigator.clipboard)&&r.writeText)){null==t||t(Error("Clipboard API not available"));return}try{s||(await navigator.clipboard.writeText(h),l(!0),null==e||e(),c.current=window.setTimeout(()=>l(!1),n))}catch(e){null==t||t(e)}};return(0,w.useEffect)(()=>()=>{window.clearTimeout(c.current)},[]),(0,sb.jsx)("button",{className:cT("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-copy-button",disabled:d,onClick:p,title:"Copy Code",type:"button",...o,children:null!=r?r:(0,sb.jsx)(s?og:oT,{size:14})})},cy={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},cS=({onDownload:e,onError:t,language:n,children:r,className:a,code:i,...o})=>{let{code:s}=ck(),{isAnimating:l}=(0,w.useContext)(uS),c=null!=i?i:s,u=`file.${n&&n in cy?cy[n]:"txt"}`;return(0,sb.jsx)("button",{className:cT("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-download-button",disabled:l,onClick:()=>{try{cA(u,c,"text/plain"),null==e||e()}catch(e){null==t||t(e)}},title:"Download file",type:"button",...o,children:null!=r?r:(0,sb.jsx)(oE,{size:14})})},cN=()=>(0,sb.jsxs)("div",{className:"w-full divide-y divide-border overflow-hidden rounded-xl border border-border",children:[(0,sb.jsx)("div",{className:"h-[46px] w-full bg-muted/80"}),(0,sb.jsx)("div",{className:"flex w-full items-center justify-center p-4",children:(0,sb.jsx)(ok,{className:"size-4 animate-spin"})})]}),cC=/\.[^/.]+$/,cI=async t=>{let n={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...t},r=(await e.A(172381)).default;return r.initialize(n),r},cD=({chart:e,children:t,className:n,onDownload:r,config:a,onError:i})=>{let[o,s]=(0,w.useState)(!1),l=(0,w.useRef)(null),{isAnimating:c}=(0,w.useContext)(uS),u=async t=>{try{if("mmd"===t){cA("diagram.mmd",e,"text/plain"),s(!1),null==r||r(t);return}let o=await cI(a),l=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),c=`mermaid-${Math.abs(l)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:u}=await o.render(c,e);if(!u){null==i||i(Error("SVG not found. Please wait for the diagram to render."));return}if("svg"===t){cA("diagram.svg",u,"image/svg+xml"),s(!1),null==r||r(t);return}if("png"===t){var n;let e=await (n=u,new Promise((e,t)=>{let r="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n))),a=new Image;a.crossOrigin="anonymous",a.onload=()=>{let n=document.createElement("canvas"),r=5*a.width,i=5*a.height;n.width=r,n.height=i;let o=n.getContext("2d");o?(o.drawImage(a,0,0,r,i),n.toBlob(n=>{n?e(n):t(Error("Failed to create PNG blob"))},"image/png")):t(Error("Failed to create 2D canvas context for PNG export"))},a.onerror=()=>t(Error("Failed to load SVG image")),a.src=r}));cA("diagram.png",e,"image/png"),null==r||r(t),s(!1);return}}catch(e){null==i||i(e)}};return(0,w.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&s(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,sb.jsxs)("div",{className:"relative",ref:l,children:[(0,sb.jsx)("button",{className:cT("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",n),disabled:c,onClick:()=>s(!o),title:"Download diagram",type:"button",children:null!=t?t:(0,sb.jsx)(oE,{size:14})}),o&&(0,sb.jsxs)("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg",children:[(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("svg"),title:"Download diagram as SVG",type:"button",children:"SVG"}),(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("png"),title:"Download diagram as PNG",type:"button",children:"PNG"}),(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("mmd"),title:"Download diagram as MMD",type:"button",children:"MMD"})]})]})},cx=0,cO=({chart:e,config:t,onFullscreen:n,onExit:r,className:a,...i})=>{let[o,s]=(0,w.useState)(!1),{isAnimating:l,controls:c}=(0,w.useContext)(uS),u=(()=>{if("boolean"==typeof c)return c;let e=c.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.panZoom)})(),d=()=>{s(!o)};return(0,w.useEffect)(()=>{if(o){1===(cx+=1)&&(document.body.style.overflow="hidden");let e=e=>{"Escape"===e.key&&s(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),0===(cx=Math.max(0,cx-1))&&(document.body.style.overflow="")}}},[o]),(0,w.useEffect)(()=>{o?null==n||n():r&&r()},[o,n,r]),(0,sb.jsxs)(sb.Fragment,{children:[(0,sb.jsx)("button",{className:cT("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:l,onClick:d,title:"View fullscreen",type:"button",...i,children:(0,sb.jsx)(oA,{size:14})}),o&&(0,sb.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm",onClick:d,onKeyDown:e=>{"Escape"===e.key&&d()},role:"button",tabIndex:0,children:[(0,sb.jsx)("button",{className:"absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground",onClick:d,title:"Exit fullscreen",type:"button",children:(0,sb.jsx)(o_,{size:20})}),(0,sb.jsx)("div",{className:"flex h-full w-full items-center justify-center p-4",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:(0,sb.jsx)(ux,{chart:e,className:"h-full w-full [&>div]:h-full [&>div]:overflow-hidden [&_svg]:h-auto [&_svg]:w-auto",config:t,fullscreen:!0,showControls:u})})]})]})},cv=e=>{var t,n;let r=[],a=[];for(let n of e.querySelectorAll("thead th"))r.push((null==(t=n.textContent)?void 0:t.trim())||"");for(let t of e.querySelectorAll("tbody tr")){let e=[];for(let r of t.querySelectorAll("td"))e.push((null==(n=r.textContent)?void 0:n.trim())||"");a.push(e)}return{headers:r,rows:a}},cL=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1,n=!1;for(let r=0;r<e.length;r+=1){let a=e[r];if('"'===a){t=!0,n=!0;break}(","===a||a===`
|
|
4
|
+
`)&&(t=!0)}return t?n?`"${e.replace(/"/g,'""')}"`:`"${e}"`:e},a=Array(t.length>0?n.length+1:n.length),i=0;for(let e of(t.length>0&&(a[i]=t.map(r).join(","),i+=1),n))a[i]=e.map(r).join(","),i+=1;return a.join(`
|
|
5
|
+
`)},cR=e=>{let t=!1;for(let n=0;n<e.length;n+=1){let r=e[n];if("\\"===r||"|"===r){t=!0;break}}if(!t)return e;let n=[];for(let t=0;t<e.length;t+=1){let r=e[t];"\\"===r?n.push("\\\\"):"|"===r?n.push("\\|"):n.push(r)}return n.join("")},cw=({children:e,className:t,onCopy:n,onError:r,timeout:a=2e3})=>{let[i,o]=(0,w.useState)(!1),[s,l]=(0,w.useState)(!1),c=(0,w.useRef)(null),u=(0,w.useRef)(0),{isAnimating:d}=(0,w.useContext)(uS),h=async e=>{var t,i;if("undefined"==typeof window||!(null!=(t=null==navigator?void 0:navigator.clipboard)&&t.write)){null==r||r(Error("Clipboard API not available"));return}try{let t=null==(i=c.current)?void 0:i.closest('[data-streamdown="table-wrapper"]'),s=null==t?void 0:t.querySelector("table");if(!s){null==r||r(Error("Table not found"));return}let d=cv(s),h="csv"===e?cL(d):(e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1;for(let n=0;n<e.length;n+=1){let r=e[n];if(" "===r||r===`
|
|
6
|
+
`||"\r"===r){t=!0;break}}if(!t)return e;let n=[];for(let t=0;t<e.length;t+=1){let r=e[t];" "===r?n.push("\\t"):r===`
|
|
7
|
+
`?n.push("\\n"):"\r"===r?n.push("\\r"):n.push(r)}return n.join("")},a=Array(t.length>0?n.length+1:n.length),i=0;for(let e of(t.length>0&&(a[i]=t.map(r).join(" "),i+=1),n))a[i]=e.map(r).join(" "),i+=1;return a.join(`
|
|
8
|
+
`)})(d),p=new ClipboardItem({"text/plain":new Blob([h],{type:"text/plain"}),"text/html":new Blob([s.outerHTML],{type:"text/html"})});await navigator.clipboard.write([p]),l(!0),o(!1),null==n||n(e),u.current=window.setTimeout(()=>l(!1),a)}catch(e){null==r||r(e)}};return(0,w.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),window.clearTimeout(u.current)}},[]),(0,sb.jsxs)("div",{className:"relative",ref:c,children:[(0,sb.jsx)("button",{className:cT("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:d,onClick:()=>o(!i),title:"Copy table",type:"button",children:null!=e?e:(0,sb.jsx)(s?og:oT,{size:14})}),i&&(0,sb.jsxs)("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg",children:[(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>h("csv"),title:"Copy table as CSV",type:"button",children:"CSV"}),(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>h("tsv"),title:"Copy table as TSV",type:"button",children:"TSV"})]})]})},cP=({children:e,className:t,onDownload:n,onError:r})=>{let[a,i]=(0,w.useState)(!1),o=(0,w.useRef)(null),{isAnimating:s}=(0,w.useContext)(uS),l=e=>{var t;try{let a=null==(t=o.current)?void 0:t.closest('[data-streamdown="table-wrapper"]'),s=null==a?void 0:a.querySelector("table");if(!s){null==r||r(Error("Table not found"));return}let l=cv(s),c="csv"===e?cL(l):(e=>{let{headers:t,rows:n}=e;if(0===t.length)return"";let r=Array(n.length+2),a=0,i=t.map(e=>cR(e));r[a]=`| ${i.join(" | ")} |`,a+=1;let o=Array(t.length);for(let e=0;e<t.length;e+=1)o[e]="---";for(let e of(r[a]=`| ${o.join(" | ")} |`,a+=1,n))if(e.length<t.length){let n=Array(t.length);for(let r=0;r<t.length;r+=1)n[r]=r<e.length?cR(e[r]):"";r[a]=`| ${n.join(" | ")} |`,a+=1}else{let t=e.map(e=>cR(e));r[a]=`| ${t.join(" | ")} |`,a+=1}return r.join(`
|
|
9
|
+
`)})(l);cA(`table.${"csv"===e?"csv":"md"}`,c,"csv"===e?"text/csv":"text/markdown"),i(!1),null==n||n(e)}catch(e){null==r||r(e)}};return(0,w.useEffect)(()=>{let e=e=>{o.current&&!o.current.contains(e.target)&&i(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,sb.jsxs)("div",{className:"relative",ref:o,children:[(0,sb.jsx)("button",{className:cT("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:s,onClick:()=>i(!a),title:"Download table",type:"button",children:null!=e?e:(0,sb.jsx)(oE,{size:14})}),a&&(0,sb.jsxs)("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg",children:[(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>l("csv"),title:"Download table as CSV",type:"button",children:"CSV"}),(0,sb.jsx)("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>l("markdown"),title:"Download table as Markdown",type:"button",children:"Markdown"})]})]})},cM=({children:e,className:t,showControls:n,...r})=>(0,sb.jsxs)("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[n&&(0,sb.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,sb.jsx)(cw,{}),(0,sb.jsx)(cP,{})]}),(0,sb.jsx)("div",{className:"overflow-x-auto",children:(0,sb.jsx)("table",{className:cT("w-full border-collapse border border-border",t),"data-streamdown":"table",...r,children:e})})]}),cF=(0,w.lazy)(()=>e.A(215654).then(e=>({default:e.CodeBlock}))),cB=(0,w.lazy)(()=>e.A(106849).then(e=>({default:e.Mermaid}))),cU=/language-([^\s]+)/;function cH(e,t){if(!(null!=e&&e.position||null!=t&&t.position))return!0;if(!(null!=e&&e.position&&null!=t&&t.position))return!1;let n=e.position.start,r=t.position.start,a=e.position.end,i=t.position.end;return(null==n?void 0:n.line)===(null==r?void 0:r.line)&&(null==n?void 0:n.column)===(null==r?void 0:r.column)&&(null==a?void 0:a.line)===(null==i?void 0:i.line)&&(null==a?void 0:a.column)===(null==i?void 0:i.column)}function cG(e,t){return e.className===t.className&&cH(e.node,t.node)}var cj=(e,t)=>"boolean"==typeof e?e:!1!==e[t],cz=(e,t)=>{if("boolean"==typeof e)return e;let n=e.mermaid;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},cY=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("ol",{className:cT("list-inside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...r,children:e}),(e,t)=>cG(e,t));cY.displayName="MarkdownOl";var cq=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("li",{className:cT("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...r,children:e}),(e,t)=>e.className===t.className&&cH(e.node,t.node));cq.displayName="MarkdownLi";var cW=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("ul",{className:cT("list-inside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...r,children:e}),(e,t)=>cG(e,t));cW.displayName="MarkdownUl";var cV=(0,w.memo)(({className:e,node:t,...n})=>(0,sb.jsx)("hr",{className:cT("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n}),(e,t)=>cG(e,t));cV.displayName="MarkdownHr";var cQ=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("span",{className:cT("font-semibold",t),"data-streamdown":"strong",...r,children:e}),(e,t)=>cG(e,t));cQ.displayName="MarkdownStrong";var cK=(0,w.memo)(({children:e,className:t,href:n,node:r,...a})=>(0,sb.jsx)("a",{className:cT("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":"streamdown:incomplete-link"===n,"data-streamdown":"link",href:n,rel:"noreferrer",target:"_blank",...a,children:e}),(e,t)=>cG(e,t)&&e.href===t.href);cK.displayName="MarkdownA";var cX=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("h1",{className:cT("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e}),(e,t)=>cG(e,t));cX.displayName="MarkdownH1";var c$=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("h2",{className:cT("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e}),(e,t)=>cG(e,t));c$.displayName="MarkdownH2";var cZ=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("h3",{className:cT("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e}),(e,t)=>cG(e,t));cZ.displayName="MarkdownH3";var cJ=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("h4",{className:cT("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e}),(e,t)=>cG(e,t));cJ.displayName="MarkdownH4";var c1=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("h5",{className:cT("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e}),(e,t)=>cG(e,t));c1.displayName="MarkdownH5";var c0=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("h6",{className:cT("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e}),(e,t)=>cG(e,t));c0.displayName="MarkdownH6";var c2=(0,w.memo)(({children:e,className:t,node:n,...r})=>{let{controls:a}=(0,w.useContext)(uS),i=cj(a,"table");return(0,sb.jsx)(cM,{className:t,"data-streamdown":"table-wrapper",showControls:i,...r,children:e})},(e,t)=>cG(e,t));c2.displayName="MarkdownTable";var c3=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("thead",{className:cT("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e}),(e,t)=>cG(e,t));c3.displayName="MarkdownThead";var c5=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("tbody",{className:cT("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...r,children:e}),(e,t)=>cG(e,t));c5.displayName="MarkdownTbody";var c4=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("tr",{className:cT("border-border border-b",t),"data-streamdown":"table-row",...r,children:e}),(e,t)=>cG(e,t));c4.displayName="MarkdownTr";var c9=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("th",{className:cT("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...r,children:e}),(e,t)=>cG(e,t));c9.displayName="MarkdownTh";var c8=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("td",{className:cT("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e}),(e,t)=>cG(e,t));c8.displayName="MarkdownTd";var c6=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("blockquote",{className:cT("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...r,children:e}),(e,t)=>cG(e,t));c6.displayName="MarkdownBlockquote";var c7=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("sup",{className:cT("text-sm",t),"data-streamdown":"superscript",...r,children:e}),(e,t)=>cG(e,t));c7.displayName="MarkdownSup";var ue=(0,w.memo)(({children:e,className:t,node:n,...r})=>(0,sb.jsx)("sub",{className:cT("text-sm",t),"data-streamdown":"subscript",...r,children:e}),(e,t)=>cG(e,t));ue.displayName="MarkdownSub";var ut=(0,w.memo)(({children:e,className:t,node:n,...r})=>{if("data-footnotes"in r){let n=Array.isArray(e)?e.map(e=>{if(!(0,w.isValidElement)(e))return e;if(e.type===cY){let t=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!(e=>{var t,n;if(!(0,w.isValidElement)(e))return!1;let r=Array.isArray(e.props.children)?e.props.children:[e.props.children],a=!1,i=!1;for(let e of r)if(e){if("string"==typeof e)""!==e.trim()&&(a=!0);else if((0,w.isValidElement)(e)){if((null==(t=e.props)?void 0:t["data-footnote-backref"])!==void 0)i=!0;else for(let t of Array.isArray(e.props.children)?e.props.children:[e.props.children])if("string"==typeof t&&""!==t.trim()||(0,w.isValidElement)(t)&&(null==(n=t.props)?void 0:n["data-footnote-backref"])===void 0){a=!0;break}}}return i&&!a})(e));return 0===t.length?null:{...e,props:{...e.props,children:t}}}return e}):e;return(Array.isArray(n)?n.some(e=>null!==e):null!==n)?(0,sb.jsx)("section",{className:t,...r,children:n}):null}return(0,sb.jsx)("section",{className:t,...r,children:e})},(e,t)=>cG(e,t));ut.displayName="MarkdownSection";var un=(0,w.memo)(({node:e,className:t,children:n,...r})=>{var a,i,o;let s=(null==(a=null==e?void 0:e.position)?void 0:a.start.line)===(null==(i=null==e?void 0:e.position)?void 0:i.end.line),{mermaid:l,controls:c}=(0,w.useContext)(uS);if(s)return(0,sb.jsx)("code",{className:cT("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...r,children:n});let u=null==t?void 0:t.match(cU),d=null!=(o=null==u?void 0:u.at(1))?o:"",h="";if((0,w.isValidElement)(n)&&n.props&&"object"==typeof n.props&&"children"in n.props&&"string"==typeof n.props.children?h=n.props.children:"string"==typeof n&&(h=n),"mermaid"===d){let e=cj(c,"mermaid"),n=cz(c,"download"),r=cz(c,"copy"),a=cz(c,"fullscreen"),i=cz(c,"panZoom");return(0,sb.jsx)(w.Suspense,{fallback:(0,sb.jsx)(cN,{}),children:(0,sb.jsxs)("div",{className:cT("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[e&&(n||r||a)&&(0,sb.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[n&&(0,sb.jsx)(cD,{chart:h,config:null==l?void 0:l.config}),r&&(0,sb.jsx)(cb,{code:h}),a&&(0,sb.jsx)(cO,{chart:h,config:null==l?void 0:l.config})]}),(0,sb.jsx)(cB,{chart:h,config:null==l?void 0:l.config,showControls:i})]})})}let p=cj(c,"code");return(0,sb.jsx)(w.Suspense,{fallback:(0,sb.jsx)(cN,{}),children:(0,sb.jsx)(cF,{className:cT("overflow-x-auto border-border border-t",t),code:h,language:d,children:p&&(0,sb.jsxs)(sb.Fragment,{children:[(0,sb.jsx)(cS,{code:h,language:d}),(0,sb.jsx)(cb,{})]})})})},(e,t)=>e.className===t.className&&cH(e.node,t.node));un.displayName="MarkdownCode";var ur=(0,w.memo)(({node:e,className:t,src:n,alt:r,...a})=>{let i=async()=>{if(n)try{let e=await (await fetch(n)).blob(),t=new URL(n,window.location.origin).pathname.split("/").pop()||"",a=t.split(".").pop(),i=t.includes(".")&&void 0!==a&&a.length<=4,o="";if(i)o=t;else{let n=e.type,a="png";n.includes("jpeg")||n.includes("jpg")?a="jpg":n.includes("png")?a="png":n.includes("svg")?a="svg":n.includes("gif")?a="gif":n.includes("webp")&&(a="webp"),o=`${(r||t||"image").replace(cC,"")}.${a}`}cA(o,e,e.type)}catch(e){console.error("Failed to download image:",e)}};return n?(0,sb.jsxs)("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[(0,sb.jsx)("img",{alt:r,className:cT("max-w-full rounded-lg",t),"data-streamdown":"image",src:n,...a}),(0,sb.jsx)("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),(0,sb.jsx)("button",{className:cT("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:i,title:"Download image",type:"button",children:(0,sb.jsx)(oE,{size:14})})]}):null},(e,t)=>e.className===t.className&&cH(e.node,t.node));ur.displayName="MarkdownImg";var ua=(0,w.memo)(({children:e,className:t,node:n,...r})=>{var a;let i=(Array.isArray(e)?e:[e]).filter(e=>null!=e&&""!==e);return 1===i.length&&(0,w.isValidElement)(i[0])&&(null==(a=i[0].props.node)?void 0:a.tagName)==="img"?(0,sb.jsx)(sb.Fragment,{children:e}):(0,sb.jsx)("p",{className:t,...r,children:e})},(e,t)=>cG(e,t));ua.displayName="MarkdownParagraph";var ui={ol:cY,li:cq,ul:cW,hr:cV,strong:cQ,a:cK,h1:cX,h2:c$,h3:cZ,h4:cJ,h5:c1,h6:c0,table:c2,thead:c3,tbody:c5,tr:c4,th:c9,td:c8,blockquote:c6,code:un,img:ur,pre:({children:e})=>e,sup:c7,sub:ue,p:ua,section:ut},uo=[],us={allowDangerousHtml:!0},ul=new WeakMap,uc=new class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let n=e.rehypePlugins,r=e.remarkPlugins,a=e.remarkRehypeOptions;if(!(n||r||a)){let t="default";return this.keyCache.set(e,t),t}let i=e=>{if(!e||0===e.length)return"";let t="";for(let n=0;n<e.length;n+=1){let r=e[n];if(n>0&&(t+=","),Array.isArray(r)){let[e,n]=r;if("function"==typeof e){let n=ul.get(e);n||(n=e.name,ul.set(e,n)),t+=n}else t+=String(e);t+=":",t+=JSON.stringify(n)}else if("function"==typeof r){let e=ul.get(r);e||(e=r.name,ul.set(r,e)),t+=e}else t+=String(r)}return t},o=i(n),s=i(r),l=a?JSON.stringify(a):"",c=`${s}::${o}::${l}`;return this.keyCache.set(e,c),c}get(e){let t=this.generateCacheKey(e),n=this.cache.get(t);return n&&(this.cache.delete(t),this.cache.set(t,n)),n}set(e,t){let n=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(n,t)}clear(){this.cache.clear()}},uu=e=>{let t=ud(e),n=e.children||"";return up(t.runSync(t.parse(n),n),e)},ud=e=>{let t=uc.get(e);if(t)return t;let n=uh(e);return uc.set(e,n),n},uh=e=>{let t=e.rehypePlugins||uo,n=e.remarkPlugins||uo,r=e.remarkRehypeOptions?{...us,...e.remarkRehypeOptions}:us;return cu().use(lG).use(n).use(l2,r).use(t)},up=(e,t)=>(function(e,t){var n,r,a,i,o;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let l=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=l,r=t.jsxDEV,s=function(e,t,a,i){let o=Array.isArray(a.children),s=rO(e);return r(t,a,i,o,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");a=0,i=t.jsx,o=t.jsxs,s=function(e,t,n,r){let a=Array.isArray(n.children)?o:i;return r?a(t,n,r):a(t,n)}}let c={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?eT:eg,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=sz(c,e,void 0);return u&&"string"!=typeof u?u:c.create(e,c.Fragment,{children:u||void 0},void 0)})(e,{Fragment:sb.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:sb.jsx,jsxs:sb.jsxs,passKeys:!0,passNode:!0}),um=/\[\^[^\]\s]{1,200}\](?!:)/,uf=/\[\^[^\]\s]{1,200}\]:/,uE=/<\/(\w+)>/,ug=/<(\w+)[\s>]/,uT=e=>{let t=0;for(;t<e.length&&(" "===e[t]||" "===e[t]||e[t]===`
|
|
10
|
+
`||"\r"===e[t]);)t+=1;return t+1<e.length&&"$"===e[t]&&"$"===e[t+1]},uA=e=>{let t=e.length-1;for(;t>=0&&(" "===e[t]||" "===e[t]||e[t]===`
|
|
11
|
+
`||"\r"===e[t]);)t-=1;return t>=1&&"$"===e[t]&&"$"===e[t-1]},u_=e=>{let t=0;for(let n=0;n<e.length-1;n+=1)"$"===e[n]&&"$"===e[n+1]&&(t+=1,n+=1);return t},uk=e=>{let t=um.test(e),n=uf.test(e);if(t||n)return[e];let r=cg.Lexer.lex(e,{gfm:!0}),a=[],i=[];for(let e of r){let t=e.raw,n=a.length;if(i.length>0){if(a[n-1]+=t,"html"===e.type){let e=t.match(uE);if(e){let t=e[1];i.at(-1)===t&&i.pop()}}continue}if("html"===e.type&&e.block){let e=t.match(ug);if(e){let n=e[1];t.includes(`</${n}>`)||i.push(n)}}if("$$"===t.trim()&&n>0){let e=a[n-1],r=uT(e),i=u_(e);if(r&&i%2==1){a[n-1]=e+t;continue}}if(n>0&&uA(t)){let e=a[n-1],r=uT(e),i=u_(e),o=u_(t);if(r&&i%2==1&&!uT(t)&&1===o){a[n-1]=e+t;continue}}a.push(t)}return a},ub=Object.values({raw:function(e){return function(t,n){return rM(t,{...e,file:n})}},katex:[e5,{errorColor:"var(--color-muted-foreground)"}],sanitize:[function(e){return function(t){let n,r;return n={type:"root",children:[]},(r=r$({schema:e?{...rK,...e}:rK,stack:[]},t))&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}},{}],harden:[function({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:a=[],blockedImageClass:i="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:o="text-gray-500"}){let s=t.length&&!t.every(e=>"*"===e),l=n.length&&!n.every(e=>"*"===e);if(!e&&(s||l))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return s=>{var l,c,u,d,h,p,m;let f;H(s,(l=e,c=t,u=n,d=r,h=a,p=i,m=o,f=(e,t,n)=>{if("element"!==e.type||e[q])return!0;if("a"===e.tagName){let r=Y(e.properties.href,c,l,!1,!1,h);return null===r?(e[q]=!0,H(e,f),n&&"number"==typeof t&&(n.children[t]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(e.properties.href),class:m},children:[...e.children,{type:"text",value:" [blocked]"}]}),U):(e.properties.href=r,e.properties.target="_blank",e.properties.rel="noopener noreferrer",!0)}if("img"===e.tagName){let r=Y(e.properties.src,u,l,d,!0,h);if(null===r)return e[q]=!0,H(e,f),n&&"number"==typeof t&&(n.children[t]={type:"element",tagName:"span",properties:{class:p},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}),U;e.properties.src=r}return!0}))}},{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]}),uy=Object.values({gfm:[function(e){let t,n,r,a=e||iQ,i=this.data(),o=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),l=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);o.push(ip([{text:iy},{document:{91:{name:"gfmFootnoteDefinition",tokenize:iF,continuation:{tokenize:iB},exit:iU}},text:{91:{name:"gfmFootnoteCall",tokenize:iM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:iw,resolveTo:iP}}},(t=(a||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=a5(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=a5(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let a={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",a,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&a_(o,o.length,0,ab(s,e.slice(r+1,n),t)),a_(o,o.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",a,t]]),a_(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:iG,resolveAll:ij}}},{text:{91:iW}}])),s.push([{transforms:[aM],enter:{literalAutolink:aO,literalAutolinkEmail:av,literalAutolinkHttp:av,literalAutolinkWww:av},exit:{literalAutolink:aP,literalAutolinkEmail:aw,literalAutolinkHttp:aL,literalAutolinkWww:aR}},{enter:{gfmFootnoteCallString:aG,gfmFootnoteCall:aj,gfmFootnoteDefinitionLabelString:az,gfmFootnoteDefinition:aY},exit:{gfmFootnoteCallString:aq,gfmFootnoteCall:aW,gfmFootnoteDefinitionLabelString:aV,gfmFootnoteDefinition:aQ}},{canContainEols:["delete"],enter:{strikethrough:aJ},exit:{strikethrough:a1}},{enter:{table:it,tableData:io,tableHeader:io,tableRow:ia},exit:{codeText:is,table:ir,tableData:ii,tableHeader:ii,tableRow:ii}},{exit:{taskListCheckValueChecked:ic,taskListCheckValueUnchecked:ic,paragraph:iu}}]),l.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:aD,notInConstruct:ax},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:aD,notInConstruct:ax},{character:":",before:"[ps]",after:"\\/",inConstruct:aD,notInConstruct:ax}]},(r=!1,a&&a.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:function(e,t,n,a){let i=n.createTracker(a),o=i.move("[^"),s=n.enter("footnoteDefinition"),l=n.enter("label");return o+=i.move(n.safe(n.associationId(e),{before:o,after:"]"})),l(),o+=i.move("]:"),e.children&&e.children.length>0&&(i.shift(4),o+=i.move((r?"\n":" ")+n.indentLines(n.containerFlow(e,i.current()),r?a$:aX))),s(),o},footnoteReference:aK},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:aZ}],handlers:{delete:a0}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=a7(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,a=-1,i=[],o=t.enter("table");for(;++a<r.length;)i[a]=l(r[a],t,n);return o(),i}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){let a=s([l(e,n,r)]);return a.slice(0,a.indexOf("\n"))}}};function o(e,t,n,r){let a=n.enter("tableCell"),o=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:i,after:i});return o(),a(),s}function s(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),a=n.stringLength||a2,i=[],o=[],s=[],l=[],c=0,u=-1;for(;++u<e.length;){let t=[],r=[],i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){var d;let o=null==(d=e[u][i])?"":String(d);if(!1!==n.alignDelimiters){let e=a(o);r[i]=e,(void 0===l[i]||e>l[i])&&(l[i]=e)}t.push(o)}o[u]=t,s[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++h<c;)i[h]=a3(r[h]);else{let e=a3(r);for(;++h<c;)i[h]=e}h=-1;let p=[],m=[];for(;++h<c;){let e=i[h],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let a=!1===n.alignDelimiters?1:Math.max(1,l[h]-t.length-r.length),o=t+"-".repeat(a)+r;!1!==n.alignDelimiters&&((a=t.length+a+r.length)>l[h]&&(l[h]=a),m[h]=a),p[h]=o}o.splice(1,0,p),s.splice(1,0,m),u=-1;let f=[];for(;++u<o.length;){let e=o[u],t=s[u];h=-1;let r=[];for(;++h<c;){let a=e[h]||"",o="",s="";if(!1!==n.alignDelimiters){let e=l[h]-(t[h]||0),n=i[h];114===n?o=" ".repeat(e):99===n?e%2?(o=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):s=o=" ".repeat(e/2):s=" ".repeat(e)}!1===n.delimiterStart||h||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==a)&&(!1!==n.delimiterStart||h)&&r.push(" "),!1!==n.alignDelimiters&&r.push(o),r.push(a),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||h!==c-1)&&r.push("|")}f.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:a})}function l(e,t,n){let r=e.children,a=-1,i=[],s=t.enter("tableRow");for(;++a<r.length;)i[a]=o(r[a],e,t,n);return s(),i}}(a),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:id}}]})},{}],math:[i1,{singleDollarTextMath:!1}],cjkFriendly:[function(){let e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push({text:{42:aN,95:aN},insideSpan:{null:[aN]}})},{}],cjkFriendlyGfmStrikethrough:[function(e){let t,n,r=this.data();(r.micromarkExtensions||(r.micromarkExtensions=[])).push((t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let{now:a,sliceSerialize:i,previous:o}=this,s=aE(o)?ag(o,a(),i):o,l=au(s),c=new aT(s,a(),i),u=ad(l,c.value.bind(c),s),d=this.events,h=0;return function(o){return(tr(126===o,"expected `~`"),126===s&&"characterEscape"!==d[d.length-1][1].type)?r(o):(e.enter("strikethroughSequenceTemporary"),function o(l){let c=au(s);if(126===l)return h>1?r(l):(e.consume(l),h++,o);if(h<2&&!t)return r(l);let d=e.exit("strikethroughSequenceTemporary"),p=au(af(l)?aA(l,a(),i):l),m=ah(u)||!!(1&u),f=ah(p)||!!(1&p),E=ap(u)||c===R.ivs;return d._open=!f||2===p&&(m||E),d._close=!m||2===c&&(f||ap(p)),n(l)}(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";let a={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",a,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&a_(o,o.length,0,ab(s,e.slice(r+1,n),t)),a_(o,o.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",a,t]]),a_(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}))},{}]}),uS=(0,w.createContext)({shikiTheme:["github-light","github-dark"],controls:!0,isAnimating:!1,mode:"streaming",mermaid:void 0}),uN=(0,w.memo)(({content:e,shouldParseIncompleteMarkdown:t,...n})=>{let r=(0,w.useMemo)(()=>"string"==typeof e&&t?(e=>{if(!e||"string"!=typeof e)return e;let t=e,n=(e=>{let t=e.lastIndexOf("](");if(-1!==t&&!ol(e,t)){let n=((e,t)=>{if(e.substring(t+2).includes(")"))return null;let n=((e,t)=>{let n=1;for(let r=t-1;r>=0;r-=1)if("]"===e[r])n+=1;else if("["===e[r]&&0==(n-=1))return r;return -1})(e,t);if(-1===n||ol(e,n))return null;let r=n>0&&"!"===e[n-1],a=e.substring(0,r?n-1:n);if(r)return a;let i=e.substring(n+1,t);return`${a}[${i}](streamdown:incomplete-link)`})(e,t);if(null!==n)return n}for(let t=e.length-1;t>=0;t-=1)if("["===e[t]&&!ol(e,t)){let n=ou(e,t);if(null!==n)return n}return e})(t);return n.endsWith("](streamdown:incomplete-link)")?n:t=(e=>{if((e.match(/\$\$/g)||[]).length%2==0)return e;let t=e.indexOf("$$");return -1===t||-1===e.indexOf(`
|
|
12
|
+
`,t)||e.endsWith(`
|
|
13
|
+
`)?`${e}$$`:`${e}
|
|
14
|
+
$$`})(t=(e=>{let t=e.match(i8);if(t){let n=t[2];if(!n||i6.test(n))return e;if((e.match(/~~/g)||[]).length%2==1)return`${e}~~`}return e})(t=(e=>{let t,n=!e.match(ot)||e.includes(`
|
|
15
|
+
`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;if(null!==n)return n;if((t=(e.match(/```/g)||[]).length)>0&&t%2==0&&e.includes(`
|
|
16
|
+
`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2==0)return e;let r=e.match(i9);if(r&&(e.match(/```/g)||[]).length%2!=1){let t=r[2];if(!t||i6.test(t))return e;if((e=>{let t=0;for(let n=0;n<e.length;n+=1)"`"!==e[n]||oc(e,n)||(t+=1);return t})(e)%2==1)return`${e}\``}return e})(t=(e=>{if(oa(e)||!e.match(i4))return e;let t=(e=>{for(let t=0;t<e.length;t+=1)if("_"===e[t]&&"_"!==e[t-1]&&"_"!==e[t+1]&&"\\"!==e[t-1]&&!oi(e,t)){let n=t>0?e[t-1]:"",r=t<e.length-1?e[t+1]:"";if(n&&r&&or(n)&&or(r))continue;return t}return -1})(e);if(-1===t)return e;let n=e.substring(t+1);return!n||i6.test(n)?e:(e=>{let t=0,n=e.length;for(let r=0;r<n;r+=1){if("_"!==e[r])continue;let a=r>0?e[r-1]:"",i=r<n-1?e[r+1]:"";os(e,r,a,i)||(t+=1)}return t})(e)%2==1?(e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
17
|
+
`;)t-=1;if(t<e.length){let n=e.slice(0,t),r=e.slice(t);return`${n}_${r}`}return`${e}_`})(e):e})(t=(e=>{if(oa(e)||!e.match(i5))return e;let t=(e=>{for(let t=0;t<e.length;t+=1)if("*"===e[t]&&"*"!==e[t-1]&&"*"!==e[t+1]&&"\\"!==e[t-1]){let n=t>0?e[t-1]:"",r=t<e.length-1?e[t+1]:"";if(n&&r&&or(n)&&or(r))continue;return t}return -1})(e);if(-1===t)return e;let n=e.substring(t+1);return!n||i6.test(n)?e:(e=>{let t=0,n=e.length;for(let r=0;r<n;r+=1){if("*"!==e[r])continue;let a=r>0?e[r-1]:"",i=r<n-1?e[r+1]:"";oo(e,r,a,i)||(t+=1)}return t})(e)%2==1?`${e}*`:e})(t=(e=>{let t=e.match(i2);if(t){let n=t[2];if(!n||i6.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(`
|
|
18
|
+
`),i=e.substring(-1===a?0:a+1,r);if(i7.test(i)&&n.includes(`
|
|
19
|
+
`))return e;if((e.match(/__/g)||[]).length%2==1)return`${e}__`}return e})(t=(e=>{if(oa(e))return e;let t=e.match(i0);if(t){let n=t[2];if(!n||i6.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(`
|
|
20
|
+
`),i=e.substring(-1===a?0:a+1,r);if(i7.test(i)&&n.includes(`
|
|
21
|
+
`))return e;if((e.match(/\*\*/g)||[]).length%2==1)return`${e}**`}return e})(t=(e=>{if(oa(e)||on.test(e))return e;let t=e.match(i3);if(t){let n=t[2];if(!n||i6.test(n))return e;if((e=>{let t=0,n=0;for(let r=0;r<e.length;r+=1)"*"===e[r]?n+=1:(n>=3&&(t+=Math.floor(n/3)),n=0);return n>=3&&(t+=Math.floor(n/3)),t})(e)%2==1)return`${e}***`}return e})(t=n))))))))})(e.trim()):e,[e,t]);return(0,sb.jsx)(uu,{...n,children:r})},(e,t)=>{if(e.content!==t.content||e.shouldParseIncompleteMarkdown!==t.shouldParseIncompleteMarkdown||e.index!==t.index)return!1;if(e.components!==t.components){let n=Object.keys(e.components||{}),r=Object.keys(t.components||{});if(n.length!==r.length||n.some(n=>{var r,a;return(null==(r=e.components)?void 0:r[n])!==(null==(a=t.components)?void 0:a[n])}))return!1}return e.rehypePlugins===t.rehypePlugins&&e.remarkPlugins===t.remarkPlugins});uN.displayName="Block";var uC=["github-light","github-dark"],uI=(0,w.memo)(({children:t,mode:n="streaming",parseIncompleteMarkdown:r=!0,components:a,rehypePlugins:i=ub,remarkPlugins:o=uy,className:s,shikiTheme:l=uC,mermaid:c,controls:u=!0,isAnimating:d=!1,BlockComponent:h=uN,parseMarkdownIntoBlocksFn:p=uk,...m})=>{let f=(0,w.useId)(),[E,g]=(0,w.useTransition)(),[T,A]=(0,w.useState)([]),_=(0,w.useMemo)(()=>p("string"==typeof t?t:""),[t,p]);(0,w.useEffect)(()=>{"streaming"===n?g(()=>{A(_)}):A(_)},[_,n]);let k="streaming"===n?T:_,b=(0,w.useMemo)(()=>k.map((e,t)=>`${f}-${t}`),[k.length,f]),y=(0,w.useMemo)(()=>({shikiTheme:l,controls:u,isAnimating:d,mode:n,mermaid:c}),[l,u,d,n,c]),S=(0,w.useMemo)(()=>({...ui,...a}),[a]);return(0,w.useEffect)(()=>{if(!(Array.isArray(i)&&i.some(e=>Array.isArray(e)?e[0]===e5:e===e5)))return;let n=!1;if(Array.isArray(o)){let e=o.find(e=>Array.isArray(e)?e[0]===i1:e===i1);e&&Array.isArray(e)&&e[1]&&(n=!0===e[1].singleDollarTextMath)}let r="string"==typeof t?t:"",a=r.includes("$$"),s=n&&(/[^$]\$[^$]/.test(r)||/^\$[^$]/.test(r)||/[^$]\$$/.test(r));(a||s)&&e.A(12240)},[i,o,t]),"static"===n?(0,sb.jsx)(uS.Provider,{value:y,children:(0,sb.jsx)("div",{className:cT("space-y-4 whitespace-normal",s),children:(0,sb.jsx)(uu,{components:S,rehypePlugins:i,remarkPlugins:o,...m,children:t})})}):(0,sb.jsx)(uS.Provider,{value:y,children:(0,sb.jsx)("div",{className:cT("space-y-4 whitespace-normal",s),children:k.map((e,t)=>(0,sb.jsx)(h,{components:S,content:e,index:t,rehypePlugins:i,remarkPlugins:o,shouldParseIncompleteMarkdown:r,...m},b[t]))})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.mode===t.mode);uI.displayName="Streamdown";var uD=({children:e,className:t,minZoom:n=.5,maxZoom:r=3,zoomStep:a=.1,showControls:i=!0,initialZoom:o=1,fullscreen:s=!1})=>{let l=(0,w.useRef)(null),c=(0,w.useRef)(null),[u,d]=(0,w.useState)(o),[h,p]=(0,w.useState)({x:0,y:0}),[m,f]=(0,w.useState)(!1),[E,g]=(0,w.useState)({x:0,y:0}),[T,A]=(0,w.useState)({x:0,y:0}),_=(0,w.useCallback)(e=>{d(t=>Math.max(n,Math.min(r,t+e)))},[n,r]),k=(0,w.useCallback)(()=>{_(a)},[_,a]),b=(0,w.useCallback)(()=>{_(-a)},[_,a]),y=(0,w.useCallback)(()=>{d(o),p({x:0,y:0})},[o]),S=(0,w.useCallback)(e=>{e.preventDefault(),_(e.deltaY>0?-a:a)},[_,a]),N=(0,w.useCallback)(e=>{if(0!==e.button||!1===e.isPrimary)return;f(!0),g({x:e.clientX,y:e.clientY}),A(h);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[h]),C=(0,w.useCallback)(e=>{if(!m)return;e.preventDefault();let t=e.clientX-E.x,n=e.clientY-E.y;p({x:T.x+t,y:T.y+n})},[m,E,T]),I=(0,w.useCallback)(e=>{f(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,w.useEffect)(()=>{let e=l.current;if(e)return e.addEventListener("wheel",S,{passive:!1}),()=>{e.removeEventListener("wheel",S)}},[S]),(0,w.useEffect)(()=>{let e=c.current;if(e&&m)return document.body.style.userSelect="none",e.addEventListener("pointermove",C,{passive:!1}),e.addEventListener("pointerup",I),e.addEventListener("pointercancel",I),()=>{document.body.style.userSelect="",e.removeEventListener("pointermove",C),e.removeEventListener("pointerup",I),e.removeEventListener("pointercancel",I)}},[m,C,I]),(0,sb.jsxs)("div",{className:cT("relative",s?"h-full w-full":"w-full",t),ref:l,style:{cursor:m?"grabbing":"grab"},children:[i&&(0,sb.jsxs)("div",{className:cT("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/90 p-1 shadow-sm backdrop-blur-sm",s?"bottom-4 left-4":"bottom-2 left-2"),children:[(0,sb.jsx)("button",{className:"flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",disabled:u>=r,onClick:k,title:"Zoom in",type:"button",children:(0,sb.jsx)(ob,{size:16})}),(0,sb.jsx)("button",{className:"flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",disabled:u<=n,onClick:b,title:"Zoom out",type:"button",children:(0,sb.jsx)(oy,{size:16})}),(0,sb.jsx)("button",{className:"flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",onClick:y,title:"Reset zoom and pan",type:"button",children:(0,sb.jsx)(oS,{size:16})})]}),(0,sb.jsx)("div",{className:cT("origin-center transition-transform duration-150 ease-out",s&&"flex w-full items-center justify-center"),onPointerDown:N,ref:c,role:"application",style:{transform:`translate(${h.x}px, ${h.y}px) scale(${u})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},ux=({chart:e,className:t,config:n,fullscreen:r=!1,showControls:a=!0})=>{let[i,o]=(0,w.useState)(null),[s,l]=(0,w.useState)(!0),[c,u]=(0,w.useState)(""),[d,h]=(0,w.useState)(""),[p,m]=(0,w.useState)(0),{mermaid:f}=(0,w.useContext)(uS),E=null==f?void 0:f.errorComponent;return((0,w.useEffect)(()=>{(async()=>{try{o(null),l(!0);let t=await cI(n),r=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),a=`mermaid-${Math.abs(r)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:i}=await t.render(a,e);u(i),h(i)}catch(e){d||c||o(e instanceof Error?e.message:"Failed to render Mermaid chart")}finally{l(!1)}})()},[e,n,p]),!s||c||d)?!i||c||d?(0,sb.jsx)(uD,{className:cT(r?"h-full w-full overflow-hidden":"my-4 overflow-hidden",t),fullscreen:r,maxZoom:3,minZoom:.5,showControls:a,zoomStep:.1,children:(0,sb.jsx)("div",{"aria-label":"Mermaid chart",className:cT("flex justify-center",r&&"h-full w-full items-center"),dangerouslySetInnerHTML:{__html:c||d},role:"img"})}):E?(0,sb.jsx)(E,{chart:e,error:i,retry:()=>m(e=>e+1)}):(0,sb.jsxs)("div",{className:cT("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[(0,sb.jsxs)("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",i]}),(0,sb.jsxs)("details",{className:"mt-2",children:[(0,sb.jsx)("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),(0,sb.jsx)("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]}):(0,sb.jsx)("div",{className:cT("my-4 flex justify-center p-4",t),children:(0,sb.jsxs)("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[(0,sb.jsx)("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),(0,sb.jsx)("span",{className:"text-sm",children:"Loading diagram..."})]})})};e.s(["a",()=>cT,"b",()=>c_,"c",()=>ux,"g",()=>uS,"i",()=>uI],328582)}]);
|