From a0a28fa572af04133eb98b8c5305c60dfa09b4d5 Mon Sep 17 00:00:00 2001 From: gabek Date: Mon, 29 Aug 2022 19:56:18 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../{9001-0de9b937fdbe661d.js => 9001-dfd80bc3c21b045b.js} | 2 +- static/web/admin/access-tokens/index.html | 2 +- static/web/admin/actions/index.html | 2 +- static/web/admin/chat/messages/index.html | 2 +- static/web/admin/chat/users/index.html | 2 +- static/web/admin/config-chat/index.html | 2 +- static/web/admin/config-federation/index.html | 2 +- static/web/admin/config-notify/index.html | 2 +- static/web/admin/config-public-details/index.html | 2 +- static/web/admin/config-server-details/index.html | 2 +- static/web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- static/web/admin/federation/actions/index.html | 2 +- static/web/admin/federation/followers/index.html | 2 +- static/web/admin/hardware-info/index.html | 2 +- static/web/admin/help/index.html | 2 +- static/web/admin/index.html | 2 +- static/web/admin/logs/index.html | 2 +- static/web/admin/stream-health/index.html | 2 +- static/web/admin/upgrade/index.html | 2 +- static/web/admin/viewer-info/index.html | 2 +- static/web/admin/webhooks/index.html | 2 +- static/web/embed/chat/readonly/index.html | 2 +- static/web/embed/chat/readwrite/index.html | 2 +- static/web/embed/video/index.html | 2 +- static/web/index.html | 2 +- 31 files changed, 32 insertions(+), 32 deletions(-) rename static/web/_next/static/{fUtRFbE9RMSEU9Ycw7r7F => MUPtSc2RMJy501ZAiKBPc}/_buildManifest.js (88%) rename static/web/_next/static/{fUtRFbE9RMSEU9Ycw7r7F => MUPtSc2RMJy501ZAiKBPc}/_ssgManifest.js (100%) rename static/web/_next/static/chunks/{9001-0de9b937fdbe661d.js => 9001-dfd80bc3c21b045b.js} (73%) diff --git a/static/web/404.html b/static/web/404.html index dc266cd4c..dd77437e7 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index dc266cd4c..dd77437e7 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/fUtRFbE9RMSEU9Ycw7r7F/_buildManifest.js b/static/web/_next/static/MUPtSc2RMJy501ZAiKBPc/_buildManifest.js similarity index 88% rename from static/web/_next/static/fUtRFbE9RMSEU9Ycw7r7F/_buildManifest.js rename to static/web/_next/static/MUPtSc2RMJy501ZAiKBPc/_buildManifest.js index 34ee939c9..699e861b8 100644 --- a/static/web/_next/static/fUtRFbE9RMSEU9Ycw7r7F/_buildManifest.js +++ b/static/web/_next/static/MUPtSc2RMJy501ZAiKBPc/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(a,s,c,e,i,t,d,n,f,o,h,m,r,u,b,g,k,j){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,"static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-91e24fbaea2241b3.js",a,e,h,m,r,"static/chunks/6175-93dddfe9be5882f4.js",u,"static/css/2bfafc2a933a5259.css","static/chunks/pages/index-4b3a53f1ee12efb4.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,b,"static/chunks/pages/admin-f5d4ed76b5bf9c78.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/users-577529fda888a7a4.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,d,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-e1c9b49c7b789e49.js",j,"static/chunks/pages/admin/config-public-details-4b1168c5914e0f72.js"],"/admin/config-server-details":["static/chunks/pages/admin/config-server-details-614743dc0feb10ba.js"],"/admin/config-social-items":[a,s,j,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c75769293cd1cd2.js"],"/admin/config-video":[a,s,"static/chunks/5875-e7ec71226df73c20.js","static/chunks/pages/admin/config-video-524ee5b72d31e876.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,"static/chunks/pages/admin/federation/followers-84b5976a824dd548.js"],"/admin/hardware-info":[n,c,i,t,f,d,"static/chunks/pages/admin/hardware-info-fb9932e584754b3b.js"],"/admin/help":[i,r,"static/chunks/5046-154c3c1e09df4db0.js","static/chunks/pages/admin/help-286d71e5c1d8d003.js"],"/admin/logs":[a,s,c,b,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[n,c,i,t,f,"static/chunks/pages/admin/stream-health-5f39d0e65f78053a.js"],"/admin/upgrade":[a,s,"static/chunks/9001-0de9b937fdbe661d.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[n,a,s,c,e,i,t,f,d,"static/chunks/pages/admin/viewer-info-6c62c18290cae1c3.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[o,e,h,m,u,"static/css/f58d98f52dc8743c.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/384-9cef8f24921b00dc.js","static/chunks/355-ef633cfeda4d36e7.js","static/chunks/8091-5880357d1811013a.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-614a21ed2abaed33.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(a,s,c,e,i,d,t,n,f,o,h,m,r,u,b,g,k,j){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,"static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-91e24fbaea2241b3.js",a,e,h,m,r,"static/chunks/6175-93dddfe9be5882f4.js",u,"static/css/2bfafc2a933a5259.css","static/chunks/pages/index-4b3a53f1ee12efb4.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,d,b,"static/chunks/pages/admin-f5d4ed76b5bf9c78.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/users-577529fda888a7a4.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,t,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-e1c9b49c7b789e49.js",j,"static/chunks/pages/admin/config-public-details-4b1168c5914e0f72.js"],"/admin/config-server-details":["static/chunks/pages/admin/config-server-details-614743dc0feb10ba.js"],"/admin/config-social-items":[a,s,j,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c75769293cd1cd2.js"],"/admin/config-video":[a,s,"static/chunks/5875-e7ec71226df73c20.js","static/chunks/pages/admin/config-video-524ee5b72d31e876.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,"static/chunks/pages/admin/federation/followers-84b5976a824dd548.js"],"/admin/hardware-info":[n,c,i,d,f,t,"static/chunks/pages/admin/hardware-info-fb9932e584754b3b.js"],"/admin/help":[i,r,"static/chunks/5046-154c3c1e09df4db0.js","static/chunks/pages/admin/help-286d71e5c1d8d003.js"],"/admin/logs":[a,s,c,b,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[n,c,i,d,f,"static/chunks/pages/admin/stream-health-5f39d0e65f78053a.js"],"/admin/upgrade":[a,s,"static/chunks/9001-dfd80bc3c21b045b.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[n,a,s,c,e,i,d,f,t,"static/chunks/pages/admin/viewer-info-6c62c18290cae1c3.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[o,e,h,m,u,"static/css/f58d98f52dc8743c.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/384-9cef8f24921b00dc.js","static/chunks/355-ef633cfeda4d36e7.js","static/chunks/8091-5880357d1811013a.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-614a21ed2abaed33.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/fUtRFbE9RMSEU9Ycw7r7F/_ssgManifest.js b/static/web/_next/static/MUPtSc2RMJy501ZAiKBPc/_ssgManifest.js similarity index 100% rename from static/web/_next/static/fUtRFbE9RMSEU9Ycw7r7F/_ssgManifest.js rename to static/web/_next/static/MUPtSc2RMJy501ZAiKBPc/_ssgManifest.js diff --git a/static/web/_next/static/chunks/9001-0de9b937fdbe661d.js b/static/web/_next/static/chunks/9001-dfd80bc3c21b045b.js similarity index 73% rename from static/web/_next/static/chunks/9001-0de9b937fdbe661d.js rename to static/web/_next/static/chunks/9001-dfd80bc3c21b045b.js index 249c08ff1..68048e5b1 100644 --- a/static/web/_next/static/chunks/9001-0de9b937fdbe661d.js +++ b/static/web/_next/static/chunks/9001-dfd80bc3c21b045b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9001],{94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},l=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var n,t,r,o,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});p=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&a<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",e.exports=t},69921:function(e,n){"use strict";var t,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case l:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case a:return e;default:return n}}case o:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=o,n.Profiler=u,n.StrictMode=l,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===s},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===o},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===l},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===u||e===l||e===p||e===d||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},59864:function(e,n,t){"use strict";e.exports=t(69921)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,o=null;if(!e||"string"!==typeof e)return o;for(var i,l,u=r(e),a="function"===typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(d(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){d(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}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 n=e.pathname;let t=-1;for(;++tn.length;let u;r&&n.push(o);try{u=e.apply(this,n)}catch(i){const n=i;if(r&&t)throw n;return o(n)}r||(u instanceof Promise?u.then(l,o):u instanceof Error?o(u):l(u))}function o(e,...r){t||(t=!0,n(e,...r))}function l(e){o(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!==typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const A=function e(){const n=E(),t=[];let r,o={},i=-1;return u.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(I("data",r),o[e]=n,u):F.call(o,e)&&o[e]||null;if(e)return I("data",r),o=e,u;return o},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++i{if(!e&&n&&t){const o=u.stringify(n,t);void 0===o||null===o||("string"===typeof(r=o)||l(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},u.processSync=function(e){let n;u.freeze(),T("processSync",u.Parser),O("processSync",u.Compiler);const t=z(e);return u.process(t,r),D("processSync","process",n),t;function r(e){n=!0,S(e)}},u;function u(){const n=e();let r=-1;for(;++ro?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l0?(B(e,e.length,0,n),e):n}const _={}.hasOwnProperty;function N(e,n){let t;for(t in n){const r=(_.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){_.call(r,i)||(r[i]=[]);const e=o[i];H(r[i],Array.isArray(e)?e:e?[e]:[])}}}function H(e,n){let t=-1;const r=[];for(;++ti))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;er;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function k(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},oe={tokenize:function(e,n,t){return ne(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ie={tokenize:function(e,n,t){return ne(e,(function(e){return null===e||X(e)?n(e):t(e)}),"linePrefix")},partial:!0};function le(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const ce={tokenize:function(e){const n=this,t=e.attempt(ie,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ae,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const fe={resolveAll:me()},pe=he("string"),de=he("text");function he(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i)));return l}(l,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexs?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||K(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):Y(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Ee(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||X(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!Z(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ae(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||X(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function Fe(e,n){let t;return function r(o){if(X(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Z(o))return ne(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Te={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Ee.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),Fe(e,Ce(e,e.attempt(Oe,ne(e,l,"whitespace"),ne(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||X(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},Oe={tokenize:function(e,n,t){return function(n){return K(n)?Fe(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ae(e,ne(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||X(e)?n(e):t(e)}},partial:!0};const Ie={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),ne(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):X(n)?e.attempt(Le,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||X(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},Le={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):ne(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):X(e)?o(e):t(e)}},partial:!0};const De={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||K(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||X(t)?(e.exit("atxHeading"),n(t)):Z(t)?ne(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||K(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},B(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ze={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n);return t(n)};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),ne(e,a,"lineSuffix")(n))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const Me=["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","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Re=["pre","script","style","textarea"],Be={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:z):U(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):U(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return U(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||K(u)?47!==u&&i&&Re.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):Me.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||$(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return Z(n)?(e.consume(n),g):C(n)}function y(n){return 47===n?(e.consume(n),C):58===n||95===n||U(n)?(e.consume(n),k):Z(n)?(e.consume(n),y):C(n)}function k(n){return 45===n||46===n||58===n||95===n||$(n)?(e.consume(n),k):x(n)}function x(n){return 61===n?(e.consume(n),v):Z(n)?(e.consume(n),x):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):Z(n)?(e.consume(n),v):(a=null,S(n))}function b(n){return null===n||X(n)?t(n):n===a?(e.consume(n),w):(e.consume(n),b)}function S(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||K(n)?x(n):(e.consume(n),S)}function w(e){return 47===e||62===e||Z(e)?y(e):t(e)}function C(n){return 62===n?(e.consume(n),E):t(n)}function E(n){return Z(n)?(e.consume(n),E):null===n||X(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),M):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),D):!X(n)||6!==o&&7!==o?null===n||X(n)?F(n):(e.consume(n),A):e.check(je,M,F)(n)}function F(n){return e.exit("htmlFlowData"),P(n)}function P(n){return null===n?R(n):X(n)?e.attempt({tokenize:T,partial:!0},P,R)(n):(e.enter("htmlFlowData"),A(n))}function T(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),z):A(n)}function I(n){return 47===n?(e.consume(n),l="",L):A(n)}function L(n){return 62===n&&Re.includes(l.toLowerCase())?(e.consume(n),M):U(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),L):A(n)}function D(n){return 93===n?(e.consume(n),z):A(n)}function z(n){return 62===n?(e.consume(n),M):45===n&&2===o?(e.consume(n),z):A(n)}function M(n){return null===n||X(n)?(e.exit("htmlFlowData"),R(n)):(e.consume(n),M)}function R(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},je={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ie,n,t)}},partial:!0};const _e={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return ne(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(n)}function i(n){return n===a?(e.consume(n),r++,i):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);Je(f,-u),Je(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=j(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=j(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=j(a,ye(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=j(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=j(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,B(e,t-1,c-t+3,a),c=t+a.length-s-2;break}c=-1;for(;++c13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535===(65535&t)||65534===(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const yn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function kn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return gn(t.slice(n?2:1),n?16:10)}return He(t)||e}function xn(e){return e&&"object"===typeof e?"position"in e||"type"in e?bn(e.position):"start"in e||"end"in e?bn(e):"line"in e||"column"in e?vn(e):"":""}function vn(e){return Sn(e&&e.line)+":"+Sn(e&&e.column)}function bn(e){return vn(e&&e.start)+"-"+vn(e&&e.end)}function Sn(e){return e&&"number"===typeof e?e:1}const wn={}.hasOwnProperty,Cn=function(e,n,t){return"string"!==typeof n&&(t=n,n=void 0),function(e={}){const n=En({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(oe),autolinkProtocol:P,autolinkEmail:P,atxHeading:a(ee),blockQuote:a(K),characterEscape:P,characterReference:P,codeFenced:a(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(X,s),codeText:a(Z,s),codeTextData:P,data:P,codeFlowValue:P,definition:a(J),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(G),hardBreakEscape:a(ne),hardBreakTrailing:a(ne),htmlFlow:a(te,s),htmlFlowData:P,htmlText:a(te,s),htmlTextData:P,image:a(re),label:s,link:a(oe),listItem:a(le),listItemValue:m,listOrdered:a(ie,h),listUnordered:a(ie),paragraph:a(ue),reference:V,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(ee),strong:a(ae),thematicBreak:a(ce)},exit:{atxHeading:f(),atxHeadingSequence:C,autolink:f(),autolinkEmail:Y,autolinkProtocol:Q,blockQuote:f(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:W,codeFenced:f(x),codeFencedFence:k,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:T,codeIndented:f(v),codeText:f(z),codeTextData:T,data:T,definition:f(),definitionDestinationString:w,definitionLabelString:b,definitionTitleString:S,emphasis:f(),hardBreakEscape:f(I),hardBreakTrailing:f(I),htmlFlow:f(L),htmlFlowData:T,htmlText:f(D),htmlTextData:T,image:f(B),label:_,labelText:j,lineEnding:O,link:f(R),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:q,resourceDestinationString:N,resourceTitleString:H,resource:U,setextHeading:f(F),setextHeadingLineSequence:A,setextHeadingText:E,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),t={};return r;function r(e){let t={type:"root",children:[]};const r=[],a=[],f={stack:[t],tokenStack:r,config:n,enter:c,exit:p,buffer:s,resume:d,setData:i,getData:l};let h=-1;for(;++h0){const e=r[r.length-1];(e[1]||Fn).call(f,void 0,e[0])}for(t.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})},h=-1;++h{const t=this.data("settings");return Cn(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},Tn=function(e,n,t){var r={type:String(e)};return void 0!==t&&null!==t||"string"!==typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:void 0!==t&&null!==t&&(r.value=String(t)),r};const On=function(e){if(void 0===e||null===e)return Ln;if("string"===typeof e)return function(e){return In(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c-1?t.offset:null}}}const jn={}.hasOwnProperty;function _n(e){return String(e||"").toUpperCase()}const Nn={}.hasOwnProperty;function Hn(e,n){const t=n.data||{};return"value"in n&&!(Nn.call(t,"hName")||Nn.call(t,"hProperties")||Nn.call(t,"hChildren"))?e.augment(n,Tn("text",n.value)):e(n,"div",qn(e,n))}function Un(e,n,t){const r=n&&n.type;let o;if(!r)throw new Error("Expected node, got `"+n+"`");return o=Nn.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?Vn:e.unknownHandler,("function"===typeof o?o:Hn)(e,n,t)}function Vn(e,n){return"children"in n?{...n,children:qn(e,n)}:n}function qn(e,n){const t=[];if("children"in n){const r=n.children;let o=-1;for(;++o":"gt"};function Wn(e,n){const t=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+$n[e]+";"}))}(function(e){const n=[];let t=-1,r=0,o=0;for(;++t55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="\ufffd"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}(e||""));if(!n)return t;const r=t.indexOf(":"),o=t.indexOf("?"),i=t.indexOf("#"),l=t.indexOf("/");return r<0||l>-1&&r>l||o>-1&&r>o||i>-1&&r>i||n.test(t.slice(0,r))?t:""}function Qn(e,n){const t=[];let r=-1;for(n&&t.push(Tn("text","\n"));++r0&&t.push(Tn("text","\n")),t}function Yn(e,n){const t=String(n.identifier),r=Wn(t.toLowerCase()),o=e.footnoteOrder.indexOf(t);let i;-1===o?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=o+1);const l=e.footnoteCounts[t];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[Tn("text",String(i))])])}var Kn=t(70729);function Xn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return Tn("text","!["+n.alt+r);const o=qn(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(Tn("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(Tn("text",r)),o}function Zn(e){const n=e.spread;return void 0===n||null===n?e.children.length>1:n}function Jn(e,n,t){let r=0,o=e.length;if(n){let n=e.codePointAt(r);for(;9===n||32===n;)r++,n=e.codePointAt(r)}if(t){let n=e.codePointAt(o-1);for(;9===n||32===n;)o--,n=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Gn={blockquote:function(e,n){return e(n,"blockquote",Qn(qn(e,n),!0))},break:function(e,n){return[e(n,"br"),Tn("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[Tn("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",qn(e,n))},emphasis:function(e,n){return e(n,"em",qn(e,n))},footnoteReference:Yn,footnote:function(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Yn(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,qn(e,n))},html:function(e,n){return e.dangerous?e.augment(n,Tn("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Xn(e,n);const r={src:Kn(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:Kn(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[Tn("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Xn(e,n);const r={href:Kn(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,qn(e,n))},link:function(e,n){const t={href:Kn(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,qn(e,n))},listItem:function(e,n,t){const r=qn(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r0&&t.children.unshift(Tn("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u0,!0),r[0]),o=r.index+r[0].length,r=t.exec(n);return i.push(Jn(n.slice(o),o>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:et,yaml:et,definition:et,footnoteDefinition:et};function et(){return null}const nt={}.hasOwnProperty;function tt(e,n){const t=n||{},r=t.allowDangerousHtml||!1,o={};return l.dangerous=r,l.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,l.footnoteLabel=t.footnoteLabel||"Footnotes",l.footnoteLabelTagName=t.footnoteLabelTagName||"h2",l.footnoteLabelProperties=t.footnoteLabelProperties||{id:"footnote-label",className:["sr-only"]},l.footnoteBackLabel=t.footnoteBackLabel||"Back to content",l.definition=function(e){const n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return zn(e,"definition",(e=>{const t=_n(e.identifier);t&&!jn.call(n,t)&&(n[t]=e)})),function(e){const t=_n(e);return t&&jn.call(n,t)?n[t]:null}}(e),l.footnoteById=o,l.footnoteOrder=[],l.footnoteCounts={},l.augment=i,l.handlers={...Gn,...t.handlers},l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,zn(e,"footnoteDefinition",(e=>{const n=String(e.identifier).toUpperCase();nt.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:Mn(r),end:Rn(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}function rt(e,n){const t=tt(e,n),r=Un(t,e,null),o=function(e){let n=-1;const t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}const s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else o.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:Qn(o,!0)};r.position&&(c.position=r.position),t.push(c)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:JSON.parse(JSON.stringify(e.footnoteLabelProperties)),children:[Tn("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Qn(t,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push(Tn("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var ot=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(rt(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>rt(n,e)}(e||n)};var it=t(45697);class lt{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function ut(e,n){const t={},r={};let o=-1;for(;++o"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Et=wt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function At(e,n){return n in e?e[n]:n}function Ft(e,n){return At(e,n.toLowerCase())}const Pt=wt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ft,properties:{xmlns:null,xmlnsXLink:null}}),Tt=wt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:pt,ariaAutoComplete:null,ariaBusy:pt,ariaChecked:pt,ariaColCount:ht,ariaColIndex:ht,ariaColSpan:ht,ariaControls:mt,ariaCurrent:null,ariaDescribedBy:mt,ariaDetails:null,ariaDisabled:pt,ariaDropEffect:mt,ariaErrorMessage:null,ariaExpanded:pt,ariaFlowTo:mt,ariaGrabbed:pt,ariaHasPopup:null,ariaHidden:pt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:mt,ariaLevel:ht,ariaLive:null,ariaModal:pt,ariaMultiLine:pt,ariaMultiSelectable:pt,ariaOrientation:null,ariaOwns:mt,ariaPlaceholder:null,ariaPosInSet:ht,ariaPressed:pt,ariaReadOnly:pt,ariaRelevant:null,ariaRequired:pt,ariaRoleDescription:mt,ariaRowCount:ht,ariaRowIndex:ht,ariaRowSpan:ht,ariaSelected:pt,ariaSetSize:ht,ariaSort:null,ariaValueMax:ht,ariaValueMin:ht,ariaValueNow:ht,ariaValueText:null,role:null}}),Ot=wt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ft,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:gt,acceptCharset:mt,accessKey:mt,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:mt,autoFocus:ft,autoPlay:ft,capture:ft,charSet:null,checked:ft,cite:null,className:mt,cols:ht,colSpan:null,content:null,contentEditable:pt,controls:ft,controlsList:mt,coords:ht|gt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:dt,draggable:pt,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:mt,height:ht,hidden:ft,high:ht,href:null,hrefLang:null,htmlFor:mt,httpEquiv:mt,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:mt,itemRef:mt,itemScope:ft,itemType:mt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:ht,manifest:null,max:null,maxLength:ht,media:null,method:null,min:null,minLength:ht,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ft,optimum:ht,pattern:null,ping:mt,placeholder:null,playsInline:ft,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:mt,required:ft,reversed:ft,rows:ht,rowSpan:ht,sandbox:mt,scope:null,scoped:ft,seamless:ft,selected:ft,shape:null,size:ht,sizes:null,slot:null,span:ht,spellCheck:pt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ht,step:null,style:null,tabIndex:ht,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:pt,width:ht,wrap:null,align:null,aLink:null,archive:mt,axis:null,background:null,bgColor:null,border:ht,borderColor:null,bottomMargin:ht,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:ht,leftMargin:ht,link:null,longDesc:null,lowSrc:null,marginHeight:ht,marginWidth:ht,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:ht,rules:null,scheme:null,scrolling:pt,standby:null,summary:null,text:null,topMargin:ht,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ht,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:ht,security:null,unselectable:null}}),It=wt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:At,properties:{about:yt,accentHeight:ht,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ht,amplitude:ht,arabicForm:null,ascent:ht,attributeName:null,attributeType:null,azimuth:ht,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ht,by:null,calcMode:null,capHeight:ht,className:mt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ht,diffuseConstant:ht,direction:null,display:null,dur:null,divisor:ht,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:ht,enableBackground:null,end:null,event:null,exponent:ht,externalResourcesRequired:null,fill:null,fillOpacity:ht,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:gt,g2:gt,glyphName:gt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ht,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ht,horizOriginX:ht,horizOriginY:ht,id:null,ideographic:ht,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ht,k:ht,k1:ht,k2:ht,k3:ht,k4:ht,kernelMatrix:yt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ht,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ht,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ht,overlineThickness:ht,paintOrder:null,panose1:null,path:null,pathLength:ht,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:mt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ht,pointsAtY:ht,pointsAtZ:ht,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yt,rev:yt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yt,requiredFeatures:yt,requiredFonts:yt,requiredFormats:yt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ht,specularExponent:ht,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ht,strikethroughThickness:ht,string:null,stroke:null,strokeDashArray:yt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ht,strokeOpacity:ht,strokeWidth:null,style:null,surfaceScale:ht,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yt,tabIndex:ht,tableValues:null,target:null,targetX:ht,targetY:ht,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yt,to:null,transform:null,u1:null,u2:null,underlinePosition:ht,underlineThickness:ht,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ht,values:null,vAlphabetic:ht,vMathematical:ht,vectorEffect:null,vHanging:ht,vIdeographic:ht,version:null,vertAdvY:ht,vertOriginX:ht,vertOriginY:ht,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ht,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Lt=ut([Et,Ct,Pt,Tt,Ot],"html"),Dt=ut([Et,Ct,Pt,Tt,It],"svg"),zt=function(e){if(void 0===e||null===e)return Rt;if("string"===typeof e)return function(e){return Mt(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c{!function(e,n,t,r){"function"===typeof n&&"function"!==typeof t&&(r=t,t=n,n=null),Bt(e,n,(function(e,n){const r=n[n.length-1];return t(e,r?r.children.indexOf(e):null,r)}),r)}(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"===typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"===typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const _t=["http","https","mailto","tel"];var Nt=t(59864);function Ht(e){var n=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const Ut=/^data[-\w.:]+$/i,Vt=/-[a-z]/g,qt=/[A-Z]/g;function $t(e){return"-"+e.toLowerCase()}function Wt(e){return e.charAt(1).toUpperCase()}const Qt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Yt=t(57848);const Kt={}.hasOwnProperty,Xt=new Set(["table","thead","tbody","tfoot","tr"]);function Zt(e,n){const t=[];let r,o=-1;for(;++oString(e))).join("")),!h&&o.rawSourcePos&&(a.sourcePosition=n.position),!h&&o.includeElementIndex&&(a.index=Gt(r,n),a.siblingCount=Gt(r)),h||(a.node=n),f.length>0?i.createElement(d,a,f):i.createElement(d,a)}function Gt(e,n){let t=-1,r=0;for(;++t4&&"data"===t.slice(0,4)&&Ut.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Vt,Wt);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Vt.test(e)){let t=e.replace(qt,$t);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=vt}return new o(r,n)}(r.schema,n);let i=t;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,n){var t=n||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const n={};try{Yt(e,t)}catch{}return n;function t(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,nr)]=t}}(i)),o.space&&o.property?e[Kt.call(Qt,o.property)?Qt[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function nr(e,n){return n.toUpperCase()}const tr={}.hasOwnProperty,rr={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function or(e){for(const i in rr)if(tr.call(rr,i)&&tr.call(e,i)){const e=rr[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see for more info)`),delete rr[i]}const n=A().use(Pn).use(e.remarkPlugins||[]).use(ot,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(jt,e),t=new k;"string"===typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},Zt({options:e,schema:Lt,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}or.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++o<_t.length;){const e=_t[o];if(r===e.length&&n.slice(0,e.length).toLowerCase()===e)return n}return o=n.indexOf("?"),-1!==o&&r>o?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},or.propTypes={children:it.string,className:it.string,allowElement:it.func,allowedElements:it.arrayOf(it.string),disallowedElements:it.arrayOf(it.string),unwrapDisallowed:it.bool,remarkPlugins:it.arrayOf(it.oneOfType([it.object,it.func,it.arrayOf(it.oneOfType([it.bool,it.string,it.object,it.func,it.arrayOf(it.any)]))])),rehypePlugins:it.arrayOf(it.oneOfType([it.object,it.func,it.arrayOf(it.oneOfType([it.bool,it.string,it.object,it.func,it.arrayOf(it.any)]))])),sourcePos:it.bool,rawSourcePos:it.bool,skipHtml:it.bool,includeElementIndex:it.bool,transformLinkUri:it.oneOfType([it.func,it.bool]),linkTarget:it.oneOfType([it.func,it.string]),transformImageUri:it.func,components:it.object}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9001],{94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},l=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var n,t,r,o,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});p=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&a<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",e.exports=t},69921:function(e,n){"use strict";var t,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case l:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case a:return e;default:return n}}case o:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=o,n.Profiler=u,n.StrictMode=l,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===s},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===o},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===l},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===u||e===l||e===p||e===d||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},59864:function(e,n,t){"use strict";e.exports=t(69921)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,o=null;if(!e||"string"!==typeof e)return o;for(var i,l,u=r(e),a="function"===typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(d(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){d(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}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 n=e.pathname;let t=-1;for(;++tn.length;let u;r&&n.push(o);try{u=e.apply(this,n)}catch(i){const n=i;if(r&&t)throw n;return o(n)}r||(u instanceof Promise?u.then(l,o):u instanceof Error?o(u):l(u))}function o(e,...r){t||(t=!0,n(e,...r))}function l(e){o(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!==typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const A=function e(){const n=E(),t=[];let r,o={},i=-1;return u.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(I("data",r),o[e]=n,u):F.call(o,e)&&o[e]||null;if(e)return I("data",r),o=e,u;return o},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++i{if(!e&&n&&t){const o=u.stringify(n,t);void 0===o||null===o||("string"===typeof(r=o)||l(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},u.processSync=function(e){let n;u.freeze(),T("processSync",u.Parser),O("processSync",u.Compiler);const t=z(e);return u.process(t,r),D("processSync","process",n),t;function r(e){n=!0,S(e)}},u;function u(){const n=e();let r=-1;for(;++ro?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l0?(B(e,e.length,0,n),e):n}const _={}.hasOwnProperty;function N(e,n){let t;for(t in n){const r=(_.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){_.call(r,i)||(r[i]=[]);const e=o[i];H(r[i],Array.isArray(e)?e:e?[e]:[])}}}function H(e,n){let t=-1;const r=[];for(;++ti))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;er;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function k(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},oe={tokenize:function(e,n,t){return ne(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ie={tokenize:function(e,n,t){return ne(e,(function(e){return null===e||X(e)?n(e):t(e)}),"linePrefix")},partial:!0};function le(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const ce={tokenize:function(e){const n=this,t=e.attempt(ie,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ae,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const fe={resolveAll:me()},pe=he("string"),de=he("text");function he(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i)));return l}(l,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexs?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||K(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):Y(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Ee(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||X(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!Z(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ae(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||X(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function Fe(e,n){let t;return function r(o){if(X(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Z(o))return ne(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Te={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Ee.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),Fe(e,Ce(e,e.attempt(Oe,ne(e,l,"whitespace"),ne(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||X(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},Oe={tokenize:function(e,n,t){return function(n){return K(n)?Fe(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ae(e,ne(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||X(e)?n(e):t(e)}},partial:!0};const Ie={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),ne(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):X(n)?e.attempt(Le,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||X(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},Le={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):ne(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):X(e)?o(e):t(e)}},partial:!0};const De={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||K(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||X(t)?(e.exit("atxHeading"),n(t)):Z(t)?ne(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||K(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},B(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ze={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n);return t(n)};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),ne(e,a,"lineSuffix")(n))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const Me=["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","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Re=["pre","script","style","textarea"],Be={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:z):U(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):U(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return U(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||K(u)?47!==u&&i&&Re.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):Me.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||$(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return Z(n)?(e.consume(n),g):C(n)}function y(n){return 47===n?(e.consume(n),C):58===n||95===n||U(n)?(e.consume(n),k):Z(n)?(e.consume(n),y):C(n)}function k(n){return 45===n||46===n||58===n||95===n||$(n)?(e.consume(n),k):x(n)}function x(n){return 61===n?(e.consume(n),v):Z(n)?(e.consume(n),x):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):Z(n)?(e.consume(n),v):(a=null,S(n))}function b(n){return null===n||X(n)?t(n):n===a?(e.consume(n),w):(e.consume(n),b)}function S(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||K(n)?x(n):(e.consume(n),S)}function w(e){return 47===e||62===e||Z(e)?y(e):t(e)}function C(n){return 62===n?(e.consume(n),E):t(n)}function E(n){return Z(n)?(e.consume(n),E):null===n||X(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),M):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),D):!X(n)||6!==o&&7!==o?null===n||X(n)?F(n):(e.consume(n),A):e.check(je,M,F)(n)}function F(n){return e.exit("htmlFlowData"),P(n)}function P(n){return null===n?R(n):X(n)?e.attempt({tokenize:T,partial:!0},P,R)(n):(e.enter("htmlFlowData"),A(n))}function T(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),z):A(n)}function I(n){return 47===n?(e.consume(n),l="",L):A(n)}function L(n){return 62===n&&Re.includes(l.toLowerCase())?(e.consume(n),M):U(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),L):A(n)}function D(n){return 93===n?(e.consume(n),z):A(n)}function z(n){return 62===n?(e.consume(n),M):45===n&&2===o?(e.consume(n),z):A(n)}function M(n){return null===n||X(n)?(e.exit("htmlFlowData"),R(n)):(e.consume(n),M)}function R(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},je={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ie,n,t)}},partial:!0};const _e={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return ne(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(n)}function i(n){return n===a?(e.consume(n),r++,i):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);Je(f,-u),Je(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=j(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=j(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=j(a,ye(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=j(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=j(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,B(e,t-1,c-t+3,a),c=t+a.length-s-2;break}c=-1;for(;++c13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535===(65535&t)||65534===(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const yn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function kn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return gn(t.slice(n?2:1),n?16:10)}return He(t)||e}function xn(e){return e&&"object"===typeof e?"position"in e||"type"in e?bn(e.position):"start"in e||"end"in e?bn(e):"line"in e||"column"in e?vn(e):"":""}function vn(e){return Sn(e&&e.line)+":"+Sn(e&&e.column)}function bn(e){return vn(e&&e.start)+"-"+vn(e&&e.end)}function Sn(e){return e&&"number"===typeof e?e:1}const wn={}.hasOwnProperty,Cn=function(e,n,t){return"string"!==typeof n&&(t=n,n=void 0),function(e={}){const n=En({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(oe),autolinkProtocol:P,autolinkEmail:P,atxHeading:a(ee),blockQuote:a(K),characterEscape:P,characterReference:P,codeFenced:a(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(X,s),codeText:a(Z,s),codeTextData:P,data:P,codeFlowValue:P,definition:a(J),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(G),hardBreakEscape:a(ne),hardBreakTrailing:a(ne),htmlFlow:a(te,s),htmlFlowData:P,htmlText:a(te,s),htmlTextData:P,image:a(re),label:s,link:a(oe),listItem:a(le),listItemValue:m,listOrdered:a(ie,h),listUnordered:a(ie),paragraph:a(ue),reference:V,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(ee),strong:a(ae),thematicBreak:a(ce)},exit:{atxHeading:f(),atxHeadingSequence:C,autolink:f(),autolinkEmail:Y,autolinkProtocol:Q,blockQuote:f(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:W,codeFenced:f(x),codeFencedFence:k,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:T,codeIndented:f(v),codeText:f(z),codeTextData:T,data:T,definition:f(),definitionDestinationString:w,definitionLabelString:b,definitionTitleString:S,emphasis:f(),hardBreakEscape:f(I),hardBreakTrailing:f(I),htmlFlow:f(L),htmlFlowData:T,htmlText:f(D),htmlTextData:T,image:f(B),label:_,labelText:j,lineEnding:O,link:f(R),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:q,resourceDestinationString:N,resourceTitleString:H,resource:U,setextHeading:f(F),setextHeadingLineSequence:A,setextHeadingText:E,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),t={};return r;function r(e){let t={type:"root",children:[]};const r=[],a=[],f={stack:[t],tokenStack:r,config:n,enter:c,exit:p,buffer:s,resume:d,setData:i,getData:l};let h=-1;for(;++h0){const e=r[r.length-1];(e[1]||Fn).call(f,void 0,e[0])}for(t.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})},h=-1;++h{const t=this.data("settings");return Cn(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},Tn=function(e,n,t){var r={type:String(e)};return void 0!==t&&null!==t||"string"!==typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:void 0!==t&&null!==t&&(r.value=String(t)),r};const On=function(e){if(void 0===e||null===e)return Ln;if("string"===typeof e)return function(e){return In(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c-1?t.offset:null}}}const jn={}.hasOwnProperty;function _n(e){return String(e||"").toUpperCase()}const Nn={}.hasOwnProperty;function Hn(e,n){const t=n.data||{};return"value"in n&&!(Nn.call(t,"hName")||Nn.call(t,"hProperties")||Nn.call(t,"hChildren"))?e.augment(n,Tn("text",n.value)):e(n,"div",qn(e,n))}function Un(e,n,t){const r=n&&n.type;let o;if(!r)throw new Error("Expected node, got `"+n+"`");return o=Nn.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?Vn:e.unknownHandler,("function"===typeof o?o:Hn)(e,n,t)}function Vn(e,n){return"children"in n?{...n,children:qn(e,n)}:n}function qn(e,n){const t=[];if("children"in n){const r=n.children;let o=-1;for(;++o":"gt"};function Wn(e,n){const t=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+$n[e]+";"}))}(function(e){const n=[];let t=-1,r=0,o=0;for(;++t55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="\ufffd"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}(e||""));if(!n)return t;const r=t.indexOf(":"),o=t.indexOf("?"),i=t.indexOf("#"),l=t.indexOf("/");return r<0||l>-1&&r>l||o>-1&&r>o||i>-1&&r>i||n.test(t.slice(0,r))?t:""}function Qn(e,n){const t=[];let r=-1;for(n&&t.push(Tn("text","\n"));++r0&&t.push(Tn("text","\n")),t}function Yn(e,n){const t=String(n.identifier),r=Wn(t.toLowerCase()),o=e.footnoteOrder.indexOf(t);let i;-1===o?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=o+1);const l=e.footnoteCounts[t];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[Tn("text",String(i))])])}var Kn=t(70729);function Xn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return Tn("text","!["+n.alt+r);const o=qn(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(Tn("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(Tn("text",r)),o}function Zn(e){const n=e.spread;return void 0===n||null===n?e.children.length>1:n}function Jn(e,n,t){let r=0,o=e.length;if(n){let n=e.codePointAt(r);for(;9===n||32===n;)r++,n=e.codePointAt(r)}if(t){let n=e.codePointAt(o-1);for(;9===n||32===n;)o--,n=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Gn={blockquote:function(e,n){return e(n,"blockquote",Qn(qn(e,n),!0))},break:function(e,n){return[e(n,"br"),Tn("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[Tn("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",qn(e,n))},emphasis:function(e,n){return e(n,"em",qn(e,n))},footnoteReference:Yn,footnote:function(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Yn(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,qn(e,n))},html:function(e,n){return e.dangerous?e.augment(n,Tn("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Xn(e,n);const r={src:Kn(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:Kn(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[Tn("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Xn(e,n);const r={href:Kn(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,qn(e,n))},link:function(e,n){const t={href:Kn(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,qn(e,n))},listItem:function(e,n,t){const r=qn(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r0&&t.children.unshift(Tn("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u0,!0),r[0]),o=r.index+r[0].length,r=t.exec(n);return i.push(Jn(n.slice(o),o>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:et,yaml:et,definition:et,footnoteDefinition:et};function et(){return null}const nt={}.hasOwnProperty;function tt(e,n){const t=n||{},r=t.allowDangerousHtml||!1,o={};return l.dangerous=r,l.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,l.footnoteLabel=t.footnoteLabel||"Footnotes",l.footnoteLabelTagName=t.footnoteLabelTagName||"h2",l.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=t.footnoteBackLabel||"Back to content",l.definition=function(e){const n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return zn(e,"definition",(e=>{const t=_n(e.identifier);t&&!jn.call(n,t)&&(n[t]=e)})),function(e){const t=_n(e);return t&&jn.call(n,t)?n[t]:null}}(e),l.footnoteById=o,l.footnoteOrder=[],l.footnoteCounts={},l.augment=i,l.handlers={...Gn,...t.handlers},l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,zn(e,"footnoteDefinition",(e=>{const n=String(e.identifier).toUpperCase();nt.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:Mn(r),end:Rn(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}function rt(e,n){const t=tt(e,n),r=Un(t,e,null),o=function(e){let n=-1;const t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}const s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else o.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:Qn(o,!0)};r.position&&(c.position=r.position),t.push(c)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[Tn("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Qn(t,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push(Tn("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var ot=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(rt(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>rt(n,e)}(e||n)};var it=t(45697);class lt{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function ut(e,n){const t={},r={};let o=-1;for(;++o"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Et=wt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function At(e,n){return n in e?e[n]:n}function Ft(e,n){return At(e,n.toLowerCase())}const Pt=wt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ft,properties:{xmlns:null,xmlnsXLink:null}}),Tt=wt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:pt,ariaAutoComplete:null,ariaBusy:pt,ariaChecked:pt,ariaColCount:ht,ariaColIndex:ht,ariaColSpan:ht,ariaControls:mt,ariaCurrent:null,ariaDescribedBy:mt,ariaDetails:null,ariaDisabled:pt,ariaDropEffect:mt,ariaErrorMessage:null,ariaExpanded:pt,ariaFlowTo:mt,ariaGrabbed:pt,ariaHasPopup:null,ariaHidden:pt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:mt,ariaLevel:ht,ariaLive:null,ariaModal:pt,ariaMultiLine:pt,ariaMultiSelectable:pt,ariaOrientation:null,ariaOwns:mt,ariaPlaceholder:null,ariaPosInSet:ht,ariaPressed:pt,ariaReadOnly:pt,ariaRelevant:null,ariaRequired:pt,ariaRoleDescription:mt,ariaRowCount:ht,ariaRowIndex:ht,ariaRowSpan:ht,ariaSelected:pt,ariaSetSize:ht,ariaSort:null,ariaValueMax:ht,ariaValueMin:ht,ariaValueNow:ht,ariaValueText:null,role:null}}),Ot=wt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ft,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:gt,acceptCharset:mt,accessKey:mt,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:mt,autoFocus:ft,autoPlay:ft,capture:ft,charSet:null,checked:ft,cite:null,className:mt,cols:ht,colSpan:null,content:null,contentEditable:pt,controls:ft,controlsList:mt,coords:ht|gt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:dt,draggable:pt,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:mt,height:ht,hidden:ft,high:ht,href:null,hrefLang:null,htmlFor:mt,httpEquiv:mt,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:mt,itemRef:mt,itemScope:ft,itemType:mt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:ht,manifest:null,max:null,maxLength:ht,media:null,method:null,min:null,minLength:ht,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ft,optimum:ht,pattern:null,ping:mt,placeholder:null,playsInline:ft,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:mt,required:ft,reversed:ft,rows:ht,rowSpan:ht,sandbox:mt,scope:null,scoped:ft,seamless:ft,selected:ft,shape:null,size:ht,sizes:null,slot:null,span:ht,spellCheck:pt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ht,step:null,style:null,tabIndex:ht,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:pt,width:ht,wrap:null,align:null,aLink:null,archive:mt,axis:null,background:null,bgColor:null,border:ht,borderColor:null,bottomMargin:ht,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:ht,leftMargin:ht,link:null,longDesc:null,lowSrc:null,marginHeight:ht,marginWidth:ht,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:ht,rules:null,scheme:null,scrolling:pt,standby:null,summary:null,text:null,topMargin:ht,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ht,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:ht,security:null,unselectable:null}}),It=wt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:At,properties:{about:yt,accentHeight:ht,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ht,amplitude:ht,arabicForm:null,ascent:ht,attributeName:null,attributeType:null,azimuth:ht,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ht,by:null,calcMode:null,capHeight:ht,className:mt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ht,diffuseConstant:ht,direction:null,display:null,dur:null,divisor:ht,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:ht,enableBackground:null,end:null,event:null,exponent:ht,externalResourcesRequired:null,fill:null,fillOpacity:ht,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:gt,g2:gt,glyphName:gt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ht,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ht,horizOriginX:ht,horizOriginY:ht,id:null,ideographic:ht,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ht,k:ht,k1:ht,k2:ht,k3:ht,k4:ht,kernelMatrix:yt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ht,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ht,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ht,overlineThickness:ht,paintOrder:null,panose1:null,path:null,pathLength:ht,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:mt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ht,pointsAtY:ht,pointsAtZ:ht,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yt,rev:yt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yt,requiredFeatures:yt,requiredFonts:yt,requiredFormats:yt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ht,specularExponent:ht,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ht,strikethroughThickness:ht,string:null,stroke:null,strokeDashArray:yt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ht,strokeOpacity:ht,strokeWidth:null,style:null,surfaceScale:ht,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yt,tabIndex:ht,tableValues:null,target:null,targetX:ht,targetY:ht,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yt,to:null,transform:null,u1:null,u2:null,underlinePosition:ht,underlineThickness:ht,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ht,values:null,vAlphabetic:ht,vMathematical:ht,vectorEffect:null,vHanging:ht,vIdeographic:ht,version:null,vertAdvY:ht,vertOriginX:ht,vertOriginY:ht,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ht,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Lt=ut([Et,Ct,Pt,Tt,Ot],"html"),Dt=ut([Et,Ct,Pt,Tt,It],"svg"),zt=function(e){if(void 0===e||null===e)return Rt;if("string"===typeof e)return function(e){return Mt(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c{!function(e,n,t,r){"function"===typeof n&&"function"!==typeof t&&(r=t,t=n,n=null),Bt(e,n,(function(e,n){const r=n[n.length-1];return t(e,r?r.children.indexOf(e):null,r)}),r)}(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"===typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"===typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const _t=["http","https","mailto","tel"];var Nt=t(59864);function Ht(e){var n=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const Ut=/^data[-\w.:]+$/i,Vt=/-[a-z]/g,qt=/[A-Z]/g;function $t(e){return"-"+e.toLowerCase()}function Wt(e){return e.charAt(1).toUpperCase()}const Qt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Yt=t(57848);const Kt={}.hasOwnProperty,Xt=new Set(["table","thead","tbody","tfoot","tr"]);function Zt(e,n){const t=[];let r,o=-1;for(;++oString(e))).join("")),!h&&o.rawSourcePos&&(a.sourcePosition=n.position),!h&&o.includeElementIndex&&(a.index=Gt(r,n),a.siblingCount=Gt(r)),h||(a.node=n),f.length>0?i.createElement(d,a,f):i.createElement(d,a)}function Gt(e,n){let t=-1,r=0;for(;++t4&&"data"===t.slice(0,4)&&Ut.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Vt,Wt);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Vt.test(e)){let t=e.replace(qt,$t);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=vt}return new o(r,n)}(r.schema,n);let i=t;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,n){var t=n||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const n={};try{Yt(e,t)}catch{}return n;function t(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,nr)]=t}}(i)),o.space&&o.property?e[Kt.call(Qt,o.property)?Qt[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function nr(e,n){return n.toUpperCase()}const tr={}.hasOwnProperty,rr={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function or(e){for(const i in rr)if(tr.call(rr,i)&&tr.call(e,i)){const e=rr[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see for more info)`),delete rr[i]}const n=A().use(Pn).use(e.remarkPlugins||[]).use(ot,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(jt,e),t=new k;"string"===typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},Zt({options:e,schema:Lt,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}or.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++o<_t.length;){const e=_t[o];if(r===e.length&&n.slice(0,e.length).toLowerCase()===e)return n}return o=n.indexOf("?"),-1!==o&&r>o?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},or.propTypes={children:it.string,className:it.string,allowElement:it.func,allowedElements:it.arrayOf(it.string),disallowedElements:it.arrayOf(it.string),unwrapDisallowed:it.bool,remarkPlugins:it.arrayOf(it.oneOfType([it.object,it.func,it.arrayOf(it.oneOfType([it.bool,it.string,it.object,it.func,it.arrayOf(it.any)]))])),rehypePlugins:it.arrayOf(it.oneOfType([it.object,it.func,it.arrayOf(it.oneOfType([it.bool,it.string,it.object,it.func,it.arrayOf(it.any)]))])),sourcePos:it.bool,rawSourcePos:it.bool,skipHtml:it.bool,includeElementIndex:it.bool,transformLinkUri:it.oneOfType([it.func,it.bool]),linkTarget:it.oneOfType([it.func,it.string]),transformImageUri:it.func,components:it.object}}}]); \ No newline at end of file diff --git a/static/web/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index 29c1a0871..6dbfecf73 100644 --- a/static/web/admin/access-tokens/index.html +++ b/static/web/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index 031bf7f9a..9524df87c 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index b0347a1d4..52f23bdfe 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index 5b96a87b4..2c328d2dc 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index a40aa1e11..942d61b8a 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index cf04b01dd..324505d3b 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index d61b19771..b27303757 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/web/admin/config-public-details/index.html b/static/web/admin/config-public-details/index.html index 83e04da9a..e37f56f6d 100644 --- a/static/web/admin/config-public-details/index.html +++ b/static/web/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/web/admin/config-server-details/index.html b/static/web/admin/config-server-details/index.html index 0903d6826..d058693ec 100644 --- a/static/web/admin/config-server-details/index.html +++ b/static/web/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index 0fe9dba4d..ebdfd7bf5 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/web/admin/config-storage/index.html b/static/web/admin/config-storage/index.html index abab3ed9a..a4acf8f07 100644 --- a/static/web/admin/config-storage/index.html +++ b/static/web/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index 583ffe2b2..fa92df896 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index 1c228c876..def60689a 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index de0249b87..a77520e81 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index 57f9c3737..f5c46d0be 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index cca77f3d4..179936689 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/web/admin/index.html b/static/web/admin/index.html index 6db33b03e..e872e4db1 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index 340c5bab4..fa3c46bfb 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index efbdf9f99..1729a28c3 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index 65199ab7e..5a639cc54 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index 95bca22e4..6707337bb 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 8b95f8c22..da3d25091 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 2f5765468..6076f672f 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
chat container goes here
\ No newline at end of file +
chat container goes here
\ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index e10272889..3e3a4f02c 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
fully featured chat embed goes here
\ No newline at end of file +
fully featured chat embed goes here
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index 0c60f1bee..4da00431a 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
is currently offline.
Stream is offline text goes here.
Offline
\ No newline at end of file +
is currently offline.
Stream is offline text goes here.
Offline
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index cd732b913..bfe159792 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1 +1 @@ -
Chat offline
is currently offline.
Please follow and ask to get notified when the stream is live.
Offline
Logo
Preview
\ No newline at end of file +
Chat offline
is currently offline.
Please follow and ask to get notified when the stream is live.
Offline
Logo
Preview
\ No newline at end of file