i-plane 1.1.2 → 2.0.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.
package/dist/cli.js CHANGED
@@ -1,147 +1,39 @@
1
1
  #!/usr/bin/env node
2
- import{createRequire as Dp}from"node:module";var _p=Object.create;var{getPrototypeOf:yp,defineProperty:Si,getOwnPropertyNames:vp}=Object;var Ep=Object.prototype.hasOwnProperty;function wp(e){return this[e]}var kp,Cp,Ni=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var a=t?kp??=new WeakMap:Cp??=new WeakMap,i=a.get(e);if(i)return i}r=e!=null?_p(yp(e)):{};let s=t||!e||!e.__esModule?Si(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let o of vp(e))if(!Ep.call(s,o))Si(s,o,{get:wp.bind(e,o),enumerable:!0})}if(n)a.set(e,s);return s};var P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Tp=(e)=>e;function Ap(e,t){this[e]=Tp.bind(null,t)}var mc=(e,t)=>{for(var r in t)Si(e,r,{get:t[r],enumerable:!0,configurable:!0,set:Ap.bind(t,r)})};var xc=Dp(import.meta.url);var Cl=P(function(Av,kl){var bm=/^xn--/,_m=/[^\0-\x7F]/,ym=/[\x2E\u3002\uFF0E\uFF61]/g,vm={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ht=Math.floor,ts=String.fromCharCode;function Ht(e){throw RangeError(vm[e])}function Em(e,t){let r=[],n=e.length;while(n--)r[n]=t(e[n]);return r}function _l(e,t){let r=e.split("@"),n="";if(r.length>1)n=r[0]+"@",e=r[1];e=e.replace(ym,".");let a=e.split("."),i=Em(a,t).join(".");return n+i}function yl(e){let t=[],r=0,n=e.length;while(r<n){let a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){let i=e.charCodeAt(r++);if((i&64512)==56320)t.push(((a&1023)<<10)+(i&1023)+65536);else t.push(a),r--}else t.push(a)}return t}var wm=(e)=>String.fromCodePoint(...e),km=function(e){if(e>=48&&e<58)return 26+(e-48);if(e>=65&&e<91)return e-65;if(e>=97&&e<123)return e-97;return 36},bl=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},vl=function(e,t,r){let n=0;e=r?ht(e/700):e>>1,e+=ht(e/t);for(;e>455;n+=36)e=ht(e/35);return ht(n+36*e/(e+38))},El=function(e){let t=[],r=e.length,n=0,a=128,i=72,s=e.lastIndexOf("-");if(s<0)s=0;for(let o=0;o<s;++o){if(e.charCodeAt(o)>=128)Ht("not-basic");t.push(e.charCodeAt(o))}for(let o=s>0?s+1:0;o<r;){let u=n;for(let p=1,x=36;;x+=36){if(o>=r)Ht("invalid-input");let v=km(e.charCodeAt(o++));if(v>=36)Ht("invalid-input");if(v>ht((2147483647-n)/p))Ht("overflow");n+=v*p;let d=x<=i?1:x>=i+26?26:x-i;if(v<d)break;let g=36-d;if(p>ht(2147483647/g))Ht("overflow");p*=g}let f=t.length+1;if(i=vl(n-u,f,u==0),ht(n/f)>2147483647-a)Ht("overflow");a+=ht(n/f),n%=f,t.splice(n++,0,a)}return String.fromCodePoint(...t)},wl=function(e){let t=[];e=yl(e);let r=e.length,n=128,a=0,i=72;for(let u of e)if(u<128)t.push(ts(u));let s=t.length,o=s;if(s)t.push("-");while(o<r){let u=2147483647;for(let p of e)if(p>=n&&p<u)u=p;let f=o+1;if(u-n>ht((2147483647-a)/f))Ht("overflow");a+=(u-n)*f,n=u;for(let p of e){if(p<n&&++a>2147483647)Ht("overflow");if(p===n){let x=a;for(let v=36;;v+=36){let d=v<=i?1:v>=i+26?26:v-i;if(x<d)break;let g=x-d,A=36-d;t.push(ts(bl(d+g%A,0))),x=ht(g/A)}t.push(ts(bl(x,0))),i=vl(a,f,o===s),a=0,++o}}++a,++n}return t.join("")},Cm=function(e){return _l(e,function(t){return bm.test(t)?El(t.slice(4).toLowerCase()):t})},Tm=function(e){return _l(e,function(t){return _m.test(t)?"xn--"+wl(t):t})},Am={version:"2.3.1",ucs2:{decode:yl,encode:wm},decode:El,encode:wl,toASCII:Tm,toUnicode:Cm};kl.exports=Am});var vr=P(function(Uv,eu){eu.exports=ar;ar.CAPTURING_PHASE=1;ar.AT_TARGET=2;ar.BUBBLING_PHASE=3;function ar(e,t){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=ar.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e)this.type=e;if(t)for(var r in t)this[r]=t[r]}ar.prototype=Object.create(Object.prototype,{constructor:{value:ar},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){if(this.cancelable)this.defaultPrevented=!0}},initEvent:{value:function(t,r,n){if(this._initialized=!0,this._dispatching)return;this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=t,this.bubbles=r,this.cancelable=n}}})});var us=P(function(Hv,ru){var tu=vr();ru.exports=ls;function ls(){tu.call(this),this.view=null,this.detail=0}ls.prototype=Object.create(tu.prototype,{constructor:{value:ls},initUIEvent:{value:function(e,t,r,n,a){this.initEvent(e,t,r),this.view=n,this.detail=a}}})});var fs=P(function($v,au){var nu=us();au.exports=ds;function ds(){nu.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}ds.prototype=Object.create(nu.prototype,{constructor:{value:ds},initMouseEvent:{value:function(e,t,r,n,a,i,s,o,u,f,p,x,v,d,g){switch(this.initEvent(e,t,r,n,a),this.screenX=i,this.screenY=s,this.clientX=o,this.clientY=u,this.ctrlKey=f,this.altKey=p,this.shiftKey=x,this.metaKey=v,this.button=d,d){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=g}},getModifierState:{value:function(e){switch(e){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var ka=P(function(zv,su){su.exports=wa;var og=1,cg=3,lg=4,ug=5,dg=7,fg=8,hg=9,pg=11,mg=12,xg=13,gg=14,bg=15,_g=17,yg=18,vg=19,Eg=20,wg=21,kg=22,Cg=23,Tg=24,Ag=25,Dg=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],Rg=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],iu={INDEX_SIZE_ERR:og,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:cg,WRONG_DOCUMENT_ERR:lg,INVALID_CHARACTER_ERR:ug,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:dg,NOT_FOUND_ERR:fg,NOT_SUPPORTED_ERR:hg,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:pg,SYNTAX_ERR:mg,INVALID_MODIFICATION_ERR:xg,NAMESPACE_ERR:gg,INVALID_ACCESS_ERR:bg,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:_g,SECURITY_ERR:yg,NETWORK_ERR:vg,ABORT_ERR:Eg,URL_MISMATCH_ERR:wg,QUOTA_EXCEEDED_ERR:kg,TIMEOUT_ERR:Cg,INVALID_NODE_TYPE_ERR:Tg,DATA_CLONE_ERR:Ag};function wa(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=Rg[e],this.name=Dg[e]}wa.prototype.__proto__=Error.prototype;for(ln in iu)Ea={value:iu[ln]},Object.defineProperty(wa,ln,Ea),Object.defineProperty(wa.prototype,ln,Ea);var Ea,ln});var Ca=P(function(Sg){Sg.isApiWritable=!globalThis.__domino_frozen__});var Ee=P(function(Ig){var ve=ka(),Ae=ve,Lg=Ca().isApiWritable;Ig.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};Ig.IndexSizeError=function(){throw new ve(Ae.INDEX_SIZE_ERR)};Ig.HierarchyRequestError=function(){throw new ve(Ae.HIERARCHY_REQUEST_ERR)};Ig.WrongDocumentError=function(){throw new ve(Ae.WRONG_DOCUMENT_ERR)};Ig.InvalidCharacterError=function(){throw new ve(Ae.INVALID_CHARACTER_ERR)};Ig.NoModificationAllowedError=function(){throw new ve(Ae.NO_MODIFICATION_ALLOWED_ERR)};Ig.NotFoundError=function(){throw new ve(Ae.NOT_FOUND_ERR)};Ig.NotSupportedError=function(){throw new ve(Ae.NOT_SUPPORTED_ERR)};Ig.InvalidStateError=function(){throw new ve(Ae.INVALID_STATE_ERR)};Ig.SyntaxError=function(){throw new ve(Ae.SYNTAX_ERR)};Ig.InvalidModificationError=function(){throw new ve(Ae.INVALID_MODIFICATION_ERR)};Ig.NamespaceError=function(){throw new ve(Ae.NAMESPACE_ERR)};Ig.InvalidAccessError=function(){throw new ve(Ae.INVALID_ACCESS_ERR)};Ig.TypeMismatchError=function(){throw new ve(Ae.TYPE_MISMATCH_ERR)};Ig.SecurityError=function(){throw new ve(Ae.SECURITY_ERR)};Ig.NetworkError=function(){throw new ve(Ae.NETWORK_ERR)};Ig.AbortError=function(){throw new ve(Ae.ABORT_ERR)};Ig.UrlMismatchError=function(){throw new ve(Ae.URL_MISMATCH_ERR)};Ig.QuotaExceededError=function(){throw new ve(Ae.QUOTA_EXCEEDED_ERR)};Ig.TimeoutError=function(){throw new ve(Ae.TIMEOUT_ERR)};Ig.InvalidNodeTypeError=function(){throw new ve(Ae.INVALID_NODE_TYPE_ERR)};Ig.DataCloneError=function(){throw new ve(Ae.DATA_CLONE_ERR)};Ig.nyi=function(){throw Error("NotYetImplemented")};Ig.shouldOverride=function(){throw Error("Abstract function; should be overriding in subclass.")};Ig.assert=function(e,t){if(!e)throw Error("Assertion failed: "+(t||"")+`
3
- `+Error().stack)};Ig.expose=function(e,t){for(var r in e)Object.defineProperty(t.prototype,r,{value:e[r],writable:Lg})};Ig.merge=function(e,t){for(var r in t)e[r]=t[r]};Ig.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)};Ig.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(t){return t.toLowerCase()})};Ig.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(t){return t.toUpperCase()})}});var hs=P(function(Gv,cu){var ir=vr(),u2=fs(),d2=Ee();cu.exports=ou;function ou(){}ou.prototype={addEventListener:function(t,r,n){if(!r)return;if(n===void 0)n=!1;if(!this._listeners)this._listeners=Object.create(null);if(!this._listeners[t])this._listeners[t]=[];var a=this._listeners[t];for(var i=0,s=a.length;i<s;i++){var o=a[i];if(o.listener===r&&o.capture===n)return}var u={listener:r,capture:n};if(typeof r==="function")u.f=r;a.push(u)},removeEventListener:function(t,r,n){if(n===void 0)n=!1;if(this._listeners){var a=this._listeners[t];if(a)for(var i=0,s=a.length;i<s;i++){var o=a[i];if(o.listener===r&&o.capture===n){if(a.length===1)this._listeners[t]=void 0;else a.splice(i,1);return}}}},dispatchEvent:function(t){return this._dispatchEvent(t,!1)},_dispatchEvent:function(t,r){if(typeof r!=="boolean")r=!1;function n(f,p){var{type:x,eventPhase:v}=p;if(p.currentTarget=f,v!==ir.CAPTURING_PHASE&&f._handlers&&f._handlers[x]){var d=f._handlers[x],g;if(typeof d==="function")g=d.call(p.currentTarget,p);else{var A=d.handleEvent;if(typeof A!=="function")throw TypeError("handleEvent property of event handler object isnot a function.");g=A.call(d,p)}switch(p.type){case"mouseover":if(g===!0)p.preventDefault();break;case"beforeunload":default:if(g===!1)p.preventDefault();break}}var E=f._listeners&&f._listeners[x];if(!E)return;E=E.slice();for(var L=0,C=E.length;L<C;L++){if(p._immediatePropagationStopped)return;var T=E[L];if(v===ir.CAPTURING_PHASE&&!T.capture||v===ir.BUBBLING_PHASE&&T.capture)continue;if(T.f)T.f.call(p.currentTarget,p);else{var w=T.listener.handleEvent;if(typeof w!=="function")throw TypeError("handleEvent property of event listener object is not a function.");w.call(T.listener,p)}}}if(!t._initialized||t._dispatching)d2.InvalidStateError();t.isTrusted=r,t._dispatching=!0,t.target=this;var a=[];for(var i=this.parentNode;i;i=i.parentNode)a.push(i);t.eventPhase=ir.CAPTURING_PHASE;for(var s=a.length-1;s>=0;s--)if(n(a[s],t),t._propagationStopped)break;if(!t._propagationStopped)t.eventPhase=ir.AT_TARGET,n(this,t);if(t.bubbles&&!t._propagationStopped){t.eventPhase=ir.BUBBLING_PHASE;for(var o=0,u=a.length;o<u;o++)if(n(a[o],t),t._propagationStopped)break}if(t._dispatching=!1,t.eventPhase=ir.AT_TARGET,t.currentTarget=null,r&&!t.defaultPrevented&&t instanceof u2)switch(t.type){case"mousedown":this._armed={x:t.clientX,y:t.clientY,t:t.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":if(this._isClick(t))this._doClick(t);this._armed=null;break}return!t.defaultPrevented},_isClick:function(e){return this._armed!==null&&e.type==="mouseup"&&e.isTrusted&&e.button===0&&e.timeStamp-this._armed.t<1000&&Math.abs(e.clientX-this._armed.x)<10&&Math.abs(e.clientY-this._armed.Y)<10},_doClick:function(e){if(this._click_in_progress)return;this._click_in_progress=!0;var t=this;while(t&&!t._post_click_activation_steps)t=t.parentNode;if(t&&t._pre_click_activation_steps)t._pre_click_activation_steps();var r=this.ownerDocument.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,null);var n=this._dispatchEvent(r,!0);if(t){if(n){if(t._post_click_activation_steps)t._post_click_activation_steps(r)}else if(t._cancelled_activation_steps)t._cancelled_activation_steps()}},_setEventHandler:function(t,r){if(!this._handlers)this._handlers=Object.create(null);this._handlers[t]=r},_getEventHandler:function(t){return this._handlers&&this._handlers[t]||null}}});var ps=P(function(Jv,lu){var Tt=Ee(),et=lu.exports={valid:function(e){return Tt.assert(e,"list falsy"),Tt.assert(e._previousSibling,"previous falsy"),Tt.assert(e._nextSibling,"next falsy"),!0},insertBefore:function(e,t){Tt.assert(et.valid(e)&&et.valid(t));var r=e,n=e._previousSibling,a=t,i=t._previousSibling;r._previousSibling=i,n._nextSibling=a,i._nextSibling=r,a._previousSibling=n,Tt.assert(et.valid(e)&&et.valid(t))},replace:function(e,t){if(Tt.assert(et.valid(e)&&(t===null||et.valid(t))),t!==null)et.insertBefore(t,e);et.remove(e),Tt.assert(et.valid(e)&&(t===null||et.valid(t)))},remove:function(e){Tt.assert(et.valid(e));var t=e._previousSibling;if(t===e)return;var r=e._nextSibling;t._nextSibling=r,r._previousSibling=t,e._previousSibling=e._nextSibling=e,Tt.assert(et.valid(e))}}});var ms=P(function(Yv,gu){gu.exports={serializeOne:b2,ɵescapeMatchingClosingTag:pu,ɵescapeClosingCommentTag:mu,ɵescapeProcessingInstructionContent:xu};var hu=Ee(),sr=hu.NAMESPACE,uu={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},f2={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},h2={},du=/[&<>\u00A0]/g,fu=/[&"<>\u00A0]/g;function p2(e){if(!du.test(e))return e;return e.replace(du,(t)=>{switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case" ":return"&nbsp;"}})}function m2(e){if(!fu.test(e))return e;return e.replace(fu,(t)=>{switch(t){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case" ":return"&nbsp;"}})}function x2(e){var t=e.namespaceURI;if(!t)return e.localName;if(t===sr.XML)return"xml:"+e.localName;if(t===sr.XLINK)return"xlink:"+e.localName;if(t===sr.XMLNS)if(e.localName==="xmlns")return"xmlns";else return"xmlns:"+e.localName;return e.name}function pu(e,t){let r="</"+t;if(!e.toLowerCase().includes(r))return e;let n=[...e],a=e.matchAll(new RegExp(r,"ig"));for(let i of a)n[i.index]="&lt;";return n.join("")}var g2=/--!?>/;function mu(e){if(!g2.test(e))return e;return e.replace(/(--\!?)>/g,"$1&gt;")}function xu(e){return e.includes(">")?e.replaceAll(">","&gt;"):e}function b2(e,t){var r="";switch(e.nodeType){case 1:var n=e.namespaceURI,a=n===sr.HTML,i=a||n===sr.SVG||n===sr.MATHML?e.localName:e.tagName;r+="<"+i;for(var s=0,o=e._numattrs;s<o;s++){var u=e._attr(s);if(r+=" "+x2(u),u.value!==void 0)r+='="'+m2(u.value)+'"'}if(r+=">",!(a&&f2[i])){var f=e.serialize();if(uu[i.toUpperCase()])f=pu(f,i);if(a&&h2[i]&&f.charAt(0)===`
4
- `)r+=`
5
- `;r+=f,r+="</"+i+">"}break;case 3:case 4:var p;if(t.nodeType===1&&t.namespaceURI===sr.HTML)p=t.tagName;else p="";if(uu[p]||p==="NOSCRIPT"&&t.ownerDocument._scripting_enabled)r+=e.data;else r+=p2(e.data);break;case 8:r+="<!--"+mu(e.data)+"-->";break;case 7:let x=xu(e.data);r+="<?"+e.target+" "+x+"?>";break;case 10:r+="<!DOCTYPE "+e.name,r+=">";break;default:hu.InvalidStateError()}return r}});var Oe=P(function(Xv,wu){wu.exports=pe;var Eu=hs(),Ta=ps(),bu=ms(),oe=Ee();function pe(){Eu.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var Ve=pe.ELEMENT_NODE=1,xs=pe.ATTRIBUTE_NODE=2,Aa=pe.TEXT_NODE=3,_2=pe.CDATA_SECTION_NODE=4,y2=pe.ENTITY_REFERENCE_NODE=5,gs=pe.ENTITY_NODE=6,_u=pe.PROCESSING_INSTRUCTION_NODE=7,yu=pe.COMMENT_NODE=8,un=pe.DOCUMENT_NODE=9,tt=pe.DOCUMENT_TYPE_NODE=10,zt=pe.DOCUMENT_FRAGMENT_NODE=11,bs=pe.NOTATION_NODE=12,_s=pe.DOCUMENT_POSITION_DISCONNECTED=1,ys=pe.DOCUMENT_POSITION_PRECEDING=2,vs=pe.DOCUMENT_POSITION_FOLLOWING=4,vu=pe.DOCUMENT_POSITION_CONTAINS=8,Es=pe.DOCUMENT_POSITION_CONTAINED_BY=16,ws=pe.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;pe.prototype=Object.create(Eu.prototype,{baseURI:{get:oe.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===Ve?this.parentNode:null}},hasChildNodes:{value:oe.shouldOverride},firstChild:{get:oe.shouldOverride},lastChild:{get:oe.shouldOverride},isConnected:{get:function(){let e=this;while(e!=null){if(e.nodeType===pe.DOCUMENT_NODE)return!0;if(e=e.parentNode,e!=null&&e.nodeType===pe.DOCUMENT_FRAGMENT_NODE)e=e.host}return!1}},previousSibling:{get:function(){var e=this.parentNode;if(!e)return null;if(this===e.firstChild)return null;return this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;if(!e)return null;if(t===e.firstChild)return null;return t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){var t=0;for(var r=this.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===e)t++;return t}},_ensureInsertValid:{value:function(t,r,n){var a=this,i,s;if(!t.nodeType)throw TypeError("not a node");switch(a.nodeType){case un:case zt:case Ve:break;default:oe.HierarchyRequestError()}if(t.isAncestor(a))oe.HierarchyRequestError();if(r!==null||!n){if(r.parentNode!==a)oe.NotFoundError()}switch(t.nodeType){case zt:case tt:case Ve:case Aa:case _u:case yu:break;default:oe.HierarchyRequestError()}if(a.nodeType===un)switch(t.nodeType){case Aa:oe.HierarchyRequestError();break;case zt:if(t._countChildrenOfType(Aa)>0)oe.HierarchyRequestError();switch(t._countChildrenOfType(Ve)){case 0:break;case 1:if(r!==null){if(n&&r.nodeType===tt)oe.HierarchyRequestError();for(s=r.nextSibling;s!==null;s=s.nextSibling)if(s.nodeType===tt)oe.HierarchyRequestError()}if(i=a._countChildrenOfType(Ve),n){if(i>0)oe.HierarchyRequestError()}else if(i>1||i===1&&r.nodeType!==Ve)oe.HierarchyRequestError();break;default:oe.HierarchyRequestError()}break;case Ve:if(r!==null){if(n&&r.nodeType===tt)oe.HierarchyRequestError();for(s=r.nextSibling;s!==null;s=s.nextSibling)if(s.nodeType===tt)oe.HierarchyRequestError()}if(i=a._countChildrenOfType(Ve),n){if(i>0)oe.HierarchyRequestError()}else if(i>1||i===1&&r.nodeType!==Ve)oe.HierarchyRequestError();break;case tt:if(r===null){if(a._countChildrenOfType(Ve))oe.HierarchyRequestError()}else for(s=a.firstChild;s!==null;s=s.nextSibling){if(s===r)break;if(s.nodeType===Ve)oe.HierarchyRequestError()}if(i=a._countChildrenOfType(tt),n){if(i>0)oe.HierarchyRequestError()}else if(i>1||i===1&&r.nodeType!==tt)oe.HierarchyRequestError();break}else if(t.nodeType===tt)oe.HierarchyRequestError()}},insertBefore:{value:function(t,r){var n=this;n._ensureInsertValid(t,r,!0);var a=r;if(a===t)a=t.nextSibling;return n.doc.adoptNode(t),t._insertOrReplace(n,a,!1),t}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(t){var r=this;if(!t.nodeType)throw TypeError("not a node");if(t.parentNode!==r)oe.NotFoundError();return t.remove(),t}},replaceChild:{value:function(t,r){var n=this;if(n._ensureInsertValid(t,r,!1),t.doc!==n.doc)n.doc.adoptNode(t);return t._insertOrReplace(n,r,!0),r}},contains:{value:function(t){if(t===null)return!1;if(this===t)return!0;return(this.compareDocumentPosition(t)&Es)!==0}},compareDocumentPosition:{value:function(t){if(this===t)return 0;if(this.doc!==t.doc||this.rooted!==t.rooted)return _s+ws;var r=[],n=[];for(var a=this;a!==null;a=a.parentNode)r.push(a);for(a=t;a!==null;a=a.parentNode)n.push(a);if(r.reverse(),n.reverse(),r[0]!==n[0])return _s+ws;a=Math.min(r.length,n.length);for(var i=1;i<a;i++)if(r[i]!==n[i])if(r[i].index<n[i].index)return vs;else return ys;if(r.length<n.length)return vs+Es;else return ys+vu}},isSameNode:{value:function(t){return this===t}},isEqualNode:{value:function(t){if(!t)return!1;if(t.nodeType!==this.nodeType)return!1;if(!this.isEqual(t))return!1;for(var r=this.firstChild,n=t.firstChild;r&&n;r=r.nextSibling,n=n.nextSibling)if(!r.isEqualNode(n))return!1;return r===null&&n===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var r=this.firstChild;r!==null;r=r.nextSibling)t._appendChild(r.cloneNode(!0));return t}},lookupPrefix:{value:function(t){var r;if(t===""||t===null||t===void 0)return null;switch(this.nodeType){case Ve:return this._lookupNamespacePrefix(t,this);case un:return r=this.documentElement,r?r.lookupPrefix(t):null;case gs:case bs:case zt:case tt:return null;case xs:return r=this.ownerElement,r?r.lookupPrefix(t):null;default:return r=this.parentElement,r?r.lookupPrefix(t):null}}},lookupNamespaceURI:{value:function(t){if(t===""||t===void 0)t=null;var r;switch(this.nodeType){case Ve:return oe.shouldOverride();case un:return r=this.documentElement,r?r.lookupNamespaceURI(t):null;case gs:case bs:case tt:case zt:return null;case xs:return r=this.ownerElement,r?r.lookupNamespaceURI(t):null;default:return r=this.parentElement,r?r.lookupNamespaceURI(t):null}}},isDefaultNamespace:{value:function(t){if(t===""||t===void 0)t=null;var r=this.lookupNamespaceURI(null);return r===t}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var r=0;r<t.length;r++)t[r]._index=r;oe.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc)return!1;if(this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){if(e.ownerDocument===null)e.ownerDocument=this.doc;else if(e.ownerDocument!==this.doc)oe.WrongDocumentError()}},removeChildren:{value:oe.shouldOverride},_insertOrReplace:{value:function(t,r,n){var a=this,i,s;if(a.nodeType===zt&&a.rooted)oe.HierarchyRequestError();if(t._childNodes){if(i=r===null?t._childNodes.length:r.index,a.parentNode===t){var o=a.index;if(o<i)i--}}if(n){if(r.rooted)r.doc.mutateRemove(r);r.parentNode=null}var u=r;if(u===null)u=t.firstChild;var f=a.rooted&&t.rooted;if(a.nodeType===zt){var p=[0,n?1:0],x;for(var v=a.firstChild;v!==null;v=x)x=v.nextSibling,p.push(v),v.parentNode=t;var d=p.length;if(n)Ta.replace(u,d>2?p[2]:null);else if(d>2&&u!==null)Ta.insertBefore(p[2],u);if(t._childNodes){p[0]=r===null?t._childNodes.length:r._index,t._childNodes.splice.apply(t._childNodes,p);for(s=2;s<d;s++)p[s]._index=p[0]+(s-2)}else if(t._firstChild===r){if(d>2)t._firstChild=p[2];else if(n)t._firstChild=null}if(a._childNodes)a._childNodes.length=0;else a._firstChild=null;if(t.rooted){t.modify();for(s=2;s<d;s++)t.doc.mutateInsert(p[s])}}else{if(r===a)return;if(f)a._remove();else if(a.parentNode)a.remove();if(a.parentNode=t,n){if(Ta.replace(u,a),t._childNodes)a._index=i,t._childNodes[i]=a;else if(t._firstChild===r)t._firstChild=a}else{if(u!==null)Ta.insertBefore(a,u);if(t._childNodes)a._index=i,t._childNodes.splice(i,0,a);else if(t._firstChild===r)t._firstChild=a}if(f)t.modify(),t.doc.mutateMove(a);else if(t.rooted)t.modify(),t.doc.mutateInsert(a)}}},lastModTime:{get:function(){if(!this._lastModTime)this._lastModTime=this.doc.modclock;return this._lastModTime}},modify:{value:function(){if(this.doc.modclock){var e=++this.doc.modclock;for(var t=this;t;t=t.parentElement)if(t._lastModTime)t._lastModTime=e}}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){var e;for(var t=this.firstChild;t!==null;t=e){if(e=t.nextSibling,t.normalize)t.normalize();if(t.nodeType!==pe.TEXT_NODE)continue;if(t.nodeValue===""){this.removeChild(t);continue}var r=t.previousSibling;if(r===null)continue;else if(r.nodeType===pe.TEXT_NODE)r.appendData(t.nodeValue),this.removeChild(t)}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;var e="";for(var t=this.firstChild;t!==null;t=t.nextSibling)e+=bu.serializeOne(t,this);return e}},outerHTML:{get:function(){return bu.serializeOne(this,{nodeType:0})},set:oe.nyi},ELEMENT_NODE:{value:Ve},ATTRIBUTE_NODE:{value:xs},TEXT_NODE:{value:Aa},CDATA_SECTION_NODE:{value:_2},ENTITY_REFERENCE_NODE:{value:y2},ENTITY_NODE:{value:gs},PROCESSING_INSTRUCTION_NODE:{value:_u},COMMENT_NODE:{value:yu},DOCUMENT_NODE:{value:un},DOCUMENT_TYPE_NODE:{value:tt},DOCUMENT_FRAGMENT_NODE:{value:zt},NOTATION_NODE:{value:bs},DOCUMENT_POSITION_DISCONNECTED:{value:_s},DOCUMENT_POSITION_PRECEDING:{value:ys},DOCUMENT_POSITION_FOLLOWING:{value:vs},DOCUMENT_POSITION_CONTAINS:{value:vu},DOCUMENT_POSITION_CONTAINED_BY:{value:Es},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:ws}})});var Cu=P(function(Kv,ku){ku.exports=class extends Array{constructor(t){super(t&&t.length||0);if(t)for(var r in t)this[r]=t[r]}item(t){return this[t]||null}}});var Au=P(function(Zv,Tu){function v2(e){return this[e]||null}function E2(e){if(!e)e=[];return e.item=v2,e}Tu.exports=E2});var or=P(function(Qv,Du){var ks;try{ks=Cu()}catch(e){ks=Au()}Du.exports=ks});var Da=P(function(eE,Nu){Nu.exports=Su;var Ru=Oe(),w2=or();function Su(){Ru.call(this),this._firstChild=this._childNodes=null}Su.prototype=Object.create(Ru.prototype,{hasChildNodes:{value:function(){if(this._childNodes)return this._childNodes.length>0;return this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){if(this._childNodes)return this._childNodes.length===0?null:this._childNodes[0];return this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;if(e)return e.length===0?null:e[e.length-1];if(t=this._firstChild,t===null)return null;return t._previousSibling}},_ensureChildNodes:{value:function(){if(this._childNodes)return;var e=this._firstChild,t=e,r=this._childNodes=new w2;if(e)do r.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}},removeChildren:{value:function(){var t=this.rooted?this.ownerDocument:null,r=this.firstChild,n;while(r!==null){if(n=r,r=n.nextSibling,t)t.mutateRemove(n);n.parentNode=null}if(this._childNodes)this._childNodes.length=0;else this._firstChild=null;this.modify()}}})});var Ra=P(function(L2){L2.isValidName=S2;L2.isValidQName=N2;var k2=/^[_:A-Za-z][-.:\w]+$/,C2=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,dn="_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",fn="-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",cr="["+dn+"]["+fn+"]*",Cs=dn+":",Ts=fn+":",T2=new RegExp("^["+Cs+"]["+Ts+"]*$"),A2=new RegExp("^("+cr+"|"+cr+":"+cr+")$"),Lu=/[\uD800-\uDB7F\uDC00-\uDFFF]/,Iu=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,Ou=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;dn+="\uD800-\uDB7F\uDC00-\uDFFF";fn+="\uD800-\uDB7F\uDC00-\uDFFF";cr="["+dn+"]["+fn+"]*";Cs=dn+":";Ts=fn+":";var D2=new RegExp("^["+Cs+"]["+Ts+"]*$"),R2=new RegExp("^("+cr+"|"+cr+":"+cr+")$");function S2(e){if(k2.test(e))return!0;if(T2.test(e))return!0;if(!Lu.test(e))return!1;if(!D2.test(e))return!1;var t=e.match(Iu),r=e.match(Ou);return r!==null&&2*r.length===t.length}function N2(e){if(C2.test(e))return!0;if(A2.test(e))return!0;if(!Lu.test(e))return!1;if(!R2.test(e))return!1;var t=e.match(Iu),r=e.match(Ou);return r!==null&&2*r.length===t.length}});var As=P(function(M2){var Fu=Ee();M2.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(a){t[a.value||a]=a.alias||a});var r=e.missing;if(r===void 0)r=null;var n=e.invalid;if(n===void 0)n=r;return{get:function(){var a=this._getattr(e.name);if(a===null)return r;if(a=t[a.toLowerCase()],a!==void 0)return a;if(n!==null)return n;return a},set:function(a){this._setattr(e.name,a)}}}else if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(a){if(a)this._setattr(e.name,"");else this.removeAttribute(e.name)}};else if(e.type===Number||e.type==="long"||e.type==="unsigned long"||e.type==="limited unsigned long with fallback")return F2(e);else if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||""},set:function(a){if(e.treatNullAsEmptyString&&a===null)a="";this._setattr(e.name,a)}};else if(typeof e.type==="function")return e.type(e.name,e);throw Error("Invalid attribute definition")};function F2(e){var t;if(typeof e.default==="function")t=e.default;else if(typeof e.default==="number")t=function(){return e.default};else t=function(){Fu.assert(!1,typeof e.default)};var r=e.type==="unsigned long",n=e.type==="long",a=e.type==="limited unsigned long with fallback",i=e.min,s=e.max,o=e.setmin;if(i===void 0){if(r)i=0;if(n)i=-2147483648;if(a)i=1}if(s===void 0){if(r||n||a)s=2147483647}return{get:function(){var u=this._getattr(e.name),f=e.float?parseFloat(u):parseInt(u,10);if(u===null||!isFinite(f)||i!==void 0&&f<i||s!==void 0&&f>s)return t.call(this);if(r||n||a){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(u))return t.call(this);f=f|0}return f},set:function(u){if(!e.float)u=Math.floor(u);if(o!==void 0&&u<o)Fu.IndexSizeError(e.name+" set to "+u);if(r)u=u<0||u>2147483647?t.call(this):u|0;else if(a)u=u<1||u>2147483647?t.call(this):u|0;else if(n)u=u<-2147483648||u>2147483647?t.call(this):u|0;this._setattr(e.name,String(u))}}}M2.registerChangeHandler=function(e,t,r){var n=e.prototype;if(!Object.prototype.hasOwnProperty.call(n,"_attributeChangeHandlers"))n._attributeChangeHandlers=Object.create(n._attributeChangeHandlers||null);n._attributeChangeHandlers[t]=r}});var qu=P(function(nE,Pu){Pu.exports=Mu;var j2=Oe();function Mu(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}Mu.prototype=Object.create(Object.prototype,{length:{get:function(){if(this.checkcache(),!this.done)this.traverse();return this.cache.length}},item:{value:function(e){if(this.checkcache(),!this.done&&e>=this.cache.length)this.traverse();return this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){if(e!==void 0)e++;var t;while((t=this.next())!==null)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t;if(e.nodeType===j2.DOCUMENT_NODE)t=e.documentElement;else t=e.nextElement(this.root);while(t){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})});var Rs=P(function(aE,Uu){var Ds=Ee();Uu.exports=Bu;function Bu(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(Bu.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=Er(this);if(e<0||e>=t.length)return null;return t[e]}},contains:{value:function(e){e=String(e);var t=Er(this);return t.indexOf(e)>-1}},add:{value:function(){var e=Er(this);for(var t=0,r=arguments.length;t<r;t++){var n=hn(arguments[t]);if(e.indexOf(n)<0)e.push(n)}this._update(e)}},remove:{value:function(){var e=Er(this);for(var t=0,r=arguments.length;t<r;t++){var n=hn(arguments[t]),a=e.indexOf(n);if(a>-1)e.splice(a,1)}this._update(e)}},toggle:{value:function(t,r){if(t=hn(t),this.contains(t)){if(r===void 0||r===!1)return this.remove(t),!1;return!0}else{if(r===void 0||r===!0)return this.add(t),!0;return!1}}},replace:{value:function(t,r){if(String(r)==="")Ds.SyntaxError();t=hn(t),r=hn(r);var n=Er(this),a=n.indexOf(t);if(a<0)return!1;var i=n.indexOf(r);if(i<0)n[a]=r;else if(a<i)n[a]=r,n.splice(i,1);else n.splice(a,1);return this._update(n),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){if(e)ju(this,e),this._setString(e.join(" ").trim());else ju(this,Er(this));this._lastStringValue=this._getString()}}});function ju(e,t){var r=e._length,n;e._length=t.length;for(n=0;n<t.length;n++)e[n]=t[n];for(;n<r;n++)e[n]=void 0}function hn(e){if(e=String(e),e==="")Ds.SyntaxError();if(/[ \t\r\n\f]/.test(e))Ds.InvalidCharacterError();return e}function B2(e){var t=e._length,r=Array(t);for(var n=0;n<t;n++)r[n]=e[n];return r}function Er(e){var t=e._getString();if(t===e._lastStringValue)return B2(e);var r=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(r==="")return[];else{var n=Object.create(null);return r.split(/[ \t\r\n\f]+/g).filter(function(a){var i="$"+a;if(n[i])return!1;return n[i]=!0,!0})}}});var Ia=P(function(Cr,Gu){var Sa=Object.create(null,{location:{get:function(){throw Error("window.location is not supported.")}}}),U2=function(e,t){return e.compareDocumentPosition(t)},H2=function(e,t){return U2(e,t)&2?1:-1},La=function(e){while((e=e.nextSibling)&&e.nodeType!==1);return e},kr=function(e){while((e=e.previousSibling)&&e.nodeType!==1);return e},$2=function(e){if(e=e.firstChild)while(e.nodeType!==1&&(e=e.nextSibling));return e},z2=function(e){if(e=e.lastChild)while(e.nodeType!==1&&(e=e.previousSibling));return e},wr=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},Hu=function(e){if(!e)return e;var t=e[0];if(t==='"'||t==="'"){if(e[e.length-1]===t)e=e.slice(1,-1);else e=e.slice(1);return e.replace(z.str_escape,function(r){var n=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(r);if(!n)return r.slice(1);if(n[2])return"";var a=parseInt(n[1],16);return String.fromCodePoint?String.fromCodePoint(a):String.fromCharCode(a)})}else if(z.ident.test(e))return Vt(e);else return e},Vt=function(e){return e.replace(z.escape,function(t){var r=/^\\([0-9A-Fa-f]+)/.exec(t);if(!r)return t[1];var n=parseInt(r[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})},V2=function(){if(Array.prototype.indexOf)return Array.prototype.indexOf;return function(e,t){var r=this.length;while(r--)if(this[r]===t)return r;return-1}}(),zu=function(e,t){var r=z.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(r)},We=function(e,t,r){return e=e.source,e=e.replace(t,r.source||r),new RegExp(e)},$u=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",t).join("/")},W2=function(e,t){var r=e.replace(/\s+/g,""),n;if(r==="even")r="2n+0";else if(r==="odd")r="2n+1";else if(r.indexOf("n")===-1)r="0n"+r;return n=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(r),{group:n[1]==="-"?-(n[2]||1):+(n[2]||1),offset:n[4]?n[3]==="-"?-n[4]:+n[4]:0}},Ss=function(e,t,r){var n=W2(e),a=n.group,i=n.offset,s=!r?$2:z2,o=!r?La:kr;return function(u){if(!wr(u))return;var f=s(u.parentNode),p=0;while(f){if(t(f,u))p++;if(f===u)return p-=i,a&&p?p%a===0&&p<0===a<0:!p;f=o(f)}}},Re={"*":function(){return function(){return!0}}(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,r,n){return t=Vu[t],function(a){var i;switch(e){case"for":i=a.htmlFor;break;case"class":if(i=a.className,i===""&&a.getAttribute("class")==null)i=null;break;case"href":case"src":i=a.getAttribute(e,2);break;case"title":i=a.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(a.getAttribute){i=a.getAttribute(e);break}default:if(a.hasAttribute&&!a.hasAttribute(e))break;i=a[e]!=null?a[e]:a.getAttribute&&a.getAttribute(e);break}if(i==null)return;if(i=i+"",n)i=i.toLowerCase(),r=r.toLowerCase();return t(i,r)}},":first-child":function(e){return!kr(e)&&wr(e)},":last-child":function(e){return!La(e)&&wr(e)},":only-child":function(e){return!kr(e)&&!La(e)&&wr(e)},":nth-child":function(e,t){return Ss(e,function(){return!0},t)},":nth-last-child":function(e){return Re[":nth-child"](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=Ls(e);return function(r){return!t(r)}},":first-of-type":function(e){if(!wr(e))return;var t=e.nodeName;while(e=kr(e))if(e.nodeName===t)return;return!0},":last-of-type":function(e){if(!wr(e))return;var t=e.nodeName;while(e=La(e))if(e.nodeName===t)return;return!0},":only-of-type":function(e){return Re[":first-of-type"](e)&&Re[":last-of-type"](e)},":nth-of-type":function(e,t){return Ss(e,function(r,n){return r.nodeName===n.nodeName},t)},":nth-last-of-type":function(e){return Re[":nth-of-type"](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!Re[":checked"](e)},":enabled":function(e){return!e.disabled&&e.type!=="hidden"},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===Sa.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return Ls(e)},":matches":function(e){return Re[":is"](e)},":nth-match":function(e,t){var r=e.split(/\s*,\s*/),n=r.shift(),a=Ls(r.join(","));return Ss(n,a,t)},":nth-last-match":function(e){return Re[":nth-match"](e,!0)},":links-here":function(e){return e+""===Sa.location+""},":lang":function(e){return function(t){while(t){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){while(t){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var r=t||e.ownerDocument;if(r.nodeType===9)return e===r.documentElement;return e===r},":any-link":function(e){return typeof e.href==="string"},":local-link":function(e){if(e.nodeName)return e.href&&e.host===Sa.location.host;var t=+e+1;return function(r){if(!r.href)return;var n=Sa.location+"",a=r+"";return $u(n,t)===$u(a,t)}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!Re[":valid"](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!Re[":in-range"](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute("contenteditable"),r=e.contentEditable,n=e.nodeName.toLowerCase();return n=n!=="input"&&n!=="textarea",(n||e.disabled)&&t==null&&r!=="true"},":read-write":function(e){return!Re[":read-only"](e)},":hover":function(){throw Error(":hover is not supported.")},":active":function(){throw Error(":active is not supported.")},":link":function(){throw Error(":link is not supported.")},":visited":function(){throw Error(":visited is not supported.")},":column":function(){throw Error(":column is not supported.")},":nth-column":function(){throw Error(":nth-column is not supported.")},":nth-last-column":function(){throw Error(":nth-last-column is not supported.")},":current":function(){throw Error(":current is not supported.")},":past":function(){throw Error(":past is not supported.")},":future":function(){throw Error(":future is not supported.")},":contains":function(e){return function(t){var r=t.innerText||t.textContent||t.value||"";return r.indexOf(e)!==-1}},":has":function(e){return function(t){return Wu(e,t).length>0}}},Vu={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var r,n,a,i;for(n=0;;n=r+1){if(r=e.indexOf(t,n),r===-1)return!1;if(a=e[r-1],i=e[r+t.length],(!a||a===" ")&&(!i||i===" "))return!0}},"|=":function(e,t){var r=e.indexOf(t),n;if(r!==0)return;return n=e[r+t.length],n==="-"||!n},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var r=e.lastIndexOf(t);return r!==-1&&r+t.length===e.length},"!=":function(e,t){return e!==t}},pn={" ":function(e){return function(t){while(t=t.parentNode)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=kr(t))return e(t)&&t}},"~":function(e){return function(t){while(t=kr(t))if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var r;function n(a){var i=a.ownerDocument,s=i.getElementsByTagName("*"),o=s.length;while(o--)if(r=s[o],n.test(a))return r=null,!0;r=null}return n.combinator=function(a){if(!r||!r.getAttribute)return;var i=r.getAttribute(t)||"";if(i[0]==="#")i=i.substring(1);if(i===a.id&&e(r))return r},n}},z={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};z.cssid=We(z.cssid,"nonascii",z.nonascii);z.cssid=We(z.cssid,"escape",z.escape);z.qname=We(z.qname,"cssid",z.cssid);z.simple=We(z.simple,"cssid",z.cssid);z.ref=We(z.ref,"cssid",z.cssid);z.attr=We(z.attr,"cssid",z.cssid);z.pseudo=We(z.pseudo,"cssid",z.cssid);z.inside=We(z.inside,`[^"'>]*`,z.inside);z.attr=We(z.attr,"inside",zu("\\[","\\]"));z.pseudo=We(z.pseudo,"inside",zu("\\(","\\)"));z.simple=We(z.simple,"pseudo",z.pseudo);z.simple=We(z.simple,"attr",z.attr);z.ident=We(z.ident,"cssid",z.cssid);z.str_escape=We(z.str_escape,"escape",z.escape);var mn=function(e){var t=e.replace(/^\s+|\s+$/g,""),r,n=[],a=[],i,s,o,u,f;while(t){if(o=z.qname.exec(t))t=t.substring(o[0].length),s=Vt(o[1]),a.push(Na(s,!0));else if(o=z.simple.exec(t))t=t.substring(o[0].length),s="*",a.push(Na(s,!0)),a.push(Na(o));else throw SyntaxError("Invalid selector.");while(o=z.simple.exec(t))t=t.substring(o[0].length),a.push(Na(o));if(t[0]==="!")t=t.substring(1),i=J2(),i.qname=s,a.push(i.simple);if(o=z.ref.exec(t)){t=t.substring(o[0].length),f=pn.ref(Ns(a),Vt(o[1])),n.push(f.combinator),a=[];continue}if(o=z.combinator.exec(t)){if(t=t.substring(o[0].length),u=o[1]||o[2]||o[3],u===","){n.push(pn.noop(Ns(a)));break}}else u="noop";if(!pn[u])throw SyntaxError("Bad combinator.");n.push(pn[u](Ns(a))),a=[]}if(r=G2(n),r.qname=s,r.sel=t,i)i.lname=r.qname,i.test=r,i.qname=i.qname,i.sel=r.sel,r=i;if(f)f.test=r,f.qname=r.qname,f.sel=r.sel,r=f;return r},Na=function(e,t){if(t)return e==="*"?Re["*"]:Re.type(e);if(e[1])return e[1][0]==="."?Re.attr("class","~=",Vt(e[1].substring(1)),!1):Re.attr("id","=",Vt(e[1].substring(1)),!1);if(e[2])return e[3]?Re[Vt(e[2])](Hu(e[3])):Re[Vt(e[2])];if(e[4]){var r=e[6],n=/["'\s]\s*I$/i.test(r);if(n)r=r.replace(/\s*I$/i,"");return Re.attr(Vt(e[4]),e[5]||"-",Hu(r),n)}throw SyntaxError("Unknown Selector.")},Ns=function(e){var t=e.length,r;if(t<2)return e[0];return function(n){if(!n)return;for(r=0;r<t;r++)if(!e[r](n))return;return!0}},G2=function(e){if(e.length<2)return function(t){return!!e[0](t)};return function(t){var r=e.length;while(r--)if(!(t=e[r](t)))return;return!0}},J2=function(){var e;function t(r){var n=r.ownerDocument,a=n.getElementsByTagName(t.lname),i=a.length;while(i--)if(t.test(a[i])&&e===r)return e=null,!0;e=null}return t.simple=function(r){return e=r,!0},t},Ls=function(e){var t=mn(e),r=[t];while(t.sel)t=mn(t.sel),r.push(t);if(r.length<2)return t;return function(n){var a=r.length,i=0;for(;i<a;i++)if(r[i](n))return!0}},Wu=function(e,t){var r=[],n=mn(e),a=t.getElementsByTagName(n.qname),i=0,s;while(s=a[i++])if(n(s))r.push(s);if(n.sel){while(n.sel){n=mn(n.sel),a=t.getElementsByTagName(n.qname),i=0;while(s=a[i++])if(n(s)&&V2.call(r,s)===-1)r.push(s)}r.sort(H2)}return r};Gu.exports=Cr=function(e,t){var r,n;if(t.nodeType!==11&&e.indexOf(" ")===-1){if(e[0]==="#"&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)){if(t.doc._hasMultipleElementsWithId){if(r=e.substring(1),!t.doc._hasMultipleElementsWithId(r))return n=t.doc.getElementById(r),n?[n]:[]}}if(e[0]==="."&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return Wu(e,t)};Cr.selectors=Re;Cr.operators=Vu;Cr.combinators=pn;Cr.matches=function(e,t){var r={sel:t};do if(r=mn(r.sel),r(e))return!0;while(r.sel);return!1}});var Oa=P(function(iE,Ju){var Y2=Oe(),X2=ps(),Is=function(e,t){var r=e.createDocumentFragment();for(var n=0;n<t.length;n++){var a=t[n],i=a instanceof Y2;r.appendChild(i?a:e.createTextNode(String(a)))}return r},K2={after:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.nextSibling;if(r===null)return;while(n&&t.some(function(i){return i===n}))n=n.nextSibling;var a=Is(this.doc,t);r.insertBefore(a,n)}},before:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.previousSibling;if(r===null)return;while(n&&t.some(function(s){return s===n}))n=n.previousSibling;var a=Is(this.doc,t),i=n?n.nextSibling:r.firstChild;r.insertBefore(a,i)}},remove:{value:function(){if(this.parentNode===null)return;if(this.doc){if(this.doc._preremoveNodeIterators(this),this.rooted)this.doc.mutateRemove(this)}this._remove(),this.parentNode=null}},_remove:{value:function(){var t=this.parentNode;if(t===null)return;if(t._childNodes)t._childNodes.splice(this.index,1);else if(t._firstChild===this)if(this._nextSibling===this)t._firstChild=null;else t._firstChild=this._nextSibling;X2.remove(this),t.modify()}},replaceWith:{value:function(){var t=Array.prototype.slice.call(arguments),r=this.parentNode,n=this.nextSibling;if(r===null)return;while(n&&t.some(function(i){return i===n}))n=n.nextSibling;var a=Is(this.doc,t);if(this.parentNode===r)r.replaceChild(a,this);else r.insertBefore(a,n)}}};Ju.exports=K2});var Os=P(function(sE,Xu){var Yu=Oe(),Z2={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===Yu.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===Yu.ELEMENT_NODE)return e}return null}}};Xu.exports=Z2});var Fs=P(function(oE,Zu){Zu.exports=Ku;var Tr=Ee();function Ku(e){this.element=e}Object.defineProperties(Ku.prototype,{length:{get:Tr.shouldOverride},item:{value:Tr.shouldOverride},getNamedItem:{value:function(t){return this.element.getAttributeNode(t)}},getNamedItemNS:{value:function(t,r){return this.element.getAttributeNodeNS(t,r)}},setNamedItem:{value:Tr.nyi},setNamedItemNS:{value:Tr.nyi},removeNamedItem:{value:function(t){var r=this.element.getAttributeNode(t);if(r)return this.element.removeAttribute(t),r;Tr.NotFoundError()}},removeNamedItemNS:{value:function(t,r){var n=this.element.getAttributeNodeNS(t,r);if(n)return this.element.removeAttributeNS(t,r),n;Tr.NotFoundError()}}})});var Dr=P(function(cE,n0){n0.exports=Wt;var Ms=Ra(),be=Ee(),xt=be.NAMESPACE,Ma=As(),at=Oe(),Ps=or(),Q2=ms(),Fa=qu(),Ar=ka(),eb=Rs(),qs=Ia(),e0=Da(),tb=Oa(),rb=Os(),t0=Fs(),Qu=Object.create(null);function Wt(e,t,r,n){e0.call(this),this.nodeType=at.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=r,this.prefix=n,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function js(e,t){if(e.nodeType===at.TEXT_NODE)t.push(e._data);else for(var r=0,n=e.childNodes.length;r<n;r++)js(e.childNodes[r],t)}Wt.prototype=Object.create(e0.prototype,{isHTML:{get:function(){return this.namespaceURI===xt.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var t;if(this.prefix===null)t=this.localName;else t=this.prefix+":"+this.localName;if(this.isHTML){var r=Qu[t];if(!r)Qu[t]=r=be.toASCIIUpperCase(t);t=r}this._tagName=t}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return js(this,e),e.join("")},set:function(e){if(this.removeChildren(),e!==null&&e!==void 0&&e!=="")this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return js(this,e),e.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){if(this.removeChildren(),e!==null&&e!==void 0&&e!=="")this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:be.nyi},outerHTML:{get:function(){return Q2.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,r=this.parentNode;if(r===null)return;if(r.nodeType===at.DOCUMENT_NODE)be.NoModificationAllowedError();if(r.nodeType===at.DOCUMENT_FRAGMENT_NODE)r=r.ownerDocument.createElement("body");var n=t.implementation.mozHTMLParser(t._address,r);n.parse(e===null?"":String(e),!0),this.replaceWith(n._asDocumentFragment())}},_insertAdjacent:{value:function(t,r){var n=!1;switch(t){case"beforebegin":n=!0;case"afterend":var a=this.parentNode;if(a===null)return null;return a.insertBefore(r,n?this:this.nextSibling);case"afterbegin":n=!0;case"beforeend":return this.insertBefore(r,n?this.firstChild:null);default:return be.SyntaxError()}}},insertAdjacentElement:{value:function(t,r){if(r.nodeType!==at.ELEMENT_NODE)throw TypeError("not an element");return t=be.toASCIILowerCase(String(t)),this._insertAdjacent(t,r)}},insertAdjacentText:{value:function(t,r){var n=this.ownerDocument.createTextNode(r);t=be.toASCIILowerCase(String(t)),this._insertAdjacent(t,n)}},insertAdjacentHTML:{value:function(t,r){t=be.toASCIILowerCase(String(t)),r=String(r);var n;switch(t){case"beforebegin":case"afterend":if(n=this.parentNode,n===null||n.nodeType===at.DOCUMENT_NODE)be.NoModificationAllowedError();break;case"afterbegin":case"beforeend":n=this;break;default:be.SyntaxError()}if(!(n instanceof Wt)||n.ownerDocument.isHTML&&n.localName==="html"&&n.namespaceURI===xt.HTML)n=n.ownerDocument.createElementNS(xt.HTML,"body");var a=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,n);a.parse(r,!0),this._insertAdjacent(t,a._asDocumentFragment())}},children:{get:function(){if(!this._children)this._children=new r0(this);return this._children}},attributes:{get:function(){if(!this._attributes)this._attributes=new Us(this);return this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===at.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===at.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){if(!e)e=this.ownerDocument.documentElement;var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var r=this.parentElement;r&&r!==e;r=r.parentElement)if(t=r.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(t){var r;if(!t)return new Ps;if(t==="*")r=function(){return!0};else if(this.isHTML)r=nb(t);else r=Bs(t);return new Fa(this,r)}},getElementsByTagNameNS:{value:function(t,r){var n;if(t==="*"&&r==="*")n=function(){return!0};else if(t==="*")n=Bs(r);else if(r==="*")n=ab(t);else n=ib(t,r);return new Fa(this,n)}},getElementsByClassName:{value:function(t){if(t=String(t).trim(),t===""){var r=new Ps;return r}return t=t.split(/[ \t\r\n\f]+/),new Fa(this,sb(t))}},getElementsByName:{value:function(t){return new Fa(this,ob(String(t)))}},clone:{value:function(){var t;if(this.namespaceURI!==xt.HTML||this.prefix||!this.ownerDocument.isHTML)t=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName);else t=this.ownerDocument.createElement(this.localName);for(var r=0,n=this._attrKeys.length;r<n;r++){var a=this._attrKeys[r],i=this._attrsByLName[a],s=i.cloneNode();s._setOwnerElement(t),t._attrsByLName[a]=s,t._addQName(s)}return t._attrKeys=this._attrKeys.concat(),t}},isEqual:{value:function(t){if(this.localName!==t.localName||this.namespaceURI!==t.namespaceURI||this.prefix!==t.prefix||this._numattrs!==t._numattrs)return!1;for(var r=0,n=this._numattrs;r<n;r++){var a=this._attr(r);if(!t.hasAttributeNS(a.namespaceURI,a.localName))return!1;if(t.getAttributeNS(a.namespaceURI,a.localName)!==a.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(t,r){if(this.namespaceURI&&this.namespaceURI===t&&this.prefix!==null&&r.lookupNamespaceURI(this.prefix)===t)return this.prefix;for(var n=0,a=this._numattrs;n<a;n++){var i=this._attr(n);if(i.prefix==="xmlns"&&i.value===t&&r.lookupNamespaceURI(i.localName)===t)return i.localName}var s=this.parentElement;return s?s._lookupNamespacePrefix(t,r):null}},lookupNamespaceURI:{value:function(t){if(t===""||t===void 0)t=null;if(this.namespaceURI!==null&&this.prefix===t)return this.namespaceURI;for(var r=0,n=this._numattrs;r<n;r++){var a=this._attr(r);if(a.namespaceURI===xt.XMLNS){if(a.prefix==="xmlns"&&a.localName===t||t===null&&a.prefix===null&&a.localName==="xmlns")return a.value||null}}var i=this.parentElement;return i?i.lookupNamespaceURI(t):null}},getAttribute:{value:function(t){var r=this.getAttributeNode(t);return r?r.value:null}},getAttributeNS:{value:function(t,r){var n=this.getAttributeNodeNS(t,r);return n?n.value:null}},getAttributeNode:{value:function(t){if(t=String(t),/[A-Z]/.test(t)&&this.isHTML)t=be.toASCIILowerCase(t);var r=this._attrsByQName[t];if(!r)return null;if(Array.isArray(r))r=r[0];return r}},getAttributeNodeNS:{value:function(t,r){t=t===void 0||t===null?"":String(t),r=String(r);var n=this._attrsByLName[t+"|"+r];return n?n:null}},hasAttribute:{value:function(t){if(t=String(t),/[A-Z]/.test(t)&&this.isHTML)t=be.toASCIILowerCase(t);return this._attrsByQName[t]!==void 0}},hasAttributeNS:{value:function(t,r){t=t===void 0||t===null?"":String(t),r=String(r);var n=t+"|"+r;return this._attrsByLName[n]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(t,r){if(t=String(t),!Ms.isValidName(t))be.InvalidCharacterError();if(/[A-Z]/.test(t)&&this.isHTML)t=be.toASCIILowerCase(t);var n=this._attrsByQName[t];if(n===void 0){if(r===void 0||r===!0)return this._setAttribute(t,""),!0;return!1}else{if(r===void 0||r===!1)return this.removeAttribute(t),!1;return!0}}},_setAttribute:{value:function(t,r){var n=this._attrsByQName[t],a;if(!n)n=this._newattr(t),a=!0;else if(Array.isArray(n))n=n[0];if(n.value=r,this._attributes)this._attributes[t]=n;if(a&&this._newattrhook)this._newattrhook(t,r)}},setAttribute:{value:function(t,r){if(t=String(t),!Ms.isValidName(t))be.InvalidCharacterError();if(/[A-Z]/.test(t)&&this.isHTML)t=be.toASCIILowerCase(t);this._setAttribute(t,String(r))}},_setAttributeNS:{value:function(t,r,n){var a=r.indexOf(":"),i,s;if(a<0)i=null,s=r;else i=r.substring(0,a),s=r.substring(a+1);if(t===""||t===void 0)t=null;var o=(t===null?"":t)+"|"+s,u=this._attrsByLName[o],f;if(!u){if(u=new xn(this,s,i,t),f=!0,this._attrsByLName[o]=u,this._attributes)this._attributes[this._attrKeys.length]=u;this._attrKeys.push(o),this._addQName(u)}if(u.value=n,f&&this._newattrhook)this._newattrhook(r,n)}},setAttributeNS:{value:function(t,r,n){if(t=t===null||t===void 0||t===""?null:String(t),r=String(r),!Ms.isValidQName(r))be.InvalidCharacterError();var a=r.indexOf(":"),i=a<0?null:r.substring(0,a);if(i!==null&&t===null||i==="xml"&&t!==xt.XML||(r==="xmlns"||i==="xmlns")&&t!==xt.XMLNS||t===xt.XMLNS&&!(r==="xmlns"||i==="xmlns"))be.NamespaceError();this._setAttributeNS(t,r,String(n))}},setAttributeNode:{value:function(t){if(t.ownerElement!==null&&t.ownerElement!==this)throw new Ar(Ar.INUSE_ATTRIBUTE_ERR);var r=null,n=this._attrsByQName[t.name];if(n){if(!Array.isArray(n))n=[n];if(n.some(function(a){return a===t}))return t;else if(t.ownerElement!==null)throw new Ar(Ar.INUSE_ATTRIBUTE_ERR);n.forEach(function(a){this.removeAttributeNode(a)},this),r=n[0]}return this.setAttributeNodeNS(t),r}},setAttributeNodeNS:{value:function(t){if(t.ownerElement!==null)throw new Ar(Ar.INUSE_ATTRIBUTE_ERR);var r=t.namespaceURI,n=(r===null?"":r)+"|"+t.localName,a=this._attrsByLName[n];if(a)this.removeAttributeNode(a);if(t._setOwnerElement(this),this._attrsByLName[n]=t,this._attributes)this._attributes[this._attrKeys.length]=t;if(this._attrKeys.push(n),this._addQName(t),this._newattrhook)this._newattrhook(t.name,t.value);return a||null}},removeAttribute:{value:function(t){if(t=String(t),/[A-Z]/.test(t)&&this.isHTML)t=be.toASCIILowerCase(t);var r=this._attrsByQName[t];if(!r)return;if(Array.isArray(r))if(r.length>2)r=r.shift();else this._attrsByQName[t]=r[1],r=r[0];else this._attrsByQName[t]=void 0;var n=r.namespaceURI,a=(n===null?"":n)+"|"+r.localName;this._attrsByLName[a]=void 0;var i=this._attrKeys.indexOf(a);if(this._attributes)Array.prototype.splice.call(this._attributes,i,1),this._attributes[t]=void 0;this._attrKeys.splice(i,1);var s=r.onchange;if(r._setOwnerElement(null),s)s.call(r,this,r.localName,r.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(r)}},removeAttributeNS:{value:function(t,r){t=t===void 0||t===null?"":String(t),r=String(r);var n=t+"|"+r,a=this._attrsByLName[n];if(!a)return;this._attrsByLName[n]=void 0;var i=this._attrKeys.indexOf(n);if(this._attributes)Array.prototype.splice.call(this._attributes,i,1);this._attrKeys.splice(i,1),this._removeQName(a);var s=a.onchange;if(a._setOwnerElement(null),s)s.call(a,this,a.localName,a.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(a)}},removeAttributeNode:{value:function(t){var r=t.namespaceURI,n=(r===null?"":r)+"|"+t.localName;if(this._attrsByLName[n]!==t)be.NotFoundError();return this.removeAttributeNS(r,t.localName),t}},getAttributeNames:{value:function(){var t=this;return this._attrKeys.map(function(r){return t._attrsByLName[r].name})}},_getattr:{value:function(t){var r=this._attrsByQName[t];return r?r.value:null}},_setattr:{value:function(t,r){var n=this._attrsByQName[t],a;if(!n)n=this._newattr(t),a=!0;if(n.value=String(r),this._attributes)this._attributes[t]=n;if(a&&this._newattrhook)this._newattrhook(t,r)}},_newattr:{value:function(t){var r=new xn(this,t,null,null),n="|"+t;if(this._attrsByQName[t]=r,this._attrsByLName[n]=r,this._attributes)this._attributes[this._attrKeys.length]=r;return this._attrKeys.push(n),r}},_addQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];if(!r)this._attrsByQName[t]=e;else if(Array.isArray(r))r.push(e);else this._attrsByQName[t]=[r,e];if(this._attributes)this._attributes[t]=e}},_removeQName:{value:function(e){var t=e.name,r=this._attrsByQName[t];if(Array.isArray(r)){var n=r.indexOf(e);if(be.assert(n!==-1),r.length===2){if(this._attrsByQName[t]=r[1-n],this._attributes)this._attributes[t]=this._attrsByQName[t]}else if(r.splice(n,1),this._attributes&&this._attributes[t]===e)this._attributes[t]=r[0]}else if(be.assert(r===e),this._attrsByQName[t]=void 0,this._attributes)this._attributes[t]=void 0}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:Ma.property({name:"id"}),className:Ma.property({name:"class"}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new eb(function(){return e.className||""},function(r){e.className=r});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return qs.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===at.ELEMENT_NODE);return null}},querySelector:{value:function(e){return qs(e,this)[0]}},querySelectorAll:{value:function(e){var t=qs(e,this);return t.item?t:new Ps(t)}}});Object.defineProperties(Wt.prototype,tb);Object.defineProperties(Wt.prototype,rb);Ma.registerChangeHandler(Wt,"id",function(e,t,r,n){if(e.rooted){if(r)e.ownerDocument.delId(r,e);if(n)e.ownerDocument.addId(n,e)}});Ma.registerChangeHandler(Wt,"class",function(e,t,r,n){if(e._classList)e._classList._update()});function xn(e,t,r,n,a){this.localName=t,this.prefix=r===null||r===""?null:""+r,this.namespaceURI=n===null||n===""?null:""+n,this.data=a,this._setOwnerElement(e)}xn.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(t){if(this._ownerElement=t,this.prefix===null&&this.namespaceURI===null&&t)this.onchange=t._attributeChangeHandlers[this.localName];else this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;if(e=e===void 0?"":e+"",e===t)return;if(this.data=e,this.ownerElement){if(this.onchange)this.onchange(this.ownerElement,this.localName,t,e);if(this.ownerElement.rooted)this.ownerElement.ownerDocument.mutateAttr(this,t)}}},cloneNode:{value:function(t){return new xn(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return at.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){if(e===null||e===void 0)e="";this.value=e}},innerText:{get:function(){return this.value},set:function(e){if(e===null||e===void 0)e="";this.value=e}}});Wt._Attr=xn;function Us(e){t0.call(this,e);for(var t in e._attrsByQName)this[t]=e._attrsByQName[t];for(var r=0;r<e._attrKeys.length;r++)this[r]=e._attrsByLName[e._attrKeys[r]]}Us.prototype=Object.create(t0.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){if(e=e>>>0,e>=this.length)return null;return this.element._attrsByLName[this.element._attrKeys[e]]}}});if(globalThis.Symbol?.iterator)Us.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,r=this;return{next:function(){if(e<t)return{value:r.item(e++)};return{done:!0}}}};function r0(e){this.element=e,this.updateCache()}r0.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(t){return this.updateCache(),this.childrenByNumber[t]||null}},namedItem:{value:function(t){return this.updateCache(),this.childrenByName[t]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var t=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;var r=this.childrenByNumber&&this.childrenByNumber.length||0;for(var n=0;n<r;n++)this[n]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var a=this.element.firstChild;a!==null;a=a.nextSibling)if(a.nodeType===at.ELEMENT_NODE){this[this.childrenByNumber.length]=a,this.childrenByNumber.push(a);var i=a.getAttribute("id");if(i&&!this.childrenByName[i])this.childrenByName[i]=a;var s=a.getAttribute("name");if(s&&this.element.namespaceURI===xt.HTML&&t.test(this.element.localName)&&!this.childrenByName[s])this.childrenByName[i]=a}}}}});function Bs(e){return function(t){return t.localName===e}}function nb(e){var t=be.toASCIILowerCase(e);if(t===e)return Bs(e);return function(r){return r.isHTML?r.localName===t:r.localName===e}}function ab(e){return function(t){return t.namespaceURI===e}}function ib(e,t){return function(r){return r.namespaceURI===e&&r.localName===t}}function sb(e){return function(t){return e.every(function(r){return t.classList.contains(r)})}}function ob(e){return function(t){if(t.namespaceURI!==xt.HTML)return!1;return t.getAttribute("name")===e}}});var Hs=P(function(lE,c0){c0.exports=o0;var i0=Oe(),cb=or(),s0=Ee(),a0=s0.HierarchyRequestError,lb=s0.NotFoundError;function o0(){i0.call(this)}o0.prototype=Object.create(i0.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw TypeError("not a node");a0()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw TypeError("not a node");a0()}},removeChild:{value:function(e){if(!e.nodeType)throw TypeError("not a node");lb()}},removeChildren:{value:function(){}},childNodes:{get:function(){if(!this._childNodes)this._childNodes=new cb;return this._childNodes}}})});var gn=P(function(uE,d0){d0.exports=Pa;var u0=Hs(),l0=Ee(),ub=Oa(),db=Os();function Pa(){u0.call(this)}Pa.prototype=Object.create(u0.prototype,{substringData:{value:function(t,r){if(arguments.length<2)throw TypeError("Not enough arguments");if(t=t>>>0,r=r>>>0,t>this.data.length||t<0||r<0)l0.IndexSizeError();return this.data.substring(t,t+r)}},appendData:{value:function(t){if(arguments.length<1)throw TypeError("Not enough arguments");this.data+=String(t)}},insertData:{value:function(t,r){return this.replaceData(t,0,r)}},deleteData:{value:function(t,r){return this.replaceData(t,r,"")}},replaceData:{value:function(t,r,n){var a=this.data,i=a.length;if(t=t>>>0,r=r>>>0,n=String(n),t>i||t<0)l0.IndexSizeError();if(t+r>i)r=i-t;var s=a.substring(0,t),o=a.substring(t+r);this.data=s+n+o}},isEqual:{value:function(t){return this._data===t._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(Pa.prototype,ub);Object.defineProperties(Pa.prototype,db)});var zs=P(function(dE,m0){m0.exports=$s;var f0=Ee(),h0=Oe(),p0=gn();function $s(e,t){p0.call(this),this.nodeType=h0.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var bn={get:function(){return this._data},set:function(e){if(e===null||e===void 0)e="";else e=String(e);if(e===this._data)return;if(this._data=e,this.rooted)this.ownerDocument.mutateValue(this);if(this.parentNode&&this.parentNode._textchangehook)this.parentNode._textchangehook(this)}};$s.prototype=Object.create(p0.prototype,{nodeName:{value:"#text"},nodeValue:bn,textContent:bn,innerText:bn,data:{get:bn.get,set:function(e){bn.set.call(this,e===null?"":String(e))}},splitText:{value:function(t){if(t>this._data.length||t<0)f0.IndexSizeError();var r=this._data.substring(t),n=this.ownerDocument.createTextNode(r);this.data=this.data.substring(0,t);var a=this.parentNode;if(a!==null)a.insertBefore(n,this.nextSibling);return n}},wholeText:{get:function(){var t=this.textContent;for(var r=this.nextSibling;r;r=r.nextSibling){if(r.nodeType!==h0.TEXT_NODE)break;t+=r.textContent}return t}},replaceWholeText:{value:f0.nyi},clone:{value:function(){return new $s(this.ownerDocument,this._data)}}})});var Ws=P(function(fE,g0){g0.exports=Vs;var fb=Oe(),x0=gn();function Vs(e,t){x0.call(this),this.nodeType=fb.COMMENT_NODE,this.ownerDocument=e,this._data=t}var _n={get:function(){return this._data},set:function(e){if(e===null||e===void 0)e="";else e=String(e);if(this._data=e,this.rooted)this.ownerDocument.mutateValue(this)}};Vs.prototype=Object.create(x0.prototype,{nodeName:{value:"#comment"},nodeValue:_n,textContent:_n,innerText:_n,data:{get:_n.get,set:function(e){_n.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new Vs(this.ownerDocument,this._data)}}})});var Js=P(function(hE,y0){y0.exports=Gs;var hb=Oe(),pb=or(),_0=Da(),qa=Dr(),mb=Ia(),b0=Ee();function Gs(e){_0.call(this),this.nodeType=hb.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}Gs.prototype=Object.create(_0.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(qa.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(qa.prototype,"innerText"),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=qa.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(qa.prototype,"firstElementChild").get;var r=mb(e,t);return r.item?r:new pb(r)}},clone:{value:function(){return new Gs(this.ownerDocument)}},isEqual:{value:function(t){return!0}},innerHTML:{get:function(){return this.serialize()},set:b0.nyi},outerHTML:{get:function(){return this.serialize()},set:b0.nyi}})});var Xs=P(function(pE,E0){E0.exports=Ys;var xb=Oe(),v0=gn();function Ys(e,t,r){v0.call(this),this.nodeType=xb.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=r}var yn={get:function(){return this._data},set:function(e){if(e===null||e===void 0)e="";else e=String(e);if(this._data=e,this.rooted)this.ownerDocument.mutateValue(this)}};Ys.prototype=Object.create(v0.prototype,{nodeName:{get:function(){return this.target}},nodeValue:yn,textContent:yn,innerText:yn,data:{get:yn.get,set:function(e){yn.set.call(this,e===null?"":String(e))}},clone:{value:function(){return new Ys(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(t){return this.target===t.target&&this._data===t._data}}})});var vn=P(function(mE,w0){var Ks={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};w0.exports=Ks.constructor=Ks.prototype=Ks});var Qs=P(function(gE,C0){var xE=C0.exports={nextSkippingChildren:gb,nextAncestorSibling:Zs,next:bb,previous:_b,deepLastChild:k0};function gb(e,t){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling;return Zs(e,t)}function Zs(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function bb(e,t){var r=e.firstChild;if(r!==null)return r;if(e===t)return null;if(r=e.nextSibling,r!==null)return r;return Zs(e,t)}function k0(e){while(e.lastChild)e=e.lastChild;return e}function _b(e,t){var r=e.previousSibling;if(r!==null)return k0(r);if(r=e.parentNode,r===t)return null;return r}});var L0=P(function(bE,N0){N0.exports=S0;var yb=Oe(),Fe=vn(),T0=Qs(),R0=Ee(),eo={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},to={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function A0(e,t){var r,n,a,i,s;n=e._currentNode[eo[t]];while(n!==null){if(i=e._internalFilter(n),i===Fe.FILTER_ACCEPT)return e._currentNode=n,n;if(i===Fe.FILTER_SKIP){if(r=n[eo[t]],r!==null){n=r;continue}}while(n!==null){if(s=n[to[t]],s!==null){n=s;break}if(a=n.parentNode,a===null||a===e.root||a===e._currentNode)return null;else n=a}}return null}function D0(e,t){var r,n,a;if(r=e._currentNode,r===e.root)return null;while(!0){a=r[to[t]];while(a!==null){if(r=a,n=e._internalFilter(r),n===Fe.FILTER_ACCEPT)return e._currentNode=r,r;if(a=r[eo[t]],n===Fe.FILTER_REJECT||a===null)a=r[to[t]]}if(r=r.parentNode,r===null||r===e.root)return null;if(e._internalFilter(r)===Fe.FILTER_ACCEPT)return null}}function S0(e,t,r){if(!e||!e.nodeType)R0.NotSupportedError();this._root=e,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,this._currentNode=e}Object.defineProperties(S0.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(t){if(!(t instanceof yb))throw TypeError("Not a Node");this._currentNode=t}},_internalFilter:{value:function(t){var r,n;if(this._active)R0.InvalidStateError();if(!(1<<t.nodeType-1&this._whatToShow))return Fe.FILTER_SKIP;if(n=this._filter,n===null)r=Fe.FILTER_ACCEPT;else{this._active=!0;try{if(typeof n==="function")r=n(t);else r=n.acceptNode(t)}finally{this._active=!1}}return+r}},parentNode:{value:function(){var t=this._currentNode;while(t!==this.root){if(t=t.parentNode,t===null)return null;if(this._internalFilter(t)===Fe.FILTER_ACCEPT)return this._currentNode=t,t}return null}},firstChild:{value:function(){return A0(this,"first")}},lastChild:{value:function(){return A0(this,"last")}},previousSibling:{value:function(){return D0(this,"previous")}},nextSibling:{value:function(){return D0(this,"next")}},previousNode:{value:function(){var t,r,n,a;t=this._currentNode;while(t!==this._root){for(n=t.previousSibling;n;n=t.previousSibling){if(t=n,r=this._internalFilter(t),r===Fe.FILTER_REJECT)continue;for(a=t.lastChild;a;a=t.lastChild)if(t=a,r=this._internalFilter(t),r===Fe.FILTER_REJECT)break;if(r===Fe.FILTER_ACCEPT)return this._currentNode=t,t}if(t===this.root||t.parentNode===null)return null;if(t=t.parentNode,this._internalFilter(t)===Fe.FILTER_ACCEPT)return this._currentNode=t,t}return null}},nextNode:{value:function(){var t,r,n,a;t=this._currentNode,r=Fe.FILTER_ACCEPT;e:while(!0){for(n=t.firstChild;n;n=t.firstChild)if(t=n,r=this._internalFilter(t),r===Fe.FILTER_ACCEPT)return this._currentNode=t,t;else if(r===Fe.FILTER_REJECT)break;for(a=T0.nextSkippingChildren(t,this.root);a;a=T0.nextSkippingChildren(t,this.root))if(t=a,r=this._internalFilter(t),r===Fe.FILTER_ACCEPT)return this._currentNode=t,t;else if(r===Fe.FILTER_SKIP)continue e;return null}}},toString:{value:function(){return"[object TreeWalker]"}}})});var q0=P(function(_E,P0){P0.exports=M0;var ro=vn(),no=Qs(),F0=Ee();function vb(e,t,r){if(r)return no.next(e,t);else{if(e===t)return null;return no.previous(e,null)}}function I0(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function O0(e,t){var r,n;r=e._referenceNode,n=e._pointerBeforeReferenceNode;while(!0){if(n===t)n=!n;else if(r=vb(r,e._root,t),r===null)return null;var a=e._internalFilter(r);if(a===ro.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=n,r}function M0(e,t,r){if(!e||!e.nodeType)F0.NotSupportedError();this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=r||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(M0.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(t){var r,n;if(this._active)F0.InvalidStateError();if(!(1<<t.nodeType-1&this._whatToShow))return ro.FILTER_SKIP;if(n=this._filter,n===null)r=ro.FILTER_ACCEPT;else{this._active=!0;try{if(typeof n==="function")r=n(t);else r=n.acceptNode(t)}finally{this._active=!1}}return+r}},_preremove:{value:function(t){if(I0(t,this._root))return;if(!I0(t,this._referenceNode))return;if(this._pointerBeforeReferenceNode){var r=t;while(r.lastChild)r=r.lastChild;if(r=no.next(r,this.root),r){this._referenceNode=r;return}this._pointerBeforeReferenceNode=!1}if(t.previousSibling===null)this._referenceNode=t.parentNode;else{this._referenceNode=t.previousSibling;var n;for(n=this._referenceNode.lastChild;n;n=this._referenceNode.lastChild)this._referenceNode=n}}},nextNode:{value:function(){return O0(this,!0)}},previousNode:{value:function(){return O0(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})});var ja=P(function(yE,j0){j0.exports=Me;function Me(e){if(!e)return Object.create(Me.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var t=Me.pattern.exec(this.url);if(t){if(t[2])this.scheme=t[2];if(t[4]){var r=t[4].match(Me.userinfoPattern);if(r)this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length);if(t[4].match(Me.portPattern)){var n=t[4].lastIndexOf(":");this.host=t[4].substring(0,n),this.port=t[4].substring(n+1)}else this.host=t[4]}if(t[5])this.path=t[5];if(t[6])this.query=t[7];if(t[8])this.fragment=t[9]}}Me.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;Me.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;Me.portPattern=/:\d+$/;Me.authorityPattern=/^[^:\/?#]+:\/\//;Me.hierarchyPattern=/^[^:\/?#]+:\//;Me.percentEncode=function(t){var r=t.charCodeAt(0);if(r<256)return"%"+r.toString(16);else throw Error("can't percent-encode codepoints > 255 yet")};Me.prototype={constructor:Me,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return Me.authorityPattern.test(this.url)},isHierarchical:function(){return Me.hierarchyPattern.test(this.url)},toString:function(){var e="";if(this.scheme!==void 0)e+=this.scheme+":";if(this.isAbsolute()){if(e+="//",this.username||this.password){if(e+=this.username||"",this.password)e+=":"+this.password;e+="@"}if(this.host)e+=this.host}if(this.port!==void 0)e+=":"+this.port;if(this.path!==void 0)e+=this.path;if(this.query!==void 0)e+="?"+this.query;if(this.fragment!==void 0)e+="#"+this.fragment;return e},resolve:function(e){var t=this,r=new Me(e),n=new Me;if(r.scheme!==void 0)n.scheme=r.scheme,n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=i(r.path),n.query=r.query;else if(n.scheme=t.scheme,r.host!==void 0)n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=i(r.path),n.query=r.query;else if(n.username=t.username,n.password=t.password,n.host=t.host,n.port=t.port,!r.path)if(n.path=t.path,r.query!==void 0)n.query=r.query;else n.query=t.query;else{if(r.path.charAt(0)==="/")n.path=i(r.path);else n.path=a(t.path,r.path),n.path=i(n.path);n.query=r.query}return n.fragment=r.fragment,n.toString();function a(s,o){if(t.host!==void 0&&!t.path)return"/"+o;var u=s.lastIndexOf("/");if(u===-1)return o;else return s.substring(0,u+1)+o}function i(s){if(!s)return s;var o="";while(s.length>0){if(s==="."||s===".."){s="";break}var u=s.substring(0,2),f=s.substring(0,3),p=s.substring(0,4);if(f==="../")s=s.substring(3);else if(u==="./")s=s.substring(2);else if(f==="/./")s="/"+s.substring(3);else if(u==="/."&&s.length===2)s="/";else if(p==="/../"||f==="/.."&&s.length===3)s="/"+s.substring(4),o=o.replace(/\/?[^\/]*$/,"");else{var x=s.match(/(\/?([^\/]*))/)[0];o+=x,s=s.substring(x.length)}}return o}}}});var H0=P(function(vE,U0){U0.exports=ao;var B0=vr();function ao(e,t){B0.call(this,e,t)}ao.prototype=Object.create(B0.prototype,{constructor:{value:ao}})});var io=P(function(EE,$0){$0.exports={Event:vr(),UIEvent:us(),MouseEvent:fs(),CustomEvent:H0()}});var G0=P(function(V0){Object.defineProperty(V0,"__esModule",{value:!0});V0.hyphenate=V0.parse=void 0;function Eb(e){let t=[],r=0,n=0,a=0,i=0,s=0,o=null;while(r<e.length)switch(e.charCodeAt(r++)){case 40:n++;break;case 41:n--;break;case 39:if(a===0)a=39;else if(a===39&&e.charCodeAt(r-1)!==92)a=0;break;case 34:if(a===0)a=34;else if(a===34&&e.charCodeAt(r-1)!==92)a=0;break;case 58:if(!o&&n===0&&a===0)o=z0(e.substring(s,r-1).trim()),i=r;break;case 59:if(o&&i>0&&n===0&&a===0){let f=e.substring(i,r-1).trim();t.push(o,f),s=r,i=0,o=null}break}if(o&&i){let u=e.slice(i).trim();t.push(o,u)}return t}V0.parse=Eb;function z0(e){return e.replace(/[a-z][A-Z]/g,(t)=>t.charAt(0)+"-"+t.charAt(1)).toLowerCase()}V0.hyphenate=z0});var Ba=P(function(kE,Z0){var{parse:kb}=G0();Z0.exports=function(e){let t=new K0(e);return new Proxy(t,{get:function(n,a){return a in n?n[a]:n.getPropertyValue(J0(a))},has:function(n,a){return!0},set:function(n,a,i){if(a in n)n[a]=i;else n.setProperty(J0(a),i??void 0);return!0}})};function J0(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function K0(e){this._element=e}var Y0="!important";function X0(e){let t={property:{},priority:{}};if(!e)return t;let r=kb(e);if(r.length<2)return t;for(let n=0;n<r.length;n+=2){let a=r[n],i=r[n+1];if(i.endsWith(Y0))t.priority[a]="important",i=i.slice(0,-Y0.length).trim();t.property[a]=i}return t}var Rr={};K0.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=X0(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t="";for(var r in e.property){if(t)t+=" ";if(t+=r+": "+e.property[r],e.priority[r])t+=" !"+e.priority[r];t+=";"}this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function(e){this._element.setAttribute("style",e)}},length:{get:function(){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names.length}},item:{value:function(e){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||""}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||""}},setProperty:{value:function(e,t,r){if(e=e.toLowerCase(),t===null||t===void 0)t="";if(r===null||r===void 0)r="";if(t!==Rr)t=""+t;if(t=t.trim(),t===""){this.removeProperty(e);return}if(r!==""&&r!==Rr&&!/^important$/i.test(r))return;var n=this._parsed;if(t===Rr){if(!n.property[e])return;if(r!=="")n.priority[e]="important";else delete n.priority[e]}else{if(t.indexOf(";")!==-1)return;var a=X0(e+":"+t);if(Object.getOwnPropertyNames(a.property).length===0)return;if(Object.getOwnPropertyNames(a.priority).length!==0)return;for(var i in a.property)if(n.property[i]=a.property[i],r===Rr)continue;else if(r!=="")n.priority[i]="important";else if(n.priority[i])delete n.priority[i]}this._serialize()}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,Rr)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,Rr,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;if(e in t.property)delete t.property[e],delete t.priority[e],this._serialize()}}})});var so=P(function(CE,Q0){var Se=ja();Q0.exports=En;function En(){}En.prototype=Object.create(Object.prototype,{_url:{get:function(){return new Se(this.href)}},protocol:{get:function(){var e=this._url;if(e&&e.scheme)return e.scheme+":";else return":"},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()){if(e=e.replace(/:+$/,""),e=e.replace(/[^-+\.a-zA-Z0-9]/g,Se.percentEncode),e.length>0)r.scheme=e,t=r.toString()}this.href=t}},host:{get:function(){var e=this._url;if(e.isAbsolute()&&e.isAuthorityBased())return e.host+(e.port?":"+e.port:"");else return""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()&&r.isAuthorityBased()){if(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,Se.percentEncode),e.length>0)r.host=e,delete r.port,t=r.toString()}this.href=t}},hostname:{get:function(){var e=this._url;if(e.isAbsolute()&&e.isAuthorityBased())return e.host;else return""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()&&r.isAuthorityBased()){if(e=e.replace(/^\/+/,""),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,Se.percentEncode),e.length>0)r.host=e,t=r.toString()}this.href=t}},port:{get:function(){var e=this._url;if(e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0)return e.port;else return""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()&&r.isAuthorityBased()){if(e=""+e,e=e.replace(/[^0-9].*$/,""),e=e.replace(/^0+/,""),e.length===0)e="0";if(parseInt(e,10)<=65535)r.port=e,t=r.toString()}this.href=t}},pathname:{get:function(){var e=this._url;if(e.isAbsolute()&&e.isHierarchical())return e.path;else return""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()&&r.isHierarchical()){if(e.charAt(0)!=="/")e="/"+e;e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,Se.percentEncode),r.path=e,t=r.toString()}this.href=t}},search:{get:function(){var e=this._url;if(e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0)return"?"+e.query;else return""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()&&r.isHierarchical()){if(e.charAt(0)==="?")e=e.substring(1);e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,Se.percentEncode),r.query=e,t=r.toString()}this.href=t}},hash:{get:function(){var e=this._url;if(e==null||e.fragment==null||e.fragment==="")return"";else return"#"+e.fragment},set:function(e){var t=this.href,r=new Se(t);if(e.charAt(0)==="#")e=e.substring(1);e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,Se.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){var e=this._url;return e.username||""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute())e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,Se.percentEncode),r.username=e,t=r.toString();this.href=t}},password:{get:function(){var e=this._url;return e.password||""},set:function(e){var t=this.href,r=new Se(t);if(r.isAbsolute()){if(e==="")r.password=null;else e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,Se.percentEncode),r.password=e;t=r.toString()}this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return"";var t=function(r){var n=[e.scheme,e.host,+e.port||r];return n[0]+"://"+n[1]+(n[2]===r?"":":"+n[2])};switch(e.scheme){case"ftp":return t(21);case"gopher":return t(70);case"http":case"ws":return t(80);case"https":case"wss":return t(443);default:return e.scheme+"://"}}}});En._inherit=function(e){Object.getOwnPropertyNames(En.prototype).forEach(function(t){if(t==="constructor"||t==="href")return;var r=Object.getOwnPropertyDescriptor(En.prototype,t);Object.defineProperty(e,t,r)})}});var oo=P(function(TE,rd){var ed=As(),Cb=Ca().isApiWritable;rd.exports=function(e,t,r,n){var a=e.ctor;if(a){var i=e.props||{};if(e.attributes)for(var s in e.attributes){var o=e.attributes[s];if(typeof o!=="object"||Array.isArray(o))o={type:o};if(!o.name)o.name=s.toLowerCase();i[s]=ed.property(o)}if(i.constructor={value:a,writable:Cb},a.prototype=Object.create((e.superclass||t).prototype,i),e.events)Ab(a,e.events);r[e.name]=a}else a=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(u){n[u]=a}),a};function td(e,t,r,n){this.body=e,this.document=t,this.form=r,this.element=n}td.prototype.build=function(){return()=>{}};function Tb(e,t,r,n){var a=e.ownerDocument||Object.create(null),i=e.form||Object.create(null);e[t]=new td(n,a,i,e).build()}function Ab(e,t){var r=e.prototype;t.forEach(function(n){Object.defineProperty(r,"on"+n,{get:function(){return this._getEventHandler(n)},set:function(a){this._setEventHandler(n,a)}}),ed.registerChangeHandler(e,"on"+n,Tb)})}});var Ha=P(function(Lb){var co=Oe(),nd=Dr(),Db=Ba(),Ye=Ee(),ad=so(),Rb=oo(),At=Lb.elements={},wn=Object.create(null);Lb.createElement=function(e,t,r){var n=wn[t]||Nb;return new n(e,t,r)};function S(e){return Rb(e,F,At,wn)}function we(e){return{get:function(){var t=this._getattr(e);if(t===null)return"";var r=this.doc._resolve(t);return r===null?t:r},set:function(t){this._setattr(e,t)}}}function Ua(e){return{get:function(){var t=this._getattr(e);if(t===null)return null;if(t.toLowerCase()==="use-credentials")return"use-credentials";return"anonymous"},set:function(t){if(t===null||t===void 0)this.removeAttribute(e);else this._setattr(e,t)}}}var Sr={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},Sb={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},it=function(e,t,r){F.call(this,e,t,r),this._form=null},F=Lb.HTMLElement=S({superclass:nd,name:"HTMLElement",ctor:function(t,r,n){nd.call(this,t,r,Ye.NAMESPACE.HTML,n)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?"":String(e),!0);var r=this instanceof wn.template?this.content:this;while(r.hasChildNodes())r.removeChild(r.firstChild);r.appendChild(t._asDocumentFragment())}},style:{get:function(){if(!this._style)this._style=new Db(this);return this._style},set:function(e){if(e===null||e===void 0)e="";this._setattr("style",String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(this._click_in_progress)return;this._click_in_progress=!0;try{if(this._pre_click_activation_steps)this._pre_click_activation_steps();var e=this.ownerDocument.createEvent("MouseEvent");e.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var t=this.dispatchEvent(e);if(t){if(this._post_click_activation_steps)this._post_click_activation_steps(e)}else if(this._cancelled_activation_steps)this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}},submit:{value:Ye.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){if(this.tagName in Sb||this.contentEditable)return 0;else return-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),Nb=S({name:"HTMLUnknownElement",ctor:function(t,r,n){F.call(this,t,r,n)}}),st={form:{get:function(){return this._form}}};S({tag:"a",name:"HTMLAnchorElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{_post_click_activation_steps:{value:function(e){if(this.href)this.ownerDocument.defaultView.location=this.href}}},attributes:{href:we,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:Sr,coords:String,charset:String,name:String,rev:String,shape:String}});ad._inherit(wn.a.prototype);S({tag:"area",name:"HTMLAreaElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:we,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:Sr,noHref:Boolean}});ad._inherit(wn.area.prototype);S({tag:"br",name:"HTMLBRElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{clear:String}});S({tag:"base",name:"HTMLBaseElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{target:String}});S({tag:"body",name:"HTMLBodyElement",ctor:function(t,r,n){F.call(this,t,r,n)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}});S({tag:"button",name:"HTMLButtonElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:we,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}});S({tag:"dl",name:"HTMLDListElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{compact:Boolean}});S({tag:"data",name:"HTMLDataElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{value:String}});S({tag:"datalist",name:"HTMLDataListElement",ctor:function(t,r,n){F.call(this,t,r,n)}});S({tag:"details",name:"HTMLDetailsElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{open:Boolean}});S({tag:"div",name:"HTMLDivElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{align:String}});S({tag:"embed",name:"HTMLEmbedElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{src:we,type:String,width:String,height:String,align:String,name:String}});S({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{disabled:Boolean,name:String}});S({tag:"form",name:"HTMLFormElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}});S({tag:"hr",name:"HTMLHRElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});S({tag:"head",name:"HTMLHeadElement",ctor:function(t,r,n){F.call(this,t,r,n)}});S({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{align:String}});S({tag:"html",name:"HTMLHtmlElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{xmlns:we,version:String}});S({tag:"iframe",name:"HTMLIFrameElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{src:we,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:Sr,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:we,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});S({tag:"img",name:"HTMLImageElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{alt:String,src:we,srcset:String,crossOrigin:Ua,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:Sr,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:we,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:we,border:{type:String,treatNullAsEmptyString:!0}}});S({tag:"input",name:"HTMLInputElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:{form:st.form,_post_click_activation_steps:{value:function(e){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio"){var t=this.form.getElementsByName(this.name);for(var r=t.length-1;r>=0;r--){var n=t[r];n.checked=n===this}}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:we,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}});S({tag:"keygen",name:"HTMLKeygenElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});S({tag:"li",name:"HTMLLIElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{value:{type:"long",default:0},type:String}});S({tag:"label",name:"HTMLLabelElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{htmlFor:{name:"for",type:String}}});S({tag:"legend",name:"HTMLLegendElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{align:String}});S({tag:"link",name:"HTMLLinkElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{href:we,rel:String,media:String,hreflang:String,type:String,crossOrigin:Ua,nonce:String,integrity:String,referrerPolicy:Sr,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});S({tag:"map",name:"HTMLMapElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{name:String}});S({tag:"menu",name:"HTMLMenuElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});S({tag:"meta",name:"HTMLMetaElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});S({tag:"meter",name:"HTMLMeterElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st});S({tags:["ins","del"],name:"HTMLModElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{cite:we,dateTime:String}});S({tag:"ol",name:"HTMLOListElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(t){if(t.nodeType===co.ELEMENT_NODE&&t.tagName==="LI")e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){if(this.reversed)return this._numitems;else return 1}},compact:Boolean}});S({tag:"object",name:"HTMLObjectElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{data:we,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:we,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});S({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{disabled:Boolean,label:String}});S({tag:"option",name:"HTMLOptionElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{form:{get:function(){var e=this.parentNode;while(e&&e.nodeType===co.ELEMENT_NODE){if(e.localName==="select")return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function(e){this._setattr("value",e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});S({tag:"output",name:"HTMLOutputElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{name:String}});S({tag:"p",name:"HTMLParagraphElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{align:String}});S({tag:"param",name:"HTMLParamElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{name:String,value:String,type:String,valueType:String}});S({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{width:{type:"long",default:0}}});S({tag:"progress",name:"HTMLProgressElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:st,attributes:{max:{type:Number,float:!0,default:1,min:0}}});S({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{cite:we}});S({tag:"script",name:"HTMLScriptElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{text:{get:function(){var e="";for(var t=0,r=this.childNodes.length;t<r;t++){var n=this.childNodes[t];if(n.nodeType===co.TEXT_NODE)e+=n._data}return e},set:function(e){if(this.removeChildren(),e!==null&&e!=="")this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:we,type:String,charset:String,referrerPolicy:Sr,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:Ua,nonce:String,integrity:String}});S({tag:"select",name:"HTMLSelectElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:{form:st.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}});S({tag:"span",name:"HTMLSpanElement",ctor:function(t,r,n){F.call(this,t,r,n)}});S({tag:"style",name:"HTMLStyleElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{media:String,type:String,scoped:Boolean}});S({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{align:String}});S({name:"HTMLTableCellElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});S({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}});S({tag:"table",name:"HTMLTableElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}});S({tag:"template",name:"HTMLTemplateElement",ctor:function(t,r,n){F.call(this,t,r,n),this._contentFragment=t._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});S({tag:"tr",name:"HTMLTableRowElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});S({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});S({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(t,r,n){it.call(this,t,r,n)},props:{form:st.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}});S({tag:"time",name:"HTMLTimeElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{dateTime:String,pubDate:Boolean}});S({tag:"title",name:"HTMLTitleElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{text:{get:function(){return this.textContent}}}});S({tag:"ul",name:"HTMLUListElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{type:String,compact:Boolean}});S({name:"HTMLMediaElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{src:we,crossOrigin:Ua,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});S({name:"HTMLAudioElement",tag:"audio",superclass:At.HTMLMediaElement,ctor:function(t,r,n){At.HTMLMediaElement.call(this,t,r,n)}});S({name:"HTMLVideoElement",tag:"video",superclass:At.HTMLMediaElement,ctor:function(t,r,n){At.HTMLMediaElement.call(this,t,r,n)},attributes:{poster:we,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});S({tag:"td",name:"HTMLTableDataCellElement",superclass:At.HTMLTableCellElement,ctor:function(t,r,n){At.HTMLTableCellElement.call(this,t,r,n)}});S({tag:"th",name:"HTMLTableHeaderCellElement",superclass:At.HTMLTableCellElement,ctor:function(t,r,n){At.HTMLTableCellElement.call(this,t,r,n)}});S({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(t,r,n){F.call(this,t,r,n)}});S({tag:"frame",name:"HTMLFrameElement",ctor:function(t,r,n){F.call(this,t,r,n)}});S({tag:"canvas",name:"HTMLCanvasElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{getContext:{value:Ye.nyi},probablySupportsContext:{value:Ye.nyi},setContext:{value:Ye.nyi},transferControlToProxy:{value:Ye.nyi},toDataURL:{value:Ye.nyi},toBlob:{value:Ye.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});S({tag:"dialog",name:"HTMLDialogElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{show:{value:Ye.nyi},showModal:{value:Ye.nyi},close:{value:Ye.nyi}},attributes:{open:Boolean,returnValue:String}});S({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(t,r,n){F.call(this,t,r,n)},props:{_label:{get:function(){var e=this._getattr("label");if(e!==null&&e!=="")return e;return e=this.textContent,e.replace(/[ \t\n\f\r]+/g," ").trim()}},label:{get:function(){var e=this._getattr("label");if(e!==null)return e;return this._label},set:function(e){this._setattr("label",e)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:we,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});S({tag:"source",name:"HTMLSourceElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{srcset:String,sizes:String,media:String,src:we,type:String,width:String,height:String}});S({tag:"track",name:"HTMLTrackElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{src:we,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:Ye.nyi},track:{get:Ye.nyi}}});S({tag:"font",name:"HTMLFontElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});S({tag:"dir",name:"HTMLDirectoryElement",ctor:function(t,r,n){F.call(this,t,r,n)},attributes:{compact:Boolean}});S({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})});var fo=P(function(qb){var id=Dr(),Ob=oo(),Fb=Ee(),Mb=Ba(),Pb=qb.elements={},sd=Object.create(null);qb.createElement=function(e,t,r){var n=sd[t]||uo;return new n(e,t,r)};function lo(e){return Ob(e,uo,Pb,sd)}var uo=lo({superclass:id,name:"SVGElement",ctor:function(t,r,n){id.call(this,t,r,Fb.NAMESPACE.SVG,n)},props:{style:{get:function(){if(!this._style)this._style=new Mb(this);return this._style}}}});lo({name:"SVGSVGElement",ctor:function(t,r,n){uo.call(this,t,r,n)},tag:"svg",props:{createSVGRect:{value:function(){return qb.createElement(this.ownerDocument,"rect",null)}}}});lo({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})});var ld=P(function(LE,cd){cd.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var za=P(function(IE,_d){_d.exports=Cn;var Pe=Oe(),jb=or(),md=Da(),Gt=Dr(),Bb=zs(),Ub=Ws(),kn=vr(),Hb=Js(),$b=Xs(),zb=Tn(),Vb=L0(),Wb=q0(),ud=vn(),dd=ja(),fd=Ia(),Gb=io(),$a=Ra(),ho=Ha(),Jb=fo(),ne=Ee(),Nr=ld(),Ir=ne.NAMESPACE,po=Ca().isApiWritable;function Cn(e,t){md.call(this),this.nodeType=Pe.DOCUMENT_NODE,this.isHTML=e,this._address=t||"about:blank",this.readyState="loading",this.implementation=new zb(this),this.ownerDocument=null,this._contentType=e?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var Yb={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},Xb={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Lr=function(e,t,r){return{get:function(){var n=e.call(this);if(n)return n[t];return r},set:function(n){var a=e.call(this);if(a)a[t]=n}}};function hd(e,t){var r,n,a;if(e==="")e=null;if(!$a.isValidQName(t))ne.InvalidCharacterError();if(r=null,n=t,a=t.indexOf(":"),a>=0)r=t.substring(0,a),n=t.substring(a+1);if(r!==null&&e===null)ne.NamespaceError();if(r==="xml"&&e!==Ir.XML)ne.NamespaceError();if((r==="xmlns"||t==="xmlns")&&e!==Ir.XMLNS)ne.NamespaceError();if(e===Ir.XMLNS&&!(r==="xmlns"||t==="xmlns"))ne.NamespaceError();return{namespace:e,prefix:r,localName:n}}Cn.prototype=Object.create(md.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,r){var n=this._nodes[e];if(!n)return;n._dispatchEvent(new kn(t,r),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:ne.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function(e){return new Bb(this,String(e))}},createComment:{value:function(e){return new Ub(this,e)}},createDocumentFragment:{value:function(){return new Hb(this)}},createProcessingInstruction:{value:function(e,t){if(!$a.isValidName(e)||t.indexOf("?>")!==-1)ne.InvalidCharacterError();return new $b(this,e,t)}},createAttribute:{value:function(e){if(e=String(e),!$a.isValidName(e))ne.InvalidCharacterError();if(this.isHTML)e=ne.toASCIILowerCase(e);return new Gt._Attr(null,e,null,null,"")}},createAttributeNS:{value:function(e,t){e=e===null||e===void 0||e===""?null:String(e),t=String(t);var r=hd(e,t);return new Gt._Attr(null,r.localName,r.prefix,r.namespace,"")}},createElement:{value:function(e){if(e=String(e),!$a.isValidName(e))ne.InvalidCharacterError();if(this.isHTML){if(/[A-Z]/.test(e))e=ne.toASCIILowerCase(e);return ho.createElement(this,e,null)}else if(this.contentType==="application/xhtml+xml")return ho.createElement(this,e,null);else return new Gt(this,e,null,null)},writable:po},createElementNS:{value:function(e,t){e=e===null||e===void 0||e===""?null:String(e),t=String(t);var r=hd(e,t);return this._createElementNS(r.localName,r.namespace,r.prefix)},writable:po},_createElementNS:{value:function(e,t,r){if(t===Ir.HTML)return ho.createElement(this,e,r);else if(t===Ir.SVG)return Jb.createElement(this,e,r);return new Gt(this,e,t,r)}},createEvent:{value:function(t){t=t.toLowerCase();var r=Xb[t]||t,n=Gb[Yb[r]];if(n){var a=new n;return a._initialized=!1,a}else ne.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw TypeError("root argument is required");if(!(e instanceof Pe))throw TypeError("root not a node");return t=t===void 0?ud.SHOW_ALL:+t,r=r===void 0?null:r,new Vb(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw TypeError("root argument is required");if(!(e instanceof Pe))throw TypeError("root not a node");return t=t===void 0?ud.SHOW_ALL:+t,r=r===void 0?null:r,new Wb(e,t,r)}},_attachNodeIterator:{value:function(e){if(!this._nodeIterators)this._nodeIterators=[];this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){if(this._nodeIterators)this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var t=this.firstChild;t!==null;t=t.nextSibling)if(t.nodeType===Pe.DOCUMENT_TYPE_NODE)this.doctype=t;else if(t.nodeType===Pe.ELEMENT_NODE)this.documentElement=t}},insertBefore:{value:function(t,r){return Pe.prototype.insertBefore.call(this,t,r),this._updateDocTypeElement(),t}},replaceChild:{value:function(t,r){return Pe.prototype.replaceChild.call(this,t,r),this._updateDocTypeElement(),r}},removeChild:{value:function(t){return Pe.prototype.removeChild.call(this,t),this._updateDocTypeElement(),t}},getElementById:{value:function(e){var t=this.byId[e];if(!t)return null;if(t instanceof Dt)return t.getFirst();return t}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof Dt}},getElementsByName:{value:Gt.prototype.getElementsByName},getElementsByTagName:{value:Gt.prototype.getElementsByTagName},getElementsByTagNameNS:{value:Gt.prototype.getElementsByTagNameNS},getElementsByClassName:{value:Gt.prototype.getElementsByClassName},adoptNode:{value:function(t){if(t.nodeType===Pe.DOCUMENT_NODE)ne.NotSupportedError();if(t.nodeType===Pe.ATTRIBUTE_NODE)return t;if(t.parentNode)t.parentNode.removeChild(t);if(t.ownerDocument!==this)bd(t,this);return t}},importNode:{value:function(t,r){return this.adoptNode(t.cloneNode(r))},writable:po},origin:{get:function(){return null}},characterSet:{get:function(){return"UTF-8"}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:ne.nyi,set:ne.nyi},referrer:{get:ne.nyi},cookie:{get:ne.nyi,set:ne.nyi},lastModified:{get:ne.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:ne.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var e=this._titleElement,t=e?e.textContent:"";return t.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function(e){var t=this._titleElement,r=this.head;if(!t&&!r)return;if(!t)t=this.createElement("title"),r.appendChild(t);t.textContent=e}},dir:Lr(function(){var e=this.documentElement;if(e&&e.tagName==="HTML")return e},"dir",""),fgColor:Lr(function(){return this.body},"text",""),linkColor:Lr(function(){return this.body},"link",""),vlinkColor:Lr(function(){return this.body},"vLink",""),alinkColor:Lr(function(){return this.body},"aLink",""),bgColor:Lr(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return pd(this.documentElement,"body")},set:ne.nyi},head:{get:function(){return pd(this.documentElement,"head")}},images:{get:ne.nyi},embeds:{get:ne.nyi},plugins:{get:ne.nyi},links:{get:ne.nyi},forms:{get:ne.nyi},scripts:{get:ne.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:ne.nyi},outerHTML:{get:function(){return this.serialize()},set:ne.nyi},write:{value:function(e){if(!this.isHTML)ne.InvalidStateError();if(!this._parser)return;if(!this._parser);var t=arguments.join("");this._parser.parse(t)}},writeln:{value:function(t){this.write(Array.prototype.join.call(arguments,"")+`
6
- `)}},open:{value:function(){this.documentElement=null}},close:{value:function(){if(this.readyState="interactive",this._dispatchEvent(new kn("readystatechange"),!0),this._dispatchEvent(new kn("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new kn("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new kn("load"),!0)}},clone:{value:function(){var t=new Cn(this.isHTML,this._address);return t._quirks=this._quirks,t._contentType=this._contentType,t}},cloneNode:{value:function(t){var r=Pe.prototype.cloneNode.call(this,!1);if(t)for(var n=this.firstChild;n!==null;n=n.nextSibling)r._appendChild(r.importNode(n,!0));return r._updateDocTypeElement(),r}},isEqual:{value:function(t){return!0}},mutateValue:{value:function(e){if(this.mutationHandler)this.mutationHandler({type:Nr.VALUE,target:e,data:e.data})}},mutateAttr:{value:function(e,t){if(this.mutationHandler)this.mutationHandler({type:Nr.ATTR,target:e.ownerElement,attr:e})}},mutateRemoveAttr:{value:function(e){if(this.mutationHandler)this.mutationHandler({type:Nr.REMOVE_ATTR,target:e.ownerElement,attr:e})}},mutateRemove:{value:function(e){if(this.mutationHandler)this.mutationHandler({type:Nr.REMOVE,target:e.parentNode,node:e});gd(e)}},mutateInsert:{value:function(e){if(xd(e),this.mutationHandler)this.mutationHandler({type:Nr.INSERT,target:e.parentNode,node:e})}},mutateMove:{value:function(e){if(this.mutationHandler)this.mutationHandler({type:Nr.MOVE,target:e})}},addId:{value:function(t,r){var n=this.byId[t];if(!n)this.byId[t]=r;else{if(!(n instanceof Dt))n=new Dt(n),this.byId[t]=n;n.add(r)}}},delId:{value:function(t,r){var n=this.byId[t];if(ne.assert(n),n instanceof Dt){if(n.del(r),n.length===1)this.byId[t]=n.downgrade()}else this.byId[t]=void 0}},_resolve:{value:function(e){return new dd(this._documentBaseURL).resolve(e)}},_documentBaseURL:{get:function(){var e=this._address;if(e==="about:blank")e="/";var t=this.querySelector("base[href]");if(t)return new dd(e).resolve(t.getAttribute("href"));return e}},_templateDoc:{get:function(){if(!this._templateDocCache){var e=new Cn(this.isHTML,this._address);this._templateDocCache=e._templateDocCache=e}return this._templateDocCache}},querySelector:{value:function(e){return fd(e,this)[0]}},querySelectorAll:{value:function(e){var t=fd(e,this);return t.item?t:new jb(t)}}});var Kb=["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"];Kb.forEach(function(e){Object.defineProperty(Cn.prototype,"on"+e,{get:function(){return this._getEventHandler(e)},set:function(t){this._setEventHandler(e,t)}})});function pd(e,t){if(e&&e.isHTML){for(var r=e.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===Pe.ELEMENT_NODE&&r.localName===t&&r.namespaceURI===Ir.HTML)return r}return null}function Zb(e){if(e._nid=e.ownerDocument._nextnid++,e.ownerDocument._nodes[e._nid]=e,e.nodeType===Pe.ELEMENT_NODE){var t=e.getAttribute("id");if(t)e.ownerDocument.addId(t,e);if(e._roothook)e._roothook()}}function Qb(e){if(e.nodeType===Pe.ELEMENT_NODE){var t=e.getAttribute("id");if(t)e.ownerDocument.delId(t,e)}e.ownerDocument._nodes[e._nid]=void 0,e._nid=void 0}function xd(e){if(Zb(e),e.nodeType===Pe.ELEMENT_NODE)for(var t=e.firstChild;t!==null;t=t.nextSibling)xd(t)}function gd(e){Qb(e);for(var t=e.firstChild;t!==null;t=t.nextSibling)gd(t)}function bd(e,t){if(e.ownerDocument=t,e._lastModTime=void 0,Object.prototype.hasOwnProperty.call(e,"_tagName"))e._tagName=void 0;for(var r=e.firstChild;r!==null;r=r.nextSibling)bd(r,t)}function Dt(e){this.nodes=Object.create(null),this.nodes[e._nid]=e,this.length=1,this.firstNode=void 0}Dt.prototype.add=function(e){if(!this.nodes[e._nid])this.nodes[e._nid]=e,this.length++,this.firstNode=void 0};Dt.prototype.del=function(e){if(this.nodes[e._nid])delete this.nodes[e._nid],this.length--,this.firstNode=void 0};Dt.prototype.getFirst=function(){if(!this.firstNode){var e;for(e in this.nodes)if(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[e])&Pe.DOCUMENT_POSITION_PRECEDING)this.firstNode=this.nodes[e]}return this.firstNode};Dt.prototype.downgrade=function(){if(this.length===1){var e;for(e in this.nodes)return this.nodes[e]}return this}});var Wa=P(function(OE,vd){vd.exports=Va;var e_=Oe(),yd=Hs(),t_=Oa();function Va(e,t,r,n){yd.call(this),this.nodeType=e_.DOCUMENT_TYPE_NODE,this.ownerDocument=e||null,this.name=t,this.publicId=r||"",this.systemId=n||""}Va.prototype=Object.create(yd.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new Va(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(t){return this.name===t.name&&this.publicId===t.publicId&&this.systemId===t.systemId}}});Object.defineProperties(Va.prototype,t_)});var Qa=P(function(FE,zd){zd.exports=ee;var r_=za(),n_=Wa(),mo=Oe(),B=Ee().NAMESPACE,Md=Ha(),ce=Md.elements,lr=Function.prototype.apply.bind(Array.prototype.push),Ga=-1,Or=1,qe=2,Z=3,gt=4,a_=5,i_=[],s_=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict\/\/|^-\/\/IETF\/\/DTD HTML 2\.0\/\/|^-\/\/IETF\/\/DTD HTML 2\.1E\/\/|^-\/\/IETF\/\/DTD HTML 3\.0\/\/|^-\/\/IETF\/\/DTD HTML 3\.2 Final\/\/|^-\/\/IETF\/\/DTD HTML 3\.2\/\/|^-\/\/IETF\/\/DTD HTML 3\/\/|^-\/\/IETF\/\/DTD HTML Level 0\/\/|^-\/\/IETF\/\/DTD HTML Level 1\/\/|^-\/\/IETF\/\/DTD HTML Level 2\/\/|^-\/\/IETF\/\/DTD HTML Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 0\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict\/\/|^-\/\/IETF\/\/DTD HTML\/\/|^-\/\/Metrius\/\/DTD Metrius Presentational\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 Tables\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 Tables\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD HTML\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD Strict HTML\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML 2\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended 1\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended Relaxed 1\.0\/\/|^-\/\/SoftQuad Software\/\/DTD HoTMetaL PRO 6\.0::19990601::extensions to HTML 4\.0\/\/|^-\/\/SoftQuad\/\/DTD HoTMetaL PRO 4\.0::19971010::extensions to HTML 4\.0\/\/|^-\/\/Spyglass\/\/DTD HTML 2\.0 Extended\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava HTML\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava Strict HTML\/\/|^-\/\/W3C\/\/DTD HTML 3 1995-03-24\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Draft\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Final\/\/|^-\/\/W3C\/\/DTD HTML 3\.2\/\/|^-\/\/W3C\/\/DTD HTML 3\.2S Draft\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/|^-\/\/W3C\/\/DTD HTML Experimental 19960712\/\/|^-\/\/W3C\/\/DTD HTML Experimental 970421\/\/|^-\/\/W3C\/\/DTD W3 HTML\/\/|^-\/\/W3O\/\/DTD W3 HTML 3\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML 2\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML\/\//i,o_="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ed=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,c_=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,dr=Object.create(null);dr[B.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0};dr[B.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};dr[B.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var bo=Object.create(null);bo[B.HTML]={__proto__:null,address:!0,div:!0,p:!0};var Pd=Object.create(null);Pd[B.HTML]={__proto__:null,dd:!0,dt:!0};var Fr=Object.create(null);Fr[B.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var qd=Object.create(null);qd[B.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var jd=Object.create(null);jd[B.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var Xa=Object.create(null);Xa[B.HTML]={__proto__:null,table:!0,template:!0,html:!0};var Ka=Object.create(null);Ka[B.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var _o=Object.create(null);_o[B.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var Bd=Object.create(null);Bd[B.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var bt=Object.create(null);bt[B.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};bt[B.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};bt[B.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var Za=Object.create(bt);Za[B.HTML]=Object.create(bt[B.HTML]);Za[B.HTML].ol=!0;Za[B.HTML].ul=!0;var yo=Object.create(bt);yo[B.HTML]=Object.create(bt[B.HTML]);yo[B.HTML].button=!0;var Ud=Object.create(null);Ud[B.HTML]={__proto__:null,html:!0,table:!0,template:!0};var l_=Object.create(null);l_[B.HTML]={__proto__:null,optgroup:!0,option:!0};var Hd=Object.create(null);Hd[B.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var $d=Object.create(null);$d[B.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var wd={__proto__:null,"xlink:actuate":B.XLINK,"xlink:arcrole":B.XLINK,"xlink:href":B.XLINK,"xlink:role":B.XLINK,"xlink:show":B.XLINK,"xlink:title":B.XLINK,"xlink:type":B.XLINK,"xml:base":B.XML,"xml:lang":B.XML,"xml:space":B.XML,xmlns:B.XMLNS,"xmlns:xlink":B.XMLNS},kd={__proto__:null,attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},Cd={__proto__:null,altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},Td={__proto__:null,0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},u_={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},Ad=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,d_=32,f_=/[^\r"&\u0000]+/g,h_=/[^\r'&\u0000]+/g,p_=/[^\r\t\n\f &>\u0000]+/g,m_=/[^\r\t\n\f \/>A-Z\u0000]+/g,x_=/[^\r\t\n\f \/=>A-Z\u0000]+/g,g_=/[^\]\r\u0000\uffff]*/g,b_=/[^&<\r\u0000\uffff]*/g,Dd=/[^<\r\u0000\uffff]*/g,__=/[^\r\u0000\uffff]*/g,Rd=/(?:(\/)?([a-z]+)>)|[\s\S]/g,Sd=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,Ja=/[^\x09\x0A\x0C\x0D\x20]/,xo=/[^\x09\x0A\x0C\x0D\x20]/g,y_=/[^\x00\x09\x0A\x0C\x0D\x20]/,ur=/^[\x09\x0A\x0C\x0D\x20]+/,Ya=/\x00/g;function je(e){var t=16384;if(e.length<t)return String.fromCharCode.apply(String,e);var r="";for(var n=0;n<e.length;n+=t)r+=String.fromCharCode.apply(String,e.slice(n,n+t));return r}function v_(e){var t=[];for(var r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}function le(e,t){if(typeof t==="string")return e.namespaceURI===B.HTML&&e.localName===t;var r=t[e.namespaceURI];return r&&r[e.localName]}function Nd(e){return le(e,Hd)}function Ld(e){if(le(e,$d))return!0;if(e.namespaceURI===B.MATHML&&e.localName==="annotation-xml"){var t=e.getAttribute("encoding");if(t)t=t.toLowerCase();if(t==="text/html"||t==="application/xhtml+xml")return!0}return!1}function E_(e){if(e in Cd)return Cd[e];else return e}function Id(e){for(var t=0,r=e.length;t<r;t++)if(e[t][0]in kd)e[t][0]=kd[e[t][0]]}function Od(e){for(var t=0,r=e.length;t<r;t++)if(e[t][0]==="definitionurl"){e[t][0]="definitionURL";break}}function go(e){for(var t=0,r=e.length;t<r;t++)if(e[t][0]in wd)e[t].push(wd[e[t][0]])}function Fd(e,t){for(var r=0,n=e.length;r<n;r++){var a=e[r][0],i=e[r][1];if(t.hasAttribute(a))continue;t._setAttribute(a,i)}}ee.ElementStack=function(){this.elements=[],this.top=null};ee.ElementStack.prototype.push=function(e){this.elements.push(e),this.top=e};ee.ElementStack.prototype.pop=function(e){this.elements.pop(),this.top=this.elements[this.elements.length-1]};ee.ElementStack.prototype.popTag=function(e){for(var t=this.elements.length-1;t>0;t--){var r=this.elements[t];if(le(r,e))break}this.elements.length=t,this.top=this.elements[t-1]};ee.ElementStack.prototype.popElementType=function(e){for(var t=this.elements.length-1;t>0;t--)if(this.elements[t]instanceof e)break;this.elements.length=t,this.top=this.elements[t-1]};ee.ElementStack.prototype.popElement=function(e){for(var t=this.elements.length-1;t>0;t--)if(this.elements[t]===e)break;this.elements.length=t,this.top=this.elements[t-1]};ee.ElementStack.prototype.removeElement=function(e){if(this.top===e)this.pop();else{var t=this.elements.lastIndexOf(e);if(t!==-1)this.elements.splice(t,1)}};ee.ElementStack.prototype.clearToContext=function(e){for(var t=this.elements.length-1;t>0;t--)if(le(this.elements[t],e))break;this.elements.length=t+1,this.top=this.elements[t]};ee.ElementStack.prototype.contains=function(e){return this.inSpecificScope(e,Object.create(null))};ee.ElementStack.prototype.inSpecificScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(le(n,e))return!0;if(le(n,t))return!1}return!1};ee.ElementStack.prototype.elementInSpecificScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n===e)return!0;if(le(n,t))return!1}return!1};ee.ElementStack.prototype.elementTypeInSpecificScope=function(e,t){for(var r=this.elements.length-1;r>=0;r--){var n=this.elements[r];if(n instanceof e)return!0;if(le(n,t))return!1}return!1};ee.ElementStack.prototype.inScope=function(e){return this.inSpecificScope(e,bt)};ee.ElementStack.prototype.elementInScope=function(e){return this.elementInSpecificScope(e,bt)};ee.ElementStack.prototype.elementTypeInScope=function(e){return this.elementTypeInSpecificScope(e,bt)};ee.ElementStack.prototype.inButtonScope=function(e){return this.inSpecificScope(e,yo)};ee.ElementStack.prototype.inListItemScope=function(e){return this.inSpecificScope(e,Za)};ee.ElementStack.prototype.inTableScope=function(e){return this.inSpecificScope(e,Ud)};ee.ElementStack.prototype.inSelectScope=function(e){for(var t=this.elements.length-1;t>=0;t--){var r=this.elements[t];if(r.namespaceURI!==B.HTML)return!1;var n=r.localName;if(n===e)return!0;if(n!=="optgroup"&&n!=="option")return!1}return!1};ee.ElementStack.prototype.generateImpliedEndTags=function(e,t){var r=t?jd:qd;for(var n=this.elements.length-1;n>=0;n--){var a=this.elements[n];if(e&&le(a,e))break;if(!le(this.elements[n],r))break}this.elements.length=n+1,this.top=this.elements[n]};ee.ActiveFormattingElements=function(){this.list=[],this.attrs=[]};ee.ActiveFormattingElements.prototype.MARKER={localName:"|"};ee.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};ee.ActiveFormattingElements.prototype.push=function(e,t){var r=0;for(var n=this.list.length-1;n>=0;n--){if(this.list[n]===this.MARKER)break;if(s(e,this.list[n],this.attrs[n])){if(r++,r===3){this.list.splice(n,1),this.attrs.splice(n,1);break}}}this.list.push(e);var a=[];for(var i=0;i<t.length;i++)a[i]=t[i];this.attrs.push(a);function s(o,u,f){if(o.localName!==u.localName)return!1;if(o._numattrs!==f.length)return!1;for(var p=0,x=f.length;p<x;p++){var v=f[p][0],d=f[p][1];if(!o.hasAttribute(v))return!1;if(o.getAttribute(v)!==d)return!1}return!0}};ee.ActiveFormattingElements.prototype.clearToMarker=function(){for(var e=this.list.length-1;e>=0;e--)if(this.list[e]===this.MARKER)break;if(e<0)e=0;this.list.length=e,this.attrs.length=e};ee.ActiveFormattingElements.prototype.findElementByTag=function(e){for(var t=this.list.length-1;t>=0;t--){var r=this.list[t];if(r===this.MARKER)break;if(r.localName===e)return r}return null};ee.ActiveFormattingElements.prototype.indexOf=function(e){return this.list.lastIndexOf(e)};ee.ActiveFormattingElements.prototype.remove=function(e){var t=this.list.lastIndexOf(e);if(t!==-1)this.list.splice(t,1),this.attrs.splice(t,1)};ee.ActiveFormattingElements.prototype.replace=function(e,t,r){var n=this.list.lastIndexOf(e);if(n!==-1)this.list[n]=t,this.attrs[n]=r};ee.ActiveFormattingElements.prototype.insertAfter=function(e,t){var r=this.list.lastIndexOf(e);if(r!==-1)this.list.splice(r,0,t),this.attrs.splice(r,0,t)};function ee(e,t,r){var n=null,a=0,i=0,s=!1,o=!1,u=0,f=[],p="",x=!0,v=0,d=X,g,A,E="",L="",C=[],T="",w="",k=[],q=[],Q=[],ue=[],V=[],de=!1,_=hp,ae=null,me=[],m=new ee.ElementStack,j=new ee.ActiveFormattingElements,_t=t!==void 0,Nn=null,yt=null,Ln=!0;if(t)Ln=t.ownerDocument._scripting_enabled;if(r&&r.scripting_enabled===!1)Ln=!1;var _e=!0,fi=!1,In,hi,D=[],St=!1,Yt=!1,On={document:function(){return re},_asDocumentFragment:function(){var c=re.createDocumentFragment(),l=re.firstChild;while(l.hasChildNodes())c.appendChild(l.firstChild);return c},pause:function(){v++},resume:function(){v--,this.parse("")},parse:function(c,l,h){var b;if(v>0)return p+=c,!0;if(u===0){if(p)c=p+c,p="";if(l)c+="￿",s=!0;if(n=c,a=c.length,i=0,x){if(x=!1,n.charCodeAt(0)===65279)i=1}u++,b=Ko(h),p=n.substring(i,a),u--}else{if(u++,f.push(n,a,i),n=c,a=c.length,i=0,Ko(),b=!1,p=n.substring(i,a),i=f.pop(),a=f.pop(),n=f.pop(),p)n=p+n.substring(i),a=n.length,i=0,p="";u--}return b}},re=new r_(!0,e);if(re._parser=On,re._scripting_enabled=Ln,t){if(t.ownerDocument._quirks)re._quirks=!0;if(t.ownerDocument._limitedQuirks)re._limitedQuirks=!0;if(t.namespaceURI===B.HTML)switch(t.localName){case"title":case"textarea":d=Ot;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":d=bi;break}var Xo=re.createElement("html");if(re._appendChild(Xo),m.push(Xo),t instanceof ce.HTMLTemplateElement)me.push(Di);Vr();for(var Br=t;Br!==null;Br=Br.parentElement)if(Br instanceof ce.HTMLFormElement){yt=Br;break}}function Ko(c){var l,h,b,y;while(i<a){if(v>0||c&&c())return!0;switch(typeof d.lookahead){case"undefined":if(l=n.charCodeAt(i++),o){if(o=!1,l===10){i++;continue}}switch(l){case 13:if(i<a){if(n.charCodeAt(i)===10)i++}else o=!0;d(10);break;case 65535:if(s&&i===a){d(Ga);break}default:d(l);break}break;case"number":l=n.charCodeAt(i);var R=d.lookahead,H=!0;if(R<0)H=!1,R=-R;if(R<a-i)h=H?n.substring(i,i+R):null,y=!1;else if(s){if(h=H?n.substring(i,a):null,y=!0,l===65535&&i===a-1)l=Ga}else return!0;d(l,h,y);break;case"string":l=n.charCodeAt(i),b=d.lookahead;var K=n.indexOf(b,i);if(K!==-1)h=n.substring(i,K+b.length),y=!1;else{if(!s)return!0;if(h=n.substring(i,a),l===65535&&i===a-1)l=Ga;y=!0}d(l,h,y);break}}return!1}function Nt(c,l){for(var h=0;h<V.length;h++)if(V[h][0]===c)return;if(l!==void 0)V.push([c,l]);else V.push([c])}function gh(){Sd.lastIndex=i-1;var c=Sd.exec(n);if(!c)throw Error("should never happen");var l=c[1];if(!l)return!1;var h=c[2],b=h.length;switch(h[0]){case'"':case"'":h=h.substring(1,b-1),i+=c[0].length-1,d=Ei;break;default:d=dt,i+=c[0].length-1,h=h.substring(0,b-1);break}for(var y=0;y<V.length;y++)if(V[y][0]===l)return!0;return V.push([l,h]),!0}function bh(){de=!1,E="",V.length=0}function Ur(){de=!0,E="",V.length=0}function vt(){C.length=0}function pi(){T=""}function mi(){w=""}function Zo(){k.length=0}function hr(){q.length=0,Q=null,ue=null}function Fn(){Q=[]}function Lt(){ue=[]}function ie(){fi=!0}function _h(){return m.top&&m.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function Xe(c){return L===c}function pr(){if(D.length>0){var c=je(D);if(D.length=0,Yt){if(Yt=!1,c[0]===`
7
- `)c=c.substring(1);if(c.length===0)return}ke(Or,c),St=!1}Yt=!1}function Hr(c){c.lastIndex=i-1;var l=c.exec(n);if(l&&l.index===i-1){if(l=l[0],i+=l.length-1,s&&i===a)l=l.slice(0,-1),i--;return l}else throw Error("should never happen")}function $r(c){c.lastIndex=i-1;var l=c.exec(n)[0];if(!l)return!1;return yh(l),i+=l.length-1,!0}function yh(c){if(D.length>0)pr();if(Yt){if(Yt=!1,c[0]===`
8
- `)c=c.substring(1);if(c.length===0)return}ke(Or,c)}function Et(){if(de)ke(Z,E);else{var c=E;E="",L=c,ke(qe,c,V)}}function vh(){if(i===a)return!1;Rd.lastIndex=i;var c=Rd.exec(n);if(!c)throw Error("should never happen");var l=c[2];if(!l)return!1;var h=c[1];if(h)i+=l.length+2,ke(Z,l);else i+=l.length+1,L=l,ke(qe,l,i_);return!0}function Eh(){if(de)ke(Z,E,null,!0);else ke(qe,E,V,!0)}function se(){ke(a_,je(q),Q?je(Q):void 0,ue?je(ue):void 0)}function J(){pr(),_(Ga),re.modclock=1}var ke=On.insertToken=function(l,h,b,y){pr();var R=m.top;if(!R||R.namespaceURI===B.HTML)_(l,h,b,y);else if(l!==qe&&l!==Or)pc(l,h,b,y);else if(Nd(R)&&(l===Or||l===qe&&h!=="mglyph"&&h!=="malignmark")||l===qe&&h==="svg"&&R.namespaceURI===B.MATHML&&R.localName==="annotation-xml"||Ld(R))hi=!0,_(l,h,b,y),hi=!1;else pc(l,h,b,y)};function ct(c){var l=m.top;if(It&&le(l,Fr))Pn(function(h){return h.createComment(c)});else{if(l instanceof ce.HTMLTemplateElement)l=l.content;l._appendChild(l.ownerDocument.createComment(c))}}function lt(c){var l=m.top;if(It&&le(l,Fr))Pn(function(b){return b.createTextNode(c)});else{if(l instanceof ce.HTMLTemplateElement)l=l.content;var h=l.lastChild;if(h&&h.nodeType===mo.TEXT_NODE)h.appendData(c);else l._appendChild(l.ownerDocument.createTextNode(c))}}function zr(c,l,h){var b=Md.createElement(c,l,null);if(h)for(var y=0,R=h.length;y<R;y++)b._setAttribute(h[y][0],h[y][1]);return b}var It=!1;function W(c,l){var h=Mn(function(b){return zr(b,c,l)});if(le(h,Bd))h._form=yt;return h}function Mn(c){var l;if(It&&le(m.top,Fr))l=Pn(c);else if(m.top instanceof ce.HTMLTemplateElement)l=c(m.top.content.ownerDocument),m.top.content._appendChild(l);else l=c(m.top.ownerDocument),m.top._appendChild(l);return m.push(l),l}function xi(c,l,h){return Mn(function(b){var y=b._createElementNS(c,h,null);if(l)for(var R=0,H=l.length;R<H;R++){var K=l[R];if(K.length===2)y._setAttribute(K[0],K[1]);else y._setAttributeNS(K[2],K[0],K[1])}return y})}function Qo(c){for(var l=m.elements.length-1;l>=0;l--)if(m.elements[l]instanceof c)return l;return-1}function Pn(c){var l,h,b=-1,y=-1,R;if(b=Qo(ce.HTMLTableElement),y=Qo(ce.HTMLTemplateElement),y>=0&&(b<0||y>b))l=m.elements[y];else if(b>=0)if(l=m.elements[b].parentNode,l)h=m.elements[b];else l=m.elements[b-1];if(!l)l=m.elements[0];if(l instanceof ce.HTMLTemplateElement)l=l.content;if(R=c(l.ownerDocument),R.nodeType===mo.TEXT_NODE){var H;if(h)H=h.previousSibling;else H=l.lastChild;if(H&&H.nodeType===mo.TEXT_NODE)return H.appendData(R.data),R}if(h)l.insertBefore(R,h);else l._appendChild(R);return R}function Vr(){var c=!1;for(var l=m.elements.length-1;l>=0;l--){var h=m.elements[l];if(l===0){if(c=!0,_t)h=t}if(h.namespaceURI===B.HTML){var b=h.localName;switch(b){case"select":for(var y=l;y>0;){var R=m.elements[--y];if(R instanceof ce.HTMLTemplateElement)break;else if(R instanceof ce.HTMLTableElement){_=Kn;return}}_=wt;return;case"tr":_=Jr;return;case"tbody":case"tfoot":case"thead":_=Qt;return;case"caption":_=Ai;return;case"colgroup":_=Xn;return;case"table":_=Ke;return;case"template":_=me[me.length-1];return;case"body":_=U;return;case"frameset":_=Ri;return;case"html":if(Nn===null)_=Jn;else _=Ti;return;default:if(!c){if(b==="head"){_=ye;return}if(b==="td"||b==="th"){_=mr;return}}}}if(c){_=U;return}}}function qn(c,l){W(c,l),d=Wr,ae=_,_=Yn}function wh(c,l){W(c,l),d=Ot,ae=_,_=Yn}function gi(c,l){return{elt:zr(c,j.list[l].localName,j.attrs[l]),attrs:j.attrs[l]}}function He(){if(j.list.length===0)return;var c=j.list[j.list.length-1];if(c===j.MARKER)return;if(m.elements.lastIndexOf(c)!==-1)return;for(var l=j.list.length-2;l>=0;l--){if(c=j.list[l],c===j.MARKER)break;if(m.elements.lastIndexOf(c)!==-1)break}for(l=l+1;l<j.list.length;l++){var h=Mn(function(b){return gi(b,l).elt});j.list[l]=h}}var jn={localName:"BM"};function kh(c){if(le(m.top,c)&&j.indexOf(m.top)===-1)return m.pop(),!0;var l=0;while(l<8){l++;var h=j.findElementByTag(c);if(!h)return!1;var b=m.elements.lastIndexOf(h);if(b===-1)return j.remove(h),!0;if(!m.elementInScope(h))return!0;var y=null,R;for(var H=b+1;H<m.elements.length;H++)if(le(m.elements[H],dr)){y=m.elements[H],R=H;break}if(!y)return m.popElement(h),j.remove(h),!0;else{var K=m.elements[b-1];j.insertAfter(h,jn);var xe=y,Ne=y,Ze=R,rt,er=0;while(!0){if(er++,xe=m.elements[--Ze],xe===h)break;if(rt=j.indexOf(xe),er>3&&rt!==-1)j.remove(xe),rt=-1;if(rt===-1){m.removeElement(xe);continue}var jt=gi(K.ownerDocument,rt);if(j.replace(xe,jt.elt,jt.attrs),m.elements[Ze]=jt.elt,xe=jt.elt,Ne===y)j.remove(jn),j.insertAfter(jt.elt,jn);xe._appendChild(Ne),Ne=xe}if(It&&le(K,Fr))Pn(function(){return Ne});else if(K instanceof ce.HTMLTemplateElement)K.content._appendChild(Ne);else K._appendChild(Ne);var Yr=gi(y.ownerDocument,j.indexOf(h));while(y.hasChildNodes())Yr.elt._appendChild(y.firstChild);y._appendChild(Yr.elt),j.remove(h),j.replace(jn,Yr.elt,Yr.attrs),m.removeElement(h);var bp=m.elements.lastIndexOf(y);m.elements.splice(bp+1,0,Yr.elt)}}return!0}function Ch(){m.pop(),_=ae;return}function Xt(){if(delete re._parser,m.elements.length=0,re.defaultView)re.defaultView.dispatchEvent(new ce.Event("load",{}))}function M(c,l){d=l,i--}function X(c){switch(c){case 38:g=X,d=Gr;break;case 60:if(vh())break;d=Th;break;case 0:D.push(c),St=!0;break;case-1:J();break;default:$r(b_)||D.push(c);break}}function Ot(c){switch(c){case 38:g=Ot,d=Gr;break;case 60:d=Dh;break;case 0:D.push(65533),St=!0;break;case-1:J();break;default:D.push(c);break}}function Wr(c){switch(c){case 60:d=Nh;break;case 0:D.push(65533);break;case-1:J();break;default:$r(Dd)||D.push(c);break}}function Ft(c){switch(c){case 60:d=Oh;break;case 0:D.push(65533);break;case-1:J();break;default:$r(Dd)||D.push(c);break}}function bi(c){switch(c){case 0:D.push(65533);break;case-1:J();break;default:$r(__)||D.push(c);break}}function Th(c){switch(c){case 33:d=nc;break;case 47:d=Ah;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:bh(),M(c,ec);break;case 63:M(c,$n);break;default:D.push(60),M(c,X);break}}function Ah(c){switch(c){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ur(),M(c,ec);break;case 62:d=X;break;case-1:D.push(60),D.push(47),J();break;default:M(c,$n);break}}function ec(c){switch(c){case 9:case 10:case 12:case 32:d=dt;break;case 47:d=Pt;break;case 62:d=X,Et();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:E+=String.fromCharCode(c+32);break;case 0:E+=String.fromCharCode(65533);break;case-1:J();break;default:E+=Hr(m_);break}}function Dh(c){if(c===47)vt(),d=Rh;else D.push(60),M(c,Ot)}function Rh(c){switch(c){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ur(),M(c,Sh);break;default:D.push(60),D.push(47),M(c,Ot);break}}function Sh(c){switch(c){case 9:case 10:case 12:case 32:if(Xe(E)){d=dt;return}break;case 47:if(Xe(E)){d=Pt;return}break;case 62:if(Xe(E)){d=X,Et();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:E+=String.fromCharCode(c+32),C.push(c);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:E+=String.fromCharCode(c),C.push(c);return;default:break}D.push(60),D.push(47),lr(D,C),M(c,Ot)}function Nh(c){if(c===47)vt(),d=Lh;else D.push(60),M(c,Wr)}function Lh(c){switch(c){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ur(),M(c,Ih);break;default:D.push(60),D.push(47),M(c,Wr);break}}function Ih(c){switch(c){case 9:case 10:case 12:case 32:if(Xe(E)){d=dt;return}break;case 47:if(Xe(E)){d=Pt;return}break;case 62:if(Xe(E)){d=X,Et();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:E+=String.fromCharCode(c+32),C.push(c);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:E+=String.fromCharCode(c),C.push(c);return;default:break}D.push(60),D.push(47),lr(D,C),M(c,Wr)}function Oh(c){switch(c){case 47:vt(),d=Fh;break;case 33:d=Ph,D.push(60),D.push(33);break;default:D.push(60),M(c,Ft);break}}function Fh(c){switch(c){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ur(),M(c,Mh);break;default:D.push(60),D.push(47),M(c,Ft);break}}function Mh(c){switch(c){case 9:case 10:case 12:case 32:if(Xe(E)){d=dt;return}break;case 47:if(Xe(E)){d=Pt;return}break;case 62:if(Xe(E)){d=X,Et();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:E+=String.fromCharCode(c+32),C.push(c);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:E+=String.fromCharCode(c),C.push(c);return;default:break}D.push(60),D.push(47),lr(D,C),M(c,Ft)}function Ph(c){if(c===45)d=qh,D.push(45);else M(c,Ft)}function qh(c){if(c===45)d=tc,D.push(45);else M(c,Ft)}function ut(c){switch(c){case 45:d=jh,D.push(45);break;case 60:d=_i;break;case 0:D.push(65533);break;case-1:J();break;default:D.push(c);break}}function jh(c){switch(c){case 45:d=tc,D.push(45);break;case 60:d=_i;break;case 0:d=ut,D.push(65533);break;case-1:J();break;default:d=ut,D.push(c);break}}function tc(c){switch(c){case 45:D.push(45);break;case 60:d=_i;break;case 62:d=Ft,D.push(62);break;case 0:d=ut,D.push(65533);break;case-1:J();break;default:d=ut,D.push(c);break}}function _i(c){switch(c){case 47:vt(),d=Bh;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:vt(),D.push(60),M(c,Hh);break;default:D.push(60),M(c,ut);break}}function Bh(c){switch(c){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Ur(),M(c,Uh);break;default:D.push(60),D.push(47),M(c,ut);break}}function Uh(c){switch(c){case 9:case 10:case 12:case 32:if(Xe(E)){d=dt;return}break;case 47:if(Xe(E)){d=Pt;return}break;case 62:if(Xe(E)){d=X,Et();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:E+=String.fromCharCode(c+32),C.push(c);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:E+=String.fromCharCode(c),C.push(c);return;default:break}D.push(60),D.push(47),lr(D,C),M(c,ut)}function Hh(c){switch(c){case 9:case 10:case 12:case 32:case 47:case 62:if(je(C)==="script")d=Mt;else d=ut;D.push(c);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:C.push(c+32),D.push(c);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:C.push(c),D.push(c);break;default:M(c,ut);break}}function Mt(c){switch(c){case 45:d=$h,D.push(45);break;case 60:d=yi,D.push(60);break;case 0:D.push(65533);break;case-1:J();break;default:D.push(c);break}}function $h(c){switch(c){case 45:d=zh,D.push(45);break;case 60:d=yi,D.push(60);break;case 0:d=Mt,D.push(65533);break;case-1:J();break;default:d=Mt,D.push(c);break}}function zh(c){switch(c){case 45:D.push(45);break;case 60:d=yi,D.push(60);break;case 62:d=Ft,D.push(62);break;case 0:d=Mt,D.push(65533);break;case-1:J();break;default:d=Mt,D.push(c);break}}function yi(c){if(c===47)vt(),d=Vh,D.push(47);else M(c,Mt)}function Vh(c){switch(c){case 9:case 10:case 12:case 32:case 47:case 62:if(je(C)==="script")d=ut;else d=Mt;D.push(c);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:C.push(c+32),D.push(c);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:C.push(c),D.push(c);break;default:M(c,Mt);break}}function dt(c){switch(c){case 9:case 10:case 12:case 32:break;case 47:d=Pt;break;case 62:d=X,Et();break;case-1:J();break;case 61:pi(),T+=String.fromCharCode(c),d=vi;break;default:if(gh())break;pi(),M(c,vi);break}}function vi(c){switch(c){case 9:case 10:case 12:case 32:case 47:case 62:case-1:M(c,Wh);break;case 61:d=rc;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:T+=String.fromCharCode(c+32);break;case 0:T+=String.fromCharCode(65533);break;case 34:case 39:case 60:default:T+=Hr(x_);break}}function Wh(c){switch(c){case 9:case 10:case 12:case 32:break;case 47:Nt(T),d=Pt;break;case 61:d=rc;break;case 62:d=X,Nt(T),Et();break;case-1:Nt(T),J();break;default:Nt(T),pi(),M(c,vi);break}}function rc(c){switch(c){case 9:case 10:case 12:case 32:break;case 34:mi(),d=Bn;break;case 39:mi(),d=Un;break;case 62:default:mi(),M(c,Hn);break}}function Bn(c){switch(c){case 34:Nt(T,w),d=Ei;break;case 38:g=Bn,d=Gr;break;case 0:w+=String.fromCharCode(65533);break;case-1:J();break;case 10:w+=String.fromCharCode(c);break;default:w+=Hr(f_);break}}function Un(c){switch(c){case 39:Nt(T,w),d=Ei;break;case 38:g=Un,d=Gr;break;case 0:w+=String.fromCharCode(65533);break;case-1:J();break;case 10:w+=String.fromCharCode(c);break;default:w+=Hr(h_);break}}function Hn(c){switch(c){case 9:case 10:case 12:case 32:Nt(T,w),d=dt;break;case 38:g=Hn,d=Gr;break;case 62:Nt(T,w),d=X,Et();break;case 0:w+=String.fromCharCode(65533);break;case-1:i--,d=X;break;case 34:case 39:case 60:case 61:case 96:default:w+=Hr(p_);break}}function Ei(c){switch(c){case 9:case 10:case 12:case 32:d=dt;break;case 47:d=Pt;break;case 62:d=X,Et();break;case-1:J();break;default:M(c,dt);break}}function Pt(c){switch(c){case 62:d=X,Eh(!0);break;case-1:J();break;default:M(c,dt);break}}function $n(c,l,h){var b=l.length;if(h)i+=b-1;else i+=b;var y=l.substring(0,b-1);y=y.replace(/\u0000/g,"�"),y=y.replace(/\u000D\u000A/g,`
9
- `),y=y.replace(/\u000D/g,`
10
- `),ke(gt,y),d=X}$n.lookahead=">";function nc(c,l,h){if(l[0]==="-"&&l[1]==="-"){i+=2,Zo(),d=Gh;return}if(l.toUpperCase()==="DOCTYPE")i+=7,d=ep;else if(l==="[CDATA["&&_h())i+=7,d=Ci;else d=$n}nc.lookahead=7;function Gh(c){switch(Zo(),c){case 45:d=Jh;break;case 62:d=X,ke(gt,je(k));break;default:M(c,Kt);break}}function Jh(c){switch(c){case 45:d=zn;break;case 62:d=X,ke(gt,je(k));break;case-1:ke(gt,je(k)),J();break;default:k.push(45),M(c,Kt);break}}function Kt(c){switch(c){case 60:k.push(c),d=Yh;break;case 45:d=wi;break;case 0:k.push(65533);break;case-1:ke(gt,je(k)),J();break;default:k.push(c);break}}function Yh(c){switch(c){case 33:k.push(c),d=Xh;break;case 60:k.push(c);break;default:M(c,Kt);break}}function Xh(c){switch(c){case 45:d=Kh;break;default:M(c,Kt);break}}function Kh(c){switch(c){case 45:d=Zh;break;default:M(c,wi);break}}function Zh(c){switch(c){case 62:case-1:M(c,zn);break;default:M(c,zn);break}}function wi(c){switch(c){case 45:d=zn;break;case-1:ke(gt,je(k)),J();break;default:k.push(45),M(c,Kt);break}}function zn(c){switch(c){case 62:d=X,ke(gt,je(k));break;case 33:d=Qh;break;case 45:k.push(45);break;case-1:ke(gt,je(k)),J();break;default:k.push(45),k.push(45),M(c,Kt);break}}function Qh(c){switch(c){case 45:k.push(45),k.push(45),k.push(33),d=wi;break;case 62:d=X,ke(gt,je(k));break;case-1:ke(gt,je(k)),J();break;default:k.push(45),k.push(45),k.push(33),M(c,Kt);break}}function ep(c){switch(c){case 9:case 10:case 12:case 32:d=ac;break;case-1:hr(),ie(),se(),J();break;default:M(c,ac);break}}function ac(c){switch(c){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:hr(),q.push(c+32),d=ki;break;case 0:hr(),q.push(65533),d=ki;break;case 62:hr(),ie(),d=X,se();break;case-1:hr(),ie(),se(),J();break;default:hr(),q.push(c),d=ki;break}}function ki(c){switch(c){case 9:case 10:case 12:case 32:d=ic;break;case 62:d=X,se();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:q.push(c+32);break;case 0:q.push(65533);break;case-1:ie(),se(),J();break;default:q.push(c);break}}function ic(c,l,h){switch(c){case 9:case 10:case 12:case 32:i+=1;break;case 62:d=X,i+=1,se();break;case-1:ie(),se(),J();break;default:if(l=l.toUpperCase(),l==="PUBLIC")i+=6,d=tp;else if(l==="SYSTEM")i+=6,d=ap;else ie(),d=qt;break}}ic.lookahead=6;function tp(c){switch(c){case 9:case 10:case 12:case 32:d=rp;break;case 34:Fn(),d=sc;break;case 39:Fn(),d=oc;break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:ie(),d=qt;break}}function rp(c){switch(c){case 9:case 10:case 12:case 32:break;case 34:Fn(),d=sc;break;case 39:Fn(),d=oc;break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:ie(),d=qt;break}}function sc(c){switch(c){case 34:d=cc;break;case 0:Q.push(65533);break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:Q.push(c);break}}function oc(c){switch(c){case 39:d=cc;break;case 0:Q.push(65533);break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:Q.push(c);break}}function cc(c){switch(c){case 9:case 10:case 12:case 32:d=np;break;case 62:d=X,se();break;case 34:Lt(),d=Vn;break;case 39:Lt(),d=Wn;break;case-1:ie(),se(),J();break;default:ie(),d=qt;break}}function np(c){switch(c){case 9:case 10:case 12:case 32:break;case 62:d=X,se();break;case 34:Lt(),d=Vn;break;case 39:Lt(),d=Wn;break;case-1:ie(),se(),J();break;default:ie(),d=qt;break}}function ap(c){switch(c){case 9:case 10:case 12:case 32:d=ip;break;case 34:Lt(),d=Vn;break;case 39:Lt(),d=Wn;break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:ie(),d=qt;break}}function ip(c){switch(c){case 9:case 10:case 12:case 32:break;case 34:Lt(),d=Vn;break;case 39:Lt(),d=Wn;break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:ie(),d=qt;break}}function Vn(c){switch(c){case 34:d=lc;break;case 0:ue.push(65533);break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:ue.push(c);break}}function Wn(c){switch(c){case 39:d=lc;break;case 0:ue.push(65533);break;case 62:ie(),d=X,se();break;case-1:ie(),se(),J();break;default:ue.push(c);break}}function lc(c){switch(c){case 9:case 10:case 12:case 32:break;case 62:d=X,se();break;case-1:ie(),se(),J();break;default:d=qt;break}}function qt(c){switch(c){case 62:d=X,se();break;case-1:se(),J();break;default:break}}function Ci(c){switch(c){case 93:d=sp;break;case-1:J();break;case 0:St=!0;default:$r(g_)||D.push(c);break}}function sp(c){switch(c){case 93:d=op;break;default:D.push(93),M(c,Ci);break}}function op(c){switch(c){case 93:D.push(93);break;case 62:pr(),d=X;break;default:D.push(93),D.push(93),M(c,Ci);break}}function Gr(c){switch(vt(),C.push(38),c){case 9:case 10:case 12:case 32:case 60:case 38:case-1:M(c,Zt);break;case 35:C.push(c),d=cp;break;default:M(c,uc);break}}function uc(c){Ad.lastIndex=i;var l=Ad.exec(n);if(!l)throw Error("should never happen");var h=l[1];if(!h){d=Zt;return}switch(i+=h.length,lr(C,v_(h)),g){case Bn:case Un:case Hn:if(h[h.length-1]!==";"){if(/[=A-Za-z0-9]/.test(n[i])){d=Zt;return}}break;default:break}vt();var b=u_[h];if(typeof b==="number")C.push(b);else lr(C,b);d=Zt}uc.lookahead=-d_;function cp(c){switch(A=0,c){case 120:case 88:C.push(c),d=lp;break;default:M(c,up);break}}function lp(c){switch(c){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:M(c,dp);break;default:M(c,Zt);break}}function up(c){switch(c){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:M(c,fp);break;default:M(c,Zt);break}}function dp(c){switch(c){case 65:case 66:case 67:case 68:case 69:case 70:A*=16,A+=c-55;break;case 97:case 98:case 99:case 100:case 101:case 102:A*=16,A+=c-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:A*=16,A+=c-48;break;case 59:d=Gn;break;default:M(c,Gn);break}}function fp(c){switch(c){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:A*=10,A+=c-48;break;case 59:d=Gn;break;default:M(c,Gn);break}}function Gn(c){if(A in Td)A=Td[A];else if(A>1114111||A>=55296&&A<57344)A=65533;if(vt(),A<=65535)C.push(A);else A=A-65536,C.push(55296+(A>>10)),C.push(56320+(A&1023));M(c,Zt)}function Zt(c){switch(g){case Bn:case Un:case Hn:w+=je(C);break;default:lr(D,C);break}M(c,g)}function hp(c,l,h,b){switch(c){case 1:if(l=l.replace(ur,""),l.length===0)return;break;case 4:re._appendChild(re.createComment(l));return;case 5:var y=l,R=h,H=b;if(re.appendChild(new n_(re,y,R,H)),fi||y.toLowerCase()!=="html"||s_.test(R)||H&&H.toLowerCase()===o_||H===void 0&&Ed.test(R))re._quirks=!0;else if(c_.test(R)||H!==void 0&&Ed.test(R))re._limitedQuirks=!0;_=dc;return}re._quirks=!0,_=dc,_(c,l,h,b)}function dc(c,l,h,b){var y;switch(c){case 1:if(l=l.replace(ur,""),l.length===0)return;break;case 5:return;case 4:re._appendChild(re.createComment(l));return;case 2:if(l==="html"){y=zr(re,l,h),m.push(y),re.appendChild(y),_=Jn;return}break;case 3:switch(l){case"html":case"head":case"body":case"br":break;default:return}}y=zr(re,"html",null),m.push(y),re.appendChild(y),_=Jn,_(c,l,h,b)}function Jn(c,l,h,b){switch(c){case 1:if(l=l.replace(ur,""),l.length===0)return;break;case 5:return;case 4:ct(l);return;case 2:switch(l){case"html":U(c,l,h,b);return;case"head":var y=W(l,h);Nn=y,_=ye;return}break;case 3:switch(l){case"html":case"head":case"body":case"br":break;default:return}}Jn(qe,"head",null),_(c,l,h,b)}function ye(c,l,h,b){switch(c){case 1:var y=l.match(ur);if(y)lt(y[0]),l=l.substring(y[0].length);if(l.length===0)return;break;case 4:ct(l);return;case 5:return;case 2:switch(l){case"html":U(c,l,h,b);return;case"meta":case"base":case"basefont":case"bgsound":case"link":W(l,h),m.pop();return;case"title":wh(l,h);return;case"noscript":if(!Ln){W(l,h),_=fc;return}case"noframes":case"style":qn(l,h);return;case"script":Mn(function(R){var H=zr(R,l,h);if(H._parser_inserted=!0,H._force_async=!1,_t)H._already_started=!0;return pr(),H}),d=Ft,ae=_,_=Yn;return;case"template":W(l,h),j.insertMarker(),_e=!1,_=Di,me.push(_);return;case"head":return}break;case 3:switch(l){case"head":m.pop(),_=Ti;return;case"body":case"html":case"br":break;case"template":if(!m.contains("template"))return;m.generateImpliedEndTags(null,"thorough"),m.popTag("template"),j.clearToMarker(),me.pop(),Vr();return;default:return}break}ye(Z,"head",null),_(c,l,h,b)}function fc(c,l,h,b){switch(c){case 5:return;case 4:ye(c,l);return;case 1:var y=l.match(ur);if(y)ye(c,y[0]),l=l.substring(y[0].length);if(l.length===0)return;break;case 2:switch(l){case"html":U(c,l,h,b);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":ye(c,l,h);return;case"head":case"noscript":return}break;case 3:switch(l){case"noscript":m.pop(),_=ye;return;case"br":break;default:return}break}fc(Z,"noscript",null),_(c,l,h,b)}function Ti(c,l,h,b){switch(c){case 1:var y=l.match(ur);if(y)lt(y[0]),l=l.substring(y[0].length);if(l.length===0)return;break;case 4:ct(l);return;case 5:return;case 2:switch(l){case"html":U(c,l,h,b);return;case"body":W(l,h),_e=!1,_=U;return;case"frameset":W(l,h),_=Ri;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":m.push(Nn),ye(qe,l,h),m.removeElement(Nn);return;case"head":return}break;case 3:switch(l){case"template":return ye(c,l,h,b);case"body":case"html":case"br":break;default:return}break}Ti(qe,"body",null),_e=!0,_(c,l,h,b)}function U(c,l,h,b){var y,R,H,K;switch(c){case 1:if(St){if(l=l.replace(Ya,""),l.length===0)return}if(_e&&Ja.test(l))_e=!1;He(),lt(l);return;case 5:return;case 4:ct(l);return;case-1:if(me.length)return Di(c);Xt();return;case 2:switch(l){case"html":if(m.contains("template"))return;Fd(h,m.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":ye(qe,l,h);return;case"body":if(y=m.elements[1],!y||!(y instanceof ce.HTMLBodyElement)||m.contains("template"))return;_e=!1,Fd(h,y);return;case"frameset":if(!_e)return;if(y=m.elements[1],!y||!(y instanceof ce.HTMLBodyElement))return;if(y.parentNode)y.parentNode.removeChild(y);while(!(m.top instanceof ce.HTMLHtmlElement))m.pop();W(l,h),_=Ri;return;case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"nav":case"ol":case"p":case"section":case"summary":case"ul":if(m.inButtonScope("p"))U(Z,"p");W(l,h);return;case"menu":if(m.inButtonScope("p"))U(Z,"p");if(le(m.top,"menuitem"))m.pop();W(l,h);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(m.inButtonScope("p"))U(Z,"p");if(m.top instanceof ce.HTMLHeadingElement)m.pop();W(l,h);return;case"pre":case"listing":if(m.inButtonScope("p"))U(Z,"p");W(l,h),Yt=!0,_e=!1;return;case"form":if(yt&&!m.contains("template"))return;if(m.inButtonScope("p"))U(Z,"p");if(K=W(l,h),!m.contains("template"))yt=K;return;case"li":_e=!1;for(R=m.elements.length-1;R>=0;R--){if(H=m.elements[R],H instanceof ce.HTMLLIElement){U(Z,"li");break}if(le(H,dr)&&!le(H,bo))break}if(m.inButtonScope("p"))U(Z,"p");W(l,h);return;case"dd":case"dt":_e=!1;for(R=m.elements.length-1;R>=0;R--){if(H=m.elements[R],le(H,Pd)){U(Z,H.localName);break}if(le(H,dr)&&!le(H,bo))break}if(m.inButtonScope("p"))U(Z,"p");W(l,h);return;case"plaintext":if(m.inButtonScope("p"))U(Z,"p");W(l,h),d=bi;return;case"button":if(m.inScope("button"))U(Z,"button"),_(c,l,h,b);else He(),W(l,h),_e=!1;return;case"a":var xe=j.findElementByTag("a");if(xe)U(Z,l),j.remove(xe),m.removeElement(xe);case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":He(),j.push(W(l,h),h);return;case"nobr":if(He(),m.inScope(l))U(Z,l),He();j.push(W(l,h),h);return;case"applet":case"marquee":case"object":He(),W(l,h),j.insertMarker(),_e=!1;return;case"table":if(!re._quirks&&m.inButtonScope("p"))U(Z,"p");W(l,h),_e=!1,_=Ke;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":He(),W(l,h),m.pop(),_e=!1;return;case"input":He(),K=W(l,h),m.pop();var Ne=K.getAttribute("type");if(!Ne||Ne.toLowerCase()!=="hidden")_e=!1;return;case"param":case"source":case"track":W(l,h),m.pop();return;case"hr":if(m.inButtonScope("p"))U(Z,"p");if(le(m.top,"menuitem"))m.pop();W(l,h),m.pop(),_e=!1;return;case"image":U(qe,"img",h,b);return;case"textarea":W(l,h),Yt=!0,_e=!1,d=Ot,ae=_,_=Yn;return;case"xmp":if(m.inButtonScope("p"))U(Z,"p");He(),_e=!1,qn(l,h);return;case"iframe":_e=!1,qn(l,h);return;case"noembed":qn(l,h);return;case"select":if(He(),W(l,h),_e=!1,_===Ke||_===Ai||_===Qt||_===Jr||_===mr)_=Kn;else _=wt;return;case"optgroup":case"option":if(m.top instanceof ce.HTMLOptionElement)U(Z,"option");He(),W(l,h);return;case"menuitem":if(le(m.top,"menuitem"))m.pop();He(),W(l,h);return;case"rb":case"rtc":if(m.inScope("ruby"))m.generateImpliedEndTags();W(l,h);return;case"rp":case"rt":if(m.inScope("ruby"))m.generateImpliedEndTags("rtc");W(l,h);return;case"math":if(He(),Od(h),go(h),xi(l,h,B.MATHML),b)m.pop();return;case"svg":if(He(),Id(h),go(h),xi(l,h,B.SVG),b)m.pop();return;case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}He(),W(l,h);return;case 3:switch(l){case"template":ye(Z,l,h);return;case"body":if(!m.inScope("body"))return;_=hc;return;case"html":if(!m.inScope("body"))return;_=hc,_(c,l,h);return;case"address":case"article":case"aside":case"blockquote":case"button":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"listing":case"main":case"menu":case"nav":case"ol":case"pre":case"section":case"summary":case"ul":if(!m.inScope(l))return;m.generateImpliedEndTags(),m.popTag(l);return;case"form":if(!m.contains("template")){var Ze=yt;if(yt=null,!Ze||!m.elementInScope(Ze))return;m.generateImpliedEndTags(),m.removeElement(Ze)}else{if(!m.inScope("form"))return;m.generateImpliedEndTags(),m.popTag("form")}return;case"p":if(!m.inButtonScope(l))U(qe,l,null),_(c,l,h,b);else m.generateImpliedEndTags(l),m.popTag(l);return;case"li":if(!m.inListItemScope(l))return;m.generateImpliedEndTags(l),m.popTag(l);return;case"dd":case"dt":if(!m.inScope(l))return;m.generateImpliedEndTags(l),m.popTag(l);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!m.elementTypeInScope(ce.HTMLHeadingElement))return;m.generateImpliedEndTags(),m.popElementType(ce.HTMLHeadingElement);return;case"sarcasm":break;case"a":case"b":case"big":case"code":case"em":case"font":case"i":case"nobr":case"s":case"small":case"strike":case"strong":case"tt":case"u":var rt=kh(l);if(rt)return;break;case"applet":case"marquee":case"object":if(!m.inScope(l))return;m.generateImpliedEndTags(),m.popTag(l),j.clearToMarker();return;case"br":U(qe,l,null);return}for(R=m.elements.length-1;R>=0;R--)if(H=m.elements[R],le(H,l)){m.generateImpliedEndTags(l),m.popElement(H);break}else if(le(H,dr))return;return}}function Yn(c,l,h,b){switch(c){case 1:lt(l);return;case-1:if(m.top instanceof ce.HTMLScriptElement)m.top._already_started=!0;m.pop(),_=ae,_(c);return;case 3:if(l==="script")Ch();else m.pop(),_=ae;return;default:return}}function Ke(c,l,h,b){function y(H){for(var K=0,xe=H.length;K<xe;K++)if(H[K][0]==="type")return H[K][1].toLowerCase();return null}switch(c){case 1:if(hi){U(c,l,h,b);return}else if(le(m.top,Fr)){In=[],ae=_,_=pp,_(c,l,h,b);return}break;case 4:ct(l);return;case 5:return;case 2:switch(l){case"caption":m.clearToContext(Xa),j.insertMarker(),W(l,h),_=Ai;return;case"colgroup":m.clearToContext(Xa),W(l,h),_=Xn;return;case"col":Ke(qe,"colgroup",null),_(c,l,h,b);return;case"tbody":case"tfoot":case"thead":m.clearToContext(Xa),W(l,h),_=Qt;return;case"td":case"th":case"tr":Ke(qe,"tbody",null),_(c,l,h,b);return;case"table":if(!m.inTableScope(l))return;Ke(Z,l),_(c,l,h,b);return;case"style":case"script":case"template":ye(c,l,h,b);return;case"input":var R=y(h);if(R!=="hidden")break;W(l,h),m.pop();return;case"form":if(yt||m.contains("template"))return;yt=W(l,h),m.popElement(yt);return}break;case 3:switch(l){case"table":if(!m.inTableScope(l))return;m.popTag(l),Vr();return;case"body":case"caption":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return;case"template":ye(c,l,h,b);return}break;case-1:U(c,l,h,b);return}It=!0,U(c,l,h,b),It=!1}function pp(c,l,h,b){if(c===Or){if(St){if(l=l.replace(Ya,""),l.length===0)return}In.push(l)}else{var y=In.join("");if(In.length=0,Ja.test(y))It=!0,U(Or,y),It=!1;else lt(y);_=ae,_(c,l,h,b)}}function Ai(c,l,h,b){function y(){if(!m.inTableScope("caption"))return!1;return m.generateImpliedEndTags(),m.popTag("caption"),j.clearToMarker(),_=Ke,!0}switch(c){case 2:switch(l){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(y())_(c,l,h,b);return}break;case 3:switch(l){case"caption":y();return;case"table":if(y())_(c,l,h,b);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}U(c,l,h,b)}function Xn(c,l,h,b){switch(c){case 1:var y=l.match(ur);if(y)lt(y[0]),l=l.substring(y[0].length);if(l.length===0)return;break;case 4:ct(l);return;case 5:return;case 2:switch(l){case"html":U(c,l,h,b);return;case"col":W(l,h),m.pop();return;case"template":ye(c,l,h,b);return}break;case 3:switch(l){case"colgroup":if(!le(m.top,"colgroup"))return;m.pop(),_=Ke;return;case"col":return;case"template":ye(c,l,h,b);return}break;case-1:U(c,l,h,b);return}if(!le(m.top,"colgroup"))return;Xn(Z,"colgroup"),_(c,l,h,b)}function Qt(c,l,h,b){function y(){if(!m.inTableScope("tbody")&&!m.inTableScope("thead")&&!m.inTableScope("tfoot"))return;m.clearToContext(Ka),Qt(Z,m.top.localName,null),_(c,l,h,b)}switch(c){case 2:switch(l){case"tr":m.clearToContext(Ka),W(l,h),_=Jr;return;case"th":case"td":Qt(qe,"tr",null),_(c,l,h,b);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":y();return}break;case 3:switch(l){case"table":y();return;case"tbody":case"tfoot":case"thead":if(m.inTableScope(l))m.clearToContext(Ka),m.pop(),_=Ke;return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}Ke(c,l,h,b)}function Jr(c,l,h,b){function y(){if(!m.inTableScope("tr"))return!1;return m.clearToContext(_o),m.pop(),_=Qt,!0}switch(c){case 2:switch(l){case"th":case"td":m.clearToContext(_o),W(l,h),_=mr,j.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":if(y())_(c,l,h,b);return}break;case 3:switch(l){case"tr":y();return;case"table":if(y())_(c,l,h,b);return;case"tbody":case"tfoot":case"thead":if(m.inTableScope(l)){if(y())_(c,l,h,b)}return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}Ke(c,l,h,b)}function mr(c,l,h,b){switch(c){case 2:switch(l){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(m.inTableScope("td"))mr(Z,"td"),_(c,l,h,b);else if(m.inTableScope("th"))mr(Z,"th"),_(c,l,h,b);return}break;case 3:switch(l){case"td":case"th":if(!m.inTableScope(l))return;m.generateImpliedEndTags(),m.popTag(l),j.clearToMarker(),_=Jr;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!m.inTableScope(l))return;mr(Z,m.inTableScope("td")?"td":"th"),_(c,l,h,b);return}break}U(c,l,h,b)}function wt(c,l,h,b){switch(c){case 1:if(St){if(l=l.replace(Ya,""),l.length===0)return}lt(l);return;case 4:ct(l);return;case 5:return;case-1:U(c,l,h,b);return;case 2:switch(l){case"html":U(c,l,h,b);return;case"option":if(m.top instanceof ce.HTMLOptionElement)wt(Z,l);W(l,h);return;case"optgroup":if(m.top instanceof ce.HTMLOptionElement)wt(Z,"option");if(m.top instanceof ce.HTMLOptGroupElement)wt(Z,l);W(l,h);return;case"select":wt(Z,l);return;case"input":case"keygen":case"textarea":if(!m.inSelectScope("select"))return;wt(Z,"select"),_(c,l,h,b);return;case"script":case"template":ye(c,l,h,b);return}break;case 3:switch(l){case"optgroup":if(m.top instanceof ce.HTMLOptionElement&&m.elements[m.elements.length-2]instanceof ce.HTMLOptGroupElement)wt(Z,"option");if(m.top instanceof ce.HTMLOptGroupElement)m.pop();return;case"option":if(m.top instanceof ce.HTMLOptionElement)m.pop();return;case"select":if(!m.inSelectScope(l))return;m.popTag(l),Vr();return;case"template":ye(c,l,h,b);return}break}}function Kn(c,l,h,b){switch(l){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(c){case 2:Kn(Z,"select"),_(c,l,h,b);return;case 3:if(m.inTableScope(l))Kn(Z,"select"),_(c,l,h,b);return}}wt(c,l,h,b)}function Di(c,l,h,b){function y(R){_=R,me[me.length-1]=_,_(c,l,h,b)}switch(c){case 1:case 4:case 5:U(c,l,h,b);return;case-1:if(!m.contains("template"))Xt();else m.popTag("template"),j.clearToMarker(),me.pop(),Vr(),_(c,l,h,b);return;case 2:switch(l){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":ye(c,l,h,b);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":y(Ke);return;case"col":y(Xn);return;case"tr":y(Qt);return;case"td":case"th":y(Jr);return}y(U);return;case 3:switch(l){case"template":ye(c,l,h,b);return;default:return}}}function hc(c,l,h,b){switch(c){case 1:if(Ja.test(l))break;U(c,l);return;case 4:m.elements[0]._appendChild(re.createComment(l));return;case 5:return;case-1:Xt();return;case 2:if(l==="html"){U(c,l,h,b);return}break;case 3:if(l==="html"){if(_t)return;_=xp;return}break}_=U,_(c,l,h,b)}function Ri(c,l,h,b){switch(c){case 1:if(l=l.replace(xo,""),l.length>0)lt(l);return;case 4:ct(l);return;case 5:return;case-1:Xt();return;case 2:switch(l){case"html":U(c,l,h,b);return;case"frameset":W(l,h);return;case"frame":W(l,h),m.pop();return;case"noframes":ye(c,l,h,b);return}break;case 3:if(l==="frameset"){if(_t&&m.top instanceof ce.HTMLHtmlElement)return;if(m.pop(),!_t&&!(m.top instanceof ce.HTMLFrameSetElement))_=mp;return}break}}function mp(c,l,h,b){switch(c){case 1:if(l=l.replace(xo,""),l.length>0)lt(l);return;case 4:ct(l);return;case 5:return;case-1:Xt();return;case 2:switch(l){case"html":U(c,l,h,b);return;case"noframes":ye(c,l,h,b);return}break;case 3:if(l==="html"){_=gp;return}break}}function xp(c,l,h,b){switch(c){case 1:if(Ja.test(l))break;U(c,l,h,b);return;case 4:re._appendChild(re.createComment(l));return;case 5:U(c,l,h,b);return;case-1:Xt();return;case 2:if(l==="html"){U(c,l,h,b);return}break}_=U,_(c,l,h,b)}function gp(c,l,h,b){switch(c){case 1:if(l=l.replace(xo,""),l.length>0)U(c,l,h,b);return;case 4:re._appendChild(re.createComment(l));return;case 5:U(c,l,h,b);return;case-1:Xt();return;case 2:switch(l){case"html":U(c,l,h,b);return;case"noframes":ye(c,l,h,b);return}break}}function pc(c,l,h,b){function y(xe){for(var Ne=0,Ze=xe.length;Ne<Ze;Ne++)switch(xe[Ne][0]){case"color":case"face":case"size":return!0}return!1}var R;switch(c){case 1:if(_e&&y_.test(l))_e=!1;if(St)l=l.replace(Ya,"�");lt(l);return;case 4:ct(l);return;case 5:return;case 2:switch(l){case"font":if(!y(h))break;case"b":case"big":case"blockquote":case"body":case"br":case"center":case"code":case"dd":case"div":case"dl":case"dt":case"em":case"embed":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"head":case"hr":case"i":case"img":case"li":case"listing":case"menu":case"meta":case"nobr":case"ol":case"p":case"pre":case"ruby":case"s":case"small":case"span":case"strong":case"strike":case"sub":case"sup":case"table":case"tt":case"u":case"ul":case"var":if(_t)break;do m.pop(),R=m.top;while(R.namespaceURI!==B.HTML&&!Nd(R)&&!Ld(R));ke(c,l,h,b);return}if(R=m.elements.length===1&&_t?t:m.top,R.namespaceURI===B.MATHML)Od(h);else if(R.namespaceURI===B.SVG)l=E_(l),Id(h);if(go(h),xi(l,h,R.namespaceURI),b){if(l==="script"&&R.namespaceURI===B.SVG);m.pop()}return;case 3:if(R=m.top,l==="script"&&R.namespaceURI===B.SVG&&R.localName==="script")m.pop();else{var H=m.elements.length-1,K=m.elements[H];for(;;){if(K.localName.toLowerCase()===l){m.popElement(K);break}if(K=m.elements[--H],K.namespaceURI!==B.HTML)continue;_(c,l,h,b);break}}return}}return On.testTokenizer=function(c,l,h,b){var y=[];switch(l){case"PCDATA state":d=X;break;case"RCDATA state":d=Ot;break;case"RAWTEXT state":d=Wr;break;case"PLAINTEXT state":d=bi;break}if(h)L=h;if(ke=function(H,K,xe,Ne){switch(pr(),H){case 1:if(y.length>0&&y[y.length-1][0]==="Character")y[y.length-1][1]+=K;else y.push(["Character",K]);break;case 4:y.push(["Comment",K]);break;case 5:y.push(["DOCTYPE",K,xe===void 0?null:xe,Ne===void 0?null:Ne,!fi]);break;case 2:var Ze=Object.create(null);for(var rt=0;rt<xe.length;rt++){var er=xe[rt];if(er.length===1)Ze[er[0]]="";else Ze[er[0]]=er[1]}var jt=["StartTag",K,Ze];if(Ne)jt.push(!0);y.push(jt);break;case 3:y.push(["EndTag",K]);break;case-1:break}},!b)this.parse(c,!0);else{for(var R=0;R<c.length;R++)this.parse(c[R]);this.parse("",!0)}return y},On}});var Tn=P(function(ME,Jd){Jd.exports=Gd;var Vd=za(),Wd=Wa(),w_=Qa(),ei=Ee(),k_=Ra();function Gd(e){this.contextObject=e}var C_={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};Gd.prototype={hasFeature:function(t,r){var n=C_[(t||"").toLowerCase()];return n&&n[r||""]||!1},createDocumentType:function(t,r,n){if(!k_.isValidQName(t))ei.InvalidCharacterError();return new Wd(this.contextObject,t,r,n)},createDocument:function(t,r,n){var a=new Vd(!1,null),i;if(r)i=a.createElementNS(t,r);else i=null;if(n)a.appendChild(n);if(i)a.appendChild(i);if(t===ei.NAMESPACE.HTML)a._contentType="application/xhtml+xml";else if(t===ei.NAMESPACE.SVG)a._contentType="image/svg+xml";else a._contentType="application/xml";return a},createHTMLDocument:function(t){var r=new Vd(!0,null);r.appendChild(new Wd(r,"html"));var n=r.createElement("html");r.appendChild(n);var a=r.createElement("head");if(n.appendChild(a),t!==void 0){var i=r.createElement("title");a.appendChild(i),i.appendChild(r.createTextNode(t))}return n.appendChild(r.createElement("body")),r.modclock=1,r},mozSetOutputMutationHandler:function(e,t){e.mutationHandler=t},mozGetInputMutationHandler:function(e){ei.nyi()},mozHTMLParser:w_}});var Xd=P(function(PE,Yd){var T_=ja(),A_=so();Yd.exports=vo;function vo(e,t){this._window=e,this._href=t}vo.prototype=Object.create(A_.prototype,{constructor:{value:vo},href:{get:function(){return this._href},set:function(e){this.assign(e)}},assign:{value:function(e){var t=new T_(this._href),r=t.resolve(e);this._href=r}},replace:{value:function(e){this.assign(e)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})});var Zd=P(function(qE,Kd){var D_=Object.create(null,{appCodeName:{value:"Mozilla"},appName:{value:"Netscape"},appVersion:{value:"4.0"},platform:{value:""},product:{value:"Gecko"},productSub:{value:"20100101"},userAgent:{value:""},vendor:{value:""},vendorSub:{value:""},taintEnabled:{value:function(){return!1}}});Kd.exports=D_});var ef=P(function(jE,Qd){var R_={setTimeout,clearTimeout,setInterval,clearInterval};Qd.exports=R_});var wo=P(function(An,tf){var Eo=Ee();An=tf.exports={CSSStyleDeclaration:Ba(),CharacterData:gn(),Comment:Ws(),DOMException:ka(),DOMImplementation:Tn(),DOMTokenList:Rs(),Document:za(),DocumentFragment:Js(),DocumentType:Wa(),Element:Dr(),HTMLParser:Qa(),NamedNodeMap:Fs(),Node:Oe(),NodeList:or(),NodeFilter:vn(),ProcessingInstruction:Xs(),Text:zs(),Window:ko()};Eo.merge(An,io());Eo.merge(An,Ha().elements);Eo.merge(An,fo().elements)});var ko=P(function(BE,rf){var S_=Tn(),N_=hs(),L_=Xd(),Dn=Ee();rf.exports=ti;function ti(e){this.document=e||new S_(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new L_(this,this.document._address||"about:blank")}ti.prototype=Object.create(N_.prototype,{console:{value:console},history:{value:{back:Dn.nyi,forward:Dn.nyi,go:Dn.nyi}},navigator:{value:Zd()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler("load")},set:function(e){this._setEventHandler("load",e)}},getComputedStyle:{value:function(t){return t.style}}});Dn.expose(ef(),ti);Dn.expose(wo(),ti)});var cf=P(function(I_){var nf=Tn(),af=Qa(),UE=ko(),sf=wo();I_.createDOMImplementation=function(){return new nf(null)};I_.createDocument=function(e,t){if(e||t){var r=new af;return r.parse(e||"",!0),r.document()}return new nf(null).createHTMLDocument("")};I_.createIncrementalHTMLParser=function(){var e=new af;return{write:function(t){if(t.length>0)e.parse(t,!1,function(){return!0})},end:function(t){e.parse(t||"",!0,function(){return!0})},process:function(t){return e.parse("",!1,t)},document:function(){return e.document()}}};I_.createWindow=function(e,t){var r=I_.createDocument(e);if(t!==void 0)r._address=t;return new sf.Window(r)};I_.impl=sf});var kf=P(function($E,wf){function q_(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]}return e}function Do(e,t){return Array(t+1).join(e)}function df(e){return e.replace(/^\n*/,"")}function ff(e){var t=e.length;while(t>0&&e[t-1]===`
11
- `)t--;return e.substring(0,t)}function hf(e){return ff(df(e))}var j_=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function Ro(e){return So(e,j_)}var pf=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function mf(e){return So(e,pf)}function B_(e){return gf(e,pf)}var xf=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function U_(e){return So(e,xf)}function H_(e){return gf(e,xf)}function So(e,t){return t.indexOf(e.nodeName)>=0}function gf(e,t){return e.getElementsByTagName&&t.some(function(r){return e.getElementsByTagName(r).length})}var $_=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function bf(e){return $_.reduce(function(t,r){return t.replace(r[0],r[1])},e)}var Be={};Be.paragraph={filter:"p",replacement:function(e){return`
12
-
13
- `+e+`
14
-
15
- `}};Be.lineBreak={filter:"br",replacement:function(e,t,r){return r.br+`
16
- `}};Be.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,r){var n=Number(t.nodeName.charAt(1));if(r.headingStyle==="setext"&&n<3){var a=Do(n===1?"=":"-",e.length);return`
17
-
18
- `+e+`
19
- `+a+`
20
-
21
- `}else return`
22
-
23
- `+Do("#",n)+" "+e+`
24
-
25
- `}};Be.blockquote={filter:"blockquote",replacement:function(e){return e=hf(e).replace(/^/gm,"> "),`
26
-
27
- `+e+`
28
-
29
- `}};Be.list={filter:["ul","ol"],replacement:function(e,t){var r=t.parentNode;if(r.nodeName==="LI"&&r.lastElementChild===t)return`
30
- `+e;else return`
31
-
32
- `+e+`
33
-
34
- `}};Be.listItem={filter:"li",replacement:function(e,t,r){var n=r.bulletListMarker+" ",a=t.parentNode;if(a.nodeName==="OL"){var i=a.getAttribute("start"),s=Array.prototype.indexOf.call(a.children,t);n=(i?Number(i)+s:s+1)+". "}var o=/\n$/.test(e);return e=hf(e)+(o?`
35
- `:""),e=e.replace(/\n/gm,`
36
- `+" ".repeat(n.length)),n+e+(t.nextSibling?`
37
- `:"")}};Be.indentedCodeBlock={filter:function(e,t){return t.codeBlockStyle==="indented"&&e.nodeName==="PRE"&&e.firstChild&&e.firstChild.nodeName==="CODE"},replacement:function(e,t,r){return`
38
-
39
- `+t.firstChild.textContent.replace(/\n/g,`
40
- `)+`
41
-
42
- `}};Be.fencedCodeBlock={filter:function(e,t){return t.codeBlockStyle==="fenced"&&e.nodeName==="PRE"&&e.firstChild&&e.firstChild.nodeName==="CODE"},replacement:function(e,t,r){var n=t.firstChild.getAttribute("class")||"",a=(n.match(/language-(\S+)/)||[null,""])[1],i=t.firstChild.textContent,s=r.fence.charAt(0),o=3,u=new RegExp("^"+s+"{3,}","gm"),f;while(f=u.exec(i))if(f[0].length>=o)o=f[0].length+1;var p=Do(s,o);return`
43
-
44
- `+p+a+`
45
- `+i.replace(/\n$/,"")+`
46
- `+p+`
47
-
48
- `}};Be.horizontalRule={filter:"hr",replacement:function(e,t,r){return`
49
-
50
- `+r.hr+`
51
-
52
- `}};Be.inlineLink={filter:function(e,t){return t.linkStyle==="inlined"&&e.nodeName==="A"&&e.getAttribute("href")},replacement:function(e,t){var r=No(t.getAttribute("href")),n=Lo(ri(t.getAttribute("title"))),a=n?' "'+n+'"':"";return"["+e+"]("+r+a+")"}};Be.referenceLink={filter:function(e,t){return t.linkStyle==="referenced"&&e.nodeName==="A"&&e.getAttribute("href")},replacement:function(e,t,r){var n=No(t.getAttribute("href")),a=ri(t.getAttribute("title"));if(a)a=' "'+Lo(a)+'"';var i,s;switch(r.linkReferenceStyle){case"collapsed":i="["+e+"][]",s="["+e+"]: "+n+a;break;case"shortcut":i="["+e+"]",s="["+e+"]: "+n+a;break;default:var o=this.references.length+1;i="["+e+"]["+o+"]",s="["+o+"]: "+n+a}return this.references.push(s),i},references:[],append:function(e){var t="";if(this.references.length)t=`
53
-
54
- `+this.references.join(`
55
- `)+`
56
-
57
- `,this.references=[];return t}};Be.emphasis={filter:["em","i"],replacement:function(e,t,r){if(!e.trim())return"";return r.emDelimiter+e+r.emDelimiter}};Be.strong={filter:["strong","b"],replacement:function(e,t,r){if(!e.trim())return"";return r.strongDelimiter+e+r.strongDelimiter}};Be.code={filter:function(e){var t=e.previousSibling||e.nextSibling,r=e.parentNode.nodeName==="PRE"&&!t;return e.nodeName==="CODE"&&!r},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",r="`",n=e.match(/`+/gm)||[];while(n.indexOf(r)!==-1)r=r+"`";return r+t+e+t+r}};Be.image={filter:"img",replacement:function(e,t){var r=bf(ri(t.getAttribute("alt"))),n=No(t.getAttribute("src")||""),a=ri(t.getAttribute("title")),i=a?' "'+Lo(a)+'"':"";return n?"!["+r+"]("+n+i+")":""}};function ri(e){return e?e.replace(/(\n+\s*)+/g,`
58
- `):""}function No(e){var t=e.replace(/([<>()])/g,"\\$1");return t.indexOf(" ")>=0?"<"+t+">":t}function Lo(e){return e.replace(/"/g,"\\\"")}function _f(e){this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[];for(var t in e.rules)this.array.push(e.rules[t])}_f.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){if(e.isBlank)return this.blankRule;var t;if(t=Co(this.array,e,this.options))return t;if(t=Co(this._keep,e,this.options))return t;if(t=Co(this._remove,e,this.options))return t;return this.defaultRule},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};function Co(e,t,r){for(var n=0;n<e.length;n++){var a=e[n];if(z_(a,t,r))return a}return}function z_(e,t,r){var n=e.filter;if(typeof n==="string"){if(n===t.nodeName.toLowerCase())return!0}else if(Array.isArray(n)){if(n.indexOf(t.nodeName.toLowerCase())>-1)return!0}else if(typeof n==="function"){if(n.call(e,t,r))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}function V_(e){var{element:t,isBlock:r,isVoid:n}=e,a=e.isPre||function(x){return x.nodeName==="PRE"};if(!t.firstChild||a(t))return;var i=null,s=!1,o=null,u=lf(o,t,a);while(u!==t){if(u.nodeType===3||u.nodeType===4){var f=u.data.replace(/[ \r\n\t]+/g," ");if((!i||/ $/.test(i.data))&&!s&&f[0]===" ")f=f.substr(1);if(!f){u=To(u);continue}u.data=f,i=u}else if(u.nodeType===1){if(r(u)||u.nodeName==="BR"){if(i)i.data=i.data.replace(/ $/,"");i=null,s=!1}else if(n(u)||a(u))i=null,s=!0;else if(i)s=!1}else{u=To(u);continue}var p=lf(o,u,a);o=u,u=p}if(i){if(i.data=i.data.replace(/ $/,""),!i.data)To(i)}}function To(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function lf(e,t,r){if(e&&e.parentNode===t||r(t))return t.nextSibling||t.parentNode;return t.firstChild||t.nextSibling||t.parentNode}var yf=typeof window<"u"?window:{};function W_(){var e=yf.DOMParser,t=!1;try{if(new e().parseFromString("","text/html"))t=!0}catch(r){}return t}function G_(){var e=function(){};{var t=cf();e.prototype.parseFromString=function(r){return t.createDocument(r)}}return e}var J_=W_()?yf.DOMParser:G_();function Y_(e,t){var r;if(typeof e==="string"){var n=X_().parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html");r=n.getElementById("turndown-root")}else r=e.cloneNode(!0);return V_({element:r,isBlock:Ro,isVoid:mf,isPre:t.preformattedCode?K_:null}),r}var Ao;function X_(){return Ao=Ao||new J_,Ao}function K_(e){return e.nodeName==="PRE"||e.nodeName==="CODE"}function Z_(e,t){return e.isBlock=Ro(e),e.isCode=e.nodeName==="CODE"||e.parentNode.isCode,e.isBlank=Q_(e),e.flankingWhitespace=ey(e,t),e}function Q_(e){return!mf(e)&&!U_(e)&&/^\s*$/i.test(e.textContent)&&!B_(e)&&!H_(e)}function ey(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var r=ty(e.textContent);if(r.leadingAscii&&uf("left",e,t))r.leading=r.leadingNonAscii;if(r.trailingAscii&&uf("right",e,t))r.trailing=r.trailingNonAscii;return{leading:r.leading,trailing:r.trailing}}function ty(e){var t=e.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:t[1],leadingAscii:t[2],leadingNonAscii:t[3],trailing:t[4],trailingNonAscii:t[5],trailingAscii:t[6]}}function uf(e,t,r){var n,a,i;if(e==="left")n=t.previousSibling,a=/ $/;else n=t.nextSibling,a=/^ /;if(n){if(n.nodeType===3)i=a.test(n.nodeValue);else if(r.preformattedCode&&n.nodeName==="CODE")i=!1;else if(n.nodeType===1&&!Ro(n))i=a.test(n.textContent)}return i}var ry=Array.prototype.reduce;function ni(e){if(!(this instanceof ni))return new ni(e);var t={rules:Be,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(r,n){return n.isBlock?`
59
-
60
- `:""},keepReplacement:function(r,n){return n.isBlock?`
61
-
62
- `+n.outerHTML+`
63
-
64
- `:n.outerHTML},defaultReplacement:function(r,n){return n.isBlock?`
65
-
66
- `+r+`
67
-
68
- `:r}};this.options=q_({},t,e),this.rules=new _f(this.options)}ni.prototype={turndown:function(e){if(!iy(e))throw TypeError(e+" is not a string, or an element/document/fragment node.");if(e==="")return"";var t=vf.call(this,new Y_(e,this.options));return ny.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else if(typeof e==="function")e(this);else throw TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return bf(e)}};function vf(e){var t=this;return ry.call(e.childNodes,function(r,n){n=new Z_(n,t.options);var a="";if(n.nodeType===3)a=n.isCode?n.nodeValue:t.escape(n.nodeValue);else if(n.nodeType===1)a=ay.call(t,n);return Ef(r,a)},"")}function ny(e){var t=this;return this.rules.forEach(function(r){if(typeof r.append==="function")e=Ef(e,r.append(t.options))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function ay(e){var t=this.rules.forNode(e),r=vf.call(this,e),n=e.flankingWhitespace;if(n.leading||n.trailing)r=r.trim();return n.leading+t.replacement(r,e,this.options)+n.trailing}function Ef(e,t){var r=ff(e),n=df(t),a=Math.max(e.length-r.length,t.length-n.length),i=`
69
-
70
- `.substring(0,a);return r+i+n}function iy(e){return e!=null&&(typeof e==="string"||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}wf.exports=ni});var Lf=P(function(Nf){Object.defineProperty(Nf,"__esModule",{value:!0});var Cf=/highlight-(?:text|source)-([a-z0-9]+)/;function Tf(e){e.addRule("highlightedCodeBlock",{filter:function(t){var r=t.firstChild;return t.nodeName==="DIV"&&Cf.test(t.className)&&r&&r.nodeName==="PRE"},replacement:function(t,r,n){var a=r.className||"",i=(a.match(Cf)||[null,""])[1];return`
71
-
72
- `+n.fence+i+`
73
- `+r.firstChild.textContent+`
74
- `+n.fence+`
75
-
76
- `}})}function Af(e){e.addRule("strikethrough",{filter:["del","s","strike"],replacement:function(t){return"~"+t+"~"}})}var sy=Array.prototype.indexOf,oy=Array.prototype.every,Mr={};Mr.tableCell={filter:["th","td"],replacement:function(e,t){return Df(e,t)}};Mr.tableRow={filter:"tr",replacement:function(e,t){var r="",n={left:":--",right:"--:",center:":-:"};if(Io(t))for(var a=0;a<t.childNodes.length;a++){var i="---",s=(t.childNodes[a].getAttribute("align")||"").toLowerCase();if(s)i=n[s]||i;r+=Df(i,t.childNodes[a])}return`
77
- `+e+(r?`
78
- `+r:"")}};Mr.table={filter:function(e){return e.nodeName==="TABLE"&&Io(e.rows[0])},replacement:function(e){return e=e.replace(`
79
-
80
- `,`
81
- `),`
82
-
83
- `+e+`
84
-
85
- `}};Mr.tableSection={filter:["thead","tbody","tfoot"],replacement:function(e){return e}};function Io(e){var t=e.parentNode;return t.nodeName==="THEAD"||t.firstChild===e&&(t.nodeName==="TABLE"||cy(t))&&oy.call(e.childNodes,function(r){return r.nodeName==="TH"})}function cy(e){var t=e.previousSibling;return e.nodeName==="TBODY"&&(!t||t.nodeName==="THEAD"&&/^\s*$/i.test(t.textContent))}function Df(e,t){var r=sy.call(t.parentNode.childNodes,t),n=" ";if(r===0)n="| ";return n+e+" |"}function Rf(e){e.keep(function(r){return r.nodeName==="TABLE"&&!Io(r.rows[0])});for(var t in Mr)e.addRule(t,Mr[t])}function Sf(e){e.addRule("taskListItems",{filter:function(t){return t.type==="checkbox"&&t.parentNode.nodeName==="LI"},replacement:function(t,r){return(r.checked?"[x]":"[ ]")+" "}})}function ly(e){e.use([Tf,Af,Rf,Sf])}Nf.gfm=ly;Nf.highlightedCodeBlock=Tf;Nf.strikethrough=Af;Nf.tables=Rf;Nf.taskListItems=Sf});var G={flag:"--json",summary:"Print the model behind the output, with every field."},Ge={flag:"--project",value:"<ref>",summary:"Project by identifier (CLOUD), name, or unique name prefix."},De={...Ge,required:!0},Li=[{flag:"--label",value:"<names>",summary:"Add comma-separated label names or IDs; preserve existing labels. Repeat flags keep the last value."},{flag:"--labels",value:"<names|none>",summary:"Replace all labels with this comma-separated list; none clears them. Cannot combine with --label."},{flag:"--parent",value:"<ID|none>",summary:"Parent work item, such as CLOUD-8; none removes the parent."},{flag:"--assignee",value:"<names|none>",summary:"Replace assignees with comma-separated display names, emails or UUIDs; none clears them."},{flag:"--due",value:"<date|none>",summary:"Due date in YYYY-MM-DD format; none clears it."},{flag:"--start",value:"<date|none>",summary:"Start date in YYYY-MM-DD format; none clears it."}],Ii={flag:"--color",value:"<#RRGGBB>",summary:"Six-digit hex color. Quote the value, for example '#336699'."},Bt={flag:"--description",value:"<text>",summary:"Plain-text description; replaces the existing description."},Zn={flag:"--name",value:"<name>",summary:"New name."},gc={flag:"--identifier",value:"<ABC>",summary:"1–12 letters or digits, starting with a letter; normalized to uppercase."},bc={flag:"--group",value:"<group>",summary:"backlog, unstarted, started, completed or cancelled."},Qn={flag:"--yes",required:!0,summary:"Confirm permanent deletion."},_c=[{flag:"--intake",summary:"Enable intake; --intake=false disables it."},{flag:"--cycles",summary:"Enable cycles in the project; --cycles=false disables them."},{flag:"--modules",summary:"Enable modules in the project; --modules=false disables them."}],Oi={flag:"--start",value:"<date>",summary:"Start date in YYYY-MM-DD format."},yc={flag:"--end",value:"<date>",summary:"Cycle end date in YYYY-MM-DD format; supply with --start."},Rp={flag:"--due",value:"<date>",summary:"Target date in YYYY-MM-DD format."},vc={flag:"--status",value:"<status>",summary:"pending, rejected, snoozed, accepted or duplicate."},Ec=[{flag:"--description",value:"<markdown>",summary:"Markdown description; replaces the existing description."},{flag:"--priority",value:"<level>",summary:"urgent, high, medium, low or none."}],Fi=[{title:"LOOK AROUND",commands:[{name:"summary",summary:"Projects in the workspace and how much is in each.",options:[G],examples:["i-plane summary"],next:["i-plane list <PROJECT>"]},{name:"projects",alias:"ps",summary:"Projects with their identifiers.",options:[G],examples:["i-plane projects"]},{name:"list",alias:"ls",args:"[project]",summary:"Work items of one project, one line each.",options:[{flag:"--state",value:"<name|group>",summary:"Keep one state. Group: backlog, unstarted, started, completed, cancelled."},{flag:"--priority",value:"<level>",summary:"Keep one level: urgent, high, medium, low, none."},{flag:"--limit",value:"<n>",summary:"Show only the first n rows. The output says how many were hidden."},Ge,G],examples:["i-plane list CLOUD","i-plane list CLOUD --state started","i-plane list CLOUD --priority urgent"],next:["i-plane show <ID>","i-plane update <ID> --state done"]},{name:"show",args:"<ID>",summary:"One work item with its description as Markdown.",options:[Ge,{flag:"--comments",summary:"Include the discussion, converted to Markdown."},G],examples:["i-plane show CLOUD-8","i-plane show CLOUD-8 --comments"],next:["i-plane update CLOUD-8 --priority high",'i-plane comment CLOUD-8 "..."']},{name:"search",alias:"find",args:"<text>",summary:"Search work items across the whole workspace, not one project.",options:[G],examples:['i-plane search "resolver"'],next:["i-plane show <ID>"]}]},{title:"CHANGE THINGS",commands:[{name:"create",alias:"new",args:"<title>",summary:"Create a work item.",options:[...Li,De,{flag:"--description",value:"<markdown>",summary:"Markdown: headings, code fences with a language, tables, lists, quotes."},{flag:"--priority",value:"<level>",summary:"urgent, high, medium, low, none."},{flag:"--state",value:"<name>",summary:"Starting state; default otherwise."},G],examples:['i-plane create "Fix the resolver" --project CLOUD --priority urgent --description "Observed: stale results. Expected: fresh data."','i-plane create "Prepare the documentation" --project CLOUD --label task --parent CLOUD-8 --due 2026-10-14'],notes:["Use create for work already accepted into the project. Use intake create for a report or idea that still needs a decision.","The title and --project are required. Use the reference returned by create in subsequent show/update commands.","--label adds labels by name; --labels replaces the complete list. Assignees and dates describe the work itself."],next:["i-plane show CLOUD-8 --comments","i-plane update CLOUD-8 --state started"]},{name:"update",alias:"set",args:"<ID>",summary:"Change fields of a work item. Pass at least one flag.",options:[...Li,{flag:"--state",value:"<name>",summary:"State by name or by group."},{flag:"--priority",value:"<level>",summary:"urgent, high, medium, low, none."},{flag:"--name",value:"<title>",summary:"New title."},{flag:"--description",value:"<markdown>",summary:"Replaces the description."},Ge,G],examples:['i-plane update CLOUD-8 --state started --assignee "Reader"','i-plane update CLOUD-8 --label "task,review" --due 2026-10-14',"i-plane update CLOUD-8 --labels none --parent none"],notes:["Pass at least one field to change. --project is only needed when the work item is addressed by UUID.","--label preserves current labels; --labels replaces them. none clears labels, parent, assignees or dates where documented."],next:["i-plane show CLOUD-8 --comments","i-plane done CLOUD-8"]},{name:"done",args:"<ID>",summary:"Move to the first completed state. Shorthand for update --state.",options:[...Li,{flag:"--priority",value:"<level>",summary:"Set priority while closing."},{flag:"--name",value:"<title>",summary:"Rename while closing."},{flag:"--description",value:"<markdown>",summary:"Replace the description."},Ge,G],examples:["i-plane done CLOUD-8"],notes:["Sets the first completed state and can update the other work item fields in the same call. --state is chosen by this command."],next:["i-plane show CLOUD-8"]},{name:"comment",args:"<ID> <text>",summary:"Add a comment. Text is Markdown.",options:[Ge,G],examples:['i-plane comment CLOUD-8 "resolver cache was stale"']},{name:"comments",args:"<ID>",summary:"Read all comments as Markdown, oldest first.",options:[Ge,G],examples:["i-plane comments CLOUD-8"],notes:["Read discussion before posting an answer. Bodies are Markdown, ordered oldest first; every page is fetched.","show --comments includes the same discussion beside the work item description."],next:["i-plane show CLOUD-8 --comments"]},{name:"delete",alias:"rm",args:"<ID>",summary:"Delete a work item. Refuses without --yes.",options:[{flag:"--yes",required:!0,summary:"Confirm. Deleting cannot be undone."},Ge,G],examples:["i-plane delete CLOUD-8 --yes"]}]},{title:"PROJECT SHAPE",commands:[{name:"project create",args:"<name>",summary:"Create a project. Names cannot contain special characters, including hyphens.",options:[..._c,{...gc,required:!0},Bt,G],examples:['i-plane project create "Knowledge Base" --identifier KB --description "Team documentation"','i-plane project create "Product Work" --identifier APP --cycles --modules --intake'],notes:["Both name and --identifier are required. Hyphens are not allowed in project names.","Enable the features needed for the workflow. --intake also initializes the incoming queue; a partial setup warning gives a project update command to retry."],next:["i-plane states KB",'i-plane label create task --project KB --color "#3B82F6"','i-plane create "Define the structure" --project KB --label task']},{name:"project update",args:"<project>",summary:"Change project details or enable cycles, modules and intake.",options:[..._c,Zn,gc,Bt,G],examples:['i-plane project update CLOUD --description "Product delivery"',"i-plane project update CLOUD --modules --cycles --intake"],notes:["Change at least one field. --intake=false, --cycles=false and --modules=false disable the corresponding feature."],next:["i-plane modules CLOUD","i-plane intake list CLOUD --status pending"]},{name:"project archive",args:"<project>",summary:"Archive a project and hide it from active lists.",options:[G],examples:["i-plane project archive KB"],notes:["Archive hides the project from active lists while preserving its data. Save its UUID before archiving if another operation needs an exact reference."],next:["i-plane projects"]},{name:"project rm",args:"<project>",summary:"Permanently delete a project and its contents. Requires --yes.",options:[Qn,G],examples:["i-plane project rm TEST --yes"],notes:["Permanent deletion includes the project contents. Use project archive when the data should be kept."],next:["i-plane projects"]},{name:"label create",args:"<name>",summary:"Create a work item label in a project. Default color: #808080.",options:[De,Ii,Bt,G],examples:['i-plane label create task --project KB --color "#336699"'],notes:["A label categorizes work items, for example bug, task or epic. --color is optional; the default is #808080.","Creating a label does not assign it to any work item. Use create/update --label with its name."],next:["i-plane labels CLOUD","i-plane update CLOUD-8 --label task"]},{name:"label rm",args:"<label>",summary:"Delete a label by name or UUID. Requires --yes.",options:[De,Qn,G],examples:["i-plane label rm unused --project KB --yes"],notes:["Removes the project label. Review the label name and project before confirming with --yes."],next:["i-plane labels CLOUD"]},{name:"state create",args:"<name>",summary:"Create a state. Requires --project, --color and --group.",options:[De,{...Ii,required:!0},{...bc,required:!0},Bt,G],examples:['i-plane state create Review --project KB --color "#336699" --group started'],notes:["A state names a stage of the project workflow. --group determines its ordering and whether done considers it completed.","Both --color and --group are required. Creating a state does not move existing work items."],next:["i-plane states CLOUD","i-plane update CLOUD-8 --state Review"]},{name:"state update",args:"<state>",summary:"Change a state by name or UUID. An ambiguous name is an error.",options:[De,Zn,Ii,bc,Bt,G],examples:['i-plane state update Review --project KB --name "In Review"'],notes:["Change name, color, description or group. Changing the group also changes how work items in this state are classified."],next:["i-plane states CLOUD"]},{name:"state rm",args:"<state>",summary:"Delete a state by name or UUID. Requires --yes; Plane may refuse states in use.",options:[De,Qn,G],examples:["i-plane state rm unused --project KB --yes"],notes:["Plane can refuse deletion of a state still in use. Inspect its work items and move them before retrying."],next:["i-plane states CLOUD"]},{name:"states",args:"[project]",summary:"States and their groups — the names --state accepts.",options:[Ge,G],examples:["i-plane states CLOUD"]},{name:"labels",args:"[project]",summary:"Labels of a project.",options:[Ge,G],examples:["i-plane labels CLOUD"]},{name:"members",summary:"Who is in the workspace.",options:[G],examples:["i-plane members"]}]},{title:"PLANNING",summary:"Cycles schedule a time window. Modules group related work toward a goal and can span cycles.",commands:[{name:"cycles",args:"[project]",summary:"All cycles and their dates. A cycle groups work by time.",options:[Ge,G],examples:["i-plane cycles CLOUD"],notes:["Cycles are time windows for planned work. Supply a project positionally or through --project.","Dates are shown in the project timezone. JSON keeps the server timestamps and includes the timezone."],next:['i-plane cycle issues "Sprint 1" --project CLOUD']},{name:"cycle create",args:"<name>",summary:"Create a cycle. Supply --start and --end together; omit both for a draft.",options:[De,Bt,Oi,yc,{flag:"--owner",value:"<member>",summary:"Owner by name, email or UUID; defaults to the token's user."},G],examples:['i-plane cycle create "Sprint 1" --project CLOUD --start 2026-10-01 --end 2026-10-14','i-plane cycle create "Next iteration" --project CLOUD'],notes:["Enable the feature first if needed: i-plane project update CLOUD --cycles.","Supply both --start and --end, or neither for a draft. The owner defaults to the token user; --owner selects another member."],next:['i-plane cycle add CLOUD-8 CLOUD-9 --project CLOUD --cycle "Sprint 1"','i-plane cycle issues "Sprint 1" --project CLOUD']},{name:"cycle update",args:"<cycle>",summary:"Change a cycle name, description, owner or dates. Change --start and --end together; none clears both dates.",options:[De,Zn,Bt,Oi,yc,{flag:"--owner",value:"<member>",summary:"Owner by name, email or UUID."},G],examples:['i-plane cycle update "Sprint 1" --project CLOUD --start 2026-10-01 --end 2026-10-14','i-plane cycle update "Next iteration" --project CLOUD --start none --end none'],notes:["An omitted --owner preserves the current owner. Change both dates together, including when clearing them with none.","Plane may refuse changes to completed cycles. Dates are displayed in the project timezone."],next:["i-plane cycles CLOUD"]},{name:"cycle add",args:"<ID...>",summary:"Add work items to a cycle. All must belong to the selected project; this can move them from another cycle.",options:[De,{flag:"--cycle",required:!0,value:"<cycle>",summary:"Cycle by name, unique prefix or UUID."},G],examples:['i-plane cycle add CLOUD-8 CLOUD-9 --project CLOUD --cycle "Sprint 1"'],notes:["A work item belongs to one cycle. Adding it to another cycle moves its cycle assignment.","All references are resolved and checked against --project before the write."],next:['i-plane cycle issues "Sprint 1" --project CLOUD']},{name:"cycle issues",args:"<cycle>",summary:"All work items in a cycle, one line each.",options:[De,G],examples:['i-plane cycle issues "Sprint 1" --project CLOUD'],notes:["Read the work planned for this time window. Names, state and priority are shown for every work item."],next:["i-plane show CLOUD-8 --comments"]},{name:"cycle transfer",args:"<from> <to>",summary:"Move unfinished work to another cycle. The source cycle must have ended; completed and cancelled work stays behind.",options:[De,G],examples:['i-plane cycle transfer "Sprint 1" "Sprint 2" --project CLOUD'],notes:["Use at the end of an iteration to carry unfinished work forward. Completed and cancelled work stays in the source cycle.","Supply different source and target cycles from the same project. A dated source must have ended; an undated draft has no end-date check."],next:['i-plane cycle issues "Sprint 2" --project CLOUD']},{name:"modules",args:"[project]",summary:"List feature, milestone or workstream modules and their overall status.",options:[Ge,G],examples:["i-plane modules CLOUD"],notes:["A module groups work toward a goal, such as a feature, launch or documentation effort. It can span several cycles.","A work item can belong to several modules. Module status and work item state are separate."],next:["i-plane module issues Documentation --project CLOUD","i-plane module create Documentation --project CLOUD --status planned"]},{name:"module create",args:"<name>",summary:"Create a module for a feature, milestone or related workstream.",options:[De,Bt,Oi,Rp,{flag:"--status",value:"<status>",summary:"backlog, planned, in-progress, paused, completed or cancelled."},G],examples:['i-plane module create Documentation --project CLOUD --description "Goal: publish the operator guide. Scope: setup and recovery. Done: all examples verified." --status planned','i-plane module create "Autumn launch" --project CLOUD --start 2026-10-01 --due 2026-10-31 --status planned'],notes:["Enable the feature first if needed: i-plane project update CLOUD --modules.","This CLI fills the name, plain-text description, optional start/due dates and overall status. The dates do not have to be a paired sprint window.","Describe the goal, scope and completion criteria. Pass --status explicitly when its initial value matters: API and UI defaults can differ.","Plane also supports a module lead and members, independently of work item assignees. This CLI does not yet set those fields or edit module details."],next:["i-plane module add CLOUD-8 CLOUD-9 --project CLOUD --module Documentation","i-plane module issues Documentation --project CLOUD"]},{name:"module add",args:"<ID...>",summary:"Add related work items to a module; they may belong to other modules too.",options:[De,{flag:"--module",required:!0,value:"<module>",summary:"Module by name, unique prefix or UUID."},G],examples:["i-plane module add CLOUD-8 CLOUD-9 --project CLOUD --module Documentation"],notes:["Module membership groups work by goal. It does not change the work item state, assignees or cycle.","Keep each referenced work item in the selected project. Check the module contents after adding."],next:["i-plane module issues Documentation --project CLOUD"]},{name:"module issues",args:"<module>",summary:"All work items in a module, one line each.",options:[De,G],examples:["i-plane module issues Documentation --project CLOUD"],notes:["Use the list to assess what remains for the module goal. Work item states show progress; the module status is a separate planning field."],next:["i-plane show CLOUD-8 --comments","i-plane update CLOUD-8 --state started"]}]},{title:"INTAKE",summary:"Collect undecided reports and requests, add context, then accept, reject, snooze or link a duplicate.",commands:[{name:"intake list",args:"[project]",summary:"Review incoming reports and requests before committing them to project work.",options:[Ge,vc,G],examples:["i-plane intake list CLOUD --status pending","i-plane intake list CLOUD --status snoozed --json"],notes:["Intake is a triage queue for bug reports, ideas and support requests. Pending means no acceptance decision has been made.","--status filters locally: pending, rejected, snoozed, accepted or duplicate. Triage status is separate from a normal work item state.","Some servers hide expired snoozes from list/show. Keep issueId from JSON so update/rm can still address a hidden entry."],next:["i-plane intake show CLOUD-9 --project CLOUD","i-plane intake update CLOUD-9 --project CLOUD --status accepted"]},{name:"intake create",args:"<title>",summary:"Submit a report or idea to triage without adding committed work to the board.",options:[De,...Ec,G],examples:['i-plane intake create "Search returns stale results" --project CLOUD --priority high --description "**Observed:** stale search results. **Expected:** fresh results. **Reproduce:** update a record, then search. **Impact:** outdated data." --json','i-plane intake create "Export documentation as PDF" --project CLOUD --priority low'],notes:["Enable intake first: i-plane project update CLOUD --intake. Requests start pending in the separate Triage state.","Fill a clear title, Markdown description and optional priority. Include observations, expected behavior, reproduction steps and impact.","Use --json and retain issueId for later triage actions. This CLI does not configure public intake forms or email channels."],next:["i-plane intake list CLOUD --status pending","i-plane intake show CLOUD-9 --project CLOUD"]},{name:"intake show",args:"<ID>",summary:"Read an intake work item by readable reference or underlying work item UUID (issueId in JSON).",options:[De,G],examples:["i-plane intake show CLOUD-8 --project CLOUD"],notes:["Read the request and its current triage decision before changing it. The description is Markdown.","Use the readable work item number or underlying issueId from JSON, not the intake entry id. Expired snoozes may be hidden even from this read command."],next:["i-plane intake update CLOUD-9 --project CLOUD --status accepted","i-plane intake update CLOUD-9 --project CLOUD --status rejected"]},{name:"intake update",args:"<ID>",summary:"Clarify a request or decide to accept, reject, snooze or mark it duplicate.",options:[De,Zn,...Ec,vc,{flag:"--snooze-until",value:"<date>",summary:"Required with --status snoozed; YYYY-MM-DD at midnight UTC."},{flag:"--duplicate-of",value:"<ID>",summary:"Required with --status duplicate; readable reference or UUID in the same project."},G],examples:['i-plane intake update CLOUD-9 --project CLOUD --name "Search cache is not invalidated" --priority high --status accepted',"i-plane intake update CLOUD-9 --project CLOUD --status rejected","i-plane intake update CLOUD-9 --project CLOUD --status snoozed --snooze-until 2026-10-01","i-plane intake update CLOUD-9 --project CLOUD --status duplicate --duplicate-of CLOUD-8","i-plane intake update 11111111-1111-4111-8111-111111111111 --project CLOUD --status accepted"],notes:["Edit title, Markdown description and priority while triaging. pending is undecided; rejected declines the request without deleting it.","accepted moves triage work into the project default state through this API. Then use normal update to choose a state, assign people, labels and work dates.","snoozed postpones the decision until --snooze-until. duplicate points to an existing work item via --duplicate-of. Other status changes clear stale snooze/duplicate metadata.","When a snoozed entry has disappeared from lookup, pass its saved issueId UUID directly. UUID writes do not require list/show to find the entry.","The Plane UI offers more properties during intake. This CLI currently edits title, description, priority and the triage decision; it does not set assignees, labels or due dates before acceptance."],next:["i-plane show CLOUD-9 --comments",'i-plane update CLOUD-9 --state started --assignee "Reader" --label task']},{name:"intake rm",args:"<ID>",summary:"Delete an intake entry. Unaccepted work items are deleted too; accepted work items stay on the board. Requires --yes.",options:[De,Qn,G],examples:["i-plane intake rm CLOUD-9 --project CLOUD --yes","i-plane intake rm 11111111-1111-4111-8111-111111111111 --project CLOUD --yes"],notes:["Use rejected to decline a request while keeping its record. rm is permanent and requires --yes.","Deleting an unaccepted entry also deletes its work item. Deleting an accepted entry keeps the work item on the board.","For an expired snooze hidden by the server, pass the saved issueId UUID directly."],next:["i-plane intake list CLOUD"]}]},{title:"SELF",commands:[{name:"config",summary:"Which url, token and workspace are in effect, and where each came from.",options:[G],examples:["i-plane config"]},{name:"whoami",summary:"The account behind the token.",options:[G],examples:["i-plane whoami"]},{name:"guide",summary:"This map, the usual order of work, and how the tool behaves.",options:[G],examples:["i-plane guide"]}]}],wc=[{title:"Choose where the work belongs",body:"Use create for accepted project work, intake create for a report needing a decision, modules for a shared goal and cycles for a time window. The same work item can be in a cycle and several modules."},{title:"Examples use sample references",body:"Replace CLOUD, work item numbers, names and sample UUIDs with values from your own commands. Required options are marked in --help; USUALLY NEXT shows common follow-up calls."},{title:"Filtering happens here, not on the server",body:"The list endpoint honours fields and expand — that is where the saving comes from, "+"11 KB down to 737 bytes on the wire. But it accepts state_group, priority and order_by with a 200 and then ignores them. So --state and --priority narrow rows in this client. Never assume a server-side filter worked: it answers success and returns everything."},{title:"A list is complete unless it says otherwise",body:"list returns every work item of the project. --limit exists but is not the usual path; when it cuts the list, the last line says how many rows were hidden. Read that line "+"before concluding anything — a truncated list looks exactly like a complete one."},{title:"Descriptions are Markdown in both directions",body:"Work item and intake descriptions, and comments, use Markdown; the CLI converts HTML at the edges. Project, label, state, cycle and module descriptions are plain text. show and comments return work item text as Markdown."},{title:"Work items are addressed the way people say them",body:"Normal work item references such as CLOUD-8 resolve directly. Hidden expired intake entries need the saved issueId UUID; list/show may no longer find them. Projects accept an identifier (CLOUD), a full name, or a unique name prefix; an ambiguous prefix is reported rather than guessed."},{title:"Nothing ever prompts",body:"A CLI that waits for input hangs an agent forever. A missing argument is an error that names what was expected and shows a real invocation."},{title:"Exit codes are distinguishable",body:"2 means the call was wrong — unknown command, missing argument, ambiguous project. "+"1 means Plane said no or could not be reached. Branch on the code instead of parsing text."},{title:"Every command takes --json",body:"The human form drops fields on purpose. When ids, timestamps or assignees matter, add --json and read the model instead."}],kc=[{command:"i-plane summary",summary:"Start here: which projects exist and how full they are."},{command:"i-plane list CLOUD",summary:"Everything in one project. Narrow with --state, --priority."},{command:"i-plane show CLOUD-8",summary:"Read one before changing it; description included."},{command:"i-plane update CLOUD-8 --state started",summary:"Start accepted work; done closes it."},{command:"i-plane <command> --help",summary:"Flags and real examples for that command."},{command:"i-plane project update CLOUD --modules --cycles --intake",summary:"Enable planning and incoming requests for an existing project."},{command:"i-plane intake list CLOUD --status pending",summary:"Review reports before accepting them into project work."},{command:"i-plane module issues Documentation --project CLOUD",summary:"Inspect a goal's work across cycles."},{command:"i-plane config",summary:"When something lands in the wrong place, look here first."}],ea=Fi.flatMap((e)=>e.commands),kt=(e)=>ea.find((t)=>t.name===e||t.alias===e),Ct=[G,{flag:"--help",summary:"Show help."},{flag:"--version",summary:"Show the installed version."},{flag:"--url",value:"<url>",summary:"Plane base URL."},{flag:"--token",value:"<token>",summary:"API token."},{flag:"--workspace",value:"<slug>",summary:"Workspace slug."},{flag:"--config",value:"<path>",summary:"Credentials file."}],Mi=Ct.map((e)=>e.flag.slice(2)),Cc=(e)=>new Set([...Mi,...(e.options??[]).map((t)=>t.flag.replace(/^--/,""))]),xr=(e)=>ea.filter((t)=>t.name.startsWith(`${e} `));var Sp=new Set([...Ct,...ea.flatMap((e)=>e.options??[])].filter((e)=>e.value!==void 0).map((e)=>e.flag.slice(2))),Np=(e,t)=>{let r=[],n=[],a=new Map,i=0;while(i<e.length){let s=e[i];if(s===void 0)break;if(s==="--"){n.push(...e.slice(i+1));break}if(s.startsWith("--")){let o=s.slice(2),u=o.indexOf("=");if(u>=0)a.set(o.slice(0,u),o.slice(u+1));else if(Sp.has(o)){let f=e[i+1];if(f===void 0||f.startsWith("--"))throw new N(`Flag --${o} needs a value.`);a.set(o,f),i+=1}else a.set(o,!0);i+=1;continue}if(r.length<t&&n.length===0)r.push(s);else n.push(s);i+=1}return{path:r,positionals:n,flags:a}};class N extends Error{constructor(e){super(e);this.name="UsageError"}}var I=(e,t)=>{let r=e.flags.get(t);return typeof r==="string"?r:void 0},Lp=new Set(["false","no","off","0",""]),ze=(e,t)=>{let r=e.flags.get(t);if(r===void 0)return!1;if(r===!0)return!0;return!Lp.has(r.trim().toLowerCase())},Tc=(e,t)=>{let r=I(e,t);if(r===void 0)return;let n=Number(r);if(!Number.isFinite(n))throw new N(`Flag --${t} expects a number; got ${r}.`);return n},Ac=(e)=>{let t=Np(e,1),r=t.path[0];if(r===void 0)return t;if(xr(r).length>0&&t.positionals[0]!==void 0)return{...t,path:[r,t.positionals[0]],positionals:t.positionals.slice(1)};return{...t,path:[kt(r)?.name??r]}};var Pi=(e)=>{let t=process.env.HTTPS_PROXY??process.env.https_proxy,r=process.env.HTTP_PROXY??process.env.http_proxy,n=e==="https:"?t??r:r??t;return n===void 0||n===""?void 0:n},Dc=(e)=>{let t=e.split(".");if(t.length!==4)return;let r=0;for(let n of t){if(!/^\d{1,3}$/.test(n))return;let a=Number(n);if(a>255)return;r=r*256+a}return r},Ip=(e,t)=>{let[r,n]=t.split("/");if(r===void 0||n===void 0)return!1;let a=Number(n);if(!Number.isInteger(a)||a<0||a>32)return!1;let i=Dc(e),s=Dc(r);if(i===void 0||s===void 0)return!1;let o=a===0?0:4294967295<<32-a>>>0;return(i&o)===(s&o)},Op=(e)=>{let t=process.env.NO_PROXY??process.env.no_proxy??"";if(t.trim()==="")return!1;let r=e.toLowerCase().replace(/\.$/,"").replace(/^\[|\]$/g,"");for(let n of t.split(/[,\s]+/)){let a=n.trim().toLowerCase().replace(/\.$/,"").replace(/^\./,"").replace(/^\[|\]$/g,"");if(a==="")continue;if(a==="*")return!0;if(a.includes("/")&&Ip(r,a))return!0;if(r===a||r.endsWith(`.${a}`))return!0}return!1},Xr=(e)=>{let t;try{t=new URL(e)}catch{return!1}if(Op(t.hostname))return!1;return Pi(t.protocol)!==void 0},Rc=(e)=>{if(!Xr(e))return"directly";let t=Pi(new URL(e).protocol);if(t===void 0)return"directly";try{let r=new URL(t);return`through proxy ${r.protocol}//${r.host}`}catch{return"through the configured proxy"}},ta=(e,t=0)=>{if(t>8||e===null||typeof e!=="object")return!1;let r=e;return r.code==="EPERM"||r.code==="EACCES"||ta(r.cause,t+1)||Array.isArray(r.errors)&&r.errors.some((n)=>ta(n,t+1))},ra=async(e)=>{if(!Xr(e))return;if(process.env.NODE_USE_ENV_PROXY==="1")return;let t=new URL(e),r=Pi(t.protocol);if(r===void 0)return;let n;try{n=await import("undici")}catch{return}try{let a=new n.ProxyAgent(r);return(i,s)=>n.fetch(i,{...s,dispatcher:a})}catch(a){let i=a instanceof Error?a.message:String(a);throw Error(`Proxy setting is not a usable URL: ${r} (${i})`)}},Fp=()=>{let[e=0,t=0]=process.versions.node.split(".").map(Number);return e>=24||e===22&&t>=21},Sc=async(e)=>{if(!Xr(e))return;if(process.env.NODE_USE_ENV_PROXY==="1")return;if(process.env.I_PLANE_NO_REEXEC==="1")return;if(!Fp())throw Error(`A proxy is configured, but Node ${process.versions.node} cannot use it with the built-in fetch. Install the optional dependency (npm install undici) or upgrade to Node 22.21 or newer.`);let{spawnSync:t}=await import("node:child_process"),r=process.argv[1];if(r===void 0)return;return t(process.execPath,[...process.execArgv,r,...process.argv.slice(2)],{stdio:"inherit",env:{...process.env,NODE_USE_ENV_PROXY:"1",I_PLANE_NO_REEXEC:"1"}}).status??1};var na=(e,t)=>{if(t==="")return e;let r=e.split(t).join("[token]");for(let n of t.split(/\s+/))if(n.length>=12)r=r.split(n).join("[token]");return r};class Le extends Error{status;constructor(e,t){super(e);this.name="PlaneError",this.status=t}}var Mp=20000;class qi{config;transport;transportReady=!1;constructor(e){this.config=e}async fetcher(e){if(!this.transportReady)this.transport=await ra(e),this.transportReady=!0;return this.transport??fetch}async request(e,t={}){let r=e.startsWith("/")?`${this.config.url.value}${e}`:`${this.config.url.value}/api/v1/workspaces/${this.config.workspace.value}/${e}`,n=new URL(r);for(let[x,v]of Object.entries(t.query??{}))if(v!==void 0)n.searchParams.set(x,String(v));let a=t.timeoutMs??Mp,i=await this.fetcher(n.toString()),s=new AbortController,o=Date.now(),u=setTimeout(()=>s.abort(),a),f=()=>Math.max(0,a-(Date.now()-o)),p;try{p=await i(n.toString(),{method:t.method??"GET",headers:{"X-API-Key":this.config.token.value,Accept:"application/json",...t.body===void 0?{}:{"Content-Type":"application/json"}},body:t.body===void 0?void 0:JSON.stringify(t.body),signal:s.signal})}catch(x){if(x instanceof Error&&x.name==="AbortError")throw clearTimeout(u),new Le(`No answer from ${this.config.url.value} within ${a/1000}s.`);let v=x instanceof Error?x.message:String(x),d=x instanceof Error?x.cause:void 0,g=d===void 0?v:`${v} (${[d.name,d.code,d.message].filter(Boolean).join(" ")})`;if(clearTimeout(u),ta(x))throw new Le(na(`Connection to ${this.config.url.value} ${Rc(n.toString())} was denied by the operating system (EPERM/EACCES). Check sandbox network permissions and local firewall rules. No HTTP response was received from Plane.`,this.config.token.value));throw new Le(na(`Cannot reach ${this.config.url.value}: ${g}`,this.config.token.value))}try{if(!p.ok)throw await this.describeFailure(p,f(),s);if(p.status===204)return;let x=await this.readBody(p,f(),s);if(x==="")return;return JSON.parse(x)}catch(x){if(x instanceof Le)throw x;throw new Le(na(`Expected JSON from ${n.pathname}: ${x instanceof Error?x.message:String(x)}`,this.config.token.value).slice(0,200))}finally{clearTimeout(u)}}async readBody(e,t,r){let n,a=new Promise((i,s)=>{n=setTimeout(()=>{r.abort(),s(new Le(`Response body stalled; gave up after ${t/1000}s.`))},t)});try{return await Promise.race([e.text(),a])}finally{if(n!==void 0)clearTimeout(n)}}async listAll(e,t={}){let r=[],n;do{let a=await this.request(e,{...t,query:{...t.query,...n===void 0?{}:{cursor:n}}});if(Array.isArray(a)){r.push(...a);break}r.push(...a.results??[]),n=a.next_page_results===!0?a.next_cursor:void 0}while(n!==void 0);return r}async describeFailure(e,t,r){let n=await this.readBody(e,t,r).catch(()=>""),a=na(n,this.config.token.value).slice(0,300);switch(e.status){case 401:case 403:return new Le(`Token rejected (${e.status}). The key from ${this.config.configPath} is not valid for workspace "${this.config.workspace.value}".`,e.status);case 404:return new Le(`Not found (404): ${e.url}. Check the workspace slug ("${this.config.workspace.value}") and the project identifier.`,404);case 429:return new Le("Rate limited (429). Plane allows 60 API calls a minute.",429);default:return new Le(`Plane answered ${e.status}${a===""?"":`: ${a}`}`,e.status)}}}var Ce=(e,t=" ")=>{if(e.length===0)return[];let r=Math.max(...e.map((n)=>n.name.length));return e.map((n)=>`${t}${n.name.padEnd(r)} ${n.text}`)},aa="",Bi=(e)=>{aa=e},ia=(e)=>{if(aa==="")return e;let t=e.split(aa).join("[token]");for(let r of aa.split(/\s+/))if(r.length>=12)t=t.split(r).join("[token]");return t},Pp=(e)=>{let t=ia(e);process.stdout.write(t.endsWith(`
86
- `)?t:`${t}
87
- `)},ji=(e)=>{if(typeof e==="string")return ia(e);if(Array.isArray(e))return e.map(ji);if(e!==null&&typeof e==="object"){let t={};for(let[r,n]of Object.entries(e))t[r]=ji(n);return t}return e},ft=(e,t,r)=>{let n=ji(e);Pp(t?JSON.stringify(n,null,2):r(n))},sa=(e,t=1)=>{process.stderr.write(`${ia(e)}
88
- `),process.exit(t)},oa=(e)=>{process.stderr.write(`${ia(e)}
89
- `)},ge=(e)=>(e??"").replace(/\s+/g," ").trim(),Ui=(e,t)=>e.length<=t?e:`${e.slice(0,t-1)}…`;var la=()=>({groups:Fi,flow:kc,notes:wc,globalOptions:Ct}),Hi=(e)=>`${e.name}${e.args===void 0?"":` ${e.args}`}`,ca=(e,t,r)=>{let n=e.split(/\s+/),a=[],i="";for(let s of n)if(i==="")i=s;else if(`${i} ${s}`.length+r.length<=t)i=`${i} ${s}`;else a.push(r+i),i=s;if(i!=="")a.push(r+i);return a},ua=(e)=>{let t=[];for(let r of e.groups){if(t.push(r.title),r.summary!==void 0)t.push(...ca(r.summary,96," "),"");t.push(...Ce(r.commands.map((n)=>({name:Hi(n),text:n.alias===void 0?n.summary:`${n.summary} (alias: ${n.alias})`})))),t.push("")}t.push("FLOW"),t.push(...Ce(e.flow.map((r)=>({name:r.command,text:r.summary})))),t.push(""),t.push(da(e.globalOptions),""),t.push("HOW THIS TOOL BEHAVES");for(let r of e.notes)t.push(` ${r.title}`),t.push(...ca(r.body,96," ")),t.push("");return t.push("Flags and examples for one command: i-plane <command> --help"),t.join(`
90
- `)},da=(e=Ct)=>["GLOBAL OPTIONS",...Ce(e.map((t)=>({name:`${t.flag}${t.value===void 0?"":` ${t.value}`}`,text:t.summary})))].join(`
91
- `),$i=(e,t=!0)=>{let{command:r}=e,n=[`i-plane ${Hi(r)}`,"",...ca(r.summary,96," ")];if(r.alias!==void 0)n.push("",` alias: ${r.alias}`);let a=(r.options??[]).filter((i)=>i.flag!=="--json");if(a.length>0)n.push("","OPTIONS"),n.push(...Ce(a.map((i)=>({name:i.value===void 0?i.flag:`${i.flag} ${i.value}`,text:`${i.required===!0?"Required. ":""}${i.summary}`}))));if(r.notes!==void 0&&r.notes.length>0){n.push("","USAGE NOTES");for(let i of r.notes)n.push(...ca(i,96," "),"");if(n[n.length-1]==="")n.pop()}if(r.examples!==void 0&&r.examples.length>0){n.push("","EXAMPLES");for(let i of r.examples)n.push(` ${i}`)}if(r.next!==void 0&&r.next.length>0){n.push("","USUALLY NEXT");for(let i of r.next)n.push(` ${i}`)}if(t)n.push("",da(e.globalOptions));return n.join(`
92
- `)},Nc=(e,t)=>{let r=[t,"",` i-plane ${Hi(e)}`];if(e.examples!==void 0&&e.examples.length>0){r.push("");for(let a of e.examples)r.push(` ${a}`)}let n=(e.options??[]).filter((a)=>a.flag!=="--json"&&a.value!==void 0);if(n.length>0)r.push(""," flags:"),r.push(...Ce(n.map((a)=>({name:`${a.flag} ${a.value}`,text:`${a.required===!0?"Required. ":""}${a.summary}`}))," "));return r.push("",` full help: i-plane ${e.name} --help`),r.join(`
93
- `)};import{readFileSync as qp}from"node:fs";import{homedir as jp}from"node:os";import{join as Bp}from"node:path";var Lc=Bp(jp(),".config","plane","credentials"),Ic=(e)=>{let t=new Map,r;try{r=qp(e,"utf8")}catch{return t}for(let n of r.split(`
94
- `)){let a=n.trim();if(a===""||a.startsWith("#"))continue;let i=a.indexOf("=");if(i<=0)continue;let s=a.slice(0,i).trim(),o=a.slice(i+1).trim();if(o.startsWith('"')&&o.endsWith('"')||o.startsWith("'")&&o.endsWith("'"))o=o.slice(1,-1);t.set(s,o)}return t},fa=(e,t,r,n)=>{if(e!==void 0&&e!=="")return{value:e,origin:"flag"};for(let a of t){let i=process.env[a];if(i!==void 0&&i!=="")return{value:i,origin:"env"}}for(let a of r){let i=n.get(a);if(i!==void 0&&i!=="")return{value:i,origin:"file"}}return},Up=(e,t,r)=>{let n=e.replace(/\/+$/,""),a;try{a=new URL(n)}catch{throw new N(`The url is not a valid address: ${n}
95
- it came from ${t==="file"?r:t}
96
- expected something like https://plane.example.com`)}if(a.protocol!=="http:"&&a.protocol!=="https:")throw new N(`The url must be http or https, got ${a.protocol} in ${n}`);return n},zi=(e,t,r,n)=>new N(`No ${e}. Set it one of three ways, highest wins:
97
- --${e} <value>
98
- ${t}=<value> in the environment
99
- ${r}=<value> in ${n}`),Oc=(e)=>{let t=e.configPath??process.env.PLANE_CONFIG??Lc,r=Ic(t);return fa(e.token,["PLANE_API_KEY","PLANE_TOKEN"],["PLANE_API_KEY"],r)?.value},Fc=(e)=>{let t=e.configPath??process.env.PLANE_CONFIG??Lc,r=Ic(t),n=fa(e.url,["PLANE_URL","PLANE_BASE_URL"],["PLANE_URL","PLANE_BASE_URL"],r),a=fa(e.token,["PLANE_API_KEY","PLANE_TOKEN"],["PLANE_API_KEY"],r),i=fa(e.workspace,["PLANE_WORKSPACE","PLANE_WORKSPACE_SLUG"],["PLANE_WORKSPACE","PLANE_WORKSPACE_SLUG"],r);if(n===void 0)throw zi("url","PLANE_URL","PLANE_URL",t);if(a===void 0)throw zi("token","PLANE_API_KEY","PLANE_API_KEY",t);if(i===void 0)throw zi("workspace","PLANE_WORKSPACE","PLANE_WORKSPACE",t);return{url:{value:Up(n.value,n.origin,t),origin:n.origin},token:a,workspace:i,configPath:t}},Mc=(e)=>e.length<=10?"***":`${e.slice(0,6)}…${e.slice(-4)}`;var Hp=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,$p=/^([A-Za-z][A-Za-z0-9]*)-(\d+)$/,tr=(e)=>Hp.test(e),Kr=(e,t="id,name,identifier")=>e.listAll("projects/",{query:{fields:t,per_page:100}}),fe=async(e,t,r="id,name,identifier")=>{if(tr(t))return e.request(`projects/${t}/`,{query:{fields:r}});let n=await Kr(e,r),a=t.toLowerCase(),i=n.filter((f)=>f.identifier.toLowerCase()===a);if(i.length===1&&i[0]!==void 0)return i[0];let s=n.filter((f)=>f.name.toLowerCase()===a);if(s.length===1&&s[0]!==void 0)return s[0];let o=n.filter((f)=>f.name.toLowerCase().startsWith(a));if(o.length===1&&o[0]!==void 0)return o[0];if(o.length>1){let f=o.map((p)=>`${p.identifier} (${p.name})`).join(", ");throw new N(`"${t}" matches several projects: ${f}`)}let u=n.map((f)=>f.identifier).join(", ");throw new N(`No project matches "${t}". Known: ${u||"none"}`)},$e=async(e,t,r,n="id,name,sequence_id,state,priority,project,assignees,target_date,parent,labels")=>{if($p.exec(t)!==null){let o=await e.request(`issues/${t.toUpperCase()}/`,{query:{fields:n}});return{issue:o,projectId:o.project}}if(!tr(t))throw new N(`"${t}" is neither a readable identifier like CLOUD-8 nor a uuid.`);if(r===void 0)throw new N("A uuid needs --project so the work item can be found.");let i=await fe(e,r);return{issue:await e.request(`projects/${i.id}/issues/${t}/`,{query:{fields:n}}),projectId:i.id}},Qe=(e,t)=>e.listAll(`projects/${t}/states/`,{query:{fields:"id,name,group,default",per_page:100}});var Pc=(e,t)=>{let r=t.toLowerCase(),n=e.find((o)=>o.name.toLowerCase()===r);if(n!==void 0)return n;let a=e.filter((o)=>o.name.toLowerCase().startsWith(r));if(a.length===1&&a[0]!==void 0)return a[0];let i=e.filter((o)=>o.group.toLowerCase()===r);if(i.length>=1&&i[0]!==void 0)return i[0];let s=e.map((o)=>`${o.name} (${o.group})`).join(", ");throw new N(`No state matches "${t}". This project has: ${s}`)},Je=(e,t,r)=>{let n=t.toLowerCase(),a=e.find((o)=>o.id===t);if(a!==void 0)return a;let i=e.filter((o)=>o.name.toLowerCase()===n),s=i.length>0?i:e.filter((o)=>o.name.toLowerCase().startsWith(n));if(s.length===1&&s[0]!==void 0)return s[0];if(s.length>1)throw new N(`Ambiguous ${r} "${t}": ${s.map((o)=>`${o.name} (${o.id})`).join(", ")}`);throw new N(`No ${r} matches "${t}".`)};var gr=["urgent","high","medium","low","none"],Vi=(e)=>{let t=gr.indexOf(e);return t===-1?gr.length:t},Zr=["backlog","unstarted","started","completed","cancelled"],br=(e)=>{let t=Zr.indexOf(e);return t===-1?Zr.length:t};var qc=async(e,t)=>{let r=await Kr(e),n=await Promise.all(r.map(async(a)=>{let i=await e.request(`projects/${a.id}/summary/`);return{identifier:a.identifier,name:a.name,counts:i.counts}}));return{workspace:t.workspace.value,url:t.url.value,projects:n}},jc=(e)=>{let t=[`WORKSPACE ${e.workspace} ${e.url}`,""];if(e.projects.length===0)t.push("no projects yet");else t.push("PROJECTS"),t.push(...Ce(e.projects.map((r)=>({name:r.identifier,text:`${r.name} — ${r.counts.issues} work items, ${r.counts.cycles} cycles, ${r.counts.modules} modules`}))));return t.push("","Next: i-plane list <PROJECT> Map: i-plane guide"),t.join(`
100
- `)},Bc=(e)=>e.length===0?"no projects":Ce(e.map((t)=>({name:t.identifier,text:ge(t.name)})),"").join(`
101
- `),Uc=async(e,t)=>{let r=t.positionals[0]??I(t,"project");if(r===void 0)throw new N("Which project?");let n=await fe(e,r);return[...await Qe(e,n.id)].sort((i,s)=>br(i.group)-br(s.group))},Hc=(e)=>Ce(e.map((t)=>({name:t.name,text:t.group+(t.default===!0?" (default)":"")})),"").join(`
102
- `),$c=async(e,t)=>{let r=t.positionals[0]??I(t,"project");if(r===void 0)throw new N("Which project?");let n=await fe(e,r);return e.listAll(`projects/${n.id}/labels/`,{query:{fields:"id,name,color",per_page:100}})},zc=(e)=>e.length===0?"no labels":e.map((t)=>t.name).join(`
103
- `),Vc=(e)=>e.listAll("members-lite/",{query:{per_page:100}}),Wc=(e)=>e.length===0?"no members":Ce(e.map((t)=>({name:t.display_name??t.id,text:t.email??""})),"").join(`
104
- `),Gc=(e)=>({url:{value:e.url.value,origin:e.url.origin},workspace:{value:e.workspace.value,origin:e.workspace.origin},token:{value:Mc(e.token.value),origin:e.token.origin},configPath:e.configPath}),Jc=(e)=>Ce([{name:"url",text:`${e.url.value} (${e.url.origin})`},{name:"workspace",text:`${e.workspace.value} (${e.workspace.origin})`},{name:"token",text:`${e.token.value} (${e.token.origin})`},{name:"file",text:e.configPath}],"").join(`
105
- `),Yc=(e)=>e.request("/api/v1/users/me/"),Xc=(e)=>Ce([{name:"name",text:e.display_name??"?"},{name:"email",text:e.email??"?"},{name:"id",text:e.id}],"").join(`
106
- `);var Wi={};mc(Wi,{decode:()=>Qr,encode:()=>Ut,format:()=>_r,parse:()=>en});var Kc={};function zp(e){let t=Kc[e];if(t)return t;t=Kc[e]=[];for(let r=0;r<128;r++){let n=String.fromCharCode(r);t.push(n)}for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function ha(e,t){if(typeof t!=="string")t=ha.defaultChars;let r=zp(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let a="";for(let i=0,s=n.length;i<s;i+=3){let o=parseInt(n.slice(i+1,i+3),16);if(o<128){a+=r[o];continue}if((o&224)===192&&i+3<s){let u=parseInt(n.slice(i+4,i+6),16);if((u&192)===128){let f=o<<6&1984|u&63;if(f<128)a+="��";else a+=String.fromCharCode(f);i+=3;continue}}if((o&240)===224&&i+6<s){let u=parseInt(n.slice(i+4,i+6),16),f=parseInt(n.slice(i+7,i+9),16);if((u&192)===128&&(f&192)===128){let p=o<<12&61440|u<<6&4032|f&63;if(p<2048||p>=55296&&p<=57343)a+="���";else a+=String.fromCharCode(p);i+=6;continue}}if((o&248)===240&&i+9<s){let u=parseInt(n.slice(i+4,i+6),16),f=parseInt(n.slice(i+7,i+9),16),p=parseInt(n.slice(i+10,i+12),16);if((u&192)===128&&(f&192)===128&&(p&192)===128){let x=o<<18&1835008|u<<12&258048|f<<6&4032|p&63;if(x<65536||x>1114111)a+="����";else x-=65536,a+=String.fromCharCode(55296+(x>>10),56320+(x&1023));i+=9;continue}}a+="�"}return a})}ha.defaultChars=";/?:@&=+$,#";ha.componentChars="";var Qr=ha;var Zc={};function Vp(e){let t=Zc[e];if(t)return t;t=Zc[e]=[];for(let r=0;r<128;r++){let n=String.fromCharCode(r);if(/^[0-9a-z]$/i.test(n))t.push(n);else t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}function pa(e,t,r){if(typeof t!=="string")r=t,t=pa.defaultChars;if(typeof r>"u")r=!0;let n=Vp(t),a="";for(let i=0,s=e.length;i<s;i++){let o=e.charCodeAt(i);if(r&&o===37&&i+2<s){if(/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){a+=e.slice(i,i+3),i+=2;continue}}if(o<128){a+=n[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&i+1<s){let u=e.charCodeAt(i+1);if(u>=56320&&u<=57343){a+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}a+="%EF%BF%BD";continue}a+=encodeURIComponent(e[i])}return a}pa.defaultChars=";/?:@&=+$,-_.!~*'()#";pa.componentChars="-_.!~*'()";var Ut=pa;function _r(e){let t="";if(t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1)t+="["+e.hostname+"]";else t+=e.hostname||"";return t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ma(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Wp=/^([a-z0-9.+-]+:)/i,Gp=/:[0-9]*$/,Jp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yp=["<",">",'"',"`"," ","\r",`
107
- `,"\t"],Xp=["{","}","|","\\","^","`"].concat(Yp),Kp=["'"].concat(Xp),Qc=["%","/","?",";","#"].concat(Kp),el=["/","?","#"],Zp=255,tl=/^[+a-z0-9A-Z_-]{0,63}$/,Qp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,rl={javascript:!0,"javascript:":!0},nl={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function em(e,t){if(e&&e instanceof ma)return e;let r=new ma;return r.parse(e,t),r}ma.prototype.parse=function(e,t){let r,n,a,i=e;if(i=i.trim(),!t&&e.split("#").length===1){let f=Jp.exec(i);if(f){if(this.pathname=f[1],f[2])this.search=f[2];return this}}let s=Wp.exec(i);if(s)s=s[0],r=s.toLowerCase(),this.protocol=s,i=i.substr(s.length);if(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/)){if(a=i.substr(0,2)==="//",a&&!(s&&rl[s]))i=i.substr(2),this.slashes=!0}if(!rl[s]&&(a||s&&!nl[s])){let f=-1;for(let g=0;g<el.length;g++)if(n=i.indexOf(el[g]),n!==-1&&(f===-1||n<f))f=n;let p,x;if(f===-1)x=i.lastIndexOf("@");else x=i.lastIndexOf("@",f);if(x!==-1)p=i.slice(0,x),i=i.slice(x+1),this.auth=p;f=-1;for(let g=0;g<Qc.length;g++)if(n=i.indexOf(Qc[g]),n!==-1&&(f===-1||n<f))f=n;if(f===-1)f=i.length;if(i[f-1]===":")f--;let v=i.slice(0,f);i=i.slice(f),this.parseHost(v),this.hostname=this.hostname||"";let d=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!d){let g=this.hostname.split(/\./);for(let A=0,E=g.length;A<E;A++){let L=g[A];if(!L)continue;if(!L.match(tl)){let C="";for(let T=0,w=L.length;T<w;T++)if(L.charCodeAt(T)>127)C+="x";else C+=L[T];if(!C.match(tl)){let T=g.slice(0,A),w=g.slice(A+1),k=L.match(Qp);if(k)T.push(k[1]),w.unshift(k[2]);if(w.length)i=w.join(".")+i;this.hostname=T.join(".");break}}}}if(this.hostname.length>Zp)this.hostname="";if(d)this.hostname=this.hostname.substr(1,this.hostname.length-2)}let o=i.indexOf("#");if(o!==-1)this.hash=i.substr(o),i=i.slice(0,o);let u=i.indexOf("?");if(u!==-1)this.search=i.substr(u),i=i.slice(0,u);if(i)this.pathname=i;if(nl[r]&&this.hostname&&!this.pathname)this.pathname="";return this};ma.prototype.parseHost=function(e){let t=Gp.exec(e);if(t){if(t=t[0],t!==":")this.port=t.substr(1);e=e.substr(0,e.length-t.length)}if(e)this.hostname=e};var en=em;var Ki={};mc(Ki,{Any:()=>Gi,Cc:()=>Ji,Cf:()=>tm,P:()=>tn,S:()=>Yi,Z:()=>Xi});var Gi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ji=/[\0-\x1F\x7F-\x9F]/,tm=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,tn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,Yi=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,Xi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var rm=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function nm(e){return e===0||e>=55296&&e<=57343||e>1114111}function al(e){if(nm(e))return 65533;if(e>=128&&e<=159)return rm[e-128]||e;return e}function il(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(al(e))}var nt=(()=>{let e=new Uint8Array(127),t=0;for(let r=33;r<=126;r++)if(r!==34&&r!==36&&r!==92)e[r]=t++;return e})();function sl(e,t,r,n,a,i){let o=e.length,u=i*90,f=0,p=()=>{let V=nt[e.charCodeAt(f++)];return V<i?V:V*91-u+nt[e.charCodeAt(f++)]},x=r-n,v=r+a,d=new Int32Array(v);d.fill(-1,n,i),d.fill(-1,i+x,v);let g=new Int32Array(v),A=new Int32Array(v);function E(V,de){let _=0,ae=de,me=de+V;while(ae<me){let m=nt[e.charCodeAt(f++)];if(m<89)_+=m,d[ae++]=_;else if(m===89){let j=nt[e.charCodeAt(f++)]+2;while(j--)d[ae++]=++_}else{let j=nt[e.charCodeAt(f++)];_+=89+(j<90?j*91+nt[e.charCodeAt(f++)]:nt[e.charCodeAt(f++)]*8281+nt[e.charCodeAt(f++)]*91+nt[e.charCodeAt(f++)]),d[ae++]=_}}}E(n,0),E(x,i);let L=new Int32Array(a*2),C=0,T=0;function w(V,de){for(let _=0;_<V;_++){let ae=de+_,me=p(),m=p();L[T*2]=me,L[T*2+1]=m,T+=1,g[ae]=C;let j=(d[me]<0?A[me]:1)+(d[m]<0?A[m]:1);A[ae]=j,C+=j}}w(a-i+n,i+x),w(i-n,n);let k=new Uint16Array(C),q=0;for(let V=0;V<T;V++)for(let de=0;de<2;de++){let _=L[V*2+de],ae=d[_];if(ae<0){let me=g[_],m=me+A[_];while(me<m)k[q++]=k[me++]}else k[q++]=ae}let Q=new Uint16Array(t),ue=0;while(f<o){let V=nt[e.charCodeAt(f++)];if(V>=i)V=V*91-u+nt[e.charCodeAt(f++)];let de=d[V];if(de<0){let _=g[V],ae=_+A[V];while(_<ae)Q[ue++]=k[_++]}else Q[ue++]=de}return Q}var ol=sl("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B%##%,%#~#_%#0%~#]732~,w~2+#:&#%&'0%&>%}#>##F+)#%&&#(+_}4&}-%}(&}@&}O7Fdf0@+/v4}&WU##&/0#&'('B#%}.%}'+#%}#%%&#&%#%##+#&#)#6#'#.},%}c%},%#%##%&#&%#&~#>'*-.%##%##%}#%%}%'~#)D1}#%*&~#_%%'(~#S2%'.}#~#=##*'*-%}&'%'##&&~'E%.#&~#M4}%%##&'%#~#O1##%&#'+~#<B%##%%'%+~#;#@%}#&%#&&%#(~#H1}'%'##&&~#?A}&'~#D#%32}'&&&&~#[}'(#%}'~#;C})&}%%#%~#=&%,3}%'(#%%~#^'#&&)#%'~#Y%-~#d-%'~#^%%&#&&&}#~#b~2t*&'~&(~&@~0%~e~3}%*''0})&}+~!9##-}#%-hD*)1fC#%/&/fB#40~!+#)*4~!+~!K'&:~!/*7~!.#~!H~!L':~%x&~!H#~!*~%1~!I#~!+A~#p'~!F~~#-#~,,(~.Z~!V~%;'B'mq-W~!N~%I%#&&#&}#%},%%}'%}+X#%}#&}(%}'%}<%}#%}%%'}'%}:~![)9@~%>~#UA%-%##&~!C%~!-.9:~!1~!-^2/:a~!y,D*J#-5)/4~%23,~#G~!L1~!0X3`~!2+~!!0-~&E~!W~!o,>Y&]~%cZx_&~#O*9#A#'#+I'%#)~!0B*-5A+-((F&*M#)(-7-5+'-3a5Vi~!Y~!?+[)%3),ERHm~!+:D,VG.+)?fB%%*(%)'(#&80%1'8`K8?`+'Z#&O&'H5#*9)A%%5&3))0%39+.*7#()&&*=4@**L)<'_&*+..;(#*+)./&0#3)%')-8(4ixD(&.}%,('aI:,)%,k2231T)I'#/-W7,/'Q#.'Y24+h')37</31&83##&0#),H(?'&?/1##%#&&#%''-%&&&#(&''&#.-'%#%%(,')*'&#&#'##%(%(#%('#&##%%%%('%#%#%%#%#&%##h>w+v<ayvyvcg.uuhKr}g/v|g>u9i[~>g5uI~=RvdwEg;v/g;uk!!TTSx]@RT!U!#!@VBRUU!'UTe-d0c`e&gSdicedFcrdTaqb.kYcAohdYd@a3e+d}dMdtd.aJ#bqcK`dle/e.e'dwdPdodddjbEb}ogd^ofdpduc6j?l%d{drdqc)d7bacOdQ%T#Y)X.sR[yH>6Vyv3[xwLu>vo'!*.[yBacahoj>6Rew3[xqdZa#!a&#^(X-[yG>6Vyu3[xvg3sEr|g.u/Ri9db0T#^(Xa)!-[y;>6Vylg4wKs{JwNZt3@3r=c4Z([xlg;wKt!cpq's@v7A'*a(a+!-a#[y<3Dt?3Dt'>6Vym3[xmg9rxsNJwLZt4~?r?db1T#`-!(Xa,!0[yS>6Vz%NuQs.g4wKtnJwNZtS@3r>c4Z([y%g;wKtrdga8!a(!#&T*Y-Xa#!a0<or[yc3Dtq>6Vz43[y3JwNZtf@3s!Ju}!%Dti:pm3c_%X#tjB5pkd6q!r]u?voC'*-a.a2!0a&a+[yI3DtI3Ds~3DtH>6Vyw3[xx;:s#~<5pKJwNZtE@3r~d`a)!a2T#a.(!+U.X1[yT3Dt`3Dtv>6Vz&3[y&g9rxwzcxstPu.<rAJwLZtT~?r@dZa%!a.&^*Za(/Reu[ya>6Vz23[y1g3sEr}wkg{NuQRg{ci(U#5@b`~,cg#U(2WnH5wugcRh7dX#T(Y,a'Ta!!a,[yZ<]mj>6Vz,3[y+Pv#5ReZKu+=,%!H}7ABwkaS?Rh:BcW(X#<]mrj:ubv/ARekdg%!(!a.*Ta(Y.X1!#sP>Rl*Dt6[y>>6Vyo3Wf*jOvuumvuRgRJuq*!:9<B@bX~3jVv&v@s@5Re[d/rQt{uAvo&a&a*)a2!,0Wf!3Dt0=Bs'>6Re}3[xy~<5s%JwJZt1~Gs)c;&!#2sJkNuXvzq7rxu,Re8dka4!a8(aEZ+a@Y.X1Xa)[yd=Bs(3DtP>6Vz53[y4cX#X&Re:avRe9~<5s&JwJZtQ~Gs*i^rzvdRg+Jv{%!2sbB@bX}kdga,!Za?&^*T1/!a'Dt+[y6>6Vyf3Wf%g/u;s4hGu6?Rh-JvZ,!c%#&RoX54Rivj7uyvf8RgTKvZB%*!2sGh<vu5Rgq<=C::9bb~#dZ#T&Ta6Y.X*Dt>[y93Wf)coZ(T,6VyifluvRgC@95@B@bX~/hFu34cC#T,k/unq8w8Q5RkUklwQuzunq8w8Q5Rk8d/rJu?v8w9)-&!a0a;a&aIWejg3sEr/h1s<DtDJvyZqY5aws3Jvy!&Wei~Hr1:au5@Bag>23E~5c:Z&bX};kKv?w&unuVu5Rjc;>bs)#~@:Rh.=ay<a]C;b`}Vd6s/t{uAvoaxa()!a,a7%-a#a2Dt,[yF2Wo[>6Vyt3[xuNuPRi&NuPwpi#RoWh?vf8Ri%Jv]!%Ri:KvxD!.'2WeAjZu`q9rxu,Re7woeAg-unLq(qA_/*2Wg_g3u5q^9:4E}/jTrxrzv=Wkkd~0UX#^^Xa-a1a5T&a=U1a'*aEa]!a*aPaA-adok[y54Rn>;:p3~Dp5g9rpsFNvZqjg3uJp4~<5p0Pw;5qlJwNZt*@3p1Pw:5p/Ou!5p2JvG'!6Vye=<qnJvh_[xhg3v,Rh3kOwOw-sDuev/Re^dha[a%!%!a+#Ta7)-5TaCaO!aka!a)sf[yb2>Rl!9ARiq5E}Qg=ucRkBE|oJrJ_@Wk~@Wk{JrJ_@Wk|@WkyJrJ_@Wk}@WkzJvO_[y2g-vMRmiKuYC!)&>Ri;>Ri<@3RkNc](X#@9Rk=g5vuRmhKvDB!+'=]meg3u4Rmgd)#Y'Vz3CARmfd`a+!%T'!+#Ta1Ta6TaM-sTDt9[yA9sYd'%Y#s[[xpj:ueunaXRgEjRq,v-vuqdd2'`#6Rev<32@5>:2<E}5xIo9a*X#Y(;5RePJvD_g>vyRgNj8w)v8<wggs:RgXiZt|vjx,hSq3ah!-(~@:Ro/Ou!5RhWj^v(pyw8unRhUdx-UY#^Ua.a3a70!)%UX1TaDa)'omRiRRhE[y:3Dsz=Br,>6Vyj3[xkg6ruwjcqsrPw;5r*Ku]D'Zt-@3r(~?r.i[vwv]dU1a--U#`a4(g/vsRhPOu!5RhLj:rmu9Wo!~@:wdh@g/vsRiTjXuvvNr}:RhBj^v(pyw8unRn]dz1UYa'a+^Y(!aETZalaRY.Ta?a4[yDJw1!#qLsW>6Vyrfzq-pLflpwRe|Js>%!Dt@3Dt&Jvy_[xs~HrnjMuwpsw'RecKu+D#'!t<~Grl~?rjg5u-x,gwp{ah!-(~@:Rg~Ou!5Rh'jXuvvNr}:Rh#cW#X/c;&!#2sLi[v7u7RgpJv)(!iLrxu,Re6j7v@s@5Se[e7d`aW!Za(a`T.a#!a3!&aDa-!9)Dt_=6s+3[x~~DR|h~DS6avhGun5RkZj3w)v-]mkKunB!&*]kb97R|i<ARk<c:Z(6Vy}Juh'!wziMRoS:F|vkLuauJv5vtvQRh1d='T+Y#VyO~DR|jcF#T'7R|g97R|kJv3'!ay<Rj,Jvh&!:ReXcsa6*a+#a#_aIRf9aLRf?c,Z&Rf5Rf7c.Z&Rf;Rf>cQ#%T'p-Rf8Rf=ct#%'(*!,p,Rf4p+Rf6Rf:Rf<d~'Ua%U*^UYa(!a,-!#a4YaTalaEX0a8a<Weo3Dt/3Dsx=Br93Wen~Dr;~<5p<JwNZt2@3p=Pw:5p;Ou!5r3c7&!#:p>3Ds}KvGB)_6Vyk2sM=<r7x'eovA(!hFu1ARf}cV#X&@r5j6rvwQa^Rf3c=Za'wkghJv__g;unRggA53B9=b^}%j6uduo5Jq;!(hIv%2Re`Ou4ARe_e%a#^^^Xa&!a*a2!&a6YaP!*ad!#a:aE/5Rn?[y@>6Vyp;:pE~DrY~<5pBJwNZt8@3pCh=rt3rWPw:5pAJup_[xoNuPpF9c!#'45pD5ARn)d8#X'X*3@rU72s]h>v<<sSjJpqvewOJq/(!hNw'5ReBk0s2u3w/w'5ReE5@Jq.!a+JQ!&WeU23d(#Y&RjG5]jBk!u7w&u0udARjEe#+^^^Ub#!a2/a`Z(agT1!a-a;|@TaG!aS[yV=Re~fow'RguNuPRe?bz#'>RoUWeL>:Cbb|?JwPZtVg6ruRmzJvD'!6Vz(g/vmRh~Jvy_[y(g9voRgyx*cy(#2>Ri2B9b]~9kIw9u7rluJu3Rg]dI#a%UY'@=p%CAx.gQZ&RhwwygtRm{x5g_Z'+ABqR9Woa=Bp&dV#^*Xa'!&@o{g4v]Rk;Jv{!%Rk[wkkiA5RkiwwfUB=x,fUuqC&*!>RfTg8v0RfV~ARfSd;rJsAuAv9wR'ae+/aO!a@aza/a#[yQ@Wg!2Wemg3sEr0JvB_g>uvReWg2v+Re=KupB_+[y!2AbY~-~Hr2AJwD!(h<~El>h<~El?Kun@+_:9b`}Kg-v/Ri3g;vtwyk_9]k_d=&T#*U.6qh@Ab`|K9:H|CJv[!&3Dtex'fDwC%!Rf[9WlMd[(^X,!a%Z06Vz!@WgBg=v~Rgvg,QRe@awd,#Y+jTv|Q~EfWj]uNr|~FRfXdy#Y&^Ua%!aO.!(a)Ua;=!a@aKap!a-,a!Ta]a[rSa]p?[y82sK=Bq~;:p:~<5p8Pw:5p7d'#Y'Wf(;RnRi[u4w&RgJJvG'!6Vyh=<r#ijuuv/sIKuYD'ZtG@3p9~Gr&d2#`(g<vtRgFj`u5w&rqpxRf2CJuY!+:wfnTOu!5Rg}jNs1ucv&RfwJvA!&3@q|BDcC#T,k/unq8w8Q5RkTklwQuzunq8w8Q5Rk9dga#!a'!a=#a0!:+Tb*b@aO.a4!aba8aFJv^}?!VyR~Dr<g;u%Rn.~<5p[x'e`wNZtR@3p]Pw:5pZhNvjBp.woe_g5u-r4JwF!%DtO3:ooc7&!#:p^3DtpLuGw(!+%)Dtk6Vz#2sd=<r8d'#Y([y#<x3gJt`w@!)%}MRiowzikRij=]ilxAf3,U(#B2Rf#g0v-Rm[ck{`U#]giKv3>)!&6Ri154s,KuGB_%@r68r:dJ|t`#X(9<E|u2@H|rx3gJu?w'!+'1Nu7Reg4=H~+9<wxgY95Rm]xLggZ-`(X}U2:Ri4h<uOawRmsJv__5@bb{jbV~3dka#a'a]!,#a+U=a>b6a3b%!/aKa/)!arwve^VyJ;:pR~DpTg3uJpS~<5pOPw;5qmPw:5pNOu!5pQJvG'!6Vyx=<qoJvA!{~Jup!%@qk7Rn/KvyD!}''[xz;>wkh'?Rh,x8gyt`w5D!&),(SgyccRgztJ@3pPB5p#d'(Y#<]mmifubw&RgoJvE&!82s^JvF&!8Rf,ADb]~;x=h'rNu]vK!,%'*0RnORh)4Rh*AqQg-vaRnNg;wHwkh'ba~4cE#Ta*x3gctyw@'!+%RnFRnD<4Rn@hFvK5RnCxWg[#`&a0Ua()`1Rm75Rg[c]%X#qi8Rg^NvdRj>BwzgZauwji7Rm6A4wgg]d1#&(*,.0a#Rm;Rm<Rm=Rm>Rm?Rm@RmARmBe%#^^^Xaea?aC/b+(,!a+a#!a/!>a&Ta<aKbD!2wphBRnk[yPw}hE|.=Br-3Dtm>6Vy~g6urRf.x,hPrNav!%'RnqRo%Ro#Nu;q[Pw;5r+JwNZtM@3r)d'#Y'Weh;xChL#`&RnmRnoKu}>%(!Rne~Bs-;2wjcussJv+'!aYSO}6@B<5?ba~8LrNvj!.%*ROwungw~ng~:9;Ri^>wtnig;wHRnixDh@|(UZ.x1h@|)!#:2<H|*xHn]#-UX'3Ro)z=iT}6ARns=Bwsn_wpnaRncw]aR(#UXa&Ua*a/=]iPd'#Y&Ro'WnXf{QRm2hNvj]nZd`'T~&1`{|`#9b]{}c:'!#Wl{>@=be}]?cl{{U#:5Abb}Jds#^YaF!a*b4a#a3aPa>&Tb!bH!*a_!Eau?/a&RjY<]gj>6Vz*;:pe~DrZg,QRj1JwNZtX@wihspcJvZ&!VyX9WmOJu|!|N2WmHJvh&!]ht~Bpbcn&T(!#RmQ<s7Nu;padH#X'`+WmJ@>RmKCARhnKup=!)&Wf+:RhqNuPpf9c!#'45pd5AwghpARn(Ls@w!%,)!RmP@Wfe<E|IJva!&WmNg8vsRmLd`*.`#Y'Xa!axRn*]hrA8Rhug5s@rXg8u!RmMd8#X'X*3@rV72smdI*#UY&RmICARho~GsgxVgd)Ta'U-Y&Xa!T#RnEWnA@Wffg1uDRi0hFvK5RnBxGnG&#`%owp)@wsf+bX}Ze-*1!a*^^^Ua|!#a.aq&Ya2!a>.a6!a:aO`aJDtL[y`@Wg#>6Vz12@wzoYRoZNuPRi!NuPRhzg=ucRi,@=b`{Yg=ucRi-ACJvB!&Sh[ebSh]ebi`wUuFRm4Jw2_[y0JvB!.<Ju(!&SoG}6Shd}6<Ju(!&SoH}6She}6Kur@._g5vHRieJvx!{L2G{Kx6gd'T#?Rh82Wi5cZ#X(g1w)Rm5dW-Y(Ta#!a)!#aYa=wnfE=su2>>bU{0j9udv:<svj8uQv-7RgHdE%#^'sq9sp=>Bb_{TJv`!&g/r|snj6v(us5d,#Y(56H}[978H}]Jw5!&g1rushJvB!+j;v{u5?zDhd}6}bj;v{u5?zDhe}6}ce*#`(^^^a[aea!=!a6a*aoXb1a.!aAbL!b>,b'aL!aV@Wf|2Wlg3[y/JwNZt^@3piPw:5pgJunZou3@rsJva&!Vy_g<v~Rm#JvG'!6Vz0=<r{Ju{%!:pj@WfsiXuJu3Rm:JvZ&!WfA~Bph@c4Z&Dtwax5rubx(#:awRk1@d,#Y&RfjRfid1#,Y(@Wfp2Wlrg5s@ryKu[@!,'=]ig9wlk?Rk>g5u-rqJvy'!@9RkQcH(T#=>Ri~@<wkj(Wj(KuZB*!&<7rw@9RkRcH(T#=>Ri}@<wkj)Wj)dg(Ta2Xa9X#`-!a*CARhg@@=I}d9x;c~#X%so=<sj>2@@=aybb}XjWv0Q~EfEj3vLv;<d,#Y(56H}`978H}_dgaPaFa'a/!#a3Y0a_a;a|!1(a7-[yE3[xt;:pJNvZrrg3uJrvJwNZt=@3pIh=rt3rxPw:5pGOu!5rpJvG'!6Vys=<rz@c4Z&Dt(ax5rtJvZ!&~BpH@wsfNg-vaRlNci*U#=<wei<F}a5@Jq.!a*JQ!%@qZ23d(#Y&RjH5]jCk!u7w&u0udARjFd/prq=tyvpaEa(a:.!a1aZ(@@=I}:9wpd%=<sX55w_h}@@=I{t=ay<aU@@=I}T=ay<2@@=I})?C9:9au@9Cb]}DP~=x-fAZ(2Wl1=ay<aU@@=I}>5@d##Y+jTv|vV~EfFj]uNpn~FRfGdgaK!Z2&!a8a-Tb({E!acTbM*!a(DtY[yYd'%Y#sl[y*hHvh>Re5x2c{Z}.j4uCvcawRiMd+#X+_x&d!},<5RkX;2Hzw@x,gavfB-!{CcF&T#Roe;RodwWbBg5urRgaKvHC*_6Vz+<4opieuew&Rmq@d]&Y)X,T#X0Rh}<BqP=4qS9:ReMg/ujReNJw0!/<Jui%!bd{kawwnemRelAxUa?a3#*.&UX(Ya+a/RhvRnQ<o}9Wmtd-#Y&RgSRmw9;Rmxay=Rmyg-vaRmuxEhSrNu,v-voC!%(aR.a(a7+1Ro1>Ro5CE{A9b]{@;5x#eO{:g;urRi+KrNA!%(Ro3>Ro79;Ri_Ku@>{;&!x%gX|{KunA_+g5QRj/g3u5Rj#g>uERj%wio/xRhS&!,!#^1U}wba{8>>@=be}qC@:D5ba{7Ku+A&!}x?ba}t>>@=be}se(aA^^^Uat!b0#{pa+awUazbGa#aLb9bgaWac'a5TbS=Br!d1#`%scp_Jvl!#rT>Re0JvX&!VyN=H{Fcm#U&:pY=ReaJv2&!]h0=]nUJvG'!6Vy|=<r%JrM_=]h2@Wlud'#)U'Wf'b]{i=]h/Jvh!&~BpWg=v]RnMx+ny#'Nu;pVwjnu=]nwxJnx,T#`&Reqwjnt=]nvieu9vrRjLLuYwP(#+!th@wih5pX~Gr'g5v/Rh4KunA'!-CARnP@wwiN:Rm_9x'cvw>!|l=<saKvAA!0&3@q}>w^e1bp#&Re2Re3BDx7gH#T|f5H|eKuZ>!%(:qNAH{]Jv6!+3B2B9=b^{X<5<B92:E{ZLvhwA(a;a%!igQuyRmad+#Y}m@3Rh5d8#X'X*:AqUAHzmaxwbh<aXRnVcF}RT#Nw&cj#U(BWnug/vsRntdka)(a3+.Zb7aYYan1!bVa@Xa}[y^@b[{G=H{+hFu73Rj&Pv#5ReQcK%T#sig1v{Rj'Ku+D#'!t]~Grm~?rkKuMB!01d5#`'Vy.ta3Dtu~Hroc8#'{^45s85AwZbP&!#Rn!wghxWn#KvEA!)&2RlA2RlBx:h|#(T,=]j09Wobz>x]z/@awRoTd+#Y(az]hFhCrm4d,#Y+jTv|Q~EfMj]uNr|~FRfOdCa!Xa9_X#@<plJvf!%b`{(9;Rgwc;.!#2x7cw#T|UDb]|T5Ju={(!=@E{&Jv)&!Ab`{'awJvf!~*>>@=be{#KuY>!+&4Ezyi[ugv&RjIdea+T)#UXa&T-T&a!Rh9auRmW=]kLg5vuRn+g3u4Rn-Ow6ARn,hHus5xNk?#UX(U~)/g8v0RkD~AwkkF?Ri.OuNBwkkA?Ri/d|a2`a*^UYa.!aBTZaTa'Xa;!(!2!-a#b2[yC>6Vyq3[xr2Wi?g1rusVh%s?DtF~<5rbJs;%!DtBfswKtCj[uvuSsEu3RgVx3o:u+wN'*Zt;@3rd~Grh~?rfg8w)Lq)qE&-a%!>bI|`jWv0vV~EfCjTv|vV~Ef@j]uNpn~FRfBcK#T']gWNu7x,k7q4ai(0!hHv8<RhmkMu9vrsBuev/RhlCJvB!,g<v{wchh~@:Rhji[vrv{wchi~@:RhkdS&a5UY#Ta!RgPwwiI5BwciI~@:Rh`x'iJvj'!5]iJPu8Bwch]~@:Rhach)U#h3rp]gLh@t|Ax,hTq3ah!-(~@:Ro0Ou!5RhXj^v(pyw8unRhVd|)`,^UYas!a?/a2Z'a^Ta{Tb7Ta(a#!a,Wf&9sZ3DtAadamov=Bqt3[xig8vsRm~>waiL2b`{QJv*_Ouv2qgj<v]v2BqfdR'X*X#Y-@3qr~Gqv~?p6hHv-]glPup5Lq+q?_%*b_{qF{n9b^{rOu4ARhpKvCD!+&~Bqp:5Dbb}nwoiKl&unuTuBv]v+ueunaXRf0=Jvh!0nKufu8v1w&w7q%w&uHrz:Rgnj5w,uxDJq/(!hNw'5ReCk0s2u3w/w'5ReFd>Za&!*UaA=<wkgsRnSJv^!%Refifw3vyRgOKu_B'!,<]gkiiu:w&Rh<=C@a^<B57@2F{[<B5@aW:=3away9A5aW=<B=C@a^<B57@2F{Ie-#`(^^^bCara.b8aza6!/bZ,!adTbnTbOb+aFaS!aAT9@Wf~2Wli3Dtl2@d,#Y&RfnRfmJwJZtN~GqyJva&!VyMg<v~Rm%iXuJu3Rm9Jv[_=]ih9wlkDRkCd1#`(@Wg>2Wls3cH#T(@<Rj*=>Ri|b~'#23s9h<~El.d'#Y&Dtxi^rzvdRl#d*#U%(o|B2s`hJwSaxRmDKv4B&!1:Rmdd5#`'Vx}to~Hq{x'f1v3(!BA5ba|bJv_&!Wfug1v]ReIdO+U/Y#&G}-8wze=Rh{g1v]ReHg/uQRf/by#)ibQwERl/cH#T(@<Rj+=>Ri{cNu+vlax-!(#a0qa9<Rii2;;bU{H;x<i=&X#Rk`<4wwi=C9H~8xAI(Y#<azRi@45wXI<B9;5bb~7dL(X#Xa(+!aL6Vy{g5QqOau:5au2@ay547EzbxOcU(UX-T#Ta#:Cbb|A?wjh/b_|SOw6ARgtihr}u7Rhy<d1#T)X1@@=I|~=ay<2@@=aybb}Sj3vLv;<d,#Y(56H}A978H}@dGpvs@uAu`vcw9*!aFa+ai%(b!aXa8.a?a[ozWey=sU2@G}Nch&U#Rf_WexKu+D#'!t:~Gr`~?r^j]uNr|~FRg*j^psurwJt|RmcKv)@&!)7Rkv~Br[@wxfO:Rl3co#U'6Rezj_q#vIuavjRltwzeyh@vr5JqD0!>aY?C9:9au@9Cb]}9cl#U*5;5<H||jbuus1ucv&Rfvg1v~d/pppzqFr^a--a~!aMat1(hFv;Wiz@@=Izoj5uuv-7Rix~Cw`fk2WlVcZ#X,k)u3vWs@u2]ktg;wEx'fBq(_2Wg/jTv|vV~EfoJv]!15x'hzqG!(P~EfU~CRl_j6v(us5x4i-#T(2WmZ?C2F|d>Kq<aj1!*jTqIsBv=Wl`~Cw`fi2WlWj`v0u*~>RlR=c>Z,k#u3vWs@u2]kr<c1Z+jTqIsBv=Wla~Cw`fm2WlXdmb3!a{(arZa`bkTa%TbQTa-a9+c'!aM!/[yL=Bqug.w'RifhFvyDRj.g>vgwyk^9]k^Jv3_@WfbAARkhJw2_[x|JvB_wkoIRoKwkoJRoLd'(Y#<]gm=<9<H|yd'%_X#skDtb3awwqkgNulRkgdB#^',9:p'hJwSaxRmEBwVb8@4=H|qLu+w50&!)@3qs~?pU>Awwn;;Rn=c:Z'ARn<=<qwKvC@!/&~BqqJv6!&]eVb^z^xRge'/a%+^`#Sge}6<4Rn3=]n0Pw2>Rn8Jw0!&>Rn:>Rn6cY#a7+!a&=<wkaNw~h3z_c5Z{=wjh#=]nLKv^D!&)Vyz=bW|swYb<WetcG#T(2wxa@qVx@gD#Y&b^|V5JwG&!5bb|pg/w&RgD@x=kHs=uAvn!a%%/'+RmSRh694Ro`g-vaRmRhHv-]mlxCcS#`&ba~.5cD#Ta)P~=d,#Y(56H{>978H{Dd_#{2^Y%_+qbbb{6g3sERhsbU{?dfa.,`a(Xa<!aiX#(55RiG54RiHcI#T'WiU3RiVNvdwtfcRlKNvdd,#Y&RlHRlExQgf.1*^T'X#Sgf}6Wn4=]hfPrk>Rn7Jw0!&>Rn5>Rn9Lunw?&a2!,5<oq@@wqfdRlJj5Q~=d,#Y(~ARfcOuN]fdDKw;ay(}i!547E}j?cI#T(@5bV}iCbV}hdv(^^Tb?a40,b##Tbo!a*bR!a<b|a/!aKai!aU[yK=]o^g:v>ReGJwPZtK<7Rh+h<~El,Pv#5ReR@awwxjCg,ulRjDJv6&!]j!z?aQeeg>w=Sh<eeJw;!&axEzOg,Qosc!#*:wkeJ]eJ>x'h-u(!%Ro.w~h.zPdNZ(X,Ya![x{;9ReY;wkgxRiF:x?ap#Y&RmUg<s2Rkod]+UY0TZ'!a&A9sw<=bczLNvuw{gqzNhJwSaxRmCKuLay!#&s_Rf-55b^{uJvZa!!c%#(55Ri654wmiu5RiuawLu,vp!+}^%b_}Y9;wkgxba}o>A9:=b^}zKuh=a''!3awRk3c*'!#aHRk6c+Z&Rk5Rk4Jv)&!awRjSawd9*`#0?C2@EzMj8u<uJ5RmbjQrquJu3x,k>uq@_+=ayb^|W~ARkEOuN]k@7dhzV^X/X&a-#zRzSb`zXcJzTT#2WkVKvDBzW!%FzY9;5bbzWjQrquJu3Jw3%!b`zU=ayb^zQd:#X(T-a!6Vyywxh}=b]{Jg=u1RiAdGp~qHtzv!w(wA+a+a;<!aJaYai'anasb(=azRmV:Cbb{MLq2vb!%')RjuRjrRjtRjqx3jnqCw3!%')Rk(Rk+Rk&Rk)Lq2vb!%')Rj{RjxRjzRjwLq2vb!%')RjsRjpRjfRjex3jcqCw3!%')Rk'Rk*RjkRjl9<CbbzfOu4ARhxLq2vb!%')RjyRjvRjhRjgx=joq*uKvb!%')+-Rk.Rk%Rj~Rk-Rk#Rj}x=jdq*uKvb!%')+-Rk,Rk!Rj|RjmRjjRjidAq&qKs@uAv8Aa.'*-a@a&0!aM@a5[y73Dsy3Ds|3Dt):wxgI2sHJwJZt.~Gqxwsf0ikrzt}Rl0Jvy_[xj~HqzKv_A|D!&WfP8axRoVcf,U#k(v]v+ueunaXRf1Ju}'!g8u#Ri=jQw!sCunLprq>!,')~<5qeGzq9F{W=c##%s5au:5aU3CBE|;d4#X(D!a&6Vygx(b;#(=]ed?C2F{N<capoq2r[a&!aPa9,'Pw;5s:@@=I|,55w_h|@@=IzcP~=x'fCqB_2Wl2>aU@@=I|1OuNBc1Z+jTqIsBv=Wlc~Cw`fl2WlZ~AcTa%!Z+jTqIsBv=Wlb~Cw`fh2WlYk+uNqJsBv=WlSg,u3dca3#UXaMYa)TaB-=cM|7T#<bI}l5@B932:aV2G{BOuNBJq:|M!5Ezt=<B=C@a^<B57@2F{v>cB{/T#=ay<bI{3Jv6!a.6BKq0ah&+!5E}HP~Ef{978BaU@@=Iza<7d#.Y#978BaU@@=IzH~AJq0!(@@=IzG978BaU@@=IzFe,aU*Y&^^^bvJb,b:bFad!a,c2Ta>aL.bo6!a#CbTa'T#Re{2Wlh2@G{yg6t~Ro_NvdRfticuRQRllJv3&!x&c|zs@Jw3!%RflwpfkRlpKuL;%(!Re<@G|C2GzdhIvuBwgjAg-u0RjAKQB%!(GzZ@G|5NuuRl7d='T+Y#Vy[g<v~Rm!==G|>JvA!)@wma=]m1ifuaw&RmnLs@vT'!|/+[y,g:v>ReTJw1!#qX=x!eC{bLu+wT&)ZtZauq_~Graci&U#F|89:r_Lupvq!.)&2RlG8RfaC=x!eF{_h?rpWlmd&'!#X|&]k::xJey#`'T|+<E|&2@H|%dE#(^,g;u.RiEg6vjRiC9xCkA{O|zY#g=ucRmXKs0@!&*@G|m@awRknJuh!,3d(}gY}eJvj!%Rm):Jw3!%Rm+Rm-Ls0w(&!a(a#@b[|6cZ#X'7RkxWgAOu4ARn'dH'U#Y*Vz-Wm'CARm}d]*#a%^a*T'aK!a<9bV{PC=p*Jw4!&SgxcbB5r]idw(wBRmF7xFkt#&`(Rm/Rm8E|!JuY_9:Rl5=wrgr2:bbxd@xXfB(a*#T+!.X0X1Ta/a'T&RlDRfL>RlyARl9b[z[>RfZ:RlL:RfRwlg/ARl;9;RlxKv,A/!%7s69<74=BA5ba{-8Bde#`a<XaKYa1,a'P~=wxfB2bZ}}?C972@@=I}r8@55B9;5bb}G978B2@@=aybb}3j3vLv;<Jw3&!>Rfk=ayb^}4~Ad1#`*@@=aybb{w2@>==<bbz]dx+UY#^UaF!a9!bB'Ya1.!ajXa#%olRhD[y=3Dt#Ov5BrHKuMB%!(Rf^Wep~HrJwkiQjKr|~FRg)Ku+D#'!t5~GrF~?rDdV)UY,Z/_7RkuG{<~BrBg,rlsO:235B@bX}|d?a1!#`(6Vyn5@d##Y+jTv|vV~EfIj]uNpn~FRfH7Lq2vb1!a9-978BaU@@=Iz9978BbU}#~AJq0!(@@=Iz8978BaU@@=Iz7~AJQ|}!978BbU}!JvkaK!AdUa21-U#`a+(g/vsRn~Ou!5RPj:rmu9WhOjXuvvNr}:RhAj^v(pyw8unRn[kPr}p|u7vwv]RiSBd;pppzq@qHQa?(b.!a.a`@.|xa(hFv;Wiyj5uuv-7Riw~Cw`fg2WlU978BbU|wOuNBJqG!(P~EfD~CRlQcZ#X,k)u3vWs@u2]ksg;wEx'f@q1_2Wg.j]uNpn~FRfqJv]!15x'h{qG!(@@=IzK~CRl^j6v(us5x4i,#T(2WmY?C2F{1>Kq<aj1!*jTqIsBv=Wld~Cw`fj2Wl[j`v0u*~>RlT=c>Z,k#u3vWs@u2]kq<c1Z+jTqIsBv=Wle~Cw`fn2Wl]dn1#c(a(b^a2!b/bAT(bj!aDa7bu,a_a{c0!2T0g:v>ReD2@G{42@G{5~DpM~<5rc=Bx6i>{RT#RnI@zCx]y]z:2Jv[!zr5Awyk]9]k]dD(Y+X#6Vz.g=wKtgwhaCwgmTWj2Lu,w%_+/[y-B;b^xeg3u3Rj-2@bX{*KrJ<!+'@Wg(g?QRlC@Jv`!%b[zIwsfII}8JQ_@w|kW|=Jv(%!AqcOuNBJvEzh!bYzjLs@wP#(0!oy@>RkdJwMZtc3Dtd@BcG#T'9bWxg2@2Fznd*#Y+;2x'c}w<zizixNgwa#Z'U+!/!a'!a+w~g~z6wcn{Rn}wcnzRn|5Rh%=]nJg5vuRmvNvdRlvcprJu}w*az*a#!%.a.'Bot9qT]kj@Wg'ay2Gzv@Jv`!%b[zEwsfHI}1;ck#Ux`<Cbbx_Lu+w!a&0*!wko*wwo,So,}6Juqxf!E}PigQuyRm`d3(`#8>Rn%:A5B;bZ~%KvhCa!a2!x>k7#Uxb@b{#xaRk7Jw0!)>wwhlShl}6>wwhmShm}6CJvB!.x'hhvj{!!5Bwkhhbaz}x'hivjz~!5Bwkhibaz|xEhTrNu,v-vpD!a%&/)a3a.,%Ro2t[CE{)@3re9b]{%wjo09:rgc:Z&Ro6=<riifuaw&RmoKrNA!%(Ro4>Ro89;Ri`dSaL'UYzxZb)7Rka3xRhT&!,!#^1U}vbaz{>>@=be}yC@:D5bazzKu+A&!}{?ba}y>>@=be}wxBh[t`u~vJvr!%a!a()a,a0a4RoC=]o;Ju(!%RoGRhdwjh`=]oAg>w#Ro?g5vuRo=NvdRl|Ku]C.!&;RoEJvB!%RoORoMBx'h[v+_?w~h`}~5?w~hd~!xKh]oiptu-utv.vp!#%&a30a@a'a+(a/aOp(o~p!RoDJu(!%RoHRhewjha=]oBNvdRl}g>w#Ro@g5vuRo>c[#X']o<CauRoRAd-#Y':RkpauRoQKu]C.!&;RoFJvB!%RoNRoPBx'h]v+_?w~ha}t5?w~he}ue!/UbhYacXaW^Tc&a;b:a-c/#b&aja1(!cL+!bKbt!bmcRc9aIc?8[yW3Dtt94Rg`Jv}!&SiRMzBhEebShEMNuPRe>x7gL#TzuwjirRipc<Z&>on;>z=h-MSh.Mwqczx'a7vj&!>Re4@=ResJt__NuPRi*NuPRi)j]uNr|~FRfzKrJ>_+@Wfy@Wf]2WocKrJ<!+'@Wg%g/QRl@@Jv`!&awRl<wsfFIzgLu(w*!.*&ShBMwvhIRhI9;RhNx1hK'!#Sn]Mx1hK~0!#:2<H~7cNu+w7D*'1ZtW>Rn1~?rOc:Z&Rn2=<rQ<7wjh&=BSnLMc]#X(6Vz)w[b=a!U#9wzgMc3#&(RgMRitRis<x,gKt`ax!&+SioM=BSilMc3#&(RgKRinRimKurB,!&SiQMzBhDebShDM6BJQ!(P~Efx978B2@@=I}WLrJw!!,a*&@G}O@9wkibRid@@x'fKwC!&SlDMSfLMjUv~Q~EfKKv3@a+!(hFv-]mpx/hYZ(C5RiWz<o/MwkhY?So/M@x,gbvfB*&!SgEM:SoeeehFu3:Rgbda(,^TZa)X/7Sg[eb:2RgI~BrMC@wgkc:wwkcRerx3h(uUvK!&*,SnOM4Sh*MArRg;wHRh(x=h;rJvPwI!a4',a'0@Wg&=BSh/Mg>w=Rh=g3w*wwgGRgGcW(X#;Sg}M2Gzk@Jv`!&awRl=wsfGIz`dKZ*T'Y-:RhR7RhQg5u-p`j6v(us5d,#Y+~Awkia?RicOuNBwkibba}Ld6p~tyu_vbAa'a+!a/'a3aEa8a!>Sh,ebJv{!&Sh@ebSaReb9;SgwebNuPRi(NvdRl)NuPRi'hHu^<Rm^Jvv_@Wl(g;u1Si/ebKu'B&!*Sh?eb@Wl'z@aPeb95Si.ebcpputyvjB)!,&a+0a%ShAMWeK@G}C@WfJ9;RhMwvhH9w{ia}ix,hJvRA1(!zAn[MRhHx1hJ~*!#hFv(BSn[MBJQ!(@@=I~'978B2@@=I}2db.Ua<'X}+T#a0XaG2G}E;wkg|wuh!Rh!x,hZu,@)!&So0MVy)C5RiXACJvB!&5RiY5RiZg8w)cG}*T#2@bU}=KsA>(!a.3wkhZba~(x,h^u(A!&(SoCMRhb5Bz=h[eb?w~hb~6x,h_u(A!&(SoDMRhc5Bz=h]eb?w~hc~6e)aA1T#T,^^^c-bMb&blcPaP(a/!0!bA=b5c@a(!bfbrc#2afwmhARnjwchORnp2Wlf3DtsNvdRl-2@wpa<]m0bx(#:awRk2@Jw3!%RfhwpfgRlnKQB%!(G{V@G|'NuuRl6d='T+Y#VyUg<v~Rl~==G|<Jv+'!aYShC}6@B<5?ba~8@Jw3'!g2QRljhLrpWlOd+#Y'g.w'rIg>w*wgj@g-u0Rj@Lu+wT&)ZtUauq]~GrGci&U#F|39:rELrNvj!.%*RhCwunfw~nf~:9;Ri]>wtnhg;wHRnhx3hDs@v~!/+'@Wfr@9RkSNu&Rlo=@<5GzoKs0@_+@Wl+@awRkmJuh!-3d(}pY#qWJvj!%Rm(:Jw3!%Rm,Rm*de&!1U-U#`)Re;@G|.@9Ri82@wjfvRlq=@<5GzpLvOvr!).&2RlF8Rf`C=x!eE{.Jw3_g2QRlkhLrpWlPde(!#U{s,UXa*Ta'[y'g:v>ReS;x0PZ&RnlRnn~HrKJw1}f!=x!eB|2w]aP(#Xa&a*Ta.Ua2a7=]iOd'#Y&Ro&WnWg;u.RiDg6vjRiBNvdRlzhNvj]nYJuW_2Wm3x)kFze{9d])!a.!,Y01!#&aC!a3RndC=ox~BrC@2b^{pg,rlse7x'ksuq!%Rm.E{xidw(wBRmGx9o+)X#wwo-So-}69:Rl4@xSf@a#XZ'X)X,Ta(/ARl8b[xc>RfY:RlI:RfQwlg.ARl:9;Rlwdn'#^XafaQa1X1TaHTa)@b[{zcZ#X'7RkwWg@Ou4ARn&x)kG#{,g7u/RkGdH'U#Y*Vz'Wm&CARm|bx#(A]gUbUzJj9Q~=d,#Y(56H}l978H{U7d,0#U*2>ABb_xZ978BbU{e~AJQ{g!978BbU{hxMh?ad{oUYZ.x1h?{l!#:2<H{mx3n[t{vl!,&a%3Ro(z=iS}6ARnr=Bwsn^wvn`Rnbd`*T}B0!#^X'BG{c9b]{a>>@=be}F?JvS!&BG{d7BG}(Bde#`a1X,Ya@!a'P~=wxf@2bZ}I56B2@@=aybb}08@55B9;5bb}<j3vLv;<Jw3&!>Rfg=ayb^}&OuNBKuLA!)a!P~=x#fD{f2@>==<bbzl?C972@@=Ix^d6rSu,v7w*C(0a)a6#B+a%!sQ[y?3Dt%3[xn~<5rLOu!5p@Ku+D#'!t7~GrP~?rNKvlaya7'!h+v-5qMg=t|cd,U#5AAaa5Abb{S@52B5@a[@52B5Gx[iXueu;d<#`a(!/549C;ag>23ExY5@Dah89b^~689Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61);var Te;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e[e.VALUE_MASK=8191]="VALUE_MASK"})(Te||(Te={}));var Ie;(function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"})(Ie||(Ie={}));var xa=32,ul=21,am=2097151,Zi=2047,dl=0;function im(e){let t=e>>>ul;return t===Zi?dl:t}function fl(e){return e-Ie.ZERO>>>0<=9}function sm(e){return(e|xa)-Ie.LOWER_A>>>0<=5}function hl(e){return(e|xa)-Ie.LOWER_A>>>0<=25}function om(e){return e===Ie.EQUALS||hl(e)||fl(e)}var cl;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(cl||(cl={}));var Qi;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Qi||(Qi={}));function cm(e,t,r,n){let a=(t&Te.BRANCH_LENGTH)>>7,i=t&Te.JUMP_TABLE;if(i){if(a===0)return n===i?r:-1;let u=n-i;if(u>>>0>=a)return-1;let f=e[r+u];return f===0?-1:r+a+f-1&65535}if(a===0)return-1;let s=a+1>>1,o=r+s+a;for(let u=0;u<a;u++){let p=e[r+(u>>1)]>>((u&1)<<3)&255;if(p===n){let x=r+s+u;return o+e[x]&65535}if(p>n)return-1}return-1}function ll(e,t,r){if(r===1)return String.fromCharCode(e[t]&Te.VALUE_MASK);if(r===2)return String.fromCharCode(e[t+1]);return String.fromCharCode(e[t+1],e[t+2])}function lm(e,t,r){let n=t+1,a=0,i=n;if(n<r&&(e.charCodeAt(n)|xa)===Ie.LOWER_X){n+=1,i=n;while(n<r){let o=e.charCodeAt(n);if(fl(o))a=a*16+(o-Ie.ZERO);else if(sm(o))a=a*16+((o|xa)-Ie.LOWER_A+10);else break;n+=1}}else while(n<r){let o=e.charCodeAt(n)-Ie.ZERO;if(o>>>0>9)break;a=a*10+o,n+=1}if(n===i)return 0;if(n<r&&e.charCodeAt(n)===Ie.SEMI)n+=1;if(a>1114111)a=1114112;let s=n-t;if(s>=Zi)dl=s,s=Zi;return s<<ul|a}function um(e,t,r){let n=ol,a=e.indexOf("&");if(a<0)return e;let i=e.length,s=0,o="",u=n[0],f=u&Te.JUMP_TABLE,p=(u&Te.BRANCH_LENGTH)>>7;do{let x=a+1,v=e.charCodeAt(x),d,g;if(v===Ie.NUM){let A=lm(e,x,i);if(d=im(A),t&&d>0&&e.charCodeAt(x+d-1)!==Ie.SEMI)d=0;g=d===0?"":il(A&am)}else if(hl(v)){d=0,g="";let A=v-f,E;if(A>>>0<p){let k=n[1+A];E=k===0?-1:p+k&65535}else E=-1;let L=0,C=0,T=E<0?0:n[E],w=x+1;e:while(w<i){while((T&(Te.VALUE_LENGTH|Te.FLAG13))===0&&(T&Te.JUMP_TABLE)!==0){let ue=T&Te.JUMP_TABLE,V=(T&Te.BRANCH_LENGTH)>>7;if(V===0){if(e.charCodeAt(w)!==ue)break e;E+=1}else{let de=e.charCodeAt(w)-ue;if(de>>>0>=V)break e;let _=n[E+1+de];if(_===0)break e;E=E+V+_&65535}if(T=n[E],w+=1,w>=i)break e}if((T&(Te.VALUE_LENGTH|Te.FLAG13))===Te.FLAG13){let ue=(T&Te.BRANCH_LENGTH)>>7;if(e.charCodeAt(w)!==(T&Te.JUMP_TABLE))break;w+=1;let V=ue-1,de=E+1,_=0;for(;_+1<V;_+=2){let ae=n[de];if(e.charCodeAt(w)!==(ae&255))break e;if(w+=1,e.charCodeAt(w)!==(ae>>8&255))break e;w+=1,de+=1}if(_<V){if(e.charCodeAt(w)!==(n[de]&255))break;w+=1}E+=1+(ue>>1),T=n[E];continue}let k=T>>>14,q=e.charCodeAt(w);if(k!==0){if(q===Ie.SEMI){d=w-x+1,g=k===1?String.fromCharCode(T&Te.VALUE_MASK):ll(n,E,k);break}if(!t&&(T&Te.FLAG13)===0)d=w-x,L=E,C=k;if(k===1)break}let Q=cm(n,T,E+(k||1),q);if(Q<0)break;E=Q,T=n[E],w+=1}if(g===""){let k=T>>>14;if(k!==0&&!t&&(T&Te.FLAG13)===0)d=w-x,L=E,C=k;if(d>0)g=ll(n,L,C)}}else d=0,g="";if(d===0||r&&v!==Ie.NUM&&e.charCodeAt(x+d-1)!==Ie.SEMI&&x+d<i&&om(e.charCodeAt(x+d)))a=x;else{if(s<a)o+=e.slice(s,a);o+=g,a=s=x+d}if(e.charCodeAt(a)!==Ie.AMP)a=e.indexOf("&",a)}while(a>=0);return o+e.slice(s)}function ga(e){return um(e,!0,!1)}var pl;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(pl||(pl={}));var ml;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(ml||(ml={}));var fm=class{src_Any=Gi.source;src_Cc=Ji.source;src_Z=Xi.source;src_P=tn.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,r=4){let n=this.escapeRE(e),a=this.escapeRE(t),i=`(?:(?!${this.src_ZCc}|${n}|${a}).)`,s=`${n}${i}{0,1000}${a}`;for(let o=2;o<=r;o++)s=`${n}(?:${i}|${s}){0,1000}${a}`;return s}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){let t=`(?:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:[0-9A-Fa-f]{1,4}:){6}${t}|::(?:[0-9A-Fa-f]{1,4}:){5}${t}|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}${t}|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}${t}|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}${t}|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:${t}|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::${t}|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${this.src_ZPCc}))(?:(?![$+<=>^\`||])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map((e)=>this.escapeRE(e)).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><|]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},es={validate:(e,t,r)=>{let n=r.re.get_http_validator();n.lastIndex=t;let a=n.exec(e);return a?a[0].length:0},normalize:(e,t)=>t.normalize(e)},hm={"http:":es,"https:":es,"ftp:":es,"//":{validate:function(e,t,r){let n=r.re.get_relative_proto_validator();n.lastIndex=t;let a=n.exec(e);if(a){if(t>=3&&e[t-3]===":")return 0;if(t>=3&&e[t-3]==="/")return 0;return a[0].length}return 0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,r){let n=r.re.get_mailto_validator();n.lastIndex=t;let a=n.exec(e);return a?a[0].length:0},normalize:(e,t)=>t.normalize(e)}},pm="a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw",mm="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф";function xm(){let e=mm.split("|");return pm.split("|").forEach((t)=>{let r=t.indexOf(":"),n=t.slice(0,r);for(let a of t.slice(r+1))e.push(n+a)}),e}var gm={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:xm(),urlAuth:!1,maxLength:1e4},xl=class{schema;index;lastIndex;raw;text;url;constructor(e,t,r,n){let a=e.slice(r,n);this.schema=t.toLowerCase(),this.index=r,this.lastIndex=n,this.raw=a,this.text=a,this.url=a}},gl=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...r}=e;this.__opts__={...gm,...r},this.__schemas__={...hm},this.re=t||new fm,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let r={normalize:(n,a)=>a.normalize(n),...t};this.__schemas__[e]=r}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,r;r=this.re.get_schema_search(),r.lastIndex=0;while((t=r.exec(e))!==null)if(this.testSchemaAt(e,t[2],r.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]){if(r=this.re.get_fuzzy_link_search(),r.lastIndex=0,r.exec(e)!==null)return!0}if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]){if(e.indexOf("@")>=0){let n=this.re.get_fuzzy_mail_host_search(),a=this.re.get_mail_name_validator();n.lastIndex=0;while((t=n.exec(e))!==null){let i=e.slice(Math.max(0,t.index-65),t.index);if(a.test(i))return!0}}}return!1}testSchemaAt(e,t,r){if(!this.__schemas__[t.toLowerCase()])return 0;return this.__schemas__[t.toLowerCase()].validate(e.slice(0,r+this.__opts__.maxLength),r,this)}match(e){let t=[],r=this.re.get_schema_search(),n,a,i,s,o,u,f=!1,p=!1,x=!1,v=0;if(!e.length)return null;if(r.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"])n=this.re.get_fuzzy_link_search(),n.lastIndex=0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"])a=this.re.get_fuzzy_mail_host_search(),a.lastIndex=0,i=this.re.get_mail_name_validator();for(;;){let d=Math.max(v-1,0);if(a&&i&&!x&&(!o||o.index<v)){if(a.lastIndex<d)a.lastIndex=d;for(;;){let C=a.exec(e);if(!C){x=!0,o=void 0;break}let T=i.exec(e.slice(Math.max(0,C.index-65),C.index));if(!T)continue;if(o={schema:"mailto:",index:C.index-T[1].length,lastIndex:C.index+C[0].length},o.index>=v)break;if(a.lastIndex<d)a.lastIndex=d}}if(n&&!p&&(!s||s.index<v)){if(n.lastIndex<d)n.lastIndex=d;for(;;){let C=n.exec(e);if(!C){p=!0,s=void 0;break}if(s={schema:"",index:C.index+C[1].length,lastIndex:C.index+C[0].length},s.index>=v)break;if(n.lastIndex<d)n.lastIndex=d}}let g=o;if(!g||s&&(s.index<g.index||s.index===g.index&&s.lastIndex>g.lastIndex))g=s;let A;if(!f)for(;;){if(!u){if(r.lastIndex<d)r.lastIndex=d;let w=r.exec(e);if(!w){f=!0;break}u={schema:w[2],index:w.index+w[1].length,lastIndex:w.index+w[0].length}}if(u.index<v){u=void 0;continue}if(g&&u.index>g.index)break;let C=u;u=void 0;let T=this.testSchemaAt(e,C.schema,C.lastIndex);if(T){A={schema:C.schema,index:C.index,lastIndex:C.lastIndex+T};break}}let E=A;if(!E||o&&(o.index<E.index||o.index===E.index&&o.lastIndex>E.lastIndex))E=o;if(!E||s&&(s.index<E.index||s.index===E.index&&s.lastIndex>E.lastIndex))E=s;if(!E)break;if(E===o)o=void 0;else if(E===s)s=void 0;let L=new xl(e,E.schema,E.index,E.lastIndex);if(L.schema)this.__schemas__[L.schema].normalize(L,this);else this.normalize(L);t.push(L),v=E.lastIndex}if(t.length)return t;return null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let r=this.testSchemaAt(e,t[2],t[0].length);if(!r)return null;let n=new xl(e,t[2],t.index+t[1].length,t.index+t[0].length+r);return this.__schemas__[n.schema].normalize(n,this),n}tlds(e,t=!1){if(e=Array.isArray(e)?e:[e],!t)this.__opts__.tlds=e;else this.__opts__.tlds=this.__opts__.tlds.concat(e);return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){if(!e.schema)e.url=`http://${e.url}`;if(e.schema==="mailto:"&&!/^mailto:/i.test(e.url))e.url=`mailto:${e.url}`}};var ss=Ni(Cl(),1);/*! markdown-it 15.0.1 https://github.com/markdown-it/markdown-it @license MIT */var Tl=Object.defineProperty,Pl=(e,t)=>{let r={};for(var n in e)Tl(r,n,{get:e[n],enumerable:!0});if(!t)Tl(r,Symbol.toStringTag,{value:"Module"});return r},Dm=Pl({arrayReplaceAt:()=>Rm,asciiTrim:()=>va,callable:()=>ql,escapeHtml:()=>$t,escapeRE:()=>jm,fromCodePoint:()=>rn,isMdAsciiPunct:()=>sn,isPunctChar:()=>Bl,isPunctCharCode:()=>an,isSpace:()=>he,isValidEntityCode:()=>os,isWhiteSpace:()=>nn,lib:()=>Bm,normalizeReference:()=>ya,unescapeAll:()=>yr,unescapeMd:()=>Im});function ql(e){let t=function(...r){return Reflect.construct(e,r,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function Rm(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function os(e){if(e>=55296&&e<=57343)return!1;if(e>=64976&&e<=65007)return!1;if((e&65535)===65535||(e&65535)===65534)return!1;if(e>=0&&e<=8)return!1;if(e===11)return!1;if(e>=14&&e<=31)return!1;if(e>=127&&e<=159)return!1;if(e>1114111)return!1;return!0}function rn(e){if(e>65535){e-=65536;let t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var jl=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Sm=new RegExp(`${jl.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),Nm=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Lm(e,t){if(t.charCodeAt(0)===35&&Nm.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);if(os(n))return rn(n);return e}let r=ga(e);if(r!==e)return r;return e}function Im(e){if(e.indexOf("\\")<0)return e;return e.replace(jl,"$1")}function yr(e){if(e.indexOf("\\")<0&&e.indexOf("&")<0)return e;return e.replace(Sm,function(t,r,n){if(r)return r;return Lm(t,n)})}var Om=/[&<>"]/,Fm=/[&<>"]/g,Mm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Pm(e){return Mm[e]}function $t(e){if(Om.test(e))return e.replace(Fm,Pm);return e}var qm=/[.?*+^$[\]\\(){}|-]/g;function jm(e){return e.replace(qm,"\\$&")}function he(e){switch(e){case 9:case 32:return!0}return!1}function nn(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Bl(e){return tn.test(e)||Yi.test(e)}function an(e){return Bl(rn(e))}function sn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ya(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function Al(e){return e===32||e===9||e===10||e===13}function va(e){let t=0;for(;t<e.length;t++)if(!Al(e.charCodeAt(t)))break;let r=e.length-1;for(;r>=t;r--)if(!Al(e.charCodeAt(r)))break;return e.slice(t,r+1)}var Bm={mdurl:Wi,ucmicro:Ki};function Um(e,t,r){let n,a,i,s,o=e.posMax,u=e.pos;e.pos=t+1,n=1;while(e.pos<o){if(i=e.src.charCodeAt(e.pos),i===93){if(n--,n===0){a=!0;break}}if(s=e.pos,e.md.inline.skipToken(e),i===91){if(s===e.pos-1)n++;else if(r)return e.pos=u,-1}}let f=-1;if(a)f=e.pos;return e.pos=u,f}function Hm(e,t,r){let n,a=t,i={ok:!1,pos:0,str:""};if(e.charCodeAt(a)===60){a++;while(a<r){if(n=e.charCodeAt(a),n===10)return i;if(n===60)return i;if(n===62)return i.pos=a+1,i.str=yr(e.slice(t+1,a)),i.ok=!0,i;if(n===92&&a+1<r){a+=2;continue}a++}return i}let s=0;while(a<r){if(n=e.charCodeAt(a),n===32)break;if(n<32||n===127)break;if(n===92&&a+1<r){if(e.charCodeAt(a+1)===32){a++;continue}a+=2;continue}if(n===40){if(s++,s>32)return i}if(n===41){if(s===0)break;s--}a++}if(t===a)return i;if(s!==0)return i;return i.str=yr(e.slice(t,a)),i.pos=a,i.ok=!0,i}function $m(e,t,r,n){let a,i=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)s.str=n.str,s.marker=n.marker;else{if(i>=r)return s;let o=e.charCodeAt(i);if(o!==34&&o!==39&&o!==40)return s;if(t++,i++,o===40)o=41;s.marker=o}while(i<r){if(a=e.charCodeAt(i),a===s.marker)return s.pos=i+1,s.str+=yr(e.slice(t,i)),s.ok=!0,s;else if(a===40&&s.marker===41)return s;else if(a===92&&i+1<r)i++;i++}return s.can_continue=!0,s.str+=yr(e.slice(t,i)),s}var zm=Pl({parseLinkDestination:()=>Hm,parseLinkLabel:()=>Um,parseLinkTitle:()=>$m});function on(e){return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},on(e)}function Vm(e,t){if(on(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(on(n)!="object")return n;throw TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wm(e){var t=Vm(e,"string");return on(t)=="symbol"?t:t+""}function O(e,t,r){return(t=Wm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nr=class{constructor(e,t,r){O(this,"map",null),O(this,"level",0),O(this,"children",null),O(this,"content",""),O(this,"markup",""),O(this,"info",""),O(this,"block",!1),O(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=r,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let r=0,n=t.length;r<n;r++)if(t[r][0]===e)return r;return-1}attrPush(e){if(this.attrs)this.attrs.push(e);else this.attrs=[e]}attrSet(e,t){let r=this.attrIndex(e),n=[e,t];if(r<0)this.attrPush(n);else this.attrs[r]=n}attrGet(e){let t=this.attrIndex(e),r=null;if(t>=0)r=this.attrs[t][1];return r}attrJoin(e,t){let r=this.attrIndex(e);if(r<0)this.attrPush([e,t]);else this.attrs[r][1]=`${this.attrs[r][1]} ${t}`}},cn=class{constructor(){O(this,"__rules__",[]),O(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach((t)=>{if(!t.enabled)return;t.alt.forEach((r)=>{if(r)e.add(r)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach((t)=>{if(t.enabled)this.__cache__[""].push(t.fn)}),e.forEach((t)=>{this.__cache__[t]=[],this.__rules__.forEach((r)=>{if(r.enabled&&r.alt.indexOf(t)>=0)this.__cache__[t].push(r.fn)})})}at(e,t,r={}){let n=this.__find__(e);if(n===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null}before(e,t,r,n={}){let a=this.__find__(e);if(a===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null}after(e,t,r,n={}){let a=this.__find__(e);if(a===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null}push(e,t,r={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null}enable(e,t=!1){if(!Array.isArray(e))e=[e];let r=[];return e.forEach((n)=>{let a=this.__find__(n);if(a<0){if(t)return;throw Error(`Rules manager: invalid rule name ${n}`)}this.__rules__[a].enabled=!0,r.push(n)}),this.__cache__=null,r}enableOnly(e,t=!1){if(!Array.isArray(e))e=[e];this.__rules__.forEach((r)=>{r.enabled=!1}),this.enable(e,t)}disable(e,t=!1){if(!Array.isArray(e))e=[e];let r=[];return e.forEach((n)=>{let a=this.__find__(n);if(a<0){if(t)return;throw Error(`Rules manager: invalid rule name ${n}`)}this.__rules__[a].enabled=!1,r.push(n)}),this.__cache__=null,r}getRules(e){if(!this.__cache__)this.__compile__();return this.__cache__[e]||[]}},pt={};pt.code_inline=function(e,t,r,n,a){let i=e[t];return`<code${a.renderAttrs(i)}>${$t(i.content)}</code>`};pt.code_block=function(e,t,r,n,a){let i=e[t];return`<pre${a.renderAttrs(i)}><code>${$t(e[t].content)}</code></pre>
108
- `};pt.fence=function(e,t,r,n,a){let i=e[t],s=i.info?yr(i.info).trim():"",o="",u="";if(s){let p=s.split(/(\s+)/g);o=p[0],u=p.slice(2).join("")}let f;if(r.highlight)f=r.highlight(i.content,o,u)||$t(i.content);else f=$t(i.content);if(f.indexOf("<pre")===0)return f+`
109
- `;if(s){let p=i.attrIndex("class"),x=i.attrs?i.attrs.slice():[];if(p<0)x.push(["class",`${r.langPrefix}${o}`]);else x[p]=[x[p][0],x[p][1]],x[p][1]+=` ${r.langPrefix}${o}`;let v={attrs:x};return`<pre><code${a.renderAttrs(v)}>${f}</code></pre>
110
- `}return`<pre><code${a.renderAttrs(i)}>${f}</code></pre>
111
- `};pt.image=function(e,t,r,n,a){let i=e[t];return i.attrs[i.attrIndex("alt")][1]=a.renderInlineAsText(i.children,r,n),a.renderToken(e,t,r)};pt.hardbreak=function(e,t,r){return r.xhtmlOut?`<br />
112
- `:`<br>
113
- `};pt.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`<br />
114
- `:`<br>
115
- `:`
116
- `};pt.text=function(e,t){return $t(e[t].content)};pt.html_block=function(e,t){return e[t].content};pt.html_inline=function(e,t){return e[t].content};var Ul=class{constructor(){O(this,"rules",Object.assign({},pt))}renderAttrs(e){let t,r,n;if(!e.attrs)return"";n="";for(t=0,r=e.attrs.length;t<r;t++)n+=` ${$t(e.attrs[t][0])}="${$t(String(e.attrs[t][1]))}"`;return n}renderToken(e,t,r){let n=e[t],a="";if(n.hidden)return"";let i=t-1;while(i>=0&&e[i].hidden&&e[i].nesting===0)i--;if(n.block&&n.nesting!==-1&&i>=0&&e[i].hidden&&e[i].nesting===-1)a+=`
117
- `;if(a+=(n.nesting===-1?"</":"<")+n.tag,a+=this.renderAttrs(n),n.nesting===0&&r.xhtmlOut)a+=" /";let s=!1;if(n.block){if(s=!0,n.nesting===1){let o=t+1;while(o<e.length&&e[o].hidden&&e[o].nesting===0)o++;if(o<e.length){let u=e[o];if(u.type==="inline"||u.hidden)s=!1;else if(u.nesting===-1&&u.tag===n.tag)s=!1}}}return a+=s?`>
118
- `:">",a}renderInline(e,t,r){let n="",a=this.rules;for(let i=0,s=e.length;i<s;i++){let o=e[i].type;if(typeof a[o]<"u")n+=a[o](e,i,t,r,this);else n+=this.renderToken(e,i,t)}return n}renderInlineAsText(e,t,r){let n="";for(let a=0,i=e.length;a<i;a++)switch(e[a].type){case"text":case"code_inline":n+=e[a].content;break;case"image":n+=this.renderInlineAsText(e[a].children,t,r);break;case"html_inline":case"html_block":n+=e[a].content;break;case"softbreak":case"hardbreak":n+=`
119
- `}return n}render(e,t,r){let n="",a=this.rules;for(let i=0,s=e.length;i<s;i++){let o=e[i].type;if(o==="inline")n+=this.renderInline(e[i].children,t,r);else if(typeof a[o]<"u")n+=a[o](e,i,t,r,this);else n+=this.renderToken(e,i,t)}return n}},Hl=class{constructor(e,t,r){O(this,"tokens",[]),O(this,"inlineMode",!1),O(this,"Token",nr),this.src=e,this.env=r,this.md=t}},Gm=/\r\n?/g,Jm=/\0/g;function Ym(e){let t;t=e.src.replace(Gm,`
120
- `),t=t.replace(Jm,"�"),e.src=t}function Xm(e){let t;if(e.inlineMode)t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t);else e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Km(e){let t=e.tokens,r=0;for(let n=0;n<t.length;n++){if(t[n].type==="reference_definition")continue;if(n!==r)t[r]=t[n];r++}if(t.length!==r)t.length=r}function Zm(e){let t=e.tokens;for(let r=0,n=t.length;r<n;r++){let a=t[r];if(a.type==="inline")e.md.inline.parse(a.content,e.md,e.env,a.children)}}function Qm(e){return/^<a[>\s]/i.test(e)}function ex(e){return/^<\/a\s*>/i.test(e)}function tx(e){let t=e.tokens;if(!e.md.options.linkify)return;for(let r=0,n=t.length;r<n;r++){if(t[r].type!=="inline"||!e.md.linkify.test(t[r].content))continue;let a=t[r].children,i=[],s=0;for(let o=a.length-1;o>=0;o--){let u=a[o];if(u.type==="link_close"){o--;while(a[o].level!==u.level&&a[o].type!=="link_open")o--;continue}if(u.type==="html_inline"){if(Qm(u.content)&&s>0)s--;if(ex(u.content))s++}if(s>0)continue;if(u.type==="text"&&e.md.linkify.test(u.content)){let f=u.content,p=e.md.linkify.match(f),x=[],v=u.level,d=0;if(p.length>0&&p[0].index===0&&o>0&&a[o-1].type==="text_special")p=p.slice(1);for(let g=0;g<p.length;g++){let A=p[g].url,E=e.md.normalizeLink(A);if(!e.md.validateLink(E))continue;let L=p[g].text;if(!p[g].schema)L=e.md.normalizeLinkText(`http://${L}`).replace(/^http:\/\//,"");else if(p[g].schema==="mailto:"&&!/^mailto:/i.test(L))L=e.md.normalizeLinkText(`mailto:${L}`).replace(/^mailto:/,"");else L=e.md.normalizeLinkText(L);let C=p[g].index;if(C>d){let q=new e.Token("text","",0);q.content=f.slice(d,C),q.level=v,x.push(q)}let T=new e.Token("link_open","a",1);T.attrs=[["href",E]],T.level=v++,T.markup="linkify",T.info="auto",x.push(T);let w=new e.Token("text","",0);w.content=L,w.level=v,x.push(w);let k=new e.Token("link_close","a",-1);k.level=--v,k.markup="linkify",k.info="auto",x.push(k),d=p[g].lastIndex}if(d<f.length){let g=new e.Token("text","",0);g.content=f.slice(d),g.level=v,x.push(g)}i.push({index:o,nodes:x})}}if(i.length>0){let o=a.length;for(let x of i)o+=x.nodes.length-1;let u=Array(o),f=0,p=0;i.reverse();for(let x=0;x<a.length;x++){let v=i[f];if((v===null||v===void 0?void 0:v.index)===x){for(let d of v.nodes)u[p++]=d;f++}else u[p++]=a[x]}t[r].children=u}}}var $l=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,rx=/\((c|tm|r)\)/i,nx=/\((c|tm|r)\)/gi,ax={c:"©",r:"®",tm:"™"};function ix(e,t){return ax[t.toLowerCase()]}function sx(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];if(n.type==="text"&&!t)n.content=n.content.replace(nx,ix);if(n.type==="link_open"&&n.info==="auto")t--;if(n.type==="link_close"&&n.info==="auto")t++}}function ox(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];if(n.type==="text"&&!t){if($l.test(n.content))n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")}if(n.type==="link_open"&&n.info==="auto")t--;if(n.type==="link_close"&&n.info==="auto")t++}}function cx(e){let t;if(!e.md.options.typographer)return;for(t=e.tokens.length-1;t>=0;t--){if(e.tokens[t].type!=="inline")continue;if(rx.test(e.tokens[t].content))sx(e.tokens[t].children);if($l.test(e.tokens[t].content))ox(e.tokens[t].children)}}var lx=/['"]/,Dl=/['"]/g,Rl="’";function ba(e,t,r,n){if(!e[t])e[t]=[];e[t].push({pos:r,ch:n})}function ux(e,t){let r="",n=0;t.sort((a,i)=>a.pos-i.pos);for(let a=0;a<t.length;a++){let i=t[a];r+=e.slice(n,i.pos)+i.ch,n=i.pos+1}return r+e.slice(n)}function dx(e,t){let r,n=[],a={};for(let i=0;i<e.length;i++){let s=e[i],o=e[i].level;for(r=n.length-1;r>=0;r--)if(n[r].level<=o)break;if(n.length=r+1,s.type!=="text")continue;let u=s.content,f=0,p=u.length;e:while(f<p){Dl.lastIndex=f;let x=Dl.exec(u);if(!x)break;let v=!0,d=!0;f=x.index+1;let g=x[0]==="'",A=32;if(x.index-1>=0)A=u.charCodeAt(x.index-1);else for(r=i-1;r>=0;r--){if(e[r].type==="softbreak"||e[r].type==="hardbreak")break;if(!e[r].content)continue;A=e[r].content.charCodeAt(e[r].content.length-1);break}let E=32;if(f<p)E=u.charCodeAt(f);else for(r=i+1;r<e.length;r++){if(e[r].type==="softbreak"||e[r].type==="hardbreak")break;if(!e[r].content)continue;E=e[r].content.charCodeAt(0);break}let L=sn(A)||an(A),C=sn(E)||an(E),T=nn(A),w=nn(E);if(w)v=!1;else if(C){if(!(T||L))v=!1}if(T)d=!1;else if(L){if(!(w||C))d=!1}if(E===34&&x[0]==='"'){if(A>=48&&A<=57)d=v=!1}if(v&&d)v=L,d=C;if(!v&&!d){if(g)ba(a,i,x.index,Rl);continue}if(d)for(r=n.length-1;r>=0;r--){let k=n[r];if(n[r].level<o)break;if(k.single===g&&n[r].level===o){k=n[r];let q,Q;if(g)q=t.md.options.quotes[2],Q=t.md.options.quotes[3];else q=t.md.options.quotes[0],Q=t.md.options.quotes[1];ba(a,i,x.index,Q),ba(a,k.token,k.pos,q),n.length=r;continue e}}if(v)n.push({token:i,pos:x.index,single:g,level:o});else if(d&&g)ba(a,i,x.index,Rl)}}Object.keys(a).forEach(function(i){let s=Number(i);e[s].content=ux(e[s].content,a[i])})}function fx(e){if(!e.md.options.typographer)return;for(let t=e.tokens.length-1;t>=0;t--){if(e.tokens[t].type!=="inline"||!lx.test(e.tokens[t].content))continue;dx(e.tokens[t].children,e)}}function hx(e){let t,r,n=e.length;for(t=0;t<n;t++)if(e[t].type==="text_special")e[t].type="text";for(t=r=0;t<n;t++)if(e[t].type==="text"&&t+1<n&&e[t+1].type==="text")e[t+1].content=e[t].content+e[t+1].content;else{if(t!==r)e[r]=e[t];r++}if(t!==r)e.length=r}function px(e){let t,r,n=e.tokens,a=n.length;for(let i=0;i<a;i++){if(n[i].type!=="inline")continue;let s=n[i].children,o=s.length;for(t=0;t<o;t++){if(s[t].type==="text_special")s[t].type="text";if(s[t].children)hx(s[t].children)}for(t=r=0;t<o;t++)if(s[t].type==="text"&&t+1<o&&s[t+1].type==="text")s[t+1].content=s[t].content+s[t+1].content;else{if(t!==r)s[r]=s[t];r++}if(t!==r)s.length=r}}var rs=[["normalize",Ym],["block",Xm],["strip_references",Km],["inline",Zm],["linkify",tx],["replacements",cx],["smartquotes",fx],["text_join",px]],zl=class{constructor(){O(this,"ruler",new cn),O(this,"State",Hl);for(let e=0;e<rs.length;e++)this.ruler.push(rs[e][0],rs[e][1])}process(e){let t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)}},Vl=class{constructor(e,t,r,n){O(this,"bMarks",[]),O(this,"eMarks",[]),O(this,"tShift",[]),O(this,"sCount",[]),O(this,"bsCount",[]),O(this,"blkIndent",0),O(this,"line",0),O(this,"lineMax",0),O(this,"tight",!1),O(this,"listIndent",-1),O(this,"parentType","root"),O(this,"level",0),O(this,"Token",nr),this.src=e,this.md=t,this.env=r,this.tokens=n;let a=this.src;for(let i=0,s=0,o=0,u=0,f=a.length,p=!1;s<f;s++){let x=a.charCodeAt(s);if(!p)if(he(x)){if(o++,x===9)u+=4-u%4;else u++;continue}else p=!0;if(x===10||s===f-1){if(x!==10)s++;this.bMarks.push(i),this.eMarks.push(s),this.tShift.push(o),this.sCount.push(u),this.bsCount.push(0),p=!1,o=0,u=0,i=s+1}}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,r){let n=new nr(e,t,r);if(n.block=!0,r<0)this.level--;if(n.level=this.level,r>0)this.level++;return this.tokens.push(n),n}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t;e++)if(this.bMarks[e]+this.tShift[e]<this.eMarks[e])break;return e}skipSpaces(e){for(let t=this.src.length;e<t;e++)if(!he(this.src.charCodeAt(e)))break;return e}skipSpacesBack(e,t){if(e<=t)return e;while(e>t)if(!he(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let r=this.src.length;e<r;e++)if(this.src.charCodeAt(e)!==t)break;return e}skipCharsBack(e,t,r){if(e<=r)return e;while(e>r)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,r,n){if(e>=t)return"";let a=Array(t-e);for(let i=0,s=e;s<t;s++,i++){let o=0,u=this.bMarks[s],f=u,p;if(s+1<t||n)p=this.eMarks[s]+1;else p=this.eMarks[s];while(f<p&&o<r){let x=this.src.charCodeAt(f);if(he(x))if(x===9)o+=4-(o+this.bsCount[s])%4;else o++;else if(f-u<this.tShift[s])o++;else break;f++}if(o>r)a[i]=Array(o-r+1).join(" ")+this.src.slice(f,p);else a[i]=this.src.slice(f,p)}return a.join("")}},mx=65536;function ns(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function Sl(e){let t=[],r=e.length,n=0,a=e.charCodeAt(n),i=!1,s=0,o="";while(n<r){if(a===124)if(!i)t.push(o+e.substring(s,n)),o="",s=n+1;else o+=e.substring(s,n-1),s=n;i=a===92,n++,a=e.charCodeAt(n)}return t.push(o+e.substring(s)),t}function xx(e,t,r,n){if(t+2>r)return!1;let a=t+1;if(e.sCount[a]<e.blkIndent)return!1;if(e.sCount[a]-e.blkIndent>=4)return!1;let i=e.bMarks[a]+e.tShift[a];if(i>=e.eMarks[a])return!1;let s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58)return!1;if(i>=e.eMarks[a])return!1;let o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58&&!he(o))return!1;if(s===45&&he(o))return!1;while(i<e.eMarks[a]){let w=e.src.charCodeAt(i);if(w!==124&&w!==45&&w!==58&&!he(w))return!1;i++}let u=ns(e,t+1),f=u.split("|"),p=[];for(let w=0;w<f.length;w++){let k=f[w].trim();if(!k)if(w===0||w===f.length-1)continue;else return!1;if(!/^:?-+:?$/.test(k))return!1;if(k.charCodeAt(k.length-1)===58)p.push(k.charCodeAt(0)===58?"center":"right");else if(k.charCodeAt(0)===58)p.push("left");else p.push("")}if(u=ns(e,t).trim(),u.indexOf("|")===-1)return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(f=Sl(u),f.length&&f[0]==="")f.shift();if(f.length&&f[f.length-1]==="")f.pop();let x=f.length;if(x===0||x!==p.length)return!1;if(n)return!0;let v=e.parentType;e.parentType="table";let d=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),A=[t,0];g.map=A;let E=e.push("thead_open","thead",1);E.map=[t,t+1];let L=e.push("tr_open","tr",1);L.map=[t,t+1];for(let w=0;w<f.length;w++){let k=e.push("th_open","th",1);if(p[w])k.attrs=[["style",`text-align:${p[w]}`]];let q=e.push("inline","",0);q.content=f[w].trim(),q.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let C,T=0;for(a=t+2;a<r;a++){if(e.sCount[a]<e.blkIndent)break;let w=!1;for(let q=0,Q=d.length;q<Q;q++)if(d[q](e,a,r,!0)){w=!0;break}if(w)break;if(u=ns(e,a).trim(),!u)break;if(e.sCount[a]-e.blkIndent>=4)break;if(f=Sl(u),f.length&&f[0]==="")f.shift();if(f.length&&f[f.length-1]==="")f.pop();if(T+=x-f.length,T>mx)break;if(a===t+2){let q=e.push("tbody_open","tbody",1);q.map=C=[t+2,0]}let k=e.push("tr_open","tr",1);k.map=[a,a+1];for(let q=0;q<x;q++){let Q=e.push("td_open","td",1);if(p[q])Q.attrs=[["style",`text-align:${p[q]}`]];let ue=e.push("inline","",0);ue.content=f[q]?f[q].trim():"",ue.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}if(C)e.push("tbody_close","tbody",-1),C[1]=a;return e.push("table_close","table",-1),A[1]=a,e.parentType=v,e.line=a,!0}function gx(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,a=n;while(n<r){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,a=n;continue}break}e.line=a;let i=e.push("code_block","code",0);return i.content=e.getLines(t,a,4+e.blkIndent,!1)+`
121
- `,i.map=[t,e.line],!0}function bx(e,t,r,n){let a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(a+3>i)return!1;let s=e.src.charCodeAt(a);if(s!==126&&s!==96)return!1;let o=a;a=e.skipChars(a,s);let u=a-o;if(u<3)return!1;let f=e.src.slice(o,a),p=e.src.slice(a,i);if(s===96){if(p.indexOf(String.fromCharCode(s))>=0)return!1}if(n)return!0;let x=t,v=!1;for(;;){if(x++,x>=r)break;if(a=o=e.bMarks[x]+e.tShift[x],i=e.eMarks[x],a<i&&e.sCount[x]<e.blkIndent)break;if(e.src.charCodeAt(a)!==s)continue;if(e.sCount[x]-e.blkIndent>=4)continue;if(a=e.skipChars(a,s),a-o<u)continue;if(a=e.skipSpaces(a),a<i)continue;v=!0;break}u=e.sCount[t],e.line=x+(v?1:0);let d=e.push("fence","code",0);return d.info=p,d.content=e.getLines(t+1,x,u,!0),d.markup=f,d.map=[t,e.line],!0}function _x(e,t,r,n){let a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.src.charCodeAt(a)!==62)return!1;if(n)return!0;let o=[],u=[],f=[],p=[],x=e.md.block.ruler.getRules("blockquote"),v=e.parentType;e.parentType="blockquote";let d=!1,g;for(g=t;g<r;g++){let T=e.sCount[g]<e.blkIndent;if(a=e.bMarks[g]+e.tShift[g],i=e.eMarks[g],a>=i)break;if(e.src.charCodeAt(a++)===62&&!T){let k=e.sCount[g]+1,q,Q;if(e.src.charCodeAt(a)===32)a++,k++,Q=!1,q=!0;else if(e.src.charCodeAt(a)===9)if(q=!0,(e.bsCount[g]+k)%4===3)a++,k++,Q=!1;else Q=!0;else q=!1;let ue=k;o.push(e.bMarks[g]),e.bMarks[g]=a;while(a<i){let V=e.src.charCodeAt(a);if(he(V))if(V===9)ue+=4-(ue+e.bsCount[g]+(Q?1:0))%4;else ue++;else break;a++}d=a>=i,u.push(e.bsCount[g]),e.bsCount[g]=e.sCount[g]+1+(q?1:0),f.push(e.sCount[g]),e.sCount[g]=ue-k,p.push(e.tShift[g]),e.tShift[g]=a-e.bMarks[g];continue}if(d)break;let w=!1;for(let k=0,q=x.length;k<q;k++)if(x[k](e,g,r,!0)){w=!0;break}if(w){if(e.lineMax=g,e.blkIndent!==0)o.push(e.bMarks[g]),u.push(e.bsCount[g]),p.push(e.tShift[g]),f.push(e.sCount[g]),e.sCount[g]-=e.blkIndent;break}o.push(e.bMarks[g]),u.push(e.bsCount[g]),p.push(e.tShift[g]),f.push(e.sCount[g]),e.sCount[g]=-1}let A=e.blkIndent;e.blkIndent=0;let E=e.push("blockquote_open","blockquote",1);E.markup=">";let L=[t,0];E.map=L,e.md.block.tokenize(e,t,g);let C=e.push("blockquote_close","blockquote",-1);C.markup=">",e.lineMax=s,e.parentType=v,L[1]=e.line;for(let T=0;T<p.length;T++)e.bMarks[T+t]=o[T],e.tShift[T+t]=p[T],e.sCount[T+t]=f[T],e.bsCount[T+t]=u[T];return e.blkIndent=A,!0}function yx(e,t,r,n){let a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(i++);if(s!==42&&s!==45&&s!==95)return!1;let o=1;while(i<a){let f=e.src.charCodeAt(i++);if(f!==s&&!he(f))return!1;if(f===s)o++}if(o<3)return!1;if(n)return!0;e.line=t+1;let u=e.push("hr","hr",0);return u.map=[t,e.line],u.markup=Array(o+1).join(String.fromCharCode(s)),!0}function Nl(e,t){let r=e.eMarks[t],n=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(n++);if(a!==42&&a!==45&&a!==43)return-1;if(n<r){if(!he(e.src.charCodeAt(n)))return-1}return n}function Ll(e,t){let r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],a=r;if(a+1>=n)return-1;let i=e.src.charCodeAt(a++);if(i<48||i>57)return-1;for(;;){if(a>=n)return-1;if(i=e.src.charCodeAt(a++),i>=48&&i<=57){if(a-r>=10)return-1;continue}if(i===41||i===46)break;return-1}if(a<n){if(i=e.src.charCodeAt(a),!he(i))return-1}return a}function vx(e,t){let r=e.level+2;for(let n=t+2,a=e.tokens.length-2;n<a;n++)if(e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open")e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2}function Ex(e,t,r,n){let a,i,s,o,u=t,f=!0;if(e.sCount[u]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[u]-e.listIndent>=4&&e.sCount[u]<e.blkIndent)return!1;let p=!1;if(n&&e.parentType==="paragraph"){if(e.sCount[u]>=e.blkIndent)p=!0}let x,v,d;if((d=Ll(e,u))>=0){if(x=!0,s=e.bMarks[u]+e.tShift[u],v=Number(e.src.slice(s,d-1)),p&&v!==1)return!1}else if((d=Nl(e,u))>=0)x=!1;else return!1;if(p){if(e.skipSpaces(d)>=e.eMarks[u])return!1}if(n)return!0;let g=e.src.charCodeAt(d-1),A=e.tokens.length;if(x){if(o=e.push("ordered_list_open","ol",1),v!==1)o.attrs=[["start",v]]}else o=e.push("bullet_list_open","ul",1);let E=[u,0];o.map=E,o.markup=String.fromCharCode(g);let L=!1,C=e.md.block.ruler.getRules("list"),T=e.parentType;e.parentType="list";while(u<r){i=d,a=e.eMarks[u];let w=e.sCount[u]+d-(e.bMarks[u]+e.tShift[u]),k=w;while(i<a){let j=e.src.charCodeAt(i);if(j===9)k+=4-(k+e.bsCount[u])%4;else if(j===32)k++;else break;i++}let q=i,Q;if(q>=a)Q=1;else Q=k-w;if(Q>4)Q=1;let ue=w+Q;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(g);let V=[u,0];if(o.map=V,x)o.info=e.src.slice(s,d-1);let de=e.tight,_=e.tShift[u],ae=e.sCount[u],me=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=ue,e.tight=!0,e.tShift[u]=q-e.bMarks[u],e.sCount[u]=k,q>=a&&e.isEmpty(u+1))e.line=Math.min(e.line+2,r);else e.md.block.tokenize(e,u,r);if(!e.tight||L)f=!1;if(L=e.line-u>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=me,e.tShift[u]=_,e.sCount[u]=ae,e.tight=de,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(g),u=e.line,V[1]=u,u>=r)break;if(e.sCount[u]<e.blkIndent)break;if(e.sCount[u]-e.blkIndent>=4)break;let m=!1;for(let j=0,_t=C.length;j<_t;j++)if(C[j](e,u,r,!0)){m=!0;break}if(m)break;if(x){if(d=Ll(e,u),d<0)break;s=e.bMarks[u]+e.tShift[u]}else if(d=Nl(e,u),d<0)break;if(g!==e.src.charCodeAt(d-1))break}if(x)o=e.push("ordered_list_close","ol",-1);else o=e.push("bullet_list_close","ul",-1);if(o.markup=String.fromCharCode(g),E[1]=u,e.line=u,e.parentType=T,f)vx(e,A);return!0}function wx(e,t,r,n){let a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.src.charCodeAt(a)!==91)return!1;function o(w){let k=e.lineMax;if(w>=k||e.isEmpty(w))return null;let q=!1;if(e.sCount[w]-e.blkIndent>3)q=!0;if(e.sCount[w]<0)q=!0;if(!q){let V=e.md.block.ruler.getRules("reference"),de=e.parentType;e.parentType="reference";let _=!1;for(let ae=0,me=V.length;ae<me;ae++)if(V[ae](e,w,k,!0)){_=!0;break}if(e.parentType=de,_)return null}let Q=e.bMarks[w]+e.tShift[w],ue=e.eMarks[w];return e.src.slice(Q,ue+1)}let u=e.src.slice(a,i+1);i=u.length;let f=-1;for(a=1;a<i;a++){let w=u.charCodeAt(a);if(w===91)return!1;else if(w===93){f=a;break}else if(w===10){let k=o(s);if(k!==null)u+=k,i=u.length,s++}else if(w===92){if(a++,a<i&&u.charCodeAt(a)===10){let k=o(s);if(k!==null)u+=k,i=u.length,s++}}}if(f<0||u.charCodeAt(f+1)!==58)return!1;for(a=f+2;a<i;a++){let w=u.charCodeAt(a);if(w===10){let k=o(s);if(k!==null)u+=k,i=u.length,s++}else if(he(w));else break}let p=e.md.helpers.parseLinkDestination(u,a,i);if(!p.ok)return!1;let x=e.md.normalizeLink(p.str);if(!e.md.validateLink(x))return!1;a=p.pos;let v=a,d=s,g=a;for(;a<i;a++){let w=u.charCodeAt(a);if(w===10){let k=o(s);if(k!==null)u+=k,i=u.length,s++}else if(he(w));else break}let A=e.md.helpers.parseLinkTitle(u,a,i);while(A.can_continue){let w=o(s);if(w===null)break;u+=w,a=i,i=u.length,s++,A=e.md.helpers.parseLinkTitle(u,a,i,A)}let E;if(a<i&&g!==a&&A.ok)E=A.str,a=A.pos;else E="",a=v,s=d;while(a<i){if(!he(u.charCodeAt(a)))break;a++}if(a<i&&u.charCodeAt(a)!==10){if(E){E="",a=v,s=d;while(a<i){if(!he(u.charCodeAt(a)))break;a++}}}if(a<i&&u.charCodeAt(a)!==10)return!1;let L=ya(u.slice(1,f));if(!L)return!1;if(n)return!0;if(typeof e.env.references>"u")e.env.references={};if(typeof e.env.references[L]>"u")e.env.references[L]={title:E,href:x};let C=e.push("reference_definition","",0);C.map=[t,s],C.hidden=!0;let T=Object.create(null);return T.label=L,C.meta=T,e.line=s,!0}var kx=["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"],Wl=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Gl="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Cx=new RegExp(`^(?:${Wl}|${Gl}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Tx=new RegExp(`^(?:${Wl}|${Gl})`),rr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${kx.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${Tx.source}\\s*$`),/^$/,!1]];function Ax(e,t,r,n){let a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(e.src.charCodeAt(a)!==60)return!1;let s=e.src.slice(a,i),o=0;for(;o<rr.length;o++)if(rr[o][0].test(s))break;if(o===rr.length)return!1;if(n)return rr[o][2];let u=t+1,f=rr[o][1].test("");if(!rr[o][1].test(s))for(;u<r;u++){if(e.sCount[u]<e.blkIndent){if(f||!e.isEmpty(u))break}if(a=e.bMarks[u]+e.tShift[u],i=e.eMarks[u],s=e.src.slice(a,i),rr[o][1].test(s)){if(s.length!==0)u++;break}}e.line=u;let p=e.push("html_block","",0);return p.map=[t,u],p.content=e.getLines(t,u,e.blkIndent,!0),!0}function Dx(e,t,r,n){let a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(a);if(s!==35||a>=i)return!1;let o=1;s=e.src.charCodeAt(++a);while(s===35&&a<i&&o<=6)o++,s=e.src.charCodeAt(++a);if(o>6||a<i&&!he(s))return!1;if(n)return!0;i=e.skipSpacesBack(i,a);let u=e.skipCharsBack(i,35,a);if(u>a&&he(e.src.charCodeAt(u-1)))i=u;e.line=t+1;let f=e.push("heading_open",`h${o}`,1);f.markup="########".slice(0,o),f.map=[t,e.line];let p=e.push("inline","",0);p.content=va(e.src.slice(a,i)),p.map=[t,e.line],p.children=[];let x=e.push("heading_close",`h${o}`,-1);return x.markup="########".slice(0,o),!0}function Rx(e,t,r){let n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.parentType;e.parentType="paragraph";let i=0,s,o=t+1;for(;o<r&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let d=e.bMarks[o]+e.tShift[o],g=e.eMarks[o];if(d<g){if(s=e.src.charCodeAt(d),s===45||s===61){if(d=e.skipChars(d,s),d=e.skipSpaces(d),d>=g){i=s===61?1:2;break}}}}if(e.sCount[o]<0)continue;let v=!1;for(let d=0,g=n.length;d<g;d++)if(n[d](e,o,r,!0)){v=!0;break}if(v)break}if(!i)return e.parentType=a,!1;let u=va(e.getLines(t,o,e.blkIndent,!1));e.line=o+1;let f=e.push("heading_open",`h${i}`,1);f.markup=String.fromCharCode(s),f.map=[t,e.line];let p=e.push("inline","",0);p.content=u,p.map=[t,e.line-1],p.children=[];let x=e.push("heading_close",`h${i}`,-1);return x.markup=String.fromCharCode(s),e.parentType=a,!0}function Sx(e,t,r){let n=e.md.block.ruler.getRules("paragraph"),a=e.parentType,i=t+1;e.parentType="paragraph";for(;i<r&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]<0)continue;let f=!1;for(let p=0,x=n.length;p<x;p++)if(n[p](e,i,r,!0)){f=!0;break}if(f)break}let s=va(e.getLines(t,i,e.blkIndent,!1));e.line=i;let o=e.push("paragraph_open","p",1);o.map=[t,e.line];let u=e.push("inline","",0);return u.content=s,u.map=[t,e.line],u.children=[],e.push("paragraph_close","p",-1),e.parentType=a,!0}var _a=[["table",xx,["paragraph","reference"]],["code",gx],["fence",bx,["paragraph","reference","blockquote","list"]],["blockquote",_x,["paragraph","reference","blockquote","list"]],["hr",yx,["paragraph","reference","blockquote","list"]],["list",Ex,["paragraph","reference","blockquote"]],["reference",wx],["html_block",Ax,["paragraph","reference","blockquote"]],["heading",Dx,["paragraph","reference","blockquote"]],["lheading",Rx],["paragraph",Sx]],Jl=class{constructor(){O(this,"ruler",new cn),O(this,"State",Vl);for(let e=0;e<_a.length;e++)this.ruler.push(_a[e][0],_a[e][1],{alt:(_a[e][2]||[]).slice()})}tokenize(e,t,r){let n=this.ruler.getRules(""),a=n.length,i=e.md.options.maxNesting,s=t,o=!1;while(s<r){if(e.line=s=e.skipEmptyLines(s),s>=r)break;if(e.sCount[s]<e.blkIndent)break;if(e.level>=i){e.line=r;break}let u=e.line,f=!1;for(let p=0;p<a;p++)if(f=n[p](e,s,r,!1),f){if(u>=e.line)throw Error("block rule didn't increment state.line");break}if(!f)throw Error("none of the block rules matched");if(e.tight=!o,e.isEmpty(e.line-1))o=!0;if(s=e.line,s<r&&e.isEmpty(s))o=!0,s++,e.line=s}}parse(e,t,r,n){if(!e)return;let a=new this.State(e,t,r,n);this.tokenize(a,a.line,a.lineMax)}},Yl=class{constructor(e,t,r,n){O(this,"pos",0),O(this,"level",0),O(this,"pending",""),O(this,"pendingLevel",0),O(this,"cache",{}),O(this,"backticks",{}),O(this,"backticksScanned",!1),O(this,"linkLevel",0),O(this,"delimiters",[]),O(this,"_prev_delimiters",[]),O(this,"Token",nr),this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.posMax=this.src.length}pushPending(){let e=new nr("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,r){if(this.pending)this.pushPending();let n=new nr(e,t,r),a=void 0;if(r<0)this.level--,this.delimiters=this._prev_delimiters.pop();if(n.level=this.level,r>0)this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],a={delimiters:this.delimiters};return this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(a),n}scanDelims(e,t){let r=this.posMax,n=this.src.charCodeAt(e),a;if(e===0)a=32;else if(e===1){if(a=this.src.charCodeAt(0),(a&63488)===55296)a=65533}else if(a=this.src.charCodeAt(e-1),(a&64512)===56320){let g=this.src.charCodeAt(e-2);a=(g&64512)===55296?65536+(g-55296<<10)+(a-56320):65533}else if((a&64512)===55296)a=65533;let i=e;while(i<r&&this.src.charCodeAt(i)===n)i++;let s=i-e,o=i<r?this.src.charCodeAt(i):32;if((o&64512)===55296){let g=this.src.charCodeAt(i+1);o=(g&64512)===56320?65536+(o-55296<<10)+(g-56320):65533}else if((o&64512)===56320)o=65533;let u=sn(a)||an(a),f=sn(o)||an(o),p=nn(a),x=nn(o),v=!x&&(!f||p||u),d=!p&&(!u||x||f);return{can_open:v&&(t||!d||u),can_close:d&&(t||!v||f),length:s}}};function Nx(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Lx(e,t){let r=e.pos;while(r<e.posMax&&!Nx(e.src.charCodeAt(r)))r++;if(r===e.pos)return!1;if(!t)e.pending+=e.src.slice(e.pos,r);return e.pos=r,!0}function Ix(e){return e>=65&&e<=90||e>=97&&e<=122}function Ox(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function Fx(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;let{pos:r,posMax:n}=e;if(r+3>n)return!1;if(e.src.charCodeAt(r)!==58)return!1;if(e.src.charCodeAt(r+1)!==47)return!1;if(e.src.charCodeAt(r+2)!==47)return!1;let a=r-Math.min(10,e.pending.length,r),i=r;while(i>a&&Ox(e.src.charCodeAt(i-1)))i--;if(i===r||!Ix(e.src.charCodeAt(i)))return!1;let s=r-i,o=e.md.linkify.matchAtStart(e.src.slice(i));if(!o)return!1;let u=o.url;if(u.length<=s)return!1;let f=u.length;while(f>0&&u.charCodeAt(f-1)===42)f--;if(f!==u.length)u=u.slice(0,f);let p=e.md.normalizeLink(u);if(!e.md.validateLink(p))return!1;if(!t){e.pending=e.pending.slice(0,-s);let x=e.push("link_open","a",1);x.attrs=[["href",p]],x.markup="linkify",x.info="auto";let v=e.push("text","",0);v.content=e.md.normalizeLinkText(u);let d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=u.length-s,!0}function Mx(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;let n=e.pending.length-1,a=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;while(i>=1&&e.pending.charCodeAt(i-1)===32)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);r++;while(r<a&&he(e.src.charCodeAt(r)))r++;return e.pos=r,!0}var cs=[];for(let e=0;e<256;e++)cs.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){cs[e.charCodeAt(0)]=1});function Px(e,t){let{pos:r,posMax:n}=e;if(e.src.charCodeAt(r)!==92)return!1;if(r++,r>=n)return!1;let a=e.src.charCodeAt(r);if(a===10){if(!t)e.push("hardbreak","br",0);r++;while(r<n){if(a=e.src.charCodeAt(r),!he(a))break;r++}return e.pos=r,!0}if(a===32){if(!t){let o=e.push("text_special","",0);o.content="\\",o.markup="\\",o.info="escape"}return e.pos=r,!0}let i=e.src[r];if(a>=55296&&a<=56319&&r+1<n){let o=e.src.charCodeAt(r+1);if(o>=56320&&o<=57343)i+=e.src[r+1],r++}let s="\\"+i;if(!t){let o=e.push("text_special","",0);if(a<256&&cs[a]!==0)o.content=i;else o.content=s;o.markup=s,o.info="escape"}return e.pos=r+1,!0}function qx(e){let t={},r=0;while((r=e.indexOf("`",r))!==-1){let n=r;while(e.charCodeAt(++r)===96);t[r-n]=n}return t}function jx(e,t){var r;let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let a=e.posMax,i=n+1;while(i<a&&e.src.charCodeAt(i)===96)i++;let s=e.src.slice(n,i),o=s.length;if(!e.backticksScanned)e.backticks=qx(e.src),e.backticksScanned=!0;if(((r=e.backticks[o])!==null&&r!==void 0?r:-1)>=i){let u=i,f;while((f=e.src.indexOf("`",u))!==-1&&f<a){u=f+1;while(e.src.charCodeAt(u)===96)u++;if(u>a)break;if(u-f===o){if(!t){let p=e.push("code_inline","code",0);p.markup=s;let x=e.src.slice(i,f).replace(/\n/g," ");if(x.startsWith(" ")&&x.endsWith(" ")&&/[^ ]/.test(x))x=x.slice(1,-1);p.content=x}return e.pos=u,!0}}}if(!t)e.pending+=s;return e.pos=i,!0}function Bx(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t)return!1;if(n!==126)return!1;let a=e.scanDelims(e.pos,!0),i=a.length,s=String.fromCharCode(n);if(i<2)return!1;let o;if(i%2)o=e.push("text","",0),o.content=s,i--;for(let u=0;u<i;u+=2)o=e.push("text","",0),o.content=s+s,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:a.can_open,close:a.can_close});return e.pos+=a.length,!0}function Il(e,t){let r,n=[],a=t.length;for(let i=0;i<a;i++){let s=t[i];if(s.marker!==126)continue;if(s.end===-1)continue;let o=t[s.end];if(r=e.tokens[s.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=e.tokens[o.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~")n.push(o.token-1)}while(n.length){let i=n.pop(),s=i+1;while(s<e.tokens.length&&e.tokens[s].type==="s_close")s++;if(s--,i!==s)r=e.tokens[s],e.tokens[s]=e.tokens[i],e.tokens[i]=r}}function Ux(e){let t=e.tokens_meta,r=e.tokens_meta.length;Il(e,e.delimiters);for(let a=0;a<r;a++){var n;let i=(n=t[a])===null||n===void 0?void 0:n.delimiters;if(i)Il(e,i)}}var Xl={tokenize:Bx,postProcess:Ux};function Hx(e,t){let r=e.pos,n=e.src.charCodeAt(r);if(t)return!1;if(n!==95&&n!==42)return!1;let a=e.scanDelims(e.pos,n===42);for(let i=0;i<a.length;i++){let s=e.push("text","",0);s.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:a.length,token:e.tokens.length-1,end:-1,open:a.can_open,close:a.can_close})}return e.pos+=a.length,!0}function Ol(e,t){let r=t.length;for(let n=r-1;n>=0;n--){let a=t[n];if(a.marker!==95&&a.marker!==42)continue;if(a.end===-1)continue;let i=t[a.end],s=n>0&&t[n-1].end===a.end+1&&t[n-1].marker===a.marker&&t[n-1].token===a.token-1&&t[a.end+1].token===i.token+1,o=String.fromCharCode(a.marker),u=e.tokens[a.token];u.type=s?"strong_open":"em_open",u.tag=s?"strong":"em",u.nesting=1,u.markup=s?o+o:o,u.content="";let f=e.tokens[i.token];if(f.type=s?"strong_close":"em_close",f.tag=s?"strong":"em",f.nesting=-1,f.markup=s?o+o:o,f.content="",s)e.tokens[t[n-1].token].content="",e.tokens[t[a.end+1].token].content="",n--}}function $x(e){let t=e.tokens_meta,r=e.tokens_meta.length;Ol(e,e.delimiters);for(let a=0;a<r;a++){var n;let i=(n=t[a])===null||n===void 0?void 0:n.delimiters;if(i)Ol(e,i)}}var Kl={tokenize:Hx,postProcess:$x};function zx(e,t){let r,n,a,i,s="",o="",u=e.pos,f=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let{pos:p,posMax:x}=e,v=e.pos+1,d=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(d<0)return!1;let g=d+1;if(g<x&&e.src.charCodeAt(g)===40){f=!1,g++;for(;g<x;g++)if(r=e.src.charCodeAt(g),!he(r)&&r!==10)break;if(g>=x)return!1;if(u=g,a=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),a.ok){if(s=e.md.normalizeLink(a.str),e.md.validateLink(s))g=a.pos;else s="";u=g;for(;g<x;g++)if(r=e.src.charCodeAt(g),!he(r)&&r!==10)break;if(a=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<x&&u!==g&&a.ok){o=a.str,g=a.pos;for(;g<x;g++)if(r=e.src.charCodeAt(g),!he(r)&&r!==10)break}}if(g>=x||e.src.charCodeAt(g)!==41)f=!0;g++}if(f){if(typeof e.env.references>"u")return!1;if(g<x&&e.src.charCodeAt(g)===91)if(u=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0)n=e.src.slice(u,g++);else g=d+1;else g=d+1;if(!n)n=e.src.slice(v,d);if(n=ya(n),i=e.env.references[n],!i)return e.pos=p,!1;s=i.href,o=i.title}if(!t){e.pos=v,e.posMax=d;let A=e.push("link_open","a",1),E=[["href",s]];if(A.attrs=E,o)E.push(["title",o]);if(n){let L=Object.create(null);L.label=n,A.meta=L}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=x,!0}function Vx(e,t){let r,n,a,i,s,o,u,f,p="",x=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33)return!1;if(e.src.charCodeAt(e.pos+1)!==91)return!1;let d=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(i=g+1,i<v&&e.src.charCodeAt(i)===40){i++;for(;i<v;i++)if(r=e.src.charCodeAt(i),!he(r)&&r!==10)break;if(i>=v)return!1;if(f=i,o=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),o.ok)if(p=e.md.normalizeLink(o.str),e.md.validateLink(p))i=o.pos;else p="";f=i;for(;i<v;i++)if(r=e.src.charCodeAt(i),!he(r)&&r!==10)break;if(o=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<v&&f!==i&&o.ok){u=o.str,i=o.pos;for(;i<v;i++)if(r=e.src.charCodeAt(i),!he(r)&&r!==10)break}else u="";if(i>=v||e.src.charCodeAt(i)!==41)return e.pos=x,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<v&&e.src.charCodeAt(i)===91)if(f=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0)a=e.src.slice(f,i++);else i=g+1;else i=g+1;if(!a)a=e.src.slice(d,g);if(a=ya(a),s=e.env.references[a],!s)return e.pos=x,!1;p=s.href,u=s.title}if(!t){n=e.src.slice(d,g);let A=[];e.md.inline.parse(n,e.md,e.env,A);let E=e.push("image","img",0),L=[["src",p],["alt",""]];if(E.attrs=L,E.children=A,E.content=n,u)L.push(["title",u]);if(a){let C=Object.create(null);C.label=a,E.meta=C}}return e.pos=i,e.posMax=v,!0}var Wx=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Gx=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Jx(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;let{pos:n,posMax:a}=e;for(;;){if(++r>=a)return!1;let s=e.src.charCodeAt(r);if(s===60)return!1;if(s===62)break}let i=e.src.slice(n+1,r);if(Gx.test(i)){let s=e.md.normalizeLink(i);if(!e.md.validateLink(s))return!1;if(!t){let o=e.push("link_open","a",1);o.attrs=[["href",s]],o.markup="autolink",o.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(i);let f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=i.length+2,!0}if(Wx.test(i)){let s=e.md.normalizeLink(`mailto:${i}`);if(!e.md.validateLink(s))return!1;if(!t){let o=e.push("link_open","a",1);o.attrs=[["href",s]],o.markup="autolink",o.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(i);let f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=i.length+2,!0}return!1}function Yx(e){return/^<a[>\s]/i.test(e)}function Xx(e){return/^<\/a\s*>/i.test(e)}function Kx(e){let t=e|32;return t>=97&&t<=122}function Zx(e,t){if(!e.md.options.html)return!1;let{posMax:r,pos:n}=e;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;let a=e.src.charCodeAt(n+1);if(a!==33&&a!==63&&a!==47&&!Kx(a))return!1;let i=e.src.slice(n).match(Cx);if(!i)return!1;if(!t){let s=e.push("html_inline","",0);if(s.content=i[0],Yx(s.content))e.linkLevel++;if(Xx(s.content))e.linkLevel--}return e.pos+=i[0].length,!0}var Qx=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,eg=/^&([a-z][a-z0-9]{1,31});/i;function tg(e,t){let{pos:r,posMax:n}=e;if(e.src.charCodeAt(r)!==38)return!1;if(r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){let a=e.src.slice(r).match(Qx);if(a){if(!t){let i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0);s.content=os(i)?rn(i):rn(65533),s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}else{let a=e.src.slice(r).match(eg);if(a){let i=ga(a[0]);if(i!==a[0]){if(!t){let s=e.push("text_special","",0);s.content=i,s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function Fl(e){let t={},r=e.length;if(!r)return;let n=0,a=-2,i=[];for(let s=0;s<r;s++){let o=e[s];if(i.push(0),e[n].marker!==o.marker||a!==o.token-1)n=s;if(a=o.token,o.length=o.length||0,!o.close)continue;if(!t.hasOwnProperty(o.marker))t[o.marker]=[-1,-1,-1,-1,-1,-1];let u=t[o.marker][(o.open?3:0)+o.length%3],f=n-i[n]-1,p=f;for(;f>u;f-=i[f]+1){let x=e[f];if(x.marker!==o.marker)continue;if(x.open&&x.end<0){let v=!1;if(x.close||o.open){if((x.length+o.length)%3===0){if(x.length%3!==0||o.length%3!==0)v=!0}}if(!v){let d=f>0&&!e[f-1].open?i[f-1]+1:0;i[s]=s-f+d,i[f]=d,o.open=!1,x.end=s,x.close=!1,p=-1,a=-2;break}}}if(p!==-1)t[o.marker][(o.open?3:0)+(o.length||0)%3]=p}}function rg(e){let t=e.tokens_meta,r=e.tokens_meta.length;Fl(e.delimiters);for(let a=0;a<r;a++){var n;let i=(n=t[a])===null||n===void 0?void 0:n.delimiters;if(i)Fl(i)}}function ng(e){let t,r,n=0,a=e.tokens,i=e.tokens.length;for(t=r=0;t<i;t++){if(a[t].nesting<0)n--;if(a[t].level=n,a[t].nesting>0)n++;if(a[t].type==="text"&&t+1<i&&a[t+1].type==="text")a[t+1].content=a[t].content+a[t+1].content;else{if(t!==r)a[r]=a[t];r++}}if(t!==r)a.length=r}var as=[["text",Lx],["linkify",Fx],["newline",Mx],["escape",Px],["backticks",jx],["strikethrough",Xl.tokenize],["emphasis",Kl.tokenize],["link",zx],["image",Vx],["autolink",Jx],["html_inline",Zx],["entity",tg]],is=[["balance_pairs",rg],["strikethrough",Xl.postProcess],["emphasis",Kl.postProcess],["fragments_join",ng]],Zl=class{constructor(){O(this,"ruler",new cn),O(this,"ruler2",new cn),O(this,"State",Yl);for(let e=0;e<as.length;e++)this.ruler.push(as[e][0],as[e][1]);for(let e=0;e<is.length;e++)this.ruler2.push(is[e][0],is[e][1])}skipToken(e){let t=e.pos,r=this.ruler.getRules(""),n=r.length,a=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let s=!1;if(e.level<a){for(let o=0;o<n;o++)if(e.level++,s=r[o](e,!0),e.level--,s){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;if(!s)e.pos++;i[t]=e.pos}tokenize(e){let t=this.ruler.getRules(""),r=t.length,n=e.posMax,a=e.md.options.maxNesting;while(e.pos<n){let i=e.pos,s=!1;if(e.level<a){for(let o=0;o<r;o++)if(s=t[o](e,!1),s){if(i>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}if(e.pending)e.pushPending()}parse(e,t,r,n){let a=new this.State(e,t,r,n);this.tokenize(a);let i=this.ruler2.getRules(""),s=i.length;for(let o=0;o<s;o++)i[o](a)}},ag={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},ig=/^(vbscript|javascript|file|data):/,sg=/^data:image\/(gif|png|jpeg|webp);/,Ml=["http:","https:","mailto:"],mt=class{validateLink(e){let t=e.trim().toLowerCase();return ig.test(t)?sg.test(t):!0}normalizeLink(e){let t=en(e,!0);if(t.hostname){if(!t.protocol||Ml.indexOf(t.protocol)>=0)try{t.hostname=ss.default.toASCII(t.hostname)}catch(r){}}if(t.auth)t.auth=Ut(t.auth);if(t.hostname)t.hostname=Ut(t.hostname);if(t.pathname)t.pathname=Ut(t.pathname);if(t.search)t.search=Ut(t.search);if(t.hash)t.hash=Ut(t.hash);return _r(t)}normalizeLinkText(e){let t=en(e,!0);if(t.hostname){if(!t.protocol||Ml.indexOf(t.protocol)>=0)try{t.hostname=ss.default.toUnicode(t.hostname)}catch(r){}}return Qr(_r(t),Qr.defaultChars+"%")}constructor(...e){O(this,"inline",new Zl),O(this,"block",new Jl),O(this,"core",new zl),O(this,"renderer",new Ul),O(this,"linkify",new gl),O(this,"utils",Dm),O(this,"helpers",Object.assign({},zm));let[t,r]=e;if(typeof t==="string"){if(this.configure(t),r)this.set(r)}else this.configure("default"),this.set(t||{})}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e==="string"){let a=e;if(t=ag[a],!t)throw Error(`Wrong 'markdown-it' preset "${a}", check name`)}else t=e;if(!t)throw Error("Wrong `markdown-it` preset, can't be empty");if(t.options)this.options={...t.options};let r=t.components;if(r){var n;["core","block","inline"].forEach((i)=>{var s;let o=(s=r[i])===null||s===void 0?void 0:s.rules;if(o)this[i].ruler.enableOnly(o)});let a=(n=r.inline)===null||n===void 0?void 0:n.rules2;if(a)this.inline.ruler2.enableOnly(a)}return this}enable(e,t=!1){let r=[];if(!Array.isArray(e))e=[e];["core","block","inline"].forEach((a)=>{r=r.concat(this[a].ruler.enable(e,!0))}),r=r.concat(this.inline.ruler2.enable(e,!0));let n=e.filter((a)=>r.indexOf(a)<0);if(n.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): ${n}`);return this}disable(e,t=!1){let r=[];if(!Array.isArray(e))e=[e];["core","block","inline"].forEach((a)=>{r=r.concat(this[a].ruler.disable(e,!0))}),r=r.concat(this.inline.ruler2.disable(e,!0));let n=e.filter((a)=>r.indexOf(a)<0);if(n.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): ${n}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!=="string")throw Error("Input data should be a String");let r=new this.core.State(e,this,t);return this.core.process(r),r.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};O(mt,"Token",nr);O(mt,"Ruler",cn);O(mt,"Renderer",Ul);O(mt,"ParserCore",zl);O(mt,"StateCore",Hl);O(mt,"ParserBlock",Jl);O(mt,"StateBlock",Vl);O(mt,"ParserInline",Zl);O(mt,"StateInline",Yl);var Ql=ql(mt);var If=Ni(kf(),1),Of=Ni(Lf(),1),my=new Ql({html:!1,linkify:!1,typographer:!1,breaks:!1}),Oo=new If.default({codeBlockStyle:"fenced",headingStyle:"atx",bulletListMarker:"-",emDelimiter:"*",strongDelimiter:"**"});Oo.use(Of.gfm);Oo.addRule("escapedTableCellPipes",{filter:["td","th"],replacement:(e,t)=>{let n=t.parentNode?.childNodes,a=n!==void 0&&n[0]===t,i=e.trim().replace(/\s*\n+\s*/g," ");return`${a?"| ":" "}${i.replace(/\|/g,"\\|")} |`}});var Pr=(e)=>my.render(e).trim(),xy=(e)=>{let t=e.split(`
122
- `),r=[],n,a=[];for(let i of t){let s=/^\s*(`{3,}|~{3,})\s*(.*)$/.exec(i);if(s!==null){let g=s[1]??"",A=(s[2]??"").trim();if(n===void 0)n=g;else if(g[0]===n[0]&&g.length>=n.length&&A==="")n=void 0;r.push(i);continue}if(n!==void 0){r.push(i);continue}let o=/^(\s*)([-*+]|\d+[.)])(\s+)(.*)$/.exec(i);if(o===null){if(i.trim()===""){r.push("");continue}let g=/^(\s+)(\S.*)$/.exec(i);if(g!==null&&a.length>0){let A=(g[1]??"").length,E=[...a].reverse().find((L)=>A>L.source);if(E!==void 0){r.push(`${" ".repeat(E.childIndent)}${g[2]??""}`);continue}}if(g===null)a.length=0;r.push(i);continue}let u=(o[1]??"").length,f=o[2]??"-";while(a.length>0&&u<(a[a.length-1]?.source??0))a.pop();let p=a[a.length-1],x=p!==void 0&&u>p.source;if(!x&&p!==void 0)a.pop();let v=a[a.length-1],d=x&&p!==void 0?p.childIndent:v?.childIndent??0;a.push({source:u,childIndent:d+f.length+1}),r.push(`${" ".repeat(d)}${f} ${o[4]}`)}return r.join(`
123
- `)},gy=(e)=>e.replace(/<table[^>]*>[\s\S]*?<\/table>/gi,(t)=>{let r=/<tr[^>]*>[\s\S]*?<\/tr>/i.exec(t);if(r===null)return t;if(/<th[\s>]/i.test(r[0]))return t;let n="",i=t.replace(/<caption[^>]*>([\s\S]*?)<\/caption>/i,(s,o)=>(n=o.replace(/<[^>]+>/g,"").trim(),"")).replace(/<tr[^>]*>[\s\S]*?<\/tr>/i,(s)=>s.replace(/<td(\s[^>]*)?>/gi,"<th$1>").replace(/<\/td>/gi,"</th>"));return n===""?i:`<p>${n}</p>${i}`}),qr=(e)=>{if(e==null||e.trim()==="")return"";return xy(Oo.turndown(gy(e))).trim()};var te=(e,t)=>{if(e===void 0||e.trim()==="")throw new N(`Expected ${t}.`);return e.trim()},Ue=(e,t)=>te(I(e,t),`--${t} <value>`),ot=(e,t,r)=>{let n=e.toLowerCase();if(!t.includes(n))throw new N(`--${r} expects ${t.join(", ")}; got "${e}".`);return n},Jt=(e,t)=>{if(e==="none")return null;let r=new Date(`${e}T00:00:00Z`);if(!/^\d{4}-\d{2}-\d{2}$/.test(e)||Number.isNaN(r.getTime())||r.toISOString().slice(0,10)!==e)throw new N(`--${t} expects YYYY-MM-DD or none; got "${e}".`);return e},ai=(e)=>{if(!/^#[0-9a-f]{6}$/i.test(e))throw new N("--color expects a six-digit hex color, such as #336699.");return e},Fo=(e)=>{if(e==="none"||e==="")return[];let t=e.split(",").map((r)=>r.trim());if(t.some((r)=>r===""))throw new N("Empty reference in comma-separated list.");return[...new Set(t)]},Rt=(e)=>{if(Object.keys(e).length===0)throw new N("Nothing to change. Pass at least one field flag.")};var Mo=async(e,t,r)=>(await e.listAll(`projects/${t}/issues/${r}/comments/`,{query:{fields:"id,comment_html,created_at,actor",per_page:100}})).map((a)=>({id:a.id,author:typeof a.actor==="object"&&a.actor!==null?a.actor.display_name??a.actor.id:a.actor??"?",created_at:a.created_at,body:qr(a.comment_html)})).sort((a,i)=>a.created_at.localeCompare(i.created_at)),Ff=async(e,t)=>{let r=te(t.positionals[0],"a work item reference"),{issue:n,projectId:a}=await $e(e,r,I(t,"project"));return Mo(e,a,n.id)},ii=(e)=>e.length===0?"no comments":e.map((t)=>`${t.created_at} ${t.author} [${t.id}]
2
+ import{b as rn,c as sn,d as We}from"./chunks/cli-09mmhmq4.js";import{B as Ee,D as Vt,E as Bt,G as Kt,H as Yt,e as F,f as Z,g as y,h as x,i as k,j as mt,k as j,m as U,n as D,o as p,p as b,q as R,r as S,s as se,t as we,u as v,v as $e}from"./chunks/cli-3n3mxdd7.js";import{I as en,M as tn,N as nn,O as w,P as ae}from"./chunks/cli-ajj9jddd.js";import{$ as Qt,Q as Me,R as Fe,S as Ge,T,U as L,V as Zt,W as Xt,X as W,Y as d,Z as a,_ as P,aa as oe}from"./chunks/cli-q37j0y8m.js";import{ea as Le,fa as h,ga as Ue,ja as C,ka as le,la as N,ma as g,na as be}from"./chunks/cli-jq1agk1s.js";var K=()=>({groups:Me,flow:Ge,notes:Fe,globalOptions:L}),pe=(e)=>`${e.name}${e.args===void 0?"":` ${e.args}`}`,B=(e,t,n)=>{let s=e.split(/\s+/),r=[],o="";for(let i of s)if(o==="")o=i;else if(`${o} ${i}`.length+n.length<=t)o=`${o} ${i}`;else r.push(n+o),o=i;if(o!=="")r.push(n+o);return r},Y=(e)=>{let t=[];for(let n of e.groups){if(t.push(n.title),n.summary!==void 0)t.push(...B(n.summary,96," "),"");t.push(...h(n.commands.map((s)=>({name:pe(s),text:s.alias===void 0?s.summary:`${s.summary} (alias: ${s.alias})`})))),t.push("")}t.push("FLOW"),t.push(...h(e.flow.map((n)=>({name:n.command,text:n.summary})))),t.push(""),t.push(J(e.globalOptions),""),t.push("HOW THIS TOOL BEHAVES");for(let n of e.notes)t.push(` ${n.title}`),t.push(...B(n.body,96," ")),t.push("");return t.push("Flags and examples for one command: i-plane <command> --help"),t.join(`
3
+ `)},J=(e=L)=>["GLOBAL OPTIONS",...h(e.map((t)=>({name:`${t.flag}${t.value===void 0?"":` ${t.value}`}`,text:t.summary})))].join(`
4
+ `),me=(e,t=!0)=>{let{command:n}=e,s=[`i-plane ${pe(n)}`,"",...B(n.summary,96," ")];if(n.alias!==void 0)s.push("",` alias: ${n.alias}`);let r=(n.options??[]).filter((o)=>o.flag!=="--json");if(r.length>0)s.push("","OPTIONS"),s.push(...h(r.map((o)=>({name:o.value===void 0?o.flag:`${o.flag} ${o.value}`,text:`${o.required===!0?"Required. ":""}${o.summary}`}))));if(n.notes!==void 0&&n.notes.length>0){s.push("","USAGE NOTES");for(let o of n.notes)s.push(...B(o,96," "),"");if(s[s.length-1]==="")s.pop()}if(n.examples!==void 0&&n.examples.length>0){s.push("","EXAMPLES");for(let o of n.examples)s.push(` ${o}`)}if(n.next!==void 0&&n.next.length>0){s.push("","USUALLY NEXT");for(let o of n.next)s.push(` ${o}`)}if(t)s.push("",J(e.globalOptions));return s.join(`
5
+ `)},He=(e,t)=>{let n=[t,"",` i-plane ${pe(e)}`];if(e.examples!==void 0&&e.examples.length>0){n.push("");for(let r of e.examples)n.push(` ${r}`)}let s=(e.options??[]).filter((r)=>r.flag!=="--json"&&r.value!==void 0);if(s.length>0)n.push(""," flags:"),n.push(...h(s.map((r)=>({name:`${r.flag} ${r.value}`,text:`${r.required===!0?"Required. ":""}${r.summary}`}))," "));return n.push("",` full help: i-plane ${e.name} --help`),n.join(`
6
+ `)};var q=["urgent","high","medium","low","none"],fe=(e)=>{let t=q.indexOf(e);return t===-1?q.length:t},M=["backlog","unstarted","started","completed","cancelled"],E=(e)=>{let t=M.indexOf(e);return t===-1?M.length:t};var Ve=async(e,t)=>{let n=await Z(e),s=await Promise.all(n.map(async(r)=>{let o=await e.request(`projects/${r.id}/summary/`);return{identifier:r.identifier,name:r.name,counts:o.counts}}));return{workspace:t.workspace.value,url:t.url.value,projects:s}},Be=(e)=>{let t=[`WORKSPACE ${e.workspace} ${e.url}`,""];if(e.projects.length===0)t.push("no projects yet");else t.push("PROJECTS"),t.push(...h(e.projects.map((n)=>({name:n.identifier,text:`${n.name} — ${n.counts.issues} work items, ${n.counts.cycles} cycles, ${n.counts.modules} modules`}))));return t.push("","Next: i-plane list <PROJECT> Map: i-plane guide"),t.join(`
7
+ `)},Ke=(e)=>e.length===0?"no projects":h(e.map((t)=>({name:t.identifier,text:g(t.name)})),"").join(`
8
+ `),Ye=async(e,t)=>{let n=t.positionals[0]??a(t,"project");if(n===void 0)throw new d("Which project?");let s=await y(e,n);return[...await k(e,s.id)].sort((o,i)=>E(o.group)-E(i.group))},Je=(e)=>h(e.map((t)=>({name:t.name,text:t.group+(t.default===!0?" (default)":"")})),"").join(`
9
+ `),Ze=async(e,t)=>{let n=t.positionals[0]??a(t,"project");if(n===void 0)throw new d("Which project?");let s=await y(e,n);return e.listAll(`projects/${s.id}/labels/`,{query:{fields:"id,name,color",per_page:100}})},Xe=(e)=>e.length===0?"no labels":e.map((t)=>t.name).join(`
10
+ `),Qe=(e)=>e.listAll("members-lite/",{query:{per_page:100}}),et=(e)=>e.length===0?"no members":h(e.map((t)=>({name:t.display_name??t.id,text:t.email??""})),"").join(`
11
+ `),tt=(e)=>({url:{value:e.url.value,origin:e.url.origin},workspace:{value:e.workspace.value,origin:e.workspace.origin},token:{value:We(e.token.value),origin:e.token.origin},configPath:e.configPath}),nt=(e)=>h([{name:"url",text:`${e.url.value} (${e.url.origin})`},{name:"workspace",text:`${e.workspace.value} (${e.workspace.origin})`},{name:"token",text:`${e.token.value} (${e.token.origin})`},{name:"file",text:e.configPath},...e.pages?[{name:"pages",text:`${e.pages.mode}: ${e.pages.reason}${e.pages.expiresAt?` Valid until ${e.pages.expiresAt}.`:""}`}]:[]],"").join(`
12
+ `),rt=(e)=>e.request("/api/v1/users/me/"),st=(e)=>h([{name:"name",text:e.display_name??"?"},{name:"email",text:e.email??"?"},{name:"id",text:e.id}],"").join(`
13
+ `);var ye=async(e,t,n)=>(await e.listAll(`projects/${t}/issues/${n}/comments/`,{query:{fields:"id,comment_html,created_at,actor",per_page:100}})).map((r)=>({id:r.id,author:typeof r.actor==="object"&&r.actor!==null?r.actor.display_name??r.actor.id:r.actor??"?",created_at:r.created_at,body:D(r.comment_html)})).sort((r,o)=>r.created_at.localeCompare(o.created_at)),ot=async(e,t)=>{let n=p(t.positionals[0],"a work item reference"),{issue:s,projectId:r}=await x(e,n,a(t,"project"));return ye(e,r,s.id)},X=(e)=>e.length===0?"no comments":e.map((t)=>`${t.created_at} ${t.author} [${t.id}]
124
14
 
125
15
  ${t.body}`).join(`
126
16
 
127
- `);var si={pending:-2,rejected:-1,snoozed:0,accepted:1,duplicate:2},fr=(e,t)=>{let r=e.issue_detail??(typeof e.issue==="object"?e.issue:void 0),n=typeof e.issue==="string"?e.issue:e.issue.id;return{id:e.id,issueId:n,ref:r?.sequence_id===void 0?n:`${t.identifier}-${r.sequence_id}`,name:ge(r?.name??n),status:Object.entries(si).find(([,a])=>a===e.status)?.[0]??String(e.status),statusCode:e.status,priority:r?.priority??"none",description:qr(r?.description_html),snoozedUntil:e.snoozed_till??null,duplicateTo:e.duplicate_to??null}},Po=(e,t)=>e.listAll(`projects/${t}/intake-issues/`,{query:{per_page:100}}),by=async(e,t,r)=>{if(tr(r))return e.request(`projects/${t.id}/intake-issues/${r}/`);let a=(await Po(e,t.id)).find((i)=>fr(i,t).ref.toLowerCase()===r.toLowerCase());if(a===void 0)throw new N(`No intake work item matches "${r}". Use its readable reference or underlying work item UUID.`);return a},Mf=async(e,t,r)=>{if(tr(r))return{issueId:r,ref:r};let n=(await Po(e,t.id)).find((a)=>fr(a,t).ref.toLowerCase()===r.toLowerCase());if(n!==void 0){let a=fr(n,t);return{issueId:a.issueId,ref:a.ref}}try{let a=await $e(e,r,t.id,"id,project,sequence_id");if(a.projectId!==t.id)throw new N(`${r} does not belong to project ${t.identifier}.`);return{issueId:a.issue.id,ref:`${t.identifier}-${a.issue.sequence_id}`}}catch(a){if(a instanceof Le&&a.status===404)throw new N(`Cannot resolve intake reference "${r}". The server can hide expired snoozes from both lookup endpoints. Pass the underlying work item UUID (issueId in JSON).`);throw a}},Pf=(e)=>{let t={},r=I(e,"name");if(r!==void 0)t.name=te(r,"a work item name");let n=I(e,"priority");if(n!==void 0)t.priority=ot(n,gr,"priority");let a=I(e,"description");if(a!==void 0)t.description_html=Pr(a);return t},qf=async(e,t)=>{let r=I(t,"status"),n=r===void 0?void 0:ot(r,Object.keys(si),"status"),a=await fe(e,te(t.positionals[0]??I(t,"project"),"a project reference")),i=(await Po(e,a.id)).map((s)=>fr(s,a));return n===void 0?i:i.filter((s)=>s.status===n)},jf=async(e,t)=>{let r=te(t.positionals.join(" "),"an intake work item name"),n={issue:{...Pf(t),name:r}},a=await fe(e,Ue(t,"project")),i=await e.request(`projects/${a.id}/intake-issues/`,{method:"POST",body:n});return fr(i,a)},Bf=async(e,t)=>{let r=te(t.positionals[0],"an intake work item reference"),n=await fe(e,Ue(t,"project"));return fr(await by(e,n,r),n)},Uf=async(e,t)=>{let r=te(t.positionals[0],"an intake work item reference"),n={},a=Pf(t);if(Object.keys(a).length>0)n.issue=a;let i=I(t,"status"),s=i===void 0?void 0:ot(i,Object.keys(si),"status"),o=I(t,"snooze-until"),u=I(t,"duplicate-of");if(o!==void 0&&s!=="snoozed")throw new N("--snooze-until requires --status snoozed.");if(u!==void 0&&s!=="duplicate")throw new N("--duplicate-of requires --status duplicate.");if(s!==void 0)n.status=si[s],n.snoozed_till=null,n.duplicate_to=null;if(s==="snoozed"){let v=Jt(te(o,"--snooze-until YYYY-MM-DD"),"snooze-until");if(v===null)throw new N("A snoozed work item needs a date, not none.");n.snoozed_till=`${v}T00:00:00Z`}if(s==="duplicate")te(u,"--duplicate-of <ID>");Rt(n);let f=await fe(e,Ue(t,"project")),p=await Mf(e,f,r);if(u!==void 0){let v=await $e(e,u,f.id);if(v.projectId!==f.id)throw new N("The duplicate target must belong to the same project.");if(v.issue.id===p.issueId)throw new N("A work item cannot be a duplicate of itself.");n.duplicate_to=v.issue.id}let x=await e.request(`projects/${f.id}/intake-issues/${p.issueId}/`,{method:"PATCH",body:n});return fr(x,f)},Hf=async(e,t)=>{if(!ze(t,"yes"))throw new N("Deleting cannot be undone. Repeat with --yes.");let r=te(t.positionals[0],"an intake work item reference"),n=await fe(e,Ue(t,"project")),a=await Mf(e,n,r);return await e.request(`projects/${n.id}/intake-issues/${a.issueId}/`,{method:"DELETE"}),a},qo=(e)=>e.length===0?"no intake work items":Ce(e.map((t)=>({name:t.ref,text:`${t.name} [${t.priority}] (${t.status})`})),"").join(`
128
- `),oi=(e)=>`${qo([e])}${e.snoozedUntil===null?"":`
17
+ `);var Q={pending:-2,rejected:-1,snoozed:0,accepted:1,duplicate:2},O=(e,t)=>{let n=e.issue_detail??(typeof e.issue==="object"?e.issue:void 0),s=typeof e.issue==="string"?e.issue:e.issue.id;return{id:e.id,issueId:s,ref:n?.sequence_id===void 0?s:`${t.identifier}-${n.sequence_id}`,name:g(n?.name??s),status:Object.entries(Q).find(([,r])=>r===e.status)?.[0]??String(e.status),statusCode:e.status,priority:n?.priority??"none",description:D(n?.description_html),snoozedUntil:e.snoozed_till??null,duplicateTo:e.duplicate_to??null}},ge=(e,t)=>e.listAll(`projects/${t}/intake-issues/`,{query:{per_page:100}}),dn=async(e,t,n)=>{if(F(n))return e.request(`projects/${t.id}/intake-issues/${n}/`);let r=(await ge(e,t.id)).find((o)=>O(o,t).ref.toLowerCase()===n.toLowerCase());if(r===void 0)throw new d(`No intake work item matches "${n}". Use its readable reference or underlying work item UUID.`);return r},it=async(e,t,n)=>{if(F(n))return{issueId:n,ref:n};let s=(await ge(e,t.id)).find((r)=>O(r,t).ref.toLowerCase()===n.toLowerCase());if(s!==void 0){let r=O(s,t);return{issueId:r.issueId,ref:r.ref}}try{let r=await x(e,n,t.id,"id,project,sequence_id");if(r.projectId!==t.id)throw new d(`${n} does not belong to project ${t.identifier}.`);return{issueId:r.issue.id,ref:`${t.identifier}-${r.issue.sequence_id}`}}catch(r){if(r instanceof w&&r.status===404)throw new d(`Cannot resolve intake reference "${n}". The server can hide expired snoozes from both lookup endpoints. Pass the underlying work item UUID (issueId in JSON).`);throw r}},at=(e)=>{let t={},n=a(e,"name");if(n!==void 0)t.name=p(n,"a work item name");let s=a(e,"priority");if(s!==void 0)t.priority=R(s,q,"priority");let r=a(e,"description");if(r!==void 0)t.description_html=U(r);return t},dt=async(e,t)=>{let n=a(t,"status"),s=n===void 0?void 0:R(n,Object.keys(Q),"status"),r=await y(e,p(t.positionals[0]??a(t,"project"),"a project reference")),o=(await ge(e,r.id)).map((i)=>O(i,r));return s===void 0?o:o.filter((i)=>i.status===s)},lt=async(e,t)=>{let n=p(t.positionals.join(" "),"an intake work item name"),s={issue:{...at(t),name:n}},r=await y(e,b(t,"project")),o=await e.request(`projects/${r.id}/intake-issues/`,{method:"POST",body:s});return O(o,r)},ct=async(e,t)=>{let n=p(t.positionals[0],"an intake work item reference"),s=await y(e,b(t,"project"));return O(await dn(e,s,n),s)},ut=async(e,t)=>{let n=p(t.positionals[0],"an intake work item reference"),s={},r=at(t);if(Object.keys(r).length>0)s.issue=r;let o=a(t,"status"),i=o===void 0?void 0:R(o,Object.keys(Q),"status"),l=a(t,"snooze-until"),u=a(t,"duplicate-of");if(l!==void 0&&i!=="snoozed")throw new d("--snooze-until requires --status snoozed.");if(u!==void 0&&i!=="duplicate")throw new d("--duplicate-of requires --status duplicate.");if(i!==void 0)s.status=Q[i],s.snoozed_till=null,s.duplicate_to=null;if(i==="snoozed"){let _=S(p(l,"--snooze-until YYYY-MM-DD"),"snooze-until");if(_===null)throw new d("A snoozed work item needs a date, not none.");s.snoozed_till=`${_}T00:00:00Z`}if(i==="duplicate")p(u,"--duplicate-of <ID>");v(s);let m=await y(e,b(t,"project")),f=await it(e,m,n);if(u!==void 0){let _=await x(e,u,m.id);if(_.projectId!==m.id)throw new d("The duplicate target must belong to the same project.");if(_.issue.id===f.issueId)throw new d("A work item cannot be a duplicate of itself.");s.duplicate_to=_.issue.id}let A=await e.request(`projects/${m.id}/intake-issues/${f.issueId}/`,{method:"PATCH",body:s});return O(A,m)},pt=async(e,t)=>{if(!P(t,"yes"))throw new d("Deleting cannot be undone. Repeat with --yes.");let n=p(t.positionals[0],"an intake work item reference"),s=await y(e,b(t,"project")),r=await it(e,s,n);return await e.request(`projects/${s.id}/intake-issues/${r.issueId}/`,{method:"DELETE"}),r},he=(e)=>e.length===0?"no intake work items":h(e.map((t)=>({name:t.ref,text:`${t.name} [${t.priority}] (${t.status})`})),"").join(`
18
+ `),ee=(e)=>`${he([e])}${e.snoozedUntil===null?"":`
129
19
  snoozed until ${e.snoozedUntil}`}${e.duplicateTo===null?"":`
130
20
  duplicate of ${e.duplicateTo}`}${e.description===""?"":`
131
21
 
132
- ${e.description}`}`;var ci=async(e,t)=>{if(tr(t))return t;let r=await e.listAll("members-lite/",{query:{per_page:100}}),n=r.filter((a)=>a.email?.toLowerCase()===t.toLowerCase());if(n.length===1&&n[0]!==void 0)return n[0].id;if(n.length>1)throw new N(`Ambiguous member "${t}".`);return Je(r.map((a)=>({...a,name:a.display_name??a.email??a.id})),t,"member").id},jo=async(e,t,r,n)=>{let a={},i=I(t,"name");if(i!==void 0)a.name=te(i,"a work item name");let s=I(t,"priority");if(s!==void 0)a.priority=ot(s,gr,"priority");let o=I(t,"description");if(o!==void 0)a.description_html=Pr(o);let u=I(t,"due");if(u!==void 0)a.target_date=Jt(u,"due");let f=I(t,"start");if(f!==void 0)a.start_date=Jt(f,"start");let p=I(t,"label"),x=I(t,"labels");if(p!==void 0&&x!==void 0)throw new N("Use either --label to add labels or --labels to replace them.");let v=I(t,"state");if(v!==void 0)a.state=Pc(await Qe(e,r),v).id;let d=I(t,"parent");if(d!==void 0)if(d==="none")a.parent=null;else{let E=await $e(e,d,r);if(E.issue.id===n?.id)throw new N("A work item cannot be its own parent.");a.parent=E.issue.id}let g=I(t,"assignee");if(g!==void 0){let E=[];for(let L of Fo(g))E.push(await ci(e,L));a.assignees=[...new Set(E)]}let A=p??x;if(A!==void 0){let E=Fo(A);if(p!==void 0&&E.length===0)throw new N("--label expects labels to add. Use --labels none to clear all labels.");let L=E.length===0?[]:await e.listAll(`projects/${r}/labels/`,{query:{fields:"id,name",per_page:100}}),C=E.map((T)=>Je(L,T,"label").id);a.labels=[...new Set([...p===void 0?[]:n?.labels??[],...C])]}return a};var _y="id,name,sequence_id,priority,state",yy=(e)=>typeof e.state==="object"&&e.state!==null?{name:e.state.name,group:e.state.group}:{name:"?",group:"?"},Bo=(e,t)=>{let r=yy(e);return{ref:`${t}-${e.sequence_id}`,name:ge(e.name),state:r.name,group:r.group,priority:e.priority,id:e.id}},vy=(e)=>e==="none"||e===""?"":` [${e}]`,li=(e)=>{let{rows:t,total:r}=e;if(t.length===0)return r===0?"no work items":`showing 0 of ${r} — raise or drop --limit`;let n=[...Ce(t.map((a)=>({name:a.ref,text:`${Ui(a.name,72)}${vy(a.priority)} (${a.state})`})),"")];if(t.length<r)n.push("",`showing ${t.length} of ${r} — drop --limit to see the rest`);return n.join(`
133
- `)},$f=async(e,t)=>{let r=t.positionals[0]??I(t,"project");if(r===void 0)throw new N("Which project?");let n=await fe(e,r),a=Tc(t,"limit"),i=await e.listAll(`projects/${n.id}/issues/`,{query:{fields:_y,expand:"state",per_page:100}}),s=I(t,"state")?.toLowerCase(),o=I(t,"priority")?.toLowerCase(),f=[...i.map((p)=>Bo(p,n.identifier)).filter((p)=>{if(s!==void 0){if(!(p.group.toLowerCase()===s||p.state.toLowerCase().startsWith(s)))return!1}if(o!==void 0&&p.priority.toLowerCase()!==o)return!1;return!0})].sort((p,x)=>br(p.group)-br(x.group)||Vi(p.priority)-Vi(x.priority)||p.ref.localeCompare(x.ref));return{rows:a===void 0?f:f.slice(0,a),total:f.length}},zf=async(e,t,r,n)=>{let a=t.positionals[0];if(a===void 0)throw new N("Which work item?");let{issue:i,projectId:s}=await $e(e,a,I(t,"project"),"id,name,sequence_id,priority,state,assignees,target_date,start_date,parent,labels,project,description_html"),u=(await Qe(e,s)).find((p)=>p.id===i.state);return{ref:`${(await fe(e,s)).identifier}-${i.sequence_id}`,name:ge(i.name),state:u?.name??"?",group:u?.group??"?",priority:i.priority,id:i.id,description:qr(i.description_html),assignees:i.assignees??[],labels:i.labels??[],target_date:i.target_date??null,start_date:i.start_date??null,...ze(t,"comments")?{comments:await Mo(e,s,i.id)}:{},parent:i.parent??null,url:`${n}/${r}/projects/${s}/issues/${i.id}`}},Vf=(e)=>{let t=[{name:e.ref,text:e.name},{name:"state",text:`${e.state} (${e.group})`},{name:"priority",text:e.priority}];if(e.start_date!=null)t.push({name:"start",text:e.start_date});if(e.target_date!=null)t.push({name:"due",text:e.target_date});if(e.assignees.length>0)t.push({name:"assignees",text:String(e.assignees.length)});if(e.labels.length>0)t.push({name:"labels",text:e.labels.join(", ")});if(e.parent!=null)t.push({name:"parent",text:e.parent});t.push({name:"url",text:e.url});let r=Ce(t,"").join(`
134
- `),n=e.description===""?r:`${r}
22
+ ${e.description}`}`;var te=async(e,t)=>{if(F(t))return t;let n=await e.listAll("members-lite/",{query:{per_page:100}}),s=n.filter((r)=>r.email?.toLowerCase()===t.toLowerCase());if(s.length===1&&s[0]!==void 0)return s[0].id;if(s.length>1)throw new d(`Ambiguous member "${t}".`);return j(n.map((r)=>({...r,name:r.display_name??r.email??r.id})),t,"member").id},Pe=async(e,t,n,s)=>{let r={},o=a(t,"name");if(o!==void 0)r.name=p(o,"a work item name");let i=a(t,"priority");if(i!==void 0)r.priority=R(i,q,"priority");let l=a(t,"description");if(l!==void 0)r.description_html=U(l);let u=a(t,"due");if(u!==void 0)r.target_date=S(u,"due");let m=a(t,"start");if(m!==void 0)r.start_date=S(m,"start");let f=a(t,"label"),A=a(t,"labels");if(f!==void 0&&A!==void 0)throw new d("Use either --label to add labels or --labels to replace them.");let _=a(t,"state");if(_!==void 0)r.state=mt(await k(e,n),_).id;let ce=a(t,"parent");if(ce!==void 0)if(ce==="none")r.parent=null;else{let I=await x(e,ce,n);if(I.issue.id===s?.id)throw new d("A work item cannot be its own parent.");r.parent=I.issue.id}let Ne=a(t,"assignee");if(Ne!==void 0){let I=[];for(let ue of we(Ne))I.push(await te(e,ue));r.assignees=[...new Set(I)]}let ze=f??A;if(ze!==void 0){let I=we(ze);if(f!==void 0&&I.length===0)throw new d("--label expects labels to add. Use --labels none to clear all labels.");let ue=I.length===0?[]:await e.listAll(`projects/${n}/labels/`,{query:{fields:"id,name",per_page:100}}),on=I.map((an)=>j(ue,an,"label").id);r.labels=[...new Set([...f===void 0?[]:s?.labels??[],...on])]}return r};var ln="id,name,sequence_id,priority,state",cn=(e)=>typeof e.state==="object"&&e.state!==null?{name:e.state.name,group:e.state.group}:{name:"?",group:"?"},xe=(e,t)=>{let n=cn(e);return{ref:`${t}-${e.sequence_id}`,name:g(e.name),state:n.name,group:n.group,priority:e.priority,id:e.id}},un=(e)=>e==="none"||e===""?"":` [${e}]`,ne=(e)=>{let{rows:t,total:n}=e;if(t.length===0)return n===0?"no work items":`showing 0 of ${n} — raise or drop --limit`;let s=[...h(t.map((r)=>({name:r.ref,text:`${be(r.name,72)}${un(r.priority)} (${r.state})`})),"")];if(t.length<n)s.push("",`showing ${t.length} of ${n} — drop --limit to see the rest`);return s.join(`
23
+ `)},ft=async(e,t)=>{let n=$e(t),s=t.positionals[0]??a(t,"project");if(s===void 0)throw new d("Which project?");let r=await y(e,s),o=await e.listAll(`projects/${r.id}/issues/`,{query:{fields:ln,expand:"state",per_page:100}}),i=a(t,"state")?.toLowerCase(),l=a(t,"priority")?.toLowerCase(),m=[...o.map((f)=>xe(f,r.identifier)).filter((f)=>{if(i!==void 0){if(!(f.group.toLowerCase()===i||f.state.toLowerCase().startsWith(i)))return!1}if(l!==void 0&&f.priority.toLowerCase()!==l)return!1;return!0})].sort((f,A)=>E(f.group)-E(A.group)||fe(f.priority)-fe(A.priority)||f.ref.localeCompare(A.ref));return{rows:n===void 0?m:m.slice(0,n),total:m.length}},yt=async(e,t,n,s)=>{let r=t.positionals[0];if(r===void 0)throw new d("Which work item?");let{issue:o,projectId:i}=await x(e,r,a(t,"project"),"id,name,sequence_id,priority,state,assignees,target_date,start_date,parent,labels,project,description_html"),u=(await k(e,i)).find((f)=>f.id===o.state);return{ref:`${(await y(e,i)).identifier}-${o.sequence_id}`,name:g(o.name),state:u?.name??"?",group:u?.group??"?",priority:o.priority,id:o.id,description:D(o.description_html),assignees:o.assignees??[],labels:o.labels??[],target_date:o.target_date??null,start_date:o.start_date??null,...P(t,"comments")?{comments:await ye(e,i,o.id)}:{},parent:o.parent??null,url:`${s}/${n}/projects/${i}/issues/${o.id}`}},gt=(e)=>{let t=[{name:e.ref,text:e.name},{name:"state",text:`${e.state} (${e.group})`},{name:"priority",text:e.priority}];if(e.start_date!=null)t.push({name:"start",text:e.start_date});if(e.target_date!=null)t.push({name:"due",text:e.target_date});if(e.assignees.length>0)t.push({name:"assignees",text:String(e.assignees.length)});if(e.labels.length>0)t.push({name:"labels",text:e.labels.join(", ")});if(e.parent!=null)t.push({name:"parent",text:e.parent});t.push({name:"url",text:e.url});let n=h(t,"").join(`
24
+ `),s=e.description===""?n:`${n}
135
25
 
136
- ${e.description}`;return e.comments===void 0?n:`${n}
26
+ ${e.description}`;return e.comments===void 0?s:`${s}
137
27
 
138
28
  COMMENTS
139
29
 
140
- ${ii(e.comments)}`},Wf=async(e,t)=>{let r=t.positionals.join(" ").trim();if(r==="")throw new N("What is it called?");let n=I(t,"project");if(n===void 0)throw new N("Which project? Pass --project.");let a=await fe(e,n),i={...await jo(e,t,a.id),name:r},s=await e.request(`projects/${a.id}/issues/`,{method:"POST",body:i}),o=`${a.identifier}-${s.sequence_id}`,u;try{u=(await Qe(e,a.id)).find((p)=>p.id===s.state)}catch(f){let p=f instanceof Error?f.message:String(f);oa(`${o} was created; could not read its state: ${p}`)}return{ref:o,name:ge(s.name),state:u?.name??"?",group:u?.group??"?",priority:s.priority,id:s.id}},Uo=async(e,t)=>{let r=t.positionals[0];if(r===void 0)throw new N("Which work item?");let{issue:n,projectId:a}=await $e(e,r,I(t,"project")),i=await fe(e,a),s=await Qe(e,a),o=await jo(e,t,a,n);Rt(o);let f=await e.request(`projects/${a}/issues/${n.id}/`,{method:"PATCH",body:o})??{...n,...o},p=s.find((x)=>x.id===f.state);return{ref:`${i.identifier}-${f.sequence_id}`,name:ge(f.name),state:p?.name??"?",group:p?.group??"?",priority:f.priority,id:f.id}},Gf=async(e,t)=>{let r=t.positionals[0];if(r===void 0)throw new N("Which work item?");let{projectId:n}=await $e(e,r,I(t,"project")),i=(await Qe(e,n)).find((o)=>o.group==="completed");if(i===void 0)throw new N("This project has no state in the completed group.");let s=new Map(t.flags);return s.set("state",i.name),Uo(e,{...t,flags:s})},Jf=async(e,t)=>{let r=t.positionals[0];if(r===void 0)throw new N("Which work item?");if(!ze(t,"yes"))throw new N(`Deleting is not undoable. Repeat with --yes to delete ${r}.`);let{issue:n,projectId:a}=await $e(e,r,I(t,"project"));return await e.request(`projects/${a}/issues/${n.id}/`,{method:"DELETE"}),`deleted ${r}`},Yf=async(e,t)=>{let r=t.positionals[0],n=t.positionals.slice(1).join(" ").trim();if(r===void 0||n==="")throw new N("Which work item, and what does the comment say?");let{issue:a,projectId:i}=await $e(e,r,I(t,"project"));return await e.request(`projects/${i}/issues/${a.id}/comments/`,{method:"POST",body:{comment_html:Pr(n)}}),`commented on ${r}`},Xf=async(e,t)=>{let r=t.positionals.join(" ").trim();if(r==="")throw new N("What to search for?");return((await e.request("issues/search/",{query:{search:r}})).issues??[]).map((a)=>({ref:`${a.project__identifier}-${a.sequence_id}`,name:ge(a.name),id:a.id}))},Kf=(e)=>e.length===0?"nothing found":Ce(e.map((t)=>({name:t.ref,text:Ui(t.name,80)})),"").join(`
141
- `);var jr=(e,t,r=!1)=>fe(e,te((r?t.positionals[0]:void 0)??I(t,"project"),"--project <ref>"),"id,name,identifier,timezone"),Ho=async(e,t,r)=>{let n=await jr(e,t,!0);return(await e.listAll(`projects/${n.id}/${r}s/`,{query:{fields:r==="cycle"?"id,name,start_date,end_date":"id,name,start_date,target_date,status",per_page:100}})).map((i)=>$o(i,n,r))},$o=(e,t,r)=>r==="cycle"&&t.timezone!==void 0?{...e,timezone:t.timezone}:e,ui=(e,t,r)=>e.listAll(`projects/${t}/${r}s-lite/`,{query:{per_page:100}}),Qf=(e,t)=>{let r={},n=I(e,"name");if(n!==void 0)r.name=te(n,`a ${t} name`);let a=I(e,"description");if(a!==void 0)r.description=a;let i=I(e,"start"),s=t==="cycle"?"end":"due",o=I(e,s),u=i===void 0?null:Jt(i,"start"),f=o===void 0?null:Jt(o,s);if(t==="cycle"&&(i===void 0!==(o===void 0)||u===null!==(f===null)))throw new N("A cycle needs both --start and --end, or neither for a draft.");if(u!==null&&f!==null&&u>f)throw new N("The start date must not be after the end date.");if(i!==void 0)r.start_date=u;if(o!==void 0)r[t==="cycle"?"end_date":"target_date"]=f;if(t==="module"){let p=I(e,"status");if(p!==void 0)r.status=ot(p,["backlog","planned","in-progress","paused","completed","cancelled"],"status")}return r},zo=async(e,t,r)=>{let n={...Qf(t,r),name:te(t.positionals.join(" "),`a ${r} name`)},a=await jr(e,t);if(r==="cycle"){let s=I(t,"owner");n.owned_by=s===void 0?(await e.request("/api/v1/users/me/")).id:await ci(e,s),n.project_id=a.id}let i=await e.request(`projects/${a.id}/${r}s/`,{method:"POST",body:n});return $o(i,a,r)},eh=async(e,t)=>{let r=te(t.positionals[0],"a cycle name or UUID"),n=Qf(t,"cycle"),a=I(t,"owner");if(a===void 0)Rt(n);let i=await jr(e,t),s=Je(await ui(e,i.id,"cycle"),r,"cycle");if(a!==void 0)n.owned_by=await ci(e,a);else{let u=await e.request(`projects/${i.id}/cycles/${s.id}/`,{query:{fields:"id,name,owned_by"}});if(!u.owned_by)throw new Le("Cannot preserve the cycle owner: the server did not return owned_by. Pass --owner explicitly.");n.owned_by=u.owned_by}let o=await e.request(`projects/${i.id}/cycles/${s.id}/`,{method:"PATCH",body:n});return $o(o??{...s,...n},i,"cycle")},Vo=async(e,t,r)=>{if(t.positionals.length===0)throw new N("Expected one or more work item references.");let n=Ue(t,r),a=await jr(e,t),i=Je(await ui(e,a.id,r),n,r),s=new Set;for(let o of t.positionals){let u=await $e(e,o,a.id);if(u.projectId!==a.id)throw new N(`${o} does not belong to project ${a.identifier}.`);s.add(u.issue.id)}return await e.request(`projects/${a.id}/${r}s/${i.id}/${r}-issues/`,{method:"POST",body:{issues:[...s]}}),{project:a.identifier,id:i.id,name:i.name,issues:[...s]}},Wo=async(e,t,r)=>{let n=te(t.positionals[0],`a ${r} name or UUID`),a=await jr(e,t),i=Je(await ui(e,a.id,r),n,r),o=(await e.listAll(`projects/${a.id}/${r}s/${i.id}/${r}-issues/`,{query:{fields:"id,name,sequence_id,priority,state",expand:"state",per_page:100}})).map((u)=>Bo(u,a.identifier));return{rows:o,total:o.length}},th=async(e,t)=>{let r=te(t.positionals[0],"a source cycle"),n=te(t.positionals[1],"a target cycle"),a=await jr(e,t),i=await ui(e,a.id,"cycle"),s=Je(i,r,"cycle"),o=Je(i,n,"cycle");if(s.id===o.id)throw new N("Source and target cycles must be different.");return await e.request(`projects/${a.id}/cycles/${s.id}/transfer-issues/`,{method:"POST",body:{new_cycle_id:o.id}}),{project:a.identifier,from:s,to:o}},Zf=(e,t)=>{if(e==null)return"?";if(/^\d{4}-\d{2}-\d{2}$/.test(e)||t===void 0)return e;try{return new Intl.DateTimeFormat("sv-SE",{timeZone:t,calendar:"iso8601",numberingSystem:"latn",year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date(e))}catch{return e}},Rn=(e)=>{let t=e.end_date??e.target_date,r=e.start_date==null&&t==null?"":` ${Zf(e.start_date,e.timezone)} / ${Zf(t,e.timezone)}`;return`${ge(e.name)} ${e.id}${r}${e.status===void 0?"":` (${e.status})`}`},Go=(e)=>e.length===0?"no entries":e.map(Rn).join(`
142
- `),Jo=(e)=>`added ${e.issues.length} work items to ${ge(e.name)}`,rh=(e)=>Ce([{name:"from",text:ge(e.from.name)},{name:"to",text:ge(e.to.name)}],"").join(`
143
- `);var nh=(e)=>{let t=te(e,"a project name");if(t.length>255||/[&+,:;$^}{*=?@#|'<>.()%!-]/.test(t))throw new N("Project name cannot contain special characters (including hyphens) or exceed 255 characters.");return t},ah=(e)=>{let t=e.trim().toUpperCase();if(!/^[A-Z][A-Z0-9]{0,11}$/.test(t))throw new N("--identifier expects 1–12 letters or digits, starting with a letter.");return t},ih=(e)=>{let t={};for(let[r,n]of[["intake","intake_view"],["cycles","cycle_view"],["modules","module_view"]])if(e.flags.has(r))t[n]=ze(e,r);return t},sh=async(e,t)=>{let r={...ih(t),name:nh(t.positionals.join(" ")),identifier:ah(Ue(t,"identifier"))},n=I(t,"description");if(n!==void 0)r.description=n;let a=r.intake_view===!0;if(a)delete r.intake_view;let i=await e.request("projects/",{method:"POST",body:r});if(!a)return i;try{return await e.request(`projects/${i.id}/`,{method:"PATCH",body:{intake_view:!0}})??{...i,intake_view:!0}}catch(s){return oa(`${i.identifier} was created, but intake setup failed: ${s instanceof Error?s.message:String(s)}. Retry with i-plane project update ${i.id} --intake.`),i}},oh=async(e,t)=>{let r=te(t.positionals[0],"a project reference"),n={...ih(t)},a=I(t,"name");if(a!==void 0)n.name=nh(a);let i=I(t,"description");if(i!==void 0)n.description=i;let s=I(t,"identifier");if(s!==void 0)n.identifier=ah(s);Rt(n);let o=await fe(e,r);return await e.request(`projects/${o.id}/`,{method:"PATCH",body:n})??{...o,...n}},ch=async(e,t)=>{let r=await fe(e,te(t.positionals[0],"a project reference"));return await e.request(`projects/${r.id}/archive/`,{method:"POST"}),r},Sn=(e)=>`${e.identifier} ${ge(e.name)}`,lh=async(e,t)=>{let r={name:te(t.positionals.join(" "),"a label name")},n=Ue(t,"project"),a=I(t,"color");r.color=ai(a??"#808080");let i=I(t,"description");if(i!==void 0)r.description=i;let s=await fe(e,n);return e.request(`projects/${s.id}/labels/`,{method:"POST",body:r})},uh=(e)=>{let t={},r=I(e,"name");if(r!==void 0)t.name=te(r,"a state name");let n=I(e,"color");if(n!==void 0)t.color=ai(n);let a=I(e,"group");if(a!==void 0)t.group=ot(a,Zr,"group");let i=I(e,"description");if(i!==void 0)t.description=i;return t},dh=async(e,t)=>{let r=te(t.positionals.join(" "),"a state name"),n=ai(Ue(t,"color")),a=ot(Ue(t,"group"),Zr,"group"),i={...uh(t),name:r,color:n,group:a},s=await fe(e,Ue(t,"project"));return e.request(`projects/${s.id}/states/`,{method:"POST",body:i})},fh=async(e,t)=>{let r=te(t.positionals[0],"a state name or UUID"),n=uh(t);Rt(n);let a=await fe(e,Ue(t,"project")),i=Je(await Qe(e,a.id),r,"state");return await e.request(`projects/${a.id}/states/${i.id}/`,{method:"PATCH",body:n})??{...i,...n}},Yo=(e)=>{if(!ze(e,"yes"))throw new N("Deleting cannot be undone. Repeat with --yes.")},hh=async(e,t)=>{Yo(t);let r=await fe(e,te(t.positionals[0],"a project reference"));return await e.request(`projects/${r.id}/`,{method:"DELETE"}),r},ph=async(e,t)=>{Yo(t);let r=te(t.positionals[0],"a label name or UUID"),n=await fe(e,Ue(t,"project")),a=await e.listAll(`projects/${n.id}/labels/`,{query:{fields:"id,name",per_page:100}}),i=Je(a,r,"label");return await e.request(`projects/${n.id}/labels/${i.id}/`,{method:"DELETE"}),i},mh=async(e,t)=>{Yo(t);let r=te(t.positionals[0],"a state name or UUID"),n=await fe(e,Ue(t,"project")),a=Je(await Qe(e,n.id),r,"state");return await e.request(`projects/${n.id}/states/${a.id}/`,{method:"DELETE"}),a};var Y=(e,t)=>async(r,n)=>ft(await e(r),n,t),Ey={cycles:Y(({client:e,args:t})=>Ho(e,t,"cycle"),Go),"cycle create":Y(({client:e,args:t})=>zo(e,t,"cycle"),(e)=>`created ${Rn(e)}`),"cycle update":Y(({client:e,args:t})=>eh(e,t),Rn),"cycle add":Y(({client:e,args:t})=>Vo(e,t,"cycle"),Jo),"cycle issues":Y(({client:e,args:t})=>Wo(e,t,"cycle"),li),"cycle transfer":Y(({client:e,args:t})=>th(e,t),rh),modules:Y(({client:e,args:t})=>Ho(e,t,"module"),Go),"module create":Y(({client:e,args:t})=>zo(e,t,"module"),(e)=>`created ${Rn(e)}`),"module add":Y(({client:e,args:t})=>Vo(e,t,"module"),Jo),"module issues":Y(({client:e,args:t})=>Wo(e,t,"module"),li),"intake list":Y(({client:e,args:t})=>qf(e,t),qo),"intake create":Y(({client:e,args:t})=>jf(e,t),(e)=>`created ${oi(e)}`),"intake show":Y(({client:e,args:t})=>Bf(e,t),oi),"intake update":Y(({client:e,args:t})=>Uf(e,t),oi),"intake rm":Y(({client:e,args:t})=>Hf(e,t),(e)=>`deleted intake entry ${e.ref}`),summary:Y(({client:e,config:t})=>qc(e,t),jc),projects:Y(({client:e})=>Kr(e),Bc),list:Y(({client:e,args:t})=>$f(e,t),li),show:Y(({client:e,args:t,config:r})=>zf(e,t,r.workspace.value,r.url.value),Vf),create:Y(({client:e,args:t})=>Wf(e,t),(e)=>`created ${e.ref} ${e.name}`),update:Y(({client:e,args:t})=>Uo(e,t),(e)=>`${e.ref} ${e.name} (${e.state})`),done:Y(({client:e,args:t})=>Gf(e,t),(e)=>`${e.ref} ${e.state}`),delete:Y(({client:e,args:t})=>Jf(e,t),(e)=>e),comment:Y(({client:e,args:t})=>Yf(e,t),(e)=>e),comments:Y(({client:e,args:t})=>Ff(e,t),ii),search:Y(({client:e,args:t})=>Xf(e,t),Kf),states:Y(({client:e,args:t})=>Uc(e,t),Hc),labels:Y(({client:e,args:t})=>$c(e,t),zc),members:Y(({client:e})=>Vc(e),Wc),whoami:Y(({client:e})=>Yc(e),Xc),"project create":Y(({client:e,args:t})=>sh(e,t),(e)=>`created ${Sn(e)}`),"project update":Y(({client:e,args:t})=>oh(e,t),Sn),"project archive":Y(({client:e,args:t})=>ch(e,t),(e)=>`archived ${Sn(e)}`),"project rm":Y(({client:e,args:t})=>hh(e,t),(e)=>`deleted ${Sn(e)}`),"label create":Y(({client:e,args:t})=>lh(e,t),(e)=>`created ${ge(e.name)} ${e.id}`),"label rm":Y(({client:e,args:t})=>ph(e,t),(e)=>`deleted ${ge(e.name)}`),"state create":Y(({client:e,args:t})=>dh(e,t),(e)=>`created ${ge(e.name)} ${e.group}`),"state update":Y(({client:e,args:t})=>fh(e,t),(e)=>`${ge(e.name)} ${e.group}`),"state rm":Y(({client:e,args:t})=>mh(e,t),(e)=>`deleted ${ge(e.name)}`)},xh=async(e,t,r,n,a)=>{let i=e===void 0?void 0:Ey[e];if(i===void 0)throw new N(`No command "${e}". Run i-plane for the map.`);await i({client:t,args:r,config:n},a)};var wy="1.1.2",di,ky=(e,t)=>{let r=e===void 0?void 0:kt(e);if(r===void 0){if(e===void 0||e==="help"||e==="version"||xr(e).length>0){let i=[...t.flags.keys()].filter((s)=>!Mi.includes(s));if(i.length>0)throw new N(`${e??"i-plane"} does not take ${i.map((s)=>`--${s}`).join(", ")}.`)}return}di=e;let n=Cc(r),a=[...t.flags.keys()].filter((i)=>!n.has(i));if(a.length>0){let i=a.map((s)=>`--${s}`).join(", ");throw new N(`${r.name} does not take ${i}. Its flags are listed below.`)}},Cy=(e,t)=>{let r=e.path.length===0?void 0:e.path.join(" "),n=r===void 0?void 0:kt(r)?.name??r;if(ky(n,e),n!==void 0&&xr(n).length>0){let a=xr(n);if(ze(e,"help"))return ft({commands:a,globalOptions:Ct},t,(i)=>`${i.commands.map((s)=>$i({command:s},!1)).join(`
30
+ ${X(e.comments)}`},ht=async(e,t)=>{let n=t.positionals.join(" ").trim();if(n==="")throw new d("What is it called?");let s=a(t,"project");if(s===void 0)throw new d("Which project? Pass --project.");let r=await y(e,s),o={...await Pe(e,t,r.id),name:n},i=await e.request(`projects/${r.id}/issues/`,{method:"POST",body:o}),l=`${r.identifier}-${i.sequence_id}`,u;try{u=(await k(e,r.id)).find((f)=>f.id===i.state)}catch(m){let f=m instanceof Error?m.message:String(m);N(`${l} was created; could not read its state: ${f}`)}return{ref:l,name:g(i.name),state:u?.name??"?",group:u?.group??"?",priority:i.priority,id:i.id}},je=async(e,t)=>{let n=t.positionals[0];if(n===void 0)throw new d("Which work item?");let{issue:s,projectId:r}=await x(e,n,a(t,"project")),o=await y(e,r),i=await k(e,r),l=await Pe(e,t,r,s);v(l);let m=await e.request(`projects/${r}/issues/${s.id}/`,{method:"PATCH",body:l})??{...s,...l},f=i.find((A)=>A.id===m.state);return{ref:`${o.identifier}-${m.sequence_id}`,name:g(m.name),state:f?.name??"?",group:f?.group??"?",priority:m.priority,id:m.id}},wt=async(e,t)=>{let n=t.positionals[0];if(n===void 0)throw new d("Which work item?");let{projectId:s}=await x(e,n,a(t,"project")),o=(await k(e,s)).find((l)=>l.group==="completed");if(o===void 0)throw new d("This project has no state in the completed group.");let i=new Map(t.flags);return i.set("state",o.id),je(e,{...t,flags:i})},Pt=async(e,t)=>{let n=t.positionals[0];if(n===void 0)throw new d("Which work item?");if(!P(t,"yes"))throw new d(`Deleting is not undoable. Repeat with --yes to delete ${n}.`);let{issue:s,projectId:r}=await x(e,n,a(t,"project"));return await e.request(`projects/${r}/issues/${s.id}/`,{method:"DELETE"}),`deleted ${n}`},bt=async(e,t)=>{let n=t.positionals[0],s=t.positionals.slice(1).join(" ").trim();if(n===void 0||s==="")throw new d("Which work item, and what does the comment say?");let{issue:r,projectId:o}=await x(e,n,a(t,"project"));return await e.request(`projects/${o}/issues/${r.id}/comments/`,{method:"POST",body:{comment_html:U(s)}}),`commented on ${n}`},$t=async(e,t)=>{let n=$e(t,1,1000)??10,s=t.positionals.join(" ").trim();if(s==="")throw new d("What to search for?");let r=await e.request("issues/search/",{query:{search:s,limit:n+1}});if(!r||!Array.isArray(r.issues))throw new w("Unexpected search response: expected an issues array.");return{rows:r.issues.slice(0,n).map((i)=>({ref:`${i.project__identifier}-${i.sequence_id}`,name:g(i.name),id:i.id})),limit:n,hasMore:r.issues.length>n}},xt=({rows:e,limit:t,hasMore:n})=>{let s=e.length===0?"nothing found":h(e.map((r)=>({name:r.ref,text:be(r.name,80)})),"").join(`
31
+ `);return n?`${s}
32
+
33
+ showing the first ${t} matches; more exist raise --limit (up to 1000) or narrow the query`:s};var z=(e,t,n=!1)=>y(e,p((n?t.positionals[0]:void 0)??a(t,"project"),"--project <ref>"),"id,name,identifier,timezone"),Ce=async(e,t,n)=>{let s=await z(e,t,!0);return(await e.listAll(`projects/${s.id}/${n}s/`,{query:{fields:n==="cycle"?"id,name,start_date,end_date":"id,name,start_date,target_date,status",per_page:100}})).map((o)=>ke(o,s,n))},ke=(e,t,n)=>n==="cycle"&&t.timezone!==void 0?{...e,timezone:t.timezone}:e,re=(e,t,n)=>e.listAll(`projects/${t}/${n}s-lite/`,{query:{per_page:100}}),Ct=(e,t)=>{let n={},s=a(e,"name");if(s!==void 0)n.name=p(s,`a ${t} name`);let r=a(e,"description");if(r!==void 0)n.description=r;let o=a(e,"start"),i=t==="cycle"?"end":"due",l=a(e,i),u=o===void 0?null:S(o,"start"),m=l===void 0?null:S(l,i);if(t==="cycle"&&(o===void 0!==(l===void 0)||u===null!==(m===null)))throw new d("A cycle needs both --start and --end, or neither for a draft.");if(u!==null&&m!==null&&u>m)throw new d("The start date must not be after the end date.");if(o!==void 0)n.start_date=u;if(l!==void 0)n[t==="cycle"?"end_date":"target_date"]=m;if(t==="module"){let f=a(e,"status");if(f!==void 0)n.status=R(f,["backlog","planned","in-progress","paused","completed","cancelled"],"status")}return n},Ae=async(e,t,n)=>{let s={...Ct(t,n),name:p(t.positionals.join(" "),`a ${n} name`)},r=await z(e,t);if(n==="cycle"){let i=a(t,"owner");s.owned_by=i===void 0?(await e.request("/api/v1/users/me/")).id:await te(e,i),s.project_id=r.id}let o=await e.request(`projects/${r.id}/${n}s/`,{method:"POST",body:s});return ke(o,r,n)},kt=async(e,t)=>{let n=p(t.positionals[0],"a cycle name or UUID"),s=Ct(t,"cycle"),r=a(t,"owner");if(r===void 0)v(s);let o=await z(e,t),i=j(await re(e,o.id,"cycle"),n,"cycle");if(r!==void 0)s.owned_by=await te(e,r);else{let u=await e.request(`projects/${o.id}/cycles/${i.id}/`,{query:{fields:"id,name,owned_by"}});if(!u.owned_by)throw new w("Cannot preserve the cycle owner: the server did not return owned_by. Pass --owner explicitly.");s.owned_by=u.owned_by}let l=await e.request(`projects/${o.id}/cycles/${i.id}/`,{method:"PATCH",body:s});return ke(l??{...i,...s},o,"cycle")},Re=async(e,t,n)=>{if(t.positionals.length===0)throw new d("Expected one or more work item references.");let s=b(t,n),r=await z(e,t),o=j(await re(e,r.id,n),s,n),i=new Set;for(let l of t.positionals){let u=await x(e,l,r.id);if(u.projectId!==r.id)throw new d(`${l} does not belong to project ${r.identifier}.`);i.add(u.issue.id)}return await e.request(`projects/${r.id}/${n}s/${o.id}/${n}-issues/`,{method:"POST",body:{issues:[...i]}}),{project:r.identifier,id:o.id,name:o.name,issues:[...i]}},_e=async(e,t,n)=>{let s=p(t.positionals[0],`a ${n} name or UUID`),r=await z(e,t),o=j(await re(e,r.id,n),s,n),l=(await e.listAll(`projects/${r.id}/${n}s/${o.id}/${n}-issues/`,{query:{fields:"id,name,sequence_id,priority,state",expand:"state",per_page:100}})).map((u)=>xe(u,r.identifier));return{rows:l,total:l.length}},At=async(e,t)=>{let n=p(t.positionals[0],"a source cycle"),s=p(t.positionals[1],"a target cycle"),r=await z(e,t),o=await re(e,r.id,"cycle"),i=j(o,n,"cycle"),l=j(o,s,"cycle");if(i.id===l.id)throw new d("Source and target cycles must be different.");return await e.request(`projects/${r.id}/cycles/${i.id}/transfer-issues/`,{method:"POST",body:{new_cycle_id:l.id}}),{project:r.identifier,from:i,to:l}},jt=(e,t)=>{if(e==null)return"?";if(/^\d{4}-\d{2}-\d{2}$/.test(e)||t===void 0)return e;try{return new Intl.DateTimeFormat("sv-SE",{timeZone:t,calendar:"iso8601",numberingSystem:"latn",year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date(e))}catch{return e}},G=(e)=>{let t=e.end_date??e.target_date,n=e.start_date==null&&t==null?"":` ${jt(e.start_date,e.timezone)} / ${jt(t,e.timezone)}`;return`${g(e.name)} ${e.id}${n}${e.status===void 0?"":` (${e.status})`}`},Ie=(e)=>e.length===0?"no entries":e.map(G).join(`
34
+ `),ve=(e)=>`added ${e.issues.length} work items to ${g(e.name)}`,Rt=(e)=>h([{name:"from",text:g(e.from.name)},{name:"to",text:g(e.to.name)}],"").join(`
35
+ `);var _t=(e)=>{let t=p(e,"a project name");if(t.length>255||/[&+,:;$^}{*=?@#|'<>.()%!-]/.test(t))throw new d("Project name cannot contain special characters (including hyphens) or exceed 255 characters.");return t},It=(e)=>{let t=e.trim().toUpperCase();if(!/^[A-Z][A-Z0-9]{0,11}$/.test(t))throw new d("--identifier expects 1–12 letters or digits, starting with a letter.");return t},vt=(e)=>{let t={};for(let[n,s]of[["intake","intake_view"],["cycles","cycle_view"],["modules","module_view"]])if(e.flags.has(n))t[s]=P(e,n);return t},St=async(e,t)=>{let n={...vt(t),name:_t(t.positionals.join(" ")),identifier:It(b(t,"identifier"))},s=a(t,"description");if(s!==void 0)n.description=s;let r=n.intake_view===!0;if(r)delete n.intake_view;let o=await e.request("projects/",{method:"POST",body:n});if(!r)return o;try{return await e.request(`projects/${o.id}/`,{method:"PATCH",body:{intake_view:!0}})??{...o,intake_view:!0}}catch(i){return N(`${o.identifier} was created, but intake setup failed: ${i instanceof Error?i.message:String(i)}. Retry with i-plane project update ${o.id} --intake.`),o}},Tt=async(e,t)=>{let n=p(t.positionals[0],"a project reference"),s={...vt(t)},r=a(t,"name");if(r!==void 0)s.name=_t(r);let o=a(t,"description");if(o!==void 0)s.description=o;let i=a(t,"identifier");if(i!==void 0)s.identifier=It(i);v(s);let l=await y(e,n);return await e.request(`projects/${l.id}/`,{method:"PATCH",body:s})??{...l,...s}},Ot=async(e,t)=>{let n=await y(e,p(t.positionals[0],"a project reference"));return await e.request(`projects/${n.id}/archive/`,{method:"POST"}),n},H=(e)=>`${e.identifier} ${g(e.name)}`,Lt=async(e,t)=>{let n={name:p(t.positionals.join(" "),"a label name")},s=b(t,"project"),r=a(t,"color");n.color=se(r??"#808080");let o=a(t,"description");if(o!==void 0)n.description=o;let i=await y(e,s);return e.request(`projects/${i.id}/labels/`,{method:"POST",body:n})},qt=(e)=>{let t={},n=a(e,"name");if(n!==void 0)t.name=p(n,"a state name");let s=a(e,"color");if(s!==void 0)t.color=se(s);let r=a(e,"group");if(r!==void 0)t.group=R(r,M,"group");let o=a(e,"description");if(o!==void 0)t.description=o;return t},Et=async(e,t)=>{let n=p(t.positionals.join(" "),"a state name"),s=se(b(t,"color")),r=R(b(t,"group"),M,"group"),o={...qt(t),name:n,color:s,group:r},i=await y(e,b(t,"project"));return e.request(`projects/${i.id}/states/`,{method:"POST",body:o})},Dt=async(e,t)=>{let n=p(t.positionals[0],"a state name or UUID"),s=qt(t);v(s);let r=await y(e,b(t,"project")),o=j(await k(e,r.id),n,"state");return await e.request(`projects/${r.id}/states/${o.id}/`,{method:"PATCH",body:s})??{...o,...s}},Se=(e)=>{if(!P(e,"yes"))throw new d("Deleting cannot be undone. Repeat with --yes.")},Ut=async(e,t)=>{Se(t);let n=await y(e,p(t.positionals[0],"a project reference"));return await e.request(`projects/${n.id}/`,{method:"DELETE"}),n},Nt=async(e,t)=>{Se(t);let n=p(t.positionals[0],"a label name or UUID"),s=await y(e,b(t,"project")),r=await e.listAll(`projects/${s.id}/labels/`,{query:{fields:"id,name",per_page:100}}),o=j(r,n,"label");return await e.request(`projects/${s.id}/labels/${o.id}/`,{method:"DELETE"}),o},zt=async(e,t)=>{Se(t);let n=p(t.positionals[0],"a state name or UUID"),s=await y(e,b(t,"project")),r=j(await k(e,s.id),n,"state");return await e.request(`projects/${s.id}/states/${r.id}/`,{method:"DELETE"}),r};var c=(e,t)=>async(n,s)=>C(await e(n),s,t),pn={cycles:c(({client:e,args:t})=>Ce(e,t,"cycle"),Ie),"cycle create":c(({client:e,args:t})=>Ae(e,t,"cycle"),(e)=>`created ${G(e)}`),"cycle update":c(({client:e,args:t})=>kt(e,t),G),"cycle add":c(({client:e,args:t})=>Re(e,t,"cycle"),ve),"cycle issues":c(({client:e,args:t})=>_e(e,t,"cycle"),ne),"cycle transfer":c(({client:e,args:t})=>At(e,t),Rt),modules:c(({client:e,args:t})=>Ce(e,t,"module"),Ie),"module create":c(({client:e,args:t})=>Ae(e,t,"module"),(e)=>`created ${G(e)}`),"module add":c(({client:e,args:t})=>Re(e,t,"module"),ve),"module issues":c(({client:e,args:t})=>_e(e,t,"module"),ne),"intake list":c(({client:e,args:t})=>dt(e,t),he),"intake create":c(({client:e,args:t})=>lt(e,t),(e)=>`created ${ee(e)}`),"intake show":c(({client:e,args:t})=>ct(e,t),ee),"intake update":c(({client:e,args:t})=>ut(e,t),ee),"intake rm":c(({client:e,args:t})=>pt(e,t),(e)=>`deleted intake entry ${e.ref}`),summary:c(({client:e,config:t})=>Ve(e,t),Be),projects:c(({client:e})=>Z(e),Ke),list:c(({client:e,args:t})=>ft(e,t),ne),show:c(({client:e,args:t,config:n})=>yt(e,t,n.workspace.value,n.url.value),gt),create:c(({client:e,args:t})=>ht(e,t),(e)=>`created ${e.ref} ${e.name}`),update:c(({client:e,args:t})=>je(e,t),(e)=>`${e.ref} ${e.name} (${e.state})`),done:c(({client:e,args:t})=>wt(e,t),(e)=>`${e.ref} ${e.state}`),delete:c(({client:e,args:t})=>Pt(e,t),(e)=>e),comment:c(({client:e,args:t})=>bt(e,t),(e)=>e),comments:c(({client:e,args:t})=>ot(e,t),X),search:c(({client:e,args:t})=>$t(e,t),xt),states:c(({client:e,args:t})=>Ye(e,t),Je),labels:c(({client:e,args:t})=>Ze(e,t),Xe),members:c(({client:e})=>Qe(e),et),whoami:c(({client:e})=>rt(e),st),"project create":c(({client:e,args:t})=>St(e,t),(e)=>`created ${H(e)}`),"project update":c(({client:e,args:t})=>Tt(e,t),H),"project archive":c(({client:e,args:t})=>Ot(e,t),(e)=>`archived ${H(e)}`),"project rm":c(({client:e,args:t})=>Ut(e,t),(e)=>`deleted ${H(e)}`),"label create":c(({client:e,args:t})=>Lt(e,t),(e)=>`created ${g(e.name)} ${e.id}`),"label rm":c(({client:e,args:t})=>Nt(e,t),(e)=>`deleted ${g(e.name)}`),"state create":c(({client:e,args:t})=>Et(e,t),(e)=>`created ${g(e.name)} ${e.group}`),"state update":c(({client:e,args:t})=>Dt(e,t),(e)=>`${g(e.name)} ${e.group}`),"state rm":c(({client:e,args:t})=>zt(e,t),(e)=>`deleted ${g(e.name)}`)},Mt=async(e,t,n,s,r)=>{let o=e===void 0?void 0:pn[e];if(o===void 0)throw new d(`No command "${e}". Run i-plane for the map.`);oe(e,n),await o({client:t,args:n,config:s},r)};import{createHash as mn,randomUUID as fn}from"node:crypto";import{constants as Te}from"node:fs";import{chmod as yn,lstat as gn,mkdir as hn,open as Ft,rename as wn,unlink as Gt}from"node:fs/promises";import{homedir as Pn}from"node:os";import{join as Oe}from"node:path";var Ht=300000,bn=()=>process.env.PLANE_PAGE_CACHE??Oe(process.env.XDG_CACHE_HOME??Oe(Pn(),".cache"),"i-plane","page-transports");class ie{path;directory;now;constructor(e,t=bn(),n=Date.now){this.directory=t,this.now=n,this.path=Oe(t,`${mn("sha256").update(new URL(e).href.replace(/\/+$/,"")).digest("hex")}.json`)}async read(){try{let e=await Ft(this.path,Te.O_RDONLY|Te.O_NOFOLLOW|Te.O_NONBLOCK);try{let t=await e.stat();if(!t.isFile()||t.size>2048||t.mode&63)return;let n=JSON.parse(await e.readFile("utf8")),s=this.now();if(n.version!==1||!["api-key","session"].includes(n.mode)||!["public-list","missing-route","extension-disabled"].includes(n.reason)||typeof n.runtime!=="boolean"||typeof n.keyProbe!=="boolean"||!Number.isFinite(n.checkedAt)||!Number.isFinite(n.expiresAt)||n.checkedAt>s||n.expiresAt<=s||n.expiresAt!==n.checkedAt+Ht)return;if(n.mode==="api-key"!==(n.reason==="public-list"))return;return n}finally{await e.close()}}catch{return}}async clear(){try{return await Gt(this.path),!0}catch(e){return e.code==="ENOENT"}}async write(e,t,n,s){let r=this.now(),o={version:1,mode:e,reason:t,runtime:n,keyProbe:s,checkedAt:r,expiresAt:r+Ht},i=`${this.path}.${fn()}.tmp`;try{await hn(this.directory,{recursive:!0,mode:448});let l=await gn(this.directory);if(!l.isDirectory()||l.isSymbolicLink())return o;await yn(this.directory,448);let u=await Ft(i,"wx",384);try{await u.writeFile(JSON.stringify(o))}finally{await u.close()}await wn(i,this.path)}catch{}finally{await Gt(i).catch(()=>{})}return o}}var Wt=async(e,t=!1)=>{let n=new ie(e),s=t?await n.clear():!1,r=s?void 0:await n.read(),o={"public-list":"The public project-page list accepted an API key.","missing-route":"The public page route and extension configuration were absent.","extension-disabled":"The instance reports that API-key pages are unavailable."};return{mode:r?.mode??"unknown",reason:t&&!s?"Could not clear the capability cache. Use --refresh-pages on the page command to bypass it.":r?r.mode==="session"&&!r.keyProbe?"No API key was configured and the instance did not advertise API-key pages.":o[r.reason]:t?"Cached selection cleared; the next page command will detect access again.":"No fresh selection is cached; the next page command will detect access automatically.",checkedAt:r?new Date(r.checkedAt).toISOString():null,expiresAt:r?new Date(r.expiresAt).toISOString():null,cachePath:n.path}};class de extends w{}class qe{config;api;cache;sessionDirectory;selection;initialized=!1;sessionClient;prepared=new Set;firstLists=new Map;refresh;commandScope=!1;mutationStarted=!1;constructor(e,t={}){this.config=e,this.api=new ae(e),this.cache=t.cache??new ie(e.url.value),this.refresh=t.refresh??!1,this.sessionDirectory=t.sessionDirectory}beginPageCommand(){this.commandScope=!0,this.mutationStarted=!1}markPageMutation(){this.mutationStarted=!0}async runtime(){let e;try{e=await this.api.request("/api/extensions/configuration/")}catch(t){if(t instanceof w&&t.status===404)return;throw t}if(!e||!Array.isArray(e.extensions)||!e.extensions.every((t)=>t&&typeof t.id==="string"&&typeof t.enabled==="boolean")||!(e.release===null||typeof e.release==="string"&&e.release.length>0))throw new w("Invalid extension configuration; page access could not be determined.");return e}async selectSession(e){let t=await this.runtime();if(t?.extensions.some((n)=>n.id==="api-key-pages"&&n.enabled)){if(e)throw e;throw new d("This Plane supports API-key pages. Set PLANE_API_KEY or --token before using page commands.")}this.selection=await this.cache.write("session",t?"extension-disabled":"missing-route",!!t,!!this.config.token.value)}async initialize(){if(this.initialized)return;if(this.refresh)await this.cache.clear();if(this.selection=this.refresh?void 0:await this.cache.read(),this.config.token.value&&this.selection&&!this.selection.keyProbe)this.selection=void 0;if(!this.config.token.value){if(this.selection?.mode==="api-key")throw new d("Set PLANE_API_KEY or --token to use this instance's API-key pages.");if(!this.selection)await this.selectSession()}this.initialized=!0}async session(){if(!this.sessionClient){let[{SessionClient:e},{resolveSessionConfig:t}]=await Promise.all([import("./chunks/session-2t143y9g.js"),import("./chunks/session-config-0fbdavjt.js")]);this.sessionClient=new e(t(this.config,this.sessionDirectory))}return this.sessionClient}async preparePages(e){if(await this.initialize(),this.prepared.has(e))return;let t=this.selection?.mode??"api-key";if(!this.selection){let n=`projects/${e}/pages/`;try{let s=await this.api.request(n);this.validateList(s,n),this.selection=await this.cache.write("api-key","public-list",!0,!0),this.firstLists.set(n,s)}catch(s){if(!(s instanceof w)||s.status!==404)throw s;await this.selectSession(s)}}if(this.selection?.mode==="session")await this.session();if(this.prepared.add(e),t!==this.selection?.mode)return"changed-identity"}async request(e,t={}){await this.initialize();let n=/^projects\/([^/]+)\/pages\//.exec(e);if(n?.[1])await this.preparePages(n[1]);if((t.method??"GET")!=="GET"&&e!=="/live/convert-document")this.markPageMutation();if(this.selection?.mode==="session")return(await this.session()).request(e,t);if((t.method??"GET")==="GET"&&!t.query&&this.firstLists.has(e)){let s=this.firstLists.get(e);return this.firstLists.delete(e),s}try{return await this.api.request(e,t)}catch(s){if(s instanceof w&&s.status===404&&/^projects\/[^/]+\/pages\/$/.test(e)&&(t.method??"GET")==="GET"&&!t.query?.cursor){if(await this.cache.clear(),await this.selectSession(s),this.commandScope){if(this.mutationStarted)throw new w("Page access changed after a mutation started. Inspect the page before retrying; no writes were replayed.");throw new de("Page access changed; resolve project references again under the selected identity.")}return(await this.session()).request(e,t)}throw s}}validateList(e,t){if(!Array.isArray(e)&&(!e||typeof e!=="object"||!("results"in e)||!Array.isArray(e.results)))throw new w(`Unexpected page list response: ${t}`)}async listAll(e,t={}){let n=[],s=new Set,r;do{let o=await this.request(e,r?{...t,query:{...t.query,cursor:r}}:t);if(this.validateList(o,e),Array.isArray(o))return[...n,...o];if(n.push(...o.results),r=o.next_page_results?o.next_cursor:void 0,r){if(s.has(r))throw new w("Page API repeated a pagination cursor.");s.add(r)}}while(r);return n}async liveCredentials(e,t=!1){if(this.selection?.mode!=="session")return;let s=await(await this.session()).session(t),r=await this.runtime();if(r&&!r.release&&r.extensions.length)throw new w("The for-plane runtime has no active extension release.");return{token:JSON.stringify({id:s.userId,cookie:`session-id=${s.sessionId}; csrftoken=${s.csrf}`,readOnly:!e}),...r?.release?{release:r.release}:{}}}}var $n=(e)=>async(t,n,s)=>{let{runPageContent:r}=await import("./chunks/page-content-es7q27cn.js");await r(e,t,n,s)},xn={...Object.fromEntries(["page outline","page read","page stamp","page create","page set","page insert","page rm"].map((e)=>[e,$n(e)])),pages:async(e,t,n)=>{let s=await Ee(e,p(t.positionals[0],"a project"));C(await Vt(e,s.id),n,Kt)},"page show":async(e,t,n)=>{let s=p(t.positionals[0],"a project"),r=p(t.positionals[1],"a page UUID or name"),o=await Ee(e,s),i=Yt(await Bt(e,o.id,r));if(i.losses.length)N(`Warning: ${i.losses.join("; ")}`);C(i,n,(l)=>l.markdown)}},De=(e)=>e==="pages"||e.startsWith("page "),Jt=async(e,t,n,s)=>{let r=xn[e];if(!r)throw new d(`Unknown page command "${e}".`);t.beginPageCommand?.();for(let o=0;o<2;o++)try{await r(t,n,s);return}catch(i){if(!(i instanceof de)||o>0)throw i}};var jn="2.0.0",V,Cn=(e,t)=>{let n=e===void 0?void 0:T(e);if(n===void 0){if(e===void 0||e==="help"||e==="version"||W(e).length>0){let o=[...t.flags.keys()].filter((i)=>!Zt.includes(i));if(o.length>0)throw new d(`${e??"i-plane"} does not take ${o.map((i)=>`--${i}`).join(", ")}.`)}return}V=e;let s=Xt(n),r=[...t.flags.keys()].filter((o)=>!s.has(o));if(r.length>0){let o=r.map((i)=>`--${i}`).join(", ");throw new d(`${n.name} does not take ${o}. Its flags are listed below.`)}},kn=(e,t)=>{let n=e.path.length===0?void 0:e.path.join(" "),s=n===void 0?void 0:T(n)?.name??n;if(Cn(s,e),s!==void 0&&W(s).length>0){let r=W(s);if(P(e,"help"))return C({commands:r,globalOptions:L},t,(o)=>`${o.commands.map((i)=>me({command:i},!1)).join(`
144
36
 
145
37
  `)}
146
38
 
147
- ${da(i.globalOptions)}`),!0;throw new N(`Expected ${n} <${a.map((i)=>i.name.split(" ")[1]).join("|")}>. Run i-plane ${n} --help.`)}if(n!==void 0&&n!=="help"&&n!=="version"&&kt(n)===void 0)throw new N(`No command "${n}". Run i-plane for the map.`);if(n===void 0&&!ze(e,"version"))return ft(la(),t,ua),!0;if(n==="guide")return ft(la(),t,ua),!0;if(n==="version"||ze(e,"version"))return ft({version:wy},t,(a)=>a.version),!0;if(n!==void 0&&ze(e,"help")){let a=kt(n);if(a!==void 0)return ft({command:a,globalOptions:Ct},t,(i)=>$i(i)),!0}if(n==="help")return ft(la(),t,ua),!0;return!1},Ty=async()=>{let e=Ac(process.argv.slice(2)),t=ze(e,"json"),r=Oc({token:I(e,"token"),configPath:I(e,"config")});if(r!==void 0)Bi(r);if(Cy(e,t))return;let n=Fc({url:I(e,"url"),token:I(e,"token"),workspace:I(e,"workspace"),configPath:I(e,"config")});Bi(n.token.value);let a=e.path.length===0?void 0:e.path.join(" "),i=a===void 0?void 0:kt(a)?.name??a;if(di=i,i==="config"){ft(Gc(n),t,Jc);return}if(Xr(n.url.value)&&await ra(n.url.value)===void 0){let o=await Sc(n.url.value);if(o!==void 0)process.exit(o)}let s=new qi(n);await xh(i,s,e,n,t)};Ty().catch((e)=>{if(e instanceof N){let t=di===void 0?void 0:kt(di);sa(t===void 0?e.message:Nc(t,e.message),2)}if(e instanceof Le)sa(e.message,1);sa(e instanceof Error?e.message:String(e),1)});
39
+ ${J(o.globalOptions)}`),!0;throw new d(`Expected ${s} <${r.map((o)=>o.name.split(" ")[1]).join("|")}>. Run i-plane ${s} --help.`)}if(s!==void 0&&s!=="help"&&s!=="version"&&T(s)===void 0){let r=W(s.split(" ")[0]??"");throw new d(`No command "${s}". ${r.length?`Available commands: ${r.map((o)=>o.name).join(", ")}. Run i-plane ${s.split(" ")[0]} --help.`:"Run i-plane for the map."}`)}if(s===void 0&&!P(e,"version"))return C(K(),t,Y),!0;if(s==="guide")return C(K(),t,Y),!0;if(s==="version"||P(e,"version"))return C({version:jn},t,(r)=>r.version),!0;if(s!==void 0&&P(e,"help")){let r=T(s);if(r!==void 0)return C({command:r,globalOptions:L},t,(o)=>me(o)),!0}if(s==="help")return C(K(),t,Y),!0;return!1},An=async()=>{let e=Qt(process.argv.slice(2)),t=P(e,"json"),n=rn({token:a(e,"token"),configPath:a(e,"config")});if(n!==void 0)Ue(n);let s=e.path.join(" ");if(V=T(s)?.name,oe(s,e),kn(e,t))return;let r=sn({url:a(e,"url"),token:a(e,"token"),workspace:a(e,"workspace"),configPath:a(e,"config")},s==="config"||De(s));if(r.token.value)Ue(r.token.value);let o=e.path.length===0?void 0:e.path.join(" "),i=o===void 0?void 0:T(o)?.name??o;if(V=i,i==="config"){C({...tt(r),pages:await Wt(r.url.value,P(e,"refresh-pages"))},t,nt);return}if(en(r.url.value)&&await tn(r.url.value)===void 0){let m=await nn(r.url.value);if(m!==void 0)process.exit(m)}let l=new ae(r),u=a(e,"session-cache");if(De(s))await Jt(s,new qe(r,{refresh:P(e,"refresh-pages"),...u?{sessionDirectory:u}:{}}),e,t);else await Mt(i,l,e,r,t)};An().catch((e)=>{if(e instanceof d){let t=V===void 0?void 0:T(V);le(t===void 0?e.message:He(t,e.message),2)}if(e instanceof w)le(e.message,1);le(e instanceof Error?e.message:String(e),1)});