diff --git a/plugin/awesoMD/awesoMD.esm.js b/plugin/awesoMD/awesoMD.esm.js index 4216da1..0358017 100644 --- a/plugin/awesoMD/awesoMD.esm.js +++ b/plugin/awesoMD/awesoMD.esm.js @@ -1,3 +1,3 @@ function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&x[0]<4?1:+(x[0]+x[1])),!A&&ne&&(!(x=ne.match(/Edge\/(\d+)/))||x[1]>=74)&&(x=ne.match(/Chrome\/(\d+)/))&&(A=+x[1]);var se=A,le=se,ce=f,ue=u.String,pe=!!Object.getOwnPropertySymbols&&!ce((function(){var e=Symbol("symbol detection");return!ue(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&le&&le<41})),fe=pe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,he=J,de=Z,ge=X,me=Object,ve=fe?function(e){return"symbol"==typeof e}:function(e){var t=he("Symbol");return de(t)&&ge(t.prototype,me(e))},ye=String,be=function(e){try{return ye(e)}catch(e){return"Object"}},we=Z,ke=be,xe=TypeError,Ae=function(e){if(we(e))return e;throw new xe(ke(e)+" is not a function")},Se=Ae,Ce=U,Oe=function(e,t){var n=e[t];return Ce(n)?void 0:Se(n)},Ee=v,Ie=Z,je=W,Te=TypeError,_e={exports:{}},Re=u,Le=Object.defineProperty,Pe=function(e,t){try{Le(Re,e,{value:t,configurable:!0,writable:!0})}catch(n){Re[e]=t}return t},Me=u,Fe=Pe,Ne="__core-js_shared__",$e=_e.exports=Me[Ne]||Fe(Ne,{});($e.versions||($e.versions=[])).push({version:"3.36.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=_e.exports,ze=Ue,De=function(e,t){return ze[e]||(ze[e]=t||{})},qe=q,Be=Object,He=function(e){return Be(qe(e))},Ye=He,Ge=j({}.hasOwnProperty),Ze=Object.hasOwn||function(e,t){return Ge(Ye(e),t)},Ve=j,We=0,Ke=Math.random(),Qe=Ve(1..toString),Je=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Qe(++We+Ke,36)},Xe=De,et=Ze,tt=Je,nt=pe,rt=fe,it=u.Symbol,ot=Xe("wks"),at=rt?it.for||it:it&&it.withoutSetter||tt,st=function(e){return et(ot,e)||(ot[e]=nt&&et(it,e)?it[e]:at("Symbol."+e)),ot[e]},lt=v,ct=W,ut=ve,pt=Oe,ft=function(e,t){var n,r;if("string"===t&&Ie(n=e.toString)&&!je(r=Ee(n,e)))return r;if(Ie(n=e.valueOf)&&!je(r=Ee(n,e)))return r;if("string"!==t&&Ie(n=e.toString)&&!je(r=Ee(n,e)))return r;throw new Te("Can't convert object to primitive value")},ht=TypeError,dt=st("toPrimitive"),gt=function(e,t){if(!ct(e)||ut(e))return e;var n,r=pt(e,dt);if(r){if(void 0===t&&(t="default"),n=lt(r,e,t),!ct(n)||ut(n))return n;throw new ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),ft(e,t)},mt=ve,vt=function(e){var t=gt(e,"string");return mt(t)?t:t+""},yt=W,bt=u.document,wt=yt(bt)&&yt(bt.createElement),kt=function(e){return wt?bt.createElement(e):{}},xt=kt,At=!h&&!f((function(){return 7!==Object.defineProperty(xt("div"),"a",{get:function(){return 7}}).a})),St=h,Ct=v,Ot=y,Et=S,It=Y,jt=vt,Tt=Ze,_t=At,Rt=Object.getOwnPropertyDescriptor;p.f=St?Rt:function(e,t){if(e=It(e),t=jt(t),_t)try{return Rt(e,t)}catch(e){}if(Tt(e,t))return Et(!Ct(Ot.f,e,t),e[t])};var Lt={},Pt=h&&f((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=W,Ft=String,Nt=TypeError,$t=function(e){if(Mt(e))return e;throw new Nt(Ft(e)+" is not an object")},Ut=h,zt=At,Dt=Pt,qt=$t,Bt=vt,Ht=TypeError,Yt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Zt="enumerable",Vt="configurable",Wt="writable";Lt.f=Ut?Dt?function(e,t,n){if(qt(e),t=Bt(t),qt(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Wt in n&&!n[Wt]){var r=Gt(e,t);r&&r[Wt]&&(e[t]=n.value,n={configurable:Vt in n?n[Vt]:r[Vt],enumerable:Zt in n?n[Zt]:r[Zt],writable:!1})}return Yt(e,t,n)}:Yt:function(e,t,n){if(qt(e),t=Bt(t),qt(n),zt)try{return Yt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new Ht("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Kt=Lt,Qt=S,Jt=h?function(e,t,n){return Kt.f(e,t,Qt(1,n))}:function(e,t,n){return e[t]=n,e},Xt={exports:{}},en=h,tn=Ze,nn=Function.prototype,rn=en&&Object.getOwnPropertyDescriptor,on=tn(nn,"name"),an={EXISTS:on,PROPER:on&&"something"===function(){}.name,CONFIGURABLE:on&&(!en||en&&rn(nn,"name").configurable)},sn=Z,ln=Ue,cn=j(Function.toString);sn(ln.inspectSource)||(ln.inspectSource=function(e){return cn(e)});var un,pn,fn,hn=ln.inspectSource,dn=Z,gn=u.WeakMap,mn=dn(gn)&&/native code/.test(String(gn)),vn=Je,yn=De("keys"),bn=function(e){return yn[e]||(yn[e]=vn(e))},wn={},kn=mn,xn=u,An=W,Sn=Jt,Cn=Ze,On=Ue,En=bn,In=wn,jn="Object already initialized",Tn=xn.TypeError,_n=xn.WeakMap;if(kn||On.state){var Rn=On.state||(On.state=new _n);Rn.get=Rn.get,Rn.has=Rn.has,Rn.set=Rn.set,un=function(e,t){if(Rn.has(e))throw new Tn(jn);return t.facade=e,Rn.set(e,t),t},pn=function(e){return Rn.get(e)||{}},fn=function(e){return Rn.has(e)}}else{var Ln=En("state");In[Ln]=!0,un=function(e,t){if(Cn(e,Ln))throw new Tn(jn);return t.facade=e,Sn(e,Ln,t),t},pn=function(e){return Cn(e,Ln)?e[Ln]:{}},fn=function(e){return Cn(e,Ln)}}var Pn={set:un,get:pn,has:fn,enforce:function(e){return fn(e)?pn(e):un(e,{})},getterFor:function(e){return function(t){var n;if(!An(t)||(n=pn(t)).type!==e)throw new Tn("Incompatible receiver, "+e+" required");return n}}},Mn=j,Fn=f,Nn=Z,$n=Ze,Un=h,zn=an.CONFIGURABLE,Dn=hn,qn=Pn.enforce,Bn=Pn.get,Hn=String,Yn=Object.defineProperty,Gn=Mn("".slice),Zn=Mn("".replace),Vn=Mn([].join),Wn=Un&&!Fn((function(){return 8!==Yn((function(){}),"length",{value:8}).length})),Kn=String(String).split("String"),Qn=Xt.exports=function(e,t,n){"Symbol("===Gn(Hn(t),0,7)&&(t="["+Zn(Hn(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!$n(e,"name")||zn&&e.name!==t)&&(Un?Yn(e,"name",{value:t,configurable:!0}):e.name=t),Wn&&n&&$n(n,"arity")&&e.length!==n.arity&&Yn(e,"length",{value:n.arity});try{n&&$n(n,"constructor")&&n.constructor?Un&&Yn(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=qn(e);return $n(r,"source")||(r.source=Vn(Kn,"string"==typeof t?t:"")),e};Function.prototype.toString=Qn((function(){return Nn(this)&&Bn(this).source||Dn(this)}),"toString");var Jn=Xt.exports,Xn=Z,er=Lt,tr=Jn,nr=Pe,rr=function(e,t,n,r){r||(r={});var i=r.enumerable,o=void 0!==r.name?r.name:t;if(Xn(n)&&tr(n,o,r),r.global)i?e[t]=n:nr(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:er.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},ir={},or=Math.ceil,ar=Math.floor,sr=Math.trunc||function(e){var t=+e;return(t>0?ar:or)(t)},lr=function(e){var t=+e;return t!=t||0===t?0:sr(t)},cr=lr,ur=Math.max,pr=Math.min,fr=function(e,t){var n=cr(e);return n<0?ur(n+t,0):pr(n,t)},hr=lr,dr=Math.min,gr=function(e){var t=hr(e);return t>0?dr(t,9007199254740991):0},mr=gr,vr=function(e){return mr(e.length)},yr=Y,br=fr,wr=vr,kr=function(e){return function(t,n,r){var i=yr(t),o=wr(i);if(0===o)return!e&&-1;var a,s=br(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},xr={includes:kr(!0),indexOf:kr(!1)},Ar=Ze,Sr=Y,Cr=xr.indexOf,Or=wn,Er=j([].push),Ir=function(e,t){var n,r=Sr(e),i=0,o=[];for(n in r)!Ar(Or,n)&&Ar(r,n)&&Er(o,n);for(;t.length>i;)Ar(r,n=t[i++])&&(~Cr(o,n)||Er(o,n));return o},jr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tr=Ir,_r=jr.concat("length","prototype");ir.f=Object.getOwnPropertyNames||function(e){return Tr(e,_r)};var Rr={};Rr.f=Object.getOwnPropertySymbols;var Lr=J,Pr=ir,Mr=Rr,Fr=$t,Nr=j([].concat),$r=Lr("Reflect","ownKeys")||function(e){var t=Pr.f(Fr(e)),n=Mr.f;return n?Nr(t,n(e)):t},Ur=Ze,zr=$r,Dr=p,qr=Lt,Br=f,Hr=Z,Yr=/#|\.prototype\./,Gr=function(e,t){var n=Vr[Zr(e)];return n===Kr||n!==Wr&&(Hr(t)?Br(t):!!t)},Zr=Gr.normalize=function(e){return String(e).replace(Yr,".").toLowerCase()},Vr=Gr.data={},Wr=Gr.NATIVE="N",Kr=Gr.POLYFILL="P",Qr=Gr,Jr=u,Xr=p.f,ei=Jt,ti=rr,ni=Pe,ri=function(e,t,n){for(var r=zr(t),i=qr.f,o=Dr.f,a=0;a=51||!qi((function(){var t=[];return(t.constructor={})[Hi]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Gi=oi,Zi=f,Vi=si,Wi=W,Ki=He,Qi=vr,Ji=function(e){if(e>9007199254740991)throw li("Maximum allowed index exceeded");return e},Xi=fi,eo=Di,to=Yi,no=se,ro=st("isConcatSpreadable"),io=no>=51||!Zi((function(){var e=[];return e[ro]=!1,e.concat()[0]!==e})),oo=function(e){if(!Wi(e))return!1;var t=e[ro];return void 0!==t?!!t:Vi(e)};Gi({target:"Array",proto:!0,arity:1,forced:!io||!to("concat")},{concat:function(e){var t,n,r,i,o,a=Ki(this),s=eo(a,0),l=0;for(t=-1,r=arguments.length;ty;y++)if((s||y in g)&&(h=v(f=g[y],y,d),e))if(t)w[y]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return y;case 2:bo(w,f)}else switch(e){case 4:return!1;case 7:bo(w,f)}return o?-1:r||i?i:w}},ko={forEach:wo(0),map:wo(1),filter:wo(2),some:wo(3),every:wo(4),find:wo(5),findIndex:wo(6),filterReject:wo(7)},xo=f,Ao=function(e,t){var n=[][e];return!!n&&xo((function(){n.call(null,t||function(){return 1},1)}))},So=ko.forEach,Co=Ao("forEach")?[].forEach:function(e){return So(this,e,arguments.length>1?arguments[1]:void 0)};oi({target:"Array",proto:!0,forced:[].forEach!==Co},{forEach:Co});var Oo={},Eo=Ir,Io=jr,jo=Object.keys||function(e){return Eo(e,Io)},To=h,_o=Pt,Ro=Lt,Lo=$t,Po=Y,Mo=jo;Oo.f=To&&!_o?Object.defineProperties:function(e,t){Lo(e);for(var n,r=Po(t),i=Mo(t),o=i.length,a=0;o>a;)Ro.f(e,n=i[a++],r[n]);return e};var Fo,No=J("document","documentElement"),$o=$t,Uo=Oo,zo=jr,Do=wn,qo=No,Bo=kt,Ho="prototype",Yo="script",Go=bn("IE_PROTO"),Zo=function(){},Vo=function(e){return"<"+Yo+">"+e+""},Wo=function(e){e.write(Vo("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ko=function(){try{Fo=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Ko="undefined"!=typeof document?document.domain&&Fo?Wo(Fo):(t=Bo("iframe"),n="java"+Yo+":",t.style.display="none",qo.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Vo("document.F=Object")),e.close(),e.F):Wo(Fo);for(var r=zo.length;r--;)delete Ko[Ho][zo[r]];return Ko()};Do[Go]=!0;var Qo=Object.create||function(e,t){var n;return null!==e?(Zo[Ho]=$o(e),n=new Zo,Zo[Ho]=null,n[Go]=e):n=Ko(),void 0===t?n:Uo.f(n,t)},Jo=st,Xo=Qo,ea=Lt.f,ta=Jo("unscopables"),na=Array.prototype;void 0===na[ta]&&ea(na,ta,{configurable:!0,value:Xo(null)});var ra,ia,oa,aa={},sa=!f((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),la=Ze,ca=Z,ua=He,pa=sa,fa=bn("IE_PROTO"),ha=Object,da=ha.prototype,ga=pa?ha.getPrototypeOf:function(e){var t=ua(e);if(la(t,fa))return t[fa];var n=t.constructor;return ca(n)&&t instanceof n?n.prototype:t instanceof ha?da:null},ma=f,va=Z,ya=W,ba=ga,wa=rr,ka=st("iterator"),xa=!1;[].keys&&("next"in(oa=[].keys())?(ia=ba(ba(oa)))!==Object.prototype&&(ra=ia):xa=!0);var Aa=!ya(ra)||ma((function(){var e={};return ra[ka].call(e)!==e}));Aa&&(ra={}),va(ra[ka])||wa(ra,ka,(function(){return this}));var Sa={IteratorPrototype:ra,BUGGY_SAFARI_ITERATORS:xa},Ca=Lt.f,Oa=Ze,Ea=st("toStringTag"),Ia=function(e,t,n){e&&!n&&(e=e.prototype),e&&!Oa(e,Ea)&&Ca(e,Ea,{configurable:!0,value:t})},ja=Sa.IteratorPrototype,Ta=Qo,_a=S,Ra=Ia,La=aa,Pa=function(){return this},Ma=function(e,t,n,r){var i=t+" Iterator";return e.prototype=Ta(ja,{next:_a(+!r,n)}),Ra(e,i,!1),La[i]=Pa,e},Fa=j,Na=Ae,$a=W,Ua=function(e){return $a(e)||null===e},za=String,Da=TypeError,qa=function(e,t,n){try{return Fa(Na(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},Ba=W,Ha=q,Ya=function(e){if(Ua(e))return e;throw new Da("Can't set "+za(e)+" as a prototype")},Ga=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=qa(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Ha(n),Ya(r),Ba(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0),Za=oi,Va=v,Wa=Z,Ka=Ma,Qa=ga,Ja=Ga,Xa=Ia,es=Jt,ts=rr,ns=aa,rs=an.PROPER,is=an.CONFIGURABLE,os=Sa.IteratorPrototype,as=Sa.BUGGY_SAFARI_ITERATORS,ss=st("iterator"),ls="keys",cs="values",us="entries",ps=function(){return this},fs=function(e,t,n,r,i,o,a){Ka(n,t,r);var s,l,c,u=function(e){if(e===i&&g)return g;if(!as&&e&&e in h)return h[e];switch(e){case ls:case cs:case us:return function(){return new n(this,e)}}return function(){return new n(this)}},p=t+" Iterator",f=!1,h=e.prototype,d=h[ss]||h["@@iterator"]||i&&h[i],g=!as&&d||u(i),m="Array"===t&&h.entries||d;if(m&&(s=Qa(m.call(new e)))!==Object.prototype&&s.next&&(Qa(s)!==os&&(Ja?Ja(s,os):Wa(s[ss])||ts(s,ss,ps)),Xa(s,p,!0)),rs&&i===cs&&d&&d.name!==cs&&(is?es(h,"name",cs):(f=!0,g=function(){return Va(d,this)})),i)if(l={values:u(cs),keys:o?g:u(ls),entries:u(us)},a)for(c in l)(as||f||!(c in h))&&ts(h,c,l[c]);else Za({target:t,proto:!0,forced:as||f},l);return h[ss]!==g&&ts(h,ss,g,{name:i}),ns[t]=g,l},hs=function(e,t){return{value:e,done:t}},ds=Y,gs=function(e){na[ta][e]=!0},ms=aa,vs=Pn,ys=Lt.f,bs=fs,ws=hs,ks=h,xs="Array Iterator",As=vs.set,Ss=vs.getterFor(xs),Cs=bs(Array,"Array",(function(e,t){As(this,{type:xs,target:ds(e),index:0,kind:t})}),(function(){var e=Ss(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,ws(void 0,!0);switch(e.kind){case"keys":return ws(n,!1);case"values":return ws(t[n],!1)}return ws([n,t[n]],!1)}),"values"),Os=ms.Arguments=ms.Array;if(gs("keys"),gs("values"),gs("entries"),ks&&"values"!==Os.name)try{ys(Os,"name",{value:"values"})}catch(e){}var Es=oi,Is=$,js=Y,Ts=Ao,_s=j([].join);Es({target:"Array",proto:!0,forced:Is!==Object||!Ts("join",",")},{join:function(e){return _s(js(this),void 0===e?",":e)}});var Rs=j([].slice),Ls=oi,Ps=si,Ms=Pi,Fs=W,Ns=fr,$s=vr,Us=Y,zs=fi,Ds=st,qs=Rs,Bs=Yi("slice"),Hs=Ds("species"),Ys=Array,Gs=Math.max;Ls({target:"Array",proto:!0,forced:!Bs},{slice:function(e,t){var n,r,i,o=Us(this),a=$s(o),s=Ns(e,a),l=Ns(void 0===t?a:t,a);if(Ps(o)&&(n=o.constructor,(Ms(n)&&(n===Ys||Ps(n.prototype))||Fs(n)&&null===(n=n[Hs]))&&(n=void 0),n===Ys||void 0===n))return qs(o,s,l);for(r=new(void 0===n?Ys:n)(Gs(l-s,0)),i=0;so;o++)if((s=v(e[o]))&&Dp(Zp,s))return s;return new Gp(!1)}r=qp(e,i)}for(l=f?e.next:r.next;!(c=Fp(l,r)).done;){try{s=v(c.value)}catch(e){Hp(r,"throw",e)}if("object"==typeof s&&s&&Dp(Zp,s))return s}return new Gp(!1)},Wp=st("iterator"),Kp=!1;try{var Qp=0,Jp={next:function(){return{done:!!Qp++}},return:function(){Kp=!0}};Jp[Wp]=function(){return this},Array.from(Jp,(function(){throw 2}))}catch(e){}var Xp=Qc,ef=function(e,t){try{if(!t&&!Kp)return!1}catch(e){return!1}var n=!1;try{var r={};r[Wp]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},tf=hu.CONSTRUCTOR||!ef((function(e){Xp.all(e).then(void 0,(function(){}))})),nf=v,rf=Ae,of=du,af=Kc,sf=Vp;oi({target:"Promise",stat:!0,forced:tf},{all:function(e){var t=this,n=of.f(t),r=n.resolve,i=n.reject,o=af((function(){var n=rf(t.resolve),o=[],a=0,s=1;sf(e,(function(e){var l=a++,c=!1;s++,nf(n,t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise}});var lf=oi,cf=hu.CONSTRUCTOR,uf=Qc,pf=J,ff=Z,hf=rr,df=uf&&uf.prototype;if(lf({target:"Promise",proto:!0,forced:cf,real:!0},{catch:function(e){return this.then(void 0,e)}}),ff(uf)){var gf=pf("Promise").prototype.catch;df.catch!==gf&&hf(df,"catch",gf,{unsafe:!0})}var mf=v,vf=Ae,yf=du,bf=Kc,wf=Vp;oi({target:"Promise",stat:!0,forced:tf},{race:function(e){var t=this,n=yf.f(t),r=n.reject,i=bf((function(){var i=vf(t.resolve);wf(e,(function(e){mf(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var kf=du;oi({target:"Promise",stat:!0,forced:hu.CONSTRUCTOR},{reject:function(e){var t=kf.f(this);return(0,t.reject)(e),t.promise}});var xf=$t,Af=W,Sf=du,Cf=oi,Of=hu.CONSTRUCTOR,Ef=function(e,t){if(xf(e),Af(t)&&t.constructor===e)return t;var n=Sf.f(e);return(0,n.resolve)(t),n.promise};J("Promise"),Cf({target:"Promise",stat:!0,forced:Of},{resolve:function(e){return Ef(this,e)}});var If=Z,jf=W,Tf=Ga,_f=W,Rf=L,Lf=st("match"),Pf=ki,Mf=String,Ff=function(e){if("Symbol"===Pf(e))throw new TypeError("Cannot convert a Symbol value to a string");return Mf(e)},Nf=$t,$f=function(){var e=Nf(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Uf=v,zf=Ze,Df=X,qf=$f,Bf=RegExp.prototype,Hf=function(e){var t=e.flags;return void 0!==t||"flags"in Bf||zf(e,"flags")||!Df(Bf,e)?t:Uf(qf,e)},Yf=f,Gf=u.RegExp,Zf=Yf((function(){var e=Gf("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),Vf=Zf||Yf((function(){return!Gf("a","y").sticky})),Wf={BROKEN_CARET:Zf||Yf((function(){var e=Gf("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:Vf,UNSUPPORTED_Y:Zf},Kf=Lt.f,Qf=f,Jf=u.RegExp,Xf=Qf((function(){var e=Jf(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),eh=f,th=u.RegExp,nh=eh((function(){var e=th("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")})),rh=h,ih=u,oh=j,ah=Qr,sh=function(e,t,n){var r,i;return Tf&&If(r=t.constructor)&&r!==n&&jf(i=r.prototype)&&i!==n.prototype&&Tf(e,i),e},lh=Jt,ch=Qo,uh=ir.f,ph=X,fh=function(e){var t;return _f(e)&&(void 0!==(t=e[Lf])?!!t:"RegExp"===Rf(e))},hh=Ff,dh=Hf,gh=Wf,mh=function(e,t,n){n in e||Kf(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},vh=rr,yh=f,bh=Ze,wh=Pn.enforce,kh=El,xh=Xf,Ah=nh,Sh=st("match"),Ch=ih.RegExp,Oh=Ch.prototype,Eh=ih.SyntaxError,Ih=oh(Oh.exec),jh=oh("".charAt),Th=oh("".replace),_h=oh("".indexOf),Rh=oh("".slice),Lh=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ph=/a/g,Mh=/a/g,Fh=new Ch(Ph)!==Ph,Nh=gh.MISSED_STICKY,$h=gh.UNSUPPORTED_Y,Uh=rh&&(!Fh||Nh||xh||Ah||yh((function(){return Mh[Sh]=!1,Ch(Ph)!==Ph||Ch(Mh)===Mh||"/a/i"!==String(Ch(Ph,"i"))})));if(ah("RegExp",Uh)){for(var zh=function(e,t){var n,r,i,o,a,s,l=ph(Oh,this),c=fh(e),u=void 0===t,p=[],f=e;if(!l&&c&&u&&e.constructor===zh)return e;if((c||ph(Oh,e))&&(e=e.source,u&&(t=dh(f))),e=void 0===e?"":hh(e),t=void 0===t?"":hh(t),f=e,xh&&"dotAll"in Ph&&(r=!!t&&_h(t,"s")>-1)&&(t=Th(t,/s/g,"")),n=t,Nh&&"sticky"in Ph&&(i=!!t&&_h(t,"y")>-1)&&$h&&(t=Th(t,/y/g,"")),Ah&&(o=function(e){for(var t,n=e.length,r=0,i="",o=[],a=ch(null),s=!1,l=!1,c=0,u="";r<=n;r++){if("\\"===(t=jh(e,r)))t+=jh(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:Ih(Lh,Rh(e,r+1))&&(r+=2,l=!0),i+=t,c++;continue;case">"===t&&l:if(""===u||bh(a,u))throw new Eh("Invalid capture group name");a[u]=!0,o[o.length]=[u,c],l=!1,u="";continue}l?u+=t:i+=t}return[i,o]}(e),e=o[0],p=o[1]),a=sh(Ch(e,t),l?this:Oh,zh),(r||i||p.length)&&(s=wh(a),r&&(s.dotAll=!0,s.raw=zh(function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(t=jh(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+jh(e,++r);return i}(e),n)),i&&(s.sticky=!0),p.length&&(s.groups=p)),e!==f)try{lh(a,"source",""===f?"(?:)":f)}catch(e){}return a},Dh=uh(Ch),qh=0;Dh.length>qh;)mh(zh,Ch,Dh[qh++]);Oh.constructor=zh,zh.prototype=Oh,vh(ih,"RegExp",zh,{constructor:!0})}kh("RegExp");var Bh=v,Hh=j,Yh=Ff,Gh=$f,Zh=Wf,Vh=Qo,Wh=Pn.get,Kh=Xf,Qh=nh,Jh=De("native-string-replace",String.prototype.replace),Xh=RegExp.prototype.exec,ed=Xh,td=Hh("".charAt),nd=Hh("".indexOf),rd=Hh("".replace),id=Hh("".slice),od=function(){var e=/a/,t=/b*/g;return Bh(Xh,e,"a"),Bh(Xh,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),ad=Zh.BROKEN_CARET,sd=void 0!==/()??/.exec("")[1];(od||sd||ad||Kh||Qh)&&(ed=function(e){var t,n,r,i,o,a,s,l=this,c=Wh(l),u=Yh(e),p=c.raw;if(p)return p.lastIndex=l.lastIndex,t=Bh(ed,p,u),l.lastIndex=p.lastIndex,t;var f=c.groups,h=ad&&l.sticky,d=Bh(Gh,l),g=l.source,m=0,v=u;if(h&&(d=rd(d,"y",""),-1===nd(d,"g")&&(d+="g"),v=id(u,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==td(u,l.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),n=new RegExp("^(?:"+g+")",d)),sd&&(n=new RegExp("^"+g+"$(?!\\s)",d)),od&&(r=l.lastIndex),i=Bh(Xh,h?n:l,v),h?i?(i.input=id(i.input,m),i[0]=id(i[0],m),i.index=l.lastIndex,l.lastIndex+=i[0].length):l.lastIndex=0:od&&i&&(l.lastIndex=l.global?i.index+i[0].length:r),sd&&i&&i.length>1&&Bh(Jh,i[0],n,(function(){for(o=1;o=s?e?"":void 0:(r=Cd(o,a))<55296||r>56319||a+1===s||(i=Cd(o,a+1))<56320||i>57343?e?Sd(o,a):r:e?Od(o,a,a+2):i-56320+(r-55296<<10)+65536}},Id={codeAt:Ed(!1),charAt:Ed(!0)},jd=Id.charAt,Td=Ff,_d=Pn,Rd=fs,Ld=hs,Pd="String Iterator",Md=_d.set,Fd=_d.getterFor(Pd);Rd(String,"String",(function(e){Md(this,{type:Pd,string:Td(e),index:0})}),(function(){var e,t=Fd(this),n=t.string,r=t.index;return r>=n.length?Ld(void 0,!0):(e=jd(n,r),t.index+=e.length,Ld(e,!1))}));var Nd=v,$d=rr,Ud=ld,zd=f,Dd=st,qd=Jt,Bd=Dd("species"),Hd=RegExp.prototype,Yd=function(e,t,n,r){var i=Dd(e),o=!zd((function(){var t={};return t[i]=function(){return 7},7!==""[e](t)})),a=o&&!zd((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Bd]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||n){var s=/./[i],l=t(i,""[e],(function(e,t,n,r,i){var a=t.exec;return a===Ud||a===Hd.exec?o&&!i?{done:!0,value:Nd(s,t,n,r)}:{done:!0,value:Nd(e,n,t,r)}:{done:!1}}));$d(String.prototype,e,l[0]),$d(Hd,i,l[1])}r&&qd(Hd[i],"sham",!0)},Gd=Id.charAt,Zd=function(e,t,n){return t+(n?Gd(e,t).length:1)},Vd=v,Wd=$t,Kd=Z,Qd=L,Jd=ld,Xd=TypeError,eg=function(e,t){var n=e.exec;if(Kd(n)){var r=Vd(n,e,t);return null!==r&&Wd(r),r}if("RegExp"===Qd(e))return Vd(Jd,e,t);throw new Xd("RegExp#exec called on incompatible receiver")},tg=v,ng=$t,rg=U,ig=gr,og=Ff,ag=q,sg=Oe,lg=Zd,cg=eg;Yd("match",(function(e,t,n){return[function(t){var n=ag(this),r=rg(t)?void 0:sg(t,e);return r?tg(r,t,n):new RegExp(t)[e](og(n))},function(e){var r=ng(this),i=og(e),o=n(t,r,i);if(o.done)return o.value;if(!r.global)return cg(r,i);var a=r.unicode;r.lastIndex=0;for(var s,l=[],c=0;null!==(s=cg(r,i));){var u=og(s[0]);l[c]=u,""===u&&(r.lastIndex=lg(i,ig(r.lastIndex),a)),c++}return 0===c?null:l}]}));var ug=j,pg=He,fg=Math.floor,hg=ug("".charAt),dg=ug("".replace),gg=ug("".slice),mg=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vg=/\$([$&'`]|\d{1,2})/g,yg=Bl,bg=v,wg=j,kg=Yd,xg=f,Ag=$t,Sg=Z,Cg=U,Og=lr,Eg=gr,Ig=Ff,jg=q,Tg=Zd,_g=Oe,Rg=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,l=vg;return void 0!==i&&(i=pg(i),l=mg),dg(o,l,(function(o,l){var c;switch(hg(l,0)){case"$":return"$";case"&":return e;case"`":return gg(t,0,n);case"'":return gg(t,a);case"<":c=i[gg(l,1,-1)];break;default:var u=+l;if(0===u)return o;if(u>s){var p=fg(u/10);return 0===p?o:p<=s?void 0===r[p-1]?hg(l,1):r[p-1]+hg(l,1):o}c=r[u-1]}return void 0===c?"":c}))},Lg=eg,Pg=st("replace"),Mg=Math.max,Fg=Math.min,Ng=wg([].concat),$g=wg([].push),Ug=wg("".indexOf),zg=wg("".slice),Dg="$0"==="a".replace(/./,"$0"),qg=!!/./[Pg]&&""===/./[Pg]("a","$0");kg("replace",(function(e,t,n){var r=qg?"$":"$0";return[function(e,n){var r=jg(this),i=Cg(e)?void 0:_g(e,Pg);return i?bg(i,e,r,n):bg(t,Ig(r),e,n)},function(e,i){var o=Ag(this),a=Ig(e);if("string"==typeof i&&-1===Ug(i,r)&&-1===Ug(i,"$<")){var s=n(t,o,a,i);if(s.done)return s.value}var l=Sg(i);l||(i=Ig(i));var c,u=o.global;u&&(c=o.unicode,o.lastIndex=0);for(var p,f=[];null!==(p=Lg(o,a))&&($g(f,p),u);){""===Ig(p[0])&&(o.lastIndex=Tg(a,Eg(o.lastIndex),c))}for(var h,d="",g=0,m=0;m=g&&(d+=zg(a,g,b)+v,g=b+y.length)}return d+zg(a,g)}]}),!!xg((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!Dg||qg);var Bg=v,Hg=j,Yg=Yd,Gg=$t,Zg=U,Vg=q,Wg=$l,Kg=Zd,Qg=gr,Jg=Ff,Xg=Oe,em=eg,tm=f,nm=Wf.UNSUPPORTED_Y,rm=Math.min,im=Hg([].push),om=Hg("".slice),am=!tm((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),sm="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;Yg("split",(function(e,t,n){var r="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Bg(t,this,e,n)}:t;return[function(t,n){var i=Vg(this),o=Zg(t)?void 0:Xg(t,e);return o?Bg(o,t,i,n):Bg(r,Jg(i),t,n)},function(e,i){var o=Gg(this),a=Jg(e);if(!sm){var s=n(r,o,a,i,r!==t);if(s.done)return s.value}var l=Wg(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(nm?"g":"y"),p=new l(nm?"^(?:"+o.source+")":o,u),f=void 0===i?4294967295:i>>>0;if(0===f)return[];if(0===a.length)return null===em(p,a)?[a]:[];for(var h=0,d=0,g=[];di;)for(var s,l=ev(arguments[i++]),c=o?rv(Km(l),o(l)):Km(l),u=c.length,p=0;u>p;)s=c[p++],Gm&&!Vm(a,l,s)||(n[s]=l[s]);return n}:tv,ov=$t,av=Pp,sv=fo,lv=v,cv=He,uv=function(e,t,n,r){try{return r?t(ov(n)[0],n[1]):t(n)}catch(t){av(e,"throw",t)}},pv=vp,fv=Pi,hv=vr,dv=fi,gv=Tp,mv=Ap,vv=Array,yv=j,bv=2147483647,wv=/[^\0-\u007E]/,kv=/[.\u3002\uFF0E\uFF61]/g,xv="Overflow: input needs wider integers to process",Av=RangeError,Sv=yv(kv.exec),Cv=Math.floor,Ov=String.fromCharCode,Ev=yv("".charCodeAt),Iv=yv([].join),jv=yv([].push),Tv=yv("".replace),_v=yv("".split),Rv=yv("".toLowerCase),Lv=function(e){return e+22+75*(e<26)},Pv=function(e,t,n){var r=0;for(e=n?Cv(e/700):e>>1,e+=Cv(e/t);e>455;)e=Cv(e/35),r+=36;return Cv(r+36*e/(e+38))},Mv=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n=55296&&i<=56319&&n=o&&rCv((bv-a)/p))throw new Av(xv);for(a+=(u-o)*p,o=u,n=0;nbv)throw new Av(xv);if(r===o){for(var f=a,h=36;;){var d=h<=s?1:h>=s+26?26:h-s;if(f0;)e[i]=e[--i];i!==o++&&(e[i]=r)}else for(var a=$v(n/2),s=Uv(Nv(e,0,a),t),l=Uv(Nv(e,a),t),c=s.length,u=l.length,p=0,f=0;p=t.length)return e.target=void 0,py(void 0,!0);var r=t[n];switch(e.kind){case"keys":return py(r.key,!1);case"values":return py(r.value,!1)}return py([r.key,r.value],!1)}),!0),Zy=function(e){this.entries=[],this.url=null,void 0!==e&&(oy(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===jy(e,0)?Fy(e,1):e:ay(e)))};Zy.prototype={type:gy,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,a,s,l=this.entries,c=uy(e);if(c)for(n=(t=cy(e,c)).next;!(r=Bv(n,t)).done;){if(o=(i=cy(iy(r.value))).next,(a=Bv(o,i)).done||(s=Bv(o,i)).done||!Bv(o,i).done)throw new Oy("Expected sequence with length 2");_y(l,{key:ay(a.value),value:ay(s.value)})}else for(var u in e)ty(e,u)&&_y(l,{key:u,value:ay(e[u])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,i=My(e,"&"),o=0;o0?arguments[0]:void 0));Yv||(this.size=e.entries.length)},Wy=Vy.prototype;if(Wv(Wy,{append:function(e,t){var n=yy(this);fy(arguments.length,2),_y(n.entries,{key:ay(e),value:ay(t)}),Yv||this.length++,n.updateURL()},delete:function(e){for(var t=yy(this),n=fy(arguments.length,1),r=t.entries,i=ay(e),o=n<2?void 0:arguments[1],a=void 0===o?o:ay(o),s=0;st.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=yy(this).entries,r=ny(e,arguments.length>1?arguments[1]:void 0),i=0;i1?Jy(arguments[1]):{})}}),ey(ky)){var Xy=function(e){return Xv(this,Ay),new ky(e,arguments.length>1?Jy(arguments[1]):{})};Ay.constructor=Xy,Xy.prototype=Ay,zv({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Xy})}}var eb,tb=oi,nb=h,rb=Ym,ib=u,ob=fo,ab=j,sb=rr,lb=sl,cb=Tl,ub=Ze,pb=iv,fb=function(e){var t=cv(e),n=fv(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=sv(i,r>2?arguments[2]:void 0));var a,s,l,c,u,p,f=mv(t),h=0;if(!f||this===vv&&pv(f))for(a=hv(t),s=n?new this(a):vv(a);a>h;h++)p=o?i(t[h],h):t[h],dv(s,h,p);else for(s=n?new this:[],u=(c=gv(t,f)).next;!(l=lv(u,c)).done;h++)p=o?uv(c,i,[l.value,h],!0):l.value,dv(s,h,p);return s.length=h,s},hb=Rs,db=Id.codeAt,gb=function(e){var t,n,r=[],i=_v(Tv(Rv(e),kv,"."),".");for(t=0;t?@[\\\]^|]/,Xb=/[\0\t\n\r #/:<>?@[\\\]^|]/,ew=/^[\u0000-\u0020]+/,tw=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,nw=/[\t\n\r]/g,rw=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)Db(t,e%256),e=Ib(e/256);return Rb(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=Lb(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},iw={},ow=pb({},iw,{" ":1,'"':1,"<":1,">":1,"`":1}),aw=pb({},ow,{"#":1,"?":1,"{":1,"}":1}),sw=pb({},aw,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),lw=function(e,t){var n=db(e,0);return n>32&&n<127&&!ub(t,e)?e:encodeURIComponent(e)},cw={ftp:21,file:null,http:80,https:443,ws:80,wss:443},uw=function(e,t){var n;return 2===e.length&&_b(Yb,Tb(e,0))&&(":"===(n=Tb(e,1))||!t&&"|"===n)},pw=function(e){var t;return e.length>1&&uw(Ub(e,0,2))&&(2===e.length||"/"===(t=Tb(e,2))||"\\"===t||"?"===t||"#"===t)},fw=function(e){return"."===e||"%2e"===zb(e)},hw={},dw={},gw={},mw={},vw={},yw={},bw={},ww={},kw={},xw={},Aw={},Sw={},Cw={},Ow={},Ew={},Iw={},jw={},Tw={},_w={},Rw={},Lw={},Pw=function(e,t,n){var r,i,o,a=mb(e);if(t){if(i=this.parse(a))throw new Ob(i);this.searchParams=null}else{if(void 0!==n&&(r=new Pw(n,!0)),i=this.parse(a,null,r))throw new Ob(i);(o=Sb(new Ab)).bindURL(this),this.searchParams=o}};Pw.prototype={type:"URL",parse:function(e,t,n){var r,i,o,a,s,l=this,c=t||hw,u=0,p="",f=!1,h=!1,d=!1;for(e=mb(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=Fb(e,ew,""),e=Fb(e,tw,"$1")),e=Fb(e,nw,""),r=fb(e);u<=r.length;){switch(i=r[u],c){case hw:if(!i||!_b(Yb,i)){if(t)return qb;c=gw;continue}p+=zb(i),c=dw;break;case dw:if(i&&(_b(Gb,i)||"+"===i||"-"===i||"."===i))p+=zb(i);else{if(":"!==i){if(t)return qb;p="",c=gw,u=0;continue}if(t&&(l.isSpecial()!==ub(cw,p)||"file"===p&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=p,t)return void(l.isSpecial()&&cw[l.scheme]===l.port&&(l.port=null));p="","file"===l.scheme?c=Ow:l.isSpecial()&&n&&n.scheme===l.scheme?c=mw:l.isSpecial()?c=ww:"/"===r[u+1]?(c=vw,u++):(l.cannotBeABaseURL=!0,Mb(l.path,""),c=_w)}break;case gw:if(!n||n.cannotBeABaseURL&&"#"!==i)return qb;if(n.cannotBeABaseURL&&"#"===i){l.scheme=n.scheme,l.path=hb(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Lw;break}c="file"===n.scheme?Ow:yw;continue;case mw:if("/"!==i||"/"!==r[u+1]){c=yw;continue}c=kw,u++;break;case vw:if("/"===i){c=xw;break}c=Tw;continue;case yw:if(l.scheme=n.scheme,i===eb)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=hb(n.path),l.query=n.query;else if("/"===i||"\\"===i&&l.isSpecial())c=bw;else if("?"===i)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=hb(n.path),l.query="",c=Rw;else{if("#"!==i){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=hb(n.path),l.path.length--,c=Tw;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=hb(n.path),l.query=n.query,l.fragment="",c=Lw}break;case bw:if(!l.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Tw;continue}c=xw}else c=kw;break;case ww:if(c=kw,"/"!==i||"/"!==Tb(p,u+1))continue;u++;break;case kw:if("/"!==i&&"\\"!==i){c=xw;continue}break;case xw:if("@"===i){f&&(p="%40"+p),f=!0,o=fb(p);for(var g=0;g65535)return Hb;l.port=l.isSpecial()&&y===cw[l.scheme]?null:y,p=""}if(t)return;c=jw;continue}return Hb}p+=i;break;case Ow:if(l.scheme="file","/"===i||"\\"===i)c=Ew;else{if(!n||"file"!==n.scheme){c=Tw;continue}switch(i){case eb:l.host=n.host,l.path=hb(n.path),l.query=n.query;break;case"?":l.host=n.host,l.path=hb(n.path),l.query="",c=Rw;break;case"#":l.host=n.host,l.path=hb(n.path),l.query=n.query,l.fragment="",c=Lw;break;default:pw(Rb(hb(r,u),""))||(l.host=n.host,l.path=hb(n.path),l.shortenPath()),c=Tw;continue}}break;case Ew:if("/"===i||"\\"===i){c=Iw;break}n&&"file"===n.scheme&&!pw(Rb(hb(r,u),""))&&(uw(n.path[0],!0)?Mb(l.path,n.path[0]):l.host=n.host),c=Tw;continue;case Iw:if(i===eb||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&uw(p))c=Tw;else if(""===p){if(l.host="",t)return;c=jw}else{if(a=l.parseHost(p))return a;if("localhost"===l.host&&(l.host=""),t)return;p="",c=jw}continue}p+=i;break;case jw:if(l.isSpecial()){if(c=Tw,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==eb&&(c=Tw,"/"!==i))continue}else l.fragment="",c=Lw;else l.query="",c=Rw;break;case Tw:if(i===eb||"/"===i||"\\"===i&&l.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(s=zb(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(l.shortenPath(),"/"===i||"\\"===i&&l.isSpecial()||Mb(l.path,"")):fw(p)?"/"===i||"\\"===i&&l.isSpecial()||Mb(l.path,""):("file"===l.scheme&&!l.path.length&&uw(p)&&(l.host&&(l.host=""),p=Tb(p,0)+":"),Mb(l.path,p)),p="","file"===l.scheme&&(i===eb||"?"===i||"#"===i))for(;l.path.length>1&&""===l.path[0];)Nb(l.path);"?"===i?(l.query="",c=Rw):"#"===i&&(l.fragment="",c=Lw)}else p+=lw(i,aw);break;case _w:"?"===i?(l.query="",c=Rw):"#"===i?(l.fragment="",c=Lw):i!==eb&&(l.path[0]+=lw(i,iw));break;case Rw:t||"#"!==i?i!==eb&&("'"===i&&l.isSpecial()?l.query+="%27":l.query+="#"===i?"%23":lw(i,iw)):(l.fragment="",c=Lw);break;case Lw:i!==eb&&(l.fragment+=lw(i,ow))}u++}},parseHost:function(e){var t,n,r;if("["===Tb(e,0)){if("]"!==Tb(e,e.length-1))return Bb;if(t=function(e){var t,n,r,i,o,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,p=0,f=function(){return Tb(e,p)};if(":"===f()){if(":"!==Tb(e,1))return;p+=2,u=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=n=0;n<4&&_b(Qb,f());)t=16*t+Eb(f(),16),p++,n++;if("."===f()){if(0===n)return;if(p-=n,c>6)return;for(r=0;f();){if(i=null,r>0){if(!("."===f()&&r<4))return;p++}if(!_b(Zb,f()))return;for(;_b(Zb,f());){if(o=Eb(f(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;p++}l[c]=256*l[c]+i,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===f()){if(p++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;p++,u=++c}}if(null!==u)for(a=c-u,c=7;0!==c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!==c)return;return l}(Ub(e,1,-1)),!t)return Bb;this.host=t}else if(this.isSpecial()){if(e=gb(e),_b(Jb,e))return Bb;if(t=function(e){var t,n,r,i,o,a,s,l=$b(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r1&&"0"===Tb(i,0)&&(o=_b(Vb,i)?16:8,i=Ub(i,8===o?1:2)),""===i)a=0;else{if(!_b(10===o?Kb:8===o?Wb:Qb,i))return e;a=Eb(i,o)}Mb(n,a)}for(r=0;r=jb(256,5-t))return null}else if(a>255)return null;for(s=Pb(n),r=0;r1?arguments[1]:void 0,r=kb(t,new Pw(e,!1,n));nb||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Fw=Mw.prototype,Nw=function(e,t){return{get:function(){return xb(this)[e]()},set:t&&function(e){return xb(this)[t](e)},configurable:!0,enumerable:!0}};if(nb&&(lb(Fw,"href",Nw("serialize","setHref")),lb(Fw,"origin",Nw("getOrigin")),lb(Fw,"protocol",Nw("getProtocol","setProtocol")),lb(Fw,"username",Nw("getUsername","setUsername")),lb(Fw,"password",Nw("getPassword","setPassword")),lb(Fw,"host",Nw("getHost","setHost")),lb(Fw,"hostname",Nw("getHostname","setHostname")),lb(Fw,"port",Nw("getPort","setPort")),lb(Fw,"pathname",Nw("getPathname","setPathname")),lb(Fw,"search",Nw("getSearch","setSearch")),lb(Fw,"searchParams",Nw("getSearchParams")),lb(Fw,"hash",Nw("getHash","setHash"))),sb(Fw,"toJSON",(function(){return xb(this).serialize()}),{enumerable:!0}),sb(Fw,"toString",(function(){return xb(this).serialize()}),{enumerable:!0}),Cb){var $w=Cb.createObjectURL,Uw=Cb.revokeObjectURL;$w&&sb(Mw,"createObjectURL",ob($w,Cb)),Uw&&sb(Mw,"revokeObjectURL",ob(Uw,Cb))}vb(Mw,"URL"),tb({global:!0,constructor:!0,forced:!rb,sham:!nb},{URL:Mw});var zw=v;function Dw(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}oi({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return zw(URL.prototype.toString,this)}});let qw={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const Bw=/[&<>"']/,Hw=new RegExp(Bw.source,"g"),Yw=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Gw=new RegExp(Yw.source,"g"),Zw={"&":"&","<":"<",">":">",'"':""","'":"'"},Vw=e=>Zw[e];function Ww(e,t){if(t){if(Bw.test(e))return e.replace(Hw,Vw)}else if(Yw.test(e))return e.replace(Gw,Vw);return e}const Kw=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Qw(e){return e.replace(Kw,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Jw=/(^|[^\[])\^/g;function Xw(e,t){e="string"==typeof e?e:e.source,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(Jw,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}const ek=/[^\w:]/g,tk=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function nk(e,t,n){if(e){let e;try{e=decodeURIComponent(Qw(n)).replace(ek,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!tk.test(n)&&(n=function(e,t){rk[" "+e]||(ik.test(e)?rk[" "+e]=e+"/":rk[" "+e]=ck(e,"/",!0));e=rk[" "+e];const n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(ok,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(ak,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}const rk={},ik=/^[^:]+:\/*[^/]*$/,ok=/^([^:]+:)[\s\S]*$/,ak=/^([^:]+:\/*[^/]*)[\s\S]*$/;const sk={exec:function(){}};function lk(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function pk(e,t,n,r){const i=t.href,o=t.title?Ww(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:o,text:Ww(a)}}class fk{constructor(e){this.options=e||qw}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:ck(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=ck(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:r,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,i,o,a,s,l,c,u,p,f,h,d=t[1].trim();const g=d.length>1,m={type:"list",raw:"",ordered:g,start:g?+d.slice(0,-1):"",loose:!1,items:[]};d=g?`\\d{1,9}\\${d.slice(-1)}`:`\\${d}`,this.options.pedantic&&(d=g?d:"[*+-]");const v=new RegExp(`^( {0,3}${d})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;e&&(h=!1,t=v.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),u=e.split("\n",1)[0],this.options.pedantic?(o=2,f=c.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,f=c.slice(o),o+=t[1].length),s=!1,!c&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),h=!0),!h){const t=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),r=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),a=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;e&&(p=e.split("\n",1)[0],u=p,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!i.test(u))&&!a.test(u)&&!t.test(u)&&!r.test(e);){if(u.search(/[^ ]/)>=o||!u.trim())f+="\n"+u.slice(o);else{if(s)break;if(c.search(/[^ ]/)>=4)break;if(i.test(c))break;if(a.test(c))break;if(r.test(c))break;f+="\n"+u}s||u.trim()||(s=!0),n+=p+"\n",e=e.substring(p.length+1),c=u.slice(o)}}m.loose||(l?m.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(f),r&&(i="[ ] "!==r[0],f=f.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:f}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=f.trimRight(),m.raw=m.raw.trimRight();const y=m.items.length;for(a=0;a"space"===e.type)),t=e.length>0&&e.some((e=>/\n.*\n/.test(e.raw)));m.loose=t}if(m.loose)for(a=0;a$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:lk(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r,i,o,a=e.align.length;for(n=0;n({text:e})));for(a=e.header.length,r=0;r/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Ww(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;const t=ck(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,i=0;for(;i-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^$/.test(e)?n.slice(1):n.slice(1,-1)),pk(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return pk(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){const n=r[0].length-1;let i,o,a=n,s=0;const l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=i.length,r[3]||r[4]){a+=o;continue}if((r[5]||r[6])&&n%3&&!((n+o)%3)){s+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+s);const t=e.slice(0,n+r.index+(r[0].length-i.length)+o);if(Math.min(n,o)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=Ww(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=Ww(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=Ww(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=Ww(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=Ww(n[0]),r="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Ww(n[0]):n[0]:Ww(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}const hk={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:sk,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};hk.def=Xw(hk.def).replace("label",hk._label).replace("title",hk._title).getRegex(),hk.bullet=/(?:[*+-]|\d{1,9}[.)])/,hk.listItemStart=Xw(/^( *)(bull) */).replace("bull",hk.bullet).getRegex(),hk.list=Xw(hk.list).replace(/bull/g,hk.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+hk.def.source+")").getRegex(),hk._tag="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",hk._comment=/|$)/,hk.html=Xw(hk.html,"i").replace("comment",hk._comment).replace("tag",hk._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),hk.paragraph=Xw(hk._paragraph).replace("hr",hk.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",hk._tag).getRegex(),hk.blockquote=Xw(hk.blockquote).replace("paragraph",hk.paragraph).getRegex(),hk.normal={...hk},hk.gfm={...hk.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},hk.gfm.table=Xw(hk.gfm.table).replace("hr",hk.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",hk._tag).getRegex(),hk.gfm.paragraph=Xw(hk._paragraph).replace("hr",hk.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",hk.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",hk._tag).getRegex(),hk.pedantic={...hk.normal,html:Xw("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",hk._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:sk,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Xw(hk.normal._paragraph).replace("hr",hk.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",hk.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const dk={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:sk,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:sk,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}dk._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",dk.punctuation=Xw(dk.punctuation).replace(/punctuation/g,dk._punctuation).getRegex(),dk.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,dk.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,dk._comment=Xw(hk._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),dk.emStrong.lDelim=Xw(dk.emStrong.lDelim).replace(/punct/g,dk._punctuation).getRegex(),dk.emStrong.rDelimAst=Xw(dk.emStrong.rDelimAst,"g").replace(/punct/g,dk._punctuation).getRegex(),dk.emStrong.rDelimUnd=Xw(dk.emStrong.rDelimUnd,"g").replace(/punct/g,dk._punctuation).getRegex(),dk._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,dk._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,dk._email=/[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])?)+(?![-_])/,dk.autolink=Xw(dk.autolink).replace("scheme",dk._scheme).replace("email",dk._email).getRegex(),dk._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,dk.tag=Xw(dk.tag).replace("comment",dk._comment).replace("attribute",dk._attribute).getRegex(),dk._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,dk._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,dk._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,dk.link=Xw(dk.link).replace("label",dk._label).replace("href",dk._href).replace("title",dk._title).getRegex(),dk.reflink=Xw(dk.reflink).replace("label",dk._label).replace("ref",hk._label).getRegex(),dk.nolink=Xw(dk.nolink).replace("ref",hk._label).getRegex(),dk.reflinkSearch=Xw(dk.reflinkSearch,"g").replace("reflink",dk.reflink).replace("nolink",dk.nolink).getRegex(),dk.normal={...dk},dk.pedantic={...dk.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Xw(/^!?\[(label)\]\((.*?)\)/).replace("label",dk._label).getRegex(),reflink:Xw(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",dk._label).getRegex()},dk.gfm={...dk.normal,escape:Xw(dk.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i)))r=t[t.length-1],o&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),o=i.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,i,o,a,s,l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+uk("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+uk("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,o.index+o[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,l,s))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,mk))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,mk))){if(i=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i,gk))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class yk{constructor(e){this.options=e||qw}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",r?'
'+(n?e:Ww(e,!0))+"
\n":"
"+(n?e:Ww(e,!0))+"
\n"}blockquote(e){return`
\n${e}
\n`}html(e){return e}heading(e,t,n,r){if(this.options.headerIds){return`${e}\n`}return`${e}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"}listitem(e){return`
  • ${e}
  • \n`}checkbox(e){return" "}paragraph(e){return`

    ${e}

    \n`}table(e,t){return t&&(t=`${t}`),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return`\n${e}\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`\n`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
    ":"
    "}del(e){return`${e}`}link(e,t,n){if(null===(e=nk(this.options.sanitize,this.options.baseUrl,e)))return n;let r='
    ",r}image(e,t,n){if(null===(e=nk(this.options.sanitize,this.options.baseUrl,e)))return n;let r=`${n}":">",r}text(e){return e}}class bk{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class wk{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class kk{constructor(e){this.options=e||qw,this.options.renderer=this.options.renderer||new yk,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new bk,this.slugger=new wk}static parse(e,t){return new kk(t).parse(e)}static parseInline(e,t){return new kk(t).parseInline(e)}parse(e,t=!0){let n,r,i,o,a,s,l,c,u,p,f,h,d,g,m,v,y,b,w,k="";const x=e.length;for(n=0;n0&&"paragraph"===m.tokens[0].type?(m.tokens[0].text=b+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=b+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:b}):g+=b),g+=this.parse(m.tokens,d),u+=this.renderer.listitem(g,y,v);k+=this.renderer.list(u,f,h);continue;case"html":k+=this.renderer.html(p.text);continue;case"paragraph":k+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;n+1{"function"==typeof r&&(i=r,r=null);const o={...r},a=function(e,t,n){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="

    An error occurred:

    "+Ww(r.message+"",!0)+"
    ";return t?Promise.resolve(e):n?void n(null,e):e}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}((r={...Sk.defaults,...o}).silent,r.async,i);if(null==n)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(r),r.hooks&&(r.hooks.options=r),i){const o=r.highlight;let s;try{r.hooks&&(n=r.hooks.preprocess(n)),s=e(n,r)}catch(e){return a(e)}const l=function(e){let n;if(!e)try{r.walkTokens&&Sk.walkTokens(s,r.walkTokens),n=t(s,r),r.hooks&&(n=r.hooks.postprocess(n))}catch(t){e=t}return r.highlight=o,e?a(e):i(null,n)};if(!o||o.length<3)return l();if(delete r.highlight,!s.length)return l();let c=0;return Sk.walkTokens(s,(function(e){"code"===e.type&&(c++,setTimeout((()=>{o(e.text,e.lang,(function(t,n){if(t)return l(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),c--,0===c&&l()}))}),0))})),void(0===c&&l())}if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then((t=>e(t,r))).then((e=>r.walkTokens?Promise.all(Sk.walkTokens(e,r.walkTokens)).then((()=>e)):e)).then((e=>t(e,r))).then((e=>r.hooks?r.hooks.postprocess(e):e)).catch(a);try{r.hooks&&(n=r.hooks.preprocess(n));const i=e(n,r);r.walkTokens&&Sk.walkTokens(i,r.walkTokens);let o=t(i,r);return r.hooks&&(o=r.hooks.postprocess(o)),o}catch(e){return a(e)}}}function Sk(e,t,n){return Ak(vk.lex,kk.parse)(e,t,n)} /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ -function Ck(e){return null==e}Sk.options=Sk.setOptions=function(e){var t;return Sk.defaults={...Sk.defaults,...e},t=Sk.defaults,qw=t,Sk},Sk.getDefaults=Dw,Sk.defaults=qw,Sk.use=function(...e){const t=Sk.defaults.extensions||{renderers:{},childTokens:{}};e.forEach((e=>{const n={...e};if(n.async=Sk.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=Sk.defaults.renderer||new yk;for(const n in e.renderer){const r=t[n];t[n]=(...i)=>{let o=e.renderer[n].apply(t,i);return!1===o&&(o=r.apply(t,i)),o}}n.renderer=t}if(e.tokenizer){const t=Sk.defaults.tokenizer||new fk;for(const n in e.tokenizer){const r=t[n];t[n]=(...i)=>{let o=e.tokenizer[n].apply(t,i);return!1===o&&(o=r.apply(t,i)),o}}n.tokenizer=t}if(e.hooks){const t=Sk.defaults.hooks||new xk;for(const n in e.hooks){const r=t[n];xk.passThroughHooks.has(n)?t[n]=i=>{if(Sk.defaults.async)return Promise.resolve(e.hooks[n].call(t,i)).then((e=>r.call(t,e)));const o=e.hooks[n].call(t,i);return r.call(t,o)}:t[n]=(...i)=>{let o=e.hooks[n].apply(t,i);return!1===o&&(o=r.apply(t,i)),o}}n.hooks=t}if(e.walkTokens){const t=Sk.defaults.walkTokens;n.walkTokens=function(n){let r=[];return r.push(e.walkTokens.call(this,n)),t&&(r=r.concat(t.call(this,n))),r}}Sk.setOptions(n)}))},Sk.walkTokens=function(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(Sk,r)),r.type){case"table":for(const e of r.header)n=n.concat(Sk.walkTokens(e.tokens,t));for(const e of r.rows)for(const r of e)n=n.concat(Sk.walkTokens(r.tokens,t));break;case"list":n=n.concat(Sk.walkTokens(r.items,t));break;default:Sk.defaults.extensions&&Sk.defaults.extensions.childTokens&&Sk.defaults.extensions.childTokens[r.type]?Sk.defaults.extensions.childTokens[r.type].forEach((function(e){n=n.concat(Sk.walkTokens(r[e],t))})):r.tokens&&(n=n.concat(Sk.walkTokens(r.tokens,t)))}return n},Sk.parseInline=Ak(vk.lexInline,kk.parseInline),Sk.Parser=kk,Sk.parser=kk.parse,Sk.Renderer=yk,Sk.TextRenderer=bk,Sk.Lexer=vk,Sk.lexer=vk.lex,Sk.Tokenizer=fk,Sk.Slugger=wk,Sk.Hooks=xk,Sk.parse=Sk,Sk.options,Sk.setOptions,Sk.use,Sk.walkTokens,Sk.parseInline,kk.parse,vk.lex;var Ok=function(e,t){var n,r,i,o;if(t)for(n=0,r=(o=Object.keys(t)).length;ns&&(t=r-s+(o=" ... ").length),n-r>s&&(n=r+s-(a=" ...").length),{str:o+e.slice(t,n).replace(/\t/g,"→")+a,pos:r-t+o.length}}function Rk(e,t){return Ek.repeat(" ",t-e.length)+e}var Lk=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],o=[],a=-1;n=r.exec(e.buffer);)o.push(n.index),i.push(n.index+n[0].length),e.position<=n.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var s,l,c="",u=Math.min(e.line+t.linesAfter,o.length).toString().length,p=t.maxLength-(t.indent+u+3);for(s=1;s<=t.linesBefore&&!(a-s<0);s++)l=_k(e.buffer,i[a-s],o[a-s],e.position-(i[a]-i[a-s]),p),c=Ek.repeat(" ",t.indent)+Rk((e.line-s+1).toString(),u)+" | "+l.str+"\n"+c;for(l=_k(e.buffer,i[a],o[a],e.position,p),c+=Ek.repeat(" ",t.indent)+Rk((e.line+1).toString(),u)+" | "+l.str+"\n",c+=Ek.repeat("-",t.indent+u+3+l.pos)+"^\n",s=1;s<=t.linesAfter&&!(a+s>=o.length);s++)l=_k(e.buffer,i[a+s],o[a+s],e.position-(i[a]-i[a+s]),p),c+=Ek.repeat(" ",t.indent)+Rk((e.line+s+1).toString(),u)+" | "+l.str+"\n";return c.replace(/\n$/,"")},Pk=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Mk=["scalar","sequence","mapping"];var Fk=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Pk.indexOf(t))throw new Tk('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===Mk.indexOf(this.kind))throw new Tk('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function Nk(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function $k(e){return this.extend(e)}$k.prototype.extend=function(e){var t=[],n=[];if(e instanceof Fk)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new Tk("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof Fk))throw new Tk("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new Tk("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new Tk("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof Fk))throw new Tk("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create($k.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Nk(r,"implicit"),r.compiledExplicit=Nk(r,"explicit"),r.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Wk=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Kk=/^[-+]?[0-9]+e/;var Qk=new Fk("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!Wk.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||Ek.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ek.isNegativeZero(e))return"-0.0";return n=e.toString(10),Kk.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),Jk=Bk.extend({implicit:[Hk,Yk,Vk,Qk]}),Xk=Jk,ex=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),tx=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var nx=new Fk("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==ex.exec(e)||null!==tx.exec(e))},construct:function(e){var t,n,r,i,o,a,s,l,c=0,u=null;if(null===(t=ex.exec(e))&&(t=tx.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(o=+t[4],a=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(n,r,i,o,a,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}});var rx=new Fk("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),ix="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var ox=new Fk("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,o=ix;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,o=ix,a=0,s=[];for(t=0;t>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(t));return 0===(n=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",i=0,o=e.length,a=ix;for(t=0;t>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+e[t];return 0===(n=o%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}}),ax=Object.prototype.hasOwnProperty,sx=Object.prototype.toString;var lx=new Fk("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,o,a=[],s=e;for(t=0,n=s.length;t>10),56320+(e-65536&1023))}for(var Mx=new Array(256),Fx=new Array(256),Nx=0;Nx<256;Nx++)Mx[Nx]=Lx(Nx)?1:0,Fx[Nx]=Lx(Nx);function $x(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||hx,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ux(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=Lk(n),new Tk(t,n)}function zx(e,t){throw Ux(e,t)}function Dx(e,t){e.onWarning&&e.onWarning.call(null,Ux(e,t))}var qx={YAML:function(e,t,n){var r,i,o;null!==e.version&&zx(e,"duplication of %YAML directive"),1!==n.length&&zx(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&zx(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&zx(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&Dx(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&zx(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],Cx.test(r)||zx(e,"ill-formed tag handle (first argument) of the TAG directive"),dx.call(e.tagMap,r)&&zx(e,'there is a previously declared suffix for "'+r+'" tag handle'),Ox.test(i)||zx(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(t){zx(e,"tag prefix is malformed: "+i)}e.tagMap[r]=i}};function Bx(e,t,n,r){var i,o,a,s;if(t1&&(e.result+=Ek.repeat("\n",t-1))}function Kx(e,t){var n,r,i=e.tag,o=e.anchor,a=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,zx(e,"tab characters must not be used in indentation")),45===r)&&Tx(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,Zx(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,Xx(e,t,vx,!1,!0),a.push(e.result),Zx(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)zx(e,"bad indentation of a sequence entry");else if(e.lineIndentt?d=1:e.lineIndent===t?d=0:e.lineIndentt?d=1:e.lineIndent===t?d=0:e.lineIndentt)&&(v&&(a=e.line,s=e.lineStart,l=e.position),Xx(e,t,yx,!0,i)&&(v?g=e.result:m=e.result),v||(Yx(e,f,h,d,g,m,a,s,l),d=g=m=null),Zx(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&0!==c)zx(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===i?zx(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?zx(e,"repeat of an indentation width identifier"):(u=t+i-1,c=!0)}if(jx(o)){do{o=e.input.charCodeAt(++e.position)}while(jx(o));if(35===o)do{o=e.input.charCodeAt(++e.position)}while(!Ix(o)&&0!==o)}for(;0!==o;){for(Gx(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);(!c||e.lineIndentu&&(u=e.lineIndent),Ix(o))p++;else{if(e.lineIndent0){for(i=a,o=0;i>0;i--)(a=Rx(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:zx(e,"expected hexadecimal character");e.result+=Px(o),e.position++}else zx(e,"unknown escape sequence");n=r=e.position}else Ix(s)?(Bx(e,n,r,!0),Wx(e,Zx(e,!1,t)),n=r=e.position):e.position===e.lineStart&&Vx(e)?zx(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}zx(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!Tx(r)&&!_x(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&zx(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),dx.call(e.anchorMap,n)||zx(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Zx(e,!0,-1),!0}(e)?function(e,t,n){var r,i,o,a,s,l,c,u,p=e.kind,f=e.result;if(Tx(u=e.input.charCodeAt(e.position))||_x(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(Tx(r=e.input.charCodeAt(e.position+1))||n&&_x(r)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==u;){if(58===u){if(Tx(r=e.input.charCodeAt(e.position+1))||n&&_x(r))break}else if(35===u){if(Tx(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Vx(e)||n&&_x(u))break;if(Ix(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,Zx(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(Bx(e,i,o,!1),Wx(e,e.line-s),i=o=e.position,a=!1),jx(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return Bx(e,i,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,gx===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||zx(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===d&&(m=s&&Kx(e,h))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&zx(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l"),null!==e.result&&p.kind!==e.kind&&zx(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):zx(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function eA(e){var t,n,r,i,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(i=e.input.charCodeAt(e.position))&&(Zx(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!Tx(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&zx(e,"directive name must not be less than one character in length");0!==i;){for(;jx(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!Ix(i));break}if(Ix(i))break;for(t=e.position;0!==i&&!Tx(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&Gx(e),dx.call(qx,n)?qx[n](e,n,r):Dx(e,'unknown document directive "'+n+'"')}Zx(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,Zx(e,!0,-1)):a&&zx(e,"directives end mark is expected"),Xx(e,e.lineIndent-1,yx,!1,!0),Zx(e,!0,-1),e.checkLineBreaks&&Ax.test(e.input.slice(o,e.position))&&Dx(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Vx(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,Zx(e,!0,-1)):e.position=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function YA(e){return/^\n* /.test(e)}var GA=1,ZA=2,VA=3,WA=4,KA=5;function QA(e,t,n,r,i,o,a,s){var l,c,u=0,p=null,f=!1,h=!1,d=-1!==r,g=-1,m=DA(c=HA(e,0))&&c!==aA&&!zA(c)&&c!==bA&&c!==AA&&c!==wA&&c!==yA&&c!==CA&&c!==OA&&c!==IA&&c!==TA&&c!==hA&&c!==gA&&c!==vA&&c!==pA&&c!==jA&&c!==kA&&c!==xA&&c!==mA&&c!==fA&&c!==dA&&c!==SA&&c!==EA&&function(e){return!zA(e)&&e!==wA}(HA(e,e.length-1));if(t||a)for(l=0;l=65536?l+=2:l++){if(!DA(u=HA(e,l)))return KA;m=m&&BA(u,p,s),p=u}else{for(l=0;l=65536?l+=2:l++){if((u=HA(e,l))===lA)f=!0,d&&(h=h||l-g-1>r&&" "!==e[g+1],g=l);else if(!DA(u))return KA;m=m&&BA(u,p,s),p=u}h=h||d&&l-g-1>r&&" "!==e[g+1]}return f||h?n>9&&YA(e)?KA:a?o===FA?KA:ZA:h?WA:VA:!m||a||i(e)?o===FA?KA:ZA:GA}function JA(e,t,n,r,i){e.dump=function(){if(0===t.length)return e.quotingType===FA?'""':"''";if(!e.noCompatMode&&(-1!==RA.indexOf(t)||LA.test(t)))return e.quotingType===FA?'"'+t+'"':"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=r||e.flowLevel>-1&&n>=e.flowLevel;switch(QA(t,s,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+XA(t,e.indent)+eS($A(function(e,t){var n,r,i=/(\n+)([^\n]*)/g,o=(s=e.indexOf("\n"),s=-1!==s?s:e.length,i.lastIndex=s,tS(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=i.exec(e);){var l=r[1],c=r[2];n=" "===c[0],o+=l+(a||n||""===c?"":"\n")+tS(c,t),a=n}return o}(t,a),o));case KA:return'"'+function(e){for(var t,n="",r=0,i=0;i=65536?i+=2:i++)r=HA(e,i),!(t=_A[r])&&DA(r)?(n+=e[i],r>=65536&&(n+=e[i+1])):n+=t||PA(r);return n}(t)+'"';default:throw new Tk("impossible error: invalid scalar style")}}()}function XA(e,t){var n=YA(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function eS(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function tS(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,l="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,l+="\n"+e.slice(o,r),o=r+1),a=s;return l+="\n",e.length-o>t&&a>o?l+=e.slice(o,a)+"\n"+e.slice(a+1):l+=e.slice(o),l.slice(1)}function nS(e,t,n,r){var i,o,a,s="",l=e.tag;for(i=0,o=n.length;i tag resolver accepts not "'+l+'" style');r=s.represent[l](t,l)}e.dump=r}return!0}return!1}function iS(e,t,n,r,i,o,a){e.tag=null,e.dump=n,rS(e,n,!1)||rS(e,n,!0);var s,l=iA.call(e.dump),c=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var u,p,f="[object Object]"===l||"[object Array]"===l;if(f&&(p=-1!==(u=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||p||2!==e.indent&&t>0)&&(i=!1),p&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(f&&p&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===l)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var i,o,a,s,l,c,u="",p=e.tag,f=Object.keys(n);if(!0===e.sortKeys)f.sort();else if("function"==typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new Tk("sortKeys must be a boolean or a function");for(i=0,o=f.length;i1024)&&(e.dump&&lA===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=UA(e,t)),iS(e,t+1,s,!0,l)&&(e.dump&&lA===e.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=e.dump));e.tag=p,e.dump=u||"{}"}(e,t,e.dump,i),p&&(e.dump="&ref_"+u+e.dump)):(!function(e,t,n){var r,i,o,a,s,l="",c=e.tag,u=Object.keys(n);for(r=0,i=u.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),iS(e,t,a,!1,!1)&&(l+=s+=e.dump));e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===l)r&&0!==e.dump.length?(e.noArrayIndent&&!a&&t>0?nS(e,t-1,e.dump,i):nS(e,t,e.dump,i),p&&(e.dump="&ref_"+u+e.dump)):(!function(e,t,n){var r,i,o,a="",s=e.tag;for(r=0,i=n.length;r",e.dump=s+" "+e.dump)}return!0}function oS(e,t){var n,r,i=[],o=[];for(aS(e,i,o),n=0,r=o.length;n":">",'"':""","'":"'","/":"/","`":"`","=":"="};var yS=/\s*/,bS=/\s+/,wS=/\s*=/,kS=/\s*\}/,xS=/#|\^|\/|>|\{|&|=|!/;function AS(e){this.string=e,this.tail=e,this.pos=0}function SS(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function CS(){this.templateCache={_cache:{},set:function(e,t){this._cache[e]=t},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}AS.prototype.eos=function(){return""===this.tail},AS.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},AS.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},SS.prototype.push=function(e){return new SS(e,this)},SS.prototype.lookup=function(e){var t,n,r,i=this.cache;if(i.hasOwnProperty(e))t=i[e];else{for(var o,a,s,l=this,c=!1;l;){if(e.indexOf(".")>0)for(o=l.view,a=e.split("."),s=0;null!=o&&s0?i[i.length-1][4]:n;break;default:r.push(t)}return n}(function(e){for(var t,n,r=[],i=0,o=e.length;i"===a?s=this.renderPartial(o,t,n,i):"&"===a?s=this.unescapedValue(o,t):"name"===a?s=this.escapedValue(o,t,i):"text"===a&&(s=this.rawValue(o)),void 0!==s&&(l+=s);return l},CS.prototype.renderSection=function(e,t,n,r,i){var o=this,a="",s=t.lookup(e[1]);if(s){if(uS(s))for(var l=0,c=s.length;l0||!n)&&(i[o]=r+i[o]);return i.join("\n")},CS.prototype.renderPartial=function(e,t,n,r){if(n){var i=this.getConfigTags(r),o=pS(n)?n(e[1]):n[e[1]];if(null!=o){var a=e[6],s=e[5],l=e[4],c=o;0==s&&l&&(c=this.indentPartial(o,l,a));var u=this.parse(c,i);return this.renderTokens(u,t,n,c,r)}}},CS.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},CS.prototype.escapedValue=function(e,t,n){var r=this.getConfigEscape(n)||OS.escape,i=t.lookup(e[1]);if(null!=i)return"number"==typeof i&&r===OS.escape?String(i):r(i)},CS.prototype.rawValue=function(e){return e[1]},CS.prototype.getConfigTags=function(e){return uS(e)?e:e&&"object"==typeof e?e.tags:void 0},CS.prototype.getConfigEscape=function(e){return e&&"object"==typeof e&&!uS(e)?e.escape:void 0};var OS={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){ES.templateCache=e},get templateCache(){return ES.templateCache}},ES=new CS;OS.clearCache=function(){return ES.clearCache()},OS.parse=function(e,t){return ES.parse(e,t)},OS.render=function(e,t,n,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+((uS(i=e)?"array":typeof i)+'" was given as the first argument for mustache#render(template, view, partials)'));var i;return ES.render(e,t,n,r)},OS.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,(function(e){return vS[e]}))},OS.Scanner=AS,OS.Context=SS,OS.Writer=CS;var IS={exports:{}},jS={},TS={},_S={};function RS(e){return null==e}function LS(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}_S.isNothing=RS,_S.isObject=function(e){return"object"==typeof e&&null!==e},_S.toArray=function(e){return Array.isArray(e)?e:RS(e)?[]:[e]},_S.repeat=function(e,t){var n,r="";for(n=0;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(i="",o=this.position;ot/2-1){i=" ... ",o-=5;break}return a=this.buffer.slice(r,o),MS.repeat(" ",e)+n+a+i+"\n"+MS.repeat(" ",e+this.position-r+n.length)+"^"},FS.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var NS=FS,$S=PS,US=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],zS=["scalar","sequence","mapping"];var DS=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===US.indexOf(t))throw new $S('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===zS.indexOf(this.kind))throw new $S('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')},qS=_S,BS=PS,HS=DS;function YS(e,t,n){var r=[];return e.include.forEach((function(e){n=YS(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===r.indexOf(t)}))}function GS(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new BS("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=YS(this,"implicit",[]),this.compiledExplicit=YS(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),iC=_S,oC=DS,aC=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var sC=/^[-+]?[0-9]+e/;var lC=new oC("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!aC.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,i;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){i.unshift(parseFloat(e,10))})),t=0,r=1,i.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||iC.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(iC.isNegativeZero(e))return"-0.0";return n=e.toString(10),sC.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),cC=new ZS({include:[QS],implicit:[JS,XS,rC,lC]}),uC=new ZS({include:[cC]}),pC=DS,fC=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),hC=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var dC=new pC("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==fC.exec(e)||null!==hC.exec(e))},construct:function(e){var t,n,r,i,o,a,s,l,c=0,u=null;if(null===(t=fC.exec(e))&&(t=hC.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(o=+t[4],a=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(n,r,i,o,a,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}});var gC,mC=new DS("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function vC(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}try{gC=vC("buffer").Buffer}catch(e){}var yC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var bC=new DS("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,o=yC;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,o=yC,a=0,s=[];for(t=0;t>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(t));return 0===(n=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),gC?gC.from?gC.from(s):new gC(s):s},predicate:function(e){return gC&&gC.isBuffer(e)},represent:function(e){var t,n,r="",i=0,o=e.length,a=yC;for(t=0;t>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+e[t];return 0===(n=o%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}}),wC=DS,kC=Object.prototype.hasOwnProperty,xC=Object.prototype.toString;var AC=new wC("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,o,a=[],s=e;for(t=0,n=s.length;t3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{RC=vC("esprima")}catch(e){"undefined"!=typeof window&&(RC=window.esprima)}var PC=new DS("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=RC.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",r=RC.parse(n,{range:!0}),i=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"ArrowFunctionExpression"!==r.body[0].expression.type&&"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach((function(e){i.push(e.name)})),t=r.body[0].expression.body.range,"BlockStatement"===r.body[0].expression.body.type?new Function(i,n.slice(t[0]+1,t[1]-1)):new Function(i,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),MC=ZS,FC=MC.DEFAULT=new MC({include:[TC],explicit:[_C,LC,PC]}),NC=_S,$C=PS,UC=NS,zC=TC,DC=FC,qC=Object.prototype.hasOwnProperty,BC=1,HC=2,YC=3,GC=4,ZC=1,VC=2,WC=3,KC=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,QC=/[\x85\u2028\u2029]/,JC=/[,\[\]\{\}]/,XC=/^(?:!|!!|![a-z\-]+!)$/i,eO=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tO(e){return Object.prototype.toString.call(e)}function nO(e){return 10===e||13===e}function rO(e){return 9===e||32===e}function iO(e){return 9===e||32===e||10===e||13===e}function oO(e){return 44===e||91===e||93===e||123===e||125===e}function aO(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function sO(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function lO(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var cO=new Array(256),uO=new Array(256),pO=0;pO<256;pO++)cO[pO]=sO(pO)?1:0,uO[pO]=sO(pO);function fO(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||DC,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function hO(e,t){return new $C(t,new UC(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function dO(e,t){throw hO(e,t)}function gO(e,t){e.onWarning&&e.onWarning.call(null,hO(e,t))}var mO={YAML:function(e,t,n){var r,i,o;null!==e.version&&dO(e,"duplication of %YAML directive"),1!==n.length&&dO(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&dO(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&dO(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&gO(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&dO(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],XC.test(r)||dO(e,"ill-formed tag handle (first argument) of the TAG directive"),qC.call(e.tagMap,r)&&dO(e,'there is a previously declared suffix for "'+r+'" tag handle'),eO.test(i)||dO(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};function vO(e,t,n,r){var i,o,a,s;if(t1&&(e.result+=NC.repeat("\n",t-1))}function SO(e,t){var n,r,i=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&iO(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,kO(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,EO(e,t,YC,!1,!0),a.push(e.result),kO(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)dO(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(EO(e,t,GC,!0,i)&&(g?h=e.result:d=e.result),g||(bO(e,u,p,f,h,d,o,a),f=h=d=null),kO(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)dO(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===i?dO(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?dO(e,"repeat of an indentation width identifier"):(u=t+i-1,c=!0)}if(rO(o)){do{o=e.input.charCodeAt(++e.position)}while(rO(o));if(35===o)do{o=e.input.charCodeAt(++e.position)}while(!nO(o)&&0!==o)}for(;0!==o;){for(wO(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);(!c||e.lineIndentu&&(u=e.lineIndent),nO(o))p++;else{if(e.lineIndent0){for(i=a,o=0;i>0;i--)(a=aO(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:dO(e,"expected hexadecimal character");e.result+=lO(o),e.position++}else dO(e,"unknown escape sequence");n=r=e.position}else nO(s)?(vO(e,n,r,!0),AO(e,kO(e,!1,t)),n=r=e.position):e.position===e.lineStart&&xO(e)?dO(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}dO(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?g=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!iO(r)&&!oO(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&dO(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),qC.call(e.anchorMap,n)||dO(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],kO(e,!0,-1),!0}(e)?function(e,t,n){var r,i,o,a,s,l,c,u,p=e.kind,f=e.result;if(iO(u=e.input.charCodeAt(e.position))||oO(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(iO(r=e.input.charCodeAt(e.position+1))||n&&oO(r)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==u;){if(58===u){if(iO(r=e.input.charCodeAt(e.position+1))||n&&oO(r))break}else if(35===u){if(iO(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&xO(e)||n&&oO(u))break;if(nO(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,kO(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(vO(e,i,o,!1),AO(e,e.line-s),i=o=e.position,a=!1),rO(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return vO(e,i,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,p,BC===n)&&(g=!0,null===e.tag&&(e.tag="?")):(g=!0,null===e.tag&&null===e.anchor||dO(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(g=s&&SO(e,f))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&dO(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result)?(e.result=u.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):dO(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):dO(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function IO(e){var t,n,r,i,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(i=e.input.charCodeAt(e.position))&&(kO(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!iO(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&dO(e,"directive name must not be less than one character in length");0!==i;){for(;rO(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!nO(i));break}if(nO(i))break;for(t=e.position;0!==i&&!iO(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&wO(e),qC.call(mO,n)?mO[n](e,n,r):gO(e,'unknown document directive "'+n+'"')}kO(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,kO(e,!0,-1)):a&&dO(e,"directives end mark is expected"),EO(e,e.lineIndent-1,GC,!1,!0),kO(e,!0,-1),e.checkLineBreaks&&QC.test(e.input.slice(o,e.position))&&gO(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&xO(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,kO(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,h=h&&vE(a,s)}else{for(o=0;or&&" "!==e[f+1],f=o);else if(!mE(a))return AE;s=o>0?e.charCodeAt(o-1):null,h=h&&vE(a,s)}u=u||p&&o-f-1>r&&" "!==e[f+1]}return c||u?n>9&&yE(e)?AE:u?xE:kE:h&&!i(e)?bE:wE}function CE(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==uE.indexOf(t))return"'"+t+"'";var i=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),a=r||e.flowLevel>-1&&n>=e.flowLevel;switch(SE(t,a,e.indent,o,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+OE(t,e.indent)+EE(hE(function(e,t){var n,r,i=/(\n+)([^\n]*)/g,o=(s=e.indexOf("\n"),s=-1!==s?s:e.length,i.lastIndex=s,IE(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=i.exec(e);){var l=r[1],c=r[2];n=" "===c[0],o+=l+(a||n||""===c?"":"\n")+IE(c,t),a=n}return o}(t,o),i));case AE:return'"'+function(e){for(var t,n,r,i="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(i+=pE(1024*(t-55296)+n-56320+65536),o++):i+=!(r=cE[t])&&mE(t)?e[o]:r||pE(t);return i}(t)+'"';default:throw new PO("impossible error: invalid scalar style")}}()}function OE(e,t){var n=yE(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function EE(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function IE(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,l="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,l+="\n"+e.slice(o,r),o=r+1),a=s;return l+="\n",e.length-o>t&&a>o?l+=e.slice(o,a)+"\n"+e.slice(a+1):l+=e.slice(o),l.slice(1)}function jE(e,t,n){var r,i,o,a,s,l;for(o=0,a=(i=n?e.explicitTypes:e.implicitTypes).length;o tag resolver accepts not "'+l+'" style');r=s.represent[l](t,l)}e.dump=r}return!0}return!1}function TE(e,t,n,r,i,o){e.tag=null,e.dump=n,jE(e,n,!1)||jE(e,n,!0);var a=NO.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var s,l,c="[object Object]"===a||"[object Array]"===a;if(c&&(l=-1!==(s=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||l||2!==e.indent&&t>0)&&(i=!1),l&&e.usedDuplicates[s])e.dump="*ref_"+s;else{if(c&&l&&!e.usedDuplicates[s]&&(e.usedDuplicates[s]=!0),"[object Object]"===a)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var i,o,a,s,l,c,u="",p=e.tag,f=Object.keys(n);if(!0===e.sortKeys)f.sort();else if("function"==typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new PO("sortKeys must be a boolean or a function");for(i=0,o=f.length;i1024)&&(e.dump&&zO===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=dE(e,t)),TE(e,t+1,s,!0,l)&&(e.dump&&zO===e.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=e.dump));e.tag=p,e.dump=u||"{}"}(e,t,e.dump,i),l&&(e.dump="&ref_"+s+e.dump)):(!function(e,t,n){var r,i,o,a,s,l="",c=e.tag,u=Object.keys(n);for(r=0,i=u.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),TE(e,t,a,!1,!1)&&(l+=s+=e.dump));e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),l&&(e.dump="&ref_"+s+" "+e.dump));else if("[object Array]"===a){var u=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var i,o,a="",s=e.tag;for(i=0,o=n.length;i "+e.dump)}return!0}function _E(e,t){var n,r,i=[],o=[];for(RE(e,i,o),n=0,r=o.length;n=i)return n;n++,r=t.indexOf("\n",r+1)}return n}(n,e);return{attributes:o,body:a,bodyBegin:s,frontmatter:i}}(e,t.allowUnsafe):{attributes:{},body:e,bodyBegin:1}},IS.exports.test=function(e){return e=e||"",UE.test(e)};var zE=l(IS.exports),DE=["renderer","animateLists"],qE="__SCRIPT_END__",BE=/\[\s*((\d*):)?\s*([\s\d,|-]*)\]/,HE={"&":"&","<":"<",">":">",'"':""","'":"'"},YE=function(){var e;function n(e){var t=(e.querySelector("[data-template]")||e.querySelector("script")||e).textContent,n=(t=t.replace(new RegExp(qE,"g"),"<\/script>")).match(/^\n?(\s*)/)[1].length,r=t.match(/^\n?(\t*)/)[1].length;return r>0?t=t.replace(new RegExp("\\n?\\t{"+r+"}(.*)","g"),(function(e,t){return"\n"+t})):n>1&&(t=t.replace(new RegExp("\\n? {"+n+"}(.*)","g"),(function(e,t){return"\n"+t}))),t}function r(e){for(var t=e.attributes,n=[],r=0,i=t.length;r'+Sk(n[1].trim())+""),e=e.replace(/<\/script>/g,qE),t.metadata&&(e=function(e,t){try{var n,r=/^#+\s*(.*?)\s*$/m,i=e.match(r);i&&(n=i[1].trim());var o=e.replace(r,"");t=a(t);var s=new URL(import.meta.url),l="".concat(s.origin,"/templates/").concat(t.metadata.slide,"-template.html"),c=new XMLHttpRequest;c.open("GET",l,!1),c.send();var u=document.createElement("div");return 200===c.status?u.innerHTML=OS.render(c.responseText,{title:n,content:o,metadata:t.metadata}):(u.innerHTML='Template for slide "'.concat(t.metadata.slide,'" not found.'),console.error("Failed to fetch template. Status: ".concat(c.status))),u.textContent}catch(e){throw console.error("Error:",e),e}}(e,t)),'