pinomad 0.12.0 → 0.13.0

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.
Files changed (38) hide show
  1. package/dist/{chunk-np4jd070.js → chunk-4fferbxw.js} +97 -29
  2. package/dist/{chunk-ksfxqd8s.js → chunk-53xv3fny.js} +241 -48
  3. package/dist/{chunk-nppgxh6c.js → chunk-563fnad9.js} +1 -1
  4. package/dist/{chunk-41q0saz0.js → chunk-6th9xv39.js} +4 -4
  5. package/dist/{chunk-aqj9wfmb.js → chunk-90g1cg9n.js} +1 -1
  6. package/dist/{chunk-mnmqyq7d.js → chunk-aapsc9g0.js} +42 -48
  7. package/dist/{chunk-5qf1grkk.js → chunk-d4tq62yr.js} +46 -11
  8. package/dist/{chunk-gg2dcqbg.js → chunk-d9mq5d46.js} +22 -7
  9. package/dist/{chunk-47ff1d1t.js → chunk-kmzzjv53.js} +51 -4
  10. package/dist/{chunk-agq4tn9r.js → chunk-m51mq8vh.js} +4 -4
  11. package/dist/{chunk-vqkb70d7.js → chunk-maqv34cs.js} +2 -2
  12. package/dist/{chunk-vx7dy07y.js → chunk-ra86wjp5.js} +4 -4
  13. package/dist/{chunk-7wj0jh3t.js → chunk-s0h7c7da.js} +1 -1
  14. package/dist/{chunk-42nqtx5r.js → chunk-sd640dt7.js} +6 -6
  15. package/dist/{chunk-jeqsdcj1.js → chunk-t6fw0wa9.js} +4 -4
  16. package/dist/{chunk-t5abqsva.js → chunk-wd7aracm.js} +17 -5
  17. package/dist/pinomad.js +12 -12
  18. package/package.json +12 -11
  19. package/web/assets/{core-DnpzcQzs.js → core-BHm2gdHL.js} +1 -1
  20. package/web/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2 +0 -0
  21. package/web/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2 +0 -0
  22. package/web/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2 +0 -0
  23. package/web/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  24. package/web/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2 +0 -0
  25. package/web/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2 +0 -0
  26. package/web/assets/{highlighted-diff-Dn5ifsvK.js → highlighted-diff-DrHvSLK9.js} +2 -2
  27. package/web/assets/{highlights-DnHv6NBM.js → highlights-1aLwssz-.js} +1 -1
  28. package/web/assets/{highlights-themes-CUdrlZk3.js → highlights-themes-C1p4pFYS.js} +1 -1
  29. package/web/assets/index-A_AUJoO6.css +1 -0
  30. package/web/assets/index-BafYMKiN.js +396 -0
  31. package/web/assets/{shiki-BuPP5HCg.js → shiki-BwyCm3kZ.js} +2 -2
  32. package/web/assets/{shiki-langs-FJk0v0Ga.js → shiki-langs-CMlALLSg.js} +1 -1
  33. package/web/assets/{stream-tokenizer-Bl6bisIa.js → stream-tokenizer-BlgIhw0y.js} +1 -1
  34. package/web/assets/{theming-themes-BL_CC-Mm.js → theming-themes-DDvoqEqT.js} +1 -1
  35. package/web/assets/{xterm-view-ZsuzJb2C.js → xterm-view-BnKOnF3C.js} +1 -1
  36. package/web/index.html +2 -2
  37. package/web/assets/index-BV0ecolo.css +0 -1
  38. package/web/assets/index-DNsTTgPE.js +0 -396
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/highlights-themes-CUdrlZk3.js","assets/index-DNsTTgPE.js","assets/index-BV0ecolo.css","assets/theming-themes-BL_CC-Mm.js","assets/highlights-DnHv6NBM.js","assets/stream-tokenizer-Bl6bisIa.js","assets/shiki-BuPP5HCg.js","assets/core-DnpzcQzs.js"])))=>i.map(i=>d[i]);
2
- var io=Object.defineProperty;var ro=(e,t,n)=>t in e?io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var w=(e,t,n)=>ro(e,typeof t!="symbol"?t+"":t,n);import{_ as dt,r as G,j as X}from"./index-DNsTTgPE.js";const qi="diffs-container";(()=>{try{return!1}catch{return!1}})();const oo=/(?=^From [a-f0-9]+ .+$)/m,Ki=/(?=^diff --git)/gm,so=new RegExp("(?<=\\n)"),ao=/^(---|\+\+\+)\s+([^\t\r\n]+)/,lo=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,Yi="header-prefix",Xi="header-filename-suffix",Zi="header-metadata",Dn="header-custom",Le={dark:"pierre-dark",light:"pierre-light"},uo="data-theme-css",co="data-unsafe-css",ho="data-diffs-scrollbar-measure",Ji="--diffs-scrollbar-gutter-measured",fo=1e5,go={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8},po=Object.freeze({fromStart:0,fromEnd:0}),Wn={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},Qi=Object.freeze([]),mo={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0};let Ie,an=0;var Mt=class extends Error{constructor(){super("Highlighter is disposed"),this.name="HighlighterDisposedError"}};function vo(){return Ie}function Tn(e){return e??Ie??"shiki-js"}function bo(e){if(Ie!=null&&Ie!==e)throw new Error(`Cannot load the "${e}" highlighter while "${Ie}" is in use. Only one highlighter type can be active at a time; dispose every "${Ie}" instance (disposeHighlighter() disposes the shared one) before switching.`)}function yo(e){bo(e),Ie=e,an++}function So(){an--,an===0&&(Ie=void 0)}const Ec=new Map,Rc=new Map,Ac=new Map,Co=new Set;function Hn(e=Le){const t=[];return typeof e=="string"?t.push(e):(t.push(e.dark),t.push(e.light)),t}function xo(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function Mn(e){let t;return()=>t??(t=e().then(n=>(t=n,n),n=>{throw t=void 0,n}))}function ko(e){return e!==null&&typeof e=="object"&&"default"in e?e.default:e}var wo=class extends Error{constructor(e){super(`Theme "${e}" is already registered`),this.name="DuplicateThemeError"}},Bn=class extends Error{constructor(e){super(`No loader registered for theme "${e}"`),this.name="UnregisteredThemeError"}},Lo=class extends Error{constructor(e){super(`Theme "${e}" has not been resolved`),this.name="UnresolvedThemeError"}};function Eo(e={}){const t=new Map,n=new Map,i=new Map;let r=0;function o(m,v){if(t.has(m))throw new wo(m);t.set(m,v)}function s(m,v){return t.has(m)?!1:(t.set(m,v),!0)}function l(m){return t.has(m)}function a(m){const v=n.get(m);if(v!==void 0)return Promise.resolve(v);const C=i.get(m);if(C!==void 0)return C;const y=t.get(m);if(y===void 0&&e.fallbackLoader===void 0)return Promise.reject(new Bn(m));const x=r,L=Promise.resolve().then(()=>{var k;return y!==void 0?y():(k=e.fallbackLoader)==null?void 0:k.call(e,m)}).then(async k=>{if(k===void 0)throw new Bn(m);const R=ko(k),H=e.normalizeTheme===void 0?R:await e.normalizeTheme(R,m);return x===r&&n.set(m,H),i.get(m)===L&&i.delete(m),H}).catch(k=>{throw i.get(m)===L&&i.delete(m),k});return i.set(m,L),L}function u(m){return Promise.all(m.map(v=>a(v)))}function d(m,v){n.set(m,v)}function c(m){for(const[v,C]of m)d(v,C)}function f(m){return n.get(m)}function h(m){const v=[];for(const C of m){const y=n.get(C);if(y===void 0)throw new Lo(C);v.push(y)}return v}function g(m){return n.has(m)}function p(m){for(const v of m)if(!n.has(v))return!1;return!0}function b(m){const v=n.get(m);return v!==void 0?v:a(m)}function S(){r++,n.clear(),i.clear()}return{clearResolvedThemes:S,getResolvedOrResolveTheme:b,getResolvedTheme:f,getResolvedThemes:h,hasRegisteredTheme:l,hasResolvedTheme:g,hasResolvedThemes:p,registerTheme:o,registerThemeIfAbsent:s,resolveTheme:a,resolveThemes:u,seedResolvedTheme:d,seedResolvedThemes:c}}const Ro=new Map,Vn=new Map,Ao=Mn(()=>dt(()=>import("./highlights-themes-CUdrlZk3.js"),__vite__mapDeps([0,1,2]))),Do=Mn(()=>dt(()=>import("./theming-themes-BL_CC-Mm.js"),__vite__mapDeps([3,1,2]))),To=Mn(()=>dt(()=>import("./core-DnpzcQzs.js").then(e=>e.b),[])),Ho=[["editor.lineHighlightBackground","editor.active_line.background"],["editor.selectionBackground","element.selected"],["editor.findMatchBackground","search.match_background"],["editor.findMatchHighlightBackground","search.match_background"],["editorBracketMatch.background","editor.document_highlight.bracket_background"],["editorError.foreground","error"],["editorWarning.foreground","warning"],["editorInfo.foreground","info"],["editorHint.foreground","hint"],["gitDecoration.addedResourceForeground","created","terminal.ansi.green"],["gitDecoration.deletedResourceForeground","deleted","terminal.ansi.red"],["gitDecoration.modifiedResourceForeground","modified","terminal.ansi.blue"]];function jn(e,t){var l;const n="themes"in t?t.themes[0]:t;if(n==null)throw new Error(`Theme "${e}" is an empty Zed theme family.`);const i={...n,name:e},r={};for(const[a,u]of Object.entries(i.style))typeof u=="string"&&(r[a]=u);const o=(l=i.style.players)==null?void 0:l[0];(o==null?void 0:o.cursor)!=null&&(r["editorCursor.foreground"]??(r["editorCursor.foreground"]=o.cursor)),(o==null?void 0:o.selection)!=null&&(r["editor.selectionBackground"]??(r["editor.selectionBackground"]=o.selection));for(const[a,...u]of Ho){if(r[a]!=null)continue;const d=u.find(c=>r[c]!=null);d!=null&&(r[a]=r[d])}if(i.cssVariables===!0)r["editor.foreground"]="var(--hls-foreground)",r["editor.background"]="var(--hls-background)";else if(typeof i.cssVariables=="object"){r["editor.foreground"]??(r["editor.foreground"]=r.text??r.foreground??"foreground"),r["editor.background"]??(r["editor.background"]=r.background??"background");const{prefix:a="--hls-",defaults:u}=i.cssVariables;for(const[d,c]of Object.entries(r)){const f=u==null?void 0:u[c];r[d]=`var(${a}${c}${f?`, ${f}`:""})`}}const s=i.appearance==="light"?"light":"dark";return{name:e,type:s,colors:r,zed:i,fg:r["editor.foreground"]??r.text??r.foreground??(s==="light"?"#333333":"#bbbbbb"),bg:r["editor.background"]??r.background??(s==="light"?"#ffffff":"#1e1e1e")}}function Mo(e){let t=Vn.get(e);return t!=null||(t=Eo({fallbackLoader:async n=>{if(typeof __DIFFS_WORKER__<"u"?__DIFFS_WORKER__:xo())throw new Error(`Theme "${n}" cannot be resolved from a worker context. Themes must be pre-resolved on the main thread and passed to the worker via the resolvedThemes parameter.`);const i=Ro.get(n);if(e==="highlights"){const r=(i==null?void 0:i.zed)??(i==null?void 0:i.diffs);if(r!=null){const a=await r(),u="default"in a?a.default:a;if("zed"in u&&u.zed!=null)return u;if("style"in u||"themes"in u)return jn(n,u);throw new Error(`Theme "${n}" is a TextMate theme; register a Zed theme with registerCustomTheme(name, loader, 'zed') for Highlights.`)}const o=Ao(),{themes:s}=o instanceof Promise?await o:o,l=s[n];if(l!=null)return jn(n,(await l()).default);if((i==null?void 0:i.textmate)!=null)throw new Error(`Theme "${n}" is only registered for TextMate; use registerCustomTheme(name, loader, 'zed') for Highlights.`)}else{const r=(i==null?void 0:i.textmate)??(i==null?void 0:i.diffs);let o;if(r!=null){const d=await r();o="default"in d?d.default:d}else{const d=Do(),{themes:c}=d instanceof Promise?await d:d,f=c.getTheme(n);if(f==null&&(i==null?void 0:i.zed)!=null)throw new Error(`Theme "${n}" is only registered for Zed; use registerCustomTheme(name, loader, 'textmate') for Shiki.`);if(f==null)throw new Error(`No valid theme loader registered for "${n}"`);const h=await f.load();o="default"in h?h.default:h}if("style"in o||"themes"in o)throw new Error(`Theme "${n}" is a Zed theme; use preferredHighlighter: 'highlights' or register a TextMate theme for Shiki.`);const s=To(),{normalizeTheme:l,createCssVariablesTheme:a}=s instanceof Promise?await s:s;if("cssVariables"in o&&o.cssVariables!=null)return{...o,textmate:l(a(o.cssVariables))};if("textmate"in o&&o.textmate!=null)return{...o,textmate:l(o.textmate)};const u=l(o);return{name:u.name,type:u.type,fg:u.fg,bg:u.bg,colors:u.colors,textmate:u}}throw new Error(`No valid theme loader registered for "${n}"`)},normalizeTheme:(n,i)=>{if(n.name!==i)throw new Error(`resolvedTheme: themeName: ${i} does not match theme.name: ${n.name}`);return n}}),Vn.set(e,t)),t}function ln(e,t=Tn()){return typeof t!="string"&&t.isDisposed?!1:(typeof t=="string"?Mo(t):t.themeResolver).hasResolvedThemes(Hn(e))}let me;async function Io(e){const t=Tn(e);yo(t);try{if(t==="highlights"){const{HighlightsHighlighter:i}=await dt(async()=>{const{HighlightsHighlighter:r}=await import("./highlights-DnHv6NBM.js");return{HighlightsHighlighter:r}},__vite__mapDeps([4,5,1,2]));return new i}const{ShikiHighlighter:n}=await dt(async()=>{const{ShikiHighlighter:i}=await import("./shiki-BuPP5HCg.js");return{ShikiHighlighter:i}},__vite__mapDeps([6,1,2,5,7]));return await n.create(t)}finally{So()}}async function In({themes:e,langs:t,preferredHighlighter:n}){er();const i=me??(me=Io(vo()??n));let r;try{r=await i}catch(o){throw me===i&&(me=void 0),o}if(me===i&&(me=r),await Promise.all([r.themeResolver.resolveThemes(e),r.loadLanguages(t)]),r.isDisposed)throw new Mt;return r}function er(){me!=null&&!("then"in me)&&me.isDisposed&&(me=void 0)}function Ge({theme:e,lang:t,langs:n}={}){er();const i=me;if(!(i==null||"then"in i||e!=null&&!ln(e,i)||(t!=null||n!=null)&&!i.hasLoadedLanguages([...t!=null?[t]:[],...n??[]])))return i}async function Po(e){await In(e)}const Ke=new Set;let Ye=null;function tr(e){Ke.add(e),Ye??(Ye=requestAnimationFrame(nr))}function dn(e){Ke.delete(e)&&Ke.size===0&&Ye!=null&&(cancelAnimationFrame(Ye),Ye=null)}function nr(e){const t=new Set(Ke);Ke.clear();for(const n of t)try{n(e)}catch(i){console.error(i)}Ke.size>0?Ye=requestAnimationFrame(nr):Ye=null}function un(e,t,n){if(e===t||e==null||t==null)return e===t;const i=new Set(n),r=Object.keys(e),o=new Set(Object.keys(t));for(const s of r)if(o.delete(s),!i.has(s)&&(!(s in t)||e[s]!==t[s]))return!1;for(const s of Array.from(o))if(!i.has(s))return!1;return!0}function Pn(e,t){return e==null||t==null||typeof e=="string"||typeof t=="string"?e===t:e.dark===t.dark&&e.light===t.light}function ir(e,t){const n=(e==null?void 0:e.theme)??Le,i=(t==null?void 0:t.theme)??Le,r=Gn(e),o=Gn(t);return Pn(n,i)&&un(e,t,["theme","parseDiffOptions"])&&un(r,o)}function Gn(e){if(e!=null&&"parseDiffOptions"in e)return e.parseDiffOptions}function cn(e,t){return(e==null?void 0:e.start)===(t==null?void 0:t.start)&&(e==null?void 0:e.end)===(t==null?void 0:t.end)&&(e==null?void 0:e.side)===(t==null?void 0:t.side)&&(e==null?void 0:e.endSide)===(t==null?void 0:t.endSide)}function ve(e){return{type:"text",value:e}}function z({tagName:e,children:t=[],properties:n={}}){return{type:"element",tagName:e,properties:n,children:t}}function It({name:e,width:t=16,height:n=16,properties:i}){return z({tagName:"svg",properties:{width:t,height:n,viewBox:"0 0 16 16",...i},children:[z({tagName:"use",properties:{href:`#${e.replace(/^#/,"")}`}})]})}function ht(e){return z({tagName:"div",properties:{"data-gutter":""},children:e})}function No(e,t,n,i={}){return z({tagName:"div",properties:{"data-line-type":e,"data-column-number":t,"data-line-index":n,...i},children:t!=null?[z({tagName:"span",properties:{"data-line-number-content":""},children:[ve(`${t}`)]})]:void 0})}function he(e,t,n){return z({tagName:"div",properties:{"data-gutter-buffer":t,"data-buffer-size":n,"data-line-type":t==="annotation"?void 0:e,style:t==="annotation"?`grid-row: span ${n};`:`grid-row: span ${n};min-height:calc(${n} * 1lh);`}})}function Fo(){return z({tagName:"button",properties:{"data-utility-button":"",type:"button"},children:[It({name:"diffs-icon-plus",properties:{"data-icon":""}})]})}const Oo=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ct{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}}ct.prototype.normal={};ct.prototype.property={};ct.prototype.space=void 0;function rr(e,t){const n={},i={};for(const r of e)Object.assign(n,r.property),Object.assign(i,r.normal);return new ct(n,i,t)}function hn(e){return e.toLowerCase()}class oe{constructor(t,n){this.attribute=n,this.property=t}}oe.prototype.attribute="";oe.prototype.booleanish=!1;oe.prototype.boolean=!1;oe.prototype.commaOrSpaceSeparated=!1;oe.prototype.commaSeparated=!1;oe.prototype.defined=!1;oe.prototype.mustUseProperty=!1;oe.prototype.number=!1;oe.prototype.overloadedBoolean=!1;oe.prototype.property="";oe.prototype.spaceSeparated=!1;oe.prototype.space=void 0;let zo=0;const P=We(),q=We(),fn=We(),A=We(),V=We(),Ue=We(),ae=We();function We(){return 2**++zo}const gn=Object.freeze(Object.defineProperty({__proto__:null,boolean:P,booleanish:q,commaOrSpaceSeparated:ae,commaSeparated:Ue,number:A,overloadedBoolean:fn,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),_t=Object.keys(gn);class Nn extends oe{constructor(t,n,i,r){let o=-1;if(super(t,n),qn(this,"space",r),typeof i=="number")for(;++o<_t.length;){const s=_t[o];qn(this,_t[o],(i&gn[s])===gn[s])}}}Nn.prototype.defined=!0;function qn(e,t,n){n&&(e[t]=n)}function Ze(e){const t={},n={};for(const[i,r]of Object.entries(e.properties)){const o=new Nn(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[hn(i)]=i,n[hn(o.attribute)]=i}return new ct(t,n,e.space)}const or=Ze({properties:{ariaActiveDescendant:null,ariaAtomic:q,ariaAutoComplete:null,ariaBusy:q,ariaChecked:q,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:q,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:q,ariaFlowTo:V,ariaGrabbed:q,ariaHasPopup:null,ariaHidden:q,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:A,ariaLive:null,ariaModal:q,ariaMultiLine:q,ariaMultiSelectable:q,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:q,ariaReadOnly:q,ariaRelevant:null,ariaRequired:q,ariaRoleDescription:V,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:q,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function sr(e,t){return t in e?e[t]:t}function ar(e,t){return sr(e,t.toLowerCase())}const Uo=Ze({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ue,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:P,allowPaymentRequest:P,allowUserMedia:P,alpha:P,alt:null,as:null,async:P,autoCapitalize:null,autoComplete:V,autoFocus:P,autoPlay:P,blocking:V,capture:null,charSet:null,checked:P,cite:null,className:V,closedBy:null,colorSpace:null,cols:A,colSpan:A,command:null,commandFor:null,content:null,contentEditable:q,controls:P,controlsList:V,coords:A|Ue,crossOrigin:null,data:null,dateTime:null,decoding:null,default:P,defer:P,dir:null,dirName:null,disabled:P,download:fn,draggable:q,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:P,formTarget:null,headers:V,height:A,hidden:fn,high:A,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:P,inputMode:null,integrity:null,is:null,isMap:P,itemId:null,itemProp:V,itemRef:V,itemScope:P,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:P,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:P,muted:P,name:null,nonce:null,noModule:P,noValidate:P,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:P,optimum:A,pattern:null,ping:V,placeholder:null,playsInline:P,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:P,referrerPolicy:null,rel:V,required:P,reversed:P,rows:A,rowSpan:A,sandbox:V,scope:null,scoped:P,seamless:P,selected:P,shadowRootClonable:P,shadowRootCustomElementRegistry:P,shadowRootDelegatesFocus:P,shadowRootMode:null,shadowRootSerializable:P,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:q,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:P,useMap:null,value:q,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:P,declare:P,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:P,noHref:P,noShade:P,noWrap:P,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:q,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:P,disablePictureInPicture:P,disableRemotePlayback:P,exportParts:Ue,part:V,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:ar}),_o=Ze({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",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ae,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:V,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:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:P,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:Ue,g2:Ue,glyphName:Ue,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:ae,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ae,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ae,rev:ae,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ae,requiredFeatures:ae,requiredFonts:ae,requiredFormats:ae,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:ae,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ae,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ae,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:sr}),lr=Ze({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),dr=Ze({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ar}),ur=Ze({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$o=/[A-Z]/g,Kn=/-[a-z]/g,Wo=/^data[-\w.:]+$/i;function Bo(e,t){const n=hn(t);let i=t,r=oe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Wo.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Kn,jo);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Kn.test(o)){let s=o.replace($o,Vo);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}r=Nn}return new r(i,t)}function Vo(e){return"-"+e.toLowerCase()}function jo(e){return e.charAt(1).toUpperCase()}const Go=rr([or,Uo,lr,dr,ur],"html"),cr=rr([or,_o,lr,dr,ur],"svg"),Yn={}.hasOwnProperty;function qo(e,t){const n=t||{};function i(r,...o){let s=i.invalid;const l=i.handlers;if(r&&Yn.call(r,e)){const a=String(r[e]);s=Yn.call(l,a)?l[a]:i.unknown}if(s)return s.call(this,r,...o)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}const Ko=/["&'<>`]/g,Yo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xo=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Zo=/[|\\{}()[\]^$+*?.]/g,Xn=new WeakMap;function Jo(e,t){if(e=e.replace(t.subset?Qo(t.subset):Ko,i),t.subset||t.escapeOnly)return e;return e.replace(Yo,n).replace(Xo,i);function n(r,o,s){return t.format((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),t)}function i(r,o,s){return t.format(r.charCodeAt(0),s.charCodeAt(o+1),t)}}function Qo(e){let t=Xn.get(e);return t||(t=es(e),Xn.set(e,t)),t}function es(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Zo,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const ts=/[\dA-Fa-f]/;function ns(e,t,n){const i="&#x"+e.toString(16).toUpperCase();return n&&t&&!ts.test(String.fromCharCode(t))?i:i+";"}const is=/\d/;function rs(e,t,n){const i="&#"+String(e);return n&&t&&!is.test(String.fromCharCode(t))?i:i+";"}const os=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],$t={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ss=["cent","copy","divide","gt","lt","not","para","times"],hr={}.hasOwnProperty,pn={};let ft;for(ft in $t)hr.call($t,ft)&&(pn[$t[ft]]=ft);const as=/[^\dA-Za-z]/;function ls(e,t,n,i){const r=String.fromCharCode(e);if(hr.call(pn,r)){const o=pn[r],s="&"+o;return n&&os.includes(o)&&!ss.includes(o)&&(!i||t&&t!==61&&as.test(String.fromCharCode(t)))?s:s+";"}return""}function ds(e,t,n){let i=ns(e,t,n.omitOptionalSemicolons),r;if((n.useNamedReferences||n.useShortestReferences)&&(r=ls(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const o=rs(e,t,n.omitOptionalSemicolons);o.length<i.length&&(i=o)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function Xe(e,t){return Jo(e,Object.assign({format:ds},t))}const us=/^>|^->|<!--|-->|--!>|<!-$/g,cs=[">"],hs=["<",">"];function fs(e,t,n,i){return i.settings.bogusComments?"<?"+Xe(e.value,Object.assign({},i.settings.characterReferences,{subset:cs}))+">":"<!--"+e.value.replace(us,r)+"-->";function r(o){return Xe(o,Object.assign({},i.settings.characterReferences,{subset:hs}))}}function gs(e,t,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Zn(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let i=0,r=n.indexOf(t);for(;r!==-1;)i++,r=n.indexOf(t,r+t.length);return i}function ps(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function ms(e){return e.join(" ").trim()}const vs=/[ \t\n\f\r]/g;function Fn(e){return typeof e=="object"?e.type==="text"?Jn(e.value):!1:Jn(e)}function Jn(e){return e.replace(vs,"")===""}const Y=gr(1),fr=gr(-1),bs=[];function gr(e){return t;function t(n,i,r){const o=n?n.children:bs;let s=(i||0)+e,l=o[s];if(!r)for(;l&&Fn(l);)s+=e,l=o[s];return l}}const ys={}.hasOwnProperty;function pr(e){return t;function t(n,i,r){return ys.call(e,n.tagName)&&e[n.tagName](n,i,r)}}const On=pr({body:Cs,caption:Wt,colgroup:Wt,dd:Ls,dt:ws,head:Wt,html:Ss,li:ks,optgroup:Es,option:Rs,p:xs,rp:Qn,rt:Qn,tbody:Ds,td:ei,tfoot:Ts,th:ei,thead:As,tr:Hs});function Wt(e,t,n){const i=Y(n,t,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&Fn(i.value.charAt(0)))}function Ss(e,t,n){const i=Y(n,t);return!i||i.type!=="comment"}function Cs(e,t,n){const i=Y(n,t);return!i||i.type!=="comment"}function xs(e,t,n){const i=Y(n,t);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function ks(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&i.tagName==="li"}function ws(e,t,n){const i=Y(n,t);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function Ls(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function Qn(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function Es(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&i.tagName==="optgroup"}function Rs(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function As(e,t,n){const i=Y(n,t);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function Ds(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function Ts(e,t,n){return!Y(n,t)}function Hs(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&i.tagName==="tr"}function ei(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const Ms=pr({body:Ns,colgroup:Fs,head:Ps,html:Is,tbody:Os});function Is(e){const t=Y(e,-1);return!t||t.type!=="comment"}function Ps(e){const t=new Set;for(const i of e.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(t.has(i.tagName))return!1;t.add(i.tagName)}const n=e.children[0];return!n||n.type==="element"}function Ns(e){const t=Y(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Fn(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Fs(e,t,n){const i=fr(n,t),r=Y(e,-1,!0);return n&&i&&i.type==="element"&&i.tagName==="colgroup"&&On(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function Os(e,t,n){const i=fr(n,t),r=Y(e,-1);return n&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&On(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const gt={name:[[`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/highlights-themes-C1p4pFYS.js","assets/index-BafYMKiN.js","assets/index-A_AUJoO6.css","assets/theming-themes-DDvoqEqT.js","assets/highlights-1aLwssz-.js","assets/stream-tokenizer-BlgIhw0y.js","assets/shiki-BwyCm3kZ.js","assets/core-BHm2gdHL.js"])))=>i.map(i=>d[i]);
2
+ var io=Object.defineProperty;var ro=(e,t,n)=>t in e?io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var w=(e,t,n)=>ro(e,typeof t!="symbol"?t+"":t,n);import{_ as dt,r as G,j as X}from"./index-BafYMKiN.js";const qi="diffs-container";(()=>{try{return!1}catch{return!1}})();const oo=/(?=^From [a-f0-9]+ .+$)/m,Ki=/(?=^diff --git)/gm,so=new RegExp("(?<=\\n)"),ao=/^(---|\+\+\+)\s+([^\t\r\n]+)/,lo=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,Yi="header-prefix",Xi="header-filename-suffix",Zi="header-metadata",Dn="header-custom",Le={dark:"pierre-dark",light:"pierre-light"},uo="data-theme-css",co="data-unsafe-css",ho="data-diffs-scrollbar-measure",Ji="--diffs-scrollbar-gutter-measured",fo=1e5,go={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8},po=Object.freeze({fromStart:0,fromEnd:0}),Wn={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},Qi=Object.freeze([]),mo={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0};let Ie,an=0;var Mt=class extends Error{constructor(){super("Highlighter is disposed"),this.name="HighlighterDisposedError"}};function vo(){return Ie}function Tn(e){return e??Ie??"shiki-js"}function bo(e){if(Ie!=null&&Ie!==e)throw new Error(`Cannot load the "${e}" highlighter while "${Ie}" is in use. Only one highlighter type can be active at a time; dispose every "${Ie}" instance (disposeHighlighter() disposes the shared one) before switching.`)}function yo(e){bo(e),Ie=e,an++}function So(){an--,an===0&&(Ie=void 0)}const Ec=new Map,Rc=new Map,Ac=new Map,Co=new Set;function Hn(e=Le){const t=[];return typeof e=="string"?t.push(e):(t.push(e.dark),t.push(e.light)),t}function xo(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function Mn(e){let t;return()=>t??(t=e().then(n=>(t=n,n),n=>{throw t=void 0,n}))}function ko(e){return e!==null&&typeof e=="object"&&"default"in e?e.default:e}var wo=class extends Error{constructor(e){super(`Theme "${e}" is already registered`),this.name="DuplicateThemeError"}},Bn=class extends Error{constructor(e){super(`No loader registered for theme "${e}"`),this.name="UnregisteredThemeError"}},Lo=class extends Error{constructor(e){super(`Theme "${e}" has not been resolved`),this.name="UnresolvedThemeError"}};function Eo(e={}){const t=new Map,n=new Map,i=new Map;let r=0;function o(m,v){if(t.has(m))throw new wo(m);t.set(m,v)}function s(m,v){return t.has(m)?!1:(t.set(m,v),!0)}function l(m){return t.has(m)}function a(m){const v=n.get(m);if(v!==void 0)return Promise.resolve(v);const C=i.get(m);if(C!==void 0)return C;const y=t.get(m);if(y===void 0&&e.fallbackLoader===void 0)return Promise.reject(new Bn(m));const x=r,L=Promise.resolve().then(()=>{var k;return y!==void 0?y():(k=e.fallbackLoader)==null?void 0:k.call(e,m)}).then(async k=>{if(k===void 0)throw new Bn(m);const R=ko(k),H=e.normalizeTheme===void 0?R:await e.normalizeTheme(R,m);return x===r&&n.set(m,H),i.get(m)===L&&i.delete(m),H}).catch(k=>{throw i.get(m)===L&&i.delete(m),k});return i.set(m,L),L}function u(m){return Promise.all(m.map(v=>a(v)))}function d(m,v){n.set(m,v)}function c(m){for(const[v,C]of m)d(v,C)}function f(m){return n.get(m)}function h(m){const v=[];for(const C of m){const y=n.get(C);if(y===void 0)throw new Lo(C);v.push(y)}return v}function g(m){return n.has(m)}function p(m){for(const v of m)if(!n.has(v))return!1;return!0}function b(m){const v=n.get(m);return v!==void 0?v:a(m)}function S(){r++,n.clear(),i.clear()}return{clearResolvedThemes:S,getResolvedOrResolveTheme:b,getResolvedTheme:f,getResolvedThemes:h,hasRegisteredTheme:l,hasResolvedTheme:g,hasResolvedThemes:p,registerTheme:o,registerThemeIfAbsent:s,resolveTheme:a,resolveThemes:u,seedResolvedTheme:d,seedResolvedThemes:c}}const Ro=new Map,Vn=new Map,Ao=Mn(()=>dt(()=>import("./highlights-themes-C1p4pFYS.js"),__vite__mapDeps([0,1,2]))),Do=Mn(()=>dt(()=>import("./theming-themes-DDvoqEqT.js"),__vite__mapDeps([3,1,2]))),To=Mn(()=>dt(()=>import("./core-BHm2gdHL.js").then(e=>e.b),[])),Ho=[["editor.lineHighlightBackground","editor.active_line.background"],["editor.selectionBackground","element.selected"],["editor.findMatchBackground","search.match_background"],["editor.findMatchHighlightBackground","search.match_background"],["editorBracketMatch.background","editor.document_highlight.bracket_background"],["editorError.foreground","error"],["editorWarning.foreground","warning"],["editorInfo.foreground","info"],["editorHint.foreground","hint"],["gitDecoration.addedResourceForeground","created","terminal.ansi.green"],["gitDecoration.deletedResourceForeground","deleted","terminal.ansi.red"],["gitDecoration.modifiedResourceForeground","modified","terminal.ansi.blue"]];function jn(e,t){var l;const n="themes"in t?t.themes[0]:t;if(n==null)throw new Error(`Theme "${e}" is an empty Zed theme family.`);const i={...n,name:e},r={};for(const[a,u]of Object.entries(i.style))typeof u=="string"&&(r[a]=u);const o=(l=i.style.players)==null?void 0:l[0];(o==null?void 0:o.cursor)!=null&&(r["editorCursor.foreground"]??(r["editorCursor.foreground"]=o.cursor)),(o==null?void 0:o.selection)!=null&&(r["editor.selectionBackground"]??(r["editor.selectionBackground"]=o.selection));for(const[a,...u]of Ho){if(r[a]!=null)continue;const d=u.find(c=>r[c]!=null);d!=null&&(r[a]=r[d])}if(i.cssVariables===!0)r["editor.foreground"]="var(--hls-foreground)",r["editor.background"]="var(--hls-background)";else if(typeof i.cssVariables=="object"){r["editor.foreground"]??(r["editor.foreground"]=r.text??r.foreground??"foreground"),r["editor.background"]??(r["editor.background"]=r.background??"background");const{prefix:a="--hls-",defaults:u}=i.cssVariables;for(const[d,c]of Object.entries(r)){const f=u==null?void 0:u[c];r[d]=`var(${a}${c}${f?`, ${f}`:""})`}}const s=i.appearance==="light"?"light":"dark";return{name:e,type:s,colors:r,zed:i,fg:r["editor.foreground"]??r.text??r.foreground??(s==="light"?"#333333":"#bbbbbb"),bg:r["editor.background"]??r.background??(s==="light"?"#ffffff":"#1e1e1e")}}function Mo(e){let t=Vn.get(e);return t!=null||(t=Eo({fallbackLoader:async n=>{if(typeof __DIFFS_WORKER__<"u"?__DIFFS_WORKER__:xo())throw new Error(`Theme "${n}" cannot be resolved from a worker context. Themes must be pre-resolved on the main thread and passed to the worker via the resolvedThemes parameter.`);const i=Ro.get(n);if(e==="highlights"){const r=(i==null?void 0:i.zed)??(i==null?void 0:i.diffs);if(r!=null){const a=await r(),u="default"in a?a.default:a;if("zed"in u&&u.zed!=null)return u;if("style"in u||"themes"in u)return jn(n,u);throw new Error(`Theme "${n}" is a TextMate theme; register a Zed theme with registerCustomTheme(name, loader, 'zed') for Highlights.`)}const o=Ao(),{themes:s}=o instanceof Promise?await o:o,l=s[n];if(l!=null)return jn(n,(await l()).default);if((i==null?void 0:i.textmate)!=null)throw new Error(`Theme "${n}" is only registered for TextMate; use registerCustomTheme(name, loader, 'zed') for Highlights.`)}else{const r=(i==null?void 0:i.textmate)??(i==null?void 0:i.diffs);let o;if(r!=null){const d=await r();o="default"in d?d.default:d}else{const d=Do(),{themes:c}=d instanceof Promise?await d:d,f=c.getTheme(n);if(f==null&&(i==null?void 0:i.zed)!=null)throw new Error(`Theme "${n}" is only registered for Zed; use registerCustomTheme(name, loader, 'textmate') for Shiki.`);if(f==null)throw new Error(`No valid theme loader registered for "${n}"`);const h=await f.load();o="default"in h?h.default:h}if("style"in o||"themes"in o)throw new Error(`Theme "${n}" is a Zed theme; use preferredHighlighter: 'highlights' or register a TextMate theme for Shiki.`);const s=To(),{normalizeTheme:l,createCssVariablesTheme:a}=s instanceof Promise?await s:s;if("cssVariables"in o&&o.cssVariables!=null)return{...o,textmate:l(a(o.cssVariables))};if("textmate"in o&&o.textmate!=null)return{...o,textmate:l(o.textmate)};const u=l(o);return{name:u.name,type:u.type,fg:u.fg,bg:u.bg,colors:u.colors,textmate:u}}throw new Error(`No valid theme loader registered for "${n}"`)},normalizeTheme:(n,i)=>{if(n.name!==i)throw new Error(`resolvedTheme: themeName: ${i} does not match theme.name: ${n.name}`);return n}}),Vn.set(e,t)),t}function ln(e,t=Tn()){return typeof t!="string"&&t.isDisposed?!1:(typeof t=="string"?Mo(t):t.themeResolver).hasResolvedThemes(Hn(e))}let me;async function Io(e){const t=Tn(e);yo(t);try{if(t==="highlights"){const{HighlightsHighlighter:i}=await dt(async()=>{const{HighlightsHighlighter:r}=await import("./highlights-1aLwssz-.js");return{HighlightsHighlighter:r}},__vite__mapDeps([4,5,1,2]));return new i}const{ShikiHighlighter:n}=await dt(async()=>{const{ShikiHighlighter:i}=await import("./shiki-BwyCm3kZ.js");return{ShikiHighlighter:i}},__vite__mapDeps([6,1,2,5,7]));return await n.create(t)}finally{So()}}async function In({themes:e,langs:t,preferredHighlighter:n}){er();const i=me??(me=Io(vo()??n));let r;try{r=await i}catch(o){throw me===i&&(me=void 0),o}if(me===i&&(me=r),await Promise.all([r.themeResolver.resolveThemes(e),r.loadLanguages(t)]),r.isDisposed)throw new Mt;return r}function er(){me!=null&&!("then"in me)&&me.isDisposed&&(me=void 0)}function Ge({theme:e,lang:t,langs:n}={}){er();const i=me;if(!(i==null||"then"in i||e!=null&&!ln(e,i)||(t!=null||n!=null)&&!i.hasLoadedLanguages([...t!=null?[t]:[],...n??[]])))return i}async function Po(e){await In(e)}const Ke=new Set;let Ye=null;function tr(e){Ke.add(e),Ye??(Ye=requestAnimationFrame(nr))}function dn(e){Ke.delete(e)&&Ke.size===0&&Ye!=null&&(cancelAnimationFrame(Ye),Ye=null)}function nr(e){const t=new Set(Ke);Ke.clear();for(const n of t)try{n(e)}catch(i){console.error(i)}Ke.size>0?Ye=requestAnimationFrame(nr):Ye=null}function un(e,t,n){if(e===t||e==null||t==null)return e===t;const i=new Set(n),r=Object.keys(e),o=new Set(Object.keys(t));for(const s of r)if(o.delete(s),!i.has(s)&&(!(s in t)||e[s]!==t[s]))return!1;for(const s of Array.from(o))if(!i.has(s))return!1;return!0}function Pn(e,t){return e==null||t==null||typeof e=="string"||typeof t=="string"?e===t:e.dark===t.dark&&e.light===t.light}function ir(e,t){const n=(e==null?void 0:e.theme)??Le,i=(t==null?void 0:t.theme)??Le,r=Gn(e),o=Gn(t);return Pn(n,i)&&un(e,t,["theme","parseDiffOptions"])&&un(r,o)}function Gn(e){if(e!=null&&"parseDiffOptions"in e)return e.parseDiffOptions}function cn(e,t){return(e==null?void 0:e.start)===(t==null?void 0:t.start)&&(e==null?void 0:e.end)===(t==null?void 0:t.end)&&(e==null?void 0:e.side)===(t==null?void 0:t.side)&&(e==null?void 0:e.endSide)===(t==null?void 0:t.endSide)}function ve(e){return{type:"text",value:e}}function z({tagName:e,children:t=[],properties:n={}}){return{type:"element",tagName:e,properties:n,children:t}}function It({name:e,width:t=16,height:n=16,properties:i}){return z({tagName:"svg",properties:{width:t,height:n,viewBox:"0 0 16 16",...i},children:[z({tagName:"use",properties:{href:`#${e.replace(/^#/,"")}`}})]})}function ht(e){return z({tagName:"div",properties:{"data-gutter":""},children:e})}function No(e,t,n,i={}){return z({tagName:"div",properties:{"data-line-type":e,"data-column-number":t,"data-line-index":n,...i},children:t!=null?[z({tagName:"span",properties:{"data-line-number-content":""},children:[ve(`${t}`)]})]:void 0})}function he(e,t,n){return z({tagName:"div",properties:{"data-gutter-buffer":t,"data-buffer-size":n,"data-line-type":t==="annotation"?void 0:e,style:t==="annotation"?`grid-row: span ${n};`:`grid-row: span ${n};min-height:calc(${n} * 1lh);`}})}function Fo(){return z({tagName:"button",properties:{"data-utility-button":"",type:"button"},children:[It({name:"diffs-icon-plus",properties:{"data-icon":""}})]})}const Oo=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ct{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}}ct.prototype.normal={};ct.prototype.property={};ct.prototype.space=void 0;function rr(e,t){const n={},i={};for(const r of e)Object.assign(n,r.property),Object.assign(i,r.normal);return new ct(n,i,t)}function hn(e){return e.toLowerCase()}class oe{constructor(t,n){this.attribute=n,this.property=t}}oe.prototype.attribute="";oe.prototype.booleanish=!1;oe.prototype.boolean=!1;oe.prototype.commaOrSpaceSeparated=!1;oe.prototype.commaSeparated=!1;oe.prototype.defined=!1;oe.prototype.mustUseProperty=!1;oe.prototype.number=!1;oe.prototype.overloadedBoolean=!1;oe.prototype.property="";oe.prototype.spaceSeparated=!1;oe.prototype.space=void 0;let zo=0;const P=We(),q=We(),fn=We(),A=We(),V=We(),Ue=We(),ae=We();function We(){return 2**++zo}const gn=Object.freeze(Object.defineProperty({__proto__:null,boolean:P,booleanish:q,commaOrSpaceSeparated:ae,commaSeparated:Ue,number:A,overloadedBoolean:fn,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),_t=Object.keys(gn);class Nn extends oe{constructor(t,n,i,r){let o=-1;if(super(t,n),qn(this,"space",r),typeof i=="number")for(;++o<_t.length;){const s=_t[o];qn(this,_t[o],(i&gn[s])===gn[s])}}}Nn.prototype.defined=!0;function qn(e,t,n){n&&(e[t]=n)}function Ze(e){const t={},n={};for(const[i,r]of Object.entries(e.properties)){const o=new Nn(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[hn(i)]=i,n[hn(o.attribute)]=i}return new ct(t,n,e.space)}const or=Ze({properties:{ariaActiveDescendant:null,ariaAtomic:q,ariaAutoComplete:null,ariaBusy:q,ariaChecked:q,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:q,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:q,ariaFlowTo:V,ariaGrabbed:q,ariaHasPopup:null,ariaHidden:q,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:A,ariaLive:null,ariaModal:q,ariaMultiLine:q,ariaMultiSelectable:q,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:q,ariaReadOnly:q,ariaRelevant:null,ariaRequired:q,ariaRoleDescription:V,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:q,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function sr(e,t){return t in e?e[t]:t}function ar(e,t){return sr(e,t.toLowerCase())}const Uo=Ze({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ue,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:P,allowPaymentRequest:P,allowUserMedia:P,alpha:P,alt:null,as:null,async:P,autoCapitalize:null,autoComplete:V,autoFocus:P,autoPlay:P,blocking:V,capture:null,charSet:null,checked:P,cite:null,className:V,closedBy:null,colorSpace:null,cols:A,colSpan:A,command:null,commandFor:null,content:null,contentEditable:q,controls:P,controlsList:V,coords:A|Ue,crossOrigin:null,data:null,dateTime:null,decoding:null,default:P,defer:P,dir:null,dirName:null,disabled:P,download:fn,draggable:q,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:P,formTarget:null,headers:V,height:A,hidden:fn,high:A,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:P,inputMode:null,integrity:null,is:null,isMap:P,itemId:null,itemProp:V,itemRef:V,itemScope:P,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:P,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:P,muted:P,name:null,nonce:null,noModule:P,noValidate:P,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:P,optimum:A,pattern:null,ping:V,placeholder:null,playsInline:P,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:P,referrerPolicy:null,rel:V,required:P,reversed:P,rows:A,rowSpan:A,sandbox:V,scope:null,scoped:P,seamless:P,selected:P,shadowRootClonable:P,shadowRootCustomElementRegistry:P,shadowRootDelegatesFocus:P,shadowRootMode:null,shadowRootSerializable:P,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:q,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:P,useMap:null,value:q,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:P,declare:P,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:P,noHref:P,noShade:P,noWrap:P,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:q,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:P,disablePictureInPicture:P,disableRemotePlayback:P,exportParts:Ue,part:V,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:ar}),_o=Ze({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",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ae,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:V,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:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:P,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:Ue,g2:Ue,glyphName:Ue,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:ae,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ae,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ae,rev:ae,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ae,requiredFeatures:ae,requiredFonts:ae,requiredFormats:ae,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:ae,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ae,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ae,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:sr}),lr=Ze({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),dr=Ze({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ar}),ur=Ze({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$o=/[A-Z]/g,Kn=/-[a-z]/g,Wo=/^data[-\w.:]+$/i;function Bo(e,t){const n=hn(t);let i=t,r=oe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Wo.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Kn,jo);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Kn.test(o)){let s=o.replace($o,Vo);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}r=Nn}return new r(i,t)}function Vo(e){return"-"+e.toLowerCase()}function jo(e){return e.charAt(1).toUpperCase()}const Go=rr([or,Uo,lr,dr,ur],"html"),cr=rr([or,_o,lr,dr,ur],"svg"),Yn={}.hasOwnProperty;function qo(e,t){const n=t||{};function i(r,...o){let s=i.invalid;const l=i.handlers;if(r&&Yn.call(r,e)){const a=String(r[e]);s=Yn.call(l,a)?l[a]:i.unknown}if(s)return s.call(this,r,...o)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}const Ko=/["&'<>`]/g,Yo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xo=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Zo=/[|\\{}()[\]^$+*?.]/g,Xn=new WeakMap;function Jo(e,t){if(e=e.replace(t.subset?Qo(t.subset):Ko,i),t.subset||t.escapeOnly)return e;return e.replace(Yo,n).replace(Xo,i);function n(r,o,s){return t.format((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),t)}function i(r,o,s){return t.format(r.charCodeAt(0),s.charCodeAt(o+1),t)}}function Qo(e){let t=Xn.get(e);return t||(t=es(e),Xn.set(e,t)),t}function es(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Zo,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const ts=/[\dA-Fa-f]/;function ns(e,t,n){const i="&#x"+e.toString(16).toUpperCase();return n&&t&&!ts.test(String.fromCharCode(t))?i:i+";"}const is=/\d/;function rs(e,t,n){const i="&#"+String(e);return n&&t&&!is.test(String.fromCharCode(t))?i:i+";"}const os=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],$t={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ss=["cent","copy","divide","gt","lt","not","para","times"],hr={}.hasOwnProperty,pn={};let ft;for(ft in $t)hr.call($t,ft)&&(pn[$t[ft]]=ft);const as=/[^\dA-Za-z]/;function ls(e,t,n,i){const r=String.fromCharCode(e);if(hr.call(pn,r)){const o=pn[r],s="&"+o;return n&&os.includes(o)&&!ss.includes(o)&&(!i||t&&t!==61&&as.test(String.fromCharCode(t)))?s:s+";"}return""}function ds(e,t,n){let i=ns(e,t,n.omitOptionalSemicolons),r;if((n.useNamedReferences||n.useShortestReferences)&&(r=ls(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const o=rs(e,t,n.omitOptionalSemicolons);o.length<i.length&&(i=o)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function Xe(e,t){return Jo(e,Object.assign({format:ds},t))}const us=/^>|^->|<!--|-->|--!>|<!-$/g,cs=[">"],hs=["<",">"];function fs(e,t,n,i){return i.settings.bogusComments?"<?"+Xe(e.value,Object.assign({},i.settings.characterReferences,{subset:cs}))+">":"<!--"+e.value.replace(us,r)+"-->";function r(o){return Xe(o,Object.assign({},i.settings.characterReferences,{subset:hs}))}}function gs(e,t,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Zn(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let i=0,r=n.indexOf(t);for(;r!==-1;)i++,r=n.indexOf(t,r+t.length);return i}function ps(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function ms(e){return e.join(" ").trim()}const vs=/[ \t\n\f\r]/g;function Fn(e){return typeof e=="object"?e.type==="text"?Jn(e.value):!1:Jn(e)}function Jn(e){return e.replace(vs,"")===""}const Y=gr(1),fr=gr(-1),bs=[];function gr(e){return t;function t(n,i,r){const o=n?n.children:bs;let s=(i||0)+e,l=o[s];if(!r)for(;l&&Fn(l);)s+=e,l=o[s];return l}}const ys={}.hasOwnProperty;function pr(e){return t;function t(n,i,r){return ys.call(e,n.tagName)&&e[n.tagName](n,i,r)}}const On=pr({body:Cs,caption:Wt,colgroup:Wt,dd:Ls,dt:ws,head:Wt,html:Ss,li:ks,optgroup:Es,option:Rs,p:xs,rp:Qn,rt:Qn,tbody:Ds,td:ei,tfoot:Ts,th:ei,thead:As,tr:Hs});function Wt(e,t,n){const i=Y(n,t,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&Fn(i.value.charAt(0)))}function Ss(e,t,n){const i=Y(n,t);return!i||i.type!=="comment"}function Cs(e,t,n){const i=Y(n,t);return!i||i.type!=="comment"}function xs(e,t,n){const i=Y(n,t);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function ks(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&i.tagName==="li"}function ws(e,t,n){const i=Y(n,t);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function Ls(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function Qn(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function Es(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&i.tagName==="optgroup"}function Rs(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function As(e,t,n){const i=Y(n,t);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function Ds(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function Ts(e,t,n){return!Y(n,t)}function Hs(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&i.tagName==="tr"}function ei(e,t,n){const i=Y(n,t);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const Ms=pr({body:Ns,colgroup:Fs,head:Ps,html:Is,tbody:Os});function Is(e){const t=Y(e,-1);return!t||t.type!=="comment"}function Ps(e){const t=new Set;for(const i of e.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(t.has(i.tagName))return!1;t.add(i.tagName)}const n=e.children[0];return!n||n.type==="element"}function Ns(e){const t=Y(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Fn(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Fs(e,t,n){const i=fr(n,t),r=Y(e,-1,!0);return n&&i&&i.type==="element"&&i.tagName==="colgroup"&&On(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function Os(e,t,n){const i=fr(n,t),r=Y(e,-1);return n&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&On(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const gt={name:[[`
3
3
  \f\r &/=>`.split(""),`
4
4
  \f\r "&'/=>\``.split("")],[`\0
5
5
  \f\r "&'/<=>`.split(""),`\0