momentic 2.17.7 → 2.17.8

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "momentic",
3
- "version": "2.17.7",
3
+ "version": "2.17.8",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "momentic",
9
- "version": "2.17.7",
9
+ "version": "2.17.8",
10
10
  "dependencies": {
11
11
  "@actions/exec": "^1.1.1",
12
12
  "@actions/io": "^1.1.3",
@@ -2568,12 +2568,12 @@
2568
2568
  }
2569
2569
  },
2570
2570
  "node_modules/@types/node": {
2571
- "version": "24.6.2",
2572
- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.6.2.tgz",
2573
- "integrity": "sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang==",
2571
+ "version": "24.7.0",
2572
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.7.0.tgz",
2573
+ "integrity": "sha512-IbKooQVqUBrlzWTi79E8Fw78l8k1RNtlDDNWsFZs7XonuQSJ8oNYfEeclhprUldXISRMLzBpILuKgPlIxm+/Yw==",
2574
2574
  "license": "MIT",
2575
2575
  "dependencies": {
2576
- "undici-types": "~7.13.0"
2576
+ "undici-types": "~7.14.0"
2577
2577
  }
2578
2578
  },
2579
2579
  "node_modules/@types/pg": {
@@ -5996,9 +5996,9 @@
5996
5996
  "license": "BSD-3-Clause"
5997
5997
  },
5998
5998
  "node_modules/semver": {
5999
- "version": "7.7.2",
6000
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
6001
- "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
5999
+ "version": "7.7.3",
6000
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
6001
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
6002
6002
  "license": "ISC",
6003
6003
  "bin": {
6004
6004
  "semver": "bin/semver.js"
@@ -6745,9 +6745,9 @@
6745
6745
  }
6746
6746
  },
6747
6747
  "node_modules/undici-types": {
6748
- "version": "7.13.0",
6749
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.13.0.tgz",
6750
- "integrity": "sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==",
6748
+ "version": "7.14.0",
6749
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.14.0.tgz",
6750
+ "integrity": "sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==",
6751
6751
  "license": "MIT"
6752
6752
  },
6753
6753
  "node_modules/universal-github-app-jwt": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "momentic",
3
- "version": "2.17.7",
3
+ "version": "2.17.8",
4
4
  "bin": {
5
5
  "momentic": "./bin/cli.js"
6
6
  },
@@ -1063,7 +1063,7 @@ return new Response("Hello world", {
1063
1063
  `);const u=new L6("!xml");let t=u,a="",n="";for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){const o=Bm(e,">",r,"Closing Tag is not closed.");let s=e.substring(r+2,o).trim();if(this.options.removeNSPrefix){const d=s.indexOf(":");d!==-1&&(s=s.substr(d+1))}this.options.transformTagName&&(s=this.options.transformTagName(s)),t&&(a=this.saveTextToParentTag(a,t,n));const l=n.substring(n.lastIndexOf(".")+1);if(s&&this.options.unpairedTags.indexOf(s)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${s}>`);let c=0;l&&this.options.unpairedTags.indexOf(l)!==-1?(c=n.lastIndexOf(".",n.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=n.lastIndexOf("."),n=n.substring(0,c),t=this.tagsNodeStack.pop(),a="",r=o}else if(e[r+1]==="?"){let o=Kq(e,r,!1,"?>");if(!o)throw new Error("Pi Tag is not closed.");if(a=this.saveTextToParentTag(a,t,n),!(this.options.ignoreDeclaration&&o.tagName==="?xml"||this.options.ignorePiTags)){const s=new L6(o.tagName);s.add(this.options.textNodeName,""),o.tagName!==o.tagExp&&o.attrExpPresent&&(s[":@"]=this.buildAttributesMap(o.tagExp,n,o.tagName)),this.addChild(t,s,n)}r=o.closeIndex+1}else if(e.substr(r+1,3)==="!--"){const o=Bm(e,"-->",r+4,"Comment is not closed.");if(this.options.commentPropName){const s=e.substring(r+4,o-2);a=this.saveTextToParentTag(a,t,n),t.add(this.options.commentPropName,[{[this.options.textNodeName]:s}])}r=o}else if(e.substr(r+1,2)==="!D"){const o=upa(e,r);this.docTypeEntities=o.entities,r=o.i}else if(e.substr(r+1,2)==="!["){const o=Bm(e,"]]>",r,"CDATA is not closed.")-2,s=e.substring(r+9,o);a=this.saveTextToParentTag(a,t,n);let l=this.parseTextData(s,t.tagname,n,!0,!1,!0,!0);l==null&&(l=""),this.options.cdataPropName?t.add(this.options.cdataPropName,[{[this.options.textNodeName]:s}]):t.add(this.options.textNodeName,l),r=o+2}else{let o=Kq(e,r,this.options.removeNSPrefix),s=o.tagName;const l=o.rawTagName;let c=o.tagExp,d=o.attrExpPresent,E=o.closeIndex;this.options.transformTagName&&(s=this.options.transformTagName(s)),t&&a&&t.tagname!=="!xml"&&(a=this.saveTextToParentTag(a,t,n,!1));const h=t;if(h&&this.options.unpairedTags.indexOf(h.tagname)!==-1&&(t=this.tagsNodeStack.pop(),n=n.substring(0,n.lastIndexOf("."))),s!==u.tagname&&(n+=n?"."+s:s),this.isItStopNode(this.options.stopNodes,n,s)){let p="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)s[s.length-1]==="/"?(s=s.substr(0,s.length-1),n=n.substr(0,n.length-1),c=s):c=c.substr(0,c.length-1),r=o.closeIndex;else if(this.options.unpairedTags.indexOf(s)!==-1)r=o.closeIndex;else{const g=this.readStopNodeData(e,l,E+1);if(!g)throw new Error(`Unexpected end of ${l}`);r=g.i,p=g.tagContent}const f=new L6(s);s!==c&&d&&(f[":@"]=this.buildAttributesMap(c,n,s)),p&&(p=this.parseTextData(p,s,n,!0,d,!0,!0)),n=n.substr(0,n.lastIndexOf(".")),f.add(this.options.textNodeName,p),this.addChild(t,f,n)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){s[s.length-1]==="/"?(s=s.substr(0,s.length-1),n=n.substr(0,n.length-1),c=s):c=c.substr(0,c.length-1),this.options.transformTagName&&(s=this.options.transformTagName(s));const p=new L6(s);s!==c&&d&&(p[":@"]=this.buildAttributesMap(c,n,s)),this.addChild(t,p,n),n=n.substr(0,n.lastIndexOf("."))}else{const p=new L6(s);this.tagsNodeStack.push(t),s!==c&&d&&(p[":@"]=this.buildAttributesMap(c,n,s)),this.addChild(t,p,n),t=p}a="",r=E}}else a+=e[r];return u.child};function dpa(e,u,t){const a=this.options.updateTag(u.tagname,t,u[":@"]);a===!1||(typeof a=="string"&&(u.tagname=a),e.addChild(u))}const Epa=function(e){if(this.options.processEntities){for(let u in this.docTypeEntities){const t=this.docTypeEntities[u];e=e.replace(t.regx,t.val)}for(let u in this.lastEntities){const t=this.lastEntities[u];e=e.replace(t.regex,t.val)}if(this.options.htmlEntities)for(let u in this.htmlEntities){const t=this.htmlEntities[u];e=e.replace(t.regex,t.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function hpa(e,u,t,a){return e&&(a===void 0&&(a=Object.keys(u.child).length===0),e=this.parseTextData(e,u.tagname,t,!1,u[":@"]?Object.keys(u[":@"]).length!==0:!1,a),e!==void 0&&e!==""&&u.add(this.options.textNodeName,e),e=""),e}function mpa(e,u,t){const a="*."+t;for(const n in e){const r=e[n];if(a===r||u===r)return!0}return!1}function ppa(e,u,t=">"){let a,n="";for(let r=u;r<e.length;r++){let i=e[r];if(a)i===a&&(a="");else if(i==='"'||i==="'")a=i;else if(i===t[0])if(t[1]){if(e[r+1]===t[1])return{data:n,index:r}}else return{data:n,index:r};else i===" "&&(i=" ");n+=i}}function Bm(e,u,t,a){const n=e.indexOf(u,t);if(n===-1)throw new Error(a);return n+u.length-1}function Kq(e,u,t,a=">"){const n=ppa(e,u+1,a);if(!n)return;let r=n.data;const i=n.index,o=r.search(/\s/);let s=r,l=!0;o!==-1&&(s=r.substring(0,o),r=r.substring(o+1).trimStart());const c=s;if(t){const d=s.indexOf(":");d!==-1&&(s=s.substr(d+1),l=s!==n.data.substr(d+1))}return{tagName:s,tagExp:r,closeIndex:i,attrExpPresent:l,rawTagName:c}}function fpa(e,u,t){const a=t;let n=1;for(;t<e.length;t++)if(e[t]==="<")if(e[t+1]==="/"){const r=Bm(e,">",t,`${u} is not closed`);if(e.substring(t+2,r).trim()===u&&(n--,n===0))return{tagContent:e.substring(a,t),i:r};t=r}else if(e[t+1]==="?")t=Bm(e,"?>",t+1,"StopNode is not closed.");else if(e.substr(t+1,3)==="!--")t=Bm(e,"-->",t+3,"StopNode is not closed.");else if(e.substr(t+1,2)==="![")t=Bm(e,"]]>",t,"StopNode is not closed.")-2;else{const r=Kq(e,t,">");r&&((r&&r.tagName)===u&&r.tagExp[r.tagExp.length-1]!=="/"&&n++,t=r.closeIndex)}}function Vq(e,u,t){if(u&&typeof e=="string"){const a=e.trim();return a==="true"?!0:a==="false"?!1:tpa(e,t)}else return kQe.isExist(e)?e:""}var Dpa=npa,bQe={};function gpa(e,u){return CQe(e,u)}function CQe(e,u,t){let a;const n={};for(let r=0;r<e.length;r++){const i=e[r],o=xpa(i);let s="";if(t===void 0?s=o:s=t+"."+o,o===u.textNodeName)a===void 0?a=i[o]:a+=""+i[o];else{if(o===void 0)continue;if(i[o]){let l=CQe(i[o],u,s);const c=kpa(l,u);i[":@"]?vpa(l,i[":@"],s,u):Object.keys(l).length===1&&l[u.textNodeName]!==void 0&&!u.alwaysCreateTextNode?l=l[u.textNodeName]:Object.keys(l).length===0&&(u.alwaysCreateTextNode?l[u.textNodeName]="":l=""),n[o]!==void 0&&n.hasOwnProperty(o)?(Array.isArray(n[o])||(n[o]=[n[o]]),n[o].push(l)):u.isArray(o,s,c)?n[o]=[l]:n[o]=l}}}return typeof a=="string"?a.length>0&&(n[u.textNodeName]=a):a!==void 0&&(n[u.textNodeName]=a),n}function xpa(e){const u=Object.keys(e);for(let t=0;t<u.length;t++){const a=u[t];if(a!==":@")return a}}function vpa(e,u,t,a){if(u){const n=Object.keys(u),r=n.length;for(let i=0;i<r;i++){const o=n[i];a.isArray(o,t+"."+o,!0,!0)?e[o]=[u[o]]:e[o]=u[o]}}}function kpa(e,u){const{textNodeName:t}=u,a=Object.keys(e).length;return!!(a===0||a===1&&(e[t]||typeof e[t]=="boolean"||e[t]===0))}bQe.prettify=gpa;const{buildOptions:bpa}=ane,Cpa=Dpa,{prettify:Fpa}=bQe,ypa=une;let Apa=class{constructor(u){this.externalEntities={},this.options=bpa(u)}parse(u,t){if(typeof u!="string")if(u.toString)u=u.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(t){t===!0&&(t={});const r=ypa.validate(u,t);if(r!==!0)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}const a=new Cpa(this.options);a.addExternalEntities(this.externalEntities);const n=a.parseXml(u);return this.options.preserveOrder||n===void 0?n:Fpa(n,this.options)}addEntity(u,t){if(t.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(u.indexOf("&")!==-1||u.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(t==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[u]=t}};var Spa=Apa;const Bpa=`
1064
1064
  `;function wpa(e,u){let t="";return u.format&&u.indentBy.length>0&&(t=Bpa),FQe(e,u,"",t)}function FQe(e,u,t,a){let n="",r=!1;for(let i=0;i<e.length;i++){const o=e[i],s=Tpa(o);if(s===void 0)continue;let l="";if(t.length===0?l=s:l=`${t}.${s}`,s===u.textNodeName){let p=o[s];zpa(l,u)||(p=u.tagValueProcessor(s,p),p=yQe(p,u)),r&&(n+=a),n+=p,r=!1;continue}else if(s===u.cdataPropName){r&&(n+=a),n+=`<![CDATA[${o[s][0][u.textNodeName]}]]>`,r=!1;continue}else if(s===u.commentPropName){n+=a+`<!--${o[s][0][u.textNodeName]}-->`,r=!0;continue}else if(s[0]==="?"){const p=gpe(o[":@"],u),f=s==="?xml"?"":a;let g=o[s][0][u.textNodeName];g=g.length!==0?" "+g:"",n+=f+`<${s}${g}${p}?>`,r=!0;continue}let c=a;c!==""&&(c+=u.indentBy);const d=gpe(o[":@"],u),E=a+`<${s}${d}`,h=FQe(o[s],u,l,c);u.unpairedTags.indexOf(s)!==-1?u.suppressUnpairedNode?n+=E+">":n+=E+"/>":(!h||h.length===0)&&u.suppressEmptyNode?n+=E+"/>":h&&h.endsWith(">")?n+=E+`>${h}${a}</${s}>`:(n+=E+">",h&&a!==""&&(h.includes("/>")||h.includes("</"))?n+=a+u.indentBy+h+a:n+=h,n+=`</${s}>`),r=!0}return n}function Tpa(e){const u=Object.keys(e);for(let t=0;t<u.length;t++){const a=u[t];if(e.hasOwnProperty(a)&&a!==":@")return a}}function gpe(e,u){let t="";if(e&&!u.ignoreAttributes)for(let a in e){if(!e.hasOwnProperty(a))continue;let n=u.attributeValueProcessor(a,e[a]);n=yQe(n,u),n===!0&&u.suppressBooleanAttributes?t+=` ${a.substr(u.attributeNamePrefix.length)}`:t+=` ${a.substr(u.attributeNamePrefix.length)}="${n}"`}return t}function zpa(e,u){e=e.substr(0,e.length-u.textNodeName.length-1);let t=e.substr(e.lastIndexOf(".")+1);for(let a in u.stopNodes)if(u.stopNodes[a]===e||u.stopNodes[a]==="*."+t)return!0;return!1}function yQe(e,u){if(e&&e.length>0&&u.processEntities)for(let t=0;t<u.entities.length;t++){const a=u.entities[t];e=e.replace(a.regex,a.val)}return e}var Opa=wpa;const _pa=Opa,Mpa=vQe,Npa={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,u){return u},attributeValueProcessor:function(e,u){return u},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function b3(e){this.options=Object.assign({},Npa,e),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Mpa(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ipa),this.processTextOrObjNode=Rpa,this.options.format?(this.indentate=Ppa,this.tagEndChar=`>
1065
1065
  `,this.newLine=`
1066
- `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}b3.prototype.build=function(e){return this.options.preserveOrder?_pa(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)};b3.prototype.j2x=function(e,u,t){let a="",n="";const r=t.join(".");for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if(typeof e[i]>"u")this.isAttribute(i)&&(n+="");else if(e[i]===null)this.isAttribute(i)?n+="":i[0]==="?"?n+=this.indentate(u)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(u)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextValNode(e[i],i,"",u);else if(typeof e[i]!="object"){const o=this.isAttribute(i);if(o&&!this.ignoreAttributesFn(o,r))a+=this.buildAttrPairStr(o,""+e[i]);else if(!o)if(i===this.options.textNodeName){let s=this.options.tagValueProcessor(i,""+e[i]);n+=this.replaceEntitiesValue(s)}else n+=this.buildTextValNode(e[i],i,"",u)}else if(Array.isArray(e[i])){const o=e[i].length;let s="",l="";for(let c=0;c<o;c++){const d=e[i][c];if(!(typeof d>"u"))if(d===null)i[0]==="?"?n+=this.indentate(u)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(u)+"<"+i+"/"+this.tagEndChar;else if(typeof d=="object")if(this.options.oneListGroup){const E=this.j2x(d,u+1,t.concat(i));s+=E.val,this.options.attributesGroupName&&d.hasOwnProperty(this.options.attributesGroupName)&&(l+=E.attrStr)}else s+=this.processTextOrObjNode(d,i,u,t);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(i,d);E=this.replaceEntitiesValue(E),s+=E}else s+=this.buildTextValNode(d,i,"",u)}this.options.oneListGroup&&(s=this.buildObjectNode(s,i,l,u)),n+=s}else if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const o=Object.keys(e[i]),s=o.length;for(let l=0;l<s;l++)a+=this.buildAttrPairStr(o[l],""+e[i][o[l]])}else n+=this.processTextOrObjNode(e[i],i,u,t);return{attrStr:a,val:n}};b3.prototype.buildAttrPairStr=function(e,u){return u=this.options.attributeValueProcessor(e,""+u),u=this.replaceEntitiesValue(u),this.options.suppressBooleanAttributes&&u==="true"?" "+e:" "+e+'="'+u+'"'};function Rpa(e,u,t,a){const n=this.j2x(e,t+1,a.concat(u));return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],u,n.attrStr,t):this.buildObjectNode(n.val,u,n.attrStr,t)}b3.prototype.buildObjectNode=function(e,u,t,a){if(e==="")return u[0]==="?"?this.indentate(a)+"<"+u+t+"?"+this.tagEndChar:this.indentate(a)+"<"+u+t+this.closeTag(u)+this.tagEndChar;{let n="</"+u+this.tagEndChar,r="";return u[0]==="?"&&(r="?",n=""),(t||t==="")&&e.indexOf("<")===-1?this.indentate(a)+"<"+u+t+r+">"+e+n:this.options.commentPropName!==!1&&u===this.options.commentPropName&&r.length===0?this.indentate(a)+`<!--${e}-->`+this.newLine:this.indentate(a)+"<"+u+t+r+this.tagEndChar+e+this.indentate(a)+n}};b3.prototype.closeTag=function(e){let u="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(u="/"):this.options.suppressEmptyNode?u="/":u=`></${e}`,u};b3.prototype.buildTextValNode=function(e,u,t,a){if(this.options.cdataPropName!==!1&&u===this.options.cdataPropName)return this.indentate(a)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&u===this.options.commentPropName)return this.indentate(a)+`<!--${e}-->`+this.newLine;if(u[0]==="?")return this.indentate(a)+"<"+u+t+"?"+this.tagEndChar;{let n=this.options.tagValueProcessor(u,e);return n=this.replaceEntitiesValue(n),n===""?this.indentate(a)+"<"+u+t+this.closeTag(u)+this.tagEndChar:this.indentate(a)+"<"+u+t+">"+n+"</"+u+this.tagEndChar}};b3.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let u=0;u<this.options.entities.length;u++){const t=this.options.entities[u];e=e.replace(t.regex,t.val)}return e};function Ppa(e){return this.options.indentBy.repeat(e)}function Ipa(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var jpa=b3;const Lpa=une,$pa=Spa,Kpa=jpa;var Vpa={XMLParser:$pa,XMLValidator:Lpa,XMLBuilder:Kpa};function AQe(e,u,t){const a=u??0;let n=t??0;const r=[];for(const i of e)if("#text"in i)r.push({node:i["#text"],depth:a,isText:!0,hasChildren:!1,index:n,lastChildIndex:n}),n++;else{const o=Object.entries(i[":@"]||{}).map(([p,f])=>[p,JSON.stringify(f)]),s=Object.fromEntries(o),l=new Set(Object.keys(i));l.delete(":@"),l.delete("#text");const c=Array.from(l)[0];if(!c)continue;let d=[];const E=i[c];E&&E.length>0&&(d=AQe(E,a+1,n+1));const h=d.length;r.push({node:c,depth:a,attributes:s,isText:!1,hasChildren:h>0,index:n,lastChildIndex:n+h}),r.push(...d),n+=h+1}return r}function Hpa(e){const t=new Vpa.XMLParser({allowBooleanAttributes:!0,ignoreAttributes:!1,attributeNamePrefix:"",alwaysCreateTextNode:!0,preserveOrder:!0,unpairedTags:["hr","br","link","meta"],stopNodes:["*.pre","*.script"],processEntities:!0,htmlEntities:!0,parseAttributeValue:!1}).parse(e);return AQe(t)}function Gpa(e){const{dataType:u,xmlTree:t,height:a}=e,n=k.useMemo(()=>{switch(u){case"html":return Hpa(t);case"a11y":return yma(t)}},[u,t]),[r,i]=k.useState(new Set),o=k.useMemo(()=>{const l=Array.from(r).sort((E,h)=>E-h),c=[];let d=0;for(const E of l){if(E<d)continue;c.push(...n.slice(d,E+1));const h=n[E];h&&(d=h.lastChildIndex+1)}return c.push(...n.slice(d)),c},[r,n]),s=({index:l,style:c})=>{const d=o[l];return d?m.jsxs("div",{className:"flex items-center gap-2 whitespace-nowrap text-sm",style:{...c,paddingLeft:d.depth*20},children:[d.hasChildren?m.jsx("div",{className:"cursor-pointer",onClick:()=>{if(d.hasChildren){const E=new Set(r);r.has(d.index)?E.delete(d.index):E.add(d.index),i(E)}},children:r.has(d.index)?m.jsx(t4,{className:"h-4 w-4"}):m.jsx(_m,{className:"h-4 w-4"})}):null,d.isText?m.jsx("span",{children:d.node}):m.jsxs(m.Fragment,{children:[m.jsx("span",{style:{color:"hsl(var(--chart-3))"},children:d.node}),d.attributes&&Object.entries(d.attributes).map(([E,h])=>m.jsxs("span",{children:[m.jsx("span",{style:{color:"hsl(var(--chart-2))"},children:E}),h&&m.jsxs(m.Fragment,{children:["=",m.jsx("span",{style:{color:"hsl(var(--chart-1))"},children:h})]})]},E))]})]}):null};return m.jsx(zX,{height:a,itemCount:o.length,itemSize:25,width:"100%",children:s})}function SQe({dataType:e,xml:u}){return m.jsx(gQe,{disableWidth:!0,children:({height:t})=>m.jsx(Gpa,{dataType:e,xmlTree:u,height:t})})}function Upa(e){const{a11yTree:u}=e;return m.jsx(SQe,{xml:u,dataType:"a11y"})}function Wpa(e,u){const t=u||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const qpa=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Jpa=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Zpa={};function xpe(e,u){return((u||Zpa).jsx?Jpa:qpa).test(e)}const Qpa=/[ \t\n\f\r]/g;function Ypa(e){return typeof e=="object"?e.type==="text"?vpe(e.value):!1:vpe(e)}function vpe(e){return e.replace(Qpa,"")===""}let lF=class{constructor(u,t,a){this.property=u,this.normal=t,a&&(this.space=a)}};lF.prototype.property={};lF.prototype.normal={};lF.prototype.space=null;function BQe(e,u){const t={},a={};let n=-1;for(;++n<e.length;)Object.assign(t,e[n].property),Object.assign(a,e[n].normal);return new lF(t,a,u)}function Hq(e){return e.toLowerCase()}let Kl=class{constructor(u,t){this.property=u,this.attribute=t}};Kl.prototype.space=null;Kl.prototype.boolean=!1;Kl.prototype.booleanish=!1;Kl.prototype.overloadedBoolean=!1;Kl.prototype.number=!1;Kl.prototype.commaSeparated=!1;Kl.prototype.spaceSeparated=!1;Kl.prototype.commaOrSpaceSeparated=!1;Kl.prototype.mustUseProperty=!1;Kl.prototype.defined=!1;let Xpa=0;const Ut=gf(),Rr=gf(),wQe=gf(),ru=gf(),wn=gf(),kg=gf(),Zo=gf();function gf(){return 2**++Xpa}const Gq=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ut,booleanish:Rr,commaOrSpaceSeparated:Zo,commaSeparated:kg,number:ru,overloadedBoolean:wQe,spaceSeparated:wn},Symbol.toStringTag,{value:"Module"})),tP=Object.keys(Gq);let nne=class extends Kl{constructor(u,t,a,n){let r=-1;if(super(u,t),kpe(this,"space",n),typeof a=="number")for(;++r<tP.length;){const i=tP[r];kpe(this,tP[r],(a&Gq[i])===Gq[i])}}};nne.prototype.defined=!0;function kpe(e,u,t){t&&(e[u]=t)}const efa={}.hasOwnProperty;function Lx(e){const u={},t={};let a;for(a in e.properties)if(efa.call(e.properties,a)){const n=e.properties[a],r=new nne(a,e.transform(e.attributes||{},a),n,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(r.mustUseProperty=!0),u[a]=r,t[Hq(a)]=a,t[Hq(r.attribute)]=a}return new lF(u,t,e.space)}const TQe=Lx({space:"xlink",transform(e,u){return"xlink:"+u.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),zQe=Lx({space:"xml",transform(e,u){return"xml:"+u.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function OQe(e,u){return u in e?e[u]:u}function _Qe(e,u){return OQe(e,u.toLowerCase())}const MQe=Lx({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:_Qe,properties:{xmlns:null,xmlnsXLink:null}}),NQe=Lx({transform(e,u){return u==="role"?u:"aria-"+u.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Rr,ariaAutoComplete:null,ariaBusy:Rr,ariaChecked:Rr,ariaColCount:ru,ariaColIndex:ru,ariaColSpan:ru,ariaControls:wn,ariaCurrent:null,ariaDescribedBy:wn,ariaDetails:null,ariaDisabled:Rr,ariaDropEffect:wn,ariaErrorMessage:null,ariaExpanded:Rr,ariaFlowTo:wn,ariaGrabbed:Rr,ariaHasPopup:null,ariaHidden:Rr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wn,ariaLevel:ru,ariaLive:null,ariaModal:Rr,ariaMultiLine:Rr,ariaMultiSelectable:Rr,ariaOrientation:null,ariaOwns:wn,ariaPlaceholder:null,ariaPosInSet:ru,ariaPressed:Rr,ariaReadOnly:Rr,ariaRelevant:null,ariaRequired:Rr,ariaRoleDescription:wn,ariaRowCount:ru,ariaRowIndex:ru,ariaRowSpan:ru,ariaSelected:Rr,ariaSetSize:ru,ariaSort:null,ariaValueMax:ru,ariaValueMin:ru,ariaValueNow:ru,ariaValueText:null,role:null}}),ufa=Lx({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:_Qe,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kg,acceptCharset:wn,accessKey:wn,action:null,allow:null,allowFullScreen:Ut,allowPaymentRequest:Ut,allowUserMedia:Ut,alt:null,as:null,async:Ut,autoCapitalize:null,autoComplete:wn,autoFocus:Ut,autoPlay:Ut,blocking:wn,capture:Ut,charSet:null,checked:Ut,cite:null,className:wn,cols:ru,colSpan:null,content:null,contentEditable:Rr,controls:Ut,controlsList:wn,coords:ru|kg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ut,defer:Ut,dir:null,dirName:null,disabled:Ut,download:wQe,draggable:Rr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ut,formTarget:null,headers:wn,height:ru,hidden:Ut,high:ru,href:null,hrefLang:null,htmlFor:wn,httpEquiv:wn,id:null,imageSizes:null,imageSrcSet:null,inert:Ut,inputMode:null,integrity:null,is:null,isMap:Ut,itemId:null,itemProp:wn,itemRef:wn,itemScope:Ut,itemType:wn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ut,low:ru,manifest:null,max:null,maxLength:ru,media:null,method:null,min:null,minLength:ru,multiple:Ut,muted:Ut,name:null,nonce:null,noModule:Ut,noValidate:Ut,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:Ut,optimum:ru,pattern:null,ping:wn,placeholder:null,playsInline:Ut,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ut,referrerPolicy:null,rel:wn,required:Ut,reversed:Ut,rows:ru,rowSpan:ru,sandbox:wn,scope:null,scoped:Ut,seamless:Ut,selected:Ut,shadowRootDelegatesFocus:Ut,shadowRootMode:null,shape:null,size:ru,sizes:null,slot:null,span:ru,spellCheck:Rr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ru,step:null,style:null,tabIndex:ru,target:null,title:null,translate:null,type:null,typeMustMatch:Ut,useMap:null,value:Rr,width:ru,wrap:null,align:null,aLink:null,archive:wn,axis:null,background:null,bgColor:null,border:ru,borderColor:null,bottomMargin:ru,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ut,declare:Ut,event:null,face:null,frame:null,frameBorder:null,hSpace:ru,leftMargin:ru,link:null,longDesc:null,lowSrc:null,marginHeight:ru,marginWidth:ru,noResize:Ut,noHref:Ut,noShade:Ut,noWrap:Ut,object:null,profile:null,prompt:null,rev:null,rightMargin:ru,rules:null,scheme:null,scrolling:Rr,standby:null,summary:null,text:null,topMargin:ru,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ru,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ut,disableRemotePlayback:Ut,prefix:null,property:null,results:ru,security:null,unselectable:null}}),tfa=Lx({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:OQe,properties:{about:Zo,accentHeight:ru,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ru,amplitude:ru,arabicForm:null,ascent:ru,attributeName:null,attributeType:null,azimuth:ru,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ru,by:null,calcMode:null,capHeight:ru,className:wn,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:ru,diffuseConstant:ru,direction:null,display:null,dur:null,divisor:ru,dominantBaseline:null,download:Ut,dx:null,dy:null,edgeMode:null,editable:null,elevation:ru,enableBackground:null,end:null,event:null,exponent:ru,externalResourcesRequired:null,fill:null,fillOpacity:ru,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:kg,g2:kg,glyphName:kg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ru,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ru,horizOriginX:ru,horizOriginY:ru,id:null,ideographic:ru,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ru,k:ru,k1:ru,k2:ru,k3:ru,k4:ru,kernelMatrix:Zo,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ru,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:ru,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:ru,overlineThickness:ru,paintOrder:null,panose1:null,path:null,pathLength:ru,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ru,pointsAtY:ru,pointsAtZ:ru,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Zo,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Zo,rev:Zo,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Zo,requiredFeatures:Zo,requiredFonts:Zo,requiredFormats:Zo,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:ru,specularExponent:ru,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ru,strikethroughThickness:ru,string:null,stroke:null,strokeDashArray:Zo,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ru,strokeOpacity:ru,strokeWidth:null,style:null,surfaceScale:ru,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Zo,tabIndex:ru,tableValues:null,target:null,targetX:ru,targetY:ru,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Zo,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ru,underlineThickness:ru,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ru,values:null,vAlphabetic:ru,vMathematical:ru,vectorEffect:null,vHanging:ru,vIdeographic:ru,version:null,vertAdvY:ru,vertOriginX:ru,vertOriginY:ru,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ru,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),afa=/^data[-\w.:]+$/i,bpe=/-[a-z]/g,nfa=/[A-Z]/g;function rfa(e,u){const t=Hq(u);let a=u,n=Kl;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&afa.test(u)){if(u.charAt(4)==="-"){const r=u.slice(5).replace(bpe,ofa);a="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=u.slice(4);if(!bpe.test(r)){let i=r.replace(nfa,ifa);i.charAt(0)!=="-"&&(i="-"+i),u="data"+i}}n=nne}return new n(a,u)}function ifa(e){return"-"+e.toLowerCase()}function ofa(e){return e.charAt(1).toUpperCase()}const sfa={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"},lfa=BQe([zQe,TQe,MQe,NQe,ufa],"html"),rne=BQe([zQe,TQe,MQe,NQe,tfa],"svg");function cfa(e){return e.join(" ").trim()}var RQe={},Cpe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,dfa=/\n/g,Efa=/^\s*/,hfa=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,mfa=/^:\s*/,pfa=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ffa=/^[;\s]*/,Dfa=/^\s+|\s+$/g,gfa=`
1066
+ `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}b3.prototype.build=function(e){return this.options.preserveOrder?_pa(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)};b3.prototype.j2x=function(e,u,t){let a="",n="";const r=t.join(".");for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if(typeof e[i]>"u")this.isAttribute(i)&&(n+="");else if(e[i]===null)this.isAttribute(i)?n+="":i[0]==="?"?n+=this.indentate(u)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(u)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextValNode(e[i],i,"",u);else if(typeof e[i]!="object"){const o=this.isAttribute(i);if(o&&!this.ignoreAttributesFn(o,r))a+=this.buildAttrPairStr(o,""+e[i]);else if(!o)if(i===this.options.textNodeName){let s=this.options.tagValueProcessor(i,""+e[i]);n+=this.replaceEntitiesValue(s)}else n+=this.buildTextValNode(e[i],i,"",u)}else if(Array.isArray(e[i])){const o=e[i].length;let s="",l="";for(let c=0;c<o;c++){const d=e[i][c];if(!(typeof d>"u"))if(d===null)i[0]==="?"?n+=this.indentate(u)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(u)+"<"+i+"/"+this.tagEndChar;else if(typeof d=="object")if(this.options.oneListGroup){const E=this.j2x(d,u+1,t.concat(i));s+=E.val,this.options.attributesGroupName&&d.hasOwnProperty(this.options.attributesGroupName)&&(l+=E.attrStr)}else s+=this.processTextOrObjNode(d,i,u,t);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(i,d);E=this.replaceEntitiesValue(E),s+=E}else s+=this.buildTextValNode(d,i,"",u)}this.options.oneListGroup&&(s=this.buildObjectNode(s,i,l,u)),n+=s}else if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const o=Object.keys(e[i]),s=o.length;for(let l=0;l<s;l++)a+=this.buildAttrPairStr(o[l],""+e[i][o[l]])}else n+=this.processTextOrObjNode(e[i],i,u,t);return{attrStr:a,val:n}};b3.prototype.buildAttrPairStr=function(e,u){return u=this.options.attributeValueProcessor(e,""+u),u=this.replaceEntitiesValue(u),this.options.suppressBooleanAttributes&&u==="true"?" "+e:" "+e+'="'+u+'"'};function Rpa(e,u,t,a){const n=this.j2x(e,t+1,a.concat(u));return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],u,n.attrStr,t):this.buildObjectNode(n.val,u,n.attrStr,t)}b3.prototype.buildObjectNode=function(e,u,t,a){if(e==="")return u[0]==="?"?this.indentate(a)+"<"+u+t+"?"+this.tagEndChar:this.indentate(a)+"<"+u+t+this.closeTag(u)+this.tagEndChar;{let n="</"+u+this.tagEndChar,r="";return u[0]==="?"&&(r="?",n=""),(t||t==="")&&e.indexOf("<")===-1?this.indentate(a)+"<"+u+t+r+">"+e+n:this.options.commentPropName!==!1&&u===this.options.commentPropName&&r.length===0?this.indentate(a)+`<!--${e}-->`+this.newLine:this.indentate(a)+"<"+u+t+r+this.tagEndChar+e+this.indentate(a)+n}};b3.prototype.closeTag=function(e){let u="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(u="/"):this.options.suppressEmptyNode?u="/":u=`></${e}`,u};b3.prototype.buildTextValNode=function(e,u,t,a){if(this.options.cdataPropName!==!1&&u===this.options.cdataPropName)return this.indentate(a)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&u===this.options.commentPropName)return this.indentate(a)+`<!--${e}-->`+this.newLine;if(u[0]==="?")return this.indentate(a)+"<"+u+t+"?"+this.tagEndChar;{let n=this.options.tagValueProcessor(u,e);return n=this.replaceEntitiesValue(n),n===""?this.indentate(a)+"<"+u+t+this.closeTag(u)+this.tagEndChar:this.indentate(a)+"<"+u+t+">"+n+"</"+u+this.tagEndChar}};b3.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let u=0;u<this.options.entities.length;u++){const t=this.options.entities[u];e=e.replace(t.regex,t.val)}return e};function Ppa(e){return this.options.indentBy.repeat(e)}function Ipa(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var jpa=b3;const Lpa=une,$pa=Spa,Kpa=jpa;var Vpa={XMLParser:$pa,XMLValidator:Lpa,XMLBuilder:Kpa};function AQe(e,u,t){const a=u??0;let n=t??0;const r=[];for(const i of e)if("#text"in i)r.push({node:i["#text"],depth:a,isText:!0,hasChildren:!1,index:n,lastChildIndex:n}),n++;else{const o=Object.entries(i[":@"]||{}).map(([p,f])=>[p,JSON.stringify(f)]),s=Object.fromEntries(o),l=new Set(Object.keys(i));l.delete(":@"),l.delete("#text");const c=Array.from(l)[0];if(!c)continue;let d=[];const E=i[c];E&&E.length>0&&(d=AQe(E,a+1,n+1));const h=d.length;r.push({node:c,depth:a,attributes:s,isText:!1,hasChildren:h>0,index:n,lastChildIndex:n+h}),r.push(...d),n+=h+1}return r}function Hpa(e){const t=new Vpa.XMLParser({allowBooleanAttributes:!0,ignoreAttributes:!1,attributeNamePrefix:"",alwaysCreateTextNode:!0,preserveOrder:!0,unpairedTags:["hr","br","link","meta"],stopNodes:["*.pre","*.script"],processEntities:!0,htmlEntities:!0,parseAttributeValue:!1}).parse(e);return AQe(t)}function Gpa(e){const{dataType:u,xmlTree:t,height:a}=e,n=k.useMemo(()=>{switch(u){case"html":return Hpa(t);case"a11y":return yma(t)}},[u,t]),[r,i]=k.useState(new Set),o=k.useMemo(()=>{const l=Array.from(r).sort((E,h)=>E-h),c=[];let d=0;for(const E of l){if(E<d)continue;c.push(...n.slice(d,E+1));const h=n[E];h&&(d=h.lastChildIndex+1)}return c.push(...n.slice(d)),c},[r,n]),s=({index:l,style:c})=>{const d=o[l];return d?m.jsxs("div",{className:"flex items-center gap-2 whitespace-nowrap text-sm",style:{...c,paddingLeft:d.depth*20},children:[d.hasChildren?m.jsx("div",{className:"cursor-pointer",onClick:()=>{if(d.hasChildren){const E=new Set(r);r.has(d.index)?E.delete(d.index):E.add(d.index),i(E)}},children:r.has(d.index)?m.jsx(t4,{className:"h-4 w-4"}):m.jsx(_m,{className:"h-4 w-4"})}):null,d.isText?m.jsx("span",{children:d.node}):m.jsxs(m.Fragment,{children:[m.jsx("span",{style:{color:"hsl(var(--chart-3))"},children:d.node}),d.attributes&&Object.entries(d.attributes).map(([E,h])=>m.jsxs("span",{children:[m.jsx("span",{style:{color:"hsl(var(--chart-2))"},children:E}),h&&m.jsxs(m.Fragment,{children:["=",m.jsx("span",{style:{color:"hsl(var(--chart-1))"},children:h})]})]},E))]})]}):null};return m.jsx(zX,{height:a,itemCount:o.length,itemSize:20,width:"100%",children:s})}function SQe({dataType:e,xml:u}){return m.jsx(gQe,{disableWidth:!0,children:({height:t})=>m.jsx(Gpa,{dataType:e,xmlTree:u,height:t})})}function Upa(e){const{a11yTree:u}=e;return m.jsx(SQe,{xml:u,dataType:"a11y"})}function Wpa(e,u){const t=u||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const qpa=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Jpa=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Zpa={};function xpe(e,u){return((u||Zpa).jsx?Jpa:qpa).test(e)}const Qpa=/[ \t\n\f\r]/g;function Ypa(e){return typeof e=="object"?e.type==="text"?vpe(e.value):!1:vpe(e)}function vpe(e){return e.replace(Qpa,"")===""}let lF=class{constructor(u,t,a){this.property=u,this.normal=t,a&&(this.space=a)}};lF.prototype.property={};lF.prototype.normal={};lF.prototype.space=null;function BQe(e,u){const t={},a={};let n=-1;for(;++n<e.length;)Object.assign(t,e[n].property),Object.assign(a,e[n].normal);return new lF(t,a,u)}function Hq(e){return e.toLowerCase()}let Kl=class{constructor(u,t){this.property=u,this.attribute=t}};Kl.prototype.space=null;Kl.prototype.boolean=!1;Kl.prototype.booleanish=!1;Kl.prototype.overloadedBoolean=!1;Kl.prototype.number=!1;Kl.prototype.commaSeparated=!1;Kl.prototype.spaceSeparated=!1;Kl.prototype.commaOrSpaceSeparated=!1;Kl.prototype.mustUseProperty=!1;Kl.prototype.defined=!1;let Xpa=0;const Ut=gf(),Rr=gf(),wQe=gf(),ru=gf(),wn=gf(),kg=gf(),Zo=gf();function gf(){return 2**++Xpa}const Gq=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ut,booleanish:Rr,commaOrSpaceSeparated:Zo,commaSeparated:kg,number:ru,overloadedBoolean:wQe,spaceSeparated:wn},Symbol.toStringTag,{value:"Module"})),tP=Object.keys(Gq);let nne=class extends Kl{constructor(u,t,a,n){let r=-1;if(super(u,t),kpe(this,"space",n),typeof a=="number")for(;++r<tP.length;){const i=tP[r];kpe(this,tP[r],(a&Gq[i])===Gq[i])}}};nne.prototype.defined=!0;function kpe(e,u,t){t&&(e[u]=t)}const efa={}.hasOwnProperty;function Lx(e){const u={},t={};let a;for(a in e.properties)if(efa.call(e.properties,a)){const n=e.properties[a],r=new nne(a,e.transform(e.attributes||{},a),n,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(r.mustUseProperty=!0),u[a]=r,t[Hq(a)]=a,t[Hq(r.attribute)]=a}return new lF(u,t,e.space)}const TQe=Lx({space:"xlink",transform(e,u){return"xlink:"+u.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),zQe=Lx({space:"xml",transform(e,u){return"xml:"+u.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function OQe(e,u){return u in e?e[u]:u}function _Qe(e,u){return OQe(e,u.toLowerCase())}const MQe=Lx({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:_Qe,properties:{xmlns:null,xmlnsXLink:null}}),NQe=Lx({transform(e,u){return u==="role"?u:"aria-"+u.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Rr,ariaAutoComplete:null,ariaBusy:Rr,ariaChecked:Rr,ariaColCount:ru,ariaColIndex:ru,ariaColSpan:ru,ariaControls:wn,ariaCurrent:null,ariaDescribedBy:wn,ariaDetails:null,ariaDisabled:Rr,ariaDropEffect:wn,ariaErrorMessage:null,ariaExpanded:Rr,ariaFlowTo:wn,ariaGrabbed:Rr,ariaHasPopup:null,ariaHidden:Rr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wn,ariaLevel:ru,ariaLive:null,ariaModal:Rr,ariaMultiLine:Rr,ariaMultiSelectable:Rr,ariaOrientation:null,ariaOwns:wn,ariaPlaceholder:null,ariaPosInSet:ru,ariaPressed:Rr,ariaReadOnly:Rr,ariaRelevant:null,ariaRequired:Rr,ariaRoleDescription:wn,ariaRowCount:ru,ariaRowIndex:ru,ariaRowSpan:ru,ariaSelected:Rr,ariaSetSize:ru,ariaSort:null,ariaValueMax:ru,ariaValueMin:ru,ariaValueNow:ru,ariaValueText:null,role:null}}),ufa=Lx({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:_Qe,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kg,acceptCharset:wn,accessKey:wn,action:null,allow:null,allowFullScreen:Ut,allowPaymentRequest:Ut,allowUserMedia:Ut,alt:null,as:null,async:Ut,autoCapitalize:null,autoComplete:wn,autoFocus:Ut,autoPlay:Ut,blocking:wn,capture:Ut,charSet:null,checked:Ut,cite:null,className:wn,cols:ru,colSpan:null,content:null,contentEditable:Rr,controls:Ut,controlsList:wn,coords:ru|kg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ut,defer:Ut,dir:null,dirName:null,disabled:Ut,download:wQe,draggable:Rr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ut,formTarget:null,headers:wn,height:ru,hidden:Ut,high:ru,href:null,hrefLang:null,htmlFor:wn,httpEquiv:wn,id:null,imageSizes:null,imageSrcSet:null,inert:Ut,inputMode:null,integrity:null,is:null,isMap:Ut,itemId:null,itemProp:wn,itemRef:wn,itemScope:Ut,itemType:wn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ut,low:ru,manifest:null,max:null,maxLength:ru,media:null,method:null,min:null,minLength:ru,multiple:Ut,muted:Ut,name:null,nonce:null,noModule:Ut,noValidate:Ut,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:Ut,optimum:ru,pattern:null,ping:wn,placeholder:null,playsInline:Ut,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ut,referrerPolicy:null,rel:wn,required:Ut,reversed:Ut,rows:ru,rowSpan:ru,sandbox:wn,scope:null,scoped:Ut,seamless:Ut,selected:Ut,shadowRootDelegatesFocus:Ut,shadowRootMode:null,shape:null,size:ru,sizes:null,slot:null,span:ru,spellCheck:Rr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ru,step:null,style:null,tabIndex:ru,target:null,title:null,translate:null,type:null,typeMustMatch:Ut,useMap:null,value:Rr,width:ru,wrap:null,align:null,aLink:null,archive:wn,axis:null,background:null,bgColor:null,border:ru,borderColor:null,bottomMargin:ru,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ut,declare:Ut,event:null,face:null,frame:null,frameBorder:null,hSpace:ru,leftMargin:ru,link:null,longDesc:null,lowSrc:null,marginHeight:ru,marginWidth:ru,noResize:Ut,noHref:Ut,noShade:Ut,noWrap:Ut,object:null,profile:null,prompt:null,rev:null,rightMargin:ru,rules:null,scheme:null,scrolling:Rr,standby:null,summary:null,text:null,topMargin:ru,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ru,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ut,disableRemotePlayback:Ut,prefix:null,property:null,results:ru,security:null,unselectable:null}}),tfa=Lx({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:OQe,properties:{about:Zo,accentHeight:ru,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ru,amplitude:ru,arabicForm:null,ascent:ru,attributeName:null,attributeType:null,azimuth:ru,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ru,by:null,calcMode:null,capHeight:ru,className:wn,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:ru,diffuseConstant:ru,direction:null,display:null,dur:null,divisor:ru,dominantBaseline:null,download:Ut,dx:null,dy:null,edgeMode:null,editable:null,elevation:ru,enableBackground:null,end:null,event:null,exponent:ru,externalResourcesRequired:null,fill:null,fillOpacity:ru,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:kg,g2:kg,glyphName:kg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ru,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ru,horizOriginX:ru,horizOriginY:ru,id:null,ideographic:ru,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ru,k:ru,k1:ru,k2:ru,k3:ru,k4:ru,kernelMatrix:Zo,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ru,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:ru,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:ru,overlineThickness:ru,paintOrder:null,panose1:null,path:null,pathLength:ru,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ru,pointsAtY:ru,pointsAtZ:ru,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Zo,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Zo,rev:Zo,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Zo,requiredFeatures:Zo,requiredFonts:Zo,requiredFormats:Zo,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:ru,specularExponent:ru,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ru,strikethroughThickness:ru,string:null,stroke:null,strokeDashArray:Zo,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ru,strokeOpacity:ru,strokeWidth:null,style:null,surfaceScale:ru,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Zo,tabIndex:ru,tableValues:null,target:null,targetX:ru,targetY:ru,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Zo,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ru,underlineThickness:ru,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ru,values:null,vAlphabetic:ru,vMathematical:ru,vectorEffect:null,vHanging:ru,vIdeographic:ru,version:null,vertAdvY:ru,vertOriginX:ru,vertOriginY:ru,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ru,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),afa=/^data[-\w.:]+$/i,bpe=/-[a-z]/g,nfa=/[A-Z]/g;function rfa(e,u){const t=Hq(u);let a=u,n=Kl;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&afa.test(u)){if(u.charAt(4)==="-"){const r=u.slice(5).replace(bpe,ofa);a="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=u.slice(4);if(!bpe.test(r)){let i=r.replace(nfa,ifa);i.charAt(0)!=="-"&&(i="-"+i),u="data"+i}}n=nne}return new n(a,u)}function ifa(e){return"-"+e.toLowerCase()}function ofa(e){return e.charAt(1).toUpperCase()}const sfa={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"},lfa=BQe([zQe,TQe,MQe,NQe,ufa],"html"),rne=BQe([zQe,TQe,MQe,NQe,tfa],"svg");function cfa(e){return e.join(" ").trim()}var RQe={},Cpe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,dfa=/\n/g,Efa=/^\s*/,hfa=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,mfa=/^:\s*/,pfa=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ffa=/^[;\s]*/,Dfa=/^\s+|\s+$/g,gfa=`
1067
1067
  `,Fpe="/",ype="*",im="",xfa="comment",vfa="declaration",kfa=function(e,u){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var t=1,a=1;function n(p){var f=p.match(dfa);f&&(t+=f.length);var g=p.lastIndexOf(gfa);a=~g?p.length-g:a+p.length}function r(){var p={line:t,column:a};return function(f){return f.position=new i(p),l(),f}}function i(p){this.start=p,this.end={line:t,column:a},this.source=u.source}i.prototype.content=e;function o(p){var f=new Error(u.source+":"+t+":"+a+": "+p);if(f.reason=p,f.filename=u.source,f.line=t,f.column=a,f.source=e,!u.silent)throw f}function s(p){var f=p.exec(e);if(f){var g=f[0];return n(g),e=e.slice(g.length),f}}function l(){s(Efa)}function c(p){var f;for(p=p||[];f=d();)f!==!1&&p.push(f);return p}function d(){var p=r();if(!(Fpe!=e.charAt(0)||ype!=e.charAt(1))){for(var f=2;im!=e.charAt(f)&&(ype!=e.charAt(f)||Fpe!=e.charAt(f+1));)++f;if(f+=2,im===e.charAt(f-1))return o("End of comment missing");var g=e.slice(2,f-2);return a+=2,n(g),e=e.slice(f),a+=2,p({type:xfa,comment:g})}}function E(){var p=r(),f=s(hfa);if(f){if(d(),!s(mfa))return o("property missing ':'");var g=s(pfa),D=p({type:vfa,property:Ape(f[0].replace(Cpe,im)),value:g?Ape(g[0].replace(Cpe,im)):im});return s(ffa),D}}function h(){var p=[];c(p);for(var f;f=E();)f!==!1&&(p.push(f),c(p));return p}return l(),h()};function Ape(e){return e?e.replace(Dfa,im):im}var bfa=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(RQe,"__esModule",{value:!0});var Cfa=bfa(kfa);function Ffa(e,u){var t=null;if(!e||typeof e!="string")return t;var a=(0,Cfa.default)(e),n=typeof u=="function";return a.forEach(function(r){if(r.type==="declaration"){var i=r.property,o=r.value;n?u(i,o,r):o&&(t=t||{},t[i]=o)}}),t}var Spe=RQe.default=Ffa;const yfa=Spe.default||Spe,PQe=IQe("end"),ine=IQe("start");function IQe(e){return u;function u(t){const a=t&&t.position&&t.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function Afa(e){const u=ine(e),t=PQe(e);if(u&&t)return{start:u,end:t}}function fk(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Bpe(e.position):"start"in e||"end"in e?Bpe(e):"line"in e||"column"in e?Uq(e):""}function Uq(e){return wpe(e&&e.line)+":"+wpe(e&&e.column)}function Bpe(e){return Uq(e&&e.start)+"-"+Uq(e&&e.end)}function wpe(e){return e&&typeof e=="number"?e:1}class vi extends Error{constructor(u,t,a){super(),typeof t=="string"&&(a=t,t=void 0);let n="",r={},i=!1;if(t&&("line"in t&&"column"in t?r={place:t}:"start"in t&&"end"in t?r={place:t}:"type"in t?r={ancestors:[t],place:t.position}:r={...t}),typeof u=="string"?n=u:!r.cause&&u&&(i=!0,n=u.message,r.cause=u),!r.ruleId&&!r.source&&typeof a=="string"){const s=a.indexOf(":");s===-1?r.ruleId=a:(r.source=a.slice(0,s),r.ruleId=a.slice(s+1))}if(!r.place&&r.ancestors&&r.ancestors){const s=r.ancestors[r.ancestors.length-1];s&&(r.place=s.position)}const o=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=o?o.line:void 0,this.name=fk(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=i&&r.cause&&typeof r.cause.stack=="string"?r.cause.stack:"",this.actual,this.expected,this.note,this.url}}vi.prototype.file="";vi.prototype.name="";vi.prototype.reason="";vi.prototype.message="";vi.prototype.stack="";vi.prototype.column=void 0;vi.prototype.line=void 0;vi.prototype.ancestors=void 0;vi.prototype.cause=void 0;vi.prototype.fatal=void 0;vi.prototype.place=void 0;vi.prototype.ruleId=void 0;vi.prototype.source=void 0;const one={}.hasOwnProperty,Sfa=new Map,Bfa=/[A-Z]/g,wfa=/-([a-z])/g,Tfa=new Set(["table","tbody","thead","tfoot","tr"]),zfa=new Set(["td","th"]),jQe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Ofa(e,u){if(!u||u.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=u.filePath||void 0;let a;if(u.development){if(typeof u.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=Lfa(t,u.jsxDEV)}else{if(typeof u.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof u.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=jfa(t,u.jsx,u.jsxs)}const n={Fragment:u.Fragment,ancestors:[],components:u.components||{},create:a,elementAttributeNameCase:u.elementAttributeNameCase||"react",evaluater:u.createEvaluater?u.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:u.ignoreInvalidStyle||!1,passKeys:u.passKeys!==!1,passNode:u.passNode||!1,schema:u.space==="svg"?rne:lfa,stylePropertyNameCase:u.stylePropertyNameCase||"dom",tableCellAlignToStyle:u.tableCellAlignToStyle!==!1},r=LQe(n,e,void 0);return r&&typeof r!="string"?r:n.create(e,n.Fragment,{children:r||void 0},void 0)}function LQe(e,u,t){if(u.type==="element")return _fa(e,u,t);if(u.type==="mdxFlowExpression"||u.type==="mdxTextExpression")return Mfa(e,u);if(u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement")return Rfa(e,u,t);if(u.type==="mdxjsEsm")return Nfa(e,u);if(u.type==="root")return Pfa(e,u,t);if(u.type==="text")return Ifa(e,u)}function _fa(e,u,t){const a=e.schema;let n=a;u.tagName.toLowerCase()==="svg"&&a.space==="html"&&(n=rne,e.schema=n),e.ancestors.push(u);const r=KQe(e,u.tagName,!1),i=$fa(e,u);let o=lne(e,u);return Tfa.has(u.tagName)&&(o=o.filter(function(s){return typeof s=="string"?!Ypa(s):!0})),$Qe(e,i,r,u),sne(i,o),e.ancestors.pop(),e.schema=a,e.create(u,r,i,t)}function Mfa(e,u){if(u.data&&u.data.estree&&e.evaluater){const a=u.data.estree.body[0];return a.type,e.evaluater.evaluateExpression(a.expression)}wC(e,u.position)}function Nfa(e,u){if(u.data&&u.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(u.data.estree);wC(e,u.position)}function Rfa(e,u,t){const a=e.schema;let n=a;u.name==="svg"&&a.space==="html"&&(n=rne,e.schema=n),e.ancestors.push(u);const r=u.name===null?e.Fragment:KQe(e,u.name,!0),i=Kfa(e,u),o=lne(e,u);return $Qe(e,i,r,u),sne(i,o),e.ancestors.pop(),e.schema=a,e.create(u,r,i,t)}function Pfa(e,u,t){const a={};return sne(a,lne(e,u)),e.create(u,e.Fragment,a,t)}function Ifa(e,u){return u.value}function $Qe(e,u,t,a){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(u.node=a)}function sne(e,u){if(u.length>0){const t=u.length>1?u:u[0];t&&(e.children=t)}}function jfa(e,u,t){return a;function a(n,r,i,o){const l=Array.isArray(i.children)?t:u;return o?l(r,i,o):l(r,i)}}function Lfa(e,u){return t;function t(a,n,r,i){const o=Array.isArray(r.children),s=ine(a);return u(n,r,i,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function $fa(e,u){const t={};let a,n;for(n in u.properties)if(n!=="children"&&one.call(u.properties,n)){const r=Vfa(e,n,u.properties[n]);if(r){const[i,o]=r;e.tableCellAlignToStyle&&i==="align"&&typeof o=="string"&&zfa.has(u.tagName)?a=o:t[i]=o}}if(a){const r=t.style||(t.style={});r[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return t}function Kfa(e,u){const t={};for(const a of u.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){const r=a.data.estree.body[0];r.type;const i=r.expression;i.type;const o=i.properties[0];o.type,Object.assign(t,e.evaluater.evaluateExpression(o.argument))}else wC(e,u.position);else{const n=a.name;let r;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&e.evaluater){const o=a.value.data.estree.body[0];o.type,r=e.evaluater.evaluateExpression(o.expression)}else wC(e,u.position);else r=a.value===null?!0:a.value;t[n]=r}return t}function lne(e,u){const t=[];let a=-1;const n=e.passKeys?new Map:Sfa;for(;++a<u.children.length;){const r=u.children[a];let i;if(e.passKeys){const s=r.type==="element"?r.tagName:r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement"?r.name:void 0;if(s){const l=n.get(s)||0;i=s+"-"+l,n.set(s,l+1)}}const o=LQe(e,r,i);o!==void 0&&t.push(o)}return t}function Vfa(e,u,t){const a=rfa(e.schema,u);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=a.commaSeparated?Wpa(t):cfa(t)),a.property==="style"){let n=typeof t=="object"?t:Hfa(e,String(t));return e.stylePropertyNameCase==="css"&&(n=Gfa(n)),["style",n]}return[e.elementAttributeNameCase==="react"&&a.space?sfa[a.property]||a.property:a.attribute,t]}}function Hfa(e,u){const t={};try{yfa(u,a)}catch(n){if(!e.ignoreInvalidStyle){const r=n,i=new vi("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=jQe+"#cannot-parse-style-attribute",i}}return t;function a(n,r){let i=n;i.slice(0,2)!=="--"&&(i.slice(0,4)==="-ms-"&&(i="ms-"+i.slice(4)),i=i.replace(wfa,Wfa)),t[i]=r}}function KQe(e,u,t){let a;if(!t)a={type:"Literal",value:u};else if(u.includes(".")){const n=u.split(".");let r=-1,i;for(;++r<n.length;){const o=xpe(n[r])?{type:"Identifier",name:n[r]}:{type:"Literal",value:n[r]};i=i?{type:"MemberExpression",object:i,property:o,computed:!!(r&&o.type==="Literal"),optional:!1}:o}a=i}else a=xpe(u)&&!/^[a-z]/.test(u)?{type:"Identifier",name:u}:{type:"Literal",value:u};if(a.type==="Literal"){const n=a.value;return one.call(e.components,n)?e.components[n]:n}if(e.evaluater)return e.evaluater.evaluateExpression(a);wC(e)}function wC(e,u){const t=new vi("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:u,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=jQe+"#cannot-handle-mdx-estrees-without-createevaluater",t}function Gfa(e){const u={};let t;for(t in e)one.call(e,t)&&(u[Ufa(t)]=e[t]);return u}function Ufa(e){let u=e.replace(Bfa,qfa);return u.slice(0,3)==="ms-"&&(u="-"+u),u}function Wfa(e,u){return u.toUpperCase()}function qfa(e){return"-"+e.toLowerCase()}const aP={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Jfa={};function cne(e,u){const t=u||Jfa,a=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,n=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return VQe(e,a,n)}function VQe(e,u,t){if(Zfa(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(u&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Tpe(e.children,u,t)}return Array.isArray(e)?Tpe(e,u,t):""}function Tpe(e,u,t){const a=[];let n=-1;for(;++n<e.length;)a[n]=VQe(e[n],u,t);return a.join("")}function Zfa(e){return!!(e&&typeof e=="object")}const zpe=document.createElement("i");function dne(e){const u="&"+e+";";zpe.innerHTML=u;const t=zpe.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===u?!1:t}function Ss(e,u,t,a){const n=e.length;let r=0,i;if(u<0?u=-u>n?0:n+u:u=u>n?n:u,t=t>0?t:0,a.length<1e4)i=Array.from(a),i.unshift(u,t),e.splice(...i);else for(t&&e.splice(u,t);r<a.length;)i=a.slice(r,r+1e4),i.unshift(u,0),e.splice(...i),r+=1e4,u+=1e4}function cl(e,u){return e.length>0?(Ss(e,e.length,0,u),e):u}const Ope={}.hasOwnProperty;function HQe(e){const u={};let t=-1;for(;++t<e.length;)Qfa(u,e[t]);return u}function Qfa(e,u){let t;for(t in u){const n=(Ope.call(e,t)?e[t]:void 0)||(e[t]={}),r=u[t];let i;if(r)for(i in r){Ope.call(n,i)||(n[i]=[]);const o=r[i];Yfa(n[i],Array.isArray(o)?o:o?[o]:[])}}}function Yfa(e,u){let t=-1;const a=[];for(;++t<u.length;)(u[t].add==="after"?e:a).push(u[t]);Ss(e,0,0,a)}function GQe(e,u){const t=Number.parseInt(e,u);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function zc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Xfa=C3(new RegExp("\\p{P}","u")),Ii=C3(/[A-Za-z]/),ii=C3(/[\dA-Za-z]/),eDa=C3(/[#-'*+\--9=?A-Z^-~]/);function W8(e){return e!==null&&(e<32||e===127)}const Wq=C3(/\d/),uDa=C3(/[\dA-Fa-f]/),UQe=C3(/[!-/:-@[-`{-~]/);function ht(e){return e!==null&&e<-2}function bn(e){return e!==null&&(e<0||e===32)}function fa(e){return e===-2||e===-1||e===32}function qO(e){return UQe(e)||Xfa(e)}const Up=C3(/\s/);function C3(e){return u;function u(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function $x(e){const u=[];let t=-1,a=0,n=0;for(;++t<e.length;){const r=e.charCodeAt(t);let i="";if(r===37&&ii(e.charCodeAt(t+1))&&ii(e.charCodeAt(t+2)))n=2;else if(r<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(r))||(i=String.fromCharCode(r));else if(r>55295&&r<57344){const o=e.charCodeAt(t+1);r<56320&&o>56319&&o<57344?(i=String.fromCharCode(r,o),n=1):i="�"}else i=String.fromCharCode(r);i&&(u.push(e.slice(a,t),encodeURIComponent(i)),a=t+n+1,i=""),n&&(t+=n,n=0)}return u.join("")+e.slice(a)}function za(e,u,t,a){const n=a?a-1:Number.POSITIVE_INFINITY;let r=0;return i;function i(s){return fa(s)?(e.enter(t),o(s)):u(s)}function o(s){return fa(s)&&r++<n?(e.consume(s),o):(e.exit(t),u(s))}}const tDa={tokenize:aDa};function aDa(e){const u=e.attempt(this.parser.constructs.contentInitial,a,n);let t;return u;function a(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),za(e,u,"linePrefix")}function n(o){return e.enter("paragraph"),r(o)}function r(o){const s=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,i(o)}function i(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ht(o)?(e.consume(o),e.exit("chunkText"),r):(e.consume(o),i)}}const nDa={tokenize:rDa},_pe={tokenize:iDa};function rDa(e){const u=this,t=[];let a=0,n,r,i;return o;function o(v){if(a<t.length){const b=t[a];return u.containerState=b[1],e.attempt(b[0].continuation,s,l)(v)}return l(v)}function s(v){if(a++,u.containerState._closeFlow){u.containerState._closeFlow=void 0,n&&x();const b=u.events.length;let F=b,C;for(;F--;)if(u.events[F][0]==="exit"&&u.events[F][1].type==="chunkFlow"){C=u.events[F][1].end;break}D(a);let y=b;for(;y<u.events.length;)u.events[y][1].end=Object.assign({},C),y++;return Ss(u.events,F+1,0,u.events.slice(b)),u.events.length=y,l(v)}return o(v)}function l(v){if(a===t.length){if(!n)return E(v);if(n.currentConstruct&&n.currentConstruct.concrete)return p(v);u.interrupt=!!(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return u.containerState={},e.check(_pe,c,d)(v)}function c(v){return n&&x(),D(a),E(v)}function d(v){return u.parser.lazy[u.now().line]=a!==t.length,i=u.now().offset,p(v)}function E(v){return u.containerState={},e.attempt(_pe,h,p)(v)}function h(v){return a++,t.push([u.currentConstruct,u.containerState]),E(v)}function p(v){if(v===null){n&&x(),D(0),e.consume(v);return}return n=n||u.parser.flow(u.now()),e.enter("chunkFlow",{contentType:"flow",previous:r,_tokenizer:n}),f(v)}function f(v){if(v===null){g(e.exit("chunkFlow"),!0),D(0),e.consume(v);return}return ht(v)?(e.consume(v),g(e.exit("chunkFlow")),a=0,u.interrupt=void 0,o):(e.consume(v),f)}function g(v,b){const F=u.sliceStream(v);if(b&&F.push(null),v.previous=r,r&&(r.next=v),r=v,n.defineSkip(v.start),n.write(F),u.parser.lazy[v.start.line]){let C=n.events.length;for(;C--;)if(n.events[C][1].start.offset<i&&(!n.events[C][1].end||n.events[C][1].end.offset>i))return;const y=u.events.length;let B=y,z,_;for(;B--;)if(u.events[B][0]==="exit"&&u.events[B][1].type==="chunkFlow"){if(z){_=u.events[B][1].end;break}z=!0}for(D(a),C=y;C<u.events.length;)u.events[C][1].end=Object.assign({},_),C++;Ss(u.events,B+1,0,u.events.slice(y)),u.events.length=C}}function D(v){let b=t.length;for(;b-- >v;){const F=t[b];u.containerState=F[1],F[0].exit.call(u,e)}t.length=v}function x(){n.write([null]),r=void 0,n=void 0,u.containerState._closeFlow=void 0}}function iDa(e,u,t){return za(e,e.attempt(this.parser.constructs.document,u,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function q8(e){if(e===null||bn(e)||Up(e))return 1;if(qO(e))return 2}function JO(e,u,t){const a=[];let n=-1;for(;++n<e.length;){const r=e[n].resolveAll;r&&!a.includes(r)&&(u=r(u,t),a.push(r))}return u}const qq={name:"attention",tokenize:sDa,resolveAll:oDa};function oDa(e,u){let t=-1,a,n,r,i,o,s,l,c;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(a=t;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&u.sliceSerialize(e[a][1]).charCodeAt(0)===u.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[a][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;s=e[a][1].end.offset-e[a][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const d=Object.assign({},e[a][1].end),E=Object.assign({},e[t][1].start);Mpe(d,-s),Mpe(E,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[a][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:E},r={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[a][1].end),end:Object.assign({},e[t][1].start)},n={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[a][1].end=Object.assign({},i.start),e[t][1].start=Object.assign({},o.end),l=[],e[a][1].end.offset-e[a][1].start.offset&&(l=cl(l,[["enter",e[a][1],u],["exit",e[a][1],u]])),l=cl(l,[["enter",n,u],["enter",i,u],["exit",i,u],["enter",r,u]]),l=cl(l,JO(u.parser.constructs.insideSpan.null,e.slice(a+1,t),u)),l=cl(l,[["exit",r,u],["enter",o,u],["exit",o,u],["exit",n,u]]),e[t][1].end.offset-e[t][1].start.offset?(c=2,l=cl(l,[["enter",e[t][1],u],["exit",e[t][1],u]])):c=0,Ss(e,a-1,t-a+3,l),t=a+l.length-c-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function sDa(e,u){const t=this.parser.constructs.attentionMarkers.null,a=this.previous,n=q8(a);let r;return i;function i(s){return r=s,e.enter("attentionSequence"),o(s)}function o(s){if(s===r)return e.consume(s),o;const l=e.exit("attentionSequence"),c=q8(s),d=!c||c===2&&n||t.includes(s),E=!n||n===2&&c||t.includes(a);return l._open=!!(r===42?d:d&&(n||!E)),l._close=!!(r===42?E:E&&(c||!d)),u(s)}}function Mpe(e,u){e.column+=u,e.offset+=u,e._bufferIndex+=u}const lDa={name:"autolink",tokenize:cDa};function cDa(e,u,t){let a=0;return n;function n(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),r}function r(h){return Ii(h)?(e.consume(h),i):l(h)}function i(h){return h===43||h===45||h===46||ii(h)?(a=1,o(h)):l(h)}function o(h){return h===58?(e.consume(h),a=0,s):(h===43||h===45||h===46||ii(h))&&a++<32?(e.consume(h),o):(a=0,l(h))}function s(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),u):h===null||h===32||h===60||W8(h)?t(h):(e.consume(h),s)}function l(h){return h===64?(e.consume(h),c):eDa(h)?(e.consume(h),l):t(h)}function c(h){return ii(h)?d(h):t(h)}function d(h){return h===46?(e.consume(h),a=0,c):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),u):E(h)}function E(h){if((h===45||ii(h))&&a++<63){const p=h===45?E:d;return e.consume(h),p}return t(h)}}const cF={tokenize:dDa,partial:!0};function dDa(e,u,t){return a;function a(r){return fa(r)?za(e,n,"linePrefix")(r):n(r)}function n(r){return r===null||ht(r)?u(r):t(r)}}const WQe={name:"blockQuote",tokenize:EDa,continuation:{tokenize:hDa},exit:mDa};function EDa(e,u,t){const a=this;return n;function n(i){if(i===62){const o=a.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),r}return t(i)}function r(i){return fa(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),u):(e.exit("blockQuotePrefix"),u(i))}}function hDa(e,u,t){const a=this;return n;function n(i){return fa(i)?za(e,r,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):r(i)}function r(i){return e.attempt(WQe,u,t)(i)}}function mDa(e){e.exit("blockQuote")}const qQe={name:"characterEscape",tokenize:pDa};function pDa(e,u,t){return a;function a(r){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(r),e.exit("escapeMarker"),n}function n(r){return UQe(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),u):t(r)}}const JQe={name:"characterReference",tokenize:fDa};function fDa(e,u,t){const a=this;let n=0,r,i;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),s}function s(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=ii,c(d))}function l(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=uDa,c):(e.enter("characterReferenceValue"),r=7,i=Wq,c(d))}function c(d){if(d===59&&n){const E=e.exit("characterReferenceValue");return i===ii&&!dne(a.sliceSerialize(E))?t(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),u)}return i(d)&&n++<r?(e.consume(d),c):t(d)}}const Npe={tokenize:gDa,partial:!0},Rpe={name:"codeFenced",tokenize:DDa,concrete:!0};function DDa(e,u,t){const a=this,n={tokenize:F,partial:!0};let r=0,i=0,o;return s;function s(C){return l(C)}function l(C){const y=a.events[a.events.length-1];return r=y&&y[1].type==="linePrefix"?y[2].sliceSerialize(y[1],!0).length:0,o=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(C)}function c(C){return C===o?(i++,e.consume(C),c):i<3?t(C):(e.exit("codeFencedFenceSequence"),fa(C)?za(e,d,"whitespace")(C):d(C))}function d(C){return C===null||ht(C)?(e.exit("codeFencedFence"),a.interrupt?u(C):e.check(Npe,f,b)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),E(C))}function E(C){return C===null||ht(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(C)):fa(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),za(e,h,"whitespace")(C)):C===96&&C===o?t(C):(e.consume(C),E)}function h(C){return C===null||ht(C)?d(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===null||ht(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(C)):C===96&&C===o?t(C):(e.consume(C),p)}function f(C){return e.attempt(n,b,g)(C)}function g(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),D}function D(C){return r>0&&fa(C)?za(e,x,"linePrefix",r+1)(C):x(C)}function x(C){return C===null||ht(C)?e.check(Npe,f,b)(C):(e.enter("codeFlowValue"),v(C))}function v(C){return C===null||ht(C)?(e.exit("codeFlowValue"),x(C)):(e.consume(C),v)}function b(C){return e.exit("codeFenced"),u(C)}function F(C,y,B){let z=0;return _;function _($){return C.enter("lineEnding"),C.consume($),C.exit("lineEnding"),w}function w($){return C.enter("codeFencedFence"),fa($)?za(C,S,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):S($)}function S($){return $===o?(C.enter("codeFencedFenceSequence"),M($)):B($)}function M($){return $===o?(z++,C.consume($),M):z>=i?(C.exit("codeFencedFenceSequence"),fa($)?za(C,O,"whitespace")($):O($)):B($)}function O($){return $===null||ht($)?(C.exit("codeFencedFence"),y($)):B($)}}}function gDa(e,u,t){const a=this;return n;function n(i){return i===null?t(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r)}function r(i){return a.parser.lazy[a.now().line]?t(i):u(i)}}const nP={name:"codeIndented",tokenize:vDa},xDa={tokenize:kDa,partial:!0};function vDa(e,u,t){const a=this;return n;function n(l){return e.enter("codeIndented"),za(e,r,"linePrefix",5)(l)}function r(l){const c=a.events[a.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?i(l):t(l)}function i(l){return l===null?s(l):ht(l)?e.attempt(xDa,i,s)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||ht(l)?(e.exit("codeFlowValue"),i(l)):(e.consume(l),o)}function s(l){return e.exit("codeIndented"),u(l)}}function kDa(e,u,t){const a=this;return n;function n(i){return a.parser.lazy[a.now().line]?t(i):ht(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n):za(e,r,"linePrefix",5)(i)}function r(i){const o=a.events[a.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?u(i):ht(i)?n(i):t(i)}}const bDa={name:"codeText",tokenize:yDa,resolve:CDa,previous:FDa};function CDa(e){let u=e.length-4,t=3,a,n;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[u][1].type==="lineEnding"||e[u][1].type==="space")){for(a=t;++a<u;)if(e[a][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[u][1].type="codeTextPadding",t+=2,u-=2;break}}for(a=t-1,u++;++a<=u;)n===void 0?a!==u&&e[a][1].type!=="lineEnding"&&(n=a):(a===u||e[a][1].type==="lineEnding")&&(e[n][1].type="codeTextData",a!==n+2&&(e[n][1].end=e[a-1][1].end,e.splice(n+2,a-n-2),u-=a-n-2,a=n+2),n=void 0);return e}function FDa(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function yDa(e,u,t){let a=0,n,r;return i;function i(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),a++,o):(e.exit("codeTextSequence"),s(d))}function s(d){return d===null?t(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),s):d===96?(r=e.enter("codeTextSequence"),n=0,c(d)):ht(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(d))}function l(d){return d===null||d===32||d===96||ht(d)?(e.exit("codeTextData"),s(d)):(e.consume(d),l)}function c(d){return d===96?(e.consume(d),n++,c):n===a?(e.exit("codeTextSequence"),e.exit("codeText"),u(d)):(r.type="codeTextData",l(d))}}function ZQe(e){const u={};let t=-1,a,n,r,i,o,s,l;for(;++t<e.length;){for(;t in u;)t=u[t];if(a=e[t],t&&a[1].type==="chunkFlow"&&e[t-1][1].type==="listItemPrefix"&&(s=a[1]._tokenizer.events,r=0,r<s.length&&s[r][1].type==="lineEndingBlank"&&(r+=2),r<s.length&&s[r][1].type==="content"))for(;++r<s.length&&s[r][1].type!=="content";)s[r][1].type==="chunkText"&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if(a[0]==="enter")a[1].contentType&&(Object.assign(u,ADa(e,t)),t=u[t],l=!0);else if(a[1]._container){for(r=t,n=void 0;r--&&(i=e[r],i[1].type==="lineEnding"||i[1].type==="lineEndingBlank");)i[0]==="enter"&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);n&&(a[1].end=Object.assign({},e[n][1].start),o=e.slice(n,t),o.unshift(a),Ss(e,n,t-n+1,o))}}return!l}function ADa(e,u){const t=e[u][1],a=e[u][2];let n=u-1;const r=[],i=t._tokenizer||a.parser[t.contentType](t.start),o=i.events,s=[],l={};let c,d,E=-1,h=t,p=0,f=0;const g=[f];for(;h;){for(;e[++n][1]!==h;);r.push(n),h._tokenizer||(c=a.sliceStream(h),h.next||c.push(null),d&&i.defineSkip(h.start),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(c),h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=t;++E<o.length;)o[E][0]==="exit"&&o[E-1][0]==="enter"&&o[E][1].type===o[E-1][1].type&&o[E][1].start.line!==o[E][1].end.line&&(f=E+1,g.push(f),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(i.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),E=g.length;E--;){const D=o.slice(g[E],g[E+1]),x=r.pop();s.unshift([x,x+D.length-1]),Ss(e,x,2,D)}for(E=-1;++E<s.length;)l[p+s[E][0]]=p+s[E][1],p+=s[E][1]-s[E][0]-1;return l}const SDa={tokenize:TDa,resolve:wDa},BDa={tokenize:zDa,partial:!0};function wDa(e){return ZQe(e),e}function TDa(e,u){let t;return a;function a(o){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),n(o)}function n(o){return o===null?r(o):ht(o)?e.check(BDa,i,r)(o):(e.consume(o),n)}function r(o){return e.exit("chunkContent"),e.exit("content"),u(o)}function i(o){return e.consume(o),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,n}}function zDa(e,u,t){const a=this;return n;function n(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),za(e,r,"linePrefix")}function r(i){if(i===null||ht(i))return t(i);const o=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?u(i):e.interrupt(a.parser.constructs.flow,t,u)(i)}}function QQe(e,u,t,a,n,r,i,o,s){const l=s||Number.POSITIVE_INFINITY;let c=0;return d;function d(D){return D===60?(e.enter(a),e.enter(n),e.enter(r),e.consume(D),e.exit(r),E):D===null||D===32||D===41||W8(D)?t(D):(e.enter(a),e.enter(i),e.enter(o),e.enter("chunkString",{contentType:"string"}),f(D))}function E(D){return D===62?(e.enter(r),e.consume(D),e.exit(r),e.exit(n),e.exit(a),u):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(D))}function h(D){return D===62?(e.exit("chunkString"),e.exit(o),E(D)):D===null||D===60||ht(D)?t(D):(e.consume(D),D===92?p:h)}function p(D){return D===60||D===62||D===92?(e.consume(D),h):h(D)}function f(D){return!c&&(D===null||D===41||bn(D))?(e.exit("chunkString"),e.exit(o),e.exit(i),e.exit(a),u(D)):c<l&&D===40?(e.consume(D),c++,f):D===41?(e.consume(D),c--,f):D===null||D===32||D===40||W8(D)?t(D):(e.consume(D),D===92?g:f)}function g(D){return D===40||D===41||D===92?(e.consume(D),f):f(D)}}function YQe(e,u,t,a,n,r){const i=this;let o=0,s;return l;function l(h){return e.enter(a),e.enter(n),e.consume(h),e.exit(n),e.enter(r),c}function c(h){return o>999||h===null||h===91||h===93&&!s||h===94&&!o&&"_hiddenFootnoteSupport"in i.parser.constructs?t(h):h===93?(e.exit(r),e.enter(n),e.consume(h),e.exit(n),e.exit(a),u):ht(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||ht(h)||o++>999?(e.exit("chunkString"),c(h)):(e.consume(h),s||(s=!fa(h)),h===92?E:d)}function E(h){return h===91||h===92||h===93?(e.consume(h),o++,d):d(h)}}function XQe(e,u,t,a,n,r){let i;return o;function o(E){return E===34||E===39||E===40?(e.enter(a),e.enter(n),e.consume(E),e.exit(n),i=E===40?41:E,s):t(E)}function s(E){return E===i?(e.enter(n),e.consume(E),e.exit(n),e.exit(a),u):(e.enter(r),l(E))}function l(E){return E===i?(e.exit(r),s(i)):E===null?t(E):ht(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),za(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(E))}function c(E){return E===i||E===null||ht(E)?(e.exit("chunkString"),l(E)):(e.consume(E),E===92?d:c)}function d(E){return E===i||E===92?(e.consume(E),c):c(E)}}function Dk(e,u){let t;return a;function a(n){return ht(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t=!0,a):fa(n)?za(e,a,t?"linePrefix":"lineSuffix")(n):u(n)}}const ODa={name:"definition",tokenize:MDa},_Da={tokenize:NDa,partial:!0};function MDa(e,u,t){const a=this;let n;return r;function r(h){return e.enter("definition"),i(h)}function i(h){return YQe.call(a,e,o,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return n=zc(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),s):t(h)}function s(h){return bn(h)?Dk(e,l)(h):l(h)}function l(h){return QQe(e,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return e.attempt(_Da,d,d)(h)}function d(h){return fa(h)?za(e,E,"whitespace")(h):E(h)}function E(h){return h===null||ht(h)?(e.exit("definition"),a.parser.defined.push(n),u(h)):t(h)}}function NDa(e,u,t){return a;function a(o){return bn(o)?Dk(e,n)(o):t(o)}function n(o){return XQe(e,r,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function r(o){return fa(o)?za(e,i,"whitespace")(o):i(o)}function i(o){return o===null||ht(o)?u(o):t(o)}}const RDa={name:"hardBreakEscape",tokenize:PDa};function PDa(e,u,t){return a;function a(r){return e.enter("hardBreakEscape"),e.consume(r),n}function n(r){return ht(r)?(e.exit("hardBreakEscape"),u(r)):t(r)}}const IDa={name:"headingAtx",tokenize:LDa,resolve:jDa};function jDa(e,u){let t=e.length-2,a=3,n,r;return e[a][1].type==="whitespace"&&(a+=2),t-2>a&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(a===t-1||t-4>a&&e[t-2][1].type==="whitespace")&&(t-=a+1===t?2:4),t>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[t][1].end},r={type:"chunkText",start:e[a][1].start,end:e[t][1].end,contentType:"text"},Ss(e,a,t-a+1,[["enter",n,u],["enter",r,u],["exit",r,u],["exit",n,u]])),e}function LDa(e,u,t){let a=0;return n;function n(c){return e.enter("atxHeading"),r(c)}function r(c){return e.enter("atxHeadingSequence"),i(c)}function i(c){return c===35&&a++<6?(e.consume(c),i):c===null||bn(c)?(e.exit("atxHeadingSequence"),o(c)):t(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||ht(c)?(e.exit("atxHeading"),u(c)):fa(c)?za(e,o,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),o(c))}function l(c){return c===null||c===35||bn(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),l)}}const $Da=["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"],Ppe=["pre","script","style","textarea"],KDa={name:"htmlFlow",tokenize:UDa,resolveTo:GDa,concrete:!0},VDa={tokenize:qDa,partial:!0},HDa={tokenize:WDa,partial:!0};function GDa(e){let u=e.length;for(;u--&&!(e[u][0]==="enter"&&e[u][1].type==="htmlFlow"););return u>1&&e[u-2][1].type==="linePrefix"&&(e[u][1].start=e[u-2][1].start,e[u+1][1].start=e[u-2][1].start,e.splice(u-2,2)),e}function UDa(e,u,t){const a=this;let n,r,i,o,s;return l;function l(R){return c(R)}function c(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),d}function d(R){return R===33?(e.consume(R),E):R===47?(e.consume(R),r=!0,f):R===63?(e.consume(R),n=3,a.interrupt?u:T):Ii(R)?(e.consume(R),i=String.fromCharCode(R),g):t(R)}function E(R){return R===45?(e.consume(R),n=2,h):R===91?(e.consume(R),n=5,o=0,p):Ii(R)?(e.consume(R),n=4,a.interrupt?u:T):t(R)}function h(R){return R===45?(e.consume(R),a.interrupt?u:T):t(R)}function p(R){const W="CDATA[";return R===W.charCodeAt(o++)?(e.consume(R),o===W.length?a.interrupt?u:S:p):t(R)}function f(R){return Ii(R)?(e.consume(R),i=String.fromCharCode(R),g):t(R)}function g(R){if(R===null||R===47||R===62||bn(R)){const W=R===47,q=i.toLowerCase();return!W&&!r&&Ppe.includes(q)?(n=1,a.interrupt?u(R):S(R)):$Da.includes(i.toLowerCase())?(n=6,W?(e.consume(R),D):a.interrupt?u(R):S(R)):(n=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(R):r?x(R):v(R))}return R===45||ii(R)?(e.consume(R),i+=String.fromCharCode(R),g):t(R)}function D(R){return R===62?(e.consume(R),a.interrupt?u:S):t(R)}function x(R){return fa(R)?(e.consume(R),x):_(R)}function v(R){return R===47?(e.consume(R),_):R===58||R===95||Ii(R)?(e.consume(R),b):fa(R)?(e.consume(R),v):_(R)}function b(R){return R===45||R===46||R===58||R===95||ii(R)?(e.consume(R),b):F(R)}function F(R){return R===61?(e.consume(R),C):fa(R)?(e.consume(R),F):v(R)}function C(R){return R===null||R===60||R===61||R===62||R===96?t(R):R===34||R===39?(e.consume(R),s=R,y):fa(R)?(e.consume(R),C):B(R)}function y(R){return R===s?(e.consume(R),s=null,z):R===null||ht(R)?t(R):(e.consume(R),y)}function B(R){return R===null||R===34||R===39||R===47||R===60||R===61||R===62||R===96||bn(R)?F(R):(e.consume(R),B)}function z(R){return R===47||R===62||fa(R)?v(R):t(R)}function _(R){return R===62?(e.consume(R),w):t(R)}function w(R){return R===null||ht(R)?S(R):fa(R)?(e.consume(R),w):t(R)}function S(R){return R===45&&n===2?(e.consume(R),j):R===60&&n===1?(e.consume(R),V):R===62&&n===4?(e.consume(R),G):R===63&&n===3?(e.consume(R),T):R===93&&n===5?(e.consume(R),P):ht(R)&&(n===6||n===7)?(e.exit("htmlFlowData"),e.check(VDa,L,M)(R)):R===null||ht(R)?(e.exit("htmlFlowData"),M(R)):(e.consume(R),S)}function M(R){return e.check(HDa,O,L)(R)}function O(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),$}function $(R){return R===null||ht(R)?M(R):(e.enter("htmlFlowData"),S(R))}function j(R){return R===45?(e.consume(R),T):S(R)}function V(R){return R===47?(e.consume(R),i="",N):S(R)}function N(R){if(R===62){const W=i.toLowerCase();return Ppe.includes(W)?(e.consume(R),G):S(R)}return Ii(R)&&i.length<8?(e.consume(R),i+=String.fromCharCode(R),N):S(R)}function P(R){return R===93?(e.consume(R),T):S(R)}function T(R){return R===62?(e.consume(R),G):R===45&&n===2?(e.consume(R),T):S(R)}function G(R){return R===null||ht(R)?(e.exit("htmlFlowData"),L(R)):(e.consume(R),G)}function L(R){return e.exit("htmlFlow"),u(R)}}function WDa(e,u,t){const a=this;return n;function n(i){return ht(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):t(i)}function r(i){return a.parser.lazy[a.now().line]?t(i):u(i)}}function qDa(e,u,t){return a;function a(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(cF,u,t)}}const JDa={name:"htmlText",tokenize:ZDa};function ZDa(e,u,t){const a=this;let n,r,i;return o;function o(T){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(T),s}function s(T){return T===33?(e.consume(T),l):T===47?(e.consume(T),F):T===63?(e.consume(T),v):Ii(T)?(e.consume(T),B):t(T)}function l(T){return T===45?(e.consume(T),c):T===91?(e.consume(T),r=0,p):Ii(T)?(e.consume(T),x):t(T)}function c(T){return T===45?(e.consume(T),h):t(T)}function d(T){return T===null?t(T):T===45?(e.consume(T),E):ht(T)?(i=d,V(T)):(e.consume(T),d)}function E(T){return T===45?(e.consume(T),h):d(T)}function h(T){return T===62?j(T):T===45?E(T):d(T)}function p(T){const G="CDATA[";return T===G.charCodeAt(r++)?(e.consume(T),r===G.length?f:p):t(T)}function f(T){return T===null?t(T):T===93?(e.consume(T),g):ht(T)?(i=f,V(T)):(e.consume(T),f)}function g(T){return T===93?(e.consume(T),D):f(T)}function D(T){return T===62?j(T):T===93?(e.consume(T),D):f(T)}function x(T){return T===null||T===62?j(T):ht(T)?(i=x,V(T)):(e.consume(T),x)}function v(T){return T===null?t(T):T===63?(e.consume(T),b):ht(T)?(i=v,V(T)):(e.consume(T),v)}function b(T){return T===62?j(T):v(T)}function F(T){return Ii(T)?(e.consume(T),C):t(T)}function C(T){return T===45||ii(T)?(e.consume(T),C):y(T)}function y(T){return ht(T)?(i=y,V(T)):fa(T)?(e.consume(T),y):j(T)}function B(T){return T===45||ii(T)?(e.consume(T),B):T===47||T===62||bn(T)?z(T):t(T)}function z(T){return T===47?(e.consume(T),j):T===58||T===95||Ii(T)?(e.consume(T),_):ht(T)?(i=z,V(T)):fa(T)?(e.consume(T),z):j(T)}function _(T){return T===45||T===46||T===58||T===95||ii(T)?(e.consume(T),_):w(T)}function w(T){return T===61?(e.consume(T),S):ht(T)?(i=w,V(T)):fa(T)?(e.consume(T),w):z(T)}function S(T){return T===null||T===60||T===61||T===62||T===96?t(T):T===34||T===39?(e.consume(T),n=T,M):ht(T)?(i=S,V(T)):fa(T)?(e.consume(T),S):(e.consume(T),O)}function M(T){return T===n?(e.consume(T),n=void 0,$):T===null?t(T):ht(T)?(i=M,V(T)):(e.consume(T),M)}function O(T){return T===null||T===34||T===39||T===60||T===61||T===96?t(T):T===47||T===62||bn(T)?z(T):(e.consume(T),O)}function $(T){return T===47||T===62||bn(T)?z(T):t(T)}function j(T){return T===62?(e.consume(T),e.exit("htmlTextData"),e.exit("htmlText"),u):t(T)}function V(T){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),N}function N(T){return fa(T)?za(e,P,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):P(T)}function P(T){return e.enter("htmlTextData"),i(T)}}const Ene={name:"labelEnd",tokenize:tga,resolveTo:uga,resolveAll:ega},QDa={tokenize:aga},YDa={tokenize:nga},XDa={tokenize:rga};function ega(e){let u=-1;for(;++u<e.length;){const t=e[u][1];(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(e.splice(u+1,t.type==="labelImage"?4:2),t.type="data",u++)}return e}function uga(e,u){let t=e.length,a=0,n,r,i,o;for(;t--;)if(n=e[t][1],r){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;e[t][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(i){if(e[t][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(r=t,n.type!=="labelLink")){a=2;break}}else n.type==="labelEnd"&&(i=t);const s={type:e[r][1].type==="labelLink"?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",s,u],["enter",l,u]],o=cl(o,e.slice(r+1,r+a+3)),o=cl(o,[["enter",c,u]]),o=cl(o,JO(u.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),u)),o=cl(o,[["exit",c,u],e[i-2],e[i-1],["exit",l,u]]),o=cl(o,e.slice(i+1)),o=cl(o,[["exit",s,u]]),Ss(e,r,e.length,o),e}function tga(e,u,t){const a=this;let n=a.events.length,r,i;for(;n--;)if((a.events[n][1].type==="labelImage"||a.events[n][1].type==="labelLink")&&!a.events[n][1]._balanced){r=a.events[n][1];break}return o;function o(E){return r?r._inactive?d(E):(i=a.parser.defined.includes(zc(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(E),e.exit("labelMarker"),e.exit("labelEnd"),s):t(E)}function s(E){return E===40?e.attempt(QDa,c,i?c:d)(E):E===91?e.attempt(YDa,c,i?l:d)(E):i?c(E):d(E)}function l(E){return e.attempt(XDa,c,d)(E)}function c(E){return u(E)}function d(E){return r._balanced=!0,t(E)}}function aga(e,u,t){return a;function a(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),n}function n(d){return bn(d)?Dk(e,r)(d):r(d)}function r(d){return d===41?c(d):QQe(e,i,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function i(d){return bn(d)?Dk(e,s)(d):c(d)}function o(d){return t(d)}function s(d){return d===34||d===39||d===40?XQe(e,l,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function l(d){return bn(d)?Dk(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),u):t(d)}}function nga(e,u,t){const a=this;return n;function n(o){return YQe.call(a,e,r,i,"reference","referenceMarker","referenceString")(o)}function r(o){return a.parser.defined.includes(zc(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?u(o):t(o)}function i(o){return t(o)}}function rga(e,u,t){return a;function a(r){return e.enter("reference"),e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),n}function n(r){return r===93?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),u):t(r)}}const iga={name:"labelStartImage",tokenize:oga,resolveAll:Ene.resolveAll};function oga(e,u,t){const a=this;return n;function n(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),r}function r(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),i):t(o)}function i(o){return o===94&&"_hiddenFootnoteSupport"in a.parser.constructs?t(o):u(o)}}const sga={name:"labelStartLink",tokenize:lga,resolveAll:Ene.resolveAll};function lga(e,u,t){const a=this;return n;function n(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),r}function r(i){return i===94&&"_hiddenFootnoteSupport"in a.parser.constructs?t(i):u(i)}}const rP={name:"lineEnding",tokenize:cga};function cga(e,u){return t;function t(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),za(e,u,"linePrefix")}}const k9={name:"thematicBreak",tokenize:dga};function dga(e,u,t){let a=0,n;return r;function r(l){return e.enter("thematicBreak"),i(l)}function i(l){return n=l,o(l)}function o(l){return l===n?(e.enter("thematicBreakSequence"),s(l)):a>=3&&(l===null||ht(l))?(e.exit("thematicBreak"),u(l)):t(l)}function s(l){return l===n?(e.consume(l),a++,s):(e.exit("thematicBreakSequence"),fa(l)?za(e,o,"whitespace")(l):o(l))}}const fo={name:"list",tokenize:mga,continuation:{tokenize:pga},exit:Dga},Ega={tokenize:gga,partial:!0},hga={tokenize:fga,partial:!0};function mga(e,u,t){const a=this,n=a.events[a.events.length-1];let r=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,i=0;return o;function o(h){const p=a.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!a.containerState.marker||h===a.containerState.marker:Wq(h)){if(a.containerState.type||(a.containerState.type=p,e.enter(p,{_container:!0})),p==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(k9,t,l)(h):l(h);if(!a.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(h)}return t(h)}function s(h){return Wq(h)&&++i<10?(e.consume(h),s):(!a.interrupt||i<2)&&(a.containerState.marker?h===a.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),l(h)):t(h)}function l(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||h,e.check(cF,a.interrupt?t:c,e.attempt(Ega,E,d))}function c(h){return a.containerState.initialBlankLine=!0,r++,E(h)}function d(h){return fa(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),E):t(h)}function E(h){return a.containerState.size=r+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,u(h)}}function pga(e,u,t){const a=this;return a.containerState._closeFlow=void 0,e.check(cF,n,r);function n(o){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,za(e,u,"listItemIndent",a.containerState.size+1)(o)}function r(o){return a.containerState.furtherBlankLines||!fa(o)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,i(o)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(hga,u,i)(o))}function i(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,za(e,e.attempt(fo,u,t),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function fga(e,u,t){const a=this;return za(e,n,"listItemIndent",a.containerState.size+1);function n(r){const i=a.events[a.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===a.containerState.size?u(r):t(r)}}function Dga(e){e.exit(this.containerState.type)}function gga(e,u,t){const a=this;return za(e,n,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(r){const i=a.events[a.events.length-1];return!fa(r)&&i&&i[1].type==="listItemPrefixWhitespace"?u(r):t(r)}}const Ipe={name:"setextUnderline",tokenize:vga,resolveTo:xga};function xga(e,u){let t=e.length,a,n,r;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){a=t;break}e[t][1].type==="paragraph"&&(n=t)}else e[t][1].type==="content"&&e.splice(t,1),!r&&e[t][1].type==="definition"&&(r=t);const i={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",r?(e.splice(n,0,["enter",i,u]),e.splice(r+1,0,["exit",e[a][1],u]),e[a][1].end=Object.assign({},e[r][1].end)):e[a][1]=i,e.push(["exit",i,u]),e}function vga(e,u,t){const a=this;let n;return r;function r(l){let c=a.events.length,d;for(;c--;)if(a.events[c][1].type!=="lineEnding"&&a.events[c][1].type!=="linePrefix"&&a.events[c][1].type!=="content"){d=a.events[c][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||d)?(e.enter("setextHeadingLine"),n=l,i(l)):t(l)}function i(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===n?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),fa(l)?za(e,s,"lineSuffix")(l):s(l))}function s(l){return l===null||ht(l)?(e.exit("setextHeadingLine"),u(l)):t(l)}}const kga={tokenize:bga};function bga(e){const u=this,t=e.attempt(cF,a,e.attempt(this.parser.constructs.flowInitial,n,za(e,e.attempt(this.parser.constructs.flow,n,e.attempt(SDa,n)),"linePrefix")));return t;function a(r){if(r===null){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),u.currentConstruct=void 0,t}function n(r){if(r===null){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),u.currentConstruct=void 0,t}}const Cga={resolveAll:uYe()},Fga=eYe("string"),yga=eYe("text");function eYe(e){return{tokenize:u,resolveAll:uYe(e==="text"?Aga:void 0)};function u(t){const a=this,n=this.parser.constructs[e],r=t.attempt(n,i,o);return i;function i(c){return l(c)?r(c):o(c)}function o(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),s}function s(c){return l(c)?(t.exit("data"),r(c)):(t.consume(c),s)}function l(c){if(c===null)return!0;const d=n[c];let E=-1;if(d)for(;++E<d.length;){const h=d[E];if(!h.previous||h.previous.call(a,a.previous))return!0}return!1}}}function uYe(e){return u;function u(t,a){let n=-1,r;for(;++n<=t.length;)r===void 0?t[n]&&t[n][1].type==="data"&&(r=n,n++):(!t[n]||t[n][1].type!=="data")&&(n!==r+2&&(t[r][1].end=t[n-1][1].end,t.splice(r+2,n-r-2),n=r+2),r=void 0);return e?e(t,a):t}}function Aga(e,u){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const a=e[t-1][1],n=u.sliceStream(a);let r=n.length,i=-1,o=0,s;for(;r--;){const l=n[r];if(typeof l=="string"){for(i=l.length;l.charCodeAt(i-1)===32;)o++,i--;if(i)break;i=-1}else if(l===-2)s=!0,o++;else if(l!==-1){r++;break}}if(o){const l={type:t===e.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{line:a.end.line,column:a.end.column-o,offset:a.end.offset-o,_index:a.start._index+r,_bufferIndex:r?i:a.start._bufferIndex+i},end:Object.assign({},a.end)};a.end=Object.assign({},l.start),a.start.offset===a.end.offset?Object.assign(a,l):(e.splice(t,0,["enter",l,u],["exit",l,u]),t+=2)}t++}return e}function Sga(e,u,t){let a=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const n={},r=[];let i=[],o=[];const s={consume:x,enter:v,exit:b,attempt:y(F),check:y(C),interrupt:y(C,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:E,now:p,defineSkip:f,write:d};let c=u.tokenize.call(l,s);return u.resolveAll&&r.push(u),l;function d(w){return i=cl(i,w),g(),i[i.length-1]!==null?[]:(B(u,0),l.events=JO(r,l.events,l),l.events)}function E(w,S){return wga(h(w),S)}function h(w){return Bga(i,w)}function p(){const{line:w,column:S,offset:M,_index:O,_bufferIndex:$}=a;return{line:w,column:S,offset:M,_index:O,_bufferIndex:$}}function f(w){n[w.line]=w.column,_()}function g(){let w;for(;a._index<i.length;){const S=i[a._index];if(typeof S=="string")for(w=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===w&&a._bufferIndex<S.length;)D(S.charCodeAt(a._bufferIndex));else D(S)}}function D(w){c=c(w)}function x(w){ht(w)?(a.line++,a.column=1,a.offset+=w===-3?2:1,_()):w!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===i[a._index].length&&(a._bufferIndex=-1,a._index++)),l.previous=w}function v(w,S){const M=S||{};return M.type=w,M.start=p(),l.events.push(["enter",M,l]),o.push(M),M}function b(w){const S=o.pop();return S.end=p(),l.events.push(["exit",S,l]),S}function F(w,S){B(w,S.from)}function C(w,S){S.restore()}function y(w,S){return M;function M(O,$,j){let V,N,P,T;return Array.isArray(O)?L(O):"tokenize"in O?L([O]):G(O);function G(K){return Y;function Y(ue){const de=ue!==null&&K[ue],he=ue!==null&&K.null,Te=[...Array.isArray(de)?de:de?[de]:[],...Array.isArray(he)?he:he?[he]:[]];return L(Te)(ue)}}function L(K){return V=K,N=0,K.length===0?j:R(K[N])}function R(K){return Y;function Y(ue){return T=z(),P=K,K.partial||(l.currentConstruct=K),K.name&&l.parser.constructs.disable.null.includes(K.name)?q():K.tokenize.call(S?Object.assign(Object.create(l),S):l,s,W,q)(ue)}}function W(K){return w(P,T),$}function q(K){return T.restore(),++N<V.length?R(V[N]):j}}}function B(w,S){w.resolveAll&&!r.includes(w)&&r.push(w),w.resolve&&Ss(l.events,S,l.events.length-S,w.resolve(l.events.slice(S),l)),w.resolveTo&&(l.events=w.resolveTo(l.events,l))}function z(){const w=p(),S=l.previous,M=l.currentConstruct,O=l.events.length,$=Array.from(o);return{restore:j,from:O};function j(){a=w,l.previous=S,l.currentConstruct=M,l.events.length=O,o=$,_()}}function _(){a.line in n&&a.column<2&&(a.column=n[a.line],a.offset+=n[a.line]-1)}}function Bga(e,u){const t=u.start._index,a=u.start._bufferIndex,n=u.end._index,r=u.end._bufferIndex;let i;if(t===n)i=[e[t].slice(a,r)];else{if(i=e.slice(t,n),a>-1){const o=i[0];typeof o=="string"?i[0]=o.slice(a):i.shift()}r>0&&i.push(e[n].slice(0,r))}return i}function wga(e,u){let t=-1;const a=[];let n;for(;++t<e.length;){const r=e[t];let i;if(typeof r=="string")i=r;else switch(r){case-5:{i="\r";break}case-4:{i=`
1068
1068
  `;break}case-3:{i=`\r
1069
1069
  `;break}case-2:{i=u?" ":" ";break}case-1:{if(!u&&n)continue;i=" ";break}default:i=String.fromCharCode(r)}n=r===-2,a.push(i)}return a.join("")}const Tga={42:fo,43:fo,45:fo,48:fo,49:fo,50:fo,51:fo,52:fo,53:fo,54:fo,55:fo,56:fo,57:fo,62:WQe},zga={91:ODa},Oga={[-2]:nP,[-1]:nP,32:nP},_ga={35:IDa,42:k9,45:[Ipe,k9],60:KDa,61:Ipe,95:k9,96:Rpe,126:Rpe},Mga={38:JQe,92:qQe},Nga={[-5]:rP,[-4]:rP,[-3]:rP,33:iga,38:JQe,42:qq,60:[lDa,JDa],91:sga,92:[RDa,qQe],93:Ene,95:qq,96:bDa},Rga={null:[qq,Cga]},Pga={null:[42,95]},Iga={null:[]},jga=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Pga,contentInitial:zga,disable:Iga,document:Tga,flow:_ga,flowInitial:Oga,insideSpan:Rga,string:Mga,text:Nga},Symbol.toStringTag,{value:"Module"}));function Lga(e){const t=HQe([jga,...(e||{}).extensions||[]]),a={defined:[],lazy:{},constructs:t,content:n(tDa),document:n(nDa),flow:n(kga),string:n(Fga),text:n(yga)};return a;function n(r){return i;function i(o){return Sga(a,r,o)}}}function $ga(e){for(;!ZQe(e););return e}const jpe=/[\0\t\n\r]/g;function Kga(){let e=1,u="",t=!0,a;return n;function n(r,i,o){const s=[];let l,c,d,E,h;for(r=u+(typeof r=="string"?r.toString():new TextDecoder(i||void 0).decode(r)),d=0,u="",t&&(r.charCodeAt(0)===65279&&d++,t=void 0);d<r.length;){if(jpe.lastIndex=d,l=jpe.exec(r),E=l&&l.index!==void 0?l.index:r.length,h=r.charCodeAt(E),!l){u=r.slice(d);break}if(h===10&&d===E&&a)s.push(-3),a=void 0;else switch(a&&(s.push(-5),a=void 0),d<E&&(s.push(r.slice(d,E)),e+=E-d),h){case 0:{s.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,s.push(-2);e++<c;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:a=!0,e=1}d=E+1}return o&&(a&&s.push(-5),u&&s.push(u),s.push(null)),s}}const Vga=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Hga(e){return e.replace(Vga,Gga)}function Gga(e,u,t){if(u)return u;if(t.charCodeAt(0)===35){const n=t.charCodeAt(1),r=n===120||n===88;return GQe(t.slice(r?2:1),r?16:10)}return dne(t)||e}const tYe={}.hasOwnProperty;function Uga(e,u,t){return typeof u!="string"&&(t=u,u=void 0),Wga(t)($ga(Lga(t).document().write(Kga()(e,u,!0))))}function Wga(e){const u={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(Iu),autolinkProtocol:z,autolinkEmail:z,atxHeading:r(au),blockQuote:r(de),characterEscape:z,characterReference:z,codeFenced:r(he),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(he,i),codeText:r(Te,i),codeTextData:z,data:z,codeFlowValue:z,definition:r(Ae),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(Ge),hardBreakEscape:r(_e),hardBreakTrailing:r(_e),htmlFlow:r(hu,i),htmlFlowData:z,htmlText:r(hu,i),htmlTextData:z,image:r(Eu),label:i,link:r(Iu),listItem:r(J),listItemValue:E,listOrdered:r(ju,d),listUnordered:r(ju),paragraph:r(re),reference:R,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(au),strong:r(te),thematicBreak:r(se)},exit:{atxHeading:s(),atxHeadingSequence:F,autolink:s(),autolinkEmail:ue,autolinkProtocol:Y,blockQuote:s(),characterEscapeValue:_,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:K,codeFenced:s(g),codeFencedFence:f,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:_,codeIndented:s(D),codeText:s($),codeTextData:_,data:_,definition:s(),definitionDestinationString:b,definitionLabelString:x,definitionTitleString:v,emphasis:s(),hardBreakEscape:s(S),hardBreakTrailing:s(S),htmlFlow:s(M),htmlFlowData:_,htmlText:s(O),htmlTextData:_,image:s(V),label:P,labelText:N,lineEnding:w,link:s(j),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:W,resourceDestinationString:T,resourceTitleString:G,resource:L,setextHeading:s(B),setextHeadingLineSequence:y,setextHeadingText:C,strong:s(),thematicBreak:s()}};aYe(u,(e||{}).mdastExtensions||[]);const t={};return a;function a(U){let ne={type:"root",children:[]};const Se={stack:[ne],tokenStack:[],config:u,enter:o,exit:l,buffer:i,resume:c,data:t},Ie=[];let Ne=-1;for(;++Ne<U.length;)if(U[Ne][1].type==="listOrdered"||U[Ne][1].type==="listUnordered")if(U[Ne][0]==="enter")Ie.push(Ne);else{const eu=Ie.pop();Ne=n(U,eu,Ne)}for(Ne=-1;++Ne<U.length;){const eu=u[U[Ne][0]];tYe.call(eu,U[Ne][1].type)&&eu[U[Ne][1].type].call(Object.assign({sliceSerialize:U[Ne][2].sliceSerialize},Se),U[Ne][1])}if(Se.tokenStack.length>0){const eu=Se.tokenStack[Se.tokenStack.length-1];(eu[1]||Lpe).call(Se,void 0,eu[0])}for(ne.position={start:gE(U.length>0?U[0][1].start:{line:1,column:1,offset:0}),end:gE(U.length>0?U[U.length-2][1].end:{line:1,column:1,offset:0})},Ne=-1;++Ne<u.transforms.length;)ne=u.transforms[Ne](ne)||ne;return ne}function n(U,ne,Se){let Ie=ne-1,Ne=-1,eu=!1,Xe,cu,mt,ua;for(;++Ie<=Se;){const Ea=U[Ie];switch(Ea[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ea[0]==="enter"?Ne++:Ne--,ua=void 0;break}case"lineEndingBlank":{Ea[0]==="enter"&&(Xe&&!ua&&!Ne&&!mt&&(mt=Ie),ua=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ua=void 0}if(!Ne&&Ea[0]==="enter"&&Ea[1].type==="listItemPrefix"||Ne===-1&&Ea[0]==="exit"&&(Ea[1].type==="listUnordered"||Ea[1].type==="listOrdered")){if(Xe){let Gu=Ie;for(cu=void 0;Gu--;){const Zt=U[Gu];if(Zt[1].type==="lineEnding"||Zt[1].type==="lineEndingBlank"){if(Zt[0]==="exit")continue;cu&&(U[cu][1].type="lineEndingBlank",eu=!0),Zt[1].type="lineEnding",cu=Gu}else if(!(Zt[1].type==="linePrefix"||Zt[1].type==="blockQuotePrefix"||Zt[1].type==="blockQuotePrefixWhitespace"||Zt[1].type==="blockQuoteMarker"||Zt[1].type==="listItemIndent"))break}mt&&(!cu||mt<cu)&&(Xe._spread=!0),Xe.end=Object.assign({},cu?U[cu][1].start:Ea[1].end),U.splice(cu||Ie,0,["exit",Xe,Ea[2]]),Ie++,Se++}if(Ea[1].type==="listItemPrefix"){const Gu={type:"listItem",_spread:!1,start:Object.assign({},Ea[1].start),end:void 0};Xe=Gu,U.splice(Ie,0,["enter",Gu,Ea[2]]),Ie++,Se++,mt=void 0,ua=!0}}}return U[ne][1]._spread=eu,Se}function r(U,ne){return Se;function Se(Ie){o.call(this,U(Ie),Ie),ne&&ne.call(this,Ie)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(U,ne,Se){this.stack[this.stack.length-1].children.push(U),this.stack.push(U),this.tokenStack.push([ne,Se]),U.position={start:gE(ne.start),end:void 0}}function s(U){return ne;function ne(Se){U&&U.call(this,Se),l.call(this,Se)}}function l(U,ne){const Se=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==U.type&&(ne?ne.call(this,U,Ie[0]):(Ie[1]||Lpe).call(this,U,Ie[0]));else throw new Error("Cannot close `"+U.type+"` ("+fk({start:U.start,end:U.end})+"): it’s not open");Se.position.end=gE(U.end)}function c(){return cne(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function E(U){if(this.data.expectingFirstListItemValue){const ne=this.stack[this.stack.length-2];ne.start=Number.parseInt(this.sliceSerialize(U),10),this.data.expectingFirstListItemValue=void 0}}function h(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.lang=U}function p(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.meta=U}function f(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.value=U.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function D(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.value=U.replace(/(\r?\n|\r)$/g,"")}function x(U){const ne=this.resume(),Se=this.stack[this.stack.length-1];Se.label=ne,Se.identifier=zc(this.sliceSerialize(U)).toLowerCase()}function v(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.title=U}function b(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.url=U}function F(U){const ne=this.stack[this.stack.length-1];if(!ne.depth){const Se=this.sliceSerialize(U).length;ne.depth=Se}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function y(U){const ne=this.stack[this.stack.length-1];ne.depth=this.sliceSerialize(U).codePointAt(0)===61?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function z(U){const Se=this.stack[this.stack.length-1].children;let Ie=Se[Se.length-1];(!Ie||Ie.type!=="text")&&(Ie=ae(),Ie.position={start:gE(U.start),end:void 0},Se.push(Ie)),this.stack.push(Ie)}function _(U){const ne=this.stack.pop();ne.value+=this.sliceSerialize(U),ne.position.end=gE(U.end)}function w(U){const ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Se=ne.children[ne.children.length-1];Se.position.end=gE(U.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&u.canContainEols.includes(ne.type)&&(z.call(this,U),_.call(this,U))}function S(){this.data.atHardBreak=!0}function M(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.value=U}function O(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.value=U}function $(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.value=U}function j(){const U=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";U.type+="Reference",U.referenceType=ne,delete U.url,delete U.title}else delete U.identifier,delete U.label;this.data.referenceType=void 0}function V(){const U=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";U.type+="Reference",U.referenceType=ne,delete U.url,delete U.title}else delete U.identifier,delete U.label;this.data.referenceType=void 0}function N(U){const ne=this.sliceSerialize(U),Se=this.stack[this.stack.length-2];Se.label=Hga(ne),Se.identifier=zc(ne).toLowerCase()}function P(){const U=this.stack[this.stack.length-1],ne=this.resume(),Se=this.stack[this.stack.length-1];if(this.data.inReference=!0,Se.type==="link"){const Ie=U.children;Se.children=Ie}else Se.alt=ne}function T(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.url=U}function G(){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.title=U}function L(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function W(U){const ne=this.resume(),Se=this.stack[this.stack.length-1];Se.label=ne,Se.identifier=zc(this.sliceSerialize(U)).toLowerCase(),this.data.referenceType="full"}function q(U){this.data.characterReferenceType=U.type}function K(U){const ne=this.sliceSerialize(U),Se=this.data.characterReferenceType;let Ie;Se?(Ie=GQe(ne,Se==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ie=dne(ne);const Ne=this.stack.pop();Ne.value+=Ie,Ne.position.end=gE(U.end)}function Y(U){_.call(this,U);const ne=this.stack[this.stack.length-1];ne.url=this.sliceSerialize(U)}function ue(U){_.call(this,U);const ne=this.stack[this.stack.length-1];ne.url="mailto:"+this.sliceSerialize(U)}function de(){return{type:"blockquote",children:[]}}function he(){return{type:"code",lang:null,meta:null,value:""}}function Te(){return{type:"inlineCode",value:""}}function Ae(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ge(){return{type:"emphasis",children:[]}}function au(){return{type:"heading",depth:0,children:[]}}function _e(){return{type:"break"}}function hu(){return{type:"html",value:""}}function Eu(){return{type:"image",title:null,url:"",alt:null}}function Iu(){return{type:"link",title:null,url:"",children:[]}}function ju(U){return{type:"list",ordered:U.type==="listOrdered",start:null,spread:U._spread,children:[]}}function J(U){return{type:"listItem",spread:U._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function te(){return{type:"strong",children:[]}}function ae(){return{type:"text",value:""}}function se(){return{type:"thematicBreak"}}}function gE(e){return{line:e.line,column:e.column,offset:e.offset}}function aYe(e,u){let t=-1;for(;++t<u.length;){const a=u[t];Array.isArray(a)?aYe(e,a):qga(e,a)}}function qga(e,u){let t;for(t in u)if(tYe.call(u,t))switch(t){case"canContainEols":{const a=u[t];a&&e[t].push(...a);break}case"transforms":{const a=u[t];a&&e[t].push(...a);break}case"enter":case"exit":{const a=u[t];a&&Object.assign(e[t],a);break}}}function Lpe(e,u){throw e?new Error("Cannot close `"+e.type+"` ("+fk({start:e.start,end:e.end})+"): a different token (`"+u.type+"`, "+fk({start:u.start,end:u.end})+") is open"):new Error("Cannot close document, a token (`"+u.type+"`, "+fk({start:u.start,end:u.end})+") is still open")}function Jga(e){const u=this;u.parser=t;function t(a){return Uga(a,{...u.data("settings"),...e,extensions:u.data("micromarkExtensions")||[],mdastExtensions:u.data("fromMarkdownExtensions")||[]})}}function Zga(e,u){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(u),!0)};return e.patch(u,t),e.applyData(u,t)}function Qga(e,u){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(u,t),[e.applyData(u,t),{type:"text",value:`
package/static/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
 
8
8
  <title>Momentic Local App</title>
9
- <script type="module" crossorigin src="/assets/index-oSQsz1RA.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-52WM19fe.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="/assets/index-6eAGXYsf.css">
11
11
  </head>
12
12
  <body>