bpm-presentation/plugin/markdown/markdown.js
2022-01-19 21:19:28 -05:00

2 lines
94 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealMarkdown=t()}(this,(function(){"use strict";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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(null==e)return{};var n,r,u=function(e,t){if(null==e)return{};var n,r,u={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}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)return;var r,u,i=[],o=!0,a=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){a=!0,u=e}finally{try{o||null==n.return||n.return()}finally{if(a)throw u}}return i}(e,t)||a(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){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},f=function(e){return e&&e.Math==Math&&e},p=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof c&&c)||function(){return this}()||Function("return this")(),h={},D=function(e){try{return!!e()}catch(e){return!0}},g=!D((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!D((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),v=d,y=Function.prototype.call,m=v?y.bind(y):function(){return y.apply(y,arguments)},b={},A={}.propertyIsEnumerable,F=Object.getOwnPropertyDescriptor,k=F&&!A.call({1:2},1);b.f=k?function(e){var t=F(this,e);return!!t&&t.enumerable}:A;var E,x,C=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=d,B=Function.prototype,S=B.bind,_=B.call,O=w&&S.bind(_,_),T=w?function(e){return e&&O(e)}:function(e){return e&&function(){return _.apply(e,arguments)}},R=T,j=R({}.toString),I=R("".slice),z=function(e){return I(j(e),8,-1)},$=T,P=D,L=z,M=p.Object,N=$("".split),q=P((function(){return!M("z").propertyIsEnumerable(0)}))?function(e){return"String"==L(e)?N(e,""):M(e)}:M,U=p.TypeError,Z=function(e){if(null==e)throw U("Can't call method on "+e);return e},G=q,H=Z,V=function(e){return G(H(e))},Y=function(e){return"function"==typeof e},K=Y,X=function(e){return"object"==typeof e?null!==e:K(e)},W=p,J=Y,Q=function(e){return J(e)?e:void 0},ee=function(e,t){return arguments.length<2?Q(W[e]):W[e]&&W[e][t]},te=T({}.isPrototypeOf),ne=ee("navigator","userAgent")||"",re=p,ue=ne,ie=re.process,oe=re.Deno,ae=ie&&ie.versions||oe&&oe.version,se=ae&&ae.v8;se&&(x=(E=se.split("."))[0]>0&&E[0]<4?1:+(E[0]+E[1])),!x&&ue&&(!(E=ue.match(/Edge\/(\d+)/))||E[1]>=74)&&(E=ue.match(/Chrome\/(\d+)/))&&(x=+E[1]);var le=x,ce=le,fe=D,pe=!!Object.getOwnPropertySymbols&&!fe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})),he=pe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,De=ee,ge=Y,de=te,ve=he,ye=p.Object,me=ve?function(e){return"symbol"==typeof e}:function(e){var t=De("Symbol");return ge(t)&&de(t.prototype,ye(e))},be=p.String,Ae=function(e){try{return be(e)}catch(e){return"Object"}},Fe=Y,ke=Ae,Ee=p.TypeError,xe=function(e){if(Fe(e))return e;throw Ee(ke(e)+" is not a function")},Ce=xe,we=function(e,t){var n=e[t];return null==n?void 0:Ce(n)},Be=m,Se=Y,_e=X,Oe=p.TypeError,Te={exports:{}},Re=p,je=Object.defineProperty,Ie=function(e,t){try{je(Re,e,{value:t,configurable:!0,writable:!0})}catch(n){Re[e]=t}return t},ze=Ie,$e="__core-js_shared__",Pe=p[$e]||ze($e,{}),Le=Pe;(Te.exports=function(e,t){return Le[e]||(Le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.3",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Me=Z,Ne=p.Object,qe=function(e){return Ne(Me(e))},Ue=qe,Ze=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return Ze(Ue(e),t)},He=T,Ve=0,Ye=Math.random(),Ke=He(1..toString),Xe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ke(++Ve+Ye,36)},We=p,Je=Te.exports,Qe=Ge,et=Xe,tt=pe,nt=he,rt=Je("wks"),ut=We.Symbol,it=ut&&ut.for,ot=nt?ut:ut&&ut.withoutSetter||et,at=function(e){if(!Qe(rt,e)||!tt&&"string"!=typeof rt[e]){var t="Symbol."+e;tt&&Qe(ut,e)?rt[e]=ut[e]:rt[e]=nt&&it?it(t):ot(t)}return rt[e]},st=m,lt=X,ct=me,ft=we,pt=function(e,t){var n,r;if("string"===t&&Se(n=e.toString)&&!_e(r=Be(n,e)))return r;if(Se(n=e.valueOf)&&!_e(r=Be(n,e)))return r;if("string"!==t&&Se(n=e.toString)&&!_e(r=Be(n,e)))return r;throw Oe("Can't convert object to primitive value")},ht=at,Dt=p.TypeError,gt=ht("toPrimitive"),dt=function(e,t){if(!lt(e)||ct(e))return e;var n,r=ft(e,gt);if(r){if(void 0===t&&(t="default"),n=st(r,e,t),!lt(n)||ct(n))return n;throw Dt("Can't convert object to primitive value")}return void 0===t&&(t="number"),pt(e,t)},vt=me,yt=function(e){var t=dt(e,"string");return vt(t)?t:t+""},mt=X,bt=p.document,At=mt(bt)&&mt(bt.createElement),Ft=function(e){return At?bt.createElement(e):{}},kt=Ft,Et=!g&&!D((function(){return 7!=Object.defineProperty(kt("div"),"a",{get:function(){return 7}}).a})),xt=g,Ct=m,wt=b,Bt=C,St=V,_t=yt,Ot=Ge,Tt=Et,Rt=Object.getOwnPropertyDescriptor;h.f=xt?Rt:function(e,t){if(e=St(e),t=_t(t),Tt)try{return Rt(e,t)}catch(e){}if(Ot(e,t))return Bt(!Ct(wt.f,e,t),e[t])};var jt={},It=g&&D((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),zt=p,$t=X,Pt=zt.String,Lt=zt.TypeError,Mt=function(e){if($t(e))return e;throw Lt(Pt(e)+" is not an object")},Nt=g,qt=Et,Ut=It,Zt=Mt,Gt=yt,Ht=p.TypeError,Vt=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,Kt="enumerable",Xt="configurable",Wt="writable";jt.f=Nt?Ut?function(e,t,n){if(Zt(e),t=Gt(t),Zt(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Wt in n&&!n.writable){var r=Yt(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:Xt in n?n.configurable:r.configurable,enumerable:Kt in n?n.enumerable:r.enumerable,writable:!1})}return Vt(e,t,n)}:Vt:function(e,t,n){if(Zt(e),t=Gt(t),Zt(n),qt)try{return Vt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ht("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Jt=jt,Qt=C,en=g?function(e,t,n){return Jt.f(e,t,Qt(1,n))}:function(e,t,n){return e[t]=n,e},tn={exports:{}},nn=Y,rn=Pe,un=T(Function.toString);nn(rn.inspectSource)||(rn.inspectSource=function(e){return un(e)});var on,an,sn,ln=rn.inspectSource,cn=Y,fn=ln,pn=p.WeakMap,hn=cn(pn)&&/native code/.test(fn(pn)),Dn=Te.exports,gn=Xe,dn=Dn("keys"),vn=function(e){return dn[e]||(dn[e]=gn(e))},yn={},mn=hn,bn=p,An=T,Fn=X,kn=en,En=Ge,xn=Pe,Cn=vn,wn=yn,Bn="Object already initialized",Sn=bn.TypeError,_n=bn.WeakMap;if(mn||xn.state){var On=xn.state||(xn.state=new _n),Tn=An(On.get),Rn=An(On.has),jn=An(On.set);on=function(e,t){if(Rn(On,e))throw new Sn(Bn);return t.facade=e,jn(On,e,t),t},an=function(e){return Tn(On,e)||{}},sn=function(e){return Rn(On,e)}}else{var In=Cn("state");wn[In]=!0,on=function(e,t){if(En(e,In))throw new Sn(Bn);return t.facade=e,kn(e,In,t),t},an=function(e){return En(e,In)?e[In]:{}},sn=function(e){return En(e,In)}}var zn={set:on,get:an,has:sn,enforce:function(e){return sn(e)?an(e):on(e,{})},getterFor:function(e){return function(t){var n;if(!Fn(t)||(n=an(t)).type!==e)throw Sn("Incompatible receiver, "+e+" required");return n}}},$n=g,Pn=Ge,Ln=Function.prototype,Mn=$n&&Object.getOwnPropertyDescriptor,Nn=Pn(Ln,"name"),qn={EXISTS:Nn,PROPER:Nn&&"something"===function(){}.name,CONFIGURABLE:Nn&&(!$n||$n&&Mn(Ln,"name").configurable)},Un=p,Zn=Y,Gn=Ge,Hn=en,Vn=Ie,Yn=ln,Kn=qn.CONFIGURABLE,Xn=zn.get,Wn=zn.enforce,Jn=String(String).split("String");(tn.exports=function(e,t,n,r){var u,i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet,s=r&&void 0!==r.name?r.name:t;Zn(n)&&("Symbol("===String(s).slice(0,7)&&(s="["+String(s).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Gn(n,"name")||Kn&&n.name!==s)&&Hn(n,"name",s),(u=Wn(n)).source||(u.source=Jn.join("string"==typeof s?s:""))),e!==Un?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Hn(e,t,n)):o?e[t]=n:Vn(t,n)})(Function.prototype,"toString",(function(){return Zn(this)&&Xn(this).source||Yn(this)}));var Qn={},er=Math.ceil,tr=Math.floor,nr=function(e){var t=+e;return t!=t||0===t?0:(t>0?tr:er)(t)},rr=nr,ur=Math.max,ir=Math.min,or=function(e,t){var n=rr(e);return n<0?ur(n+t,0):ir(n,t)},ar=nr,sr=Math.min,lr=function(e){return e>0?sr(ar(e),9007199254740991):0},cr=lr,fr=function(e){return cr(e.length)},pr=V,hr=or,Dr=fr,gr=function(e){return function(t,n,r){var u,i=pr(t),o=Dr(i),a=hr(r,o);if(e&&n!=n){for(;o>a;)if((u=i[a++])!=u)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},dr={includes:gr(!0),indexOf:gr(!1)},vr=Ge,yr=V,mr=dr.indexOf,br=yn,Ar=T([].push),Fr=function(e,t){var n,r=yr(e),u=0,i=[];for(n in r)!vr(br,n)&&vr(r,n)&&Ar(i,n);for(;t.length>u;)vr(r,n=t[u++])&&(~mr(i,n)||Ar(i,n));return i},kr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Er=Fr,xr=kr.concat("length","prototype");Qn.f=Object.getOwnPropertyNames||function(e){return Er(e,xr)};var Cr={};Cr.f=Object.getOwnPropertySymbols;var wr=ee,Br=Qn,Sr=Cr,_r=Mt,Or=T([].concat),Tr=wr("Reflect","ownKeys")||function(e){var t=Br.f(_r(e)),n=Sr.f;return n?Or(t,n(e)):t},Rr=Ge,jr=Tr,Ir=h,zr=jt,$r=D,Pr=Y,Lr=/#|\.prototype\./,Mr=function(e,t){var n=qr[Nr(e)];return n==Zr||n!=Ur&&(Pr(t)?$r(t):!!t)},Nr=Mr.normalize=function(e){return String(e).replace(Lr,".").toLowerCase()},qr=Mr.data={},Ur=Mr.NATIVE="N",Zr=Mr.POLYFILL="P",Gr=Mr,Hr=p,Vr=h.f,Yr=en,Kr=tn.exports,Xr=Ie,Wr=function(e,t,n){for(var r=jr(t),u=zr.f,i=Ir.f,o=0;o<r.length;o++){var a=r[o];Rr(e,a)||n&&Rr(n,a)||u(e,a,i(t,a))}},Jr=Gr,Qr=function(e,t){var n,r,u,i,o,a=e.target,s=e.global,l=e.stat;if(n=s?Hr:l?Hr[a]||Xr(a,{}):(Hr[a]||{}).prototype)for(r in t){if(i=t[r],u=e.noTargetGet?(o=Vr(n,r))&&o.value:n[r],!Jr(s?r:a+(l?".":"#")+r,e.forced)&&void 0!==u){if(typeof i==typeof u)continue;Wr(i,u)}(e.sham||u&&u.sham)&&Yr(i,"sham",!0),Kr(n,r,i,e)}},eu={};eu[at("toStringTag")]="z";var tu="[object z]"===String(eu),nu=p,ru=tu,uu=Y,iu=z,ou=at("toStringTag"),au=nu.Object,su="Arguments"==iu(function(){return arguments}()),lu=ru?iu:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=au(e),ou))?n:su?iu(t):"Object"==(r=iu(t))&&uu(t.callee)?"Arguments":r},cu=lu,fu=p.String,pu=function(e){if("Symbol"===cu(e))throw TypeError("Cannot convert a Symbol value to a string");return fu(e)},hu=Mt,Du=function(){var e=hu(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},gu=D,du=p.RegExp,vu=gu((function(){var e=du("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),yu=vu||gu((function(){return!du("a","y").sticky})),mu={BROKEN_CARET:vu||gu((function(){var e=du("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:yu,UNSUPPORTED_Y:vu},bu={},Au=Fr,Fu=kr,ku=Object.keys||function(e){return Au(e,Fu)},Eu=g,xu=It,Cu=jt,wu=Mt,Bu=V,Su=ku;bu.f=Eu&&!xu?Object.defineProperties:function(e,t){wu(e);for(var n,r=Bu(t),u=Su(t),i=u.length,o=0;i>o;)Cu.f(e,n=u[o++],r[n]);return e};var _u,Ou=ee("document","documentElement"),Tu=Mt,Ru=bu,ju=kr,Iu=yn,zu=Ou,$u=Ft,Pu=vn("IE_PROTO"),Lu=function(){},Mu=function(e){return"<script>"+e+"</"+"script>"},Nu=function(e){e.write(Mu("")),e.close();var t=e.parentWindow.Object;return e=null,t},qu=function(){try{_u=new ActiveXObject("htmlfile")}catch(e){}var e,t;qu="undefined"!=typeof document?document.domain&&_u?Nu(_u):((t=$u("iframe")).style.display="none",zu.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Mu("document.F=Object")),e.close(),e.F):Nu(_u);for(var n=ju.length;n--;)delete qu.prototype[ju[n]];return qu()};Iu[Pu]=!0;var Uu=Object.create||function(e,t){var n;return null!==e?(Lu.prototype=Tu(e),n=new Lu,Lu.prototype=null,n[Pu]=e):n=qu(),void 0===t?n:Ru.f(n,t)},Zu=D,Gu=p.RegExp,Hu=Zu((function(){var e=Gu(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Vu=D,Yu=p.RegExp,Ku=Vu((function(){var e=Yu("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xu=m,Wu=T,Ju=pu,Qu=Du,ei=mu,ti=Te.exports,ni=Uu,ri=zn.get,ui=Hu,ii=Ku,oi=ti("native-string-replace",String.prototype.replace),ai=RegExp.prototype.exec,si=ai,li=Wu("".charAt),ci=Wu("".indexOf),fi=Wu("".replace),pi=Wu("".slice),hi=function(){var e=/a/,t=/b*/g;return Xu(ai,e,"a"),Xu(ai,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Di=ei.BROKEN_CARET,gi=void 0!==/()??/.exec("")[1];(hi||gi||Di||ui||ii)&&(si=function(e){var t,n,r,u,i,o,a,s=this,l=ri(s),c=Ju(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Xu(si,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,h=Di&&s.sticky,D=Xu(Qu,s),g=s.source,d=0,v=c;if(h&&(D=fi(D,"y",""),-1===ci(D,"g")&&(D+="g"),v=pi(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==li(c,s.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,d++),n=new RegExp("^(?:"+g+")",D)),gi&&(n=new RegExp("^"+g+"$(?!\\s)",D)),hi&&(r=s.lastIndex),u=Xu(ai,h?n:s,v),h?u?(u.input=pi(u.input,d),u[0]=pi(u[0],d),u.index=s.lastIndex,s.lastIndex+=u[0].length):s.lastIndex=0:hi&&u&&(s.lastIndex=s.global?u.index+u[0].length:r),gi&&u&&u.length>1&&Xu(oi,u[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(u[i]=void 0)})),u&&p)for(u.groups=o=ni(null),i=0;i<p.length;i++)o[(a=p[i])[0]]=u[a[1]];return u});var di=si;Qr({target:"RegExp",proto:!0,forced:/./.exec!==di},{exec:di});var vi=d,yi=Function.prototype,mi=yi.apply,bi=yi.call,Ai="object"==typeof Reflect&&Reflect.apply||(vi?bi.bind(mi):function(){return bi.apply(mi,arguments)}),Fi=T,ki=tn.exports,Ei=di,xi=D,Ci=at,wi=en,Bi=Ci("species"),Si=RegExp.prototype,_i=function(e,t,n,r){var u=Ci(e),i=!xi((function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})),o=i&&!xi((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Bi]=function(){return n},n.flags="",n[u]=/./[u]),n.exec=function(){return t=!0,null},n[u](""),!t}));if(!i||!o||n){var a=Fi(/./[u]),s=t(u,""[e],(function(e,t,n,r,u){var o=Fi(e),s=t.exec;return s===Ei||s===Si.exec?i&&!u?{done:!0,value:a(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));ki(String.prototype,e,s[0]),ki(Si,u,s[1])}r&&wi(Si[u],"sham",!0)},Oi=T,Ti=nr,Ri=pu,ji=Z,Ii=Oi("".charAt),zi=Oi("".charCodeAt),$i=Oi("".slice),Pi=function(e){return function(t,n){var r,u,i=Ri(ji(t)),o=Ti(n),a=i.length;return o<0||o>=a?e?"":void 0:(r=zi(i,o))<55296||r>56319||o+1===a||(u=zi(i,o+1))<56320||u>57343?e?Ii(i,o):r:e?$i(i,o,o+2):u-56320+(r-55296<<10)+65536}},Li={codeAt:Pi(!1),charAt:Pi(!0)},Mi=Li.charAt,Ni=function(e,t,n){return t+(n?Mi(e,t).length:1)},qi=T,Ui=qe,Zi=Math.floor,Gi=qi("".charAt),Hi=qi("".replace),Vi=qi("".slice),Yi=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ki=/\$([$&'`]|\d{1,2})/g,Xi=m,Wi=Mt,Ji=Y,Qi=z,eo=di,to=p.TypeError,no=function(e,t){var n=e.exec;if(Ji(n)){var r=Xi(n,e,t);return null!==r&&Wi(r),r}if("RegExp"===Qi(e))return Xi(eo,e,t);throw to("RegExp#exec called on incompatible receiver")},ro=Ai,uo=m,io=T,oo=_i,ao=D,so=Mt,lo=Y,co=nr,fo=lr,po=pu,ho=Z,Do=Ni,go=we,vo=function(e,t,n,r,u,i){var o=n+e.length,a=r.length,s=Ki;return void 0!==u&&(u=Ui(u),s=Yi),Hi(i,s,(function(i,s){var l;switch(Gi(s,0)){case"$":return"$";case"&":return e;case"`":return Vi(t,0,n);case"'":return Vi(t,o);case"<":l=u[Vi(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>a){var f=Zi(c/10);return 0===f?i:f<=a?void 0===r[f-1]?Gi(s,1):r[f-1]+Gi(s,1):i}l=r[c-1]}return void 0===l?"":l}))},yo=no,mo=at("replace"),bo=Math.max,Ao=Math.min,Fo=io([].concat),ko=io([].push),Eo=io("".indexOf),xo=io("".slice),Co="$0"==="a".replace(/./,"$0"),wo=!!/./[mo]&&""===/./[mo]("a","$0");oo("replace",(function(e,t,n){var r=wo?"$":"$0";return[function(e,n){var r=ho(this),u=null==e?void 0:go(e,mo);return u?uo(u,e,r,n):uo(t,po(r),e,n)},function(e,u){var i=so(this),o=po(e);if("string"==typeof u&&-1===Eo(u,r)&&-1===Eo(u,"$<")){var a=n(t,i,o,u);if(a.done)return a.value}var s=lo(u);s||(u=po(u));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var p=yo(i,o);if(null===p)break;if(ko(f,p),!l)break;""===po(p[0])&&(i.lastIndex=Do(o,fo(i.lastIndex),c))}for(var h,D="",g=0,d=0;d<f.length;d++){for(var v=po((p=f[d])[0]),y=bo(Ao(co(p.index),o.length),0),m=[],b=1;b<p.length;b++)ko(m,void 0===(h=p[b])?h:String(h));var A=p.groups;if(s){var F=Fo([v],m,y,o);void 0!==A&&ko(F,A);var k=po(ro(u,void 0,F))}else k=vo(v,o,y,m,A,u);y>=g&&(D+=xo(o,g,y)+k,g=y+v.length)}return D+xo(o,g)}]}),!!ao((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Co||wo);var Bo=p,So=Y,_o=Bo.String,Oo=Bo.TypeError,To=T,Ro=Mt,jo=function(e){if("object"==typeof e||So(e))return e;throw Oo("Can't set "+_o(e)+" as a prototype")},Io=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=To(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Ro(n),jo(r),t?e(n,r):n.__proto__=r,n}}():void 0),zo=Y,$o=X,Po=Io,Lo=X,Mo=z,No=at("match"),qo=function(e){var t;return Lo(e)&&(void 0!==(t=e[No])?!!t:"RegExp"==Mo(e))},Uo=ee,Zo=jt,Go=g,Ho=at("species"),Vo=function(e){var t=Uo(e),n=Zo.f;Go&&t&&!t[Ho]&&n(t,Ho,{configurable:!0,get:function(){return this}})},Yo=g,Ko=p,Xo=T,Wo=Gr,Jo=function(e,t,n){var r,u;return Po&&zo(r=t.constructor)&&r!==n&&$o(u=r.prototype)&&u!==n.prototype&&Po(e,u),e},Qo=en,ea=jt.f,ta=Qn.f,na=te,ra=qo,ua=pu,ia=Du,oa=mu,aa=tn.exports,sa=D,la=Ge,ca=zn.enforce,fa=Vo,pa=Hu,ha=Ku,Da=at("match"),ga=Ko.RegExp,da=ga.prototype,va=Ko.SyntaxError,ya=Xo(ia),ma=Xo(da.exec),ba=Xo("".charAt),Aa=Xo("".replace),Fa=Xo("".indexOf),ka=Xo("".slice),Ea=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,xa=/a/g,Ca=/a/g,wa=new ga(xa)!==xa,Ba=oa.MISSED_STICKY,Sa=oa.UNSUPPORTED_Y,_a=Yo&&(!wa||Ba||pa||ha||sa((function(){return Ca[Da]=!1,ga(xa)!=xa||ga(Ca)==Ca||"/a/i"!=ga(xa,"i")})));if(Wo("RegExp",_a)){for(var Oa=function(e,t){var n,r,u,i,o,a,s=na(da,this),l=ra(e),c=void 0===t,f=[],p=e;if(!s&&l&&c&&e.constructor===Oa)return e;if((l||na(da,e))&&(e=e.source,c&&(t="flags"in p?p.flags:ya(p))),e=void 0===e?"":ua(e),t=void 0===t?"":ua(t),p=e,pa&&"dotAll"in xa&&(r=!!t&&Fa(t,"s")>-1)&&(t=Aa(t,/s/g,"")),n=t,Ba&&"sticky"in xa&&(u=!!t&&Fa(t,"y")>-1)&&Sa&&(t=Aa(t,/y/g,"")),ha&&(i=function(e){for(var t,n=e.length,r=0,u="",i=[],o={},a=!1,s=!1,l=0,c="";r<=n;r++){if("\\"===(t=ba(e,r)))t+=ba(e,++r);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:ma(Ea,ka(e,r+1))&&(r+=2,s=!0),u+=t,l++;continue;case">"===t&&s:if(""===c||la(o,c))throw new va("Invalid capture group name");o[c]=!0,i[i.length]=[c,l],s=!1,c="";continue}s?c+=t:u+=t}return[u,i]}(e),e=i[0],f=i[1]),o=Jo(ga(e,t),s?this:da,Oa),(r||u||f.length)&&(a=ca(o),r&&(a.dotAll=!0,a.raw=Oa(function(e){for(var t,n=e.length,r=0,u="",i=!1;r<=n;r++)"\\"!==(t=ba(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),u+=t):u+="[\\s\\S]":u+=t+ba(e,++r);return u}(e),n)),u&&(a.sticky=!0),f.length&&(a.groups=f)),e!==p)try{Qo(o,"source",""===p?"(?:)":p)}catch(e){}return o},Ta=function(e){e in Oa||ea(Oa,e,{configurable:!0,get:function(){return ga[e]},set:function(t){ga[e]=t}})},Ra=ta(ga),ja=0;Ra.length>ja;)Ta(Ra[ja++]);da.constructor=Oa,Oa.prototype=da,aa(Ko,"RegExp",Oa)}fa("RegExp");var Ia=T,za=qn.PROPER,$a=tn.exports,Pa=Mt,La=te,Ma=pu,Na=D,qa=Du,Ua="toString",Za=RegExp.prototype,Ga=Za.toString,Ha=Ia(qa),Va=Na((function(){return"/a/b"!=Ga.call({source:"a",flags:"b"})})),Ya=za&&Ga.name!=Ua;(Va||Ya)&&$a(RegExp.prototype,Ua,(function(){var e=Pa(this),t=Ma(e.source),n=e.flags;return"/"+t+"/"+Ma(void 0===n&&La(Za,e)&&!("flags"in Za)?Ha(e):n)}),{unsafe:!0});var Ka=m,Xa=Mt,Wa=lr,Ja=pu,Qa=Z,es=we,ts=Ni,ns=no;_i("match",(function(e,t,n){return[function(t){var n=Qa(this),r=null==t?void 0:es(t,e);return r?Ka(r,t,n):new RegExp(t)[e](Ja(n))},function(e){var r=Xa(this),u=Ja(e),i=n(t,r,u);if(i.done)return i.value;if(!r.global)return ns(r,u);var o=r.unicode;r.lastIndex=0;for(var a,s=[],l=0;null!==(a=ns(r,u));){var c=Ja(a[0]);s[l]=c,""===c&&(r.lastIndex=ts(u,Wa(r.lastIndex),o)),l++}return 0===l?null:s}]}));var rs=g,us=qn.EXISTS,is=T,os=jt.f,as=Function.prototype,ss=is(as.toString),ls=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,cs=is(ls.exec);rs&&!us&&os(as,"name",{configurable:!0,get:function(){try{return cs(ls,ss(this))[1]}catch(e){return""}}});var fs=D,ps=function(e,t){var n=[][e];return!!n&&fs((function(){n.call(null,t||function(){throw 1},1)}))},hs=Qr,Ds=q,gs=V,ds=ps,vs=T([].join),ys=Ds!=Object,ms=ds("join",",");hs({target:"Array",proto:!0,forced:ys||!ms},{join:function(e){return vs(gs(this),void 0===e?",":e)}});var bs=T,As=D,Fs=Y,ks=lu,Es=ln,xs=function(){},Cs=[],ws=ee("Reflect","construct"),Bs=/^\s*(?:class|function)\b/,Ss=bs(Bs.exec),_s=!Bs.exec(xs),Os=function(e){if(!Fs(e))return!1;try{return ws(xs,Cs,e),!0}catch(e){return!1}},Ts=function(e){if(!Fs(e))return!1;switch(ks(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _s||!!Ss(Bs,Es(e))}catch(e){return!0}};Ts.sham=!0;var Rs=!ws||As((function(){var e;return Os(Os.call)||!Os(Object)||!Os((function(){e=!0}))||e}))?Ts:Os,js=Rs,Is=Ae,zs=p.TypeError,$s=Mt,Ps=function(e){if(js(e))return e;throw zs(Is(e)+" is not a constructor")},Ls=at("species"),Ms=function(e,t){var n,r=$s(e).constructor;return void 0===r||null==(n=$s(r)[Ls])?t:Ps(n)},Ns=yt,qs=jt,Us=C,Zs=function(e,t,n){var r=Ns(t);r in e?qs.f(e,r,Us(0,n)):e[r]=n},Gs=or,Hs=fr,Vs=Zs,Ys=p.Array,Ks=Math.max,Xs=Ai,Ws=m,Js=T,Qs=_i,el=qo,tl=Mt,nl=Z,rl=Ms,ul=Ni,il=lr,ol=pu,al=we,sl=function(e,t,n){for(var r=Hs(e),u=Gs(t,r),i=Gs(void 0===n?r:n,r),o=Ys(Ks(i-u,0)),a=0;u<i;u++,a++)Vs(o,a,e[u]);return o.length=a,o},ll=no,cl=di,fl=D,pl=mu.UNSUPPORTED_Y,hl=4294967295,Dl=Math.min,gl=[].push,dl=Js(/./.exec),vl=Js(gl),yl=Js("".slice),ml=!fl((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]}));Qs("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=ol(nl(this)),u=void 0===n?hl:n>>>0;if(0===u)return[];if(void 0===e)return[r];if(!el(e))return Ws(t,r,e,u);for(var i,o,a,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=Ws(cl,f,r))&&!((o=f.lastIndex)>c&&(vl(s,yl(r,c,i.index)),i.length>1&&i.index<r.length&&Xs(gl,s,sl(i,1)),a=i[0].length,c=o,s.length>=u));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!a&&dl(f,"")||vl(s,""):vl(s,yl(r,c)),s.length>u?sl(s,0,u):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Ws(t,this,e,n)}:t,[function(t,n){var u=nl(this),i=null==t?void 0:al(t,e);return i?Ws(i,t,u,n):Ws(r,ol(u),t,n)},function(e,u){var i=tl(this),o=ol(e),a=n(r,i,o,u,r!==t);if(a.done)return a.value;var s=rl(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(pl?"g":"y"),f=new s(pl?"^(?:"+i.source+")":i,c),p=void 0===u?hl:u>>>0;if(0===p)return[];if(0===o.length)return null===ll(f,o)?[o]:[];for(var h=0,D=0,g=[];D<o.length;){f.lastIndex=pl?0:D;var d,v=ll(f,pl?yl(o,D):o);if(null===v||(d=Dl(il(f.lastIndex+(pl?D:0)),o.length))===h)D=ul(o,D,l);else{if(vl(g,yl(o,h,D)),g.length===p)return g;for(var y=1;y<=v.length-1;y++)if(vl(g,v[y]),g.length===p)return g;D=h=d}}return vl(g,yl(o,h)),g}]}),!ml,pl);var bl="\t\n\v\f\r    \u2028\u2029\ufeff",Al=Z,Fl=pu,kl=T("".replace),El="[\t\n\v\f\r    \u2028\u2029\ufeff]",xl=RegExp("^"+El+El+"*"),Cl=RegExp(El+El+"*$"),wl=function(e){return function(t){var n=Fl(Al(t));return 1&e&&(n=kl(n,xl,"")),2&e&&(n=kl(n,Cl,"")),n}},Bl={start:wl(1),end:wl(2),trim:wl(3)},Sl=qn.PROPER,_l=D,Ol=bl,Tl=Bl.trim;Qr({target:"String",proto:!0,forced:function(e){return _l((function(){return!!Ol[e]()||"…"!=="…"[e]()||Sl&&Ol[e].name!==e}))}("trim")},{trim:function(){return Tl(this)}});var Rl=lu,jl=tu?{}.toString:function(){return"[object "+Rl(this)+"]"},Il=tu,zl=tn.exports,$l=jl;Il||zl(Object.prototype,"toString",$l,{unsafe:!0});var Pl={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},Ll=Ft("span").classList,Ml=Ll&&Ll.constructor&&Ll.constructor.prototype,Nl=Ml===Object.prototype?void 0:Ml,ql=xe,Ul=d,Zl=T(T.bind),Gl=function(e,t){return ql(e),void 0===t?e:Ul?Zl(e,t):function(){return e.apply(t,arguments)}},Hl=z,Vl=Array.isArray||function(e){return"Array"==Hl(e)},Yl=p,Kl=Vl,Xl=Rs,Wl=X,Jl=at("species"),Ql=Yl.Array,ec=function(e){var t;return Kl(e)&&(t=e.constructor,(Xl(t)&&(t===Ql||Kl(t.prototype))||Wl(t)&&null===(t=t[Jl]))&&(t=void 0)),void 0===t?Ql:t},tc=function(e,t){return new(ec(e))(0===t?0:t)},nc=Gl,rc=q,uc=qe,ic=fr,oc=tc,ac=T([].push),sc=function(e){var t=1==e,n=2==e,r=3==e,u=4==e,i=6==e,o=7==e,a=5==e||i;return function(s,l,c,f){for(var p,h,D=uc(s),g=rc(D),d=nc(l,c),v=ic(g),y=0,m=f||oc,b=t?m(s,v):n||o?m(s,0):void 0;v>y;y++)if((a||y in g)&&(h=d(p=g[y],y,D),e))if(t)b[y]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return y;case 2:ac(b,p)}else switch(e){case 4:return!1;case 7:ac(b,p)}return i?-1:r||u?u:b}},lc={forEach:sc(0),map:sc(1),filter:sc(2),some:sc(3),every:sc(4),find:sc(5),findIndex:sc(6),filterReject:sc(7)},cc=lc.forEach,fc=ps("forEach")?[].forEach:function(e){return cc(this,e,arguments.length>1?arguments[1]:void 0)},pc=p,hc=Pl,Dc=Nl,gc=fc,dc=en,vc=function(e){if(e&&e.forEach!==gc)try{dc(e,"forEach",gc)}catch(t){e.forEach=gc}};for(var yc in hc)hc[yc]&&vc(pc[yc]&&pc[yc].prototype);vc(Dc);var mc=p.Promise,bc=tn.exports,Ac=jt.f,Fc=Ge,kc=at("toStringTag"),Ec=function(e,t,n){e&&!n&&(e=e.prototype),e&&!Fc(e,kc)&&Ac(e,kc,{configurable:!0,value:t})},xc=te,Cc=p.TypeError,wc={},Bc=wc,Sc=at("iterator"),_c=Array.prototype,Oc=lu,Tc=we,Rc=wc,jc=at("iterator"),Ic=function(e){if(null!=e)return Tc(e,jc)||Tc(e,"@@iterator")||Rc[Oc(e)]},zc=m,$c=xe,Pc=Mt,Lc=Ae,Mc=Ic,Nc=p.TypeError,qc=m,Uc=Mt,Zc=we,Gc=Gl,Hc=m,Vc=Mt,Yc=Ae,Kc=function(e){return void 0!==e&&(Bc.Array===e||_c[Sc]===e)},Xc=fr,Wc=te,Jc=function(e,t){var n=arguments.length<2?Mc(e):t;if($c(n))return Pc(zc(n,e));throw Nc(Lc(e)+" is not iterable")},Qc=Ic,ef=function(e,t,n){var r,u;Uc(e);try{if(!(r=Zc(e,"return"))){if("throw"===t)throw n;return n}r=qc(r,e)}catch(e){u=!0,r=e}if("throw"===t)throw n;if(u)throw r;return Uc(r),n},tf=p.TypeError,nf=function(e,t){this.stopped=e,this.result=t},rf=nf.prototype,uf=at("iterator"),of=!1;try{var af=0,sf={next:function(){return{done:!!af++}},return:function(){of=!0}};sf[uf]=function(){return this},Array.from(sf,(function(){throw 2}))}catch(e){}var lf,cf,ff,pf,hf=T([].slice),Df=/(?:ipad|iphone|ipod).*applewebkit/i.test(ne),gf="process"==z(p.process),df=p,vf=Ai,yf=Gl,mf=Y,bf=Ge,Af=D,Ff=Ou,kf=hf,Ef=Ft,xf=Df,Cf=gf,wf=df.setImmediate,Bf=df.clearImmediate,Sf=df.process,_f=df.Dispatch,Of=df.Function,Tf=df.MessageChannel,Rf=df.String,jf=0,If={},zf="onreadystatechange";try{lf=df.location}catch(e){}var $f=function(e){if(bf(If,e)){var t=If[e];delete If[e],t()}},Pf=function(e){return function(){$f(e)}},Lf=function(e){$f(e.data)},Mf=function(e){df.postMessage(Rf(e),lf.protocol+"//"+lf.host)};wf&&Bf||(wf=function(e){var t=kf(arguments,1);return If[++jf]=function(){vf(mf(e)?e:Of(e),void 0,t)},cf(jf),jf},Bf=function(e){delete If[e]},Cf?cf=function(e){Sf.nextTick(Pf(e))}:_f&&_f.now?cf=function(e){_f.now(Pf(e))}:Tf&&!xf?(pf=(ff=new Tf).port2,ff.port1.onmessage=Lf,cf=yf(pf.postMessage,pf)):df.addEventListener&&mf(df.postMessage)&&!df.importScripts&&lf&&"file:"!==lf.protocol&&!Af(Mf)?(cf=Mf,df.addEventListener("message",Lf,!1)):cf=zf in Ef("script")?function(e){Ff.appendChild(Ef("script")).onreadystatechange=function(){Ff.removeChild(this),$f(e)}}:function(e){setTimeout(Pf(e),0)});var Nf,qf,Uf,Zf,Gf,Hf,Vf,Yf,Kf={set:wf,clear:Bf},Xf=p,Wf=/ipad|iphone|ipod/i.test(ne)&&void 0!==Xf.Pebble,Jf=/web0s(?!.*chrome)/i.test(ne),Qf=p,ep=Gl,tp=h.f,np=Kf.set,rp=Df,up=Wf,ip=Jf,op=gf,ap=Qf.MutationObserver||Qf.WebKitMutationObserver,sp=Qf.document,lp=Qf.process,cp=Qf.Promise,fp=tp(Qf,"queueMicrotask"),pp=fp&&fp.value;pp||(Nf=function(){var e,t;for(op&&(e=lp.domain)&&e.exit();qf;){t=qf.fn,qf=qf.next;try{t()}catch(e){throw qf?Zf():Uf=void 0,e}}Uf=void 0,e&&e.enter()},rp||op||ip||!ap||!sp?!up&&cp&&cp.resolve?((Vf=cp.resolve(void 0)).constructor=cp,Yf=ep(Vf.then,Vf),Zf=function(){Yf(Nf)}):op?Zf=function(){lp.nextTick(Nf)}:(np=ep(np,Qf),Zf=function(){np(Nf)}):(Gf=!0,Hf=sp.createTextNode(""),new ap(Nf).observe(Hf,{characterData:!0}),Zf=function(){Hf.data=Gf=!Gf}));var hp=pp||function(e){var t={fn:e,next:void 0};Uf&&(Uf.next=t),qf||(qf=t,Zf()),Uf=t},Dp={},gp=xe,dp=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=gp(t),this.reject=gp(n)};Dp.f=function(e){return new dp(e)};var vp=Mt,yp=X,mp=Dp,bp=p,Ap=function(){this.head=null,this.tail=null};Ap.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var Fp,kp,Ep,xp,Cp=Ap,wp="object"==typeof window,Bp=Qr,Sp=p,_p=ee,Op=m,Tp=mc,Rp=tn.exports,jp=function(e,t,n){for(var r in t)bc(e,r,t[r],n);return e},Ip=Io,zp=Ec,$p=Vo,Pp=xe,Lp=Y,Mp=X,Np=function(e,t){if(xc(t,e))return e;throw Cc("Incorrect invocation")},qp=ln,Up=function(e,t,n){var r,u,i,o,a,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),D=Gc(t,c),g=function(e){return r&&ef(r,"normal",e),new nf(!0,e)},d=function(e){return f?(Vc(e),h?D(e[0],e[1],g):D(e[0],e[1])):h?D(e,g):D(e)};if(p)r=e;else{if(!(u=Qc(e)))throw tf(Yc(e)+" is not iterable");if(Kc(u)){for(i=0,o=Xc(e);o>i;i++)if((a=d(e[i]))&&Wc(rf,a))return a;return new nf(!1)}r=Jc(e,u)}for(s=r.next;!(l=Hc(s,r)).done;){try{a=d(l.value)}catch(e){ef(r,"throw",e)}if("object"==typeof a&&a&&Wc(rf,a))return a}return new nf(!1)},Zp=function(e,t){if(!t&&!of)return!1;var n=!1;try{var r={};r[uf]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Gp=Ms,Hp=Kf.set,Vp=hp,Yp=function(e,t){if(vp(e),yp(t)&&t.constructor===e)return t;var n=mp.f(e);return(0,n.resolve)(t),n.promise},Kp=function(e,t){var n=bp.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},Xp=Dp,Wp=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Jp=Cp,Qp=zn,eh=Gr,th=wp,nh=gf,rh=le,uh=at("species"),ih="Promise",oh=Qp.getterFor(ih),ah=Qp.set,sh=Qp.getterFor(ih),lh=Tp&&Tp.prototype,ch=Tp,fh=lh,ph=Sp.TypeError,hh=Sp.document,Dh=Sp.process,gh=Xp.f,dh=gh,vh=!!(hh&&hh.createEvent&&Sp.dispatchEvent),yh=Lp(Sp.PromiseRejectionEvent),mh="unhandledrejection",bh=!1,Ah=eh(ih,(function(){var e=qp(ch),t=e!==String(ch);if(!t&&66===rh)return!0;if(rh>=51&&/native code/.test(e))return!1;var n=new ch((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[uh]=r,!(bh=n.then((function(){}))instanceof r)||!t&&th&&!yh})),Fh=Ah||!Zp((function(e){ch.all(e).catch((function(){}))})),kh=function(e){var t;return!(!Mp(e)||!Lp(t=e.then))&&t},Eh=function(e,t){var n,r,u,i=t.value,o=1==t.state,a=o?e.ok:e.fail,s=e.resolve,l=e.reject,c=e.domain;try{a?(o||(2===t.rejection&&Sh(t),t.rejection=1),!0===a?n=i:(c&&c.enter(),n=a(i),c&&(c.exit(),u=!0)),n===e.promise?l(ph("Promise-chain cycle")):(r=kh(n))?Op(r,n,s,l):s(n)):l(i)}catch(e){c&&!u&&c.exit(),l(e)}},xh=function(e,t){e.notified||(e.notified=!0,Vp((function(){for(var n,r=e.reactions;n=r.get();)Eh(n,e);e.notified=!1,t&&!e.rejection&&wh(e)})))},Ch=function(e,t,n){var r,u;vh?((r=hh.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Sp.dispatchEvent(r)):r={promise:t,reason:n},!yh&&(u=Sp["on"+e])?u(r):e===mh&&Kp("Unhandled promise rejection",n)},wh=function(e){Op(Hp,Sp,(function(){var t,n=e.facade,r=e.value;if(Bh(e)&&(t=Wp((function(){nh?Dh.emit("unhandledRejection",r,n):Ch(mh,n,r)})),e.rejection=nh||Bh(e)?2:1,t.error))throw t.value}))},Bh=function(e){return 1!==e.rejection&&!e.parent},Sh=function(e){Op(Hp,Sp,(function(){var t=e.facade;nh?Dh.emit("rejectionHandled",t):Ch("rejectionhandled",t,e.value)}))},_h=function(e,t,n){return function(r){e(t,r,n)}},Oh=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,xh(e,!0))},Th=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw ph("Promise can't be resolved itself");var r=kh(t);r?Vp((function(){var n={done:!1};try{Op(r,t,_h(Th,n,e),_h(Oh,n,e))}catch(t){Oh(n,t,e)}})):(e.value=t,e.state=1,xh(e,!1))}catch(t){Oh({done:!1},t,e)}}};if(Ah&&(fh=(ch=function(e){Np(this,fh),Pp(e),Op(Fp,this);var t=oh(this);try{e(_h(Th,t),_h(Oh,t))}catch(e){Oh(t,e)}}).prototype,(Fp=function(e){ah(this,{type:ih,done:!1,notified:!1,parent:!1,reactions:new Jp,rejection:!1,state:0,value:void 0})}).prototype=jp(fh,{then:function(e,t){var n=sh(this),r=gh(Gp(this,ch));return n.parent=!0,r.ok=!Lp(e)||e,r.fail=Lp(t)&&t,r.domain=nh?Dh.domain:void 0,0==n.state?n.reactions.add(r):Vp((function(){Eh(r,n)})),r.promise},catch:function(e){return this.then(void 0,e)}}),kp=function(){var e=new Fp,t=oh(e);this.promise=e,this.resolve=_h(Th,t),this.reject=_h(Oh,t)},Xp.f=gh=function(e){return e===ch||e===Ep?new kp(e):dh(e)},Lp(Tp)&&lh!==Object.prototype)){xp=lh.then,bh||(Rp(lh,"then",(function(e,t){var n=this;return new ch((function(e,t){Op(xp,n,e,t)})).then(e,t)}),{unsafe:!0}),Rp(lh,"catch",fh.catch,{unsafe:!0}));try{delete lh.constructor}catch(e){}Ip&&Ip(lh,fh)}Bp({global:!0,wrap:!0,forced:Ah},{Promise:ch}),zp(ch,ih,!1),$p(ih),Ep=_p(ih),Bp({target:ih,stat:!0,forced:Ah},{reject:function(e){var t=gh(this);return Op(t.reject,void 0,e),t.promise}}),Bp({target:ih,stat:!0,forced:Ah},{resolve:function(e){return Yp(this,e)}}),Bp({target:ih,stat:!0,forced:Fh},{all:function(e){var t=this,n=gh(t),r=n.resolve,u=n.reject,i=Wp((function(){var n=Pp(t.resolve),i=[],o=0,a=1;Up(e,(function(e){var s=o++,l=!1;a++,Op(n,t,e).then((function(e){l||(l=!0,i[s]=e,--a||r(i))}),u)})),--a||r(i)}));return i.error&&u(i.value),n.promise},race:function(e){var t=this,n=gh(t),r=n.reject,u=Wp((function(){var u=Pp(t.resolve);Up(e,(function(e){Op(u,t,e).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}});var Rh=D,jh=le,Ih=at("species"),zh=function(e){return jh>=51||!Rh((function(){var t=[];return(t.constructor={})[Ih]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$h=Qr,Ph=p,Lh=Vl,Mh=Rs,Nh=X,qh=or,Uh=fr,Zh=V,Gh=Zs,Hh=at,Vh=hf,Yh=zh("slice"),Kh=Hh("species"),Xh=Ph.Array,Wh=Math.max;$h({target:"Array",proto:!0,forced:!Yh},{slice:function(e,t){var n,r,u,i=Zh(this),o=Uh(i),a=qh(e,o),s=qh(void 0===t?o:t,o);if(Lh(i)&&(n=i.constructor,(Mh(n)&&(n===Xh||Lh(n.prototype))||Nh(n)&&null===(n=n[Kh]))&&(n=void 0),n===Xh||void 0===n))return Vh(i,a,s);for(r=new(void 0===n?Xh:n)(Wh(s-a,0)),u=0;a<s;a++,u++)a in i&&Gh(r,u,i[a]);return r.length=u,r}});var Jh=Uu,Qh=jt,eD=at("unscopables"),tD=Array.prototype;null==tD[eD]&&Qh.f(tD,eD,{configurable:!0,value:Jh(null)});var nD,rD,uD,iD=function(e){tD[eD][e]=!0},oD=!D((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),aD=p,sD=Ge,lD=Y,cD=qe,fD=oD,pD=vn("IE_PROTO"),hD=aD.Object,DD=hD.prototype,gD=fD?hD.getPrototypeOf:function(e){var t=cD(e);if(sD(t,pD))return t[pD];var n=t.constructor;return lD(n)&&t instanceof n?n.prototype:t instanceof hD?DD:null},dD=D,vD=Y,yD=gD,mD=tn.exports,bD=at("iterator"),AD=!1;[].keys&&("next"in(uD=[].keys())?(rD=yD(yD(uD)))!==Object.prototype&&(nD=rD):AD=!0);var FD=null==nD||dD((function(){var e={};return nD[bD].call(e)!==e}));FD&&(nD={}),vD(nD[bD])||mD(nD,bD,(function(){return this}));var kD={IteratorPrototype:nD,BUGGY_SAFARI_ITERATORS:AD},ED=kD.IteratorPrototype,xD=Uu,CD=C,wD=Ec,BD=wc,SD=function(){return this},_D=Qr,OD=m,TD=qn,RD=Y,jD=function(e,t,n,r){var u=t+" Iterator";return e.prototype=xD(ED,{next:CD(+!r,n)}),wD(e,u,!1),BD[u]=SD,e},ID=gD,zD=Io,$D=Ec,PD=en,LD=tn.exports,MD=wc,ND=TD.PROPER,qD=TD.CONFIGURABLE,UD=kD.IteratorPrototype,ZD=kD.BUGGY_SAFARI_ITERATORS,GD=at("iterator"),HD="keys",VD="values",YD="entries",KD=function(){return this},XD=function(e,t,n,r,u,i,o){jD(n,t,r);var a,s,l,c=function(e){if(e===u&&g)return g;if(!ZD&&e in h)return h[e];switch(e){case HD:case VD:case YD:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,h=e.prototype,D=h[GD]||h["@@iterator"]||u&&h[u],g=!ZD&&D||c(u),d="Array"==t&&h.entries||D;if(d&&(a=ID(d.call(new e)))!==Object.prototype&&a.next&&(ID(a)!==UD&&(zD?zD(a,UD):RD(a[GD])||LD(a,GD,KD)),$D(a,f,!0)),ND&&u==VD&&D&&D.name!==VD&&(qD?PD(h,"name",VD):(p=!0,g=function(){return OD(D,this)})),u)if(s={values:c(VD),keys:i?g:c(HD),entries:c(YD)},o)for(l in s)(ZD||p||!(l in h))&&LD(h,l,s[l]);else _D({target:t,proto:!0,forced:ZD||p},s);return h[GD]!==g&&LD(h,GD,g,{name:u}),MD[t]=g,s},WD=V,JD=iD,QD=wc,eg=zn,tg=jt.f,ng=XD,rg=g,ug="Array Iterator",ig=eg.set,og=eg.getterFor(ug),ag=ng(Array,"Array",(function(e,t){ig(this,{type:ug,target:WD(e),index:0,kind:t})}),(function(){var e=og(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),sg=QD.Arguments=QD.Array;if(JD("keys"),JD("values"),JD("entries"),rg&&"values"!==sg.name)try{tg(sg,"name",{value:"values"})}catch(e){}var lg=Li.charAt,cg=pu,fg=zn,pg=XD,hg="String Iterator",Dg=fg.set,gg=fg.getterFor(hg);pg(String,"String",(function(e){Dg(this,{type:hg,string:cg(e),index:0})}),(function(){var e,t=gg(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=lg(n,r),t.index+=e.length,{value:e,done:!1})}));var dg=p,vg=Pl,yg=Nl,mg=ag,bg=en,Ag=at,Fg=Ag("iterator"),kg=Ag("toStringTag"),Eg=mg.values,xg=function(e,t){if(e){if(e[Fg]!==Eg)try{bg(e,Fg,Eg)}catch(t){e[Fg]=Eg}if(e[kg]||bg(e,kg,t),vg[t])for(var n in mg)if(e[n]!==mg[n])try{bg(e,n,mg[n])}catch(t){e[n]=mg[n]}}};for(var Cg in vg)xg(dg[Cg]&&dg[Cg].prototype,Cg);xg(yg,"DOMTokenList");var wg=Qr,Bg=p,Sg=D,_g=Vl,Og=X,Tg=qe,Rg=fr,jg=Zs,Ig=tc,zg=zh,$g=le,Pg=at("isConcatSpreadable"),Lg=9007199254740991,Mg="Maximum allowed index exceeded",Ng=Bg.TypeError,qg=$g>=51||!Sg((function(){var e=[];return e[Pg]=!1,e.concat()[0]!==e})),Ug=zg("concat"),Zg=function(e){if(!Og(e))return!1;var t=e[Pg];return void 0!==t?!!t:_g(e)};wg({target:"Array",proto:!0,forced:!qg||!Ug},{concat:function(e){var t,n,r,u,i,o=Tg(this),a=Ig(o,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Zg(i=-1===t?o:arguments[t])){if(s+(u=Rg(i))>Lg)throw Ng(Mg);for(n=0;n<u;n++,s++)n in i&&jg(a,s,i[n])}else{if(s>=Lg)throw Ng(Mg);jg(a,s++,i)}return a.length=s,a}});var Gg=qe,Hg=ku;Qr({target:"Object",stat:!0,forced:D((function(){Hg(1)}))},{keys:function(e){return Hg(Gg(e))}});var Vg=dr.includes,Yg=iD;Qr({target:"Array",proto:!0},{includes:function(e){return Vg(this,e,arguments.length>1?arguments[1]:void 0)}}),Yg("includes");var Kg=qo,Xg=p.TypeError,Wg=at("match"),Jg=Qr,Qg=function(e){if(Kg(e))throw Xg("The method doesn't accept regular expressions");return e},ed=Z,td=pu,nd=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Wg]=!1,"/./"[e](t)}catch(e){}}return!1},rd=T("".indexOf);Jg({target:"String",proto:!0,forced:!nd("includes")},{includes:function(e){return!!~rd(td(ed(this)),td(Qg(e)),arguments.length>1?arguments[1]:void 0)}});var ud=Z,id=pu,od=/"/g,ad=T("".replace),sd=D,ld=function(e,t,n,r){var u=id(ud(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+ad(id(r),od,"&quot;")+'"'),i+">"+u+"</"+t+">"},cd=function(e){return sd((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};Qr({target:"String",proto:!0,forced:cd("link")},{link:function(e){return ld(this,"a","href",e)}});var fd=lc.map;Qr({target:"Array",proto:!0,forced:!zh("map")},{map:function(e){return fd(this,e,arguments.length>1?arguments[1]:void 0)}});var pd=Qr,hd=p,Dd=or,gd=nr,dd=fr,vd=qe,yd=tc,md=Zs,bd=zh("splice"),Ad=hd.TypeError,Fd=Math.max,kd=Math.min,Ed=9007199254740991,xd="Maximum allowed length exceeded";pd({target:"Array",proto:!0,forced:!bd},{splice:function(e,t){var n,r,u,i,o,a,s=vd(this),l=dd(s),c=Dd(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=kd(Fd(gd(t),0),l-c)),l+n-r>Ed)throw Ad(xd);for(u=yd(s,r),i=0;i<r;i++)(o=c+i)in s&&md(u,i,s[o]);if(u.length=r,n<r){for(i=c;i<l-r;i++)a=i+n,(o=i+r)in s?s[a]=s[o]:delete s[a];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)a=i+n-1,(o=i+r-1)in s?s[a]=s[o]:delete s[a];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,u}});var Cd={exports:{}};function wd(){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}}Cd.exports={defaults:{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},getDefaults:wd,changeDefaults:function(e){Cd.exports.defaults=e}};var Bd=/[&<>"']/,Sd=/[&<>"']/g,_d=/[<>"']|&(?!#?\w+;)/,Od=/[<>"']|&(?!#?\w+;)/g,Td={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Rd=function(e){return Td[e]};var jd=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Id(e){return e.replace(jd,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var zd=/(^|[^\[])\^/g;var $d=/[^\w:]/g,Pd=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var Ld={},Md=/^[^:]+:\/*[^/]*$/,Nd=/^([^:]+:)[\s\S]*$/,qd=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ud(e,t){Ld[" "+e]||(Md.test(e)?Ld[" "+e]=e+"/":Ld[" "+e]=Zd(e,"/",!0));var n=-1===(e=Ld[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Nd,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(qd,"$1")+t:e+t}function Zd(e,t,n){var r=e.length;if(0===r)return"";for(var u=0;u<r;){var i=e.charAt(r-u-1);if(i!==t||n){if(i===t||!n)break;u++}else u++}return e.substr(0,r-u)}var Gd=function(e,t){if(t){if(Bd.test(e))return e.replace(Sd,Rd)}else if(_d.test(e))return e.replace(Od,Rd);return e},Hd=Id,Vd=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(zd,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n},Yd=function(e,t,n){if(e){var r;try{r=decodeURIComponent(Id(n)).replace($d,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!Pd.test(n)&&(n=Ud(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},Kd={exec:function(){}},Xd=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Wd=function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,u=t;--u>=0&&"\\"===n[u];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},Jd=Zd,Qd=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,u=0;u<n;u++)if("\\"===e[u])u++;else if(e[u]===t[0])r++;else if(e[u]===t[1]&&--r<0)return u;return-1},ev=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")},tv=function(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},nv=Cd.exports.defaults,rv=Jd,uv=Wd,iv=Gd,ov=Qd;function av(e,t,n){var r=t.href,u=t.title?iv(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:u,text:i}:{type:"image",raw:n,href:r,title:u,text:iv(i)}}var sv=function(){function e(n){t(this,e),this.options=n||nv}return r(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:rv(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:o(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=rv(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}}},{key:"nptable",value:function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:uv(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,u=n.align.length;for(r=0;r<u;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(u=n.cells.length,r=0;r<u;r++)n.cells[r]=uv(n.cells[r],n.header.length);return n}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,u,i,o,a,s,l,c,f=t[0],p=t[2],h=p.length>1,D={type:"list",raw:f,ordered:h,start:h?+p.slice(0,-1):"",loose:!1,items:[]},g=t[0].match(this.rules.block.item),d=!1,v=g.length;u=this.rules.block.listItemStart.exec(g[0]);for(var y=0;y<v;y++){if(f=n=g[y],this.options.pedantic||(c=n.match(new RegExp("\\n\\s*\\n {0,"+(u[0].length-1)+"}\\S")))&&(o=n.length-c.index+g.slice(y+1).join("\n").length,D.raw=D.raw.substring(0,D.raw.length-o),f=n=n.substring(0,c.index),v=y+1),y!==v-1){if(i=this.rules.block.listItemStart.exec(g[y+1]),this.options.pedantic?i[1].length>u[1].length:i[1].length>=u[0].length||i[1].length>3){g.splice(y,2,g[y]+(!this.options.pedantic&&i[1].length<u[0].length&&!g[y].match(/\n$/)?"":"\n")+g[y+1]),y--,v--;continue}(!this.options.pedantic||this.options.smartLists?i[2][i[2].length-1]!==p[p.length-1]:h===(1===i[2].length))&&(o=g.slice(y+1).join("\n").length,D.raw=D.raw.substring(0,D.raw.length-o),y=v-1),u=i}r=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),n=rv(n,"\n"),y!==v-1&&(f+="\n"),a=d||/\n\n(?!\s*$)/.test(f),y!==v-1&&(d="\n\n"===f.slice(-2),a||(a=d)),a&&(D.loose=!0),this.options.gfm&&(l=void 0,(s=/^\[[ xX]\] /.test(n))&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),D.items.push({type:"list_item",raw:f,task:s,checked:l,loose:a,text:n})}return D}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):iv(t[0]):t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);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(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:uv(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,u=n.align.length;for(r=0;r<u;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(u=n.cells.length,r=0;r<u;r++)n.cells[r]=uv(n.cells[r].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:iv(t[1])}}},{key:"tag",value:function(e,t,n){var r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):iv(r[0]):r[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=rv(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var u=ov(t[2],"()");if(u>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+u;t[2]=t[2].substring(0,u),t[0]=t[0].substring(0,i).trim(),t[3]=""}}var o=t[2],a="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s&&(o=s[1],a=s[3])}else a=t[3]?t[3].slice(1,-1):"";return o=o.trim(),/^</.test(o)&&(o=this.options.pedantic&&!/>$/.test(n)?o.slice(1):o.slice(1,-1)),av(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0])}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var u=n[0].charAt(0);return{type:"text",raw:u,text:u}}return av(n,r,n[0])}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.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\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\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-\u1711\u171F-\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-\u1B4C\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-\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-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\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\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\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\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\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\uDF40-\uDF46]|\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\uDEB0-\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]|\uD80B[\uDF90-\uDFF0]|[\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\uDE70-\uDEBE\uDEC0-\uDEC9\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]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\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]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\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-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var u=r[1]||r[2]||"";if(!u||u&&(""===n||this.rules.inline.punctuation.exec(n))){var i,o,a=r[0].length-1,s=a,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+a);null!=(r=c.exec(t));)if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(o=i.length,r[3]||r[4])s+=o;else if(!((r[5]||r[6])&&a%3)||(a+o)%3){if(!((s-=o)>0))return o=Math.min(o,o+s+l),Math.min(a,o)%2?{type:"em",raw:e.slice(0,a+r.index+o+1),text:e.slice(1,a+r.index+o)}:{type:"strong",raw:e.slice(0,a+r.index+o+1),text:e.slice(2,a+r.index+o-1)}}else l+=o}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),u=/^ /.test(n)&&/ $/.test(n);return r&&u&&(n=n.substring(1,n.length-1)),n=iv(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}}},{key:"autolink",value:function(e,t){var n,r,u=this.rules.inline.autolink.exec(e);if(u)return r="@"===u[2]?"mailto:"+(n=iv(this.options.mangle?t(u[1]):u[1])):n=iv(u[1]),{type:"link",raw:u[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,u;if("@"===n[2])u="mailto:"+(r=iv(this.options.mangle?t(n[0]):n[0]));else{var i;do{i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(i!==n[0]);r=iv(n[0]),u="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:u,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t,n){var r,u=this.rules.inline.text.exec(e);if(u)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(u[0]):iv(u[0]):u[0]:iv(this.options.smartypants?n(u[0]):u[0]),{type:"text",raw:u[0],text:r}}}]),e}(),lv=Kd,cv=Vd,fv=Xd,pv={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) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,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+|$)/,nptable:lv,table:lv,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};pv.def=cv(pv.def).replace("label",pv._label).replace("title",pv._title).getRegex(),pv.bullet=/(?:[*+-]|\d{1,9}[.)])/,pv.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,pv.item=cv(pv.item,"gm").replace(/bull/g,pv.bullet).getRegex(),pv.listItemStart=cv(/^( *)(bull) */).replace("bull",pv.bullet).getRegex(),pv.list=cv(pv.list).replace(/bull/g,pv.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+pv.def.source+")").getRegex(),pv._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",pv._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,pv.html=cv(pv.html,"i").replace("comment",pv._comment).replace("tag",pv._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pv.paragraph=cv(pv._paragraph).replace("hr",pv.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").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",pv._tag).getRegex(),pv.blockquote=cv(pv.blockquote).replace("paragraph",pv.paragraph).getRegex(),pv.normal=fv({},pv),pv.gfm=fv({},pv.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),pv.gfm.nptable=cv(pv.gfm.nptable).replace("hr",pv.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",pv._tag).getRegex(),pv.gfm.table=cv(pv.gfm.table).replace("hr",pv.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",pv._tag).getRegex(),pv.pedantic=fv({},pv.normal,{html:cv("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",pv._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:lv,paragraph:cv(pv.normal._paragraph).replace("hr",pv.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",pv.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var hv={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:lv,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)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,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:lv,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};hv.punctuation=cv(hv.punctuation).replace(/punctuation/g,hv._punctuation).getRegex(),hv.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,hv.escapedEmSt=/\\\*|\\_/g,hv._comment=cv(pv._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),hv.emStrong.lDelim=cv(hv.emStrong.lDelim).replace(/punct/g,hv._punctuation).getRegex(),hv.emStrong.rDelimAst=cv(hv.emStrong.rDelimAst,"g").replace(/punct/g,hv._punctuation).getRegex(),hv.emStrong.rDelimUnd=cv(hv.emStrong.rDelimUnd,"g").replace(/punct/g,hv._punctuation).getRegex(),hv._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,hv._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,hv._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])?)+(?![-_])/,hv.autolink=cv(hv.autolink).replace("scheme",hv._scheme).replace("email",hv._email).getRegex(),hv._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,hv.tag=cv(hv.tag).replace("comment",hv._comment).replace("attribute",hv._attribute).getRegex(),hv._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,hv._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,hv._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,hv.link=cv(hv.link).replace("label",hv._label).replace("href",hv._href).replace("title",hv._title).getRegex(),hv.reflink=cv(hv.reflink).replace("label",hv._label).getRegex(),hv.reflinkSearch=cv(hv.reflinkSearch,"g").replace("reflink",hv.reflink).replace("nolink",hv.nolink).getRegex(),hv.normal=fv({},hv),hv.pedantic=fv({},hv.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:cv(/^!?\[(label)\]\((.*?)\)/).replace("label",hv._label).getRegex(),reflink:cv(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",hv._label).getRegex()}),hv.gfm=fv({},hv.normal,{escape:cv(hv.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),hv.gfm.url=cv(hv.gfm.url,"i").replace("email",hv.gfm._extended_email).getRegex(),hv.breaks=fv({},hv.gfm,{br:cv(hv.br).replace("{2,}","*").getRegex(),text:cv(hv.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Dv={block:pv,inline:hv},gv=sv,dv=Cd.exports.defaults,vv=Dv.block,yv=Dv.inline,mv=tv;function bv(e){return e.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Av(e){var t,n,r="",u=e.length;for(t=0;t<u;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var Fv=function(){function e(n){t(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=n||dv,this.options.tokenizer=this.options.tokenizer||new gv,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var r={block:vv.normal,inline:yv.normal};this.options.pedantic?(r.block=vv.pedantic,r.inline=yv.pedantic):this.options.gfm&&(r.block=vv.gfm,this.options.breaks?r.inline=yv.breaks:r.inline=yv.gfm),this.tokenizer.rules=r}return r(e,[{key:"lex",value:function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,u,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(t=n.call(a,e,s))&&(e=e.substring(t.raw.length),s.push(t),!0)}))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),t.type&&s.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),(u=s[s.length-1])&&"paragraph"===u.type?(u.raw+="\n"+t.raw,u.text+="\n"+t.text):s.push(t);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.nptable(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),t.tokens=this.blockTokens(t.text,[],l),s.push(t);else if(t=this.tokenizer.list(e)){for(e=e.substring(t.raw.length),r=t.items.length,n=0;n<r;n++)t.items[n].tokens=this.blockTokens(t.items[n].text,[],!1);s.push(t)}else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),s.push(t);else if(l&&(t=this.tokenizer.def(e)))e=e.substring(t.raw.length),this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),s.push(t);else if(i=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),r=void 0;a.options.extensions.startBlock.forEach((function(e){"number"==typeof(r=e.call(this,n))&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}(),l&&(t=this.tokenizer.paragraph(i)))u=s[s.length-1],o&&"paragraph"===u.type?(u.raw+="\n"+t.raw,u.text+="\n"+t.text):s.push(t),o=i.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),(u=s[s.length-1])&&"text"===u.type?(u.raw+="\n"+t.raw,u.text+="\n"+t.text):s.push(t);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}return s}},{key:"inline",value:function(e){var t,n,r,u,i,o,a=e.length;for(t=0;t<a;t++)switch((o=e[t]).type){case"paragraph":case"text":case"heading":o.tokens=[],this.inlineTokens(o.text,o.tokens);break;case"table":for(o.tokens={header:[],cells:[]},u=o.header.length,n=0;n<u;n++)o.tokens.header[n]=[],this.inlineTokens(o.header[n],o.tokens.header[n]);for(u=o.cells.length,n=0;n<u;n++)for(i=o.cells[n],o.tokens.cells[n]=[],r=0;r<i.length;r++)o.tokens.cells[n][r]=[],this.inlineTokens(i[r],o.tokens.cells[n][r]);break;case"blockquote":this.inline(o.tokens);break;case"list":for(u=o.items.length,n=0;n<u;n++)this.inline(o.items[n].tokens)}return e}},{key:"inlineTokens",value:function(e){var t,n,r,u,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=arguments.length>3&&void 0!==arguments[3]&&arguments[3],f=e;if(this.tokens.links){var p=Object.keys(this.tokens.links);if(p.length>0)for(;null!=(u=this.tokenizer.rules.inline.reflinkSearch.exec(f));)p.includes(u[0].slice(u[0].lastIndexOf("[")+1,-1))&&(f=f.slice(0,u.index)+"["+mv("a",u[0].length-2)+"]"+f.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(u=this.tokenizer.rules.inline.blockSkip.exec(f));)f=f.slice(0,u.index)+"["+mv("a",u[0].length-2)+"]"+f.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(u=this.tokenizer.rules.inline.escapedEmSt.exec(f));)f=f.slice(0,u.index)+"++"+f.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(i||(o=""),i=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(t=n.call(a,e,s))&&(e=e.substring(t.raw.length),s.push(t),!0)}))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.tag(e,l,c))e=e.substring(t.raw.length),l=t.inLink,c=t.inRawBlock,(n=s[s.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):s.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),"link"===t.type&&(t.tokens=this.inlineTokens(t.text,[],!0,c)),s.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),n=s[s.length-1],"link"===t.type?(t.tokens=this.inlineTokens(t.text,[],!0,c),s.push(t)):n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):s.push(t);else if(t=this.tokenizer.emStrong(e,f,o))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],l,c),s.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],l,c),s.push(t);else if(t=this.tokenizer.autolink(e,Av))e=e.substring(t.raw.length),s.push(t);else if(l||!(t=this.tokenizer.url(e,Av))){if(r=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),u=void 0;a.options.extensions.startInline.forEach((function(e){"number"==typeof(u=e.call(this,n))&&u>=0&&(t=Math.min(t,u))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),t=this.tokenizer.inlineText(r,c,bv))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),i=!0,(n=s[s.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):s.push(t);else if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else e=e.substring(t.raw.length),s.push(t);return s}}],[{key:"rules",get:function(){return{block:vv,inline:yv}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}(),kv=Cd.exports.defaults,Ev=Yd,xv=Gd,Cv=function(){function e(n){t(this,e),this.options=n||kv}return r(e,[{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var u=this.options.highlight(e,r);null!=u&&u!==e&&(n=!0,e=u)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+xv(r,!0)+'">'+(n?e:xv(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:xv(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n"+e+"</blockquote>\n"}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>"+e+"</li>\n"}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>"+e+"</p>\n"}},{key:"table",value:function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n"+e+"</tr>\n"}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}},{key:"strong",value:function(e){return"<strong>"+e+"</strong>"}},{key:"em",value:function(e){return"<em>"+e+"</em>"}},{key:"codespan",value:function(e){return"<code>"+e+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>"+e+"</del>"}},{key:"link",value:function(e,t,n){if(null===(e=Ev(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+xv(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=Ev(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}(),wv=function(){function e(){t(this,e)}return r(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}(),Bv=function(){function e(){t(this,e),this.seen={}}return r(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}(),Sv=Cv,_v=wv,Ov=Bv,Tv=Cd.exports.defaults,Rv=Hd,jv=function(){function e(n){t(this,e),this.options=n||Tv,this.options.renderer=this.options.renderer||new Sv,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new _v,this.slugger=new Ov}return r(e,[{key:"parse",value:function(e){var t,n,r,u,i,o,a,s,l,c,f,p,h,D,g,d,v,y,m,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],A="",F=e.length;for(t=0;t<F;t++)if(c=e[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[c.type])||!1===(m=this.options.extensions.renderers[c.type].call(this,c))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type))switch(c.type){case"space":continue;case"hr":A+=this.renderer.hr();continue;case"heading":A+=this.renderer.heading(this.parseInline(c.tokens),c.depth,Rv(this.parseInline(c.tokens,this.textRenderer)),this.slugger);continue;case"code":A+=this.renderer.code(c.text,c.lang,c.escaped);continue;case"table":for(s="",a="",u=c.header.length,n=0;n<u;n++)a+=this.renderer.tablecell(this.parseInline(c.tokens.header[n]),{header:!0,align:c.align[n]});for(s+=this.renderer.tablerow(a),l="",u=c.cells.length,n=0;n<u;n++){for(a="",i=(o=c.tokens.cells[n]).length,r=0;r<i;r++)a+=this.renderer.tablecell(this.parseInline(o[r]),{header:!1,align:c.align[r]});l+=this.renderer.tablerow(a)}A+=this.renderer.table(s,l);continue;case"blockquote":l=this.parse(c.tokens),A+=this.renderer.blockquote(l);continue;case"list":for(f=c.ordered,p=c.start,h=c.loose,u=c.items.length,l="",n=0;n<u;n++)d=(g=c.items[n]).checked,v=g.task,D="",g.task&&(y=this.renderer.checkbox(d),h?g.tokens.length>0&&"text"===g.tokens[0].type?(g.tokens[0].text=y+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=y+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:y}):D+=y),D+=this.parse(g.tokens,h),l+=this.renderer.listitem(D,v,d);A+=this.renderer.list(l,f,p);continue;case"html":A+=this.renderer.html(c.text);continue;case"paragraph":A+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":for(l=c.tokens?this.parseInline(c.tokens):c.text;t+1<F&&"text"===e[t+1].type;)l+="\n"+((c=e[++t]).tokens?this.parseInline(c.tokens):c.text);A+=b?this.renderer.paragraph(l):l;continue;default:var k='Token with "'+c.type+'" type was not found.';if(this.options.silent)return void console.error(k);throw new Error(k)}else A+=m||"";return A}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,u,i="",o=e.length;for(n=0;n<o;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(u=this.options.extensions.renderers[r.type].call(this,r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"escape":case"text":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;default:var a='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}else i+=u||"";return i}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}(),Iv=Fv,zv=jv,$v=sv,Pv=Cv,Lv=wv,Mv=Bv,Nv=Xd,qv=ev,Uv=Gd,Zv=Cd.exports.getDefaults,Gv=Cd.exports.changeDefaults,Hv=Cd.exports.defaults;function Vv(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=Nv({},Vv.defaults,t||{}),qv(t),n){var r,u=t.highlight;try{r=Iv.lex(e,t)}catch(e){return n(e)}var i=function(e){var i;if(!e)try{t.walkTokens&&Vv.walkTokens(r,t.walkTokens),i=zv.parse(r,t)}catch(t){e=t}return t.highlight=u,e?n(e):n(null,i)};if(!u||u.length<3)return i();if(delete t.highlight,!r.length)return i();var o=0;return Vv.walkTokens(r,(function(e){"code"===e.type&&(o++,setTimeout((function(){u(e.text,e.lang,(function(t,n){if(t)return i(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--o&&i()}))}),0))})),void(0===o&&i())}try{var a=Iv.lex(e,t);return t.walkTokens&&Vv.walkTokens(a,t.walkTokens),zv.parse(a,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+Uv(e.message+"",!0)+"</pre>";throw e}}Vv.options=Vv.setOptions=function(e){return Nv(Vv.defaults,e),Gv(Vv.defaults),Vv},Vv.getDefaults=Zv,Vv.defaults=Hv,Vv.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var u,i=Nv.apply(void 0,[{}].concat(n)),o=Vv.defaults.extensions||{renderers:{},childTokens:{}};n.forEach((function(t){if(t.extensions&&(u=!0,t.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=o.renderers?o.renderers[e.name]:null;o.renderers[e.name]=t?function(){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];var i=e.renderer.apply(this,r);return!1===i&&(i=t.apply(this,r)),i}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");o[e.level]?o[e.level].unshift(e.tokenizer):o[e.level]=[e.tokenizer],e.start&&("block"===e.level?o.startBlock?o.startBlock.push(e.start):o.startBlock=[e.start]:"inline"===e.level&&(o.startInline?o.startInline.push(e.start):o.startInline=[e.start]))}e.childTokens&&(o.childTokens[e.name]=e.childTokens)}))),t.renderer&&function(){var e=Vv.defaults.renderer||new Pv,n=function(n){var r=e[n];e[n]=function(){for(var u=arguments.length,i=new Array(u),o=0;o<u;o++)i[o]=arguments[o];var a=t.renderer[n].apply(e,i);return!1===a&&(a=r.apply(e,i)),a}};for(var r in t.renderer)n(r);i.renderer=e}(),t.tokenizer&&function(){var e=Vv.defaults.tokenizer||new $v,n=function(n){var r=e[n];e[n]=function(){for(var u=arguments.length,i=new Array(u),o=0;o<u;o++)i[o]=arguments[o];var a=t.tokenizer[n].apply(e,i);return!1===a&&(a=r.apply(e,i)),a}};for(var r in t.tokenizer)n(r);i.tokenizer=e}(),t.walkTokens){var n=Vv.defaults.walkTokens;i.walkTokens=function(r){t.walkTokens.call(e,r),n&&n(r)}}u&&(i.extensions=o),Vv.setOptions(i)}))},Vv.walkTokens=function(e,t){var n,r=l(e);try{var u=function(){var e=n.value;switch(t(e),e.type){case"table":var r,u=l(e.tokens.header);try{for(u.s();!(r=u.n()).done;){var i=r.value;Vv.walkTokens(i,t)}}catch(e){u.e(e)}finally{u.f()}var o,a=l(e.tokens.cells);try{for(a.s();!(o=a.n()).done;){var s,c=l(o.value);try{for(c.s();!(s=c.n()).done;){var f=s.value;Vv.walkTokens(f,t)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){a.e(e)}finally{a.f()}break;case"list":Vv.walkTokens(e.items,t);break;default:Vv.defaults.extensions&&Vv.defaults.extensions.childTokens&&Vv.defaults.extensions.childTokens[e.type]?Vv.defaults.extensions.childTokens[e.type].forEach((function(n){Vv.walkTokens(e[n],t)})):e.tokens&&Vv.walkTokens(e.tokens,t)}};for(r.s();!(n=r.n()).done;)u()}catch(e){r.e(e)}finally{r.f()}},Vv.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=Nv({},Vv.defaults,t||{}),qv(t);try{var n=Iv.lexInline(e,t);return t.walkTokens&&Vv.walkTokens(n,t.walkTokens),zv.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+Uv(e.message+"",!0)+"</pre>";throw e}},Vv.Parser=zv,Vv.parser=zv.parse,Vv.Renderer=Pv,Vv.TextRenderer=Lv,Vv.Lexer=Iv,Vv.lexer=Iv.lex,Vv.Tokenizer=$v,Vv.Slugger=Mv,Vv.parse=Vv;var Yv=Vv,Kv=["renderer","animateLists"],Xv="__SCRIPT_END__",Wv=/\[([\s\d,|-]*)\]/,Jv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};return function(){var t;function n(e){var t=(e.querySelector("[data-template]")||e.querySelector("script")||e).textContent,n=(t=t.replace(new RegExp(Xv,"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"),"\n"):n>1&&(t=t.replace(new RegExp("\\n? {"+n+"}","g"),"\n")),t}function r(e){for(var t=e.attributes,n=[],r=0,u=t.length;r<u;r++){var i=t[r].name,o=t[r].value;/data\-(markdown|separator|vertical|notes)/gi.test(i)||(o?n.push(i+'="'+o+'"'):n.push(i))}return n.join(" ")}function o(e){return(e=e||{}).separator=e.separator||"\r?\n---\r?\n",e.notesSeparator=e.notesSeparator||"notes?:",e.attributes=e.attributes||"",e}function a(e,t){t=o(t);var n=e.split(new RegExp(t.notesSeparator,"mgi"));return 2===n.length&&(e=n[0]+'<aside class="notes">'+Yv(n[1].trim())+"</aside>"),'<script type="text/template">'+(e=e.replace(/<\/script>/g,Xv))+"<\/script>"}function s(e,t){t=o(t);for(var n,r,u,i=new RegExp(t.separator+(t.verticalSeparator?"|"+t.verticalSeparator:""),"mg"),s=new RegExp(t.separator),l=0,c=!0,f=[];n=i.exec(e);)!(r=s.test(n[0]))&&c&&f.push([]),u=e.substring(l,n.index),r&&c?f.push(u):f[f.length-1].push(u),l=i.lastIndex,c=r;(c?f:f[f.length-1]).push(e.substring(l));for(var p="",h=0,D=f.length;h<D;h++)f[h]instanceof Array?(p+="<section "+t.attributes+">",f[h].forEach((function(e){p+="<section data-markdown>"+a(e,t)+"</section>"})),p+="</section>"):p+="<section "+t.attributes+" data-markdown>"+a(f[h],t)+"</section>";return p}function l(e){return new Promise((function(t){var u=[];[].slice.call(e.querySelectorAll("section[data-markdown]:not([data-markdown-parsed])")).forEach((function(e,t){e.getAttribute("data-markdown").length?u.push(function(e){return new Promise((function(t,n){var r=new XMLHttpRequest,u=e.getAttribute("data-markdown"),i=e.getAttribute("data-charset");null!=i&&""!=i&&r.overrideMimeType("text/html; charset="+i),r.onreadystatechange=function(e,r){4===r.readyState&&(r.status>=200&&r.status<300||0===r.status?t(r,u):n(r,u))}.bind(this,e,r),r.open("GET",u,!0);try{r.send()}catch(e){console.warn("Failed to get the Markdown file "+u+". Make sure that the presentation and the file are served by a HTTP server and the file can be found there. "+e),t(r,u)}}))}(e).then((function(t,n){e.outerHTML=s(t.responseText,{separator:e.getAttribute("data-separator"),verticalSeparator:e.getAttribute("data-separator-vertical"),notesSeparator:e.getAttribute("data-separator-notes"),attributes:r(e)})}),(function(t,n){e.outerHTML='<section data-state="alert">ERROR: The attempt to fetch '+n+" failed with HTTP status "+t.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>"}))):e.outerHTML=s(n(e),{separator:e.getAttribute("data-separator"),verticalSeparator:e.getAttribute("data-separator-vertical"),notesSeparator:e.getAttribute("data-separator-notes"),attributes:r(e)})})),Promise.all(u).then(t)}))}function c(e,t,n){var r,u,i=new RegExp(n,"mg"),o=new RegExp('([^"= ]+?)="([^"]+?)"|(data-[^"= ]+?)(?=[" ])',"mg"),a=e.nodeValue;if(r=i.exec(a)){var s=r[1];for(a=a.substring(0,r.index)+a.substring(i.lastIndex),e.nodeValue=a;u=o.exec(s);)u[2]?t.setAttribute(u[1],u[2]):t.setAttribute(u[3],"");return!0}return!1}function f(e,t,n,r,u){if(null!=t&&null!=t.childNodes&&t.childNodes.length>0)for(var i=t,o=0;o<t.childNodes.length;o++){var a=t.childNodes[o];if(o>0)for(var s=o-1;s>=0;){var l=t.childNodes[s];if("function"==typeof l.setAttribute&&"BR"!=l.tagName){i=l;break}s-=1}var p=e;"section"==a.nodeName&&(p=a,i=a),"function"!=typeof a.setAttribute&&a.nodeType!=Node.COMMENT_NODE||f(p,a,i,r,u)}t.nodeType==Node.COMMENT_NODE&&0==c(t,n,r)&&c(t,e,u)}function p(){var e=t.getRevealElement().querySelectorAll("[data-markdown]:not([data-markdown-parsed])");return[].slice.call(e).forEach((function(e){e.setAttribute("data-markdown-parsed",!0);var t=e.querySelector("aside.notes"),r=n(e);e.innerHTML=Yv(r),f(e,e,null,e.getAttribute("data-element-attributes")||e.parentNode.getAttribute("data-element-attributes")||"\\.element\\s*?(.+?)$",e.getAttribute("data-attributes")||e.parentNode.getAttribute("data-attributes")||"\\.slide:\\s*?(\\S.+?)$"),t&&e.appendChild(t)})),Promise.resolve()}return{id:"markdown",init:function(n){var r=(t=n).getConfig().markdown||{},o=r.renderer,a=r.animateLists,s=i(r,Kv);return o||((o=new Yv.Renderer).code=function(e,t){var n="";return Wv.test(t)&&(n=t.match(Wv)[1].trim(),n='data-line-numbers="'.concat(n,'"'),t=t.replace(Wv,"").trim()),e=e.replace(/([&<>'"])/g,(function(e){return Jv[e]})),"<pre><code ".concat(n,' class="').concat(t,'">').concat(e,"</code></pre>")}),!0===a&&(o.listitem=function(e){return'<li class="fragment">'.concat(e,"</li>")}),Yv.setOptions(function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({renderer:o},s)),l(t.getRevealElement()).then(p)},processSlides:l,convertSlides:p,slidify:s,marked:Yv}}}));