@topwrite/reader 1.0.30-alpha.3 → 1.0.31-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -50,7 +50,7 @@ object-assign
50
50
  * LICENSE file in the root directory of this source tree.
51
51
  */r(2525);var n=r(7363),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},1311:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attach:()=>o,detach:()=>a,shouldRetryRequest:()=>l,getConfig:()=>f});var n=r(4206),i=r.n(n);function o(e){return(e=e||i()).interceptors.response.use(s,c)}function a(e,t){(t=t||i()).interceptors.response.eject(e)}function s(e){return e}function u(e){var t=[];if(e)return Array.isArray(e)?e:("object"==typeof e&&Object.keys(e).forEach((function(r){"number"==typeof r&&(t[r]=e[r])})),t)}function c(e){if(i().isCancel(e))return Promise.reject(e);var t=f(e)||{};if(t.currentRetryAttempt=t.currentRetryAttempt||0,t.retry="number"==typeof t.retry?t.retry:3,t.retryDelay="number"==typeof t.retryDelay?t.retryDelay:100,t.instance=t.instance||i(),t.backoffType=t.backoffType||"exponential",t.httpMethodsToRetry=u(t.httpMethodsToRetry)||["GET","HEAD","PUT","OPTIONS","DELETE"],t.noResponseRetries="number"==typeof t.noResponseRetries?t.noResponseRetries:2,t.checkRetryAfter="boolean"!=typeof t.checkRetryAfter||t.checkRetryAfter,t.maxRetryAfter="number"==typeof t.maxRetryAfter?t.maxRetryAfter:3e5,t.statusCodesToRetry=u(t.statusCodesToRetry)||[[100,199],[429,429],[500,599]],e.config=e.config||{},e.config.raxConfig=Object.assign({},t),!(t.shouldRetry||l)(e))return Promise.reject(e);var r=new Promise((function(r,n){var i=0;if(t.checkRetryAfter&&e.response&&e.response.headers["retry-after"]){var o=function(e){var t=Number(e);if(!Number.isNaN(t))return 1e3*t;var r=Date.parse(e);return Number.isNaN(r)?void 0:r-Date.now()}(e.response.headers["retry-after"]);if(!(o&&o>0&&o<=t.maxRetryAfter))return n(e);i=o}e.config.raxConfig.currentRetryAttempt+=1;var a=e.config.raxConfig.currentRetryAttempt;0===i&&(i="linear"===t.backoffType?1e3*a:"static"===t.backoffType?t.retryDelay:(Math.pow(2,a)-1)/2*1e3,"number"==typeof t.maxRetryDelay&&(i=Math.min(i,t.maxRetryDelay))),setTimeout(r,i)})),n=t.onRetryAttempt?Promise.resolve(t.onRetryAttempt(e)):Promise.resolve();return Promise.resolve().then((function(){return r})).then((function(){return n})).then((function(){return t.instance.request(e.config)}))}function l(e){var t=e.config.raxConfig;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){for(var r=!1,n=0,i=t.statusCodesToRetry;n<i.length;n+=1){var o=i[n],a=e.response.status;if(a>=o[0]&&a<=o[1]){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function f(e){if(e&&e.config)return e.config.raxConfig}},4445:e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var c=o[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(i=r?r.call(n,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},9400:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},9742:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},2371:function(e,t){
52
52
  /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
53
- !function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",i="[0-9]",o=t(i,"[A-Fa-f]"),a=r(r("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+r("%[89A-Fa-f]"+o+"%"+o+o)+"|"+r("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,i,"[\\+\\-\\.]")+"*"),p=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("[1-9]"+i)+"|"+i),r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i)),d=r(h+"\\."+h+"\\."+h+"\\."+h),m=r(o+"{1,4}"),g=r(r(m+"\\:"+m)+"|"+d),y=r(r(m+"\\:")+"{6}"+g),v=r("\\:\\:"+r(m+"\\:")+"{5}"+g),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+g),E=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+g),w=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),x=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),S=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),k=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),A=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),D=r([y,v,b,E,w,x,S,k,A].join("|")),F=r(r(l+"|"+a)+"+"),C=(r(D+"\\%25"+F),r(D+r("\\%25|\\%(?!"+o+"{2})")+F)),P=r("[vV]"+o+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+D+"|"+P)+"\\]"),T=r(r(a+"|"+t(l,s))+"*"),j=r(O+"|"+d+"(?!"+T+")|"+T),_=r(i+"*"),I=r(r(p+"@")+"?"+j+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),L=r(R+"*"),N=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),B=r(r("\\/"+L)+"*"),z=r("\\/"+r(N+B)+"?"),U=r(M+B),$=r(N+B),q="(?!"+R+")",V=(r(B+"|"+z+"|"+U+"|"+$+"|"+q),r(r(R+"|"+t("[\\/\\?]",c))+"*")),H=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+I+B)+"|"+z+"|"+$+"|"+q),W=r(f+"\\:"+G+r("\\?"+V)+"?"+r("\\#"+H)+"?"),Q=r(r("\\/\\/"+I+B)+"|"+z+"|"+U+"|"+q),K=r(Q+r("\\?"+V)+"?"+r("\\#"+H)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+V)+"?"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+U+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r("("+p+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+D+")"+r(r("\\%25|\\%(?!"+o+"{2})")+"("+F+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},p=2147483647,h=36,d=1,m=26,g=38,y=700,v=72,b=128,E="-",w=/^xn--/,x=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=h-d,D=Math.floor,F=String.fromCharCode;function C(e){throw new RangeError(k[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(S,".")).split("."),t).join(".")}function T(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,r){var n=0;for(e=r?D(e/y):e>>1,e+=D(e/t);e>A*m>>1;n+=h)e=D(e/A);return D(n+(A+1)*e/(e+g))},R=function(e){var t=[],r=e.length,n=0,i=b,o=v,a=e.lastIndexOf(E);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=h;;f+=h){u>=r&&C("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>D((p-n)/l))&&C("overflow"),n+=g*l;var y=f<=o?d:f>=o+m?m:f-o;if(g<y)break;var w=h-y;l>D(p/w)&&C("overflow"),l*=w}var x=t.length+1;o=I(n-c,x,0==c),D(n/x)>p-i&&C("overflow"),i+=D(n/x),n%=x,t.splice(n++,0,i)}return String.fromCodePoint.apply(String,t)},L=function(e){var t=[],r=(e=T(e)).length,n=b,i=0,o=v,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(F(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var g=t.length,y=g;for(g&&t.push(E);y<r;){var w=p,x=!0,S=!1,k=void 0;try{for(var A,P=e[Symbol.iterator]();!(x=(A=P.next()).done);x=!0){var O=A.value;O>=n&&O<w&&(w=O)}}catch(e){S=!0,k=e}finally{try{!x&&P.return&&P.return()}finally{if(S)throw k}}var j=y+1;w-n>D((p-i)/j)&&C("overflow"),i+=(w-n)*j,n=w;var R=!0,L=!1,N=void 0;try{for(var M,B=e[Symbol.iterator]();!(R=(M=B.next()).done);R=!0){var z=M.value;if(z<n&&++i>p&&C("overflow"),z==n){for(var U=i,$=h;;$+=h){var q=$<=o?d:$>=o+m?m:$-o;if(U<q)break;var V=U-q,H=h-q;t.push(F(_(q+V%H,0))),U=D(V/H)}t.push(F(_(U,0))),o=I(i,j,y==g),i=0,++y}}}catch(e){L=!0,N=e}finally{try{!R&&B.return&&B.return()}finally{if(L)throw N}}++i,++n}return t.join("")},N=function(e){return O(e,(function(e){return w.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return x.test(e)?"xn--"+L(e):e}))},B={version:"2.1.0",ucs2:{decode:T,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:L,toASCII:M,toUnicode:N},z={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function $(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function q(e,t){function r(e){var r=$(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,i)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function H(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(V).join("."):e}function G(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(V):[],p=u.split(":").map(V),h=t.IPV4ADDRESS.test(p[p.length-1]),d=h?7:8,m=p.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||p[m+y]||"";h&&(g[d-1]=H(g[d-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var E=g.slice(0,v.index),w=g.slice(v.index+v.length);b=E.join(":")+"::"+w.join(":")}else b=g.join(":");return o&&(b+="%"+o),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(W);if(i){Q?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=G(H(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=z[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)q(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=B.toASCII(r.host.replace(n.PCT_ENCODED,$).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}q(r,u)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Y(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(G(H(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var X=/^\.\.?\//,Z=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(X))e=e.replace(X,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],i=z[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(r.PCT_ENCODED,$).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}q(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=Y(e,t);if(void 0!==o&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||i&&i.absolutePath||(a=te(a)),void 0===o&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function ie(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function oe(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,$)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var pe={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),i=n[0],o=n[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),xe=new RegExp(ye,"g"),Se=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),ke=new RegExp(t("[^]",me,Ee),"g"),Ae=ke;function De(e){var t=$(e);return t.match(we)?t:e}var Fe={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,p=l.length;f<p;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:i=!0,o[ue(c[0],t)]=ue(c[1],t)}}i&&(r.headers=o)}r.query=void 0;for(var h=0,d=n.length;h<d;++h){var m=n[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r=e,n=o(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(xe,De).replace(xe,i).replace(Se,U),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var h=[];for(var d in p)p[d]!==de[d]&&h.push(d.replace(xe,De).replace(xe,i).replace(ke,U)+"="+p[d].replace(xe,De).replace(xe,i).replace(Ae,U));return h.length&&(r.query=h.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var i=t.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],s=i+":"+(t.nid||o),u=z[s];n.nid=o,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),o=z[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Te={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};z[ce.scheme]=ce,z[le.scheme]=le,z[pe.scheme]=pe,z[he.scheme]=he,z[Fe.scheme]=Fe,z[Pe.scheme]=Pe,z[Te.scheme]=Te,e.SCHEMES=z,e.pctEncChar=U,e.pctDecChars=$,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=ie,e.normalize=oe,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},8884:function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r.g&&r.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,d=String.fromCharCode;function m(e){throw RangeError(p[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=d((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=d(e)})).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;n+=u)e=h(e/35);return h(n+36*e/(e+38))}function x(e){var t,r,n,i,o,a,c,l,f,p,d,g=[],y=e.length,v=0,E=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&m("not-basic"),g.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<y;){for(o=v,a=1,c=u;i>=y&&m("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:u)>=u||l>h((s-v)/a))&&m("overflow"),v+=l*a,!(l<(f=c<=x?1:c>=x+26?26:c-x));c+=u)a>h(s/(p=u-f))&&m("overflow"),a*=p;x=w(v-o,t=g.length+1,0==o),h(v/t)>s-E&&m("overflow"),E+=h(v/t),v%=t,g.splice(v++,0,E)}return b(g)}function S(e){var t,r,n,i,o,a,c,l,f,p,g,y,b,x,S,k=[];for(y=(e=v(e)).length,t=128,r=0,o=72,a=0;a<y;++a)(g=e[a])<128&&k.push(d(g));for(n=i=k.length,i&&k.push("-");n<y;){for(c=s,a=0;a<y;++a)(g=e[a])>=t&&g<c&&(c=g);for(c-t>h((s-r)/(b=n+1))&&m("overflow"),r+=(c-t)*b,t=c,a=0;a<y;++a)if((g=e[a])<t&&++r>s&&m("overflow"),g==t){for(l=r,f=u;!(l<(p=f<=o?1:f>=o+26?26:f-o));f+=u)S=l-p,x=u-p,k.push(d(E(p+S%x,0))),l=h(S/x);k.push(d(E(l,0))),o=w(r,b,n==i),r=0,++n}++r,++t}return k.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:b},decode:x,encode:S,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},4760:(e,t,r)=>{"use strict";var n=r(8884),i=r(569);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(6541);function b(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var E=u.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(S||w&&!y[w])){for(var k,A,D=-1,F=0;F<p.length;F++){-1!==(C=b.indexOf(p[F]))&&(-1===D||C<D)&&(D=C)}-1!==(A=-1===D?b.lastIndexOf("@"):b.lastIndexOf("@",D))&&(k=b.slice(0,A),b=b.slice(A+1),this.auth=decodeURIComponent(k)),D=-1;for(F=0;F<f.length;F++){var C;-1!==(C=b.indexOf(f[F]))&&(-1===D||C<D)&&(D=C)}-1===D&&(D=b.length),this.host=b.slice(0,D),b=b.slice(D),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),T=(F=0,O.length);F<T;F++){var j=O[F];if(j&&!j.match(h)){for(var _="",I=0,R=j.length;I<R;I++)j.charCodeAt(I)>127?_+="x":_+=j[I];if(!_.match(h)){var L=O.slice(0,F),N=O.slice(F+1),M=j.match(d);M&&(L.push(M[1]),N.unshift(M[2])),N.length&&(b="/"+N.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+B,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(F=0,T=l.length;F<T;F++){var U=l[F];if(-1!==b.indexOf(U)){var $=encodeURIComponent(U);$===U&&($=escape(U)),b=b.split(U).join($)}}var q=b.indexOf("#");-1!==q&&(this.hash=b.substr(q),b=b.slice(0,q));var V=b.indexOf("?");if(-1!==V?(this.search=b.substr(V),this.query=b.substr(V+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,V)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var H=this.search||"";this.path=B+H}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var r=new o,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=E||b||r.host&&e.pathname,x=w,S=r.pathname&&r.pathname.split("/")||[],k=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(k&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===S[0])),E)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=d;else if(d.length)S||(S=[]),S.pop(),S=S.concat(d),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(k)r.hostname=r.host=S.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=S.slice(-1)[0],D=(r.host||e.host||S.length>1)&&("."===A||".."===A)||""===A,F=0,C=S.length;C>=0;C--)"."===(A=S[C])?S.splice(C,1):".."===A?(S.splice(C,1),F++):F&&(S.splice(C,1),F--);if(!w&&!x)for(;F--;F)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),D&&"/"!==S.join("/").substr(-1)&&S.push("");var P,O=""===S[0]||S[0]&&"/"===S[0].charAt(0);k&&(r.hostname=r.host=O?"":S.length?S.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(w=w||r.host&&S.length)&&!O&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},569:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},6579:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},7673:(e,t,r)=>{"use strict";var n=r(7740),i=r(8265),o=r(2505),a=r(387);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function E(e){return"[object WeakSet]"===l(e)}function w(e){return"[object ArrayBuffer]"===l(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===l(e)}function k(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||k(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=x,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=k;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function D(e){return"[object SharedArrayBuffer]"===l(e)}function F(e){return void 0!==A&&(void 0===D.working&&(D.working=D(new A)),D.working?D(e):e instanceof A)}function C(e){return g(e,f)}function P(e){return g(e,p)}function O(e){return g(e,h)}function T(e){return u&&g(e,d)}function j(e){return c&&g(e,m)}t.isSharedArrayBuffer=F,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=T,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||T(e)||j(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||F(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},1323:(e,t,r)=>{var n=r(7061),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<i;s=n[++r])y(s)||!x(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&A(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return b(i)||(i=p(e,i,n)),i}var o=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(A(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(k(r))return h(r)}var c,l="",f=!1,x=["{","}"];(m(r)&&(f=!0,x=["[","]"]),A(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),k(r)&&(l=" "+h(r)),0!==a.length||f&&0!=r.length?n<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(d(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(e,t,r,n,i,!0))})),o}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,x)):x[0]+l+x[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),O(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?p(e,u.value,null):p(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===D(e)}function x(e){return"object"==typeof e&&null!==e}function S(e){return x(e)&&"[object Date]"===D(e)}function k(e){return x(e)&&("[object Error]"===D(e)||e instanceof Error)}function A(e){return"function"==typeof e}function D(e){return Object.prototype.toString.call(e)}function F(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(7673),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=w,t.types.isRegExp=w,t.isObject=x,t.isDate=S,t.types.isDate=S,t.isError=k,t.types.isNativeError=k,t.isFunction=A,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(6579);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[F(e.getHours()),F(e.getMinutes()),F(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=r(87),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=T,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},2505:(e,t,r)=>{"use strict";var n=r(8372),i=r(973),o=r(2737),a=o("Object.prototype.toString"),s=r(698)(),u="undefined"==typeof globalThis?r.g:globalThis,c=i(),l=o("String.prototype.slice"),f={},p=r(8828),h=Object.getPrototypeOf;s&&p&&h&&n(c,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=h(t),n=p(r,Symbol.toStringTag);if(!n){var i=h(r);n=p(i,Symbol.toStringTag)}f[e]=n.get}}}));var d=r(387);e.exports=function(e){return!!d(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return n(f,(function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}})),t}(e):l(a(e),8,-1))}},7363:e=>{"use strict";e.exports=React},2611:e=>{"use strict";e.exports=_},429:()=>{},973:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},8828:(e,t,r)=>{"use strict";var n=r(8750)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},9477:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});const n=document.createElement("i");function i(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},2268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blockquote:()=>o});var n=r(5471),i=r(4671);function o(e,t,r){const o=r.enter("blockquote"),s=(0,i.Q)((0,n.K)(e,r),a);return o(),s}function a(e,t,r){return">"+(r?"":" ")+e}},6156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>s});var n=r(3428),i=r(3339),o=r(8717);var a=r(7567);function s(e,t,r){const s=Math.max(Math.min(6,e.depth||1),1);if(function(e,t){let r=!1;return(0,n.visit)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,i.BK})),Boolean((!e.depth||e.depth<3)&&(0,o.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),i=(0,a.p)(e,r,{before:"\n",after:"\n"});return n(),t(),i+"\n"+(1===s?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const u="#".repeat(s),c=r.enter("headingAtx"),l=r.enter("phrasing");let f=(0,a.p)(e,r,{before:"# ",after:"\n"});return/^[\t ]/.test(f)&&(f="&#x"+f.charCodeAt(0).toString(16).toUpperCase()+";"+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),l(),c(),f}},8627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(1481),i=r(3316);function o(e,t,r){const o=(0,n.l)(r),a='"'===o?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label"),c="!["+(0,i.T)(r,e.alt,{before:"[",after:"]"})+"](";return u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),c+="<"+(0,i.T)(r,e.url,{before:"<",after:">"})+">"):(u=r.enter("destinationRaw"),c+=(0,i.T)(r,e.url,{before:"(",after:e.title?" ":")"})),u(),e.title&&(u=r.enter("title"+a),c+=" "+o+(0,i.T)(r,e.title,{before:o,after:o})+o,u()),c+=")",s(),c}o.peek=function(){return"!"}},2848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{paragraph:()=>i});var n=r(7567);function i(e,t,r){const i=r.enter("paragraph"),o=r.enter("phrasing"),a=(0,n.p)(e,r,{before:"\n",after:"\n"});return o(),i(),a}},1481:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},5471:(e,t,r)=>{"use strict";function n(e,t){const r=t.indexStack,n=e.children||[],i=[];let o=-1;for(r.push(-1);++o<n.length;){const s=n[o];r[r.length-1]=o,i.push(t.handle(s,e,t,{before:"\n",after:"\n"})),"list"!==s.type&&(t.bulletLastUsed=void 0),o<n.length-1&&i.push(a(s,n[o+1]))}return r.pop(),i.join("");function a(r,n){let i=t.join.length;for(;i--;){const o=t.join[i](r,n,e,t);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}r.d(t,{K:()=>n})},7567:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],o=[];let a=-1,s=r.before;for(n.push(-1);++a<i.length;){const u=i[a];let c;if(n[n.length-1]=a,a+1<i.length){let r=t.handle.handlers[i[a+1].type];r&&r.peek&&(r=r.peek),c=r?r(i[a+1],e,t,{before:"",after:""}).charAt(0):""}else c=r.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" "),o.push(t.handle(u,e,t,{before:s,after:c})),s=o[o.length-1].slice(-1)}return n.pop(),o.join("")}r.d(t,{p:()=>n})},4671:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});const n=/\r?\n|\r/g;function i(e,t){const r=[];let i,o=0,a=0;for(;i=n.exec(e);)s(e.slice(o,i.index)),r.push(i[0]),o=i.index+i[0].length,a++;return s(e.slice(o)),r.join("");function s(e){r.push(t(e,a,!e))}}},7866:(e,t,r)=>{"use strict";function n(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}r.d(t,{T:()=>n})},3316:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(7866);function i(e,t){return o(e,t.inConstruct,!0)&&!o(e,t.notInConstruct,!1)}function o(e,t,r){if(!t)return r;"string"==typeof t&&(t=[t]);let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function a(e,t,r){const o=(r.before||"")+(t||"")+(r.after||""),a=[],c=[],l={};let f=-1;for(;++f<e.unsafe.length;){const t=e.unsafe[f];if(!i(e.stack,t))continue;const r=(0,n.T)(t);let s;for(;s=r.exec(o);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=s.index+(e?s[1].length:0);a.includes(n)?(l[n].before&&!e&&(l[n].before=!1),l[n].after&&!r&&(l[n].after=!1)):(a.push(n),l[n]={before:e,after:r})}}a.sort(s);let p=r.before?r.before.length:0;const h=o.length-(r.after?r.after.length:0);for(f=-1;++f<a.length;){const e=a[f];e<p||e>=h||(e+1<h&&a[f+1]===e+1&&l[e].after&&!l[e+1].before&&!l[e+1].after||a[f-1]===e-1&&l[e].before&&!l[e-1].before&&!l[e-1].after||(p!==e&&c.push(u(o.slice(p,e),"\\")),p=e,!/[!-/:-@[-`{-~]/.test(o.charAt(e))||r.encode&&r.encode.includes(o.charAt(e))?(c.push("&#x"+o.charCodeAt(e).toString(16).toUpperCase()+";"),p++):c.push("\\")))}return c.push(u(o.slice(p,h),r.after)),c.join("")}function s(e,t){return e-t}function u(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],i=[],o=e+t;let a,s=-1,u=0;for(;a=r.exec(o);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&i.push(e.slice(u,n[s])),i.push("\\"),u=n[s];return i.push(e.slice(u)),i.join("")}},8717:(e,t,r)=>{"use strict";function n(e,t){var{includeImageAlt:r=!0}=t||{};return i(e,r)}function i(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&o(e.children,t)||Array.isArray(e)&&o(e,t))||""}function o(e,t){for(var r=[],n=-1;++n<e.length;)r[n]=i(e[n],t);return r.join("")}r.d(t,{B:()=>n})},9531:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>i.j,blankLine:()=>o.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>p.k,definition:()=>h.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>g.P,htmlText:()=>y.L,labelEnd:()=>v.Z,labelStartImage:()=>b.C,labelStartLink:()=>E.F,lineEnding:()=>w.g,list:()=>x.p,setextUnderline:()=>S.C,thematicBreak:()=>k.C});var n=r(8415),i=r(7444),o=r(2929),a=r(7207),s=r(1687),u=r(2810),c=r(4897),l=r(2535),f=r(5180),p=r(6814),h=r(4882),d=r(6100),m=r(5528),g=r(5198),y=r(5890),v=r(8966),b=r(5365),E=r(5856),w=r(890),x=r(4618),S=r(6263),k=r(8038)},8415:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(8300),i=r(3886),o=r(3879);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,o=(0,i.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,i.r)(u),f=!l||2===l&&o||r.includes(u),p=!o||2===o&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(o||!p)),c._close=Boolean(42===a?p:p&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,i,a,u,c,l,f,p,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][1]._close)for(r=h;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[r][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[h][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[h][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[h][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[h][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,o.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,h),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",i,t]]),e[h][1].end.offset-e[h][1].start.offset?(p=2,f=(0,n.V)(f,[["enter",e[h][1],t],["exit",e[h][1],t]])):p=0,(0,n.d)(e,r-1,h-r+3,f),h=r+f.length-p-2;break}h=-1;for(;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},7444:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(488);const i={name:"autolink",tokenize:function(e,t,r){let i=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&i++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),i=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),i=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):p(t)}function p(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&i++<63?(e.consume(t),45===t?p:f):r(t)}function h(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},2929:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(4014),i=r(488);const o={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,i.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},7207:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(4014),i=r(488);const o={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return r(t)};function o(r){return(0,i.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(o,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},1687:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(488);const i={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return(0,n.asciiPunctuation)(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}}},2810:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});var n=r(9477),i=r(488);const o={name:"characterReference",tokenize:function(e,t,r){const o=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=i.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=i.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=i.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==i.asciiAlphanumeric||(0,n.T)(o.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},4897:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(4014),i=r(488);const o={name:"codeFenced",tokenize:function(e,t,r){const o=this,a={tokenize:function(e,t,r){let o=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),o++,s):o<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,p(t)};function p(t){return t===l?(e.consume(t),f++,p):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,h,"whitespace")(t))}function h(t){return null===t||(0,i.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,i.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(t))}function g(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(t)):96===t&&t===l?r(t):(e.consume(t),g)}function y(r){return e.exit("codeFencedFence"),o.interrupt?t(r):v(r)}function v(t){return null===t?E(t):(0,i.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,E,c?(0,n.factorySpace)(e,v,"linePrefix",c+1):v),E)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function E(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},2535:(e,t,r)=>{"use strict";r.d(t,{S:()=>o});var n=r(4014),i=r(488);const o={name:"codeIndented",tokenize:function(e,t,r){const o=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=o.events[o.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,i.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const o=this;return a;function a(t){return o.parser.lazy[o.now().line]?r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=o.events[o.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,i.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},5180:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var n=r(488);const i={name:"codeText",tokenize:function(e,t,r){let i,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(o=e.enter("codeTextSequence"),i=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),i++,l):i===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(o.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}t=i-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},6814:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(4014),i=r(488),o=r(2988);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?o(t):(0,i.markdownLineEnding)(t)?e.check(s,a,o)(t):(e.consume(t),n)}function o(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,o._)(e),e}},s={tokenize:function(e,t,r){const o=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,i.markdownLineEnding)(n))return r(n);const a=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(o.parser.constructs.flow,r,t)(n)}},partial:!0}},4882:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(917),i=r(7504),o=r(4014),a=r(1559),s=r(6096),u=r(2493),c=r(488);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),i.factoryLabel.call(a,e,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,o.factorySpace)(e,h,"whitespace"),(0,o.factorySpace)(e,h,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function h(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,o.factorySpace)(e,i,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function i(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},6100:(e,t,r)=>{"use strict";r.d(t,{R:()=>i});var n=r(488);const i={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return(0,n.markdownLineEnding)(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):r(i)}}}},5528:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(4014),i=r(488),o=r(8300);const a={name:"headingAtx",tokenize:function(e,t,r){const o=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,i.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),o.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,i.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,i.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,i=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);i-2>a&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4);i>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},n={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,o.d)(e,a,i-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},5198:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(488);const i=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],o=["pre","script","style","textarea"];var a=r(2929);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,p;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),h};function h(i){return 33===i?(e.consume(i),d):47===i?(e.consume(i),y):63===i?(e.consume(i),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(i)?(e.consume(i),l=String.fromCharCode(i),c=!0,v):r(i)}function d(i){return 45===i?(e.consume(i),s=2,m):91===i?(e.consume(i),s=5,l="CDATA[",f=0,g):(0,n.asciiAlpha)(i)?(e.consume(i),s=4,a.interrupt?t:M):r(i)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function g(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:g):r(n)}function y(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),v):r(t)}function v(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&o.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):i.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?w(u):E(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),v):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function E(t){return(0,n.markdownSpace)(t)?(e.consume(t),E):C(t)}function w(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),x):(0,n.markdownSpace)(t)?(e.consume(t),w):C(t)}function x(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),x):S(t)}function S(t){return 61===t?(e.consume(t),k):(0,n.markdownSpace)(t)?(e.consume(t),S):w(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),p=t,A):(0,n.markdownSpace)(t)?(e.consume(t),k):(p=null,D(t))}function A(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===p?(e.consume(t),F):(e.consume(t),A)}function D(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?S(t):(e.consume(t),D)}function F(e){return 47===e||62===e||(0,n.markdownSpace)(e)?w(e):r(e)}function C(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),I):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),B):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),N):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?T(t):(e.consume(t),O):e.check(u,B,T)(t)}function T(t){return e.exit("htmlFlowData"),j(t)}function j(t){return null===t?z(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},j,z)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function I(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",L):O(t)}function L(t){return 62===t&&o.includes(l.toLowerCase())?(e.consume(t),B):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),L):O(t)}function N(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),B):45===t&&2===s?(e.consume(t),M):O(t)}function B(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),z(t)):(e.consume(t),B)}function z(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},5890:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(4014),i=r(488);const o={name:"htmlText",tokenize:function(e,t,r){const o=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),k):63===t?(e.consume(t),x):(0,i.asciiAlpha)(t)?(e.consume(t),F):r(t)}function f(t){return 45===t?(e.consume(t),p):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,i.asciiAlpha)(t)?(e.consume(t),w):r(t)}function p(t){return 45===t?(e.consume(t),h):r(t)}function h(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),g):(0,i.markdownLineEnding)(t)?(c=m,R(t)):(e.consume(t),m)}function g(t){return 45===t?(e.consume(t),N):m(t)}function y(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?v:y):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):(0,i.markdownLineEnding)(t)?(c=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),E):v(t)}function E(t){return 62===t?N(t):93===t?(e.consume(t),E):v(t)}function w(t){return null===t||62===t?N(t):(0,i.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(t){return null===t?r(t):63===t?(e.consume(t),S):(0,i.markdownLineEnding)(t)?(c=x,R(t)):(e.consume(t),x)}function S(e){return 62===e?N(e):x(e)}function k(t){return(0,i.asciiAlpha)(t)?(e.consume(t),A):r(t)}function A(t){return 45===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),A):D(t)}function D(t){return(0,i.markdownLineEnding)(t)?(c=D,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),D):N(t)}function F(t){return 45===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),F):47===t||62===t||(0,i.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,i.asciiAlpha)(t)?(e.consume(t),P):(0,i.markdownLineEnding)(t)?(c=C,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),C):N(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),T):(0,i.markdownLineEnding)(t)?(c=O,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),O):C(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,j):(0,i.markdownLineEnding)(t)?(c=T,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),T):(e.consume(t),a=void 0,I)}function j(t){return t===a?(e.consume(t),_):null===t?r(t):(0,i.markdownLineEnding)(t)?(c=j,R(t)):(e.consume(t),j)}function _(e){return 62===e||47===e||(0,i.markdownLineEndingOrSpace)(e)?C(e):r(e)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,i.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),I)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function L(t){return e.enter("htmlTextData"),c(t)}function N(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},8966:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(917),i=r(7504),o=r(1559),a=r(6096),s=r(488),u=r(8300),c=r(2493),l=r(3879);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let i,o,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){i=n.events[a][1];break}return function(t){if(!i)return r(t);return i._inactive?u(t):(o=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(p,t,o?t:u)(r):91===r?e.attempt(h,t,o?e.attempt(d,t,u):u)(r):o?t(r):u(r)}function u(e){return i._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,i,o,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(i=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[i][1].end)},p={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",c,t],["enter",f,t]],o=(0,u.V)(o,e.slice(n+1,n+s+3)),o=(0,u.V)(o,[["enter",p,t]]),o=(0,u.V)(o,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,i-3),t)),o=(0,u.V)(o,[["exit",p,t],e[i-2],e[i-1],["exit",f,t]]),o=(0,u.V)(o,e.slice(i+1)),o=(0,u.V)(o,[["exit",c,t]]),(0,u.d)(e,n,e.length,o),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},p={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,i)};function i(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,o.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},h={tokenize:function(e,t,r){const n=this;return function(t){return i.factoryLabel.call(n,e,o,r,"reference","referenceMarker","referenceString")(t)};function o(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},5365:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):r(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},5856:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},890:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var n=r(4014);const i={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},4618:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(4014),i=r(488),o=r(2929),a=r(8038);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const o=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!n.containerState.marker||t===n.containerState.marker:(0,i.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,p)(t):p(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,i.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),p(t)):r(t)}function p(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(o.w,n.interrupt?r:h,e.attempt(u,m,d))}function h(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,i.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(o.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,i.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(i){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return!(0,i.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===i.containerState.size?t(e):r(e)}),"listItemIndent",i.containerState.size+1)},partial:!0}},6263:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(4014),i=r(488);const o={name:"setextUnderline",tokenize:function(e,t,r){const o=this;let a,s,u=o.events.length;for(;u--;)if("lineEnding"!==o.events[u][1].type&&"linePrefix"!==o.events[u][1].type&&"content"!==o.events[u][1].type){s="paragraph"===o.events[u][1].type;break}return function(t){if(!o.parser.lazy[o.now().line]&&(o.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(n=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},8038:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(4014),i=r(488);const o={name:"thematicBreak",tokenize:function(e,t,r){let o,a=0;return function(t){return e.enter("thematicBreak"),o=t,s(t)};function s(c){return c===o?(e.enter("thematicBreakSequence"),u(c)):(0,i.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,i.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===o?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>i});var n=r(488);function i(e,t,r,i,o,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(i),e.enter(o),e.enter(a),e.consume(t),e.exit(a),p;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(i),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function p(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(o),e.exit(i),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(u),p(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:h)}function d(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(o){return 40===o?++f>l?r(o):(e.consume(o),m):41===o?f--?(e.consume(o),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(i),t(o)):null===o||(0,n.markdownLineEndingOrSpace)(o)?f?r(o):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(i),t(o)):(0,n.asciiControl)(o)?r(o):(e.consume(o),92===o?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},7504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>i});var n=r(488);function i(e,t,r,i,o,a){const s=this;let u,c=0;return function(t){return e.enter(i),e.enter(o),e.consume(t),e.exit(o),e.enter(a),l};function l(p){return null===p||91===p||93===p&&!u||94===p&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(p):93===p?(e.exit(a),e.enter(o),e.consume(p),e.exit(o),e.exit(i),t):(0,n.markdownLineEnding)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},4014:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>i});var n=r(488);function i(e,t,r,i){const o=i?i-1:Number.POSITIVE_INFINITY;let a=0;return function(i){if((0,n.markdownSpace)(i))return e.enter(r),s(i);return t(i)};function s(i){return(0,n.markdownSpace)(i)&&a++<o?(e.consume(i),s):(e.exit(r),t(i))}}},1559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>o});var n=r(4014),i=r(488);function o(e,t,r,o,a,s){let u;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(o),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,i.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:f)}function p(t){return t===u||92===t?(e.consume(t),f):f(t)}}},6096:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>o});var n=r(4014),i=r(488);function o(e,t){let r;return function o(a){if((0,i.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,o;if((0,i.markdownSpace)(a))return(0,n.factorySpace)(e,o,r?"linePrefix":"lineSuffix")(a);return t(a)}}},488:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>i,asciiHexDigit:()=>o,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>p,unicodePunctuation:()=>d,unicodeWhitespace:()=>h});const n=m(/[A-Za-z]/),i=m(/\d/),o=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function p(e){return-2===e||-1===e||32===e}const h=m(/\s/),d=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},8300:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),[].splice.apply(e,o);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function i(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{d:()=>n,V:()=>i})},3886:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var n=r(488);function i(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},4666:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(8300);const i={}.hasOwnProperty;function o(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(i.call(e,r)?e[r]:void 0)||(e[r]={}),o=t[r];let a;for(a in o){i.call(n,a)||(n[a]=[]);const e=o[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const i=[];for(;++r<t.length;)("after"===t[r].add?e:i).push(t[r]);(0,n.d)(e,0,0,i)}},8031:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},2116:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(9477),i=r(8031);const o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(o,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,i.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},2493:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},3879:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!n.includes(o)&&(t=o(t,r),n.push(o))}return t}r.d(t,{C:()=>n})},2988:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(8300);function i(e){const t={};let r,i,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,o(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,i=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(r[1].end=Object.assign({},e[i][1].start),u=e.slice(i,f),u.unshift(r),(0,n.d)(e,i,f-i+1,u))}}return!l}function o(e,t){const r=e[t][1],i=e[t][2];let o=t-1;const a=[],s=r._tokenizer||i.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,p,h=-1,d=r,m=0,g=0;const y=[g];for(;d;){for(;e[++o][1]!==d;);a.push(o),d._tokenizer||(f=i.sliceStream(d),d.next||f.push(null),p&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=r;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(g=h+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),h=y.length;h--;){const t=u.slice(y[h],y[h+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(h=-1;++h<c.length;)l[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return l}},7605:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},480:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:3,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},58:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3428);const i=/[\t ]*(?:\r?\n|\r)/g;function o(){return e=>{(0,n.visit)(e,"text",((e,t,r)=>{const n=[];let o=0;i.lastIndex=0;let a=i.exec(e.value);for(;a;){const t=a.index;o!==t&&n.push({type:"text",value:e.value.slice(o,t)}),n.push({type:"break"}),o=t+a[0].length,a=i.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return o<e.value.length&&n.push({type:"text",value:e.value.slice(o)}),r.children.splice(t,1,...n),t+n.length}))}}},4914:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>o});var n=r(3428);const i={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533};function o(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[i.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==i.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==i.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),o)}function o(n){return[i.carriageReturn,i.lineFeed,i.carriageReturnLineFeed,null,i.backslash,i.leftCurlyBrace].includes(n)?r(n):n===i.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),o)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.visit)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.visit)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},5164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>X});var n=r(4014),i=r(488),o=r(6096);function a(e,t,r,a,s,u,c,l,f,p,h,d,m,g,y){let v,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),E};function E(t){return 35===t?(v=c,w(t)):46===t?(v=l,w(t)):58===t||95===t||(0,i.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),k):y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,E)(t):j(t)}function w(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),x}function x(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,i.markdownLineEndingOrSpace)(t)?r(t):(e.enter(v+"Value"),e.consume(t),S)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit(v+"Value"),e.exit(v),e.exit(u),E(t)):(e.consume(t),S)}function k(t){return 45===t||46===t||58===t||95===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),k):(e.exit(f),y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,A)(t):A(t))}function A(t){return 61===t?(e.enter(p),e.consume(t),e.exit(p),D):(e.exit(u),E(t))}function D(t){return null===t||60===t||61===t||62===t||96===t||125===t||y&&(0,i.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(h),e.enter(m),e.consume(t),e.exit(m),b=t,C):y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,D,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,D)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,F)}function F(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit(g),e.exit(d),e.exit(u),E(t)):(e.consume(t),F)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(h),e.exit(u),T):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(t)):null===t?r(t):(0,i.markdownLineEnding)(t)?y?r(t):(0,o.factoryWhitespace)(e,P)(t):(e.enter(g),e.consume(t),O)}function O(t){return t===b||null===t||(0,i.markdownLineEnding)(t)?(e.exit(g),P(t)):(e.consume(t),O)}function T(e){return 125===e||(0,i.markdownLineEndingOrSpace)(e)?E(e):j(e)}function j(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,o,a,s){let u=0,c=0;return function(t){return e.enter(n),e.enter(o),e.consume(t),e.exit(o),l};function l(r){return 93===r?(e.enter(o),e.consume(r),e.exit(o),e.exit(n),t):(e.enter(a),f(r))}function f(t){return null===t||u>999?r(t):93!==t||c--?(0,i.markdownLineEnding)(t)?s?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):(e.enter("chunkText",{contentType:"text"}),p(t)):h(t)}function p(t){return null===t||(0,i.markdownLineEnding)(t)||u>999?(e.exit("chunkText"),f(t)):91===t&&++c>3?r(t):93!==t||c--?(e.consume(t),92===t?d:p):(e.exit("chunkText"),h(t))}function h(r){return e.exit(a),e.enter(o),e.consume(r),e.exit(o),e.exit(n),t}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,p):p(t)}}function u(e,t,r,n){const o=this;return function(t){if((0,i.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,i.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===o.previous||95===o.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const o=this,a=o.events[o.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,h=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),h++,d):h<3?r(t):(e.exit("directiveContainerSequence"),u.call(o,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,g,g)(t):g(t)}function g(t){return 123===t?e.attempt(f,y,y)(t):y(t)}function y(t){return(0,n.factorySpace)(e,v,"whitespace")(t)}function v(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,i.markdownLineEnding)(n)?o.interrupt?t(n):e.attempt(p,E,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function E(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),w(r))}function w(t){return null===t?D(t):e.attempt({tokenize:F,partial:!0},D,s?(0,n.factorySpace)(e,x,"linePrefix",s+1):x)(t)}function x(t){if(null===t)return D(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,S(t)}function S(t){if(null===t){const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,D(t)}return(0,i.markdownLineEnding)(t)?e.check(p,k,A)(t):(e.consume(t),S)}function k(t){e.consume(t);const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,w}function A(t){const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,D(t)}function D(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function F(e,t,r){let o=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),o++,a):o<h?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},p={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const h={tokenize:function(e,t,r){const o=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(o,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const g={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,i,r,"directiveTextName")};function i(t){return 58===t?r(t):91===t?e.attempt(y,o,o)(t):o(t)}function o(t){return 123===t?e.attempt(v,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},y={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},v={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],E={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function x(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function S(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||w(e)}var k=r(9477);const A=String.fromCharCode,D=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function F(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let i,o,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(o=t.position.indent,i=t.position.start):i=t.position);let c,l=(i?i.line:0)||1,f=(i?i.column:0)||1,p=d();for(a--;++a<=e.length;)if(10===c&&(f=(o?o[s]:0)||1),c=e.charCodeAt(a),38===c){const i=e.charCodeAt(a+1);if(9===i||10===i||12===i||32===i||38===i||60===i||Number.isNaN(i)||r&&i===r){u+=A(c),f++;continue}const o=a+1;let s,l=o,y=o;if(35===i){y=++l;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++l):s="decimal"}else s="named";let v="",D="",F="";const P="named"===s?S:"decimal"===s?w:x;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;F+=A(t),"named"===s&&b.includes(F)&&(v=F,D=(0,k.T)(F))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,k.T)(F);e&&(v=F,D=e)}let T=1+y-o,j="";if(O||!1!==t.nonTerminated)if(F)if("named"===s){if(O&&!D)m(5,1);else if(v!==F&&(y=l+v.length,T=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,T),D=""):S(t)?D="":m(r,T)}else m(r,T)}j=D}else{O||m(2,T);let e=Number.parseInt(F,"hexadecimal"===s?16:10);if((h=e)>=55296&&h<=57343||h>1114111)m(7,T),j=A(65533);else if(e in E)m(6,T),j=E[e];else{let t="";C(e)&&m(6,T),e>65535&&(e-=65536,t+=A(e>>>10|55296),e=56320|1023&e),j=t+A(e)}}else"named"!==s&&m(4,T);else;if(j){g(),p=d(),a=y-1,f+=y-o+1,n.push(j);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,j,{start:p,end:r},e.slice(o-1,y)),p=r}else F=e.slice(o-1,y),u+=F,f+=F.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=A(c),f++);var h;return n.join("");function d(){return{line:l,column:f,offset:a+((i?i.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,D[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:p,end:d()}),u="")}}function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var T=r(213);const j=function(e,t,r,n){"function"==typeof t&&"function"!=typeof r&&(n=r,r=t,t=null);const i=(0,T.convert)(t),o=n?-1:1;!function e(a,s,u){const c="object"==typeof a&&null!==a?a:{};let l;"string"==typeof c.type&&(l="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,Object.defineProperty(f,"name",{value:"node ("+c.type+(l?"<"+l+">":"")+")"}));return f;function f(){let c,l,f,p=[];if((!t||i(a,s,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(a,u)),false===p[0]))return p;if(a.children&&"skip"!==p[0])for(l=(n?a.children.length:-1)+o,f=u.concat(a);l>-1&&l<a.children.length;){if(c=e(a.children[l],l,f)(),false===c[0])return c;l="number"==typeof c[1]?c[1]:l+o}return p}}(e,null,[])()};var _=r(5471),I=r(7567),R=r(1481);const L={}.hasOwnProperty,N=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){z.call(this,"containerDirective",e)},directiveContainerAttributes:$,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){z.call(this,"leafDirective",e)},directiveLeafAttributes:$,directiveText:function(e){z.call(this,"textDirective",e)},directiveTextAttributes:$},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:V,directiveContainerAttributeIdValue:q,directiveContainerAttributeName:G,directiveContainerAttributeValue:H,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:V,directiveLeafAttributeIdValue:q,directiveLeafAttributeName:G,directiveLeafAttributeValue:H,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:V,directiveTextAttributeIdValue:q,directiveTextAttributeName:G,directiveTextAttributeValue:H,directiveTextAttributes:W,directiveTextName:U}},B={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function z(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function $(){this.setData("directiveAttributes",[]),this.buffer()}function q(e){this.getData("directiveAttributes").push(["id",F(this.sliceSerialize(e))])}function V(e){this.getData("directiveAttributes").push(["class",F(this.sliceSerialize(e))])}function H(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=F(this.sliceSerialize(e))}function G(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function W(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Q(e){this.exit(e)}function K(e,t,r){const n=function(e){let t=0;"containerDirective"===e.type?(j(e,"containerDirective",r),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t);function r(e,r){let n=r.length,i=0;for(;n--;)"containerDirective"===r[n].type&&i++;i>t&&(t=i)}}(e),i=r.enter(e.type);let o=n+(e.name||"")+function(e,t){let r=e;if("containerDirective"===e.type){const t=(e.children||[])[0];if(!Y(t))return"";r=t}const n=t.enter("label"),i=t.enter(e.type+"Label"),o=(0,I.p)(r,t,{before:"[",after:"]"});return i(),n(),o?"["+o+"]":""}(e,r)+function(e,t){const r=(0,R.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],i=e.attributes||{},o=[];let a,s,u,c;for(c in i)if(L.call(i,c)&&void 0!==i[c]&&null!==i[c]){const e=String(i[c]);if("id"===c)u=N.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let i=-1;for(;++i<t.length;)(N.test(t[i])?n:r).push(t[i]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else o.push(l(c,e))}a&&o.unshift(a);s&&o.unshift(s);u&&o.unshift(u);return o.length>0?"{"+o.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r);if("containerDirective"===e.type){const t=function(e,t){Y((e.children||[])[0])&&(e=Object.assign({},e,{children:e.children.slice(1)}));return(0,_.K)(e,t)}(e,r);t&&(o+="\n"+t),o+="\n"+n}return i(),o}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function X(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,h]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",B)}},9715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(488),i=r(8326);const o=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?i(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw o("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw o("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw o("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw o("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,i=t+"Value",o=t+"Fence",a=o+"Sequence",s={tokenize:function(e,t,r){let i=0;return function(t){if(t===u.charCodeAt(i))return e.enter(o),e.enter(a),s(t);return r(t)};function s(t){return i===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(i++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(i){return null===i||(0,n.markdownLineEnding)(i)?(e.exit(o),t(i)):r(i)}},partial:!0};let u;return{tokenize:function(o,a,c){const l=this;return function(n){const i=l.now();if(1!==i.column||!r&&1!==i.line)return c(n);return o.enter(t),u=p(e,"open"),o.attempt(s,f,c)(n)};function f(t){return u=p(e,"close"),m(t)}function h(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(o.enter(i),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(o.exit(i),m(e)):(o.consume(e),d)}function m(e){return null===e?c(e):(o.enter("lineEnding"),o.consume(e),o.exit("lineEnding"),o.attempt(s,g,h))}function g(e){return o.exit(t),a(e)}},concrete:!0}}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function g(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function y(e){const t=v(e,"open"),r=v(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function v(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function E(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n,i,o=-1;for(;++o<t.length;)n=t[o],i=p(n,"open").charCodeAt(0),i in r?r[i].push(f(n)):r[i]=[f(n)];return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let i=-1;for(;++i<t.length;){const e=t[i];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=g}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let i=-1;for(;++i<n.length;){const e=n[i];r[e.type]=y(e),t.push({atBreak:!0,character:v(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},3314:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Te});var n=r(4666),i=r(488);const o={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),o):r(t)}function o(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,i.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,o;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,i.asciiControl)(t)||(0,i.unicodeWhitespace)(t)||45!==t&&(0,i.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(o=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return o||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,i)(a):(40===a&&r++,41===a?e.check(u,o,i)(a):y(a)?t(a):g(a)?e.check(u,t,i)(a):(e.consume(a),n))}function i(t){return e.consume(t),n}function o(e){return r--,r<0?t(e):i(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(i){return g(i)?(e.consume(i),n):y(i)?t(i):r(i)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,i.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),o):r(t)}function o(e){return y(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(o,e.attempt(a,e.attempt(s,i),r),r)(t)};function i(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!E(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),o};function o(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,i.asciiControl)(t)||(0,i.unicodeWhitespace)(t)||(0,i.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:E},p={tokenize:function(e,t,r){const n=this;let o,a;return function(t){if(!v(t)||!w(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return v(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,h,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,i.asciiAlphanumeric)(t)?(!a&&(0,i.asciiDigit)(t)&&(a=!0),e.consume(t),c):h(t)}function l(t){return e.consume(t),o=!0,a=void 0,c}function f(t){return e.consume(t),p}function p(t){return 46===t?e.check(u,r,l)(t):c(t)}function h(n){return o&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:w},h={},d={text:h};let m=48;for(;m<123;)h[m]=p,m++,58===m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function y(e){return null===e||60===e||(0,i.markdownLineEndingOrSpace)(e)}function v(e){return 43===e||45===e||46===e||95===e||(0,i.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,i.markdownLineEndingOrSpace)(e)}function E(e){return null===e||!(0,i.asciiAlpha)(e)}function w(e){return 47!==e&&E(e)}function x(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}h[43]=p,h[45]=p,h[46]=p,h[95]=p,h[72]=[p,f],h[104]=[p,f],h[87]=[p,l],h[119]=[p,l];var S=r(2929),k=r(4014),A=r(2493);const D={tokenize:function(e,t,r){const n=this;return(0,k.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function F(e,t,r){const n=this;let i=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;i--;){const e=n.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return r(i);const s=(0,A.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!o.includes(s.slice(1)))return r(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function C(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),o.includes((0,A.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,i.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let o;return null===t||91===t||u>999?r(t):93===t?s?(o=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,A.normalizeIdentifier)(n.sliceSerialize(o)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,i.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,i.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,k.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return o.includes(a)||o.push(a),t(e)}}function T(e,t,r){return e.check(S.w,t,e.attempt(D,t,r))}function j(e){e.exit("gfmFootnoteDefinition")}var _=r(8300),I=r(3886),R=r(3879);function L(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const u=(0,I.r)(i);if(126===o)return a>1?n(o):(e.consume(o),a++,s);if(a<2&&!t)return n(o);const c=e.exit("strikethroughSequenceTemporary"),l=(0,I.r)(o);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(o)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},o={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",o,t]];(0,_.d)(a,a.length,0,(0,R.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",i,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const N={flow:{null:{tokenize:function(e,t,r){const n=this,o=[];let a,s,u=0;return function(t){if(e.enter("table")._align=o,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),p(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,i.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const i=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=i,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=i,r(e)}))(t)}(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),p(t)))}function f(t){return(0,i.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function p(t){return null===t||124===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?h:p)}function h(t){return 92===t||124===t?(e.consume(t),p):p(t)}function d(t){return null===t||(0,i.markdownLineEnding)(t)?b(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,o.push(null),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,i.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o[o.length-1]="left"===o[o.length-1]?"center":"right",v):d(t))}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,g):r(t)}function v(t){return null===t||(0,i.markdownLineEnding)(t)?b(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===o.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,k.factorySpace)(e,w,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function w(t){return e.enter("tableBody"),x(t)}function x(t){return e.enter("tableRow"),124===t?S(t):(e.enter("temporaryTableCellContent"),F(t))}function S(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),A}function A(t){return null===t||(0,i.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,k.factorySpace)(e,x,"linePrefix",4),P))(t)}(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),D):124===t?S(t):(e.enter("temporaryTableCellContent"),F(t))}function D(t){return(0,i.markdownSpace)(t)?(e.consume(t),D):(e.exit("whitespace"),A(t))}function F(t){return null===t||124===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),A(t)):(e.consume(t),92===t?C:F)}function C(t){return 92===t||124===t?(e.consume(t),F):F(t)}function P(t){return e.exit("tableBody"),E(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,k.factorySpace)(e,o,"linePrefix")};function o(o){if(n.parser.lazy[n.now().line]||null===o||(0,i.markdownLineEnding)(o))return r(o);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(o):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(o))}}},resolve:function(e,t){let r,n,i,o,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(i&&("temporaryTableCellContent"===l.type&&(o=o||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[o][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(o,a-o+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-o-3,o=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const i={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",i,t]),e.splice(s,0,["enter",i,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(i="enter"===e[c][0],i&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),o};function o(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:o):null===a||(0,i.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const B={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return(0,i.markdownSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:U},t,r)):r(n)}}},z={text:{91:B}};function U(e,t,r){const n=this;return(0,k.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"whitespace"===o[1].type&&null!==e&&!(0,i.markdownLineEndingOrSpace)(e)?t(e):r(e)}),"whitespace")}function $(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;-1!==i;)n++,i=r.indexOf(t,i+t.length);return n}var q=r(7918),V=r(213);const H={}.hasOwnProperty,G=function(e,t,r,n){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,r]],i=n):(o=t,i=r),i||(i={});const a=(0,V.convert)(i.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([W(e[r][0]),Q(e[r][1])])}else{let r;for(r in e)H.call(e,r)&&t.push([W(r),Q(e[r])])}return t}(o);let u=-1;for(;++u<s.length;)(0,q.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=s[u][0],n=s[u][1];let i,o=0,a=t.children.indexOf(e),c=[];r.lastIndex=0;let l=r.exec(e.value);for(;l;){i=l.index;let t=n(...l,{index:l.index,input:l.input});if("string"==typeof t&&(t=t.length>0?{type:"text",value:t}:void 0),!1!==t&&(o!==i&&c.push({type:"text",value:e.value.slice(o,i)}),Array.isArray(t)?c.push(...t):t&&c.push(t),o=i+l[0].length),!r.global)break;l=r.exec(e.value)}void 0===i?(c=[e],a--):(o<e.value.length&&c.push({type:"text",value:e.value.slice(o)}),t.children.splice(a,1,...c));return a+c.length+1}(e,r)}};function W(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Q(e){return"function"==typeof e?e:()=>e}const K="phrasing",Y=["autolink","link","image","label"],X={transforms:[function(e){G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:J,literalAutolinkHttp:J,literalAutolinkWww:J},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Z={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Y}]};function J(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,i){let o="";if(!re(i))return!1;if(/^w/i.test(t)&&(r=t+r,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let r,n,i,o;if(t)for(e=e.slice(0,t.index),o=t[0],r=o.indexOf(")"),n=$(e,"("),i=$(e,")");-1!==r&&n>i;)e+=o.slice(0,r+1),o=o.slice(r+1),r=o.indexOf(")"),i++;return[e,o]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[_-\d]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.unicodeWhitespace)(r)||(0,i.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(2116);function ie(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var oe=r(5471),ae=r(4671),se=r(3316),ue=r(3428),ce=r(3339);let le=!1,fe=!1;function pe(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,r){const n=r.enter("footnoteDefinition"),i=r.enter("label"),o=(0,se.T)(r,ie(e),{before:"^",after:"]"}),a="[^"+o+"]:";i();const s=(0,ae.Q)((0,oe.K)(e,r),(function(e,t,r){if(t)return(r?"":" ")+e;return(r?a:a+" ")+e}));n(),!le&&o.includes(":")&&(console.warn("[mdast-util-gfm-footnote] Warning: Found a colon in footnote identifier `"+o+"`. GitHub currently crahes on colons in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),le=!0);fe||(0,ue.visit)(e,"list",(()=>(console.warn("[mdast-util-gfm-footnote] Warning: Found a list in a footnote definition. GitHub currently crahes on lists in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),fe=!0,ce.BK)));return s},footnoteReference:e}};function e(e,t,r){const n=r.enter("footnoteReference"),i=r.enter("reference"),o=(0,se.T)(r,ie(e),{before:"^",after:"]"});return i(),n(),"[^"+o+"]"}}var he=r(7567);const de={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},me={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:ge}};function ge(e,t,r){const n=r.enter("emphasis"),i=(0,he.p)(e,r,{before:"~",after:"~"});return n(),"~~"+i+"~~"}ge.peek=function(){return"~"};var ye=r(7866);function ve(e,t,r){let n=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<r.unsafe.length;){const e=r.unsafe[o],t=(0,ye.T)(e);let i;if(e.atBreak)for(;i=t.exec(n);){let e=i.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(i.index+1)}}return i+n+i}function be(e){return null==e?"":String(e)}function Ee(e){return e.length}function we(e){const t="string"==typeof e?e.charCodeAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}ve.peek=function(){return"`"};const xe={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t,children:[]},e),this.setData("inTable",!0)},tableData:ke,tableHeader:ke,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ae));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Se,tableHeader:Se,tableRow:Se}};function Se(e){this.exit(e)}function ke(e){this.enter({type:"tableCell",children:[]},e)}function Ae(e,t){return"|"===t?t:e}function De(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r){return s(function(e,t){const r=e.children;let n=-1;const i=[],o=t.enter("table");for(;++n<r.length;)i[n]=u(r[n],t);return o(),i}(e,r),e.align)},tableRow:function(e,t,r){const n=s([u(e,r)]);return n.slice(0,n.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=ve(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r){const n=r.enter("tableCell"),i=r.enter("phrasing"),a=(0,he.p)(e,r,{before:o,after:o});return i(),n(),a}function s(e,t){return function(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||Ee,o=[];let a=-1;const s=[],u=[],c=[];let l,f,p,h,d,m,g,y,v,b=0;for(;++a<e.length;){for(l=-1,f=[],p=[],e[a].length>b&&(b=e[a].length);++l<e[a].length;)d=be(e[a][l]),!1!==r.alignDelimiters&&(h=i(d),p[l]=h,(void 0===c[l]||h>c[l])&&(c[l]=h)),f.push(d);s[a]=f,u[a]=p}if(l=-1,"object"==typeof n&&"length"in n)for(;++l<b;)o[l]=we(n[l]);else for(v=we(n);++l<b;)o[l]=v;for(l=-1,f=[],p=[];++l<b;)v=o[l],g="",y="",99===v?(g=":",y=":"):108===v?g=":":114===v&&(y=":"),h=!1===r.alignDelimiters?1:Math.max(1,c[l]-g.length-y.length),d=g+"-".repeat(h)+y,!1!==r.alignDelimiters&&(h=g.length+h+y.length,h>c[l]&&(c[l]=h),p[l]=h),f[l]=d;s.splice(1,0,f),u.splice(1,0,p),a=-1;const E=[];for(;++a<s.length;){for(f=s[a],p=u[a],l=-1,m=[];++l<b;)d=f[l]||"",g="",y="",!1!==r.alignDelimiters&&(h=c[l]-(p[l]||0),v=o[l],114===v?g=" ".repeat(h):99===v?h%2?(g=" ".repeat(h/2+.5),y=" ".repeat(h/2-.5)):(g=" ".repeat(h/2),y=g):y=" ".repeat(h)),!1===r.delimiterStart||l||m.push("|"),!1===r.padding||!1===r.alignDelimiters&&""===d||!1===r.delimiterStart&&!l||m.push(" "),!1!==r.alignDelimiters&&m.push(g),m.push(d),!1!==r.alignDelimiters&&m.push(y),!1!==r.padding&&m.push(" "),!1===r.delimiterEnd&&l===b-1||m.push("|");E.push(!1===r.delimiterEnd?m.join("").replace(/ +$/,""):m.join(""))}return E.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:i})}function u(e,t){const r=e.children;let n=-1;const i=[],o=t.enter("tableRow");for(;++n<r.length;)i[n]=a(r[n],0,t);return o(),i}}function Fe(e,t,r){const n=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=r.enter("listItem"),s=(0,ae.Q)((0,oe.K)(e,r),(function(e,t,r){if(t)return(r?"":" ".repeat(o))+e;return(r?i:i+" ".repeat(o-i.length))+e}));return a(),s}const Ce={exit:{taskListCheckValueChecked:Oe,taskListCheckValueUnchecked:Oe,paragraph:function(e){const t=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],n=t.children,i=r.children[0];let o,a=-1;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&i&&"text"===i.type){for(;++a<n.length;){const e=n[a];if("paragraph"===e.type){o=e;break}}o===r&&(i.value=i.value.slice(1),0===i.value.length?r.children.shift():(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}this.exit(e)}}},Pe={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r){const n=e.children[0];let i=Fe(e,t,r);"boolean"==typeof e.checked&&n&&"paragraph"===n.type&&(i=i.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(t){return t+"["+(e.checked?"x":" ")+"] "})));return i}}};function Oe(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Te(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:T},exit:j}},text:{91:{tokenize:P},93:{add:"after",tokenize:F,resolveTo:C}}},L(e),N,z])}(e)),r("fromMarkdownExtensions",[X,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,A.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,A.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}}},de,xe,Ce]),r("toMarkdownExtensions",function(e){return{extensions:[Z,pe(),me,De(e),Pe]}}(e))}},7265:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>le});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>V,disable:()=>X,document:()=>q,flow:()=>G,flowInitial:()=>H,insideSpan:()=>K,string:()=>W,text:()=>Q});var i=r(8717),o=r(4666),a=r(4014),s=r(488);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),i)}}};var c=r(8300);const l={tokenize:function(e){const t=this,r=[];let n,i,o,a=0;return u;function u(n){if(a<r.length){const i=r[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,p)(n)}return p(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&w();const r=t.events.length;let i,o=r;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}E(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return(0,c.d)(t.events,o+1,0,t.events.slice(r)),t.events.length=s,p(e)}return u(e)}function p(i){if(a===r.length){if(!n)return m(i);if(n.currentConstruct&&n.currentConstruct.concrete)return y(i);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,h,d)(i)}function h(e){return n&&w(),E(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,o=t.now().offset,y(e)}function m(r){return t.containerState={},e.attempt(f,g,y)(r)}function g(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function y(r){return null===r?(n&&w(),E(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:n}),v(r))}function v(r){return null===r?(b(e.exit("chunkFlow"),!0),E(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),v)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=i,i&&(i.next=e),i=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<o&&(!n.events[e][1].end||n.events[e][1].end.offset>o))return;const r=t.events.length;let i,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(i){s=t.events[u][1].end;break}i=!0}for(E(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function E(n){let i=r.length;for(;i-- >n;){const n=r[i];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function w(){n.write([null]),i=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var p=r(2929),h=r(6814);const d={tokenize:function(e){const t=this,r=e.attempt(p.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(h.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},g=v("string"),y=v("text");function v(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],i=t.attempt(n,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?E:void 0)}}function b(e){return function(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function E(e,t){let r=-1;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],i=t.sliceStream(n);let o,a=i.length,s=-1,u=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)o=!0,u++;else if(-1!==e){a++;break}}if(u){const i={type:r===e.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},i.start),n.start.offset===n.end.offset?Object.assign(n,i):(e.splice(r,0,["enter",i,t],["exit",i,t]),r+=2)}r++}return e}var w=r(3879);function x(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,S()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));p.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=g(),p.events.push(["enter",r,p]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),p.events.push(["exit",t,p]),t},attempt:E((function(e,t){x(e,t.from)})),check:E(b),interrupt:E(b,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const o=e[r];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,n.push(a)}return n.join("")}(m(e),t)},now:g,defineSkip:function(e){i[e.line]=e.column,S()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return x(t,0),p.events=(0,w.C)(o,p.events,p),p.events}};let h,d=t.tokenize.call(p,f);return t.resolveAll&&o.push(t),p;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;r===i?a=[e[r].slice(n,o)]:(a=e.slice(r,i),n>-1&&(a[0]=a[0].slice(n)),o>0&&a.push(e[i].slice(0,o)));return a}(a,e)}function g(){return Object.assign({},n)}function y(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)v(t.charCodeAt(n._bufferIndex));else v(t)}}function v(e){l=void 0,h=e,d=d(e)}function b(e,t){t.restore()}function E(e,t){return function(r,i,o){let a,s,c,h;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?o:m(e[s])}function m(e){return function(r){h=function(){const e=g(),t=p.previous,r=p.currentConstruct,i=p.events.length,o=Array.from(u);return{restore:a,from:i};function a(){n=e,p.previous=t,p.currentConstruct=r,p.events.length=i,u=o,S()}}(),c=e,e.partial||(p.currentConstruct=e);if(e.name&&p.parser.constructs.disable.null.includes(e.name))return v(r);return e.tokenize.call(t?Object.assign(Object.create(p),t):p,f,y,v)(r)}}function y(t){return l=!0,e(c,h),i}function v(e){return l=!0,h.restore(),++s<a.length?m(a[s]):o}}}function x(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,c.d)(p.events,t,p.events.length-t,e.resolve(p.events.slice(t),p)),e.resolveTo&&(p.events=e.resolveTo(p.events,p))}function S(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}var S=r(4618),k=r(7207),A=r(4882),D=r(2535),F=r(5528),C=r(8038),P=r(6263),O=r(5198),T=r(4897),j=r(2810),_=r(1687),I=r(890),R=r(5365),L=r(8415),N=r(7444),M=r(5890),B=r(5856),z=r(6100),U=r(8966),$=r(5180);const q={42:S.p,43:S.p,45:S.p,48:S.p,49:S.p,50:S.p,51:S.p,52:S.p,53:S.p,54:S.p,55:S.p,56:S.p,57:S.p,62:k.m},V={91:A.D},H={[-2]:D.S,[-1]:D.S,32:D.S},G={35:F.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:T._,126:T._},W={38:j.u,92:_.L},Q={[-5]:I.g,[-4]:I.g,[-3]:I.g,33:R.C,38:j.u,42:L.v,60:[N.j,M.L],91:B.F,92:[z.R,_.L],93:U.Z,95:L.v,96:$.h},K={null:[L.v,m]},Y={null:[42,95]},X={null:[]};const Z=/[\0\t\n\r]/g;var J=r(2988);var ee=r(8031),te=r(2116),re=r(2493),ne=r(9477),ie=r(1513);const oe={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e={}){const t=se({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(pe),autolinkProtocol:P,autolinkEmail:P,atxHeading:c(ae),blockQuote:c(K),characterEscape:P,characterReference:P,codeFenced:c(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:c(Y,l),codeText:c(X,l),codeTextData:P,data:P,codeFlowValue:P,definition:c(Z),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:c(J),hardBreakEscape:c(ue),hardBreakTrailing:c(ue),htmlFlow:c(le,l),htmlFlowData:P,htmlText:c(le,l),htmlTextData:P,image:c(fe),label:l,link:c(pe),listItem:c(de),listItemValue:g,listOrdered:c(he,m),listUnordered:c(he),paragraph:c(me),reference:q,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:c(ae),strong:c(ge),thematicBreak:c(ve)},exit:{atxHeading:p(),atxHeadingSequence:A,autolink:p(),autolinkEmail:Q,autolinkProtocol:W,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:H,characterReferenceMarkerNumeric:H,characterReferenceValue:G,codeFenced:p(E),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:v,codeFlowValue:O,codeIndented:p(w),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:k,definitionLabelString:x,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(j),hardBreakTrailing:p(j),htmlFlow:p(_),htmlFlowData:O,htmlText:p(I),htmlTextData:O,image:p(N),label:B,labelText:M,lineEnding:T,link:p(L),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:V,resourceDestinationString:z,resourceTitleString:U,resource:$,setextHeading:p(C),setextHeadingLineSequence:F,setextHeadingText:D,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),r={};return n;function n(e){let r={type:"root",children:[]};const n=[],i=[],c={stack:[r],tokenStack:n,config:t,enter:f,exit:h,buffer:l,resume:d,setData:a,getData:s};let p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])i.push(p);else{p=o(e,i.pop(),p)}for(p=-1;++p<e.length;){const r=t[e[p][0]];oe.call(r,e[p][1].type)&&r[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},c),e[p][1])}if(n.length>0){const e=n[n.length-1];(e[1]||ce).call(c,void 0,e[0])}for(r.position={start:u(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:u(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r}function o(e,t,r){let n,i,o,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,o=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e){return{line:e.line,column:e.column,offset:e.offset}}function c(e,t){return r;function r(r){f.call(this,e(r),r),t&&t.call(this,r)}}function l(){this.stack.push({type:"fragment",children:[]})}function f(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:u(t.start)},e}function p(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,ie.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||ce).call(this,e,n[0])}return r.position.end=u(e.end),r}function d(){return(0,i.B)(this.stack.pop())}function m(){a("expectingFirstListItemValue",!0)}function g(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function y(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function v(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function b(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function S(){const e=this.resume();this.stack[this.stack.length-1].title=e}function k(){const e=this.resume();this.stack[this.stack.length-1].url=e}function A(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function D(){a("setextHeadingSlurpLineEnding",!0)}function F(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function C(){a("setextHeadingSlurpLineEnding")}function P(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ye(),r.position={start:u(e.start)},t.children.push(r)),this.stack.push(r)}function O(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=u(e.end)}function T(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=u(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(P.call(this,e),O.call(this,e))}function j(){a("atHardBreak",!0)}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function I(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function N(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function M(e){const t=this.stack[this.stack.length-2],r=this.sliceSerialize(e);t.label=(0,te.v)(r),t.identifier=(0,re.normalizeIdentifier)(r).toLowerCase()}function B(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];a("inReference",!0),"link"===r.type?r.children=e.children:r.alt=t}function z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function U(){const e=this.resume();this.stack[this.stack.length-1].title=e}function $(){a("inReference")}function q(){a("referenceType","collapsed")}function V(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function H(e){a("characterReferenceType",e.type)}function G(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;r?(n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType")):n=(0,ne.T)(t);const i=this.stack.pop();i.value+=n,i.position.end=u(e.end)}function W(e){O.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Q(e){O.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function K(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function X(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function ae(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function le(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function he(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,J._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,o.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(g),text:r(y)};return t;function r(e){return function(r){return x(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(i,o,a){const s=[];let u,c,l,f,p;for(i=r+i.toString(o),l=0,r="",n&&(65279===i.charCodeAt(0)&&l++,n=void 0);l<i.length;){if(Z.lastIndex=l,u=Z.exec(i),f=u&&void 0!==u.index?u.index:i.length,p=i.charCodeAt(f),!u){r=i.slice(l);break}if(10===p&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(i.slice(l,f)),t+=f-l),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?se(e,n):ue(e,n)}return e}function ue(e,t){let r;for(r in t)if(oe.call(t,r)){const n="canContainEols"===r||"transforms"===r,i=(oe.call(e,r)?e[r]:void 0)||(e[r]=n?[]:{}),o=t[r];o&&(n?e[r]=[...i,...o]:Object.assign(i,o))}}function ce(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,ie.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ie.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,ie.y)({start:t.start,end:t.end})+") is still open")}const le=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},3085:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var i=r(8809),o=r(229);function a(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function i(o,...a){const s=e[++r];let u=-1;if(o)n(o);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(i);try{a=e(...t)}catch(e){const t=e;if(n&&r)throw t;return i(t)}n||(a instanceof Promise?a.then(o,i):a instanceof Error?i(a):o(a))}function i(e,...n){r||(r=!0,t(e,...n))}function o(e){i(null,e)}}(s,i)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(1513);class c extends Error{constructor(e,t,r){var n,i=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(r=t,t=null),"string"==typeof r&&(-1===(n=r.indexOf(":"))?i[1]=r:(i[0]=r.slice(0,n),i[1]=r.slice(n+1))),t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="object"==typeof e?e.stack:"",this.reason=this.message,this.line=o.start.line,this.column=o.start.column,this.source=i[0],this.ruleId=i[1],this.position=o,this.file,this.fatal,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else i<0&&(r=!0,i=o+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else a<0&&(r=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));n===i?i=a:i<0&&(i=e.length);return e.slice(n,i)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,i=0,o=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?o<0?o=r:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=r+1;break}}if(o<0||n<0||0===a||1===a&&o===n-1&&o===i+1)return"";return e.slice(o,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,i="",o=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(n=i.lastIndexOf("/"),n!==i.length-1){n<0?(i="",o=0):(i=i.slice(0,n),o=i.length-1-i.lastIndexOf("/")),a=u,s=0;continue}}else if(i.length>0){i="",o=0,a=u,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return i}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t;t=e?"string"==typeof e||i(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=d(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){v(e,"basename"),y(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(y(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),y(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function y(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function v(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const E=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(A("data",u),c[e]=t,f):w.call(c,e)&&c[e]||null;if(e)return A("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[1]=void 0);const i=e.call(f,...n);"function"==typeof i&&t.use(i)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(A("use",u),null==e);else if("function"==typeof e)p(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function i(e){if("function"==typeof e)p(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;p(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){i(e[t])}}}function p(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(a(n[1])&&a(t)&&(t=o(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=C(e),r=f.Parser;if(S("parse",r),x(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(k("stringify",n),D(e),x(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){D(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(i);function i(i,o){function a(t,r,a){r=r||e,t?o(t):i?i(r):n(null,r,a)}t.run(e,C(r),a)}i(null,n)},f.runSync=function(e,t){let r,i;return f.run(e,t,o),F("runSync","run",i),r;function o(e,t){n(e),r=t,i=!0}},f.process=function(e,t){if(f.freeze(),S("process",f.Parser),k("process",f.Compiler),!t)return new Promise(r);function r(r,n){const o=C(e);function a(e,i){e||!i?n(e):r?r(i):t(null,i)}f.run(f.parse(o),o,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||i(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),S("processSync",f.Parser),k("processSync",f.Compiler);const r=C(e);return f.process(r,i),F("processSync","process",t),r;function i(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(o(!0,{},c)),t}}().freeze(),w={}.hasOwnProperty;function x(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(w.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function S(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function k(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function A(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function D(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function F(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{is:()=>n,convert:()=>i});const n=function e(t,r,n,o,a){const s=i(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==o||e(o)&&o.children))throw new Error("Expected parent node");if(null==o!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,o))},i=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return o(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=i(e[r]);return o(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return o(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return o(e);throw new Error("Expected function, string, or object as test")};function o(e){return function(...t){return Boolean(e.call(this,...t))}}function a(){return!0}},4249:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>I,select:()=>R,selectAll:()=>L});var n={}.hasOwnProperty;function i(e,t){var r=t||{};function i(t){var r=i.invalid,o=i.handlers;if(t&&n.call(t,e)&&(r=n.call(o,t[e])?o[t[e]]:i.unknown),r)return r.apply(this,arguments)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}function o(e){return Array.isArray(e.children)}const a={}.hasOwnProperty,s=i("nestingOperator",{unknown:function(e){throw new Error("Unexpected nesting `"+e.nestingOperator+"`")},invalid:function(e,t,r,n,i){if(n)throw new Error("topScan is supposed to be called from the root node");if(!i.iterator)throw new Error("Expected `iterator` to be defined");if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");i.iterator(e,t,r,n,i),i.shallow||u(e,t,r,n,i)},handlers:{null:u,">":c,"+":function(e,t,r,n,i){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,i).prefillTypeIndex(0,++r).each(r,++r).prefillTypeIndex(r).done()},"~":function(e,t,r,n,i){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,i).prefillTypeIndex(0,++r).each(r).done()}}});function u(e,t,r,n,i){if(!i.iterator)throw new Error("Expected `iterator` to be defined");const o=i.iterator;i.iterator=function e(t,r,n,i,a){if(a.iterator=o,o(t,r,n,i,a),a.iterator=e,a.one&&a.found)return;c(t,r,n,i,a)},c(e,t,r,n,i)}function c(e,t,r,n,i){o(t)&&0!==t.children.length&&new l(e,t,i).each().done()}class l{constructor(e,t,r){this.query=e,this.parent=t,this.state=r,this.typeIndex=r.index?new f:void 0,this.delayed=[]}prefillTypeIndex(e,t){let[r,n]=this.defaults(e,t);if(this.typeIndex)for(;r<n;)this.typeIndex.index(this.parent.children[r]),r++;return this}each(e,t){const[r,n]=this.defaults(e,t),i=this.parent.children[r];let o,a;if(r>=n)return this;if(this.typeIndex)a=this.typeIndex.nodes,o=this.typeIndex.index(i),this.delayed.push((function(){if(!this.typeIndex)throw new TypeError("Expected `typeIndex` to be defined");if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.typeIndex=o,this.state.nodeIndex=a,this.state.typeCount=this.typeIndex.count(i),this.state.nodeCount=this.typeIndex.nodes,this.state.iterator(this.query,i,r,this.parent,this.state)}));else{if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.iterator(this.query,i,r,this.parent,this.state)}return this.state.one&&this.state.found?this:this.each(r+1,n)}done(){let e=-1;for(;++e<this.delayed.length&&(this.delayed[e].call(this),!this.state.one||!this.state.found););return this}defaults(e,t){return(null==e||e<0)&&(e=0),(null==t||t>this.parent.children.length)&&(t=this.parent.children.length),[e,t]}}class f{constructor(){this.counts={},this.nodes=0}index(e){const t=e.type;return this.nodes++,a.call(this.counts,t)||(this.counts[t]=0),this.counts[t]++}count(e){return this.counts[e.type]}}const p=(0,r(213).convert)(),h=i("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:m,blank:g,empty:g,"first-child":function(e,t,r,n,i){return y(i,e),0===i.nodeIndex},"first-of-type":function(e,t,r,n,i){return y(i,e),0===i.typeIndex},has:function(e,t,r,n,i){const o=i.shallow,a=i.one,s=i.scopeNodes,u=function(e){const t="ruleSet"===e.type?{type:"selectors",selectors:[e]}:e;let r,n=-1;for(;++n<t.selectors.length;)r=t.selectors[n].rule,r.nestingOperator=null,r.pseudos&&1===r.pseudos.length&&"scope"===r.pseudos[0].name||(t.selectors[n]={type:"ruleSet",rule:{type:"rule",rule:r,pseudos:[{name:"scope"}]}});return t}(e.value),c=i.any;i.shallow=!1,i.one=!0,i.scopeNodes=[t];const l=Boolean(c(u,t,i)[0]);return i.shallow=o,i.one=a,i.scopeNodes=s,l},"last-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeCount&&i.nodeIndex===i.nodeCount-1},"last-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:m,not:function(e,t,r,n,i){return!m(e,t,r,n,i)},"nth-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeIndex&&e.value(i.nodeIndex)},"nth-last-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeCount&&"number"==typeof i.nodeIndex&&e.value(i.nodeCount-i.nodeIndex-1)},"nth-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeIndex&&e.value(i.typeIndex)},"nth-last-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeIndex&&"number"==typeof i.typeCount&&e.value(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,r,n,i){return y(i,e),1===i.nodeCount},"only-of-type":function(e,t,r,n,i){return y(i,e),1===i.typeCount},root:function(e,t,r,n){return p(t)&&!n},scope:function(e,t,r,n,i){return p(t)&&void 0!==i.scopeNodes&&i.scopeNodes.includes(t)}}});function d(e,t,r,n,i){const o=e.pseudos;let a=-1;for(;++a<o.length;)if(!h(o[a],t,r,n,i))return!1;return!0}function m(e,t,r,n,i){const o=i.shallow,a=i.one;i.one=!0,i.shallow=!0;const s=i.any(e.value,t,i)[0]===t;return i.shallow=o,i.one=a,s}function g(e,t){return o(t)?0===t.children.length:!("value"in t)}function y(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}d.needsIndex=["first-child","first-of-type","last-child","last-of-type","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const v=i("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:b,handlers:{"=":function(e,t){return b(e,t)&&String(t[e.name])===e.value},"^=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(0,e.value.length)===e.value},"$=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(-e.value.length)===e.value},"*=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.includes(e.value)},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;if(Array.isArray(r)&&r.includes(e.value))return!0;return String(r)===e.value}}});function b(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function E(e,t,r,n,i){if(e.id)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");return Boolean(t&&(!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.type}(e,t))&&(!e.attrs||function(e,t){let r=-1;for(;++r<e.attrs.length;)if(!v(e.attrs[r],t))return!1;return!0}(e,t))&&(!e.pseudos||d(e,t,r,n,i)))}const w=i("type",{unknown:function(e){throw new Error("Unknown type `"+e.type+"`")},invalid:function(){throw new Error("Invalid type")},handlers:{selectors:function(e,t,r){const n=D(r.one);let i=-1;for(;++i<e.selectors.length;)n(S(e.selectors[i],t,r));return n.result},ruleSet:S,rule:k}});function x(e,t,r){return e&&t?w(e,t,r):[]}function S(e,t,r){return k(e.rule,t,r)}function k(e,t,r){const n=D(r.one);if(r.shallow&&e.rule)throw new Error("Expected selector without nesting");var i;return s(e,t,0,null,A(e,{scopeNodes:(i=t,"RootNode"===i.type||"root"===i.type?t.children:[t]),index:!1,iterator:function(e,t,r,i,o){E(e,t,r,i,o)&&(e.rule?s(e.rule,t,r,i,A(e.rule,o)):(n(t),o.found=!0))},one:r.one,shallow:r.shallow,any:r.any})),n.result}function A(e,t){const r=e.pseudos||[];let n=-1;for(;++n<r.length;)if(d.needsIndex.includes(r[n].name)){t.index=!0;break}return t}function D(e){const t=[];let r;return n.result=t,n;function n(e){let t=-1;if("length"in e)for(;++t<e.length;)i(e[t]);else i(e)}function i(n){if(e){if(r)throw new Error("Cannot collect multiple nodes");r=!0}t.includes(n)||t.push(n)}}var F=r(301);const C=r(364).ZP,P=new Set(["nth-child","nth-last-child","nth-of-type","nth-last-of-type"]),O=new F.N;O.registerAttrEqualityMods("~","^","$","*"),O.registerSelectorPseudos("any","matches","not","has"),O.registerNestingOperators(">","+","~");const T=i("type",{handlers:{selectors:function(e){const t=e.selectors;let r=-1;for(;++r<t.length;)T(t[r]);return e},ruleSet:function(e){return _(e.rule)},rule:_}});function j(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return T(O.parse(e))}function _(e){const t=e.pseudos||[];let r,n=-1;for(;++n<t.length;)r=t[n],P.has(r.name)&&(r.value=C(r.value),r.valueType="function");return T(e.rule),e}function I(e,t){return Boolean(x(j(e),t,{one:!0,shallow:!0,any:x})[0])}function R(e,t){return x(j(e),t,{one:!0,any:x})[0]||null}function L(e,t){return x(j(e),t,{any:x})}},1513:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});var n={}.hasOwnProperty;function i(e){return e&&"object"==typeof e?n.call(e,"position")||n.call(e,"type")?a(e.position):n.call(e,"start")||n.call(e,"end")?a(e):n.call(e,"line")||n.call(e,"column")?o(e):"":""}function o(e){return s(e&&e.line)+":"+s(e&&e.column)}function a(e){return o(e&&e.start)+"-"+o(e&&e.end)}function s(e){return e&&"number"==typeof e?e:1}},7918:(e,t,r)=>{"use strict";r.d(t,{S4:()=>i});var n=r(213);const i=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null);var o=(0,n.convert)(t),a=i?-1:1;!function e(n,s,u){var c,l="object"==typeof n&&null!==n?n:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,p=[];if((!t||o(n,s,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(n,u)),false===p[0]))return p;if(n.children&&"skip"!==p[0])for(l=(i?n.children.length:-1)+a,f=u.concat(n);l>-1&&l<n.children.length;){if(c=e(n.children[l],l,f)(),false===c[0])return c;l="number"==typeof c[1]?c[1]:l+a}return p}}(e,null,[])()}},3428:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,SKIP:()=>n.AM,EXIT:()=>n.BK,visit:()=>i});var n=r(3339);const i=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),i)}},3339:(e,t,r)=>{"use strict";r.d(t,{dR:()=>i,BK:()=>a,AM:()=>o,S4:()=>s});var n=r(213);const i=!0,o="skip",a=!1,s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.convert)(t),c=s?-1:1;!function e(n,l,f){const p="object"==typeof n&&null!==n?n:{};let h;"string"==typeof p.type&&(h="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0,Object.defineProperty(d,"name",{value:"node ("+p.type+(h?"<"+h+">":"")+")"}));return d;function d(){let p,h,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[i,e];return[e]}(r(n,f)),m[0]===a))return m;if(n.children&&m[0]!==o)for(h=(s?n.children.length:-1)+c,d=f.concat(n);h>-1&&h<n.children.length;){if(p=e(n.children[h],h,d)(),p[0]===a)return p;h="number"==typeof p[1]?p[1]:h+c}return m}}(e,null,[])()}},3633:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},4222:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},9354:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,a.d(i,o),i},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"774184",267:"58e681"}[e]+".js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+i){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+i),s.src=e),r[e]=[t];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var i=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var o=a.p+a.u(t),s=new Error;a.l(o,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,s,u]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<o.length;c++)i=o[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>ic,Article:()=>pc,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>Ec,Catalog:()=>bc,CatalogItems:()=>gc,Config:()=>t.De,File:()=>t.$B,Helmet:()=>Vo,InjectedComponent:()=>gs,InjectedComponentSet:()=>ys,IntlContext:()=>Je,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>tc,Logo:()=>ec,Markdown:()=>lc,Model:()=>Be,Plugin:()=>Gs,PoweredBy:()=>Ju,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ToFirstArticle:()=>wc,VERSION:()=>yu,aes:()=>t.rK,base64:()=>mu,bootstrap:()=>Ku,createApplication:()=>Bs,createComponentDescriptor:()=>bs,createGlobalStyle:()=>Yi,createStorageSlot:()=>xs,css:()=>Ii,getPayload:()=>du,getPublicPath:()=>Hs,history:()=>Ou,isEncryptedData:()=>t.oe,isMac:()=>gu,isUrl:()=>t.CB,keyframes:()=>Xi,listStorageKeys:()=>Ss,loadjs:()=>Qe(),markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,request:()=>t.WY,styled:()=>Zi,useActions:()=>zs,useArticle:()=>Lu,useAsync:()=>ls,useAsyncCallback:()=>fs,useAsyncEffect:()=>qs,useAsyncFetchMore:()=>ps,useBook:()=>ks,useDebounce:()=>lu,useDocumentTitle:()=>cu,useEventTarget:()=>hu,useFile:()=>Bu,useHotkeys:()=>rs,useIntl:()=>vn,useLockBodyScroll:()=>Zu,useLogo:()=>$u,useModel:()=>$s,useNextArticle:()=>Nu,useOptions:()=>fu,usePrevArticle:()=>Mu,usePrevious:()=>uu,useSelector:()=>Us,useStateWithCallback:()=>Vs,useThemeConfig:()=>As,useThemeContext:()=>Ts,useTitle:()=>Iu,useWindowSize:()=>Xu,windowSizes:()=>Yu});var e={};a.r(e),a.d(e,{book:()=>Tu,page:()=>ju,search:()=>_u}),Date.prototype.format=function(e){const t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(const r in t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e};var t=a(3440),r=a(4760),n=a(4246),i=a(7363),o=a.n(i);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",h=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+h(),REPLACE:"@@redux/REPLACE"+h(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h()}};function m(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function g(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(f(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(f(1));return r(g)(e,t)}if("function"!=typeof e)throw new Error(f(2));var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error(f(3));return o}function h(e){if("function"!=typeof e)throw new Error(f(4));if(u)throw new Error(f(5));var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error(f(6));t=!1,c();var r=s.indexOf(e);s.splice(r,1),a=null}}}function y(e){if(!m(e))throw new Error(f(7));if(void 0===e.type)throw new Error(f(8));if(u)throw new Error(f(9));try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,r=0;r<t.length;r++){(0,t[r])()}return e}function v(e){if("function"!=typeof e)throw new Error(f(10));i=e,y({type:d.REPLACE})}function b(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(f(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[p]=function(){return this},e}return y({type:d.INIT}),(n={dispatch:y,subscribe:h,getState:l,replaceReducer:v})[p]=b,n}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(f(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return n=y.apply(void 0,o)(r.dispatch),l(l({},r),{},{dispatch:n})}}}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function w(e){return!!e&&!!e[ue]}function x(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof r&&Function.toString.call(r)===ce}(e)||Array.isArray(e)||!!e[se]||!!e.constructor[se]||P(e)||O(e))}function S(e,t,r){void 0===r&&(r=!1),0===k(e)?(r?Object.keys:le)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function k(e){var t=e[ue];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:P(e)?2:O(e)?3:0}function A(e,t){return 2===k(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function D(e,t){return 2===k(e)?e.get(t):e[t]}function F(e,t,r){var n=k(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function C(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function P(e){return ne&&e instanceof Map}function O(e){return ie&&e instanceof Set}function T(e){return e.o||e.t}function j(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=fe(e);delete t[ue];for(var r=le(t),n=0;n<r.length;n++){var i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function _(e,t){return void 0===t&&(t=!1),R(e)||w(e)||!x(e)||(k(e)>1&&(e.set=e.add=e.clear=e.delete=I),Object.freeze(e),t&&S(e,(function(e,t){return _(t,!0)}),!0)),e}function I(){E(2)}function R(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function L(e){var t=pe[e];return t||E(18,e),t}function N(){return te}function M(e,t){t&&(L("Patches"),e.u=[],e.s=[],e.v=t)}function B(e){z(e),e.p.forEach($),e.p=null}function z(e){e===te&&(te=e.l)}function U(e){return te={p:[],l:te,h:e,m:!0,_:0}}function $(e){var t=e[ue];0===t.i||1===t.i?t.j():t.g=!0}function q(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.O||L("ES5").S(t,e,n),n?(r[ue].P&&(B(t),E(4)),x(e)&&(e=V(t,e),t.l||G(t,e)),t.u&&L("Patches").M(r[ue],e,t.u,t.s)):e=V(t,r,[]),B(t),t.u&&t.v(t.u,t.s),e!==ae?e:void 0}function V(e,t,r){if(R(t))return t;var n=t[ue];if(!n)return S(t,(function(i,o){return H(e,n,t,i,o,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return G(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=j(n.k):n.o;S(3===n.i?new Set(i):i,(function(t,o){return H(e,n,i,t,o,r)})),G(e,i,!1),r&&e.u&&L("Patches").R(n,r,e.u,e.s)}return n.o}function H(e,t,r,n,i,o){if(w(i)){var a=V(e,i,o&&t&&3!==t.i&&!A(t.D,n)?o.concat(n):void 0);if(F(r,n,a),!w(a))return;e.m=!1}if(x(i)&&!R(i)){if(!e.h.F&&e._<1)return;V(e,i),t&&t.A.l||G(e,i)}}function G(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&_(t,r)}function W(e,t){var r=e[ue];return(r?T(r):e)[t]}function Q(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function K(e){e.P||(e.P=!0,e.l&&K(e.l))}function Y(e){e.o||(e.o=j(e.t))}function X(e,t,r){var n=P(t)?L("MapSet").N(t,r):O(t)?L("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:N(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=n,o=he;r&&(i=[n],o=de);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(t,r):L("ES5").J(t,r);return(r?r.A:N()).p.push(n),n}function Z(e){return w(e)||E(22,e),function e(t){if(!x(t))return t;var r,n=t[ue],i=k(t);if(n){if(!n.P&&(n.i<4||!L("ES5").K(n)))return n.t;n.I=!0,r=J(t,i),n.I=!1}else r=J(t,i);return S(r,(function(t,i){n&&D(n.t,t)===i||F(r,t,e(i))})),3===i?new Set(r):r}(e)}function J(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return j(e)}var ee,te,re="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ne="undefined"!=typeof Map,ie="undefined"!=typeof Set,oe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ae=re?Symbol.for("immer-nothing"):((ee={})["immer-nothing"]=!0,ee),se=re?Symbol.for("immer-draftable"):"__$immer_draftable",ue=re?Symbol.for("immer-state"):"__$immer_state",ce=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),le="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,fe=Object.getOwnPropertyDescriptors||function(e){var t={};return le(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},pe={},he={get:function(e,t){if(t===ue)return e;var r=T(e);if(!A(r,t))return function(e,t,r){var n,i=Q(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!x(n)?n:n===W(e.t,t)?(Y(e),e.o[t]=X(e.A.h,n,e)):n},has:function(e,t){return t in T(e)},ownKeys:function(e){return Reflect.ownKeys(T(e))},set:function(e,t,r){var n=Q(T(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=W(T(e),t),o=null==i?void 0:i[ue];if(o&&o.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(C(r,i)&&(void 0!==r||A(e.t,t)))return!0;Y(e),K(e)}return e.o[t]===r&&"number"!=typeof r||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==W(e.t,t)||t in e.t?(e.D[t]=!1,Y(e),K(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=T(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){E(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){E(12)}},de={};S(he,(function(e,t){de[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),de.deleteProperty=function(e,t){return he.deleteProperty.call(this,e[0],t)},de.set=function(e,t,r){return he.set.call(this,e[0],t,r,e[0])};var me=function(){function e(e){var t=this;this.O=oe,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var i=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=i);for(var n=arguments.length,a=Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(a))}))}}var a;if("function"!=typeof r&&E(6),void 0!==n&&"function"!=typeof n&&E(7),x(e)){var s=U(t),u=X(t,e,void 0),c=!0;try{a=r(u),c=!1}finally{c?B(s):z(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return M(s,n),q(e,s)}),(function(e){throw B(s),e})):(M(s,n),q(a,s))}if(!e||"object"!=typeof e){if((a=r(e))===ae)return;return void 0===a&&(a=e),t.F&&_(a,!0),a}E(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,r,(function(e,t){n=e,i=t})),n,i];var n,i},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){x(e)||E(8),w(e)&&(e=Z(e));var t=U(this),r=X(this,e,void 0);return r[ue].C=!0,z(t),r},t.finishDraft=function(e,t){var r=(e&&e[ue]).A;return M(r,t),q(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!oe&&E(20),this.O=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var i=L("Patches").$;return w(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(r+1))}))},e}(),ge=new me,ye=ge.produce,ve=(ge.produceWithPatches.bind(ge),ge.setAutoFreeze.bind(ge));ge.setUseProxies.bind(ge),ge.applyPatches.bind(ge),ge.createDraft.bind(ge),ge.finishDraft.bind(ge);var be=a(2611),Ee=o().createContext(null);var we=function(e){e()},xe=function(){return we};var Se={notify:function(){},get:function(){return[]}};function ke(e,t){var r,n=Se;function i(){a.onStateChange&&a.onStateChange()}function o(){r||(r=t?t.addNestedSub(i):e.subscribe(i),n=function(){var e=xe(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var a={addNestedSub:function(e){return o(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(r)},trySubscribe:o,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=Se)},getListeners:function(){return n}};return a}var Ae="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;const De=function(e){var t=e.store,r=e.context,n=e.children,a=(0,i.useMemo)((function(){var e=ke(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=(0,i.useMemo)((function(){return t.getState()}),[t]);Ae((function(){var e=a.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var u=r||Ee;return o().createElement(u.Provider,{value:a},n)};var Fe=a(5839),Ce=a.n(Fe);a(9272);function Pe(){return(0,i.useContext)(Ee)}var Oe=function(e,t){return e===t};function Te(e){void 0===e&&(e=Ee);var t=e===Ee?Pe:function(){return(0,i.useContext)(e)};return function(e,r){void 0===r&&(r=Oe);var n=t(),o=function(e,t,r,n){var o,a=(0,i.useReducer)((function(e){return e+1}),0)[1],s=(0,i.useMemo)((function(){return ke(r,n)}),[r,n]),u=(0,i.useRef)(),c=(0,i.useRef)(),l=(0,i.useRef)(),f=(0,i.useRef)(),p=r.getState();try{if(e!==c.current||p!==l.current||u.current){var h=e(p);o=void 0!==f.current&&t(h,f.current)?f.current:h}else o=f.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return Ae((function(){c.current=e,l.current=p,f.current=o,u.current=void 0})),Ae((function(){function e(){try{var e=r.getState();if(e===l.current)return;var n=c.current(e);if(t(n,f.current))return;f.current=n,l.current=e}catch(e){u.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(e,r,n.store,n.subscription);return(0,i.useDebugValue)(o),o}}var je=Te();const _e=ReactDOM;var Ie,Re=a.n(_e);Ie=_e.unstable_batchedUpdates,we=Ie;const Le="TYPE_SET_STATE",Ne="TYPE_GET_STATE";function Me(e){const t=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(t).filter((e=>!["constructor","onAction","subscription"].includes(e)&&"function"==typeof t[e]&&!e.startsWith("_")))}class Be{constructor(){b(this,"initialState",void 0),b(this,"state",void 0)}*getState(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yield{type:Ne,payload:{models:t}}}setState(e){return{type:Le,payload:{fn:e}}}dispatch(e){}}function ze(e){return e&&"function"==typeof e.next&&"function"==typeof e.throw}ve(!1);const Ue=(e,t,r)=>{for(let n of e)t=n(t,r);return t},$e=(e,t)=>{for(let r in e){let n=e[r];e[r]=function(){let e=n(...arguments);if("function"==typeof e)return e(t)}}return e};function qe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const i={},o={},a={},s={},u={},c={};for(const r in e){const n=e[r];void 0!==n.initialState?"function"==typeof n.initialState?a[r]=n.initialState(t[r],t):a[r]=(0,be.merge)(n.initialState,t[r]):a[r]=t[r],o[r]={},n.onAction&&(c[r]=(e,t)=>n.onAction(e,t,s[r])),n.subscription&&(u[r]=n.subscription),n.dispatch=function(e){if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];s[r][e](...n)}};const l=Me(n);for(let e of l){const t=Object.getPrototypeOf(n)[e],a="".concat(r,"/").concat(e);o[r][e]=function(){for(var e=arguments.length,o=new Array(e),s=0;s<e;s++)o[s]=arguments[s];return async e=>{const{dispatch:s,getState:u}=e;let l=0;const f=Object.entries(c).filter((e=>{let[t]=e;return t!==r})).map((e=>{let[,t]=e;return t}));let p=Ue(f,t.bind(n),a)(...o);const h=async e=>{let t=await e.next();for(;!t.done;){let n,o;if(t.value instanceof Promise)try{n=await t.value}catch(e){o=e}else if(ze(t.value))try{n=await h(t.value)}catch(e){o=e}else{let e=t.value,o=e.payload;switch(e.type){case Ne:const e=u();n=o.models.length>0?o.models.length>1?o.models.map((t=>e[t])):e[o.models[0]]:e;break;case Le:let t="".concat(a,"/@@").concat(++l);i[t]=o.fn,s({type:t,name:r}),delete i[t]}}t=o?await e.throw(o):await e.next(n)}return t.value};await h(p)}}}}const l=function(e,t){return ye(e,(e=>{t.name&&i[t.type]&&("function"==typeof i[t.type]?e[t.name]=ye(e[t.name],i[t.type]):e[t.name]=i[t.type])}))},f=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||y,p=g(r(l),a,f(v(...n))),{getState:h}=p;for(let[e,t]of Object.entries(o))s[e]=$e(t,p);for(let t in u)u[t].call(e[t],s[t],h()[t]);return p.actions=s,p}const Ve=(0,i.createContext)({actions:{}});function He(e){let{store:t,children:r}=e;return(0,n.jsx)(Ve.Provider,{value:{actions:t.actions},children:(0,n.jsx)(De,{store:t,children:r})})}function Ge(e,t){return"string"==typeof e||Array.isArray(e)?je((t=>Array.isArray(e)?e:Array(e).reduce(((e,t)=>e[t]),t)),t):je(e,t)}var We=a(6051),Qe=a.n(We),Ke=a(8891);function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe=i.createContext(null),Ze=(Xe.Consumer,Xe.Provider),Je=Xe;
53
+ !function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",i="[0-9]",o=t(i,"[A-Fa-f]"),a=r(r("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+r("%[89A-Fa-f]"+o+"%"+o+o)+"|"+r("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,i,"[\\+\\-\\.]")+"*"),p=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("[1-9]"+i)+"|"+i),r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i)),d=r(h+"\\."+h+"\\."+h+"\\."+h),m=r(o+"{1,4}"),g=r(r(m+"\\:"+m)+"|"+d),y=r(r(m+"\\:")+"{6}"+g),v=r("\\:\\:"+r(m+"\\:")+"{5}"+g),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+g),E=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+g),w=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+g),x=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),S=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),k=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),A=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),D=r([y,v,b,E,w,x,S,k,A].join("|")),F=r(r(l+"|"+a)+"+"),C=(r(D+"\\%25"+F),r(D+r("\\%25|\\%(?!"+o+"{2})")+F)),P=r("[vV]"+o+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+D+"|"+P)+"\\]"),T=r(r(a+"|"+t(l,s))+"*"),j=r(O+"|"+d+"(?!"+T+")|"+T),_=r(i+"*"),I=r(r(p+"@")+"?"+j+r("\\:"+_)+"?"),R=r(a+"|"+t(l,s,"[\\:\\@]")),L=r(R+"*"),N=r(R+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),B=r(r("\\/"+L)+"*"),z=r("\\/"+r(N+B)+"?"),U=r(M+B),$=r(N+B),q="(?!"+R+")",V=(r(B+"|"+z+"|"+U+"|"+$+"|"+q),r(r(R+"|"+t("[\\/\\?]",c))+"*")),H=r(r(R+"|[\\/\\?]")+"*"),G=r(r("\\/\\/"+I+B)+"|"+z+"|"+$+"|"+q),W=r(f+"\\:"+G+r("\\?"+V)+"?"+r("\\#"+H)+"?"),Q=r(r("\\/\\/"+I+B)+"|"+z+"|"+U+"|"+q),K=r(Q+r("\\?"+V)+"?"+r("\\#"+H)+"?");return r(W+"|"+K),r(f+"\\:"+G+r("\\?"+V)+"?"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+U+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+j+")"+r("\\:("+_+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+q+")"),r("\\?("+V+")"),r("\\#("+H+")"),r("("+p+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+D+")"+r(r("\\%25|\\%(?!"+o+"{2})")+"("+F+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},p=2147483647,h=36,d=1,m=26,g=38,y=700,v=72,b=128,E="-",w=/^xn--/,x=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=h-d,D=Math.floor,F=String.fromCharCode;function C(e){throw new RangeError(k[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(S,".")).split("."),t).join(".")}function T(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,r){var n=0;for(e=r?D(e/y):e>>1,e+=D(e/t);e>A*m>>1;n+=h)e=D(e/A);return D(n+(A+1)*e/(e+g))},R=function(e){var t=[],r=e.length,n=0,i=b,o=v,a=e.lastIndexOf(E);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=h;;f+=h){u>=r&&C("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>D((p-n)/l))&&C("overflow"),n+=g*l;var y=f<=o?d:f>=o+m?m:f-o;if(g<y)break;var w=h-y;l>D(p/w)&&C("overflow"),l*=w}var x=t.length+1;o=I(n-c,x,0==c),D(n/x)>p-i&&C("overflow"),i+=D(n/x),n%=x,t.splice(n++,0,i)}return String.fromCodePoint.apply(String,t)},L=function(e){var t=[],r=(e=T(e)).length,n=b,i=0,o=v,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(F(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var g=t.length,y=g;for(g&&t.push(E);y<r;){var w=p,x=!0,S=!1,k=void 0;try{for(var A,P=e[Symbol.iterator]();!(x=(A=P.next()).done);x=!0){var O=A.value;O>=n&&O<w&&(w=O)}}catch(e){S=!0,k=e}finally{try{!x&&P.return&&P.return()}finally{if(S)throw k}}var j=y+1;w-n>D((p-i)/j)&&C("overflow"),i+=(w-n)*j,n=w;var R=!0,L=!1,N=void 0;try{for(var M,B=e[Symbol.iterator]();!(R=(M=B.next()).done);R=!0){var z=M.value;if(z<n&&++i>p&&C("overflow"),z==n){for(var U=i,$=h;;$+=h){var q=$<=o?d:$>=o+m?m:$-o;if(U<q)break;var V=U-q,H=h-q;t.push(F(_(q+V%H,0))),U=D(V/H)}t.push(F(_(U,0))),o=I(i,j,y==g),i=0,++y}}}catch(e){L=!0,N=e}finally{try{!R&&B.return&&B.return()}finally{if(L)throw N}}++i,++n}return t.join("")},N=function(e){return O(e,(function(e){return w.test(e)?R(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return x.test(e)?"xn--"+L(e):e}))},B={version:"2.1.0",ucs2:{decode:T,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:R,encode:L,toASCII:M,toUnicode:N},z={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function $(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function q(e,t){function r(e){var r=$(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,i)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function H(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(V).join("."):e}function G(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(V):[],p=u.split(":").map(V),h=t.IPV4ADDRESS.test(p[p.length-1]),d=h?7:8,m=p.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||p[m+y]||"";h&&(g[d-1]=H(g[d-1],t));var v=g.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var E=g.slice(0,v.index),w=g.slice(v.index+v.length);b=E.join(":")+"::"+w.join(":")}else b=g.join(":");return o&&(b+="%"+o),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Q=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(W);if(i){Q?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=G(H(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=z[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)q(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=B.toASCII(r.host.replace(n.PCT_ENCODED,$).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}q(r,u)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Y(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(G(H(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var X=/^\.\.?\//,Z=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(X))e=e.replace(X,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],i=z[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(r.PCT_ENCODED,$).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}q(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=Y(e,t);if(void 0!==o&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||i&&i.absolutePath||(a=te(a)),void 0===o&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function ie(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function oe(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,U)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,$)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var pe={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),i=n[0],o=n[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=r(r("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+r("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+r("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ee="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),xe=new RegExp(ye,"g"),Se=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),ke=new RegExp(t("[^]",me,Ee),"g"),Ae=ke;function De(e){var t=$(e);return t.match(we)?t:e}var Fe={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,p=l.length;f<p;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:i=!0,o[ue(c[0],t)]=ue(c[1],t)}}i&&(r.headers=o)}r.query=void 0;for(var h=0,d=n.length;h<d;++h){var m=n[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r=e,n=o(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(xe,De).replace(xe,i).replace(Se,U),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var h=[];for(var d in p)p[d]!==de[d]&&h.push(d.replace(xe,De).replace(xe,i).replace(ke,U)+"="+p[d].replace(xe,De).replace(xe,i).replace(Ae,U));return h.length&&(r.query=h.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var i=t.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],s=i+":"+(t.nid||o),u=z[s];n.nid=o,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),o=z[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Te={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};z[ce.scheme]=ce,z[le.scheme]=le,z[pe.scheme]=pe,z[he.scheme]=he,z[Fe.scheme]=Fe,z[Pe.scheme]=Pe,z[Te.scheme]=Te,e.SCHEMES=z,e.pctEncChar=U,e.pctDecChars=$,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=ie,e.normalize=oe,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},8884:function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof r.g&&r.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,d=String.fromCharCode;function m(e){throw RangeError(p[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=d((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=d(e)})).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;n+=u)e=h(e/35);return h(n+36*e/(e+38))}function x(e){var t,r,n,i,o,a,c,l,f,p,d,g=[],y=e.length,v=0,E=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&m("not-basic"),g.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<y;){for(o=v,a=1,c=u;i>=y&&m("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:u)>=u||l>h((s-v)/a))&&m("overflow"),v+=l*a,!(l<(f=c<=x?1:c>=x+26?26:c-x));c+=u)a>h(s/(p=u-f))&&m("overflow"),a*=p;x=w(v-o,t=g.length+1,0==o),h(v/t)>s-E&&m("overflow"),E+=h(v/t),v%=t,g.splice(v++,0,E)}return b(g)}function S(e){var t,r,n,i,o,a,c,l,f,p,g,y,b,x,S,k=[];for(y=(e=v(e)).length,t=128,r=0,o=72,a=0;a<y;++a)(g=e[a])<128&&k.push(d(g));for(n=i=k.length,i&&k.push("-");n<y;){for(c=s,a=0;a<y;++a)(g=e[a])>=t&&g<c&&(c=g);for(c-t>h((s-r)/(b=n+1))&&m("overflow"),r+=(c-t)*b,t=c,a=0;a<y;++a)if((g=e[a])<t&&++r>s&&m("overflow"),g==t){for(l=r,f=u;!(l<(p=f<=o?1:f>=o+26?26:f-o));f+=u)S=l-p,x=u-p,k.push(d(E(p+S%x,0))),l=h(S/x);k.push(d(E(l,0))),o=w(r,b,n==i),r=0,++n}++r,++t}return k.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:b},decode:x,encode:S,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},4760:(e,t,r)=>{"use strict";var n=r(8884),i=r(569);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(6541);function b(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var E=u.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(S||w&&!y[w])){for(var k,A,D=-1,F=0;F<p.length;F++){-1!==(C=b.indexOf(p[F]))&&(-1===D||C<D)&&(D=C)}-1!==(A=-1===D?b.lastIndexOf("@"):b.lastIndexOf("@",D))&&(k=b.slice(0,A),b=b.slice(A+1),this.auth=decodeURIComponent(k)),D=-1;for(F=0;F<f.length;F++){var C;-1!==(C=b.indexOf(f[F]))&&(-1===D||C<D)&&(D=C)}-1===D&&(D=b.length),this.host=b.slice(0,D),b=b.slice(D),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),T=(F=0,O.length);F<T;F++){var j=O[F];if(j&&!j.match(h)){for(var _="",I=0,R=j.length;I<R;I++)j.charCodeAt(I)>127?_+="x":_+=j[I];if(!_.match(h)){var L=O.slice(0,F),N=O.slice(F+1),M=j.match(d);M&&(L.push(M[1]),N.unshift(M[2])),N.length&&(b="/"+N.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+B,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(F=0,T=l.length;F<T;F++){var U=l[F];if(-1!==b.indexOf(U)){var $=encodeURIComponent(U);$===U&&($=escape(U)),b=b.split(U).join($)}}var q=b.indexOf("#");-1!==q&&(this.hash=b.substr(q),b=b.slice(0,q));var V=b.indexOf("?");if(-1!==V?(this.search=b.substr(V),this.query=b.substr(V+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,V)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var H=this.search||"";this.path=B+H}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var r=new o,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=E||b||r.host&&e.pathname,x=w,S=r.pathname&&r.pathname.split("/")||[],k=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(k&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===S[0])),E)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=d;else if(d.length)S||(S=[]),S.pop(),S=S.concat(d),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(k)r.hostname=r.host=S.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=S.slice(-1)[0],D=(r.host||e.host||S.length>1)&&("."===A||".."===A)||""===A,F=0,C=S.length;C>=0;C--)"."===(A=S[C])?S.splice(C,1):".."===A?(S.splice(C,1),F++):F&&(S.splice(C,1),F--);if(!w&&!x)for(;F--;F)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),D&&"/"!==S.join("/").substr(-1)&&S.push("");var P,O=""===S[0]||S[0]&&"/"===S[0].charAt(0);k&&(r.hostname=r.host=O?"":S.length?S.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(w=w||r.host&&S.length)&&!O&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},569:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},6579:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},7673:(e,t,r)=>{"use strict";var n=r(7740),i=r(8265),o=r(2505),a=r(387);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function v(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function E(e){return"[object WeakSet]"===l(e)}function w(e){return"[object ArrayBuffer]"===l(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===l(e)}function k(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||k(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=x,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=k;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function D(e){return"[object SharedArrayBuffer]"===l(e)}function F(e){return void 0!==A&&(void 0===D.working&&(D.working=D(new A)),D.working?D(e):e instanceof A)}function C(e){return g(e,f)}function P(e){return g(e,p)}function O(e){return g(e,h)}function T(e){return u&&g(e,d)}function j(e){return c&&g(e,m)}t.isSharedArrayBuffer=F,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=T,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||T(e)||j(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||F(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},1323:(e,t,r)=>{var n=r(7061),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<i;s=n[++r])y(s)||!x(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&A(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return b(i)||(i=p(e,i,n)),i}var o=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(A(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(k(r))return h(r)}var c,l="",f=!1,x=["{","}"];(m(r)&&(f=!0,x=["[","]"]),A(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),k(r)&&(l=" "+h(r)),0!==a.length||f&&0!=r.length?n<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(d(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(e,t,r,n,i,!0))})),o}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,x)):x[0]+l+x[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),O(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?p(e,u.value,null):p(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===D(e)}function x(e){return"object"==typeof e&&null!==e}function S(e){return x(e)&&"[object Date]"===D(e)}function k(e){return x(e)&&("[object Error]"===D(e)||e instanceof Error)}function A(e){return"function"==typeof e}function D(e){return Object.prototype.toString.call(e)}function F(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(7673),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=w,t.types.isRegExp=w,t.isObject=x,t.isDate=S,t.types.isDate=S,t.isError=k,t.types.isNativeError=k,t.isFunction=A,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(6579);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[F(e.getHours()),F(e.getMinutes()),F(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=r(87),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=T,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},2505:(e,t,r)=>{"use strict";var n=r(8372),i=r(973),o=r(2737),a=o("Object.prototype.toString"),s=r(698)(),u="undefined"==typeof globalThis?r.g:globalThis,c=i(),l=o("String.prototype.slice"),f={},p=r(8828),h=Object.getPrototypeOf;s&&p&&h&&n(c,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=h(t),n=p(r,Symbol.toStringTag);if(!n){var i=h(r);n=p(i,Symbol.toStringTag)}f[e]=n.get}}}));var d=r(387);e.exports=function(e){return!!d(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return n(f,(function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}})),t}(e):l(a(e),8,-1))}},7363:e=>{"use strict";e.exports=React},2611:e=>{"use strict";e.exports=_},429:()=>{},973:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},8828:(e,t,r)=>{"use strict";var n=r(8750)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},9477:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});const n=document.createElement("i");function i(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},2268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blockquote:()=>o});var n=r(5471),i=r(4671);function o(e,t,r){const o=r.enter("blockquote"),s=(0,i.Q)((0,n.K)(e,r),a);return o(),s}function a(e,t,r){return">"+(r?"":" ")+e}},6156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>s});var n=r(3428),i=r(3339),o=r(8717);var a=r(7567);function s(e,t,r){const s=Math.max(Math.min(6,e.depth||1),1);if(function(e,t){let r=!1;return(0,n.visit)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,i.BK})),Boolean((!e.depth||e.depth<3)&&(0,o.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),i=(0,a.p)(e,r,{before:"\n",after:"\n"});return n(),t(),i+"\n"+(1===s?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const u="#".repeat(s),c=r.enter("headingAtx"),l=r.enter("phrasing");let f=(0,a.p)(e,r,{before:"# ",after:"\n"});return/^[\t ]/.test(f)&&(f="&#x"+f.charCodeAt(0).toString(16).toUpperCase()+";"+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),l(),c(),f}},8627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(1481),i=r(3316);function o(e,t,r){const o=(0,n.l)(r),a='"'===o?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label"),c="!["+(0,i.T)(r,e.alt,{before:"[",after:"]"})+"](";return u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),c+="<"+(0,i.T)(r,e.url,{before:"<",after:">"})+">"):(u=r.enter("destinationRaw"),c+=(0,i.T)(r,e.url,{before:"(",after:e.title?" ":")"})),u(),e.title&&(u=r.enter("title"+a),c+=" "+o+(0,i.T)(r,e.title,{before:o,after:o})+o,u()),c+=")",s(),c}o.peek=function(){return"!"}},2848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{paragraph:()=>i});var n=r(7567);function i(e,t,r){const i=r.enter("paragraph"),o=r.enter("phrasing"),a=(0,n.p)(e,r,{before:"\n",after:"\n"});return o(),i(),a}},1481:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},5471:(e,t,r)=>{"use strict";function n(e,t){const r=t.indexStack,n=e.children||[],i=[];let o=-1;for(r.push(-1);++o<n.length;){const s=n[o];r[r.length-1]=o,i.push(t.handle(s,e,t,{before:"\n",after:"\n"})),"list"!==s.type&&(t.bulletLastUsed=void 0),o<n.length-1&&i.push(a(s,n[o+1]))}return r.pop(),i.join("");function a(r,n){let i=t.join.length;for(;i--;){const o=t.join[i](r,n,e,t);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}r.d(t,{K:()=>n})},7567:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],o=[];let a=-1,s=r.before;for(n.push(-1);++a<i.length;){const u=i[a];let c;if(n[n.length-1]=a,a+1<i.length){let r=t.handle.handlers[i[a+1].type];r&&r.peek&&(r=r.peek),c=r?r(i[a+1],e,t,{before:"",after:""}).charAt(0):""}else c=r.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" "),o.push(t.handle(u,e,t,{before:s,after:c})),s=o[o.length-1].slice(-1)}return n.pop(),o.join("")}r.d(t,{p:()=>n})},4671:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});const n=/\r?\n|\r/g;function i(e,t){const r=[];let i,o=0,a=0;for(;i=n.exec(e);)s(e.slice(o,i.index)),r.push(i[0]),o=i.index+i[0].length,a++;return s(e.slice(o)),r.join("");function s(e){r.push(t(e,a,!e))}}},7866:(e,t,r)=>{"use strict";function n(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}r.d(t,{T:()=>n})},3316:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(7866);function i(e,t){return o(e,t.inConstruct,!0)&&!o(e,t.notInConstruct,!1)}function o(e,t,r){if(!t)return r;"string"==typeof t&&(t=[t]);let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function a(e,t,r){const o=(r.before||"")+(t||"")+(r.after||""),a=[],c=[],l={};let f=-1;for(;++f<e.unsafe.length;){const t=e.unsafe[f];if(!i(e.stack,t))continue;const r=(0,n.T)(t);let s;for(;s=r.exec(o);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=s.index+(e?s[1].length:0);a.includes(n)?(l[n].before&&!e&&(l[n].before=!1),l[n].after&&!r&&(l[n].after=!1)):(a.push(n),l[n]={before:e,after:r})}}a.sort(s);let p=r.before?r.before.length:0;const h=o.length-(r.after?r.after.length:0);for(f=-1;++f<a.length;){const e=a[f];e<p||e>=h||(e+1<h&&a[f+1]===e+1&&l[e].after&&!l[e+1].before&&!l[e+1].after||a[f-1]===e-1&&l[e].before&&!l[e-1].before&&!l[e-1].after||(p!==e&&c.push(u(o.slice(p,e),"\\")),p=e,!/[!-/:-@[-`{-~]/.test(o.charAt(e))||r.encode&&r.encode.includes(o.charAt(e))?(c.push("&#x"+o.charCodeAt(e).toString(16).toUpperCase()+";"),p++):c.push("\\")))}return c.push(u(o.slice(p,h),r.after)),c.join("")}function s(e,t){return e-t}function u(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],i=[],o=e+t;let a,s=-1,u=0;for(;a=r.exec(o);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&i.push(e.slice(u,n[s])),i.push("\\"),u=n[s];return i.push(e.slice(u)),i.join("")}},8717:(e,t,r)=>{"use strict";function n(e,t){var{includeImageAlt:r=!0}=t||{};return i(e,r)}function i(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&o(e.children,t)||Array.isArray(e)&&o(e,t))||""}function o(e,t){for(var r=[],n=-1;++n<e.length;)r[n]=i(e[n],t);return r.join("")}r.d(t,{B:()=>n})},9531:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>i.j,blankLine:()=>o.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>p.k,definition:()=>h.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>g.P,htmlText:()=>y.L,labelEnd:()=>v.Z,labelStartImage:()=>b.C,labelStartLink:()=>E.F,lineEnding:()=>w.g,list:()=>x.p,setextUnderline:()=>S.C,thematicBreak:()=>k.C});var n=r(8415),i=r(7444),o=r(2929),a=r(7207),s=r(1687),u=r(2810),c=r(4897),l=r(2535),f=r(5180),p=r(6814),h=r(4882),d=r(6100),m=r(5528),g=r(5198),y=r(5890),v=r(8966),b=r(5365),E=r(5856),w=r(890),x=r(4618),S=r(6263),k=r(8038)},8415:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(8300),i=r(3886),o=r(3879);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,o=(0,i.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,i.r)(u),f=!l||2===l&&o||r.includes(u),p=!o||2===o&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(o||!p)),c._close=Boolean(42===a?p:p&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,i,a,u,c,l,f,p,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][1]._close)for(r=h;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[r][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[h][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[h][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[h][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[h][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,o.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,h),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",i,t]]),e[h][1].end.offset-e[h][1].start.offset?(p=2,f=(0,n.V)(f,[["enter",e[h][1],t],["exit",e[h][1],t]])):p=0,(0,n.d)(e,r-1,h-r+3,f),h=r+f.length-p-2;break}h=-1;for(;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},7444:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(488);const i={name:"autolink",tokenize:function(e,t,r){let i=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&i++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),i=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),i=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):p(t)}function p(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&i++<63?(e.consume(t),45===t?p:f):r(t)}function h(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},2929:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(4014),i=r(488);const o={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,i.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},7207:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(4014),i=r(488);const o={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return r(t)};function o(r){return(0,i.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(o,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},1687:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(488);const i={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return(0,n.asciiPunctuation)(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}}},2810:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});var n=r(9477),i=r(488);const o={name:"characterReference",tokenize:function(e,t,r){const o=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=i.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=i.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=i.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==i.asciiAlphanumeric||(0,n.T)(o.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},4897:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(4014),i=r(488);const o={name:"codeFenced",tokenize:function(e,t,r){const o=this,a={tokenize:function(e,t,r){let o=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),o++,s):o<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,p(t)};function p(t){return t===l?(e.consume(t),f++,p):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,h,"whitespace")(t))}function h(t){return null===t||(0,i.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,i.markdownLineEnding)(t)?y(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(t))}function g(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(t)):96===t&&t===l?r(t):(e.consume(t),g)}function y(r){return e.exit("codeFencedFence"),o.interrupt?t(r):v(r)}function v(t){return null===t?E(t):(0,i.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,E,c?(0,n.factorySpace)(e,v,"linePrefix",c+1):v),E)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function E(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},2535:(e,t,r)=>{"use strict";r.d(t,{S:()=>o});var n=r(4014),i=r(488);const o={name:"codeIndented",tokenize:function(e,t,r){const o=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=o.events[o.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,i.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,i.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const o=this;return a;function a(t){return o.parser.lazy[o.now().line]?r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=o.events[o.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,i.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},5180:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var n=r(488);const i={name:"codeText",tokenize:function(e,t,r){let i,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(o=e.enter("codeTextSequence"),i=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),i++,l):i===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(o.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}t=i-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},6814:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(4014),i=r(488),o=r(2988);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?o(t):(0,i.markdownLineEnding)(t)?e.check(s,a,o)(t):(e.consume(t),n)}function o(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,o._)(e),e}},s={tokenize:function(e,t,r){const o=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,i.markdownLineEnding)(n))return r(n);const a=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(o.parser.constructs.flow,r,t)(n)}},partial:!0}},4882:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(917),i=r(7504),o=r(4014),a=r(1559),s=r(6096),u=r(2493),c=r(488);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),i.factoryLabel.call(a,e,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,o.factorySpace)(e,h,"whitespace"),(0,o.factorySpace)(e,h,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function h(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,o.factorySpace)(e,i,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function i(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},6100:(e,t,r)=>{"use strict";r.d(t,{R:()=>i});var n=r(488);const i={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return(0,n.markdownLineEnding)(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):r(i)}}}},5528:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(4014),i=r(488),o=r(8300);const a={name:"headingAtx",tokenize:function(e,t,r){const o=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,i.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),o.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,i.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,i.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,i=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);i-2>a&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4);i>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},n={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,o.d)(e,a,i-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},5198:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(488);const i=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],o=["pre","script","style","textarea"];var a=r(2929);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,p;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),h};function h(i){return 33===i?(e.consume(i),d):47===i?(e.consume(i),y):63===i?(e.consume(i),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(i)?(e.consume(i),l=String.fromCharCode(i),c=!0,v):r(i)}function d(i){return 45===i?(e.consume(i),s=2,m):91===i?(e.consume(i),s=5,l="CDATA[",f=0,g):(0,n.asciiAlpha)(i)?(e.consume(i),s=4,a.interrupt?t:M):r(i)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function g(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:g):r(n)}function y(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),v):r(t)}function v(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&o.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):i.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?w(u):E(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),v):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function E(t){return(0,n.markdownSpace)(t)?(e.consume(t),E):C(t)}function w(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),x):(0,n.markdownSpace)(t)?(e.consume(t),w):C(t)}function x(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),x):S(t)}function S(t){return 61===t?(e.consume(t),k):(0,n.markdownSpace)(t)?(e.consume(t),S):w(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),p=t,A):(0,n.markdownSpace)(t)?(e.consume(t),k):(p=null,D(t))}function A(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===p?(e.consume(t),F):(e.consume(t),A)}function D(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?S(t):(e.consume(t),D)}function F(e){return 47===e||62===e||(0,n.markdownSpace)(e)?w(e):r(e)}function C(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),I):60===t&&1===s?(e.consume(t),R):62===t&&4===s?(e.consume(t),B):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),N):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?T(t):(e.consume(t),O):e.check(u,B,T)(t)}function T(t){return e.exit("htmlFlowData"),j(t)}function j(t){return null===t?z(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},j,z)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function I(t){return 45===t?(e.consume(t),M):O(t)}function R(t){return 47===t?(e.consume(t),l="",L):O(t)}function L(t){return 62===t&&o.includes(l.toLowerCase())?(e.consume(t),B):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),L):O(t)}function N(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),B):45===t&&2===s?(e.consume(t),M):O(t)}function B(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),z(t)):(e.consume(t),B)}function z(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},5890:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(4014),i=r(488);const o={name:"htmlText",tokenize:function(e,t,r){const o=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),k):63===t?(e.consume(t),x):(0,i.asciiAlpha)(t)?(e.consume(t),F):r(t)}function f(t){return 45===t?(e.consume(t),p):91===t?(e.consume(t),s="CDATA[",u=0,y):(0,i.asciiAlpha)(t)?(e.consume(t),w):r(t)}function p(t){return 45===t?(e.consume(t),h):r(t)}function h(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),g):(0,i.markdownLineEnding)(t)?(c=m,R(t)):(e.consume(t),m)}function g(t){return 45===t?(e.consume(t),N):m(t)}function y(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?v:y):r(t)}function v(t){return null===t?r(t):93===t?(e.consume(t),b):(0,i.markdownLineEnding)(t)?(c=v,R(t)):(e.consume(t),v)}function b(t){return 93===t?(e.consume(t),E):v(t)}function E(t){return 62===t?N(t):93===t?(e.consume(t),E):v(t)}function w(t){return null===t||62===t?N(t):(0,i.markdownLineEnding)(t)?(c=w,R(t)):(e.consume(t),w)}function x(t){return null===t?r(t):63===t?(e.consume(t),S):(0,i.markdownLineEnding)(t)?(c=x,R(t)):(e.consume(t),x)}function S(e){return 62===e?N(e):x(e)}function k(t){return(0,i.asciiAlpha)(t)?(e.consume(t),A):r(t)}function A(t){return 45===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),A):D(t)}function D(t){return(0,i.markdownLineEnding)(t)?(c=D,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),D):N(t)}function F(t){return 45===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),F):47===t||62===t||(0,i.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,i.asciiAlpha)(t)?(e.consume(t),P):(0,i.markdownLineEnding)(t)?(c=C,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),C):N(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),T):(0,i.markdownLineEnding)(t)?(c=O,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),O):C(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,j):(0,i.markdownLineEnding)(t)?(c=T,R(t)):(0,i.markdownSpace)(t)?(e.consume(t),T):(e.consume(t),a=void 0,I)}function j(t){return t===a?(e.consume(t),_):null===t?r(t):(0,i.markdownLineEnding)(t)?(c=j,R(t)):(e.consume(t),j)}function _(e){return 62===e||47===e||(0,i.markdownLineEndingOrSpace)(e)?C(e):r(e)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,i.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),I)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function L(t){return e.enter("htmlTextData"),c(t)}function N(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},8966:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(917),i=r(7504),o=r(1559),a=r(6096),s=r(488),u=r(8300),c=r(2493),l=r(3879);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let i,o,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){i=n.events[a][1];break}return function(t){if(!i)return r(t);return i._inactive?u(t):(o=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(p,t,o?t:u)(r):91===r?e.attempt(h,t,o?e.attempt(d,t,u):u)(r):o?t(r):u(r)}function u(e){return i._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,i,o,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(i=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[i][1].end)},p={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",c,t],["enter",f,t]],o=(0,u.V)(o,e.slice(n+1,n+s+3)),o=(0,u.V)(o,[["enter",p,t]]),o=(0,u.V)(o,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,i-3),t)),o=(0,u.V)(o,[["exit",p,t],e[i-2],e[i-1],["exit",f,t]]),o=(0,u.V)(o,e.slice(i+1)),o=(0,u.V)(o,[["exit",c,t]]),(0,u.d)(e,n,e.length,o),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},p={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,i)};function i(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,o.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},h={tokenize:function(e,t,r){const n=this;return function(t){return i.factoryLabel.call(n,e,o,r,"reference","referenceMarker","referenceString")(t)};function o(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},5365:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):r(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},5856:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(8966).Z.resolveAll}},890:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var n=r(4014);const i={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},4618:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(4014),i=r(488),o=r(2929),a=r(8038);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const o=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!n.containerState.marker||t===n.containerState.marker:(0,i.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,p)(t):p(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,i.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),p(t)):r(t)}function p(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(o.w,n.interrupt?r:h,e.attempt(u,m,d))}function h(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,i.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(o.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,i.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(i){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return!(0,i.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===i.containerState.size?t(e):r(e)}),"listItemIndent",i.containerState.size+1)},partial:!0}},6263:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(4014),i=r(488);const o={name:"setextUnderline",tokenize:function(e,t,r){const o=this;let a,s,u=o.events.length;for(;u--;)if("lineEnding"!==o.events[u][1].type&&"linePrefix"!==o.events[u][1].type&&"content"!==o.events[u][1].type){s="paragraph"===o.events[u][1].type;break}return function(t){if(!o.parser.lazy[o.now().line]&&(o.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(n=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},8038:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(4014),i=r(488);const o={name:"thematicBreak",tokenize:function(e,t,r){let o,a=0;return function(t){return e.enter("thematicBreak"),o=t,s(t)};function s(c){return c===o?(e.enter("thematicBreakSequence"),u(c)):(0,i.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,i.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===o?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>i});var n=r(488);function i(e,t,r,i,o,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(i),e.enter(o),e.enter(a),e.consume(t),e.exit(a),p;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(i),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function p(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(o),e.exit(i),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(u),p(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:h)}function d(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(o){return 40===o?++f>l?r(o):(e.consume(o),m):41===o?f--?(e.consume(o),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(i),t(o)):null===o||(0,n.markdownLineEndingOrSpace)(o)?f?r(o):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(i),t(o)):(0,n.asciiControl)(o)?r(o):(e.consume(o),92===o?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},7504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>i});var n=r(488);function i(e,t,r,i,o,a){const s=this;let u,c=0;return function(t){return e.enter(i),e.enter(o),e.consume(t),e.exit(o),e.enter(a),l};function l(p){return null===p||91===p||93===p&&!u||94===p&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(p):93===p?(e.exit(a),e.enter(o),e.consume(p),e.exit(o),e.exit(i),t):(0,n.markdownLineEnding)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},4014:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>i});var n=r(488);function i(e,t,r,i){const o=i?i-1:Number.POSITIVE_INFINITY;let a=0;return function(i){if((0,n.markdownSpace)(i))return e.enter(r),s(i);return t(i)};function s(i){return(0,n.markdownSpace)(i)&&a++<o?(e.consume(i),s):(e.exit(r),t(i))}}},1559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>o});var n=r(4014),i=r(488);function o(e,t,r,o,a,s){let u;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(o),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,i.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:f)}function p(t){return t===u||92===t?(e.consume(t),f):f(t)}}},6096:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>o});var n=r(4014),i=r(488);function o(e,t){let r;return function o(a){if((0,i.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,o;if((0,i.markdownSpace)(a))return(0,n.factorySpace)(e,o,r?"linePrefix":"lineSuffix")(a);return t(a)}}},488:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>i,asciiHexDigit:()=>o,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>p,unicodePunctuation:()=>d,unicodeWhitespace:()=>h});const n=m(/[A-Za-z]/),i=m(/\d/),o=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function p(e){return-2===e||-1===e||32===e}const h=m(/\s/),d=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},8300:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),[].splice.apply(e,o);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function i(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{d:()=>n,V:()=>i})},3886:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var n=r(488);function i(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},4666:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(8300);const i={}.hasOwnProperty;function o(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(i.call(e,r)?e[r]:void 0)||(e[r]={}),o=t[r];let a;for(a in o){i.call(n,a)||(n[a]=[]);const e=o[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const i=[];for(;++r<t.length;)("after"===t[r].add?e:i).push(t[r]);(0,n.d)(e,0,0,i)}},8031:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},2116:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(9477),i=r(8031);const o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(o,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,i.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},2493:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},3879:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!n.includes(o)&&(t=o(t,r),n.push(o))}return t}r.d(t,{C:()=>n})},2988:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(8300);function i(e){const t={};let r,i,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,o(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,i=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(r[1].end=Object.assign({},e[i][1].start),u=e.slice(i,f),u.unshift(r),(0,n.d)(e,i,f-i+1,u))}}return!l}function o(e,t){const r=e[t][1],i=e[t][2];let o=t-1;const a=[],s=r._tokenizer||i.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,p,h=-1,d=r,m=0,g=0;const y=[g];for(;d;){for(;e[++o][1]!==d;);a.push(o),d._tokenizer||(f=i.sliceStream(d),d.next||f.push(null),p&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=r;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(g=h+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),h=y.length;h--;){const t=u.slice(y[h],y[h+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(h=-1;++h<c.length;)l[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return l}},7605:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},480:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:3,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},58:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3428);const i=/[\t ]*(?:\r?\n|\r)/g;function o(){return e=>{(0,n.visit)(e,"text",((e,t,r)=>{const n=[];let o=0;i.lastIndex=0;let a=i.exec(e.value);for(;a;){const t=a.index;o!==t&&n.push({type:"text",value:e.value.slice(o,t)}),n.push({type:"break"}),o=t+a[0].length,a=i.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return o<e.value.length&&n.push({type:"text",value:e.value.slice(o)}),r.children.splice(t,1,...n),t+n.length}))}}},4914:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>o});var n=r(3428);const i={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533};function o(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[i.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==i.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==i.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),o)}function o(n){return[i.carriageReturn,i.lineFeed,i.carriageReturnLineFeed,null,i.backslash,i.leftCurlyBrace].includes(n)?r(n):n===i.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),o)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.visit)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.visit)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},5164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>X});var n=r(4014),i=r(488),o=r(6096);function a(e,t,r,a,s,u,c,l,f,p,h,d,m,g,y){let v,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),E};function E(t){return 35===t?(v=c,w(t)):46===t?(v=l,w(t)):58===t||95===t||(0,i.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),k):y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,E,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,E)(t):j(t)}function w(t){return e.enter(u),e.enter(v),e.enter(v+"Marker"),e.consume(t),e.exit(v+"Marker"),x}function x(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,i.markdownLineEndingOrSpace)(t)?r(t):(e.enter(v+"Value"),e.consume(t),S)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit(v+"Value"),e.exit(v),e.exit(u),E(t)):(e.consume(t),S)}function k(t){return 45===t||46===t||58===t||95===t||(0,i.asciiAlphanumeric)(t)?(e.consume(t),k):(e.exit(f),y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,A)(t):A(t))}function A(t){return 61===t?(e.enter(p),e.consume(t),e.exit(p),D):(e.exit(u),E(t))}function D(t){return null===t||60===t||61===t||62===t||96===t||125===t||y&&(0,i.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(h),e.enter(m),e.consume(t),e.exit(m),b=t,C):y&&(0,i.markdownSpace)(t)?(0,n.factorySpace)(e,D,"whitespace")(t):!y&&(0,i.markdownLineEndingOrSpace)(t)?(0,o.factoryWhitespace)(e,D)(t):(e.enter(d),e.enter(g),e.consume(t),b=void 0,F)}function F(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit(g),e.exit(d),e.exit(u),E(t)):(e.consume(t),F)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(h),e.exit(u),T):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(t)):null===t?r(t):(0,i.markdownLineEnding)(t)?y?r(t):(0,o.factoryWhitespace)(e,P)(t):(e.enter(g),e.consume(t),O)}function O(t){return t===b||null===t||(0,i.markdownLineEnding)(t)?(e.exit(g),P(t)):(e.consume(t),O)}function T(e){return 125===e||(0,i.markdownLineEndingOrSpace)(e)?E(e):j(e)}function j(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,o,a,s){let u=0,c=0;return function(t){return e.enter(n),e.enter(o),e.consume(t),e.exit(o),l};function l(r){return 93===r?(e.enter(o),e.consume(r),e.exit(o),e.exit(n),t):(e.enter(a),f(r))}function f(t){return null===t||u>999?r(t):93!==t||c--?(0,i.markdownLineEnding)(t)?s?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):(e.enter("chunkText",{contentType:"text"}),p(t)):h(t)}function p(t){return null===t||(0,i.markdownLineEnding)(t)||u>999?(e.exit("chunkText"),f(t)):91===t&&++c>3?r(t):93!==t||c--?(e.consume(t),92===t?d:p):(e.exit("chunkText"),h(t))}function h(r){return e.exit(a),e.enter(o),e.consume(r),e.exit(o),e.exit(n),t}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,p):p(t)}}function u(e,t,r,n){const o=this;return function(t){if((0,i.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,i.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===o.previous||95===o.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const o=this,a=o.events[o.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,h=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),h++,d):h<3?r(t):(e.exit("directiveContainerSequence"),u.call(o,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,g,g)(t):g(t)}function g(t){return 123===t?e.attempt(f,y,y)(t):y(t)}function y(t){return(0,n.factorySpace)(e,v,"whitespace")(t)}function v(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,i.markdownLineEnding)(n)?o.interrupt?t(n):e.attempt(p,E,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function E(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),w(r))}function w(t){return null===t?D(t):e.attempt({tokenize:F,partial:!0},D,s?(0,n.factorySpace)(e,x,"linePrefix",s+1):x)(t)}function x(t){if(null===t)return D(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,S(t)}function S(t){if(null===t){const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,D(t)}return(0,i.markdownLineEnding)(t)?e.check(p,k,A)(t):(e.consume(t),S)}function k(t){e.consume(t);const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,w}function A(t){const r=e.exit("chunkDocument");return o.parser.lazy[r.start.line]=!1,D(t)}function D(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function F(e,t,r){let o=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),o++,a):o<h?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},p={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const h={tokenize:function(e,t,r){const o=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(o,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,i.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const g={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,i,r,"directiveTextName")};function i(t){return 58===t?r(t):91===t?e.attempt(y,o,o)(t):o(t)}function o(t){return 123===t?e.attempt(v,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},y={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},v={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],E={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function w(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function x(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function S(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||w(e)}var k=r(9477);const A=String.fromCharCode,D=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function F(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let i,o,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(o=t.position.indent,i=t.position.start):i=t.position);let c,l=(i?i.line:0)||1,f=(i?i.column:0)||1,p=d();for(a--;++a<=e.length;)if(10===c&&(f=(o?o[s]:0)||1),c=e.charCodeAt(a),38===c){const i=e.charCodeAt(a+1);if(9===i||10===i||12===i||32===i||38===i||60===i||Number.isNaN(i)||r&&i===r){u+=A(c),f++;continue}const o=a+1;let s,l=o,y=o;if(35===i){y=++l;const t=e.charCodeAt(y);88===t||120===t?(s="hexadecimal",y=++l):s="decimal"}else s="named";let v="",D="",F="";const P="named"===s?S:"decimal"===s?w:x;for(y--;++y<=e.length;){const t=e.charCodeAt(y);if(!P(t))break;F+=A(t),"named"===s&&b.includes(F)&&(v=F,D=(0,k.T)(F))}let O=59===e.charCodeAt(y);if(O){y++;const e="named"===s&&(0,k.T)(F);e&&(v=F,D=e)}let T=1+y-o,j="";if(O||!1!==t.nonTerminated)if(F)if("named"===s){if(O&&!D)m(5,1);else if(v!==F&&(y=l+v.length,T=1+y-l,O=!1),!O){const r=v?1:3;if(t.attribute){const t=e.charCodeAt(y);61===t?(m(r,T),D=""):S(t)?D="":m(r,T)}else m(r,T)}j=D}else{O||m(2,T);let e=Number.parseInt(F,"hexadecimal"===s?16:10);if((h=e)>=55296&&h<=57343||h>1114111)m(7,T),j=A(65533);else if(e in E)m(6,T),j=E[e];else{let t="";C(e)&&m(6,T),e>65535&&(e-=65536,t+=A(e>>>10|55296),e=56320|1023&e),j=t+A(e)}}else"named"!==s&&m(4,T);else;if(j){g(),p=d(),a=y-1,f+=y-o+1,n.push(j);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,j,{start:p,end:r},e.slice(o-1,y)),p=r}else F=e.slice(o-1,y),u+=F,f+=F.length,a=y-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?g():(u+=A(c),f++);var h;return n.join("");function d(){return{line:l,column:f,offset:a+((i?i.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,D[e],n,e))}function g(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:p,end:d()}),u="")}}function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var T=r(213);const j=function(e,t,r,n){"function"==typeof t&&"function"!=typeof r&&(n=r,r=t,t=null);const i=(0,T.convert)(t),o=n?-1:1;!function e(a,s,u){const c="object"==typeof a&&null!==a?a:{};let l;"string"==typeof c.type&&(l="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0,Object.defineProperty(f,"name",{value:"node ("+c.type+(l?"<"+l+">":"")+")"}));return f;function f(){let c,l,f,p=[];if((!t||i(a,s,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(a,u)),false===p[0]))return p;if(a.children&&"skip"!==p[0])for(l=(n?a.children.length:-1)+o,f=u.concat(a);l>-1&&l<a.children.length;){if(c=e(a.children[l],l,f)(),false===c[0])return c;l="number"==typeof c[1]?c[1]:l+o}return p}}(e,null,[])()};var _=r(5471),I=r(7567),R=r(1481);const L={}.hasOwnProperty,N=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){z.call(this,"containerDirective",e)},directiveContainerAttributes:$,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){z.call(this,"leafDirective",e)},directiveLeafAttributes:$,directiveText:function(e){z.call(this,"textDirective",e)},directiveTextAttributes:$},exit:{directiveContainer:Q,directiveContainerAttributeClassValue:V,directiveContainerAttributeIdValue:q,directiveContainerAttributeName:G,directiveContainerAttributeValue:H,directiveContainerAttributes:W,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:U,directiveLeaf:Q,directiveLeafAttributeClassValue:V,directiveLeafAttributeIdValue:q,directiveLeafAttributeName:G,directiveLeafAttributeValue:H,directiveLeafAttributes:W,directiveLeafName:U,directiveText:Q,directiveTextAttributeClassValue:V,directiveTextAttributeIdValue:q,directiveTextAttributeName:G,directiveTextAttributeValue:H,directiveTextAttributes:W,directiveTextName:U}},B={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function z(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function U(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function $(){this.setData("directiveAttributes",[]),this.buffer()}function q(e){this.getData("directiveAttributes").push(["id",F(this.sliceSerialize(e))])}function V(e){this.getData("directiveAttributes").push(["class",F(this.sliceSerialize(e))])}function H(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=F(this.sliceSerialize(e))}function G(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function W(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Q(e){this.exit(e)}function K(e,t,r){const n=function(e){let t=0;"containerDirective"===e.type?(j(e,"containerDirective",r),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t);function r(e,r){let n=r.length,i=0;for(;n--;)"containerDirective"===r[n].type&&i++;i>t&&(t=i)}}(e),i=r.enter(e.type);let o=n+(e.name||"")+function(e,t){let r=e;if("containerDirective"===e.type){const t=(e.children||[])[0];if(!Y(t))return"";r=t}const n=t.enter("label"),i=t.enter(e.type+"Label"),o=(0,I.p)(r,t,{before:"[",after:"]"});return i(),n(),o?"["+o+"]":""}(e,r)+function(e,t){const r=(0,R.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],i=e.attributes||{},o=[];let a,s,u,c;for(c in i)if(L.call(i,c)&&void 0!==i[c]&&null!==i[c]){const e=String(i[c]);if("id"===c)u=N.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let i=-1;for(;++i<t.length;)(N.test(t[i])?n:r).push(t[i]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else o.push(l(c,e))}a&&o.unshift(a);s&&o.unshift(s);u&&o.unshift(u);return o.length>0?"{"+o.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r);if("containerDirective"===e.type){const t=function(e,t){Y((e.children||[])[0])&&(e=Object.assign({},e,{children:e.children.slice(1)}));return(0,_.K)(e,t)}(e,r);t&&(o+="\n"+t),o+="\n"+n}return i(),o}function Y(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function X(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:g},flow:{58:[c,h]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",B)}},9715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(488),i=r(8326);const o=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?i(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw o("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw o("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw o("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw o("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,i=t+"Value",o=t+"Fence",a=o+"Sequence",s={tokenize:function(e,t,r){let i=0;return function(t){if(t===u.charCodeAt(i))return e.enter(o),e.enter(a),s(t);return r(t)};function s(t){return i===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(i++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(i){return null===i||(0,n.markdownLineEnding)(i)?(e.exit(o),t(i)):r(i)}},partial:!0};let u;return{tokenize:function(o,a,c){const l=this;return function(n){const i=l.now();if(1!==i.column||!r&&1!==i.line)return c(n);return o.enter(t),u=p(e,"open"),o.attempt(s,f,c)(n)};function f(t){return u=p(e,"close"),m(t)}function h(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(o.enter(i),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(o.exit(i),m(e)):(o.consume(e),d)}function m(e){return null===e?c(e):(o.enter("lineEnding"),o.consume(e),o.exit("lineEnding"),o.attempt(s,g,h))}function g(e){return o.exit(t),a(e)}},concrete:!0}}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function g(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function y(e){const t=v(e,"open"),r=v(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function v(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function E(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n,i,o=-1;for(;++o<t.length;)n=t[o],i=p(n,"open").charCodeAt(0),i in r?r[i].push(f(n)):r[i]=[f(n)];return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let i=-1;for(;++i<t.length;){const e=t[i];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=g}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let i=-1;for(;++i<n.length;){const e=n[i];r[e.type]=y(e),t.push({atBreak:!0,character:v(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},3314:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Te});var n=r(4666),i=r(488);const o={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),o):r(t)}function o(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,i.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,o;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,i.asciiControl)(t)||(0,i.unicodeWhitespace)(t)||45!==t&&(0,i.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(o=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return o||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,i)(a):(40===a&&r++,41===a?e.check(u,o,i)(a):y(a)?t(a):g(a)?e.check(u,t,i)(a):(e.consume(a),n))}function i(t){return e.consume(t),n}function o(e){return r--,r<0?t(e):i(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(i){return g(i)?(e.consume(i),n):y(i)?t(i):r(i)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,i.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),o):r(t)}function o(e){return y(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(o,e.attempt(a,e.attempt(s,i),r),r)(t)};function i(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!E(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),o};function o(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,i.asciiControl)(t)||(0,i.unicodeWhitespace)(t)||(0,i.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:E},p={tokenize:function(e,t,r){const n=this;let o,a;return function(t){if(!v(t)||!w(n.previous)||x(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return v(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,h,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,i.asciiAlphanumeric)(t)?(!a&&(0,i.asciiDigit)(t)&&(a=!0),e.consume(t),c):h(t)}function l(t){return e.consume(t),o=!0,a=void 0,c}function f(t){return e.consume(t),p}function p(t){return 46===t?e.check(u,r,l)(t):c(t)}function h(n){return o&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:w},h={},d={text:h};let m=48;for(;m<123;)h[m]=p,m++,58===m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function y(e){return null===e||60===e||(0,i.markdownLineEndingOrSpace)(e)}function v(e){return 43===e||45===e||46===e||95===e||(0,i.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,i.markdownLineEndingOrSpace)(e)}function E(e){return null===e||!(0,i.asciiAlpha)(e)}function w(e){return 47!==e&&E(e)}function x(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}h[43]=p,h[45]=p,h[46]=p,h[95]=p,h[72]=[p,f],h[104]=[p,f],h[87]=[p,l],h[119]=[p,l];var S=r(2929),k=r(4014),A=r(2493);const D={tokenize:function(e,t,r){const n=this;return(0,k.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function F(e,t,r){const n=this;let i=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;i--;){const e=n.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return r(i);const s=(0,A.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!o.includes(s.slice(1)))return r(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function C(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),o.includes((0,A.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,i.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let o;return null===t||91===t||u>999?r(t):93===t?s?(o=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,A.normalizeIdentifier)(n.sliceSerialize(o)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):r(t):(0,i.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,i.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,i.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,k.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return o.includes(a)||o.push(a),t(e)}}function T(e,t,r){return e.check(S.w,t,e.attempt(D,t,r))}function j(e){e.exit("gfmFootnoteDefinition")}var _=r(8300),I=r(3886),R=r(3879);function L(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const u=(0,I.r)(i);if(126===o)return a>1?n(o):(e.consume(o),a++,s);if(a<2&&!t)return n(o);const c=e.exit("strikethroughSequenceTemporary"),l=(0,I.r)(o);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(o)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},o={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",o,t]];(0,_.d)(a,a.length,0,(0,R.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",i,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const N={flow:{null:{tokenize:function(e,t,r){const n=this,o=[];let a,s,u=0;return function(t){if(e.enter("table")._align=o,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),p(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,i.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const i=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=i,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=i,r(e)}))(t)}(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),p(t)))}function f(t){return(0,i.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function p(t){return null===t||124===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?h:p)}function h(t){return 92===t||124===t?(e.consume(t),p):p(t)}function d(t){return null===t||(0,i.markdownLineEnding)(t)?b(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,o.push(null),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o.push("left"),y):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,i.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o[o.length-1]="left"===o[o.length-1]?"center":"right",v):d(t))}function y(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,g):r(t)}function v(t){return null===t||(0,i.markdownLineEnding)(t)?b(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===o.length?null===t?E(t):e.check(M,E,e.attempt({tokenize:O,partial:!0},(0,k.factorySpace)(e,w,"linePrefix",4),E))(t):r(t)}function E(r){return e.exit("table"),t(r)}function w(t){return e.enter("tableBody"),x(t)}function x(t){return e.enter("tableRow"),124===t?S(t):(e.enter("temporaryTableCellContent"),F(t))}function S(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),A}function A(t){return null===t||(0,i.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,k.factorySpace)(e,x,"linePrefix",4),P))(t)}(t):(0,i.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),D):124===t?S(t):(e.enter("temporaryTableCellContent"),F(t))}function D(t){return(0,i.markdownSpace)(t)?(e.consume(t),D):(e.exit("whitespace"),A(t))}function F(t){return null===t||124===t||(0,i.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),A(t)):(e.consume(t),92===t?C:F)}function C(t){return 92===t||124===t?(e.consume(t),F):F(t)}function P(t){return e.exit("tableBody"),E(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,k.factorySpace)(e,o,"linePrefix")};function o(o){if(n.parser.lazy[n.now().line]||null===o||(0,i.markdownLineEnding)(o))return r(o);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(o):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(o))}}},resolve:function(e,t){let r,n,i,o,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(i&&("temporaryTableCellContent"===l.type&&(o=o||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[o][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(o,a-o+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-o-3,o=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const i={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",i,t]),e.splice(s,0,["enter",i,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(i="enter"===e[c][0],i&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),o};function o(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:o):null===a||(0,i.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const B={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return(0,i.markdownSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:U},t,r)):r(n)}}},z={text:{91:B}};function U(e,t,r){const n=this;return(0,k.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"whitespace"===o[1].type&&null!==e&&!(0,i.markdownLineEndingOrSpace)(e)?t(e):r(e)}),"whitespace")}function $(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;-1!==i;)n++,i=r.indexOf(t,i+t.length);return n}var q=r(7918),V=r(213);const H={}.hasOwnProperty,G=function(e,t,r,n){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,r]],i=n):(o=t,i=r),i||(i={});const a=(0,V.convert)(i.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([W(e[r][0]),Q(e[r][1])])}else{let r;for(r in e)H.call(e,r)&&t.push([W(r),Q(e[r])])}return t}(o);let u=-1;for(;++u<s.length;)(0,q.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=s[u][0],n=s[u][1];let i,o=0,a=t.children.indexOf(e),c=[];r.lastIndex=0;let l=r.exec(e.value);for(;l;){i=l.index;let t=n(...l,{index:l.index,input:l.input});if("string"==typeof t&&(t=t.length>0?{type:"text",value:t}:void 0),!1!==t&&(o!==i&&c.push({type:"text",value:e.value.slice(o,i)}),Array.isArray(t)?c.push(...t):t&&c.push(t),o=i+l[0].length),!r.global)break;l=r.exec(e.value)}void 0===i?(c=[e],a--):(o<e.value.length&&c.push({type:"text",value:e.value.slice(o)}),t.children.splice(a,1,...c));return a+c.length+1}(e,r)}};function W(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Q(e){return"function"==typeof e?e:()=>e}const K="phrasing",Y=["autolink","link","image","label"],X={transforms:[function(e){G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:J,literalAutolinkHttp:J,literalAutolinkWww:J},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Z={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Y},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Y}]};function J(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,i){let o="";if(!re(i))return!1;if(/^w/i.test(t)&&(r=t+r,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let r,n,i,o;if(t)for(e=e.slice(0,t.index),o=t[0],r=o.indexOf(")"),n=$(e,"("),i=$(e,")");-1!==r&&n>i;)e+=o.slice(0,r+1),o=o.slice(r+1),r=o.indexOf(")"),i++;return[e,o]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[_-\d]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.unicodeWhitespace)(r)||(0,i.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(2116);function ie(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var oe=r(5471),ae=r(4671),se=r(3316),ue=r(3428),ce=r(3339);let le=!1,fe=!1;function pe(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,r){const n=r.enter("footnoteDefinition"),i=r.enter("label"),o=(0,se.T)(r,ie(e),{before:"^",after:"]"}),a="[^"+o+"]:";i();const s=(0,ae.Q)((0,oe.K)(e,r),(function(e,t,r){if(t)return(r?"":" ")+e;return(r?a:a+" ")+e}));n(),!le&&o.includes(":")&&(console.warn("[mdast-util-gfm-footnote] Warning: Found a colon in footnote identifier `"+o+"`. GitHub currently crahes on colons in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),le=!0);fe||(0,ue.visit)(e,"list",(()=>(console.warn("[mdast-util-gfm-footnote] Warning: Found a list in a footnote definition. GitHub currently crahes on lists in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),fe=!0,ce.BK)));return s},footnoteReference:e}};function e(e,t,r){const n=r.enter("footnoteReference"),i=r.enter("reference"),o=(0,se.T)(r,ie(e),{before:"^",after:"]"});return i(),n(),"[^"+o+"]"}}var he=r(7567);const de={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},me={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:ge}};function ge(e,t,r){const n=r.enter("emphasis"),i=(0,he.p)(e,r,{before:"~",after:"~"});return n(),"~~"+i+"~~"}ge.peek=function(){return"~"};var ye=r(7866);function ve(e,t,r){let n=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<r.unsafe.length;){const e=r.unsafe[o],t=(0,ye.T)(e);let i;if(e.atBreak)for(;i=t.exec(n);){let e=i.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(i.index+1)}}return i+n+i}function be(e){return null==e?"":String(e)}function Ee(e){return e.length}function we(e){const t="string"==typeof e?e.charCodeAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}ve.peek=function(){return"`"};const xe={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t,children:[]},e),this.setData("inTable",!0)},tableData:ke,tableHeader:ke,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ae));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Se,tableHeader:Se,tableRow:Se}};function Se(e){this.exit(e)}function ke(e){this.enter({type:"tableCell",children:[]},e)}function Ae(e,t){return"|"===t?t:e}function De(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r){return s(function(e,t){const r=e.children;let n=-1;const i=[],o=t.enter("table");for(;++n<r.length;)i[n]=u(r[n],t);return o(),i}(e,r),e.align)},tableRow:function(e,t,r){const n=s([u(e,r)]);return n.slice(0,n.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=ve(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r){const n=r.enter("tableCell"),i=r.enter("phrasing"),a=(0,he.p)(e,r,{before:o,after:o});return i(),n(),a}function s(e,t){return function(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||Ee,o=[];let a=-1;const s=[],u=[],c=[];let l,f,p,h,d,m,g,y,v,b=0;for(;++a<e.length;){for(l=-1,f=[],p=[],e[a].length>b&&(b=e[a].length);++l<e[a].length;)d=be(e[a][l]),!1!==r.alignDelimiters&&(h=i(d),p[l]=h,(void 0===c[l]||h>c[l])&&(c[l]=h)),f.push(d);s[a]=f,u[a]=p}if(l=-1,"object"==typeof n&&"length"in n)for(;++l<b;)o[l]=we(n[l]);else for(v=we(n);++l<b;)o[l]=v;for(l=-1,f=[],p=[];++l<b;)v=o[l],g="",y="",99===v?(g=":",y=":"):108===v?g=":":114===v&&(y=":"),h=!1===r.alignDelimiters?1:Math.max(1,c[l]-g.length-y.length),d=g+"-".repeat(h)+y,!1!==r.alignDelimiters&&(h=g.length+h+y.length,h>c[l]&&(c[l]=h),p[l]=h),f[l]=d;s.splice(1,0,f),u.splice(1,0,p),a=-1;const E=[];for(;++a<s.length;){for(f=s[a],p=u[a],l=-1,m=[];++l<b;)d=f[l]||"",g="",y="",!1!==r.alignDelimiters&&(h=c[l]-(p[l]||0),v=o[l],114===v?g=" ".repeat(h):99===v?h%2?(g=" ".repeat(h/2+.5),y=" ".repeat(h/2-.5)):(g=" ".repeat(h/2),y=g):y=" ".repeat(h)),!1===r.delimiterStart||l||m.push("|"),!1===r.padding||!1===r.alignDelimiters&&""===d||!1===r.delimiterStart&&!l||m.push(" "),!1!==r.alignDelimiters&&m.push(g),m.push(d),!1!==r.alignDelimiters&&m.push(y),!1!==r.padding&&m.push(" "),!1===r.delimiterEnd&&l===b-1||m.push("|");E.push(!1===r.delimiterEnd?m.join("").replace(/ +$/,""):m.join(""))}return E.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:i})}function u(e,t){const r=e.children;let n=-1;const i=[],o=t.enter("tableRow");for(;++n<r.length;)i[n]=a(r[n],0,t);return o(),i}}function Fe(e,t,r){const n=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=r.enter("listItem"),s=(0,ae.Q)((0,oe.K)(e,r),(function(e,t,r){if(t)return(r?"":" ".repeat(o))+e;return(r?i:i+" ".repeat(o-i.length))+e}));return a(),s}const Ce={exit:{taskListCheckValueChecked:Oe,taskListCheckValueUnchecked:Oe,paragraph:function(e){const t=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],n=t.children,i=r.children[0];let o,a=-1;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&i&&"text"===i.type){for(;++a<n.length;){const e=n[a];if("paragraph"===e.type){o=e;break}}o===r&&(i.value=i.value.slice(1),0===i.value.length?r.children.shift():(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}this.exit(e)}}},Pe={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r){const n=e.children[0];let i=Fe(e,t,r);"boolean"==typeof e.checked&&n&&"paragraph"===n.type&&(i=i.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(t){return t+"["+(e.checked?"x":" ")+"] "})));return i}}};function Oe(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Te(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:T},exit:j}},text:{91:{tokenize:P},93:{add:"after",tokenize:F,resolveTo:C}}},L(e),N,z])}(e)),r("fromMarkdownExtensions",[X,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,A.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,A.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}}},de,xe,Ce]),r("toMarkdownExtensions",function(e){return{extensions:[Z,pe(),me,De(e),Pe]}}(e))}},7265:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>le});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Y,contentInitial:()=>V,disable:()=>X,document:()=>q,flow:()=>G,flowInitial:()=>H,insideSpan:()=>K,string:()=>W,text:()=>Q});var i=r(8717),o=r(4666),a=r(4014),s=r(488);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),i)}}};var c=r(8300);const l={tokenize:function(e){const t=this,r=[];let n,i,o,a=0;return u;function u(n){if(a<r.length){const i=r[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,p)(n)}return p(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&w();const r=t.events.length;let i,o=r;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}E(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},i),s++;return(0,c.d)(t.events,o+1,0,t.events.slice(r)),t.events.length=s,p(e)}return u(e)}function p(i){if(a===r.length){if(!n)return m(i);if(n.currentConstruct&&n.currentConstruct.concrete)return y(i);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,h,d)(i)}function h(e){return n&&w(),E(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,o=t.now().offset,y(e)}function m(r){return t.containerState={},e.attempt(f,g,y)(r)}function g(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function y(r){return null===r?(n&&w(),E(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:n}),v(r))}function v(r){return null===r?(b(e.exit("chunkFlow"),!0),E(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),v)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=i,i&&(i.next=e),i=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<o&&(!n.events[e][1].end||n.events[e][1].end.offset>o))return;const r=t.events.length;let i,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(i){s=t.events[u][1].end;break}i=!0}for(E(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function E(n){let i=r.length;for(;i-- >n;){const n=r[i];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function w(){n.write([null]),i=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var p=r(2929),h=r(6814);const d={tokenize:function(e){const t=this,r=e.attempt(p.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(h.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},g=v("string"),y=v("text");function v(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],i=t.attempt(n,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?E:void 0)}}function b(e){return function(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function E(e,t){let r=-1;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],i=t.sliceStream(n);let o,a=i.length,s=-1,u=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)o=!0,u++;else if(-1!==e){a++;break}}if(u){const i={type:r===e.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},i.start),n.start.offset===n.end.offset?Object.assign(n,i):(e.splice(r,0,["enter",i,t],["exit",i,t]),r+=2)}r++}return e}var w=r(3879);function x(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,S()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));p.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=g(),p.events.push(["enter",r,p]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=g(),p.events.push(["exit",t,p]),t},attempt:E((function(e,t){x(e,t.from)})),check:E(b),interrupt:E(b,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const o=e[r];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,n.push(a)}return n.join("")}(m(e),t)},now:g,defineSkip:function(e){i[e.line]=e.column,S()},write:function(e){if(a=(0,c.V)(a,e),y(),null!==a[a.length-1])return[];return x(t,0),p.events=(0,w.C)(o,p.events,p),p.events}};let h,d=t.tokenize.call(p,f);return t.resolveAll&&o.push(t),p;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;r===i?a=[e[r].slice(n,o)]:(a=e.slice(r,i),n>-1&&(a[0]=a[0].slice(n)),o>0&&a.push(e[i].slice(0,o)));return a}(a,e)}function g(){return Object.assign({},n)}function y(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)v(t.charCodeAt(n._bufferIndex));else v(t)}}function v(e){l=void 0,h=e,d=d(e)}function b(e,t){t.restore()}function E(e,t){return function(r,i,o){let a,s,c,h;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?o:m(e[s])}function m(e){return function(r){h=function(){const e=g(),t=p.previous,r=p.currentConstruct,i=p.events.length,o=Array.from(u);return{restore:a,from:i};function a(){n=e,p.previous=t,p.currentConstruct=r,p.events.length=i,u=o,S()}}(),c=e,e.partial||(p.currentConstruct=e);if(e.name&&p.parser.constructs.disable.null.includes(e.name))return v(r);return e.tokenize.call(t?Object.assign(Object.create(p),t):p,f,y,v)(r)}}function y(t){return l=!0,e(c,h),i}function v(e){return l=!0,h.restore(),++s<a.length?m(a[s]):o}}}function x(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,c.d)(p.events,t,p.events.length-t,e.resolve(p.events.slice(t),p)),e.resolveTo&&(p.events=e.resolveTo(p.events,p))}function S(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}var S=r(4618),k=r(7207),A=r(4882),D=r(2535),F=r(5528),C=r(8038),P=r(6263),O=r(5198),T=r(4897),j=r(2810),_=r(1687),I=r(890),R=r(5365),L=r(8415),N=r(7444),M=r(5890),B=r(5856),z=r(6100),U=r(8966),$=r(5180);const q={42:S.p,43:S.p,45:S.p,48:S.p,49:S.p,50:S.p,51:S.p,52:S.p,53:S.p,54:S.p,55:S.p,56:S.p,57:S.p,62:k.m},V={91:A.D},H={[-2]:D.S,[-1]:D.S,32:D.S},G={35:F.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:T._,126:T._},W={38:j.u,92:_.L},Q={[-5]:I.g,[-4]:I.g,[-3]:I.g,33:R.C,38:j.u,42:L.v,60:[N.j,M.L],91:B.F,92:[z.R,_.L],93:U.Z,95:L.v,96:$.h},K={null:[L.v,m]},Y={null:[42,95]},X={null:[]};const Z=/[\0\t\n\r]/g;var J=r(2988);var ee=r(8031),te=r(2116),re=r(2493),ne=r(9477),ie=r(1513);const oe={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e={}){const t=se({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(pe),autolinkProtocol:P,autolinkEmail:P,atxHeading:c(ae),blockQuote:c(K),characterEscape:P,characterReference:P,codeFenced:c(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:c(Y,l),codeText:c(X,l),codeTextData:P,data:P,codeFlowValue:P,definition:c(Z),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:c(J),hardBreakEscape:c(ue),hardBreakTrailing:c(ue),htmlFlow:c(le,l),htmlFlowData:P,htmlText:c(le,l),htmlTextData:P,image:c(fe),label:l,link:c(pe),listItem:c(de),listItemValue:g,listOrdered:c(he,m),listUnordered:c(he),paragraph:c(me),reference:q,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:c(ae),strong:c(ge),thematicBreak:c(ve)},exit:{atxHeading:p(),atxHeadingSequence:A,autolink:p(),autolinkEmail:Q,autolinkProtocol:W,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:H,characterReferenceMarkerNumeric:H,characterReferenceValue:G,codeFenced:p(E),codeFencedFence:b,codeFencedFenceInfo:y,codeFencedFenceMeta:v,codeFlowValue:O,codeIndented:p(w),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:k,definitionLabelString:x,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(j),hardBreakTrailing:p(j),htmlFlow:p(_),htmlFlowData:O,htmlText:p(I),htmlTextData:O,image:p(N),label:B,labelText:M,lineEnding:T,link:p(L),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:V,resourceDestinationString:z,resourceTitleString:U,resource:$,setextHeading:p(C),setextHeadingLineSequence:F,setextHeadingText:D,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),r={};return n;function n(e){let r={type:"root",children:[]};const n=[],i=[],c={stack:[r],tokenStack:n,config:t,enter:f,exit:h,buffer:l,resume:d,setData:a,getData:s};let p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])i.push(p);else{p=o(e,i.pop(),p)}for(p=-1;++p<e.length;){const r=t[e[p][0]];oe.call(r,e[p][1].type)&&r[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},c),e[p][1])}if(n.length>0){const e=n[n.length-1];(e[1]||ce).call(c,void 0,e[0])}for(r.position={start:u(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:u(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r}function o(e,t,r){let n,i,o,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||o||(o=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,o=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e){return{line:e.line,column:e.column,offset:e.offset}}function c(e,t){return r;function r(r){f.call(this,e(r),r),t&&t.call(this,r)}}function l(){this.stack.push({type:"fragment",children:[]})}function f(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:u(t.start)},e}function p(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,ie.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||ce).call(this,e,n[0])}return r.position.end=u(e.end),r}function d(){return(0,i.B)(this.stack.pop())}function m(){a("expectingFirstListItemValue",!0)}function g(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function y(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function v(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function b(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function S(){const e=this.resume();this.stack[this.stack.length-1].title=e}function k(){const e=this.resume();this.stack[this.stack.length-1].url=e}function A(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function D(){a("setextHeadingSlurpLineEnding",!0)}function F(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function C(){a("setextHeadingSlurpLineEnding")}function P(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ye(),r.position={start:u(e.start)},t.children.push(r)),this.stack.push(r)}function O(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=u(e.end)}function T(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=u(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(P.call(this,e),O.call(this,e))}function j(){a("atHardBreak",!0)}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function I(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function N(){const e=this.stack[this.stack.length-1];s("inReference")?(e.type+="Reference",e.referenceType=s("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),a("referenceType")}function M(e){const t=this.stack[this.stack.length-2],r=this.sliceSerialize(e);t.label=(0,te.v)(r),t.identifier=(0,re.normalizeIdentifier)(r).toLowerCase()}function B(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];a("inReference",!0),"link"===r.type?r.children=e.children:r.alt=t}function z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function U(){const e=this.resume();this.stack[this.stack.length-1].title=e}function $(){a("inReference")}function q(){a("referenceType","collapsed")}function V(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function H(e){a("characterReferenceType",e.type)}function G(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;r?(n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType")):n=(0,ne.T)(t);const i=this.stack.pop();i.value+=n,i.position.end=u(e.end)}function W(e){O.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Q(e){O.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function K(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function X(){return{type:"inlineCode",value:""}}function Z(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function ae(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function le(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function he(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,J._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,o.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(g),text:r(y)};return t;function r(e){return function(r){return x(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(i,o,a){const s=[];let u,c,l,f,p;for(i=r+i.toString(o),l=0,r="",n&&(65279===i.charCodeAt(0)&&l++,n=void 0);l<i.length;){if(Z.lastIndex=l,u=Z.exec(i),f=u&&void 0!==u.index?u.index:i.length,p=i.charCodeAt(f),!u){r=i.slice(l);break}if(10===p&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(i.slice(l,f)),t+=f-l),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?se(e,n):ue(e,n)}return e}function ue(e,t){let r;for(r in t)if(oe.call(t,r)){const n="canContainEols"===r||"transforms"===r,i=(oe.call(e,r)?e[r]:void 0)||(e[r]=n?[]:{}),o=t[r];o&&(n?e[r]=[...i,...o]:Object.assign(i,o))}}function ce(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,ie.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ie.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,ie.y)({start:t.start,end:t.end})+") is still open")}const le=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},3085:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>E});var i=r(8809),o=r(229);function a(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function i(o,...a){const s=e[++r];let u=-1;if(o)n(o);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(i);try{a=e(...t)}catch(e){const t=e;if(n&&r)throw t;return i(t)}n||(a instanceof Promise?a.then(o,i):a instanceof Error?i(a):o(a))}function i(e,...n){r||(r=!0,t(e,...n))}function o(e){i(null,e)}}(s,i)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(1513);class c extends Error{constructor(e,t,r){var n,i=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(r=t,t=null),"string"==typeof r&&(-1===(n=r.indexOf(":"))?i[1]=r:(i[0]=r.slice(0,n),i[1]=r.slice(n+1))),t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="object"==typeof e?e.stack:"",this.reason=this.message,this.line=o.start.line,this.column=o.start.column,this.source=i[0],this.ruleId=i[1],this.position=o,this.file,this.fatal,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else i<0&&(r=!0,i=o+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(r){n=o+1;break}}else a<0&&(r=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));n===i?i=a:i<0&&(i=e.length);return e.slice(n,i)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,i=0,o=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?o<0?o=r:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=r+1;break}}if(o<0||n<0||0===a||1===a&&o===n-1&&o===i+1)return"";return e.slice(o,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,i="",o=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(n=i.lastIndexOf("/"),n!==i.length-1){n<0?(i="",o=0):(i=i.slice(0,n),o=i.length-1-i.lastIndexOf("/")),a=u,s=0;continue}}else if(i.length>0){i="",o=0,a=u,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return i}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t;t=e?"string"==typeof e||i(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=d(e)),v(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){v(e,"basename"),y(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(y(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){v(e,"stem"),y(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function y(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function v(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const E=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(A("data",u),c[e]=t,f):w.call(c,e)&&c[e]||null;if(e)return A("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[1]=void 0);const i=e.call(f,...n);"function"==typeof i&&t.use(i)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(A("use",u),null==e);else if("function"==typeof e)p(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function i(e){if("function"==typeof e)p(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;p(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){i(e[t])}}}function p(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(a(n[1])&&a(t)&&(t=o(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=C(e),r=f.Parser;if(S("parse",r),x(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(k("stringify",n),D(e),x(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){D(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(i);function i(i,o){function a(t,r,a){r=r||e,t?o(t):i?i(r):n(null,r,a)}t.run(e,C(r),a)}i(null,n)},f.runSync=function(e,t){let r,i;return f.run(e,t,o),F("runSync","run",i),r;function o(e,t){n(e),r=t,i=!0}},f.process=function(e,t){if(f.freeze(),S("process",f.Parser),k("process",f.Compiler),!t)return new Promise(r);function r(r,n){const o=C(e);function a(e,i){e||!i?n(e):r?r(i):t(null,i)}f.run(f.parse(o),o,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||i(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),S("processSync",f.Parser),k("processSync",f.Compiler);const r=C(e);return f.process(r,i),F("processSync","process",t),r;function i(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(o(!0,{},c)),t}}().freeze(),w={}.hasOwnProperty;function x(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(w.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function S(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function k(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function A(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function D(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function F(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new g(e)}},213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{is:()=>n,convert:()=>i});const n=function e(t,r,n,o,a){const s=i(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==o||e(o)&&o.children))throw new Error("Expected parent node");if(null==o!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,o))},i=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return o(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=i(e[r]);return o(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return o(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return o(e);throw new Error("Expected function, string, or object as test")};function o(e){return function(...t){return Boolean(e.call(this,...t))}}function a(){return!0}},4249:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>I,select:()=>R,selectAll:()=>L});var n={}.hasOwnProperty;function i(e,t){var r=t||{};function i(t){var r=i.invalid,o=i.handlers;if(t&&n.call(t,e)&&(r=n.call(o,t[e])?o[t[e]]:i.unknown),r)return r.apply(this,arguments)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}function o(e){return Array.isArray(e.children)}const a={}.hasOwnProperty,s=i("nestingOperator",{unknown:function(e){throw new Error("Unexpected nesting `"+e.nestingOperator+"`")},invalid:function(e,t,r,n,i){if(n)throw new Error("topScan is supposed to be called from the root node");if(!i.iterator)throw new Error("Expected `iterator` to be defined");if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");i.iterator(e,t,r,n,i),i.shallow||u(e,t,r,n,i)},handlers:{null:u,">":c,"+":function(e,t,r,n,i){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,i).prefillTypeIndex(0,++r).each(r,++r).prefillTypeIndex(r).done()},"~":function(e,t,r,n,i){if("number"!=typeof r)throw new TypeError("Expected `index` to be defined");if(!n)return;new l(e,n,i).prefillTypeIndex(0,++r).each(r).done()}}});function u(e,t,r,n,i){if(!i.iterator)throw new Error("Expected `iterator` to be defined");const o=i.iterator;i.iterator=function e(t,r,n,i,a){if(a.iterator=o,o(t,r,n,i,a),a.iterator=e,a.one&&a.found)return;c(t,r,n,i,a)},c(e,t,r,n,i)}function c(e,t,r,n,i){o(t)&&0!==t.children.length&&new l(e,t,i).each().done()}class l{constructor(e,t,r){this.query=e,this.parent=t,this.state=r,this.typeIndex=r.index?new f:void 0,this.delayed=[]}prefillTypeIndex(e,t){let[r,n]=this.defaults(e,t);if(this.typeIndex)for(;r<n;)this.typeIndex.index(this.parent.children[r]),r++;return this}each(e,t){const[r,n]=this.defaults(e,t),i=this.parent.children[r];let o,a;if(r>=n)return this;if(this.typeIndex)a=this.typeIndex.nodes,o=this.typeIndex.index(i),this.delayed.push((function(){if(!this.typeIndex)throw new TypeError("Expected `typeIndex` to be defined");if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.typeIndex=o,this.state.nodeIndex=a,this.state.typeCount=this.typeIndex.count(i),this.state.nodeCount=this.typeIndex.nodes,this.state.iterator(this.query,i,r,this.parent,this.state)}));else{if(!this.state.iterator)throw new Error("Expected `iterator` to be defined");this.state.iterator(this.query,i,r,this.parent,this.state)}return this.state.one&&this.state.found?this:this.each(r+1,n)}done(){let e=-1;for(;++e<this.delayed.length&&(this.delayed[e].call(this),!this.state.one||!this.state.found););return this}defaults(e,t){return(null==e||e<0)&&(e=0),(null==t||t>this.parent.children.length)&&(t=this.parent.children.length),[e,t]}}class f{constructor(){this.counts={},this.nodes=0}index(e){const t=e.type;return this.nodes++,a.call(this.counts,t)||(this.counts[t]=0),this.counts[t]++}count(e){return this.counts[e.type]}}const p=(0,r(213).convert)(),h=i("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:m,blank:g,empty:g,"first-child":function(e,t,r,n,i){return y(i,e),0===i.nodeIndex},"first-of-type":function(e,t,r,n,i){return y(i,e),0===i.typeIndex},has:function(e,t,r,n,i){const o=i.shallow,a=i.one,s=i.scopeNodes,u=function(e){const t="ruleSet"===e.type?{type:"selectors",selectors:[e]}:e;let r,n=-1;for(;++n<t.selectors.length;)r=t.selectors[n].rule,r.nestingOperator=null,r.pseudos&&1===r.pseudos.length&&"scope"===r.pseudos[0].name||(t.selectors[n]={type:"ruleSet",rule:{type:"rule",rule:r,pseudos:[{name:"scope"}]}});return t}(e.value),c=i.any;i.shallow=!1,i.one=!0,i.scopeNodes=[t];const l=Boolean(c(u,t,i)[0]);return i.shallow=o,i.one=a,i.scopeNodes=s,l},"last-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeCount&&i.nodeIndex===i.nodeCount-1},"last-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:m,not:function(e,t,r,n,i){return!m(e,t,r,n,i)},"nth-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeIndex&&e.value(i.nodeIndex)},"nth-last-child":function(e,t,r,n,i){return y(i,e),"number"==typeof i.nodeCount&&"number"==typeof i.nodeIndex&&e.value(i.nodeCount-i.nodeIndex-1)},"nth-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeIndex&&e.value(i.typeIndex)},"nth-last-of-type":function(e,t,r,n,i){return y(i,e),"number"==typeof i.typeIndex&&"number"==typeof i.typeCount&&e.value(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,r,n,i){return y(i,e),1===i.nodeCount},"only-of-type":function(e,t,r,n,i){return y(i,e),1===i.typeCount},root:function(e,t,r,n){return p(t)&&!n},scope:function(e,t,r,n,i){return p(t)&&void 0!==i.scopeNodes&&i.scopeNodes.includes(t)}}});function d(e,t,r,n,i){const o=e.pseudos;let a=-1;for(;++a<o.length;)if(!h(o[a],t,r,n,i))return!1;return!0}function m(e,t,r,n,i){const o=i.shallow,a=i.one;i.one=!0,i.shallow=!0;const s=i.any(e.value,t,i)[0]===t;return i.shallow=o,i.one=a,s}function g(e,t){return o(t)?0===t.children.length:!("value"in t)}function y(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}d.needsIndex=["first-child","first-of-type","last-child","last-of-type","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const v=i("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:b,handlers:{"=":function(e,t){return b(e,t)&&String(t[e.name])===e.value},"^=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(0,e.value.length)===e.value},"$=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.slice(-e.value.length)===e.value},"*=":function(e,t){const r=t[e.name];return e.value&&"string"==typeof r&&r.includes(e.value)},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;if(Array.isArray(r)&&r.includes(e.value))return!0;return String(r)===e.value}}});function b(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function E(e,t,r,n,i){if(e.id)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");return Boolean(t&&(!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.type}(e,t))&&(!e.attrs||function(e,t){let r=-1;for(;++r<e.attrs.length;)if(!v(e.attrs[r],t))return!1;return!0}(e,t))&&(!e.pseudos||d(e,t,r,n,i)))}const w=i("type",{unknown:function(e){throw new Error("Unknown type `"+e.type+"`")},invalid:function(){throw new Error("Invalid type")},handlers:{selectors:function(e,t,r){const n=D(r.one);let i=-1;for(;++i<e.selectors.length;)n(S(e.selectors[i],t,r));return n.result},ruleSet:S,rule:k}});function x(e,t,r){return e&&t?w(e,t,r):[]}function S(e,t,r){return k(e.rule,t,r)}function k(e,t,r){const n=D(r.one);if(r.shallow&&e.rule)throw new Error("Expected selector without nesting");var i;return s(e,t,0,null,A(e,{scopeNodes:(i=t,"RootNode"===i.type||"root"===i.type?t.children:[t]),index:!1,iterator:function(e,t,r,i,o){E(e,t,r,i,o)&&(e.rule?s(e.rule,t,r,i,A(e.rule,o)):(n(t),o.found=!0))},one:r.one,shallow:r.shallow,any:r.any})),n.result}function A(e,t){const r=e.pseudos||[];let n=-1;for(;++n<r.length;)if(d.needsIndex.includes(r[n].name)){t.index=!0;break}return t}function D(e){const t=[];let r;return n.result=t,n;function n(e){let t=-1;if("length"in e)for(;++t<e.length;)i(e[t]);else i(e)}function i(n){if(e){if(r)throw new Error("Cannot collect multiple nodes");r=!0}t.includes(n)||t.push(n)}}var F=r(301);const C=r(364).ZP,P=new Set(["nth-child","nth-last-child","nth-of-type","nth-last-of-type"]),O=new F.N;O.registerAttrEqualityMods("~","^","$","*"),O.registerSelectorPseudos("any","matches","not","has"),O.registerNestingOperators(">","+","~");const T=i("type",{handlers:{selectors:function(e){const t=e.selectors;let r=-1;for(;++r<t.length;)T(t[r]);return e},ruleSet:function(e){return _(e.rule)},rule:_}});function j(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return T(O.parse(e))}function _(e){const t=e.pseudos||[];let r,n=-1;for(;++n<t.length;)r=t[n],P.has(r.name)&&(r.value=C(r.value),r.valueType="function");return T(e.rule),e}function I(e,t){return Boolean(x(j(e),t,{one:!0,shallow:!0,any:x})[0])}function R(e,t){return x(j(e),t,{one:!0,any:x})[0]||null}function L(e,t){return x(j(e),t,{any:x})}},1513:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});var n={}.hasOwnProperty;function i(e){return e&&"object"==typeof e?n.call(e,"position")||n.call(e,"type")?a(e.position):n.call(e,"start")||n.call(e,"end")?a(e):n.call(e,"line")||n.call(e,"column")?o(e):"":""}function o(e){return s(e&&e.line)+":"+s(e&&e.column)}function a(e){return o(e&&e.start)+"-"+o(e&&e.end)}function s(e){return e&&"number"==typeof e?e:1}},7918:(e,t,r)=>{"use strict";r.d(t,{S4:()=>i});var n=r(213);const i=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null);var o=(0,n.convert)(t),a=i?-1:1;!function e(n,s,u){var c,l="object"==typeof n&&null!==n?n:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,p=[];if((!t||o(n,s,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(r(n,u)),false===p[0]))return p;if(n.children&&"skip"!==p[0])for(l=(i?n.children.length:-1)+a,f=u.concat(n);l>-1&&l<n.children.length;){if(c=e(n.children[l],l,f)(),false===c[0])return c;l="number"==typeof c[1]?c[1]:l+a}return p}}(e,null,[])()}},3428:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,SKIP:()=>n.AM,EXIT:()=>n.BK,visit:()=>i});var n=r(3339);const i=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),i)}},3339:(e,t,r)=>{"use strict";r.d(t,{dR:()=>i,BK:()=>a,AM:()=>o,S4:()=>s});var n=r(213);const i=!0,o="skip",a=!1,s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.convert)(t),c=s?-1:1;!function e(n,l,f){const p="object"==typeof n&&null!==n?n:{};let h;"string"==typeof p.type&&(h="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0,Object.defineProperty(d,"name",{value:"node ("+p.type+(h?"<"+h+">":"")+")"}));return d;function d(){let p,h,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[i,e];return[e]}(r(n,f)),m[0]===a))return m;if(n.children&&m[0]!==o)for(h=(s?n.children.length:-1)+c,d=f.concat(n);h>-1&&h<n.children.length;){if(p=e(n.children[h],h,d)(),p[0]===a)return p;h="number"==typeof p[1]?p[1]:h+c}return m}}(e,null,[])()}},3633:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},4222:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},9354:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,a.d(i,o),i},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"774184",267:"58e681"}[e]+".js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+i){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+i),s.src=e),r[e]=[t];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var i=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var o=a.p+a.u(t),s=new Error;a.l(o,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,s,u]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<o.length;c++)i=o[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>sc,Article:()=>mc,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>Sc,Catalog:()=>xc,CatalogItems:()=>bc,Config:()=>t.De,File:()=>t.$B,Helmet:()=>Vo,InjectedComponent:()=>gs,InjectedComponentSet:()=>ys,IntlContext:()=>Je,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>ic,Logo:()=>nc,Markdown:()=>hc,Model:()=>Be,Plugin:()=>Gs,PoweredBy:()=>rc,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ToFirstArticle:()=>kc,VERSION:()=>yu,aes:()=>t.rK,base64:()=>mu,bootstrap:()=>Zu,createApplication:()=>Bs,createComponentDescriptor:()=>bs,createGlobalStyle:()=>Yi,createStorageSlot:()=>xs,css:()=>Ii,getPayload:()=>du,getPublicPath:()=>Hs,history:()=>Ou,isEncryptedData:()=>t.oe,isMac:()=>gu,isUrl:()=>t.CB,keyframes:()=>Xi,listStorageKeys:()=>Ss,loadjs:()=>Qe(),markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,request:()=>t.WY,styled:()=>Zi,useActions:()=>zs,useArticle:()=>Lu,useAsync:()=>ls,useAsyncCallback:()=>fs,useAsyncEffect:()=>qs,useAsyncFetchMore:()=>ps,useBook:()=>ks,useDebounce:()=>lu,useDocumentTitle:()=>cu,useEventTarget:()=>hu,useFile:()=>Bu,useHotkeys:()=>rs,useInPreview:()=>Ku,useIntl:()=>vn,useLockBodyScroll:()=>tc,useLogo:()=>$u,useModel:()=>$s,useNextArticle:()=>Nu,useOptions:()=>fu,usePrevArticle:()=>Mu,usePrevious:()=>uu,useSelector:()=>Us,useStateWithCallback:()=>Vs,useThemeConfig:()=>As,useThemeContext:()=>Ts,useTitle:()=>Iu,useWindowSize:()=>ec,windowSizes:()=>Ju});var e={};a.r(e),a.d(e,{book:()=>Tu,page:()=>ju,search:()=>_u}),Date.prototype.format=function(e){const t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(const r in t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e};var t=a(3440),r=a(4760),n=a(4246),i=a(7363),o=a.n(i);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",h=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+h(),REPLACE:"@@redux/REPLACE"+h(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h()}};function m(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function g(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(f(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(f(1));return r(g)(e,t)}if("function"!=typeof e)throw new Error(f(2));var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error(f(3));return o}function h(e){if("function"!=typeof e)throw new Error(f(4));if(u)throw new Error(f(5));var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error(f(6));t=!1,c();var r=s.indexOf(e);s.splice(r,1),a=null}}}function y(e){if(!m(e))throw new Error(f(7));if(void 0===e.type)throw new Error(f(8));if(u)throw new Error(f(9));try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,r=0;r<t.length;r++){(0,t[r])()}return e}function v(e){if("function"!=typeof e)throw new Error(f(10));i=e,y({type:d.REPLACE})}function b(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(f(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[p]=function(){return this},e}return y({type:d.INIT}),(n={dispatch:y,subscribe:h,getState:l,replaceReducer:v})[p]=b,n}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(f(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return n=y.apply(void 0,o)(r.dispatch),l(l({},r),{},{dispatch:n})}}}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function w(e){return!!e&&!!e[ue]}function x(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof r&&Function.toString.call(r)===ce}(e)||Array.isArray(e)||!!e[se]||!!e.constructor[se]||P(e)||O(e))}function S(e,t,r){void 0===r&&(r=!1),0===k(e)?(r?Object.keys:le)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function k(e){var t=e[ue];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:P(e)?2:O(e)?3:0}function A(e,t){return 2===k(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function D(e,t){return 2===k(e)?e.get(t):e[t]}function F(e,t,r){var n=k(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function C(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function P(e){return ne&&e instanceof Map}function O(e){return ie&&e instanceof Set}function T(e){return e.o||e.t}function j(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=fe(e);delete t[ue];for(var r=le(t),n=0;n<r.length;n++){var i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function _(e,t){return void 0===t&&(t=!1),R(e)||w(e)||!x(e)||(k(e)>1&&(e.set=e.add=e.clear=e.delete=I),Object.freeze(e),t&&S(e,(function(e,t){return _(t,!0)}),!0)),e}function I(){E(2)}function R(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function L(e){var t=pe[e];return t||E(18,e),t}function N(){return te}function M(e,t){t&&(L("Patches"),e.u=[],e.s=[],e.v=t)}function B(e){z(e),e.p.forEach($),e.p=null}function z(e){e===te&&(te=e.l)}function U(e){return te={p:[],l:te,h:e,m:!0,_:0}}function $(e){var t=e[ue];0===t.i||1===t.i?t.j():t.g=!0}function q(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.O||L("ES5").S(t,e,n),n?(r[ue].P&&(B(t),E(4)),x(e)&&(e=V(t,e),t.l||G(t,e)),t.u&&L("Patches").M(r[ue],e,t.u,t.s)):e=V(t,r,[]),B(t),t.u&&t.v(t.u,t.s),e!==ae?e:void 0}function V(e,t,r){if(R(t))return t;var n=t[ue];if(!n)return S(t,(function(i,o){return H(e,n,t,i,o,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return G(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=j(n.k):n.o;S(3===n.i?new Set(i):i,(function(t,o){return H(e,n,i,t,o,r)})),G(e,i,!1),r&&e.u&&L("Patches").R(n,r,e.u,e.s)}return n.o}function H(e,t,r,n,i,o){if(w(i)){var a=V(e,i,o&&t&&3!==t.i&&!A(t.D,n)?o.concat(n):void 0);if(F(r,n,a),!w(a))return;e.m=!1}if(x(i)&&!R(i)){if(!e.h.F&&e._<1)return;V(e,i),t&&t.A.l||G(e,i)}}function G(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&_(t,r)}function W(e,t){var r=e[ue];return(r?T(r):e)[t]}function Q(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function K(e){e.P||(e.P=!0,e.l&&K(e.l))}function Y(e){e.o||(e.o=j(e.t))}function X(e,t,r){var n=P(t)?L("MapSet").N(t,r):O(t)?L("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:N(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=n,o=he;r&&(i=[n],o=de);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return n.k=u,n.j=s,u}(t,r):L("ES5").J(t,r);return(r?r.A:N()).p.push(n),n}function Z(e){return w(e)||E(22,e),function e(t){if(!x(t))return t;var r,n=t[ue],i=k(t);if(n){if(!n.P&&(n.i<4||!L("ES5").K(n)))return n.t;n.I=!0,r=J(t,i),n.I=!1}else r=J(t,i);return S(r,(function(t,i){n&&D(n.t,t)===i||F(r,t,e(i))})),3===i?new Set(r):r}(e)}function J(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return j(e)}var ee,te,re="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ne="undefined"!=typeof Map,ie="undefined"!=typeof Set,oe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ae=re?Symbol.for("immer-nothing"):((ee={})["immer-nothing"]=!0,ee),se=re?Symbol.for("immer-draftable"):"__$immer_draftable",ue=re?Symbol.for("immer-state"):"__$immer_state",ce=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),le="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,fe=Object.getOwnPropertyDescriptors||function(e){var t={};return le(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},pe={},he={get:function(e,t){if(t===ue)return e;var r=T(e);if(!A(r,t))return function(e,t,r){var n,i=Q(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!x(n)?n:n===W(e.t,t)?(Y(e),e.o[t]=X(e.A.h,n,e)):n},has:function(e,t){return t in T(e)},ownKeys:function(e){return Reflect.ownKeys(T(e))},set:function(e,t,r){var n=Q(T(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=W(T(e),t),o=null==i?void 0:i[ue];if(o&&o.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(C(r,i)&&(void 0!==r||A(e.t,t)))return!0;Y(e),K(e)}return e.o[t]===r&&"number"!=typeof r||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==W(e.t,t)||t in e.t?(e.D[t]=!1,Y(e),K(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=T(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){E(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){E(12)}},de={};S(he,(function(e,t){de[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),de.deleteProperty=function(e,t){return he.deleteProperty.call(this,e[0],t)},de.set=function(e,t,r){return he.set.call(this,e[0],t,r,e[0])};var me=function(){function e(e){var t=this;this.O=oe,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var i=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=i);for(var n=arguments.length,a=Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(a))}))}}var a;if("function"!=typeof r&&E(6),void 0!==n&&"function"!=typeof n&&E(7),x(e)){var s=U(t),u=X(t,e,void 0),c=!0;try{a=r(u),c=!1}finally{c?B(s):z(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return M(s,n),q(e,s)}),(function(e){throw B(s),e})):(M(s,n),q(a,s))}if(!e||"object"!=typeof e){if((a=r(e))===ae)return;return void 0===a&&(a=e),t.F&&_(a,!0),a}E(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,r,(function(e,t){n=e,i=t})),n,i];var n,i},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){x(e)||E(8),w(e)&&(e=Z(e));var t=U(this),r=X(this,e,void 0);return r[ue].C=!0,z(t),r},t.finishDraft=function(e,t){var r=(e&&e[ue]).A;return M(r,t),q(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!oe&&E(20),this.O=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var i=L("Patches").$;return w(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(r+1))}))},e}(),ge=new me,ye=ge.produce,ve=(ge.produceWithPatches.bind(ge),ge.setAutoFreeze.bind(ge));ge.setUseProxies.bind(ge),ge.applyPatches.bind(ge),ge.createDraft.bind(ge),ge.finishDraft.bind(ge);var be=a(2611),Ee=o().createContext(null);var we=function(e){e()},xe=function(){return we};var Se={notify:function(){},get:function(){return[]}};function ke(e,t){var r,n=Se;function i(){a.onStateChange&&a.onStateChange()}function o(){r||(r=t?t.addNestedSub(i):e.subscribe(i),n=function(){var e=xe(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var a={addNestedSub:function(e){return o(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(r)},trySubscribe:o,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=Se)},getListeners:function(){return n}};return a}var Ae="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;const De=function(e){var t=e.store,r=e.context,n=e.children,a=(0,i.useMemo)((function(){var e=ke(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=(0,i.useMemo)((function(){return t.getState()}),[t]);Ae((function(){var e=a.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var u=r||Ee;return o().createElement(u.Provider,{value:a},n)};var Fe=a(5839),Ce=a.n(Fe);a(9272);function Pe(){return(0,i.useContext)(Ee)}var Oe=function(e,t){return e===t};function Te(e){void 0===e&&(e=Ee);var t=e===Ee?Pe:function(){return(0,i.useContext)(e)};return function(e,r){void 0===r&&(r=Oe);var n=t(),o=function(e,t,r,n){var o,a=(0,i.useReducer)((function(e){return e+1}),0)[1],s=(0,i.useMemo)((function(){return ke(r,n)}),[r,n]),u=(0,i.useRef)(),c=(0,i.useRef)(),l=(0,i.useRef)(),f=(0,i.useRef)(),p=r.getState();try{if(e!==c.current||p!==l.current||u.current){var h=e(p);o=void 0!==f.current&&t(h,f.current)?f.current:h}else o=f.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return Ae((function(){c.current=e,l.current=p,f.current=o,u.current=void 0})),Ae((function(){function e(){try{var e=r.getState();if(e===l.current)return;var n=c.current(e);if(t(n,f.current))return;f.current=n,l.current=e}catch(e){u.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(e,r,n.store,n.subscription);return(0,i.useDebugValue)(o),o}}var je=Te();const _e=ReactDOM;var Ie,Re=a.n(_e);Ie=_e.unstable_batchedUpdates,we=Ie;const Le="TYPE_SET_STATE",Ne="TYPE_GET_STATE";function Me(e){const t=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(t).filter((e=>!["constructor","onAction","subscription"].includes(e)&&"function"==typeof t[e]&&!e.startsWith("_")))}class Be{constructor(){b(this,"initialState",void 0),b(this,"state",void 0)}*getState(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yield{type:Ne,payload:{models:t}}}setState(e){return{type:Le,payload:{fn:e}}}dispatch(e){}}function ze(e){return e&&"function"==typeof e.next&&"function"==typeof e.throw}ve(!1);const Ue=(e,t,r)=>{for(let n of e)t=n(t,r);return t},$e=(e,t)=>{for(let r in e){let n=e[r];e[r]=function(){let e=n(...arguments);if("function"==typeof e)return e(t)}}return e};function qe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const i={},o={},a={},s={},u={},c={};for(const r in e){const n=e[r];void 0!==n.initialState?"function"==typeof n.initialState?a[r]=n.initialState(t[r],t):a[r]=(0,be.merge)(n.initialState,t[r]):a[r]=t[r],o[r]={},n.onAction&&(c[r]=(e,t)=>n.onAction(e,t,s[r])),n.subscription&&(u[r]=n.subscription),n.dispatch=function(e){if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];s[r][e](...n)}};const l=Me(n);for(let e of l){const t=Object.getPrototypeOf(n)[e],a="".concat(r,"/").concat(e);o[r][e]=function(){for(var e=arguments.length,o=new Array(e),s=0;s<e;s++)o[s]=arguments[s];return async e=>{const{dispatch:s,getState:u}=e;let l=0;const f=Object.entries(c).filter((e=>{let[t]=e;return t!==r})).map((e=>{let[,t]=e;return t}));let p=Ue(f,t.bind(n),a)(...o);const h=async e=>{let t=await e.next();for(;!t.done;){let n,o;if(t.value instanceof Promise)try{n=await t.value}catch(e){o=e}else if(ze(t.value))try{n=await h(t.value)}catch(e){o=e}else{let e=t.value,o=e.payload;switch(e.type){case Ne:const e=u();n=o.models.length>0?o.models.length>1?o.models.map((t=>e[t])):e[o.models[0]]:e;break;case Le:let t="".concat(a,"/@@").concat(++l);i[t]=o.fn,s({type:t,name:r}),delete i[t]}}t=o?await e.throw(o):await e.next(n)}return t.value};await h(p)}}}}const l=function(e,t){return ye(e,(e=>{t.name&&i[t.type]&&("function"==typeof i[t.type]?e[t.name]=ye(e[t.name],i[t.type]):e[t.name]=i[t.type])}))},f=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||y,p=g(r(l),a,f(v(...n))),{getState:h}=p;for(let[e,t]of Object.entries(o))s[e]=$e(t,p);for(let t in u)u[t].call(e[t],s[t],h()[t]);return p.actions=s,p}const Ve=(0,i.createContext)({actions:{}});function He(e){let{store:t,children:r}=e;return(0,n.jsx)(Ve.Provider,{value:{actions:t.actions},children:(0,n.jsx)(De,{store:t,children:r})})}function Ge(e,t){return"string"==typeof e||Array.isArray(e)?je((t=>Array.isArray(e)?e:Array(e).reduce(((e,t)=>e[t]),t)),t):je(e,t)}var We=a(6051),Qe=a.n(We),Ke=a(8891);function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe=i.createContext(null),Ze=(Xe.Consumer,Xe.Provider),Je=Xe;
54
54
  /*! *****************************************************************************
55
55
  Copyright (c) Microsoft Corporation.
56
56
 
@@ -65,5 +65,5 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
65
65
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
66
66
  PERFORMANCE OF THIS SOFTWARE.
67
67
  ***************************************************************************** */
68
- var et=function(e,t){return et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},et(e,t)};function tt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}et(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var rt=function(){return rt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},rt.apply(this,arguments)};Object.create;function nt(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}var it,ot,at;Object.create;function st(e){return e.type===ot.literal}function ut(e){return e.type===ot.argument}function ct(e){return e.type===ot.number}function lt(e){return e.type===ot.date}function ft(e){return e.type===ot.time}function pt(e){return e.type===ot.select}function ht(e){return e.type===ot.plural}function dt(e){return e.type===ot.pound}function mt(e){return e.type===ot.tag}function gt(e){return!(!e||"object"!=typeof e||e.type!==at.number)}function yt(e){return!(!e||"object"!=typeof e||e.type!==at.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(it||(it={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ot||(ot={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(at||(at={}));var vt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Et(e){var t={};return e.replace(bt,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var wt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var xt,St=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,kt=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(0+)$/;function Ft(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(kt,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function Ct(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Pt(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ot(e){var t=Ct(e);return t||{}}function Tt(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=rt(rt(rt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return rt(rt({},e),Ot(t))}),{}));continue;case"engineering":t=rt(rt(rt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return rt(rt({},e),Ot(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Dt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(St.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(St,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=rt(rt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=rt(rt({},t),Ft(o)))}else if(kt.test(i.stem))t=rt(rt({},t),Ft(i.stem));else{var a=Ct(i.stem);a&&(t=rt(rt({},t),a));var s=Pt(i.stem);s&&(t=rt(rt({},t),s))}}return t}var jt=new RegExp("^"+vt.source+"*"),_t=new RegExp(vt.source+"*$");function It(e,t){return{start:e,end:t}}var Rt=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Nt=!!Object.fromEntries,Mt=!!String.prototype.codePointAt,Bt=!!String.prototype.trimStart,zt=!!String.prototype.trimEnd,Ut=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$t=!0;try{$t="a"===(null===(xt=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xt?void 0:xt[0])}catch(N){$t=!1}var qt,Vt=Rt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ht=Lt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Gt=Nt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},Wt=Mt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Qt=Bt?function(e){return e.trimStart()}:function(e){return e.replace(jt,"")},Kt=zt?function(e){return e.trimEnd()}:function(e){return e.replace(_t,"")};function Yt(e,t){return new RegExp(e,t)}if($t){var Xt=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");qt=function(e,t){var r;return Xt.lastIndex=t,null!==(r=Xt.exec(e)[1])&&void 0!==r?r:""}}else qt=function(e,t){for(var r=[];;){var n=Wt(e,t);if(void 0===n||tr(n)||rr(n))break;r.push(n),t+=n>=65536?2:1}return Ht.apply(void 0,r)};var Zt=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(it.UNMATCHED_CLOSING_TAG,It(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Jt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:ot.pound,location:It(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ot.literal,value:"<"+n+"/>",location:It(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jt(this.char()))return this.error(it.INVALID_TAG,It(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(it.UNMATCHED_CLOSING_TAG,It(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ot.tag,value:n,children:o,location:It(r,this.clonePosition())},err:null}:this.error(it.INVALID_TAG,It(a,this.clonePosition())))}return this.error(it.UNCLOSED_TAG,It(r,this.clonePosition()))}return this.error(it.INVALID_TAG,It(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&er(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=It(r,this.clonePosition());return{val:{type:ot.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ht.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ht(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(it.EMPTY_ARGUMENT,It(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(it.MALFORMED_ARGUMENT,It(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ot.argument,value:n,location:It(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(it.MALFORMED_ARGUMENT,It(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=qt(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:It(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(it.EXPECT_ARGUMENT_TYPE,It(o,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(p=Kt(g.val)).length)return this.error(it.EXPECT_ARGUMENT_STYLE,It(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:It(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var l=It(n,this.clonePosition());if(u&&Vt(null==u?void 0:u.style,"::",0)){var f=Qt(u.style.slice(2));if("number"===a)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:ot.number,value:r,location:l,style:g.val},err:null};if(0===f.length)return this.error(it.EXPECT_DATE_TIME_SKELETON,l);var p={type:at.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Et(f):{}};return{val:{type:"date"===a?ot.date:ot.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===a?ot.number:"date"===a?ot.date:ot.time,value:r,location:l,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(it.EXPECT_SELECT_ARGUMENT_OPTIONS,It(h,rt({},h)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),m=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(it.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,It(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(it.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,it.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),m=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,a,t,d);if(v.err)return v;if((y=this.tryParseArgumentClose(n)).err)return y;var b=It(n,this.clonePosition());return"select"===a?{val:{type:ot.select,value:r,options:Gt(v.val),location:b},err:null}:{val:{type:ot.plural,value:r,options:Gt(v.val),offset:m,pluralType:"plural"===a?"cardinal":"ordinal",location:b},err:null};default:return this.error(it.INVALID_ARGUMENT_TYPE,It(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(it.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,It(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(wt).filter((function(e){return e.length>0})),r=[],n=0,i=t;n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),u=0,c=s;u<c.length;u++)if(0===c[u].length)throw new Error("Invalid number skeleton");r.push({stem:a,options:s})}return r}(e)}catch(e){return this.error(it.INVALID_NUMBER_SKELETON,t)}return{val:{type:at.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Tt(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,u=n.value,c=n.location;;){if(0===u.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(it.EXPECT_PLURAL_ARGUMENT_SELECTOR,it.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=It(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(s.has(u))return this.error("select"===t?it.DUPLICATE_SELECT_ARGUMENT_SELECTOR:it.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?it.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:it.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,It(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,r);if(h.err)return h;var d=this.tryParseArgumentClose(p);if(d.err)return d;a.push([u,{value:h.val,location:It(p,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?it.EXPECT_SELECT_ARGUMENT_SELECTOR:it.EXPECT_PLURAL_ARGUMENT_SELECTOR,It(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(it.MISSING_OTHER_CLAUSE,It(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=It(n,this.clonePosition());return i?Ut(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Vt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function Jt(e){return e>=97&&e<=122||e>=65&&e<=90}function er(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function tr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function rr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function nr(e){e.forEach((function(e){if(delete e.location,pt(e)||ht(e))for(var t in e.options)delete e.options[t].location,nr(e.options[t].value);else ct(e)&&gt(e.style)||(lt(e)||ft(e))&&yt(e.style)?delete e.style.location:mt(e)&&nr(e.children)}))}function ir(e,t){void 0===t&&(t={}),t=rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Zt(e,t).parse();if(r.err){var n=SyntaxError(it[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||nr(r.val),r.val}function or(e,t){var r=t&&t.cache?t.cache:hr,n=t&&t.serializer?t.serializer:lr;return(t&&t.strategy?t.strategy:cr)(e,{cache:r,serializer:n})}function ar(e,t,r,n){var i=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function sr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function ur(e,t,r,n,i){return r.bind(t,e,n,i)}function cr(e,t){return ur(e,this,1===e.length?ar:sr,t.cache.create(),t.serializer)}var lr=function(){return JSON.stringify(arguments)};function fr(){this.cache=Object.create(null)}fr.prototype.get=function(e){return this.cache[e]},fr.prototype.set=function(e,t){this.cache[e]=t};var pr,hr={create:function(){return new fr}},dr={variadic:function(e,t){return ur(e,this,sr,t.cache.create(),t.serializer)},monadic:function(e,t){return ur(e,this,ar,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(pr||(pr={}));var mr,gr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return tt(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),yr=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',pr.INVALID_VALUE,i)||this}return tt(t,e),t}(gr),vr=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,pr.INVALID_VALUE,n)||this}return tt(t,e),t}(gr),br=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',pr.MISSING_VALUE,r)||this}return tt(t,e),t}(gr);function Er(e){return"function"==typeof e}function wr(e,t,r,n,i,o,a){if(1===e.length&&st(e[0]))return[{type:mr.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var l=c[u];if(st(l))s.push({type:mr.literal,value:l.value});else if(dt(l))"number"==typeof o&&s.push({type:mr.literal,value:r.getNumberFormat(t).format(o)});else{var f=l.value;if(!i||!(f in i))throw new br(f,a);var p=i[f];if(ut(l))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?mr.literal:mr.object,value:p});else if(lt(l)){var h="string"==typeof l.style?n.date[l.style]:yt(l.style)?l.style.parsedOptions:void 0;s.push({type:mr.literal,value:r.getDateTimeFormat(t,h).format(p)})}else if(ft(l)){h="string"==typeof l.style?n.time[l.style]:yt(l.style)?l.style.parsedOptions:void 0;s.push({type:mr.literal,value:r.getDateTimeFormat(t,h).format(p)})}else if(ct(l)){(h="string"==typeof l.style?n.number[l.style]:gt(l.style)?l.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),s.push({type:mr.literal,value:r.getNumberFormat(t,h).format(p)})}else{if(mt(l)){var d=l.children,m=l.value,g=i[m];if(!Er(g))throw new vr(m,"function",a);var y=g(wr(d,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?mr.literal:mr.object,value:e}})))}if(pt(l)){if(!(v=l.options[p]||l.options.other))throw new yr(l.value,p,Object.keys(l.options),a);s.push.apply(s,wr(v.value,t,r,n,i))}else if(ht(l)){var v;if(!(v=l.options["="+p])){if(!Intl.PluralRules)throw new gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pr.MISSING_INTL_API,a);var b=r.getPluralRules(t,{type:l.pluralType}).select(p-(l.offset||0));v=l.options[b]||l.options.other}if(!v)throw new yr(l.value,p,Object.keys(l.options),a);s.push.apply(s,wr(v.value,t,r,n,i,p-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===mr.literal&&t.type===mr.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function xr(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?rt(rt(rt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=rt(rt({},i[t]),o[t]||{}),e}),{})):i),r}),rt({},e)):e}function Sr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(mr||(mr={}));var kr,Ar=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===mr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return wr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=xr(e.formats,n),this.locales=r,this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Sr(o.number),strategy:dr.variadic}),getDateTimeFormat:or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Sr(o.dateTime),strategy:dr.variadic}),getPluralRules:or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,nt([void 0],t,!1)))}),{cache:Sr(o.pluralRules),strategy:dr.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=ir,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(kr||(kr={}));var Dr=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(a?"\n"+a.message+"\n"+a.stack:""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return tt(t,e),t}(Error),Fr=function(e){function t(t,r){return e.call(this,kr.UNSUPPORTED_FORMATTER,t,r)||this}return tt(t,e),t}(Dr),Cr=function(e){function t(t,r){return e.call(this,kr.INVALID_CONFIG,t,r)||this}return tt(t,e),t}(Dr),Pr=function(e){function t(t,r){return e.call(this,kr.MISSING_DATA,t,r)||this}return tt(t,e),t}(Dr),Or=function(e){function t(t,r,n){return e.call(this,kr.FORMAT_ERROR,t+" \nLocale: "+r+"\n",n)||this}return tt(t,e),t}(Dr),Tr=function(e){function t(t,r,n,i){var o=e.call(this,t+" \nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",r,i)||this;return o.descriptor=n,o}return tt(t,e),t}(Or),jr=function(e){function t(t,r){var n=e.call(this,kr.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return tt(t,e),t}(Dr);function _r(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var Ir={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0}};function Rr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Lr(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new Fr("No "+t+" format named: "+r))}function Nr(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function Mr(e){Nr(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Br=rt(rt({},Ir),{textComponent:i.Fragment});function zr(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=rt({timeZone:t},e[n]),r}),{})}function Ur(e,t){return Object.keys(rt(rt({},e),t)).reduce((function(r,n){return r[n]=rt(rt({},e[n]||{}),t[n]||{}),r}),{})}function $r(e,t){if(!t)return e;var r=Ar.formats;return rt(rt(rt({},r),e),{date:Ur(zr(r.date,t),zr(e.date||{},t)),time:Ur(zr(r.time,t),zr(e.time||{},t))})}function qr(e,t,r,n,i){var o=e.locale,a=e.formats,s=e.messages,u=e.defaultLocale,c=e.defaultFormats,l=e.fallbackOnEmptyString,f=e.onError,p=e.timeZone,h=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,m=r.defaultMessage;Nr(!!d,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(d),y=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(y)&&1===y.length&&y[0].type===ot.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!h)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=rt(rt({},h),n||{}),a=$r(a,p),c=$r(c,p),!y){if(!1===l&&""===y)return y;if((!m||o&&o.toLowerCase()!==u.toLowerCase())&&f(new jr(r,o)),m)try{return t.getMessageFormat(m,u,c,i).format(n)}catch(e){return f(new Tr('Error formatting default message for: "'+g+'", rendering default message verbatim',o,r,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(y,o,a,rt({formatters:t},i||{})).format(n)}catch(e){f(new Tr('Error formatting message: "'+g+'", using '+(m?"default message":"id")+" as fallback.",o,r,e))}if(m)try{return t.getMessageFormat(m,u,c,i).format(n)}catch(e){f(new Tr('Error formatting the default message for: "'+g+'", rendering message verbatim',o,r,e))}return"string"==typeof y?y:"string"==typeof m?m:g}var Vr=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Hr(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Lr(i,"number",a,o)||{};return t(n,_r(r,Vr,s))}function Gr(e,t,r,n){void 0===n&&(n={});try{return Hr(e,t,n).format(r)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function Wr(e,t,r,n){void 0===n&&(n={});try{return Hr(e,t,n).formatToParts(r)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting number.",t))}return[]}var Qr=["numeric","style"];function Kr(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new gr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',pr.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Lr(i,"relative",a,o)||{};return t(n,_r(r,Qr,s))}(e,t,i).format(r,n)}catch(t){e.onError(new Or("Error formatting relative time.",e.locale,t))}return String(r)}var Yr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Xr(e,t,r,n){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var u=n.format,c=rt(rt({},s&&{timeZone:s}),u&&Lr(o,t,u,a)),l=_r(n,Yr,c);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=rt(rt({},l),{hour:"numeric",minute:"numeric"})),r(i,l)}function Zr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"date",t,a).format(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function Jr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"time",t,a).format(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function en(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s=void 0===a?{}:a,u=e.timeZone,c=e.locale,l=e.onError,f=_r(s,Yr,u?{timeZone:u}:{});try{return t(c,f).formatRange(i,o)}catch(e){l(new Dr(kr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function tn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function rn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var nn=["localeMatcher","type"];function on(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pr.MISSING_INTL_API));var a=_r(n,nn);try{return t(i,a).select(r)}catch(e){o(new Or("Error formatting plural.",i,e))}return"other"}var an=["localeMatcher","type","style"],sn=Date.now();function un(e,t,r,n){void 0===n&&(n={});var i=cn(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===i.length?i[0]:i}function cn(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new gr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',pr.MISSING_INTL_API));var a=_r(n,an);try{var s={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return sn+"_"+e+"_"+sn}(t);return s[r]=e,r}return String(e)}));return t(i,a).formatToParts(u).map((function(e){return"literal"===e.type?e:rt(rt({},e),{value:s[e.value]||e.value})}))}catch(e){o(new Dr(kr.FORMAT_ERROR,"Error formatting list.",e))}return r}var ln=["localeMatcher","style","type","fallback"];function fn(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new gr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',pr.MISSING_INTL_API));var a=_r(n,ln);try{return t(i,a).of(r)}catch(e){o(new Dr(kr.FORMAT_ERROR,"Error formatting display name.",e))}}function pn(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function hn(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,i=or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Rr(e.dateTime),strategy:dr.variadic}),o=or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Rr(e.number),strategy:dr.variadic}),a=or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,nt([void 0],t,!1)))}),{cache:Rr(e.pluralRules),strategy:dr.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:or((function(e,t,r,n){return new Ar(e,t,r,rt({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},n||{}))}),{cache:Rr(e.message),strategy:dr.variadic}),getRelativeTimeFormat:or((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,nt([void 0],e,!1)))}),{cache:Rr(e.relativeTime),strategy:dr.variadic}),getPluralRules:a,getListFormat:or((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,nt([void 0],e,!1)))}),{cache:Rr(e.list),strategy:dr.variadic}),getDisplayNames:or((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,nt([void 0],e,!1)))}),{cache:Rr(e.displayNames),strategy:dr.variadic})}}(t),n=rt(rt({},Ir),e),i=n.locale,o=n.defaultLocale,a=n.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new Pr('Missing locale data for locale: "'+i+'" in Intl.NumberFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new Pr('Missing locale data for locale: "'+i+'" in Intl.DateTimeFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(a&&a(new Cr('"locale" was not configured, using "'+o+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),n.locale=n.defaultLocale||"en"),pn(n),rt(rt({},n),{formatters:r,formatNumber:Gr.bind(null,n,r.getNumberFormat),formatNumberToParts:Wr.bind(null,n,r.getNumberFormat),formatRelativeTime:Kr.bind(null,n,r.getRelativeTimeFormat),formatDate:Zr.bind(null,n,r.getDateTimeFormat),formatDateToParts:tn.bind(null,n,r.getDateTimeFormat),formatTime:Jr.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:en.bind(null,n,r.getDateTimeFormat),formatTimeToParts:rn.bind(null,n,r.getDateTimeFormat),formatPlural:on.bind(null,n,r.getPluralRules),formatMessage:qr.bind(null,n,r),formatList:un.bind(null,n,r.getListFormat),formatListToParts:cn.bind(null,n,r.getListFormat),formatDisplayName:fn.bind(null,n,r.getDisplayNames)})}function dn(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function mn(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Er(o)?(n=o,function(e){return n(i.Children.toArray(e))}):o,t}),{}):e}var gn=function(e,t,r,n){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=mn(n),u=qr.apply(void 0,nt([e,t,r,s],o,!1));return Array.isArray(u)?i.Children.toArray(u):u},yn=function(e,t){var r=e.defaultRichTextElements,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["defaultRichTextElements"]),i=mn(r),o=hn(rt(rt(rt({},Br),n),{defaultRichTextElements:i}),t);return rt(rt({},o),{formatMessage:gn.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i},o.formatters)})};!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:yn(dn(t.props),t.cache),prevConfig:dn(t.props)},t}tt(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=dn(e);return function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}(r,i)?null:{intl:yn(i,n),prevConfig:i}},t.prototype.render=function(){return Mr(this.state.intl),i.createElement(Ze,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Br}(i.PureComponent);function vn(){var e=i.useContext(Je);return Mr(e),e}function bn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var En=a(2348),wn=a(4445),xn=a.n(wn);const Sn=function(e){function t(e,n,u,c,p){for(var h,d,m,g,E,x=0,S=0,k=0,A=0,D=0,j=0,I=m=h=0,L=0,N=0,M=0,B=0,z=u.length,U=z-1,$="",q="",V="",H="";L<z;){if(d=u.charCodeAt(L),L===U&&0!==S+A+k+x&&(0!==S&&(d=47===S?10:47),A=k=x=0,z++,U++),0===S+A+k+x){if(L===U&&(0<N&&($=$.replace(f,"")),0<$.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:$+=u.charAt(L)}d=59}switch(d){case 123:for(h=($=$.trim()).charCodeAt(0),m=1,B=++L;L<z;){switch(d=u.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(d=u.charCodeAt(L+1)){case 42:case 47:e:{for(I=L+1;I<U;++I)switch(u.charCodeAt(I)){case 47:if(42===d&&42===u.charCodeAt(I-1)&&L+2!==I){L=I+1;break e}break;case 10:if(47===d){L=I+1;break e}}L=I}}break;case 91:d++;case 40:d++;case 34:case 39:for(;L++<U&&u.charCodeAt(L)!==d;);}if(0===m)break;L++}if(m=u.substring(B,L),0===h&&(h=($=$.replace(l,"").trim()).charCodeAt(0)),64===h){switch(0<N&&($=$.replace(f,"")),d=$.charCodeAt(1)){case 100:case 109:case 115:case 45:N=n;break;default:N=T}if(B=(m=t(n,N,m,d,p+1)).length,0<_&&(E=s(3,m,N=r(T,$,M),n,C,F,B,d,p,c),$=N.join(""),void 0!==E&&0===(B=(m=E.trim()).length)&&(d=0,m="")),0<B)switch(d){case 115:$=$.replace(w,a);case 100:case 109:case 45:m=$+"{"+m+"}";break;case 107:m=($=$.replace(y,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=$+m,112===c&&(q+=m,m="")}else m=""}else m=t(n,r(n,$,M),m,c,p+1);V+=m,m=M=N=I=h=0,$="",d=u.charCodeAt(++L);break;case 125:case 59:if(1<(B=($=(0<N?$.replace(f,""):$).trim()).length))switch(0===I&&(h=$.charCodeAt(0),45===h||96<h&&123>h)&&(B=($=$.replace(" ",":")).length),0<_&&void 0!==(E=s(1,$,n,e,C,F,q.length,c,p,c))&&0===(B=($=E.trim()).length)&&($="\0\0"),h=$.charCodeAt(0),d=$.charCodeAt(1),h){case 0:break;case 64:if(105===d||99===d){H+=$+u.charAt(L);break}default:58!==$.charCodeAt(B-1)&&(q+=i($,h,d,$.charCodeAt(2)))}M=N=I=h=0,$="",d=u.charCodeAt(++L)}}switch(d){case 13:case 10:47===S?S=0:0===1+h&&107!==c&&0<$.length&&(N=1,$+="\0"),0<_*R&&s(0,$,n,e,C,F,q.length,c,p,c),F=1,C++;break;case 59:case 125:if(0===S+A+k+x){F++;break}default:switch(F++,g=u.charAt(L),d){case 9:case 32:if(0===A+x+S)switch(D){case 44:case 58:case 9:case 32:g="";break;default:32!==d&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===A+S+x&&(N=M=1,g="\f"+g);break;case 108:if(0===A+S+x+P&&0<I)switch(L-I){case 2:112===D&&58===u.charCodeAt(L-3)&&(P=D);case 8:111===j&&(P=j)}break;case 58:0===A+S+x&&(I=L);break;case 44:0===S+k+A+x&&(N=1,g+="\r");break;case 34:case 39:0===S&&(A=A===d?0:0===A?d:A);break;case 91:0===A+S+k&&x++;break;case 93:0===A+S+k&&x--;break;case 41:0===A+S+x&&k--;break;case 40:if(0===A+S+x){if(0===h)if(2*D+3*j==533);else h=1;k++}break;case 64:0===S+k+A+x+I+m&&(m=1);break;case 42:case 47:if(!(0<A+x+k))switch(S){case 0:switch(2*d+3*u.charCodeAt(L+1)){case 235:S=47;break;case 220:B=L,S=42}break;case 42:47===d&&42===D&&B+2!==L&&(33===u.charCodeAt(B+2)&&(q+=u.substring(B,L+1)),g="",S=0)}}0===S&&($+=g)}j=D,D=d,L++}if(0<(B=q.length)){if(N=n,0<_&&(void 0!==(E=s(2,q,N,e,C,F,B,c,p,c))&&0===(q=E).length))return H+q+V;if(q=N.join(",")+"{"+q+"}",0!=O*P){switch(2!==O||o(q,2)||(P=0),P){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(v,"::-webkit-input-$1")+q.replace(v,"::-moz-$1")+q.replace(v,":-ms-input-$1")+q}P=0}}return H+q+V}function r(e,t,r){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=n(e[c]+" ",i[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===O||2===O&&o(u,1)?"-webkit-"+u+u:u}if(0===O||2===O&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(D,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(E,"tb");break;case 232:u=a.replace(E,"tb-rl");break;case 220:u=a.replace(E,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(k,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,u,l){for(var f,p=0,h=t;p<_;++p)switch(f=j[p].call(c,e,h,r,n,i,o,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==t)return h}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?O=1:(O=2,I=e):O=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var i=s(-1,r,n,n,C,F,0,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var o=t(T,n,r,0,0);return 0<_&&(void 0!==(i=s(-2,o,n,n,C,F,o.length,0,0,0))&&(o=i)),"",P=0,F=C=1,o}var l=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,d=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,F=1,C=1,P=0,O=1,T=[],j=[],_=0,I=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:_=j.length=0;break;default:if("function"==typeof t)j[_++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else R=0|!!t}return e},c.set=u,void 0!==e&&u(e),c};const kn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const An=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var Dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const Fn=An((function(e){return Dn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Cn=a(7061);function Pn(){return(Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var On=function(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r},Tn=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,En.typeOf)(e)},jn=Object.freeze([]),_n=Object.freeze({});function In(e){return"function"==typeof e}function Rn(e){return e.displayName||e.name||"Component"}function Ln(e){return e&&"string"==typeof e.styledComponentId}var Nn=void 0!==Cn&&(Cn.env.REACT_APP_SC_ATTR||Cn.env.SC_ATTR)||"data-styled",Mn="undefined"!=typeof window&&"HTMLElement"in window,Bn=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==Cn&&void 0!==Cn.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==Cn.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==Cn.env.REACT_APP_SC_DISABLE_SPEEDY&&Cn.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==Cn&&void 0!==Cn.env.SC_DISABLE_SPEEDY&&""!==Cn.env.SC_DISABLE_SPEEDY&&("false"!==Cn.env.SC_DISABLE_SPEEDY&&Cn.env.SC_DISABLE_SPEEDY)),zn={};function Un(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var $n=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&Un(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,u=t.length;s<u;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),qn=new Map,Vn=new Map,Hn=1,Gn=function(e){if(qn.has(e))return qn.get(e);for(;Vn.has(Hn);)Hn++;var t=Hn++;return qn.set(e,t),Vn.set(t,e),t},Wn=function(e){return Vn.get(e)},Qn=function(e,t){t>=Hn&&(Hn=t+1),qn.set(e,t),Vn.set(t,e)},Kn="style["+Nn+'][data-styled-version="5.3.5"]',Yn=new RegExp("^"+Nn+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Xn=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},Zn=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var s=a.match(Yn);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(Qn(c,u),Xn(e,c,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},Jn=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},ei=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Nn))return n}}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(Nn,"active"),n.setAttribute("data-styled-version","5.3.5");var a=Jn();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},ti=function(){function e(e){var t=this.element=ei(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}Un(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),ri=function(){function e(e){var t=this.element=ei(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),ni=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ii=Mn,oi={isServer:!Mn,useCSSOMInjection:!Bn},ai=function(){function e(e,t,r){void 0===e&&(e=_n),void 0===t&&(t={}),this.options=Pn({},oi,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Mn&&ii&&(ii=!1,function(e){for(var t=document.querySelectorAll(Kn),r=0,n=t.length;r<n;r++){var i=t[r];i&&"active"!==i.getAttribute(Nn)&&(Zn(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Gn(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Pn({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,i=t.target,e=r?new ni(i):n?new ti(i):new ri(i),new $n(e)));var e,t,r,n,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Gn(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Gn(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Gn(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=0;i<r;i++){var o=Wn(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var u=Nn+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),n+=""+s+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),si=/(a)(d)/gi,ui=function(e){return String.fromCharCode(e+(e>25?39:97))};function ci(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ui(t%52)+r;return(ui(t%52)+r).replace(si,"$1-$2")}var li=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},fi=function(e){return li(5381,e)};function pi(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(In(r)&&!Ln(r))return!1}return!0}var hi=fi("5.3.5"),di=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&pi(e),this.componentId=t,this.baseHash=li(hi,t),this.baseStyle=r,ai.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var o=ji(this.rules,e,t,r).join(""),a=ci(li(this.baseHash,o)>>>0);if(!t.hasNameForId(n,a)){var s=r(o,"."+a,void 0,n);t.insertRules(n,a,s)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,c=li(this.baseHash,r.hash),l="",f=0;f<u;f++){var p=this.rules[f];if("string"==typeof p)l+=p;else if(p){var h=ji(p,e,t,r),d=Array.isArray(h)?h.join(""):h;c=li(c,d+f),l+=d}}if(l){var m=ci(c>>>0);if(!t.hasNameForId(n,m)){var g=r(l,"."+m,void 0,n);t.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},e}(),mi=/^\s*\/\/.*$/gm,gi=[":","[",".","#"];function yi(e){var t,r,n,i,o=void 0===e?_n:e,a=o.options,s=void 0===a?_n:a,u=o.plugins,c=void 0===u?jn:u,l=new Sn(s),f=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,o,a,s,u,c,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),h=function(e,n,o){return 0===n&&-1!==gi.indexOf(o[r.length])||o.match(i)?e:"."+t};function d(e,o,a,s){void 0===s&&(s="&");var u=e.replace(mi,""),c=o&&a?a+" "+o+" { "+u+" }":u;return t=s,r=o,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},p,function(e){if(-2===e){var t=f;return f=[],t}}])),d.hash=c.length?c.reduce((function(e,t){return t.name||Un(15),li(e,t.name)}),5381).toString():"",d}var vi=o().createContext(),bi=(vi.Consumer,o().createContext()),Ei=(bi.Consumer,new ai),wi=yi();function xi(){return(0,i.useContext)(vi)||Ei}function Si(){return(0,i.useContext)(bi)||wi}function ki(e){var t=(0,i.useState)(e.stylisPlugins),r=t[0],n=t[1],a=xi(),s=(0,i.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=(0,i.useMemo)((function(){return yi({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,i.useEffect)((function(){xn()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),o().createElement(vi.Provider,{value:s},o().createElement(bi.Provider,{value:u},e.children))}var Ai=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=wi);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return Un(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=wi),this.name+e.hash},e}(),Di=/([A-Z])/,Fi=/([A-Z])/g,Ci=/^ms-/,Pi=function(e){return"-"+e.toLowerCase()};function Oi(e){return Di.test(e)?e.replace(Fi,Pi).replace(Ci,"-ms-"):e}var Ti=function(e){return null==e||!1===e||""===e};function ji(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=ji(e[a],t,r,n))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return Ti(e)?"":Ln(e)?"."+e.styledComponentId:In(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:ji(e(t),t,r,n):e instanceof Ai?r?(e.inject(r,n),e.getName(n)):e:Tn(e)?function e(t,r){var n,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!Ti(t[a])&&(Array.isArray(t[a])&&t[a].isCss||In(t[a])?o.push(Oi(a)+":",t[a],";"):Tn(t[a])?o.push.apply(o,e(t[a],a)):o.push(Oi(a)+": "+(n=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in kn?String(i).trim():i+"px")+";")));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString();var u}var _i=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ii(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return In(e)||Tn(e)?_i(ji(On(jn,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:_i(ji(On(e,r)))}new Set;var Ri=function(e,t,r){return void 0===r&&(r=_n),e.theme!==r.theme&&e.theme||t||r.theme},Li=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ni=/(^-|-$)/g;function Mi(e){return e.replace(Li,"-").replace(Ni,"")}var Bi=function(e){return ci(fi(e)>>>0)};function zi(e){return"string"==typeof e&&!0}var Ui=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},$i=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function qi(e,t,r){var n=e[r];Ui(t)&&Ui(n)?Vi(n,t):e[r]=t}function Vi(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];if(Ui(a))for(var s in a)$i(s)&&qi(e,a[s],s)}return e}var Hi=o().createContext();Hi.Consumer;var Gi={};function Wi(e,t,r){var n=Ln(e),a=!zi(e),s=t.attrs,u=void 0===s?jn:s,c=t.componentId,l=void 0===c?function(e,t){var r="string"!=typeof e?"sc":Mi(e);Gi[r]=(Gi[r]||0)+1;var n=r+"-"+Bi("5.3.5"+r+Gi[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):c,f=t.displayName,p=void 0===f?function(e){return zi(e)?"styled."+e:"Styled("+Rn(e)+")"}(e):f,h=t.displayName&&t.componentId?Mi(t.displayName)+"-"+t.componentId:t.componentId||l,d=n&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,m=t.shouldForwardProp;n&&e.shouldForwardProp&&(m=t.shouldForwardProp?function(r,n,i){return e.shouldForwardProp(r,n,i)&&t.shouldForwardProp(r,n,i)}:e.shouldForwardProp);var g,y=new di(r,h,n?e.componentStyle:void 0),v=y.isStatic&&0===u.length,b=function(e,t){return function(e,t,r,n){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,f=e.target,p=function(e,t,r){void 0===e&&(e=_n);var n=Pn({},t,{theme:e}),i={};return r.forEach((function(e){var t,r,o,a=e;for(t in In(a)&&(a=a(n)),a)n[t]=i[t]="className"===t?(r=i[t],o=a[t],r&&o?r+" "+o:r||o):a[t]})),[n,i]}(Ri(t,(0,i.useContext)(Hi),s)||_n,t,o),h=p[0],d=p[1],m=function(e,t,r,n){var i=xi(),o=Si();return t?e.generateAndInjectStyles(_n,i,o):e.generateAndInjectStyles(r,i,o)}(a,n,h),g=r,y=d.$as||t.$as||d.as||t.as||f,v=zi(y),b=d!==t?Pn({},t,{},d):t,E={};for(var w in b)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?E.as=b[w]:(c?c(w,Fn,y):!v||Fn(w))&&(E[w]=b[w]));return t.style&&d.style!==t.style&&(E.style=Pn({},t.style,{},d.style)),E.className=Array.prototype.concat(u,l,m!==l?m:null,t.className,d.className).filter(Boolean).join(" "),E.ref=g,(0,i.createElement)(y,E)}(g,e,t,v)};return b.displayName=p,(g=o().forwardRef(b)).attrs=d,g.componentStyle=y,g.displayName=p,g.shouldForwardProp=m,g.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):jn,g.styledComponentId=h,g.target=n?e.target:e,g.withComponent=function(e){var n=t.componentId,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,["componentId"]),o=n&&n+"-"+(zi(e)?e:Mi(Rn(e)));return Wi(e,Pn({},i,{attrs:d,componentId:o}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Vi({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},a&&Ce()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Qi=function(e){return function e(t,r,n){if(void 0===n&&(n=_n),!(0,En.isValidElementType)(r))return Un(1,String(r));var i=function(){return t(r,n,Ii.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,r,Pn({},n,{},i))},i.attrs=function(i){return e(t,r,Pn({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(Wi,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Qi[e]=Qi(e)}));var Ki=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=pi(e),ai.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var i=n(ji(this.rules,t,r,n).join(""),""),o=this.componentId+e;r.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&ai.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function Yi(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=Ii.apply(void 0,[e].concat(r)),s="sc-global-"+Bi(JSON.stringify(a)),u=new Ki(a,s);function c(e){var t=xi(),r=Si(),n=(0,i.useContext)(Hi),o=(0,i.useRef)(t.allocateGSInstance(s)).current;return t.server&&l(o,e,t,n,r),(0,i.useLayoutEffect)((function(){if(!t.server)return l(o,e,t,n,r),function(){return u.removeStyles(o,t)}}),[o,e,t,n,r]),null}function l(e,t,r,n,i){if(u.isStatic)u.renderStyles(e,zn,r,i);else{var o=Pn({},t,{theme:Ri(t,n,c.defaultProps)});u.renderStyles(e,o,r,i)}}return o().memo(c)}function Xi(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Ii.apply(void 0,[e].concat(r)).join(""),o=Bi(i);return new Ai(o,i)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=Jn();return"<style "+[r&&'nonce="'+r+'"',Nn+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Un(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Un(2);var r=((t={})[Nn]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=Jn();return n&&(r.nonce=n),[o().createElement("style",Pn({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ai({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?Un(2):o().createElement(ki,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Un(3)}}();const Zi=Qi;var Ji=a(3615),eo=a.n(Ji),to=a(4335),ro=a.n(to),no=a(3996),io=a.n(no);function oo(){return(oo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ao(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,so(e,t)}function so(e,t){return(so=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uo(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}var co={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},lo={rel:["amphtml","canonical","alternate"]},fo={type:["application/ld+json"]},po={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ho=Object.keys(co).map((function(e){return co[e]})),mo={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},go=Object.keys(mo).reduce((function(e,t){return e[mo[t]]=t,e}),{}),yo=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},vo=function(e){var t=yo(e,co.TITLE),r=yo(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,(function(){return t}));var n=yo(e,"defaultTitle");return t||n||void 0},bo=function(e){return yo(e,"onChangeClientState")||function(){}},Eo=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return oo({},e,t)}),{})},wo=function(e,t){return t.filter((function(e){return void 0!==e[co.BASE]})).map((function(e){return e[co.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),i=0;i<n.length;i+=1){var o=n[i].toLowerCase();if(-1!==e.indexOf(o)&&r[o])return t.concat(r)}return t}),[])},xo=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var i={};r.filter((function(e){for(var r,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a],u=s.toLowerCase();-1===t.indexOf(u)||"rel"===r&&"canonical"===e[r].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(r=u),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!e[r])return!1;var c=e[r].toLowerCase();return n[r]||(n[r]={}),i[r]||(i[r]={}),!n[r][c]&&(i[r][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a+=1){var s=o[a],u=oo({},n[s],i[s]);n[s]=u}return e}),[]).reverse()},So=function(e,t){if(Array.isArray(e)&&e.length)for(var r=0;r<e.length;r+=1)if(e[r][t])return!0;return!1},ko=function(e){return Array.isArray(e)?e.join(""):e},Ao=function(e,t){return Array.isArray(e)?e.reduce((function(e,r){return function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(e[r[n]]))return!0;return!1}(r,t)?e.priority.push(r):e.default.push(r),e}),{priority:[],default:[]}):{default:e}},Do=[co.NOSCRIPT,co.SCRIPT,co.STYLE],Fo=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Co=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},Po=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,r){return t[mo[r]||r]=e[r],t}),t)},Oo=function(e,t){return t.map((function(t,r){var n,i=((n={key:r})["data-rh"]=!0,n);return Object.keys(t).forEach((function(e){var r=mo[e]||e;"innerHTML"===r||"cssText"===r?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[r]=t[e]})),o().createElement(e,i)}))},To=function(e,t,r){switch(e){case co.TITLE:return{toComponent:function(){return r=t.titleAttributes,(n={key:e=t.title})["data-rh"]=!0,i=Po(r,n),[o().createElement(co.TITLE,i,e)];var e,r,n,i},toString:function(){return function(e,t,r,n){var i=Co(r),o=ko(t);return i?"<"+e+' data-rh="true" '+i+">"+Fo(o,n)+"</"+e+">":"<"+e+' data-rh="true">'+Fo(o,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Po(t)},toString:function(){return Co(t)}};default:return{toComponent:function(){return Oo(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var i=Object.keys(n).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===n[t]?t:t+'="'+Fo(n[t],r)+'"';return e?e+" "+i:i}),""),o=n.innerHTML||n.cssText||"",a=-1===Do.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,r)}}}},jo=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,u=void 0===s?"":s,c=e.titleAttributes,l=e.linkTags,f=e.metaTags,p=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var d=function(e){var t=e.linkTags,r=e.scriptTags,n=e.encode,i=Ao(e.metaTags,po),o=Ao(t,lo),a=Ao(r,fo);return{priorityMethods:{toComponent:function(){return[].concat(Oo(co.META,i.priority),Oo(co.LINK,o.priority),Oo(co.SCRIPT,a.priority))},toString:function(){return To(co.META,i.priority,n)+" "+To(co.LINK,o.priority,n)+" "+To(co.SCRIPT,a.priority,n)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(e);h=d.priorityMethods,l=d.linkTags,f=d.metaTags,p=d.scriptTags}return{priority:h,base:To(co.BASE,t,n),bodyAttributes:To("bodyAttributes",r,n),htmlAttributes:To("htmlAttributes",i,n),link:To(co.LINK,l,n),meta:To(co.META,f,n),noscript:To(co.NOSCRIPT,o,n),script:To(co.SCRIPT,p,n),style:To(co.STYLE,a,n),title:To(co.TITLE,{title:u,titleAttributes:c},n)}},_o=o().createContext({}),Io=eo().shape({setHelmet:eo().func,helmetInstances:eo().shape({get:eo().func,add:eo().func,remove:eo().func})}),Ro="undefined"!=typeof document,Lo=function(e){function t(r){var n;return(n=e.call(this,r)||this).instances=[],n.value={setHelmet:function(e){n.props.context.helmet=e},helmetInstances:{get:function(){return n.instances},add:function(e){n.instances.push(e)},remove:function(e){var t=n.instances.indexOf(e);n.instances.splice(t,1)}}},t.canUseDOM||(r.context.helmet=jo({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),n}return ao(t,e),t.prototype.render=function(){return o().createElement(_o.Provider,{value:this.value},this.props.children)},t}(i.Component);Lo.canUseDOM=Ro,Lo.propTypes={context:eo().shape({helmet:eo().shape()}),children:eo().node.isRequired},Lo.defaultProps={context:{}},Lo.displayName="HelmetProvider";var No=function(e,t){var r,n=document.head||document.querySelector(co.HEAD),i=n.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?n.innerHTML=t.innerHTML:"cssText"===i?n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText)):n.setAttribute(i,void 0===t[i]?"":t[i]));n.setAttribute("data-rh","true"),o.some((function(e,t){return r=t,n.isEqualNode(e)}))?o.splice(r,1):a.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},Mo=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s+=1){var u=a[s],c=t[u]||"";r.getAttribute(u)!==c&&r.setAttribute(u,c),-1===i.indexOf(u)&&i.push(u);var l=o.indexOf(u);-1!==l&&o.splice(l,1)}for(var f=o.length-1;f>=0;f-=1)r.removeAttribute(o[f]);i.length===o.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},Bo=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,l=e.title,f=e.titleAttributes;Mo(co.BODY,e.bodyAttributes),Mo(co.HTML,n),function(e,t){void 0!==e&&document.title!==e&&(document.title=ko(e)),Mo(co.TITLE,t)}(l,f);var p={baseTag:No(co.BASE,r),linkTags:No(co.LINK,i),metaTags:No(co.META,o),noscriptTags:No(co.NOSCRIPT,a),scriptTags:No(co.SCRIPT,u),styleTags:No(co.STYLE,c)},h={},d={};Object.keys(p).forEach((function(e){var t=p[e],r=t.newTags,n=t.oldTags;r.length&&(h[e]=r),n.length&&(d[e]=p[e].oldTags)})),t&&t(),s(e,h,d)},zo=null,Uo=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).rendered=!1,t}ao(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!xn()(e,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var e,t,r=this.props.context,n=r.setHelmet,i=null,o=(e=r.helmetInstances.get().map((function(e){var t=oo({},e.props);return delete t.context,t})),{baseTag:wo(["href"],e),bodyAttributes:Eo("bodyAttributes",e),defer:yo(e,"defer"),encode:yo(e,"encodeSpecialCharacters"),htmlAttributes:Eo("htmlAttributes",e),linkTags:xo(co.LINK,["rel","href"],e),metaTags:xo(co.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:xo(co.NOSCRIPT,["innerHTML"],e),onChangeClientState:bo(e),scriptTags:xo(co.SCRIPT,["src","innerHTML"],e),styleTags:xo(co.STYLE,["cssText"],e),title:vo(e),titleAttributes:Eo("titleAttributes",e),prioritizeSeoTags:So(e,"prioritizeSeoTags")});Lo.canUseDOM?(t=o,zo&&cancelAnimationFrame(zo),t.defer?zo=requestAnimationFrame((function(){Bo(t,(function(){zo=null}))})):(Bo(t),zo=null)):jo&&(i=jo(o)),n(i)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t}(i.Component);Uo.propTypes={context:Io.isRequired},Uo.displayName="HelmetDispatcher";var $o=["children"],qo=["children"],Vo=function(e){function t(){return e.apply(this,arguments)||this}ao(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!ro()(this.props,e)},r.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case co.SCRIPT:case co.NOSCRIPT:return{innerHTML:t};case co.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren;return oo({},n,((t={})[r.type]=[].concat(n[r.type]||[],[oo({},e.newChildProps,this.mapNestedChildrenToProps(r,e.nestedChildren))]),t))},r.mapObjectTypeChildren=function(e){var t,r,n=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(n.type){case co.TITLE:return oo({},i,((t={})[n.type]=a,t.titleAttributes=oo({},o),t));case co.BODY:return oo({},i,{bodyAttributes:oo({},o)});case co.HTML:return oo({},i,{htmlAttributes:oo({},o)});default:return oo({},i,((r={})[n.type]=oo({},o),r))}},r.mapArrayTypeChildrenToProps=function(e,t){var r=oo({},t);return Object.keys(e).forEach((function(t){var n;r=oo({},r,((n={})[t]=e[t],n))})),r},r.warnOnInvalidChildren=function(e,t){return io()(ho.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ho.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),io()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(e,t){var r=this,n={};return o().Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=uo(i,$o),s=Object.keys(a).reduce((function(e,t){return e[go[t]||t]=a[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():r.warnOnInvalidChildren(e,o),u){case co.FRAGMENT:t=r.mapChildrenToProps(o,t);break;case co.LINK:case co.META:case co.NOSCRIPT:case co.SCRIPT:case co.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:s,nestedChildren:o});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(n,t)},r.render=function(){var e=this.props,t=e.children,r=oo({},uo(e,qo));return t&&(r=this.mapChildrenToProps(t,r)),o().createElement(_o.Consumer,null,(function(e){return o().createElement(Uo,oo({},r,{context:e}))}))},t}(i.Component);Vo.propTypes={base:eo().object,bodyAttributes:eo().object,children:eo().oneOfType([eo().arrayOf(eo().node),eo().node]),defaultTitle:eo().string,defer:eo().bool,encodeSpecialCharacters:eo().bool,htmlAttributes:eo().object,link:eo().arrayOf(eo().object),meta:eo().arrayOf(eo().object),noscript:eo().arrayOf(eo().object),onChangeClientState:eo().func,script:eo().arrayOf(eo().object),style:eo().arrayOf(eo().object),title:eo().string,titleAttributes:eo().object,titleTemplate:eo().string,prioritizeSeoTags:eo().bool},Vo.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Vo.displayName="Helmet";var Ho=a(5969),Go=a(8717),Wo=a(7918);var Qo=a(213);function Ko(e){return new RegExp("^("+e+")$","i")}const Yo=new Ho;function Xo(e,t,r){const n=r.skip&&Ko(r.skip),i=(0,Qo.convert)(r.parents||(t=>t===e)),o=[];let a,s,u;var c,l,f,p;return Yo.reset(),c=e,f=function(e,c,l){const f=(0,Go.B)(e,{includeImageAlt:!1}),p=e.data&&e.data.hProperties&&e.data.hProperties.id,h=Yo.slug(p||f);if(i(l)){if(null!==c&&t&&!a&&t.test(f))return a=c+1,void(u=e);null!==c&&u&&!s&&e.depth<=u.depth&&(s=c),!s&&t||r.maxDepth&&!(e.depth<=r.maxDepth)||n&&n.test(f)||o.push({depth:e.depth,children:e.children,id:h})}},"function"==typeof(l="heading")&&"function"!=typeof f&&(p=f,f=l,l=null),(0,Wo.S4)(c,l,(function(e,t){var r=t[t.length-1];return f(e,r?r.children.indexOf(e):null,r)}),p),{index:a||-1,endIndex:a?s||e.children.length:-1,map:o}}var Zo=a(229);function Jo(e,t){const{ordered:r=!1,tight:n=!1,prefix:i=null}=t,o={type:"list",ordered:r,spread:!1,children:[]};let a=Number.POSITIVE_INFINITY,s=-1;for(;++s<e.length;)e[s].depth<a&&(a=e[s].depth);for(s=-1;++s<e.length;)e[s].depth-=a-1;for(s=-1;++s<e.length;)ea(e[s],o,{ordered:r,tight:n,prefix:i});return o}function ea(e,t,r){let n=-1;if("list"===t.type)if(1===e.depth)t.children.push({type:"listItem",spread:!1,children:[{type:"paragraph",children:[{type:"link",title:null,url:"#"+(r.prefix||"")+e.id,children:ta(e.children)}]}]});else if(t.children.length>0)ea(e,t.children[t.children.length-1],r);else{const n={type:"listItem",spread:!1,children:[]};t.children.push(n),ea(e,n,r)}else if(t.children[t.children.length-1]&&"list"===t.children[t.children.length-1].type)e.depth--,ea(e,t.children[t.children.length-1],r);else{const n={type:"list",ordered:r.ordered,spread:!1,children:[]};t.children.push(n),e.depth--,ea(e,n,r)}if("list"!==t.type||r.tight)t.spread=!r.tight;else for(t.spread=!1;++n<t.children.length;)if(t.children[n].children.length>1){t.spread=!0;break}}function ta(e){let t=[],r=-1;if(e)for(;++r<e.length;)t=t.concat(ra(e[r]));return t}function ra(e){if("link"===e.type||"linkReference"===e.type||"footnote"===e.type||"footnoteReference"===e.type)return ta(e.children);if("children"in e){const{children:t,position:r,...n}=e;return Object.assign(Zo(!0,{},n),{children:ta(e.children)})}const{position:t,...r}=e;return Zo(!0,{},r)}var na=a(3428);const ia=new Ho;function oa(){return e=>{ia.reset(),(0,na.visit)(e,"heading",(e=>{const t=e.data||(e.data={}),r=t.hProperties||(t.hProperties={});let n=r.id;n=n?ia.slug(String(n),!0):ia.slug((0,Go.B)(e)),t.id=n,r.id=n}))}}var aa=function(e,t,r){var n={type:String(e)};return null!=r||"string"!=typeof t&&!Array.isArray(t)?Object.assign(n,t):r=t,Array.isArray(r)?n.children=r:null!=r&&(n.value=String(r)),n},sa=ca("start"),ua=ca("end");function ca(e){return function(t){var r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const la={}.hasOwnProperty;function fa(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");var r,n,i,o;return r=e,i=function(e){const r=pa(e.identifier);r&&!la.call(t,r)&&(t[r]=e)},"function"==typeof(n="definition")&&"function"!=typeof i&&(o=i,i=n,n=null),(0,Wo.S4)(r,n,(function(e,t){var r=t[t.length-1];return i(e,r?r.children.indexOf(e):null,r)}),o),function(e){const r=pa(e);return r&&la.call(t,r)?t[r]:null}}function pa(e){return String(e||"").toUpperCase()}const ha={}.hasOwnProperty;function da(e,t){const r=t.data||{};return"value"in t&&!(ha.call(r,"hName")||ha.call(r,"hProperties")||ha.call(r,"hChildren"))?e.augment(t,aa("text",t.value)):e(t,"div",ya(e,t))}function ma(e,t,r){const n=t&&t.type;let i;if(!n)throw new Error("Expected node, got `"+t+"`");return i=ha.call(e.handlers,n)?e.handlers[n]:e.passThrough&&e.passThrough.includes(n)?ga:e.unknownHandler,("function"==typeof i?i:da)(e,t,r)}function ga(e,t){return"children"in t?{...t,children:ya(e,t)}:t}function ya(e,t){const r=[];if("children"in t){const n=t.children;let i=-1;for(;++i<n.length;){const o=ma(e,n[i],t);if(o){if(i&&"break"===n[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?r.push(...o):r.push(o)}}}return r}var va=a(488);const ba={'"':"quot","&":"amp","<":"lt",">":"gt"};function Ea(e,t){const r=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+ba[e]+";"}))}(function(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const o=e.charCodeAt(r);let a="";if(37===o&&(0,va.asciiAlphanumeric)(e.charCodeAt(r+1))&&(0,va.asciiAlphanumeric)(e.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(n,r),encodeURIComponent(a)),n=r+i+1,a=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}(e||""));if(!t)return r;const n=r.indexOf(":"),i=r.indexOf("?"),o=r.indexOf("#"),a=r.indexOf("/");return n<0||a>-1&&n>a||i>-1&&n>i||o>-1&&n>o||t.test(r.slice(0,n))?r:""}function wa(e,t){const r=[];let n=-1;for(t&&r.push(aa("text","\n"));++n<e.length;)n&&r.push(aa("text","\n")),r.push(e[n]);return t&&e.length>0&&r.push(aa("text","\n")),r}function xa(e,t){const r=String(t.identifier),n=Ea(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o;-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,o=e.footnoteOrder.length):(e.footnoteCounts[r]++,o=i+1);const a=e.footnoteCounts[r];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[aa("text",String(o))])])}var Sa=a(4651);function ka(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return aa("text","!["+t.alt+n);const i=ya(e,t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift(aa("text","["));const a=i[i.length-1];return a&&"text"===a.type?a.value+=n:i.push(aa("text",n)),i}function Aa(e){const t=e.spread;return null==t?e.children.length>1:t}const Da={blockquote:function(e,t){return e(t,"blockquote",wa(ya(e,t),!0))},break:function(e,t){return[e(t,"br"),aa("text","\n")]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};n&&(i.className=["language-"+n]);const o=e(t,"code",i,[aa("text",r)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])},delete:function(e,t){return e(t,"del",ya(e,t))},emphasis:function(e,t){return e(t,"em",ya(e,t))},footnoteReference:xa,footnote:function(e,t){const r=e.footnoteById;let n=1;for(;n in r;)n++;const i=String(n);return r[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},xa(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,ya(e,t))},html:function(e,t){return e.dangerous?e.augment(t,aa("raw",t.value)):null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return ka(e,t);const n={src:Sa(r.url||""),alt:t.alt};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"img",n)},image:function(e,t){const r={src:Sa(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"img",r)},inlineCode:function(e,t){return e(t,"code",[aa("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return ka(e,t);const n={href:Sa(r.url||"")};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"a",n,ya(e,t))},link:function(e,t){const r={href:Sa(t.url)};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"a",r,ya(e,t))},listItem:function(e,t,r){const n=ya(e,t),i=r?function(e){let t=e.spread;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=Aa(r[n]);return Boolean(t)}(r):Aa(t),o={},a=[];if("boolean"==typeof t.checked){let r;n[0]&&"element"===n[0].type&&"p"===n[0].tagName?r=n[0]:(r=e(null,"p",[]),n.unshift(r)),r.children.length>0&&r.children.unshift(aa("text"," ")),r.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),o.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const e=n[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(aa("text","\n")),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const u=n[n.length-1];return!u||!i&&"tagName"in u&&"p"===u.tagName||a.push(aa("text","\n")),e(t,"li",o,a)},list:function(e,t){const r={},n=t.ordered?"ol":"ul",i=ya(e,t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++o<i.length;){const e=i[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}return e(t,n,r,wa(i,!0))},paragraph:function(e,t){return e(t,"p",ya(e,t))},root:function(e,t){return e.augment(t,aa("root",wa(ya(e,t))))},strong:function(e,t){return e(t,"strong",ya(e,t))},table:function(e,t){const r=t.children;let n=-1;const i=t.align||[],o=[];for(;++n<r.length;){const a=r[n].children,s=0===n?"th":"td";let u=t.align?i.length:a.length;const c=[];for(;u--;){const t=a[u];c[u]=e(t,s,{align:i[u]},t?ya(e,t):[])}o[n]=e(r[n],"tr",wa(c,!0))}return e(t,"table",wa([e(o[0].position,"thead",wa([o[0]],!0))].concat(o[1]?e({start:sa(o[1]),end:ua(o[o.length-1])},"tbody",wa(o.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,aa("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:function(e,t){return e(t,"hr")},toml:Fa,yaml:Fa,definition:Fa,footnoteDefinition:Fa};function Fa(){return null}const Ca={}.hasOwnProperty;function Pa(e,t){const r=function(e,t){const r=t||{},n=r.allowDangerousHtml||!1,i={};return a.dangerous=n,a.clobberPrefix=void 0===r.clobberPrefix||null===r.clobberPrefix?"user-content-":r.clobberPrefix,a.footnoteLabel=r.footnoteLabel||"Footnotes",a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.definition=fa(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.augment=o,a.handlers={...Da,...r.handlers},a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,(0,na.visit)(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Ca.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const r=e.data;r.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=r.hName),"element"===t.type&&r.hProperties&&(t.properties={...t.properties,...r.hProperties}),"children"in t&&t.children&&r.hChildren&&(t.children=r.hChildren)}if(e){const n="type"in e?e:{position:e};(r=n)&&r.position&&r.position.start&&r.position.start.line&&r.position.start.column&&r.position.end&&r.position.end.line&&r.position.end.column&&(t.position={start:sa(n),end:ua(n)})}var r;return t}function a(e,t,r,n){return Array.isArray(r)&&(n=r,r={}),o(e,{type:"element",tagName:t,properties:r||{},children:n||[]})}}(e,t),n=ma(r,e,null),i=function(e){let t=-1;const r=[];for(;++t<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!n)continue;const i=ya(e,n),o=String(n.identifier),a=Ea(o.toLowerCase());let s=0;const u=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...u)}else i.push(...u);const l={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:wa(i,!0)};n.position&&(l.position=n.position),r.push(l)}return 0===r.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[aa("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:wa(r,!0)},{type:"text",value:"\n"}]}}(r);return i&&n.children.push(aa("text","\n"),i),Array.isArray(n)?{type:"root",children:n}:n}var Oa=a(4799),Ta="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function ja(e,t,r){e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function _a(e,t){for(var r=t.slice(0,t.length-1),n=0;n<r.length;n++)r[n]=e[r[n].toLowerCase()];return r}function Ia(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),r=t.lastIndexOf("");r>=0;)t[r-1]+=",",t.splice(r,1),r=t.lastIndexOf("");return t}for(var Ra={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Ta?173:189,"=":Ta?61:187,";":Ta?59:186,"'":222,"[":219,"]":221,"\\":220},La={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},Na={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Ma={16:!1,18:!1,17:!1,91:!1},Ba={},za=1;za<20;za++)Ra["f".concat(za)]=111+za;var Ua=[],$a="all",qa=[],Va=function(e){return Ra[e.toLowerCase()]||La[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function Ha(e){$a=e||"all"}function Ga(){return $a||"all"}var Wa=function(e){var t=e.key,r=e.scope,n=e.method,i=e.splitKey,o=void 0===i?"+":i;Ia(t).forEach((function(e){var t=e.split(o),i=t.length,a=t[i-1],s="*"===a?"*":Va(a);if(Ba[s]){r||(r=Ga());var u=i>1?_a(La,t):[];Ba[s]=Ba[s].map((function(e){return(!n||e.method===n)&&e.scope===r&&function(e,t){for(var r=e.length>=t.length?e:t,n=e.length>=t.length?t:e,i=!0,o=0;o<r.length;o++)-1===n.indexOf(r[o])&&(i=!1);return i}(e.mods,u)?{}:e}))}}))};function Qa(e,t,r){var n;if(t.scope===r||"all"===t.scope){for(var i in n=t.mods.length>0,Ma)Object.prototype.hasOwnProperty.call(Ma,i)&&(!Ma[i]&&t.mods.indexOf(+i)>-1||Ma[i]&&-1===t.mods.indexOf(+i))&&(n=!1);(0!==t.mods.length||Ma[16]||Ma[18]||Ma[17]||Ma[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function Ka(e){var t=Ba["*"],r=e.keyCode||e.which||e.charCode;if(Ya.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===Ua.indexOf(r)&&229!==r&&Ua.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=Na[t];e[t]&&-1===Ua.indexOf(r)?Ua.push(r):!e[t]&&Ua.indexOf(r)>-1?Ua.splice(Ua.indexOf(r),1):"metaKey"===t&&e[t]&&3===Ua.length&&(e.ctrlKey||e.shiftKey||e.altKey||(Ua=Ua.slice(Ua.indexOf(r))))})),r in Ma){for(var n in Ma[r]=!0,La)La[n]===r&&(Ya[n]=!0);if(!t)return}for(var i in Ma)Object.prototype.hasOwnProperty.call(Ma,i)&&(Ma[i]=e[Na[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===Ua.indexOf(17)&&Ua.push(17),-1===Ua.indexOf(18)&&Ua.push(18),Ma[17]=!0,Ma[18]=!0);var o=Ga();if(t)for(var a=0;a<t.length;a++)t[a].scope===o&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&Qa(e,t[a],o);if(r in Ba)for(var s=0;s<Ba[r].length;s++)if(("keydown"===e.type&&Ba[r][s].keydown||"keyup"===e.type&&Ba[r][s].keyup)&&Ba[r][s].key){for(var u=Ba[r][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(Va(l[p]));f.sort().join("")===Ua.sort().join("")&&Qa(e,u,o)}}}function Ya(e,t,r){Ua=[];var n=Ia(e),i=[],o="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===r&&"function"==typeof t&&(r=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(o=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(o=t);s<n.length;s++)i=[],(e=n[s].split(l)).length>1&&(i=_a(La,e)),(e="*"===(e=e[e.length-1])?"*":Va(e))in Ba||(Ba[e]=[]),Ba[e].push({keyup:u,keydown:c,scope:o,mods:i,shortcut:n[s],method:r,key:n[s],splitKey:l});void 0!==a&&!function(e){return qa.indexOf(e)>-1}(a)&&window&&(qa.push(a),ja(a,"keydown",(function(e){Ka(e)})),ja(window,"focus",(function(){Ua=[]})),ja(a,"keyup",(function(e){Ka(e),function(e){var t=e.keyCode||e.which||e.charCode,r=Ua.indexOf(t);if(r>=0&&Ua.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&Ua.splice(0,Ua.length),93!==t&&224!==t||(t=91),t in Ma)for(var n in Ma[t]=!1,La)La[n]===t&&(Ya[n]=!1)}(e)})))}var Xa={setScope:Ha,getScope:Ga,deleteScope:function(e,t){var r,n;for(var i in e||(e=Ga()),Ba)if(Object.prototype.hasOwnProperty.call(Ba,i))for(r=Ba[i],n=0;n<r.length;)r[n].scope===e?r.splice(n,1):n++;Ga()===e&&Ha(t||"all")},getPressedKeyCodes:function(){return Ua.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=Va(e)),-1!==Ua.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,r=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==r&&"TEXTAREA"!==r&&"SELECT"!==r||t.readOnly)||(n=!1),n},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&Wa(e)}));else if("object"==typeof e)e.key&&Wa(e);else if("string"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=r[0],o=r[1];"function"==typeof i&&(o=i,i=""),Wa({key:e,scope:i,method:o,splitKey:"+"})}}else Object.keys(Ba).forEach((function(e){return delete Ba[e]}))}};for(var Za in Xa)Object.prototype.hasOwnProperty.call(Xa,Za)&&(Ya[Za]=Xa[Za]);if("undefined"!=typeof window){var Ja=window.hotkeys;Ya.noConflict=function(e){return e&&window.hotkeys===Ya&&(window.hotkeys=Ja),Ya},window.hotkeys=Ya}const es=Ya;es.filter=function(){return!0};var ts=function(e,t){var r=e.target,n=r&&r.tagName;return Boolean(n&&t&&t.includes(n))};function rs(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var o=r||{},a=o.enableOnTags,s=o.filter,u=o.keyup,c=o.keydown,l=o.filterPreventDefault,f=void 0===l||l,p=o.enabled,h=void 0===p||p,d=o.enableOnContentEditable,m=void 0!==d&&d,g=(0,i.useRef)(null),y=(0,i.useCallback)((function(e,r){var n;return s&&!s(e)?!f:!!(ts(e,["INPUT","TEXTAREA","SELECT"])&&!ts(e,a)||null!=(n=e.target)&&n.isContentEditable&&!m)||(null===g.current||document.activeElement===g.current)&&(t(e,r),!0)}),n?[g,a,s].concat(n):[g,a,s]);return(0,i.useEffect)((function(){if(h)return u&&!0!==c&&(r.keydown=!1),es(e,r||{},y),function(){return es.unbind(e,y)};es.unbind(e,y)}),[y,e,h]),g}es.isPressed;function ns(){return ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ns.apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var is="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect,os={status:"not-requested",loading:!1,result:void 0,error:void 0},as={status:"loading",loading:!0,result:void 0,error:void 0},ss=function(){},us={initialState:function(e){return e&&e.executeOnMount?as:os},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return as},setResult:function(e,t){return{status:"success",loading:!1,result:e,error:void 0}},setError:function(e,t){return{status:"error",loading:!1,result:void 0,error:e}},onSuccess:ss,onError:ss},cs=function(e,t,r){var n,o=function(e){return ns({},us,{},e)}(r),a=(0,i.useState)(null),s=a[0],u=a[1],c=function(e){var t=(0,i.useState)((function(){return e.initialState(e)})),r=t[0],n=t[1],o=(0,i.useCallback)((function(){return n(e.initialState(e))}),[n,e]),a=(0,i.useCallback)((function(){return n(e.setLoading(r))}),[r,n]),s=(0,i.useCallback)((function(t){return n(e.setResult(t,r))}),[r,n]),u=(0,i.useCallback)((function(t){return n(e.setError(t,r))}),[r,n]),c=n,l=(0,i.useCallback)((function(e){return c(ns({},r,{},e))}),[r,c]);return{value:r,set:c,merge:l,reset:o,setLoading:a,setResult:s,setError:u}}(o),l=(n=(0,i.useRef)(!1),(0,i.useEffect)((function(){return n.current=!0,function(){n.current=!1}}),[]),function(){return n.current}),f=function(){var e=(0,i.useRef)(null);return{set:function(t){return e.current=t},get:function(){return e.current},is:function(t){return e.current===t}}}(),p=function(e){return l()&&f.is(e)},h=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=e.apply(void 0,r);if(u(r),i instanceof Promise)return f.set(i),c.setLoading(),i.then((function(e){p(i)&&c.setResult(e),o.onSuccess(e,{isCurrent:function(){return f.is(i)}})}),(function(e){p(i)&&c.setError(e),o.onError(e,{isCurrent:function(){return f.is(i)}})})),i;var a=i;return c.setResult(a),Promise.resolve(a)},d=!l();return(0,i.useEffect)((function(){d?o.executeOnMount&&h.apply(void 0,t):o.executeOnUpdate&&h.apply(void 0,t)}),t),ns({},c.value,{set:c.set,merge:c.merge,reset:c.reset,execute:h,currentPromise:f.get(),currentParams:s})};function ls(e,t,r){return cs(e,t,r)}var fs=function(e,t){return cs(e,[],ns({},t,{executeOnMount:!1,executeOnUpdate:!1}))},ps=function(e){var t=e.value,r=e.fetchMore,n=e.merge,o=e.isEnd,a=function(e){var t=(0,i.useRef)(e);return is((function(){t.current=e})),function(){return t.current}}(t),s=(0,i.useState)(!1),u=s[0],c=s[1],l=(0,i.useRef)(0),f=fs((function(){try{var e=a();if("success"!==e.status)throw new Error("Can't fetch more if the original fetch is not a success");if("loading"===f.status)throw new Error("Can't fetch more, because we are already fetching more!");l.current=l.current+1;var i=l.current;return Promise.resolve(r(e.result)).then((function(r){var s=e.status===a().status&&e.result===a().result,u=l.current===i;return s&&u&&(t.merge({result:n(t.result,r)}),o(r)&&c(!0)),r}))}catch(e){return Promise.reject(e)}})),p="success"!==t.status;return(0,i.useEffect)((function(){p&&(f.reset(),c(!1))}),[p]),{canFetchMore:"success"===t.status&&"loading"!==f.status,loading:f.loading,status:f.status,fetchMore:f.execute,isEnd:u}};window.TopWritePlugins={};class hs extends HTMLElement{connectedCallback(){this.addEventListener("click",(e=>{if(e.preventDefault(),!this.isContentEditable){const e=this.attributes.getNamedItem("src");let t=null==e?void 0:e.value;if(t){let e=document.createElement("a");e.download=this.textContent||"",e.style.display="none",e.target="_blank",e.href=r.resolve(location.href,t),document.body.appendChild(e),e.click(),document.body.removeChild(e)}}}))}}function ds(e){let{component:t,defaultComponent:r=i.Fragment,props:o,children:a=null}=e;return null===t?null:(0,n.jsx)(i.Suspense,{fallback:null,children:(0,n.jsx)(t,{props:o,Component:r,children:a})})}customElements.define("t-attachment",hs);var ms=(e,t)=>e.filter((e=>{let{descriptor:r}=e;return t===r.role})).sort(((e,t)=>{let{descriptor:{priority:r=0}}=e,{descriptor:{priority:n=0}}=t;return r-n})).map((e=>e.Component));function gs(e){let{props:t,role:r,component:o}=e;const a=o?(0,i.createElement)(o,t):null,s=Ge("components");return(0,i.useMemo)((()=>ms(s,r)),[s,r]).reduce(((e,r)=>(0,n.jsx)(ds,{defaultComponent:o,component:r,props:t,children:e})),a)}function ys(e){let{props:t,component:r,role:o}=e;const a=Ge("components"),s=(0,i.useMemo)((()=>ms(a,o)),[a,o]);return(0,n.jsx)(n.Fragment,{children:s.map(((e,i)=>(0,n.jsx)(ds,{defaultComponent:r,component:e,props:t},i)))})}async function vs(e){let t="topwrite-plugin-".concat(e.name);if(!Qe().isDefined(t)){let r="".concat(e.host,"/").concat(e.main);try{await Qe()(r,t,{returnPromise:!0})}catch{console.warn("插件".concat(e.name,"加载失败"))}}}function bs(e,t){let r;return r=t instanceof Array?{Component:t[0],descriptor:{role:e,...t[1]}}:{Component:t,descriptor:{role:e}},r}function Es(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";if("undefined"==typeof window)throw new Error("Browser storage is not available on NodeJS / TopWrite SSR process");if("none"===e)return null;try{return window[e]}catch(e){return null}}const ws={get:()=>null,set:()=>{},del:()=>{}},xs=(e,t)=>{const r=Es(null==t?void 0:t.persistence);return null===r?ws:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function Ss(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";const t=Es(e);if(!t)return[];const r=[];for(let e=0;e<t.length;e+=1){const n=t.key(e);null!==n&&r.push(n)}return r}function ks(){const e=Ge("book");if(!e)throw new Error("book object not initialized");return e}function As(){const{config:e}=ks();return e.getValue("themeConfig")}const Ds="light",Fs="dark";function Cs(e){document.documentElement.setAttribute("data-theme",e)}const Ps=(0,i.createContext)(void 0);function Os(e){let{children:t,context:r}=e;const{isDarkTheme:o,setLightTheme:a,setDarkTheme:s}=(e=>{const t=ks(),r=(0,i.useMemo)((()=>xs("".concat(e,".").concat(t.id,".theme"))),[t.id,e]),{defaultMode:n}=As(),[o,a]=(0,i.useState)((()=>{const e=(e=>e===Fs?Fs:Ds)(r.get()||n);return Cs(e),e}));(0,i.useEffect)((()=>{Cs(o)}),[o]);const s=(0,i.useCallback)((()=>{a(Ds),r.set(Ds)}),[r]),u=(0,i.useCallback)((()=>{a(Fs),r.set(Fs)}),[r]);return{isDarkTheme:o===Fs,setLightTheme:s,setDarkTheme:u}})(r);return(0,n.jsx)(Ps.Provider,{value:{isDarkTheme:o,setLightTheme:a,setDarkTheme:s},children:t})}function Ts(){const e=(0,i.useContext)(Ps);return null==e?{isDarkTheme:!1,setLightTheme:be.noop,setDarkTheme:be.noop}:e}var js;function _s(){const{primaryColor:e}=As();return(0,n.jsx)(Is,{primaryColor:e})}const Is=Yi(js||(js=bn(["\n :root {\n --ttw-primary-color: ",";\n }\n\n //TODO 转移到异步加载\n //附件\n t-attachment {\n color: var(--ttw-primary-color);\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n padding: 0 4px;\n vertical-align: bottom;\n margin: 0 1px;\n\n &:before {\n content: '';\n width: 18px;\n height: 18px;\n background-color: var(--ttw-primary-color);\n mask: url(\"",'") no-repeat center;\n margin-right: 4px;\n }\n\n &:after {\n content: "(" attr(size) ")";\n margin-left: 4px;\n display: none;\n }\n\n &[size]:after {\n display: inline;\n }\n\n &:hover {\n background: rgba(0, 0, 0, .1);\n }\n\n &:read-write {\n cursor: text;\n }\n }\n'])),(e=>e.primaryColor),"data:image/svg+xml,%3csvg t='1642406480574' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2254' width='16' height='16'%3e %3cpath d='M874.666667 467.2c-10.666667-10.666667-29.866667-12.8-42.666667 0l-343.466667 341.333333c-74.666667 74.666667-198.4 74.666667-275.2 0-36.266667-36.266667-57.6-85.333333-57.6-136.533333s19.2-100.266667 57.6-136.533333L556.8 192c46.933333-46.933333 121.6-46.933333 168.533333 0 23.466667 23.466667 34.133333 53.333333 34.133334 83.2 0 32-12.8 61.866667-34.133334 83.2L384 704c-17.066667 17.066667-44.8 17.066667-64 0-8.533333-8.533333-12.8-19.2-12.8-32s4.266667-23.466667 12.8-32l317.866667-315.733333c10.666667-10.666667 12.8-29.866667 0-42.666667-10.666667-12.8-29.866667-12.8-42.666667 0L277.333333 597.333333c-19.2 19.2-29.866667 46.933333-29.866666 74.666667S258.133333 725.333333 277.333333 746.666667c40.533333 40.533333 106.666667 40.533333 147.2 0L768 403.2c34.133333-34.133333 53.333333-78.933333 53.333333-125.866667s-19.2-93.866667-53.333333-125.866666a178.986667 178.986667 0 0 0-253.866667 0l-341.333333 341.333333c-46.933333 46.933333-74.666667 110.933333-74.666667 179.2s25.6 132.266667 74.666667 179.2c49.066667 49.066667 115.2 74.666667 179.2 74.666667s130.133333-25.6 179.2-74.666667l343.466667-341.333333c10.666667-12.8 10.666667-32 0-42.666667z' p-id='2255'%3e%3c/path%3e%3c/svg%3e"),Rs=new class extends Be{constructor(){super(...arguments),Ye(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},Ls=new class extends Be{};var Ns=Object.freeze({__proto__:null,components:Rs,options:Ls});class Ms{constructor(e,t,r){Ye(this,"name",void 0),Ye(this,"book",void 0),Ye(this,"models",{...Ns}),Ye(this,"components",[]),Ye(this,"activates",[]),Ye(this,"plugins",[]),Ye(this,"initialState",void 0),this.name=e,this.book=t,this.initialState=r}registerComponents(e,t){for(let[r,n]of Object.entries(e))n&&("plugin:setting"===r&&t&&(r="plugin:setting:".concat(t)),this.components.push(bs(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models["@".concat(t,"@").concat(r)]=n:this.models[r]=n}async registerPlugins(e){this.plugins=e;for(const t of e)try{this.registerComponents(t.components,t.name),this.registerModels(t.models,t.name),t.activate&&this.activates.push(t.activate),t.register&&await t.register(this.name,this.book)}catch(e){console.log(e)}}async createApp(e){const t=await this.createIntl(e),r=qe(this.models,{book:this.book,components:this.components,...this.initialState}),i=()=>{for(const e of this.activates)e(this.name);return null};return e=>{let{children:o}=e;return(0,n.jsx)(Ze,{value:t,children:(0,n.jsx)(He,{store:r,children:(0,n.jsx)(Lo,{children:(0,n.jsxs)(Os,{context:this.name,children:[(0,n.jsx)(i,{}),(0,n.jsx)(_s,{}),o]})})})})}}async createIntl(e){const t=navigator.language,r={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},n=await this.plugins.reduce((async(e,r)=>{const n=await e;return r.localize?Object.assign({},n,await r.localize(t)):n}),e(t));return yn({locale:t,messages:n,defaultLocale:"en"},r)}}async function Bs(e,r,n,i,o,a){const s=await async function(e,r){const n=Object.entries(window.TopWritePlugins).filter((e=>{let[,t]=e;return!!t.meta})).map((e=>{let[,t]=e;return t.meta}));if(r){const i=(0,t.NC)(r);try{const r=Object.keys(window.TopWritePlugins);let o=await i.getInstalled(e);const a=Object.entries(window.TopWritePlugins).some((e=>{let[,t]=e;return t.meta&&"theme"===t.meta.type}));o=o.filter((e=>{var t;return!(null!==(t=window.TopWritePlugins[e.name])&&void 0!==t&&t.meta)}));const s=sessionStorage.getItem("PLUGIN_DEV"),u=Ke.parse(window.location.search);if("dev"in u||s){const e=u.dev||s||8080;try{const r=(await t.WY.get("http://localhost:".concat(e,"/meta"),{raxConfig:{retry:0}})).data;o=o.filter((e=>e.name!==r.name&&!("theme"===r.type&&"theme"===e.type))),o.unshift(r),sessionStorage.setItem("PLUGIN_DEV",String(e))}catch(e){console.warn(e),sessionStorage.removeItem("PLUGIN_DEV")}}const c=[];for(let e of o)e.disabled||r.includes(e.name)||a&&"theme"===e.type||c.push(vs(e));await Promise.all(c),n.push(...o)}catch{}}return window.TopWritePluginsMeta=n,Object.values(window.TopWritePlugins||{})}(r,a),u=new Ms(e,r,i);return u.registerModels(n),await u.registerPlugins(s),await u.createApp(o)}function zs(e){return function(e){const{actions:t}=(0,i.useContext)(Ve);return e?t[e]:t}(e)}function Us(e){return Ge(e)}function $s(e){return[Us(e),zs(e)]}function qs(e,t,r){const n="function"==typeof t;n||(r=t),(0,i.useEffect)((()=>{let r;const i=e();return Promise.resolve(i).then((e=>{r=e})),()=>{n&&t(r)}}),r)}function Vs(e){const t=(0,i.useRef)(null),[r,n]=(0,i.useState)(e);return(0,i.useEffect)((()=>{t.current&&(t.current(),t.current=null)}),[r]),[r,(e,r)=>{t.current="function"==typeof r?r:null,n(e)}]}function Hs(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class Gs{constructor(e){let{name:t,meta:r,models:n={},components:i={},activate:o,register:a,localize:s,config:u}=e;Ye(this,"name",void 0),Ye(this,"config",void 0),Ye(this,"localize",void 0),Ye(this,"models",void 0),Ye(this,"components",void 0),Ye(this,"activate",void 0),Ye(this,"register",void 0),Ye(this,"meta",void 0),this.name=t,this.meta=r,this.models=n,this.components=i,this.activate=o,this.register=a,this.localize=s,this.config=u}}const Ws=(0,Qo.convert)("root"),Qs=(0,Qo.convert)("element"),Ks=(0,Qo.convert)("text");function Ys(e){return e.filter((e=>!(Ks(e)&&"\n"===e.value)))}function Xs(e,t,r){const n=t.properties,i=t.tagName,o={...n};r.prefix&&(r.key++,o.key=r.prefix+r.key);const a=[],s=Ys(t.children),u=s?s.length:0;let c=-1;for(;++c<u;){const t=s[c];Qs(t)?a.push(Xs(e,t,r)):Ks(t)&&a.push(t.value)}return e.call(t,i,o,a.length>0?a:void 0)}function Zs(e,t){let{extensions:r=[],creator:n=o().createElement}=t;const i={allowDangerousHtml:!1,handlers:{...r.reduce(((e,t)=>Object.assign(e,t)),{}),textDirective:(e,t)=>e({},"textDirective",{name:t.name,attributes:t.attributes},ya(e,t)),leafDirective:(e,t)=>e({},"leafDirective",t.attributes),containerDirective:(e,t)=>e({},"containerDirective",t.attributes,ya(e,t)),heading(e,t){const r=e(t,"heading",ya(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},a=Pa(e,i);if(Ws(a))return Ys(a.children).map(((e,t)=>Qs(e)?Xs(n,e,{key:0,prefix:"h-".concat(t,"-")}):Ks(e)?e.value:void 0));if(!Qs(a))throw new Error("Expected root or element, not `"+(a&&a.type||a)+"`");return Xs(n,a,{key:0,prefix:"h-"})}const Js=e=>{let{value:t}=e;return(0,n.jsx)("pre",{children:(0,n.jsx)("code",{children:t})})},eu=e=>{let{value:t}=e;return(0,n.jsx)("code",{children:t})},tu=["video","audio","attachment"];function ru(e){let{depth:t=5,...r}=e;return(0,i.createElement)("h".concat(t),r)}const nu={"x-inline":function(e){const{name:t,value:r}=e;return(0,n.jsx)(gs,{role:"inline:".concat(t),props:{type:"inline",name:t,value:r},component:eu})},"x-block":function(e){const{name:t,value:r,parameter:i}=e;return(0,n.jsx)(gs,{role:"block:".concat(t),props:{type:"block",name:t,parameter:i,value:r},component:Js})},textDirective:function(e){const{name:t,attributes:r,children:i,components:o={}}=e;if(!tu.includes(t))return null;let a=t;return customElements.get("t-".concat(t))&&(a="t-".concat(t)),(0,n.jsx)(gs,{role:"html:".concat(t),props:{...r,children:i},component:o[t]||a})},heading:function(e){let{components:t={},...r}=e;return(0,n.jsx)(gs,{role:"html:heading",props:r,component:t.heading||ru})}};var iu;const ou=e=>{let{tagName:t,components:r={},...o}=e;return nu[t]?(0,i.createElement)(nu[t],{...o,components:r}):Oa.includes(t)?(0,n.jsx)(gs,{role:"html:".concat(t),props:o,component:r[t]||t}):(console.warn("unknown tagName: ".concat(t)),null)};function au(e){let{as:r=i.Fragment,children:o,components:a={},aside:s=!0,header:u,footer:c,css:l,...f}=e;const p=(0,i.useMemo)((()=>(0,t.JH)().use(oa).freeze()),[]);return(0,i.useMemo)((()=>{try{const e=p.data("toHastExtensions"),t=p.runSync(p.parse(o));let h=null;if(s){const r=function(e,t){const r=t||{},n=r.heading?Ko(r.heading):null,i=Xo(e,n,r);return{index:n?i.index:null,endIndex:n?i.endIndex:null,map:i.map.length>0?Jo(i.map,r):null}}(t).map;r&&(h=Zs(r,{extensions:e}))}const d=Zs(t,{extensions:e,creator:(e,t,r)=>(0,i.createElement)(ou,{...t,tagName:e,components:a},r)});return(0,i.createElement)(r,f,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("article",{children:[u,(0,n.jsx)(su,{css:l,children:d}),c]}),h&&(0,n.jsx)("aside",{children:h})]}))}catch(e){return console.log(e),null}}),[o,s,p,l])}const su=Zi.section(iu||(iu=bn(["\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n line-height: 1.2;\n word-wrap: break-word;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, table {\n margin: 1em 0;\n line-height: 1.2;\n padding: 0;\n\n &:last-child {\n margin-bottom: 0 !important;\n }\n\n &:first-child {\n margin-top: 0 !important;\n }\n }\n\n p {\n margin: 0;\n line-height: 2;\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: normal;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n h1 {\n font-size: 2em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee;\n padding-bottom: .5em;\n }\n\n h2 {\n padding-bottom: .4em;\n font-size: 1.3em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee\n }\n\n h3 {\n font-size: 1.2em;\n line-height: 1.2;\n }\n\n h4 {\n font-size: 1.1em;\n line-height: 1.2;\n }\n\n h5 {\n font-size: 1em;\n line-height: 1.2;\n }\n\n hr {\n border: 0;\n border-bottom: 1px solid #eeeeee;\n margin-bottom: 0.5em;\n }\n\n ul {\n padding-left: 2em;\n\n ul {\n margin: 0;\n }\n\n &.task-list {\n list-style: none;\n\n li {\n position: relative;\n\n .icon.square {\n position: absolute;\n left: -1.75em;\n top: 1px;\n }\n }\n }\n }\n\n ol {\n padding-left: 2em;\n }\n\n li {\n line-height: 2;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n code {\n display: inline-block;\n border-radius: 4px;\n padding: .2em .4em;\n background-color: #f7f7f7;\n word-break: break-all;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n white-space: pre;\n line-height: 1.3;\n margin: -.2em .4em;\n }\n\n pre {\n padding: 1.05em;\n overflow: auto;\n line-height: 1.45;\n background-color: #f7f7f7;\n border: 0;\n border-radius: 3px;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n }\n\n\n pre > code {\n display: inline;\n max-width: 100%;\n padding: 0;\n margin: 0;\n overflow: initial;\n line-height: inherit;\n background-color: rgba(0, 0, 0, 0);\n border: 0;\n tab-size: 4;\n }\n\n p {\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n table {\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n line-height: 1.8;\n border-spacing: 0;\n\n th {\n text-align: left;\n }\n\n th, td {\n border: 1px solid #e0e0e0;\n padding: 3px 12px;\n height: 34px;\n }\n\n tr:hover td {\n background-color: #f1f1f1;\n }\n }\n\n img {\n max-width: 100%;\n display: inline-block;\n padding: 3px;\n vertical-align: middle;\n }\n\n a {\n text-decoration: none;\n color: var(--ttw-primary-color);\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n blockquote {\n padding: 5px 5px 5px 15px;\n color: #777777;\n border-left: 4px solid #dddddd;\n\n &.info {\n border-left-color: #5bc0de;\n color: #5bc0de;\n background-color: #f4f8fa;\n }\n\n &.warning {\n background-color: #fcf8f2;\n border-color: #f0ad4e;\n color: #f0ad4e;\n }\n\n &.danger {\n color: #d9534f;\n background-color: #fdf7f7;\n border-color: #d9534f;\n }\n\n &.success {\n background-color: #f3f8f3;\n border-color: #50af51;\n color: #50af51;\n }\n }\n\n video {\n width: 100%;\n }\n\n audio {\n width: 100%;\n }\n\n html[data-theme=dark] & {\n code {\n background-color: #333437;\n }\n\n pre {\n background-color: #333437;\n }\n\n h1, h2, hr {\n border-color: #404040;\n }\n\n th, td {\n border-color: #404040;\n }\n\n tr:hover td {\n background-color: #333437;\n }\n }\n\n ","\n"])),(e=>e.css));function uu(e){const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current}function cu(e){const t=(0,i.useRef)(e);(0,i.useEffect)((()=>(document.title=e,()=>{document.title=t.current})),[e])}function lu(e,t,r){const n=(0,i.useRef)(e),o=(0,i.useRef)((0,be.debounce)(e,t,r));return(0,i.useEffect)((()=>{n.current=e})),(0,i.useEffect)((()=>{o.current=(0,be.debounce)((function(){n.current(...arguments)}),t,r)}),[t,r]),o.current}function fu(){return Ge("options")}const pu=new EventTarget;function hu(){return pu}function du(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/html"));const t=e.querySelector('script[type="application/payload+json"]');if(t)try{return JSON.parse(t.innerHTML)}catch{return{}}}var mu=Object.freeze({__proto__:null,encode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return window.btoa(unescape(encodeURIComponent(e)))}catch(e){if(t)throw e;return""}},decode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return decodeURIComponent(escape(window.atob(e)))}catch(e){if(t)throw e;return""}}});function gu(){return"undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}const yu="1.0.0";function vu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(){return bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bu.apply(this,arguments)}t.$B.prototype[se]=!0;var Eu,wu=Eu||(Eu={});wu.Pop="POP",wu.Push="PUSH",wu.Replace="REPLACE";var xu=function(e){return e};function Su(e){e.preventDefault(),e.returnValue=""}function ku(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Au(){return Math.random().toString(36).substr(2,8)}function Du(e){var t=e.pathname,r=e.search;return(void 0===t?"/":t)+(void 0===r?"":r)+(void 0===(e=e.hash)?"":e)}function Fu(e){var t={};if(e){var r=e.indexOf("#");0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),0<=(r=e.indexOf("?"))&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const Cu="undefined"!=typeof window&&window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)&&"file:"!==window.location.protocol;class Pu{constructor(){vu(this,"history",void 0),this.history=Cu?function(e){function t(){var e=a.location,t=s.state||{};return[t.idx,xu({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function r(e){return"string"==typeof e?e:Du(e)}function n(e,t){return void 0===t&&(t=null),xu(bu({pathname:f.pathname,hash:"",search:""},"string"==typeof e?Fu(e):e,{state:t,key:Au()}))}function i(e){c=e,e=t(),l=e[0],f=e[1],p.call({action:c,location:f})}function o(e){s.go(e)}void 0===e&&(e={});var a=void 0===(e=e.window)?document.defaultView:e,s=a.history,u=null;a.addEventListener("popstate",(function(){if(u)h.call(u),u=null;else{var e=Eu.Pop,r=t(),n=r[0];if(r=r[1],h.length){if(null!=n){var a=l-n;a&&(u={action:e,location:r,retry:function(){o(-1*a)}},o(a))}}else i(e)}}));var c=Eu.Pop,l=(e=t())[0],f=e[1],p=ku(),h=ku();return null==l&&(l=0,s.replaceState(bu({},s.state,{idx:l}),"")),{get action(){return c},get location(){return f},createHref:r,push:function e(t,o){var u=Eu.Push,c=n(t,o);if(!h.length||(h.call({action:u,location:c,retry:function(){e(t,o)}}),0)){var f=[{usr:c.state,key:c.key,idx:l+1},r(c)];c=f[0],f=f[1];try{s.pushState(c,"",f)}catch(e){a.location.assign(f)}i(u)}},replace:function e(t,o){var a=Eu.Replace,u=n(t,o);h.length&&(h.call({action:a,location:u,retry:function(){e(t,o)}}),1)||(u=[{usr:u.state,key:u.key,idx:l},r(u)],s.replaceState(u[0],"",u[1]),i(a))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(e){return p.push(e)},block:function(e){var t=h.push(e);return 1===h.length&&a.addEventListener("beforeunload",Su),function(){t(),h.length||a.removeEventListener("beforeunload",Su)}}}}():function(e){function t(e,t){return void 0===t&&(t=null),xu(bu({pathname:c.pathname,search:"",hash:""},"string"==typeof e?Fu(e):e,{state:t,key:Au()}))}function r(e,t,r){return!f.length||(f.call({action:e,location:t,retry:r}),!1)}function n(e,t){u=e,c=t,l.call({action:u,location:c})}function i(e){var t=Math.min(Math.max(s+e,0),a.length-1),o=Eu.Pop,u=a[t];r(o,u,(function(){i(e)}))&&(s=t,n(o,u))}void 0===e&&(e={});var o=e;e=o.initialEntries,o=o.initialIndex;var a=(void 0===e?["/"]:e).map((function(e){return xu(bu({pathname:"/",search:"",hash:"",state:null,key:Au()},"string"==typeof e?Fu(e):e))})),s=Math.min(Math.max(null==o?a.length-1:o,0),a.length-1),u=Eu.Pop,c=a[s],l=ku(),f=ku();return{get index(){return s},get action(){return u},get location(){return c},createHref:function(e){return"string"==typeof e?e:Du(e)},push:function e(i,o){var u=Eu.Push,c=t(i,o);r(u,c,(function(){e(i,o)}))&&(s+=1,a.splice(s,a.length,c),n(u,c))},replace:function e(i,o){var u=Eu.Replace,c=t(i,o);r(u,c,(function(){e(i,o)}))&&(a[s]=c,n(u,c))},go:i,back:function(){i(-1)},forward:function(){i(1)},listen:function(e){return l.push(e)},block:function(e){return f.push(e)}}}({initialEntries:[window.location]})}get location(){const e=this.history.location;return{...e,toString:()=>Du(e)}}listen(e){this.history.listen(e)}replace(e){return this.history.replace(e)}push(e){return this.history.push(e)}}let Ou;const Tu=new class extends Be{};const ju=new class extends Be{constructor(){super(...arguments),vu(this,"initialState",{loading:!1,request:t.WY.create(),config:{}})}subscription(e,t){let{fetch:r}=e,n=Ou.location;Ou.listen((async e=>{let{location:t}=e;n.pathname!==t.pathname&&(r(t.pathname),requestAnimationFrame((()=>{window.scrollTo(0,0)}))),n=t})),t.file||r(n.pathname)}async*fetch(e){yield this.setState((e=>{e.loading=!0}));const{request:r,config:n}=yield*this.getState("page");try{const i=decodeURI(e);let{data:o}=await r.get(i,n);"string"==typeof o&&(o=du(o));const{file:a,lfs:s}=o;yield this.setState((e=>{a&&(e.file=new t.$B(a)),e.lfs=s}))}catch(e){yield this.setState((t=>{t.error=e}))}finally{yield this.setState((e=>{e.loading=!1}))}}*intercept(e){const{request:t}=yield*this.getState("page");e(t.interceptors)}*updateConfig(e){yield this.setState((t=>{e(t.config)}))}};const _u=new class extends Be{constructor(){super(...arguments),vu(this,"initialState",{status:"idle",results:[],query:""})}async*fetch(e){if(e=e.trim()){yield this.setState((t=>{t.query=e,t.status="loading"}));let{handler:t}=yield*this.getState("search");if(!t){const{summary:r}=yield*this.getState("book");t=()=>{const t=[];return r.getArticle((r=>{const n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1})),t}}try{const r=await t(e);yield this.setState((e=>{e.results=r,e.status="idle"}))}catch{yield this.setState((e=>{e.results=[],e.status="error"}))}}else yield this.setState((t=>{t.query=e,t.status="idle",t.results=[]}))}*setHandler(e){yield this.setState((t=>{t.handler=e}))}};function Iu(){const e=vn(),{config:t}=ks();return t.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}const Ru=(0,i.createContext)(void 0);function Lu(){return(0,i.useContext)(Ru)}function Nu(){const{summary:e}=ks(),t=Lu();if(t)return(0,i.useMemo)((()=>{const r=t.getLevel();let n=!1;return e.getArticle((e=>n?!!e.getPath():(n=e.getLevel()==r,!1)))}),[e,t])}function Mu(){const{summary:e}=ks(),t=Lu();if(t)return(0,i.useMemo)((()=>{const r=t.getLevel();let n;return e.getArticle((e=>e.getLevel()==r||(e.getPath()&&(n=e),!1))),n}),[e,t])}function Bu(){const{file:e}=Us("page");if(!e)throw new Error("file object not initialized");return e}const zu=(0,i.createContext)(void 0);function Uu(e){let{children:r,file:o}=e;const[a,s]=(0,i.useState)((()=>"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="));return(0,i.useEffect)((()=>{const e=o.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){const e=document.createElement("canvas");e.height=this.height,e.width=this.width;const t=e.getContext("2d");t&&(t.drawImage(this,0,0),e.toBlob((e=>{e&&s(window.URL.createObjectURL(e))})))})),r.src=e}),[]),(0,n.jsx)(zu.Provider,{value:a,children:r})}function $u(){return(0,i.useContext)(zu)}function qu(){const{summary:e}=ks(),t=Iu(),r=Bu(),o=(0,i.useMemo)((()=>e.getArticle((e=>e.getPath()===r.path))),[e,r]);(0,i.useEffect)((()=>{window.dispatchEvent(new Event("bootstrapped"))}),[]);const a=$u();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(Vo,{children:[(0,n.jsx)("title",{children:"".concat(o?"".concat(o.title," - "):"").concat(t)}),(0,n.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,n.jsx)(Ru.Provider,{value:o,children:(0,n.jsx)(gs,{role:"app"})})]})}const Vu=(0,i.createContext)(void 0);function Hu(e){let{children:r,file:i}=e;const{result:o,loading:a}=ls((async()=>{const{data:e}=await(0,t.WY)(i.relative(t.fy.style));return e}),[]);return a?null:(0,n.jsx)(Vu.Provider,{value:o,children:r})}function Gu(){const{file:e}=Us("page");return e?(0,n.jsx)(Uu,{file:e,children:(0,n.jsx)(Hu,{file:e,children:(0,n.jsx)(qu,{})})}):null}async function Wu(e){return"en"===e?a.e(7).then(a.t.bind(a,2007,19)):a.e(267).then(a.t.bind(a,3267,19))}function Qu(){const[r,o]=(0,i.useState)();return qs((async()=>{try{const{location:r}=Ou=new Pu;let i=du();if(!i){i=(await t.WY.get(r.toString())).data}let{id:a,summary:s,file:u,config:c={},options:l={},lfs:f,pluginsCenter:p}=i;c=t.De.createFromObject(c),s=t.ER.create(s);const h=new t.fy(a,c,s);u&&(u=new t.$B(u));const d={page:{config:{params:Ke.parse(r.search)},file:u,lfs:f},options:l},m=await Bs("reader",h,e,d,Wu,p);o((0,n.jsx)(m,{children:(0,n.jsx)(Gu,{})}))}catch(e){var r;if(console.error(e),t.WY.isAxiosError(e))o((null===(r=e.response)||void 0===r?void 0:r.data)||e.message);else o(e.message)}}),[]),r||null}const Ku=()=>{Re().render((0,n.jsx)(Qu,{}),document.getElementById("root"))},Yu={desktop:"desktop",mobile:"mobile"};function Xu(){function e(){return window.innerWidth>996?Yu.desktop:Yu.mobile}const[t,r]=(0,i.useState)(e);return(0,i.useEffect)((()=>{function t(){r(e())}return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[]),t}function Zu(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,i.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",window.scrollTo(0,0),()=>{document.body.style.overflow="visible"})),[e])}function Ju(e){let{className:t}=e;const r=vn();return(0,n.jsx)("div",{className:t,children:r.formatMessage({id:"IHXx7d",defaultMessage:[{type:0,value:"本文档使用 "},{type:1,value:"link"},{type:0,value:" 构建"}]},{link:(0,n.jsx)("a",{href:"https://www.topthink.com",target:"_blank",children:r.formatMessage({id:"R10y2x",defaultMessage:[{type:0,value:"顶想云"}]})})})})}function ec(e){let{size:t=60,className:r}=e;const i=$u();return(0,n.jsx)("img",{className:r,src:i,width:t,height:t,alt:"logo"})}function tc(e){let{children:r,to:o,className:a,...s}=e;const u=Bu(),{loading:c}=Us("page");let l;o instanceof t.oI?(l=o.getPath(),r||(r=o.getTitle())):l=o;const f=l?u.relative(l):"#!",p=(0,i.useCallback)((e=>{if(e.preventDefault(),l&&!c){const t={pathname:"",search:"",hash:"",...Fu(e.currentTarget.pathname)};Ou.push(t)}}),[l,c]);return(0,n.jsx)("a",{...s,onClick:p,className:a,href:f,children:r})}var rc=a(7425),nc=a.n(rc);const ic=e=>{let{base:r,href:i,...o}=e;const{summary:a}=ks();if(i){if(!(0,t.CB)(i)){let e=i;if(".md"===nc().extname(i)){let t;t=r?decodeURIComponent(nc().join(nc().dirname(r),i)):i;const n=a.getArticle((e=>e.ref===t));n&&(e=n)}return(0,n.jsx)(tc,{to:e,...o})}o.target="_blank"}return(0,n.jsx)("a",{href:i,...o,rel:"noopener noreferrer"})};function oc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ac(e){let{element:r,src:i,...o}=e;const{lfs:a,file:s}=Us("page");if(i&&a&&!(0,t.CB)(i)&&s){const{url:e,files:t}=a,r=t[s.resolve(decodeURIComponent(i))];r&&(i=e.replace("{oid}",r))}return(0,n.jsx)(gs,{role:"page:asset",props:{src:i,...o},component:r})}var sc;const uc=Zi.a(sc||(sc=oc(["\n display: block;\n position: relative;\n top: -.5rem;\n"]))),cc={a:function(e){const t=Bu();return(0,n.jsx)(ic,{...e,base:t.path})},img:function(e){return(0,n.jsx)(ac,{element:"img",...e})},attachment:function(e){return(0,n.jsx)(ac,{element:"t-attachment",...e})},video:function(e){return(0,n.jsx)(ac,{element:"video",...e})},audio:function(e){return(0,n.jsx)(ac,{element:"audio",...e})},heading:function(e){let{depth:t,id:r,children:o,...a}=e;return r&&(o=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(uc,{tabIndex:-1,id:r}),o]})),(0,i.createElement)("h".concat(t),a,o)}};function lc(e){let{children:t,...r}=e;(0,i.useEffect)((()=>{const e=Ou.location.hash;if(e){const t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}}),[]);const o=(0,i.useContext)(Vu);return(0,n.jsx)(au,{css:o,...r,components:cc,children:t})}var fc;function pc(e){let{className:t,header:r,footer:o,container:a="div",...s}=e;const u=Bu(),c=Lu();void 0===r&&c&&(r=(0,n.jsx)(hc,{children:c.title})),r=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ys,{role:"page:article:before"}),r]}),o=(0,n.jsxs)(n.Fragment,{children:[o,(0,n.jsx)(ys,{role:"page:article:after"})]});const l=(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(lc,{header:r,footer:o,...s,children:u.content})});return(0,i.createElement)(a,{className:t},l)}const hc=Zi.h1(fc||(fc=oc(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),dc=e=>{let{item:t,itemComponent:r,itemsComponent:o}=e;const{path:a}=Bu(),s=Lu(),u=(0,i.useMemo)((()=>Boolean(s&&t.getLevel().isDescendant(s.getLevel()))),[t,s]),c=a===t.getPath(),l=t.children.length>0,f=!t.getPath(),p=l?(0,n.jsx)(gc,{itemsComponent:o,itemComponent:r,items:t.children}):null;return(0,n.jsx)(gs,{role:"catalog:item",props:{item:t,active:c,disabled:f,activeDescendant:u,children:p},component:r})},mc=e=>{let{children:t}=e;return(0,n.jsx)("ul",{children:t})},gc=e=>{let{items:t,part:r,itemsComponent:i=mc,itemComponent:o}=e;const a=(0,n.jsx)(n.Fragment,{children:t.map((e=>(0,n.jsx)(dc,{itemsComponent:i,itemComponent:o,item:e},e.level.toString())))});return(0,n.jsx)(gs,{role:"catalog:items",props:{part:r,children:a},component:i})},yc=e=>{let{part:t,component:r,itemsComponent:i,itemComponent:o}=e;const a=(0,n.jsx)(gc,{itemsComponent:i,itemComponent:o,items:t.articles,part:t});return(0,n.jsx)(gs,{role:"catalog:part",props:{part:t,children:a},component:r})},vc=e=>{let{summary:t,partComponent:r,itemsComponent:i,itemComponent:o}=e;return t.isSinglePart()?(0,n.jsx)(gc,{itemsComponent:i,itemComponent:o,items:t.getLastPart().getArticles()}):(0,n.jsx)(n.Fragment,{children:t.parts.map((e=>(0,n.jsx)(yc,{component:r,itemsComponent:i,itemComponent:o,part:e},e.level.toString())))})};function bc(e){let{...t}=e;const{summary:r}=Us("book"),{renderItem:i,renderPart:o}=t;i&&(console.warn("renderItem deprecated"),t.itemComponent=i),o&&(console.warn("renderPart deprecated"),t.partComponent=o);const{partComponent:a,itemsComponent:s,itemComponent:u}=t;return(0,n.jsx)(vc,{summary:r,partComponent:a,itemsComponent:s,itemComponent:u})}function Ec(e){let{className:r}=e;const{summary:i}=ks(),o=Lu(),a=vn(),s=[(0,n.jsx)("li",{children:(0,n.jsx)(tc,{to:".",children:a.formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]})})},"0")];if(o){const e=o.getLevel();e.data.reduce(((r,o)=>{r.push(o);const a=new t.aC(r),u=i.getByLevel(a);return u&&(u instanceof t.oI&&!a.eq(e)?s.push((0,n.jsx)("li",{children:(0,n.jsx)(tc,{to:u})},a.toString())):u.title&&s.push((0,n.jsx)("li",{children:u.title},a.toString()))),r}),[])}return(0,n.jsx)("ol",{className:r,children:s})}function wc(e){let{children:t}=e;const{summary:r}=ks(),n=Lu(),o=Bu();return(0,i.useEffect)((()=>{if(!n){const e=r.getFirstArticle();e&&Ou.replace(o.relative(e.path))}}),[n]),n?t:null}})(),window.TopWrite=s})();
68
+ var et=function(e,t){return et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},et(e,t)};function tt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}et(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var rt=function(){return rt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},rt.apply(this,arguments)};Object.create;function nt(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}var it,ot,at;Object.create;function st(e){return e.type===ot.literal}function ut(e){return e.type===ot.argument}function ct(e){return e.type===ot.number}function lt(e){return e.type===ot.date}function ft(e){return e.type===ot.time}function pt(e){return e.type===ot.select}function ht(e){return e.type===ot.plural}function dt(e){return e.type===ot.pound}function mt(e){return e.type===ot.tag}function gt(e){return!(!e||"object"!=typeof e||e.type!==at.number)}function yt(e){return!(!e||"object"!=typeof e||e.type!==at.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(it||(it={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ot||(ot={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(at||(at={}));var vt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Et(e){var t={};return e.replace(bt,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var wt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var xt,St=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,kt=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(0+)$/;function Ft(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(kt,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function Ct(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Pt(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ot(e){var t=Ct(e);return t||{}}function Tt(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=rt(rt(rt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return rt(rt({},e),Ot(t))}),{}));continue;case"engineering":t=rt(rt(rt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return rt(rt({},e),Ot(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Dt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(St.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(St,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=rt(rt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=rt(rt({},t),Ft(o)))}else if(kt.test(i.stem))t=rt(rt({},t),Ft(i.stem));else{var a=Ct(i.stem);a&&(t=rt(rt({},t),a));var s=Pt(i.stem);s&&(t=rt(rt({},t),s))}}return t}var jt=new RegExp("^"+vt.source+"*"),_t=new RegExp(vt.source+"*$");function It(e,t){return{start:e,end:t}}var Rt=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Nt=!!Object.fromEntries,Mt=!!String.prototype.codePointAt,Bt=!!String.prototype.trimStart,zt=!!String.prototype.trimEnd,Ut=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$t=!0;try{$t="a"===(null===(xt=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xt?void 0:xt[0])}catch(N){$t=!1}var qt,Vt=Rt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ht=Lt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Gt=Nt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},Wt=Mt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Qt=Bt?function(e){return e.trimStart()}:function(e){return e.replace(jt,"")},Kt=zt?function(e){return e.trimEnd()}:function(e){return e.replace(_t,"")};function Yt(e,t){return new RegExp(e,t)}if($t){var Xt=Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");qt=function(e,t){var r;return Xt.lastIndex=t,null!==(r=Xt.exec(e)[1])&&void 0!==r?r:""}}else qt=function(e,t){for(var r=[];;){var n=Wt(e,t);if(void 0===n||tr(n)||rr(n))break;r.push(n),t+=n>=65536?2:1}return Ht.apply(void 0,r)};var Zt=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(it.UNMATCHED_CLOSING_TAG,It(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Jt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:ot.pound,location:It(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ot.literal,value:"<"+n+"/>",location:It(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jt(this.char()))return this.error(it.INVALID_TAG,It(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(it.UNMATCHED_CLOSING_TAG,It(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ot.tag,value:n,children:o,location:It(r,this.clonePosition())},err:null}:this.error(it.INVALID_TAG,It(a,this.clonePosition())))}return this.error(it.UNCLOSED_TAG,It(r,this.clonePosition()))}return this.error(it.INVALID_TAG,It(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&er(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=It(r,this.clonePosition());return{val:{type:ot.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ht.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ht(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(it.EMPTY_ARGUMENT,It(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(it.MALFORMED_ARGUMENT,It(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ot.argument,value:n,location:It(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(it.MALFORMED_ARGUMENT,It(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=qt(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:It(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(it.EXPECT_ARGUMENT_TYPE,It(o,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(p=Kt(g.val)).length)return this.error(it.EXPECT_ARGUMENT_STYLE,It(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:It(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var l=It(n,this.clonePosition());if(u&&Vt(null==u?void 0:u.style,"::",0)){var f=Qt(u.style.slice(2));if("number"===a)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:ot.number,value:r,location:l,style:g.val},err:null};if(0===f.length)return this.error(it.EXPECT_DATE_TIME_SKELETON,l);var p={type:at.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Et(f):{}};return{val:{type:"date"===a?ot.date:ot.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===a?ot.number:"date"===a?ot.date:ot.time,value:r,location:l,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(it.EXPECT_SELECT_ARGUMENT_OPTIONS,It(h,rt({},h)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),m=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(it.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,It(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(it.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,it.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),m=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,a,t,d);if(v.err)return v;if((y=this.tryParseArgumentClose(n)).err)return y;var b=It(n,this.clonePosition());return"select"===a?{val:{type:ot.select,value:r,options:Gt(v.val),location:b},err:null}:{val:{type:ot.plural,value:r,options:Gt(v.val),offset:m,pluralType:"plural"===a?"cardinal":"ordinal",location:b},err:null};default:return this.error(it.INVALID_ARGUMENT_TYPE,It(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(it.EXPECT_ARGUMENT_CLOSING_BRACE,It(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(it.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,It(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(wt).filter((function(e){return e.length>0})),r=[],n=0,i=t;n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),u=0,c=s;u<c.length;u++)if(0===c[u].length)throw new Error("Invalid number skeleton");r.push({stem:a,options:s})}return r}(e)}catch(e){return this.error(it.INVALID_NUMBER_SKELETON,t)}return{val:{type:at.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Tt(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,u=n.value,c=n.location;;){if(0===u.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(it.EXPECT_PLURAL_ARGUMENT_SELECTOR,it.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=It(l,this.clonePosition()),u=this.message.slice(l.offset,this.offset())}if(s.has(u))return this.error("select"===t?it.DUPLICATE_SELECT_ARGUMENT_SELECTOR:it.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?it.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:it.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,It(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,r);if(h.err)return h;var d=this.tryParseArgumentClose(p);if(d.err)return d;a.push([u,{value:h.val,location:It(p,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?it.EXPECT_SELECT_ARGUMENT_SELECTOR:it.EXPECT_PLURAL_ARGUMENT_SELECTOR,It(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(it.MISSING_OTHER_CLAUSE,It(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=It(n,this.clonePosition());return i?Ut(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Vt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function Jt(e){return e>=97&&e<=122||e>=65&&e<=90}function er(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function tr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function rr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function nr(e){e.forEach((function(e){if(delete e.location,pt(e)||ht(e))for(var t in e.options)delete e.options[t].location,nr(e.options[t].value);else ct(e)&&gt(e.style)||(lt(e)||ft(e))&&yt(e.style)?delete e.style.location:mt(e)&&nr(e.children)}))}function ir(e,t){void 0===t&&(t={}),t=rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Zt(e,t).parse();if(r.err){var n=SyntaxError(it[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||nr(r.val),r.val}function or(e,t){var r=t&&t.cache?t.cache:hr,n=t&&t.serializer?t.serializer:lr;return(t&&t.strategy?t.strategy:cr)(e,{cache:r,serializer:n})}function ar(e,t,r,n){var i=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function sr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function ur(e,t,r,n,i){return r.bind(t,e,n,i)}function cr(e,t){return ur(e,this,1===e.length?ar:sr,t.cache.create(),t.serializer)}var lr=function(){return JSON.stringify(arguments)};function fr(){this.cache=Object.create(null)}fr.prototype.get=function(e){return this.cache[e]},fr.prototype.set=function(e,t){this.cache[e]=t};var pr,hr={create:function(){return new fr}},dr={variadic:function(e,t){return ur(e,this,sr,t.cache.create(),t.serializer)},monadic:function(e,t){return ur(e,this,ar,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(pr||(pr={}));var mr,gr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return tt(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),yr=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',pr.INVALID_VALUE,i)||this}return tt(t,e),t}(gr),vr=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,pr.INVALID_VALUE,n)||this}return tt(t,e),t}(gr),br=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',pr.MISSING_VALUE,r)||this}return tt(t,e),t}(gr);function Er(e){return"function"==typeof e}function wr(e,t,r,n,i,o,a){if(1===e.length&&st(e[0]))return[{type:mr.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var l=c[u];if(st(l))s.push({type:mr.literal,value:l.value});else if(dt(l))"number"==typeof o&&s.push({type:mr.literal,value:r.getNumberFormat(t).format(o)});else{var f=l.value;if(!i||!(f in i))throw new br(f,a);var p=i[f];if(ut(l))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?mr.literal:mr.object,value:p});else if(lt(l)){var h="string"==typeof l.style?n.date[l.style]:yt(l.style)?l.style.parsedOptions:void 0;s.push({type:mr.literal,value:r.getDateTimeFormat(t,h).format(p)})}else if(ft(l)){h="string"==typeof l.style?n.time[l.style]:yt(l.style)?l.style.parsedOptions:void 0;s.push({type:mr.literal,value:r.getDateTimeFormat(t,h).format(p)})}else if(ct(l)){(h="string"==typeof l.style?n.number[l.style]:gt(l.style)?l.style.parsedOptions:void 0)&&h.scale&&(p*=h.scale||1),s.push({type:mr.literal,value:r.getNumberFormat(t,h).format(p)})}else{if(mt(l)){var d=l.children,m=l.value,g=i[m];if(!Er(g))throw new vr(m,"function",a);var y=g(wr(d,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?mr.literal:mr.object,value:e}})))}if(pt(l)){if(!(v=l.options[p]||l.options.other))throw new yr(l.value,p,Object.keys(l.options),a);s.push.apply(s,wr(v.value,t,r,n,i))}else if(ht(l)){var v;if(!(v=l.options["="+p])){if(!Intl.PluralRules)throw new gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pr.MISSING_INTL_API,a);var b=r.getPluralRules(t,{type:l.pluralType}).select(p-(l.offset||0));v=l.options[b]||l.options.other}if(!v)throw new yr(l.value,p,Object.keys(l.options),a);s.push.apply(s,wr(v.value,t,r,n,i,p-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===mr.literal&&t.type===mr.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function xr(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?rt(rt(rt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=rt(rt({},i[t]),o[t]||{}),e}),{})):i),r}),rt({},e)):e}function Sr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(mr||(mr={}));var kr,Ar=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===mr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return wr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=xr(e.formats,n),this.locales=r,this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Sr(o.number),strategy:dr.variadic}),getDateTimeFormat:or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Sr(o.dateTime),strategy:dr.variadic}),getPluralRules:or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,nt([void 0],t,!1)))}),{cache:Sr(o.pluralRules),strategy:dr.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=ir,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(kr||(kr={}));var Dr=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(a?"\n"+a.message+"\n"+a.stack:""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return tt(t,e),t}(Error),Fr=function(e){function t(t,r){return e.call(this,kr.UNSUPPORTED_FORMATTER,t,r)||this}return tt(t,e),t}(Dr),Cr=function(e){function t(t,r){return e.call(this,kr.INVALID_CONFIG,t,r)||this}return tt(t,e),t}(Dr),Pr=function(e){function t(t,r){return e.call(this,kr.MISSING_DATA,t,r)||this}return tt(t,e),t}(Dr),Or=function(e){function t(t,r,n){return e.call(this,kr.FORMAT_ERROR,t+" \nLocale: "+r+"\n",n)||this}return tt(t,e),t}(Dr),Tr=function(e){function t(t,r,n,i){var o=e.call(this,t+" \nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",r,i)||this;return o.descriptor=n,o}return tt(t,e),t}(Or),jr=function(e){function t(t,r){var n=e.call(this,kr.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return tt(t,e),t}(Dr);function _r(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var Ir={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0}};function Rr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Lr(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new Fr("No "+t+" format named: "+r))}function Nr(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function Mr(e){Nr(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Br=rt(rt({},Ir),{textComponent:i.Fragment});function zr(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=rt({timeZone:t},e[n]),r}),{})}function Ur(e,t){return Object.keys(rt(rt({},e),t)).reduce((function(r,n){return r[n]=rt(rt({},e[n]||{}),t[n]||{}),r}),{})}function $r(e,t){if(!t)return e;var r=Ar.formats;return rt(rt(rt({},r),e),{date:Ur(zr(r.date,t),zr(e.date||{},t)),time:Ur(zr(r.time,t),zr(e.time||{},t))})}function qr(e,t,r,n,i){var o=e.locale,a=e.formats,s=e.messages,u=e.defaultLocale,c=e.defaultFormats,l=e.fallbackOnEmptyString,f=e.onError,p=e.timeZone,h=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,m=r.defaultMessage;Nr(!!d,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(d),y=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(y)&&1===y.length&&y[0].type===ot.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!h)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=rt(rt({},h),n||{}),a=$r(a,p),c=$r(c,p),!y){if(!1===l&&""===y)return y;if((!m||o&&o.toLowerCase()!==u.toLowerCase())&&f(new jr(r,o)),m)try{return t.getMessageFormat(m,u,c,i).format(n)}catch(e){return f(new Tr('Error formatting default message for: "'+g+'", rendering default message verbatim',o,r,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(y,o,a,rt({formatters:t},i||{})).format(n)}catch(e){f(new Tr('Error formatting message: "'+g+'", using '+(m?"default message":"id")+" as fallback.",o,r,e))}if(m)try{return t.getMessageFormat(m,u,c,i).format(n)}catch(e){f(new Tr('Error formatting the default message for: "'+g+'", rendering message verbatim',o,r,e))}return"string"==typeof y?y:"string"==typeof m?m:g}var Vr=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Hr(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Lr(i,"number",a,o)||{};return t(n,_r(r,Vr,s))}function Gr(e,t,r,n){void 0===n&&(n={});try{return Hr(e,t,n).format(r)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function Wr(e,t,r,n){void 0===n&&(n={});try{return Hr(e,t,n).formatToParts(r)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting number.",t))}return[]}var Qr=["numeric","style"];function Kr(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new gr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',pr.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Lr(i,"relative",a,o)||{};return t(n,_r(r,Qr,s))}(e,t,i).format(r,n)}catch(t){e.onError(new Or("Error formatting relative time.",e.locale,t))}return String(r)}var Yr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Xr(e,t,r,n){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var u=n.format,c=rt(rt({},s&&{timeZone:s}),u&&Lr(o,t,u,a)),l=_r(n,Yr,c);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=rt(rt({},l),{hour:"numeric",minute:"numeric"})),r(i,l)}function Zr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"date",t,a).format(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function Jr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"time",t,a).format(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function en(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s=void 0===a?{}:a,u=e.timeZone,c=e.locale,l=e.onError,f=_r(s,Yr,u?{timeZone:u}:{});try{return t(c,f).formatRange(i,o)}catch(e){l(new Dr(kr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function tn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function rn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Xr(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Dr(kr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var nn=["localeMatcher","type"];function on(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pr.MISSING_INTL_API));var a=_r(n,nn);try{return t(i,a).select(r)}catch(e){o(new Or("Error formatting plural.",i,e))}return"other"}var an=["localeMatcher","type","style"],sn=Date.now();function un(e,t,r,n){void 0===n&&(n={});var i=cn(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===i.length?i[0]:i}function cn(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new gr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',pr.MISSING_INTL_API));var a=_r(n,an);try{var s={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return sn+"_"+e+"_"+sn}(t);return s[r]=e,r}return String(e)}));return t(i,a).formatToParts(u).map((function(e){return"literal"===e.type?e:rt(rt({},e),{value:s[e.value]||e.value})}))}catch(e){o(new Dr(kr.FORMAT_ERROR,"Error formatting list.",e))}return r}var ln=["localeMatcher","style","type","fallback"];function fn(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new gr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',pr.MISSING_INTL_API));var a=_r(n,ln);try{return t(i,a).of(r)}catch(e){o(new Dr(kr.FORMAT_ERROR,"Error formatting display name.",e))}}function pn(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function hn(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,i=or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Rr(e.dateTime),strategy:dr.variadic}),o=or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,nt([void 0],t,!1)))}),{cache:Rr(e.number),strategy:dr.variadic}),a=or((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,nt([void 0],t,!1)))}),{cache:Rr(e.pluralRules),strategy:dr.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:or((function(e,t,r,n){return new Ar(e,t,r,rt({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},n||{}))}),{cache:Rr(e.message),strategy:dr.variadic}),getRelativeTimeFormat:or((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,nt([void 0],e,!1)))}),{cache:Rr(e.relativeTime),strategy:dr.variadic}),getPluralRules:a,getListFormat:or((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,nt([void 0],e,!1)))}),{cache:Rr(e.list),strategy:dr.variadic}),getDisplayNames:or((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,nt([void 0],e,!1)))}),{cache:Rr(e.displayNames),strategy:dr.variadic})}}(t),n=rt(rt({},Ir),e),i=n.locale,o=n.defaultLocale,a=n.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new Pr('Missing locale data for locale: "'+i+'" in Intl.NumberFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new Pr('Missing locale data for locale: "'+i+'" in Intl.DateTimeFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(a&&a(new Cr('"locale" was not configured, using "'+o+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),n.locale=n.defaultLocale||"en"),pn(n),rt(rt({},n),{formatters:r,formatNumber:Gr.bind(null,n,r.getNumberFormat),formatNumberToParts:Wr.bind(null,n,r.getNumberFormat),formatRelativeTime:Kr.bind(null,n,r.getRelativeTimeFormat),formatDate:Zr.bind(null,n,r.getDateTimeFormat),formatDateToParts:tn.bind(null,n,r.getDateTimeFormat),formatTime:Jr.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:en.bind(null,n,r.getDateTimeFormat),formatTimeToParts:rn.bind(null,n,r.getDateTimeFormat),formatPlural:on.bind(null,n,r.getPluralRules),formatMessage:qr.bind(null,n,r),formatList:un.bind(null,n,r.getListFormat),formatListToParts:cn.bind(null,n,r.getListFormat),formatDisplayName:fn.bind(null,n,r.getDisplayNames)})}function dn(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function mn(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Er(o)?(n=o,function(e){return n(i.Children.toArray(e))}):o,t}),{}):e}var gn=function(e,t,r,n){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=mn(n),u=qr.apply(void 0,nt([e,t,r,s],o,!1));return Array.isArray(u)?i.Children.toArray(u):u},yn=function(e,t){var r=e.defaultRichTextElements,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["defaultRichTextElements"]),i=mn(r),o=hn(rt(rt(rt({},Br),n),{defaultRichTextElements:i}),t);return rt(rt({},o),{formatMessage:gn.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i},o.formatters)})};!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:yn(dn(t.props),t.cache),prevConfig:dn(t.props)},t}tt(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=dn(e);return function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}(r,i)?null:{intl:yn(i,n),prevConfig:i}},t.prototype.render=function(){return Mr(this.state.intl),i.createElement(Ze,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Br}(i.PureComponent);function vn(){var e=i.useContext(Je);return Mr(e),e}function bn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var En=a(2348),wn=a(4445),xn=a.n(wn);const Sn=function(e){function t(e,n,u,c,p){for(var h,d,m,g,E,x=0,S=0,k=0,A=0,D=0,j=0,I=m=h=0,L=0,N=0,M=0,B=0,z=u.length,U=z-1,$="",q="",V="",H="";L<z;){if(d=u.charCodeAt(L),L===U&&0!==S+A+k+x&&(0!==S&&(d=47===S?10:47),A=k=x=0,z++,U++),0===S+A+k+x){if(L===U&&(0<N&&($=$.replace(f,"")),0<$.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:$+=u.charAt(L)}d=59}switch(d){case 123:for(h=($=$.trim()).charCodeAt(0),m=1,B=++L;L<z;){switch(d=u.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(d=u.charCodeAt(L+1)){case 42:case 47:e:{for(I=L+1;I<U;++I)switch(u.charCodeAt(I)){case 47:if(42===d&&42===u.charCodeAt(I-1)&&L+2!==I){L=I+1;break e}break;case 10:if(47===d){L=I+1;break e}}L=I}}break;case 91:d++;case 40:d++;case 34:case 39:for(;L++<U&&u.charCodeAt(L)!==d;);}if(0===m)break;L++}if(m=u.substring(B,L),0===h&&(h=($=$.replace(l,"").trim()).charCodeAt(0)),64===h){switch(0<N&&($=$.replace(f,"")),d=$.charCodeAt(1)){case 100:case 109:case 115:case 45:N=n;break;default:N=T}if(B=(m=t(n,N,m,d,p+1)).length,0<_&&(E=s(3,m,N=r(T,$,M),n,C,F,B,d,p,c),$=N.join(""),void 0!==E&&0===(B=(m=E.trim()).length)&&(d=0,m="")),0<B)switch(d){case 115:$=$.replace(w,a);case 100:case 109:case 45:m=$+"{"+m+"}";break;case 107:m=($=$.replace(y,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=$+m,112===c&&(q+=m,m="")}else m=""}else m=t(n,r(n,$,M),m,c,p+1);V+=m,m=M=N=I=h=0,$="",d=u.charCodeAt(++L);break;case 125:case 59:if(1<(B=($=(0<N?$.replace(f,""):$).trim()).length))switch(0===I&&(h=$.charCodeAt(0),45===h||96<h&&123>h)&&(B=($=$.replace(" ",":")).length),0<_&&void 0!==(E=s(1,$,n,e,C,F,q.length,c,p,c))&&0===(B=($=E.trim()).length)&&($="\0\0"),h=$.charCodeAt(0),d=$.charCodeAt(1),h){case 0:break;case 64:if(105===d||99===d){H+=$+u.charAt(L);break}default:58!==$.charCodeAt(B-1)&&(q+=i($,h,d,$.charCodeAt(2)))}M=N=I=h=0,$="",d=u.charCodeAt(++L)}}switch(d){case 13:case 10:47===S?S=0:0===1+h&&107!==c&&0<$.length&&(N=1,$+="\0"),0<_*R&&s(0,$,n,e,C,F,q.length,c,p,c),F=1,C++;break;case 59:case 125:if(0===S+A+k+x){F++;break}default:switch(F++,g=u.charAt(L),d){case 9:case 32:if(0===A+x+S)switch(D){case 44:case 58:case 9:case 32:g="";break;default:32!==d&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===A+S+x&&(N=M=1,g="\f"+g);break;case 108:if(0===A+S+x+P&&0<I)switch(L-I){case 2:112===D&&58===u.charCodeAt(L-3)&&(P=D);case 8:111===j&&(P=j)}break;case 58:0===A+S+x&&(I=L);break;case 44:0===S+k+A+x&&(N=1,g+="\r");break;case 34:case 39:0===S&&(A=A===d?0:0===A?d:A);break;case 91:0===A+S+k&&x++;break;case 93:0===A+S+k&&x--;break;case 41:0===A+S+x&&k--;break;case 40:if(0===A+S+x){if(0===h)if(2*D+3*j==533);else h=1;k++}break;case 64:0===S+k+A+x+I+m&&(m=1);break;case 42:case 47:if(!(0<A+x+k))switch(S){case 0:switch(2*d+3*u.charCodeAt(L+1)){case 235:S=47;break;case 220:B=L,S=42}break;case 42:47===d&&42===D&&B+2!==L&&(33===u.charCodeAt(B+2)&&(q+=u.substring(B,L+1)),g="",S=0)}}0===S&&($+=g)}j=D,D=d,L++}if(0<(B=q.length)){if(N=n,0<_&&(void 0!==(E=s(2,q,N,e,C,F,B,c,p,c))&&0===(q=E).length))return H+q+V;if(q=N.join(",")+"{"+q+"}",0!=O*P){switch(2!==O||o(q,2)||(P=0),P){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(v,"::-webkit-input-$1")+q.replace(v,"::-moz-$1")+q.replace(v,":-ms-input-$1")+q}P=0}}return H+q+V}function r(e,t,r){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=n(e[c]+" ",i[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===O||2===O&&o(u,1)?"-webkit-"+u+u:u}if(0===O||2===O&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(D,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(E,"tb");break;case 232:u=a.replace(E,"tb-rl");break;case 220:u=a.replace(E,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(k,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,u,l){for(var f,p=0,h=t;p<_;++p)switch(f=j[p].call(c,e,h,r,n,i,o,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==t)return h}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?O=1:(O=2,I=e):O=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var i=s(-1,r,n,n,C,F,0,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var o=t(T,n,r,0,0);return 0<_&&(void 0!==(i=s(-2,o,n,n,C,F,o.length,0,0,0))&&(o=i)),"",P=0,F=C=1,o}var l=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,d=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,F=1,C=1,P=0,O=1,T=[],j=[],_=0,I=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:_=j.length=0;break;default:if("function"==typeof t)j[_++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else R=0|!!t}return e},c.set=u,void 0!==e&&u(e),c};const kn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const An=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var Dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const Fn=An((function(e){return Dn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Cn=a(7061);function Pn(){return(Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var On=function(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r},Tn=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,En.typeOf)(e)},jn=Object.freeze([]),_n=Object.freeze({});function In(e){return"function"==typeof e}function Rn(e){return e.displayName||e.name||"Component"}function Ln(e){return e&&"string"==typeof e.styledComponentId}var Nn=void 0!==Cn&&(Cn.env.REACT_APP_SC_ATTR||Cn.env.SC_ATTR)||"data-styled",Mn="undefined"!=typeof window&&"HTMLElement"in window,Bn=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==Cn&&void 0!==Cn.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==Cn.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==Cn.env.REACT_APP_SC_DISABLE_SPEEDY&&Cn.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==Cn&&void 0!==Cn.env.SC_DISABLE_SPEEDY&&""!==Cn.env.SC_DISABLE_SPEEDY&&("false"!==Cn.env.SC_DISABLE_SPEEDY&&Cn.env.SC_DISABLE_SPEEDY)),zn={};function Un(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var $n=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&Un(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,u=t.length;s<u;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),qn=new Map,Vn=new Map,Hn=1,Gn=function(e){if(qn.has(e))return qn.get(e);for(;Vn.has(Hn);)Hn++;var t=Hn++;return qn.set(e,t),Vn.set(t,e),t},Wn=function(e){return Vn.get(e)},Qn=function(e,t){t>=Hn&&(Hn=t+1),qn.set(e,t),Vn.set(t,e)},Kn="style["+Nn+'][data-styled-version="5.3.5"]',Yn=new RegExp("^"+Nn+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Xn=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},Zn=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var s=a.match(Yn);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(Qn(c,u),Xn(e,c,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},Jn=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},ei=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Nn))return n}}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(Nn,"active"),n.setAttribute("data-styled-version","5.3.5");var a=Jn();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},ti=function(){function e(e){var t=this.element=ei(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}Un(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),ri=function(){function e(e){var t=this.element=ei(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),ni=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ii=Mn,oi={isServer:!Mn,useCSSOMInjection:!Bn},ai=function(){function e(e,t,r){void 0===e&&(e=_n),void 0===t&&(t={}),this.options=Pn({},oi,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Mn&&ii&&(ii=!1,function(e){for(var t=document.querySelectorAll(Kn),r=0,n=t.length;r<n;r++){var i=t[r];i&&"active"!==i.getAttribute(Nn)&&(Zn(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Gn(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Pn({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,i=t.target,e=r?new ni(i):n?new ti(i):new ri(i),new $n(e)));var e,t,r,n,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Gn(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Gn(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Gn(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=0;i<r;i++){var o=Wn(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var u=Nn+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),n+=""+s+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),si=/(a)(d)/gi,ui=function(e){return String.fromCharCode(e+(e>25?39:97))};function ci(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ui(t%52)+r;return(ui(t%52)+r).replace(si,"$1-$2")}var li=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},fi=function(e){return li(5381,e)};function pi(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(In(r)&&!Ln(r))return!1}return!0}var hi=fi("5.3.5"),di=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&pi(e),this.componentId=t,this.baseHash=li(hi,t),this.baseStyle=r,ai.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var o=ji(this.rules,e,t,r).join(""),a=ci(li(this.baseHash,o)>>>0);if(!t.hasNameForId(n,a)){var s=r(o,"."+a,void 0,n);t.insertRules(n,a,s)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,c=li(this.baseHash,r.hash),l="",f=0;f<u;f++){var p=this.rules[f];if("string"==typeof p)l+=p;else if(p){var h=ji(p,e,t,r),d=Array.isArray(h)?h.join(""):h;c=li(c,d+f),l+=d}}if(l){var m=ci(c>>>0);if(!t.hasNameForId(n,m)){var g=r(l,"."+m,void 0,n);t.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},e}(),mi=/^\s*\/\/.*$/gm,gi=[":","[",".","#"];function yi(e){var t,r,n,i,o=void 0===e?_n:e,a=o.options,s=void 0===a?_n:a,u=o.plugins,c=void 0===u?jn:u,l=new Sn(s),f=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,o,a,s,u,c,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),h=function(e,n,o){return 0===n&&-1!==gi.indexOf(o[r.length])||o.match(i)?e:"."+t};function d(e,o,a,s){void 0===s&&(s="&");var u=e.replace(mi,""),c=o&&a?a+" "+o+" { "+u+" }":u;return t=s,r=o,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),l(a||!o?"":o,c)}return l.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},p,function(e){if(-2===e){var t=f;return f=[],t}}])),d.hash=c.length?c.reduce((function(e,t){return t.name||Un(15),li(e,t.name)}),5381).toString():"",d}var vi=o().createContext(),bi=(vi.Consumer,o().createContext()),Ei=(bi.Consumer,new ai),wi=yi();function xi(){return(0,i.useContext)(vi)||Ei}function Si(){return(0,i.useContext)(bi)||wi}function ki(e){var t=(0,i.useState)(e.stylisPlugins),r=t[0],n=t[1],a=xi(),s=(0,i.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=(0,i.useMemo)((function(){return yi({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,i.useEffect)((function(){xn()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),o().createElement(vi.Provider,{value:s},o().createElement(bi.Provider,{value:u},e.children))}var Ai=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=wi);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return Un(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=wi),this.name+e.hash},e}(),Di=/([A-Z])/,Fi=/([A-Z])/g,Ci=/^ms-/,Pi=function(e){return"-"+e.toLowerCase()};function Oi(e){return Di.test(e)?e.replace(Fi,Pi).replace(Ci,"-ms-"):e}var Ti=function(e){return null==e||!1===e||""===e};function ji(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=ji(e[a],t,r,n))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return Ti(e)?"":Ln(e)?"."+e.styledComponentId:In(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:ji(e(t),t,r,n):e instanceof Ai?r?(e.inject(r,n),e.getName(n)):e:Tn(e)?function e(t,r){var n,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!Ti(t[a])&&(Array.isArray(t[a])&&t[a].isCss||In(t[a])?o.push(Oi(a)+":",t[a],";"):Tn(t[a])?o.push.apply(o,e(t[a],a)):o.push(Oi(a)+": "+(n=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in kn?String(i).trim():i+"px")+";")));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString();var u}var _i=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ii(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return In(e)||Tn(e)?_i(ji(On(jn,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:_i(ji(On(e,r)))}new Set;var Ri=function(e,t,r){return void 0===r&&(r=_n),e.theme!==r.theme&&e.theme||t||r.theme},Li=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ni=/(^-|-$)/g;function Mi(e){return e.replace(Li,"-").replace(Ni,"")}var Bi=function(e){return ci(fi(e)>>>0)};function zi(e){return"string"==typeof e&&!0}var Ui=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},$i=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function qi(e,t,r){var n=e[r];Ui(t)&&Ui(n)?Vi(n,t):e[r]=t}function Vi(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];if(Ui(a))for(var s in a)$i(s)&&qi(e,a[s],s)}return e}var Hi=o().createContext();Hi.Consumer;var Gi={};function Wi(e,t,r){var n=Ln(e),a=!zi(e),s=t.attrs,u=void 0===s?jn:s,c=t.componentId,l=void 0===c?function(e,t){var r="string"!=typeof e?"sc":Mi(e);Gi[r]=(Gi[r]||0)+1;var n=r+"-"+Bi("5.3.5"+r+Gi[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):c,f=t.displayName,p=void 0===f?function(e){return zi(e)?"styled."+e:"Styled("+Rn(e)+")"}(e):f,h=t.displayName&&t.componentId?Mi(t.displayName)+"-"+t.componentId:t.componentId||l,d=n&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,m=t.shouldForwardProp;n&&e.shouldForwardProp&&(m=t.shouldForwardProp?function(r,n,i){return e.shouldForwardProp(r,n,i)&&t.shouldForwardProp(r,n,i)}:e.shouldForwardProp);var g,y=new di(r,h,n?e.componentStyle:void 0),v=y.isStatic&&0===u.length,b=function(e,t){return function(e,t,r,n){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,f=e.target,p=function(e,t,r){void 0===e&&(e=_n);var n=Pn({},t,{theme:e}),i={};return r.forEach((function(e){var t,r,o,a=e;for(t in In(a)&&(a=a(n)),a)n[t]=i[t]="className"===t?(r=i[t],o=a[t],r&&o?r+" "+o:r||o):a[t]})),[n,i]}(Ri(t,(0,i.useContext)(Hi),s)||_n,t,o),h=p[0],d=p[1],m=function(e,t,r,n){var i=xi(),o=Si();return t?e.generateAndInjectStyles(_n,i,o):e.generateAndInjectStyles(r,i,o)}(a,n,h),g=r,y=d.$as||t.$as||d.as||t.as||f,v=zi(y),b=d!==t?Pn({},t,{},d):t,E={};for(var w in b)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?E.as=b[w]:(c?c(w,Fn,y):!v||Fn(w))&&(E[w]=b[w]));return t.style&&d.style!==t.style&&(E.style=Pn({},t.style,{},d.style)),E.className=Array.prototype.concat(u,l,m!==l?m:null,t.className,d.className).filter(Boolean).join(" "),E.ref=g,(0,i.createElement)(y,E)}(g,e,t,v)};return b.displayName=p,(g=o().forwardRef(b)).attrs=d,g.componentStyle=y,g.displayName=p,g.shouldForwardProp=m,g.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):jn,g.styledComponentId=h,g.target=n?e.target:e,g.withComponent=function(e){var n=t.componentId,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,["componentId"]),o=n&&n+"-"+(zi(e)?e:Mi(Rn(e)));return Wi(e,Pn({},i,{attrs:d,componentId:o}),r)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Vi({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},a&&Ce()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Qi=function(e){return function e(t,r,n){if(void 0===n&&(n=_n),!(0,En.isValidElementType)(r))return Un(1,String(r));var i=function(){return t(r,n,Ii.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,r,Pn({},n,{},i))},i.attrs=function(i){return e(t,r,Pn({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(Wi,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Qi[e]=Qi(e)}));var Ki=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=pi(e),ai.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var i=n(ji(this.rules,t,r,n).join(""),""),o=this.componentId+e;r.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&ai.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function Yi(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=Ii.apply(void 0,[e].concat(r)),s="sc-global-"+Bi(JSON.stringify(a)),u=new Ki(a,s);function c(e){var t=xi(),r=Si(),n=(0,i.useContext)(Hi),o=(0,i.useRef)(t.allocateGSInstance(s)).current;return t.server&&l(o,e,t,n,r),(0,i.useLayoutEffect)((function(){if(!t.server)return l(o,e,t,n,r),function(){return u.removeStyles(o,t)}}),[o,e,t,n,r]),null}function l(e,t,r,n,i){if(u.isStatic)u.renderStyles(e,zn,r,i);else{var o=Pn({},t,{theme:Ri(t,n,c.defaultProps)});u.renderStyles(e,o,r,i)}}return o().memo(c)}function Xi(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Ii.apply(void 0,[e].concat(r)).join(""),o=Bi(i);return new Ai(o,i)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=Jn();return"<style "+[r&&'nonce="'+r+'"',Nn+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Un(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Un(2);var r=((t={})[Nn]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=Jn();return n&&(r.nonce=n),[o().createElement("style",Pn({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ai({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?Un(2):o().createElement(ki,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Un(3)}}();const Zi=Qi;var Ji=a(3615),eo=a.n(Ji),to=a(4335),ro=a.n(to),no=a(3996),io=a.n(no);function oo(){return(oo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ao(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,so(e,t)}function so(e,t){return(so=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uo(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}var co={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},lo={rel:["amphtml","canonical","alternate"]},fo={type:["application/ld+json"]},po={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ho=Object.keys(co).map((function(e){return co[e]})),mo={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},go=Object.keys(mo).reduce((function(e,t){return e[mo[t]]=t,e}),{}),yo=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},vo=function(e){var t=yo(e,co.TITLE),r=yo(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,(function(){return t}));var n=yo(e,"defaultTitle");return t||n||void 0},bo=function(e){return yo(e,"onChangeClientState")||function(){}},Eo=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return oo({},e,t)}),{})},wo=function(e,t){return t.filter((function(e){return void 0!==e[co.BASE]})).map((function(e){return e[co.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),i=0;i<n.length;i+=1){var o=n[i].toLowerCase();if(-1!==e.indexOf(o)&&r[o])return t.concat(r)}return t}),[])},xo=function(e,t,r){var n={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var i={};r.filter((function(e){for(var r,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a],u=s.toLowerCase();-1===t.indexOf(u)||"rel"===r&&"canonical"===e[r].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(r=u),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!e[r])return!1;var c=e[r].toLowerCase();return n[r]||(n[r]={}),i[r]||(i[r]={}),!n[r][c]&&(i[r][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a+=1){var s=o[a],u=oo({},n[s],i[s]);n[s]=u}return e}),[]).reverse()},So=function(e,t){if(Array.isArray(e)&&e.length)for(var r=0;r<e.length;r+=1)if(e[r][t])return!0;return!1},ko=function(e){return Array.isArray(e)?e.join(""):e},Ao=function(e,t){return Array.isArray(e)?e.reduce((function(e,r){return function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(e[r[n]]))return!0;return!1}(r,t)?e.priority.push(r):e.default.push(r),e}),{priority:[],default:[]}):{default:e}},Do=[co.NOSCRIPT,co.SCRIPT,co.STYLE],Fo=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Co=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},Po=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,r){return t[mo[r]||r]=e[r],t}),t)},Oo=function(e,t){return t.map((function(t,r){var n,i=((n={key:r})["data-rh"]=!0,n);return Object.keys(t).forEach((function(e){var r=mo[e]||e;"innerHTML"===r||"cssText"===r?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[r]=t[e]})),o().createElement(e,i)}))},To=function(e,t,r){switch(e){case co.TITLE:return{toComponent:function(){return r=t.titleAttributes,(n={key:e=t.title})["data-rh"]=!0,i=Po(r,n),[o().createElement(co.TITLE,i,e)];var e,r,n,i},toString:function(){return function(e,t,r,n){var i=Co(r),o=ko(t);return i?"<"+e+' data-rh="true" '+i+">"+Fo(o,n)+"</"+e+">":"<"+e+' data-rh="true">'+Fo(o,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Po(t)},toString:function(){return Co(t)}};default:return{toComponent:function(){return Oo(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var i=Object.keys(n).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===n[t]?t:t+'="'+Fo(n[t],r)+'"';return e?e+" "+i:i}),""),o=n.innerHTML||n.cssText||"",a=-1===Do.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,r)}}}},jo=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,u=void 0===s?"":s,c=e.titleAttributes,l=e.linkTags,f=e.metaTags,p=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var d=function(e){var t=e.linkTags,r=e.scriptTags,n=e.encode,i=Ao(e.metaTags,po),o=Ao(t,lo),a=Ao(r,fo);return{priorityMethods:{toComponent:function(){return[].concat(Oo(co.META,i.priority),Oo(co.LINK,o.priority),Oo(co.SCRIPT,a.priority))},toString:function(){return To(co.META,i.priority,n)+" "+To(co.LINK,o.priority,n)+" "+To(co.SCRIPT,a.priority,n)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(e);h=d.priorityMethods,l=d.linkTags,f=d.metaTags,p=d.scriptTags}return{priority:h,base:To(co.BASE,t,n),bodyAttributes:To("bodyAttributes",r,n),htmlAttributes:To("htmlAttributes",i,n),link:To(co.LINK,l,n),meta:To(co.META,f,n),noscript:To(co.NOSCRIPT,o,n),script:To(co.SCRIPT,p,n),style:To(co.STYLE,a,n),title:To(co.TITLE,{title:u,titleAttributes:c},n)}},_o=o().createContext({}),Io=eo().shape({setHelmet:eo().func,helmetInstances:eo().shape({get:eo().func,add:eo().func,remove:eo().func})}),Ro="undefined"!=typeof document,Lo=function(e){function t(r){var n;return(n=e.call(this,r)||this).instances=[],n.value={setHelmet:function(e){n.props.context.helmet=e},helmetInstances:{get:function(){return n.instances},add:function(e){n.instances.push(e)},remove:function(e){var t=n.instances.indexOf(e);n.instances.splice(t,1)}}},t.canUseDOM||(r.context.helmet=jo({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),n}return ao(t,e),t.prototype.render=function(){return o().createElement(_o.Provider,{value:this.value},this.props.children)},t}(i.Component);Lo.canUseDOM=Ro,Lo.propTypes={context:eo().shape({helmet:eo().shape()}),children:eo().node.isRequired},Lo.defaultProps={context:{}},Lo.displayName="HelmetProvider";var No=function(e,t){var r,n=document.head||document.querySelector(co.HEAD),i=n.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?n.innerHTML=t.innerHTML:"cssText"===i?n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText)):n.setAttribute(i,void 0===t[i]?"":t[i]));n.setAttribute("data-rh","true"),o.some((function(e,t){return r=t,n.isEqualNode(e)}))?o.splice(r,1):a.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},Mo=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s+=1){var u=a[s],c=t[u]||"";r.getAttribute(u)!==c&&r.setAttribute(u,c),-1===i.indexOf(u)&&i.push(u);var l=o.indexOf(u);-1!==l&&o.splice(l,1)}for(var f=o.length-1;f>=0;f-=1)r.removeAttribute(o[f]);i.length===o.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},Bo=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,l=e.title,f=e.titleAttributes;Mo(co.BODY,e.bodyAttributes),Mo(co.HTML,n),function(e,t){void 0!==e&&document.title!==e&&(document.title=ko(e)),Mo(co.TITLE,t)}(l,f);var p={baseTag:No(co.BASE,r),linkTags:No(co.LINK,i),metaTags:No(co.META,o),noscriptTags:No(co.NOSCRIPT,a),scriptTags:No(co.SCRIPT,u),styleTags:No(co.STYLE,c)},h={},d={};Object.keys(p).forEach((function(e){var t=p[e],r=t.newTags,n=t.oldTags;r.length&&(h[e]=r),n.length&&(d[e]=p[e].oldTags)})),t&&t(),s(e,h,d)},zo=null,Uo=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).rendered=!1,t}ao(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!xn()(e,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var e,t,r=this.props.context,n=r.setHelmet,i=null,o=(e=r.helmetInstances.get().map((function(e){var t=oo({},e.props);return delete t.context,t})),{baseTag:wo(["href"],e),bodyAttributes:Eo("bodyAttributes",e),defer:yo(e,"defer"),encode:yo(e,"encodeSpecialCharacters"),htmlAttributes:Eo("htmlAttributes",e),linkTags:xo(co.LINK,["rel","href"],e),metaTags:xo(co.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:xo(co.NOSCRIPT,["innerHTML"],e),onChangeClientState:bo(e),scriptTags:xo(co.SCRIPT,["src","innerHTML"],e),styleTags:xo(co.STYLE,["cssText"],e),title:vo(e),titleAttributes:Eo("titleAttributes",e),prioritizeSeoTags:So(e,"prioritizeSeoTags")});Lo.canUseDOM?(t=o,zo&&cancelAnimationFrame(zo),t.defer?zo=requestAnimationFrame((function(){Bo(t,(function(){zo=null}))})):(Bo(t),zo=null)):jo&&(i=jo(o)),n(i)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t}(i.Component);Uo.propTypes={context:Io.isRequired},Uo.displayName="HelmetDispatcher";var $o=["children"],qo=["children"],Vo=function(e){function t(){return e.apply(this,arguments)||this}ao(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(e){return!ro()(this.props,e)},r.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case co.SCRIPT:case co.NOSCRIPT:return{innerHTML:t};case co.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren;return oo({},n,((t={})[r.type]=[].concat(n[r.type]||[],[oo({},e.newChildProps,this.mapNestedChildrenToProps(r,e.nestedChildren))]),t))},r.mapObjectTypeChildren=function(e){var t,r,n=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(n.type){case co.TITLE:return oo({},i,((t={})[n.type]=a,t.titleAttributes=oo({},o),t));case co.BODY:return oo({},i,{bodyAttributes:oo({},o)});case co.HTML:return oo({},i,{htmlAttributes:oo({},o)});default:return oo({},i,((r={})[n.type]=oo({},o),r))}},r.mapArrayTypeChildrenToProps=function(e,t){var r=oo({},t);return Object.keys(e).forEach((function(t){var n;r=oo({},r,((n={})[t]=e[t],n))})),r},r.warnOnInvalidChildren=function(e,t){return io()(ho.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ho.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),io()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(e,t){var r=this,n={};return o().Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=uo(i,$o),s=Object.keys(a).reduce((function(e,t){return e[go[t]||t]=a[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():r.warnOnInvalidChildren(e,o),u){case co.FRAGMENT:t=r.mapChildrenToProps(o,t);break;case co.LINK:case co.META:case co.NOSCRIPT:case co.SCRIPT:case co.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:s,nestedChildren:o});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(n,t)},r.render=function(){var e=this.props,t=e.children,r=oo({},uo(e,qo));return t&&(r=this.mapChildrenToProps(t,r)),o().createElement(_o.Consumer,null,(function(e){return o().createElement(Uo,oo({},r,{context:e}))}))},t}(i.Component);Vo.propTypes={base:eo().object,bodyAttributes:eo().object,children:eo().oneOfType([eo().arrayOf(eo().node),eo().node]),defaultTitle:eo().string,defer:eo().bool,encodeSpecialCharacters:eo().bool,htmlAttributes:eo().object,link:eo().arrayOf(eo().object),meta:eo().arrayOf(eo().object),noscript:eo().arrayOf(eo().object),onChangeClientState:eo().func,script:eo().arrayOf(eo().object),style:eo().arrayOf(eo().object),title:eo().string,titleAttributes:eo().object,titleTemplate:eo().string,prioritizeSeoTags:eo().bool},Vo.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Vo.displayName="Helmet";var Ho=a(5969),Go=a(8717),Wo=a(7918);var Qo=a(213);function Ko(e){return new RegExp("^("+e+")$","i")}const Yo=new Ho;function Xo(e,t,r){const n=r.skip&&Ko(r.skip),i=(0,Qo.convert)(r.parents||(t=>t===e)),o=[];let a,s,u;var c,l,f,p;return Yo.reset(),c=e,f=function(e,c,l){const f=(0,Go.B)(e,{includeImageAlt:!1}),p=e.data&&e.data.hProperties&&e.data.hProperties.id,h=Yo.slug(p||f);if(i(l)){if(null!==c&&t&&!a&&t.test(f))return a=c+1,void(u=e);null!==c&&u&&!s&&e.depth<=u.depth&&(s=c),!s&&t||r.maxDepth&&!(e.depth<=r.maxDepth)||n&&n.test(f)||o.push({depth:e.depth,children:e.children,id:h})}},"function"==typeof(l="heading")&&"function"!=typeof f&&(p=f,f=l,l=null),(0,Wo.S4)(c,l,(function(e,t){var r=t[t.length-1];return f(e,r?r.children.indexOf(e):null,r)}),p),{index:a||-1,endIndex:a?s||e.children.length:-1,map:o}}var Zo=a(229);function Jo(e,t){const{ordered:r=!1,tight:n=!1,prefix:i=null}=t,o={type:"list",ordered:r,spread:!1,children:[]};let a=Number.POSITIVE_INFINITY,s=-1;for(;++s<e.length;)e[s].depth<a&&(a=e[s].depth);for(s=-1;++s<e.length;)e[s].depth-=a-1;for(s=-1;++s<e.length;)ea(e[s],o,{ordered:r,tight:n,prefix:i});return o}function ea(e,t,r){let n=-1;if("list"===t.type)if(1===e.depth)t.children.push({type:"listItem",spread:!1,children:[{type:"paragraph",children:[{type:"link",title:null,url:"#"+(r.prefix||"")+e.id,children:ta(e.children)}]}]});else if(t.children.length>0)ea(e,t.children[t.children.length-1],r);else{const n={type:"listItem",spread:!1,children:[]};t.children.push(n),ea(e,n,r)}else if(t.children[t.children.length-1]&&"list"===t.children[t.children.length-1].type)e.depth--,ea(e,t.children[t.children.length-1],r);else{const n={type:"list",ordered:r.ordered,spread:!1,children:[]};t.children.push(n),e.depth--,ea(e,n,r)}if("list"!==t.type||r.tight)t.spread=!r.tight;else for(t.spread=!1;++n<t.children.length;)if(t.children[n].children.length>1){t.spread=!0;break}}function ta(e){let t=[],r=-1;if(e)for(;++r<e.length;)t=t.concat(ra(e[r]));return t}function ra(e){if("link"===e.type||"linkReference"===e.type||"footnote"===e.type||"footnoteReference"===e.type)return ta(e.children);if("children"in e){const{children:t,position:r,...n}=e;return Object.assign(Zo(!0,{},n),{children:ta(e.children)})}const{position:t,...r}=e;return Zo(!0,{},r)}var na=a(3428);const ia=new Ho;function oa(){return e=>{ia.reset(),(0,na.visit)(e,"heading",(e=>{const t=e.data||(e.data={}),r=t.hProperties||(t.hProperties={});let n=r.id;n=n?ia.slug(String(n),!0):ia.slug((0,Go.B)(e)),t.id=n,r.id=n}))}}var aa=function(e,t,r){var n={type:String(e)};return null!=r||"string"!=typeof t&&!Array.isArray(t)?Object.assign(n,t):r=t,Array.isArray(r)?n.children=r:null!=r&&(n.value=String(r)),n},sa=ca("start"),ua=ca("end");function ca(e){return function(t){var r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const la={}.hasOwnProperty;function fa(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");var r,n,i,o;return r=e,i=function(e){const r=pa(e.identifier);r&&!la.call(t,r)&&(t[r]=e)},"function"==typeof(n="definition")&&"function"!=typeof i&&(o=i,i=n,n=null),(0,Wo.S4)(r,n,(function(e,t){var r=t[t.length-1];return i(e,r?r.children.indexOf(e):null,r)}),o),function(e){const r=pa(e);return r&&la.call(t,r)?t[r]:null}}function pa(e){return String(e||"").toUpperCase()}const ha={}.hasOwnProperty;function da(e,t){const r=t.data||{};return"value"in t&&!(ha.call(r,"hName")||ha.call(r,"hProperties")||ha.call(r,"hChildren"))?e.augment(t,aa("text",t.value)):e(t,"div",ya(e,t))}function ma(e,t,r){const n=t&&t.type;let i;if(!n)throw new Error("Expected node, got `"+t+"`");return i=ha.call(e.handlers,n)?e.handlers[n]:e.passThrough&&e.passThrough.includes(n)?ga:e.unknownHandler,("function"==typeof i?i:da)(e,t,r)}function ga(e,t){return"children"in t?{...t,children:ya(e,t)}:t}function ya(e,t){const r=[];if("children"in t){const n=t.children;let i=-1;for(;++i<n.length;){const o=ma(e,n[i],t);if(o){if(i&&"break"===n[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?r.push(...o):r.push(o)}}}return r}var va=a(488);const ba={'"':"quot","&":"amp","<":"lt",">":"gt"};function Ea(e,t){const r=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+ba[e]+";"}))}(function(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const o=e.charCodeAt(r);let a="";if(37===o&&(0,va.asciiAlphanumeric)(e.charCodeAt(r+1))&&(0,va.asciiAlphanumeric)(e.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(n,r),encodeURIComponent(a)),n=r+i+1,a=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}(e||""));if(!t)return r;const n=r.indexOf(":"),i=r.indexOf("?"),o=r.indexOf("#"),a=r.indexOf("/");return n<0||a>-1&&n>a||i>-1&&n>i||o>-1&&n>o||t.test(r.slice(0,n))?r:""}function wa(e,t){const r=[];let n=-1;for(t&&r.push(aa("text","\n"));++n<e.length;)n&&r.push(aa("text","\n")),r.push(e[n]);return t&&e.length>0&&r.push(aa("text","\n")),r}function xa(e,t){const r=String(t.identifier),n=Ea(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o;-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,o=e.footnoteOrder.length):(e.footnoteCounts[r]++,o=i+1);const a=e.footnoteCounts[r];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[aa("text",String(o))])])}var Sa=a(4651);function ka(e,t){const r=t.referenceType;let n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return aa("text","!["+t.alt+n);const i=ya(e,t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift(aa("text","["));const a=i[i.length-1];return a&&"text"===a.type?a.value+=n:i.push(aa("text",n)),i}function Aa(e){const t=e.spread;return null==t?e.children.length>1:t}const Da={blockquote:function(e,t){return e(t,"blockquote",wa(ya(e,t),!0))},break:function(e,t){return[e(t,"br"),aa("text","\n")]},code:function(e,t){const r=t.value?t.value+"\n":"",n=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};n&&(i.className=["language-"+n]);const o=e(t,"code",i,[aa("text",r)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])},delete:function(e,t){return e(t,"del",ya(e,t))},emphasis:function(e,t){return e(t,"em",ya(e,t))},footnoteReference:xa,footnote:function(e,t){const r=e.footnoteById;let n=1;for(;n in r;)n++;const i=String(n);return r[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},xa(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,ya(e,t))},html:function(e,t){return e.dangerous?e.augment(t,aa("raw",t.value)):null},imageReference:function(e,t){const r=e.definition(t.identifier);if(!r)return ka(e,t);const n={src:Sa(r.url||""),alt:t.alt};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"img",n)},image:function(e,t){const r={src:Sa(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"img",r)},inlineCode:function(e,t){return e(t,"code",[aa("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const r=e.definition(t.identifier);if(!r)return ka(e,t);const n={href:Sa(r.url||"")};return null!==r.title&&void 0!==r.title&&(n.title=r.title),e(t,"a",n,ya(e,t))},link:function(e,t){const r={href:Sa(t.url)};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"a",r,ya(e,t))},listItem:function(e,t,r){const n=ya(e,t),i=r?function(e){let t=e.spread;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=Aa(r[n]);return Boolean(t)}(r):Aa(t),o={},a=[];if("boolean"==typeof t.checked){let r;n[0]&&"element"===n[0].type&&"p"===n[0].tagName?r=n[0]:(r=e(null,"p",[]),n.unshift(r)),r.children.length>0&&r.children.unshift(aa("text"," ")),r.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),o.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const e=n[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(aa("text","\n")),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const u=n[n.length-1];return!u||!i&&"tagName"in u&&"p"===u.tagName||a.push(aa("text","\n")),e(t,"li",o,a)},list:function(e,t){const r={},n=t.ordered?"ol":"ul",i=ya(e,t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++o<i.length;){const e=i[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}return e(t,n,r,wa(i,!0))},paragraph:function(e,t){return e(t,"p",ya(e,t))},root:function(e,t){return e.augment(t,aa("root",wa(ya(e,t))))},strong:function(e,t){return e(t,"strong",ya(e,t))},table:function(e,t){const r=t.children;let n=-1;const i=t.align||[],o=[];for(;++n<r.length;){const a=r[n].children,s=0===n?"th":"td";let u=t.align?i.length:a.length;const c=[];for(;u--;){const t=a[u];c[u]=e(t,s,{align:i[u]},t?ya(e,t):[])}o[n]=e(r[n],"tr",wa(c,!0))}return e(t,"table",wa([e(o[0].position,"thead",wa([o[0]],!0))].concat(o[1]?e({start:sa(o[1]),end:ua(o[o.length-1])},"tbody",wa(o.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,aa("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:function(e,t){return e(t,"hr")},toml:Fa,yaml:Fa,definition:Fa,footnoteDefinition:Fa};function Fa(){return null}const Ca={}.hasOwnProperty;function Pa(e,t){const r=function(e,t){const r=t||{},n=r.allowDangerousHtml||!1,i={};return a.dangerous=n,a.clobberPrefix=void 0===r.clobberPrefix||null===r.clobberPrefix?"user-content-":r.clobberPrefix,a.footnoteLabel=r.footnoteLabel||"Footnotes",a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.definition=fa(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.augment=o,a.handlers={...Da,...r.handlers},a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,(0,na.visit)(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Ca.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const r=e.data;r.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=r.hName),"element"===t.type&&r.hProperties&&(t.properties={...t.properties,...r.hProperties}),"children"in t&&t.children&&r.hChildren&&(t.children=r.hChildren)}if(e){const n="type"in e?e:{position:e};(r=n)&&r.position&&r.position.start&&r.position.start.line&&r.position.start.column&&r.position.end&&r.position.end.line&&r.position.end.column&&(t.position={start:sa(n),end:ua(n)})}var r;return t}function a(e,t,r,n){return Array.isArray(r)&&(n=r,r={}),o(e,{type:"element",tagName:t,properties:r||{},children:n||[]})}}(e,t),n=ma(r,e,null),i=function(e){let t=-1;const r=[];for(;++t<e.footnoteOrder.length;){const n=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!n)continue;const i=ya(e,n),o=String(n.identifier),a=Ea(o.toLowerCase());let s=0;const u=[];for(;++s<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...u)}else i.push(...u);const l={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:wa(i,!0)};n.position&&(l.position=n.position),r.push(l)}return 0===r.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[aa("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:wa(r,!0)},{type:"text",value:"\n"}]}}(r);return i&&n.children.push(aa("text","\n"),i),Array.isArray(n)?{type:"root",children:n}:n}var Oa=a(4799),Ta="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function ja(e,t,r){e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function _a(e,t){for(var r=t.slice(0,t.length-1),n=0;n<r.length;n++)r[n]=e[r[n].toLowerCase()];return r}function Ia(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),r=t.lastIndexOf("");r>=0;)t[r-1]+=",",t.splice(r,1),r=t.lastIndexOf("");return t}for(var Ra={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Ta?173:189,"=":Ta?61:187,";":Ta?59:186,"'":222,"[":219,"]":221,"\\":220},La={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},Na={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Ma={16:!1,18:!1,17:!1,91:!1},Ba={},za=1;za<20;za++)Ra["f".concat(za)]=111+za;var Ua=[],$a="all",qa=[],Va=function(e){return Ra[e.toLowerCase()]||La[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function Ha(e){$a=e||"all"}function Ga(){return $a||"all"}var Wa=function(e){var t=e.key,r=e.scope,n=e.method,i=e.splitKey,o=void 0===i?"+":i;Ia(t).forEach((function(e){var t=e.split(o),i=t.length,a=t[i-1],s="*"===a?"*":Va(a);if(Ba[s]){r||(r=Ga());var u=i>1?_a(La,t):[];Ba[s]=Ba[s].map((function(e){return(!n||e.method===n)&&e.scope===r&&function(e,t){for(var r=e.length>=t.length?e:t,n=e.length>=t.length?t:e,i=!0,o=0;o<r.length;o++)-1===n.indexOf(r[o])&&(i=!1);return i}(e.mods,u)?{}:e}))}}))};function Qa(e,t,r){var n;if(t.scope===r||"all"===t.scope){for(var i in n=t.mods.length>0,Ma)Object.prototype.hasOwnProperty.call(Ma,i)&&(!Ma[i]&&t.mods.indexOf(+i)>-1||Ma[i]&&-1===t.mods.indexOf(+i))&&(n=!1);(0!==t.mods.length||Ma[16]||Ma[18]||Ma[17]||Ma[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function Ka(e){var t=Ba["*"],r=e.keyCode||e.which||e.charCode;if(Ya.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===Ua.indexOf(r)&&229!==r&&Ua.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=Na[t];e[t]&&-1===Ua.indexOf(r)?Ua.push(r):!e[t]&&Ua.indexOf(r)>-1?Ua.splice(Ua.indexOf(r),1):"metaKey"===t&&e[t]&&3===Ua.length&&(e.ctrlKey||e.shiftKey||e.altKey||(Ua=Ua.slice(Ua.indexOf(r))))})),r in Ma){for(var n in Ma[r]=!0,La)La[n]===r&&(Ya[n]=!0);if(!t)return}for(var i in Ma)Object.prototype.hasOwnProperty.call(Ma,i)&&(Ma[i]=e[Na[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===Ua.indexOf(17)&&Ua.push(17),-1===Ua.indexOf(18)&&Ua.push(18),Ma[17]=!0,Ma[18]=!0);var o=Ga();if(t)for(var a=0;a<t.length;a++)t[a].scope===o&&("keydown"===e.type&&t[a].keydown||"keyup"===e.type&&t[a].keyup)&&Qa(e,t[a],o);if(r in Ba)for(var s=0;s<Ba[r].length;s++)if(("keydown"===e.type&&Ba[r][s].keydown||"keyup"===e.type&&Ba[r][s].keyup)&&Ba[r][s].key){for(var u=Ba[r][s],c=u.splitKey,l=u.key.split(c),f=[],p=0;p<l.length;p++)f.push(Va(l[p]));f.sort().join("")===Ua.sort().join("")&&Qa(e,u,o)}}}function Ya(e,t,r){Ua=[];var n=Ia(e),i=[],o="all",a=document,s=0,u=!1,c=!0,l="+";for(void 0===r&&"function"==typeof t&&(r=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(o=t.scope),t.element&&(a=t.element),t.keyup&&(u=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(o=t);s<n.length;s++)i=[],(e=n[s].split(l)).length>1&&(i=_a(La,e)),(e="*"===(e=e[e.length-1])?"*":Va(e))in Ba||(Ba[e]=[]),Ba[e].push({keyup:u,keydown:c,scope:o,mods:i,shortcut:n[s],method:r,key:n[s],splitKey:l});void 0!==a&&!function(e){return qa.indexOf(e)>-1}(a)&&window&&(qa.push(a),ja(a,"keydown",(function(e){Ka(e)})),ja(window,"focus",(function(){Ua=[]})),ja(a,"keyup",(function(e){Ka(e),function(e){var t=e.keyCode||e.which||e.charCode,r=Ua.indexOf(t);if(r>=0&&Ua.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&Ua.splice(0,Ua.length),93!==t&&224!==t||(t=91),t in Ma)for(var n in Ma[t]=!1,La)La[n]===t&&(Ya[n]=!1)}(e)})))}var Xa={setScope:Ha,getScope:Ga,deleteScope:function(e,t){var r,n;for(var i in e||(e=Ga()),Ba)if(Object.prototype.hasOwnProperty.call(Ba,i))for(r=Ba[i],n=0;n<r.length;)r[n].scope===e?r.splice(n,1):n++;Ga()===e&&Ha(t||"all")},getPressedKeyCodes:function(){return Ua.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=Va(e)),-1!==Ua.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,r=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==r&&"TEXTAREA"!==r&&"SELECT"!==r||t.readOnly)||(n=!1),n},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&Wa(e)}));else if("object"==typeof e)e.key&&Wa(e);else if("string"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=r[0],o=r[1];"function"==typeof i&&(o=i,i=""),Wa({key:e,scope:i,method:o,splitKey:"+"})}}else Object.keys(Ba).forEach((function(e){return delete Ba[e]}))}};for(var Za in Xa)Object.prototype.hasOwnProperty.call(Xa,Za)&&(Ya[Za]=Xa[Za]);if("undefined"!=typeof window){var Ja=window.hotkeys;Ya.noConflict=function(e){return e&&window.hotkeys===Ya&&(window.hotkeys=Ja),Ya},window.hotkeys=Ya}const es=Ya;es.filter=function(){return!0};var ts=function(e,t){var r=e.target,n=r&&r.tagName;return Boolean(n&&t&&t.includes(n))};function rs(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var o=r||{},a=o.enableOnTags,s=o.filter,u=o.keyup,c=o.keydown,l=o.filterPreventDefault,f=void 0===l||l,p=o.enabled,h=void 0===p||p,d=o.enableOnContentEditable,m=void 0!==d&&d,g=(0,i.useRef)(null),y=(0,i.useCallback)((function(e,r){var n;return s&&!s(e)?!f:!!(ts(e,["INPUT","TEXTAREA","SELECT"])&&!ts(e,a)||null!=(n=e.target)&&n.isContentEditable&&!m)||(null===g.current||document.activeElement===g.current)&&(t(e,r),!0)}),n?[g,a,s].concat(n):[g,a,s]);return(0,i.useEffect)((function(){if(h)return u&&!0!==c&&(r.keydown=!1),es(e,r||{},y),function(){return es.unbind(e,y)};es.unbind(e,y)}),[y,e,h]),g}es.isPressed;function ns(){return ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ns.apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var is="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect,os={status:"not-requested",loading:!1,result:void 0,error:void 0},as={status:"loading",loading:!0,result:void 0,error:void 0},ss=function(){},us={initialState:function(e){return e&&e.executeOnMount?as:os},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return as},setResult:function(e,t){return{status:"success",loading:!1,result:e,error:void 0}},setError:function(e,t){return{status:"error",loading:!1,result:void 0,error:e}},onSuccess:ss,onError:ss},cs=function(e,t,r){var n,o=function(e){return ns({},us,{},e)}(r),a=(0,i.useState)(null),s=a[0],u=a[1],c=function(e){var t=(0,i.useState)((function(){return e.initialState(e)})),r=t[0],n=t[1],o=(0,i.useCallback)((function(){return n(e.initialState(e))}),[n,e]),a=(0,i.useCallback)((function(){return n(e.setLoading(r))}),[r,n]),s=(0,i.useCallback)((function(t){return n(e.setResult(t,r))}),[r,n]),u=(0,i.useCallback)((function(t){return n(e.setError(t,r))}),[r,n]),c=n,l=(0,i.useCallback)((function(e){return c(ns({},r,{},e))}),[r,c]);return{value:r,set:c,merge:l,reset:o,setLoading:a,setResult:s,setError:u}}(o),l=(n=(0,i.useRef)(!1),(0,i.useEffect)((function(){return n.current=!0,function(){n.current=!1}}),[]),function(){return n.current}),f=function(){var e=(0,i.useRef)(null);return{set:function(t){return e.current=t},get:function(){return e.current},is:function(t){return e.current===t}}}(),p=function(e){return l()&&f.is(e)},h=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=e.apply(void 0,r);if(u(r),i instanceof Promise)return f.set(i),c.setLoading(),i.then((function(e){p(i)&&c.setResult(e),o.onSuccess(e,{isCurrent:function(){return f.is(i)}})}),(function(e){p(i)&&c.setError(e),o.onError(e,{isCurrent:function(){return f.is(i)}})})),i;var a=i;return c.setResult(a),Promise.resolve(a)},d=!l();return(0,i.useEffect)((function(){d?o.executeOnMount&&h.apply(void 0,t):o.executeOnUpdate&&h.apply(void 0,t)}),t),ns({},c.value,{set:c.set,merge:c.merge,reset:c.reset,execute:h,currentPromise:f.get(),currentParams:s})};function ls(e,t,r){return cs(e,t,r)}var fs=function(e,t){return cs(e,[],ns({},t,{executeOnMount:!1,executeOnUpdate:!1}))},ps=function(e){var t=e.value,r=e.fetchMore,n=e.merge,o=e.isEnd,a=function(e){var t=(0,i.useRef)(e);return is((function(){t.current=e})),function(){return t.current}}(t),s=(0,i.useState)(!1),u=s[0],c=s[1],l=(0,i.useRef)(0),f=fs((function(){try{var e=a();if("success"!==e.status)throw new Error("Can't fetch more if the original fetch is not a success");if("loading"===f.status)throw new Error("Can't fetch more, because we are already fetching more!");l.current=l.current+1;var i=l.current;return Promise.resolve(r(e.result)).then((function(r){var s=e.status===a().status&&e.result===a().result,u=l.current===i;return s&&u&&(t.merge({result:n(t.result,r)}),o(r)&&c(!0)),r}))}catch(e){return Promise.reject(e)}})),p="success"!==t.status;return(0,i.useEffect)((function(){p&&(f.reset(),c(!1))}),[p]),{canFetchMore:"success"===t.status&&"loading"!==f.status,loading:f.loading,status:f.status,fetchMore:f.execute,isEnd:u}};window.TopWritePlugins={};class hs extends HTMLElement{connectedCallback(){this.addEventListener("click",(e=>{if(e.preventDefault(),!this.isContentEditable){const e=this.attributes.getNamedItem("src");let t=null==e?void 0:e.value;if(t){let e=document.createElement("a");e.download=this.textContent||"",e.style.display="none",e.target="_blank",e.href=r.resolve(location.href,t),document.body.appendChild(e),e.click(),document.body.removeChild(e)}}}))}}function ds(e){let{component:t,defaultComponent:r=i.Fragment,props:o,children:a=null}=e;return null===t?null:(0,n.jsx)(i.Suspense,{fallback:null,children:(0,n.jsx)(t,{props:o,Component:r,children:a})})}customElements.define("t-attachment",hs);var ms=(e,t)=>e.filter((e=>{let{descriptor:r}=e;return t===r.role})).sort(((e,t)=>{let{descriptor:{priority:r=0}}=e,{descriptor:{priority:n=0}}=t;return r-n})).map((e=>e.Component));function gs(e){let{props:t,role:r,component:o}=e;const a=o?(0,i.createElement)(o,t):null,s=Ge("components");return(0,i.useMemo)((()=>ms(s,r)),[s,r]).reduce(((e,r)=>(0,n.jsx)(ds,{defaultComponent:o,component:r,props:t,children:e})),a)}function ys(e){let{props:t,component:r,role:o}=e;const a=Ge("components"),s=(0,i.useMemo)((()=>ms(a,o)),[a,o]);return(0,n.jsx)(n.Fragment,{children:s.map(((e,i)=>(0,n.jsx)(ds,{defaultComponent:r,component:e,props:t},i)))})}async function vs(e){let t="topwrite-plugin-".concat(e.name);if(!Qe().isDefined(t)){let r="".concat(e.host,"/").concat(e.main);try{await Qe()(r,t,{returnPromise:!0})}catch{console.warn("插件".concat(e.name,"加载失败"))}}}function bs(e,t){let r;return r=t instanceof Array?{Component:t[0],descriptor:{role:e,...t[1]}}:{Component:t,descriptor:{role:e}},r}function Es(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";if("undefined"==typeof window)throw new Error("Browser storage is not available on NodeJS / TopWrite SSR process");if("none"===e)return null;try{return window[e]}catch(e){return null}}const ws={get:()=>null,set:()=>{},del:()=>{}},xs=(e,t)=>{const r=Es(null==t?void 0:t.persistence);return null===r?ws:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}};function Ss(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";const t=Es(e);if(!t)return[];const r=[];for(let e=0;e<t.length;e+=1){const n=t.key(e);null!==n&&r.push(n)}return r}function ks(){const e=Ge("book");if(!e)throw new Error("book object not initialized");return e}function As(){const{config:e}=ks();return e.getValue("themeConfig")}const Ds="light",Fs="dark";function Cs(e){document.documentElement.setAttribute("data-theme",e)}const Ps=(0,i.createContext)(void 0);function Os(e){let{children:t,context:r}=e;const{isDarkTheme:o,setLightTheme:a,setDarkTheme:s}=(e=>{const t=ks(),r=(0,i.useMemo)((()=>xs("".concat(e,".").concat(t.id,".theme"))),[t.id,e]),{defaultMode:n}=As(),[o,a]=(0,i.useState)((()=>{const e=(e=>e===Fs?Fs:Ds)(r.get()||n);return Cs(e),e}));(0,i.useEffect)((()=>{Cs(o)}),[o]);const s=(0,i.useCallback)((()=>{a(Ds),r.set(Ds)}),[r]),u=(0,i.useCallback)((()=>{a(Fs),r.set(Fs)}),[r]);return{isDarkTheme:o===Fs,setLightTheme:s,setDarkTheme:u}})(r);return(0,n.jsx)(Ps.Provider,{value:{isDarkTheme:o,setLightTheme:a,setDarkTheme:s},children:t})}function Ts(){const e=(0,i.useContext)(Ps);return null==e?{isDarkTheme:!1,setLightTheme:be.noop,setDarkTheme:be.noop}:e}var js;function _s(){const{primaryColor:e}=As();return(0,n.jsx)(Is,{primaryColor:e})}const Is=Yi(js||(js=bn(["\n :root {\n --ttw-primary-color: ",";\n }\n\n //TODO 转移到异步加载\n //附件\n t-attachment {\n color: var(--ttw-primary-color);\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n padding: 0 4px;\n vertical-align: bottom;\n margin: 0 1px;\n\n &:before {\n content: '';\n width: 18px;\n height: 18px;\n background-color: var(--ttw-primary-color);\n mask: url(\"",'") no-repeat center;\n margin-right: 4px;\n }\n\n &:after {\n content: "(" attr(size) ")";\n margin-left: 4px;\n display: none;\n }\n\n &[size]:after {\n display: inline;\n }\n\n &:hover {\n background: rgba(0, 0, 0, .1);\n }\n\n &:read-write {\n cursor: text;\n }\n }\n'])),(e=>e.primaryColor),"data:image/svg+xml,%3csvg t='1642406480574' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2254' width='16' height='16'%3e %3cpath d='M874.666667 467.2c-10.666667-10.666667-29.866667-12.8-42.666667 0l-343.466667 341.333333c-74.666667 74.666667-198.4 74.666667-275.2 0-36.266667-36.266667-57.6-85.333333-57.6-136.533333s19.2-100.266667 57.6-136.533333L556.8 192c46.933333-46.933333 121.6-46.933333 168.533333 0 23.466667 23.466667 34.133333 53.333333 34.133334 83.2 0 32-12.8 61.866667-34.133334 83.2L384 704c-17.066667 17.066667-44.8 17.066667-64 0-8.533333-8.533333-12.8-19.2-12.8-32s4.266667-23.466667 12.8-32l317.866667-315.733333c10.666667-10.666667 12.8-29.866667 0-42.666667-10.666667-12.8-29.866667-12.8-42.666667 0L277.333333 597.333333c-19.2 19.2-29.866667 46.933333-29.866666 74.666667S258.133333 725.333333 277.333333 746.666667c40.533333 40.533333 106.666667 40.533333 147.2 0L768 403.2c34.133333-34.133333 53.333333-78.933333 53.333333-125.866667s-19.2-93.866667-53.333333-125.866666a178.986667 178.986667 0 0 0-253.866667 0l-341.333333 341.333333c-46.933333 46.933333-74.666667 110.933333-74.666667 179.2s25.6 132.266667 74.666667 179.2c49.066667 49.066667 115.2 74.666667 179.2 74.666667s130.133333-25.6 179.2-74.666667l343.466667-341.333333c10.666667-12.8 10.666667-32 0-42.666667z' p-id='2255'%3e%3c/path%3e%3c/svg%3e"),Rs=new class extends Be{constructor(){super(...arguments),Ye(this,"initialState",[])}*register(e){yield this.setState((t=>t.push(e)))}},Ls=new class extends Be{};var Ns=Object.freeze({__proto__:null,components:Rs,options:Ls});class Ms{constructor(e,t,r){Ye(this,"name",void 0),Ye(this,"book",void 0),Ye(this,"models",{...Ns}),Ye(this,"components",[]),Ye(this,"activates",[]),Ye(this,"plugins",[]),Ye(this,"initialState",void 0),this.name=e,this.book=t,this.initialState=r}registerComponents(e,t){for(let[r,n]of Object.entries(e))n&&("plugin:setting"===r&&t&&(r="plugin:setting:".concat(t)),this.components.push(bs(r,n)))}registerModels(e,t){for(const[r,n]of Object.entries(e))t?this.models["@".concat(t,"@").concat(r)]=n:this.models[r]=n}async registerPlugins(e){this.plugins=e;for(const t of e)try{this.registerComponents(t.components,t.name),this.registerModels(t.models,t.name),t.activate&&this.activates.push(t.activate),t.register&&await t.register(this.name,this.book)}catch(e){console.log(e)}}async createApp(e){const t=await this.createIntl(e),r=qe(this.models,{book:this.book,components:this.components,...this.initialState}),i=()=>{for(const e of this.activates)e(this.name);return null};return e=>{let{children:o}=e;return(0,n.jsx)(Ze,{value:t,children:(0,n.jsx)(He,{store:r,children:(0,n.jsx)(Lo,{children:(0,n.jsxs)(Os,{context:this.name,children:[(0,n.jsx)(i,{}),(0,n.jsx)(_s,{}),o]})})})})}}async createIntl(e){const t=navigator.language,r={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},n=await this.plugins.reduce((async(e,r)=>{const n=await e;return r.localize?Object.assign({},n,await r.localize(t)):n}),e(t));return yn({locale:t,messages:n,defaultLocale:"en"},r)}}async function Bs(e,r,n,i,o,a){const s=await async function(e,r){const n=Object.keys(window.TopWritePlugins),i=Object.entries(window.TopWritePlugins).filter((e=>{let[,t]=e;return!!t.meta})).map((e=>{let[,t]=e;return t.meta}));let o=[];if(r){const n=(0,t.NC)(r);try{o=await n.getInstalled(e),o=o.filter((e=>{var t;return!(null!==(t=window.TopWritePlugins[e.name])&&void 0!==t&&t.meta)}))}catch{}}const a=i.some((e=>"theme"===e.type)),s=sessionStorage.getItem("PLUGIN_DEV"),u=Ke.parse(window.location.search);if("dev"in u||s){const e=u.dev||s||8080;try{const r=(await t.WY.get("http://localhost:".concat(e,"/meta"),{raxConfig:{retry:0}})).data;o=o.filter((e=>e.name!==r.name&&!("theme"===r.type&&"theme"===e.type))),o.unshift(r),sessionStorage.setItem("PLUGIN_DEV",String(e))}catch(e){console.warn(e),sessionStorage.removeItem("PLUGIN_DEV")}}const c=[];for(let e of o)e.disabled||n.includes(e.name)||a&&"theme"===e.type||c.push(vs(e));return await Promise.all(c),i.push(...o),window.TopWritePluginsMeta=i,Object.values(window.TopWritePlugins||{})}(r,a),u=new Ms(e,r,i);return u.registerModels(n),await u.registerPlugins(s),await u.createApp(o)}function zs(e){return function(e){const{actions:t}=(0,i.useContext)(Ve);return e?t[e]:t}(e)}function Us(e){return Ge(e)}function $s(e){return[Us(e),zs(e)]}function qs(e,t,r){const n="function"==typeof t;n||(r=t),(0,i.useEffect)((()=>{let r;const i=e();return Promise.resolve(i).then((e=>{r=e})),()=>{n&&t(r)}}),r)}function Vs(e){const t=(0,i.useRef)(null),[r,n]=(0,i.useState)(e);return(0,i.useEffect)((()=>{t.current&&(t.current(),t.current=null)}),[r]),[r,(e,r)=>{t.current="function"==typeof r?r:null,n(e)}]}function Hs(){const e=document.currentScript;if(!e)throw new Error("Automatic publicPath is not supported in this browser");return e.src.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}class Gs{constructor(e){let{name:t,meta:r,models:n={},components:i={},activate:o,register:a,localize:s,config:u}=e;Ye(this,"name",void 0),Ye(this,"config",void 0),Ye(this,"localize",void 0),Ye(this,"models",void 0),Ye(this,"components",void 0),Ye(this,"activate",void 0),Ye(this,"register",void 0),Ye(this,"meta",void 0),this.name=t,this.meta=r,this.models=n,this.components=i,this.activate=o,this.register=a,this.localize=s,this.config=u}}const Ws=(0,Qo.convert)("root"),Qs=(0,Qo.convert)("element"),Ks=(0,Qo.convert)("text");function Ys(e){return e.filter((e=>!(Ks(e)&&"\n"===e.value)))}function Xs(e,t,r){const n=t.properties,i=t.tagName,o={...n};r.prefix&&(r.key++,o.key=r.prefix+r.key);const a=[],s=Ys(t.children),u=s?s.length:0;let c=-1;for(;++c<u;){const t=s[c];Qs(t)?a.push(Xs(e,t,r)):Ks(t)&&a.push(t.value)}return e.call(t,i,o,a.length>0?a:void 0)}function Zs(e,t){let{extensions:r=[],creator:n=o().createElement}=t;const i={allowDangerousHtml:!1,handlers:{...r.reduce(((e,t)=>Object.assign(e,t)),{}),textDirective:(e,t)=>e({},"textDirective",{name:t.name,attributes:t.attributes},ya(e,t)),leafDirective:(e,t)=>e({},"leafDirective",t.attributes),containerDirective:(e,t)=>e({},"containerDirective",t.attributes,ya(e,t)),heading(e,t){const r=e(t,"heading",ya(e,t));return r.properties={...r.properties,depth:t.depth},r}},unknownHandler:()=>null},a=Pa(e,i);if(Ws(a))return Ys(a.children).map(((e,t)=>Qs(e)?Xs(n,e,{key:0,prefix:"h-".concat(t,"-")}):Ks(e)?e.value:void 0));if(!Qs(a))throw new Error("Expected root or element, not `"+(a&&a.type||a)+"`");return Xs(n,a,{key:0,prefix:"h-"})}const Js=e=>{let{value:t}=e;return(0,n.jsx)("pre",{children:(0,n.jsx)("code",{children:t})})},eu=e=>{let{value:t}=e;return(0,n.jsx)("code",{children:t})},tu=["video","audio","attachment"];function ru(e){let{depth:t=5,...r}=e;return(0,i.createElement)("h".concat(t),r)}const nu={"x-inline":function(e){const{name:t,value:r}=e;return(0,n.jsx)(gs,{role:"inline:".concat(t),props:{type:"inline",name:t,value:r},component:eu})},"x-block":function(e){const{name:t,value:r,parameter:i}=e;return(0,n.jsx)(gs,{role:"block:".concat(t),props:{type:"block",name:t,parameter:i,value:r},component:Js})},textDirective:function(e){const{name:t,attributes:r,children:i,components:o={}}=e;if(!tu.includes(t))return null;let a=t;return customElements.get("t-".concat(t))&&(a="t-".concat(t)),(0,n.jsx)(gs,{role:"html:".concat(t),props:{...r,children:i},component:o[t]||a})},heading:function(e){let{components:t={},...r}=e;return(0,n.jsx)(gs,{role:"html:heading",props:r,component:t.heading||ru})}};var iu;const ou=e=>{let{tagName:t,components:r={},...o}=e;return nu[t]?(0,i.createElement)(nu[t],{...o,components:r}):Oa.includes(t)?(0,n.jsx)(gs,{role:"html:".concat(t),props:o,component:r[t]||t}):(console.warn("unknown tagName: ".concat(t)),null)};function au(e){let{as:r=i.Fragment,children:o,components:a={},aside:s=!0,header:u,footer:c,css:l,...f}=e;const p=(0,i.useMemo)((()=>(0,t.JH)().use(oa).freeze()),[]);return(0,i.useMemo)((()=>{try{const e=p.data("toHastExtensions"),t=p.runSync(p.parse(o));let h=null;if(s){const r=function(e,t){const r=t||{},n=r.heading?Ko(r.heading):null,i=Xo(e,n,r);return{index:n?i.index:null,endIndex:n?i.endIndex:null,map:i.map.length>0?Jo(i.map,r):null}}(t).map;r&&(h=Zs(r,{extensions:e}))}const d=Zs(t,{extensions:e,creator:(e,t,r)=>(0,i.createElement)(ou,{...t,tagName:e,components:a},r)});return(0,i.createElement)(r,f,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("article",{children:[u,(0,n.jsx)(su,{$css:l,children:d}),c]}),h&&(0,n.jsx)("aside",{children:h})]}))}catch(e){return console.log(e),null}}),[o,s,p,l])}const su=Zi.section(iu||(iu=bn(["\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n line-height: 1.2;\n word-wrap: break-word;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, table {\n margin: 1em 0;\n line-height: 1.2;\n padding: 0;\n\n &:last-child {\n margin-bottom: 0 !important;\n }\n\n &:first-child {\n margin-top: 0 !important;\n }\n }\n\n p {\n margin: 0;\n line-height: 2;\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: normal;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n h1 {\n font-size: 2em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee;\n padding-bottom: .5em;\n }\n\n h2 {\n padding-bottom: .4em;\n font-size: 1.3em;\n line-height: 1.2;\n border-bottom: 1px solid #eeeeee\n }\n\n h3 {\n font-size: 1.2em;\n line-height: 1.2;\n }\n\n h4 {\n font-size: 1.1em;\n line-height: 1.2;\n }\n\n h5 {\n font-size: 1em;\n line-height: 1.2;\n }\n\n hr {\n border: 0;\n border-bottom: 1px solid #eeeeee;\n margin-bottom: 0.5em;\n }\n\n ul {\n padding-left: 2em;\n\n ul {\n margin: 0;\n }\n\n &.task-list {\n list-style: none;\n\n li {\n position: relative;\n\n .icon.square {\n position: absolute;\n left: -1.75em;\n top: 1px;\n }\n }\n }\n }\n\n ol {\n padding-left: 2em;\n }\n\n li {\n line-height: 2;\n\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n code {\n display: inline-block;\n border-radius: 4px;\n padding: .2em .4em;\n background-color: #f7f7f7;\n word-break: break-all;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n white-space: pre;\n line-height: 1.3;\n margin: -.2em .4em;\n }\n\n pre {\n padding: 1.05em;\n overflow: auto;\n line-height: 1.45;\n background-color: #f7f7f7;\n border: 0;\n border-radius: 3px;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n }\n\n\n pre > code {\n display: inline;\n max-width: 100%;\n padding: 0;\n margin: 0;\n overflow: initial;\n line-height: inherit;\n background-color: rgba(0, 0, 0, 0);\n border: 0;\n tab-size: 4;\n }\n\n p {\n &.align-right {\n text-align: right;\n }\n\n &.align-center {\n text-align: center;\n }\n }\n\n table {\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n line-height: 1.8;\n border-spacing: 0;\n\n th {\n text-align: left;\n }\n\n th, td {\n border: 1px solid #e0e0e0;\n padding: 3px 12px;\n height: 34px;\n }\n\n tr:hover td {\n background-color: #f1f1f1;\n }\n }\n\n img {\n max-width: 100%;\n display: inline-block;\n padding: 3px;\n vertical-align: middle;\n }\n\n a {\n text-decoration: none;\n color: var(--ttw-primary-color);\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n blockquote {\n padding: 5px 5px 5px 15px;\n color: #777777;\n border-left: 4px solid #dddddd;\n\n &.info {\n border-left-color: #5bc0de;\n color: #5bc0de;\n background-color: #f4f8fa;\n }\n\n &.warning {\n background-color: #fcf8f2;\n border-color: #f0ad4e;\n color: #f0ad4e;\n }\n\n &.danger {\n color: #d9534f;\n background-color: #fdf7f7;\n border-color: #d9534f;\n }\n\n &.success {\n background-color: #f3f8f3;\n border-color: #50af51;\n color: #50af51;\n }\n }\n\n video {\n width: 100%;\n }\n\n audio {\n width: 100%;\n }\n\n html[data-theme=dark] & {\n code {\n background-color: #333437;\n }\n\n pre {\n background-color: #333437;\n }\n\n h1, h2, hr {\n border-color: #404040;\n }\n\n th, td {\n border-color: #404040;\n }\n\n tr:hover td {\n background-color: #333437;\n }\n }\n\n ","\n"])),(e=>e.$css));function uu(e){const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current}function cu(e){const t=(0,i.useRef)(e);(0,i.useEffect)((()=>(document.title=e,()=>{document.title=t.current})),[e])}function lu(e,t,r){const n=(0,i.useRef)(e),o=(0,i.useRef)((0,be.debounce)(e,t,r));return(0,i.useEffect)((()=>{n.current=e})),(0,i.useEffect)((()=>{o.current=(0,be.debounce)((function(){n.current(...arguments)}),t,r)}),[t,r]),o.current}function fu(){return Ge("options")}const pu=new EventTarget;function hu(){return pu}function du(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.document;"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/html"));const t=e.querySelector('script[type="application/payload+json"]');if(t)try{return JSON.parse(t.innerHTML)}catch{return{}}}var mu=Object.freeze({__proto__:null,encode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return window.btoa(unescape(encodeURIComponent(e)))}catch(e){if(t)throw e;return""}},decode:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===e)return"";try{return decodeURIComponent(escape(window.atob(e)))}catch(e){if(t)throw e;return""}}});function gu(){return"undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}const yu="1.0.0";function vu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(){return bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bu.apply(this,arguments)}t.$B.prototype[se]=!0;var Eu,wu=Eu||(Eu={});wu.Pop="POP",wu.Push="PUSH",wu.Replace="REPLACE";var xu=function(e){return e};function Su(e){e.preventDefault(),e.returnValue=""}function ku(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Au(){return Math.random().toString(36).substr(2,8)}function Du(e){var t=e.pathname,r=e.search;return(void 0===t?"/":t)+(void 0===r?"":r)+(void 0===(e=e.hash)?"":e)}function Fu(e){var t={};if(e){var r=e.indexOf("#");0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),0<=(r=e.indexOf("?"))&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const Cu="undefined"!=typeof window&&window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)&&"file:"!==window.location.protocol;class Pu{constructor(){vu(this,"history",void 0),this.history=Cu?function(e){function t(){var e=a.location,t=s.state||{};return[t.idx,xu({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function r(e){return"string"==typeof e?e:Du(e)}function n(e,t){return void 0===t&&(t=null),xu(bu({pathname:f.pathname,hash:"",search:""},"string"==typeof e?Fu(e):e,{state:t,key:Au()}))}function i(e){c=e,e=t(),l=e[0],f=e[1],p.call({action:c,location:f})}function o(e){s.go(e)}void 0===e&&(e={});var a=void 0===(e=e.window)?document.defaultView:e,s=a.history,u=null;a.addEventListener("popstate",(function(){if(u)h.call(u),u=null;else{var e=Eu.Pop,r=t(),n=r[0];if(r=r[1],h.length){if(null!=n){var a=l-n;a&&(u={action:e,location:r,retry:function(){o(-1*a)}},o(a))}}else i(e)}}));var c=Eu.Pop,l=(e=t())[0],f=e[1],p=ku(),h=ku();return null==l&&(l=0,s.replaceState(bu({},s.state,{idx:l}),"")),{get action(){return c},get location(){return f},createHref:r,push:function e(t,o){var u=Eu.Push,c=n(t,o);if(!h.length||(h.call({action:u,location:c,retry:function(){e(t,o)}}),0)){var f=[{usr:c.state,key:c.key,idx:l+1},r(c)];c=f[0],f=f[1];try{s.pushState(c,"",f)}catch(e){a.location.assign(f)}i(u)}},replace:function e(t,o){var a=Eu.Replace,u=n(t,o);h.length&&(h.call({action:a,location:u,retry:function(){e(t,o)}}),1)||(u=[{usr:u.state,key:u.key,idx:l},r(u)],s.replaceState(u[0],"",u[1]),i(a))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(e){return p.push(e)},block:function(e){var t=h.push(e);return 1===h.length&&a.addEventListener("beforeunload",Su),function(){t(),h.length||a.removeEventListener("beforeunload",Su)}}}}():function(e){function t(e,t){return void 0===t&&(t=null),xu(bu({pathname:c.pathname,search:"",hash:""},"string"==typeof e?Fu(e):e,{state:t,key:Au()}))}function r(e,t,r){return!f.length||(f.call({action:e,location:t,retry:r}),!1)}function n(e,t){u=e,c=t,l.call({action:u,location:c})}function i(e){var t=Math.min(Math.max(s+e,0),a.length-1),o=Eu.Pop,u=a[t];r(o,u,(function(){i(e)}))&&(s=t,n(o,u))}void 0===e&&(e={});var o=e;e=o.initialEntries,o=o.initialIndex;var a=(void 0===e?["/"]:e).map((function(e){return xu(bu({pathname:"/",search:"",hash:"",state:null,key:Au()},"string"==typeof e?Fu(e):e))})),s=Math.min(Math.max(null==o?a.length-1:o,0),a.length-1),u=Eu.Pop,c=a[s],l=ku(),f=ku();return{get index(){return s},get action(){return u},get location(){return c},createHref:function(e){return"string"==typeof e?e:Du(e)},push:function e(i,o){var u=Eu.Push,c=t(i,o);r(u,c,(function(){e(i,o)}))&&(s+=1,a.splice(s,a.length,c),n(u,c))},replace:function e(i,o){var u=Eu.Replace,c=t(i,o);r(u,c,(function(){e(i,o)}))&&(a[s]=c,n(u,c))},go:i,back:function(){i(-1)},forward:function(){i(1)},listen:function(e){return l.push(e)},block:function(e){return f.push(e)}}}({initialEntries:[window.location]})}get location(){const e=this.history.location;return{...e,toString:()=>Du(e)}}listen(e){this.history.listen(e)}replace(e){return this.history.replace(e)}push(e){return this.history.push(e)}}let Ou;const Tu=new class extends Be{};const ju=new class extends Be{constructor(){super(...arguments),vu(this,"initialState",{loading:!1,request:t.WY.create(),config:{}})}subscription(e,t){let{fetch:r}=e,n=Ou.location;Ou.listen((async e=>{let{location:t}=e;n.pathname!==t.pathname&&(r(t.pathname),requestAnimationFrame((()=>{window.scrollTo(0,0)}))),n=t})),t.file||r(n.pathname)}async*fetch(e){yield this.setState((e=>{e.loading=!0}));const{request:r,config:n}=yield*this.getState("page");try{const i=decodeURI(e);let{data:o}=await r.get(i,n);"string"==typeof o&&(o=du(o));const{file:a,lfs:s}=o;yield this.setState((e=>{a&&(e.file=new t.$B(a)),e.lfs=s}))}catch(e){yield this.setState((t=>{t.error=e}))}finally{yield this.setState((e=>{e.loading=!1}))}}*intercept(e){const{request:t}=yield*this.getState("page");e(t.interceptors)}*updateConfig(e){yield this.setState((t=>{e(t.config)}))}};const _u=new class extends Be{constructor(){super(...arguments),vu(this,"initialState",{status:"idle",results:[],query:""})}async*fetch(e){if(e=e.trim()){yield this.setState((t=>{t.query=e,t.status="loading"}));let{handler:t}=yield*this.getState("search");if(!t){const{summary:r}=yield*this.getState("book");t=()=>{const t=[];return r.getArticle((r=>{const n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1})),t}}try{const r=await t(e);yield this.setState((e=>{e.results=r,e.status="idle"}))}catch{yield this.setState((e=>{e.results=[],e.status="error"}))}}else yield this.setState((t=>{t.query=e,t.status="idle",t.results=[]}))}*setHandler(e){yield this.setState((t=>{t.handler=e}))}};function Iu(){const e=vn(),{config:t}=ks();return t.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}const Ru=(0,i.createContext)(void 0);function Lu(){return(0,i.useContext)(Ru)}function Nu(){const{summary:e}=ks(),t=Lu();if(t)return(0,i.useMemo)((()=>{const r=t.getLevel();let n=!1;return e.getArticle((e=>n?!!e.getPath():(n=e.getLevel()==r,!1)))}),[e,t])}function Mu(){const{summary:e}=ks(),t=Lu();if(t)return(0,i.useMemo)((()=>{const r=t.getLevel();let n;return e.getArticle((e=>e.getLevel()==r||(e.getPath()&&(n=e),!1))),n}),[e,t])}function Bu(){const{file:e}=Us("page");if(!e)throw new Error("file object not initialized");return e}const zu=(0,i.createContext)(void 0);function Uu(e){let{children:r,file:o}=e;const[a,s]=(0,i.useState)((()=>"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="));return(0,i.useEffect)((()=>{const e=o.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){const e=document.createElement("canvas");e.height=this.height,e.width=this.width;const t=e.getContext("2d");t&&(t.drawImage(this,0,0),e.toBlob((e=>{e&&s(window.URL.createObjectURL(e))})))})),r.src=e}),[]),(0,n.jsx)(zu.Provider,{value:a,children:r})}function $u(){return(0,i.useContext)(zu)}function qu(){const{summary:e}=ks(),t=Iu(),r=Bu(),o=(0,i.useMemo)((()=>e.getArticle((e=>e.getPath()===r.path))),[e,r]);(0,i.useEffect)((()=>{window.dispatchEvent(new Event("bootstrapped"))}),[]);const a=$u();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(Vo,{children:[(0,n.jsx)("title",{children:"".concat(o?"".concat(o.title," - "):"").concat(t)}),(0,n.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,n.jsx)(Ru.Provider,{value:o,children:(0,n.jsx)(gs,{role:"app"})})]})}const Vu=(0,i.createContext)(void 0);function Hu(e){let{children:r,file:i}=e;const{result:o,loading:a}=ls((async()=>{const{data:e}=await(0,t.WY)(i.relative(t.fy.style));return e}),[]);return a?null:(0,n.jsx)(Vu.Provider,{value:o,children:r})}function Gu(){const{file:e}=Us("page");return e?(0,n.jsx)(Uu,{file:e,children:(0,n.jsx)(Hu,{file:e,children:(0,n.jsx)(qu,{})})}):null}const Wu=(0,i.createContext)(!1),Qu=Wu.Provider;function Ku(){return(0,i.useContext)(Wu)}async function Yu(e){return"en"===e?a.e(7).then(a.t.bind(a,2007,19)):a.e(267).then(a.t.bind(a,3267,19))}function Xu(){const[r,o]=(0,i.useState)();return qs((async()=>{try{const{location:r}=Ou=new Pu;let i=du();if(!i){i=(await t.WY.get(r.toString())).data}let{id:a,summary:s,file:u,config:c={},options:l={},lfs:f,pluginsCenter:p,preview:h=!1}=i;c=t.De.createFromObject(c),s=t.ER.create(s);const d=new t.fy(a,c,s);u&&(u=new t.$B(u));const m={page:{config:{params:Ke.parse(r.search)},file:u,lfs:f},options:l},g=await Bs("reader",d,e,m,Yu,p),y=(0,n.jsx)(Qu,{value:h,children:(0,n.jsx)(g,{children:(0,n.jsx)(Gu,{})})});o(y)}catch(e){var r;if(console.error(e),t.WY.isAxiosError(e))o((null===(r=e.response)||void 0===r?void 0:r.data)||e.message);else o(e.message)}}),[]),r||null}const Zu=()=>{Re().render((0,n.jsx)(Xu,{}),document.getElementById("root"))},Ju={desktop:"desktop",mobile:"mobile"};function ec(){function e(){return window.innerWidth>996?Ju.desktop:Ju.mobile}const[t,r]=(0,i.useState)(e);return(0,i.useEffect)((()=>{function t(){r(e())}return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[]),t}function tc(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,i.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",window.scrollTo(0,0),()=>{document.body.style.overflow="visible"})),[e])}function rc(e){let{className:t}=e;const r=vn();return(0,n.jsx)("div",{className:t,children:r.formatMessage({id:"IHXx7d",defaultMessage:[{type:0,value:"本文档使用 "},{type:1,value:"link"},{type:0,value:" 构建"}]},{link:(0,n.jsx)("a",{href:"https://www.topthink.com",target:"_blank",children:r.formatMessage({id:"R10y2x",defaultMessage:[{type:0,value:"顶想云"}]})})})})}function nc(e){let{size:t=60,className:r}=e;const i=$u();return(0,n.jsx)("img",{className:r,src:i,width:t,height:t,alt:"logo"})}function ic(e){let{children:r,to:o,className:a,...s}=e;const u=Bu(),{loading:c}=Us("page");let l;o instanceof t.oI?(l=o.getPath(),r||(r=o.getTitle())):l=o;const f=l?u.relative(l):"#!",p=(0,i.useCallback)((e=>{if(e.preventDefault(),l&&!c){const t={pathname:"",search:"",hash:"",...Fu(e.currentTarget.pathname)};Ou.push(t)}}),[l,c]);return(0,n.jsx)("a",{...s,onClick:p,className:a,href:f,children:r})}var oc=a(7425),ac=a.n(oc);const sc=e=>{let{base:r,href:i,...o}=e;const{summary:a}=ks();if(i){if(!(0,t.CB)(i)){let e=i;if(".md"===ac().extname(i)){let t;t=r?decodeURIComponent(ac().join(ac().dirname(r),i)):i;const n=a.getArticle((e=>e.ref===t));n&&(e=n)}return(0,n.jsx)(ic,{to:e,...o})}o.target="_blank"}return(0,n.jsx)("a",{href:i,...o,rel:"noopener noreferrer"})};function uc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function cc(e){let{element:r,src:i,...o}=e;const{lfs:a,file:s}=Us("page");if(i&&a&&!(0,t.CB)(i)&&s){const{url:e,files:t}=a,r=t[s.resolve(decodeURIComponent(i))];r&&(i=e.replace("{oid}",r))}return(0,n.jsx)(gs,{role:"page:asset",props:{src:i,...o},component:r})}var lc;const fc=Zi.a(lc||(lc=uc(["\n display: block;\n position: relative;\n top: -.5rem;\n"]))),pc={a:function(e){const t=Bu();return(0,n.jsx)(sc,{...e,base:t.path})},img:function(e){return(0,n.jsx)(cc,{element:"img",...e})},attachment:function(e){return(0,n.jsx)(cc,{element:"t-attachment",...e})},video:function(e){return(0,n.jsx)(cc,{element:"video",...e})},audio:function(e){return(0,n.jsx)(cc,{element:"audio",...e})},heading:function(e){let{depth:t,id:r,children:o,...a}=e;return r&&(o=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(fc,{tabIndex:-1,id:r}),o]})),(0,i.createElement)("h".concat(t),a,o)}};function hc(e){let{children:t,...r}=e;(0,i.useEffect)((()=>{const e=Ou.location.hash;if(e){const t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}}),[]);const o=(0,i.useContext)(Vu);return(0,n.jsx)(au,{css:o,...r,components:pc,children:t})}var dc;function mc(e){let{className:t,header:r,footer:o,container:a="div",...s}=e;const u=Bu(),c=Lu();void 0===r&&c&&(r=(0,n.jsx)(gc,{children:c.title})),r=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ys,{role:"page:article:before"}),r]}),o=(0,n.jsxs)(n.Fragment,{children:[o,(0,n.jsx)(ys,{role:"page:article:after"})]});const l=(0,n.jsx)(gs,{role:"page:article:markdown",component:hc,props:{header:r,footer:o,children:u.content,...s}});return(0,i.createElement)(a,{className:t},l)}const gc=Zi.h1(dc||(dc=uc(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),yc=e=>{let{item:t,itemComponent:r,itemsComponent:o}=e;const{path:a}=Bu(),s=Lu(),u=(0,i.useMemo)((()=>Boolean(s&&t.getLevel().isDescendant(s.getLevel()))),[t,s]),c=a===t.getPath(),l=t.children.length>0,f=!t.getPath(),p=l?(0,n.jsx)(bc,{itemsComponent:o,itemComponent:r,items:t.children}):null;return(0,n.jsx)(gs,{role:"catalog:item",props:{item:t,active:c,disabled:f,activeDescendant:u,children:p},component:r})},vc=e=>{let{children:t}=e;return(0,n.jsx)("ul",{children:t})},bc=e=>{let{items:t,part:r,itemsComponent:i=vc,itemComponent:o}=e;const a=(0,n.jsx)(n.Fragment,{children:t.map((e=>(0,n.jsx)(yc,{itemsComponent:i,itemComponent:o,item:e},e.level.toString())))});return(0,n.jsx)(gs,{role:"catalog:items",props:{part:r,children:a},component:i})},Ec=e=>{let{part:t,component:r,itemsComponent:i,itemComponent:o}=e;const a=(0,n.jsx)(bc,{itemsComponent:i,itemComponent:o,items:t.articles,part:t});return(0,n.jsx)(gs,{role:"catalog:part",props:{part:t,children:a},component:r})},wc=e=>{let{summary:t,partComponent:r,itemsComponent:i,itemComponent:o}=e;return t.isSinglePart()?(0,n.jsx)(bc,{itemsComponent:i,itemComponent:o,items:t.getLastPart().getArticles()}):(0,n.jsx)(n.Fragment,{children:t.parts.map((e=>(0,n.jsx)(Ec,{component:r,itemsComponent:i,itemComponent:o,part:e},e.level.toString())))})};function xc(e){let{...t}=e;const{summary:r}=Us("book"),{renderItem:i,renderPart:o}=t;i&&(console.warn("renderItem deprecated"),t.itemComponent=i),o&&(console.warn("renderPart deprecated"),t.partComponent=o);const{partComponent:a,itemsComponent:s,itemComponent:u}=t;return(0,n.jsx)(wc,{summary:r,partComponent:a,itemsComponent:s,itemComponent:u})}function Sc(e){let{className:r}=e;const{summary:i}=ks(),o=Lu(),a=vn(),s=[(0,n.jsx)("li",{children:(0,n.jsx)(ic,{to:".",children:a.formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]})})},"0")];if(o){const e=o.getLevel();e.data.reduce(((r,o)=>{r.push(o);const a=new t.aC(r),u=i.getByLevel(a);return u&&(u instanceof t.oI&&!a.eq(e)?s.push((0,n.jsx)("li",{children:(0,n.jsx)(ic,{to:u})},a.toString())):u.title&&s.push((0,n.jsx)("li",{children:u.title},a.toString()))),r}),[])}return(0,n.jsx)("ol",{className:r,children:s})}function kc(e){let{children:t}=e;const{summary:r}=ks(),n=Lu(),o=Bu();return(0,i.useEffect)((()=>{if(!n){const e=r.getFirstArticle();e&&Ou.replace(o.relative(e.path))}}),[n]),n?t:null}})(),window.TopWrite=s})();
69
69
  //# sourceMappingURL=index.js.map