@oiij/naive-ui 0.0.21 → 0.0.22
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/components/data-table-plus/DataTablePlus.vue.d.ts +4 -24
- package/dist/components/data-table-plus/index.d.ts +26 -9
- package/dist/components/preset-form/PresetForm.vue.d.ts +2 -1
- package/dist/components/preset-input/index.d.ts +3 -1
- package/dist/components/preset-select/PresetSelect.vue.d.ts +4 -18
- package/dist/components/preset-select/index.d.ts +18 -7
- package/dist/components/remote-request/RemoteRequest.vue.d.ts +3 -8
- package/dist/components/remote-request/index.d.ts +8 -1
- package/dist/components.cjs +4 -4
- package/dist/components.js +79 -71
- package/dist/components.umd.cjs +4 -4
- package/package.json +3 -3
package/dist/components.umd.cjs
CHANGED
|
@@ -11,7 +11,7 @@ ${r}
|
|
|
11
11
|
|
|
12
12
|
`)}function Vr(e){for(var u=0,t,n=0,r=e.length;r>=4;++n,r-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,u=(t&65535)*1540483477+((t>>>16)*59797<<16)^(u&65535)*1540483477+((u>>>16)*59797<<16);switch(r){case 3:u^=(e.charCodeAt(n+2)&255)<<16;case 2:u^=(e.charCodeAt(n+1)&255)<<8;case 1:u^=e.charCodeAt(n)&255,u=(u&65535)*1540483477+((u>>>16)*59797<<16)}return u^=u>>>13,u=(u&65535)*1540483477+((u>>>16)*59797<<16),((u^u>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function Gr(e,u,t,n){const{els:r}=u;if(t===void 0)r.forEach(Ut),u.els=[];else{const i=Yu(t,n);i&&r.includes(i)&&(Ut(i),u.els=r.filter(c=>c!==i))}}function Wt(e,u){e.push(u)}function Wr(e,u,t,n,r,i,c,a,l){let s;if(t===void 0&&(s=u.render(n),t=Vr(s)),l){l.adapter(t,s??u.render(n));return}a===void 0&&(a=document.head);const f=Yu(t,a);if(f!==null&&!i)return f;const d=f??$r(t);if(s===void 0&&(s=u.render(n)),d.textContent=s,f!==null)return f;if(c){const y=a.querySelector(`meta[name="${c}"]`);if(y)return a.insertBefore(d,y),Wt(u.els,d),d}return r?a.insertBefore(d,a.querySelector("style, link")):a.appendChild(d),Wt(u.els,d),d}function Zr(e){return Hr(this,this.instance,e)}function Yr(e={}){const{id:u,ssr:t,props:n,head:r=!1,force:i=!1,anchorMetaName:c,parent:a}=e;return Wr(this.instance,this,u,n,r,i,c,a,t)}function Xr(e={}){const{id:u,parent:t}=e;Gr(this.instance,this,u,t)}const ku=function(e,u,t,n){return{instance:e,$:u,props:t,children:n,els:[],render:Zr,mount:Yr,unmount:Xr}},Qr=function(e,u,t,n){return Array.isArray(u)?ku(e,{$:null},null,u):Array.isArray(t)?ku(e,u,null,t):Array.isArray(n)?ku(e,u,t,n):ku(e,u,t,null)};function Jr(e={}){const u={c:(...t)=>Qr(u,...t),use:(t,...n)=>t.install(u,...n),find:Yu,context:{},config:e};return u}function Kr(e){const{namespace:u="n",blockPrefix:t=`.${u}-`,elementPrefix:n="__",modifierPrefix:r="--"}=e??{},i=Jr(),c=vr({blockPrefix:t,elementPrefix:n,modifierPrefix:r});return i.use(c),{namespace:u,blockPrefix:t,elementPrefix:n,modifierPrefix:r,cssr:i,plugin:c}}const eo="@css-render/vue3-ssr";function uo(e,u){return`<style cssr-id="${e}">
|
|
13
13
|
${u}
|
|
14
|
-
</style>`}function to(e,u,t){const{styles:n,ids:r}=t;r.has(e)||n!==null&&(r.add(e),n.push(uo(e,u)))}const no=typeof document<"u";function ro(){if(no)return;const e=o.inject(eo,null);if(e!==null)return{adapter:(u,t)=>to(u,t,e),context:e}}function xu(e,u){const t=ro();function n(){u.mount({id:e,head:!0,ssr:t})}t?n():o.onBeforeMount(()=>{n()})}const{cssr:_u,plugin:yu,namespace:Je}=Kr(),{c:oo}=_u,{cB:Eu}=yu,io=`${Je}-transition`;function ao({name:e="fade",enterDuration:u=".3s",leaveDuration:t=".3s",enterCubicBezier:n="cubic-bezier(.4, 0, .2, 1)",leaveCubicBezier:r="cubic-bezier(.4, 0, .2, 1)"}={}){return[Eu(`${e}-enter-active`,{transition:`all ${u} ${n}!important`}),Eu(`${e}-leave-active`,{transition:`all ${t} ${r}!important`}),Eu(`${e}-enter-from`,{opacity:0}),Eu(`${e}-leave-to`,{opacity:0})]}function co(){return oo([ao()])}const Qu=o.defineComponent({__name:"BaseTransition",props:{name:{default:"fade"},transitionProps:{}},setup(e){return xu(io,co()),(u,t)=>(o.openBlock(),o.createBlock(o.Transition,o.mergeProps({name:`${o.unref(Je)}-${u.name}`,appear:"",mode:"out-in"},u.transitionProps),{default:o.withCtx(()=>[o.renderSlot(u.$slots,"default")]),_:3},16,["name"]))}});/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Zt,setPrototypeOf:Yt,isFrozen:lo,getPrototypeOf:so,getOwnPropertyDescriptor:fo}=Object;let{freeze:ie,seal:pe,create:Xt}=Object,{apply:Ju,construct:Ku}=typeof Reflect<"u"&&Reflect;ie||(ie=function(u){return u}),pe||(pe=function(u){return u}),Ju||(Ju=function(u,t,n){return u.apply(t,n)}),Ku||(Ku=function(u,t){return new u(...t)});const Cu=ce(Array.prototype.forEach),po=ce(Array.prototype.lastIndexOf),Qt=ce(Array.prototype.pop),Ke=ce(Array.prototype.push),ho=ce(Array.prototype.splice),Au=ce(String.prototype.toLowerCase),et=ce(String.prototype.toString),Jt=ce(String.prototype.match),eu=ce(String.prototype.replace),bo=ce(String.prototype.indexOf),mo=ce(String.prototype.trim),me=ce(Object.prototype.hasOwnProperty),ae=ce(RegExp.prototype.test),uu=go(TypeError);function ce(e){return function(u){u instanceof RegExp&&(u.lastIndex=0);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ju(e,u,n)}}function go(e){return function(){for(var u=arguments.length,t=new Array(u),n=0;n<u;n++)t[n]=arguments[n];return Ku(e,t)}}function I(e,u){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Au;Yt&&Yt(e,null);let n=u.length;for(;n--;){let r=u[n];if(typeof r=="string"){const i=t(r);i!==r&&(lo(u)||(u[n]=i),r=i)}e[r]=!0}return e}function ko(e){for(let u=0;u<e.length;u++)me(e,u)||(e[u]=null);return e}function Ce(e){const u=Xt(null);for(const[t,n]of Zt(e))me(e,t)&&(Array.isArray(n)?u[t]=ko(n):n&&typeof n=="object"&&n.constructor===Object?u[t]=Ce(n):u[t]=n);return u}function tu(e,u){for(;e!==null;){const n=fo(e,u);if(n){if(n.get)return ce(n.get);if(typeof n.value=="function")return ce(n.value)}e=so(e)}function t(){return null}return t}const Kt=ie(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ut=ie(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),tt=ie(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),xo=ie(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),nt=ie(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),_o=ie(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),en=ie(["#text"]),un=ie(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),rt=ie(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),tn=ie(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),wu=ie(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),yo=pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Eo=pe(/<%[\w\W]*|[\w\W]*%>/gm),Co=pe(/\$\{[\w\W]*/gm),Ao=pe(/^data-[\-\w.\u00B7-\uFFFF]+$/),wo=pe(/^aria-[\-\w]+$/),nn=pe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Do=pe(/^(?:\w+script|data):/i),Fo=pe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rn=pe(/^html$/i),So=pe(/^[a-z][.\w]*(-[.\w]+)+$/i);var on=Object.freeze({__proto__:null,ARIA_ATTR:wo,ATTR_WHITESPACE:Fo,CUSTOM_ELEMENT:So,DATA_ATTR:Ao,DOCTYPE_NAME:rn,ERB_EXPR:Eo,IS_ALLOWED_URI:nn,IS_SCRIPT_OR_DATA:Do,MUSTACHE_EXPR:yo,TMPLIT_EXPR:Co});const nu={element:1,text:3,progressingInstruction:7,comment:8,document:9},To=function(){return typeof window>"u"?null:window},Po=function(u,t){if(typeof u!="object"||typeof u.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return u.createPolicy(i,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},an=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function cn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:To();const u=v=>cn(v);if(u.version="3.2.6",u.removed=[],!e||!e.document||e.document.nodeType!==nu.document||!e.Element)return u.isSupported=!1,u;let{document:t}=e;const n=t,r=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:c,Node:a,Element:l,NodeFilter:s,NamedNodeMap:f=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:y,trustedTypes:x}=e,p=l.prototype,C=tu(p,"cloneNode"),A=tu(p,"remove"),E=tu(p,"nextSibling"),b=tu(p,"childNodes"),h=tu(p,"parentNode");if(typeof c=="function"){const v=t.createElement("template");v.content&&v.content.ownerDocument&&(t=v.content.ownerDocument)}let k,g="";const{implementation:_,createNodeIterator:w,createDocumentFragment:B,getElementsByTagName:F}=t,{importNode:O}=n;let z=an();u.isSupported=typeof Zt=="function"&&typeof h=="function"&&_&&_.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:G,ERB_EXPR:te,TMPLIT_EXPR:T,DATA_ATTR:$,ARIA_ATTR:ne,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:j,CUSTOM_ELEMENT:D}=on;let{IS_ALLOWED_URI:M}=on,P=null;const U=I({},[...Kt,...ut,...tt,...nt,...en]);let L=null;const H=I({},[...un,...rt,...tn,...wu]);let q=Object.seal(Xt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),K=null,be=null,Ue=!0,He=!0,Ve=!1,Me=!0,Ne=!1,ve=!0,Le=!1,Nt=!1,vt=!1,Ge=!1,Uu=!1,Hu=!1,mr=!0,gr=!1;const ul="user-content-";let Ot=!0,hu=!1,We={},Ze=null;const kr=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let xr=null;const _r=I({},["audio","video","img","source","image","track"]);let Mt=null;const yr=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vu="http://www.w3.org/1998/Math/MathML",Gu="http://www.w3.org/2000/svg",we="http://www.w3.org/1999/xhtml";let Ye=we,Lt=!1,zt=null;const tl=I({},[Vu,Gu,we],et);let Wu=I({},["mi","mo","mn","ms","mtext"]),Zu=I({},["annotation-xml"]);const nl=I({},["title","style","font","a","script"]);let bu=null;const rl=["application/xhtml+xml","text/html"],ol="text/html";let ee=null,Xe=null;const il=t.createElement("form"),Er=function(m){return m instanceof RegExp||m instanceof Function},It=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Xe&&Xe===m)){if((!m||typeof m!="object")&&(m={}),m=Ce(m),bu=rl.indexOf(m.PARSER_MEDIA_TYPE)===-1?ol:m.PARSER_MEDIA_TYPE,ee=bu==="application/xhtml+xml"?et:Au,P=me(m,"ALLOWED_TAGS")?I({},m.ALLOWED_TAGS,ee):U,L=me(m,"ALLOWED_ATTR")?I({},m.ALLOWED_ATTR,ee):H,zt=me(m,"ALLOWED_NAMESPACES")?I({},m.ALLOWED_NAMESPACES,et):tl,Mt=me(m,"ADD_URI_SAFE_ATTR")?I(Ce(yr),m.ADD_URI_SAFE_ATTR,ee):yr,xr=me(m,"ADD_DATA_URI_TAGS")?I(Ce(_r),m.ADD_DATA_URI_TAGS,ee):_r,Ze=me(m,"FORBID_CONTENTS")?I({},m.FORBID_CONTENTS,ee):kr,K=me(m,"FORBID_TAGS")?I({},m.FORBID_TAGS,ee):Ce({}),be=me(m,"FORBID_ATTR")?I({},m.FORBID_ATTR,ee):Ce({}),We=me(m,"USE_PROFILES")?m.USE_PROFILES:!1,Ue=m.ALLOW_ARIA_ATTR!==!1,He=m.ALLOW_DATA_ATTR!==!1,Ve=m.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ne=m.SAFE_FOR_TEMPLATES||!1,ve=m.SAFE_FOR_XML!==!1,Le=m.WHOLE_DOCUMENT||!1,Ge=m.RETURN_DOM||!1,Uu=m.RETURN_DOM_FRAGMENT||!1,Hu=m.RETURN_TRUSTED_TYPE||!1,vt=m.FORCE_BODY||!1,mr=m.SANITIZE_DOM!==!1,gr=m.SANITIZE_NAMED_PROPS||!1,Ot=m.KEEP_CONTENT!==!1,hu=m.IN_PLACE||!1,M=m.ALLOWED_URI_REGEXP||nn,Ye=m.NAMESPACE||we,Wu=m.MATHML_TEXT_INTEGRATION_POINTS||Wu,Zu=m.HTML_INTEGRATION_POINTS||Zu,q=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&Er(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&Er(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(He=!1),Uu&&(Ge=!0),We&&(P=I({},en),L=[],We.html===!0&&(I(P,Kt),I(L,un)),We.svg===!0&&(I(P,ut),I(L,rt),I(L,wu)),We.svgFilters===!0&&(I(P,tt),I(L,rt),I(L,wu)),We.mathMl===!0&&(I(P,nt),I(L,tn),I(L,wu))),m.ADD_TAGS&&(P===U&&(P=Ce(P)),I(P,m.ADD_TAGS,ee)),m.ADD_ATTR&&(L===H&&(L=Ce(L)),I(L,m.ADD_ATTR,ee)),m.ADD_URI_SAFE_ATTR&&I(Mt,m.ADD_URI_SAFE_ATTR,ee),m.FORBID_CONTENTS&&(Ze===kr&&(Ze=Ce(Ze)),I(Ze,m.FORBID_CONTENTS,ee)),Ot&&(P["#text"]=!0),Le&&I(P,["html","head","body"]),P.table&&(I(P,["tbody"]),delete K.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw uu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw uu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');k=m.TRUSTED_TYPES_POLICY,g=k.createHTML("")}else k===void 0&&(k=Po(x,r)),k!==null&&typeof g=="string"&&(g=k.createHTML(""));ie&&ie(m),Xe=m}},Cr=I({},[...ut,...tt,...xo]),Ar=I({},[...nt,..._o]),al=function(m){let S=h(m);(!S||!S.tagName)&&(S={namespaceURI:Ye,tagName:"template"});const N=Au(m.tagName),W=Au(S.tagName);return zt[m.namespaceURI]?m.namespaceURI===Gu?S.namespaceURI===we?N==="svg":S.namespaceURI===Vu?N==="svg"&&(W==="annotation-xml"||Wu[W]):!!Cr[N]:m.namespaceURI===Vu?S.namespaceURI===we?N==="math":S.namespaceURI===Gu?N==="math"&&Zu[W]:!!Ar[N]:m.namespaceURI===we?S.namespaceURI===Gu&&!Zu[W]||S.namespaceURI===Vu&&!Wu[W]?!1:!Ar[N]&&(nl[N]||!Cr[N]):!!(bu==="application/xhtml+xml"&&zt[m.namespaceURI]):!1},Ee=function(m){Ke(u.removed,{element:m});try{h(m).removeChild(m)}catch{A(m)}},Qe=function(m,S){try{Ke(u.removed,{attribute:S.getAttributeNode(m),from:S})}catch{Ke(u.removed,{attribute:null,from:S})}if(S.removeAttribute(m),m==="is")if(Ge||Uu)try{Ee(S)}catch{}else try{S.setAttribute(m,"")}catch{}},wr=function(m){let S=null,N=null;if(vt)m="<remove></remove>"+m;else{const X=Jt(m,/^[\r\n\t ]+/);N=X&&X[0]}bu==="application/xhtml+xml"&&Ye===we&&(m='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m+"</body></html>");const W=k?k.createHTML(m):m;if(Ye===we)try{S=new y().parseFromString(W,bu)}catch{}if(!S||!S.documentElement){S=_.createDocument(Ye,"template",null);try{S.documentElement.innerHTML=Lt?g:W}catch{}}const re=S.body||S.documentElement;return m&&N&&re.insertBefore(t.createTextNode(N),re.childNodes[0]||null),Ye===we?F.call(S,Le?"html":"body")[0]:Le?S.documentElement:re},Dr=function(m){return w.call(m.ownerDocument||m,m,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},$t=function(m){return m instanceof d&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof f)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},Fr=function(m){return typeof a=="function"&&m instanceof a};function De(v,m,S){Cu(v,N=>{N.call(u,m,S,Xe)})}const Sr=function(m){let S=null;if(De(z.beforeSanitizeElements,m,null),$t(m))return Ee(m),!0;const N=ee(m.nodeName);if(De(z.uponSanitizeElement,m,{tagName:N,allowedTags:P}),ve&&m.hasChildNodes()&&!Fr(m.firstElementChild)&&ae(/<[/\w!]/g,m.innerHTML)&&ae(/<[/\w!]/g,m.textContent)||m.nodeType===nu.progressingInstruction||ve&&m.nodeType===nu.comment&&ae(/<[/\w]/g,m.data))return Ee(m),!0;if(!P[N]||K[N]){if(!K[N]&&Pr(N)&&(q.tagNameCheck instanceof RegExp&&ae(q.tagNameCheck,N)||q.tagNameCheck instanceof Function&&q.tagNameCheck(N)))return!1;if(Ot&&!Ze[N]){const W=h(m)||m.parentNode,re=b(m)||m.childNodes;if(re&&W){const X=re.length;for(let fe=X-1;fe>=0;--fe){const Fe=C(re[fe],!0);Fe.__removalCount=(m.__removalCount||0)+1,W.insertBefore(Fe,E(m))}}}return Ee(m),!0}return m instanceof l&&!al(m)||(N==="noscript"||N==="noembed"||N==="noframes")&&ae(/<\/no(script|embed|frames)/i,m.innerHTML)?(Ee(m),!0):(Ne&&m.nodeType===nu.text&&(S=m.textContent,Cu([G,te,T],W=>{S=eu(S,W," ")}),m.textContent!==S&&(Ke(u.removed,{element:m.cloneNode()}),m.textContent=S)),De(z.afterSanitizeElements,m,null),!1)},Tr=function(m,S,N){if(mr&&(S==="id"||S==="name")&&(N in t||N in il))return!1;if(!(He&&!be[S]&&ae($,S))){if(!(Ue&&ae(ne,S))){if(!L[S]||be[S]){if(!(Pr(m)&&(q.tagNameCheck instanceof RegExp&&ae(q.tagNameCheck,m)||q.tagNameCheck instanceof Function&&q.tagNameCheck(m))&&(q.attributeNameCheck instanceof RegExp&&ae(q.attributeNameCheck,S)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(S))||S==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&ae(q.tagNameCheck,N)||q.tagNameCheck instanceof Function&&q.tagNameCheck(N))))return!1}else if(!Mt[S]){if(!ae(M,eu(N,j,""))){if(!((S==="src"||S==="xlink:href"||S==="href")&&m!=="script"&&bo(N,"data:")===0&&xr[m])){if(!(Ve&&!ae(Y,eu(N,j,"")))){if(N)return!1}}}}}}return!0},Pr=function(m){return m!=="annotation-xml"&&Jt(m,D)},Rr=function(m){De(z.beforeSanitizeAttributes,m,null);const{attributes:S}=m;if(!S||$t(m))return;const N={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0};let W=S.length;for(;W--;){const re=S[W],{name:X,namespaceURI:fe,value:Fe}=re,mu=ee(X),qt=Fe;let oe=X==="value"?qt:mo(qt);if(N.attrName=mu,N.attrValue=oe,N.keepAttr=!0,N.forceKeepAttr=void 0,De(z.uponSanitizeAttribute,m,N),oe=N.attrValue,gr&&(mu==="id"||mu==="name")&&(Qe(X,m),oe=ul+oe),ve&&ae(/((--!?|])>)|<\/(style|title)/i,oe)){Qe(X,m);continue}if(N.forceKeepAttr)continue;if(!N.keepAttr){Qe(X,m);continue}if(!Me&&ae(/\/>/i,oe)){Qe(X,m);continue}Ne&&Cu([G,te,T],Nr=>{oe=eu(oe,Nr," ")});const Br=ee(m.nodeName);if(!Tr(Br,mu,oe)){Qe(X,m);continue}if(k&&typeof x=="object"&&typeof x.getAttributeType=="function"&&!fe)switch(x.getAttributeType(Br,mu)){case"TrustedHTML":{oe=k.createHTML(oe);break}case"TrustedScriptURL":{oe=k.createScriptURL(oe);break}}if(oe!==qt)try{fe?m.setAttributeNS(fe,X,oe):m.setAttribute(X,oe),$t(m)?Ee(m):Qt(u.removed)}catch{Qe(X,m)}}De(z.afterSanitizeAttributes,m,null)},cl=function v(m){let S=null;const N=Dr(m);for(De(z.beforeSanitizeShadowDOM,m,null);S=N.nextNode();)De(z.uponSanitizeShadowNode,S,null),Sr(S),Rr(S),S.content instanceof i&&v(S.content);De(z.afterSanitizeShadowDOM,m,null)};return u.sanitize=function(v){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=null,N=null,W=null,re=null;if(Lt=!v,Lt&&(v="<!-->"),typeof v!="string"&&!Fr(v))if(typeof v.toString=="function"){if(v=v.toString(),typeof v!="string")throw uu("dirty is not a string, aborting")}else throw uu("toString is not a function");if(!u.isSupported)return v;if(Nt||It(m),u.removed=[],typeof v=="string"&&(hu=!1),hu){if(v.nodeName){const Fe=ee(v.nodeName);if(!P[Fe]||K[Fe])throw uu("root node is forbidden and cannot be sanitized in-place")}}else if(v instanceof a)S=wr("<!---->"),N=S.ownerDocument.importNode(v,!0),N.nodeType===nu.element&&N.nodeName==="BODY"||N.nodeName==="HTML"?S=N:S.appendChild(N);else{if(!Ge&&!Ne&&!Le&&v.indexOf("<")===-1)return k&&Hu?k.createHTML(v):v;if(S=wr(v),!S)return Ge?null:Hu?g:""}S&&vt&&Ee(S.firstChild);const X=Dr(hu?v:S);for(;W=X.nextNode();)Sr(W),Rr(W),W.content instanceof i&&cl(W.content);if(hu)return v;if(Ge){if(Uu)for(re=B.call(S.ownerDocument);S.firstChild;)re.appendChild(S.firstChild);else re=S;return(L.shadowroot||L.shadowrootmode)&&(re=O.call(n,re,!0)),re}let fe=Le?S.outerHTML:S.innerHTML;return Le&&P["!doctype"]&&S.ownerDocument&&S.ownerDocument.doctype&&S.ownerDocument.doctype.name&&ae(rn,S.ownerDocument.doctype.name)&&(fe="<!DOCTYPE "+S.ownerDocument.doctype.name+`>
|
|
14
|
+
</style>`}function to(e,u,t){const{styles:n,ids:r}=t;r.has(e)||n!==null&&(r.add(e),n.push(uo(e,u)))}const no=typeof document<"u";function ro(){if(no)return;const e=o.inject(eo,null);if(e!==null)return{adapter:(u,t)=>to(u,t,e),context:e}}function xu(e,u){const t=ro();function n(){u.mount({id:e,head:!0,ssr:t})}t?n():o.onBeforeMount(()=>{n()})}const{cssr:_u,plugin:yu,namespace:Je}=Kr(),{c:oo}=_u,{cB:Eu}=yu,io=`${Je}-transition`;function ao({name:e="fade",enterDuration:u=".3s",leaveDuration:t=".3s",enterCubicBezier:n="cubic-bezier(.4, 0, .2, 1)",leaveCubicBezier:r="cubic-bezier(.4, 0, .2, 1)"}={}){return[Eu(`${e}-enter-active`,{transition:`all ${u} ${n}!important`}),Eu(`${e}-leave-active`,{transition:`all ${t} ${r}!important`}),Eu(`${e}-enter-from`,{opacity:0}),Eu(`${e}-leave-to`,{opacity:0})]}function co(){return oo([ao()])}const Qu=o.defineComponent({__name:"BaseTransition",props:{name:{default:"fade"},transitionProps:{}},setup(e){return xu(io,co()),(u,t)=>(o.openBlock(),o.createBlock(o.Transition,o.mergeProps({name:`${o.unref(Je)}-${u.name}`,appear:"",mode:"out-in"},u.transitionProps),{default:o.withCtx(()=>[o.renderSlot(u.$slots,"default")]),_:3},16,["name"]))}});/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Zt,setPrototypeOf:Yt,isFrozen:lo,getPrototypeOf:so,getOwnPropertyDescriptor:fo}=Object;let{freeze:oe,seal:pe,create:Xt}=Object,{apply:Ju,construct:Ku}=typeof Reflect<"u"&&Reflect;oe||(oe=function(u){return u}),pe||(pe=function(u){return u}),Ju||(Ju=function(u,t,n){return u.apply(t,n)}),Ku||(Ku=function(u,t){return new u(...t)});const Cu=ae(Array.prototype.forEach),po=ae(Array.prototype.lastIndexOf),Qt=ae(Array.prototype.pop),Ke=ae(Array.prototype.push),ho=ae(Array.prototype.splice),Au=ae(String.prototype.toLowerCase),et=ae(String.prototype.toString),Jt=ae(String.prototype.match),eu=ae(String.prototype.replace),bo=ae(String.prototype.indexOf),mo=ae(String.prototype.trim),me=ae(Object.prototype.hasOwnProperty),ie=ae(RegExp.prototype.test),uu=go(TypeError);function ae(e){return function(u){u instanceof RegExp&&(u.lastIndex=0);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ju(e,u,n)}}function go(e){return function(){for(var u=arguments.length,t=new Array(u),n=0;n<u;n++)t[n]=arguments[n];return Ku(e,t)}}function I(e,u){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Au;Yt&&Yt(e,null);let n=u.length;for(;n--;){let r=u[n];if(typeof r=="string"){const i=t(r);i!==r&&(lo(u)||(u[n]=i),r=i)}e[r]=!0}return e}function ko(e){for(let u=0;u<e.length;u++)me(e,u)||(e[u]=null);return e}function Ce(e){const u=Xt(null);for(const[t,n]of Zt(e))me(e,t)&&(Array.isArray(n)?u[t]=ko(n):n&&typeof n=="object"&&n.constructor===Object?u[t]=Ce(n):u[t]=n);return u}function tu(e,u){for(;e!==null;){const n=fo(e,u);if(n){if(n.get)return ae(n.get);if(typeof n.value=="function")return ae(n.value)}e=so(e)}function t(){return null}return t}const Kt=oe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ut=oe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),tt=oe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),xo=oe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),nt=oe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),_o=oe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),en=oe(["#text"]),un=oe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),rt=oe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),tn=oe(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),wu=oe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),yo=pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Eo=pe(/<%[\w\W]*|[\w\W]*%>/gm),Co=pe(/\$\{[\w\W]*/gm),Ao=pe(/^data-[\-\w.\u00B7-\uFFFF]+$/),wo=pe(/^aria-[\-\w]+$/),nn=pe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Do=pe(/^(?:\w+script|data):/i),Fo=pe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rn=pe(/^html$/i),So=pe(/^[a-z][.\w]*(-[.\w]+)+$/i);var on=Object.freeze({__proto__:null,ARIA_ATTR:wo,ATTR_WHITESPACE:Fo,CUSTOM_ELEMENT:So,DATA_ATTR:Ao,DOCTYPE_NAME:rn,ERB_EXPR:Eo,IS_ALLOWED_URI:nn,IS_SCRIPT_OR_DATA:Do,MUSTACHE_EXPR:yo,TMPLIT_EXPR:Co});const nu={element:1,text:3,progressingInstruction:7,comment:8,document:9},To=function(){return typeof window>"u"?null:window},Po=function(u,t){if(typeof u!="object"||typeof u.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return u.createPolicy(i,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},an=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function cn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:To();const u=v=>cn(v);if(u.version="3.2.6",u.removed=[],!e||!e.document||e.document.nodeType!==nu.document||!e.Element)return u.isSupported=!1,u;let{document:t}=e;const n=t,r=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:c,Node:a,Element:l,NodeFilter:s,NamedNodeMap:f=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:y,trustedTypes:x}=e,p=l.prototype,C=tu(p,"cloneNode"),A=tu(p,"remove"),E=tu(p,"nextSibling"),b=tu(p,"childNodes"),h=tu(p,"parentNode");if(typeof c=="function"){const v=t.createElement("template");v.content&&v.content.ownerDocument&&(t=v.content.ownerDocument)}let k,g="";const{implementation:_,createNodeIterator:w,createDocumentFragment:B,getElementsByTagName:F}=t,{importNode:O}=n;let z=an();u.isSupported=typeof Zt=="function"&&typeof h=="function"&&_&&_.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:G,ERB_EXPR:te,TMPLIT_EXPR:T,DATA_ATTR:$,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:j,CUSTOM_ELEMENT:D}=on;let{IS_ALLOWED_URI:M}=on,P=null;const U=I({},[...Kt,...ut,...tt,...nt,...en]);let L=null;const H=I({},[...un,...rt,...tn,...wu]);let q=Object.seal(Xt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),K=null,be=null,Ue=!0,He=!0,Ve=!1,Me=!0,Ne=!1,ve=!0,Le=!1,Nt=!1,vt=!1,Ge=!1,Uu=!1,Hu=!1,mr=!0,gr=!1;const ul="user-content-";let Ot=!0,hu=!1,We={},Ze=null;const kr=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let xr=null;const _r=I({},["audio","video","img","source","image","track"]);let Mt=null;const yr=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vu="http://www.w3.org/1998/Math/MathML",Gu="http://www.w3.org/2000/svg",we="http://www.w3.org/1999/xhtml";let Ye=we,Lt=!1,zt=null;const tl=I({},[Vu,Gu,we],et);let Wu=I({},["mi","mo","mn","ms","mtext"]),Zu=I({},["annotation-xml"]);const nl=I({},["title","style","font","a","script"]);let bu=null;const rl=["application/xhtml+xml","text/html"],ol="text/html";let ee=null,Xe=null;const il=t.createElement("form"),Er=function(m){return m instanceof RegExp||m instanceof Function},It=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Xe&&Xe===m)){if((!m||typeof m!="object")&&(m={}),m=Ce(m),bu=rl.indexOf(m.PARSER_MEDIA_TYPE)===-1?ol:m.PARSER_MEDIA_TYPE,ee=bu==="application/xhtml+xml"?et:Au,P=me(m,"ALLOWED_TAGS")?I({},m.ALLOWED_TAGS,ee):U,L=me(m,"ALLOWED_ATTR")?I({},m.ALLOWED_ATTR,ee):H,zt=me(m,"ALLOWED_NAMESPACES")?I({},m.ALLOWED_NAMESPACES,et):tl,Mt=me(m,"ADD_URI_SAFE_ATTR")?I(Ce(yr),m.ADD_URI_SAFE_ATTR,ee):yr,xr=me(m,"ADD_DATA_URI_TAGS")?I(Ce(_r),m.ADD_DATA_URI_TAGS,ee):_r,Ze=me(m,"FORBID_CONTENTS")?I({},m.FORBID_CONTENTS,ee):kr,K=me(m,"FORBID_TAGS")?I({},m.FORBID_TAGS,ee):Ce({}),be=me(m,"FORBID_ATTR")?I({},m.FORBID_ATTR,ee):Ce({}),We=me(m,"USE_PROFILES")?m.USE_PROFILES:!1,Ue=m.ALLOW_ARIA_ATTR!==!1,He=m.ALLOW_DATA_ATTR!==!1,Ve=m.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ne=m.SAFE_FOR_TEMPLATES||!1,ve=m.SAFE_FOR_XML!==!1,Le=m.WHOLE_DOCUMENT||!1,Ge=m.RETURN_DOM||!1,Uu=m.RETURN_DOM_FRAGMENT||!1,Hu=m.RETURN_TRUSTED_TYPE||!1,vt=m.FORCE_BODY||!1,mr=m.SANITIZE_DOM!==!1,gr=m.SANITIZE_NAMED_PROPS||!1,Ot=m.KEEP_CONTENT!==!1,hu=m.IN_PLACE||!1,M=m.ALLOWED_URI_REGEXP||nn,Ye=m.NAMESPACE||we,Wu=m.MATHML_TEXT_INTEGRATION_POINTS||Wu,Zu=m.HTML_INTEGRATION_POINTS||Zu,q=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&Er(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&Er(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(He=!1),Uu&&(Ge=!0),We&&(P=I({},en),L=[],We.html===!0&&(I(P,Kt),I(L,un)),We.svg===!0&&(I(P,ut),I(L,rt),I(L,wu)),We.svgFilters===!0&&(I(P,tt),I(L,rt),I(L,wu)),We.mathMl===!0&&(I(P,nt),I(L,tn),I(L,wu))),m.ADD_TAGS&&(P===U&&(P=Ce(P)),I(P,m.ADD_TAGS,ee)),m.ADD_ATTR&&(L===H&&(L=Ce(L)),I(L,m.ADD_ATTR,ee)),m.ADD_URI_SAFE_ATTR&&I(Mt,m.ADD_URI_SAFE_ATTR,ee),m.FORBID_CONTENTS&&(Ze===kr&&(Ze=Ce(Ze)),I(Ze,m.FORBID_CONTENTS,ee)),Ot&&(P["#text"]=!0),Le&&I(P,["html","head","body"]),P.table&&(I(P,["tbody"]),delete K.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw uu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw uu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');k=m.TRUSTED_TYPES_POLICY,g=k.createHTML("")}else k===void 0&&(k=Po(x,r)),k!==null&&typeof g=="string"&&(g=k.createHTML(""));oe&&oe(m),Xe=m}},Cr=I({},[...ut,...tt,...xo]),Ar=I({},[...nt,..._o]),al=function(m){let S=h(m);(!S||!S.tagName)&&(S={namespaceURI:Ye,tagName:"template"});const N=Au(m.tagName),W=Au(S.tagName);return zt[m.namespaceURI]?m.namespaceURI===Gu?S.namespaceURI===we?N==="svg":S.namespaceURI===Vu?N==="svg"&&(W==="annotation-xml"||Wu[W]):!!Cr[N]:m.namespaceURI===Vu?S.namespaceURI===we?N==="math":S.namespaceURI===Gu?N==="math"&&Zu[W]:!!Ar[N]:m.namespaceURI===we?S.namespaceURI===Gu&&!Zu[W]||S.namespaceURI===Vu&&!Wu[W]?!1:!Ar[N]&&(nl[N]||!Cr[N]):!!(bu==="application/xhtml+xml"&&zt[m.namespaceURI]):!1},Ee=function(m){Ke(u.removed,{element:m});try{h(m).removeChild(m)}catch{A(m)}},Qe=function(m,S){try{Ke(u.removed,{attribute:S.getAttributeNode(m),from:S})}catch{Ke(u.removed,{attribute:null,from:S})}if(S.removeAttribute(m),m==="is")if(Ge||Uu)try{Ee(S)}catch{}else try{S.setAttribute(m,"")}catch{}},wr=function(m){let S=null,N=null;if(vt)m="<remove></remove>"+m;else{const X=Jt(m,/^[\r\n\t ]+/);N=X&&X[0]}bu==="application/xhtml+xml"&&Ye===we&&(m='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m+"</body></html>");const W=k?k.createHTML(m):m;if(Ye===we)try{S=new y().parseFromString(W,bu)}catch{}if(!S||!S.documentElement){S=_.createDocument(Ye,"template",null);try{S.documentElement.innerHTML=Lt?g:W}catch{}}const ne=S.body||S.documentElement;return m&&N&&ne.insertBefore(t.createTextNode(N),ne.childNodes[0]||null),Ye===we?F.call(S,Le?"html":"body")[0]:Le?S.documentElement:ne},Dr=function(m){return w.call(m.ownerDocument||m,m,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},$t=function(m){return m instanceof d&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof f)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},Fr=function(m){return typeof a=="function"&&m instanceof a};function De(v,m,S){Cu(v,N=>{N.call(u,m,S,Xe)})}const Sr=function(m){let S=null;if(De(z.beforeSanitizeElements,m,null),$t(m))return Ee(m),!0;const N=ee(m.nodeName);if(De(z.uponSanitizeElement,m,{tagName:N,allowedTags:P}),ve&&m.hasChildNodes()&&!Fr(m.firstElementChild)&&ie(/<[/\w!]/g,m.innerHTML)&&ie(/<[/\w!]/g,m.textContent)||m.nodeType===nu.progressingInstruction||ve&&m.nodeType===nu.comment&&ie(/<[/\w]/g,m.data))return Ee(m),!0;if(!P[N]||K[N]){if(!K[N]&&Pr(N)&&(q.tagNameCheck instanceof RegExp&&ie(q.tagNameCheck,N)||q.tagNameCheck instanceof Function&&q.tagNameCheck(N)))return!1;if(Ot&&!Ze[N]){const W=h(m)||m.parentNode,ne=b(m)||m.childNodes;if(ne&&W){const X=ne.length;for(let fe=X-1;fe>=0;--fe){const Fe=C(ne[fe],!0);Fe.__removalCount=(m.__removalCount||0)+1,W.insertBefore(Fe,E(m))}}}return Ee(m),!0}return m instanceof l&&!al(m)||(N==="noscript"||N==="noembed"||N==="noframes")&&ie(/<\/no(script|embed|frames)/i,m.innerHTML)?(Ee(m),!0):(Ne&&m.nodeType===nu.text&&(S=m.textContent,Cu([G,te,T],W=>{S=eu(S,W," ")}),m.textContent!==S&&(Ke(u.removed,{element:m.cloneNode()}),m.textContent=S)),De(z.afterSanitizeElements,m,null),!1)},Tr=function(m,S,N){if(mr&&(S==="id"||S==="name")&&(N in t||N in il))return!1;if(!(He&&!be[S]&&ie($,S))){if(!(Ue&&ie(ce,S))){if(!L[S]||be[S]){if(!(Pr(m)&&(q.tagNameCheck instanceof RegExp&&ie(q.tagNameCheck,m)||q.tagNameCheck instanceof Function&&q.tagNameCheck(m))&&(q.attributeNameCheck instanceof RegExp&&ie(q.attributeNameCheck,S)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(S))||S==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&ie(q.tagNameCheck,N)||q.tagNameCheck instanceof Function&&q.tagNameCheck(N))))return!1}else if(!Mt[S]){if(!ie(M,eu(N,j,""))){if(!((S==="src"||S==="xlink:href"||S==="href")&&m!=="script"&&bo(N,"data:")===0&&xr[m])){if(!(Ve&&!ie(Y,eu(N,j,"")))){if(N)return!1}}}}}}return!0},Pr=function(m){return m!=="annotation-xml"&&Jt(m,D)},Rr=function(m){De(z.beforeSanitizeAttributes,m,null);const{attributes:S}=m;if(!S||$t(m))return;const N={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0};let W=S.length;for(;W--;){const ne=S[W],{name:X,namespaceURI:fe,value:Fe}=ne,mu=ee(X),qt=Fe;let re=X==="value"?qt:mo(qt);if(N.attrName=mu,N.attrValue=re,N.keepAttr=!0,N.forceKeepAttr=void 0,De(z.uponSanitizeAttribute,m,N),re=N.attrValue,gr&&(mu==="id"||mu==="name")&&(Qe(X,m),re=ul+re),ve&&ie(/((--!?|])>)|<\/(style|title)/i,re)){Qe(X,m);continue}if(N.forceKeepAttr)continue;if(!N.keepAttr){Qe(X,m);continue}if(!Me&&ie(/\/>/i,re)){Qe(X,m);continue}Ne&&Cu([G,te,T],Nr=>{re=eu(re,Nr," ")});const Br=ee(m.nodeName);if(!Tr(Br,mu,re)){Qe(X,m);continue}if(k&&typeof x=="object"&&typeof x.getAttributeType=="function"&&!fe)switch(x.getAttributeType(Br,mu)){case"TrustedHTML":{re=k.createHTML(re);break}case"TrustedScriptURL":{re=k.createScriptURL(re);break}}if(re!==qt)try{fe?m.setAttributeNS(fe,X,re):m.setAttribute(X,re),$t(m)?Ee(m):Qt(u.removed)}catch{Qe(X,m)}}De(z.afterSanitizeAttributes,m,null)},cl=function v(m){let S=null;const N=Dr(m);for(De(z.beforeSanitizeShadowDOM,m,null);S=N.nextNode();)De(z.uponSanitizeShadowNode,S,null),Sr(S),Rr(S),S.content instanceof i&&v(S.content);De(z.afterSanitizeShadowDOM,m,null)};return u.sanitize=function(v){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=null,N=null,W=null,ne=null;if(Lt=!v,Lt&&(v="<!-->"),typeof v!="string"&&!Fr(v))if(typeof v.toString=="function"){if(v=v.toString(),typeof v!="string")throw uu("dirty is not a string, aborting")}else throw uu("toString is not a function");if(!u.isSupported)return v;if(Nt||It(m),u.removed=[],typeof v=="string"&&(hu=!1),hu){if(v.nodeName){const Fe=ee(v.nodeName);if(!P[Fe]||K[Fe])throw uu("root node is forbidden and cannot be sanitized in-place")}}else if(v instanceof a)S=wr("<!---->"),N=S.ownerDocument.importNode(v,!0),N.nodeType===nu.element&&N.nodeName==="BODY"||N.nodeName==="HTML"?S=N:S.appendChild(N);else{if(!Ge&&!Ne&&!Le&&v.indexOf("<")===-1)return k&&Hu?k.createHTML(v):v;if(S=wr(v),!S)return Ge?null:Hu?g:""}S&&vt&&Ee(S.firstChild);const X=Dr(hu?v:S);for(;W=X.nextNode();)Sr(W),Rr(W),W.content instanceof i&&cl(W.content);if(hu)return v;if(Ge){if(Uu)for(ne=B.call(S.ownerDocument);S.firstChild;)ne.appendChild(S.firstChild);else ne=S;return(L.shadowroot||L.shadowrootmode)&&(ne=O.call(n,ne,!0)),ne}let fe=Le?S.outerHTML:S.innerHTML;return Le&&P["!doctype"]&&S.ownerDocument&&S.ownerDocument.doctype&&S.ownerDocument.doctype.name&&ie(rn,S.ownerDocument.doctype.name)&&(fe="<!DOCTYPE "+S.ownerDocument.doctype.name+`>
|
|
15
15
|
`+fe),Ne&&Cu([G,te,T],Fe=>{fe=eu(fe,Fe," ")}),k&&Hu?k.createHTML(fe):fe},u.setConfig=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};It(v),Nt=!0},u.clearConfig=function(){Xe=null,Nt=!1},u.isValidAttribute=function(v,m,S){Xe||It({});const N=ee(v),W=ee(m);return Tr(N,W,S)},u.addHook=function(v,m){typeof m=="function"&&Ke(z[v],m)},u.removeHook=function(v,m){if(m!==void 0){const S=po(z[v],m);return S===-1?void 0:ho(z[v],S,1)[0]}return Qt(z[v])},u.removeHooks=function(v){z[v]=[]},u.removeAllHooks=function(){z=an()},u}var Ro=cn();const ln={};function Bo(e){let u=ln[e];if(u)return u;u=ln[e]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);u.push(n)}for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);u[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return u}function ze(e,u){typeof u!="string"&&(u=ze.defaultChars);const t=Bo(u);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let r="";for(let i=0,c=n.length;i<c;i+=3){const a=parseInt(n.slice(i+1,i+3),16);if(a<128){r+=t[a];continue}if((a&224)===192&&i+3<c){const l=parseInt(n.slice(i+4,i+6),16);if((l&192)===128){const s=a<<6&1984|l&63;s<128?r+="��":r+=String.fromCharCode(s),i+=3;continue}}if((a&240)===224&&i+6<c){const l=parseInt(n.slice(i+4,i+6),16),s=parseInt(n.slice(i+7,i+9),16);if((l&192)===128&&(s&192)===128){const f=a<<12&61440|l<<6&4032|s&63;f<2048||f>=55296&&f<=57343?r+="���":r+=String.fromCharCode(f),i+=6;continue}}if((a&248)===240&&i+9<c){const l=parseInt(n.slice(i+4,i+6),16),s=parseInt(n.slice(i+7,i+9),16),f=parseInt(n.slice(i+10,i+12),16);if((l&192)===128&&(s&192)===128&&(f&192)===128){let d=a<<18&1835008|l<<12&258048|s<<6&4032|f&63;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),i+=9;continue}}r+="�"}return r})}ze.defaultChars=";/?:@&=+$,#",ze.componentChars="";const sn={};function No(e){let u=sn[e];if(u)return u;u=sn[e]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?u.push(n):u.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t<e.length;t++)u[e.charCodeAt(t)]=e[t];return u}function ru(e,u,t){typeof u!="string"&&(t=u,u=ru.defaultChars),typeof t>"u"&&(t=!0);const n=No(u);let r="";for(let i=0,c=e.length;i<c;i++){const a=e.charCodeAt(i);if(t&&a===37&&i+2<c&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(a<128){r+=n[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1<c){const l=e.charCodeAt(i+1);if(l>=56320&&l<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}ru.defaultChars=";/?:@&=+$,-_.!~*'()#",ru.componentChars="-_.!~*'()";function ot(e){let u="";return u+=e.protocol||"",u+=e.slashes?"//":"",u+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?u+="["+e.hostname+"]":u+=e.hostname||"",u+=e.port?":"+e.port:"",u+=e.pathname||"",u+=e.search||"",u+=e.hash||"",u}function Du(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const vo=/^([a-z0-9.+-]+:)/i,Oo=/:[0-9]*$/,Mo=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Lo=["<",">",'"',"`"," ","\r",`
|
|
16
16
|
`," "],zo=["{","}","|","\\","^","`"].concat(Lo),Io=["'"].concat(zo),fn=["%","/","?",";","#"].concat(Io),dn=["/","?","#"],$o=255,pn=/^[+a-z0-9A-Z_-]{0,63}$/,qo=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hn={javascript:!0,"javascript:":!0},bn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function it(e,u){if(e&&e instanceof Du)return e;const t=new Du;return t.parse(e,u),t}Du.prototype.parse=function(e,u){let t,n,r,i=e;if(i=i.trim(),!u&&e.split("#").length===1){const s=Mo.exec(i);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let c=vo.exec(i);if(c&&(c=c[0],t=c.toLowerCase(),this.protocol=c,i=i.substr(c.length)),(u||c||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(c&&hn[c])&&(i=i.substr(2),this.slashes=!0)),!hn[c]&&(r||c&&!bn[c])){let s=-1;for(let p=0;p<dn.length;p++)n=i.indexOf(dn[p]),n!==-1&&(s===-1||n<s)&&(s=n);let f,d;s===-1?d=i.lastIndexOf("@"):d=i.lastIndexOf("@",s),d!==-1&&(f=i.slice(0,d),i=i.slice(d+1),this.auth=f),s=-1;for(let p=0;p<fn.length;p++)n=i.indexOf(fn[p]),n!==-1&&(s===-1||n<s)&&(s=n);s===-1&&(s=i.length),i[s-1]===":"&&s--;const y=i.slice(0,s);i=i.slice(s),this.parseHost(y),this.hostname=this.hostname||"";const x=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!x){const p=this.hostname.split(/\./);for(let C=0,A=p.length;C<A;C++){const E=p[C];if(E&&!E.match(pn)){let b="";for(let h=0,k=E.length;h<k;h++)E.charCodeAt(h)>127?b+="x":b+=E[h];if(!b.match(pn)){const h=p.slice(0,C),k=p.slice(C+1),g=E.match(qo);g&&(h.push(g[1]),k.unshift(g[2])),k.length&&(i=k.join(".")+i),this.hostname=h.join(".");break}}}}this.hostname.length>$o&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");a!==-1&&(this.hash=i.substr(a),i=i.slice(0,a));const l=i.indexOf("?");return l!==-1&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),bn[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Du.prototype.parseHost=function(e){let u=Oo.exec(e);u&&(u=u[0],u!==":"&&(this.port=u.substr(1)),e=e.substr(0,e.length-u.length)),e&&(this.hostname=e)};const jo=Object.freeze(Object.defineProperty({__proto__:null,decode:ze,encode:ru,format:ot,parse:it},Symbol.toStringTag,{value:"Module"})),mn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,gn=/[\0-\x1F\x7F-\x9F]/,Uo=/[\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]/,at=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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\u1B5A-\u1B60\u1B7D\u1B7E\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\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]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,kn=/[\$\+<->\^`\|~\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-\u20C0\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-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\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-\u31E3\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-\uFBC2\uFD40-\uFD4F\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]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\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-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,xn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ho=Object.freeze(Object.defineProperty({__proto__:null,Any:mn,Cc:gn,Cf:Uo,P:at,S:kn,Z:xn},Symbol.toStringTag,{value:"Module"})),Vo=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Go=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var ct;const Wo=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Zo=(ct=String.fromCodePoint)!==null&&ct!==void 0?ct:function(e){let u="";return e>65535&&(e-=65536,u+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),u+=String.fromCharCode(e),u};function Yo(e){var u;return e>=55296&&e<=57343||e>1114111?65533:(u=Wo.get(e))!==null&&u!==void 0?u:e}var Q;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Q||(Q={}));const Xo=32;var Te;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Te||(Te={}));function lt(e){return e>=Q.ZERO&&e<=Q.NINE}function Qo(e){return e>=Q.UPPER_A&&e<=Q.UPPER_F||e>=Q.LOWER_A&&e<=Q.LOWER_F}function Jo(e){return e>=Q.UPPER_A&&e<=Q.UPPER_Z||e>=Q.LOWER_A&&e<=Q.LOWER_Z||lt(e)}function Ko(e){return e===Q.EQUALS||Jo(e)}var J;(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"})(J||(J={}));var Pe;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Pe||(Pe={}));class ei{constructor(u,t,n){this.decodeTree=u,this.emitCodePoint=t,this.errors=n,this.state=J.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Pe.Strict}startEntity(u){this.decodeMode=u,this.state=J.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(u,t){switch(this.state){case J.EntityStart:return u.charCodeAt(t)===Q.NUM?(this.state=J.NumericStart,this.consumed+=1,this.stateNumericStart(u,t+1)):(this.state=J.NamedEntity,this.stateNamedEntity(u,t));case J.NumericStart:return this.stateNumericStart(u,t);case J.NumericDecimal:return this.stateNumericDecimal(u,t);case J.NumericHex:return this.stateNumericHex(u,t);case J.NamedEntity:return this.stateNamedEntity(u,t)}}stateNumericStart(u,t){return t>=u.length?-1:(u.charCodeAt(t)|Xo)===Q.LOWER_X?(this.state=J.NumericHex,this.consumed+=1,this.stateNumericHex(u,t+1)):(this.state=J.NumericDecimal,this.stateNumericDecimal(u,t))}addToNumericResult(u,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(u.substr(t,i),r),this.consumed+=i}}stateNumericHex(u,t){const n=t;for(;t<u.length;){const r=u.charCodeAt(t);if(lt(r)||Qo(r))t+=1;else return this.addToNumericResult(u,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(u,n,t,16),-1}stateNumericDecimal(u,t){const n=t;for(;t<u.length;){const r=u.charCodeAt(t);if(lt(r))t+=1;else return this.addToNumericResult(u,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(u,n,t,10),-1}emitNumericEntity(u,t){var n;if(this.consumed<=t)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(u===Q.SEMI)this.consumed+=1;else if(this.decodeMode===Pe.Strict)return 0;return this.emitCodePoint(Yo(this.result),this.consumed),this.errors&&(u!==Q.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(u,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&Te.VALUE_LENGTH)>>14;for(;t<u.length;t++,this.excess++){const c=u.charCodeAt(t);if(this.treeIndex=ui(n,r,this.treeIndex+Math.max(1,i),c),this.treeIndex<0)return this.result===0||this.decodeMode===Pe.Attribute&&(i===0||Ko(c))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Te.VALUE_LENGTH)>>14,i!==0){if(c===Q.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Pe.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var u;const{result:t,decodeTree:n}=this,r=(n[t]&Te.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(u=this.errors)===null||u===void 0||u.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(u,t,n){const{decodeTree:r}=this;return this.emitCodePoint(t===1?r[u]&~Te.VALUE_LENGTH:r[u+1],n),t===3&&this.emitCodePoint(r[u+2],n),n}end(){var u;switch(this.state){case J.NamedEntity:return this.result!==0&&(this.decodeMode!==Pe.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case J.NumericDecimal:return this.emitNumericEntity(0,2);case J.NumericHex:return this.emitNumericEntity(0,3);case J.NumericStart:return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case J.EntityStart:return 0}}}function _n(e){let u="";const t=new ei(e,n=>u+=Zo(n));return function(r,i){let c=0,a=0;for(;(a=r.indexOf("&",a))>=0;){u+=r.slice(c,a),t.startEntity(i);const s=t.write(r,a+1);if(s<0){c=a+t.end();break}c=a+s,a=s===0?c+1:c}const l=u+r.slice(c);return u="",l}}function ui(e,u,t,n){const r=(u&Te.BRANCH_LENGTH)>>7,i=u&Te.JUMP_TABLE;if(r===0)return i!==0&&n===i?t:-1;if(i){const l=n-i;return l<0||l>=r?-1:e[t+l]-1}let c=t,a=c+r-1;for(;c<=a;){const l=c+a>>>1,s=e[l];if(s<n)c=l+1;else if(s>n)a=l-1;else return e[l+r]}return-1}const ti=_n(Vo);_n(Go);function yn(e,u=Pe.Legacy){return ti(e,u)}function ni(e){return Object.prototype.toString.call(e)}function st(e){return ni(e)==="[object String]"}const ri=Object.prototype.hasOwnProperty;function oi(e,u){return ri.call(e,u)}function Fu(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function En(e,u,t){return[].concat(e.slice(0,u),t,e.slice(u+1))}function ft(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Su(e){if(e>65535){e-=65536;const u=55296+(e>>10),t=56320+(e&1023);return String.fromCharCode(u,t)}return String.fromCharCode(e)}const Cn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ii=/&([a-z#][a-z0-9]{1,31});/gi,ai=new RegExp(Cn.source+"|"+ii.source,"gi"),ci=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function li(e,u){if(u.charCodeAt(0)===35&&ci.test(u)){const n=u[1].toLowerCase()==="x"?parseInt(u.slice(2),16):parseInt(u.slice(1),10);return ft(n)?Su(n):e}const t=yn(e);return t!==e?t:e}function si(e){return e.indexOf("\\")<0?e:e.replace(Cn,"$1")}function Ie(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(ai,function(u,t,n){return t||li(u,n)})}const fi=/[&<>"]/,di=/[&<>"]/g,pi={"&":"&","<":"<",">":">",'"':"""};function hi(e){return pi[e]}function Re(e){return fi.test(e)?e.replace(di,hi):e}const bi=/[.?*+^$[\]\\(){}|-]/g;function mi(e){return e.replace(bi,"\\$&")}function V(e){switch(e){case 9:case 32:return!0}return!1}function ou(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 iu(e){return at.test(e)||kn.test(e)}function au(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 Tu(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const gi=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:En,assign:Fu,escapeHtml:Re,escapeRE:mi,fromCodePoint:Su,has:oi,isMdAsciiPunct:au,isPunctChar:iu,isSpace:V,isString:st,isValidEntityCode:ft,isWhiteSpace:ou,lib:{mdurl:jo,ucmicro:Ho},normalizeReference:Tu,unescapeAll:Ie,unescapeMd:si},Symbol.toStringTag,{value:"Module"}));function ki(e,u,t){let n,r,i,c;const a=e.posMax,l=e.pos;for(e.pos=u+1,n=1;e.pos<a;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){r=!0;break}if(c=e.pos,e.md.inline.skipToken(e),i===91){if(c===e.pos-1)n++;else if(t)return e.pos=l,-1}}let s=-1;return r&&(s=e.pos),e.pos=l,s}function xi(e,u,t){let n,r=u;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<t;){if(n=e.charCodeAt(r),n===10||n===60)return i;if(n===62)return i.pos=r+1,i.str=Ie(e.slice(u+1,r)),i.ok=!0,i;if(n===92&&r+1<t){r+=2;continue}r++}return i}let c=0;for(;r<t&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<t){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(c++,c>32))return i;if(n===41){if(c===0)break;c--}r++}return u===r||c!==0||(i.str=Ie(e.slice(u,r)),i.pos=r,i.ok=!0),i}function _i(e,u,t,n){let r,i=u;const c={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)c.str=n.str,c.marker=n.marker;else{if(i>=t)return c;let a=e.charCodeAt(i);if(a!==34&&a!==39&&a!==40)return c;u++,i++,a===40&&(a=41),c.marker=a}for(;i<t;){if(r=e.charCodeAt(i),r===c.marker)return c.pos=i+1,c.str+=Ie(e.slice(u,i)),c.ok=!0,c;if(r===40&&c.marker===41)return c;r===92&&i+1<t&&i++,i++}return c.can_continue=!0,c.str+=Ie(e.slice(u,i)),c}const yi=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:xi,parseLinkLabel:ki,parseLinkTitle:_i},Symbol.toStringTag,{value:"Module"})),ke={};ke.code_inline=function(e,u,t,n,r){const i=e[u];return"<code"+r.renderAttrs(i)+">"+Re(i.content)+"</code>"},ke.code_block=function(e,u,t,n,r){const i=e[u];return"<pre"+r.renderAttrs(i)+"><code>"+Re(e[u].content)+`</code></pre>
|
|
17
17
|
`},ke.fence=function(e,u,t,n,r){const i=e[u],c=i.info?Ie(i.info).trim():"";let a="",l="";if(c){const f=c.split(/(\s+)/g);a=f[0],l=f.slice(2).join("")}let s;if(t.highlight?s=t.highlight(i.content,a,l)||Re(i.content):s=Re(i.content),s.indexOf("<pre")===0)return s+`
|
|
@@ -27,16 +27,16 @@ ${u}
|
|
|
27
27
|
`:">",i},$e.prototype.renderInline=function(e,u,t){let n="";const r=this.rules;for(let i=0,c=e.length;i<c;i++){const a=e[i].type;typeof r[a]<"u"?n+=r[a](e,i,u,t,this):n+=this.renderToken(e,i,u)}return n},$e.prototype.renderInlineAsText=function(e,u,t){let n="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":n+=e[r].content;break;case"image":n+=this.renderInlineAsText(e[r].children,u,t);break;case"html_inline":case"html_block":n+=e[r].content;break;case"softbreak":case"hardbreak":n+=`
|
|
28
28
|
`;break}return n},$e.prototype.render=function(e,u,t){let n="";const r=this.rules;for(let i=0,c=e.length;i<c;i++){const a=e[i].type;a==="inline"?n+=this.renderInline(e[i].children,u,t):typeof r[a]<"u"?n+=r[a](e,i,u,t,this):n+=this.renderToken(e,i,u,t)}return n};function le(){this.__rules__=[],this.__cache__=null}le.prototype.__find__=function(e){for(let u=0;u<this.__rules__.length;u++)if(this.__rules__[u].name===e)return u;return-1},le.prototype.__compile__=function(){const e=this,u=[""];e.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(n){u.indexOf(n)<0&&u.push(n)})}),e.__cache__={},u.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},le.prototype.at=function(e,u,t){const n=this.__find__(e),r=t||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=u,this.__rules__[n].alt=r.alt||[],this.__cache__=null},le.prototype.before=function(e,u,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:u,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null},le.prototype.after=function(e,u,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:u,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null},le.prototype.push=function(e,u,t){const n=t||{};this.__rules__.push({name:e,enabled:!0,fn:u,alt:n.alt||[]}),this.__cache__=null},le.prototype.enable=function(e,u){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(u)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,t.push(n)},this),this.__cache__=null,t},le.prototype.enableOnly=function(e,u){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(e,u)},le.prototype.disable=function(e,u){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(u)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,t.push(n)},this),this.__cache__=null,t},le.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function ge(e,u,t){this.type=e,this.tag=u,this.attrs=null,this.map=null,this.nesting=t,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}ge.prototype.attrIndex=function(u){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===u)return n;return-1},ge.prototype.attrPush=function(u){this.attrs?this.attrs.push(u):this.attrs=[u]},ge.prototype.attrSet=function(u,t){const n=this.attrIndex(u),r=[u,t];n<0?this.attrPush(r):this.attrs[n]=r},ge.prototype.attrGet=function(u){const t=this.attrIndex(u);let n=null;return t>=0&&(n=this.attrs[t][1]),n},ge.prototype.attrJoin=function(u,t){const n=this.attrIndex(u);n<0?this.attrPush([u,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};function An(e,u,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=u}An.prototype.Token=ge;const Ei=/\r\n?|\n/g,Ci=/\0/g;function Ai(e){let u;u=e.src.replace(Ei,`
|
|
29
29
|
`),u=u.replace(Ci,"�"),e.src=u}function wi(e){let u;e.inlineMode?(u=new e.Token("inline","",0),u.content=e.src,u.map=[0,1],u.children=[],e.tokens.push(u)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Di(e){const u=e.tokens;for(let t=0,n=u.length;t<n;t++){const r=u[t];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Fi(e){return/^<a[>\s]/i.test(e)}function Si(e){return/^<\/a\s*>/i.test(e)}function Ti(e){const u=e.tokens;if(e.md.options.linkify)for(let t=0,n=u.length;t<n;t++){if(u[t].type!=="inline"||!e.md.linkify.pretest(u[t].content))continue;let r=u[t].children,i=0;for(let c=r.length-1;c>=0;c--){const a=r[c];if(a.type==="link_close"){for(c--;r[c].level!==a.level&&r[c].type!=="link_open";)c--;continue}if(a.type==="html_inline"&&(Fi(a.content)&&i>0&&i--,Si(a.content)&&i++),!(i>0)&&a.type==="text"&&e.md.linkify.test(a.content)){const l=a.content;let s=e.md.linkify.match(l);const f=[];let d=a.level,y=0;s.length>0&&s[0].index===0&&c>0&&r[c-1].type==="text_special"&&(s=s.slice(1));for(let x=0;x<s.length;x++){const p=s[x].url,C=e.md.normalizeLink(p);if(!e.md.validateLink(C))continue;let A=s[x].text;s[x].schema?s[x].schema==="mailto:"&&!/^mailto:/i.test(A)?A=e.md.normalizeLinkText("mailto:"+A).replace(/^mailto:/,""):A=e.md.normalizeLinkText(A):A=e.md.normalizeLinkText("http://"+A).replace(/^http:\/\//,"");const E=s[x].index;if(E>y){const g=new e.Token("text","",0);g.content=l.slice(y,E),g.level=d,f.push(g)}const b=new e.Token("link_open","a",1);b.attrs=[["href",C]],b.level=d++,b.markup="linkify",b.info="auto",f.push(b);const h=new e.Token("text","",0);h.content=A,h.level=d,f.push(h);const k=new e.Token("link_close","a",-1);k.level=--d,k.markup="linkify",k.info="auto",f.push(k),y=s[x].lastIndex}if(y<l.length){const x=new e.Token("text","",0);x.content=l.slice(y),x.level=d,f.push(x)}u[t].children=r=En(r,c,f)}}}}const wn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Pi=/\((c|tm|r)\)/i,Ri=/\((c|tm|r)\)/ig,Bi={c:"©",r:"®",tm:"™"};function Ni(e,u){return Bi[u.toLowerCase()]}function vi(e){let u=0;for(let t=e.length-1;t>=0;t--){const n=e[t];n.type==="text"&&!u&&(n.content=n.content.replace(Ri,Ni)),n.type==="link_open"&&n.info==="auto"&&u--,n.type==="link_close"&&n.info==="auto"&&u++}}function Oi(e){let u=0;for(let t=e.length-1;t>=0;t--){const n=e[t];n.type==="text"&&!u&&wn.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(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&u--,n.type==="link_close"&&n.info==="auto"&&u++}}function Mi(e){let u;if(e.md.options.typographer)for(u=e.tokens.length-1;u>=0;u--)e.tokens[u].type==="inline"&&(Pi.test(e.tokens[u].content)&&vi(e.tokens[u].children),wn.test(e.tokens[u].content)&&Oi(e.tokens[u].children))}const Li=/['"]/,Dn=/['"]/g,Fn="’";function Pu(e,u,t){return e.slice(0,u)+t+e.slice(u+1)}function zi(e,u){let t;const n=[];for(let r=0;r<e.length;r++){const i=e[r],c=e[r].level;for(t=n.length-1;t>=0&&!(n[t].level<=c);t--);if(n.length=t+1,i.type!=="text")continue;let a=i.content,l=0,s=a.length;e:for(;l<s;){Dn.lastIndex=l;const f=Dn.exec(a);if(!f)break;let d=!0,y=!0;l=f.index+1;const x=f[0]==="'";let p=32;if(f.index-1>=0)p=a.charCodeAt(f.index-1);else for(t=r-1;t>=0&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t--)if(e[t].content){p=e[t].content.charCodeAt(e[t].content.length-1);break}let C=32;if(l<s)C=a.charCodeAt(l);else for(t=r+1;t<e.length&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t++)if(e[t].content){C=e[t].content.charCodeAt(0);break}const A=au(p)||iu(String.fromCharCode(p)),E=au(C)||iu(String.fromCharCode(C)),b=ou(p),h=ou(C);if(h?d=!1:E&&(b||A||(d=!1)),b?y=!1:A&&(h||E||(y=!1)),C===34&&f[0]==='"'&&p>=48&&p<=57&&(y=d=!1),d&&y&&(d=A,y=E),!d&&!y){x&&(i.content=Pu(i.content,f.index,Fn));continue}if(y)for(t=n.length-1;t>=0;t--){let k=n[t];if(n[t].level<c)break;if(k.single===x&&n[t].level===c){k=n[t];let g,_;x?(g=u.md.options.quotes[2],_=u.md.options.quotes[3]):(g=u.md.options.quotes[0],_=u.md.options.quotes[1]),i.content=Pu(i.content,f.index,_),e[k.token].content=Pu(e[k.token].content,k.pos,g),l+=_.length-1,k.token===r&&(l+=g.length-1),a=i.content,s=a.length,n.length=t;continue e}}d?n.push({token:r,pos:f.index,single:x,level:c}):y&&x&&(i.content=Pu(i.content,f.index,Fn))}}}function Ii(e){if(e.md.options.typographer)for(let u=e.tokens.length-1;u>=0;u--)e.tokens[u].type!=="inline"||!Li.test(e.tokens[u].content)||zi(e.tokens[u].children,e)}function $i(e){let u,t;const n=e.tokens,r=n.length;for(let i=0;i<r;i++){if(n[i].type!=="inline")continue;const c=n[i].children,a=c.length;for(u=0;u<a;u++)c[u].type==="text_special"&&(c[u].type="text");for(u=t=0;u<a;u++)c[u].type==="text"&&u+1<a&&c[u+1].type==="text"?c[u+1].content=c[u].content+c[u+1].content:(u!==t&&(c[t]=c[u]),t++);u!==t&&(c.length=t)}}const dt=[["normalize",Ai],["block",wi],["inline",Di],["linkify",Ti],["replacements",Mi],["smartquotes",Ii],["text_join",$i]];function pt(){this.ruler=new le;for(let e=0;e<dt.length;e++)this.ruler.push(dt[e][0],dt[e][1])}pt.prototype.process=function(e){const u=this.ruler.getRules("");for(let t=0,n=u.length;t<n;t++)u[t](e)},pt.prototype.State=An;function xe(e,u,t,n){this.src=e,this.md=u,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let i=0,c=0,a=0,l=0,s=r.length,f=!1;c<s;c++){const d=r.charCodeAt(c);if(!f)if(V(d)){a++,d===9?l+=4-l%4:l++;continue}else f=!0;(d===10||c===s-1)&&(d!==10&&c++,this.bMarks.push(i),this.eMarks.push(c),this.tShift.push(a),this.sCount.push(l),this.bsCount.push(0),f=!1,a=0,l=0,i=c+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}xe.prototype.push=function(e,u,t){const n=new ge(e,u,t);return n.block=!0,t<0&&this.level--,n.level=this.level,t>0&&this.level++,this.tokens.push(n),n},xe.prototype.isEmpty=function(u){return this.bMarks[u]+this.tShift[u]>=this.eMarks[u]},xe.prototype.skipEmptyLines=function(u){for(let t=this.lineMax;u<t&&!(this.bMarks[u]+this.tShift[u]<this.eMarks[u]);u++);return u},xe.prototype.skipSpaces=function(u){for(let t=this.src.length;u<t;u++){const n=this.src.charCodeAt(u);if(!V(n))break}return u},xe.prototype.skipSpacesBack=function(u,t){if(u<=t)return u;for(;u>t;)if(!V(this.src.charCodeAt(--u)))return u+1;return u},xe.prototype.skipChars=function(u,t){for(let n=this.src.length;u<n&&this.src.charCodeAt(u)===t;u++);return u},xe.prototype.skipCharsBack=function(u,t,n){if(u<=n)return u;for(;u>n;)if(t!==this.src.charCodeAt(--u))return u+1;return u},xe.prototype.getLines=function(u,t,n,r){if(u>=t)return"";const i=new Array(t-u);for(let c=0,a=u;a<t;a++,c++){let l=0;const s=this.bMarks[a];let f=s,d;for(a+1<t||r?d=this.eMarks[a]+1:d=this.eMarks[a];f<d&&l<n;){const y=this.src.charCodeAt(f);if(V(y))y===9?l+=4-(l+this.bsCount[a])%4:l++;else if(f-s<this.tShift[a])l++;else break;f++}l>n?i[c]=new Array(l-n+1).join(" ")+this.src.slice(f,d):i[c]=this.src.slice(f,d)}return i.join("")},xe.prototype.Token=ge;const qi=65536;function ht(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];return e.src.slice(t,n)}function Sn(e){const u=[],t=e.length;let n=0,r=e.charCodeAt(n),i=!1,c=0,a="";for(;n<t;)r===124&&(i?(a+=e.substring(c,n-1),c=n):(u.push(a+e.substring(c,n)),a="",c=n+1)),i=r===92,n++,r=e.charCodeAt(n);return u.push(a+e.substring(c)),u}function ji(e,u,t,n){if(u+2>t)return!1;let r=u+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const c=e.src.charCodeAt(i++);if(c!==124&&c!==45&&c!==58||i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58&&!V(a)||c===45&&V(a))return!1;for(;i<e.eMarks[r];){const k=e.src.charCodeAt(i);if(k!==124&&k!==45&&k!==58&&!V(k))return!1;i++}let l=ht(e,u+1),s=l.split("|");const f=[];for(let k=0;k<s.length;k++){const g=s[k].trim();if(!g){if(k===0||k===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;g.charCodeAt(g.length-1)===58?f.push(g.charCodeAt(0)===58?"center":"right"):g.charCodeAt(0)===58?f.push("left"):f.push("")}if(l=ht(e,u).trim(),l.indexOf("|")===-1||e.sCount[u]-e.blkIndent>=4)return!1;s=Sn(l),s.length&&s[0]===""&&s.shift(),s.length&&s[s.length-1]===""&&s.pop();const d=s.length;if(d===0||d!==f.length)return!1;if(n)return!0;const y=e.parentType;e.parentType="table";const x=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),C=[u,0];p.map=C;const A=e.push("thead_open","thead",1);A.map=[u,u+1];const E=e.push("tr_open","tr",1);E.map=[u,u+1];for(let k=0;k<s.length;k++){const g=e.push("th_open","th",1);f[k]&&(g.attrs=[["style","text-align:"+f[k]]]);const _=e.push("inline","",0);_.content=s[k].trim(),_.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let b,h=0;for(r=u+2;r<t&&!(e.sCount[r]<e.blkIndent);r++){let k=!1;for(let _=0,w=x.length;_<w;_++)if(x[_](e,r,t,!0)){k=!0;break}if(k||(l=ht(e,r).trim(),!l)||e.sCount[r]-e.blkIndent>=4||(s=Sn(l),s.length&&s[0]===""&&s.shift(),s.length&&s[s.length-1]===""&&s.pop(),h+=d-s.length,h>qi))break;if(r===u+2){const _=e.push("tbody_open","tbody",1);_.map=b=[u+2,0]}const g=e.push("tr_open","tr",1);g.map=[r,r+1];for(let _=0;_<d;_++){const w=e.push("td_open","td",1);f[_]&&(w.attrs=[["style","text-align:"+f[_]]]);const B=e.push("inline","",0);B.content=s[_]?s[_].trim():"",B.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return b&&(e.push("tbody_close","tbody",-1),b[1]=r),e.push("table_close","table",-1),C[1]=r,e.parentType=y,e.line=r,!0}function Ui(e,u,t){if(e.sCount[u]-e.blkIndent<4)return!1;let n=u+1,r=n;for(;n<t;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(u,r,4+e.blkIndent,!1)+`
|
|
30
|
-
`,i.map=[u,e.line],!0}function Hi(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||r+3>i)return!1;const c=e.src.charCodeAt(r);if(c!==126&&c!==96)return!1;let a=r;r=e.skipChars(r,c);let l=r-a;if(l<3)return!1;const s=e.src.slice(a,r),f=e.src.slice(r,i);if(c===96&&f.indexOf(String.fromCharCode(c))>=0)return!1;if(n)return!0;let d=u,y=!1;for(;d++,!(d>=t||(r=a=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],r<i&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(r)===c&&!(e.sCount[d]-e.blkIndent>=4)&&(r=e.skipChars(r,c),!(r-a<l)&&(r=e.skipSpaces(r),!(r<i)))){y=!0;break}l=e.sCount[u],e.line=d+(y?1:0);const x=e.push("fence","code",0);return x.info=f,x.content=e.getLines(u+1,d,l,!0),x.markup=s,x.map=[u,e.line],!0}function Vi(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];const c=e.lineMax;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const a=[],l=[],s=[],f=[],d=e.md.block.ruler.getRules("blockquote"),y=e.parentType;e.parentType="blockquote";let x=!1,p;for(p=u;p<t;p++){const h=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],r>=i)break;if(e.src.charCodeAt(r++)===62&&!h){let g=e.sCount[p]+1,_,w;e.src.charCodeAt(r)===32?(r++,g++,w=!1,_=!0):e.src.charCodeAt(r)===9?(_=!0,(e.bsCount[p]+g)%4===3?(r++,g++,w=!1):w=!0):_=!1;let B=g;for(a.push(e.bMarks[p]),e.bMarks[p]=r;r<i;){const F=e.src.charCodeAt(r);if(V(F))F===9?B+=4-(B+e.bsCount[p]+(w?1:0))%4:B++;else break;r++}x=r>=i,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(_?1:0),s.push(e.sCount[p]),e.sCount[p]=B-g,f.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(x)break;let k=!1;for(let g=0,_=d.length;g<_;g++)if(d[g](e,p,t,!0)){k=!0;break}if(k){e.lineMax=p,e.blkIndent!==0&&(a.push(e.bMarks[p]),l.push(e.bsCount[p]),f.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}a.push(e.bMarks[p]),l.push(e.bsCount[p]),f.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]=-1}const C=e.blkIndent;e.blkIndent=0;const A=e.push("blockquote_open","blockquote",1);A.markup=">";const E=[u,0];A.map=E,e.md.block.tokenize(e,u,p);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=c,e.parentType=y,E[1]=e.line;for(let h=0;h<f.length;h++)e.bMarks[h+u]=a[h],e.tShift[h+u]=f[h],e.sCount[h+u]=s[h],e.bsCount[h+u]=l[h];return e.blkIndent=C,!0}function Gi(e,u,t,n){const r=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let i=e.bMarks[u]+e.tShift[u];const c=e.src.charCodeAt(i++);if(c!==42&&c!==45&&c!==95)return!1;let a=1;for(;i<r;){const s=e.src.charCodeAt(i++);if(s!==c&&!V(s))return!1;s===c&&a++}if(a<3)return!1;if(n)return!0;e.line=u+1;const l=e.push("hr","hr",0);return l.map=[u,e.line],l.markup=Array(a+1).join(String.fromCharCode(c)),!0}function Tn(e,u){const t=e.eMarks[u];let n=e.bMarks[u]+e.tShift[u];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<t){const i=e.src.charCodeAt(n);if(!V(i))return-1}return n}function Pn(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];let r=t;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-t>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!V(i))?-1:r}function Wi(e,u){const t=e.level+2;for(let n=u+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===t&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Zi(e,u,t,n){let r,i,c,a,l=u,s=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let f=!1;n&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(f=!0);let d,y,x;if((x=Pn(e,l))>=0){if(d=!0,c=e.bMarks[l]+e.tShift[l],y=Number(e.src.slice(c,x-1)),f&&y!==1)return!1}else if((x=Tn(e,l))>=0)d=!1;else return!1;if(f&&e.skipSpaces(x)>=e.eMarks[l])return!1;if(n)return!0;const p=e.src.charCodeAt(x-1),C=e.tokens.length;d?(a=e.push("ordered_list_open","ol",1),y!==1&&(a.attrs=[["start",y]])):a=e.push("bullet_list_open","ul",1);const A=[l,0];a.map=A,a.markup=String.fromCharCode(p);let E=!1;const b=e.md.block.ruler.getRules("list"),h=e.parentType;for(e.parentType="list";l<t;){i=x,r=e.eMarks[l];const k=e.sCount[l]+x-(e.bMarks[l]+e.tShift[l]);let g=k;for(;i<r;){const $=e.src.charCodeAt(i);if($===9)g+=4-(g+e.bsCount[l])%4;else if($===32)g++;else break;i++}const _=i;let w;_>=r?w=1:w=g-k,w>4&&(w=1);const B=k+w;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(p);const F=[l,0];a.map=F,d&&(a.info=e.src.slice(c,x-1));const O=e.tight,z=e.tShift[l],G=e.sCount[l],te=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=B,e.tight=!0,e.tShift[l]=_-e.bMarks[l],e.sCount[l]=g,_>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,l,t,!0),(!e.tight||E)&&(s=!1),E=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=te,e.tShift[l]=z,e.sCount[l]=G,e.tight=O,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(p),l=e.line,F[1]=l,l>=t||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let T=!1;for(let $=0,ne=b.length;$<ne;$++)if(b[$](e,l,t,!0)){T=!0;break}if(T)break;if(d){if(x=Pn(e,l),x<0)break;c=e.bMarks[l]+e.tShift[l]}else if(x=Tn(e,l),x<0)break;if(p!==e.src.charCodeAt(x-1))break}return d?a=e.push("ordered_list_close","ol",-1):a=e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(p),A[1]=l,e.line=l,e.parentType=h,s&&Wi(e,C),!0}function Yi(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u],c=u+1;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function a(b){const h=e.lineMax;if(b>=h||e.isEmpty(b))return null;let k=!1;if(e.sCount[b]-e.blkIndent>3&&(k=!0),e.sCount[b]<0&&(k=!0),!k){const w=e.md.block.ruler.getRules("reference"),B=e.parentType;e.parentType="reference";let F=!1;for(let O=0,z=w.length;O<z;O++)if(w[O](e,b,h,!0)){F=!0;break}if(e.parentType=B,F)return null}const g=e.bMarks[b]+e.tShift[b],_=e.eMarks[b];return e.src.slice(g,_+1)}let l=e.src.slice(r,i+1);i=l.length;let s=-1;for(r=1;r<i;r++){const b=l.charCodeAt(r);if(b===91)return!1;if(b===93){s=r;break}else if(b===10){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}else if(b===92&&(r++,r<i&&l.charCodeAt(r)===10)){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}}if(s<0||l.charCodeAt(s+1)!==58)return!1;for(r=s+2;r<i;r++){const b=l.charCodeAt(r);if(b===10){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}else if(!V(b))break}const f=e.md.helpers.parseLinkDestination(l,r,i);if(!f.ok)return!1;const d=e.md.normalizeLink(f.str);if(!e.md.validateLink(d))return!1;r=f.pos;const y=r,x=c,p=r;for(;r<i;r++){const b=l.charCodeAt(r);if(b===10){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}else if(!V(b))break}let C=e.md.helpers.parseLinkTitle(l,r,i);for(;C.can_continue;){const b=a(c);if(b===null)break;l+=b,r=i,i=l.length,c++,C=e.md.helpers.parseLinkTitle(l,r,i,C)}let A;for(r<i&&p!==r&&C.ok?(A=C.str,r=C.pos):(A="",r=y,c=x);r<i;){const b=l.charCodeAt(r);if(!V(b))break;r++}if(r<i&&l.charCodeAt(r)!==10&&A)for(A="",r=y,c=x;r<i;){const b=l.charCodeAt(r);if(!V(b))break;r++}if(r<i&&l.charCodeAt(r)!==10)return!1;const E=Tu(l.slice(1,s));return E?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[E]>"u"&&(e.env.references[E]={title:A,href:d}),e.line=c),!0):!1}const Xi=["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"],Qi="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ji="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",Rn="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Qi+"(?:\\s*=\\s*"+Ji+")?)")+"*\\s*\\/?>",Bn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ki="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",ea="<[?][\\s\\S]*?[?]>",ua="<![A-Za-z][^>]*>",ta="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",na=new RegExp("^(?:"+Rn+"|"+Bn+"|"+Ki+"|"+ea+"|"+ua+"|"+ta+")"),ra=new RegExp("^(?:"+Rn+"|"+Bn+")"),qe=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Xi.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(ra.source+"\\s*$"),/^$/,!1]];function oa(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let c=e.src.slice(r,i),a=0;for(;a<qe.length&&!qe[a][0].test(c);a++);if(a===qe.length)return!1;if(n)return qe[a][2];let l=u+1;if(!qe[a][1].test(c)){for(;l<t&&!(e.sCount[l]<e.blkIndent);l++)if(r=e.bMarks[l]+e.tShift[l],i=e.eMarks[l],c=e.src.slice(r,i),qe[a][1].test(c)){c.length!==0&&l++;break}}e.line=l;const s=e.push("html_block","",0);return s.map=[u,l],s.content=e.getLines(u,l,e.blkIndent,!0),!0}function ia(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let c=e.src.charCodeAt(r);if(c!==35||r>=i)return!1;let a=1;for(c=e.src.charCodeAt(++r);c===35&&r<i&&a<=6;)a++,c=e.src.charCodeAt(++r);if(a>6||r<i&&!V(c))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const l=e.skipCharsBack(i,35,r);l>r&&V(e.src.charCodeAt(l-1))&&(i=l),e.line=u+1;const s=e.push("heading_open","h"+String(a),1);s.markup="########".slice(0,a),s.map=[u,e.line];const f=e.push("inline","",0);f.content=e.src.slice(r,i).trim(),f.map=[u,e.line],f.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup="########".slice(0,a),!0}function aa(e,u,t){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[u]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,c,a=u+1;for(;a<t&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let x=e.bMarks[a]+e.tShift[a];const p=e.eMarks[a];if(x<p&&(c=e.src.charCodeAt(x),(c===45||c===61)&&(x=e.skipChars(x,c),x=e.skipSpaces(x),x>=p))){i=c===61?1:2;break}}if(e.sCount[a]<0)continue;let y=!1;for(let x=0,p=n.length;x<p;x++)if(n[x](e,a,t,!0)){y=!0;break}if(y)break}if(!i)return!1;const l=e.getLines(u,a,e.blkIndent,!1).trim();e.line=a+1;const s=e.push("heading_open","h"+String(i),1);s.markup=String.fromCharCode(c),s.map=[u,e.line];const f=e.push("inline","",0);f.content=l,f.map=[u,e.line-1],f.children=[];const d=e.push("heading_close","h"+String(i),-1);return d.markup=String.fromCharCode(c),e.parentType=r,!0}function ca(e,u,t){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=u+1;for(e.parentType="paragraph";i<t&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let s=!1;for(let f=0,d=n.length;f<d;f++)if(n[f](e,i,t,!0)){s=!0;break}if(s)break}const c=e.getLines(u,i,e.blkIndent,!1).trim();e.line=i;const a=e.push("paragraph_open","p",1);a.map=[u,e.line];const l=e.push("inline","",0);return l.content=c,l.map=[u,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Ru=[["table",ji,["paragraph","reference"]],["code",Ui],["fence",Hi,["paragraph","reference","blockquote","list"]],["blockquote",Vi,["paragraph","reference","blockquote","list"]],["hr",Gi,["paragraph","reference","blockquote","list"]],["list",Zi,["paragraph","reference","blockquote"]],["reference",Yi],["html_block",oa,["paragraph","reference","blockquote"]],["heading",ia,["paragraph","reference","blockquote"]],["lheading",aa],["paragraph",ca]];function Bu(){this.ruler=new le;for(let e=0;e<Ru.length;e++)this.ruler.push(Ru[e][0],Ru[e][1],{alt:(Ru[e][2]||[]).slice()})}Bu.prototype.tokenize=function(e,u,t){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let c=u,a=!1;for(;c<t&&(e.line=c=e.skipEmptyLines(c),!(c>=t||e.sCount[c]<e.blkIndent));){if(e.level>=i){e.line=t;break}const l=e.line;let s=!1;for(let f=0;f<r;f++)if(s=n[f](e,c,t,!1),s){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),c=e.line,c<t&&e.isEmpty(c)&&(a=!0,c++,e.line=c)}},Bu.prototype.parse=function(e,u,t,n){if(!e)return;const r=new this.State(e,u,t,n);this.tokenize(r,r.line,r.lineMax)},Bu.prototype.State=xe;function cu(e,u,t,n){this.src=e,this.env=t,this.md=u,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}cu.prototype.pushPending=function(){const e=new ge("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},cu.prototype.push=function(e,u,t){this.pending&&this.pushPending();const n=new ge(e,u,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},cu.prototype.scanDelims=function(e,u){const t=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<t&&this.src.charCodeAt(i)===n;)i++;const c=i-e,a=i<t?this.src.charCodeAt(i):32,l=au(r)||iu(String.fromCharCode(r)),s=au(a)||iu(String.fromCharCode(a)),f=ou(r),d=ou(a),y=!d&&(!s||f||l),x=!f&&(!l||d||s);return{can_open:y&&(u||!x||l),can_close:x&&(u||!y||s),length:c}},cu.prototype.Token=ge;function la(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 sa(e,u){let t=e.pos;for(;t<e.posMax&&!la(e.src.charCodeAt(t));)t++;return t===e.pos?!1:(u||(e.pending+=e.src.slice(e.pos,t)),e.pos=t,!0)}const fa=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function da(e,u){if(!e.md.options.linkify||e.linkLevel>0)return!1;const t=e.pos,n=e.posMax;if(t+3>n||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;const r=e.pending.match(fa);if(!r)return!1;const i=r[1],c=e.md.linkify.matchAtStart(e.src.slice(t-i.length));if(!c)return!1;let a=c.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");const l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!u){e.pending=e.pending.slice(0,-i.length);const s=e.push("link_open","a",1);s.attrs=[["href",l]],s.markup="linkify",s.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(a);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=a.length-i.length,!0}function pa(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!u)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;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);for(t++;t<r&&V(e.src.charCodeAt(t));)t++;return e.pos=t,!0}const bt=[];for(let e=0;e<256;e++)bt.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){bt[e.charCodeAt(0)]=1});function ha(e,u){let t=e.pos;const n=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=n))return!1;let r=e.src.charCodeAt(t);if(r===10){for(u||e.push("hardbreak","br",0),t++;t<n&&(r=e.src.charCodeAt(t),!!V(r));)t++;return e.pos=t,!0}let i=e.src[t];if(r>=55296&&r<=56319&&t+1<n){const a=e.src.charCodeAt(t+1);a>=56320&&a<=57343&&(i+=e.src[t+1],t++)}const c="\\"+i;if(!u){const a=e.push("text_special","",0);r<256&&bt[r]!==0?a.content=i:a.content=c,a.markup=c,a.info="escape"}return e.pos=t+1,!0}function ba(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==96)return!1;const r=t;t++;const i=e.posMax;for(;t<i&&e.src.charCodeAt(t)===96;)t++;const c=e.src.slice(r,t),a=c.length;if(e.backticksScanned&&(e.backticks[a]||0)<=r)return u||(e.pending+=c),e.pos+=a,!0;let l=t,s;for(;(s=e.src.indexOf("`",l))!==-1;){for(l=s+1;l<i&&e.src.charCodeAt(l)===96;)l++;const f=l-s;if(f===a){if(!u){const d=e.push("code_inline","code",0);d.markup=c,d.content=e.src.slice(t,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[f]=s}return e.backticksScanned=!0,u||(e.pending+=c),e.pos+=a,!0}function ma(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const c=String.fromCharCode(n);if(i<2)return!1;let a;i%2&&(a=e.push("text","",0),a.content=c,i--);for(let l=0;l<i;l+=2)a=e.push("text","",0),a.content=c+c,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Nn(e,u){let t;const n=[],r=u.length;for(let i=0;i<r;i++){const c=u[i];if(c.marker!==126||c.end===-1)continue;const a=u[c.end];t=e.tokens[c.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=e.tokens[a.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="",e.tokens[a.token-1].type==="text"&&e.tokens[a.token-1].content==="~"&&n.push(a.token-1)}for(;n.length;){const i=n.pop();let c=i+1;for(;c<e.tokens.length&&e.tokens[c].type==="s_close";)c++;c--,i!==c&&(t=e.tokens[c],e.tokens[c]=e.tokens[i],e.tokens[i]=t)}}function ga(e){const u=e.tokens_meta,t=e.tokens_meta.length;Nn(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&Nn(e,u[n].delimiters)}const vn={tokenize:ma,postProcess:ga};function ka(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const c=e.push("text","",0);c.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function On(e,u){const t=u.length;for(let n=t-1;n>=0;n--){const r=u[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=u[r.end],c=n>0&&u[n-1].end===r.end+1&&u[n-1].marker===r.marker&&u[n-1].token===r.token-1&&u[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=c?"strong_open":"em_open",l.tag=c?"strong":"em",l.nesting=1,l.markup=c?a+a:a,l.content="";const s=e.tokens[i.token];s.type=c?"strong_close":"em_close",s.tag=c?"strong":"em",s.nesting=-1,s.markup=c?a+a:a,s.content="",c&&(e.tokens[u[n-1].token].content="",e.tokens[u[r.end+1].token].content="",n--)}}function xa(e){const u=e.tokens_meta,t=e.tokens_meta.length;On(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&On(e,u[n].delimiters)}const Mn={tokenize:ka,postProcess:xa};function _a(e,u){let t,n,r,i,c="",a="",l=e.pos,s=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const f=e.pos,d=e.posMax,y=e.pos+1,x=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(x<0)return!1;let p=x+1;if(p<d&&e.src.charCodeAt(p)===40){for(s=!1,p++;p<d&&(t=e.src.charCodeAt(p),!(!V(t)&&t!==10));p++);if(p>=d)return!1;if(l=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(c=e.md.normalizeLink(r.str),e.md.validateLink(c)?p=r.pos:c="",l=p;p<d&&(t=e.src.charCodeAt(p),!(!V(t)&&t!==10));p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&r.ok)for(a=r.str,p=r.pos;p<d&&(t=e.src.charCodeAt(p),!(!V(t)&&t!==10));p++);}(p>=d||e.src.charCodeAt(p)!==41)&&(s=!0),p++}if(s){if(typeof e.env.references>"u")return!1;if(p<d&&e.src.charCodeAt(p)===91?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?n=e.src.slice(l,p++):p=x+1):p=x+1,n||(n=e.src.slice(y,x)),i=e.env.references[Tu(n)],!i)return e.pos=f,!1;c=i.href,a=i.title}if(!u){e.pos=y,e.posMax=x;const C=e.push("link_open","a",1),A=[["href",c]];C.attrs=A,a&&A.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}function ya(e,u){let t,n,r,i,c,a,l,s,f="";const d=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const x=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(i=p+1,i<y&&e.src.charCodeAt(i)===40){for(i++;i<y&&(t=e.src.charCodeAt(i),!(!V(t)&&t!==10));i++);if(i>=y)return!1;for(s=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(f=e.md.normalizeLink(a.str),e.md.validateLink(f)?i=a.pos:f=""),s=i;i<y&&(t=e.src.charCodeAt(i),!(!V(t)&&t!==10));i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<y&&s!==i&&a.ok)for(l=a.str,i=a.pos;i<y&&(t=e.src.charCodeAt(i),!(!V(t)&&t!==10));i++);else l="";if(i>=y||e.src.charCodeAt(i)!==41)return e.pos=d,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<y&&e.src.charCodeAt(i)===91?(s=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(s,i++):i=p+1):i=p+1,r||(r=e.src.slice(x,p)),c=e.env.references[Tu(r)],!c)return e.pos=d,!1;f=c.href,l=c.title}if(!u){n=e.src.slice(x,p);const C=[];e.md.inline.parse(n,e.md,e.env,C);const A=e.push("image","img",0),E=[["src",f],["alt",""]];A.attrs=E,A.children=C,A.content=n,l&&E.push(["title",l])}return e.pos=i,e.posMax=y,!0}const Ea=/^([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])?)*)$/,Ca=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Aa(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++t>=r)return!1;const c=e.src.charCodeAt(t);if(c===60)return!1;if(c===62)break}const i=e.src.slice(n+1,t);if(Ca.test(i)){const c=e.md.normalizeLink(i);if(!e.md.validateLink(c))return!1;if(!u){const a=e.push("link_open","a",1);a.attrs=[["href",c]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(i);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=i.length+2,!0}if(Ea.test(i)){const c=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(c))return!1;if(!u){const a=e.push("link_open","a",1);a.attrs=[["href",c]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(i);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=i.length+2,!0}return!1}function wa(e){return/^<a[>\s]/i.test(e)}function Da(e){return/^<\/a\s*>/i.test(e)}function Fa(e){const u=e|32;return u>=97&&u<=122}function Sa(e,u){if(!e.md.options.html)return!1;const t=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=t)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Fa(r))return!1;const i=e.src.slice(n).match(na);if(!i)return!1;if(!u){const c=e.push("html_inline","",0);c.content=i[0],wa(c.content)&&e.linkLevel++,Da(c.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Ta=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Pa=/^&([a-z][a-z0-9]{1,31});/i;function Ra(e,u){const t=e.pos,n=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=n)return!1;if(e.src.charCodeAt(t+1)===35){const i=e.src.slice(t).match(Ta);if(i){if(!u){const c=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=ft(c)?Su(c):Su(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(t).match(Pa);if(i){const c=yn(i[0]);if(c!==i[0]){if(!u){const a=e.push("text_special","",0);a.content=c,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Ln(e){const u={},t=e.length;if(!t)return;let n=0,r=-2;const i=[];for(let c=0;c<t;c++){const a=e[c];if(i.push(0),(e[n].marker!==a.marker||r!==a.token-1)&&(n=c),r=a.token,a.length=a.length||0,!a.close)continue;u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1,-1,-1,-1]);const l=u[a.marker][(a.open?3:0)+a.length%3];let s=n-i[n]-1,f=s;for(;s>l;s-=i[s]+1){const d=e[s];if(d.marker===a.marker&&d.open&&d.end<0){let y=!1;if((d.close||a.open)&&(d.length+a.length)%3===0&&(d.length%3!==0||a.length%3!==0)&&(y=!0),!y){const x=s>0&&!e[s-1].open?i[s-1]+1:0;i[c]=c-s+x,i[s]=x,a.open=!1,d.end=c,d.close=!1,f=-1,r=-2;break}}}f!==-1&&(u[a.marker][(a.open?3:0)+(a.length||0)%3]=f)}}function Ba(e){const u=e.tokens_meta,t=e.tokens_meta.length;Ln(e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&Ln(u[n].delimiters)}function Na(e){let u,t,n=0;const r=e.tokens,i=e.tokens.length;for(u=t=0;u<i;u++)r[u].nesting<0&&n--,r[u].level=n,r[u].nesting>0&&n++,r[u].type==="text"&&u+1<i&&r[u+1].type==="text"?r[u+1].content=r[u].content+r[u+1].content:(u!==t&&(r[t]=r[u]),t++);u!==t&&(r.length=t)}const mt=[["text",sa],["linkify",da],["newline",pa],["escape",ha],["backticks",ba],["strikethrough",vn.tokenize],["emphasis",Mn.tokenize],["link",_a],["image",ya],["autolink",Aa],["html_inline",Sa],["entity",Ra]],gt=[["balance_pairs",Ba],["strikethrough",vn.postProcess],["emphasis",Mn.postProcess],["fragments_join",Na]];function lu(){this.ruler=new le;for(let e=0;e<mt.length;e++)this.ruler.push(mt[e][0],mt[e][1]);this.ruler2=new le;for(let e=0;e<gt.length;e++)this.ruler2.push(gt[e][0],gt[e][1])}lu.prototype.skipToken=function(e){const u=e.pos,t=this.ruler.getRules(""),n=t.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[u]<"u"){e.pos=i[u];return}let c=!1;if(e.level<r){for(let a=0;a<n;a++)if(e.level++,c=t[a](e,!0),e.level--,c){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;c||e.pos++,i[u]=e.pos},lu.prototype.tokenize=function(e){const u=this.ruler.getRules(""),t=u.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let c=!1;if(e.level<r){for(let a=0;a<t;a++)if(c=u[a](e,!1),c){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(c){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},lu.prototype.parse=function(e,u,t,n){const r=new this.State(e,u,t,n);this.tokenize(r);const i=this.ruler2.getRules(""),c=i.length;for(let a=0;a<c;a++)i[a](r)},lu.prototype.State=cu;function va(e){const u={};e=e||{},u.src_Any=mn.source,u.src_Cc=gn.source,u.src_Z=xn.source,u.src_P=at.source,u.src_ZPCc=[u.src_Z,u.src_P,u.src_Cc].join("|"),u.src_ZCc=[u.src_Z,u.src_Cc].join("|");const t="[><|]";return u.src_pseudo_letter="(?:(?!"+t+"|"+u.src_ZPCc+")"+u.src_Any+")",u.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",u.src_auth="(?:(?:(?!"+u.src_ZCc+"|[@/\\[\\]()]).)+@)?",u.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",u.src_host_terminator="(?=$|"+t+"|"+u.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+u.src_ZPCc+"))",u.src_path="(?:[/?#](?:(?!"+u.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+u.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+u.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+u.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+u.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+u.src_ZCc+"|[']).)+\\'|\\'(?="+u.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+u.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+u.src_ZCc+"|$)|;(?!"+u.src_ZCc+"|$)|\\!+(?!"+u.src_ZCc+"|[!]|$)|\\?(?!"+u.src_ZCc+"|[?]|$))+|\\/)?",u.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',u.src_xn="xn--[a-z0-9\\-]{1,59}",u.src_domain_root="(?:"+u.src_xn+"|"+u.src_pseudo_letter+"{1,63})",u.src_domain="(?:"+u.src_xn+"|(?:"+u.src_pseudo_letter+")|(?:"+u.src_pseudo_letter+"(?:-|"+u.src_pseudo_letter+"){0,61}"+u.src_pseudo_letter+"))",u.src_host="(?:(?:(?:(?:"+u.src_domain+")\\.)*"+u.src_domain+"))",u.tpl_host_fuzzy="(?:"+u.src_ip4+"|(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%)))",u.tpl_host_no_ip_fuzzy="(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%))",u.src_host_strict=u.src_host+u.src_host_terminator,u.tpl_host_fuzzy_strict=u.tpl_host_fuzzy+u.src_host_terminator,u.src_host_port_strict=u.src_host+u.src_port+u.src_host_terminator,u.tpl_host_port_fuzzy_strict=u.tpl_host_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_port_no_ip_fuzzy_strict=u.tpl_host_no_ip_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+u.src_ZPCc+"|>|$))",u.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+u.src_ZCc+")("+u.src_email_name+"@"+u.tpl_host_fuzzy_strict+")",u.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_fuzzy_strict+u.src_path+")",u.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_no_ip_fuzzy_strict+u.src_path+")",u}function kt(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function Nu(e){return Object.prototype.toString.call(e)}function Oa(e){return Nu(e)==="[object String]"}function Ma(e){return Nu(e)==="[object Object]"}function La(e){return Nu(e)==="[object RegExp]"}function zn(e){return Nu(e)==="[object Function]"}function za(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const In={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Ia(e){return Object.keys(e||{}).reduce(function(u,t){return u||In.hasOwnProperty(t)},!1)}const $a={"http:":{validate:function(e,u,t){const n=e.slice(u);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,u,t){const n=e.slice(u);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?u>=3&&e[u-3]===":"||u>=3&&e[u-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,u,t){const n=e.slice(u);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},qa="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]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",ja="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ua(e){e.__index__=-1,e.__text_cache__=""}function Ha(e){return function(u,t){const n=u.slice(t);return e.test(n)?n.match(e)[0].length:0}}function $n(){return function(e,u){u.normalize(e)}}function vu(e){const u=e.re=va(e.__opts__),t=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||t.push(qa),t.push(u.src_xn),u.src_tlds=t.join("|");function n(a){return a.replace("%TLDS%",u.src_tlds)}u.email_fuzzy=RegExp(n(u.tpl_email_fuzzy),"i"),u.link_fuzzy=RegExp(n(u.tpl_link_fuzzy),"i"),u.link_no_ip_fuzzy=RegExp(n(u.tpl_link_no_ip_fuzzy),"i"),u.host_fuzzy_test=RegExp(n(u.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){const l=e.__schemas__[a];if(l===null)return;const s={validate:null,link:null};if(e.__compiled__[a]=s,Ma(l)){La(l.validate)?s.validate=Ha(l.validate):zn(l.validate)?s.validate=l.validate:i(a,l),zn(l.normalize)?s.normalize=l.normalize:l.normalize?i(a,l):s.normalize=$n();return}if(Oa(l)){r.push(a);return}i(a,l)}),r.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:$n()};const c=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(za).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+c+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+c+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Ua(e)}function Va(e,u){const t=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(t,n);this.schema=e.__schema__.toLowerCase(),this.index=t+u,this.lastIndex=n+u,this.raw=r,this.text=r,this.url=r}function xt(e,u){const t=new Va(e,u);return e.__compiled__[t.schema].normalize(t,e),t}function de(e,u){if(!(this instanceof de))return new de(e,u);u||Ia(e)&&(u=e,e={}),this.__opts__=kt({},In,u),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=kt({},$a,e),this.__compiled__={},this.__tlds__=ja,this.__tlds_replaced__=!1,this.re={},vu(this)}de.prototype.add=function(u,t){return this.__schemas__[u]=t,vu(this),this},de.prototype.set=function(u){return this.__opts__=kt(this.__opts__,u),this},de.prototype.test=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return!1;let t,n,r,i,c,a,l,s,f;if(this.re.schema_test.test(u)){for(l=this.re.schema_search,l.lastIndex=0;(t=l.exec(u))!==null;)if(i=this.testSchemaAt(u,t[2],l.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=u.search(this.re.host_fuzzy_test),s>=0&&(this.__index__<0||s<this.__index__)&&(n=u.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=u.indexOf("@"),f>=0&&(r=u.match(this.re.email_fuzzy))!==null&&(c=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=a))),this.__index__>=0},de.prototype.pretest=function(u){return this.re.pretest.test(u)},de.prototype.testSchemaAt=function(u,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(u,n,this):0},de.prototype.match=function(u){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===u&&(t.push(xt(this,n)),n=this.__last_index__);let r=n?u.slice(n):u;for(;this.test(r);)t.push(xt(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},de.prototype.matchAtStart=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return null;const t=this.re.schema_at_start.exec(u);if(!t)return null;const n=this.testSchemaAt(u,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,xt(this,0)):null},de.prototype.tlds=function(u,t){return u=Array.isArray(u)?u:[u],t?(this.__tlds__=this.__tlds__.concat(u).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),vu(this),this):(this.__tlds__=u.slice(),this.__tlds_replaced__=!0,vu(this),this)},de.prototype.normalize=function(u){u.schema||(u.url="http://"+u.url),u.schema==="mailto:"&&!/^mailto:/i.test(u.url)&&(u.url="mailto:"+u.url)},de.prototype.onCompile=function(){};const je=2147483647,_e=36,_t=1,su=26,Ga=38,Wa=700,qn=72,jn=128,Un="-",Za=/^xn--/,Ya=/[^\0-\x7F]/,Xa=/[\x2E\u3002\uFF0E\uFF61]/g,Qa={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},yt=_e-_t,ye=Math.floor,Et=String.fromCharCode;function Be(e){throw new RangeError(Qa[e])}function Ja(e,u){const t=[];let n=e.length;for(;n--;)t[n]=u(e[n]);return t}function Hn(e,u){const t=e.split("@");let n="";t.length>1&&(n=t[0]+"@",e=t[1]),e=e.replace(Xa,".");const r=e.split("."),i=Ja(r,u).join(".");return n+i}function Vn(e){const u=[];let t=0;const n=e.length;for(;t<n;){const r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){const i=e.charCodeAt(t++);(i&64512)==56320?u.push(((r&1023)<<10)+(i&1023)+65536):(u.push(r),t--)}else u.push(r)}return u}const Ka=e=>String.fromCodePoint(...e),e0=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:_e},Gn=function(e,u){return e+22+75*(e<26)-((u!=0)<<5)},Wn=function(e,u,t){let n=0;for(e=t?ye(e/Wa):e>>1,e+=ye(e/u);e>yt*su>>1;n+=_e)e=ye(e/yt);return ye(n+(yt+1)*e/(e+Ga))},Zn=function(e){const u=[],t=e.length;let n=0,r=jn,i=qn,c=e.lastIndexOf(Un);c<0&&(c=0);for(let a=0;a<c;++a)e.charCodeAt(a)>=128&&Be("not-basic"),u.push(e.charCodeAt(a));for(let a=c>0?c+1:0;a<t;){const l=n;for(let f=1,d=_e;;d+=_e){a>=t&&Be("invalid-input");const y=e0(e.charCodeAt(a++));y>=_e&&Be("invalid-input"),y>ye((je-n)/f)&&Be("overflow"),n+=y*f;const x=d<=i?_t:d>=i+su?su:d-i;if(y<x)break;const p=_e-x;f>ye(je/p)&&Be("overflow"),f*=p}const s=u.length+1;i=Wn(n-l,s,l==0),ye(n/s)>je-r&&Be("overflow"),r+=ye(n/s),n%=s,u.splice(n++,0,r)}return String.fromCodePoint(...u)},Yn=function(e){const u=[];e=Vn(e);const t=e.length;let n=jn,r=0,i=qn;for(const l of e)l<128&&u.push(Et(l));const c=u.length;let a=c;for(c&&u.push(Un);a<t;){let l=je;for(const f of e)f>=n&&f<l&&(l=f);const s=a+1;l-n>ye((je-r)/s)&&Be("overflow"),r+=(l-n)*s,n=l;for(const f of e)if(f<n&&++r>je&&Be("overflow"),f===n){let d=r;for(let y=_e;;y+=_e){const x=y<=i?_t:y>=i+su?su:y-i;if(d<x)break;const p=d-x,C=_e-x;u.push(Et(Gn(x+p%C,0))),d=ye(p/C)}u.push(Et(Gn(d,0))),i=Wn(r,s,a===c),r=0,++a}++r,++n}return u.join("")},Xn={version:"2.3.1",ucs2:{decode:Vn,encode:Ka},decode:Zn,encode:Yn,toASCII:function(e){return Hn(e,function(u){return Ya.test(u)?"xn--"+Yn(u):u})},toUnicode:function(e){return Hn(e,function(u){return Za.test(u)?Zn(u.slice(4).toLowerCase()):u})}},u0={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","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","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"]}}}},t0=/^(vbscript|javascript|file|data):/,n0=/^data:image\/(gif|png|jpeg|webp);/;function r0(e){const u=e.trim().toLowerCase();return t0.test(u)?n0.test(u):!0}const Qn=["http:","https:","mailto:"];function o0(e){const u=it(e,!0);if(u.hostname&&(!u.protocol||Qn.indexOf(u.protocol)>=0))try{u.hostname=Xn.toASCII(u.hostname)}catch{}return ru(ot(u))}function i0(e){const u=it(e,!0);if(u.hostname&&(!u.protocol||Qn.indexOf(u.protocol)>=0))try{u.hostname=Xn.toUnicode(u.hostname)}catch{}return ze(ot(u),ze.defaultChars+"%")}function he(e,u){if(!(this instanceof he))return new he(e,u);u||st(e)||(u=e||{},e="default"),this.inline=new lu,this.block=new Bu,this.core=new pt,this.renderer=new $e,this.linkify=new de,this.validateLink=r0,this.normalizeLink=o0,this.normalizeLinkText=i0,this.utils=gi,this.helpers=Fu({},yi),this.options={},this.configure(e),u&&this.set(u)}he.prototype.set=function(e){return Fu(this.options,e),this},he.prototype.configure=function(e){const u=this;if(st(e)){const t=e;if(e=u0[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&u.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&u[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&u[t].ruler2.enableOnly(e.components[t].rules2)}),this},he.prototype.enable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},he.prototype.disable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},he.prototype.use=function(e){const u=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,u),this},he.prototype.parse=function(e,u){if(typeof e!="string")throw new Error("Input data should be a String");const t=new this.core.State(e,this,u);return this.core.process(t),t.tokens},he.prototype.render=function(e,u){return u=u||{},this.renderer.render(this.parse(e,u),this.options,u)},he.prototype.parseInline=function(e,u){const t=new this.core.State(e,this,u);return t.inlineMode=!0,this.core.process(t),t.tokens},he.prototype.renderInline=function(e,u){return u=u||{},this.renderer.render(this.parseInline(e,u),this.options,u)};function a0(e,u){const{manual:t=!1,domPurify:n=!0,...r}=u??{},i=o.ref(o.isRef(e)?o.toValue(e.value):o.isReactive(e)?o.toValue(e):e);o.isRef(e)&&o.watchEffect(()=>{i.value=o.toValue(e.value)});const c=o.ref(""),a=o.ref(),l=he({...r});function s(f){const d=l.render(f);if(c.value=n?Ro.sanitize(d):d,a.value)a.value.innerHTML=c.value;else{const y=o.watch(a,x=>{x&&(x.innerHTML=c.value,y())})}return c.value}return t||(s(i.value??""),o.watch(i,f=>{s(f??"")})),{value:i,html:c,domRef:a,md:l,render:s}}function c0(e,u){const{step:t=1,interval:n=50,enabled:r=!0}=u??{},i=o.ref(0),c=o.ref(!1),a=o.ref(!1),l=o.ref(!1),s=o.computed(()=>r?e.value.slice(0,i.value):e.value),f=o.computed(()=>Number(Math.min(i.value/e.value.length*100,100).toFixed(2)));let d=null;const y=Se.createEventHook(),x=Se.createEventHook(),p=Se.createEventHook();o.watch(e,(g,_)=>{if(!_){i.value=0,C();return}g.startsWith(_)||(i.value=0),C()},{immediate:!0});function C(){if(d&&clearTimeout(d),!r){i.value=e.value.length,a.value=!0,l.value=!1,c.value=!1,x.trigger(s.value);return}l.value=!0,c.value=!1,a.value=!1,y.trigger();function g(){if(i.value+=t,p.trigger({index:i.value,value:s.value}),i.value>=e.value.length){i.value=e.value.length,a.value=!0,l.value=!1,x.trigger(s.value);return}d=setTimeout(g,n)}d=setTimeout(g,n)}function A(){d&&clearTimeout(d),c.value=!0,l.value=!1,a.value=!1}function E(){d&&clearTimeout(d),C()}function b(){d&&clearTimeout(d),i.value=0,o.nextTick(()=>{C()})}function h(){d&&clearTimeout(d),l.value=!1,c.value=!1,a.value=!0,i.value=e.value.length,x.trigger(s.value)}function k(){d&&clearTimeout(d),d=null,l.value=!1,c.value=!1,a.value=!1,i.value=0}return{typeIndex:i,paused:c,ended:a,isTyping:l,typedValue:s,progress:f,start:C,pause:A,resume:E,restart:b,stop:h,destroy:k,onStat:y.on,onStop:x.on,onUpdate:p.on}}var Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ct={exports:{}},Kn;function s0(){return Kn||(Kn=1,function(e){var u=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
30
|
+
`,i.map=[u,e.line],!0}function Hi(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||r+3>i)return!1;const c=e.src.charCodeAt(r);if(c!==126&&c!==96)return!1;let a=r;r=e.skipChars(r,c);let l=r-a;if(l<3)return!1;const s=e.src.slice(a,r),f=e.src.slice(r,i);if(c===96&&f.indexOf(String.fromCharCode(c))>=0)return!1;if(n)return!0;let d=u,y=!1;for(;d++,!(d>=t||(r=a=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],r<i&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(r)===c&&!(e.sCount[d]-e.blkIndent>=4)&&(r=e.skipChars(r,c),!(r-a<l)&&(r=e.skipSpaces(r),!(r<i)))){y=!0;break}l=e.sCount[u],e.line=d+(y?1:0);const x=e.push("fence","code",0);return x.info=f,x.content=e.getLines(u+1,d,l,!0),x.markup=s,x.map=[u,e.line],!0}function Vi(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];const c=e.lineMax;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const a=[],l=[],s=[],f=[],d=e.md.block.ruler.getRules("blockquote"),y=e.parentType;e.parentType="blockquote";let x=!1,p;for(p=u;p<t;p++){const h=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],r>=i)break;if(e.src.charCodeAt(r++)===62&&!h){let g=e.sCount[p]+1,_,w;e.src.charCodeAt(r)===32?(r++,g++,w=!1,_=!0):e.src.charCodeAt(r)===9?(_=!0,(e.bsCount[p]+g)%4===3?(r++,g++,w=!1):w=!0):_=!1;let B=g;for(a.push(e.bMarks[p]),e.bMarks[p]=r;r<i;){const F=e.src.charCodeAt(r);if(V(F))F===9?B+=4-(B+e.bsCount[p]+(w?1:0))%4:B++;else break;r++}x=r>=i,l.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(_?1:0),s.push(e.sCount[p]),e.sCount[p]=B-g,f.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(x)break;let k=!1;for(let g=0,_=d.length;g<_;g++)if(d[g](e,p,t,!0)){k=!0;break}if(k){e.lineMax=p,e.blkIndent!==0&&(a.push(e.bMarks[p]),l.push(e.bsCount[p]),f.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}a.push(e.bMarks[p]),l.push(e.bsCount[p]),f.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]=-1}const C=e.blkIndent;e.blkIndent=0;const A=e.push("blockquote_open","blockquote",1);A.markup=">";const E=[u,0];A.map=E,e.md.block.tokenize(e,u,p);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=c,e.parentType=y,E[1]=e.line;for(let h=0;h<f.length;h++)e.bMarks[h+u]=a[h],e.tShift[h+u]=f[h],e.sCount[h+u]=s[h],e.bsCount[h+u]=l[h];return e.blkIndent=C,!0}function Gi(e,u,t,n){const r=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let i=e.bMarks[u]+e.tShift[u];const c=e.src.charCodeAt(i++);if(c!==42&&c!==45&&c!==95)return!1;let a=1;for(;i<r;){const s=e.src.charCodeAt(i++);if(s!==c&&!V(s))return!1;s===c&&a++}if(a<3)return!1;if(n)return!0;e.line=u+1;const l=e.push("hr","hr",0);return l.map=[u,e.line],l.markup=Array(a+1).join(String.fromCharCode(c)),!0}function Tn(e,u){const t=e.eMarks[u];let n=e.bMarks[u]+e.tShift[u];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<t){const i=e.src.charCodeAt(n);if(!V(i))return-1}return n}function Pn(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];let r=t;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-t>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!V(i))?-1:r}function Wi(e,u){const t=e.level+2;for(let n=u+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===t&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Zi(e,u,t,n){let r,i,c,a,l=u,s=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let f=!1;n&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(f=!0);let d,y,x;if((x=Pn(e,l))>=0){if(d=!0,c=e.bMarks[l]+e.tShift[l],y=Number(e.src.slice(c,x-1)),f&&y!==1)return!1}else if((x=Tn(e,l))>=0)d=!1;else return!1;if(f&&e.skipSpaces(x)>=e.eMarks[l])return!1;if(n)return!0;const p=e.src.charCodeAt(x-1),C=e.tokens.length;d?(a=e.push("ordered_list_open","ol",1),y!==1&&(a.attrs=[["start",y]])):a=e.push("bullet_list_open","ul",1);const A=[l,0];a.map=A,a.markup=String.fromCharCode(p);let E=!1;const b=e.md.block.ruler.getRules("list"),h=e.parentType;for(e.parentType="list";l<t;){i=x,r=e.eMarks[l];const k=e.sCount[l]+x-(e.bMarks[l]+e.tShift[l]);let g=k;for(;i<r;){const $=e.src.charCodeAt(i);if($===9)g+=4-(g+e.bsCount[l])%4;else if($===32)g++;else break;i++}const _=i;let w;_>=r?w=1:w=g-k,w>4&&(w=1);const B=k+w;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(p);const F=[l,0];a.map=F,d&&(a.info=e.src.slice(c,x-1));const O=e.tight,z=e.tShift[l],G=e.sCount[l],te=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=B,e.tight=!0,e.tShift[l]=_-e.bMarks[l],e.sCount[l]=g,_>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,l,t,!0),(!e.tight||E)&&(s=!1),E=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=te,e.tShift[l]=z,e.sCount[l]=G,e.tight=O,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(p),l=e.line,F[1]=l,l>=t||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let T=!1;for(let $=0,ce=b.length;$<ce;$++)if(b[$](e,l,t,!0)){T=!0;break}if(T)break;if(d){if(x=Pn(e,l),x<0)break;c=e.bMarks[l]+e.tShift[l]}else if(x=Tn(e,l),x<0)break;if(p!==e.src.charCodeAt(x-1))break}return d?a=e.push("ordered_list_close","ol",-1):a=e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(p),A[1]=l,e.line=l,e.parentType=h,s&&Wi(e,C),!0}function Yi(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u],c=u+1;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function a(b){const h=e.lineMax;if(b>=h||e.isEmpty(b))return null;let k=!1;if(e.sCount[b]-e.blkIndent>3&&(k=!0),e.sCount[b]<0&&(k=!0),!k){const w=e.md.block.ruler.getRules("reference"),B=e.parentType;e.parentType="reference";let F=!1;for(let O=0,z=w.length;O<z;O++)if(w[O](e,b,h,!0)){F=!0;break}if(e.parentType=B,F)return null}const g=e.bMarks[b]+e.tShift[b],_=e.eMarks[b];return e.src.slice(g,_+1)}let l=e.src.slice(r,i+1);i=l.length;let s=-1;for(r=1;r<i;r++){const b=l.charCodeAt(r);if(b===91)return!1;if(b===93){s=r;break}else if(b===10){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}else if(b===92&&(r++,r<i&&l.charCodeAt(r)===10)){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}}if(s<0||l.charCodeAt(s+1)!==58)return!1;for(r=s+2;r<i;r++){const b=l.charCodeAt(r);if(b===10){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}else if(!V(b))break}const f=e.md.helpers.parseLinkDestination(l,r,i);if(!f.ok)return!1;const d=e.md.normalizeLink(f.str);if(!e.md.validateLink(d))return!1;r=f.pos;const y=r,x=c,p=r;for(;r<i;r++){const b=l.charCodeAt(r);if(b===10){const h=a(c);h!==null&&(l+=h,i=l.length,c++)}else if(!V(b))break}let C=e.md.helpers.parseLinkTitle(l,r,i);for(;C.can_continue;){const b=a(c);if(b===null)break;l+=b,r=i,i=l.length,c++,C=e.md.helpers.parseLinkTitle(l,r,i,C)}let A;for(r<i&&p!==r&&C.ok?(A=C.str,r=C.pos):(A="",r=y,c=x);r<i;){const b=l.charCodeAt(r);if(!V(b))break;r++}if(r<i&&l.charCodeAt(r)!==10&&A)for(A="",r=y,c=x;r<i;){const b=l.charCodeAt(r);if(!V(b))break;r++}if(r<i&&l.charCodeAt(r)!==10)return!1;const E=Tu(l.slice(1,s));return E?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[E]>"u"&&(e.env.references[E]={title:A,href:d}),e.line=c),!0):!1}const Xi=["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"],Qi="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ji="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",Rn="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Qi+"(?:\\s*=\\s*"+Ji+")?)")+"*\\s*\\/?>",Bn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ki="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",ea="<[?][\\s\\S]*?[?]>",ua="<![A-Za-z][^>]*>",ta="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",na=new RegExp("^(?:"+Rn+"|"+Bn+"|"+Ki+"|"+ea+"|"+ua+"|"+ta+")"),ra=new RegExp("^(?:"+Rn+"|"+Bn+")"),qe=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Xi.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(ra.source+"\\s*$"),/^$/,!1]];function oa(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let c=e.src.slice(r,i),a=0;for(;a<qe.length&&!qe[a][0].test(c);a++);if(a===qe.length)return!1;if(n)return qe[a][2];let l=u+1;if(!qe[a][1].test(c)){for(;l<t&&!(e.sCount[l]<e.blkIndent);l++)if(r=e.bMarks[l]+e.tShift[l],i=e.eMarks[l],c=e.src.slice(r,i),qe[a][1].test(c)){c.length!==0&&l++;break}}e.line=l;const s=e.push("html_block","",0);return s.map=[u,l],s.content=e.getLines(u,l,e.blkIndent,!0),!0}function ia(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let c=e.src.charCodeAt(r);if(c!==35||r>=i)return!1;let a=1;for(c=e.src.charCodeAt(++r);c===35&&r<i&&a<=6;)a++,c=e.src.charCodeAt(++r);if(a>6||r<i&&!V(c))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const l=e.skipCharsBack(i,35,r);l>r&&V(e.src.charCodeAt(l-1))&&(i=l),e.line=u+1;const s=e.push("heading_open","h"+String(a),1);s.markup="########".slice(0,a),s.map=[u,e.line];const f=e.push("inline","",0);f.content=e.src.slice(r,i).trim(),f.map=[u,e.line],f.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup="########".slice(0,a),!0}function aa(e,u,t){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[u]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,c,a=u+1;for(;a<t&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let x=e.bMarks[a]+e.tShift[a];const p=e.eMarks[a];if(x<p&&(c=e.src.charCodeAt(x),(c===45||c===61)&&(x=e.skipChars(x,c),x=e.skipSpaces(x),x>=p))){i=c===61?1:2;break}}if(e.sCount[a]<0)continue;let y=!1;for(let x=0,p=n.length;x<p;x++)if(n[x](e,a,t,!0)){y=!0;break}if(y)break}if(!i)return!1;const l=e.getLines(u,a,e.blkIndent,!1).trim();e.line=a+1;const s=e.push("heading_open","h"+String(i),1);s.markup=String.fromCharCode(c),s.map=[u,e.line];const f=e.push("inline","",0);f.content=l,f.map=[u,e.line-1],f.children=[];const d=e.push("heading_close","h"+String(i),-1);return d.markup=String.fromCharCode(c),e.parentType=r,!0}function ca(e,u,t){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=u+1;for(e.parentType="paragraph";i<t&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let s=!1;for(let f=0,d=n.length;f<d;f++)if(n[f](e,i,t,!0)){s=!0;break}if(s)break}const c=e.getLines(u,i,e.blkIndent,!1).trim();e.line=i;const a=e.push("paragraph_open","p",1);a.map=[u,e.line];const l=e.push("inline","",0);return l.content=c,l.map=[u,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Ru=[["table",ji,["paragraph","reference"]],["code",Ui],["fence",Hi,["paragraph","reference","blockquote","list"]],["blockquote",Vi,["paragraph","reference","blockquote","list"]],["hr",Gi,["paragraph","reference","blockquote","list"]],["list",Zi,["paragraph","reference","blockquote"]],["reference",Yi],["html_block",oa,["paragraph","reference","blockquote"]],["heading",ia,["paragraph","reference","blockquote"]],["lheading",aa],["paragraph",ca]];function Bu(){this.ruler=new le;for(let e=0;e<Ru.length;e++)this.ruler.push(Ru[e][0],Ru[e][1],{alt:(Ru[e][2]||[]).slice()})}Bu.prototype.tokenize=function(e,u,t){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let c=u,a=!1;for(;c<t&&(e.line=c=e.skipEmptyLines(c),!(c>=t||e.sCount[c]<e.blkIndent));){if(e.level>=i){e.line=t;break}const l=e.line;let s=!1;for(let f=0;f<r;f++)if(s=n[f](e,c,t,!1),s){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),c=e.line,c<t&&e.isEmpty(c)&&(a=!0,c++,e.line=c)}},Bu.prototype.parse=function(e,u,t,n){if(!e)return;const r=new this.State(e,u,t,n);this.tokenize(r,r.line,r.lineMax)},Bu.prototype.State=xe;function cu(e,u,t,n){this.src=e,this.env=t,this.md=u,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}cu.prototype.pushPending=function(){const e=new ge("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},cu.prototype.push=function(e,u,t){this.pending&&this.pushPending();const n=new ge(e,u,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},cu.prototype.scanDelims=function(e,u){const t=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<t&&this.src.charCodeAt(i)===n;)i++;const c=i-e,a=i<t?this.src.charCodeAt(i):32,l=au(r)||iu(String.fromCharCode(r)),s=au(a)||iu(String.fromCharCode(a)),f=ou(r),d=ou(a),y=!d&&(!s||f||l),x=!f&&(!l||d||s);return{can_open:y&&(u||!x||l),can_close:x&&(u||!y||s),length:c}},cu.prototype.Token=ge;function la(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 sa(e,u){let t=e.pos;for(;t<e.posMax&&!la(e.src.charCodeAt(t));)t++;return t===e.pos?!1:(u||(e.pending+=e.src.slice(e.pos,t)),e.pos=t,!0)}const fa=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function da(e,u){if(!e.md.options.linkify||e.linkLevel>0)return!1;const t=e.pos,n=e.posMax;if(t+3>n||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;const r=e.pending.match(fa);if(!r)return!1;const i=r[1],c=e.md.linkify.matchAtStart(e.src.slice(t-i.length));if(!c)return!1;let a=c.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");const l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!u){e.pending=e.pending.slice(0,-i.length);const s=e.push("link_open","a",1);s.attrs=[["href",l]],s.markup="linkify",s.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(a);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=a.length-i.length,!0}function pa(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!u)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;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);for(t++;t<r&&V(e.src.charCodeAt(t));)t++;return e.pos=t,!0}const bt=[];for(let e=0;e<256;e++)bt.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){bt[e.charCodeAt(0)]=1});function ha(e,u){let t=e.pos;const n=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=n))return!1;let r=e.src.charCodeAt(t);if(r===10){for(u||e.push("hardbreak","br",0),t++;t<n&&(r=e.src.charCodeAt(t),!!V(r));)t++;return e.pos=t,!0}let i=e.src[t];if(r>=55296&&r<=56319&&t+1<n){const a=e.src.charCodeAt(t+1);a>=56320&&a<=57343&&(i+=e.src[t+1],t++)}const c="\\"+i;if(!u){const a=e.push("text_special","",0);r<256&&bt[r]!==0?a.content=i:a.content=c,a.markup=c,a.info="escape"}return e.pos=t+1,!0}function ba(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==96)return!1;const r=t;t++;const i=e.posMax;for(;t<i&&e.src.charCodeAt(t)===96;)t++;const c=e.src.slice(r,t),a=c.length;if(e.backticksScanned&&(e.backticks[a]||0)<=r)return u||(e.pending+=c),e.pos+=a,!0;let l=t,s;for(;(s=e.src.indexOf("`",l))!==-1;){for(l=s+1;l<i&&e.src.charCodeAt(l)===96;)l++;const f=l-s;if(f===a){if(!u){const d=e.push("code_inline","code",0);d.markup=c,d.content=e.src.slice(t,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[f]=s}return e.backticksScanned=!0,u||(e.pending+=c),e.pos+=a,!0}function ma(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const c=String.fromCharCode(n);if(i<2)return!1;let a;i%2&&(a=e.push("text","",0),a.content=c,i--);for(let l=0;l<i;l+=2)a=e.push("text","",0),a.content=c+c,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Nn(e,u){let t;const n=[],r=u.length;for(let i=0;i<r;i++){const c=u[i];if(c.marker!==126||c.end===-1)continue;const a=u[c.end];t=e.tokens[c.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=e.tokens[a.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="",e.tokens[a.token-1].type==="text"&&e.tokens[a.token-1].content==="~"&&n.push(a.token-1)}for(;n.length;){const i=n.pop();let c=i+1;for(;c<e.tokens.length&&e.tokens[c].type==="s_close";)c++;c--,i!==c&&(t=e.tokens[c],e.tokens[c]=e.tokens[i],e.tokens[i]=t)}}function ga(e){const u=e.tokens_meta,t=e.tokens_meta.length;Nn(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&Nn(e,u[n].delimiters)}const vn={tokenize:ma,postProcess:ga};function ka(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const c=e.push("text","",0);c.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function On(e,u){const t=u.length;for(let n=t-1;n>=0;n--){const r=u[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=u[r.end],c=n>0&&u[n-1].end===r.end+1&&u[n-1].marker===r.marker&&u[n-1].token===r.token-1&&u[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=c?"strong_open":"em_open",l.tag=c?"strong":"em",l.nesting=1,l.markup=c?a+a:a,l.content="";const s=e.tokens[i.token];s.type=c?"strong_close":"em_close",s.tag=c?"strong":"em",s.nesting=-1,s.markup=c?a+a:a,s.content="",c&&(e.tokens[u[n-1].token].content="",e.tokens[u[r.end+1].token].content="",n--)}}function xa(e){const u=e.tokens_meta,t=e.tokens_meta.length;On(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&On(e,u[n].delimiters)}const Mn={tokenize:ka,postProcess:xa};function _a(e,u){let t,n,r,i,c="",a="",l=e.pos,s=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const f=e.pos,d=e.posMax,y=e.pos+1,x=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(x<0)return!1;let p=x+1;if(p<d&&e.src.charCodeAt(p)===40){for(s=!1,p++;p<d&&(t=e.src.charCodeAt(p),!(!V(t)&&t!==10));p++);if(p>=d)return!1;if(l=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(c=e.md.normalizeLink(r.str),e.md.validateLink(c)?p=r.pos:c="",l=p;p<d&&(t=e.src.charCodeAt(p),!(!V(t)&&t!==10));p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&r.ok)for(a=r.str,p=r.pos;p<d&&(t=e.src.charCodeAt(p),!(!V(t)&&t!==10));p++);}(p>=d||e.src.charCodeAt(p)!==41)&&(s=!0),p++}if(s){if(typeof e.env.references>"u")return!1;if(p<d&&e.src.charCodeAt(p)===91?(l=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?n=e.src.slice(l,p++):p=x+1):p=x+1,n||(n=e.src.slice(y,x)),i=e.env.references[Tu(n)],!i)return e.pos=f,!1;c=i.href,a=i.title}if(!u){e.pos=y,e.posMax=x;const C=e.push("link_open","a",1),A=[["href",c]];C.attrs=A,a&&A.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}function ya(e,u){let t,n,r,i,c,a,l,s,f="";const d=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const x=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(i=p+1,i<y&&e.src.charCodeAt(i)===40){for(i++;i<y&&(t=e.src.charCodeAt(i),!(!V(t)&&t!==10));i++);if(i>=y)return!1;for(s=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(f=e.md.normalizeLink(a.str),e.md.validateLink(f)?i=a.pos:f=""),s=i;i<y&&(t=e.src.charCodeAt(i),!(!V(t)&&t!==10));i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<y&&s!==i&&a.ok)for(l=a.str,i=a.pos;i<y&&(t=e.src.charCodeAt(i),!(!V(t)&&t!==10));i++);else l="";if(i>=y||e.src.charCodeAt(i)!==41)return e.pos=d,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<y&&e.src.charCodeAt(i)===91?(s=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(s,i++):i=p+1):i=p+1,r||(r=e.src.slice(x,p)),c=e.env.references[Tu(r)],!c)return e.pos=d,!1;f=c.href,l=c.title}if(!u){n=e.src.slice(x,p);const C=[];e.md.inline.parse(n,e.md,e.env,C);const A=e.push("image","img",0),E=[["src",f],["alt",""]];A.attrs=E,A.children=C,A.content=n,l&&E.push(["title",l])}return e.pos=i,e.posMax=y,!0}const Ea=/^([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])?)*)$/,Ca=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Aa(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++t>=r)return!1;const c=e.src.charCodeAt(t);if(c===60)return!1;if(c===62)break}const i=e.src.slice(n+1,t);if(Ca.test(i)){const c=e.md.normalizeLink(i);if(!e.md.validateLink(c))return!1;if(!u){const a=e.push("link_open","a",1);a.attrs=[["href",c]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(i);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=i.length+2,!0}if(Ea.test(i)){const c=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(c))return!1;if(!u){const a=e.push("link_open","a",1);a.attrs=[["href",c]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(i);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=i.length+2,!0}return!1}function wa(e){return/^<a[>\s]/i.test(e)}function Da(e){return/^<\/a\s*>/i.test(e)}function Fa(e){const u=e|32;return u>=97&&u<=122}function Sa(e,u){if(!e.md.options.html)return!1;const t=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=t)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Fa(r))return!1;const i=e.src.slice(n).match(na);if(!i)return!1;if(!u){const c=e.push("html_inline","",0);c.content=i[0],wa(c.content)&&e.linkLevel++,Da(c.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Ta=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Pa=/^&([a-z][a-z0-9]{1,31});/i;function Ra(e,u){const t=e.pos,n=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=n)return!1;if(e.src.charCodeAt(t+1)===35){const i=e.src.slice(t).match(Ta);if(i){if(!u){const c=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=ft(c)?Su(c):Su(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(t).match(Pa);if(i){const c=yn(i[0]);if(c!==i[0]){if(!u){const a=e.push("text_special","",0);a.content=c,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Ln(e){const u={},t=e.length;if(!t)return;let n=0,r=-2;const i=[];for(let c=0;c<t;c++){const a=e[c];if(i.push(0),(e[n].marker!==a.marker||r!==a.token-1)&&(n=c),r=a.token,a.length=a.length||0,!a.close)continue;u.hasOwnProperty(a.marker)||(u[a.marker]=[-1,-1,-1,-1,-1,-1]);const l=u[a.marker][(a.open?3:0)+a.length%3];let s=n-i[n]-1,f=s;for(;s>l;s-=i[s]+1){const d=e[s];if(d.marker===a.marker&&d.open&&d.end<0){let y=!1;if((d.close||a.open)&&(d.length+a.length)%3===0&&(d.length%3!==0||a.length%3!==0)&&(y=!0),!y){const x=s>0&&!e[s-1].open?i[s-1]+1:0;i[c]=c-s+x,i[s]=x,a.open=!1,d.end=c,d.close=!1,f=-1,r=-2;break}}}f!==-1&&(u[a.marker][(a.open?3:0)+(a.length||0)%3]=f)}}function Ba(e){const u=e.tokens_meta,t=e.tokens_meta.length;Ln(e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&Ln(u[n].delimiters)}function Na(e){let u,t,n=0;const r=e.tokens,i=e.tokens.length;for(u=t=0;u<i;u++)r[u].nesting<0&&n--,r[u].level=n,r[u].nesting>0&&n++,r[u].type==="text"&&u+1<i&&r[u+1].type==="text"?r[u+1].content=r[u].content+r[u+1].content:(u!==t&&(r[t]=r[u]),t++);u!==t&&(r.length=t)}const mt=[["text",sa],["linkify",da],["newline",pa],["escape",ha],["backticks",ba],["strikethrough",vn.tokenize],["emphasis",Mn.tokenize],["link",_a],["image",ya],["autolink",Aa],["html_inline",Sa],["entity",Ra]],gt=[["balance_pairs",Ba],["strikethrough",vn.postProcess],["emphasis",Mn.postProcess],["fragments_join",Na]];function lu(){this.ruler=new le;for(let e=0;e<mt.length;e++)this.ruler.push(mt[e][0],mt[e][1]);this.ruler2=new le;for(let e=0;e<gt.length;e++)this.ruler2.push(gt[e][0],gt[e][1])}lu.prototype.skipToken=function(e){const u=e.pos,t=this.ruler.getRules(""),n=t.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[u]<"u"){e.pos=i[u];return}let c=!1;if(e.level<r){for(let a=0;a<n;a++)if(e.level++,c=t[a](e,!0),e.level--,c){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;c||e.pos++,i[u]=e.pos},lu.prototype.tokenize=function(e){const u=this.ruler.getRules(""),t=u.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let c=!1;if(e.level<r){for(let a=0;a<t;a++)if(c=u[a](e,!1),c){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(c){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},lu.prototype.parse=function(e,u,t,n){const r=new this.State(e,u,t,n);this.tokenize(r);const i=this.ruler2.getRules(""),c=i.length;for(let a=0;a<c;a++)i[a](r)},lu.prototype.State=cu;function va(e){const u={};e=e||{},u.src_Any=mn.source,u.src_Cc=gn.source,u.src_Z=xn.source,u.src_P=at.source,u.src_ZPCc=[u.src_Z,u.src_P,u.src_Cc].join("|"),u.src_ZCc=[u.src_Z,u.src_Cc].join("|");const t="[><|]";return u.src_pseudo_letter="(?:(?!"+t+"|"+u.src_ZPCc+")"+u.src_Any+")",u.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",u.src_auth="(?:(?:(?!"+u.src_ZCc+"|[@/\\[\\]()]).)+@)?",u.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",u.src_host_terminator="(?=$|"+t+"|"+u.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+u.src_ZPCc+"))",u.src_path="(?:[/?#](?:(?!"+u.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+u.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+u.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+u.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+u.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+u.src_ZCc+"|[']).)+\\'|\\'(?="+u.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+u.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+u.src_ZCc+"|$)|;(?!"+u.src_ZCc+"|$)|\\!+(?!"+u.src_ZCc+"|[!]|$)|\\?(?!"+u.src_ZCc+"|[?]|$))+|\\/)?",u.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',u.src_xn="xn--[a-z0-9\\-]{1,59}",u.src_domain_root="(?:"+u.src_xn+"|"+u.src_pseudo_letter+"{1,63})",u.src_domain="(?:"+u.src_xn+"|(?:"+u.src_pseudo_letter+")|(?:"+u.src_pseudo_letter+"(?:-|"+u.src_pseudo_letter+"){0,61}"+u.src_pseudo_letter+"))",u.src_host="(?:(?:(?:(?:"+u.src_domain+")\\.)*"+u.src_domain+"))",u.tpl_host_fuzzy="(?:"+u.src_ip4+"|(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%)))",u.tpl_host_no_ip_fuzzy="(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%))",u.src_host_strict=u.src_host+u.src_host_terminator,u.tpl_host_fuzzy_strict=u.tpl_host_fuzzy+u.src_host_terminator,u.src_host_port_strict=u.src_host+u.src_port+u.src_host_terminator,u.tpl_host_port_fuzzy_strict=u.tpl_host_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_port_no_ip_fuzzy_strict=u.tpl_host_no_ip_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+u.src_ZPCc+"|>|$))",u.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+u.src_ZCc+")("+u.src_email_name+"@"+u.tpl_host_fuzzy_strict+")",u.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_fuzzy_strict+u.src_path+")",u.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_no_ip_fuzzy_strict+u.src_path+")",u}function kt(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function Nu(e){return Object.prototype.toString.call(e)}function Oa(e){return Nu(e)==="[object String]"}function Ma(e){return Nu(e)==="[object Object]"}function La(e){return Nu(e)==="[object RegExp]"}function zn(e){return Nu(e)==="[object Function]"}function za(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const In={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Ia(e){return Object.keys(e||{}).reduce(function(u,t){return u||In.hasOwnProperty(t)},!1)}const $a={"http:":{validate:function(e,u,t){const n=e.slice(u);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,u,t){const n=e.slice(u);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?u>=3&&e[u-3]===":"||u>=3&&e[u-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,u,t){const n=e.slice(u);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},qa="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]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",ja="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ua(e){e.__index__=-1,e.__text_cache__=""}function Ha(e){return function(u,t){const n=u.slice(t);return e.test(n)?n.match(e)[0].length:0}}function $n(){return function(e,u){u.normalize(e)}}function vu(e){const u=e.re=va(e.__opts__),t=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||t.push(qa),t.push(u.src_xn),u.src_tlds=t.join("|");function n(a){return a.replace("%TLDS%",u.src_tlds)}u.email_fuzzy=RegExp(n(u.tpl_email_fuzzy),"i"),u.link_fuzzy=RegExp(n(u.tpl_link_fuzzy),"i"),u.link_no_ip_fuzzy=RegExp(n(u.tpl_link_no_ip_fuzzy),"i"),u.host_fuzzy_test=RegExp(n(u.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){const l=e.__schemas__[a];if(l===null)return;const s={validate:null,link:null};if(e.__compiled__[a]=s,Ma(l)){La(l.validate)?s.validate=Ha(l.validate):zn(l.validate)?s.validate=l.validate:i(a,l),zn(l.normalize)?s.normalize=l.normalize:l.normalize?i(a,l):s.normalize=$n();return}if(Oa(l)){r.push(a);return}i(a,l)}),r.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:$n()};const c=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(za).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+c+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+c+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Ua(e)}function Va(e,u){const t=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(t,n);this.schema=e.__schema__.toLowerCase(),this.index=t+u,this.lastIndex=n+u,this.raw=r,this.text=r,this.url=r}function xt(e,u){const t=new Va(e,u);return e.__compiled__[t.schema].normalize(t,e),t}function de(e,u){if(!(this instanceof de))return new de(e,u);u||Ia(e)&&(u=e,e={}),this.__opts__=kt({},In,u),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=kt({},$a,e),this.__compiled__={},this.__tlds__=ja,this.__tlds_replaced__=!1,this.re={},vu(this)}de.prototype.add=function(u,t){return this.__schemas__[u]=t,vu(this),this},de.prototype.set=function(u){return this.__opts__=kt(this.__opts__,u),this},de.prototype.test=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return!1;let t,n,r,i,c,a,l,s,f;if(this.re.schema_test.test(u)){for(l=this.re.schema_search,l.lastIndex=0;(t=l.exec(u))!==null;)if(i=this.testSchemaAt(u,t[2],l.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=u.search(this.re.host_fuzzy_test),s>=0&&(this.__index__<0||s<this.__index__)&&(n=u.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=u.indexOf("@"),f>=0&&(r=u.match(this.re.email_fuzzy))!==null&&(c=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=a))),this.__index__>=0},de.prototype.pretest=function(u){return this.re.pretest.test(u)},de.prototype.testSchemaAt=function(u,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(u,n,this):0},de.prototype.match=function(u){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===u&&(t.push(xt(this,n)),n=this.__last_index__);let r=n?u.slice(n):u;for(;this.test(r);)t.push(xt(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},de.prototype.matchAtStart=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return null;const t=this.re.schema_at_start.exec(u);if(!t)return null;const n=this.testSchemaAt(u,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,xt(this,0)):null},de.prototype.tlds=function(u,t){return u=Array.isArray(u)?u:[u],t?(this.__tlds__=this.__tlds__.concat(u).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),vu(this),this):(this.__tlds__=u.slice(),this.__tlds_replaced__=!0,vu(this),this)},de.prototype.normalize=function(u){u.schema||(u.url="http://"+u.url),u.schema==="mailto:"&&!/^mailto:/i.test(u.url)&&(u.url="mailto:"+u.url)},de.prototype.onCompile=function(){};const je=2147483647,_e=36,_t=1,su=26,Ga=38,Wa=700,qn=72,jn=128,Un="-",Za=/^xn--/,Ya=/[^\0-\x7F]/,Xa=/[\x2E\u3002\uFF0E\uFF61]/g,Qa={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},yt=_e-_t,ye=Math.floor,Et=String.fromCharCode;function Be(e){throw new RangeError(Qa[e])}function Ja(e,u){const t=[];let n=e.length;for(;n--;)t[n]=u(e[n]);return t}function Hn(e,u){const t=e.split("@");let n="";t.length>1&&(n=t[0]+"@",e=t[1]),e=e.replace(Xa,".");const r=e.split("."),i=Ja(r,u).join(".");return n+i}function Vn(e){const u=[];let t=0;const n=e.length;for(;t<n;){const r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){const i=e.charCodeAt(t++);(i&64512)==56320?u.push(((r&1023)<<10)+(i&1023)+65536):(u.push(r),t--)}else u.push(r)}return u}const Ka=e=>String.fromCodePoint(...e),e0=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:_e},Gn=function(e,u){return e+22+75*(e<26)-((u!=0)<<5)},Wn=function(e,u,t){let n=0;for(e=t?ye(e/Wa):e>>1,e+=ye(e/u);e>yt*su>>1;n+=_e)e=ye(e/yt);return ye(n+(yt+1)*e/(e+Ga))},Zn=function(e){const u=[],t=e.length;let n=0,r=jn,i=qn,c=e.lastIndexOf(Un);c<0&&(c=0);for(let a=0;a<c;++a)e.charCodeAt(a)>=128&&Be("not-basic"),u.push(e.charCodeAt(a));for(let a=c>0?c+1:0;a<t;){const l=n;for(let f=1,d=_e;;d+=_e){a>=t&&Be("invalid-input");const y=e0(e.charCodeAt(a++));y>=_e&&Be("invalid-input"),y>ye((je-n)/f)&&Be("overflow"),n+=y*f;const x=d<=i?_t:d>=i+su?su:d-i;if(y<x)break;const p=_e-x;f>ye(je/p)&&Be("overflow"),f*=p}const s=u.length+1;i=Wn(n-l,s,l==0),ye(n/s)>je-r&&Be("overflow"),r+=ye(n/s),n%=s,u.splice(n++,0,r)}return String.fromCodePoint(...u)},Yn=function(e){const u=[];e=Vn(e);const t=e.length;let n=jn,r=0,i=qn;for(const l of e)l<128&&u.push(Et(l));const c=u.length;let a=c;for(c&&u.push(Un);a<t;){let l=je;for(const f of e)f>=n&&f<l&&(l=f);const s=a+1;l-n>ye((je-r)/s)&&Be("overflow"),r+=(l-n)*s,n=l;for(const f of e)if(f<n&&++r>je&&Be("overflow"),f===n){let d=r;for(let y=_e;;y+=_e){const x=y<=i?_t:y>=i+su?su:y-i;if(d<x)break;const p=d-x,C=_e-x;u.push(Et(Gn(x+p%C,0))),d=ye(p/C)}u.push(Et(Gn(d,0))),i=Wn(r,s,a===c),r=0,++a}++r,++n}return u.join("")},Xn={version:"2.3.1",ucs2:{decode:Vn,encode:Ka},decode:Zn,encode:Yn,toASCII:function(e){return Hn(e,function(u){return Ya.test(u)?"xn--"+Yn(u):u})},toUnicode:function(e){return Hn(e,function(u){return Za.test(u)?Zn(u.slice(4).toLowerCase()):u})}},u0={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","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","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"]}}}},t0=/^(vbscript|javascript|file|data):/,n0=/^data:image\/(gif|png|jpeg|webp);/;function r0(e){const u=e.trim().toLowerCase();return t0.test(u)?n0.test(u):!0}const Qn=["http:","https:","mailto:"];function o0(e){const u=it(e,!0);if(u.hostname&&(!u.protocol||Qn.indexOf(u.protocol)>=0))try{u.hostname=Xn.toASCII(u.hostname)}catch{}return ru(ot(u))}function i0(e){const u=it(e,!0);if(u.hostname&&(!u.protocol||Qn.indexOf(u.protocol)>=0))try{u.hostname=Xn.toUnicode(u.hostname)}catch{}return ze(ot(u),ze.defaultChars+"%")}function he(e,u){if(!(this instanceof he))return new he(e,u);u||st(e)||(u=e||{},e="default"),this.inline=new lu,this.block=new Bu,this.core=new pt,this.renderer=new $e,this.linkify=new de,this.validateLink=r0,this.normalizeLink=o0,this.normalizeLinkText=i0,this.utils=gi,this.helpers=Fu({},yi),this.options={},this.configure(e),u&&this.set(u)}he.prototype.set=function(e){return Fu(this.options,e),this},he.prototype.configure=function(e){const u=this;if(st(e)){const t=e;if(e=u0[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&u.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&u[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&u[t].ruler2.enableOnly(e.components[t].rules2)}),this},he.prototype.enable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},he.prototype.disable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},he.prototype.use=function(e){const u=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,u),this},he.prototype.parse=function(e,u){if(typeof e!="string")throw new Error("Input data should be a String");const t=new this.core.State(e,this,u);return this.core.process(t),t.tokens},he.prototype.render=function(e,u){return u=u||{},this.renderer.render(this.parse(e,u),this.options,u)},he.prototype.parseInline=function(e,u){const t=new this.core.State(e,this,u);return t.inlineMode=!0,this.core.process(t),t.tokens},he.prototype.renderInline=function(e,u){return u=u||{},this.renderer.render(this.parseInline(e,u),this.options,u)};function a0(e,u){const{manual:t=!1,domPurify:n=!0,...r}=u??{},i=o.ref(o.isRef(e)?o.toValue(e.value):o.isReactive(e)?o.toValue(e):e);o.isRef(e)&&o.watchEffect(()=>{i.value=o.toValue(e.value)});const c=o.ref(""),a=o.ref(),l=he({...r});function s(f){const d=l.render(f);if(c.value=n?Ro.sanitize(d):d,a.value)a.value.innerHTML=c.value;else{const y=o.watch(a,x=>{x&&(x.innerHTML=c.value,y())})}return c.value}return t||(s(i.value??""),o.watch(i,f=>{s(f??"")})),{value:i,html:c,domRef:a,md:l,render:s}}function c0(e,u){const{step:t=1,interval:n=50,enabled:r=!0}=u??{},i=o.ref(0),c=o.ref(!1),a=o.ref(!1),l=o.ref(!1),s=o.computed(()=>r?e.value.slice(0,i.value):e.value),f=o.computed(()=>Number(Math.min(i.value/e.value.length*100,100).toFixed(2)));let d=null;const y=Se.createEventHook(),x=Se.createEventHook(),p=Se.createEventHook();o.watch(e,(g,_)=>{if(!_){i.value=0,C();return}g.startsWith(_)||(i.value=0),C()},{immediate:!0});function C(){if(d&&clearTimeout(d),!r){i.value=e.value.length,a.value=!0,l.value=!1,c.value=!1,x.trigger(s.value);return}l.value=!0,c.value=!1,a.value=!1,y.trigger();function g(){if(i.value+=t,p.trigger({index:i.value,value:s.value}),i.value>=e.value.length){i.value=e.value.length,a.value=!0,l.value=!1,x.trigger(s.value);return}d=setTimeout(g,n)}d=setTimeout(g,n)}function A(){d&&clearTimeout(d),c.value=!0,l.value=!1,a.value=!1}function E(){d&&clearTimeout(d),C()}function b(){d&&clearTimeout(d),i.value=0,o.nextTick(()=>{C()})}function h(){d&&clearTimeout(d),l.value=!1,c.value=!1,a.value=!0,i.value=e.value.length,x.trigger(s.value)}function k(){d&&clearTimeout(d),d=null,l.value=!1,c.value=!1,a.value=!1,i.value=0}return{typeIndex:i,paused:c,ended:a,isTyping:l,typedValue:s,progress:f,start:C,pause:A,resume:E,restart:b,stop:h,destroy:k,onStat:y.on,onStop:x.on,onUpdate:p.on}}var Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ct={exports:{}},Kn;function s0(){return Kn||(Kn=1,function(e){var u=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
31
31
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
32
32
|
*
|
|
33
33
|
* @license MIT <https://opensource.org/licenses/MIT>
|
|
34
34
|
* @author Lea Verou <https://lea.verou.me>
|
|
35
35
|
* @namespace
|
|
36
36
|
* @public
|
|
37
|
-
*/var t=function(n){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,c={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function b(h){return h instanceof l?new l(h.type,b(h.content),h.alias):Array.isArray(h)?h.map(b):h.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++i}),b.__id},clone:function b(h,k){k=k||{};var g,_;switch(a.util.type(h)){case"Object":if(_=a.util.objId(h),k[_])return k[_];g={},k[_]=g;for(var w in h)h.hasOwnProperty(w)&&(g[w]=b(h[w],k));return g;case"Array":return _=a.util.objId(h),k[_]?k[_]:(g=[],k[_]=g,h.forEach(function(B,F){g[F]=b(B,k)}),g);default:return h}},getLanguage:function(b){for(;b;){var h=r.exec(b.className);if(h)return h[1].toLowerCase();b=b.parentElement}return"none"},setLanguage:function(b,h){b.className=b.className.replace(RegExp(r,"gi"),""),b.classList.add("language-"+h)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(g){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(g.stack)||[])[1];if(b){var h=document.getElementsByTagName("script");for(var k in h)if(h[k].src==b)return h[k]}return null}},isActive:function(b,h,k){for(var g="no-"+h;b;){var _=b.classList;if(_.contains(h))return!0;if(_.contains(g))return!1;b=b.parentElement}return!!k}},languages:{plain:c,plaintext:c,text:c,txt:c,extend:function(b,h){var k=a.util.clone(a.languages[b]);for(var g in h)k[g]=h[g];return k},insertBefore:function(b,h,k,g){g=g||a.languages;var _=g[b],w={};for(var B in _)if(_.hasOwnProperty(B)){if(B==h)for(var F in k)k.hasOwnProperty(F)&&(w[F]=k[F]);k.hasOwnProperty(B)||(w[B]=_[B])}var O=g[b];return g[b]=w,a.languages.DFS(a.languages,function(z,G){G===O&&z!=b&&(this[z]=w)}),w},DFS:function b(h,k,g,_){_=_||{};var w=a.util.objId;for(var B in h)if(h.hasOwnProperty(B)){k.call(h,B,h[B],g||B);var F=h[B],O=a.util.type(F);O==="Object"&&!_[w(F)]?(_[w(F)]=!0,b(F,k,null,_)):O==="Array"&&!_[w(F)]&&(_[w(F)]=!0,b(F,k,B,_))}}},plugins:{},highlightAll:function(b,h){a.highlightAllUnder(document,b,h)},highlightAllUnder:function(b,h,k){var g={callback:k,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",g),g.elements=Array.prototype.slice.apply(g.container.querySelectorAll(g.selector)),a.hooks.run("before-all-elements-highlight",g);for(var _=0,w;w=g.elements[_++];)a.highlightElement(w,h===!0,g.callback)},highlightElement:function(b,h,k){var g=a.util.getLanguage(b),_=a.languages[g];a.util.setLanguage(b,g);var w=b.parentElement;w&&w.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(w,g);var B=b.textContent,F={element:b,language:g,grammar:_,code:B};function O(G){F.highlightedCode=G,a.hooks.run("before-insert",F),F.element.innerHTML=F.highlightedCode,a.hooks.run("after-highlight",F),a.hooks.run("complete",F),k&&k.call(F.element)}if(a.hooks.run("before-sanity-check",F),w=F.element.parentElement,w&&w.nodeName.toLowerCase()==="pre"&&!w.hasAttribute("tabindex")&&w.setAttribute("tabindex","0"),!F.code){a.hooks.run("complete",F),k&&k.call(F.element);return}if(a.hooks.run("before-highlight",F),!F.grammar){O(a.util.encode(F.code));return}if(h&&n.Worker){var z=new Worker(a.filename);z.onmessage=function(G){O(G.data)},z.postMessage(JSON.stringify({language:F.language,code:F.code,immediateClose:!0}))}else O(a.highlight(F.code,F.grammar,F.language))},highlight:function(b,h,k){var g={code:b,grammar:h,language:k};if(a.hooks.run("before-tokenize",g),!g.grammar)throw new Error('The language "'+g.language+'" has no grammar.');return g.tokens=a.tokenize(g.code,g.grammar),a.hooks.run("after-tokenize",g),l.stringify(a.util.encode(g.tokens),g.language)},tokenize:function(b,h){var k=h.rest;if(k){for(var g in k)h[g]=k[g];delete h.rest}var _=new d;return y(_,_.head,b),f(b,_,h,_.head,0),p(_)},hooks:{all:{},add:function(b,h){var k=a.hooks.all;k[b]=k[b]||[],k[b].push(h)},run:function(b,h){var k=a.hooks.all[b];if(!(!k||!k.length))for(var g=0,_;_=k[g++];)_(h)}},Token:l};n.Prism=a;function l(b,h,k,g){this.type=b,this.content=h,this.alias=k,this.length=(g||"").length|0}l.stringify=function b(h,k){if(typeof h=="string")return h;if(Array.isArray(h)){var g="";return h.forEach(function(O){g+=b(O,k)}),g}var _={type:h.type,content:b(h.content,k),tag:"span",classes:["token",h.type],attributes:{},language:k},w=h.alias;w&&(Array.isArray(w)?Array.prototype.push.apply(_.classes,w):_.classes.push(w)),a.hooks.run("wrap",_);var B="";for(var F in _.attributes)B+=" "+F+'="'+(_.attributes[F]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+B+">"+_.content+"</"+_.tag+">"};function s(b,h,k,g){b.lastIndex=h;var _=b.exec(k);if(_&&g&&_[1]){var w=_[1].length;_.index+=w,_[0]=_[0].slice(w)}return _}function f(b,h,k,g,_,w){for(var B in k)if(!(!k.hasOwnProperty(B)||!k[B])){var F=k[B];F=Array.isArray(F)?F:[F];for(var O=0;O<F.length;++O){if(w&&w.cause==B+","+O)return;var z=F[O],G=z.inside,te=!!z.lookbehind,T=!!z.greedy,$=z.alias;if(T&&!z.pattern.global){var ne=z.pattern.toString().match(/[imsuy]*$/)[0];z.pattern=RegExp(z.pattern.source,ne+"g")}for(var Y=z.pattern||z,j=g.next,D=_;j!==h.tail&&!(w&&D>=w.reach);D+=j.value.length,j=j.next){var M=j.value;if(h.length>b.length)return;if(!(M instanceof l)){var P=1,U;if(T){if(U=s(Y,D,b,te),!U||U.index>=b.length)break;var K=U.index,L=U.index+U[0].length,H=D;for(H+=j.value.length;K>=H;)j=j.next,H+=j.value.length;if(H-=j.value.length,D=H,j.value instanceof l)continue;for(var q=j;q!==h.tail&&(H<L||typeof q.value=="string");q=q.next)P++,H+=q.value.length;P--,M=b.slice(D,H),U.index-=D}else if(U=s(Y,0,M,te),!U)continue;var K=U.index,be=U[0],Ue=M.slice(0,K),He=M.slice(K+be.length),Ve=D+M.length;w&&Ve>w.reach&&(w.reach=Ve);var Me=j.prev;Ue&&(Me=y(h,Me,Ue),D+=Ue.length),x(h,Me,P);var Ne=new l(B,G?a.tokenize(be,G):be,$,be);if(j=y(h,Me,Ne),He&&y(h,j,He),P>1){var ve={cause:B+","+O,reach:Ve};f(b,h,k,j.prev,D,ve),w&&ve.reach>w.reach&&(w.reach=ve.reach)}}}}}}function d(){var b={value:null,prev:null,next:null},h={value:null,prev:b,next:null};b.next=h,this.head=b,this.tail=h,this.length=0}function y(b,h,k){var g=h.next,_={value:k,prev:h,next:g};return h.next=_,g.prev=_,b.length++,_}function x(b,h,k){for(var g=h.next,_=0;_<k&&g!==b.tail;_++)g=g.next;h.next=g,g.prev=h,b.length-=_}function p(b){for(var h=[],k=b.head.next;k!==b.tail;)h.push(k.value),k=k.next;return h}if(!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(b){var h=JSON.parse(b.data),k=h.language,g=h.code,_=h.immediateClose;n.postMessage(a.highlight(g,a.languages[k],k)),_&&n.close()},!1)),a;var C=a.util.currentScript();C&&(a.filename=C.src,C.hasAttribute("data-manual")&&(a.manual=!0));function A(){a.manual||a.highlightAll()}if(!a.manual){var E=document.readyState;E==="loading"||E==="interactive"&&C&&C.defer?document.addEventListener("DOMContentLoaded",A):window.requestAnimationFrame?window.requestAnimationFrame(A):window.setTimeout(A,16)}return a}(u);e.exports&&(e.exports=t),typeof Jn<"u"&&(Jn.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(r,i){var c={};c["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[i]},c.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:c}};a["language-"+i]={pattern:/[\s\S]+/,inside:t.languages[i]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:a},t.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var i=n.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(typeof t>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",r=function(C,A){return"✖ Error "+C+" while fetching file: "+A},i="✖ Error: File does not exist or is empty",c={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},a="data-src-status",l="loading",s="loaded",f="failed",d="pre[data-src]:not(["+a+'="'+s+'"]):not(['+a+'="'+l+'"])';function y(C,A,E){var b=new XMLHttpRequest;b.open("GET",C,!0),b.onreadystatechange=function(){b.readyState==4&&(b.status<400&&b.responseText?A(b.responseText):b.status>=400?E(r(b.status,b.statusText)):E(i))},b.send(null)}function x(C){var A=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C||"");if(A){var E=Number(A[1]),b=A[2],h=A[3];return b?h?[E,Number(h)]:[E,void 0]:[E,E]}}t.hooks.add("before-highlightall",function(C){C.selector+=", "+d}),t.hooks.add("before-sanity-check",function(C){var A=C.element;if(A.matches(d)){C.code="",A.setAttribute(a,l);var E=A.appendChild(document.createElement("CODE"));E.textContent=n;var b=A.getAttribute("data-src"),h=C.language;if(h==="none"){var k=(/\.(\w+)$/.exec(b)||[,"none"])[1];h=c[k]||k}t.util.setLanguage(E,h),t.util.setLanguage(A,h);var g=t.plugins.autoloader;g&&g.loadLanguages(h),y(b,function(_){A.setAttribute(a,s);var w=x(A.getAttribute("data-range"));if(w){var B=_.split(/\r\n?|\n/g),F=w[0],O=w[1]==null?B.length:w[1];F<0&&(F+=B.length),F=Math.max(0,Math.min(F-1,B.length)),O<0&&(O+=B.length),O=Math.max(0,Math.min(O,B.length)),_=B.slice(F,O).join(`
|
|
37
|
+
*/var t=function(n){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,c={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function b(h){return h instanceof l?new l(h.type,b(h.content),h.alias):Array.isArray(h)?h.map(b):h.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++i}),b.__id},clone:function b(h,k){k=k||{};var g,_;switch(a.util.type(h)){case"Object":if(_=a.util.objId(h),k[_])return k[_];g={},k[_]=g;for(var w in h)h.hasOwnProperty(w)&&(g[w]=b(h[w],k));return g;case"Array":return _=a.util.objId(h),k[_]?k[_]:(g=[],k[_]=g,h.forEach(function(B,F){g[F]=b(B,k)}),g);default:return h}},getLanguage:function(b){for(;b;){var h=r.exec(b.className);if(h)return h[1].toLowerCase();b=b.parentElement}return"none"},setLanguage:function(b,h){b.className=b.className.replace(RegExp(r,"gi"),""),b.classList.add("language-"+h)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(g){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(g.stack)||[])[1];if(b){var h=document.getElementsByTagName("script");for(var k in h)if(h[k].src==b)return h[k]}return null}},isActive:function(b,h,k){for(var g="no-"+h;b;){var _=b.classList;if(_.contains(h))return!0;if(_.contains(g))return!1;b=b.parentElement}return!!k}},languages:{plain:c,plaintext:c,text:c,txt:c,extend:function(b,h){var k=a.util.clone(a.languages[b]);for(var g in h)k[g]=h[g];return k},insertBefore:function(b,h,k,g){g=g||a.languages;var _=g[b],w={};for(var B in _)if(_.hasOwnProperty(B)){if(B==h)for(var F in k)k.hasOwnProperty(F)&&(w[F]=k[F]);k.hasOwnProperty(B)||(w[B]=_[B])}var O=g[b];return g[b]=w,a.languages.DFS(a.languages,function(z,G){G===O&&z!=b&&(this[z]=w)}),w},DFS:function b(h,k,g,_){_=_||{};var w=a.util.objId;for(var B in h)if(h.hasOwnProperty(B)){k.call(h,B,h[B],g||B);var F=h[B],O=a.util.type(F);O==="Object"&&!_[w(F)]?(_[w(F)]=!0,b(F,k,null,_)):O==="Array"&&!_[w(F)]&&(_[w(F)]=!0,b(F,k,B,_))}}},plugins:{},highlightAll:function(b,h){a.highlightAllUnder(document,b,h)},highlightAllUnder:function(b,h,k){var g={callback:k,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",g),g.elements=Array.prototype.slice.apply(g.container.querySelectorAll(g.selector)),a.hooks.run("before-all-elements-highlight",g);for(var _=0,w;w=g.elements[_++];)a.highlightElement(w,h===!0,g.callback)},highlightElement:function(b,h,k){var g=a.util.getLanguage(b),_=a.languages[g];a.util.setLanguage(b,g);var w=b.parentElement;w&&w.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(w,g);var B=b.textContent,F={element:b,language:g,grammar:_,code:B};function O(G){F.highlightedCode=G,a.hooks.run("before-insert",F),F.element.innerHTML=F.highlightedCode,a.hooks.run("after-highlight",F),a.hooks.run("complete",F),k&&k.call(F.element)}if(a.hooks.run("before-sanity-check",F),w=F.element.parentElement,w&&w.nodeName.toLowerCase()==="pre"&&!w.hasAttribute("tabindex")&&w.setAttribute("tabindex","0"),!F.code){a.hooks.run("complete",F),k&&k.call(F.element);return}if(a.hooks.run("before-highlight",F),!F.grammar){O(a.util.encode(F.code));return}if(h&&n.Worker){var z=new Worker(a.filename);z.onmessage=function(G){O(G.data)},z.postMessage(JSON.stringify({language:F.language,code:F.code,immediateClose:!0}))}else O(a.highlight(F.code,F.grammar,F.language))},highlight:function(b,h,k){var g={code:b,grammar:h,language:k};if(a.hooks.run("before-tokenize",g),!g.grammar)throw new Error('The language "'+g.language+'" has no grammar.');return g.tokens=a.tokenize(g.code,g.grammar),a.hooks.run("after-tokenize",g),l.stringify(a.util.encode(g.tokens),g.language)},tokenize:function(b,h){var k=h.rest;if(k){for(var g in k)h[g]=k[g];delete h.rest}var _=new d;return y(_,_.head,b),f(b,_,h,_.head,0),p(_)},hooks:{all:{},add:function(b,h){var k=a.hooks.all;k[b]=k[b]||[],k[b].push(h)},run:function(b,h){var k=a.hooks.all[b];if(!(!k||!k.length))for(var g=0,_;_=k[g++];)_(h)}},Token:l};n.Prism=a;function l(b,h,k,g){this.type=b,this.content=h,this.alias=k,this.length=(g||"").length|0}l.stringify=function b(h,k){if(typeof h=="string")return h;if(Array.isArray(h)){var g="";return h.forEach(function(O){g+=b(O,k)}),g}var _={type:h.type,content:b(h.content,k),tag:"span",classes:["token",h.type],attributes:{},language:k},w=h.alias;w&&(Array.isArray(w)?Array.prototype.push.apply(_.classes,w):_.classes.push(w)),a.hooks.run("wrap",_);var B="";for(var F in _.attributes)B+=" "+F+'="'+(_.attributes[F]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+B+">"+_.content+"</"+_.tag+">"};function s(b,h,k,g){b.lastIndex=h;var _=b.exec(k);if(_&&g&&_[1]){var w=_[1].length;_.index+=w,_[0]=_[0].slice(w)}return _}function f(b,h,k,g,_,w){for(var B in k)if(!(!k.hasOwnProperty(B)||!k[B])){var F=k[B];F=Array.isArray(F)?F:[F];for(var O=0;O<F.length;++O){if(w&&w.cause==B+","+O)return;var z=F[O],G=z.inside,te=!!z.lookbehind,T=!!z.greedy,$=z.alias;if(T&&!z.pattern.global){var ce=z.pattern.toString().match(/[imsuy]*$/)[0];z.pattern=RegExp(z.pattern.source,ce+"g")}for(var Y=z.pattern||z,j=g.next,D=_;j!==h.tail&&!(w&&D>=w.reach);D+=j.value.length,j=j.next){var M=j.value;if(h.length>b.length)return;if(!(M instanceof l)){var P=1,U;if(T){if(U=s(Y,D,b,te),!U||U.index>=b.length)break;var K=U.index,L=U.index+U[0].length,H=D;for(H+=j.value.length;K>=H;)j=j.next,H+=j.value.length;if(H-=j.value.length,D=H,j.value instanceof l)continue;for(var q=j;q!==h.tail&&(H<L||typeof q.value=="string");q=q.next)P++,H+=q.value.length;P--,M=b.slice(D,H),U.index-=D}else if(U=s(Y,0,M,te),!U)continue;var K=U.index,be=U[0],Ue=M.slice(0,K),He=M.slice(K+be.length),Ve=D+M.length;w&&Ve>w.reach&&(w.reach=Ve);var Me=j.prev;Ue&&(Me=y(h,Me,Ue),D+=Ue.length),x(h,Me,P);var Ne=new l(B,G?a.tokenize(be,G):be,$,be);if(j=y(h,Me,Ne),He&&y(h,j,He),P>1){var ve={cause:B+","+O,reach:Ve};f(b,h,k,j.prev,D,ve),w&&ve.reach>w.reach&&(w.reach=ve.reach)}}}}}}function d(){var b={value:null,prev:null,next:null},h={value:null,prev:b,next:null};b.next=h,this.head=b,this.tail=h,this.length=0}function y(b,h,k){var g=h.next,_={value:k,prev:h,next:g};return h.next=_,g.prev=_,b.length++,_}function x(b,h,k){for(var g=h.next,_=0;_<k&&g!==b.tail;_++)g=g.next;h.next=g,g.prev=h,b.length-=_}function p(b){for(var h=[],k=b.head.next;k!==b.tail;)h.push(k.value),k=k.next;return h}if(!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(b){var h=JSON.parse(b.data),k=h.language,g=h.code,_=h.immediateClose;n.postMessage(a.highlight(g,a.languages[k],k)),_&&n.close()},!1)),a;var C=a.util.currentScript();C&&(a.filename=C.src,C.hasAttribute("data-manual")&&(a.manual=!0));function A(){a.manual||a.highlightAll()}if(!a.manual){var E=document.readyState;E==="loading"||E==="interactive"&&C&&C.defer?document.addEventListener("DOMContentLoaded",A):window.requestAnimationFrame?window.requestAnimationFrame(A):window.setTimeout(A,16)}return a}(u);e.exports&&(e.exports=t),typeof Jn<"u"&&(Jn.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(r,i){var c={};c["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[i]},c.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:c}};a["language-"+i]={pattern:/[\s\S]+/,inside:t.languages[i]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:a},t.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var i=n.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(typeof t>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",r=function(C,A){return"✖ Error "+C+" while fetching file: "+A},i="✖ Error: File does not exist or is empty",c={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},a="data-src-status",l="loading",s="loaded",f="failed",d="pre[data-src]:not(["+a+'="'+s+'"]):not(['+a+'="'+l+'"])';function y(C,A,E){var b=new XMLHttpRequest;b.open("GET",C,!0),b.onreadystatechange=function(){b.readyState==4&&(b.status<400&&b.responseText?A(b.responseText):b.status>=400?E(r(b.status,b.statusText)):E(i))},b.send(null)}function x(C){var A=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C||"");if(A){var E=Number(A[1]),b=A[2],h=A[3];return b?h?[E,Number(h)]:[E,void 0]:[E,E]}}t.hooks.add("before-highlightall",function(C){C.selector+=", "+d}),t.hooks.add("before-sanity-check",function(C){var A=C.element;if(A.matches(d)){C.code="",A.setAttribute(a,l);var E=A.appendChild(document.createElement("CODE"));E.textContent=n;var b=A.getAttribute("data-src"),h=C.language;if(h==="none"){var k=(/\.(\w+)$/.exec(b)||[,"none"])[1];h=c[k]||k}t.util.setLanguage(E,h),t.util.setLanguage(A,h);var g=t.plugins.autoloader;g&&g.loadLanguages(h),y(b,function(_){A.setAttribute(a,s);var w=x(A.getAttribute("data-range"));if(w){var B=_.split(/\r\n?|\n/g),F=w[0],O=w[1]==null?B.length:w[1];F<0&&(F+=B.length),F=Math.max(0,Math.min(F-1,B.length)),O<0&&(O+=B.length),O=Math.max(0,Math.min(O,B.length)),_=B.slice(F,O).join(`
|
|
38
38
|
`),A.hasAttribute("data-start")||A.setAttribute("data-start",String(F+1))}E.textContent=_,t.highlightElement(E)},function(_){A.setAttribute(a,f),E.textContent=_})}}),t.plugins.fileHighlight={highlight:function(A){for(var E=(A||document).querySelectorAll(d),b=0,h;h=E[b++];)t.highlightElement(h)}};var p=!1;t.fileHighlight=function(){p||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),p=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}()}(Ct)),Ct.exports}var f0=s0();const Ou=l0(f0);typeof document<"u"&&Ou.highlightAll();function d0(e,u){try{const t=Ou.languages[u];if(t){const n=Ou.highlight(e,t||Ou.languages.text,u);return`<pre class="language-${u}"><code class="language-${u}">${n}</code></pre>`}return e}catch{return e}}const p0=`
|
|
39
39
|
code[class*=language-],pre[class*=language-]{background:#282c34;color:#abb2bf;text-shadow:0 1px rgba(0,0,0,.3);font-family:"Fira Code","Fira Mono",Menlo,Consolas,"DejaVu Sans Mono",monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-] ::-moz-selection{background:#3e4451;color:inherit;text-shadow:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#3e4451;color:inherit;text-shadow:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}.token.comment,.token.prolog,.token.cdata{color:#5c6370}.token.doctype,.token.punctuation,.token.entity{color:#abb2bf}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#d19a66}.token.keyword{color:#c678dd}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e06c75}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#98c379}.token.variable,.token.operator,.token.function{color:#61afef}.token.url{color:#56b6c2}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#abb2bf}.language-css .token.selector{color:#e06c75}.language-css .token.property{color:#abb2bf}.language-css .token.function,.language-css .token.url>.token.function{color:#56b6c2}.language-css .token.url>.token.string.url{color:#98c379}.language-css .token.important,.language-css .token.atrule .token.rule{color:#c678dd}.language-javascript .token.operator{color:#c678dd}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#be5046}.language-json .token.operator{color:#abb2bf}.language-json .token.null.keyword{color:#d19a66}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#abb2bf}.language-markdown .token.url>.token.content{color:#61afef}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#56b6c2}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#5c6370;font-style:italic}.language-markdown .token.code-snippet{color:#98c379}.language-markdown .token.bold .token.content{color:#d19a66}.language-markdown .token.italic .token.content{color:#c678dd}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e06c75}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:rgba(171,178,191,.15);text-shadow:none}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#3a3f4b;color:#828997;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#3e4451;color:#abb2bf}.line-highlight.line-highlight{background:rgba(153,187,255,.04)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#3a3f4b;color:#abb2bf;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px 0 0 rgba(0,0,0,.2)}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(153,187,255,.04)}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:rgba(171,178,191,.15)}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#636d83}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e06c75}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#98c379}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#61afef}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#c678dd}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:rgba(255,82,102,.15)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::-moz-selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:rgba(26,255,91,.15)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::-moz-selection{background-color:rgba(56,224,98,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::selection{background-color:rgba(56,224,98,.25)}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:#262931}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:#262931}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:#262931}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#31363f}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#abb2bf;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#abb2bf}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}
|
|
40
40
|
`,h0=`
|
|
41
41
|
code[class*=language-],pre[class*=language-]{background:#fafafa;color:#383a42;font-family:"Fira Code","Fira Mono",Menlo,Consolas,"DejaVu Sans Mono",monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-] ::-moz-selection{background:#e5e5e6;color:inherit}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#e5e5e6;color:inherit}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.cdata{color:#a0a1a7}.token.doctype,.token.punctuation,.token.entity{color:#383a42}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#b76b01}.token.keyword{color:#a626a4}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e45649}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#50a14f}.token.variable,.token.operator,.token.function{color:#4078f2}.token.url{color:#0184bc}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#383a42}.language-css .token.selector{color:#e45649}.language-css .token.property{color:#383a42}.language-css .token.function,.language-css .token.url>.token.function{color:#0184bc}.language-css .token.url>.token.string.url{color:#50a14f}.language-css .token.important,.language-css .token.atrule .token.rule{color:#a626a4}.language-javascript .token.operator{color:#a626a4}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#ca1243}.language-json .token.operator{color:#383a42}.language-json .token.null.keyword{color:#b76b01}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#383a42}.language-markdown .token.url>.token.content{color:#4078f2}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#0184bc}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#a0a1a7;font-style:italic}.language-markdown .token.code-snippet{color:#50a14f}.language-markdown .token.bold .token.content{color:#b76b01}.language-markdown .token.italic .token.content{color:#a626a4}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e45649}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:rgba(56,58,66,.2)}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#e5e5e6;color:#696c77;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#c6c7c7;color:#383a42}.line-highlight.line-highlight{background:rgba(56,58,66,.05)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#e5e5e6;color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px 0 0 rgba(0,0,0,.2)}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(56,58,66,.05)}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:rgba(56,58,66,.2)}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#9d9d9f}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e45649}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#50a14f}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#4078f2}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#a626a4}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:rgba(255,82,102,.15)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::-moz-selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:rgba(26,255,91,.15)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::-moz-selection{background-color:rgba(56,224,98,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::selection{background-color:rgba(56,224,98,.25)}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:hsl(0,0,95%)}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:hsl(0,0,95%)}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:hsl(0,0,95%)}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#fff}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#383a42;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#383a42}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}
|
|
42
|
-
`,{c:At,cB:er,cE:wt}={..._u,...yu},Mu=`${Je}-type-writer`;function b0(){return At([er("type-writer",{overflowX:"auto"},[wt("cursor::after",{content:"var(--cursor-content)",marginLeft:"2px",display:"inline-block"}),wt("markdown",`${h0}`,[At("pre",{backgroundColor:"var(--tag-color)",borderRadius:"var(--border-radius)"})])]),At(".dark",[er("type-writer",[wt("markdown",`${p0}`)])])])}const m0=["innerHTML"],ur=o.defineComponent({__name:"TypeWriter",props:{value:{},typing:{type:Boolean,default:!0},markdown:{type:Boolean},step:{},interval:{},suffix:{default:"|"}},emits:["start","update","stop"],setup(e,{emit:u}){const t=u;xu(Mu,b0());const{typedValue:n,isTyping:r,onStat:i,onUpdate:c,onStop:a}=c0(o.computed(()=>e.value??""),{step:e.step,interval:e.interval,enabled:e.typing});i(()=>{t("start")}),c(f=>{t("update",f)}),a(f=>{t("stop",f)});const{html:l}=a0(n,{html:!0,linkify:!0,typographer:!0,breaks:!0,highlight:d0}),s=o.computed(()=>e.markdown?l.value:n.value);return(f,d)=>(o.openBlock(),o.createBlock(o.unref(R.NEl),{tag:"div",class:o.normalizeClass([o.unref(Mu)])},{default:o.withCtx(()=>[o.createElementVNode("div",{class:o.normalizeClass([o.unref(r)&&!f.markdown?`${o.unref(Mu)}__cursor`:void 0,f.markdown?`${o.unref(Mu)}__markdown`:void 0]),style:o.normalizeStyle([f.markdown?void 0:{"--cursor-content":`'${f.suffix}'`}]),innerHTML:s.value},null,14,m0)]),_:1},8,["class"]))}}),{c:g0,cB:k0,cE:x0,cM:_0}={..._u,...yu},Dt=`${Je}-bubble`;function y0(){return g0([k0("bubble",{display:"flex",gap:"10px",fontSize:"var(--n-font-size);"},[_0("reverse",{flexDirection:"row-reverse"}),x0("content",{backgroundColor:"var(--tag-color)",padding:"10px",borderRadius:"var(--border-radius)",minHeight:"44px"})])])}const E0=o.defineComponent({__name:"Bubble",props:{avatar:{},content:{},contentClass:{},contentStyle:{},loading:{type:Boolean},typing:{type:Boolean},markdown:{type:Boolean},placement:{}},emits:["typingComplete"],setup(e,{emit:u}){const t=u;return xu("n-bubble",y0()),(n,r)=>(o.openBlock(),o.createBlock(o.unref(R.NEl),{tag:"div",class:o.normalizeClass([o.unref(Dt),n.placement==="end"?`${o.unref(Dt)}--reverse`:""])},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"avatar",{},()=>[n.avatar?(o.openBlock(),o.createBlock(o.unref(R.NAvatar),o.mergeProps({key:0,round:""},n.avatar.props),{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.avatar.icon)))]),_:1},16)):o.createCommentVNode("",!0)]),o.createVNode(o.unref(R.NFlex),{vertical:""},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"header"),o.createVNode(o.unref(Qu),null,{default:o.withCtx(()=>[n.loading?o.renderSlot(n.$slots,"loading",{key:0},()=>[o.createVNode(o.unref(R.NSpin),{style:{height:"44px"}})]):o.renderSlot(n.$slots,"default",{key:1},()=>[o.createElementVNode("div",{class:o.normalizeClass([`${o.unref(Dt)}__content`,n.contentClass]),style:o.normalizeStyle(n.contentStyle)},[o.createVNode(o.unref(ur),{typing:n.typing,markdown:n.markdown,value:n.content,onStop:r[0]||(r[0]=i=>t("typingComplete"))},null,8,["typing","markdown","value"])],6)])]),_:3}),o.renderSlot(n.$slots,"footer")]),_:3})]),_:3},8,["class"]))}}),{c:C0,cB:A0}={..._u,...yu},Lu=`${Je}-full-loading`;function w0(){return C0([A0("full-loading",{position:"fixed",inset:0,zIndex:99,display:"flex",alignItems:"center",justifyContent:"center"},[R.cM("mask",{background:"rgba(0,0,0,.3)"}),R.cM("blur",{backdropFilter:"blur(10px)"})])])}const tr=o.defineComponent({__name:"FullLoading",props:{show:{type:Boolean},appendTo:{default:"body"},mask:{type:[Boolean,Object],default:!0},blur:{type:Boolean,default:!0},disableScroll:{type:Boolean,default:!0},scrollSelector:{default:"body"},spinProps:{}},setup(e){xu(Lu,w0());const u=o.ref("auto");return o.watchEffect(()=>{if(e.disableScroll){const t=e.scrollSelector instanceof HTMLElement?e.scrollSelector:document.querySelector(e.scrollSelector);t&&(e.show&&(u.value=t.style.overflow),t.style.overflow=e.show?"hidden":u.value)}}),(t,n)=>(o.openBlock(),o.createBlock(o.unref(Qu),null,{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.Teleport,{to:t.appendTo},[t.show?(o.openBlock(),o.createBlock(o.unref(R.NEl),{key:0,class:o.normalizeClass([o.unref(Lu),{[`${o.unref(Lu)}--mask`]:t.mask},{[`${o.unref(Lu)}--blur`]:t.blur}]),style:o.normalizeStyle(typeof t.mask=="object"?t.mask:{})},{default:o.withCtx(()=>[o.createVNode(o.unref(R.NSpin),o.normalizeProps(o.guardReactiveProps(t.spinProps)),o.createSlots({_:2},[t.$slots.description?{name:"description",fn:o.withCtx(()=>[o.renderSlot(t.$slots,"description")]),key:"0"}:void 0,t.$slots.icon?{name:"icon",fn:o.withCtx(()=>[o.renderSlot(t.$slots,"icon")]),key:"1"}:void 0]),1040)]),_:3},8,["class","style"])):o.createCommentVNode("",!0)],8,["to"]))]),_:3}))}}),D0=o.defineComponent({__name:"ConfigProviders",props:{globalStyle:{type:Boolean,default:!1},configProviderProps:{},loadingBarProps:{},fullLoadingProps:{},dialogProviderProps:{},modalProviderProps:{},notificationProviderProps:{},messageProviderProps:{}},setup(e){const u=o.ref(!1);function t(){window.$dialog=R.useDialog(),window.$loadingBar=R.useLoadingBar(),window.$message=R.useMessage(),window.$modal=R.useModal(),window.$notification=R.useNotification(),window.$loading={start:()=>{u.value=!0},finish:()=>{u.value=!1}}}const n=o.defineComponent({setup(){o.onMounted(()=>{t()})},render(){return null}});return(r,i)=>(o.openBlock(),o.createBlock(o.unref(R.NConfigProvider),o.normalizeProps(o.guardReactiveProps(r.configProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NLoadingBarProvider),o.normalizeProps(o.guardReactiveProps(r.loadingBarProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NDialogProvider),o.normalizeProps(o.guardReactiveProps(r.dialogProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NModalProvider),o.normalizeProps(o.guardReactiveProps(r.modalProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NNotificationProvider),o.normalizeProps(o.guardReactiveProps(r.notificationProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NMessageProvider),o.normalizeProps(o.guardReactiveProps(r.messageProviderProps)),{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default"),o.createVNode(o.unref(n))]),_:3},16)]),_:3},16)]),_:3},16)]),_:3},16)]),_:3},16),r.globalStyle?(o.openBlock(),o.createBlock(o.unref(R.NGlobalStyle),{key:0})):o.createCommentVNode("",!0),o.createVNode(o.unref(tr),o.mergeProps({show:u.value},r.fullLoadingProps),null,16,["show"])]),_:3},16))}}),Ft=(e,u)=>{const t=e.__vccOpts||e;for(const[n,r]of u)t[n]=r;return t},F0={name:"MageCopyFill"},S0={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function T0(e,u,t,n,r,i){return o.openBlock(),o.createElementBlock("svg",S0,u[0]||(u[0]=[o.createElementVNode("path",{fill:"#757575",d:"M18.355 6.54h-1.94V4.69a2.69 2.69 0 0 0-1.646-2.484A2.7 2.7 0 0 0 13.745 2h-8.05a2.68 2.68 0 0 0-2.67 2.69v10.09a2.68 2.68 0 0 0 2.67 2.69h1.94v1.85a2.68 2.68 0 0 0 2.67 2.68h8a2.68 2.68 0 0 0 2.67-2.68V9.23a2.69 2.69 0 0 0-2.62-2.69M7.635 9.23v6.74h-1.94a1.18 1.18 0 0 1-1.17-1.19V4.69a1.18 1.18 0 0 1 1.17-1.19h8.05a1.18 1.18 0 0 1 1.17 1.19v1.85h-4.61a2.69 2.69 0 0 0-2.67 2.69"},null,-1)]))}const P0=Ft(F0,[["render",T0]]),R0=o.defineComponent({__name:"CopyButton",props:{value:{},config:{},tooltipProps:{},buttonProps:{}},emits:["copied"],setup(e,{emit:u}){const t=u,{copied:n,copy:r}=Se.useClipboard({source:e.value,...e.config});o.watch(n,()=>{n.value&&t("copied",e.value)});function i(c){c.preventDefault(),r()}return(c,a)=>(o.openBlock(),o.createBlock(o.unref(R.NTooltip),o.normalizeProps(o.guardReactiveProps(c.tooltipProps)),{trigger:o.withCtx(()=>[o.createElementVNode("div",{style:{cursor:"pointer"},onClick:i},[o.renderSlot(c.$slots,"default",{},()=>[o.createVNode(o.unref(R.NButton),o.mergeProps({quaternary:"",size:"tiny"},c.buttonProps),{icon:o.withCtx(()=>[o.renderSlot(c.$slots,"icon",{},()=>[o.createVNode(P0)])]),_:3},16)])])]),default:o.withCtx(()=>[o.renderSlot(c.$slots,"tooltip",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(n)?"复制成功":"复制"),1)])]),_:3},16))}}),nr=(e,{manual:u,ready:t=!0,refreshDeps:n=[],refreshDepsAction:r})=>{const i=o.ref(!1);return o.watchEffect(()=>{!u&&e.options.refreshDeps!==!0&&(i.value=o.unref(t))}),n instanceof Array?o.watch([i,...n],([c])=>{c&&!u&&c&&(r?r():e.refresh())},{deep:!0,immediate:!1}):o.watch(i,c=>{!u&&c&&(r?r():e.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!o.unref(t))return{stopNow:!0}}}};nr.onInit=({ready:e=!0,manual:u})=>({loading:!u&&o.unref(e)});const zu=new Map,B0=(e,u,t)=>{const n=zu.get(e);n?.timer&&clearTimeout(n.timer);let r;u>-1&&(r=setTimeout(()=>{zu.delete(e)},u)),zu.set(e,{...t,timer:r})},N0=e=>zu.get(e),Iu=new Map,v0=e=>Iu.get(e),O0=(e,u)=>{Iu.set(e,u),u.then(t=>(Iu.delete(e),t)).catch(t=>{throw Iu.delete(e),t})},Oe={},M0=[],L0=(e,u)=>{Oe[e]&&(Oe[e].forEach(t=>t(u)),M0.forEach(t=>t({type:e,data:u})))},St=(e,u)=>(Oe[e]||(Oe[e]=[]),Oe[e].push(u),function(){const n=Oe[e].indexOf(u);Oe[e].splice(n,1)}),z0=(e,{cacheKey:u,cacheTime:t=5*60*1e3,staleTime:n=0,setCache:r,getCache:i})=>{const c=o.ref(),a=o.ref(),l=(f,d)=>{r?r(d):B0(f,t,d),L0(f,d.data)},s=(f,d=[])=>i?i(d):N0(f);return o.watchEffect(()=>{if(!u)return;const f=s(u);f&&Object.hasOwnProperty.call(f,"data")&&(e.state.data=f.data,e.state.params=f.params,(n===-1||new Date().getTime()-f.time<=n)&&(e.state.loading=!1)),c.value=St(u,d=>{e.setState({data:d})})}),o.onScopeDispose(()=>{var f;(f=c.value)==null||f.call(c)}),u?{name:"cachePlugin",onBefore:f=>{const d=s(u,f);return!d||!Object.hasOwnProperty.call(d,"data")?{}:n===-1||new Date().getTime()-d.time<=n?{loading:!1,data:d?.data,returnNow:!0}:{data:d?.data}},onRequest:(f,d)=>{let y=v0(u);return y&&y!==a.value?{servicePromise:y}:(y=f(...d),a.value=y,O0(u,y),{servicePromise:y})},onSuccess:(f,d)=>{var y;u&&((y=c.value)==null||y.call(c),l(u,{data:f,params:d,time:new Date().getTime()}),c.value=St(u,x=>{e.setState({data:x})}))},onMutate:f=>{var d;u&&((d=c.value)==null||d.call(c),l(u,{data:f,params:e.state.params,time:new Date().getTime()}),c.value=St(u,y=>{e.setState({data:y})}))}}:{}};function $u(e){var u=typeof e;return e!=null&&(u=="object"||u=="function")}var I0=typeof global=="object"&&global&&global.Object===Object&&global,$0=typeof self=="object"&&self&&self.Object===Object&&self,rr=I0||$0||Function("return this")(),Tt=function(){return rr.Date.now()},q0=/\s/;function j0(e){for(var u=e.length;u--&&q0.test(e.charAt(u)););return u}var U0=/^\s+/;function H0(e){return e&&e.slice(0,j0(e)+1).replace(U0,"")}var qu=rr.Symbol,or=Object.prototype,V0=or.hasOwnProperty,G0=or.toString,fu=qu?qu.toStringTag:void 0;function W0(e){var u=V0.call(e,fu),t=e[fu];try{e[fu]=void 0;var n=!0}catch{}var r=G0.call(e);return n&&(u?e[fu]=t:delete e[fu]),r}var Z0=Object.prototype,Y0=Z0.toString;function X0(e){return Y0.call(e)}var Q0="[object Null]",J0="[object Undefined]",ir=qu?qu.toStringTag:void 0;function K0(e){return e==null?e===void 0?J0:Q0:ir&&ir in Object(e)?W0(e):X0(e)}function ec(e){return e!=null&&typeof e=="object"}var uc="[object Symbol]";function tc(e){return typeof e=="symbol"||ec(e)&&K0(e)==uc}var ar=NaN,nc=/^[-+]0x[0-9a-f]+$/i,rc=/^0b[01]+$/i,oc=/^0o[0-7]+$/i,ic=parseInt;function cr(e){if(typeof e=="number")return e;if(tc(e))return ar;if($u(e)){var u=typeof e.valueOf=="function"?e.valueOf():e;e=$u(u)?u+"":u}if(typeof e!="string")return e===0?e:+e;e=H0(e);var t=rc.test(e);return t||oc.test(e)?ic(e.slice(2),t?2:8):nc.test(e)?ar:+e}var ac="Expected a function",cc=Math.max,lc=Math.min;function lr(e,u,t){var n,r,i,c,a,l,s=0,f=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(ac);u=cr(u)||0,$u(t)&&(f=!!t.leading,d="maxWait"in t,i=d?cc(cr(t.maxWait)||0,u):i,y="trailing"in t?!!t.trailing:y);function x(_){var w=n,B=r;return n=r=void 0,s=_,c=e.apply(B,w),c}function p(_){return s=_,a=setTimeout(E,u),f?x(_):c}function C(_){var w=_-l,B=_-s,F=u-w;return d?lc(F,i-B):F}function A(_){var w=_-l,B=_-s;return l===void 0||w>=u||w<0||d&&B>=i}function E(){var _=Tt();if(A(_))return b(_);a=setTimeout(E,C(_))}function b(_){return a=void 0,y&&n?x(_):(n=r=void 0,c)}function h(){a!==void 0&&clearTimeout(a),s=0,n=l=r=a=void 0}function k(){return a===void 0?c:b(Tt())}function g(){var _=Tt(),w=A(_);if(n=arguments,r=this,l=_,w){if(a===void 0)return p(l);if(d)return clearTimeout(a),a=setTimeout(E,u),x(l)}return a===void 0&&(a=setTimeout(E,u)),c}return g.cancel=h,g.flush=k,g}const sc=(e,{debounceWait:u,debounceLeading:t,debounceTrailing:n,debounceMaxWait:r})=>{const i=o.ref(),c=o.computed(()=>{const a={},l=o.unref(t),s=o.unref(n),f=o.unref(r);return l!==void 0&&(a.leading=l),s!==void 0&&(a.trailing=s),f!==void 0&&(a.maxWait=f),a});return o.watchEffect(a=>{if(o.unref(u)){const l=e.runAsync.bind(e);i.value=lr(s=>{s()},o.unref(u),c.value),e.runAsync=(...s)=>new Promise((f,d)=>{var y;(y=i.value)==null||y.call(i,()=>{l(...s).then(f).catch(d)})}),a(()=>{var s;(s=i.value)==null||s.cancel(),e.runAsync=l})}}),o.unref(u)?{name:"debouncePlugin",onCancel:()=>{var a;(a=i.value)==null||a.cancel()}}:{}};var fc=Object.defineProperty,dc=(e,u,t)=>u in e?fc(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,sr=(e,u,t)=>(dc(e,typeof u!="symbol"?u+"":u,t),t);class pc{constructor(){sr(this,"table",{}),sr(this,"hashTable",{})}insert(u){const t=Symbol(u);return this.table[u]=!0,this.hashTable[t]=u,t}find(u){return this.hashTable[u]}}new pc;function hc(e){const t=e.toString().match(/^function\s+([^\s(]+)/);return t?t[1]:""}function bc(e){const u=e.toString(),t=/([a-zA-Z$_][a-zA-Z0-9$_]*)\s*\(/,n=u.match(t);return n?n[1].trim():""}var mc=Object.defineProperty,gc=(e,u,t)=>u in e?mc(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,fr=(e,u,t)=>(gc(e,typeof u!="symbol"?u+"":u,t),t);class kc{constructor(){fr(this,"requestInstances",new Map),fr(this,"listeners",[])}emit(u){this.listeners.forEach(t=>t(u))}subscribe(u){return this.listeners.push(u),()=>{const t=this.listeners.indexOf(u);this.listeners.splice(t,1)}}insert(u,t){this.requestInstances.set(u,{...t}),this.emit({key:u,...t})}update(u,t){this.has(u)&&this.requestInstances.set(u,{...this.requestInstances.get(u),...t})}has(u){return this.requestInstances.has(u)}reset(u){if(this.requestInstances.has(u)){const t=this.requestInstances.get(u);this.requestInstances.clear(),this.insert(u,t)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}const se=new kc,xc=(e,{ready:u=!0,debugKey:t,...n})=>{const r=()=>{if(t&&!se.has(t)){const c=e.serviceRef.value.toString().includes("function")?hc(e.serviceRef.value.toString()):bc(e.serviceRef.value.toString());se.insert(t,{instance:e,requestName:c,time:Date.now()})}},i=o.computed(()=>Object.fromEntries(Object.entries({ready:u,...n}).map(([c,a])=>[c,o.unref(a)])));return o.watchEffect(()=>{t&&se.has(t)&&se.emit({...e,options:{...e.options,...i.value}})}),{name:"devtoolsPlugin",onBefore:c=>{r(),t&&se.has(t)&&se.emit({...e.state,key:t,params:c,loading:!0,time:Date.now(),type:"pending"})},onSuccess(c,a){r(),t&&se.has(t)&&se.emit({...e.state,key:t,data:c,params:a,loading:!1,time:Date.now(),type:"done"})},onCancel(){r(),t&&se.has(t)&&se.emit({...e.state,key:t,loading:!1,time:Date.now(),type:"cancel"})},onError(c,a){r(),t&&se.has(t)&&se.emit({...e.state,key:t,params:a,loading:!1,error:c,time:Date.now(),type:"error"})},onMutate(c){r(),t&&se.has(t)&&se.emit({...e.state,key:t,data:c,loading:!1,time:Date.now(),type:"mutate"})}}},_c=(e,{loadingDelay:u})=>{const t=o.ref(),n=()=>{t.value&&(clearTimeout(o.unref(t.value)),t.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{n();const r=o.unref(u);r&&(e.setState({loading:!0}),t.value=setTimeout(()=>{e.setState({loading:!1})},r))},onError:()=>{n()}}};function Pt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const yc=!!(typeof window<"u"&&window.document&&window.document.createElement);function Rt(){return Pt()?document.visibilityState!=="hidden":!0}const du=[];function Ec(e){return du.push(e),function(){const t=du.indexOf(e);du.splice(t,1)}}if(Pt()){const e=()=>{if(Rt())for(let u=0;u<du.length;u++){const t=du[u];t()}};window.addEventListener("visibilitychange",e,!1)}const Cc=(e,{pollingInterval:u,pollingWhenHidden:t=!0,pollingErrorRetryCount:n=-1})=>{let r;const i=o.ref(),c=o.ref(0),a=()=>{var l;r&&clearTimeout(r),(l=i.value)==null||l.call(i)};return o.watchEffect(()=>{o.unref(u)||a()}),o.unref(u)?{name:"pollingPlugin",onBefore:()=>{a()},onError:()=>{c.value+=1},onSuccess:()=>{c.value=0},onFinally:()=>{n===-1||n!==-1&&c.value<=n?r=setTimeout(()=>{!t&&!Rt()?i.value=Ec(()=>{e.refresh()}):e.refresh()},o.unref(u)):c.value=0},onCancel:()=>{a()}}:{}};function Ac(e,u){let t=!1;return(...n)=>{t||(t=!0,e(...n),setTimeout(()=>{t=!1},u))}}function wc(){return Pt()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const pu=[];function Dc(e){return pu.push(e),function(){const t=pu.indexOf(e);t>-1&&pu.splice(t,1)}}if(yc){const e=()=>{if(!(!Rt()||!wc()))for(let u=0;u<pu.length;u++){const t=pu[u];t()}};window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1)}const Fc=(e,{refreshOnWindowFocus:u,focusTimespan:t=5e3})=>{const n=o.ref(),r=()=>{var i;(i=n.value)==null||i.call(n)};return o.watchEffect(i=>{if(o.unref(u)){const c=Ac(e.refresh.bind(e),o.unref(t));n.value=Dc(()=>{c()})}i(()=>{r()})}),o.onScopeDispose(()=>{r()}),{name:"refreshOnWindowFocusPlugin"}},Sc=(e,{retryInterval:u,retryCount:t})=>{const n=o.ref(),r=o.ref(0),i=o.ref(!1);return t?{name:"retryPlugin",onBefore:()=>{i.value||(r.value=0),i.value=!1,n.value&&clearTimeout(n.value)},onSuccess:()=>{r.value=0},onError:()=>{if(r.value+=1,t===-1||r.value<=t){const c=u??Math.min(1e3*2**r.value,3e4);n.value=setTimeout(()=>{i.value=!0,e.refresh()},c)}else r.value=0},onCancel:()=>{r.value=0,n.value&&clearTimeout(n.value)}}:{}};var Tc="Expected a function";function Pc(e,u,t){var n=!0,r=!0;if(typeof e!="function")throw new TypeError(Tc);return $u(t)&&(n="leading"in t?!!t.leading:n,r="trailing"in t?!!t.trailing:r),lr(e,u,{leading:n,maxWait:u,trailing:r})}const Rc=(e,{throttleWait:u,throttleLeading:t,throttleTrailing:n})=>{let r=null;const i=o.computed(()=>{const s={};return o.unref(t)!==void 0&&(s.leading=o.unref(t)),o.unref(n)!==void 0&&(s.trailing=o.unref(n)),s}),c=e.runAsync.bind(e),a=o.ref(),l=o.computed(()=>o.unref(u));return o.watch([l,i],s=>{r&&(r.cancel(),e.runAsync=c);const[f,d]=s,y=Pc(x=>{x()},o.unref(f),d);r=y,a.value=y,e.runAsync=(...x)=>new Promise((p,C)=>{var A;(A=a.value)==null||A.call(a,()=>{c(...x).then(p).catch(C)})})},{immediate:!0}),o.unref(u)?(o.onUnmounted(()=>{var s;(s=a.value)==null||s.cancel()}),{name:"throttlePlugin",onCancel:()=>{var s;(s=a.value)==null||s.cancel()}}):{}},dr=e=>typeof e=="function",Bc=e=>typeof e=="boolean";var Nc=Object.defineProperty,vc=(e,u,t)=>u in e?Nc(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,ju=(e,u,t)=>(vc(e,typeof u!="symbol"?u+"":u,t),t);class Oc{constructor(u,t,n,r={}){ju(this,"pluginImpls"),ju(this,"count",0),ju(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),ju(this,"previousValidData"),this.serviceRef=u,this.options=t,this.setUpdateData=n,this.initState=r,this.state={...this.state,loading:!t.manual,...r}}setState(u={}){this.state={...this.state,...u},this.setUpdateData(this.state)}setData(u,t){console.warn("Please use 'setFetchState' instead of 'setData'"),t instanceof Array?t.forEach(n=>{this.state[n]=u,this.setUpdateData(u,n)}):(this.state[t]=u,this.setUpdateData(u,t))}setFetchState(u,t){t instanceof Array?t.forEach(n=>{this.state[n]=u,this.setUpdateData(u,n)}):(this.state[t]=u,this.setUpdateData(u,t))}runPluginHandler(u,...t){var n,r,i;const c=(i=(r=(n=this.pluginImpls)==null?void 0:n.map(a=>{var l;return(l=a[u])==null?void 0:l.call(a,...t)}))!=null?r:[])==null?void 0:i.filter(Boolean);return Object.assign({},...c)}async runAsync(...u){var t,n,r,i,c,a,l,s,f,d,y;this.count+=1;const x=this.count,{stopNow:p=!1,returnNow:C=!1,...A}=this.runPluginHandler("onBefore",u);if(p)return new Promise(()=>{});if(this.setState({loading:!0,params:u,...A}),C)return Promise.resolve(A.data);try{(n=(t=this.options).onBefore)==null||n.call(t,u)}catch(E){return this.setState({error:E,loading:!1}),(i=(r=this.options).onError)==null||i.call(r,E,u),this.runPluginHandler("onError",E,u),new Promise(()=>{})}try{let{servicePromise:E}=this.runPluginHandler("onRequest",this.serviceRef.value,u);const b=k=>{var g,_,w,B;if(!this.options.concurrent&&x!==this.count)return new Promise(()=>{});const F=this.options.formatResult?this.options.formatResult(k):k,O={data:k};return this.setState({data:F,error:void 0,loading:!1}),(_=(g=this.options).onSuccess)==null||_.call(g,F,u),this.runPluginHandler("onSuccess",F,u,O),this.previousValidData=F,(B=(w=this.options).onFinally)==null||B.call(w,u,F,void 0),(this.options.concurrent||x===this.count)&&this.runPluginHandler("onFinally",u,F,void 0),F};E||(E=this.serviceRef.value(...u));const h=await E;return b(h)}catch(E){if(!this.options.concurrent&&x!==this.count)return new Promise(()=>{});throw this.setState({error:E,loading:!1}),(a=(c=this.options).onError)==null||a.call(c,E,u),this.runPluginHandler("onError",E,u),(dr((l=this.options)==null?void 0:l.rollbackOnError)&&((s=this.options)!=null&&s.rollbackOnError(u))||Bc((f=this.options)==null?void 0:f.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(y=(d=this.options).onFinally)==null||y.call(d,u,void 0,E),(this.options.concurrent||x===this.count)&&this.runPluginHandler("onFinally",u,void 0,E),E}}run(...u){this.runAsync(...u).catch(t=>{this.options.onError||console.error(t)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(u){const t=dr(u)?u(this.state.data):u;this.runPluginHandler("onMutate",t),this.setState({data:t})}}const Mc=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function Lc(e){return Object.keys(e).filter(t=>["data","loading","params","error"].includes(t)).length===4}function zc(e,u={},t=[]){const n=o.inject(Mc,{}),{initialData:r=void 0,manual:i=!1,ready:c=!0,...a}={...n??{},...u??{}},l={manual:i,ready:c,initialData:r,...a},s=o.ref(e),f=o.reactive({data:r,loading:!1,params:void 0,error:void 0}),d=(C,A)=>{A?f[A]=C:Lc(C)&&(f.data=C.data,f.loading=C.loading,f.error=C.error,f.params=C.params)},y=t.map(C=>{var A;return(A=C?.onInit)==null?void 0:A.call(C,l)}).filter(Boolean),x=new Oc(s,l,d,Object.assign({},...y,f));x.options=l,x.pluginImpls=t.map(C=>C(x,l));const p=o.computed(()=>o.isRef(c)?c.value:c);if(o.watchEffect(()=>{if(!i){const C=x.state.params||u.defaultParams||[];p.value&&x.options.refreshDeps===!0&&s.value&&x.run(...C)}}),!i&&x.options.refreshDeps!==!0){const C=x.state.params||u.defaultParams||[];o.unref(c)&&x.run(...C)}return o.onScopeDispose(()=>{x.cancel()}),{...o.toRefs(f),cancel:x.cancel.bind(x),refresh:x.refresh.bind(x),refreshAsync:x.refreshAsync.bind(x),run:x.run.bind(x),runAsync:x.runAsync.bind(x),mutate:x.mutate.bind(x)}}const Ic=(e,u)=>function(n,r={},i=[]){let c=e;const a=u||[];for(let l=a.length;l--;)c=a[l](c);return c(n,r,i)};function Bt(e,u,t){var n;const r=(n=[process.env.NODE_ENV==="development"?xc:null,sc,_c,Cc,Fc,Rc,nr,z0,Sc])==null?void 0:n.filter(Boolean);return Ic(zc,u?.use)(e,u,[...t||[],...r])}function ue(e,u,t){const n=typeof u=="string"?{label:u}:typeof u=="boolean"?{}:u;return u?o.h(R.NFormItem,{...t,...n},{default:()=>e}):e}const $c={name:"EosIconsThreeDotsLoading"},qc={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function jc(e,u,t,n,r,i){return o.openBlock(),o.createElementBlock("svg",qc,u[0]||(u[0]=[o.createStaticVNode('<circle cx="18" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".67" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="12" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".33" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="6" cy="12" r="0" fill="#757575"><animate attributeName="r" begin="0" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle>',3)]))}const Uc=Ft($c,[["render",jc]]),Hc={name:"RiSearch2Line"},Vc={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function Gc(e,u,t,n,r,i){return o.openBlock(),o.createElementBlock("svg",Vc,u[0]||(u[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9s-9-4.032-9-9s4.032-9 9-9m0 16c3.867 0 7-3.133 7-7s-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7m8.485.071l2.829 2.828l-1.415 1.415l-2.828-2.829z"},null,-1)]))}const pr=Ft(Hc,[["render",Gc]]),hr=o.defineComponent({__name:"SearchInput",props:{value:{default:""},type:{default:"default"},autoTrigger:{type:[Boolean,Number],default:!0},searchButton:{type:Boolean,default:!0},inputProps:{},buttonProps:{},loading:{type:Boolean}},emits:["update:value"],setup(e,{emit:u}){const t=u,n=o.useTemplateRef("input-ref"),r=o.ref(e.value),{isPending:i,start:c}=Se.useTimeoutFn(()=>{},typeof e.autoTrigger=="number"?e.autoTrigger:500);o.watch(()=>e.value,f=>{r.value=f});const a=Se.useDebounceFn(()=>{t("update:value",r.value)},typeof e.autoTrigger=="number"?e.autoTrigger:500);o.watch(r,()=>{c(),e.autoTrigger&&a()});function l(){t("update:value",r.value)}function s(f){f.key==="Enter"&&l()}return o.watchEffect(()=>{!e.loading&&r.value&&n.value?.focus()}),(f,d)=>(o.openBlock(),o.createBlock(o.unref(R.NInputGroup),null,{default:o.withCtx(()=>[o.createVNode(o.unref(R.NInput),o.mergeProps({ref:"input-ref",value:r.value,"onUpdate:value":d[0]||(d[0]=y=>r.value=y),disabled:f.loading,clearable:""},f.inputProps,{onKeydown:s}),{prefix:o.withCtx(()=>[o.renderSlot(f.$slots,"prefix",{},()=>[o.renderSlot(f.$slots,"prefix-icon",{},()=>[o.createVNode(pr)])])]),suffix:o.withCtx(()=>[o.unref(i)?(o.openBlock(),o.createBlock(Uc,{key:0})):o.createCommentVNode("",!0)]),_:3},16,["value","disabled"]),o.renderSlot(f.$slots,"button",{},()=>[f.searchButton?(o.openBlock(),o.createBlock(o.unref(R.NButton),o.mergeProps({key:0,type:f.type,loading:f.loading},f.buttonProps,{onClick:l}),{icon:o.withCtx(()=>[o.renderSlot(f.$slots,"button-icon",{},()=>[o.createVNode(pr)])]),_:3},16,["type","loading"])):o.createCommentVNode("",!0)])]),_:3}))}}),Ae=o.defineComponent({__name:"PresetInput",props:{value:{},options:{}},emits:["update:value"],setup(e,{emit:u}){const t=u,n={button:R.NButton,"color-picker":R.NColorPicker,checkbox:R.NCheckboxGroup,"divider ":R.NDivider,"date-picker":R.NDatePicker,"dynamic-tags":R.NDynamicTags,input:R.NInput,"input-number":R.NInputNumber,search:hr,radio:R.NRadioGroup,rate:R.NRate,select:R.NSelect,slider:R.NSlider,switch:R.NSwitch,"time-picker":R.NTimePicker};function r(){const{type:i,props:c}=e.options??{};if(i==="checkbox"){const{options:a,...l}=c??{};return o.h(n[i],{value:e.value,"onUpdate:value":s=>{t("update:value",s)},...l},{default:()=>a?.map(s=>o.h(R.NCheckbox,{...s}))})}if(i==="divider "){const{...a}=c??{};return o.h(n[i],{...a})}if(i==="radio"){const{options:a,...l}=c??{};return o.h(n[i],{value:e.value,"onUpdate:value":s=>{t("update:value",s)},...l},{default:()=>a?.map(s=>o.h(R.NRadio,{...s}))})}if(i&&n[i])return o.h(n[i],{value:e.value,"onUpdate:value":a=>{t("update:value",a)},...c})}return(i,c)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(r())))}}),Wc=o.defineComponent({__name:"DataTablePlus",props:{api:{type:Function},defaultParams:{},manual:{type:Boolean},fields:{},requestOptions:{},requestPlugins:{},columns:{},filterOptions:{},filterGridProps:{},filterFlexProps:{},filterLayout:{default:"grid"},contextMenuOptions:{},pagination:{type:[Object,Boolean]},dataTableProps:{},customStyle:{},customClass:{}},emits:["before","success","error","finally","clickRow","contextMenuRow","contextMenuSelect","load","scroll","update:checkedRowKeys","update:expandedRowKeys","update:filters","update:sorter","update:page","update:pageSize"],setup(e,{expose:u,emit:t}){const n=t,r=o.computed(()=>{const D=typeof e.filterLayout=="string"?[e.filterLayout,e.filterLayout]:e.filterLayout;return{grid:D[0]==="grid",flex:D[0]==="flex",collapsedGrid:D[1]==="grid",collapsedFlex:D[1]==="flex"}}),i=o.reactive(e.columns??[]),c=o.useTemplateRef("data-table-ref"),a={page:"page",pageSize:"pageSize",filter:"filter",sorter:"sorter",list:"list",count:"count",rowKey:"id",...e.fields},l=o.reactive({showSizePicker:!0,pageSizes:[10,20,30],pageSlot:5,prefix:D=>`共${D.itemCount}条数据`,...e.pagination&&typeof e.pagination=="boolean"?{}:e.pagination}),s=o.ref({page:1,pageSize:10,itemCount:0}),f={[a.page]:s.value.page,[a.pageSize]:s.value.pageSize,...e.defaultParams},{loading:d,data:y,error:x,params:p,run:C,runAsync:A,refresh:E,refreshAsync:b,cancel:h,mutate:k}=Bt(e.api,{defaultParams:[f],manual:e.manual,...e.requestOptions,onBefore:D=>{e.requestOptions?.onBefore?.(D),n("before",D)},onSuccess:(D,M)=>{e.requestOptions?.onSuccess?.(D,M),n("success",D,M),w(D,M)},onError:(D,M)=>{e.requestOptions?.onError?.(D,M),n("error",D,M)},onFinally:(D,M,P)=>{e.requestOptions?.onFinally?.(D,M,P),n("finally",D,M,P)}},e.requestPlugins),g=o.computed(()=>y.value?Array.isArray(y.value[a.list])?y.value[a.list]:(console.warn(`DataTablePlus: data[${a.list}] must be an array`),[]):[]),_=o.computed(()=>e.columns?.reduce((D,M)=>D+Number(M.width??100),0));function w(D,M){s.value.page=a.page in M[0]?Number(M[0][a.page]):1,s.value.pageSize=a.pageSize in M[0]?Number(M[0][a.pageSize]):10,s.value.itemCount=a.count in D?Number(D[a.count]):0;const P=M[0]?.[a.filter],U=M[0]?.[a.sorter];if(i){for(const L of i)if("key"in L){if(P&&L.key in P){const H=P[L.key];"filter"in L&&L.filter&&(L.filterMultiple?Array.isArray(H)&&(L.filterOptionValues=H):Array.isArray(H)||(L.filterOptionValue=H))}if("sorter"in L&&typeof L.sorter=="boolean"&&(L.sortOrder=!1),U&&L.key in U){const H=U[L.key];"sorter"in L&&L.sorter&&(L.sortOrder=H)}}}}function B(D){return C({...p.value[0],...D})}const F={onUpdatePage:D=>{n("update:page",D),!d.value&&B({[a.page]:D})},onUpdatePageSize:D=>{n("update:pageSize",D),!d.value&&B({[a.pageSize]:D})},onUpdateFilters:(D,M)=>{n("update:filters",D,M),B({[a.page]:1,[a.filter]:D})},onUpdateSorter:D=>{n("update:sorter",D);const M={};if(Array.isArray(D))for(const P of D)M[P.columnKey]=P.order;else D&&(M[D.columnKey]=D.order);B({[a.page]:1,[a.sorter]:M})},onLoad:D=>n("load",D),onScroll:D=>{n("scroll",D)},onUpdateCheckedRowKeys:(D,M,P)=>{n("update:checkedRowKeys",D,M,P)},onUpdateExpandedRowKeys:D=>{n("update:expandedRowKeys",D)}},O=o.ref(!1),z=o.ref(),G=o.ref({x:0,y:0});function te(D,M){O.value=!1,n("contextMenuSelect",{key:D,option:M,row:o.toValue(z)})}function T(D,M){return{onClick:P=>{n("clickRow",{row:D,index:M,event:P})},onContextmenu:P=>{n("contextMenuRow",{row:D,index:M,event:P}),e.contextMenuOptions&&(P.preventDefault(),O.value=!1,z.value=D,o.nextTick(()=>{O.value=!0,G.value={x:P.x,y:P.y}}))}}}const $=o.ref(!1);function ne(D,M){M&&B({[M]:D})}const Y={loading:d,data:y,error:x,params:p,pagination:s,rawList:g,dataTableRef:c},j={run:C,runAsync:A,refresh:E,refreshAsync:b,cancel:h,mutate:k,setParams:D=>{Object.assign(p.value[0],D)},runParams:D=>C(Object.assign(p.value[0],D)),runParamsAsync:async D=>A(Object.assign(p.value[0],D))};return u({refs:Y,actions:j}),(D,M)=>(o.openBlock(),o.createBlock(o.unref(R.NFlex),{vertical:""},{default:o.withCtx(()=>[o.renderSlot(D.$slots,"filter",{refs:Y,actions:j},()=>[o.createVNode(o.unref(R.NFlex),{vertical:""},{default:o.withCtx(()=>[r.value.grid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},D.filterGridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>!P.collapsed),({key:P,gridItemProps:U,render:L,label:H,...q},K)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:K,span:12},{ref_for:!0},U),{default:o.withCtx(()=>[L?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(L(Y,j),H,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:q,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":be=>ne(be,P)}),H,{path:P,labelPlacement:"left"})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.flex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},D.filterFlexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>!P.collapsed),({key:P,render:U,label:L,...H},q)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:q},[U?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(U(Y,j),L,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:H,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":K=>ne(K,P)}),L,{path:P,labelPlacement:"left"})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0),D.filterOptions?.filter(P=>P.collapsed)&&D.filterOptions?.filter(P=>P.collapsed)?.length>0?(o.openBlock(),o.createBlock(o.unref(R.NDivider),{key:2,style:{margin:"5px 0"}},{default:o.withCtx(()=>[o.createVNode(o.unref(R.NButton),{size:"tiny",onClick:M[0]||(M[0]=P=>$.value=!$.value)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString($.value?"折叠":"展开"),1)]),_:1})]),_:1})):o.createCommentVNode("",!0),o.createVNode(o.unref(R.NCollapseTransition),{show:$.value},{default:o.withCtx(()=>[r.value.collapsedGrid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},D.filterGridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>P.collapsed),({key:P,gridItemProps:U,render:L,label:H,...q},K)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:K,span:12},{ref_for:!0},U),{default:o.withCtx(()=>[L?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(L(Y,j),H,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:q,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":be=>ne(be,P)}),H,{path:P,labelPlacement:"left"})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.collapsedFlex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},D.filterFlexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>P.collapsed),({key:P,render:U,label:L,...H},q)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:q},[U?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(U(Y,j),L,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:H,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":K=>ne(K,P)}),L,{path:P,labelPlacement:"left"})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0)]),_:1},8,["show"])]),_:1})]),o.createVNode(o.unref(R.NDataTable),o.mergeProps({ref:"data-table-ref",remote:"","flex-height":"","single-line":!1,"scroll-x":_.value,style:{flex:1,...D.customStyle},class:D.customClass,"row-key":P=>P[a.rowKey],loading:o.unref(d),columns:i,data:g.value,"row-props":T},D.dataTableProps,{"onUpdate:filters":F.onUpdateFilters,"onUpdate:sorter":F.onUpdateSorter,onLoad:F.onLoad,onScroll:F.onScroll,"onUpdate:checkedRowKeys":F.onUpdateCheckedRowKeys,"onUpdate:expandedRowKeys":F.onUpdateExpandedRowKeys}),{empty:o.withCtx(()=>[o.renderSlot(D.$slots,"empty",{refs:Y,actions:j})]),loading:o.withCtx(()=>[o.renderSlot(D.$slots,"loading",{refs:Y,actions:j})]),_:3},16,["scroll-x","style","class","row-key","loading","columns","data","onUpdate:filters","onUpdate:sorter","onLoad","onScroll","onUpdate:checkedRowKeys","onUpdate:expandedRowKeys"]),o.renderSlot(D.$slots,"actions",{refs:Y,actions:j},()=>[o.createVNode(o.unref(R.NFlex),null,{default:o.withCtx(()=>[o.renderSlot(D.$slots,"extra",{refs:Y,actions:j}),o.renderSlot(D.$slots,"pagination",{refs:Y,actions:j},()=>[D.pagination?(o.openBlock(),o.createBlock(o.unref(R.NPagination),o.mergeProps({key:0,style:{"margin-left":"auto"},disabled:o.unref(d)},{...l,...s.value},{"onUpdate:page":F.onUpdatePage,"onUpdate:pageSize":F.onUpdatePageSize}),null,16,["disabled","onUpdate:page","onUpdate:pageSize"])):o.createCommentVNode("",!0)])]),_:3})]),D.contextMenuOptions?(o.openBlock(),o.createBlock(o.unref(R.NDropdown),{key:0,placement:"bottom-start",trigger:"manual",x:G.value.x,y:G.value.y,show:O.value,options:D.contextMenuOptions,onClickoutside:M[1]||(M[1]=P=>O.value=!1),onSelect:te},null,8,["x","y","show","options"])):o.createCommentVNode("",!0)]),_:3}))}});function br(e,u){const{string:t="",number:n=null,boolean:r=!1}=u??{};if(Array.isArray(e))return e.length=0,e;if(typeof e=="object"&&e!==null){for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(e[i]=br(e[i],u));return e}return typeof e=="string"?t:typeof e=="number"?n:typeof e=="boolean"?r:e}function Zc(e,u){const{rules:t,clearRules:n}=u??{},r=o.reactive(e?structuredClone(o.toRaw(e)):{}),i=t,c=o.ref(),a={ref:c,model:r,rules:i},l=Se.createEventHook();function s(){return new Promise((p,C)=>{if(!c.value)return C(new Error("formRef:undefined"));c.value.validate().then(A=>(l.trigger(o.toRaw(o.toValue(r))),p(A))).catch(C)})}function f(){c.value?.restoreValidation()}function d(){br(r,n)}function y(){d(),Object.assign(r,structuredClone(e))}function x(){f(),y()}return{formRef:c,formValue:o.toRef(r),formRules:i,formProps:a,validate:s,resetValidation:f,resetForm:y,reset:x,clear:d,onValidated:l.on}}function Yc(e){if(!e)return;const u={};return e.forEach(t=>{t.key&&t.rules&&(u[t.key]=t.rules)}),u}const Xc=o.defineComponent({__name:"PresetForm",props:{options:{},values:{},rules:{},clearRules:{},formProps:{},gridProps:{},flexProps:{},layout:{default:"grid"}},emits:["validated"],setup(e,{expose:u,emit:t}){const n=t,r=o.computed(()=>{const h=typeof e.layout=="string"?[e.layout,e.layout]:e.layout;return{grid:h[0]==="grid",flex:h[0]==="flex",collapsedGrid:h[1]==="grid",collapsedFlex:h[1]==="flex"}}),i=e.rules?{...e.rules,...Yc(e.options)}:void 0,{formValue:c,formRules:a,formRef:l,validate:s,resetValidation:f,resetForm:d,reset:y,clear:x,onValidated:p}=Zc(e.values,{rules:i,clearRules:e.clearRules});p(h=>{n("validated",h)});const C=o.ref(!1),A={formRef:l,formValue:c,formRules:a},E={validate:s,resetValidation:f,resetForm:d,reset:y,clear:x,onValidated:p,setValues:h=>{Object.assign(c.value,h)}};u({refs:A,actions:E});function b(h,k){k&&E.setValues({[k]:h})}return(h,k)=>(o.openBlock(),o.createBlock(o.unref(R.NForm),o.mergeProps({ref_key:"formRef",ref:l,model:o.unref(c),rules:o.unref(a)},e.formProps),{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{refs:A,actions:E}),o.renderSlot(h.$slots,"default",{refs:A,actions:E},()=>[r.value.grid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},h.gridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>!g.collapsed),({key:g,gridItemProps:_,render:w,label:B,...F},O)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:O,span:12},{ref_for:!0},_),{default:o.withCtx(()=>[w?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(w(A,E),B,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:F,value:g?o.unref(c)[g]:void 0,"onUpdate:value":z=>b(z,g)}),B,{path:g})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.flex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},h.flexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>!g.collapsed),({key:g,render:_,label:w,...B},F)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:F},[_?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(_(A,E),w,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:B,value:g?o.unref(c)[g]:void 0,"onUpdate:value":O=>b(O,g)}),w,{path:g})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0),h.options?.filter(g=>g.collapsed)&&h.options?.filter(g=>g.collapsed)?.length>0?(o.openBlock(),o.createBlock(o.unref(R.NDivider),{key:2,style:{margin:"5px 0"}},{default:o.withCtx(()=>[o.createVNode(o.unref(R.NButton),{size:"tiny",onClick:k[0]||(k[0]=g=>C.value=!C.value)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(C.value?"折叠":"展开"),1)]),_:1})]),_:1})):o.createCommentVNode("",!0),o.createVNode(o.unref(R.NCollapseTransition),{show:C.value},{default:o.withCtx(()=>[r.value.collapsedGrid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},h.gridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>g.collapsed),({key:g,gridItemProps:_,render:w,label:B,...F},O)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:O,span:12},{ref_for:!0},_),{default:o.withCtx(()=>[w?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(w(A,E),B,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:F,value:g?o.unref(c)[g]:void 0,"onUpdate:value":z=>b(z,g)}),B,{path:g})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.collapsedFlex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},h.flexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>g.collapsed),({key:g,render:_,label:w,...B},F)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:F},[_?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(_(A,E),w,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:B,value:g?o.unref(c)[g]:void 0,"onUpdate:value":O=>b(O,g)}),w,{path:g})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0)]),_:1},8,["show"])]),o.renderSlot(h.$slots,"footer",{refs:A,actions:E})]),_:3},16,["model","rules"]))}}),Qc=o.defineComponent({__name:"PresetSelect",props:{api:{type:Function},defaultParams:{},manual:{type:Boolean,default:!0},fields:{},requestOptions:{},requestPlugins:{},value:{},fallbackLabel:{},multiple:{type:Boolean,default:!1},disabled:{type:Boolean},debounce:{type:[Boolean,Number],default:!0},optionFormat:{type:Function},selectProps:{},pagination:{type:[Object,Boolean]}},emits:["before","success","error","finally","blur","clear","create","focus","scroll","search","update:value","update:page","update:pageSize"],setup(e,{expose:u,emit:t}){const n=t,r=o.useTemplateRef("select-ref"),i={page:"page",pageSize:"pageSize",search:"search",list:"list",count:"count",rowKey:"id",label:"label",value:"value",children:"children",...e.fields},c=o.reactive({showSizePicker:!0,pageSizes:[10,20,30],pageSlot:5,prefix:T=>`共${T.itemCount}条数据`,...e.pagination&&typeof e.pagination=="boolean"?{}:e.pagination}),a=o.ref({page:1,pageSize:10,itemCount:0}),l={[i.page]:a.value.page,[i.pageSize]:a.value.pageSize,[i.search]:"",...e.defaultParams},{data:s,error:f,loading:d,params:y,run:x,runAsync:p,refresh:C,refreshAsync:A,cancel:E,mutate:b}=Bt(e.api,{defaultParams:[l],manual:e.manual,...e.requestOptions,onBefore:T=>{e.requestOptions?.onBefore?.(T),n("before",T)},onSuccess:(T,$)=>{e.requestOptions?.onSuccess?.(T,$),n("success",T,$),g(T,$)},onError:(T,$)=>{e.requestOptions?.onError?.(T,$),n("error",T,$)},onFinally:(T,$,ne)=>{e.requestOptions?.onFinally?.(T,$,ne),n("finally",T,$,ne)}},e.requestPlugins),h=o.computed(()=>s.value?Array.isArray(s.value[i.list])?s.value[i.list]:(console.warn(`DataTablePlus: data[${i.list}] must be an array`),[]):[]),k=o.computed(()=>typeof e.optionFormat=="function"?h.value.map(T=>e.optionFormat(T)).filter(T=>!!T):h.value.map(T=>({[i.label]:T[i.label],[i.value]:T[i.value],[i.children]:T[i.children],key:T[i.rowKey]})));function g(T,$){a.value.page=$[0]&&i.page in $[0]?Number($[0][i.page]):1,a.value.pageSize=$[0]&&i.pageSize in $[0]?Number($[0][i.pageSize]):10,a.value.itemCount=i.count in T?Number(T[i.count]):0}function _(T){return x({...y.value[0],...T})}const w=o.ref(""),B=Se.useDebounceFn(()=>{_({[i.page]:1,[i.search]:w.value})},typeof e.debounce=="number"?e.debounce:500),F={onBlur:T=>{n("blur",T)},onClear:()=>{n("clear")},onCreate:T=>n("create",T),onFocus:T=>{n("focus",T)},onScroll:T=>{n("scroll",T)},onUpdateValue:(T,$)=>{const ne=Array.isArray(T)?h.value.filter(Y=>T.includes(Y[i.rowKey])):h.value.find(Y=>Y[i.rowKey]===T);n("update:value",T,$,ne?o.toRaw(o.toValue(ne)):null)},onSearch:T=>{w.value=T,!d.value&&(e.debounce?B():_({[i.page]:1,[i.search]:w.value}))},onUpdateShow:T=>{T&&(s.value||e.manual&&x(l))}},O={onUpdatePage:T=>{n("update:page",T),!d.value&&_({[i.page]:T})},onUpdatePageSize:T=>{n("update:pageSize",T),!d.value&&_({[i.pageSize]:T})}};function z(T){return{[i.label]:e.fallbackLabel??`${T}`,[i.value]:T}}const G={loading:d,data:s,error:f,params:y,pagination:a,rawList:h,selectRef:r},te={run:x,runAsync:p,refresh:C,refreshAsync:A,cancel:E,mutate:b,setParams:T=>{Object.assign(y.value[0],T)},runParams:T=>x(Object.assign(y.value[0],T)),runParamsAsync:async T=>p(Object.assign(y.value[0],T))};return u({refs:G,actions:te}),(T,$)=>(o.openBlock(),o.createBlock(o.unref(R.NSelect),o.mergeProps({ref:"select-ref",remote:"",filterable:"",multiple:T.multiple,disabled:T.disabled,options:k.value,"label-field":i.label,"value-field":i.value,"children-field":i.children,value:T.value,"fallback-option":z,loading:o.unref(d)},T.selectProps,{onBlur:F.onBlur,onClear:F.onClear,onCreate:F.onCreate,onFocus:F.onFocus,onScroll:F.onScroll,onSearch:F.onSearch,"onUpdate:show":F.onUpdateShow,"onUpdate:value":F.onUpdateValue}),{header:o.withCtx(()=>[o.renderSlot(T.$slots,"header",{refs:G,actions:te})]),action:o.withCtx(()=>[o.renderSlot(T.$slots,"action",{refs:G,actions:te},()=>[o.createVNode(o.unref(R.NFlex),null,{default:o.withCtx(()=>[o.renderSlot(T.$slots,"extra",{refs:G,actions:te}),o.renderSlot(T.$slots,"pagination",{refs:G,actions:te},()=>[T.pagination?(o.openBlock(),o.createBlock(o.unref(R.NPagination),o.mergeProps({key:0,style:{"margin-left":"auto"},simple:"",disabled:o.unref(d)},{...c,...a.value},{"onUpdate:page":O.onUpdatePage,"onUpdate:pageSize":O.onUpdatePageSize}),null,16,["disabled","onUpdate:page","onUpdate:pageSize"])):o.createCommentVNode("",!0)])]),_:3})])]),empty:o.withCtx(()=>[o.renderSlot(T.$slots,"empty")]),arrow:o.withCtx(()=>[o.renderSlot(T.$slots,"arrow")]),_:3},16,["multiple","disabled","options","label-field","value-field","children-field","value","loading","onBlur","onClear","onCreate","onFocus","onScroll","onSearch","onUpdate:show","onUpdate:value"]))}}),Jc=o.defineComponent({__name:"RemoteRequest",props:{api:{type:Function},defaultParams:{},manual:{type:Boolean},fields:{},requestOptions:{},requestPlugins:{}},emits:["before","success","error","finally"],setup(e,{expose:u,emit:t}){const n=t,r={page:"page",pageSize:"pageSize",search:"search",...e.fields},{loading:i,data:c,error:a,params:l,run:s,runAsync:f,refresh:d,refreshAsync:y,cancel:x,mutate:p}=Bt(e.api,{defaultParams:[{[r.page]:1,[r.pageSize]:10,[r.search]:"",...e.defaultParams}],manual:e.manual,...e.requestOptions,onBefore:E=>{e.requestOptions?.onBefore?.(E),n("before",E)},onSuccess:(E,b)=>{e.requestOptions?.onSuccess?.(E,b),n("success",E,b)},onError:(E,b)=>{e.requestOptions?.onError?.(E,b),n("error",E,b)},onFinally:(E,b,h)=>{e.requestOptions?.onFinally?.(E,b,h),n("finally",E,b,h)}},e.requestPlugins),C={loading:i,data:c,error:a,params:l},A={run:s,runAsync:f,refresh:d,refreshAsync:y,cancel:x,mutate:p,setParam:E=>{Object.assign(l.value[0],E)},runParam:E=>s(Object.assign(l.value[0],E)),runParamAsync:async E=>f(Object.assign(l.value[0],E))};return u({refs:C,actions:A}),(E,b)=>o.renderSlot(E.$slots,"default",{refs:C,actions:A})}}),Kc=o.defineComponent({__name:"ToggleEditor",props:o.mergeModels({inputProps:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const u=o.useModel(e,"value"),t=o.ref(!1),n=o.useTemplateRef("inputRef"),r=o.ref(u.value);function i(){t.value=!0,o.nextTick(()=>{n.value?.focus()})}function c(){t.value=!1,u.value=r.value}return(a,l)=>(o.openBlock(),o.createElementBlock("div",{onClick:i},[t.value?(o.openBlock(),o.createBlock(o.unref(R.NInput),o.mergeProps({key:0,ref_key:"inputRef",ref:n,value:r.value},a.inputProps,{"onUpdate:value":l[0]||(l[0]=s=>r.value=s),onChange:c,onBlur:c}),null,16,["value"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(r.value),1)],64))]))}}),el=o.defineComponent({__name:"TooltipButton",props:{value:{},tooltipProps:{},buttonProps:{}},emits:["click"],setup(e,{emit:u}){const t=u;return(n,r)=>(o.openBlock(),o.createBlock(o.unref(R.NTooltip),o.normalizeProps(o.guardReactiveProps(n.tooltipProps)),{trigger:o.withCtx(()=>[o.createVNode(o.unref(R.NButton),o.mergeProps(n.buttonProps,{onClick:r[0]||(r[0]=i=>t("click",i))}),{icon:o.withCtx(()=>[o.renderSlot(n.$slots,"icon")]),default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3},16)]),default:o.withCtx(()=>[o.renderSlot(n.$slots,"tooltip",{},()=>[o.createTextVNode(o.toDisplayString(n.value),1)])]),_:3},16))}});Z.NBubble=E0,Z.NConfigProviders=D0,Z.NCopyButton=R0,Z.NDataTablePlus=Wc,Z.NFullLoading=tr,Z.NPresetForm=Xc,Z.NPresetInput=Ae,Z.NPresetSelect=Qc,Z.NRemoteRequest=Jc,Z.NSearchInput=hr,Z.NToggleEditor=Kc,Z.NTooltipButton=el,Z.NTransition=Qu,Z.NTypeWriter=ur,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
|
|
42
|
+
`,{c:At,cB:er,cE:wt}={..._u,...yu},Mu=`${Je}-type-writer`;function b0(){return At([er("type-writer",{overflowX:"auto"},[wt("cursor::after",{content:"var(--cursor-content)",marginLeft:"2px",display:"inline-block"}),wt("markdown",`${h0}`,[At("pre",{backgroundColor:"var(--tag-color)",borderRadius:"var(--border-radius)"})])]),At(".dark",[er("type-writer",[wt("markdown",`${p0}`)])])])}const m0=["innerHTML"],ur=o.defineComponent({__name:"TypeWriter",props:{value:{},typing:{type:Boolean,default:!0},markdown:{type:Boolean},step:{},interval:{},suffix:{default:"|"}},emits:["start","update","stop"],setup(e,{emit:u}){const t=u;xu(Mu,b0());const{typedValue:n,isTyping:r,onStat:i,onUpdate:c,onStop:a}=c0(o.computed(()=>e.value??""),{step:e.step,interval:e.interval,enabled:e.typing});i(()=>{t("start")}),c(f=>{t("update",f)}),a(f=>{t("stop",f)});const{html:l}=a0(n,{html:!0,linkify:!0,typographer:!0,breaks:!0,highlight:d0}),s=o.computed(()=>e.markdown?l.value:n.value);return(f,d)=>(o.openBlock(),o.createBlock(o.unref(R.NEl),{tag:"div",class:o.normalizeClass([o.unref(Mu)])},{default:o.withCtx(()=>[o.createElementVNode("div",{class:o.normalizeClass([o.unref(r)&&!f.markdown?`${o.unref(Mu)}__cursor`:void 0,f.markdown?`${o.unref(Mu)}__markdown`:void 0]),style:o.normalizeStyle([f.markdown?void 0:{"--cursor-content":`'${f.suffix}'`}]),innerHTML:s.value},null,14,m0)]),_:1},8,["class"]))}}),{c:g0,cB:k0,cE:x0,cM:_0}={..._u,...yu},Dt=`${Je}-bubble`;function y0(){return g0([k0("bubble",{display:"flex",gap:"10px",fontSize:"var(--n-font-size);"},[_0("reverse",{flexDirection:"row-reverse"}),x0("content",{backgroundColor:"var(--tag-color)",padding:"10px",borderRadius:"var(--border-radius)",minHeight:"44px"})])])}const E0=o.defineComponent({__name:"Bubble",props:{avatar:{},content:{},contentClass:{},contentStyle:{},loading:{type:Boolean},typing:{type:Boolean},markdown:{type:Boolean},placement:{}},emits:["typingComplete"],setup(e,{emit:u}){const t=u;return xu("n-bubble",y0()),(n,r)=>(o.openBlock(),o.createBlock(o.unref(R.NEl),{tag:"div",class:o.normalizeClass([o.unref(Dt),n.placement==="end"?`${o.unref(Dt)}--reverse`:""])},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"avatar",{},()=>[n.avatar?(o.openBlock(),o.createBlock(o.unref(R.NAvatar),o.mergeProps({key:0,round:""},n.avatar.props),{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.avatar.icon)))]),_:1},16)):o.createCommentVNode("",!0)]),o.createVNode(o.unref(R.NFlex),{vertical:""},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"header"),o.createVNode(o.unref(Qu),null,{default:o.withCtx(()=>[n.loading?o.renderSlot(n.$slots,"loading",{key:0},()=>[o.createVNode(o.unref(R.NSpin),{style:{height:"44px"}})]):o.renderSlot(n.$slots,"default",{key:1},()=>[o.createElementVNode("div",{class:o.normalizeClass([`${o.unref(Dt)}__content`,n.contentClass]),style:o.normalizeStyle(n.contentStyle)},[o.createVNode(o.unref(ur),{typing:n.typing,markdown:n.markdown,value:n.content,onStop:r[0]||(r[0]=i=>t("typingComplete"))},null,8,["typing","markdown","value"])],6)])]),_:3}),o.renderSlot(n.$slots,"footer")]),_:3})]),_:3},8,["class"]))}}),{c:C0,cB:A0}={..._u,...yu},Lu=`${Je}-full-loading`;function w0(){return C0([A0("full-loading",{position:"fixed",inset:0,zIndex:99,display:"flex",alignItems:"center",justifyContent:"center"},[R.cM("mask",{background:"rgba(0,0,0,.3)"}),R.cM("blur",{backdropFilter:"blur(10px)"})])])}const tr=o.defineComponent({__name:"FullLoading",props:{show:{type:Boolean},appendTo:{default:"body"},mask:{type:[Boolean,Object],default:!0},blur:{type:Boolean,default:!0},disableScroll:{type:Boolean,default:!0},scrollSelector:{default:"body"},spinProps:{}},setup(e){xu(Lu,w0());const u=o.ref("auto");return o.watchEffect(()=>{if(e.disableScroll){const t=e.scrollSelector instanceof HTMLElement?e.scrollSelector:document.querySelector(e.scrollSelector);t&&(e.show&&(u.value=t.style.overflow),t.style.overflow=e.show?"hidden":u.value)}}),(t,n)=>(o.openBlock(),o.createBlock(o.unref(Qu),null,{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.Teleport,{to:t.appendTo},[t.show?(o.openBlock(),o.createBlock(o.unref(R.NEl),{key:0,class:o.normalizeClass([o.unref(Lu),{[`${o.unref(Lu)}--mask`]:t.mask},{[`${o.unref(Lu)}--blur`]:t.blur}]),style:o.normalizeStyle(typeof t.mask=="object"?t.mask:{})},{default:o.withCtx(()=>[o.createVNode(o.unref(R.NSpin),o.normalizeProps(o.guardReactiveProps(t.spinProps)),o.createSlots({_:2},[t.$slots.description?{name:"description",fn:o.withCtx(()=>[o.renderSlot(t.$slots,"description")]),key:"0"}:void 0,t.$slots.icon?{name:"icon",fn:o.withCtx(()=>[o.renderSlot(t.$slots,"icon")]),key:"1"}:void 0]),1040)]),_:3},8,["class","style"])):o.createCommentVNode("",!0)],8,["to"]))]),_:3}))}}),D0=o.defineComponent({__name:"ConfigProviders",props:{globalStyle:{type:Boolean,default:!1},configProviderProps:{},loadingBarProps:{},fullLoadingProps:{},dialogProviderProps:{},modalProviderProps:{},notificationProviderProps:{},messageProviderProps:{}},setup(e){const u=o.ref(!1);function t(){window.$dialog=R.useDialog(),window.$loadingBar=R.useLoadingBar(),window.$message=R.useMessage(),window.$modal=R.useModal(),window.$notification=R.useNotification(),window.$loading={start:()=>{u.value=!0},finish:()=>{u.value=!1}}}const n=o.defineComponent({setup(){o.onMounted(()=>{t()})},render(){return null}});return(r,i)=>(o.openBlock(),o.createBlock(o.unref(R.NConfigProvider),o.normalizeProps(o.guardReactiveProps(r.configProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NLoadingBarProvider),o.normalizeProps(o.guardReactiveProps(r.loadingBarProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NDialogProvider),o.normalizeProps(o.guardReactiveProps(r.dialogProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NModalProvider),o.normalizeProps(o.guardReactiveProps(r.modalProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NNotificationProvider),o.normalizeProps(o.guardReactiveProps(r.notificationProviderProps)),{default:o.withCtx(()=>[o.createVNode(o.unref(R.NMessageProvider),o.normalizeProps(o.guardReactiveProps(r.messageProviderProps)),{default:o.withCtx(()=>[o.renderSlot(r.$slots,"default"),o.createVNode(o.unref(n))]),_:3},16)]),_:3},16)]),_:3},16)]),_:3},16)]),_:3},16),r.globalStyle?(o.openBlock(),o.createBlock(o.unref(R.NGlobalStyle),{key:0})):o.createCommentVNode("",!0),o.createVNode(o.unref(tr),o.mergeProps({show:u.value},r.fullLoadingProps),null,16,["show"])]),_:3},16))}}),Ft=(e,u)=>{const t=e.__vccOpts||e;for(const[n,r]of u)t[n]=r;return t},F0={name:"MageCopyFill"},S0={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function T0(e,u,t,n,r,i){return o.openBlock(),o.createElementBlock("svg",S0,u[0]||(u[0]=[o.createElementVNode("path",{fill:"#757575",d:"M18.355 6.54h-1.94V4.69a2.69 2.69 0 0 0-1.646-2.484A2.7 2.7 0 0 0 13.745 2h-8.05a2.68 2.68 0 0 0-2.67 2.69v10.09a2.68 2.68 0 0 0 2.67 2.69h1.94v1.85a2.68 2.68 0 0 0 2.67 2.68h8a2.68 2.68 0 0 0 2.67-2.68V9.23a2.69 2.69 0 0 0-2.62-2.69M7.635 9.23v6.74h-1.94a1.18 1.18 0 0 1-1.17-1.19V4.69a1.18 1.18 0 0 1 1.17-1.19h8.05a1.18 1.18 0 0 1 1.17 1.19v1.85h-4.61a2.69 2.69 0 0 0-2.67 2.69"},null,-1)]))}const P0=Ft(F0,[["render",T0]]),R0=o.defineComponent({__name:"CopyButton",props:{value:{},config:{},tooltipProps:{},buttonProps:{}},emits:["copied"],setup(e,{emit:u}){const t=u,{copied:n,copy:r}=Se.useClipboard({source:e.value,...e.config});o.watch(n,()=>{n.value&&t("copied",e.value)});function i(c){c.preventDefault(),r()}return(c,a)=>(o.openBlock(),o.createBlock(o.unref(R.NTooltip),o.normalizeProps(o.guardReactiveProps(c.tooltipProps)),{trigger:o.withCtx(()=>[o.createElementVNode("div",{style:{cursor:"pointer"},onClick:i},[o.renderSlot(c.$slots,"default",{},()=>[o.createVNode(o.unref(R.NButton),o.mergeProps({quaternary:"",size:"tiny"},c.buttonProps),{icon:o.withCtx(()=>[o.renderSlot(c.$slots,"icon",{},()=>[o.createVNode(P0)])]),_:3},16)])])]),default:o.withCtx(()=>[o.renderSlot(c.$slots,"tooltip",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(n)?"复制成功":"复制"),1)])]),_:3},16))}}),nr=(e,{manual:u,ready:t=!0,refreshDeps:n=[],refreshDepsAction:r})=>{const i=o.ref(!1);return o.watchEffect(()=>{!u&&e.options.refreshDeps!==!0&&(i.value=o.unref(t))}),n instanceof Array?o.watch([i,...n],([c])=>{c&&!u&&c&&(r?r():e.refresh())},{deep:!0,immediate:!1}):o.watch(i,c=>{!u&&c&&(r?r():e.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!o.unref(t))return{stopNow:!0}}}};nr.onInit=({ready:e=!0,manual:u})=>({loading:!u&&o.unref(e)});const zu=new Map,B0=(e,u,t)=>{const n=zu.get(e);n?.timer&&clearTimeout(n.timer);let r;u>-1&&(r=setTimeout(()=>{zu.delete(e)},u)),zu.set(e,{...t,timer:r})},N0=e=>zu.get(e),Iu=new Map,v0=e=>Iu.get(e),O0=(e,u)=>{Iu.set(e,u),u.then(t=>(Iu.delete(e),t)).catch(t=>{throw Iu.delete(e),t})},Oe={},M0=[],L0=(e,u)=>{Oe[e]&&(Oe[e].forEach(t=>t(u)),M0.forEach(t=>t({type:e,data:u})))},St=(e,u)=>(Oe[e]||(Oe[e]=[]),Oe[e].push(u),function(){const n=Oe[e].indexOf(u);Oe[e].splice(n,1)}),z0=(e,{cacheKey:u,cacheTime:t=5*60*1e3,staleTime:n=0,setCache:r,getCache:i})=>{const c=o.ref(),a=o.ref(),l=(f,d)=>{r?r(d):B0(f,t,d),L0(f,d.data)},s=(f,d=[])=>i?i(d):N0(f);return o.watchEffect(()=>{if(!u)return;const f=s(u);f&&Object.hasOwnProperty.call(f,"data")&&(e.state.data=f.data,e.state.params=f.params,(n===-1||new Date().getTime()-f.time<=n)&&(e.state.loading=!1)),c.value=St(u,d=>{e.setState({data:d})})}),o.onScopeDispose(()=>{var f;(f=c.value)==null||f.call(c)}),u?{name:"cachePlugin",onBefore:f=>{const d=s(u,f);return!d||!Object.hasOwnProperty.call(d,"data")?{}:n===-1||new Date().getTime()-d.time<=n?{loading:!1,data:d?.data,returnNow:!0}:{data:d?.data}},onRequest:(f,d)=>{let y=v0(u);return y&&y!==a.value?{servicePromise:y}:(y=f(...d),a.value=y,O0(u,y),{servicePromise:y})},onSuccess:(f,d)=>{var y;u&&((y=c.value)==null||y.call(c),l(u,{data:f,params:d,time:new Date().getTime()}),c.value=St(u,x=>{e.setState({data:x})}))},onMutate:f=>{var d;u&&((d=c.value)==null||d.call(c),l(u,{data:f,params:e.state.params,time:new Date().getTime()}),c.value=St(u,y=>{e.setState({data:y})}))}}:{}};function $u(e){var u=typeof e;return e!=null&&(u=="object"||u=="function")}var I0=typeof global=="object"&&global&&global.Object===Object&&global,$0=typeof self=="object"&&self&&self.Object===Object&&self,rr=I0||$0||Function("return this")(),Tt=function(){return rr.Date.now()},q0=/\s/;function j0(e){for(var u=e.length;u--&&q0.test(e.charAt(u)););return u}var U0=/^\s+/;function H0(e){return e&&e.slice(0,j0(e)+1).replace(U0,"")}var qu=rr.Symbol,or=Object.prototype,V0=or.hasOwnProperty,G0=or.toString,fu=qu?qu.toStringTag:void 0;function W0(e){var u=V0.call(e,fu),t=e[fu];try{e[fu]=void 0;var n=!0}catch{}var r=G0.call(e);return n&&(u?e[fu]=t:delete e[fu]),r}var Z0=Object.prototype,Y0=Z0.toString;function X0(e){return Y0.call(e)}var Q0="[object Null]",J0="[object Undefined]",ir=qu?qu.toStringTag:void 0;function K0(e){return e==null?e===void 0?J0:Q0:ir&&ir in Object(e)?W0(e):X0(e)}function ec(e){return e!=null&&typeof e=="object"}var uc="[object Symbol]";function tc(e){return typeof e=="symbol"||ec(e)&&K0(e)==uc}var ar=NaN,nc=/^[-+]0x[0-9a-f]+$/i,rc=/^0b[01]+$/i,oc=/^0o[0-7]+$/i,ic=parseInt;function cr(e){if(typeof e=="number")return e;if(tc(e))return ar;if($u(e)){var u=typeof e.valueOf=="function"?e.valueOf():e;e=$u(u)?u+"":u}if(typeof e!="string")return e===0?e:+e;e=H0(e);var t=rc.test(e);return t||oc.test(e)?ic(e.slice(2),t?2:8):nc.test(e)?ar:+e}var ac="Expected a function",cc=Math.max,lc=Math.min;function lr(e,u,t){var n,r,i,c,a,l,s=0,f=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(ac);u=cr(u)||0,$u(t)&&(f=!!t.leading,d="maxWait"in t,i=d?cc(cr(t.maxWait)||0,u):i,y="trailing"in t?!!t.trailing:y);function x(_){var w=n,B=r;return n=r=void 0,s=_,c=e.apply(B,w),c}function p(_){return s=_,a=setTimeout(E,u),f?x(_):c}function C(_){var w=_-l,B=_-s,F=u-w;return d?lc(F,i-B):F}function A(_){var w=_-l,B=_-s;return l===void 0||w>=u||w<0||d&&B>=i}function E(){var _=Tt();if(A(_))return b(_);a=setTimeout(E,C(_))}function b(_){return a=void 0,y&&n?x(_):(n=r=void 0,c)}function h(){a!==void 0&&clearTimeout(a),s=0,n=l=r=a=void 0}function k(){return a===void 0?c:b(Tt())}function g(){var _=Tt(),w=A(_);if(n=arguments,r=this,l=_,w){if(a===void 0)return p(l);if(d)return clearTimeout(a),a=setTimeout(E,u),x(l)}return a===void 0&&(a=setTimeout(E,u)),c}return g.cancel=h,g.flush=k,g}const sc=(e,{debounceWait:u,debounceLeading:t,debounceTrailing:n,debounceMaxWait:r})=>{const i=o.ref(),c=o.computed(()=>{const a={},l=o.unref(t),s=o.unref(n),f=o.unref(r);return l!==void 0&&(a.leading=l),s!==void 0&&(a.trailing=s),f!==void 0&&(a.maxWait=f),a});return o.watchEffect(a=>{if(o.unref(u)){const l=e.runAsync.bind(e);i.value=lr(s=>{s()},o.unref(u),c.value),e.runAsync=(...s)=>new Promise((f,d)=>{var y;(y=i.value)==null||y.call(i,()=>{l(...s).then(f).catch(d)})}),a(()=>{var s;(s=i.value)==null||s.cancel(),e.runAsync=l})}}),o.unref(u)?{name:"debouncePlugin",onCancel:()=>{var a;(a=i.value)==null||a.cancel()}}:{}};var fc=Object.defineProperty,dc=(e,u,t)=>u in e?fc(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,sr=(e,u,t)=>(dc(e,typeof u!="symbol"?u+"":u,t),t);class pc{constructor(){sr(this,"table",{}),sr(this,"hashTable",{})}insert(u){const t=Symbol(u);return this.table[u]=!0,this.hashTable[t]=u,t}find(u){return this.hashTable[u]}}new pc;function hc(e){const t=e.toString().match(/^function\s+([^\s(]+)/);return t?t[1]:""}function bc(e){const u=e.toString(),t=/([a-zA-Z$_][a-zA-Z0-9$_]*)\s*\(/,n=u.match(t);return n?n[1].trim():""}var mc=Object.defineProperty,gc=(e,u,t)=>u in e?mc(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,fr=(e,u,t)=>(gc(e,typeof u!="symbol"?u+"":u,t),t);class kc{constructor(){fr(this,"requestInstances",new Map),fr(this,"listeners",[])}emit(u){this.listeners.forEach(t=>t(u))}subscribe(u){return this.listeners.push(u),()=>{const t=this.listeners.indexOf(u);this.listeners.splice(t,1)}}insert(u,t){this.requestInstances.set(u,{...t}),this.emit({key:u,...t})}update(u,t){this.has(u)&&this.requestInstances.set(u,{...this.requestInstances.get(u),...t})}has(u){return this.requestInstances.has(u)}reset(u){if(this.requestInstances.has(u)){const t=this.requestInstances.get(u);this.requestInstances.clear(),this.insert(u,t)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}const se=new kc,xc=(e,{ready:u=!0,debugKey:t,...n})=>{const r=()=>{if(t&&!se.has(t)){const c=e.serviceRef.value.toString().includes("function")?hc(e.serviceRef.value.toString()):bc(e.serviceRef.value.toString());se.insert(t,{instance:e,requestName:c,time:Date.now()})}},i=o.computed(()=>Object.fromEntries(Object.entries({ready:u,...n}).map(([c,a])=>[c,o.unref(a)])));return o.watchEffect(()=>{t&&se.has(t)&&se.emit({...e,options:{...e.options,...i.value}})}),{name:"devtoolsPlugin",onBefore:c=>{r(),t&&se.has(t)&&se.emit({...e.state,key:t,params:c,loading:!0,time:Date.now(),type:"pending"})},onSuccess(c,a){r(),t&&se.has(t)&&se.emit({...e.state,key:t,data:c,params:a,loading:!1,time:Date.now(),type:"done"})},onCancel(){r(),t&&se.has(t)&&se.emit({...e.state,key:t,loading:!1,time:Date.now(),type:"cancel"})},onError(c,a){r(),t&&se.has(t)&&se.emit({...e.state,key:t,params:a,loading:!1,error:c,time:Date.now(),type:"error"})},onMutate(c){r(),t&&se.has(t)&&se.emit({...e.state,key:t,data:c,loading:!1,time:Date.now(),type:"mutate"})}}},_c=(e,{loadingDelay:u})=>{const t=o.ref(),n=()=>{t.value&&(clearTimeout(o.unref(t.value)),t.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{n();const r=o.unref(u);r&&(e.setState({loading:!0}),t.value=setTimeout(()=>{e.setState({loading:!1})},r))},onError:()=>{n()}}};function Pt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const yc=!!(typeof window<"u"&&window.document&&window.document.createElement);function Rt(){return Pt()?document.visibilityState!=="hidden":!0}const du=[];function Ec(e){return du.push(e),function(){const t=du.indexOf(e);du.splice(t,1)}}if(Pt()){const e=()=>{if(Rt())for(let u=0;u<du.length;u++){const t=du[u];t()}};window.addEventListener("visibilitychange",e,!1)}const Cc=(e,{pollingInterval:u,pollingWhenHidden:t=!0,pollingErrorRetryCount:n=-1})=>{let r;const i=o.ref(),c=o.ref(0),a=()=>{var l;r&&clearTimeout(r),(l=i.value)==null||l.call(i)};return o.watchEffect(()=>{o.unref(u)||a()}),o.unref(u)?{name:"pollingPlugin",onBefore:()=>{a()},onError:()=>{c.value+=1},onSuccess:()=>{c.value=0},onFinally:()=>{n===-1||n!==-1&&c.value<=n?r=setTimeout(()=>{!t&&!Rt()?i.value=Ec(()=>{e.refresh()}):e.refresh()},o.unref(u)):c.value=0},onCancel:()=>{a()}}:{}};function Ac(e,u){let t=!1;return(...n)=>{t||(t=!0,e(...n),setTimeout(()=>{t=!1},u))}}function wc(){return Pt()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const pu=[];function Dc(e){return pu.push(e),function(){const t=pu.indexOf(e);t>-1&&pu.splice(t,1)}}if(yc){const e=()=>{if(!(!Rt()||!wc()))for(let u=0;u<pu.length;u++){const t=pu[u];t()}};window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1)}const Fc=(e,{refreshOnWindowFocus:u,focusTimespan:t=5e3})=>{const n=o.ref(),r=()=>{var i;(i=n.value)==null||i.call(n)};return o.watchEffect(i=>{if(o.unref(u)){const c=Ac(e.refresh.bind(e),o.unref(t));n.value=Dc(()=>{c()})}i(()=>{r()})}),o.onScopeDispose(()=>{r()}),{name:"refreshOnWindowFocusPlugin"}},Sc=(e,{retryInterval:u,retryCount:t})=>{const n=o.ref(),r=o.ref(0),i=o.ref(!1);return t?{name:"retryPlugin",onBefore:()=>{i.value||(r.value=0),i.value=!1,n.value&&clearTimeout(n.value)},onSuccess:()=>{r.value=0},onError:()=>{if(r.value+=1,t===-1||r.value<=t){const c=u??Math.min(1e3*2**r.value,3e4);n.value=setTimeout(()=>{i.value=!0,e.refresh()},c)}else r.value=0},onCancel:()=>{r.value=0,n.value&&clearTimeout(n.value)}}:{}};var Tc="Expected a function";function Pc(e,u,t){var n=!0,r=!0;if(typeof e!="function")throw new TypeError(Tc);return $u(t)&&(n="leading"in t?!!t.leading:n,r="trailing"in t?!!t.trailing:r),lr(e,u,{leading:n,maxWait:u,trailing:r})}const Rc=(e,{throttleWait:u,throttleLeading:t,throttleTrailing:n})=>{let r=null;const i=o.computed(()=>{const s={};return o.unref(t)!==void 0&&(s.leading=o.unref(t)),o.unref(n)!==void 0&&(s.trailing=o.unref(n)),s}),c=e.runAsync.bind(e),a=o.ref(),l=o.computed(()=>o.unref(u));return o.watch([l,i],s=>{r&&(r.cancel(),e.runAsync=c);const[f,d]=s,y=Pc(x=>{x()},o.unref(f),d);r=y,a.value=y,e.runAsync=(...x)=>new Promise((p,C)=>{var A;(A=a.value)==null||A.call(a,()=>{c(...x).then(p).catch(C)})})},{immediate:!0}),o.unref(u)?(o.onUnmounted(()=>{var s;(s=a.value)==null||s.cancel()}),{name:"throttlePlugin",onCancel:()=>{var s;(s=a.value)==null||s.cancel()}}):{}},dr=e=>typeof e=="function",Bc=e=>typeof e=="boolean";var Nc=Object.defineProperty,vc=(e,u,t)=>u in e?Nc(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,ju=(e,u,t)=>(vc(e,typeof u!="symbol"?u+"":u,t),t);class Oc{constructor(u,t,n,r={}){ju(this,"pluginImpls"),ju(this,"count",0),ju(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),ju(this,"previousValidData"),this.serviceRef=u,this.options=t,this.setUpdateData=n,this.initState=r,this.state={...this.state,loading:!t.manual,...r}}setState(u={}){this.state={...this.state,...u},this.setUpdateData(this.state)}setData(u,t){console.warn("Please use 'setFetchState' instead of 'setData'"),t instanceof Array?t.forEach(n=>{this.state[n]=u,this.setUpdateData(u,n)}):(this.state[t]=u,this.setUpdateData(u,t))}setFetchState(u,t){t instanceof Array?t.forEach(n=>{this.state[n]=u,this.setUpdateData(u,n)}):(this.state[t]=u,this.setUpdateData(u,t))}runPluginHandler(u,...t){var n,r,i;const c=(i=(r=(n=this.pluginImpls)==null?void 0:n.map(a=>{var l;return(l=a[u])==null?void 0:l.call(a,...t)}))!=null?r:[])==null?void 0:i.filter(Boolean);return Object.assign({},...c)}async runAsync(...u){var t,n,r,i,c,a,l,s,f,d,y;this.count+=1;const x=this.count,{stopNow:p=!1,returnNow:C=!1,...A}=this.runPluginHandler("onBefore",u);if(p)return new Promise(()=>{});if(this.setState({loading:!0,params:u,...A}),C)return Promise.resolve(A.data);try{(n=(t=this.options).onBefore)==null||n.call(t,u)}catch(E){return this.setState({error:E,loading:!1}),(i=(r=this.options).onError)==null||i.call(r,E,u),this.runPluginHandler("onError",E,u),new Promise(()=>{})}try{let{servicePromise:E}=this.runPluginHandler("onRequest",this.serviceRef.value,u);const b=k=>{var g,_,w,B;if(!this.options.concurrent&&x!==this.count)return new Promise(()=>{});const F=this.options.formatResult?this.options.formatResult(k):k,O={data:k};return this.setState({data:F,error:void 0,loading:!1}),(_=(g=this.options).onSuccess)==null||_.call(g,F,u),this.runPluginHandler("onSuccess",F,u,O),this.previousValidData=F,(B=(w=this.options).onFinally)==null||B.call(w,u,F,void 0),(this.options.concurrent||x===this.count)&&this.runPluginHandler("onFinally",u,F,void 0),F};E||(E=this.serviceRef.value(...u));const h=await E;return b(h)}catch(E){if(!this.options.concurrent&&x!==this.count)return new Promise(()=>{});throw this.setState({error:E,loading:!1}),(a=(c=this.options).onError)==null||a.call(c,E,u),this.runPluginHandler("onError",E,u),(dr((l=this.options)==null?void 0:l.rollbackOnError)&&((s=this.options)!=null&&s.rollbackOnError(u))||Bc((f=this.options)==null?void 0:f.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(y=(d=this.options).onFinally)==null||y.call(d,u,void 0,E),(this.options.concurrent||x===this.count)&&this.runPluginHandler("onFinally",u,void 0,E),E}}run(...u){this.runAsync(...u).catch(t=>{this.options.onError||console.error(t)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(u){const t=dr(u)?u(this.state.data):u;this.runPluginHandler("onMutate",t),this.setState({data:t})}}const Mc=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function Lc(e){return Object.keys(e).filter(t=>["data","loading","params","error"].includes(t)).length===4}function zc(e,u={},t=[]){const n=o.inject(Mc,{}),{initialData:r=void 0,manual:i=!1,ready:c=!0,...a}={...n??{},...u??{}},l={manual:i,ready:c,initialData:r,...a},s=o.ref(e),f=o.reactive({data:r,loading:!1,params:void 0,error:void 0}),d=(C,A)=>{A?f[A]=C:Lc(C)&&(f.data=C.data,f.loading=C.loading,f.error=C.error,f.params=C.params)},y=t.map(C=>{var A;return(A=C?.onInit)==null?void 0:A.call(C,l)}).filter(Boolean),x=new Oc(s,l,d,Object.assign({},...y,f));x.options=l,x.pluginImpls=t.map(C=>C(x,l));const p=o.computed(()=>o.isRef(c)?c.value:c);if(o.watchEffect(()=>{if(!i){const C=x.state.params||u.defaultParams||[];p.value&&x.options.refreshDeps===!0&&s.value&&x.run(...C)}}),!i&&x.options.refreshDeps!==!0){const C=x.state.params||u.defaultParams||[];o.unref(c)&&x.run(...C)}return o.onScopeDispose(()=>{x.cancel()}),{...o.toRefs(f),cancel:x.cancel.bind(x),refresh:x.refresh.bind(x),refreshAsync:x.refreshAsync.bind(x),run:x.run.bind(x),runAsync:x.runAsync.bind(x),mutate:x.mutate.bind(x)}}const Ic=(e,u)=>function(n,r={},i=[]){let c=e;const a=u||[];for(let l=a.length;l--;)c=a[l](c);return c(n,r,i)};function Bt(e,u,t){var n;const r=(n=[process.env.NODE_ENV==="development"?xc:null,sc,_c,Cc,Fc,Rc,nr,z0,Sc])==null?void 0:n.filter(Boolean);return Ic(zc,u?.use)(e,u,[...t||[],...r])}function ue(e,u,t){const n=typeof u=="string"?{label:u}:typeof u=="boolean"?{}:u;return u?o.h(R.NFormItem,{...t,...n},{default:()=>e}):e}const $c={name:"EosIconsThreeDotsLoading"},qc={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function jc(e,u,t,n,r,i){return o.openBlock(),o.createElementBlock("svg",qc,u[0]||(u[0]=[o.createStaticVNode('<circle cx="18" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".67" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="12" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".33" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="6" cy="12" r="0" fill="#757575"><animate attributeName="r" begin="0" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle>',3)]))}const Uc=Ft($c,[["render",jc]]),Hc={name:"RiSearch2Line"},Vc={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function Gc(e,u,t,n,r,i){return o.openBlock(),o.createElementBlock("svg",Vc,u[0]||(u[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9s-9-4.032-9-9s4.032-9 9-9m0 16c3.867 0 7-3.133 7-7s-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7m8.485.071l2.829 2.828l-1.415 1.415l-2.828-2.829z"},null,-1)]))}const pr=Ft(Hc,[["render",Gc]]),hr=o.defineComponent({__name:"SearchInput",props:{value:{default:""},type:{default:"default"},autoTrigger:{type:[Boolean,Number],default:!0},searchButton:{type:Boolean,default:!0},inputProps:{},buttonProps:{},loading:{type:Boolean}},emits:["update:value"],setup(e,{emit:u}){const t=u,n=o.useTemplateRef("input-ref"),r=o.ref(e.value),{isPending:i,start:c}=Se.useTimeoutFn(()=>{},typeof e.autoTrigger=="number"?e.autoTrigger:500);o.watch(()=>e.value,f=>{r.value=f});const a=Se.useDebounceFn(()=>{t("update:value",r.value)},typeof e.autoTrigger=="number"?e.autoTrigger:500);o.watch(r,()=>{c(),e.autoTrigger&&a()});function l(){t("update:value",r.value)}function s(f){f.key==="Enter"&&l()}return o.watchEffect(()=>{!e.loading&&r.value&&n.value?.focus()}),(f,d)=>(o.openBlock(),o.createBlock(o.unref(R.NInputGroup),null,{default:o.withCtx(()=>[o.createVNode(o.unref(R.NInput),o.mergeProps({ref:"input-ref",value:r.value,"onUpdate:value":d[0]||(d[0]=y=>r.value=y),disabled:f.loading,clearable:""},f.inputProps,{onKeydown:s}),{prefix:o.withCtx(()=>[o.renderSlot(f.$slots,"prefix",{},()=>[o.renderSlot(f.$slots,"prefix-icon",{},()=>[o.createVNode(pr)])])]),suffix:o.withCtx(()=>[o.unref(i)?(o.openBlock(),o.createBlock(Uc,{key:0})):o.createCommentVNode("",!0)]),_:3},16,["value","disabled"]),o.renderSlot(f.$slots,"button",{},()=>[f.searchButton?(o.openBlock(),o.createBlock(o.unref(R.NButton),o.mergeProps({key:0,type:f.type,loading:f.loading},f.buttonProps,{onClick:l}),{icon:o.withCtx(()=>[o.renderSlot(f.$slots,"button-icon",{},()=>[o.createVNode(pr)])]),_:3},16,["type","loading"])):o.createCommentVNode("",!0)])]),_:3}))}}),Ae=o.defineComponent({__name:"PresetInput",props:{value:{},options:{}},emits:["update:value"],setup(e,{emit:u}){const t=u,n={button:R.NButton,"color-picker":R.NColorPicker,checkbox:R.NCheckboxGroup,"divider ":R.NDivider,"date-picker":R.NDatePicker,"dynamic-tags":R.NDynamicTags,input:R.NInput,"input-number":R.NInputNumber,search:hr,radio:R.NRadioGroup,rate:R.NRate,select:R.NSelect,slider:R.NSlider,switch:R.NSwitch,"time-picker":R.NTimePicker};function r(){const{type:i,props:c}=e.options??{};if(i==="button"){const{label:a,...l}=c??{};return o.h(n[i],{...l},{default:()=>a})}if(i==="checkbox"){const{options:a,...l}=c??{};return o.h(n[i],{value:e.value,"onUpdate:value":s=>{t("update:value",s)},...l},{default:()=>a?.map(s=>o.h(R.NCheckbox,{...s}))})}if(i==="divider "){const{...a}=c??{};return o.h(n[i],{...a})}if(i==="radio"){const{options:a,...l}=c??{};return o.h(n[i],{value:e.value,"onUpdate:value":s=>{t("update:value",s)},...l},{default:()=>a?.map(s=>o.h(R.NRadio,{...s}))})}if(i&&n[i])return o.h(n[i],{value:e.value,"onUpdate:value":a=>{t("update:value",a)},...c})}return(i,c)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(r())))}}),Wc=o.defineComponent({__name:"DataTablePlus",props:{api:{type:Function},defaultParams:{},manual:{type:Boolean},fields:{},requestOptions:{},requestPlugins:{},columns:{},filterOptions:{},filterGridProps:{},filterFlexProps:{},filterLayout:{default:"grid"},contextMenuOptions:{},pagination:{type:[Object,Boolean]},dataTableProps:{},customStyle:{},customClass:{}},emits:["before","success","error","finally","clickRow","contextMenuRow","contextMenuSelect","load","scroll","update:checkedRowKeys","update:expandedRowKeys","update:filters","update:sorter","update:page","update:pageSize"],setup(e,{expose:u,emit:t}){const n=t,r=o.computed(()=>{const D=typeof e.filterLayout=="string"?[e.filterLayout,e.filterLayout]:e.filterLayout;return{grid:D[0]==="grid",flex:D[0]==="flex",collapsedGrid:D[1]==="grid",collapsedFlex:D[1]==="flex"}}),i=o.reactive(e.columns??[]),c=o.useTemplateRef("data-table-ref"),a={page:"page",pageSize:"pageSize",filter:"filter",sorter:"sorter",list:"list",count:"count",rowKey:"id",...e.fields},l=o.reactive({showSizePicker:!0,pageSizes:[10,20,30],pageSlot:5,prefix:D=>`共${D.itemCount}条数据`,...e.pagination&&typeof e.pagination=="boolean"?{}:e.pagination}),s=o.ref({page:1,pageSize:10,itemCount:0}),f={[a.page]:s.value.page,[a.pageSize]:s.value.pageSize,...e.defaultParams},{loading:d,data:y,error:x,params:p,run:C,runAsync:A,refresh:E,refreshAsync:b,cancel:h,mutate:k}=Bt(e.api,{defaultParams:[f],manual:e.manual,...e.requestOptions,onBefore:D=>{e.requestOptions?.onBefore?.(D),n("before",D)},onSuccess:(D,M)=>{e.requestOptions?.onSuccess?.(D,M),n("success",D,M),w(D,M)},onError:(D,M)=>{e.requestOptions?.onError?.(D,M),n("error",D,M)},onFinally:(D,M,P)=>{e.requestOptions?.onFinally?.(D,M,P),n("finally",D,M,P)}},e.requestPlugins),g=o.computed(()=>y.value?Array.isArray(y.value[a.list])?y.value[a.list]:(console.warn(`DataTablePlus: data[${a.list}] must be an array`),[]):[]),_=o.computed(()=>e.columns?.reduce((D,M)=>D+Number(M.width??100),0));function w(D,M){s.value.page=a.page in M[0]?Number(M[0][a.page]):1,s.value.pageSize=a.pageSize in M[0]?Number(M[0][a.pageSize]):10,s.value.itemCount=a.count in D?Number(D[a.count]):0;const P=M[0]?.[a.filter],U=M[0]?.[a.sorter];if(i){for(const L of i)if("key"in L){if(P&&L.key in P){const H=P[L.key];"filter"in L&&L.filter&&(L.filterMultiple?Array.isArray(H)&&(L.filterOptionValues=H):Array.isArray(H)||(L.filterOptionValue=H))}if("sorter"in L&&typeof L.sorter=="boolean"&&(L.sortOrder=!1),U&&L.key in U){const H=U[L.key];"sorter"in L&&L.sorter&&(L.sortOrder=H)}}}}function B(D){return C({...p.value[0],...D})}const F={onUpdatePage:D=>{n("update:page",D),!d.value&&B({[a.page]:D})},onUpdatePageSize:D=>{n("update:pageSize",D),!d.value&&B({[a.pageSize]:D})},onUpdateFilters:(D,M)=>{n("update:filters",D,M),B({[a.page]:1,[a.filter]:D})},onUpdateSorter:D=>{n("update:sorter",D);const M={};if(Array.isArray(D))for(const P of D)M[P.columnKey]=P.order;else D&&(M[D.columnKey]=D.order);B({[a.page]:1,[a.sorter]:M})},onLoad:D=>n("load",D),onScroll:D=>{n("scroll",D)},onUpdateCheckedRowKeys:(D,M,P)=>{n("update:checkedRowKeys",D,M,P)},onUpdateExpandedRowKeys:D=>{n("update:expandedRowKeys",D)}},O=o.ref(!1),z=o.ref(),G=o.ref({x:0,y:0});function te(D,M){O.value=!1,n("contextMenuSelect",{key:D,option:M,row:o.toValue(z)})}function T(D,M){return{onClick:P=>{n("clickRow",{row:D,index:M,event:P})},onContextmenu:P=>{n("contextMenuRow",{row:D,index:M,event:P}),e.contextMenuOptions&&(P.preventDefault(),O.value=!1,z.value=D,o.nextTick(()=>{O.value=!0,G.value={x:P.x,y:P.y}}))}}}const $=o.ref(!1);function ce(D,M){M&&B({[M]:D})}const Y={loading:d,data:y,error:x,params:p,pagination:s,rawList:g,dataTableRef:c},j={run:C,runAsync:A,refresh:E,refreshAsync:b,cancel:h,mutate:k,setParams:D=>{Object.assign(p.value[0],D)},runParams:D=>C(Object.assign(p.value[0],D)),runParamsAsync:async D=>A(Object.assign(p.value[0],D))};return u({refs:Y,actions:j}),(D,M)=>(o.openBlock(),o.createBlock(o.unref(R.NFlex),{vertical:""},{default:o.withCtx(()=>[o.renderSlot(D.$slots,"filter",{refs:Y,actions:j},()=>[o.createVNode(o.unref(R.NFlex),{vertical:""},{default:o.withCtx(()=>[r.value.grid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},D.filterGridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>!P.collapsed),({key:P,gridItemProps:U,render:L,label:H,...q},K)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:K,span:12},{ref_for:!0},U),{default:o.withCtx(()=>[L?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(L(Y,j),H,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:q,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":be=>ce(be,P)}),H,{path:P,labelPlacement:"left"})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.flex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},D.filterFlexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>!P.collapsed),({key:P,render:U,label:L,...H},q)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:q},[U?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(U(Y,j),L,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:H,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":K=>ce(K,P)}),L,{path:P,labelPlacement:"left"})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0),D.filterOptions?.filter(P=>P.collapsed)&&D.filterOptions?.filter(P=>P.collapsed)?.length>0?(o.openBlock(),o.createBlock(o.unref(R.NDivider),{key:2,style:{margin:"5px 0"}},{default:o.withCtx(()=>[o.createVNode(o.unref(R.NButton),{size:"tiny",onClick:M[0]||(M[0]=P=>$.value=!$.value)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString($.value?"折叠":"展开"),1)]),_:1})]),_:1})):o.createCommentVNode("",!0),o.createVNode(o.unref(R.NCollapseTransition),{show:$.value},{default:o.withCtx(()=>[r.value.collapsedGrid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},D.filterGridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>P.collapsed),({key:P,gridItemProps:U,render:L,label:H,...q},K)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:K,span:12},{ref_for:!0},U),{default:o.withCtx(()=>[L?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(L(Y,j),H,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:q,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":be=>ce(be,P)}),H,{path:P,labelPlacement:"left"})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.collapsedFlex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},D.filterFlexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.filterOptions?.filter(P=>P.collapsed),({key:P,render:U,label:L,...H},q)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:q},[U?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(U(Y,j),L,{path:P,labelPlacement:"left"})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:H,value:P?o.unref(p)[0][P]:void 0,"onUpdate:value":K=>ce(K,P)}),L,{path:P,labelPlacement:"left"})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0)]),_:1},8,["show"])]),_:1})]),o.createVNode(o.unref(R.NDataTable),o.mergeProps({ref:"data-table-ref",remote:"","flex-height":"","single-line":!1,"scroll-x":_.value,style:{flex:1,...D.customStyle},class:D.customClass,"row-key":P=>P[a.rowKey],loading:o.unref(d),columns:i,data:g.value,"row-props":T},D.dataTableProps,{"onUpdate:filters":F.onUpdateFilters,"onUpdate:sorter":F.onUpdateSorter,onLoad:F.onLoad,onScroll:F.onScroll,"onUpdate:checkedRowKeys":F.onUpdateCheckedRowKeys,"onUpdate:expandedRowKeys":F.onUpdateExpandedRowKeys}),{empty:o.withCtx(()=>[o.renderSlot(D.$slots,"empty",{refs:Y,actions:j})]),loading:o.withCtx(()=>[o.renderSlot(D.$slots,"loading",{refs:Y,actions:j})]),_:3},16,["scroll-x","style","class","row-key","loading","columns","data","onUpdate:filters","onUpdate:sorter","onLoad","onScroll","onUpdate:checkedRowKeys","onUpdate:expandedRowKeys"]),o.renderSlot(D.$slots,"actions",{refs:Y,actions:j},()=>[o.createVNode(o.unref(R.NFlex),null,{default:o.withCtx(()=>[o.renderSlot(D.$slots,"extra",{refs:Y,actions:j}),o.renderSlot(D.$slots,"pagination",{refs:Y,actions:j},()=>[D.pagination?(o.openBlock(),o.createBlock(o.unref(R.NPagination),o.mergeProps({key:0,style:{"margin-left":"auto"},disabled:o.unref(d)},{...l,...s.value},{"onUpdate:page":F.onUpdatePage,"onUpdate:pageSize":F.onUpdatePageSize}),null,16,["disabled","onUpdate:page","onUpdate:pageSize"])):o.createCommentVNode("",!0)])]),_:3})]),D.contextMenuOptions?(o.openBlock(),o.createBlock(o.unref(R.NDropdown),{key:0,placement:"bottom-start",trigger:"manual",x:G.value.x,y:G.value.y,show:O.value,options:D.contextMenuOptions,onClickoutside:M[1]||(M[1]=P=>O.value=!1),onSelect:te},null,8,["x","y","show","options"])):o.createCommentVNode("",!0)]),_:3}))}});function br(e,u){const{string:t="",number:n=null,boolean:r=!1}=u??{};if(Array.isArray(e))return e.length=0,e;if(typeof e=="object"&&e!==null){for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(e[i]=br(e[i],u));return e}return typeof e=="string"?t:typeof e=="number"?n:typeof e=="boolean"?r:e}function Zc(e,u){const{rules:t,clearRules:n}=u??{},r=o.reactive(e?structuredClone(o.toRaw(e)):{}),i=t,c=o.ref(),a={ref:c,model:r,rules:i},l=Se.createEventHook();function s(){return new Promise((p,C)=>{if(!c.value)return C(new Error("formRef:undefined"));c.value.validate().then(A=>(l.trigger(o.toRaw(o.toValue(r))),p(A))).catch(C)})}function f(){c.value?.restoreValidation()}function d(){br(r,n)}function y(){d(),Object.assign(r,structuredClone(e))}function x(){f(),y()}return{formRef:c,formValue:o.toRef(r),formRules:i,formProps:a,validate:s,resetValidation:f,resetForm:y,reset:x,clear:d,onValidated:l.on}}function Yc(e){if(!e)return;const u={};return e.forEach(t=>{t.key&&t.rules&&(u[t.key]=t.rules)}),u}const Xc=o.defineComponent({__name:"PresetForm",props:{options:{},values:{},rules:{},clearRules:{},formProps:{},gridProps:{},flexProps:{},layout:{default:"grid"}},emits:["validated"],setup(e,{expose:u,emit:t}){const n=t,r=o.computed(()=>{const h=typeof e.layout=="string"?[e.layout,e.layout]:e.layout;return{grid:h[0]==="grid",flex:h[0]==="flex",collapsedGrid:h[1]==="grid",collapsedFlex:h[1]==="flex"}}),i=e.rules?{...e.rules,...Yc(e.options)}:void 0,{formValue:c,formRules:a,formRef:l,validate:s,resetValidation:f,resetForm:d,reset:y,clear:x,onValidated:p}=Zc(e.values,{rules:i,clearRules:e.clearRules});p(h=>{n("validated",h)});const C=o.ref(!1),A={formRef:l,formValue:c,formRules:a},E={validate:s,resetValidation:f,resetForm:d,reset:y,clear:x,onValidated:p,setValues:h=>{Object.assign(c.value,h)}};u({refs:A,actions:E});function b(h,k){k&&E.setValues({[k]:h})}return(h,k)=>(o.openBlock(),o.createBlock(o.unref(R.NForm),o.mergeProps({ref_key:"formRef",ref:l,model:o.unref(c),rules:o.unref(a)},e.formProps),{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{refs:A,actions:E}),o.renderSlot(h.$slots,"default",{refs:A,actions:E},()=>[r.value.grid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},h.gridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>!g.collapsed),({key:g,gridItemProps:_,render:w,label:B,...F},O)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:O,span:12},{ref_for:!0},_),{default:o.withCtx(()=>[w?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(w(A,E),B,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:F,value:g?o.unref(c)[g]:void 0,"onUpdate:value":z=>b(z,g)}),B,{path:g})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.flex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},h.flexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>!g.collapsed),({key:g,render:_,label:w,...B},F)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:F},[_?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(_(A,E),w,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:B,value:g?o.unref(c)[g]:void 0,"onUpdate:value":O=>b(O,g)}),w,{path:g})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0),h.options?.filter(g=>g.collapsed)&&h.options?.filter(g=>g.collapsed)?.length>0?(o.openBlock(),o.createBlock(o.unref(R.NDivider),{key:2,style:{margin:"5px 0"}},{default:o.withCtx(()=>[o.createVNode(o.unref(R.NButton),{size:"tiny",onClick:k[0]||(k[0]=g=>C.value=!C.value)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(C.value?"折叠":"展开"),1)]),_:1})]),_:1})):o.createCommentVNode("",!0),o.createVNode(o.unref(R.NCollapseTransition),{show:C.value},{default:o.withCtx(()=>[r.value.collapsedGrid?(o.openBlock(),o.createBlock(o.unref(R.NGrid),o.normalizeProps(o.mergeProps({key:0},h.gridProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>g.collapsed),({key:g,gridItemProps:_,render:w,label:B,...F},O)=>(o.openBlock(),o.createBlock(o.unref(R.NGi),o.mergeProps({key:O,span:12},{ref_for:!0},_),{default:o.withCtx(()=>[w?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(w(A,E),B,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:F,value:g?o.unref(c)[g]:void 0,"onUpdate:value":z=>b(z,g)}),B,{path:g})),{key:1}))]),_:2},1040))),128))]),_:1},16)):o.createCommentVNode("",!0),r.value.collapsedFlex?(o.openBlock(),o.createBlock(o.unref(R.NFlex),o.normalizeProps(o.mergeProps({key:1},h.flexProps)),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h.options?.filter(g=>g.collapsed),({key:g,render:_,label:w,...B},F)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:F},[_?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(_(A,E),w,{path:g})),{key:0})):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(ue)(o.h(o.unref(Ae),{options:B,value:g?o.unref(c)[g]:void 0,"onUpdate:value":O=>b(O,g)}),w,{path:g})),{key:1}))],64))),128))]),_:1},16)):o.createCommentVNode("",!0)]),_:1},8,["show"])]),o.renderSlot(h.$slots,"footer",{refs:A,actions:E})]),_:3},16,["model","rules"]))}}),Qc=o.defineComponent({__name:"PresetSelect",props:{api:{type:Function},defaultParams:{},manual:{type:Boolean,default:!0},fields:{},requestOptions:{},requestPlugins:{},value:{},fallbackLabel:{},multiple:{type:Boolean,default:!1},disabled:{type:Boolean},debounce:{type:[Boolean,Number],default:!0},optionFormat:{type:Function},selectProps:{},pagination:{type:[Object,Boolean]}},emits:["before","success","error","finally","blur","clear","create","focus","scroll","search","update:value","update:page","update:pageSize"],setup(e,{expose:u,emit:t}){const n=t,r=o.useTemplateRef("select-ref"),i={page:"page",pageSize:"pageSize",search:"search",list:"list",count:"count",rowKey:"id",label:"label",value:"value",children:"children",...e.fields},c=o.reactive({showSizePicker:!0,pageSizes:[10,20,30],pageSlot:5,prefix:T=>`共${T.itemCount}条数据`,...e.pagination&&typeof e.pagination=="boolean"?{}:e.pagination}),a=o.ref({page:1,pageSize:10,itemCount:0}),l={[i.page]:a.value.page,[i.pageSize]:a.value.pageSize,[i.search]:"",...e.defaultParams},{data:s,error:f,loading:d,params:y,run:x,runAsync:p,refresh:C,refreshAsync:A,cancel:E,mutate:b}=Bt(e.api,{defaultParams:[l],manual:e.manual,...e.requestOptions,onBefore:T=>{e.requestOptions?.onBefore?.(T),n("before",T)},onSuccess:(T,$)=>{e.requestOptions?.onSuccess?.(T,$),n("success",T,$),g(T,$)},onError:(T,$)=>{e.requestOptions?.onError?.(T,$),n("error",T,$)},onFinally:(T,$,ce)=>{e.requestOptions?.onFinally?.(T,$,ce),n("finally",T,$,ce)}},e.requestPlugins),h=o.computed(()=>s.value?Array.isArray(s.value[i.list])?s.value[i.list]:(console.warn(`DataTablePlus: data[${i.list}] must be an array`),[]):[]),k=o.computed(()=>typeof e.optionFormat=="function"?h.value.map(T=>e.optionFormat(T)).filter(T=>!!T):h.value.map(T=>({[i.label]:T[i.label],[i.value]:T[i.value],[i.children]:T[i.children],key:T[i.rowKey]})));function g(T,$){a.value.page=$[0]&&i.page in $[0]?Number($[0][i.page]):1,a.value.pageSize=$[0]&&i.pageSize in $[0]?Number($[0][i.pageSize]):10,a.value.itemCount=i.count in T?Number(T[i.count]):0}function _(T){return x({...y.value[0],...T})}const w=o.ref(""),B=Se.useDebounceFn(()=>{_({[i.page]:1,[i.search]:w.value})},typeof e.debounce=="number"?e.debounce:500),F={onBlur:T=>{n("blur",T)},onClear:()=>{n("clear")},onCreate:T=>n("create",T),onFocus:T=>{n("focus",T)},onScroll:T=>{n("scroll",T)},onUpdateValue:(T,$)=>{const ce=Array.isArray(T)?h.value.filter(Y=>T.includes(Y[i.rowKey])):h.value.find(Y=>Y[i.rowKey]===T)??null;n("update:value",T,$,o.toRaw(o.toValue(ce)))},onSearch:T=>{w.value=T,!d.value&&(e.debounce?B():_({[i.page]:1,[i.search]:w.value}))},onUpdateShow:T=>{T&&(s.value||e.manual&&x(l))}},O={onUpdatePage:T=>{n("update:page",T),!d.value&&_({[i.page]:T})},onUpdatePageSize:T=>{n("update:pageSize",T),!d.value&&_({[i.pageSize]:T})}};function z(T){return{[i.label]:e.fallbackLabel??`${T}`,[i.value]:T}}const G={loading:d,data:s,error:f,params:y,pagination:a,rawList:h,selectRef:r},te={run:x,runAsync:p,refresh:C,refreshAsync:A,cancel:E,mutate:b,setParams:T=>{Object.assign(y.value[0],T)},runParams:T=>x(Object.assign(y.value[0],T)),runParamsAsync:async T=>p(Object.assign(y.value[0],T))};return u({refs:G,actions:te}),(T,$)=>(o.openBlock(),o.createBlock(o.unref(R.NSelect),o.mergeProps({ref:"select-ref",remote:"",filterable:"",multiple:T.multiple,disabled:T.disabled,options:k.value,"label-field":i.label,"value-field":i.value,"children-field":i.children,value:T.value,"fallback-option":z,loading:o.unref(d)},T.selectProps,{onBlur:F.onBlur,onClear:F.onClear,onCreate:F.onCreate,onFocus:F.onFocus,onScroll:F.onScroll,onSearch:F.onSearch,"onUpdate:show":F.onUpdateShow,"onUpdate:value":F.onUpdateValue}),{header:o.withCtx(()=>[o.renderSlot(T.$slots,"header",{refs:G,actions:te})]),action:o.withCtx(()=>[o.renderSlot(T.$slots,"action",{refs:G,actions:te},()=>[o.createVNode(o.unref(R.NFlex),null,{default:o.withCtx(()=>[o.renderSlot(T.$slots,"extra",{refs:G,actions:te}),o.renderSlot(T.$slots,"pagination",{refs:G,actions:te},()=>[T.pagination?(o.openBlock(),o.createBlock(o.unref(R.NPagination),o.mergeProps({key:0,style:{"margin-left":"auto"},simple:"",disabled:o.unref(d)},{...c,...a.value},{"onUpdate:page":O.onUpdatePage,"onUpdate:pageSize":O.onUpdatePageSize}),null,16,["disabled","onUpdate:page","onUpdate:pageSize"])):o.createCommentVNode("",!0)])]),_:3})])]),empty:o.withCtx(()=>[o.renderSlot(T.$slots,"empty")]),arrow:o.withCtx(()=>[o.renderSlot(T.$slots,"arrow")]),_:3},16,["multiple","disabled","options","label-field","value-field","children-field","value","loading","onBlur","onClear","onCreate","onFocus","onScroll","onSearch","onUpdate:show","onUpdate:value"]))}}),Jc=o.defineComponent({__name:"RemoteRequest",props:{api:{type:Function},defaultParams:{},manual:{type:Boolean},fields:{},requestOptions:{},requestPlugins:{}},emits:["before","success","error","finally"],setup(e,{expose:u,emit:t}){const n=t,r={page:"page",pageSize:"pageSize",search:"search",...e.fields},{loading:i,data:c,error:a,params:l,run:s,runAsync:f,refresh:d,refreshAsync:y,cancel:x,mutate:p}=Bt(e.api,{defaultParams:[{[r.page]:1,[r.pageSize]:10,[r.search]:"",...e.defaultParams}],manual:e.manual,...e.requestOptions,onBefore:E=>{e.requestOptions?.onBefore?.(E),n("before",E)},onSuccess:(E,b)=>{e.requestOptions?.onSuccess?.(E,b),n("success",E,b)},onError:(E,b)=>{e.requestOptions?.onError?.(E,b),n("error",E,b)},onFinally:(E,b,h)=>{e.requestOptions?.onFinally?.(E,b,h),n("finally",E,b,h)}},e.requestPlugins),C={loading:i,data:c,error:a,params:l},A={run:s,runAsync:f,refresh:d,refreshAsync:y,cancel:x,mutate:p,setParam:E=>{Object.assign(l.value[0],E)},runParam:E=>s(Object.assign(l.value[0],E)),runParamAsync:async E=>f(Object.assign(l.value[0],E))};return u({refs:C,actions:A}),(E,b)=>o.renderSlot(E.$slots,"default",{refs:C,actions:A})}}),Kc=o.defineComponent({__name:"ToggleEditor",props:o.mergeModels({inputProps:{}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const u=o.useModel(e,"value"),t=o.ref(!1),n=o.useTemplateRef("inputRef"),r=o.ref(u.value);function i(){t.value=!0,o.nextTick(()=>{n.value?.focus()})}function c(){t.value=!1,u.value=r.value}return(a,l)=>(o.openBlock(),o.createElementBlock("div",{onClick:i},[t.value?(o.openBlock(),o.createBlock(o.unref(R.NInput),o.mergeProps({key:0,ref_key:"inputRef",ref:n,value:r.value},a.inputProps,{"onUpdate:value":l[0]||(l[0]=s=>r.value=s),onChange:c,onBlur:c}),null,16,["value"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(r.value),1)],64))]))}}),el=o.defineComponent({__name:"TooltipButton",props:{value:{},tooltipProps:{},buttonProps:{}},emits:["click"],setup(e,{emit:u}){const t=u;return(n,r)=>(o.openBlock(),o.createBlock(o.unref(R.NTooltip),o.normalizeProps(o.guardReactiveProps(n.tooltipProps)),{trigger:o.withCtx(()=>[o.createVNode(o.unref(R.NButton),o.mergeProps(n.buttonProps,{onClick:r[0]||(r[0]=i=>t("click",i))}),{icon:o.withCtx(()=>[o.renderSlot(n.$slots,"icon")]),default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3},16)]),default:o.withCtx(()=>[o.renderSlot(n.$slots,"tooltip",{},()=>[o.createTextVNode(o.toDisplayString(n.value),1)])]),_:3},16))}});Z.NBubble=E0,Z.NConfigProviders=D0,Z.NCopyButton=R0,Z.NDataTablePlus=Wc,Z.NFullLoading=tr,Z.NPresetForm=Xc,Z.NPresetInput=Ae,Z.NPresetSelect=Qc,Z.NRemoteRequest=Jc,Z.NSearchInput=hr,Z.NToggleEditor=Kc,Z.NTooltipButton=el,Z.NTransition=Qu,Z.NTypeWriter=ur,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
|