mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
58 lines
89 KiB
JavaScript
58 lines
89 KiB
JavaScript
function Qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),t.push.apply(t,r)}return t}function ge(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Vn(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,n,t){return n&&Vn(e.prototype,n),t&&Vn(e,t),e}function Si(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function _i(e,n){if(e==null)return{};var t,r,u=function(l,o){if(l==null)return{};var a,f,c={},s=Object.keys(l);for(f=0;f<s.length;f++)a=s[f],o.indexOf(a)>=0||(c[a]=l[a]);return c}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}function Ti(e,n){return function(t){if(Array.isArray(t))return t}(e)||function(t,r){var u=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(u!=null){var i,l,o=[],a=!0,f=!1;try{for(u=u.call(t);!(a=(i=u.next()).done)&&(o.push(i.value),!r||o.length!==r);a=!0);}catch(c){f=!0,l=c}finally{try{a||u.return==null||u.return()}finally{if(f)throw l}}return o}}(e,n)||_u(e,n)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _u(e,n){if(e){if(typeof e=="string")return Hn(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Hn(e,n):void 0}}function Hn(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Fe(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=_u(e))||n&&e&&typeof e.length=="number"){t&&(e=t);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(a){throw a},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,l=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var a=t.next();return l=a.done,a},e:function(a){o=!0,i=a},f:function(){try{l||t.return==null||t.return()}finally{if(o)throw i}}}}var Yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ue=function(e){return e&&e.Math==Math&&e},w=Ue(typeof globalThis=="object"&&globalThis)||Ue(typeof window=="object"&&window)||Ue(typeof self=="object"&&self)||Ue(typeof Yn=="object"&&Yn)||function(){return this}()||Function("return this")(),ct={},S=function(e){try{return!!e()}catch{return!0}},X=!S(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Tu={},Ou={}.propertyIsEnumerable,Ru=Object.getOwnPropertyDescriptor,Oi=Ru&&!Ou.call({1:2},1);Tu.f=Oi?function(e){var n=Ru(this,e);return!!n&&n.enumerable}:Ou;var ft=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}},Ri={}.toString,ve=function(e){return Ri.call(e).slice(8,-1)},Ii=ve,ji="".split,pn=S(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return Ii(e)=="String"?ji.call(e,""):Object(e)}:Object,M=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},zi=pn,$i=M,me=function(e){return zi($i(e))},j=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Ze=j,hn=function(e,n){if(!Ze(e))return e;var t,r;if(n&&typeof(t=e.toString)=="function"&&!Ze(r=t.call(e))||typeof(t=e.valueOf)=="function"&&!Ze(r=t.call(e))||!n&&typeof(t=e.toString)=="function"&&!Ze(r=t.call(e)))return r;throw TypeError("Can't convert object to primitive value")},Pi=M,ie=function(e){return Object(Pi(e))},Li=ie,Mi={}.hasOwnProperty,G=function(e,n){return Mi.call(Li(e),n)},Kn=j,Wt=w.document,Ni=Kn(Wt)&&Kn(Wt.createElement),Dn=function(e){return Ni?Wt.createElement(e):{}},qi=Dn,Iu=!X&&!S(function(){return Object.defineProperty(qi("div"),"a",{get:function(){return 7}}).a!=7}),Ui=X,Zi=Tu,Gi=ft,Qi=me,Vi=hn,Hi=G,Yi=Iu,Xn=Object.getOwnPropertyDescriptor;ct.f=Ui?Xn:function(e,n){if(e=Qi(e),n=Vi(n,!0),Yi)try{return Xn(e,n)}catch{}if(Hi(e,n))return Gi(!Zi.f.call(e,n),e[n])};var N={},Ki=j,O=function(e){if(!Ki(e))throw TypeError(String(e)+" is not an object");return e},Xi=X,Wi=Iu,Wn=O,Ji=hn,Jn=Object.defineProperty;N.f=Xi?Jn:function(e,n,t){if(Wn(e),n=Ji(n,!0),Wn(t),Wi)try{return Jn(e,n,t)}catch{}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(e[n]=t.value),e};var ea=N,ta=ft,Q=X?function(e,n,t){return ea.f(e,n,ta(1,t))}:function(e,n,t){return e[n]=t,e},V={exports:{}},er=w,na=Q,gn=function(e,n){try{na(er,e,n)}catch{er[e]=n}return n},ra=gn,dn=w["__core-js_shared__"]||ra("__core-js_shared__",{}),Jt=dn,ua=Function.toString;typeof Jt.inspectSource!="function"&&(Jt.inspectSource=function(e){return ua.call(e)});var vn=Jt.inspectSource,ia=vn,tr=w.WeakMap,aa=typeof tr=="function"&&/native code/.test(ia(tr)),pt={exports:{}},nr=dn;(pt.exports=function(e,n){return nr[e]||(nr[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"});var et,we,tt,oa=0,sa=Math.random(),ju=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++oa+sa).toString(36)},la=pt.exports,ca=ju,rr=la("keys"),mn=function(e){return rr[e]||(rr[e]=ca(e))},yn={},fa=aa,pa=j,ha=Q,vt=G,mt=dn,Da=mn,ga=yn,da=w.WeakMap;if(fa||mt.state){var J=mt.state||(mt.state=new da),va=J.get,ur=J.has,ma=J.set;et=function(e,n){if(ur.call(J,e))throw new TypeError("Object already initialized");return n.facade=e,ma.call(J,e,n),n},we=function(e){return va.call(J,e)||{}},tt=function(e){return ur.call(J,e)}}else{var oe=Da("state");ga[oe]=!0,et=function(e,n){if(vt(e,oe))throw new TypeError("Object already initialized");return n.facade=e,ha(e,oe,n),n},we=function(e){return vt(e,oe)?e[oe]:{}},tt=function(e){return vt(e,oe)}}var ye={set:et,get:we,has:tt,enforce:function(e){return tt(e)?we(e):et(e,{})},getterFor:function(e){return function(n){var t;if(!pa(n)||(t=we(n)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return t}}},ya=w,ir=Q,Aa=G,ka=gn,Ea=vn,xa=ye.get,Fa=ye.enforce,ba=String(String).split("String");(V.exports=function(e,n,t,r){var u,i=!!r&&!!r.unsafe,l=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;typeof t=="function"&&(typeof n!="string"||Aa(t,"name")||ir(t,"name",n),(u=Fa(t)).source||(u.source=ba.join(typeof n=="string"?n:""))),e!==ya?(i?!o&&e[n]&&(l=!0):delete e[n],l?e[n]=t:ir(e,n,t)):l?e[n]=t:ka(n,t)})(Function.prototype,"toString",function(){return typeof this=="function"&&xa(this).source||Ea(this)});var yt=w,At=w,ar=function(e){return typeof e=="function"?e:void 0},$e=function(e,n){return arguments.length<2?ar(yt[e])||ar(At[e]):yt[e]&&yt[e][n]||At[e]&&At[e][n]},An={},Ca=Math.ceil,wa=Math.floor,Pe=function(e){return isNaN(e=+e)?0:(e>0?wa:Ca)(e)},Ba=Pe,Sa=Math.min,H=function(e){return e>0?Sa(Ba(e),9007199254740991):0},_a=Pe,Ta=Math.max,Oa=Math.min,kn=function(e,n){var t=_a(e);return t<0?Ta(t+n,0):Oa(t,n)},Ra=me,Ia=H,ja=kn,or=function(e){return function(n,t,r){var u,i=Ra(n),l=Ia(i.length),o=ja(r,l);if(e&&t!=t){for(;l>o;)if((u=i[o++])!=u)return!0}else for(;l>o;o++)if((e||o in i)&&i[o]===t)return e||o||0;return!e&&-1}},zu={includes:or(!0),indexOf:or(!1)},kt=G,za=me,$a=zu.indexOf,Pa=yn,$u=function(e,n){var t,r=za(e),u=0,i=[];for(t in r)!kt(Pa,t)&&kt(r,t)&&i.push(t);for(;n.length>u;)kt(r,t=n[u++])&&(~$a(i,t)||i.push(t));return i},En=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],La=$u,Ma=En.concat("length","prototype");An.f=Object.getOwnPropertyNames||function(e){return La(e,Ma)};var Pu={};Pu.f=Object.getOwnPropertySymbols;var Na=An,qa=Pu,Ua=O,Za=$e("Reflect","ownKeys")||function(e){var n=Na.f(Ua(e)),t=qa.f;return t?n.concat(t(e)):n},Ga=G,Qa=Za,Va=ct,Ha=N,Ya=S,Ka=/#|\.prototype\./,Le=function(e,n){var t=Wa[Xa(e)];return t==eo||t!=Ja&&(typeof n=="function"?Ya(n):!!n)},Xa=Le.normalize=function(e){return String(e).replace(Ka,".").toLowerCase()},Wa=Le.data={},Ja=Le.NATIVE="N",eo=Le.POLYFILL="P",xn=Le,Et=w,to=ct.f,no=Q,ro=V.exports,uo=gn,io=function(e,n){for(var t=Qa(n),r=Ha.f,u=Va.f,i=0;i<t.length;i++){var l=t[i];Ga(e,l)||r(e,l,u(n,l))}},ao=xn,T=function(e,n){var t,r,u,i,l,o=e.target,a=e.global,f=e.stat;if(t=a?Et:f?Et[o]||uo(o,{}):(Et[o]||{}).prototype)for(r in n){if(i=n[r],u=e.noTargetGet?(l=to(t,r))&&l.value:t[r],!ao(a?r:o+(f?".":"#")+r,e.forced)&&u!==void 0){if(typeof i==typeof u)continue;io(i,u)}(e.sham||u&&u.sham)&&no(i,"sham",!0),ro(t,r,i,e)}},oo=O,Fn=function(){var e=oo(this),n="";return e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.sticky&&(n+="y"),n},je={},sr=S;function lr(e,n){return RegExp(e,n)}je.UNSUPPORTED_Y=sr(function(){var e=lr("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),je.BROKEN_CARET=sr(function(){var e=lr("^r","gy");return e.lastIndex=2,e.exec("str")!=null});var so=Fn,cr=je,lo=pt.exports,nt=RegExp.prototype.exec,co=lo("native-string-replace",String.prototype.replace),Lu=nt,xt=function(){var e=/a/,n=/b*/g;return nt.call(e,"a"),nt.call(n,"a"),e.lastIndex!==0||n.lastIndex!==0}(),fr=cr.UNSUPPORTED_Y||cr.BROKEN_CARET,Ft=/()??/.exec("")[1]!==void 0;(xt||Ft||fr)&&(Lu=function(e){var n,t,r,u,i=this,l=fr&&i.sticky,o=so.call(i),a=i.source,f=0,c=e;return l&&((o=o.replace("y","")).indexOf("g")===-1&&(o+="g"),c=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&e[i.lastIndex-1]!==`
|
|
`)&&(a="(?: "+a+")",c=" "+c,f++),t=new RegExp("^(?:"+a+")",o)),Ft&&(t=new RegExp("^"+a+"$(?!\\s)",o)),xt&&(n=i.lastIndex),r=nt.call(l?t:i,c),l?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:xt&&r&&(i.lastIndex=i.global?r.index+r[0].length:n),Ft&&r&&r.length>1&&co.call(r[0],t,function(){for(u=1;u<arguments.length-2;u++)arguments[u]===void 0&&(r[u]=void 0)}),r});var ze=Lu;T({target:"RegExp",proto:!0,forced:/./.exec!==ze},{exec:ze});var ee,rt,bn=$e("navigator","userAgent")||"",bt=bn,pr=w.process,hr=pr&&pr.versions,Dr=hr&&hr.v8;Dr?rt=(ee=Dr.split("."))[0]<4?1:ee[0]+ee[1]:bt&&(!(ee=bt.match(/Edge\/(\d+)/))||ee[1]>=74)&&(ee=bt.match(/Chrome\/(\d+)/))&&(rt=ee[1]);var ht=rt&&+rt,gr=ht,fo=S,Mu=!!Object.getOwnPropertySymbols&&!fo(function(){return!String(Symbol())||!Symbol.sham&&gr&&gr<41}),po=Mu&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ho=w,Do=pt.exports,dr=G,go=ju,vr=Mu,vo=po,Ae=Do("wks"),Be=ho.Symbol,mo=vo?Be:Be&&Be.withoutSetter||go,C=function(e){return dr(Ae,e)&&(vr||typeof Ae[e]=="string")||(vr&&dr(Be,e)?Ae[e]=Be[e]:Ae[e]=mo("Symbol."+e)),Ae[e]},mr=V.exports,yo=ze,ut=S,Cn=C,Ao=Q,ko=Cn("species"),Ct=RegExp.prototype,Eo=!ut(function(){var e=/./;return e.exec=function(){var n=[];return n.groups={a:"7"},n},"".replace(e,"$<a>")!=="7"}),yr="a".replace(/./,"$0")==="$0",Ar=Cn("replace"),kr=!!/./[Ar]&&/./[Ar]("a","$0")==="",xo=!ut(function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return t.length!==2||t[0]!=="a"||t[1]!=="b"}),Dt=function(e,n,t,r){var u=Cn(e),i=!ut(function(){var s={};return s[u]=function(){return 7},""[e](s)!=7}),l=i&&!ut(function(){var s=!1,h=/a/;return e==="split"&&((h={}).constructor={},h.constructor[ko]=function(){return h},h.flags="",h[u]=/./[u]),h.exec=function(){return s=!0,null},h[u](""),!s});if(!i||!l||e==="replace"&&(!Eo||!yr||kr)||e==="split"&&!xo){var o=/./[u],a=t(u,""[e],function(s,h,p,d,D){var g=h.exec;return g===yo||g===Ct.exec?i&&!D?{done:!0,value:o.call(h,p,d)}:{done:!0,value:s.call(p,h,d)}:{done:!1}},{REPLACE_KEEPS_$0:yr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:kr}),f=a[0],c=a[1];mr(String.prototype,e,f),mr(Ct,u,n==2?function(s,h){return c.call(s,this,h)}:function(s){return c.call(s,this)})}r&&Ao(Ct[u],"sham",!0)},Fo=Pe,bo=M,Er=function(e){return function(n,t){var r,u,i=String(bo(n)),l=Fo(t),o=i.length;return l<0||l>=o?e?"":void 0:(r=i.charCodeAt(l))<55296||r>56319||l+1===o||(u=i.charCodeAt(l+1))<56320||u>57343?e?i.charAt(l):r:e?i.slice(l,l+2):u-56320+(r-55296<<10)+65536}},Nu={codeAt:Er(!1),charAt:Er(!0)},Co=Nu.charAt,wn=function(e,n,t){return n+(t?Co(e,n).length:1)},wo=ie,Bo=Math.floor,So="".replace,_o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,To=/\$([$&'`]|\d{1,2})/g,Oo=ve,Ro=ze,gt=function(e,n){var t=e.exec;if(typeof t=="function"){var r=t.call(e,n);if(typeof r!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return r}if(Oo(e)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return Ro.call(e,n)},Io=Dt,jo=O,zo=H,$o=Pe,Po=M,Lo=wn,Mo=function(e,n,t,r,u,i){var l=t+e.length,o=r.length,a=To;return u!==void 0&&(u=wo(u),a=_o),So.call(i,a,function(f,c){var s;switch(c.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,t);case"'":return n.slice(l);case"<":s=u[c.slice(1,-1)];break;default:var h=+c;if(h===0)return f;if(h>o){var p=Bo(h/10);return p===0?f:p<=o?r[p-1]===void 0?c.charAt(1):r[p-1]+c.charAt(1):f}s=r[h-1]}return s===void 0?"":s})},No=gt,qo=Math.max,Uo=Math.min;Io("replace",2,function(e,n,t,r){var u=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,l=u?"$":"$0";return[function(o,a){var f=Po(this),c=o==null?void 0:o[e];return c!==void 0?c.call(o,f,a):n.call(String(f),o,a)},function(o,a){if(!u&&i||typeof a=="string"&&a.indexOf(l)===-1){var f=t(n,o,this,a);if(f.done)return f.value}var c=jo(o),s=String(this),h=typeof a=="function";h||(a=String(a));var p=c.global;if(p){var d=c.unicode;c.lastIndex=0}for(var D=[];;){var g=No(c,s);if(g===null||(D.push(g),!p))break;String(g[0])===""&&(c.lastIndex=Lo(s,zo(c.lastIndex),d))}for(var v,k="",E=0,b=0;b<D.length;b++){g=D[b];for(var _=String(g[0]),x=qo(Uo($o(g.index),s.length),0),R=[],q=1;q<g.length;q++)R.push((v=g[q])===void 0?v:String(v));var ae=g.groups;if(h){var W=[_].concat(R,x,s);ae!==void 0&&W.push(ae);var qe=String(a.apply(void 0,W))}else qe=Mo(_,s,x,R,ae,a);x>=E&&(k+=s.slice(E,x)+qe,E=x+_.length)}return k+s.slice(E)}]});var Zo=j,Go=O,Qo=function(e){if(!Zo(e)&&e!==null)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Bn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),n=t instanceof Array}catch{}return function(r,u){return Go(r),Qo(u),n?e.call(r,u):r.__proto__=u,r}}():void 0),Vo=j,xr=Bn,Ho=j,Yo=ve,Ko=C("match"),Sn=function(e){var n;return Ho(e)&&((n=e[Ko])!==void 0?!!n:Yo(e)=="RegExp")},Xo=$e,Wo=N,Jo=X,Fr=C("species"),qu=function(e){var n=Xo(e),t=Wo.f;Jo&&n&&!n[Fr]&&t(n,Fr,{configurable:!0,get:function(){return this}})},es=X,Uu=w,ts=xn,ns=function(e,n,t){var r,u;return xr&&typeof(r=n.constructor)=="function"&&r!==t&&Vo(u=r.prototype)&&u!==t.prototype&&xr(e,u),e},rs=N.f,us=An.f,is=Sn,as=Fn,os=je,ss=V.exports,ls=S,cs=ye.enforce,fs=qu,ps=C("match"),$=Uu.RegExp,wt=$.prototype,Se=/a/g,Bt=/a/g,St=new $(Se)!==Se,_t=os.UNSUPPORTED_Y;if(es&&ts("RegExp",!St||_t||ls(function(){return Bt[ps]=!1,$(Se)!=Se||$(Bt)==Bt||$(Se,"i")!="/a/i"}))){for(var U=function(e,n){var t,r=this instanceof U,u=is(e),i=n===void 0;if(!r&&u&&e.constructor===U&&i)return e;St?u&&!i&&(e=e.source):e instanceof U&&(i&&(n=as.call(e)),e=e.source),_t&&(t=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var l=ns(St?new $(e,n):$(e,n),r?this:wt,U);return _t&&t&&(cs(l).sticky=!0),l},hs=function(e){e in U||rs(U,e,{configurable:!0,get:function(){return $[e]},set:function(n){$[e]=n}})},br=us($),Cr=0;br.length>Cr;)hs(br[Cr++]);wt.constructor=U,U.prototype=wt,ss(Uu,"RegExp",U)}fs("RegExp");var Ds=V.exports,gs=O,ds=S,vs=Fn,Zu=RegExp.prototype,Gu=Zu.toString,ms=ds(function(){return Gu.call({source:"a",flags:"b"})!="/a/b"}),ys=Gu.name!="toString";(ms||ys)&&Ds(RegExp.prototype,"toString",function(){var e=gs(this),n=String(e.source),t=e.flags;return"/"+n+"/"+String(t===void 0&&e instanceof RegExp&&!("flags"in Zu)?vs.call(e):t)},{unsafe:!0});var As=O,ks=H,Es=M,xs=wn,wr=gt;Dt("match",1,function(e,n,t){return[function(r){var u=Es(this),i=r==null?void 0:r[e];return i!==void 0?i.call(r,u):new RegExp(r)[e](String(u))},function(r){var u=t(n,r,this);if(u.done)return u.value;var i=As(r),l=String(this);if(!i.global)return wr(i,l);var o=i.unicode;i.lastIndex=0;for(var a,f=[],c=0;(a=wr(i,l))!==null;){var s=String(a[0]);f[c]=s,s===""&&(i.lastIndex=xs(l,ks(i.lastIndex),o)),c++}return c===0?null:f}]});var Fs=X,bs=N.f,en=Function.prototype,Cs=en.toString,ws=/^\s*function ([^ (]*)/;Fs&&!("name"in en)&&bs(en,"name",{configurable:!0,get:function(){try{return Cs.call(this).match(ws)[1]}catch{return""}}});var Bs=S,Qu=function(e,n){var t=[][e];return!!t&&Bs(function(){t.call(null,n||function(){throw 1},1)})},Ss=T,_s=me,Ts=[].join,Os=pn!=Object,Rs=Qu("join",",");Ss({target:"Array",proto:!0,forced:Os||!Rs},{join:function(e){return Ts.call(_s(this),e===void 0?",":e)}});var dt=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e},Br=O,Is=dt,js=C("species"),Vu=function(e,n){var t,r=Br(e).constructor;return r===void 0||(t=Br(r)[js])==null?n:Is(t)},zs=Dt,$s=Sn,Ps=O,Sr=M,Ls=Vu,Ms=wn,Ns=H,_r=gt,qs=ze,se=je.UNSUPPORTED_Y,Us=[].push,Zs=Math.min;zs("split",2,function(e,n,t){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(u,i){var l=String(Sr(this)),o=i===void 0?4294967295:i>>>0;if(o===0)return[];if(u===void 0)return[l];if(!$s(u))return n.call(l,u,o);for(var a,f,c,s=[],h=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(u.sticky?"y":""),p=0,d=new RegExp(u.source,h+"g");(a=qs.call(d,l))&&!((f=d.lastIndex)>p&&(s.push(l.slice(p,a.index)),a.length>1&&a.index<l.length&&Us.apply(s,a.slice(1)),c=a[0].length,p=f,s.length>=o));)d.lastIndex===a.index&&d.lastIndex++;return p===l.length?!c&&d.test("")||s.push(""):s.push(l.slice(p)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(u,i){return u===void 0&&i===0?[]:n.call(this,u,i)}:n,[function(u,i){var l=Sr(this),o=u==null?void 0:u[e];return o!==void 0?o.call(u,l,i):r.call(String(l),u,i)},function(u,i){var l=t(r,u,this,i,r!==n);if(l.done)return l.value;var o=Ps(u),a=String(this),f=Ls(o,RegExp),c=o.unicode,s=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(se?"g":"y"),h=new f(se?"^(?:"+o.source+")":o,s),p=i===void 0?4294967295:i>>>0;if(p===0)return[];if(a.length===0)return _r(h,a)===null?[a]:[];for(var d=0,D=0,g=[];D<a.length;){h.lastIndex=se?0:D;var v,k=_r(h,se?a.slice(D):a);if(k===null||(v=Zs(Ns(h.lastIndex+(se?D:0)),a.length))===d)D=Ms(a,D,c);else{if(g.push(a.slice(d,D)),g.length===p)return g;for(var E=1;E<=k.length-1;E++)if(g.push(k[E]),g.length===p)return g;D=d=v}}return g.push(a.slice(d)),g}]},se);var Gs=M,it=`[
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]`,Qs=RegExp("^"+it+it+"*"),Vs=RegExp(it+it+"*$"),Tt=function(e){return function(n){var t=String(Gs(n));return 1&e&&(t=t.replace(Qs,"")),2&e&&(t=t.replace(Vs,"")),t}},_n={start:Tt(1),end:Tt(2),trim:Tt(3)},Hs=S,Tr=`
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,Tn=function(e){return Hs(function(){return!!Tr[e]()||"\u200B\x85\u180E"[e]()!="\u200B\x85\u180E"||Tr[e].name!==e})},Ys=_n.trim;T({target:"String",proto:!0,forced:Tn("trim")},{trim:function(){return Ys(this)}});var Hu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ks=dt,On=function(e,n,t){if(Ks(e),n===void 0)return e;switch(t){case 0:return function(){return e.call(n)};case 1:return function(r){return e.call(n,r)};case 2:return function(r,u){return e.call(n,r,u)};case 3:return function(r,u,i){return e.call(n,r,u,i)}}return function(){return e.apply(n,arguments)}},Xs=ve,Rn=Array.isArray||function(e){return Xs(e)=="Array"},Ws=j,Or=Rn,Js=C("species"),In=function(e,n){var t;return Or(e)&&(typeof(t=e.constructor)!="function"||t!==Array&&!Or(t.prototype)?Ws(t)&&(t=t[Js])===null&&(t=void 0):t=void 0),new(t===void 0?Array:t)(n===0?0:n)},el=On,tl=pn,nl=ie,rl=H,ul=In,Rr=[].push,Y=function(e){var n=e==1,t=e==2,r=e==3,u=e==4,i=e==6,l=e==7,o=e==5||i;return function(a,f,c,s){for(var h,p,d=nl(a),D=tl(d),g=el(f,c,3),v=rl(D.length),k=0,E=s||ul,b=n?E(a,v):t||l?E(a,0):void 0;v>k;k++)if((o||k in D)&&(p=g(h=D[k],k,d),e))if(n)b[k]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return k;case 2:Rr.call(b,h)}else switch(e){case 4:return!1;case 7:Rr.call(b,h)}return i?-1:r||u?u:b}},jn={forEach:Y(0),map:Y(1),filter:Y(2),some:Y(3),every:Y(4),find:Y(5),findIndex:Y(6),filterOut:Y(7)},il=jn.forEach,al=w,ol=Hu,Ot=Qu("forEach")?[].forEach:function(e){return il(this,e,arguments.length>1?arguments[1]:void 0)},sl=Q;for(var ll in ol){var Ir=al[ll],Ge=Ir&&Ir.prototype;if(Ge&&Ge.forEach!==Ot)try{sl(Ge,"forEach",Ot)}catch{Ge.forEach=Ot}}var Yu={};Yu[C("toStringTag")]="z";var zn=String(Yu)==="[object z]",cl=zn,Xe=ve,fl=C("toStringTag"),pl=Xe(function(){return arguments}())=="Arguments",Ku=cl?Xe:function(e){var n,t,r;return e===void 0?"Undefined":e===null?"Null":typeof(t=function(u,i){try{return u[i]}catch{}}(n=Object(e),fl))=="string"?t:pl?Xe(n):(r=Xe(n))=="Object"&&typeof n.callee=="function"?"Arguments":r},hl=Ku,Dl=zn?{}.toString:function(){return"[object "+hl(this)+"]"},gl=zn,dl=V.exports,vl=Dl;gl||dl(Object.prototype,"toString",vl,{unsafe:!0});var ml=w.Promise,yl=V.exports,Al=N.f,kl=G,jr=C("toStringTag"),$n=function(e,n,t){e&&!kl(e=t?e:e.prototype,jr)&&Al(e,jr,{configurable:!0,value:n})},Me={},El=Me,xl=C("iterator"),Fl=Array.prototype,bl=Ku,Cl=Me,wl=C("iterator"),Bl=O,Sl=O,_l=function(e){return e!==void 0&&(El.Array===e||Fl[xl]===e)},Tl=H,Ol=On,Rl=function(e){if(e!=null)return e[wl]||e["@@iterator"]||Cl[bl(e)]},zr=function(e){var n=e.return;if(n!==void 0)return Bl(n.call(e)).value},ke=function(e,n){this.stopped=e,this.result=n},Xu=C("iterator"),Wu=!1;try{var Il=0,$r={next:function(){return{done:!!Il++}},return:function(){Wu=!0}};$r[Xu]=function(){return this},Array.from($r,function(){throw 2})}catch{}var le,Pr,Rt,Ju=$e("document","documentElement"),ei=/(?:iphone|ipod|ipad).*applewebkit/i.test(bn),Pn=ve(w.process)=="process",L=w,jl=S,zl=On,Lr=Ju,Mr=Dn,$l=ei,Pl=Pn,at=L.location,tn=L.setImmediate,nn=L.clearImmediate,Ll=L.process,Nr=L.MessageChannel,It=L.Dispatch,jt=0,_e={},Ln=function(e){if(_e.hasOwnProperty(e)){var n=_e[e];delete _e[e],n()}},zt=function(e){return function(){Ln(e)}},qr=function(e){Ln(e.data)},Ur=function(e){L.postMessage(e+"",at.protocol+"//"+at.host)};tn&&nn||(tn=function(e){for(var n=[],t=1;arguments.length>t;)n.push(arguments[t++]);return _e[++jt]=function(){(typeof e=="function"?e:Function(e)).apply(void 0,n)},le(jt),jt},nn=function(e){delete _e[e]},Pl?le=function(e){Ll.nextTick(zt(e))}:It&&It.now?le=function(e){It.now(zt(e))}:Nr&&!$l?(Rt=(Pr=new Nr).port2,Pr.port1.onmessage=qr,le=zl(Rt.postMessage,Rt,1)):L.addEventListener&&typeof postMessage=="function"&&!L.importScripts&&at&&at.protocol!=="file:"&&!jl(Ur)?(le=Ur,L.addEventListener("message",qr,!1)):le="onreadystatechange"in Mr("script")?function(e){Lr.appendChild(Mr("script")).onreadystatechange=function(){Lr.removeChild(this),Ln(e)}}:function(e){setTimeout(zt(e),0)});var Ee,re,Te,be,$t,Pt,Lt,Zr,ti={set:tn,clear:nn},Ml=/web0s(?!.*chrome)/i.test(bn),ue=w,Nl=ct.f,ql=ti.set,Ul=ei,Zl=Ml,Mt=Pn,Gr=ue.MutationObserver||ue.WebKitMutationObserver,Qr=ue.document,Vr=ue.process,Qe=ue.Promise,Hr=Nl(ue,"queueMicrotask"),ni=Hr&&Hr.value;ni||(Ee=function(){var e,n;for(Mt&&(e=Vr.domain)&&e.exit();re;){n=re.fn,re=re.next;try{n()}catch(t){throw re?be():Te=void 0,t}}Te=void 0,e&&e.enter()},Ul||Mt||Zl||!Gr||!Qr?Qe&&Qe.resolve?((Lt=Qe.resolve(void 0)).constructor=Qe,Zr=Lt.then,be=function(){Zr.call(Lt,Ee)}):be=Mt?function(){Vr.nextTick(Ee)}:function(){ql.call(ue,Ee)}:($t=!0,Pt=Qr.createTextNode(""),new Gr(Ee).observe(Pt,{characterData:!0}),be=function(){Pt.data=$t=!$t}));var Gl=ni||function(e){var n={fn:e,next:void 0};Te&&(Te.next=n),re||(re=n,be()),Te=n},Mn={},Yr=dt,Ql=function(e){var n,t;this.promise=new e(function(r,u){if(n!==void 0||t!==void 0)throw TypeError("Bad Promise constructor");n=r,t=u}),this.resolve=Yr(n),this.reject=Yr(t)};Mn.f=function(e){return new Ql(e)};var Nt,Kr,ri,Xr,Vl=O,Hl=j,Yl=Mn,Kl=w,Xl=typeof window=="object",Ve=T,K=w,Wl=$e,ot=ml,Wr=V.exports,Jl=function(e,n,t){for(var r in n)yl(e,r,n[r],t);return e},Jr=Bn,ec=$n,tc=qu,nc=j,rn=dt,rc=function(e,n,t){if(!(e instanceof n))throw TypeError("Incorrect "+(t?t+" ":"")+"invocation");return e},uc=vn,eu=function(e,n,t){var r,u,i,l,o,a,f,c=t&&t.that,s=!(!t||!t.AS_ENTRIES),h=!(!t||!t.IS_ITERATOR),p=!(!t||!t.INTERRUPTED),d=Ol(n,c,1+s+p),D=function(v){return r&&zr(r),new ke(!0,v)},g=function(v){return s?(Sl(v),p?d(v[0],v[1],D):d(v[0],v[1])):p?d(v,D):d(v)};if(h)r=e;else{if(typeof(u=Rl(e))!="function")throw TypeError("Target is not iterable");if(_l(u)){for(i=0,l=Tl(e.length);l>i;i++)if((o=g(e[i]))&&o instanceof ke)return o;return new ke(!1)}r=u.call(e)}for(a=r.next;!(f=a.call(r)).done;){try{o=g(f.value)}catch(v){throw zr(r),v}if(typeof o=="object"&&o&&o instanceof ke)return o}return new ke(!1)},ic=function(e,n){if(!n&&!Wu)return!1;var t=!1;try{var r={};r[Xu]=function(){return{next:function(){return{done:t=!0}}}},e(r)}catch{}return t},ac=Vu,ui=ti.set,ii=Gl,oc=function(e,n){if(Vl(e),Hl(n)&&n.constructor===e)return n;var t=Yl.f(e);return(0,t.resolve)(n),t.promise},sc=function(e,n){var t=Kl.console;t&&t.error&&(arguments.length===1?t.error(e):t.error(e,n))},ai=Mn,un=function(e){try{return{error:!1,value:e()}}catch(n){return{error:!0,value:n}}},Nn=ye,lc=xn,cc=Xl,st=Pn,tu=ht,fc=C("species"),P="Promise",nu=Nn.get,pc=Nn.set,hc=Nn.getterFor(P),te=ot&&ot.prototype,I=ot,He=te,oi=K.TypeError,an=K.document,qn=K.process,pe=ai.f,Dc=pe,gc=!!(an&&an.createEvent&&K.dispatchEvent),si=typeof PromiseRejectionEvent=="function",li=!1,Oe=lc(P,function(){var e=uc(I)!==String(I);if(!e&&tu===66)return!0;if(tu>=51&&/native code/.test(I))return!1;var n=new I(function(r){r(1)}),t=function(r){r(function(){},function(){})};return(n.constructor={})[fc]=t,!(li=n.then(function(){})instanceof t)||!e&&cc&&!si}),dc=Oe||!ic(function(e){I.all(e).catch(function(){})}),ci=function(e){var n;return!(!nc(e)||typeof(n=e.then)!="function")&&n},Un=function(e,n){if(!e.notified){e.notified=!0;var t=e.reactions;ii(function(){for(var r=e.value,u=e.state==1,i=0;t.length>i;){var l,o,a,f=t[i++],c=u?f.ok:f.fail,s=f.resolve,h=f.reject,p=f.domain;try{c?(u||(e.rejection===2&&mc(e),e.rejection=1),c===!0?l=r:(p&&p.enter(),l=c(r),p&&(p.exit(),a=!0)),l===f.promise?h(oi("Promise-chain cycle")):(o=ci(l))?o.call(l,s,h):s(l)):h(r)}catch(d){p&&!a&&p.exit(),h(d)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&vc(e)})}},fi=function(e,n,t){var r,u;gc?((r=an.createEvent("Event")).promise=n,r.reason=t,r.initEvent(e,!1,!0),K.dispatchEvent(r)):r={promise:n,reason:t},!si&&(u=K["on"+e])?u(r):e==="unhandledrejection"&&sc("Unhandled promise rejection",t)},vc=function(e){ui.call(K,function(){var n,t=e.facade,r=e.value;if(ru(e)&&(n=un(function(){st?qn.emit("unhandledRejection",r,t):fi("unhandledrejection",t,r)}),e.rejection=st||ru(e)?2:1,n.error))throw n.value})},ru=function(e){return e.rejection!==1&&!e.parent},mc=function(e){ui.call(K,function(){var n=e.facade;st?qn.emit("rejectionHandled",n):fi("rejectionhandled",n,e.value)})},fe=function(e,n,t){return function(r){e(n,r,t)}},he=function(e,n,t){e.done||(e.done=!0,t&&(e=t),e.value=n,e.state=2,Un(e,!0))},on=function(e,n,t){if(!e.done){e.done=!0,t&&(e=t);try{if(e.facade===n)throw oi("Promise can't be resolved itself");var r=ci(n);r?ii(function(){var u={done:!1};try{r.call(n,fe(on,u,e),fe(he,u,e))}catch(i){he(u,i,e)}}):(e.value=n,e.state=1,Un(e,!1))}catch(u){he({done:!1},u,e)}}};if(Oe&&(He=(I=function(e){rc(this,I,P),rn(e),Nt.call(this);var n=nu(this);try{e(fe(on,n),fe(he,n))}catch(t){he(n,t)}}).prototype,(Nt=function(e){pc(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Jl(He,{then:function(e,n){var t=hc(this),r=pe(ac(this,I));return r.ok=typeof e!="function"||e,r.fail=typeof n=="function"&&n,r.domain=st?qn.domain:void 0,t.parent=!0,t.reactions.push(r),t.state!=0&&Un(t,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Kr=function(){var e=new Nt,n=nu(e);this.promise=e,this.resolve=fe(on,n),this.reject=fe(he,n)},ai.f=pe=function(e){return e===I||e===ri?new Kr(e):Dc(e)},typeof ot=="function"&&te!==Object.prototype)){Xr=te.then,li||(Wr(te,"then",function(e,n){var t=this;return new I(function(r,u){Xr.call(t,r,u)}).then(e,n)},{unsafe:!0}),Wr(te,"catch",He.catch,{unsafe:!0}));try{delete te.constructor}catch{}Jr&&Jr(te,He)}Ve({global:!0,wrap:!0,forced:Oe},{Promise:I}),ec(I,P,!1),tc(P),ri=Wl(P),Ve({target:P,stat:!0,forced:Oe},{reject:function(e){var n=pe(this);return n.reject.call(void 0,e),n.promise}}),Ve({target:P,stat:!0,forced:Oe},{resolve:function(e){return oc(this,e)}}),Ve({target:P,stat:!0,forced:dc},{all:function(e){var n=this,t=pe(n),r=t.resolve,u=t.reject,i=un(function(){var l=rn(n.resolve),o=[],a=0,f=1;eu(e,function(c){var s=a++,h=!1;o.push(void 0),f++,l.call(n,c).then(function(p){h||(h=!0,o[s]=p,--f||r(o))},u)}),--f||r(o)});return i.error&&u(i.value),t.promise},race:function(e){var n=this,t=pe(n),r=t.reject,u=un(function(){var i=rn(n.resolve);eu(e,function(l){i.call(n,l).then(t.resolve,r)})});return u.error&&r(u.value),t.promise}});var yc=hn,Ac=N,kc=ft,Zn=function(e,n,t){var r=yc(n);r in e?Ac.f(e,r,kc(0,t)):e[r]=t},Ec=S,xc=ht,Fc=C("species"),Ne=function(e){return xc>=51||!Ec(function(){var n=[];return(n.constructor={})[Fc]=function(){return{foo:1}},n[e](Boolean).foo!==1})},bc=T,Cc=j,uu=Rn,iu=kn,wc=H,Bc=me,Sc=Zn,_c=C,Tc=Ne("slice"),Oc=_c("species"),Rc=[].slice,Ic=Math.max;bc({target:"Array",proto:!0,forced:!Tc},{slice:function(e,n){var t,r,u,i=Bc(this),l=wc(i.length),o=iu(e,l),a=iu(n===void 0?l:n,l);if(uu(i)&&(typeof(t=i.constructor)!="function"||t!==Array&&!uu(t.prototype)?Cc(t)&&(t=t[Oc])===null&&(t=void 0):t=void 0,t===Array||t===void 0))return Rc.call(i,o,a);for(r=new(t===void 0?Array:t)(Ic(a-o,0)),u=0;o<a;o++,u++)o in i&&Sc(r,u,i[o]);return r.length=u,r}});var qt,jc=$u,zc=En,pi=Object.keys||function(e){return jc(e,zc)},$c=N,Pc=O,Lc=pi,Mc=X?Object.defineProperties:function(e,n){Pc(e);for(var t,r=Lc(n),u=r.length,i=0;u>i;)$c.f(e,t=r[i++],n[t]);return e},Nc=O,qc=Mc,au=En,Uc=yn,Zc=Ju,Gc=Dn,hi=mn("IE_PROTO"),Ut=function(){},ou=function(e){return"<script>"+e+"<\/script>"},We=function(){try{qt=document.domain&&new ActiveXObject("htmlfile")}catch{}var e,n;We=qt?function(r){r.write(ou("")),r.close();var u=r.parentWindow.Object;return r=null,u}(qt):((n=Gc("iframe")).style.display="none",Zc.appendChild(n),n.src=String("javascript:"),(e=n.contentWindow.document).open(),e.write(ou("document.F=Object")),e.close(),e.F);for(var t=au.length;t--;)delete We.prototype[au[t]];return We()};Uc[hi]=!0;var Di=Object.create||function(e,n){var t;return e!==null?(Ut.prototype=Nc(e),t=new Ut,Ut.prototype=null,t[hi]=e):t=We(),n===void 0?t:qc(t,n)},Qc=Di,Vc=N,sn=C("unscopables"),ln=Array.prototype;ln[sn]==null&&Vc.f(ln,sn,{configurable:!0,value:Qc(null)});var ne,su,lu,gi=function(e){ln[sn][e]=!0},Hc=!S(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Yc=G,Kc=ie,Xc=Hc,cu=mn("IE_PROTO"),Wc=Object.prototype,di=Xc?Object.getPrototypeOf:function(e){return e=Kc(e),Yc(e,cu)?e[cu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Wc:null},Jc=S,fu=di,e0=Q,t0=G,Zt=C("iterator"),vi=!1;[].keys&&("next"in(lu=[].keys())?(su=fu(fu(lu)))!==Object.prototype&&(ne=su):vi=!0),(ne==null||Jc(function(){var e={};return ne[Zt].call(e)!==e}))&&(ne={}),t0(ne,Zt)||e0(ne,Zt,function(){return this});var Gn={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:vi},n0=Gn.IteratorPrototype,r0=Di,u0=ft,i0=$n,a0=Me,o0=function(){return this},s0=T,l0=function(e,n,t){var r=n+" Iterator";return e.prototype=r0(n0,{next:u0(1,t)}),i0(e,r,!1),a0[r]=o0,e},pu=di,hu=Bn,c0=$n,Du=Q,f0=V.exports,p0=Me,Gt=Gn.IteratorPrototype,Ye=Gn.BUGGY_SAFARI_ITERATORS,xe=C("iterator"),h0=function(){return this},mi=function(e,n,t,r,u,i,l){l0(t,n,r);var o,a,f,c=function(v){if(v===u&&D)return D;if(!Ye&&v in p)return p[v];switch(v){case"keys":case"values":case"entries":return function(){return new t(this,v)}}return function(){return new t(this)}},s=n+" Iterator",h=!1,p=e.prototype,d=p[xe]||p["@@iterator"]||u&&p[u],D=!Ye&&d||c(u),g=n=="Array"&&p.entries||d;if(g&&(o=pu(g.call(new e)),Gt!==Object.prototype&&o.next&&(pu(o)!==Gt&&(hu?hu(o,Gt):typeof o[xe]!="function"&&Du(o,xe,h0)),c0(o,s,!0))),u=="values"&&d&&d.name!=="values"&&(h=!0,D=function(){return d.call(this)}),p[xe]!==D&&Du(p,xe,D),p0[n]=D,u)if(a={values:c("values"),keys:i?D:c("keys"),entries:c("entries")},l)for(f in a)(Ye||h||!(f in p))&&f0(p,f,a[f]);else s0({target:n,proto:!0,forced:Ye||h},a);return a},D0=me,Qt=gi,gu=Me,yi=ye,g0=mi,d0=yi.set,v0=yi.getterFor("Array Iterator"),m0=g0(Array,"Array",function(e,n){d0(this,{type:"Array Iterator",target:D0(e),index:0,kind:n})},function(){var e=v0(this),n=e.target,t=e.kind,r=e.index++;return!n||r>=n.length?(e.target=void 0,{value:void 0,done:!0}):t=="keys"?{value:r,done:!1}:t=="values"?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}},"values");gu.Arguments=gu.Array,Qt("keys"),Qt("values"),Qt("entries");var y0=Nu.charAt,Ai=ye,A0=mi,k0=Ai.set,E0=Ai.getterFor("String Iterator");A0(String,"String",function(e){k0(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,n=E0(this),t=n.string,r=n.index;return r>=t.length?{value:void 0,done:!0}:(e=y0(t,r),n.index+=e.length,{value:e,done:!1})});var x0=w,du=Hu,Ce=m0,Vt=Q,ki=C,Ht=ki("iterator"),vu=ki("toStringTag"),Yt=Ce.values;for(var Kt in du){var mu=x0[Kt],Z=mu&&mu.prototype;if(Z){if(Z[Ht]!==Yt)try{Vt(Z,Ht,Yt)}catch{Z[Ht]=Yt}if(Z[vu]||Vt(Z,vu,Kt),du[Kt]){for(var ce in Ce)if(Z[ce]!==Ce[ce])try{Vt(Z,ce,Ce[ce])}catch{Z[ce]=Ce[ce]}}}}var F0=T,b0=S,C0=Rn,w0=j,B0=ie,S0=H,yu=Zn,_0=In,T0=Ne,O0=ht,Ei=C("isConcatSpreadable"),R0=O0>=51||!b0(function(){var e=[];return e[Ei]=!1,e.concat()[0]!==e}),I0=T0("concat"),j0=function(e){if(!w0(e))return!1;var n=e[Ei];return n!==void 0?!!n:C0(e)};F0({target:"Array",proto:!0,forced:!R0||!I0},{concat:function(e){var n,t,r,u,i,l=B0(this),o=_0(l,0),a=0;for(n=-1,r=arguments.length;n<r;n++)if(j0(i=n===-1?l:arguments[n])){if(a+(u=S0(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(t=0;t<u;t++,a++)t in i&&yu(o,a,i[t])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");yu(o,a++,i)}return o.length=a,o}});var z0=T,$0=kn,P0=Pe,L0=H,M0=ie,N0=In,q0=Zn,U0=Ne("splice"),Z0=Math.max,G0=Math.min;z0({target:"Array",proto:!0,forced:!U0},{splice:function(e,n){var t,r,u,i,l,o,a=M0(this),f=L0(a.length),c=$0(e,f),s=arguments.length;if(s===0?t=r=0:s===1?(t=0,r=f-c):(t=s-2,r=G0(Z0(P0(n),0),f-c)),f+t-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=N0(a,r),i=0;i<r;i++)(l=c+i)in a&&q0(u,i,a[l]);if(u.length=r,t<r){for(i=c;i<f-r;i++)o=i+t,(l=i+r)in a?a[o]=a[l]:delete a[o];for(i=f;i>f-r+t;i--)delete a[i-1]}else if(t>r)for(i=f-r;i>c;i--)o=i+t-1,(l=i+r-1)in a?a[o]=a[l]:delete a[o];for(i=0;i<t;i++)a[i+c]=arguments[i+2];return a.length=f-r+t,u}});var Q0=jn.map;T({target:"Array",proto:!0,forced:!Ne("map")},{map:function(e){return Q0(this,e,arguments.length>1?arguments[1]:void 0)}});var V0=T,H0=_n.start,xi=Tn("trimStart"),Au=xi?function(){return H0(this)}:"".trimStart;V0({target:"String",proto:!0,forced:xi},{trimStart:Au,trimLeft:Au});var Y0=Object.is||function(e,n){return e===n?e!==0||1/e==1/n:e!=e&&n!=n},K0=O,X0=M,ku=Y0,W0=gt;Dt("search",1,function(e,n,t){return[function(r){var u=X0(this),i=r==null?void 0:r[e];return i!==void 0?i.call(r,u):new RegExp(r)[e](String(u))},function(r){var u=t(n,r,this);if(u.done)return u.value;var i=K0(r),l=String(this),o=i.lastIndex;ku(o,0)||(i.lastIndex=0);var a=W0(i,l);return ku(i.lastIndex,o)||(i.lastIndex=o),a===null?-1:a.index}]});var J0=T,ef=_n.end,Fi=Tn("trimEnd"),Eu=Fi?function(){return ef(this)}:"".trimEnd;J0({target:"String",proto:!0,forced:Fi},{trimEnd:Eu,trimRight:Eu});var tf=jn.filter;T({target:"Array",proto:!0,forced:!Ne("filter")},{filter:function(e){return tf(this,e,arguments.length>1?arguments[1]:void 0)}});var nf=M,rf=/"/g,uf=S,af=function(e,n,t,r){var u=String(nf(e)),i="<"+n;return t!==""&&(i+=" "+t+'="'+String(r).replace(rf,""")+'"'),i+">"+u+"</"+n+">"};T({target:"String",proto:!0,forced:function(e){return uf(function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3})}("link")},{link:function(e){return af(this,"a","href",e)}});var of=ie,xu=pi;T({target:"Object",stat:!0,forced:S(function(){xu(1)})},{keys:function(e){return xu(of(e))}});var sf=zu.includes,lf=gi;T({target:"Array",proto:!0},{includes:function(e){return sf(this,e,arguments.length>1?arguments[1]:void 0)}}),lf("includes");var cf=Sn,ff=C("match"),pf=function(e){if(cf(e))throw TypeError("The method doesn't accept regular expressions");return e},hf=M;function Df(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}T({target:"String",proto:!0,forced:!function(e){var n=/./;try{"/./"[e](n)}catch{try{return n[ff]=!1,"/./"[e](n)}catch{}}return!1}("includes")},{includes:function(e){return!!~String(hf(this)).indexOf(pf(e),arguments.length>1?arguments[1]:void 0)}});var De={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},gf=/[&<>"']/,df=/[&<>"']/g,vf=/[<>"']|&(?!#?\w+;)/,mf=/[<>"']|&(?!#?\w+;)/g,yf={"&":"&","<":"<",">":">",'"':""","'":"'"},Fu=function(e){return yf[e]};function B(e,n){if(n){if(gf.test(e))return e.replace(df,Fu)}else if(vf.test(e))return e.replace(mf,Fu);return e}var Af=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function bi(e){return e.replace(Af,function(n,t){return(t=t.toLowerCase())==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var kf=/(^|[^\[])\^/g;function F(e,n){e=e.source||e,n=n||"";var t={replace:function(r,u){return u=(u=u.source||u).replace(kf,"$1"),e=e.replace(r,u),t},getRegex:function(){return new RegExp(e,n)}};return t}var Ef=/[^\w:]/g,xf=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function bu(e,n,t){if(e){var r;try{r=decodeURIComponent(bi(t)).replace(Ef,"").toLowerCase()}catch{return null}if(r.indexOf("javascript:")===0||r.indexOf("vbscript:")===0||r.indexOf("data:")===0)return null}n&&!xf.test(t)&&(t=function(u,i){Ke[" "+u]||(Ff.test(u)?Ke[" "+u]=u+"/":Ke[" "+u]=Je(u,"/",!0));var l=(u=Ke[" "+u]).indexOf(":")===-1;return i.substring(0,2)==="//"?l?i:u.replace(bf,"$1")+i:i.charAt(0)==="/"?l?i:u.replace(Cf,"$1")+i:u+i}(n,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}var Ke={},Ff=/^[^:]+:\/*[^/]*$/,bf=/^([^:]+:)[\s\S]*$/,Cf=/^([^:]+:\/*[^/]*)[\s\S]*$/,lt={exec:function(){}};function z(e){for(var n,t,r=1;r<arguments.length;r++)for(t in n=arguments[r])Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}function Cu(e,n){var t=e.replace(/\|/g,function(u,i,l){for(var o=!1,a=i;--a>=0&&l[a]==="\\";)o=!o;return o?"|":" |"}).split(/ \|/),r=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),t.length>n)t.splice(n);else for(;t.length<n;)t.push("");for(;r<t.length;r++)t[r]=t[r].trim().replace(/\\\|/g,"|");return t}function Je(e,n,t){var r=e.length;if(r===0)return"";for(var u=0;u<r;){var i=e.charAt(r-u-1);if(i!==n||t){if(i===n||!t)break;u++}else u++}return e.substr(0,r-u)}function Ci(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")}function wu(e,n){if(n<1)return"";for(var t="";n>1;)1&n&&(t+=e),n>>=1,e+=e;return t+e}function Bu(e,n,t,r){var u=n.href,i=n.title?B(n.title):null,l=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;var o={type:"link",raw:t,href:u,title:i,text:l,tokens:r.inlineTokens(l,[])};return r.state.inLink=!1,o}return{type:"image",raw:t,href:u,title:i,text:B(l)}}var cn=function(){function e(n){ge(this,e),this.options=n||De}return de(e,[{key:"space",value:function(n){var t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(n){var t=this.rules.block.code.exec(n);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Je(r,`
|
|
`)}}}},{key:"fences",value:function(n){var t=this.rules.block.fences.exec(n);if(t){var r=t[0],u=function(i,l){var o=i.match(/^(\s+)(?:```)/);if(o===null)return l;var a=o[1];return l.split(`
|
|
`).map(function(f){var c=f.match(/^\s+/);return c===null?f:Ti(c,1)[0].length>=a.length?f.slice(a.length):f}).join(`
|
|
`)}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:u}}}},{key:"heading",value:function(n){var t=this.rules.block.heading.exec(n);if(t){var r=t[2].trim();if(/#$/.test(r)){var u=Je(r,"#");this.options.pedantic?r=u.trim():u&&!/ $/.test(u)||(r=u.trim())}var i={type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:[]};return this.lexer.inline(i.text,i.tokens),i}}},{key:"hr",value:function(n){var t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(n){var t=this.rules.block.blockquote.exec(n);if(t){var r=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(r,[]),text:r}}}},{key:"list",value:function(n){var t=this.rules.block.list.exec(n);if(t){var r,u,i,l,o,a,f,c,s,h,p,d,D=t[1].trim(),g=D.length>1,v={type:"list",raw:"",ordered:g,start:g?+D.slice(0,-1):"",loose:!1,items:[]};D=g?"\\d{1,9}\\".concat(D.slice(-1)):"\\".concat(D),this.options.pedantic&&(D=g?D:"[*+-]");for(var k=new RegExp("^( {0,3}".concat(D,")((?: [^\\n]*)?(?:\\n|$))"));n&&(d=!1,t=k.exec(n))&&!this.rules.block.hr.test(n);){if(r=t[0],n=n.substring(r.length),c=t[2].split(`
|
|
`,1)[0],s=n.split(`
|
|
`,1)[0],this.options.pedantic?(l=2,p=c.trimLeft()):(l=(l=t[2].search(/[^ ]/))>4?1:l,p=c.slice(l),l+=t[1].length),a=!1,!c&&/^ *$/.test(s)&&(r+=s+`
|
|
`,n=n.substring(s.length+1),d=!0),!d)for(var E=new RegExp("^ {0,".concat(Math.min(3,l-1),"}(?:[*+-]|\\d{1,9}[.)])"));n&&(c=h=n.split(`
|
|
`,1)[0],this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!E.test(c));){if(c.search(/[^ ]/)>=l||!c.trim())p+=`
|
|
`+c.slice(l);else{if(a)break;p+=`
|
|
`+c}a||c.trim()||(a=!0),r+=h+`
|
|
`,n=n.substring(h.length+1)}v.loose||(f?v.loose=!0:/\n *\n *$/.test(r)&&(f=!0)),this.options.gfm&&(u=/^\[[ xX]\] /.exec(p))&&(i=u[0]!=="[ ] ",p=p.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:r,task:!!u,checked:i,loose:!1,text:p}),v.raw+=r}v.items[v.items.length-1].raw=r.trimRight(),v.items[v.items.length-1].text=p.trimRight(),v.raw=v.raw.trimRight();var b=v.items.length;for(o=0;o<b;o++){this.lexer.state.top=!1,v.items[o].tokens=this.lexer.blockTokens(v.items[o].text,[]);var _=v.items[o].tokens.filter(function(R){return R.type==="space"}),x=_.every(function(R){var q,ae=0,W=Fe(R.raw.split(""));try{for(W.s();!(q=W.n()).done;)if(q.value===`
|
|
`&&(ae+=1),ae>1)return!0}catch(qe){W.e(qe)}finally{W.f()}return!1});!v.loose&&_.length&&x&&(v.loose=!0,v.items[o].loose=!0)}return v}}},{key:"html",value:function(n){var t=this.rules.block.html.exec(n);if(t){var r={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};return this.options.sanitize&&(r.type="paragraph",r.text=this.options.sanitizer?this.options.sanitizer(t[0]):B(t[0]),r.tokens=[],this.lexer.inline(r.text,r.tokens)),r}}},{key:"def",value:function(n){var t=this.rules.block.def.exec(n);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}},{key:"table",value:function(n){var t=this.rules.block.table.exec(n);if(t){var r={type:"table",header:Cu(t[1]).map(function(f){return{text:f}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
|
|
`):[]};if(r.header.length===r.align.length){r.raw=t[0];var u,i,l,o,a=r.align.length;for(u=0;u<a;u++)/^ *-+: *$/.test(r.align[u])?r.align[u]="right":/^ *:-+: *$/.test(r.align[u])?r.align[u]="center":/^ *:-+ *$/.test(r.align[u])?r.align[u]="left":r.align[u]=null;for(a=r.rows.length,u=0;u<a;u++)r.rows[u]=Cu(r.rows[u],r.header.length).map(function(f){return{text:f}});for(a=r.header.length,i=0;i<a;i++)r.header[i].tokens=[],this.lexer.inlineTokens(r.header[i].text,r.header[i].tokens);for(a=r.rows.length,i=0;i<a;i++)for(o=r.rows[i],l=0;l<o.length;l++)o[l].tokens=[],this.lexer.inlineTokens(o[l].text,o[l].tokens);return r}}}},{key:"lheading",value:function(n){var t=this.rules.block.lheading.exec(n);if(t){var r={type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}},{key:"paragraph",value:function(n){var t=this.rules.block.paragraph.exec(n);if(t){var r={type:"paragraph",raw:t[0],text:t[1].charAt(t[1].length-1)===`
|
|
`?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}},{key:"text",value:function(n){var t=this.rules.block.text.exec(n);if(t){var r={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}},{key:"escape",value:function(n){var t=this.rules.inline.escape.exec(n);if(t)return{type:"escape",raw:t[0],text:B(t[1])}}},{key:"tag",value:function(n){var t=this.rules.inline.tag.exec(n);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/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]):B(t[0]):t[0]}}},{key:"link",value:function(n){var t=this.rules.inline.link.exec(n);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var u=Je(r.slice(0,-1),"\\");if((r.length-u.length)%2==0)return}else{var i=function(c,s){if(c.indexOf(s[1])===-1)return-1;for(var h=c.length,p=0,d=0;d<h;d++)if(c[d]==="\\")d++;else if(c[d]===s[0])p++;else if(c[d]===s[1]&&--p<0)return d;return-1}(t[2],"()");if(i>-1){var l=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,l).trim(),t[3]=""}}var o=t[2],a="";if(this.options.pedantic){var f=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);f&&(o=f[1],a=f[3])}else a=t[3]?t[3].slice(1,-1):"";return o=o.trim(),/^</.test(o)&&(o=this.options.pedantic&&!/>$/.test(r)?o.slice(1):o.slice(1,-1)),Bu(t,{href:o&&o.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}},{key:"reflink",value:function(n,t){var r;if((r=this.rules.inline.reflink.exec(n))||(r=this.rules.inline.nolink.exec(n))){var u=(r[2]||r[1]).replace(/\s+/g," ");if(!(u=t[u.toLowerCase()])||!u.href){var i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return Bu(r,u,r[0],this.lexer)}}},{key:"emStrong",value:function(n,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",u=this.rules.inline.emStrong.lDelim.exec(n);if(u&&(!u[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=u[1]||u[2]||"";if(!i||i&&(r===""||this.rules.inline.punctuation.exec(r))){var l,o,a=u[0].length-1,f=a,c=0,s=u[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(s.lastIndex=0,t=t.slice(-1*n.length+a);(u=s.exec(t))!=null;)if(l=u[1]||u[2]||u[3]||u[4]||u[5]||u[6])if(o=l.length,u[3]||u[4])f+=o;else if(!((u[5]||u[6])&&a%3)||(a+o)%3){if(!((f-=o)>0)){if(o=Math.min(o,o+f+c),Math.min(a,o)%2){var h=n.slice(1,a+u.index+o);return{type:"em",raw:n.slice(0,a+u.index+o+1),text:h,tokens:this.lexer.inlineTokens(h,[])}}var p=n.slice(2,a+u.index+o-1);return{type:"strong",raw:n.slice(0,a+u.index+o+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}else c+=o}}}},{key:"codespan",value:function(n){var t=this.rules.inline.code.exec(n);if(t){var r=t[2].replace(/\n/g," "),u=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return u&&i&&(r=r.substring(1,r.length-1)),r=B(r,!0),{type:"codespan",raw:t[0],text:r}}}},{key:"br",value:function(n){var t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(n){var t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}},{key:"autolink",value:function(n,t){var r,u,i=this.rules.inline.autolink.exec(n);if(i)return u=i[2]==="@"?"mailto:"+(r=B(this.options.mangle?t(i[1]):i[1])):r=B(i[1]),{type:"link",raw:i[0],text:r,href:u,tokens:[{type:"text",raw:r,text:r}]}}},{key:"url",value:function(n,t){var r;if(r=this.rules.inline.url.exec(n)){var u,i;if(r[2]==="@")i="mailto:"+(u=B(this.options.mangle?t(r[0]):r[0]));else{var l;do l=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(l!==r[0]);u=B(r[0]),i=r[1]==="www."?"http://"+u:u}return{type:"link",raw:r[0],text:u,href:i,tokens:[{type:"text",raw:u,text:u}]}}}},{key:"inlineText",value:function(n,t){var r,u=this.rules.inline.text.exec(n);if(u)return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(u[0]):B(u[0]):u[0]:B(this.options.smartypants?t(u[0]):u[0]),{type:"text",raw:u[0],text:r}}}]),e}(),y={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}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:lt,lheading:/^([^\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?'|\([^()]*\))/};y.def=F(y.def).replace("label",y._label).replace("title",y._title).getRegex(),y.bullet=/(?:[*+-]|\d{1,9}[.)])/,y.listItemStart=F(/^( *)(bull) */).replace("bull",y.bullet).getRegex(),y.list=F(y.list).replace(/bull/g,y.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+y.def.source+")").getRegex(),y._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",y._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,y.html=F(y.html,"i").replace("comment",y._comment).replace("tag",y._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),y.paragraph=F(y._paragraph).replace("hr",y.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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",y._tag).getRegex(),y.blockquote=F(y.blockquote).replace("paragraph",y.paragraph).getRegex(),y.normal=z({},y),y.gfm=z({},y.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),y.gfm.table=F(y.gfm.table).replace("hr",y.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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",y._tag).getRegex(),y.gfm.paragraph=F(y._paragraph).replace("hr",y.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",y.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",y._tag).getRegex(),y.pedantic=z({},y.normal,{html:F(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",y._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:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:lt,paragraph:F(y.normal._paragraph).replace("hr",y.hr).replace("heading",` *#{1,6} *[^
|
|
]`).replace("lheading",y.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var m={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:lt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\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:lt,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function wf(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Su(e){var n,t,r="",u=e.length;for(n=0;n<u;n++)t=e.charCodeAt(n),Math.random()>.5&&(t="x"+t.toString(16)),r+="&#"+t+";";return r}m._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",m.punctuation=F(m.punctuation).replace(/punctuation/g,m._punctuation).getRegex(),m.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,m.escapedEmSt=/\\\*|\\_/g,m._comment=F(y._comment).replace("(?:-->|$)","-->").getRegex(),m.emStrong.lDelim=F(m.emStrong.lDelim).replace(/punct/g,m._punctuation).getRegex(),m.emStrong.rDelimAst=F(m.emStrong.rDelimAst,"g").replace(/punct/g,m._punctuation).getRegex(),m.emStrong.rDelimUnd=F(m.emStrong.rDelimUnd,"g").replace(/punct/g,m._punctuation).getRegex(),m._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,m._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,m._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])?)+(?![-_])/,m.autolink=F(m.autolink).replace("scheme",m._scheme).replace("email",m._email).getRegex(),m._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,m.tag=F(m.tag).replace("comment",m._comment).replace("attribute",m._attribute).getRegex(),m._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,m._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,m._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,m.link=F(m.link).replace("label",m._label).replace("href",m._href).replace("title",m._title).getRegex(),m.reflink=F(m.reflink).replace("label",m._label).replace("ref",y._label).getRegex(),m.nolink=F(m.nolink).replace("ref",y._label).getRegex(),m.reflinkSearch=F(m.reflinkSearch,"g").replace("reflink",m.reflink).replace("nolink",m.nolink).getRegex(),m.normal=z({},m),m.pedantic=z({},m.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:F(/^!?\[(label)\]\((.*?)\)/).replace("label",m._label).getRegex(),reflink:F(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",m._label).getRegex()}),m.gfm=z({},m.normal,{escape:F(m.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]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),m.gfm.url=F(m.gfm.url,"i").replace("email",m.gfm._extended_email).getRegex(),m.breaks=z({},m.gfm,{br:F(m.br).replace("{2,}","*").getRegex(),text:F(m.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Re=function(){function e(n){ge(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=n||De,this.options.tokenizer=this.options.tokenizer||new cn,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:y.normal,inline:m.normal};this.options.pedantic?(t.block=y.pedantic,t.inline=m.pedantic):this.options.gfm&&(t.block=y.gfm,this.options.breaks?t.inline=m.breaks:t.inline=m.gfm),this.tokenizer.rules=t}return de(e,[{key:"lex",value:function(n){var t;for(n=n.replace(/\r\n|\r/g,`
|
|
`).replace(/\t/g," "),this.blockTokens(n,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(n){var t,r,u,i,l=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];for(this.options.pedantic&&(n=n.replace(/^ +$/gm,""));n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(f){return!!(t=f.call({lexer:l},n,o))&&(n=n.substring(t.raw.length),o.push(t),!0)}))){if(t=this.tokenizer.space(n))n=n.substring(t.raw.length),t.raw.length===1&&o.length>0?o[o.length-1].raw+=`
|
|
`:o.push(t);else if(t=this.tokenizer.code(n))n=n.substring(t.raw.length),!(r=o[o.length-1])||r.type!=="paragraph"&&r.type!=="text"?o.push(t):(r.raw+=`
|
|
`+t.raw,r.text+=`
|
|
`+t.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.fences(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.heading(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.hr(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.blockquote(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.list(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.html(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.def(n))n=n.substring(t.raw.length),!(r=o[o.length-1])||r.type!=="paragraph"&&r.type!=="text"?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(r.raw+=`
|
|
`+t.raw,r.text+=`
|
|
`+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.table(n))n=n.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.lheading(n))n=n.substring(t.raw.length),o.push(t);else if(u=n,this.options.extensions&&this.options.extensions.startBlock&&function(){var f=1/0,c=n.slice(1),s=void 0;l.options.extensions.startBlock.forEach(function(h){typeof(s=h.call({lexer:this},c))=="number"&&s>=0&&(f=Math.min(f,s))}),f<1/0&&f>=0&&(u=n.substring(0,f+1))}(),this.state.top&&(t=this.tokenizer.paragraph(u)))r=o[o.length-1],i&&r.type==="paragraph"?(r.raw+=`
|
|
`+t.raw,r.text+=`
|
|
`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):o.push(t),i=u.length!==n.length,n=n.substring(t.raw.length);else if(t=this.tokenizer.text(n))n=n.substring(t.raw.length),(r=o[o.length-1])&&r.type==="text"?(r.raw+=`
|
|
`+t.raw,r.text+=`
|
|
`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):o.push(t);else if(n){var a="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,o}},{key:"inline",value:function(n,t){this.inlineQueue.push({src:n,tokens:t})}},{key:"inlineTokens",value:function(n){var t,r,u,i,l,o,a=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=n;if(this.tokens.links){var s=Object.keys(this.tokens.links);if(s.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)s.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,i.index)+"["+wu("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,i.index)+"["+wu("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.escapedEmSt.exec(c))!=null;)c=c.slice(0,i.index)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;n;)if(l||(o=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(p){return!!(t=p.call({lexer:a},n,f))&&(n=n.substring(t.raw.length),f.push(t),!0)})))if(t=this.tokenizer.escape(n))n=n.substring(t.raw.length),f.push(t);else if(t=this.tokenizer.tag(n))n=n.substring(t.raw.length),(r=f[f.length-1])&&t.type==="text"&&r.type==="text"?(r.raw+=t.raw,r.text+=t.text):f.push(t);else if(t=this.tokenizer.link(n))n=n.substring(t.raw.length),f.push(t);else if(t=this.tokenizer.reflink(n,this.tokens.links))n=n.substring(t.raw.length),(r=f[f.length-1])&&t.type==="text"&&r.type==="text"?(r.raw+=t.raw,r.text+=t.text):f.push(t);else if(t=this.tokenizer.emStrong(n,c,o))n=n.substring(t.raw.length),f.push(t);else if(t=this.tokenizer.codespan(n))n=n.substring(t.raw.length),f.push(t);else if(t=this.tokenizer.br(n))n=n.substring(t.raw.length),f.push(t);else if(t=this.tokenizer.del(n))n=n.substring(t.raw.length),f.push(t);else if(t=this.tokenizer.autolink(n,Su))n=n.substring(t.raw.length),f.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(n,Su))){if(u=n,this.options.extensions&&this.options.extensions.startInline&&function(){var p=1/0,d=n.slice(1),D=void 0;a.options.extensions.startInline.forEach(function(g){typeof(D=g.call({lexer:this},d))=="number"&&D>=0&&(p=Math.min(p,D))}),p<1/0&&p>=0&&(u=n.substring(0,p+1))}(),t=this.tokenizer.inlineText(u,wf))n=n.substring(t.raw.length),t.raw.slice(-1)!=="_"&&(o=t.raw.slice(-1)),l=!0,(r=f[f.length-1])&&r.type==="text"?(r.raw+=t.raw,r.text+=t.text):f.push(t);else if(n){var h="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else n=n.substring(t.raw.length),f.push(t);return f}}],[{key:"rules",get:function(){return{block:y,inline:m}}},{key:"lex",value:function(n,t){return new e(t).lex(n)}},{key:"lexInline",value:function(n,t){return new e(t).inlineTokens(n)}}]),e}(),fn=function(){function e(n){ge(this,e),this.options=n||De}return de(e,[{key:"code",value:function(n,t,r){var u=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(n,u);i!=null&&i!==n&&(r=!0,n=i)}return n=n.replace(/\n$/,"")+`
|
|
`,u?'<pre><code class="'+this.options.langPrefix+B(u,!0)+'">'+(r?n:B(n,!0))+`</code></pre>
|
|
`:"<pre><code>"+(r?n:B(n,!0))+`</code></pre>
|
|
`}},{key:"blockquote",value:function(n){return`<blockquote>
|
|
`+n+`</blockquote>
|
|
`}},{key:"html",value:function(n){return n}},{key:"heading",value:function(n,t,r,u){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+u.slug(r)+'">'+n+"</h"+t+`>
|
|
`:"<h"+t+">"+n+"</h"+t+`>
|
|
`}},{key:"hr",value:function(){return this.options.xhtml?`<hr/>
|
|
`:`<hr>
|
|
`}},{key:"list",value:function(n,t,r){var u=t?"ol":"ul";return"<"+u+(t&&r!==1?' start="'+r+'"':"")+`>
|
|
`+n+"</"+u+`>
|
|
`}},{key:"listitem",value:function(n){return"<li>"+n+`</li>
|
|
`}},{key:"checkbox",value:function(n){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(n){return"<p>"+n+`</p>
|
|
`}},{key:"table",value:function(n,t){return t&&(t="<tbody>"+t+"</tbody>"),`<table>
|
|
<thead>
|
|
`+n+`</thead>
|
|
`+t+`</table>
|
|
`}},{key:"tablerow",value:function(n){return`<tr>
|
|
`+n+`</tr>
|
|
`}},{key:"tablecell",value:function(n,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+n+"</"+r+`>
|
|
`}},{key:"strong",value:function(n){return"<strong>"+n+"</strong>"}},{key:"em",value:function(n){return"<em>"+n+"</em>"}},{key:"codespan",value:function(n){return"<code>"+n+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(n){return"<del>"+n+"</del>"}},{key:"link",value:function(n,t,r){if((n=bu(this.options.sanitize,this.options.baseUrl,n))===null)return r;var u='<a href="'+B(n)+'"';return t&&(u+=' title="'+t+'"'),u+=">"+r+"</a>"}},{key:"image",value:function(n,t,r){if((n=bu(this.options.sanitize,this.options.baseUrl,n))===null)return r;var u='<img src="'+n+'" alt="'+r+'"';return t&&(u+=' title="'+t+'"'),u+=this.options.xhtml?"/>":">"}},{key:"text",value:function(n){return n}}]),e}(),wi=function(){function e(){ge(this,e)}return de(e,[{key:"strong",value:function(n){return n}},{key:"em",value:function(n){return n}},{key:"codespan",value:function(n){return n}},{key:"del",value:function(n){return n}},{key:"html",value:function(n){return n}},{key:"text",value:function(n){return n}},{key:"link",value:function(n,t,r){return""+r}},{key:"image",value:function(n,t,r){return""+r}},{key:"br",value:function(){return""}}]),e}(),Bi=function(){function e(){ge(this,e),this.seen={}}return de(e,[{key:"serialize",value:function(n){return n.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(n,t){var r=n,u=0;if(this.seen.hasOwnProperty(r)){u=this.seen[n];do r=n+"-"+ ++u;while(this.seen.hasOwnProperty(r))}return t||(this.seen[n]=u,this.seen[r]=0),r}},{key:"slug",value:function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.serialize(n);return this.getNextSafeSlug(r,t.dryrun)}}]),e}(),Ie=function(){function e(n){ge(this,e),this.options=n||De,this.options.renderer=this.options.renderer||new fn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new wi,this.slugger=new Bi}return de(e,[{key:"parse",value:function(n){var t,r,u,i,l,o,a,f,c,s,h,p,d,D,g,v,k,E,b,_=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],x="",R=n.length;for(t=0;t<R;t++)if(s=n[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type])||(b=this.options.extensions.renderers[s.type].call({parser:this},s))===!1&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(s.type))switch(s.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(s.tokens),s.depth,bi(this.parseInline(s.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(s.text,s.lang,s.escaped);continue;case"table":for(f="",a="",i=s.header.length,r=0;r<i;r++)a+=this.renderer.tablecell(this.parseInline(s.header[r].tokens),{header:!0,align:s.align[r]});for(f+=this.renderer.tablerow(a),c="",i=s.rows.length,r=0;r<i;r++){for(a="",l=(o=s.rows[r]).length,u=0;u<l;u++)a+=this.renderer.tablecell(this.parseInline(o[u].tokens),{header:!1,align:s.align[u]});c+=this.renderer.tablerow(a)}x+=this.renderer.table(f,c);continue;case"blockquote":c=this.parse(s.tokens),x+=this.renderer.blockquote(c);continue;case"list":for(h=s.ordered,p=s.start,d=s.loose,i=s.items.length,c="",r=0;r<i;r++)v=(g=s.items[r]).checked,k=g.task,D="",g.task&&(E=this.renderer.checkbox(v),d?g.tokens.length>0&&g.tokens[0].type==="paragraph"?(g.tokens[0].text=E+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&g.tokens[0].tokens[0].type==="text"&&(g.tokens[0].tokens[0].text=E+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:E}):D+=E),D+=this.parse(g.tokens,d),c+=this.renderer.listitem(D,k,v);x+=this.renderer.list(c,h,p);continue;case"html":x+=this.renderer.html(s.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(s.tokens));continue;case"text":for(c=s.tokens?this.parseInline(s.tokens):s.text;t+1<R&&n[t+1].type==="text";)c+=`
|
|
`+((s=n[++t]).tokens?this.parseInline(s.tokens):s.text);x+=_?this.renderer.paragraph(c):c;continue;default:var q='Token with "'+s.type+'" type was not found.';if(this.options.silent)return void console.error(q);throw new Error(q)}else x+=b||"";return x}},{key:"parseInline",value:function(n,t){t=t||this.renderer;var r,u,i,l="",o=n.length;for(r=0;r<o;r++)if(u=n[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type])||(i=this.options.extensions.renderers[u.type].call({parser:this},u))===!1&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type))switch(u.type){case"escape":l+=t.text(u.text);break;case"html":l+=t.html(u.text);break;case"link":l+=t.link(u.href,u.title,this.parseInline(u.tokens,t));break;case"image":l+=t.image(u.href,u.title,u.text);break;case"strong":l+=t.strong(this.parseInline(u.tokens,t));break;case"em":l+=t.em(this.parseInline(u.tokens,t));break;case"codespan":l+=t.codespan(u.text);break;case"br":l+=t.br();break;case"del":l+=t.del(this.parseInline(u.tokens,t));break;case"text":l+=t.text(u.text);break;default:var a='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}else l+=i||"";return l}}],[{key:"parse",value:function(n,t){return new e(t).parse(n)}},{key:"parseInline",value:function(n,t){return new e(t).parseInline(n)}}]),e}();function A(e,n,t){if(e==null)throw new Error("marked(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(typeof n=="function"&&(t=n,n=null),Ci(n=z({},A.defaults,n||{})),t){var r,u=n.highlight;try{r=Re.lex(e,n)}catch(a){return t(a)}var i=function(a){var f;if(!a)try{n.walkTokens&&A.walkTokens(r,n.walkTokens),f=Ie.parse(r,n)}catch(c){a=c}return n.highlight=u,a?t(a):t(null,f)};if(!u||u.length<3||(delete n.highlight,!r.length))return i();var l=0;return A.walkTokens(r,function(a){a.type==="code"&&(l++,setTimeout(function(){u(a.text,a.lang,function(f,c){if(f)return i(f);c!=null&&c!==a.text&&(a.text=c,a.escaped=!0),--l===0&&i()})},0))}),void(l===0&&i())}try{var o=Re.lex(e,n);return n.walkTokens&&A.walkTokens(o,n.walkTokens),Ie.parse(o,n)}catch(a){if(a.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,n.silent)return"<p>An error occurred:</p><pre>"+B(a.message+"",!0)+"</pre>";throw a}}A.options=A.setOptions=function(e){var n;return z(A.defaults,e),n=A.defaults,De=n,A},A.getDefaults=Df,A.defaults=De,A.use=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var r,u=z.apply(void 0,[{}].concat(n)),i=A.defaults.extensions||{renderers:{},childTokens:{}};n.forEach(function(l){if(l.extensions&&(r=!0,l.extensions.forEach(function(a){if(!a.name)throw new Error("extension name required");if(a.renderer){var f=i.renderers?i.renderers[a.name]:null;i.renderers[a.name]=f?function(){for(var c=arguments.length,s=new Array(c),h=0;h<c;h++)s[h]=arguments[h];var p=a.renderer.apply(this,s);return p===!1&&(p=f.apply(this,s)),p}:a.renderer}if(a.tokenizer){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");i[a.level]?i[a.level].unshift(a.tokenizer):i[a.level]=[a.tokenizer],a.start&&(a.level==="block"?i.startBlock?i.startBlock.push(a.start):i.startBlock=[a.start]:a.level==="inline"&&(i.startInline?i.startInline.push(a.start):i.startInline=[a.start]))}a.childTokens&&(i.childTokens[a.name]=a.childTokens)})),l.renderer&&function(){var a=A.defaults.renderer||new fn,f=function(s){var h=a[s];a[s]=function(){for(var p=arguments.length,d=new Array(p),D=0;D<p;D++)d[D]=arguments[D];var g=l.renderer[s].apply(a,d);return g===!1&&(g=h.apply(a,d)),g}};for(var c in l.renderer)f(c);u.renderer=a}(),l.tokenizer&&function(){var a=A.defaults.tokenizer||new cn,f=function(s){var h=a[s];a[s]=function(){for(var p=arguments.length,d=new Array(p),D=0;D<p;D++)d[D]=arguments[D];var g=l.tokenizer[s].apply(a,d);return g===!1&&(g=h.apply(a,d)),g}};for(var c in l.tokenizer)f(c);u.tokenizer=a}(),l.walkTokens){var o=A.defaults.walkTokens;u.walkTokens=function(a){l.walkTokens.call(this,a),o&&o.call(this,a)}}r&&(u.extensions=i),A.setOptions(u)})},A.walkTokens=function(e,n){var t,r=Fe(e);try{var u=function(){var i=t.value;switch(n.call(A,i),i.type){case"table":var l,o=Fe(i.header);try{for(o.s();!(l=o.n()).done;){var a=l.value;A.walkTokens(a.tokens,n)}}catch(d){o.e(d)}finally{o.f()}var f,c=Fe(i.rows);try{for(c.s();!(f=c.n()).done;){var s,h=Fe(f.value);try{for(h.s();!(s=h.n()).done;){var p=s.value;A.walkTokens(p.tokens,n)}}catch(d){h.e(d)}finally{h.f()}}}catch(d){c.e(d)}finally{c.f()}break;case"list":A.walkTokens(i.items,n);break;default:A.defaults.extensions&&A.defaults.extensions.childTokens&&A.defaults.extensions.childTokens[i.type]?A.defaults.extensions.childTokens[i.type].forEach(function(d){A.walkTokens(i[d],n)}):i.tokens&&A.walkTokens(i.tokens,n)}};for(r.s();!(t=r.n()).done;)u()}catch(i){r.e(i)}finally{r.f()}},A.parseInline=function(e,n){if(e==null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");Ci(n=z({},A.defaults,n||{}));try{var t=Re.lexInline(e,n);return n.walkTokens&&A.walkTokens(t,n.walkTokens),Ie.parseInline(t,n)}catch(r){if(r.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,n.silent)return"<p>An error occurred:</p><pre>"+B(r.message+"",!0)+"</pre>";throw r}},A.Parser=Ie,A.parser=Ie.parse,A.Renderer=fn,A.TextRenderer=wi,A.Lexer=Re,A.lexer=Re.lex,A.Tokenizer=cn,A.Slugger=Bi,A.parse=A;var Xt=/\[([\s\d,|-]*)\]/,Bf={"&":"&","<":"<",">":">",'"':""","'":"'"};function Sf(){var e;function n(c){var s=(c.querySelector("[data-template]")||c.querySelector("script")||c).textContent,h=(s=s.replace(new RegExp("__SCRIPT_END__","g"),"<\/script>")).match(/^\n?(\s*)/)[1].length,p=s.match(/^\n?(\t*)/)[1].length;return p>0?s=s.replace(new RegExp("\\n?\\t{"+p+"}","g"),`
|
|
`):h>1&&(s=s.replace(new RegExp("\\n? {"+h+"}","g"),`
|
|
`)),s}function t(c){for(var s=c.attributes,h=[],p=0,d=s.length;p<d;p++){var D=s[p].name,g=s[p].value;/data\-(markdown|separator|vertical|notes)/gi.test(D)||(g?h.push(D+'="'+g+'"'):h.push(D))}return h.join(" ")}function r(c){return(c=c||{}).separator=c.separator||`\r?
|
|
---\r?
|
|
`,c.notesSeparator=c.notesSeparator||"notes?:",c.attributes=c.attributes||"",c}function u(c,s){s=r(s);var h=c.split(new RegExp(s.notesSeparator,"mgi"));return h.length===2&&(c=h[0]+'<aside class="notes">'+A(h[1].trim())+"</aside>"),'<script type="text/template">'+(c=c.replace(/<\/script>/g,"__SCRIPT_END__"))+"<\/script>"}function i(c,s){s=r(s);for(var h,p,d,D=new RegExp(s.separator+(s.verticalSeparator?"|"+s.verticalSeparator:""),"mg"),g=new RegExp(s.separator),v=0,k=!0,E=[];h=D.exec(c);)!(p=g.test(h[0]))&&k&&E.push([]),d=c.substring(v,h.index),p&&k?E.push(d):E[E.length-1].push(d),v=D.lastIndex,k=p;(k?E:E[E.length-1]).push(c.substring(v));for(var b="",_=0,x=E.length;_<x;_++)E[_]instanceof Array?(b+="<section "+s.attributes+">",E[_].forEach(function(R){b+="<section data-markdown>"+u(R,s)+"</section>"}),b+="</section>"):b+="<section "+s.attributes+" data-markdown>"+u(E[_],s)+"</section>";return b}function l(c){return new Promise(function(s){var h=[];[].slice.call(c.querySelectorAll("section[data-markdown]:not([data-markdown-parsed])")).forEach(function(p,d){p.getAttribute("data-markdown").length?h.push(function(D){return new Promise(function(g,v){var k=new XMLHttpRequest,E=D.getAttribute("data-markdown"),b=D.getAttribute("data-charset");b!=null&&b!=""&&k.overrideMimeType("text/html; charset="+b),k.onreadystatechange=function(_,x){x.readyState===4&&(x.status>=200&&x.status<300||x.status===0?g(x,E):v(x,E))}.bind(this,D,k),k.open("GET",E,!0);try{k.send()}catch(_){console.warn("Failed to get the Markdown file "+E+". Make sure that the presentation and the file are served by a HTTP server and the file can be found there. "+_),g(k,E)}})}(p).then(function(D,g){p.outerHTML=i(D.responseText,{separator:p.getAttribute("data-separator"),verticalSeparator:p.getAttribute("data-separator-vertical"),notesSeparator:p.getAttribute("data-separator-notes"),attributes:t(p)})},function(D,g){p.outerHTML='<section data-state="alert">ERROR: The attempt to fetch '+g+" failed with HTTP status "+D.status+".Check your browser's JavaScript console for more details.<p>Remember that you need to serve the presentation HTML from a HTTP server.</p></section>"})):p.outerHTML=i(n(p),{separator:p.getAttribute("data-separator"),verticalSeparator:p.getAttribute("data-separator-vertical"),notesSeparator:p.getAttribute("data-separator-notes"),attributes:t(p)})}),Promise.all(h).then(s)})}function o(c,s,h){var p,d,D=new RegExp(h,"mg"),g=new RegExp('([^"= ]+?)="([^"]+?)"|(data-[^"= ]+?)(?=[" ])',"mg"),v=c.nodeValue;if(p=D.exec(v)){var k=p[1];for(v=v.substring(0,p.index)+v.substring(D.lastIndex),c.nodeValue=v;d=g.exec(k);)d[2]?s.setAttribute(d[1],d[2]):s.setAttribute(d[3],"");return!0}return!1}function a(c,s,h,p,d){if(s!=null&&s.childNodes!=null&&s.childNodes.length>0)for(var D=s,g=0;g<s.childNodes.length;g++){var v=s.childNodes[g];if(g>0)for(var k=g-1;k>=0;){var E=s.childNodes[k];if(typeof E.setAttribute=="function"&&E.tagName!="BR"){D=E;break}k-=1}var b=c;v.nodeName=="section"&&(b=v,D=v),typeof v.setAttribute!="function"&&v.nodeType!=Node.COMMENT_NODE||a(b,v,D,p,d)}s.nodeType==Node.COMMENT_NODE&&o(s,h,p)==0&&o(s,c,d)}function f(){var c=e.getRevealElement().querySelectorAll("[data-markdown]:not([data-markdown-parsed])");return[].slice.call(c).forEach(function(s){s.setAttribute("data-markdown-parsed",!0);var h=s.querySelector("aside.notes"),p=n(s);s.innerHTML=A(p),a(s,s,null,s.getAttribute("data-element-attributes")||s.parentNode.getAttribute("data-element-attributes")||"\\.element\\s*?(.+?)$",s.getAttribute("data-attributes")||s.parentNode.getAttribute("data-attributes")||"\\.slide:\\s*?(\\S.+?)$"),h&&s.appendChild(h)}),Promise.resolve()}return{id:"markdown",init:function(c){var s=(e=c).getConfig().markdown||{},h=s.renderer,p=s.animateLists,d=_i(s,["renderer","animateLists"]);return h||((h=new A.Renderer).code=function(D,g){var v="";return Xt.test(g)&&(v=g.match(Xt)[1].trim(),v='data-line-numbers="'.concat(v,'"'),g=g.replace(Xt,"").trim()),D=D.replace(/([&<>'"])/g,function(k){return Bf[k]}),"<pre><code ".concat(v,' class="').concat(g,'">').concat(D,"</code></pre>")}),p===!0&&(h.listitem=function(D){return'<li class="fragment">'.concat(D,"</li>")}),A.setOptions(function(D){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{};g%2?Qn(Object(v),!0).forEach(function(k){Si(D,k,v[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(v)):Qn(Object(v)).forEach(function(k){Object.defineProperty(D,k,Object.getOwnPropertyDescriptor(v,k))})}return D}({renderer:h},d)),l(e.getRevealElement()).then(f)},processSlides:l,convertSlides:f,slidify:i,marked:A}}export{Sf as default};
|