diff --git a/asset-manifest.json b/asset-manifest.json index 65334473..ad4bab8d 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { - "main.css": "/static/css/main.76c15fd4.css", - "main.js": "/static/js/main.04911cba.js", + "main.css": "/static/css/main.68564bc8.css", + "main.js": "/static/js/main.2c885d77.js", "refractor-prismjs-vendor.js": "/static/js/refractor-prismjs-vendor.00f2c9ac.js", "micromark-vendor.js": "/static/js/micromark-vendor.fe3d962e.js", "babel-runtime-vendor.js": "/static/js/babel-runtime-vendor.3a7c1be5.js", @@ -9,8 +9,8 @@ "react-vendor.js": "/static/js/react-vendor.83888bb4.js", "index.html": "/index.html", "static/media/logo.svg": "/static/media/logo.3931a054f5ef8356122965d973d55570.svg", - "main.76c15fd4.css.map": "/static/css/main.76c15fd4.css.map", - "main.04911cba.js.map": "/static/js/main.04911cba.js.map", + "main.68564bc8.css.map": "/static/css/main.68564bc8.css.map", + "main.2c885d77.js.map": "/static/js/main.2c885d77.js.map", "refractor-prismjs-vendor.00f2c9ac.js.map": "/static/js/refractor-prismjs-vendor.00f2c9ac.js.map", "micromark-vendor.fe3d962e.js.map": "/static/js/micromark-vendor.fe3d962e.js.map", "babel-runtime-vendor.3a7c1be5.js.map": "/static/js/babel-runtime-vendor.3a7c1be5.js.map", @@ -23,7 +23,7 @@ "static/js/babel-runtime-vendor.3a7c1be5.js", "static/js/parse5-vendor.b4d720a9.js", "static/js/react-vendor.83888bb4.js", - "static/css/main.76c15fd4.css", - "static/js/main.04911cba.js" + "static/css/main.68564bc8.css", + "static/js/main.2c885d77.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index ead655cc..9d066b23 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -HeatMap for React.
\ No newline at end of file +HeatMap for React.
\ No newline at end of file diff --git a/static/css/main.76c15fd4.css b/static/css/main.68564bc8.css similarity index 79% rename from static/css/main.76c15fd4.css rename to static/css/main.68564bc8.css index 31c697eb..7e7a28cc 100644 --- a/static/css/main.76c15fd4.css +++ b/static/css/main.68564bc8.css @@ -1,2 +1,2 @@ -article,aside,blockquote,body,dd,details,dl,dt,fieldset,figcaption,figure,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,iframe,legend,li,menu,nav,ol,p,pre,section,textarea,ul{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}embed,iframe,object,video{height:auto;max-width:100%}audio{max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0;text-align:left}.code-preview-layout[data-color-mode*=light],[data-color-mode*=light],body[data-color-mode*=light]{--color-canvas-subtle:#f6f8fa;--color-border-muted:#d8dee4}.code-preview-layout[data-color-mode*=dark],[data-color-mode*=dark],body[data-color-mode*=dark]{--color-canvas-subtle:#161b22;--color-border-muted:#21262d}.w-rcpl.w-bordered{border:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-toolbar{border-top:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-code:not(.w-hidden){border-top:1px dashed var(--color-border-muted)}.w-rcpl{background-color:var(--color-canvas-subtle);border-radius:5px}.w-rcpl-preview:not(:last-child){border-radius:5px 5px 0 0}.w-rcpl-code.w-hidden{height:0;overflow:hidden;padding:0}.w-rcpl-code{height:auto;overflow:auto;transition:height cubic-bezier(.36,0,.66,-.56)}.w-rcpl-code>*{margin:0!important;padding:0!important}.w-disable-checkered>.w-rcpl-preview{background-image:none}.w-rcpl-preview{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E");white-space:pre-wrap}.w-rcpl-code,.w-rcpl-preview{padding:15px}.w-rcpl-extra,.w-rcpl-title{align-items:center;display:flex}.w-rcpl-toolbar button svg{display:block;height:18px;opacity:.37;transition:opacity .3s}.w-rcpl-toolbar button svg:hover{opacity:1}.w-rcpl-toolbar button{background-color:transparent;border:0;box-sizing:border-box;color:currentColor;cursor:pointer;display:inline-block;height:inherit;outline:none;padding:3px 4px;position:relative;transition:opacity .2s,background .2s}.w-rcpl-toolbar{display:flex;justify-content:space-between;padding:5px 5px 5px 8px}@media (prefers-color-scheme:dark){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}}@media (prefers-color-scheme:light){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}}.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,body[data-color-mode*=dark]{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,body[data-color-mode*=light]{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}.wmde-markdown{-webkit-text-size-adjust:100%;word-wrap:break-word;background-color:var(--color-canvas-default);color:var(--color-fg-default);font-family:-apple-system,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{border-bottom:1px solid var(--color-border-muted);font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{background-color:var(--color-canvas-default);border-style:none;box-sizing:content-box;display:inline-block;max-width:100%}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{background:transparent;background-color:var(--color-border-default);border:0;border-bottom:1px solid var(--color-border-muted);box-sizing:content-box;height:.25em;margin:24px 0;overflow:hidden;padding:0}.wmde-markdown input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:after,.wmde-markdown hr:before{content:"";display:table}.wmde-markdown hr:after{clear:both}.wmde-markdown table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;width:-moz-max-content;width:max-content}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>:not(summary){display:none!important}.wmde-markdown kbd{background-color:var(--color-canvas-subtle);border-bottom-color:var(--color-neutral-muted);border:1px solid var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted);color:var(--color-fg-default);display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:3px 5px;vertical-align:middle}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.wmde-markdown h2{border-bottom:1px solid var(--color-border-muted);font-size:1.5em;font-weight:600;padding-bottom:.3em}.wmde-markdown h3{font-size:1.25em;font-weight:600}.wmde-markdown h4{font-size:1em;font-weight:600}.wmde-markdown h5{font-size:.875em;font-weight:600}.wmde-markdown h6{color:var(--color-fg-muted);font-size:.85em;font-weight:600}.wmde-markdown p{margin-bottom:10px;margin-top:0}.wmde-markdown blockquote{border-left:.25em solid var(--color-border-default);color:var(--color-fg-muted);margin:0;padding:0 1em}.wmde-markdown ol,.wmde-markdown ul{margin-bottom:0;margin-top:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ol ol ol,.wmde-markdown ol ul ol,.wmde-markdown ul ol ol,.wmde-markdown ul ul ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown code,.wmde-markdown pre,.wmde-markdown tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{word-wrap:normal;margin-bottom:0;margin-top:0}.wmde-markdown .octicon{fill:currentColor;display:inline-block;overflow:visible!important;vertical-align:text-bottom}.wmde-markdown ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-inner-spin-button,.wmde-markdown input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:after,.wmde-markdown:before{content:"";display:table}.wmde-markdown:after{clear:both}.wmde-markdown>:first-child{margin-top:0!important}.wmde-markdown>:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown blockquote,.wmde-markdown details,.wmde-markdown dl,.wmde-markdown ol,.wmde-markdown p,.wmde-markdown pre,.wmde-markdown table,.wmde-markdown ul{margin-bottom:16px;margin-top:0}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 code,.wmde-markdown h1 tt,.wmde-markdown h2 code,.wmde-markdown h2 tt,.wmde-markdown h3 code,.wmde-markdown h3 tt,.wmde-markdown h4 code,.wmde-markdown h4 tt,.wmde-markdown h5 code,.wmde-markdown h5 tt,.wmde-markdown h6 code,.wmde-markdown h6 tt{font-size:inherit;padding:0 .2em}.wmde-markdown ol.no-list,.wmde-markdown ul.no-list{list-style-type:none;padding:0}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ol ol,.wmde-markdown ol ul,.wmde-markdown ul ol,.wmde-markdown ul ul{margin-bottom:0;margin-top:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.wmde-markdown dl dd{margin-bottom:16px;padding:0 16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table td,.wmde-markdown table th{border:1px solid var(--color-border-default);padding:6px 13px}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{background-color:transparent;max-width:none;vertical-align:text-top}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{border:1px solid var(--color-border-default);display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{clear:both;color:var(--color-fg-default);display:block;padding:5px 0 0}.wmde-markdown span.align-center{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{background-color:var(--color-neutral-muted);border-radius:6px;font-size:85%;margin:0;padding:.2em .4em}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}.wmde-markdown pre{background-color:var(--color-canvas-subtle);border-radius:6px;font-size:85%;line-height:1.45}.wmde-markdown pre code,.wmde-markdown pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0}.wmde-markdown pre>code{display:block;overflow:auto;padding:16px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{background:var(--color-canvas-default);border:0;padding:10px 8px 9px;text-align:right}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{background:var(--color-canvas-subtle);border-top:0;font-weight:600}.wmde-markdown .footnotes{border-top:1px solid var(--color-border-default);color:var(--color-fg-muted);font-size:12px}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{border:2px solid var(--color-accent-emphasis);border-radius:6px;bottom:-8px;content:"";left:-24px;pointer-events:none;position:absolute;right:-8px;top:-8px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .contains-task-list input[type=checkbox],.wmde-markdown .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{background:var(--color-border-default);border-radius:5px;color:var(--color-fg-defaul);cursor:pointer;display:flex;font-size:12px;padding:6px;position:absolute;right:6px;top:6px;transition:all .3s;visibility:hidden}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre .copied.active,.wmde-markdown pre:hover .copied:active{background:#2e9b33;color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.highlight-line{background-color:var(--color-neutral-muted)}.code-line.line-number:before{color:var(--color-fg-subtle);content:attr(line);display:inline-block;margin-right:16px;text-align:right;white-space:nowrap;width:1rem}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:var(--color-prettylights-syntax-comment)}.token.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.selector,.token.symbol,.token.tag{color:var(--color-prettylights-syntax-entity-tag)}.token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.token.attr-name,.token.boolean,.token.builtin,.token.char,.token.number,.token.operator,.token.property-access,.token.selector .token.class,.token.string{color:var(--color-prettylights-syntax-constant)}.token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.token.variable{color:var(--color-prettylights-syntax-constant)}.language-css .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.class-name,.token.color,.token.entity,.token.function,.token.url{color:var(--color-prettylights-syntax-string)}.token.important,.token.keyword,.token.regex,.token.rule{color:var(--color-prettylights-syntax-keyword)}.token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}svg.w-heatmap{color:#24292e;display:block;font-size:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}svg.w-heatmap rect{cursor:pointer;display:block}svg.w-heatmap rect:hover{stroke:rgba(0,0,0,.14);stroke-width:1px}svg.w-heatmap rect:active{fill:#196127;stroke-width:0}svg.w-heatmap text{text-anchor:middle;fill:currentColor;font-size:inherit}.w-overlay{-webkit-overflow-scrolling:touch;bottom:0;display:none;height:100%;left:0;outline:0;overflow:auto;position:fixed;right:0;text-align:center;top:0;width:100%;z-index:999}.w-overlay.open{z-index:9999}.w-overlay-open{overflow:hidden}.w-overlay-content{display:inline-block;margin:20px 0;outline:0;position:relative;text-align:left;vertical-align:middle;z-index:20}.w-overlay-inline{overflow:visible;overflow:initial;position:absolute}.w-overlay-inline .w-overlay-container{position:relative}.w-overlay-inline .w-overlay-backdrop{position:absolute}.w-overlay-container{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0;z-index:99999}.w-overlay-container:before{content:" ";display:inline-block;height:100%;vertical-align:middle;width:1px}.w-overlay-backdrop{background-color:rgba(16,22,26,.7);bottom:0;left:0;opacity:1;overflow:auto;position:fixed;right:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.w-overlay-enter .w-overlay-backdrop{opacity:0}.w-overlay-enter-active .w-overlay-backdrop{opacity:1;transition:opacity .3s ease-in}.w-overlay-exit .w-overlay-backdrop{opacity:1}.w-overlay-exit-active .w-overlay-backdrop{opacity:0;transition:opacity .3s ease-in}.w-overlay-enter .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter-active .w-overlay-content,.w-overlay-exit .w-overlay-content{opacity:1;transform:translate(0);transition:transform .3s ease,opacity .3s ease}.w-overlay-exit-active .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter,.w-overlay-enter-done,.w-overlay-exit{display:inherit}.w-overlay.w-overlay-trigger{bottom:auto;height:auto;left:auto;overflow:inherit;position:absolute;right:auto;top:auto;width:auto}.w-overlay.w-overlay-trigger .w-overlay-container{overflow:inherit;position:relative}.w-overlay.w-overlay-trigger .w-overlay-container:before{display:none}.w-overlay.w-overlay-trigger .w-overlay-content{margin:0}.w-overlay.w-overlay-trigger.rightTop .w-overlay-content{transform-origin:left top}.w-overlay.w-overlay-trigger.right .w-overlay-content{transform-origin:left center}.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content{transform-origin:left bottom}.w-overlay.w-overlay-trigger.topLeft .w-overlay-content{transform-origin:bottom left}.w-overlay.w-overlay-trigger.top .w-overlay-content{transform-origin:bottom center}.w-overlay.w-overlay-trigger.topRight .w-overlay-content{transform-origin:bottom right}.w-overlay.w-overlay-trigger.leftTop .w-overlay-content{transform-origin:right top}.w-overlay.w-overlay-trigger.left .w-overlay-content{transform-origin:right center}.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content{transform-origin:right bottom}.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content{transform-origin:top left}.w-overlay.w-overlay-trigger.bottom .w-overlay-content{transform-origin:top center}.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content{transform-origin:top right}.w-overlay-trigger-disabled{cursor:not-allowed}.w-tooltip{display:inline-block;position:relative}.w-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.w-tooltip-inner{background-color:rgba(0,0,0,.75);border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);color:#fff;display:block;font-size:12px;max-width:250px;padding:5px 10px;text-align:left;text-decoration:none;word-break:break-all}.w-tooltip.right .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{border-right-color:rgba(0,0,0,.75);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.w-tooltip.left .w-tooltip-arrow,.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.leftTop .w-tooltip-arrow{border-left-color:rgba(0,0,0,.75);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.w-tooltip.leftTop .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{top:15px}.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow{bottom:10px;top:auto}.w-tooltip.top .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{border-top-color:rgba(0,0,0,.75);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.w-tooltip.bottom .w-tooltip-arrow,.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.bottomRight .w-tooltip-arrow{border-bottom-color:rgba(0,0,0,.75);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow{left:15px}.w-tooltip.bottomRight .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{left:auto;right:10px}.w-tooltip.bottom,.w-tooltip.bottomLeft,.w-tooltip.bottomRight{padding-top:5px}.w-tooltip.top,.w-tooltip.topLeft,.w-tooltip.topRight{padding-bottom:5px}.w-tooltip.right,.w-tooltip.rightBottom,.w-tooltip.rightTop{padding-left:5px}.w-tooltip.left,.w-tooltip.leftBottom,.w-tooltip.leftTop{padding-right:5px}.w-tooltip.no-arrow{padding:0!important}html{font-family:Alliance no\.1,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.App_header__G9FVm,html{background-color:#282c34}.App_header__G9FVm{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - 80px);padding-bottom:30px}.App_logo__8q6ZT{max-width:210px}.App_info__vaSms{font-size:21px;max-width:520px;text-align:center}.App_app__ozyN1{padding-bottom:70px}.App_content__uFknh{margin:0 auto;max-width:950px;padding-top:125px}.App_content__uFknh>pre{overflow-x:visible;overflow-x:initial}.App_example__uwPPL{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(16,22,26,.1),0 0 0 rgba(16,22,26,0),0 1px 1px rgba(16,22,26,.2);margin:70px auto 0}.App_example__uwPPL svg{border-radius:5px}.App_tools__iziyx{border-radius:5px;font-size:12px;margin-top:10px!important;padding:10px 10px 10px 0;-webkit-user-select:none;user-select:none}.App_tools__iziyx label{align-items:center;display:flex}.App_tools__iziyx label input{margin-left:10px;margin-right:5px} -/*# sourceMappingURL=main.76c15fd4.css.map*/ \ No newline at end of file +article,aside,blockquote,body,dd,details,dl,dt,fieldset,figcaption,figure,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,iframe,legend,li,menu,nav,ol,p,pre,section,textarea,ul{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}embed,iframe,object,video{height:auto;max-width:100%}audio{max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0;text-align:left}.code-preview-layout[data-color-mode*=light],[data-color-mode*=light],body[data-color-mode*=light]{--color-canvas-subtle:#f6f8fa;--color-border-muted:#d8dee4}.code-preview-layout[data-color-mode*=dark],[data-color-mode*=dark],body[data-color-mode*=dark]{--color-canvas-subtle:#161b22;--color-border-muted:#21262d}.w-rcpl.w-bordered{border:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-toolbar{border-top:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-code:not(.w-hidden){border-top:1px dashed var(--color-border-muted)}.w-rcpl{background-color:var(--color-canvas-subtle);border-radius:5px}.w-rcpl-preview:not(:last-child){border-radius:5px 5px 0 0}.w-rcpl-code.w-hidden{height:0;overflow:hidden;padding:0}.w-rcpl-code{height:auto;overflow:auto;transition:height cubic-bezier(.36,0,.66,-.56)}.w-rcpl-code>*{margin:0!important;padding:0!important}.w-disable-checkered>.w-rcpl-preview{background-image:none}.w-rcpl-preview{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E");white-space:pre-wrap}.w-rcpl-code,.w-rcpl-preview{padding:15px}.w-rcpl-extra,.w-rcpl-title{align-items:center;display:flex}.w-rcpl-toolbar button svg{display:block;height:18px;opacity:.37;transition:opacity .3s}.w-rcpl-toolbar button svg:hover{opacity:1}.w-rcpl-toolbar button{background-color:transparent;border:0;box-sizing:border-box;color:currentColor;cursor:pointer;display:inline-block;height:inherit;outline:none;padding:3px 4px;position:relative;transition:opacity .2s,background .2s}.w-rcpl-toolbar{display:flex;justify-content:space-between;padding:5px 5px 5px 8px}@media (prefers-color-scheme:dark){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}}@media (prefers-color-scheme:light){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}}.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,body[data-color-mode*=dark]{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,body[data-color-mode*=light]{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}.wmde-markdown{-webkit-text-size-adjust:100%;word-wrap:break-word;background-color:var(--color-canvas-default);color:var(--color-fg-default);font-family:-apple-system,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{border-bottom:1px solid var(--color-border-muted);font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{background-color:var(--color-canvas-default);border-style:none;box-sizing:content-box;display:inline-block;max-width:100%}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{background:transparent;background-color:var(--color-border-default);border:0;border-bottom:1px solid var(--color-border-muted);box-sizing:content-box;height:.25em;margin:24px 0;overflow:hidden;padding:0}.wmde-markdown input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:after,.wmde-markdown hr:before{content:"";display:table}.wmde-markdown hr:after{clear:both}.wmde-markdown table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;width:-moz-max-content;width:max-content}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>:not(summary){display:none!important}.wmde-markdown kbd{background-color:var(--color-canvas-subtle);border-bottom-color:var(--color-neutral-muted);border:1px solid var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted);color:var(--color-fg-default);display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:3px 5px;vertical-align:middle}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.wmde-markdown h2{border-bottom:1px solid var(--color-border-muted);font-size:1.5em;font-weight:600;padding-bottom:.3em}.wmde-markdown h3{font-size:1.25em;font-weight:600}.wmde-markdown h4{font-size:1em;font-weight:600}.wmde-markdown h5{font-size:.875em;font-weight:600}.wmde-markdown h6{color:var(--color-fg-muted);font-size:.85em;font-weight:600}.wmde-markdown p{margin-bottom:10px;margin-top:0}.wmde-markdown blockquote{border-left:.25em solid var(--color-border-default);color:var(--color-fg-muted);margin:0;padding:0 1em}.wmde-markdown ol,.wmde-markdown ul{margin-bottom:0;margin-top:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ol ol ol,.wmde-markdown ol ul ol,.wmde-markdown ul ol ol,.wmde-markdown ul ul ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown code,.wmde-markdown pre,.wmde-markdown tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{word-wrap:normal;margin-bottom:0;margin-top:0}.wmde-markdown .octicon{fill:currentColor;display:inline-block;overflow:visible!important;vertical-align:text-bottom}.wmde-markdown ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-inner-spin-button,.wmde-markdown input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:after,.wmde-markdown:before{content:"";display:table}.wmde-markdown:after{clear:both}.wmde-markdown>:first-child{margin-top:0!important}.wmde-markdown>:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown blockquote,.wmde-markdown details,.wmde-markdown dl,.wmde-markdown ol,.wmde-markdown p,.wmde-markdown pre,.wmde-markdown table,.wmde-markdown ul{margin-bottom:16px;margin-top:0}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 code,.wmde-markdown h1 tt,.wmde-markdown h2 code,.wmde-markdown h2 tt,.wmde-markdown h3 code,.wmde-markdown h3 tt,.wmde-markdown h4 code,.wmde-markdown h4 tt,.wmde-markdown h5 code,.wmde-markdown h5 tt,.wmde-markdown h6 code,.wmde-markdown h6 tt{font-size:inherit;padding:0 .2em}.wmde-markdown ol.no-list,.wmde-markdown ul.no-list{list-style-type:none;padding:0}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ol ol,.wmde-markdown ol ul,.wmde-markdown ul ol,.wmde-markdown ul ul{margin-bottom:0;margin-top:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.wmde-markdown dl dd{margin-bottom:16px;padding:0 16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table td,.wmde-markdown table th{border:1px solid var(--color-border-default);padding:6px 13px}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{background-color:transparent;max-width:none;vertical-align:text-top}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{border:1px solid var(--color-border-default);display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{clear:both;color:var(--color-fg-default);display:block;padding:5px 0 0}.wmde-markdown span.align-center{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{background-color:var(--color-neutral-muted);border-radius:6px;font-size:85%;margin:0;padding:.2em .4em}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}.wmde-markdown pre{background-color:var(--color-canvas-subtle);border-radius:6px;font-size:85%;line-height:1.45}.wmde-markdown pre code,.wmde-markdown pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0}.wmde-markdown pre>code{display:block;overflow:auto;padding:16px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{background:var(--color-canvas-default);border:0;padding:10px 8px 9px;text-align:right}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{background:var(--color-canvas-subtle);border-top:0;font-weight:600}.wmde-markdown .footnotes{border-top:1px solid var(--color-border-default);color:var(--color-fg-muted);font-size:12px}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{border:2px solid var(--color-accent-emphasis);border-radius:6px;bottom:-8px;content:"";left:-24px;pointer-events:none;position:absolute;right:-8px;top:-8px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .contains-task-list input[type=checkbox],.wmde-markdown .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{background:var(--color-border-default);border-radius:5px;color:var(--color-fg-defaul);cursor:pointer;display:flex;font-size:12px;padding:6px;position:absolute;right:6px;top:6px;transition:all .3s;visibility:hidden}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre .copied.active,.wmde-markdown pre:hover .copied:active{background:#2e9b33;color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.highlight-line{background-color:var(--color-neutral-muted)}.code-line.line-number:before{color:var(--color-fg-subtle);content:attr(line);display:inline-block;margin-right:16px;text-align:right;white-space:nowrap;width:1rem}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:var(--color-prettylights-syntax-comment)}.token.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.selector,.token.symbol,.token.tag{color:var(--color-prettylights-syntax-entity-tag)}.token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.token.attr-name,.token.boolean,.token.builtin,.token.char,.token.number,.token.operator,.token.property-access,.token.selector .token.class,.token.string{color:var(--color-prettylights-syntax-constant)}.token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.token.variable{color:var(--color-prettylights-syntax-constant)}.language-css .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.class-name,.token.color,.token.entity,.token.function,.token.url{color:var(--color-prettylights-syntax-string)}.token.important,.token.keyword,.token.regex,.token.rule{color:var(--color-prettylights-syntax-keyword)}.token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}svg.w-heatmap rect:hover{stroke:rgba(0,0,0,.14);stroke:var(--rhm-rect-hover-stroke,rgba(0,0,0,.14));stroke-width:1px}svg.w-heatmap rect:active{fill:#196127;fill:var(--rhm-rect-active,#196127);stroke-width:0}.w-overlay{-webkit-overflow-scrolling:touch;bottom:0;display:none;height:100%;left:0;outline:0;overflow:auto;position:fixed;right:0;text-align:center;top:0;width:100%;z-index:999}.w-overlay.open{z-index:9999}.w-overlay-open{overflow:hidden}.w-overlay-content{display:inline-block;margin:20px 0;outline:0;position:relative;text-align:left;vertical-align:middle;z-index:20}.w-overlay-inline{overflow:visible;overflow:initial;position:absolute}.w-overlay-inline .w-overlay-container{position:relative}.w-overlay-inline .w-overlay-backdrop{position:absolute}.w-overlay-container{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0;z-index:99999}.w-overlay-container:before{content:" ";display:inline-block;height:100%;vertical-align:middle;width:1px}.w-overlay-backdrop{background-color:rgba(16,22,26,.7);bottom:0;left:0;opacity:1;overflow:auto;position:fixed;right:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.w-overlay-enter .w-overlay-backdrop{opacity:0}.w-overlay-enter-active .w-overlay-backdrop{opacity:1;transition:opacity .3s ease-in}.w-overlay-exit .w-overlay-backdrop{opacity:1}.w-overlay-exit-active .w-overlay-backdrop{opacity:0;transition:opacity .3s ease-in}.w-overlay-enter .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter-active .w-overlay-content,.w-overlay-exit .w-overlay-content{opacity:1;transform:translate(0);transition:transform .3s ease,opacity .3s ease}.w-overlay-exit-active .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter,.w-overlay-enter-done,.w-overlay-exit{display:inherit}.w-overlay.w-overlay-trigger{bottom:auto;height:auto;left:auto;overflow:inherit;position:absolute;right:auto;top:auto;width:auto}.w-overlay.w-overlay-trigger .w-overlay-container{overflow:inherit;position:relative}.w-overlay.w-overlay-trigger .w-overlay-container:before{display:none}.w-overlay.w-overlay-trigger .w-overlay-content{margin:0}.w-overlay.w-overlay-trigger.rightTop .w-overlay-content{transform-origin:left top}.w-overlay.w-overlay-trigger.right .w-overlay-content{transform-origin:left center}.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content{transform-origin:left bottom}.w-overlay.w-overlay-trigger.topLeft .w-overlay-content{transform-origin:bottom left}.w-overlay.w-overlay-trigger.top .w-overlay-content{transform-origin:bottom center}.w-overlay.w-overlay-trigger.topRight .w-overlay-content{transform-origin:bottom right}.w-overlay.w-overlay-trigger.leftTop .w-overlay-content{transform-origin:right top}.w-overlay.w-overlay-trigger.left .w-overlay-content{transform-origin:right center}.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content{transform-origin:right bottom}.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content{transform-origin:top left}.w-overlay.w-overlay-trigger.bottom .w-overlay-content{transform-origin:top center}.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content{transform-origin:top right}.w-overlay-trigger-disabled{cursor:not-allowed}.w-tooltip{display:inline-block;position:relative}.w-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.w-tooltip-inner{background-color:rgba(0,0,0,.75);border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);color:#fff;display:block;font-size:12px;max-width:250px;padding:5px 10px;text-align:left;text-decoration:none;word-break:break-all}.w-tooltip.right .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{border-right-color:rgba(0,0,0,.75);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.w-tooltip.left .w-tooltip-arrow,.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.leftTop .w-tooltip-arrow{border-left-color:rgba(0,0,0,.75);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.w-tooltip.leftTop .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{top:15px}.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow{bottom:10px;top:auto}.w-tooltip.top .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{border-top-color:rgba(0,0,0,.75);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.w-tooltip.bottom .w-tooltip-arrow,.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.bottomRight .w-tooltip-arrow{border-bottom-color:rgba(0,0,0,.75);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow{left:15px}.w-tooltip.bottomRight .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{left:auto;right:10px}.w-tooltip.bottom,.w-tooltip.bottomLeft,.w-tooltip.bottomRight{padding-top:5px}.w-tooltip.top,.w-tooltip.topLeft,.w-tooltip.topRight{padding-bottom:5px}.w-tooltip.right,.w-tooltip.rightBottom,.w-tooltip.rightTop{padding-left:5px}.w-tooltip.left,.w-tooltip.leftBottom,.w-tooltip.leftTop{padding-right:5px}.w-tooltip.no-arrow{padding:0!important}html{font-family:Alliance no\.1,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.App_header__G9FVm,html{background-color:#282c34}.App_header__G9FVm{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - 80px);padding-bottom:30px}.App_logo__8q6ZT{max-width:210px}.App_info__vaSms{font-size:21px;max-width:520px;text-align:center}.App_app__ozyN1{padding-bottom:70px}.App_content__uFknh{margin:0 auto;max-width:950px;padding-top:125px}.App_content__uFknh>pre{overflow-x:visible;overflow-x:initial}.App_example__uwPPL{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(16,22,26,.1),0 0 0 rgba(16,22,26,0),0 1px 1px rgba(16,22,26,.2);margin:70px auto 0}.App_example__uwPPL svg{border-radius:5px}.App_tools__iziyx{border-radius:5px;font-size:12px;margin-top:10px!important;padding:10px 10px 10px 0;-webkit-user-select:none;user-select:none}.App_tools__iziyx label{align-items:center;display:flex}.App_tools__iziyx label input{margin-left:10px;margin-right:5px} +/*# sourceMappingURL=main.68564bc8.css.map*/ \ No newline at end of file diff --git a/static/css/main.68564bc8.css.map b/static/css/main.68564bc8.css.map new file mode 100644 index 00000000..63183cb4 --- /dev/null +++ b/static/css/main.68564bc8.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.68564bc8.css","mappings":"AASA,gLAiCE,QAAS,CACT,SACF,CAEA,kBAME,cAAe,CACf,eACF,CAEA,GACE,eACF,CAEA,6BAIE,QACF,CAEA,KACE,qBACF,CACA,iBAGE,kBACF,CAEA,0BAIE,WAAY,CACZ,cACF,CACA,MACE,cACF,CAEA,OACE,QACF,CAEA,MACE,wBAAyB,CACzB,gBACF,CACA,MAEE,SAAU,CACV,eACF,CCnGA,mGACE,6BAA8B,CAC9B,4BACF,CACA,gGACE,6BAA8B,CAC9B,4BACF,CAEA,mBACE,0CACF,CACA,mCACE,8CACF,CACA,+CACE,+CACF,CAEA,QAEE,2CAA4C,CAD5C,iBAEF,CACA,iCACE,yBACF,CACA,sBACE,QAAS,CAET,eAAgB,CADhB,SAEF,CACA,aAEE,WAAY,CACZ,aAAc,CAFd,8CAGF,CACA,eAEE,kBAAoB,CADpB,mBAEF,CACA,qCACE,qBACF,CACA,gBAEE,6TADA,oBAEF,CACA,6BACE,YACF,CACA,4BAEE,kBAAmB,CADnB,YAEF,CACA,2BAEE,aAAc,CACd,WAAY,CAFZ,WAAa,CAGb,sBACF,CACA,iCACE,SACF,CACA,uBAGE,4BAA6B,CAI7B,QAAS,CACT,qBAAsB,CAPtB,kBAAmB,CAQnB,cAAe,CALf,oBAAqB,CACrB,cAAe,CAKf,YAAa,CAJb,eAAgB,CAJhB,iBAAkB,CASlB,qCACF,CACA,gBACE,YAAa,CACb,6BAA8B,CAE9B,uBACF,CCjFA,mCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CA1C1B,iBA2CF,CACF,CACA,oCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CA1C1B,kBA2CF,CACF,CACA,8LAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CA1C1B,iBA2CF,CACA,mMAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CA1C1B,kBA2CF,CACA,eACE,6BAA8B,CAI9B,oBAAqB,CAErB,4CAA6C,CAD7C,6BAA8B,CAJ9B,8FAA2G,CAC3G,cAAe,CACf,eAIF,CACA,uEAGE,aACF,CACA,uBACE,iBACF,CACA,wBACE,sBACF,CACA,iBACE,4BAA6B,CAC7B,4BAA6B,CAC7B,oBACF,CACA,+CAEE,eACF,CACA,2BACE,kBAAmB,CACnB,wCAAyC,CACjC,gCACV,CACA,uCAEE,eACF,CACA,mBACE,iBACF,CACA,kBAKE,iDAAkD,CADlD,aAAc,CAFd,eAAgB,CADhB,cAAgB,CAEhB,mBAGF,CACA,oBACE,8CAA+C,CAC/C,+BACF,CACA,qBACE,aACF,CACA,sCAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CACA,mBACE,aACF,CACA,mBACE,SACF,CACA,mBAKE,4CAA6C,CAH7C,iBAAkB,CAElB,sBAAuB,CAHvB,oBAAqB,CAErB,cAGF,CACA,8EAIE,+BAAiC,CACjC,aACF,CACA,sBACE,eACF,CACA,kBAGE,sBAAuB,CAMvB,4CAA6C,CAL7C,QAAS,CACT,iDAAkD,CAJlD,sBAAuB,CAKvB,YAAc,CAEd,aAAc,CANd,eAAgB,CAKhB,SAGF,CACA,qBACE,YAAa,CAGb,mBAAoB,CACpB,iBAAkB,CAClB,mBAAoB,CAJpB,QAAS,CACT,gBAIF,CACA,sFAGE,yBACF,CACA,4IAGE,iBAAkB,CAClB,SACF,CACA,mIAGE,6BACF,CACA,2DAEE,qBAAsB,CACtB,SACF,CACA,gHAEE,WACF,CACA,6BACE,4BAA6B,CAC7B,mBACF,CACA,mHAEE,uBACF,CACA,2CACE,aAAc,CACd,WACF,CACA,4CACE,yBAA0B,CAC1B,YACF,CACA,uBACE,yBACF,CAKA,iDAFE,UAAW,CADX,aAOF,CAJA,wBAEE,UAEF,CACA,qBAEE,wBAAyB,CADzB,gBAAiB,CAEjB,aAAc,CAGd,cAAe,CADf,sBAAkB,CAAlB,iBAEF,CAmCA,oCAEE,SACF,CACA,+BACE,cACF,CACA,iDACE,sBACF,CACA,mBAOE,2CAA4C,CAC5C,8CAA4C,CAC5C,2CAA+C,CAC/C,iBAAkB,CAClB,oDAAqD,CANrD,6BAA8B,CAJ9B,oBAAqB,CAErB,sFAA6F,CAC7F,gBAAiB,CAFjB,eAAgB,CAIhB,qBAMF,CACA,4GAQE,eAAgB,CAChB,gBAAiB,CAFjB,kBAAmB,CADnB,eAIF,CACA,kBAIE,iDAAkD,CADlD,eAAgB,CAFhB,eAAgB,CAChB,mBAGF,CACA,kBAEE,gBAAiB,CADjB,eAEF,CACA,kBAEE,aAAc,CADd,eAEF,CACA,kBAEE,gBAAkB,CADlB,eAEF,CACA,kBAGE,2BAA4B,CAD5B,eAAiB,CADjB,eAGF,CACA,iBAEE,kBAAmB,CADnB,YAEF,CACA,0BAIE,mDAAqD,CADrD,2BAA4B,CAF5B,QAAS,CACT,aAGF,CACA,oCAGE,eAAgB,CADhB,YAAa,CAEb,gBACF,CACA,0CAEE,2BACF,CACA,gGAIE,2BACF,CACA,kBACE,aACF,CAMA,yDAHE,wFAA+F,CAC/F,cAQF,CANA,mBAKE,gBAAiB,CAHjB,eAAgB,CADhB,YAKF,CACA,wBAIE,iBAAkB,CAHlB,oBAAqB,CACrB,0BAA4B,CAC5B,0BAEF,CAKA,kCACE,4BAA6B,CAC7B,SACF,CAHA,6BACE,4BAA6B,CAC7B,SACF,CACA,gGAGE,uBAAwB,CACxB,eAAgB,CAFhB,QAGF,CACA,+BACE,aACF,CAKA,2CAFE,UAAW,CADX,aAOF,CAJA,qBAEE,UAEF,CACA,4BACE,sBACF,CACA,2BACE,yBACF,CACA,6BACE,aAAc,CACd,oBACF,CACA,uBACE,4BACF,CACA,wBACE,UAAW,CAGX,aAAc,CADd,iBAAkB,CADlB,iBAGF,CACA,6BACE,YACF,CACA,gKASE,kBAAmB,CADnB,YAEF,CACA,uCACE,YACF,CACA,sCACE,eACF,CACA,4BACE,WACF,CACA,2BACE,WACF,CACA,gMAME,6BAA8B,CAC9B,qBAAsB,CACtB,iBACF,CACA,gMAME,oBACF,CACA,oRAME,kBACF,CACA,wQAaE,iBAAkB,CADlB,cAEF,CACA,oDAGE,oBAAqB,CADrB,SAEF,CACA,4BACE,uBACF,CACA,0BACE,2BACF,CACA,0BACE,2BACF,CACA,kCACE,uBACF,CACA,oFAKE,eAAgB,CADhB,YAEF,CACA,oBACE,eACF,CACA,qBACE,gBACF,CACA,kBACE,SACF,CACA,qBAGE,aAAc,CACd,iBAAkB,CAClB,eAAgB,CAHhB,eAAgB,CADhB,SAKF,CACA,qBAEE,kBAAmB,CADnB,cAEF,CACA,wBACE,eACF,CACA,gDAGE,4CAA6C,CAD7C,gBAEF,CACA,wBACE,4CAA6C,CAC7C,8CACF,CACA,sCACE,2CACF,CACA,yBACE,4BACF,CACA,gCACE,iBACF,CACA,+BACE,kBACF,CACA,sBAGE,4BAA6B,CAF7B,cAAe,CACf,uBAEF,CACA,0BACE,aAAc,CACd,eACF,CACA,+BAOE,4CAA6C,CAN7C,aAAc,CACd,UAAW,CAGX,eAAgB,CAChB,eAAgB,CAFhB,WAAY,CADZ,UAKF,CACA,mCACE,aAAc,CACd,UACF,CACA,oCAGE,UAAW,CACX,6BAA8B,CAH9B,aAAc,CACd,eAGF,CACA,iCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,sCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,iBACF,CACA,0CACE,aAAc,CACd,iBACF,CACA,gCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,qCACE,aAAc,CACd,eAAgB,CAChB,eAAgB,CAChB,gBACF,CACA,yCACE,QAAS,CACT,gBACF,CACA,+BACE,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,eACF,CACA,oCACE,eACF,CACA,gCACE,aAAc,CACd,WAAY,CACZ,gBAAiB,CACjB,eACF,CACA,qCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,gBACF,CACA,sCAKE,2CAA4C,CAC5C,iBAAkB,CAFlB,aAAc,CADd,QAAS,CADT,iBAKF,CACA,4CAEE,YACF,CACA,wBACE,uBACF,CACA,wBACE,cACF,CACA,wBAKE,sBAAuB,CACvB,QAAS,CAJT,QAAS,CADT,SAAU,CAGV,eAAgB,CADhB,iBAIF,CACA,mBAGE,2CAA4C,CAC5C,iBAAkB,CAHlB,aAAc,CACd,gBAGF,CACA,8CAQE,gBAAiB,CACjB,4BAA6B,CAC7B,QAAS,CART,cAAe,CAKf,mBAAoB,CAFpB,QAAS,CAFT,cAAe,CAGf,gBAAiB,CAFjB,SAOF,CACA,wBAGE,aAAc,CADd,aAAc,CADd,YAGF,CACA,wDAIE,cAAe,CACf,aAAc,CAFd,eAAgB,CADhB,WAAY,CAIZ,eAAgB,CAChB,kBACF,CACA,mCAGE,sCAAuC,CACvC,QAAS,CAHT,oBAAqB,CACrB,gBAGF,CACA,4BACE,YACF,CACA,4BAEE,qCAAsC,CACtC,YAAa,CAFb,eAGF,CACA,0BAGE,gDAAiD,CADjD,2BAA4B,CAD5B,cAGF,CACA,6BACE,iBACF,CACA,6BACE,iBACF,CACA,2CAQE,6CAA8C,CAC9C,iBAAkB,CALlB,WAAY,CAGZ,UAAW,CAFX,UAAW,CACX,mBAAoB,CALpB,iBAAkB,CAElB,UAAW,CADX,QAQF,CACA,oCACE,6BACF,CACA,yDACE,qBACF,CACA,+BACE,oBACF,CACA,qCACE,eACF,CACA,6CACE,cACF,CACA,8DACE,cACF,CACA,uCACE,YACF,CACA,gGAEE,0BAA6B,CAC7B,qBACF,CACA,sIAEE,0BACF,CACA,mDAEU,kBACV,CACA,mBACE,iBACF,CACA,2BASE,sCAAuC,CADvC,iBAAkB,CAHlB,4BAA6B,CAD7B,cAAe,CAFf,YAAa,CASb,cAAe,CADf,WAAY,CAPZ,iBAAkB,CAIlB,SAAU,CADV,OAAQ,CAMR,kBAAoB,CAXpB,iBAYF,CACA,yCACE,aACF,CACA,0CACE,YACF,CACA,iCACE,kBACF,CACA,uCACE,sDAAuD,CACvD,iCACF,CACA,0EAEE,kBAAmB,CACnB,iCACF,CACA,yCACE,YACF,CACA,0CACE,aACF,CACA,gBACE,2CACF,CACA,8BAKE,4BAA6B,CAC7B,kBAAmB,CALnB,oBAAqB,CAGrB,iBAAkB,CADlB,gBAAiB,CAIjB,kBAAmB,CALnB,UAMF,CACA,yDAIE,8CACF,CACA,iBACE,UACF,CACA,wFAME,iDACF,CACA,wBACE,+CACF,CACA,2JASE,+CACF,CACA,eACE,0DACF,CACA,0BACE,mEACF,CACA,gBACE,2DACF,CACA,2BACE,oEACF,CACA,gBACE,+CACF,CAOA,yJAKE,6CACF,CACA,yDAIE,8CACF,CACA,aACE,sDACF,CACA,6BAEE,eACF,CACA,cACE,iBACF,CACA,cACE,WACF,CCt/BA,yBACE,sBAAyD,CAAzD,mDAAyD,CACzD,gBACF,CACA,0BACE,YAAa,CACb,mCAAqC,CACrC,cACF,CCRA,WASE,gCAAiC,CAFjC,QAAS,CAMT,YAAa,CAFb,WAAY,CANZ,MAAO,CACP,SAAU,CAJV,aAAc,CADd,cAAe,CAGf,OAAQ,CAMR,iBAAkB,CAPlB,KAAM,CASN,UAAW,CAJX,WAMF,CACA,gBACE,YACF,CACA,gBACE,eACF,CACA,mBAGE,oBAAqB,CAGrB,aAAc,CAJd,SAAU,CADV,iBAAkB,CAIlB,eAAgB,CADhB,qBAAsB,CAGtB,UACF,CACA,kBAEE,gBAAiB,CAAjB,gBAAiB,CADjB,iBAEF,CACA,uCACE,iBACF,CACA,sCACE,iBACF,CACA,qBAOE,QAAS,CAFT,MAAO,CAHP,aAAc,CADd,iBAAkB,CAKlB,OAAQ,CAFR,KAAM,CADN,aAKF,CACA,4BACE,WAAY,CACZ,oBAAqB,CACrB,WAAY,CAEZ,qBAAsB,CADtB,SAEF,CACA,oBAQE,kCAAuC,CAJvC,QAAS,CACT,MAAO,CACP,SAAU,CAGV,aAAc,CARd,cAAe,CAEf,OAAQ,CADR,KAAM,CAQN,wBAAyB,CACjB,qBAAiB,CAAjB,gBAAiB,CAJzB,UAKF,CACA,qCACE,SACF,CACA,4CACE,SAAU,CACV,8BACF,CACA,oCACE,SACF,CACA,2CACE,SAAU,CACV,8BACF,CACA,oCAGE,SAAU,CADF,mBAEV,CASA,8EACE,SAAU,CAEF,sBAAuB,CAE/B,8CAEF,CACA,0CAGE,SAAU,CADF,mBAEV,CACA,uDAGE,eACF,CCjHA,6BAKE,WAAY,CAGZ,WAAe,CALf,SAAU,CAGV,gBAAiB,CALjB,iBAAkB,CAGlB,UAAW,CAFX,QAAS,CAKT,UAEF,CACA,kDAEE,gBAAiB,CADjB,iBAEF,CACA,yDACE,YACF,CACA,gDACE,QACF,CACA,yDAEU,yBACV,CACA,sDAEU,4BACV,CACA,4DAEU,4BACV,CACA,wDAEU,4BACV,CACA,oDAEU,8BACV,CACA,yDAEU,6BACV,CACA,wDAEU,0BACV,CACA,qDAEU,6BACV,CACA,2DAEU,6BACV,CACA,2DAEU,yBACV,CACA,uDAEU,2BACV,CACA,4DAEU,0BACV,CACA,4BACE,kBACF,CCtEA,WAEE,oBAAqB,CADrB,iBAEF,CACA,iBAIE,wBAAyB,CACzB,kBAAmB,CAFnB,QAAS,CAFT,iBAAkB,CAClB,OAIF,CACA,iBAQE,gCAAqC,CACrC,iBAAkB,CAClB,mCAAwC,CALxC,UAAW,CADX,aAAc,CAHd,cAAe,CACf,eAAgB,CAChB,gBAAiB,CAGjB,eAAgB,CAChB,oBAAqB,CAIrB,oBACF,CACA,+GAGE,kCAAuC,CACvC,0BAA2B,CAC3B,MAAO,CACP,eAAgB,CAChB,OACF,CACA,4GAGE,iCAAsC,CACtC,0BAA2B,CAC3B,eAAgB,CAChB,OAAQ,CACR,OACF,CACA,yEAEE,QACF,CACA,+EAEE,WAAY,CACZ,QACF,CACA,yGAGE,gCAAqC,CACrC,sBAAuB,CACvB,QAAS,CACT,QAAS,CACT,gBACF,CACA,kHAGE,mCAAwC,CACxC,sBAAuB,CACvB,QAAS,CACT,gBAAiB,CACjB,KACF,CACA,2EAEE,SACF,CACA,6EAGE,SAAU,CADV,UAEF,CACA,+DAGE,eACF,CACA,sDAGE,kBACF,CACA,4DAGE,gBACF,CACA,yDAGE,iBACF,CACA,oBACE,mBACF,CCpGA,KAEE,gJACF,CAGA,wBALE,wBAYF,CAPA,mBAKE,kBAAmB,CAGnB,UAAY,CALZ,YAAa,CACb,qBAAsB,CAEtB,sBAAuB,CAJvB,6BAA8B,CAK9B,mBAAF,CAIA,iBACE,eAFF,CAKA,iBACE,cAAe,CACf,eAAgB,CAChB,iBAHF,CAMA,gBACE,mBAJF,CAOA,oBAEE,aAAc,CADd,eAAgB,CAEhB,iBALF,CAEA,wBAKI,qCAJJ,CAQA,oBACE,qBAAsB,CACtB,iBAAkB,CAClB,0FAEA,kBANF,CACA,wBAOI,iBALJ,CASA,kBAME,iBAAkB,CAJlB,cAAe,CACf,yBAA2B,CAE3B,wBAAiB,CAJjB,yCAFF,CACA,wBASI,kBAAmB,CADnB,YALJ,CAHA,8BAYM,gBAAiB,CADjB,gBAJN","sources":["../../node_modules/@uiw/reset.css/reset.css","../../node_modules/react-code-preview-layout/esm/styles.css","../../node_modules/@uiw/react-markdown-preview/esm/styles/markdown.css","../../core/esm/style/index.css","../../node_modules/@uiw/react-overlay/esm/style/index.css","../../node_modules/@uiw/react-overlay-trigger/esm/style/index.css","../../node_modules/@uiw/react-tooltip/esm/style/index.css","App.module.less"],"sourcesContent":["/**! \n * @uiw/reset.css v1.0.6 \n * A tiny modern CSS reset. \n * \n * Copyright (c) 2022 \n * https://github.com/uiwjs/reset-css \n * Licensed under the MIT license \n */\n\nhtml,\nbody,\np,\nol,\nul,\nli,\ndl,\ndt,\ndd,\nblockquote,\nfigure,\nfieldset,\nlegend,\ntextarea,\npre,\niframe,\nhr,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\narticle,\naside,\ndetails,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n margin: 0;\n padding: 0;\n}\n/* Headings */\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: 100%;\n font-weight: normal;\n}\n/* List */\nul {\n list-style: none;\n}\n/* Form */\nbutton,\ninput,\nselect,\ntextarea {\n margin: 0;\n}\n/* Box sizing */\nhtml {\n box-sizing: border-box;\n}\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n/* Media */\nembed,\niframe,\nobject,\nvideo {\n height: auto;\n max-width: 100%;\n}\naudio {\n max-width: 100%;\n}\n/* Iframe */\niframe {\n border: 0;\n}\n/* Table */\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n text-align: left;\n}\n\n",".code-preview-layout[data-color-mode*='light'], [data-color-mode*='light'], body[data-color-mode*='light'] {\n --color-canvas-subtle: #f6f8fa;\n --color-border-muted: hsl(210, 18%, 87%);\n}\n.code-preview-layout[data-color-mode*='dark'], [data-color-mode*='dark'], body[data-color-mode*='dark'] {\n --color-canvas-subtle: #161b22;\n --color-border-muted: #21262d;\n}\n\n.w-rcpl.w-bordered {\n border: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-toolbar {\n border-top: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-code:not(.w-hidden) {\n border-top: 1px dashed var(--color-border-muted);\n}\n\n.w-rcpl {\n border-radius: 5px;\n background-color: var(--color-canvas-subtle);\n}\n.w-rcpl-preview:not(:last-child) {\n border-radius: 5px 5px 0 0;\n}\n.w-rcpl-code.w-hidden {\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.w-rcpl-code {\n transition: height cubic-bezier(0.360, 0.000, 0.660, -0.560);;\n height: auto;\n overflow: auto;\n}\n.w-rcpl-code > * {\n padding: 0 !important;\n margin: 0 !important;\n}\n.w-disable-checkered > .w-rcpl-preview {\n background-image: none;\n}\n.w-rcpl-preview {\n white-space: pre-wrap;\n background: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E\")\n}\n.w-rcpl-preview, .w-rcpl-code {\n padding: 15px;\n}\n.w-rcpl-extra, .w-rcpl-title {\n display: flex;\n align-items: center;\n}\n.w-rcpl-toolbar button svg {\n opacity: 0.37;\n display: block;\n height: 18px;\n transition: opacity 0.3s;\n}\n.w-rcpl-toolbar button svg:hover {\n opacity: 1;\n}\n.w-rcpl-toolbar button {\n color: currentColor;\n position: relative;\n background-color: transparent;\n display: inline-block;\n height: inherit;\n padding: 3px 4px;\n border: 0;\n box-sizing: border-box;\n cursor: pointer;\n outline: none;\n transition: opacity .2s, background .2s;\n}\n.w-rcpl-toolbar {\n display: flex;\n justify-content: space-between;\n padding: 5px 5px;\n padding-left: 8px;\n}","@media (prefers-color-scheme: dark) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n }\n}\n@media (prefers-color-scheme: light) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n }\n}\n[data-color-mode*='dark'] .wmde-markdown,\n[data-color-mode*='dark'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='dark'],\n.wmde-markdown[data-color-mode*='dark'],\nbody[data-color-mode*='dark'] {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n}\n[data-color-mode*='light'] .wmde-markdown,\n[data-color-mode*='light'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='light'],\n.wmde-markdown[data-color-mode*='light'],\nbody[data-color-mode*='light'] {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n}\n.wmde-markdown {\n -webkit-text-size-adjust: 100%;\n font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n font-size: 16px;\n line-height: 1.5;\n word-wrap: break-word;\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown details,\n.wmde-markdown figcaption,\n.wmde-markdown figure {\n display: block;\n}\n.wmde-markdown summary {\n display: list-item;\n}\n.wmde-markdown [hidden] {\n display: none !important;\n}\n.wmde-markdown a {\n background-color: transparent;\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n.wmde-markdown a:active,\n.wmde-markdown a:hover {\n outline-width: 0;\n}\n.wmde-markdown abbr[title] {\n border-bottom: none;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n.wmde-markdown b,\n.wmde-markdown strong {\n font-weight: 600;\n}\n.wmde-markdown dfn {\n font-style: italic;\n}\n.wmde-markdown h1 {\n margin: 0.67em 0;\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 2em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown mark {\n background-color: var(--color-attention-subtle);\n color: var(--color-text-primary);\n}\n.wmde-markdown small {\n font-size: 90%;\n}\n.wmde-markdown sub,\n.wmde-markdown sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n.wmde-markdown sub {\n bottom: -0.25em;\n}\n.wmde-markdown sup {\n top: -0.5em;\n}\n.wmde-markdown img {\n display: inline-block;\n border-style: none;\n max-width: 100%;\n box-sizing: content-box;\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown code,\n.wmde-markdown kbd,\n.wmde-markdown pre,\n.wmde-markdown samp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n.wmde-markdown figure {\n margin: 1em 40px;\n}\n.wmde-markdown hr {\n box-sizing: content-box;\n overflow: hidden;\n background: transparent;\n border: 0;\n border-bottom: 1px solid var(--color-border-muted);\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n}\n.wmde-markdown input {\n font: inherit;\n margin: 0;\n overflow: visible;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n.wmde-markdown [type='button'],\n.wmde-markdown [type='reset'],\n.wmde-markdown [type='submit'] {\n -webkit-appearance: button;\n}\n.wmde-markdown [type='button']::-moz-focus-inner,\n.wmde-markdown [type='reset']::-moz-focus-inner,\n.wmde-markdown [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n.wmde-markdown [type='button']:-moz-focusring,\n.wmde-markdown [type='reset']:-moz-focusring,\n.wmde-markdown [type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n.wmde-markdown [type='checkbox'],\n.wmde-markdown [type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n.wmde-markdown [type='number']::-webkit-inner-spin-button,\n.wmde-markdown [type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n.wmde-markdown [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n.wmde-markdown [type='search']::-webkit-search-cancel-button,\n.wmde-markdown [type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n.wmde-markdown ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n.wmde-markdown ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n.wmde-markdown a:hover {\n text-decoration: underline;\n}\n.wmde-markdown hr::before {\n display: table;\n content: '';\n}\n.wmde-markdown hr::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown table {\n border-spacing: 0;\n border-collapse: collapse;\n display: block;\n width: -webkit-max-content;\n width: max-content;\n max-width: 100%;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown h2 {\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 1.5em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown h3 {\n font-weight: 600;\n font-size: 1.25em;\n}\n.wmde-markdown h4 {\n font-weight: 600;\n font-size: 1em;\n}\n.wmde-markdown h5 {\n font-weight: 600;\n font-size: 0.875em;\n}\n.wmde-markdown h6 {\n font-weight: 600;\n font-size: 0.85em;\n color: var(--color-fg-muted);\n}\n.wmde-markdown p {\n margin-top: 0;\n margin-bottom: 10px;\n}\n.wmde-markdown blockquote {\n margin: 0;\n padding: 0 1em;\n color: var(--color-fg-muted);\n border-left: 0.25em solid var(--color-border-default);\n}\n.wmde-markdown ul,\n.wmde-markdown ol {\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 2em;\n}\n.wmde-markdown ol ol,\n.wmde-markdown ul ol {\n list-style-type: lower-roman;\n}\n.wmde-markdown ul ul ol,\n.wmde-markdown ul ol ol,\n.wmde-markdown ol ul ol,\n.wmde-markdown ol ol ol {\n list-style-type: lower-alpha;\n}\n.wmde-markdown dd {\n margin-left: 0;\n}\n.wmde-markdown tt,\n.wmde-markdown code {\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n}\n.wmde-markdown pre {\n margin-top: 0;\n margin-bottom: 0;\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n word-wrap: normal;\n}\n.wmde-markdown .octicon {\n display: inline-block;\n overflow: visible !important;\n vertical-align: text-bottom;\n fill: currentColor;\n}\n.wmde-markdown ::-webkit-input-placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.wmde-markdown ::placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.wmde-markdown input::-webkit-outer-spin-button,\n.wmde-markdown input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n appearance: none;\n}\n.wmde-markdown [data-catalyst] {\n display: block;\n}\n.wmde-markdown::before {\n display: table;\n content: '';\n}\n.wmde-markdown::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown > *:first-child {\n margin-top: 0 !important;\n}\n.wmde-markdown > *:last-child {\n margin-bottom: 0 !important;\n}\n.wmde-markdown a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n.wmde-markdown .absent {\n color: var(--color-danger-fg);\n}\n.wmde-markdown a.anchor {\n float: left;\n padding-right: 4px;\n margin-left: -20px;\n line-height: 1;\n}\n.wmde-markdown .anchor:focus {\n outline: none;\n}\n.wmde-markdown p,\n.wmde-markdown blockquote,\n.wmde-markdown ul,\n.wmde-markdown ol,\n.wmde-markdown dl,\n.wmde-markdown table,\n.wmde-markdown pre,\n.wmde-markdown details {\n margin-top: 0;\n margin-bottom: 16px;\n}\n.wmde-markdown blockquote > :first-child {\n margin-top: 0;\n}\n.wmde-markdown blockquote > :last-child {\n margin-bottom: 0;\n}\n.wmde-markdown sup > a::before {\n content: '[';\n}\n.wmde-markdown sup > a::after {\n content: ']';\n}\n.wmde-markdown h1 .octicon-link,\n.wmde-markdown h2 .octicon-link,\n.wmde-markdown h3 .octicon-link,\n.wmde-markdown h4 .octicon-link,\n.wmde-markdown h5 .octicon-link,\n.wmde-markdown h6 .octicon-link {\n color: var(--color-fg-default);\n vertical-align: middle;\n visibility: hidden;\n}\n.wmde-markdown h1:hover .anchor,\n.wmde-markdown h2:hover .anchor,\n.wmde-markdown h3:hover .anchor,\n.wmde-markdown h4:hover .anchor,\n.wmde-markdown h5:hover .anchor,\n.wmde-markdown h6:hover .anchor {\n text-decoration: none;\n}\n.wmde-markdown h1:hover .anchor .octicon-link,\n.wmde-markdown h2:hover .anchor .octicon-link,\n.wmde-markdown h3:hover .anchor .octicon-link,\n.wmde-markdown h4:hover .anchor .octicon-link,\n.wmde-markdown h5:hover .anchor .octicon-link,\n.wmde-markdown h6:hover .anchor .octicon-link {\n visibility: visible;\n}\n.wmde-markdown h1 tt,\n.wmde-markdown h1 code,\n.wmde-markdown h2 tt,\n.wmde-markdown h2 code,\n.wmde-markdown h3 tt,\n.wmde-markdown h3 code,\n.wmde-markdown h4 tt,\n.wmde-markdown h4 code,\n.wmde-markdown h5 tt,\n.wmde-markdown h5 code,\n.wmde-markdown h6 tt,\n.wmde-markdown h6 code {\n padding: 0 0.2em;\n font-size: inherit;\n}\n.wmde-markdown ul.no-list,\n.wmde-markdown ol.no-list {\n padding: 0;\n list-style-type: none;\n}\n.wmde-markdown ol[type='1'] {\n list-style-type: decimal;\n}\n.wmde-markdown ol[type='a'] {\n list-style-type: lower-alpha;\n}\n.wmde-markdown ol[type='i'] {\n list-style-type: lower-roman;\n}\n.wmde-markdown div > ol:not([type]) {\n list-style-type: decimal;\n}\n.wmde-markdown ul ul,\n.wmde-markdown ul ol,\n.wmde-markdown ol ol,\n.wmde-markdown ol ul {\n margin-top: 0;\n margin-bottom: 0;\n}\n.wmde-markdown li > p {\n margin-top: 16px;\n}\n.wmde-markdown li + li {\n margin-top: 0.25em;\n}\n.wmde-markdown dl {\n padding: 0;\n}\n.wmde-markdown dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: 600;\n}\n.wmde-markdown dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n.wmde-markdown table th {\n font-weight: 600;\n}\n.wmde-markdown table th,\n.wmde-markdown table td {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown table tr {\n background-color: var(--color-canvas-default);\n border-top: 1px solid var(--color-border-muted);\n}\n.wmde-markdown table tr:nth-child(2n) {\n background-color: var(--color-canvas-subtle);\n}\n.wmde-markdown table img {\n background-color: transparent;\n}\n.wmde-markdown img[align='right'] {\n padding-left: 20px;\n}\n.wmde-markdown img[align='left'] {\n padding-right: 20px;\n}\n.wmde-markdown .emoji {\n max-width: none;\n vertical-align: text-top;\n background-color: transparent;\n}\n.wmde-markdown span.frame {\n display: block;\n overflow: hidden;\n}\n.wmde-markdown span.frame > span {\n display: block;\n float: left;\n width: auto;\n padding: 7px;\n margin: 13px 0 0;\n overflow: hidden;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown span.frame span img {\n display: block;\n float: left;\n}\n.wmde-markdown span.frame span span {\n display: block;\n padding: 5px 0 0;\n clear: both;\n color: var(--color-fg-default);\n}\n.wmde-markdown span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-center > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: center;\n}\n.wmde-markdown span.align-center span img {\n margin: 0 auto;\n text-align: center;\n}\n.wmde-markdown span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-right > span {\n display: block;\n margin: 13px 0 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown span.align-right span img {\n margin: 0;\n text-align: right;\n}\n.wmde-markdown span.float-left {\n display: block;\n float: left;\n margin-right: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-left span {\n margin: 13px 0 0;\n}\n.wmde-markdown span.float-right {\n display: block;\n float: right;\n margin-left: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-right > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown code,\n.wmde-markdown tt {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 85%;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n}\n.wmde-markdown code br,\n.wmde-markdown tt br {\n display: none;\n}\n.wmde-markdown del code {\n text-decoration: inherit;\n}\n.wmde-markdown pre code {\n font-size: 100%;\n}\n.wmde-markdown pre > code {\n padding: 0;\n margin: 0;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n}\n.wmde-markdown pre {\n font-size: 85%;\n line-height: 1.45;\n background-color: var(--color-canvas-subtle);\n border-radius: 6px;\n}\n.wmde-markdown pre code,\n.wmde-markdown pre tt {\n display: inline;\n max-width: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n}\n.wmde-markdown pre > code {\n padding: 16px;\n overflow: auto;\n display: block;\n}\n.wmde-markdown .csv-data td,\n.wmde-markdown .csv-data th {\n padding: 5px;\n overflow: hidden;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n white-space: nowrap;\n}\n.wmde-markdown .csv-data .blob-num {\n padding: 10px 8px 9px;\n text-align: right;\n background: var(--color-canvas-default);\n border: 0;\n}\n.wmde-markdown .csv-data tr {\n border-top: 0;\n}\n.wmde-markdown .csv-data th {\n font-weight: 600;\n background: var(--color-canvas-subtle);\n border-top: 0;\n}\n.wmde-markdown .footnotes {\n font-size: 12px;\n color: var(--color-fg-muted);\n border-top: 1px solid var(--color-border-default);\n}\n.wmde-markdown .footnotes ol {\n padding-left: 16px;\n}\n.wmde-markdown .footnotes li {\n position: relative;\n}\n.wmde-markdown .footnotes li:target::before {\n position: absolute;\n top: -8px;\n right: -8px;\n bottom: -8px;\n left: -24px;\n pointer-events: none;\n content: '';\n border: 2px solid var(--color-accent-emphasis);\n border-radius: 6px;\n}\n.wmde-markdown .footnotes li:target {\n color: var(--color-fg-default);\n}\n.wmde-markdown .footnotes .data-footnote-backref g-emoji {\n font-family: monospace;\n}\n.wmde-markdown .task-list-item {\n list-style-type: none;\n}\n.wmde-markdown .task-list-item label {\n font-weight: 400;\n}\n.wmde-markdown .task-list-item.enabled label {\n cursor: pointer;\n}\n.wmde-markdown .task-list-item + .wmde-markdown .task-list-item {\n margin-top: 3px;\n}\n.wmde-markdown .task-list-item .handle {\n display: none;\n}\n.wmde-markdown .task-list-item-checkbox,\n.wmde-markdown .contains-task-list input[type='checkbox'] {\n margin: 0 0.2em 0.25em -1.6em;\n vertical-align: middle;\n}\n.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,\n.wmde-markdown .contains-task-list:dir(rtl) input[type='checkbox'] {\n margin: 0 -1.6em 0.25em 0.2em;\n}\n.wmde-markdown ::-webkit-calendar-picker-indicator {\n -webkit-filter: invert(50%);\n filter: invert(50%);\n}\n.wmde-markdown pre {\n position: relative;\n}\n.wmde-markdown pre .copied {\n visibility: hidden;\n display: flex;\n position: absolute;\n cursor: pointer;\n color: var(--color-fg-defaul);\n top: 6px;\n right: 6px;\n border-radius: 5px;\n background: var(--color-border-default);\n padding: 6px;\n font-size: 12px;\n transition: all 0.3s;\n}\n.wmde-markdown pre .copied .octicon-copy {\n display: block;\n}\n.wmde-markdown pre .copied .octicon-check {\n display: none;\n}\n.wmde-markdown pre:hover .copied {\n visibility: visible;\n}\n.wmde-markdown pre:hover .copied:hover {\n background: var(--color-prettylights-syntax-entity-tag);\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre:hover .copied:active,\n.wmde-markdown pre .copied.active {\n background: #2e9b33;\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre .active .octicon-copy {\n display: none;\n}\n.wmde-markdown pre .active .octicon-check {\n display: block;\n}\n.highlight-line {\n background-color: var(--color-neutral-muted);\n}\n.code-line.line-number::before {\n display: inline-block;\n width: 1rem;\n text-align: right;\n margin-right: 16px;\n color: var(--color-fg-subtle);\n content: attr(line);\n white-space: nowrap;\n}\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n color: var(--color-prettylights-syntax-comment);\n}\n.token.namespace {\n opacity: 0.7;\n}\n.token.property,\n.token.tag,\n.token.selector,\n.token.constant,\n.token.symbol,\n.token.deleted {\n color: var(--color-prettylights-syntax-entity-tag);\n}\n.token.maybe-class-name {\n color: var(--color-prettylights-syntax-variable);\n}\n.token.property-access,\n.token.operator,\n.token.boolean,\n.token.number,\n.token.selector .token.class,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.builtin {\n color: var(--color-prettylights-syntax-constant);\n}\n.token.deleted {\n color: var(--color-prettylights-syntax-markup-deleted-text);\n}\n.code-line .token.deleted {\n background-color: var(--color-prettylights-syntax-markup-deleted-bg);\n}\n.token.inserted {\n color: var(--color-prettylights-syntax-markup-inserted-text);\n}\n.code-line .token.inserted {\n background-color: var(--color-prettylights-syntax-markup-inserted-bg);\n}\n.token.variable {\n color: var(--color-prettylights-syntax-constant);\n}\n.token.entity,\n.token.url,\n.language-css .token.string,\n.style .token.string {\n color: var(--color-prettylights-syntax-string);\n}\n.token.color,\n.token.atrule,\n.token.attr-value,\n.token.function,\n.token.class-name {\n color: var(--color-prettylights-syntax-string);\n}\n.token.rule,\n.token.regex,\n.token.important,\n.token.keyword {\n color: var(--color-prettylights-syntax-keyword);\n}\n.token.coord {\n color: var(--color-prettylights-syntax-meta-diff-range);\n}\n.token.important,\n.token.bold {\n font-weight: bold;\n}\n.token.italic {\n font-style: italic;\n}\n.token.entity {\n cursor: help;\n}\n","svg.w-heatmap rect:hover {\n stroke: var(--rhm-rect-hover-stroke, rgba(0, 0, 0, 0.14));\n stroke-width: 1px;\n}\nsvg.w-heatmap rect:active {\n fill: #196127;\n fill: var(--rhm-rect-active, #196127);\n stroke-width: 0;\n}\n",".w-overlay {\n position: fixed;\n overflow: auto;\n top: 0;\n right: 0;\n left: 0;\n outline: 0;\n bottom: 0;\n z-index: 999;\n -webkit-overflow-scrolling: touch;\n text-align: center;\n height: 100%;\n width: 100%;\n display: none;\n}\n.w-overlay.open {\n z-index: 9999;\n}\n.w-overlay-open {\n overflow: hidden;\n}\n.w-overlay-content {\n position: relative;\n outline: 0;\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n margin: 20px 0;\n z-index: 20;\n}\n.w-overlay-inline {\n position: absolute;\n overflow: initial;\n}\n.w-overlay-inline .w-overlay-container {\n position: relative;\n}\n.w-overlay-inline .w-overlay-backdrop {\n position: absolute;\n}\n.w-overlay-container {\n position: absolute;\n overflow: auto;\n z-index: 99999;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.w-overlay-container:before {\n content: ' ';\n display: inline-block;\n height: 100%;\n width: 1px;\n vertical-align: middle;\n}\n.w-overlay-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 1;\n z-index: 20;\n background-color: rgba(16, 22, 26, 0.7);\n overflow: auto;\n -webkit-user-select: none;\n user-select: none;\n}\n.w-overlay-enter .w-overlay-backdrop {\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-backdrop {\n opacity: 1;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-exit .w-overlay-backdrop {\n opacity: 1;\n}\n.w-overlay-exit-active .w-overlay-backdrop {\n opacity: 0;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-enter .w-overlay-content {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-content {\n opacity: 1;\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: opacity 300ms ease, -webkit-transform 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease, -webkit-transform 300ms ease;\n}\n.w-overlay-exit .w-overlay-content {\n opacity: 1;\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: opacity 300ms ease, -webkit-transform 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease, -webkit-transform 300ms ease;\n}\n.w-overlay-exit-active .w-overlay-content {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter,\n.w-overlay-enter-done,\n.w-overlay-exit {\n display: inherit;\n}\n",".w-overlay.w-overlay-trigger {\n position: absolute;\n top: auto;\n left: auto;\n right: auto;\n bottom: auto;\n overflow: inherit;\n width: initial;\n height: initial;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container {\n position: relative;\n overflow: inherit;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container::before {\n display: none;\n}\n.w-overlay.w-overlay-trigger .w-overlay-content {\n margin: 0;\n}\n.w-overlay.w-overlay-trigger.rightTop .w-overlay-content {\n -webkit-transform-origin: left top;\n transform-origin: left top;\n}\n.w-overlay.w-overlay-trigger.right .w-overlay-content {\n -webkit-transform-origin: left center;\n transform-origin: left center;\n}\n.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content {\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n}\n.w-overlay.w-overlay-trigger.topLeft .w-overlay-content {\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n.w-overlay.w-overlay-trigger.top .w-overlay-content {\n -webkit-transform-origin: bottom center;\n transform-origin: bottom center;\n}\n.w-overlay.w-overlay-trigger.topRight .w-overlay-content {\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n.w-overlay.w-overlay-trigger.leftTop .w-overlay-content {\n -webkit-transform-origin: right top;\n transform-origin: right top;\n}\n.w-overlay.w-overlay-trigger.left .w-overlay-content {\n -webkit-transform-origin: right center;\n transform-origin: right center;\n}\n.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content {\n -webkit-transform-origin: right bottom;\n transform-origin: right bottom;\n}\n.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content {\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n.w-overlay.w-overlay-trigger.bottom .w-overlay-content {\n -webkit-transform-origin: top center;\n transform-origin: top center;\n}\n.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content {\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n.w-overlay-trigger-disabled {\n cursor: not-allowed;\n}\n",".w-tooltip {\n position: relative;\n display: inline-block;\n}\n.w-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.w-tooltip-inner {\n font-size: 12px;\n max-width: 250px;\n padding: 5px 10px;\n display: block;\n color: #fff;\n text-align: left;\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.75);\n border-radius: 4px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);\n word-break: break-all;\n}\n.w-tooltip.right .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n border-right-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 5px 0;\n left: 0;\n margin-top: -5px;\n top: 50%;\n}\n.w-tooltip.left .w-tooltip-arrow,\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.leftBottom .w-tooltip-arrow {\n border-left-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 0 5px 5px;\n margin-top: -5px;\n right: 0;\n top: 50%;\n}\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow {\n top: 15px;\n}\n.w-tooltip.leftBottom .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n bottom: 10px;\n top: auto;\n}\n.w-tooltip.top .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n border-top-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 0;\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n}\n.w-tooltip.bottom .w-tooltip-arrow,\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.bottomRight .w-tooltip-arrow {\n border-bottom-color: rgba(0, 0, 0, 0.75);\n border-width: 0 5px 5px;\n left: 50%;\n margin-left: -5px;\n top: 0;\n}\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow {\n left: 15px;\n}\n.w-tooltip.bottomRight .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n right: 10px;\n left: auto;\n}\n.w-tooltip.bottom,\n.w-tooltip.bottomLeft,\n.w-tooltip.bottomRight {\n padding-top: 5px;\n}\n.w-tooltip.top,\n.w-tooltip.topLeft,\n.w-tooltip.topRight {\n padding-bottom: 5px;\n}\n.w-tooltip.right,\n.w-tooltip.rightTop,\n.w-tooltip.rightBottom {\n padding-left: 5px;\n}\n.w-tooltip.left,\n.w-tooltip.leftTop,\n.w-tooltip.leftBottom {\n padding-right: 5px;\n}\n.w-tooltip.no-arrow {\n padding: 0 !important;\n}\n","html {\n background-color: #282c34;\n font-family: Alliance no\\.1, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,\n Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;\n}\n\n.header {\n background-color: #282c34;\n min-height: calc(100vh - 80px);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding-bottom: 30px;\n color: white;\n}\n\n.logo {\n max-width: 210px;\n}\n\n.info {\n font-size: 21px;\n max-width: 520px;\n text-align: center;\n}\n\n.app {\n padding-bottom: 70px;\n}\n\n.content {\n max-width: 950px;\n margin: 0 auto;\n padding-top: 125px;\n > pre {\n overflow-x: initial;\n }\n}\n\n.example {\n background-color: #fff;\n border-radius: 5px;\n box-shadow: 0 0 0 1px rgb(16 22 26 / 10%), 0 0 0 rgb(16 22 26 / 0%), 0 1px 1px rgb(16 22 26 / 20%);\n margin: 0 auto;\n margin-top: 70px;\n svg {\n border-radius: 5px;\n }\n}\n\n.tools {\n user-select: none;\n font-size: 12px;\n margin-top: 10px !important;\n padding: 10px;\n padding-left: 0px;\n border-radius: 5px;\n label {\n display: flex;\n align-items: center;\n input {\n margin-right: 5px;\n margin-left: 10px;\n }\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/main.76c15fd4.css.map b/static/css/main.76c15fd4.css.map deleted file mode 100644 index ebcbd53b..00000000 --- a/static/css/main.76c15fd4.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.76c15fd4.css","mappings":"AASA,gLAiCE,QAAS,CACT,SACF,CAEA,kBAME,cAAe,CACf,eACF,CAEA,GACE,eACF,CAEA,6BAIE,QACF,CAEA,KACE,qBACF,CACA,iBAGE,kBACF,CAEA,0BAIE,WAAY,CACZ,cACF,CACA,MACE,cACF,CAEA,OACE,QACF,CAEA,MACE,wBAAyB,CACzB,gBACF,CACA,MAEE,SAAU,CACV,eACF,CCnGA,mGACE,6BAA8B,CAC9B,4BACF,CACA,gGACE,6BAA8B,CAC9B,4BACF,CAEA,mBACE,0CACF,CACA,mCACE,8CACF,CACA,+CACE,+CACF,CAEA,QAEE,2CAA4C,CAD5C,iBAEF,CACA,iCACE,yBACF,CACA,sBACE,QAAS,CAET,eAAgB,CADhB,SAEF,CACA,aAEE,WAAY,CACZ,aAAc,CAFd,8CAGF,CACA,eAEE,kBAAoB,CADpB,mBAEF,CACA,qCACE,qBACF,CACA,gBAEE,6TADA,oBAEF,CACA,6BACE,YACF,CACA,4BAEE,kBAAmB,CADnB,YAEF,CACA,2BAEE,aAAc,CACd,WAAY,CAFZ,WAAa,CAGb,sBACF,CACA,iCACE,SACF,CACA,uBAGE,4BAA6B,CAI7B,QAAS,CACT,qBAAsB,CAPtB,kBAAmB,CAQnB,cAAe,CALf,oBAAqB,CACrB,cAAe,CAKf,YAAa,CAJb,eAAgB,CAJhB,iBAAkB,CASlB,qCACF,CACA,gBACE,YAAa,CACb,6BAA8B,CAE9B,uBACF,CCjFA,mCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CA1C1B,iBA2CF,CACF,CACA,oCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CA1C1B,kBA2CF,CACF,CACA,8LAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CA1C1B,iBA2CF,CACA,mMAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CA1C1B,kBA2CF,CACA,eACE,6BAA8B,CAI9B,oBAAqB,CAErB,4CAA6C,CAD7C,6BAA8B,CAJ9B,8FAA2G,CAC3G,cAAe,CACf,eAIF,CACA,uEAGE,aACF,CACA,uBACE,iBACF,CACA,wBACE,sBACF,CACA,iBACE,4BAA6B,CAC7B,4BAA6B,CAC7B,oBACF,CACA,+CAEE,eACF,CACA,2BACE,kBAAmB,CACnB,wCAAyC,CACjC,gCACV,CACA,uCAEE,eACF,CACA,mBACE,iBACF,CACA,kBAKE,iDAAkD,CADlD,aAAc,CAFd,eAAgB,CADhB,cAAgB,CAEhB,mBAGF,CACA,oBACE,8CAA+C,CAC/C,+BACF,CACA,qBACE,aACF,CACA,sCAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CACA,mBACE,aACF,CACA,mBACE,SACF,CACA,mBAKE,4CAA6C,CAH7C,iBAAkB,CAElB,sBAAuB,CAHvB,oBAAqB,CAErB,cAGF,CACA,8EAIE,+BAAiC,CACjC,aACF,CACA,sBACE,eACF,CACA,kBAGE,sBAAuB,CAMvB,4CAA6C,CAL7C,QAAS,CACT,iDAAkD,CAJlD,sBAAuB,CAKvB,YAAc,CAEd,aAAc,CANd,eAAgB,CAKhB,SAGF,CACA,qBACE,YAAa,CAGb,mBAAoB,CACpB,iBAAkB,CAClB,mBAAoB,CAJpB,QAAS,CACT,gBAIF,CACA,sFAGE,yBACF,CACA,4IAGE,iBAAkB,CAClB,SACF,CACA,mIAGE,6BACF,CACA,2DAEE,qBAAsB,CACtB,SACF,CACA,gHAEE,WACF,CACA,6BACE,4BAA6B,CAC7B,mBACF,CACA,mHAEE,uBACF,CACA,2CACE,aAAc,CACd,WACF,CACA,4CACE,yBAA0B,CAC1B,YACF,CACA,uBACE,yBACF,CAKA,iDAFE,UAAW,CADX,aAOF,CAJA,wBAEE,UAEF,CACA,qBAEE,wBAAyB,CADzB,gBAAiB,CAEjB,aAAc,CAGd,cAAe,CADf,sBAAkB,CAAlB,iBAEF,CAmCA,oCAEE,SACF,CACA,+BACE,cACF,CACA,iDACE,sBACF,CACA,mBAOE,2CAA4C,CAC5C,8CAA4C,CAC5C,2CAA+C,CAC/C,iBAAkB,CAClB,oDAAqD,CANrD,6BAA8B,CAJ9B,oBAAqB,CAErB,sFAA6F,CAC7F,gBAAiB,CAFjB,eAAgB,CAIhB,qBAMF,CACA,4GAQE,eAAgB,CAChB,gBAAiB,CAFjB,kBAAmB,CADnB,eAIF,CACA,kBAIE,iDAAkD,CADlD,eAAgB,CAFhB,eAAgB,CAChB,mBAGF,CACA,kBAEE,gBAAiB,CADjB,eAEF,CACA,kBAEE,aAAc,CADd,eAEF,CACA,kBAEE,gBAAkB,CADlB,eAEF,CACA,kBAGE,2BAA4B,CAD5B,eAAiB,CADjB,eAGF,CACA,iBAEE,kBAAmB,CADnB,YAEF,CACA,0BAIE,mDAAqD,CADrD,2BAA4B,CAF5B,QAAS,CACT,aAGF,CACA,oCAGE,eAAgB,CADhB,YAAa,CAEb,gBACF,CACA,0CAEE,2BACF,CACA,gGAIE,2BACF,CACA,kBACE,aACF,CAMA,yDAHE,wFAA+F,CAC/F,cAQF,CANA,mBAKE,gBAAiB,CAHjB,eAAgB,CADhB,YAKF,CACA,wBAIE,iBAAkB,CAHlB,oBAAqB,CACrB,0BAA4B,CAC5B,0BAEF,CAKA,kCACE,4BAA6B,CAC7B,SACF,CAHA,6BACE,4BAA6B,CAC7B,SACF,CACA,gGAGE,uBAAwB,CACxB,eAAgB,CAFhB,QAGF,CACA,+BACE,aACF,CAKA,2CAFE,UAAW,CADX,aAOF,CAJA,qBAEE,UAEF,CACA,4BACE,sBACF,CACA,2BACE,yBACF,CACA,6BACE,aAAc,CACd,oBACF,CACA,uBACE,4BACF,CACA,wBACE,UAAW,CAGX,aAAc,CADd,iBAAkB,CADlB,iBAGF,CACA,6BACE,YACF,CACA,gKASE,kBAAmB,CADnB,YAEF,CACA,uCACE,YACF,CACA,sCACE,eACF,CACA,4BACE,WACF,CACA,2BACE,WACF,CACA,gMAME,6BAA8B,CAC9B,qBAAsB,CACtB,iBACF,CACA,gMAME,oBACF,CACA,oRAME,kBACF,CACA,wQAaE,iBAAkB,CADlB,cAEF,CACA,oDAGE,oBAAqB,CADrB,SAEF,CACA,4BACE,uBACF,CACA,0BACE,2BACF,CACA,0BACE,2BACF,CACA,kCACE,uBACF,CACA,oFAKE,eAAgB,CADhB,YAEF,CACA,oBACE,eACF,CACA,qBACE,gBACF,CACA,kBACE,SACF,CACA,qBAGE,aAAc,CACd,iBAAkB,CAClB,eAAgB,CAHhB,eAAgB,CADhB,SAKF,CACA,qBAEE,kBAAmB,CADnB,cAEF,CACA,wBACE,eACF,CACA,gDAGE,4CAA6C,CAD7C,gBAEF,CACA,wBACE,4CAA6C,CAC7C,8CACF,CACA,sCACE,2CACF,CACA,yBACE,4BACF,CACA,gCACE,iBACF,CACA,+BACE,kBACF,CACA,sBAGE,4BAA6B,CAF7B,cAAe,CACf,uBAEF,CACA,0BACE,aAAc,CACd,eACF,CACA,+BAOE,4CAA6C,CAN7C,aAAc,CACd,UAAW,CAGX,eAAgB,CAChB,eAAgB,CAFhB,WAAY,CADZ,UAKF,CACA,mCACE,aAAc,CACd,UACF,CACA,oCAGE,UAAW,CACX,6BAA8B,CAH9B,aAAc,CACd,eAGF,CACA,iCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,sCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,iBACF,CACA,0CACE,aAAc,CACd,iBACF,CACA,gCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,qCACE,aAAc,CACd,eAAgB,CAChB,eAAgB,CAChB,gBACF,CACA,yCACE,QAAS,CACT,gBACF,CACA,+BACE,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,eACF,CACA,oCACE,eACF,CACA,gCACE,aAAc,CACd,WAAY,CACZ,gBAAiB,CACjB,eACF,CACA,qCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,gBACF,CACA,sCAKE,2CAA4C,CAC5C,iBAAkB,CAFlB,aAAc,CADd,QAAS,CADT,iBAKF,CACA,4CAEE,YACF,CACA,wBACE,uBACF,CACA,wBACE,cACF,CACA,wBAKE,sBAAuB,CACvB,QAAS,CAJT,QAAS,CADT,SAAU,CAGV,eAAgB,CADhB,iBAIF,CACA,mBAGE,2CAA4C,CAC5C,iBAAkB,CAHlB,aAAc,CACd,gBAGF,CACA,8CAQE,gBAAiB,CACjB,4BAA6B,CAC7B,QAAS,CART,cAAe,CAKf,mBAAoB,CAFpB,QAAS,CAFT,cAAe,CAGf,gBAAiB,CAFjB,SAOF,CACA,wBAGE,aAAc,CADd,aAAc,CADd,YAGF,CACA,wDAIE,cAAe,CACf,aAAc,CAFd,eAAgB,CADhB,WAAY,CAIZ,eAAgB,CAChB,kBACF,CACA,mCAGE,sCAAuC,CACvC,QAAS,CAHT,oBAAqB,CACrB,gBAGF,CACA,4BACE,YACF,CACA,4BAEE,qCAAsC,CACtC,YAAa,CAFb,eAGF,CACA,0BAGE,gDAAiD,CADjD,2BAA4B,CAD5B,cAGF,CACA,6BACE,iBACF,CACA,6BACE,iBACF,CACA,2CAQE,6CAA8C,CAC9C,iBAAkB,CALlB,WAAY,CAGZ,UAAW,CAFX,UAAW,CACX,mBAAoB,CALpB,iBAAkB,CAElB,UAAW,CADX,QAQF,CACA,oCACE,6BACF,CACA,yDACE,qBACF,CACA,+BACE,oBACF,CACA,qCACE,eACF,CACA,6CACE,cACF,CACA,8DACE,cACF,CACA,uCACE,YACF,CACA,gGAEE,0BAA6B,CAC7B,qBACF,CACA,sIAEE,0BACF,CACA,mDAEU,kBACV,CACA,mBACE,iBACF,CACA,2BASE,sCAAuC,CADvC,iBAAkB,CAHlB,4BAA6B,CAD7B,cAAe,CAFf,YAAa,CASb,cAAe,CADf,WAAY,CAPZ,iBAAkB,CAIlB,SAAU,CADV,OAAQ,CAMR,kBAAoB,CAXpB,iBAYF,CACA,yCACE,aACF,CACA,0CACE,YACF,CACA,iCACE,kBACF,CACA,uCACE,sDAAuD,CACvD,iCACF,CACA,0EAEE,kBAAmB,CACnB,iCACF,CACA,yCACE,YACF,CACA,0CACE,aACF,CACA,gBACE,2CACF,CACA,8BAKE,4BAA6B,CAC7B,kBAAmB,CALnB,oBAAqB,CAGrB,iBAAkB,CADlB,gBAAiB,CAIjB,kBAAmB,CALnB,UAMF,CACA,yDAIE,8CACF,CACA,iBACE,UACF,CACA,wFAME,iDACF,CACA,wBACE,+CACF,CACA,2JASE,+CACF,CACA,eACE,0DACF,CACA,0BACE,mEACF,CACA,gBACE,2DACF,CACA,2BACE,oEACF,CACA,gBACE,+CACF,CAOA,yJAKE,6CACF,CACA,yDAIE,8CACF,CACA,aACE,sDACF,CACA,6BAEE,eACF,CACA,cACE,iBACF,CACA,cACE,WACF,CCt/BA,cACE,aAAc,CAGd,aAAc,CACd,cAAe,CAHf,wBAAyB,CACjB,qBAAiB,CAAjB,gBAGV,CACA,mBAEE,cAAe,CADf,aAEF,CACA,yBACE,sBAA2B,CAC3B,gBACF,CACA,0BACE,YAAa,CACb,cACF,CACA,mBACE,kBAAmB,CAEnB,iBAAkB,CADlB,iBAEF,CCvBA,WASE,gCAAiC,CAFjC,QAAS,CAMT,YAAa,CAFb,WAAY,CANZ,MAAO,CACP,SAAU,CAJV,aAAc,CADd,cAAe,CAGf,OAAQ,CAMR,iBAAkB,CAPlB,KAAM,CASN,UAAW,CAJX,WAMF,CACA,gBACE,YACF,CACA,gBACE,eACF,CACA,mBAGE,oBAAqB,CAGrB,aAAc,CAJd,SAAU,CADV,iBAAkB,CAIlB,eAAgB,CADhB,qBAAsB,CAGtB,UACF,CACA,kBAEE,gBAAiB,CAAjB,gBAAiB,CADjB,iBAEF,CACA,uCACE,iBACF,CACA,sCACE,iBACF,CACA,qBAOE,QAAS,CAFT,MAAO,CAHP,aAAc,CADd,iBAAkB,CAKlB,OAAQ,CAFR,KAAM,CADN,aAKF,CACA,4BACE,WAAY,CACZ,oBAAqB,CACrB,WAAY,CAEZ,qBAAsB,CADtB,SAEF,CACA,oBAQE,kCAAuC,CAJvC,QAAS,CACT,MAAO,CACP,SAAU,CAGV,aAAc,CARd,cAAe,CAEf,OAAQ,CADR,KAAM,CAQN,wBAAyB,CACjB,qBAAiB,CAAjB,gBAAiB,CAJzB,UAKF,CACA,qCACE,SACF,CACA,4CACE,SAAU,CACV,8BACF,CACA,oCACE,SACF,CACA,2CACE,SAAU,CACV,8BACF,CACA,oCAGE,SAAU,CADF,mBAEV,CASA,8EACE,SAAU,CAEF,sBAAuB,CAE/B,8CAEF,CACA,0CAGE,SAAU,CADF,mBAEV,CACA,uDAGE,eACF,CCjHA,6BAKE,WAAY,CAGZ,WAAe,CALf,SAAU,CAGV,gBAAiB,CALjB,iBAAkB,CAGlB,UAAW,CAFX,QAAS,CAKT,UAEF,CACA,kDAEE,gBAAiB,CADjB,iBAEF,CACA,yDACE,YACF,CACA,gDACE,QACF,CACA,yDAEU,yBACV,CACA,sDAEU,4BACV,CACA,4DAEU,4BACV,CACA,wDAEU,4BACV,CACA,oDAEU,8BACV,CACA,yDAEU,6BACV,CACA,wDAEU,0BACV,CACA,qDAEU,6BACV,CACA,2DAEU,6BACV,CACA,2DAEU,yBACV,CACA,uDAEU,2BACV,CACA,4DAEU,0BACV,CACA,4BACE,kBACF,CCtEA,WAEE,oBAAqB,CADrB,iBAEF,CACA,iBAIE,wBAAyB,CACzB,kBAAmB,CAFnB,QAAS,CAFT,iBAAkB,CAClB,OAIF,CACA,iBAQE,gCAAqC,CACrC,iBAAkB,CAClB,mCAAwC,CALxC,UAAW,CADX,aAAc,CAHd,cAAe,CACf,eAAgB,CAChB,gBAAiB,CAGjB,eAAgB,CAChB,oBAAqB,CAIrB,oBACF,CACA,+GAGE,kCAAuC,CACvC,0BAA2B,CAC3B,MAAO,CACP,eAAgB,CAChB,OACF,CACA,4GAGE,iCAAsC,CACtC,0BAA2B,CAC3B,eAAgB,CAChB,OAAQ,CACR,OACF,CACA,yEAEE,QACF,CACA,+EAEE,WAAY,CACZ,QACF,CACA,yGAGE,gCAAqC,CACrC,sBAAuB,CACvB,QAAS,CACT,QAAS,CACT,gBACF,CACA,kHAGE,mCAAwC,CACxC,sBAAuB,CACvB,QAAS,CACT,gBAAiB,CACjB,KACF,CACA,2EAEE,SACF,CACA,6EAGE,SAAU,CADV,UAEF,CACA,+DAGE,eACF,CACA,sDAGE,kBACF,CACA,4DAGE,gBACF,CACA,yDAGE,iBACF,CACA,oBACE,mBACF,CCpGA,KAEE,gJACF,CAGA,wBALE,wBAYF,CAPA,mBAKE,kBAAmB,CAGnB,UAAY,CALZ,YAAa,CACb,qBAAsB,CAEtB,sBAAuB,CAJvB,6BAA8B,CAK9B,mBAAF,CAIA,iBACE,eAFF,CAKA,iBACE,cAAe,CACf,eAAgB,CAChB,iBAHF,CAMA,gBACE,mBAJF,CAOA,oBAEE,aAAc,CADd,eAAgB,CAEhB,iBALF,CAEA,wBAKI,qCAJJ,CAQA,oBACE,qBAAsB,CACtB,iBAAkB,CAClB,0FAEA,kBANF,CACA,wBAOI,iBALJ,CASA,kBAME,iBAAkB,CAJlB,cAAe,CACf,yBAA2B,CAE3B,wBAAiB,CAJjB,yCAFF,CACA,wBASI,kBAAmB,CADnB,YALJ,CAHA,8BAYM,gBAAiB,CADjB,gBAJN","sources":["../../node_modules/@uiw/reset.css/reset.css","../../node_modules/react-code-preview-layout/esm/styles.css","../../node_modules/@uiw/react-markdown-preview/esm/styles/markdown.css","../../core/esm/style/index.css","../../node_modules/@uiw/react-overlay/esm/style/index.css","../../node_modules/@uiw/react-overlay-trigger/esm/style/index.css","../../node_modules/@uiw/react-tooltip/esm/style/index.css","App.module.less"],"sourcesContent":["/**! \n * @uiw/reset.css v1.0.6 \n * A tiny modern CSS reset. \n * \n * Copyright (c) 2022 \n * https://github.com/uiwjs/reset-css \n * Licensed under the MIT license \n */\n\nhtml,\nbody,\np,\nol,\nul,\nli,\ndl,\ndt,\ndd,\nblockquote,\nfigure,\nfieldset,\nlegend,\ntextarea,\npre,\niframe,\nhr,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\narticle,\naside,\ndetails,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n margin: 0;\n padding: 0;\n}\n/* Headings */\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: 100%;\n font-weight: normal;\n}\n/* List */\nul {\n list-style: none;\n}\n/* Form */\nbutton,\ninput,\nselect,\ntextarea {\n margin: 0;\n}\n/* Box sizing */\nhtml {\n box-sizing: border-box;\n}\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n/* Media */\nembed,\niframe,\nobject,\nvideo {\n height: auto;\n max-width: 100%;\n}\naudio {\n max-width: 100%;\n}\n/* Iframe */\niframe {\n border: 0;\n}\n/* Table */\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n text-align: left;\n}\n\n",".code-preview-layout[data-color-mode*='light'], [data-color-mode*='light'], body[data-color-mode*='light'] {\n --color-canvas-subtle: #f6f8fa;\n --color-border-muted: hsl(210, 18%, 87%);\n}\n.code-preview-layout[data-color-mode*='dark'], [data-color-mode*='dark'], body[data-color-mode*='dark'] {\n --color-canvas-subtle: #161b22;\n --color-border-muted: #21262d;\n}\n\n.w-rcpl.w-bordered {\n border: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-toolbar {\n border-top: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-code:not(.w-hidden) {\n border-top: 1px dashed var(--color-border-muted);\n}\n\n.w-rcpl {\n border-radius: 5px;\n background-color: var(--color-canvas-subtle);\n}\n.w-rcpl-preview:not(:last-child) {\n border-radius: 5px 5px 0 0;\n}\n.w-rcpl-code.w-hidden {\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.w-rcpl-code {\n transition: height cubic-bezier(0.360, 0.000, 0.660, -0.560);;\n height: auto;\n overflow: auto;\n}\n.w-rcpl-code > * {\n padding: 0 !important;\n margin: 0 !important;\n}\n.w-disable-checkered > .w-rcpl-preview {\n background-image: none;\n}\n.w-rcpl-preview {\n white-space: pre-wrap;\n background: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E\")\n}\n.w-rcpl-preview, .w-rcpl-code {\n padding: 15px;\n}\n.w-rcpl-extra, .w-rcpl-title {\n display: flex;\n align-items: center;\n}\n.w-rcpl-toolbar button svg {\n opacity: 0.37;\n display: block;\n height: 18px;\n transition: opacity 0.3s;\n}\n.w-rcpl-toolbar button svg:hover {\n opacity: 1;\n}\n.w-rcpl-toolbar button {\n color: currentColor;\n position: relative;\n background-color: transparent;\n display: inline-block;\n height: inherit;\n padding: 3px 4px;\n border: 0;\n box-sizing: border-box;\n cursor: pointer;\n outline: none;\n transition: opacity .2s, background .2s;\n}\n.w-rcpl-toolbar {\n display: flex;\n justify-content: space-between;\n padding: 5px 5px;\n padding-left: 8px;\n}","@media (prefers-color-scheme: dark) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n }\n}\n@media (prefers-color-scheme: light) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n }\n}\n[data-color-mode*='dark'] .wmde-markdown,\n[data-color-mode*='dark'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='dark'],\n.wmde-markdown[data-color-mode*='dark'],\nbody[data-color-mode*='dark'] {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n}\n[data-color-mode*='light'] .wmde-markdown,\n[data-color-mode*='light'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='light'],\n.wmde-markdown[data-color-mode*='light'],\nbody[data-color-mode*='light'] {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n}\n.wmde-markdown {\n -webkit-text-size-adjust: 100%;\n font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n font-size: 16px;\n line-height: 1.5;\n word-wrap: break-word;\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown details,\n.wmde-markdown figcaption,\n.wmde-markdown figure {\n display: block;\n}\n.wmde-markdown summary {\n display: list-item;\n}\n.wmde-markdown [hidden] {\n display: none !important;\n}\n.wmde-markdown a {\n background-color: transparent;\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n.wmde-markdown a:active,\n.wmde-markdown a:hover {\n outline-width: 0;\n}\n.wmde-markdown abbr[title] {\n border-bottom: none;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n.wmde-markdown b,\n.wmde-markdown strong {\n font-weight: 600;\n}\n.wmde-markdown dfn {\n font-style: italic;\n}\n.wmde-markdown h1 {\n margin: 0.67em 0;\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 2em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown mark {\n background-color: var(--color-attention-subtle);\n color: var(--color-text-primary);\n}\n.wmde-markdown small {\n font-size: 90%;\n}\n.wmde-markdown sub,\n.wmde-markdown sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n.wmde-markdown sub {\n bottom: -0.25em;\n}\n.wmde-markdown sup {\n top: -0.5em;\n}\n.wmde-markdown img {\n display: inline-block;\n border-style: none;\n max-width: 100%;\n box-sizing: content-box;\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown code,\n.wmde-markdown kbd,\n.wmde-markdown pre,\n.wmde-markdown samp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n.wmde-markdown figure {\n margin: 1em 40px;\n}\n.wmde-markdown hr {\n box-sizing: content-box;\n overflow: hidden;\n background: transparent;\n border: 0;\n border-bottom: 1px solid var(--color-border-muted);\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n}\n.wmde-markdown input {\n font: inherit;\n margin: 0;\n overflow: visible;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n.wmde-markdown [type='button'],\n.wmde-markdown [type='reset'],\n.wmde-markdown [type='submit'] {\n -webkit-appearance: button;\n}\n.wmde-markdown [type='button']::-moz-focus-inner,\n.wmde-markdown [type='reset']::-moz-focus-inner,\n.wmde-markdown [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n.wmde-markdown [type='button']:-moz-focusring,\n.wmde-markdown [type='reset']:-moz-focusring,\n.wmde-markdown [type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n.wmde-markdown [type='checkbox'],\n.wmde-markdown [type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n.wmde-markdown [type='number']::-webkit-inner-spin-button,\n.wmde-markdown [type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n.wmde-markdown [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n.wmde-markdown [type='search']::-webkit-search-cancel-button,\n.wmde-markdown [type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n.wmde-markdown ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n.wmde-markdown ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n.wmde-markdown a:hover {\n text-decoration: underline;\n}\n.wmde-markdown hr::before {\n display: table;\n content: '';\n}\n.wmde-markdown hr::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown table {\n border-spacing: 0;\n border-collapse: collapse;\n display: block;\n width: -webkit-max-content;\n width: max-content;\n max-width: 100%;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown h2 {\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 1.5em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown h3 {\n font-weight: 600;\n font-size: 1.25em;\n}\n.wmde-markdown h4 {\n font-weight: 600;\n font-size: 1em;\n}\n.wmde-markdown h5 {\n font-weight: 600;\n font-size: 0.875em;\n}\n.wmde-markdown h6 {\n font-weight: 600;\n font-size: 0.85em;\n color: var(--color-fg-muted);\n}\n.wmde-markdown p {\n margin-top: 0;\n margin-bottom: 10px;\n}\n.wmde-markdown blockquote {\n margin: 0;\n padding: 0 1em;\n color: var(--color-fg-muted);\n border-left: 0.25em solid var(--color-border-default);\n}\n.wmde-markdown ul,\n.wmde-markdown ol {\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 2em;\n}\n.wmde-markdown ol ol,\n.wmde-markdown ul ol {\n list-style-type: lower-roman;\n}\n.wmde-markdown ul ul ol,\n.wmde-markdown ul ol ol,\n.wmde-markdown ol ul ol,\n.wmde-markdown ol ol ol {\n list-style-type: lower-alpha;\n}\n.wmde-markdown dd {\n margin-left: 0;\n}\n.wmde-markdown tt,\n.wmde-markdown code {\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n}\n.wmde-markdown pre {\n margin-top: 0;\n margin-bottom: 0;\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n word-wrap: normal;\n}\n.wmde-markdown .octicon {\n display: inline-block;\n overflow: visible !important;\n vertical-align: text-bottom;\n fill: currentColor;\n}\n.wmde-markdown ::-webkit-input-placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.wmde-markdown ::placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.wmde-markdown input::-webkit-outer-spin-button,\n.wmde-markdown input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n appearance: none;\n}\n.wmde-markdown [data-catalyst] {\n display: block;\n}\n.wmde-markdown::before {\n display: table;\n content: '';\n}\n.wmde-markdown::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown > *:first-child {\n margin-top: 0 !important;\n}\n.wmde-markdown > *:last-child {\n margin-bottom: 0 !important;\n}\n.wmde-markdown a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n.wmde-markdown .absent {\n color: var(--color-danger-fg);\n}\n.wmde-markdown a.anchor {\n float: left;\n padding-right: 4px;\n margin-left: -20px;\n line-height: 1;\n}\n.wmde-markdown .anchor:focus {\n outline: none;\n}\n.wmde-markdown p,\n.wmde-markdown blockquote,\n.wmde-markdown ul,\n.wmde-markdown ol,\n.wmde-markdown dl,\n.wmde-markdown table,\n.wmde-markdown pre,\n.wmde-markdown details {\n margin-top: 0;\n margin-bottom: 16px;\n}\n.wmde-markdown blockquote > :first-child {\n margin-top: 0;\n}\n.wmde-markdown blockquote > :last-child {\n margin-bottom: 0;\n}\n.wmde-markdown sup > a::before {\n content: '[';\n}\n.wmde-markdown sup > a::after {\n content: ']';\n}\n.wmde-markdown h1 .octicon-link,\n.wmde-markdown h2 .octicon-link,\n.wmde-markdown h3 .octicon-link,\n.wmde-markdown h4 .octicon-link,\n.wmde-markdown h5 .octicon-link,\n.wmde-markdown h6 .octicon-link {\n color: var(--color-fg-default);\n vertical-align: middle;\n visibility: hidden;\n}\n.wmde-markdown h1:hover .anchor,\n.wmde-markdown h2:hover .anchor,\n.wmde-markdown h3:hover .anchor,\n.wmde-markdown h4:hover .anchor,\n.wmde-markdown h5:hover .anchor,\n.wmde-markdown h6:hover .anchor {\n text-decoration: none;\n}\n.wmde-markdown h1:hover .anchor .octicon-link,\n.wmde-markdown h2:hover .anchor .octicon-link,\n.wmde-markdown h3:hover .anchor .octicon-link,\n.wmde-markdown h4:hover .anchor .octicon-link,\n.wmde-markdown h5:hover .anchor .octicon-link,\n.wmde-markdown h6:hover .anchor .octicon-link {\n visibility: visible;\n}\n.wmde-markdown h1 tt,\n.wmde-markdown h1 code,\n.wmde-markdown h2 tt,\n.wmde-markdown h2 code,\n.wmde-markdown h3 tt,\n.wmde-markdown h3 code,\n.wmde-markdown h4 tt,\n.wmde-markdown h4 code,\n.wmde-markdown h5 tt,\n.wmde-markdown h5 code,\n.wmde-markdown h6 tt,\n.wmde-markdown h6 code {\n padding: 0 0.2em;\n font-size: inherit;\n}\n.wmde-markdown ul.no-list,\n.wmde-markdown ol.no-list {\n padding: 0;\n list-style-type: none;\n}\n.wmde-markdown ol[type='1'] {\n list-style-type: decimal;\n}\n.wmde-markdown ol[type='a'] {\n list-style-type: lower-alpha;\n}\n.wmde-markdown ol[type='i'] {\n list-style-type: lower-roman;\n}\n.wmde-markdown div > ol:not([type]) {\n list-style-type: decimal;\n}\n.wmde-markdown ul ul,\n.wmde-markdown ul ol,\n.wmde-markdown ol ol,\n.wmde-markdown ol ul {\n margin-top: 0;\n margin-bottom: 0;\n}\n.wmde-markdown li > p {\n margin-top: 16px;\n}\n.wmde-markdown li + li {\n margin-top: 0.25em;\n}\n.wmde-markdown dl {\n padding: 0;\n}\n.wmde-markdown dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: 600;\n}\n.wmde-markdown dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n.wmde-markdown table th {\n font-weight: 600;\n}\n.wmde-markdown table th,\n.wmde-markdown table td {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown table tr {\n background-color: var(--color-canvas-default);\n border-top: 1px solid var(--color-border-muted);\n}\n.wmde-markdown table tr:nth-child(2n) {\n background-color: var(--color-canvas-subtle);\n}\n.wmde-markdown table img {\n background-color: transparent;\n}\n.wmde-markdown img[align='right'] {\n padding-left: 20px;\n}\n.wmde-markdown img[align='left'] {\n padding-right: 20px;\n}\n.wmde-markdown .emoji {\n max-width: none;\n vertical-align: text-top;\n background-color: transparent;\n}\n.wmde-markdown span.frame {\n display: block;\n overflow: hidden;\n}\n.wmde-markdown span.frame > span {\n display: block;\n float: left;\n width: auto;\n padding: 7px;\n margin: 13px 0 0;\n overflow: hidden;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown span.frame span img {\n display: block;\n float: left;\n}\n.wmde-markdown span.frame span span {\n display: block;\n padding: 5px 0 0;\n clear: both;\n color: var(--color-fg-default);\n}\n.wmde-markdown span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-center > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: center;\n}\n.wmde-markdown span.align-center span img {\n margin: 0 auto;\n text-align: center;\n}\n.wmde-markdown span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-right > span {\n display: block;\n margin: 13px 0 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown span.align-right span img {\n margin: 0;\n text-align: right;\n}\n.wmde-markdown span.float-left {\n display: block;\n float: left;\n margin-right: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-left span {\n margin: 13px 0 0;\n}\n.wmde-markdown span.float-right {\n display: block;\n float: right;\n margin-left: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-right > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown code,\n.wmde-markdown tt {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 85%;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n}\n.wmde-markdown code br,\n.wmde-markdown tt br {\n display: none;\n}\n.wmde-markdown del code {\n text-decoration: inherit;\n}\n.wmde-markdown pre code {\n font-size: 100%;\n}\n.wmde-markdown pre > code {\n padding: 0;\n margin: 0;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n}\n.wmde-markdown pre {\n font-size: 85%;\n line-height: 1.45;\n background-color: var(--color-canvas-subtle);\n border-radius: 6px;\n}\n.wmde-markdown pre code,\n.wmde-markdown pre tt {\n display: inline;\n max-width: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n}\n.wmde-markdown pre > code {\n padding: 16px;\n overflow: auto;\n display: block;\n}\n.wmde-markdown .csv-data td,\n.wmde-markdown .csv-data th {\n padding: 5px;\n overflow: hidden;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n white-space: nowrap;\n}\n.wmde-markdown .csv-data .blob-num {\n padding: 10px 8px 9px;\n text-align: right;\n background: var(--color-canvas-default);\n border: 0;\n}\n.wmde-markdown .csv-data tr {\n border-top: 0;\n}\n.wmde-markdown .csv-data th {\n font-weight: 600;\n background: var(--color-canvas-subtle);\n border-top: 0;\n}\n.wmde-markdown .footnotes {\n font-size: 12px;\n color: var(--color-fg-muted);\n border-top: 1px solid var(--color-border-default);\n}\n.wmde-markdown .footnotes ol {\n padding-left: 16px;\n}\n.wmde-markdown .footnotes li {\n position: relative;\n}\n.wmde-markdown .footnotes li:target::before {\n position: absolute;\n top: -8px;\n right: -8px;\n bottom: -8px;\n left: -24px;\n pointer-events: none;\n content: '';\n border: 2px solid var(--color-accent-emphasis);\n border-radius: 6px;\n}\n.wmde-markdown .footnotes li:target {\n color: var(--color-fg-default);\n}\n.wmde-markdown .footnotes .data-footnote-backref g-emoji {\n font-family: monospace;\n}\n.wmde-markdown .task-list-item {\n list-style-type: none;\n}\n.wmde-markdown .task-list-item label {\n font-weight: 400;\n}\n.wmde-markdown .task-list-item.enabled label {\n cursor: pointer;\n}\n.wmde-markdown .task-list-item + .wmde-markdown .task-list-item {\n margin-top: 3px;\n}\n.wmde-markdown .task-list-item .handle {\n display: none;\n}\n.wmde-markdown .task-list-item-checkbox,\n.wmde-markdown .contains-task-list input[type='checkbox'] {\n margin: 0 0.2em 0.25em -1.6em;\n vertical-align: middle;\n}\n.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,\n.wmde-markdown .contains-task-list:dir(rtl) input[type='checkbox'] {\n margin: 0 -1.6em 0.25em 0.2em;\n}\n.wmde-markdown ::-webkit-calendar-picker-indicator {\n -webkit-filter: invert(50%);\n filter: invert(50%);\n}\n.wmde-markdown pre {\n position: relative;\n}\n.wmde-markdown pre .copied {\n visibility: hidden;\n display: flex;\n position: absolute;\n cursor: pointer;\n color: var(--color-fg-defaul);\n top: 6px;\n right: 6px;\n border-radius: 5px;\n background: var(--color-border-default);\n padding: 6px;\n font-size: 12px;\n transition: all 0.3s;\n}\n.wmde-markdown pre .copied .octicon-copy {\n display: block;\n}\n.wmde-markdown pre .copied .octicon-check {\n display: none;\n}\n.wmde-markdown pre:hover .copied {\n visibility: visible;\n}\n.wmde-markdown pre:hover .copied:hover {\n background: var(--color-prettylights-syntax-entity-tag);\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre:hover .copied:active,\n.wmde-markdown pre .copied.active {\n background: #2e9b33;\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre .active .octicon-copy {\n display: none;\n}\n.wmde-markdown pre .active .octicon-check {\n display: block;\n}\n.highlight-line {\n background-color: var(--color-neutral-muted);\n}\n.code-line.line-number::before {\n display: inline-block;\n width: 1rem;\n text-align: right;\n margin-right: 16px;\n color: var(--color-fg-subtle);\n content: attr(line);\n white-space: nowrap;\n}\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n color: var(--color-prettylights-syntax-comment);\n}\n.token.namespace {\n opacity: 0.7;\n}\n.token.property,\n.token.tag,\n.token.selector,\n.token.constant,\n.token.symbol,\n.token.deleted {\n color: var(--color-prettylights-syntax-entity-tag);\n}\n.token.maybe-class-name {\n color: var(--color-prettylights-syntax-variable);\n}\n.token.property-access,\n.token.operator,\n.token.boolean,\n.token.number,\n.token.selector .token.class,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.builtin {\n color: var(--color-prettylights-syntax-constant);\n}\n.token.deleted {\n color: var(--color-prettylights-syntax-markup-deleted-text);\n}\n.code-line .token.deleted {\n background-color: var(--color-prettylights-syntax-markup-deleted-bg);\n}\n.token.inserted {\n color: var(--color-prettylights-syntax-markup-inserted-text);\n}\n.code-line .token.inserted {\n background-color: var(--color-prettylights-syntax-markup-inserted-bg);\n}\n.token.variable {\n color: var(--color-prettylights-syntax-constant);\n}\n.token.entity,\n.token.url,\n.language-css .token.string,\n.style .token.string {\n color: var(--color-prettylights-syntax-string);\n}\n.token.color,\n.token.atrule,\n.token.attr-value,\n.token.function,\n.token.class-name {\n color: var(--color-prettylights-syntax-string);\n}\n.token.rule,\n.token.regex,\n.token.important,\n.token.keyword {\n color: var(--color-prettylights-syntax-keyword);\n}\n.token.coord {\n color: var(--color-prettylights-syntax-meta-diff-range);\n}\n.token.important,\n.token.bold {\n font-weight: bold;\n}\n.token.italic {\n font-style: italic;\n}\n.token.entity {\n cursor: help;\n}\n","svg.w-heatmap {\n color: #24292e;\n -webkit-user-select: none;\n user-select: none;\n display: block;\n font-size: 10px;\n}\nsvg.w-heatmap rect {\n display: block;\n cursor: pointer;\n}\nsvg.w-heatmap rect:hover {\n stroke: rgba(0, 0, 0, 0.14);\n stroke-width: 1px;\n}\nsvg.w-heatmap rect:active {\n fill: #196127;\n stroke-width: 0;\n}\nsvg.w-heatmap text {\n text-anchor: middle;\n font-size: inherit;\n fill: currentColor;\n}\n",".w-overlay {\n position: fixed;\n overflow: auto;\n top: 0;\n right: 0;\n left: 0;\n outline: 0;\n bottom: 0;\n z-index: 999;\n -webkit-overflow-scrolling: touch;\n text-align: center;\n height: 100%;\n width: 100%;\n display: none;\n}\n.w-overlay.open {\n z-index: 9999;\n}\n.w-overlay-open {\n overflow: hidden;\n}\n.w-overlay-content {\n position: relative;\n outline: 0;\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n margin: 20px 0;\n z-index: 20;\n}\n.w-overlay-inline {\n position: absolute;\n overflow: initial;\n}\n.w-overlay-inline .w-overlay-container {\n position: relative;\n}\n.w-overlay-inline .w-overlay-backdrop {\n position: absolute;\n}\n.w-overlay-container {\n position: absolute;\n overflow: auto;\n z-index: 99999;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.w-overlay-container:before {\n content: ' ';\n display: inline-block;\n height: 100%;\n width: 1px;\n vertical-align: middle;\n}\n.w-overlay-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 1;\n z-index: 20;\n background-color: rgba(16, 22, 26, 0.7);\n overflow: auto;\n -webkit-user-select: none;\n user-select: none;\n}\n.w-overlay-enter .w-overlay-backdrop {\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-backdrop {\n opacity: 1;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-exit .w-overlay-backdrop {\n opacity: 1;\n}\n.w-overlay-exit-active .w-overlay-backdrop {\n opacity: 0;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-enter .w-overlay-content {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-content {\n opacity: 1;\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: opacity 300ms ease, -webkit-transform 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease, -webkit-transform 300ms ease;\n}\n.w-overlay-exit .w-overlay-content {\n opacity: 1;\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: opacity 300ms ease, -webkit-transform 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease;\n transition: transform 300ms ease, opacity 300ms ease, -webkit-transform 300ms ease;\n}\n.w-overlay-exit-active .w-overlay-content {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter,\n.w-overlay-enter-done,\n.w-overlay-exit {\n display: inherit;\n}\n",".w-overlay.w-overlay-trigger {\n position: absolute;\n top: auto;\n left: auto;\n right: auto;\n bottom: auto;\n overflow: inherit;\n width: initial;\n height: initial;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container {\n position: relative;\n overflow: inherit;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container::before {\n display: none;\n}\n.w-overlay.w-overlay-trigger .w-overlay-content {\n margin: 0;\n}\n.w-overlay.w-overlay-trigger.rightTop .w-overlay-content {\n -webkit-transform-origin: left top;\n transform-origin: left top;\n}\n.w-overlay.w-overlay-trigger.right .w-overlay-content {\n -webkit-transform-origin: left center;\n transform-origin: left center;\n}\n.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content {\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n}\n.w-overlay.w-overlay-trigger.topLeft .w-overlay-content {\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n.w-overlay.w-overlay-trigger.top .w-overlay-content {\n -webkit-transform-origin: bottom center;\n transform-origin: bottom center;\n}\n.w-overlay.w-overlay-trigger.topRight .w-overlay-content {\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n.w-overlay.w-overlay-trigger.leftTop .w-overlay-content {\n -webkit-transform-origin: right top;\n transform-origin: right top;\n}\n.w-overlay.w-overlay-trigger.left .w-overlay-content {\n -webkit-transform-origin: right center;\n transform-origin: right center;\n}\n.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content {\n -webkit-transform-origin: right bottom;\n transform-origin: right bottom;\n}\n.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content {\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n.w-overlay.w-overlay-trigger.bottom .w-overlay-content {\n -webkit-transform-origin: top center;\n transform-origin: top center;\n}\n.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content {\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n.w-overlay-trigger-disabled {\n cursor: not-allowed;\n}\n",".w-tooltip {\n position: relative;\n display: inline-block;\n}\n.w-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.w-tooltip-inner {\n font-size: 12px;\n max-width: 250px;\n padding: 5px 10px;\n display: block;\n color: #fff;\n text-align: left;\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.75);\n border-radius: 4px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);\n word-break: break-all;\n}\n.w-tooltip.right .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n border-right-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 5px 0;\n left: 0;\n margin-top: -5px;\n top: 50%;\n}\n.w-tooltip.left .w-tooltip-arrow,\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.leftBottom .w-tooltip-arrow {\n border-left-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 0 5px 5px;\n margin-top: -5px;\n right: 0;\n top: 50%;\n}\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow {\n top: 15px;\n}\n.w-tooltip.leftBottom .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n bottom: 10px;\n top: auto;\n}\n.w-tooltip.top .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n border-top-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 0;\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n}\n.w-tooltip.bottom .w-tooltip-arrow,\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.bottomRight .w-tooltip-arrow {\n border-bottom-color: rgba(0, 0, 0, 0.75);\n border-width: 0 5px 5px;\n left: 50%;\n margin-left: -5px;\n top: 0;\n}\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow {\n left: 15px;\n}\n.w-tooltip.bottomRight .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n right: 10px;\n left: auto;\n}\n.w-tooltip.bottom,\n.w-tooltip.bottomLeft,\n.w-tooltip.bottomRight {\n padding-top: 5px;\n}\n.w-tooltip.top,\n.w-tooltip.topLeft,\n.w-tooltip.topRight {\n padding-bottom: 5px;\n}\n.w-tooltip.right,\n.w-tooltip.rightTop,\n.w-tooltip.rightBottom {\n padding-left: 5px;\n}\n.w-tooltip.left,\n.w-tooltip.leftTop,\n.w-tooltip.leftBottom {\n padding-right: 5px;\n}\n.w-tooltip.no-arrow {\n padding: 0 !important;\n}\n","html {\n background-color: #282c34;\n font-family: Alliance no\\.1, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,\n Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;\n}\n\n.header {\n background-color: #282c34;\n min-height: calc(100vh - 80px);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding-bottom: 30px;\n color: white;\n}\n\n.logo {\n max-width: 210px;\n}\n\n.info {\n font-size: 21px;\n max-width: 520px;\n text-align: center;\n}\n\n.app {\n padding-bottom: 70px;\n}\n\n.content {\n max-width: 950px;\n margin: 0 auto;\n padding-top: 125px;\n > pre {\n overflow-x: initial;\n }\n}\n\n.example {\n background-color: #fff;\n border-radius: 5px;\n box-shadow: 0 0 0 1px rgb(16 22 26 / 10%), 0 0 0 rgb(16 22 26 / 0%), 0 1px 1px rgb(16 22 26 / 20%);\n margin: 0 auto;\n margin-top: 70px;\n svg {\n border-radius: 5px;\n }\n}\n\n.tools {\n user-select: none;\n font-size: 12px;\n margin-top: 10px !important;\n padding: 10px;\n padding-left: 0px;\n border-radius: 5px;\n label {\n display: flex;\n align-items: center;\n input {\n margin-right: 5px;\n margin-left: 10px;\n }\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.04911cba.js b/static/js/main.04911cba.js deleted file mode 100644 index a83d78dc..00000000 --- a/static/js/main.04911cba.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.04911cba.js.LICENSE.txt */ -!function(){var e={363:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,t.id=363,e.exports=t},8534:function(e,t,r){"use strict";var a=r(8650),n=r(8573),s=r(5773),i=r(808),o=r(649),d=r(2951),u=r(1976),c=r(7591),l=r(9616),p=r(7373),f=document.createElement("template");f.innerHTML='\n\n\n';var g=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(){var e;return(0,d.Z)(this,r),(e=t.call(this)).right="0",e.shadow=e.attachShadow({mode:"open"}),e.shadow.appendChild(e.ownerDocument.importNode(f.content,!0)),e.update(),e}return(0,u.Z)(r,[{key:"setAttr",value:function(e,t){var r=this.shadow.querySelector("svg");/(href)/.test(e.toLocaleLowerCase())?r.lastElementChild.setAttribute("xlink:href",t):/(color|fill)/.test(e.toLocaleLowerCase())?r.firstElementChild.style[e]=t:/(z-index|position|top|left|right|bottom|transform)/.test(e.toLocaleLowerCase())?r.style[e]=t:r.setAttribute(e,t)}},{key:"update",value:function(){var e=this;[].concat((0,o.Z)(this.getAttributeNames()),["right"]).forEach((function(t){var r=e.getAttribute(t)||e[t]||"";e.setAttr(t,r)}))}},{key:"attributeChangedCallback",value:function(e,t,r){t!==r&&this.setAttr(e,r)}}],[{key:"observedAttributes",get:function(){return["style","z-index","target","height","width","href","color","fill","position","top","left","right","bottom","transform"]}}]),r}((0,p.Z)(HTMLElement));customElements.define("github-corners",g);var h=r(4760),m=["size","fixed","bottom","zIndex","className","style","bgColor","color","position"];function y(e){var t=e.size,r=void 0===t?80:t,a=e.fixed,n=void 0!==a&&a,o=e.bottom,d=e.zIndex,u=e.style,c=e.bgColor,l=void 0===c?"#151513":c,p=e.color,f=void 0===p?"#fff":p,g=e.position,y=void 0===g?"right":g,v=(0,i.Z)(e,m),b="left"===y?{left:0,right:"initial",transform:"scale(-1, 1)"}:{right:0,left:"initial",transform:"scale(1, 1)"};return o?(b.bottom=0,b.top="initial",b.transform="left"===y?"scale(-1, -1)":"scale(1, -1)"):(b.bottom="initial",b.top=0),(0,h.jsx)("github-corners",(0,s.Z)({target:"__blank",width:r,height:r,href:e.href,position:n?"fixed":"absolute","z-index":d,style:u,fill:l,color:f},b,v))}r(6155);var v=r(189),b=r(3782),x=r(1026),R={},E=(0,n.createContext)({}),D=function(e,t){return(0,s.Z)({},e,t)},w=function(e){var t=e.children,r=e.value,a=(0,n.useReducer)(D,(0,s.Z)({},R,r)),i=(0,x.Z)(a,2),o=i[0],d=i[1];return(0,h.jsx)(E.Provider,{value:(0,s.Z)({},o,{dispatch:d}),children:t})},j=["className","children"],C=n.forwardRef((function(e,t){var r=e.className,a=e.children,o=(0,i.Z)(e,j),d=[M+"-code",r].filter(Boolean).join(" ").trim();return(0,n.useContext)(E).collapse?null:(0,h.jsx)("div",(0,s.Z)({},o,{className:d,ref:t,children:a}))}));C.displayName="uiw.CodeLayoutCode";var A=["className","children"],S=n.forwardRef((function(e,t){var r=e.className,a=e.children,n=(0,i.Z)(e,A),o=[M+"-preview",r].filter(Boolean).join(" ").trim();return(0,h.jsx)("div",(0,s.Z)({},n,{className:o,ref:t,children:a}))}));S.displayName="uiw.Preview";var k=r(3376),T=r.n(k),F=function(e){return(0,h.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,h.jsx)("path",{d:"M8.64 5.23a1 1 0 0 0-1.41.13l-5 6a1 1 0 0 0 0 1.27l4.83 6a1 1 0 0 0 .78.37 1 1 0 0 0 .78-1.63L4.29 12l4.48-5.36a1 1 0 0 0-.13-1.41zm13.14 6.14-4.78-6a1 1 0 0 0-1.41-.15 1 1 0 0 0-.15 1.41L19.71 12l-4.48 5.37a1 1 0 0 0 .13 1.41A1 1 0 0 0 16 19a1 1 0 0 0 .77-.36l5-6a1 1 0 0 0 .01-1.27z","data-name":"code"})})},P=function(e){return(0,h.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[(0,h.jsx)("path",{d:"M18 21h-6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3zm-6-10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1z"}),(0,h.jsx)("path",{d:"M9.73 15H5.67A2.68 2.68 0 0 1 3 12.33V5.67A2.68 2.68 0 0 1 5.67 3h6.66A2.68 2.68 0 0 1 15 5.67V9.4h-2V5.67a.67.67 0 0 0-.67-.67H5.67a.67.67 0 0 0-.67.67v6.66a.67.67 0 0 0 .67.67h4.06z"})]})},_=function(e){return(0,h.jsxs)("svg",{viewBox:"0 0 24 24",fill:"green",children:[(0,h.jsx)("path",{d:"M9.71 11.29a1 1 0 0 0-1.42 1.42l3 3A1 1 0 0 0 12 16a1 1 0 0 0 .72-.34l7-8a1 1 0 0 0-1.5-1.32L12 13.54z"}),(0,h.jsx)("path",{d:"M21 11a1 1 0 0 0-1 1 8 8 0 0 1-8 8A8 8 0 0 1 6.33 6.36 7.93 7.93 0 0 1 12 4a8.79 8.79 0 0 1 1.9.22 1 1 0 1 0 .47-1.94A10.54 10.54 0 0 0 12 2a10 10 0 0 0-7 17.09A9.93 9.93 0 0 0 12 22a10 10 0 0 0 10-10 1 1 0 0 0-1-1z"})]})},I=function(e){var t=(0,n.useState)(!1),r=(0,x.Z)(t,2),a=r[0],s=r[1];return(0,h.jsx)("button",{onClick:function(){s(!0),T()(e.text||"",(function(){var e=setTimeout((function(){s(!1),clearTimeout(e)}),2e3)}))},children:a?(0,h.jsx)(_,{}):(0,h.jsx)(P,{})})},B=["className","children","extra","text","copied","collapse","visibleButton","visible"],O=n.forwardRef((function(e,t){var r=e.className,a=e.children,o=e.extra,d=e.text,u=void 0===d?"":d,c=e.copied,l=void 0===c||c,p=e.collapse,f=void 0===p||p,g=e.visibleButton,m=void 0===g||g,y=e.visible,v=void 0===y||y,b=(0,i.Z)(e,B),x=(0,n.useContext)(E),R=[M+"-toolbar",r].filter(Boolean).join(" ").trim();if((0,n.useEffect)((function(){return x.dispatch({collapse:f})}),[f]),!v)return null;return(0,h.jsxs)("div",(0,s.Z)({className:R},b,{ref:t,children:[(0,h.jsx)("div",{className:M+"-title",children:a}),(0,h.jsxs)("div",{className:M+"-extra",children:[o,l&&(0,h.jsx)(I,{text:u}),m&&(0,h.jsx)("button",{onClick:function(){return x.dispatch({collapse:!x.collapse})},children:(0,h.jsx)(F,{})})]})]}))}));O.displayName="uiw.Toolbar";var N=["children","prefixCls","className","bordered","disableCheckered"],M="w-rcpl",L=n.forwardRef((function(e,t){var r=e.children,a=e.prefixCls,o=void 0===a?M:a,d=e.className,u=e.bordered,c=void 0===u||u,l=e.disableCheckered,p=(0,i.Z)(e,N),f=[o,d,c?"w-bordered":null,l?"w-disable-checkered":null].filter(Boolean).join(" ").trim();return(0,h.jsx)("div",(0,s.Z)({ref:t},p,{className:f,children:n.Children.map(r,(function(e,t){return n.isValidElement(e)?n.cloneElement(e,(0,s.Z)({},e.props,{key:t})):e}))}))})),U=n.forwardRef((function(e,t){return(0,h.jsx)(w,{value:{collapse:!1},children:(0,h.jsx)(L,(0,s.Z)({},e,{ref:t}))})}));U.Preview=S,U.Toolbar=O,U.Code=C;var z=U,V=(r(8634),r(872),r(4838),r(8916),function(e){for(var t,r=/([^?=&]+)=([^&]*)/g,a={};t=r.exec(e);)a[t[1]]=t[2];return a}),q=function(e){void 0===e&&(e="");var t=/mdx:(.[\w|:]+)/i.exec(e)||[],r=(0,x.Z)(t,1)[0];return(void 0===r?"":r).replace(/^mdx:preview:?/,"")},H=function(e){return void 0===e&&(e=""),e&&e.includes("mdx:preview")};var G=r(1046);function W(e){return e&&"object"===typeof e?"position"in e||"type"in e?X(e.position):"start"in e||"end"in e?X(e):"line"in e||"column"in e?K(e):"":""}function K(e){return J(e&&e.line)+":"+J(e&&e.column)}function X(e){return K(e&&e.start)+"-"+K(e&&e.end)}function J(e){return e&&"number"===typeof e?e:1}var Y=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e,a,n){var s;(0,d.Z)(this,r);var i=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};if(s=t.call(this),"string"===typeof a&&(n=a,a=void 0),"string"===typeof n){var u=n.indexOf(":");-1===u?i[1]=n:(i[0]=n.slice(0,u),i[1]=n.slice(u+1))}return a&&("type"in a||"position"in a?a.position&&(o=a.position):"start"in a||"end"in a?o=a:("line"in a||"column"in a)&&(o.start=a)),s.name=W(a)||"1:1",s.message="object"===typeof e?e.message:e,s.stack="","object"===typeof e&&e.stack&&(s.stack=e.stack),s.reason=s.message,s.fatal,s.line=o.start.line,s.column=o.start.column,s.position=o,s.source=i[0],s.ruleId=i[1],s.file,s.actual,s.expected,s.url,s.note,s}return(0,u.Z)(r)}((0,p.Z)(Error));Y.prototype.file="",Y.prototype.name="",Y.prototype.reason="",Y.prototype.message="",Y.prototype.stack="",Y.prototype.fatal=null,Y.prototype.column=null,Y.prototype.line=null,Y.prototype.source=null,Y.prototype.ruleId=null,Y.prototype.position=null;var $={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');Z(e);var r,a=0,n=-1,s=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.charCodeAt(s)){if(r){a=s+1;break}}else n<0&&(r=!0,n=s+1);return n<0?"":e.slice(a,n)}if(t===e)return"";var i=-1,o=t.length-1;for(;s--;)if(47===e.charCodeAt(s)){if(r){a=s+1;break}}else i<0&&(r=!0,i=s+1),o>-1&&(e.charCodeAt(s)===t.charCodeAt(o--)?o<0&&(n=s):(o=-1,n=i));a===n?n=i:n<0&&(n=e.length);return e.slice(a,n)},dirname:function(e){if(Z(e),0===e.length)return".";var t,r=-1,a=e.length;for(;--a;)if(47===e.charCodeAt(a)){if(t){r=a;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){Z(e);var t,r=e.length,a=-1,n=0,s=-1,i=0;for(;r--;){var o=e.charCodeAt(r);if(47!==o)a<0&&(t=!0,a=r+1),46===o?s<0?s=r:1!==i&&(i=1):s>-1&&(i=-1);else if(t){n=r+1;break}}if(s<0||a<0||0===i||1===i&&s===a-1&&s===n+1)return"";return e.slice(s,a)},join:function(){for(var e,t=-1,r=arguments.length,a=new Array(r),n=0;n2){if((a=n.lastIndexOf("/"))!==n.length-1){a<0?(n="",s=0):s=(n=n.slice(0,a)).length-1-n.lastIndexOf("/"),i=d,o=0;continue}}else if(n.length>0){n="",s=0,i=d,o=0;continue}t&&(n=n.length>0?n+"/..":"..",s=2)}else n.length>0?n+="/"+e.slice(i+1,d):n=e.slice(i+1,d),s=d-i-1;i=d,o=0}else 46===r&&o>-1?o++:o=-1}return n}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(e)},sep:"/"};function Z(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var Q={cwd:function(){return"/"}};function ee(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function te(e){if("string"===typeof e)e=new URL(e);else if(!ee(e)){var t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){var r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return function(e){if(""!==e.hostname){var t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}var r=e.pathname,a=-1;for(;++a1?d-1:0),c=1;cn.length;u&&n.push(s);try{d=e.apply(this,n)}catch(a){if(u&&r)throw a;return s(a)}u||(d instanceof Promise?d.then(i,s):d instanceof Error?s(d):i(d))}function s(e){if(!r){r=!0;for(var a=arguments.length,n=new Array(a>1?a-1:0),s=1;s1?r-1:0),d=1;d13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535===(65535&r)||65534===(65535&r)||r>1114111?"\ufffd":String.fromCharCode(r)}var Se=r(6068),ke=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Te(e){return e.replace(ke,Fe)}function Fe(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){var a=r.charCodeAt(1),n=120===a||88===a;return Ae(r.slice(n?2:1),n?16:10)}return(0,Se.T)(r)||e}var Pe=r(478),_e={}.hasOwnProperty,Ie=function(e,t,r){return"string"!==typeof t&&(r=t,t=void 0),function(e){var t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(ae),autolinkProtocol:A,autolinkEmail:A,atxHeading:o(Q),blockQuote:o(X),characterEscape:A,characterReference:A,codeFenced:o(J),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:o(J,d),codeText:o(Y,d),codeTextData:A,data:A,codeFlowValue:A,definition:o($),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:o(Z),hardBreakEscape:o(ee),hardBreakTrailing:o(ee),htmlFlow:o(te,d),htmlFlowData:A,htmlText:o(te,d),htmlTextData:A,image:o(re),label:d,link:o(ae),listItem:o(se),listItemValue:g,listOrdered:o(ne,f),listUnordered:o(ne),paragraph:o(ie),reference:z,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:o(Q),strong:o(oe),thematicBreak:o(ue)},exit:{atxHeading:c(),atxHeadingSequence:D,autolink:c(),autolinkEmail:K,autolinkProtocol:G,blockQuote:c(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:H,codeFenced:c(v),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:S,codeIndented:c(b),codeText:c(_),codeTextData:S,data:S,definition:c(),definitionDestinationString:E,definitionLabelString:x,definitionTitleString:R,emphasis:c(),hardBreakEscape:c(T),hardBreakTrailing:c(T),htmlFlow:c(F),htmlFlowData:S,htmlText:c(P),htmlTextData:S,image:c(B),label:N,labelText:O,lineEnding:k,link:c(I),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:V,resourceDestinationString:M,resourceTitleString:L,resource:U,setextHeading:c(C),setextHeadingLineSequence:j,setextHeadingText:w,strong:c(),thematicBreak:c()}};Oe(t,(e||{}).mdastExtensions||[]);var r={};return a;function a(e){for(var r={type:"root",children:[]},a={stack:[r],tokenStack:[],config:t,enter:u,exit:l,buffer:d,resume:p,setData:s,getData:i},o=[],c=-1;++c0){var g=a.tokenStack[a.tokenStack.length-1];(g[1]||Me).call(a,void 0,g[0])}for(r.position={start:Be(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Be(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c55295&&s<57344){var o=e.charCodeAt(r+1);s<56320&&o>56319&&o<57344?(i=String.fromCharCode(s,o),n=1):i="\ufffd"}else i=String.fromCharCode(s);i&&(t.push(e.slice(a,r),encodeURIComponent(i)),a=r+n+1,i=""),n&&(r+=n,n=0)}return t.join("")+e.slice(a)}var Ve=function(e){if(void 0===e||null===e)return Ge;if("string"===typeof e)return function(e){return He(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?qe(e):function(e){return He(t);function t(t){var r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"===typeof e)return He(e);throw new Error("Expected function, string, or object as test")};function qe(e){for(var t=[],r=-1;++r1?r-1:0),n=1;n":"")+")"})}return l;function l(){var u,c,l,p=[];if((!t||n(i,o,d[d.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(r(i,d)),p[0]===We))return p;if(i.children&&p[0]!==Ke)for(c=(a?i.children.length:-1)+s,l=d.concat(i);c>-1&&c-1?r.offset:null}}}var Qe={}.hasOwnProperty;function et(e){return String(e||"").toUpperCase()}function tt(e,t){var r,a=String(t.identifier).toUpperCase(),n=ze(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);-1===s?(e.footnoteOrder.push(a),e.footnoteCounts[a]=1,r=e.footnoteOrder.length):(e.footnoteCounts[a]++,r=s+1);var i=e.footnoteCounts[a],o={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,o);var d={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,d),e.applyData(t,d)}function rt(e,t){var r=t.referenceType,a="]";if("collapsed"===r?a+="[]":"full"===r&&(a+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+a};var n=e.all(t),s=n[0];s&&"text"===s.type?s.value="["+s.value:n.unshift({type:"text",value:"["});var i=n[n.length-1];return i&&"text"===i.type?i.value+=a:n.push({type:"text",value:a}),n}function at(e){var t=e.spread;return void 0===t||null===t?e.children.length>1:t}var nt=9,st=32;function it(e){for(var t=String(e),r=/\r?\n|\r/g,a=r.exec(t),n=0,s=[];a;)s.push(ot(t.slice(n,a.index),n>0,!0),a[0]),n=a.index+a[0].length,a=r.exec(t);return s.push(ot(t.slice(n),n>0,!1)),s.join("")}function ot(e,t,r){var a=0,n=e.length;if(t)for(var s=e.codePointAt(a);s===nt||s===st;)a++,s=e.codePointAt(a);if(r)for(var i=e.codePointAt(n-1);i===nt||i===st;)n--,i=e.codePointAt(n-1);return n>a?e.slice(a,n):""}var dt={blockquote:function(e,t){var r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){var r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){var r=t.value?t.value+"\n":"",a=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,n={};a&&(n.className=["language-"+a]);var s={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s={type:"element",tagName:"pre",properties:{},children:[s=e.applyData(t,s)]},e.patch(t,s),s},delete:function(e,t){var r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){var r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:tt,footnote:function(e,t){for(var r=e.footnoteById,a=1;a in r;)a++;var n=String(a);return r[n]={type:"footnoteDefinition",identifier:n,children:[{type:"paragraph",children:t.children}],position:t.position},tt(e,{type:"footnoteReference",identifier:n,position:t.position})},heading:function(e,t){var r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.dangerous){var r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}return null},imageReference:function(e,t){var r=e.definition(t.identifier);if(!r)return rt(e,t);var a={src:ze(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);var n={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,n),e.applyData(t,n)},image:function(e,t){var r={src:ze(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);var a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},inlineCode:function(e,t){var r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);var a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,a),e.applyData(t,a)},linkReference:function(e,t){var r=e.definition(t.identifier);if(!r)return rt(e,t);var a={href:ze(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);var n={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},link:function(e,t){var r={href:ze(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);var a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},listItem:function(e,t,r){var a=e.all(t),n=r?function(e){var t=!1;if("list"===e.type){t=e.spread||!1;for(var r=e.children,a=-1;!t&&++a0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}for(var c=-1;++c0){var i={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=Ye(t.children[1]),d=$e(t.children[t.children.length-1]);o.line&&d.line&&(i.position={start:o,end:d}),n.push(i)}var u={type:"element",tagName:"table",properties:{},children:e.wrap(n,!0)};return e.patch(t,u),e.applyData(t,u)},tableCell:function(e,t){var r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){for(var a=r?r.children:void 0,n=0===(a?a.indexOf(t):1)?"th":"td",s=r&&"table"===r.type?r.align:void 0,i=s?s.length:t.children.length,o=-1,d=[];++o0&&r.push({type:"text",value:"\n"}),r}function yt(e,t){var r=lt(e,t),a=r.one(e,null),n=function(e){for(var t=[],r=-1;++r1?"-"+o:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};o>1&&u.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(o)}]}),d.length>0&&d.push({type:"text",value:" "}),d.push(u)}var c=n[n.length-1];if(c&&"element"===c.type&&"p"===c.tagName){var l,p=c.children[c.children.length-1];p&&"text"===p.type?p.value+=" ":c.children.push({type:"text",value:" "}),(l=c.children).push.apply(l,d)}else n.push.apply(n,d);var f={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(n,!0)};e.patch(a,f),t.push(f)}}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:(0,v.Z)((0,v.Z)({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{},{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(r);return n&&a.children.push({type:"text",value:"\n"},n),Array.isArray(a)?{type:"root",children:a}:a}var vt=function(e,t){return e&&"run"in e?function(e,t){return function(r,a,n){e.run(yt(r,t),a,(function(e){n(e)}))}}(e,t):function(e){return function(t){return yt(t,e)}}(e||t)};var bt=r(9308),xt=r(9314);function Rt(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return function(t){Je(t,"element",(function(t,r,a){var n,s=a;if(e.allowedElements?n=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(n=e.disallowedElements.includes(t.tagName)),!n&&e.allowElement&&"number"===typeof r&&(n=!e.allowElement(t,r,s)),n&&"number"===typeof r){var i;if(e.unwrapDisallowed&&t.children)(i=s.children).splice.apply(i,[r,1].concat((0,o.Z)(t.children)));else s.children.splice(r,1);return r}}))}}var Et=r(9043);function Dt(e){var t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var wt=r(5077),jt={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"},Ct=r(103),At=r(1064),St=r(4977),kt=["http","https","mailto","tel"];function Tt(e){var t=(e||"").trim(),r=t.charAt(0);if("#"===r||"/"===r)return t;var a=t.indexOf(":");if(-1===a)return t;for(var n=-1;++nn||-1!==(n=t.indexOf("#"))&&a>n?t:"javascript:void(0)"}var Ft={}.hasOwnProperty,Pt=new Set(["table","thead","tbody","tfoot","tr"]);function _t(e,t){for(var r,a=[],n=-1;++n0?n.createElement(h,c,p):n.createElement(h,c)}function Bt(e,t){for(var r=-1,a=0;++r for more info)")),delete Lt[t]}var a=pe().use(Le).use(e.remarkPlugins||[]).use(vt,(0,v.Z)((0,v.Z)({},e.remarkRehypeOptions),{},{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(Rt,e),s=new ae;"string"===typeof e.children?s.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var i=a.runSync(a.parse(s),s);if("root"!==i.type)throw new TypeError("Expected a `root` node");var o=n.createElement(n.Fragment,{},_t({options:e,schema:xt.dy,listDepth:0},i));return e.className&&(o=n.createElement("div",{className:e.className},o)),o}Ut.propTypes={children:bt.string,className:bt.string,allowElement:bt.func,allowedElements:bt.arrayOf(bt.string),disallowedElements:bt.arrayOf(bt.string),unwrapDisallowed:bt.bool,remarkPlugins:bt.arrayOf(bt.oneOfType([bt.object,bt.func,bt.arrayOf(bt.oneOfType([bt.bool,bt.string,bt.object,bt.func,bt.arrayOf(bt.any)]))])),rehypePlugins:bt.arrayOf(bt.oneOfType([bt.object,bt.func,bt.arrayOf(bt.oneOfType([bt.bool,bt.string,bt.object,bt.func,bt.arrayOf(bt.any)]))])),sourcePos:bt.bool,rawSourcePos:bt.bool,skipHtml:bt.bool,includeElementIndex:bt.bool,transformLinkUri:bt.oneOfType([bt.func,bt.bool]),linkTarget:bt.oneOfType([bt.func,bt.string]),transformImageUri:bt.func,components:bt.object};for(var zt=r(2006),Vt={tokenize:function(e,t,r){var a=0;return function t(s){if((87===s||119===s)&&a<3)return a++,e.consume(s),t;if(46===s&&3===a)return e.consume(s),n;return r(s)};function n(e){return null===e?r(e):t(e)}},partial:!0},qt={tokenize:function(e,t,r){var a,n,s;return i;function i(t){return 46===t||95===t?e.check(Gt,d,o)(t):null===t||(0,Ue.z3)(t)||(0,Ue.B8)(t)||45!==t&&(0,Ue.Xh)(t)?d(t):(s=!0,e.consume(t),i)}function o(t){return 95===t?a=!0:(n=a,a=void 0),e.consume(t),i}function d(e){return n||a||!s?r(e):t(e)}},partial:!0},Ht={tokenize:function(e,t){var r=0,a=0;return n;function n(i){return 40===i?(r++,e.consume(i),n):41===i&&a0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}Yt[43]=Jt,Yt[45]=Jt,Yt[46]=Jt,Yt[95]=Jt,Yt[72]=[Jt,Xt],Yt[104]=[Jt,Xt],Yt[87]=[Jt,Kt],Yt[119]=[Jt,Kt];var nr=r(4649),sr=r(8597),ir=r(8911),or={tokenize:function(e,t,r){var a=this;return(0,ir.f)(e,(function(e){var n=a.events[a.events.length-1];return n&&"gfmFootnoteDefinitionIndent"===n[1].type&&4===n[2].sliceSerialize(n[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function dr(){var e;return{document:(0,nr.Z)({},91,{tokenize:pr,continuation:{tokenize:fr},exit:gr}),text:(e={},(0,nr.Z)(e,91,{tokenize:lr}),(0,nr.Z)(e,93,{add:"after",tokenize:ur,resolveTo:cr}),e)}}function ur(e,t,r){for(var a,n=this,s=n.events.length,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);s--;){var o=n.events[s][1];if("labelImage"===o.type){a=o;break}if("gfmFootnoteCall"===o.type||"labelLink"===o.type||"label"===o.type||"image"===o.type||"link"===o.type)break}return function(s){if(!a||!a._balanced)return r(s);var o=(0,Pe.d)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==o.codePointAt(0)||!i.includes(o.slice(1)))return r(s);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s)}}function cr(e,t){for(var r=e.length;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";var a={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},n={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};n.end.column++,n.end.offset++,n.end._bufferIndex++;var s={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},o=[e[r+1],e[r+2],["enter",a,t],e[r+3],e[r+4],["enter",n,t],["exit",n,t],["enter",s,t],["enter",i,t],["exit",i,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice.apply(e,[r,e.length-r+1].concat(o)),e}function lr(e,t,r){var a,n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),o};function o(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(o){if(i>999||93===o&&!a||null===o||91===o||(0,Ue.z3)(o))return r(o);if(93===o){e.exit("chunkString");var c=e.exit("gfmFootnoteCallString");return s.includes((0,Pe.d)(n.sliceSerialize(c)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(o)}return(0,Ue.z3)(o)||(a=!0),i++,e.consume(o),92===o?u:d}function u(t){return 91===t||92===t||93===t?(e.consume(t),i++,d):d(t)}}function pr(e,t,r){var a,n,s=this,i=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),d};function d(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):r(t)}function u(t){if(o>999||93===t&&!n||null===t||91===t||(0,Ue.z3)(t))return r(t);if(93===t){e.exit("chunkString");var i=e.exit("gfmFootnoteDefinitionLabelString");return a=(0,Pe.d)(s.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),l}return(0,Ue.z3)(t)||(n=!0),o++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,u):u(t)}function l(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(a)||i.push(a),(0,ir.f)(e,p,"gfmFootnoteDefinitionWhitespace")):r(t)}function p(e){return t(e)}}function fr(e,t,r){return e.check(sr.w,t,e.attempt(or,t,r))}function gr(e){e.exit("gfmFootnoteDefinition")}var hr=r(7125),mr=r(4375),yr=r(7900);function vr(e){var t=(e||{}).singleTilde,r={tokenize:function(e,r,a){var n=this.previous,s=this.events,i=0;return function(t){if(126===n&&"characterEscape"!==s[s.length-1][1].type)return a(t);return e.enter("strikethroughSequenceTemporary"),o(t)};function o(s){var d=(0,mr.r)(n);if(126===s)return i>1?a(s):(e.consume(s),i++,o);if(i<2&&!t)return a(s);var u=e.exit("strikethroughSequenceTemporary"),c=(0,mr.r)(s);return u._open=!c||2===c&&Boolean(d),u._close=!d||2===d&&Boolean(c),r(s)}},resolveAll:function(e,t){var r=-1;for(;++r0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1])),r.push(this.map[t][2]),e.length=this.map[t][0];r.push((0,o.Z)(e)),e.length=0;for(var a=r.pop();a;)e.push.apply(e,(0,o.Z)(a)),a=r.pop();this.map.length=0}}}]),e}();function xr(e,t){for(var r=!1,a=[];t-1;){var a=n.events[t][1].type;if("lineEnding"!==a&&"linePrefix"!==a)break;t--}var s=t>-1?n.events[t][1].type:null,i="tableHead"===s||"tableRow"===s?x:o;if(i===x&&n.parser.lazy[n.now().line])return r(e);return i(e)};function o(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return d(e);return a=!0,i+=1,d(e)}(t)}function d(t){return null===t?r(t):(0,Ue.Ch)(t)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):r(t):(0,Ue.xz)(t)?(0,ir.f)(e,d,"whitespace")(t):(i+=1,a&&(a=!1,s+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,d):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||(0,Ue.z3)(t)?(e.exit("data"),d(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function l(t){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(t):(e.enter("tableDelimiterRow"),a=!1,(0,Ue.xz)(t)?(0,ir.f)(e,p,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?g(t):124===t?(a=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):b(t)}function f(t){return(0,Ue.xz)(t)?(0,ir.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(i+=1,h(t)):null===t||(0,Ue.Ch)(t)?v(t):b(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):b(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return(0,Ue.xz)(t)?(0,ir.f)(e,v,"whitespace")(t):v(t)}function v(r){return 124===r?p(r):(null===r||(0,Ue.Ch)(r))&&a&&s===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(r)):b(r)}function b(e){return r(e)}function x(t){return e.enter("tableRow"),R(t)}function R(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),R):null===r||(0,Ue.Ch)(r)?(e.exit("tableRow"),t(r)):(0,Ue.xz)(r)?(0,ir.f)(e,R,"whitespace")(r):(e.enter("data"),E(r))}function E(t){return null===t||124===t||(0,Ue.z3)(t)?(e.exit("data"),R(t)):(e.consume(t),92===t?D:E)}function D(t){return 92===t||124===t?(e.consume(t),E):E(t)}},resolveAll:function(e,t){var r,a,n,s=-1,i=!0,o=0,d=[0,0,0,0],u=[0,0,0,0],c=!1,l=0,p=new br;for(;++sr[2]+1){var f=r[2]+1,g=r[3]-r[2]-1;e.add(f,g,[])}}e.add(r[3]+1,0,[["exit",c,t]])}return void 0!==n&&(s.end=Object.assign({},wr(t.events,n)),e.add(n,0,[["exit",s,t]]),s=void 0),s}function Dr(e,t,r,a,n){var s=[],i=wr(t.events,r);n&&(n.end=Object.assign({},i),s.push(["exit",n,t])),a.end=Object.assign({},i),s.push(["exit",a,t]),e.add(r+1,0,s)}function wr(e,t){var r=e[t],a="enter"===r[0]?"start":"end";return r[1][a]}var jr={tokenize:function(e,t,r){var a=this;return function(t){if(null!==a.previous||!a._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),n};function n(t){return(0,Ue.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):r(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):r(t)}function i(a){return(0,Ue.Ch)(a)?t(a):(0,Ue.xz)(a)?e.check({tokenize:Ar},t,r)(a):r(a)}}},Cr={text:(0,nr.Z)({},91,jr)};function Ar(e,t,r){return(0,ir.f)(e,(function(e){return null===e?r(e):t(e)}),"whitespace")}function Sr(e,t){var r=String(e);if("string"!==typeof t)throw new TypeError("Expected character");for(var a=0,n=r.indexOf(t);-1!==n;)a++,n=r.indexOf(t,n+t.length);return a}var kr={}.hasOwnProperty,Tr=function(e,t,r,a){var n,s;"string"===typeof t||t instanceof RegExp?(s=[[t,r]],n=a):(s=t,n=r),n||(n={});for(var i=Ve(n.ignore||[]),d=function(e){var t=[];if("object"!==typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e))for(var r=-1;++r0?{type:"text",value:h}:void 0),!1!==h){var m;if(s!==f&&l.push({type:"text",value:e.value.slice(s,f)}),Array.isArray(h))(m=l).push.apply(m,(0,o.Z)(h));else h&&l.push(h);s=f+p[0].length,c=!0}if(!a.global)break;p=a.exec(e.value)}if(c){var y;s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);var r=t[0],a=r.indexOf(")"),n=Sr(e,"("),s=Sr(e,")");for(;-1!==a&&n>s;)e+=r.slice(0,a+1),a=(r=r.slice(a+1)).indexOf(")"),s++;return[e,r]}(r+a);if(!i[0])return!1;var o={type:"link",title:null,url:s+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[o,{type:"text",value:i[1]}]:o}function Lr(e,t,r,a){return!(!Ur(a,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Ur(e,t){var r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,Ue.B8)(r)||(0,Ue.Xh)(r))&&(!t||47!==r)}function zr(e){return e.label||!e.identifier?e.label||"":Te(e.identifier)}function Vr(e,t,r,a){for(var n=a.join.length;n--;){var s=a.join[n](e,t,r,a);if(!0===s||1===s)break;if("number"===typeof s)return"\n".repeat(1+s);if(!1===s)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}var qr=/\r?\n|\r/g;function Hr(e){if(!e._compiled){var t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Gr(e,t){return Wr(e,t.inConstruct,!0)&&!Wr(e,t.notInConstruct,!1)}function Wr(e,t,r){if("string"===typeof t&&(t=[t]),!t||0===t.length)return r;for(var a=-1;++a=h||(m+10?" ":"")),n.shift(4),s+=n.move(function(e,t){for(var r,a=[],n=0,s=0;r=qr.exec(e);)i(e.slice(n,r.index)),a.push(r[0]),n=r.index+r[0].length,s++;return i(e.slice(n)),a.join("");function i(e){a.push(t(e,s,!e))}}(function(e,t,r){var a=t.indexStack,n=e.children||[],s=t.createTracker(r),i=[],o=-1;for(a.push(-1);++o0&&("\r"===o||"\n"===o)&&"html"===u.type&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),o=" ",(d=t.createTracker(r)).move(s.join(""))),s.push(d.move(t.handle(u,e,t,(0,v.Z)((0,v.Z)({},d.current()),{},{before:o,after:c})))),o=s[s.length-1].slice(-1)}return a.pop(),s.join("")}sa.peek=function(){return"["};la.peek=function(){return"~"};var ua={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ca={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:la}};function la(e,t,r,a){var n=Yr(a),s=r.enter("strikethrough"),i=n.move("~~");return i+=da(e,r,(0,v.Z)((0,v.Z)({},n.current()),{},{before:i,after:"~"})),i+=n.move("~~"),s(),i}function pa(e,t,r){for(var a=e.value||"",n="`",s=-1;new RegExp("(^|[^`])"+n+"([^`]|$)").test(a);)n+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++s1&&void 0!==arguments[1]?arguments[1]:{},r=(t.align||[]).concat(),a=t.stringLength||ga,n=[],s=[],i=[],o=[],d=0,u=-1;++ud&&(d=e[u].length);++po[p])&&(o[p]=g)}c.push(f)}s[u]=c,i[u]=l}var h=-1;if("object"===typeof r&&"length"in r)for(;++ho[h]&&(o[h]=E),v[h]=E),y[h]=D}s.splice(1,0,y),i.splice(1,0,v),u=-1;for(var w=[];++u-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+s);var i=s.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));var o=r.createTracker(a);o.move(s+" ".repeat(i-s.length)),o.shift(i);var d=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,o.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(i))+e;return(r?s:s+" ".repeat(i-s.length))+e}));return d(),u}var Ea={exit:{taskListCheckValueChecked:wa,taskListCheckValueUnchecked:wa,paragraph:function(e){var t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"===typeof t.checked){var r=this.stack[this.stack.length-1],a=r.children[0];if(a&&"text"===a.type){for(var n,s=t.children,i=-1;++i0&&void 0!==arguments[0]?arguments[0]:{},t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,zt.W)([$t,dr(),vr(e),Rr,Cr])}(e)),r("fromMarkdownExtensions",[Br,{enter:{gfmFootnoteDefinition:$r,gfmFootnoteDefinitionLabelString:Zr,gfmFootnoteCall:ta,gfmFootnoteCallString:ra},exit:{gfmFootnoteDefinition:ea,gfmFootnoteDefinitionLabelString:Qr,gfmFootnoteCall:na,gfmFootnoteCallString:aa}},ua,ma,Ea]),r("toMarkdownExtensions",function(e){return{extensions:[Or,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:ia,footnoteReference:sa}},ca,xa(e),Da]}}(e))}var Ca=r(3924),Aa=(0,r(3978).v)(xt.YP,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),Sa=r(1154);var ka={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ta={}.hasOwnProperty,Fa=Object.prototype;function Pa(e,t){var r;switch(t.nodeName){case"#comment":return Ia(e,t,r={type:"comment",value:t.data}),r;case"#document":case"#document-fragment":var a=t,n="mode"in a&&("quirks"===a.mode||"limited-quirks"===a.mode);if(r={type:"root",children:_a(e,t.childNodes),data:{quirksMode:n}},e.file&&e.location){var s=String(e.file),i=function(e){for(var t=String(e),r=[],a=/\r?\n|\r/g;a.test(t);)r.push(a.lastIndex);return r.push(t.length+1),{toPoint:function(e){var t=-1;if("number"===typeof e&&e>-1&&ee)return{line:t+1,column:e-(t>0?r[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){var t=e&&e.line,a=e&&e.column;if("number"===typeof t&&"number"===typeof a&&!Number.isNaN(t)&&!Number.isNaN(a)&&t-1 in r){var n=(r[t-2]||0)+a-1||0;if(n>-1&&n1?o-1:0),u=1;u0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r){return Ka(t,r,e)}}var Qa=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,en=Object.hasOwnProperty;var tn={}.hasOwnProperty;function rn(e,t){var r="string"===typeof t&&function(e){return Boolean(e&&"object"===typeof e&&"type"in e)}(e)&&"element"===e.type&&e.properties&&tn.call(e.properties,t)&&e.properties[t];return null!==r&&void 0!==r&&!1!==r}function an(e){var t=e&&"element"===e.type&&e.tagName.toLowerCase()||"",r=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return r>48&&r<55?r-48:null}function nn(e){return"children"in e?on(e):"value"in e?e.value:""}function sn(e){return"text"===e.type?e.value:"children"in e?on(e):""}function on(e){for(var t=-1,r=[];++t0&&void 0!==arguments[0]?arguments[0]:{}).prefix||"";return function(t){dn.reset(),Je(t,"element",(function(t){an(t)&&t.properties&&!rn(t,"id")&&(t.properties.id=e+dn.slug(nn(t)))}))}}var cn=function(e){if(void 0===e||null===e)return fn;if("string"===typeof e)return function(e){return t;function t(t){return fn(t)&&t.tagName===e}}(e);if("object"===typeof e)return ln(e);if("function"===typeof e)return pn(e);throw new Error("Expected function, string, or array as test")};function ln(e){for(var t=[],r=-1;++r1?r-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},r=t.properties,a=t.behaviour||t.behavior||"prepend",n=t.content||gn,s=t.group,i=cn(t.test);return"wrap"===a?e=function(e){return e.children=[c(e,ue(!0,{},r),e.children)],[Ke]}:"before"===a||"after"===a?e=function(e,t,i){var l;if("number"!==typeof t||!i)return;var p=c(e,ue(!0,{},r),d(n,e)),f="before"===a?[p,e]:[e,p];if(s){var g=u(s,e);g&&!Array.isArray(g)&&"element"===g.type&&(g.children=f,f=[g])}return(l=i.children).splice.apply(l,[t,1].concat((0,o.Z)(f))),[Ke,t+f.length]}:(r||(r={ariaHidden:"true",tabIndex:-1}),e=function(e){return e.children["prepend"===a?"unshift":"push"](c(e,ue(!0,{},r),d(n,e))),[Ke]}),function(t){Je(t,"element",(function(t,r,a){if(an(t)&&rn(t,"id")&&i(t,r,a))return e(t,r,a)}))};function d(e,t){var r=u(e,t);return Array.isArray(r)?r:[r]}function u(e,t){return"function"===typeof e?e(t):ue(!0,Array.isArray(e)?[]:{},e)}function c(e,t,r){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+(e.properties||{}).id}),children:r}}}var mn=function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,n=arguments.length>1?arguments[1]:void 0;n/,"$2")||""))return;if(a){if(e(t,n,"pre",a))return;return i.value=(i.value||"").replace(/^(\n|\s)+/,""),i}return i.value=(i.value||"").replace(/^(\n|\s)+/,""),i}}},yn=function(e){var t=e.value,r=function(){return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((function(e,t){return e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e}),{})}((void 0===t?"":t).replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(r).forEach((function(e){"true"===r[e]&&(r[e]=!0),"false"===r[e]&&(r[e]=!1),"string"!==typeof r[e]||/^0/.test(r[e])||isNaN(+r[e])||(r[e]=+r[e])})),r},vn=function(e,t,r){return"string"===r?(0,v.Z)((0,v.Z)({},e),{},{"data-config":JSON.stringify((0,v.Z)((0,v.Z)({},t),{},{rehyp:!0}))}):"attr"===r?(0,v.Z)((0,v.Z)({},e),t):(0,v.Z)((0,v.Z)({},e),{},{"data-config":(0,v.Z)((0,v.Z)({},t),{},{rehyp:!0})})},bn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.properties,r=void 0===t?"data":t,a=e.codeBlockParames,n=void 0===a||a;return function(e){Je(e,"element",(function(e,t,a){if(n&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&a&&Array.isArray(a.children)&&a.children.length>1){var s=e.children[0];if(s&&"code"===s.tagName&&"number"===typeof t){var i=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;t>-1;){if(!e[--t])return;if(e[t]&&e[t].value&&""!==e[t].value.replace(/(\n|\s)/g,"")||"text"!==e[t].type){if(!/^rehype:/.test(e[t].value)||"comment"!==e[t].type)return;return e[t]}}}(a.children,t);if(i){var o=yn(i);Object.keys(o).length>0&&(e.properties=(0,v.Z)((0,v.Z)({},e.properties),{"data-type":"rehyp"}),s.properties=vn(s.properties,o,r))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&a&&Array.isArray(a.children)&&"number"===typeof t){var d=mn(a.children,t,"",n);if(d){var u=yn(d);Object.keys(u).length>0&&(e.properties=vn(e.properties,u,r))}}}))}},xn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.openDelimiter,r=void 0===t?"rehype:ignore:start":t,a=e.closeDelimiter,n=void 0===a?"rehype:ignore:end":a;return function(e){Je(e,(function(e,t,a){if("element"===e.type||"root"===e.type){var s=!1;e.children=e.children.filter((function(e){if("raw"===e.type||"comment"===e.type){var t=(e.value||"").trim();if((t=t.replace(/^/,"$1"))===r)return s=!0,!1;if(t===n)return s=!1,!1}return!s}))}}))}},Rn={}.hasOwnProperty,En=r(5318),Dn=r(4277),wn=r(656);function jn(){jn=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,a,n){var s=new RegExp(e,a);return t.set(s,n||t.get(e)),Cn(s,r.prototype)}function a(e,r){var a=t.get(r);return Object.keys(a).reduce((function(t,r){return t[r]=e[a[r]],t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cn(e,t)}(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);return r&&(r.groups=a(r,this)),r},r.prototype[Symbol.replace]=function(r,n){if("string"==typeof n){var s=t.get(this);return e[Symbol.replace].call(this,r,n.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+s[t]})))}if("function"==typeof n){var i=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(a(e,i)),n.apply(this,e)}))}return e[Symbol.replace].call(this,r,n)},jn.apply(this,arguments)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cn(e,t)}function An(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var kn=function(e){return function(t){return void 0===t&&(t={}),function(e){Je(e,"element",r)};function r(r,a,n){var s,i;if(n&&"pre"===n.tagName&&"code"===r.tagName){var o=(null==r||null==(s=r.data)?void 0:s.meta)||(null==r||null==(i=r.properties)?void 0:i.metastring)||"";r.properties.className?"boolean"==typeof r.properties.className?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[],r.properties.className.push("code-highlight");var d,u,c=function(e){for(var t,r=Sn(e.properties.className);!(t=r()).done;){var a=t.value;if("language-"===a.slice(0,9))return a.slice(9).toLowerCase()}return null}(r);if(c)try{var l;l=null!=c&&c.includes("diff-")?c.split("-")[1]:c,d=e.highlight(nn(r),l),n.properties.className=(n.properties.className||[]).concat("language-"+l)}catch(b){if(!t.ignoreMissing||!/Unknown language/.test(b.message))throw b;d=r}else d=r;d.children=(u=1,function e(t){return t.reduce((function(t,r){if("text"===r.type){var a=r.value,n=(a.match(/\n/g)||"").length;if(0===n)r.position={start:{line:u,column:1},end:{line:u,column:1}},t.push(r);else for(var s,i=a.split("\n"),o=Sn(i.entries());!(s=o()).done;){var d=s.value,c=d[0],l=d[1];t.push({type:"text",value:c===i.length-1?l:l+"\n",position:{start:{line:u+c,column:1},end:{line:u+c,column:1}}})}return u+=n,t}if(Object.prototype.hasOwnProperty.call(r,"children")){var p=u;return r.children=e(r.children),t.push(r),r.position={start:{line:p,column:1},end:{line:u,column:1}},t}return t.push(r),t}),[])})(d.children),d.position=d.children.length>0?{start:{line:d.children[0].position.start.line,column:0},end:{line:d.children[d.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var p,f=function(e){var t=/{([\d,-]+)}/,r=e.split(",").map((function(e){return e.trim()})).join();if(t.test(r)){var a=t.exec(r)[1],n=En(a);return function(e){return n.includes(e+1)}}return function(){return!1}}(o),g=function(e){var t=jn(/showLineNumbers=([0-9]+)/i,{lines:1});if(t.test(e)){var r=t.exec(e);return Number(r.groups.lines)}return 1}(o),h=function(e){for(var t=new Array(e),r=0;r0&&0===i.length)return null}var u,c={};for(u in t)Rn.call(t,u)&&(c[u]="children"===u?i:t[u]);return c}(e)}(d,(function(e){return e.position.start.line<=r+1&&e.position.end.line>=r+1}));a.children=n.children,!o.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||m.some((function(e){return o.toLowerCase().includes(e)}))||(a.properties.line=[(r+g).toString()],a.properties.className.push("line-number")),f(r)&&a.properties.className.push("highlight-line"),("diff"===c||null!=c&&c.includes("diff-"))&&"-"===nn(a).substring(0,1)?a.properties.className.push("deleted"):("diff"===c||null!=c&&c.includes("diff-"))&&"+"===nn(a).substring(0,1)&&a.properties.className.push("inserted")},v=Sn(h.entries());!(p=v()).done;)y();h.length>0&&""===nn(h[h.length-1]).trim()&&h.pop(),r.children=h}}}},Tn=(kn(Dn.$),kn(wn.$)),Fn="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",Pn="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",_n=new RegExp("^[^"+Pn+"]*["+Fn+"]"),In=new RegExp("^[^"+Fn+"]*["+Pn+"]");function Bn(e){var t=function(e){var t=String(e||"");return _n.test(t)?"rtl":In.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function On(e){var t="element"===e.type&&e.properties&&"string"===typeof e.properties.dir?e.properties.dir.toLowerCase():void 0;return"auto"===t||"ltr"===t||"rtl"===t?t:void 0}var Nn=Ma("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,r){return rn(t,r.property)},handlers:{"=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&Mn(t.properties[r.property],r)===e.value)},"~=":function(e,t,r){var a=t.properties&&t.properties[r.property];return!r.commaSeparated&&a&&"object"===typeof a&&e.value&&a.includes(e.value)||rn(t,r.property)&&Mn(a,r)===e.value},"|=":function(e,t,r){var a=Mn(t.properties&&t.properties[r.property],r);return Boolean(rn(t,r.property)&&e.value&&(a===e.value||a.slice(0,e.value.length)===e.value&&"-"===a.charAt(e.value.length)))},"^=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&e.value&&Mn(t.properties[r.property],r).slice(0,e.value.length)===e.value)},"$=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&e.value&&Mn(t.properties[r.property],r).slice(-e.value.length)===e.value)},"*=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&e.value&&Mn(t.properties[r.property],r).includes(e.value))}}});function Mn(e,t){return"boolean"===typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?At.P:Ct.P)(e):String(e)}function Ln(e,t){return function(r,a){for(var n=zn(r,"tag"),s=zn(null===a||void 0===a?"*":a,"range"),i=[],o=-1;++o=r};var a=Math.abs(t),n=(r%a+a)%a;return t>1?function(e){return e>=r&&e%a===n}:function(e){return e<=r&&e%a===n}}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,r=0,a=s(),n=i();if(t=qn&&e.charCodeAt(t)<=Hn;)a=10*a+(e.charCodeAt(t)-qn),t++;return t===r?null:a}function o(){for(;t0},lang:function(e,t,r,a,n){return""!==n.language&&void 0!==n.language&&Un(n.language,(0,At.Q)(e.value)).length>0},"last-child":function(e,t,r,a,n){return ts(n,e),Boolean(n.elementCount&&n.elementIndex===n.elementCount-1)},"last-of-type":function(e,t,r,a,n){return ts(n,e),"number"===typeof n.typeIndex&&"number"===typeof n.typeCount&&n.typeIndex===n.typeCount-1},matches:$n,not:function(e,t,r,a,n){return!$n(e,t,r,a,n)},"nth-child":function(e,t,r,a,n){var s=rs(e);return ts(n,e),"number"===typeof n.elementIndex&&s(n.elementIndex)},"nth-last-child":function(e,t,r,a,n){var s=rs(e);return ts(n,e),Boolean("number"===typeof n.elementCount&&"number"===typeof n.elementIndex&&s(n.elementCount-n.elementIndex-1))},"nth-of-type":function(e,t,r,a,n){var s=rs(e);return ts(n,e),"number"===typeof n.typeIndex&&s(n.typeIndex)},"nth-last-of-type":function(e,t,r,a,n){var s=rs(e);return ts(n,e),"number"===typeof n.typeCount&&"number"===typeof n.typeIndex&&s(n.typeCount-1-n.typeIndex)},"only-child":function(e,t,r,a,n){return ts(n,e),1===n.elementCount},"only-of-type":function(e,t,r,a,n){return ts(n,e),1===n.typeCount},optional:function(e,t){return!Qn(e,t)},"read-only":function(e,t,r,a,n){return!Zn(e,t,r,a,n)},"read-write":Zn,required:Qn,root:function(e,t,r,a,n){return Boolean((!a||"root"===a.type)&&n.schema&&("html"===n.schema.space||"svg"===n.schema.space)&&("html"===t.tagName||"svg"===t.tagName))},scope:function(e,t,r,a,n){return n.scopeElements.includes(t)}}});function Jn(e,t,r,a,n){for(var s=e.pseudos,i=-1;++i"===d.nestingOperator?"directChild":"descendant",u)}else e.found=!0,e.results.includes(r)||e.results.push(r)}null===o.rule.nestingOperator?us(s,"descendant",o):"~"===o.rule.nestingOperator&&us(s,"generalSibling",o)}return s}(e,ds(t,e.rootQuery.selectors),r,a,n)),!("children"in r)||e.shallow||e.one&&e.found||function(e,t,r){var a,n=ds(t.descendant,t.directChild),s=-1,i={count:0,types:new Map},o={count:0,types:new Map};for(;++s0&&t.length>0?[].concat((0,o.Z)(e),(0,o.Z)(t)):e&&e.length>0?e:t&&t.length>0?t:ns}function us(e,t,r){var a=e[t];a?a.push(r):e[t]=[r]}function cs(e,t){if("element"===t.type){var r=t.tagName.toUpperCase(),a=(e.types.get(r)||0)+1;e.count++,e.types.set(r,a)}}var ls=new(r(6408).N);function ps(e){if("string"!==typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return ls.parse(e)}function fs(e,t,r){return{rootQuery:ss(ps(e)),results:[],scopeElements:t?"root"===t.type?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:"svg"===r?xt.YP:xt.dy,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}ls.registerAttrEqualityMods("~","|","^","$","*"),ls.registerSelectorPseudos("any","matches","not","has"),ls.registerNestingOperators(">","+","~");var gs=function e(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(r){"text"===r.type?t+=r.value:"element"===r.type&&r.children&&Array.isArray(r.children)&&(t+=e(r.children))})),t},hs=function(e){var t=e||{},r=t.selector,a=t.rewrite;return function(e){if(a&&"function"===typeof a)if(r&&"string"===typeof r){var t=function(e,t,r){var a=fs(e,t,r);return is(a,t||void 0),a.results}(r,e);t&&t.length>0&&Je(e,t,(function(e,t,r){a(e,t,r)}))}else Je(e,(function(e,t,r){a(e,t,r)}))}},ms={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};function ys(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?ys(t.parentElement):null}function vs(e){var t=function(e){var t=ys(e.target);t&&(t.classList.add("active"),T()(t.dataset.code,(function(){setTimeout((function(){t.classList.remove("active")}),2e3)})))};(0,n.useEffect)((function(){var r,a;return null==(r=e.current)||r.removeEventListener("click",t,!1),null==(a=e.current)||a.addEventListener("click",t,!1),function(){var r;null==(r=e.current)||r.removeEventListener("click",t,!1)}}),[e])}var bs=function(e){return void 0===e&&(e={}),function(e){Je(e,(function(e){"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=(0,s.Z)({},e.properties,{"data-meta":String(e.data.meta)}))}))}},xs=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"],Rs=n.forwardRef((function(e,t){var r=e.prefixCls,a=void 0===r?"wmde-markdown wmde-markdown-color":r,d=e.className,u=e.source,c=e.style,l=e.disableCopy,p=void 0!==l&&l,f=e.skipHtml,g=void 0===f||f,m=e.onScroll,y=e.onMouseOver,v=e.pluginsFilter,b=e.rehypeRewrite,x=e.wrapperElement,R=void 0===x?{}:x,E=e.warpperElement,D=void 0===E?{}:E,w=(0,i.Z)(e,xs),j=n.useRef(null);(0,n.useImperativeHandle)(t,(function(){return(0,s.Z)({},e,{mdp:j})}),[j,e]);var C=(a||"")+" "+(d||"");vs(j);var A=[bs,[Tn,{ignoreMissing:!0}],un,hn,xn,[hs,{rewrite:function(e,t,r){if("element"===e.type&&r&&"root"===r.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var a=e.children&&e.children[0];a&&a.properties&&"true"===a.properties.ariaHidden&&(a.properties=(0,s.Z)({class:"anchor"},a.properties),a.children=[ms])}if("element"===e.type&&"pre"===e.tagName&&!p){var n=gs(e.children);e.children.push((void 0===(i=n)&&(i=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":i},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var i;b&&b(e,t,r)}}],[bn,{properties:"attr"}]].concat((0,o.Z)(w.rehypePlugins||[])),S={allowElement:function(e,t,r){return w.allowElement?w.allowElement(e,t,r):/^[A-Za-z0-9]+$/.test(e.tagName)}};g&&A.push(Za);var k=[].concat((0,o.Z)(w.remarkPlugins||[]),[ja]),T=(0,s.Z)({},D,R);return(0,h.jsx)("div",(0,s.Z)({ref:j,onScroll:m,onMouseOver:y},T,{className:C,style:c,children:(0,h.jsx)(Ut,(0,s.Z)({},S,w,{skipHtml:g,rehypePlugins:v?v("rehype",A):A,remarkPlugins:v?v("remark",k):k,children:u||""}))}))})),Es={components:{34:function(){var e=a(r(8573)),t=a(r(7269));function a(e){return e&&e.__esModule?e:{default:e}}function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);r arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}, {\n date: \'2016/01/12\',\n count: 20\n}, {\n date: \'2016/01/13\',\n count: 10\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx,\n content: \'\'\n };\n})), [{\n date: \'2016/04/11\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/04\',\n count: 11\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo"},64:{name:64,meta:{},code:"\"use strict\";\n\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _reactHeatMap = _interopRequireDefault(require(\"@uiw/react-heat-map\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar value = [{\n date: '2016/01/11',\n count: 2\n}, {\n date: '2016/04/12',\n count: 2\n}, {\n date: '2016/05/01',\n count: 5\n}, {\n date: '2016/05/02',\n count: 5\n}, {\n date: '2016/05/03',\n count: 1\n}, {\n date: '2016/05/04',\n count: 11\n}, {\n date: '2016/05/08',\n count: 32\n}];\nvar Demo = function Demo() {\n return /*#__PURE__*/_react[\"default\"].createElement(_reactHeatMap[\"default\"], {\n value: value,\n width: 600,\n style: {\n color: '#ad001d'\n },\n startDate: new Date('2016/01/01'),\n panelColors: {\n 0: '#f4decd',\n 2: '#e4b293',\n 4: '#d48462',\n 10: '#c2533a',\n 20: '#ad001d',\n 30: '#000'\n }\n });\n};\nreturn Demo;",language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo"},103:{name:103,meta:{},code:'"use strict";\n\nfunction _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(5),\n _useState2 = _slicedToArray(_useState, 2),\n range = _useState2[0],\n setRange = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("input", {\n type: "range",\n min: "0",\n max: "5",\n step: "0.1",\n value: range,\n onChange: function onChange(e) {\n return setRange(e.target.value);\n }\n }), " ", range, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n startDate: new Date(\'2016/01/01\'),\n legendRender: function legendRender(props) {\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n y: props.y + 10,\n rx: range\n }));\n },\n rectProps: {\n rx: range\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo"},143:{name:143,meta:{},code:'"use strict";\n\nvar _react = _interopRequireDefault(require("react"));\nvar _reactTooltip = _interopRequireDefault(require("@uiw/react-tooltip"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n // if (!data.count) return ;\n return /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {\n key: props.key,\n placement: "top",\n content: "count: ".concat(data.count || 0)\n }, /*#__PURE__*/_react["default"].createElement("rect", props));\n }\n });\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo"},182:{name:182,meta:{},code:'"use strict";\n\nfunction _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(0),\n _useState2 = _slicedToArray(_useState, 2),\n size = _useState2[0],\n setSize = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("label", {\n style: {\n userSelect: \'none\'\n }\n }, /*#__PURE__*/_react["default"].createElement("input", {\n type: "checkbox",\n checked: size === 0,\n onChange: function onChange(e) {\n return setSize(e.target.checked ? 0 : 12);\n }\n }), size === 0 ? \' Hide\' : \' Show\', " Legend"), /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n legendCellSize: size,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo"},224:{name:224,meta:{},code:'"use strict";\n\nfunction _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(\'\'),\n _useState2 = _slicedToArray(_useState, 2),\n selected = _useState2[0],\n setSelected = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n if (selected !== \'\') {\n props.opacity = data.date === selected ? 1 : 0.45;\n }\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n onClick: function onClick() {\n setSelected(data.date === selected ? \'\' : data.date);\n }\n }));\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo"}},source:"HeatMap \u65e5\u5386\u70ed\u56fe\n===\n\x3c!--rehype:style=text-align: center;--\x3e\n\n[![Build & Deploy](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/npm/dm/@uiw/react-heat-map.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-heat-map.svg)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-heat-map)](https://bundlephobia.com/result?p=@uiw/react-heat-map)\n[![Open in Gitpod](https://shields.io/badge/Open%20in-Gitpod-green?logo=Gitpod)](https://gitpod.io/#https://github.com/uiwjs/react-codemirror)\n[![jsDelivr CDN](https://data.jsdelivr.com/v1/package/npm/@uiw/react-heat-map/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@uiw/react-heat-map)\n\x3c!--rehype:style=text-align: center;--\x3e\n\nA lightweight calendar heatmap react component built on SVG, customizable version of GitHub's contribution graph. Try it out on [website example](https://uiwjs.github.io/react-heat-map/).\n\n\x3c!--rehype:ignore:start--\x3e\n\n[![](https://user-images.githubusercontent.com/1680273/186116433-d58c2b6d-8468-4322-943c-9b63c2e447e4.png)](https://uiwjs.github.io/react-heat-map)\n\n\x3c!--rehype:ignore:end--\x3e\n\n## Install\n\n```bash\n# Not dependent on uiw.\nnpm install @uiw/react-heat-map --save\n```\n\n## Basic Usage\n\nBasic usage example, Please pay warning to the time setting.\n\n\u26a0\ufe0f Example: ~~`2016-01-11`\x3c!--rehype:style=color: red;background-color: #ffd8d8;--\x3e~~ -> `2016/01/11`\x3c!--rehype:style=color: green;background: #a7e4b5;--\x3e, Support `Safari`\x3c!--rehype:style=background-color: #87d499;--\x3e\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo\n```\n\n## Set Color\n\nSet the theme color style.\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo\n```\n\n## Set Rect Style\n\nSet the radius of the rect.\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Tooltip\n\nA simple text popup tip.\n\n```jsx mdx:preview\nimport React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo\n```\n\n## Show/Hide Legend\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo\n```\n\n## Selected Rect\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Props\n\n| Property | Description | Type | Default |\n| ---- | ---- | ---- | ---- |\n| value | Data to be displayed, **required** | Array | `[]` |\n| rectSize | Grid size | number | `11` |\n| legendCellSize | Size of the legend cells, in pixel. Value equal to `0` hide legend. | number | `11` |\n| startDate | Start date | Date | `new Date()` |\n| endDate | End date | Date | - |\n| space | Interval between grid sizes | number | `2` |\xa0\n| rectProps | Grid node attribute settings | `React.SVGProps` | `2` |\n| weekLabels | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']` |\xa0\n| monthLabels | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']` |\xa0\n| panelColors | Backgroud color of active colors | `Record` | `{ 0: '#EBEDF0', 8: '#7BC96F', 4: '#C6E48B', 12: '#239A3B', 32: '#196127' }` |\xa0\n| rectRender | Single `day` block re-render | `(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - |\n| legendRender | Single `legend` block re-render | `(props: React.SVGProps) => React.ReactNode` | - |\n\n## Development\n\n**`development`**\n\nRuns the project in development mode. \n\n```bash\nnpm install\n```\n\n```bash\n# Step 1, run first, listen to the component compile and output the .js file\n# listen for compilation output type .d.ts file\nnpm run watch\n# Step 2, development mode, listen to compile preview website instance\nnpm run start\n```\n\n**`production`**\n\nBuilds the app for production to the build folder.\n\n```bash\nnpm run build\nnpm run doc\n```\n\nThe build is minified and the filenames include the hashes.\nYour app is ready to be deployed!\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n\n \n\n\nMade with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n"},Ds=["inline","node"],ws=["data-meta"],js=z.Preview,Cs=z.Code,As=z.Toolbar,Ss=function(e){var t,r=e.inline,a=e.node,s=(0,b.Z)(e,Ds),i=(0,n.useRef)(null),o=s,d=o["data-meta"],u=(0,b.Z)(o,ws);if((0,n.useEffect)((function(){if(i.current){var e=i.current.parentElement;e&&e.parentElement&&e.parentElement.replaceChild(i.current,e)}}),[i]),r||!H(d))return(0,h.jsx)("code",(0,v.Z)({},s));var c=null===(t=a.position)||void 0===t?void 0:t.start.line,l=q(d)||String(c),p=Es.components["".concat(l)];if(l&&"function"===typeof p){var f=Es.data[l].value||"",g=V(d);return(0,h.jsxs)(z,{children:[(0,h.jsx)(js,{children:(0,h.jsx)(p,{})}),(0,h.jsx)(As,{text:f,children:g.title||"Code Example"}),(0,h.jsx)(Cs,{children:(0,h.jsx)("code",(0,v.Z)({},u))})]})}return(0,h.jsx)("code",(0,v.Z)({},u))};function ks(){return(0,h.jsx)(Rs,{style:{maxWidth:920,margin:"0 auto",padding:"30px 10px 0 10px"},disableCopy:!0,rehypePlugins:[xn],source:Es.source,components:{code:Ss}})}var Ts=r(3480),Fs=r(7269),Ps="App_header__G9FVm",_s="App_logo__8q6ZT",Is="App_info__vaSms",Bs="App_app__ozyN1",Os="App_example__uwPPL",Ns="App_tools__iziyx",Ms=[{date:"2016/01/11",count:2,content:""}].concat((0,o.Z)((0,o.Z)(Array(17)).map((function(e,t){return{date:"2016/02/".concat(t+10),count:t,content:""}}))),[{date:"2016/03/02",count:5,content:""},{date:"2016/03/04",count:11,content:""},{date:"2016/03/14",count:31,content:""},{date:"2016/03/16",count:2,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/05/01",count:5,content:""},{date:"2016/05/02",count:5,content:""},{date:"2016/05/04",count:11,content:""},{date:"2016/05/14",count:31,content:""},{date:"2016/05/16",count:2,content:""},{date:"2016/05/17",count:2,content:""},{date:"2016/05/18",count:2,content:""},{date:"2016/05/19",count:8,content:""},{date:"2016/05/20",count:6,content:""},{date:"2016/05/21",count:41,content:""},{date:"2016/05/22",count:6,content:""},{date:"2016/06/11",count:2,content:""},{date:"2016/07/01",count:5,content:""},{date:"2016/07/02",count:5,content:""},{date:"2016/07/04",count:11,content:""},{date:"2016/07/14",count:31,content:""},{date:"2016/07/16",count:2,content:""},{date:"2016/07/17",count:2,content:""},{date:"2016/07/18",count:2,content:""},{date:"2016/07/19",count:8,content:""},{date:"2016/07/20",count:6,content:""},{date:"2016/07/21",count:41,content:""},{date:"2016/07/22",count:6,content:""}],(0,o.Z)((0,o.Z)(Array(17)).map((function(e,t){return{date:"2016/08/".concat(t+10),count:t,content:""}})))),Ls=[{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/04/01",count:5,content:""},{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/20",count:6,content:""},{date:"2016/04/21",count:41,content:""},{date:"2016/04/22",count:6,content:""}],Us={0:"rgb(255 255 255 / 25%)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#196127"};function zs(){var e=(0,n.useState)(Ms),t=(0,x.Z)(e,2),r=t[0],a=t[1],s=(0,n.useState)(),i=(0,x.Z)(s,2),o=i[0],d=i[1],u=(0,n.useState)(!1),c=(0,x.Z)(u,2),l=c[0],p=c[1],f=(0,n.useState)(!1),g=(0,x.Z)(f,2),m=g[0],y=g[1],b=(0,n.useState)(!1),R=(0,x.Z)(b,2),E=R[0],D=R[1],w=(0,n.useState)(11),j=(0,x.Z)(w,2),C=j[0],A=j[1],S=(0,n.useState)(),k=(0,x.Z)(S,2),T=k[0],F=k[1],P=(0,n.useState)(void 0),_=(0,x.Z)(P,2),I=_[0],B=_[1],O=(0,n.useState)(void 0),N=(0,x.Z)(O,2),M=N[0],L=N[1];return(0,h.jsxs)(n.Fragment,{children:[(0,h.jsx)("div",{className:Os,style:{width:663},children:(0,h.jsx)(Fs.default,{style:{backgroundColor:m?"#000":"#fff",color:m?"#888":"#000"},panelColors:m?Us:void 0,width:663,rectSize:C,legendCellSize:T,weekLabels:I,monthLabels:M,startDate:new Date("2016/01/01"),endDate:l?new Date("2016/6/01"):void 0,value:r,rectProps:{rx:E?5:0,onClick:function(e){d(e.target.dataset.date)}},legendRender:function(e){return(0,h.jsx)("rect",(0,v.Z)((0,v.Z)({},e),{},{rx:E?5:0}))},rectRender:function(e,t){return(0,h.jsx)(Ts.default,{placement:"top",content:"count: ".concat(t.count||0),children:(0,h.jsx)("rect",(0,v.Z)({},e))},e.key)}})}),(0,h.jsxs)("div",{style:{width:663,margin:"0 auto"},className:Ns,children:[(0,h.jsxs)("div",{style:{paddingLeft:10,paddingBottom:20},children:[(0,h.jsx)("button",{onClick:function(){return a(Ms)},children:"Value 1"}),(0,h.jsx)("button",{onClick:function(){return a(Ls)},children:"Value 2"}),(0,h.jsx)("span",{children:o})]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"checkbox",checked:l,onChange:function(e){return p(e.target.checked)}}),"endDate = ",l?"2016/6/01":"undefined"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"checkbox",checked:m,onChange:function(e){return y(e.target.checked)}}),m?"Dark":"Light"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"checkbox",checked:E,onChange:function(e){return D(e.target.checked)}}),E?"Circle":"Rect"]}),(0,h.jsxs)("label",{style:{marginTop:15},children:[(0,h.jsx)("input",{type:"radio",name:"weekLabels",checked:void 0===I,onChange:function(e){return B(void 0)}}),"weekLabels = undefined, Default: ",JSON.stringify(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"weekLabels",checked:!1===I,onChange:function(e){return B(!1)}}),"weekLabels = false"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"weekLabels",checked:Array.isArray(I),onChange:function(e){return B(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])}}),"weekLabels = ",JSON.stringify(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])]}),(0,h.jsxs)("label",{style:{marginTop:15},children:[(0,h.jsx)("input",{type:"radio",name:"monthLabels",checked:void 0===M,onChange:function(e){return L(void 0)}}),"monthLabels = undefined, Default:"," ",JSON.stringify(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"])]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"monthLabels",checked:!1===M,onChange:function(e){return L(!1)}}),"monthLabels = false"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"monthLabels",checked:Array.isArray(M),onChange:function(e){return L(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])}}),"monthLabels = ",JSON.stringify(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])]}),(0,h.jsxs)("div",{style:{display:"flex",marginTop:10},children:[(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"rectSize",checked:11===C,onChange:function(e){return A(11)}}),"rectSize = 11"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"rectSize",checked:12===C,onChange:function(e){return A(12)}}),"rectSize = 12"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"rectSize",checked:14===C,onChange:function(e){return A(14)}}),"rectSize = 14"]})]}),(0,h.jsx)("div",{style:{display:"flex",marginTop:16},children:(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"number",value:T||"",onChange:function(e){return F(Number(e.target.value)||0)}}),"legendCellSize = ",T]})})]})]})}var Vs=r.p+"static/media/logo.3931a054f5ef8356122965d973d55570.svg",qs=function(){return(0,h.jsxs)("div",{className:Bs,children:[(0,h.jsx)("dark-mode",{permanent:!0,style:{position:"fixed",top:8,left:10,zIndex:10}}),(0,h.jsx)(y,{zIndex:9999,fixed:!0,href:"https://github.com/uiwjs/react-heat-map"}),(0,h.jsxs)("header",{className:Ps,children:[(0,h.jsx)("img",{src:Vs,className:_s,alt:"react logo"}),(0,h.jsx)("p",{className:Is,children:"React component create calendar heatmap to visualize time series data, a la github contribution graph."}),(0,h.jsx)(zs,{})]}),(0,h.jsx)(ks,{})]})},Hs=document.getElementById("root");(0,a.s)(Hs).render((0,h.jsx)(qs,{}))},7269:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var a=r(5773),n=r(808),s=r(8573),i=r(649),o=r(1026),d=r(4760),u=function(e){var t=e.weekLabels,r=void 0===t?[]:t,a=e.rectSize,n=void 0===a?0:a,o=e.topPad,u=void 0===o?0:o,c=e.space,l=void 0===c?0:c;return(0,s.useMemo)((function(){return(0,d.jsx)(s.Fragment,{children:(0,i.Z)(Array(7)).map((function(e,t){return r&&r[t]?(0,d.jsx)("text",{x:15,y:u,dy:(t+1)*(n+l)-5,children:r[t]},t):null}))})}),[n,l,u,r])},c=864e5;function l(e){return e instanceof Date&&!isNaN(e.getTime())}function p(e){return e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate()}var f=function(e){var t=e.monthLabels,r=void 0===t?[]:t,a=e.rectSize,n=void 0===a?0:a,o=e.space,u=void 0===o?0:o,l=e.leftPad,p=void 0===l?0:l,f=e.colNum,g=void 0===f?0:f,h=e.startDate,m=(0,s.useMemo)((function(){return!1===r||g<1?[]:(0,i.Z)(Array(7*g)).map((function(e,t){if(t/7%1===0){var a=new Date(h.getTime()+t*c),n=a.getMonth();return{col:t/7,index:t,month:n,day:a.getDate(),monthStr:r[n],date:a}}return null})).filter(Boolean).filter((function(e,t,r){return r[t-1]&&r[t-1].month!==e.month}))}),[g,r,h]);return(0,s.useMemo)((function(){return(0,d.jsx)(s.Fragment,{children:(0,i.Z)(m).map((function(e,t){return(0,d.jsx)("text",{"data-size":n,x:p+u+u,y:15,dx:e.col*(n+u),textAnchor:"start",children:e.monthStr},t)}))})}),[m,p,n,u])},g=function(e){return(0,d.jsx)("rect",(0,a.Z)({},e))},h=["panelColors","leftPad","topPad","space","rectSize","legendCellSize","legendRender"];function m(e){var t=e.panelColors,r=e.leftPad,i=void 0===r?0:r,o=e.topPad,u=void 0===o?0:o,c=(e.space,e.rectSize),l=void 0===c?0:c,p=e.legendCellSize,f=void 0===p?0:p,m=e.legendRender,y=(0,n.Z)(e,h),v=f||l;return(0,s.useMemo)((function(){return(0,d.jsx)(s.Fragment,{children:Object.keys(t||{}).map((function(e,r){var n=(0,a.Z)({},y,{key:r,x:(v+1)*r+i,y:u+8*l+6,fill:t[Number(e)],width:v,height:v});return m?m(n):(0,d.jsx)(g,(0,a.Z)({},n))}))})}),[t,y,v,i,u,l,m])}var y=["rectSize","legendCellSize","space","startDate","endDate","rectProps","rectRender","legendRender","value","weekLabels","monthLabels","panelColors"];function v(e){var t=e||{},r=t.rectSize,h=void 0===r?11:r,v=t.legendCellSize,b=void 0===v?11:v,x=t.space,R=void 0===x?2:x,E=t.startDate,D=void 0===E?new Date:E,w=t.endDate,j=t.rectProps,C=t.rectRender,A=t.legendRender,S=t.value,k=void 0===S?[]:S,T=t.weekLabels,F=void 0===T?["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]:T,P=t.monthLabels,_=void 0===P?["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]:P,I=t.panelColors,B=void 0===I?{0:"#EBEDF0",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#196127"}:I,O=(0,n.Z)(t,y),N=(0,s.useState)(0),M=(0,o.Z)(N,2),L=M[0],U=M[1],z=(0,s.useState)(F?28:5),V=(0,o.Z)(z,2),q=V[0],H=V[1],G=(0,s.useState)(_?20:5),W=(0,o.Z)(G,2),K=W[0],X=W[1],J=s.createRef(),Y=(0,s.useMemo)((function(){return void 0===(e=Object.keys(B).map((function(e){return parseInt(e,10)})))&&(e=[]),e.sort((function(e,t){return et?1:0}));var e}),[B]),$=(0,s.useMemo)((function(){return function(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){e.date&&l(new Date(e.date))&&(e.date=p(new Date(e.date)),t[e.date]=e)})),t}(k)}),[k]);(0,s.useEffect)((function(){return H(F?28:5)}),[F]),(0,s.useEffect)((function(){if(J.current){var e=J.current.clientWidth-q||0;U(Math.floor(e/(h+R))||0)}}),[h,J,R,q]),(0,s.useEffect)((function(){X(_?20:5)}),[_]);var Z=(0,s.useMemo)((function(){if(l(D))return D.getDay()?new Date(D.getTime()-D.getDay()*c):D;var e=new Date;return new Date(e.getTime()-e.getDay()*c)}),[D]);return(0,d.jsxs)("svg",(0,a.Z)({ref:J},O,{children:[0!==b&&(0,d.jsx)(m,{legendRender:A,panelColors:B,rectSize:h,legendCellSize:b,leftPad:q,topPad:K,space:R}),(0,d.jsx)(u,{weekLabels:F,rectSize:h,space:R,topPad:K}),(0,d.jsx)(f,{monthLabels:_,rectSize:h,space:R,leftPad:q,colNum:L,startDate:Z}),(0,d.jsx)("g",{transform:"translate("+q+", "+K+")",children:L>0&&(0,i.Z)(Array(L)).map((function(e,t){return(0,d.jsx)("g",{"data-column":t,children:(0,i.Z)(Array(7)).map((function(e,r){var n=(0,a.Z)({},j,{key:r,fill:"#EBEDF0",width:h,height:h,x:t*(h+R),y:(h+R)*r}),i=new Date(Z.getTime()+c*(7*t+r)),o=p(i),u=(0,a.Z)({},$[o],{date:o,row:r,column:t,index:7*t+r});if(w instanceof Date&&i.getTime()>w.getTime())return null;if(o&&$[o]&&B&&Object.keys(B).length>0?n.fill=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r={});for(var a="",n=0;ne){a=r[t[n]];break}a=r[t[n]]}return a}($[o].count||0,Y,B):B&&B[0]&&(n.fill=B[0]),C&&"function"===typeof C){var l=C((0,a.Z)({},n,{key:r}),u);if(l&&s.isValidElement(l))return l}return(0,d.jsx)(g,(0,a.Z)({},n,{"data-date":o,"data-index":u.index,"data-row":u.row,"data-column":u.column}))}))},t)}))})]}))}var b=["prefixCls","className"];function x(e){var t=e.prefixCls,r=void 0===t?"w-heatmap":t,s=e.className,i=(0,n.Z)(e,b),o=[s,r].filter(Boolean).join(" ");return(0,d.jsx)(v,(0,a.Z)({className:o},i))}},3376:function(e){e.exports=function(){"use strict";function e(e,t){if("undefined"!==typeof document){var r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style={position:"absolute",left:"-9999px"},document.body.appendChild(r);var a=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);r.select();var n=!1;try{n=!!document.execCommand("copy")}catch(s){n=!1}document.body.removeChild(r),a&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(a)),t&&t(n)}}return e}()},3480:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return X}});var a=r(5773),n=r(808),s=r(8573),i=r(726),o=r(1026);function d(){}var u=r(3219);function c(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=r(6836),p=!1,f=s.createContext(null),g=function(e){return e.scrollTop},h="unmounted",m="exited",y="entering",v="entered",b="exiting",x=function(e){function t(t,r){var a;a=e.call(this,t,r)||this;var n,s=r&&!r.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?s?(n=m,a.appearStatus=y):n=v:n=t.unmountOnExit||t.mountOnEnter?h:m,a.state={status:n},a.nextCallback=null,a}(0,u.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===h?{status:m}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==y&&r!==v&&(t=y):r!==y&&r!==v||(t=b)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,a=this.props.timeout;return e=t=r=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,r=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===y){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);r&&g(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:h})},r.performEnter=function(e){var t=this,r=this.props.enter,a=this.context?this.context.isMounting:e,n=this.props.nodeRef?[a]:[l.findDOMNode(this),a],s=n[0],i=n[1],o=this.getTimeouts(),d=a?o.appear:o.enter;!e&&!r||p?this.safeSetState({status:v},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,i),this.safeSetState({status:y},(function(){t.props.onEntering(s,i),t.onTransitionEnd(d,(function(){t.safeSetState({status:v},(function(){t.props.onEntered(s,i)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),a=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!p?(this.props.onExit(a),this.safeSetState({status:b},(function(){e.props.onExiting(a),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(a)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(a){r&&(r=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),a=null==e&&!this.props.addEndListener;if(r&&!a){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=n[0],i=n[1];this.props.addEndListener(s,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===h)return null;var t=this.props,r=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(f.Provider,{value:null},"function"===typeof r?r(e,a):s.cloneElement(s.Children.only(r),a))},t}(s.Component);function R(){}x.contextType=f,x.propTypes={},x.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:R,onEntering:R,onEntered:R,onExit:R,onExiting:R,onExited:R},x.UNMOUNTED=h,x.EXITED=m,x.ENTERING=y,x.ENTERED=v,x.EXITING=b;var E=x,D=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return a=t,void((r=e).classList?r.classList.remove(a):"string"===typeof r.className?r.className=c(r.className,a):r.setAttribute("class",c(r.className&&r.className.baseVal||"",a)));var r,a}))},w=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;ng.height&&(d.placement=s.replace(/^top/,"bottom"),d.top=d.top+g.height+f.height),s&&/^(bottom)/.test(s)&&hg.height&&(d.placement=s.replace(/^bottom/,"top"),d.top=d.top-g.height-f.height),s&&/^(right)/.test(s)&&m0){var e,t=(0,i.Z)(N.current);try{for(t.s();!(e=t.n()).done;){var r=e.value;window.clearTimeout(r)}}catch(a){t.e(a)}finally{t.f()}N.current=[]}}function re(){var t;te(),M.current="show";var r=G(e.delay);if(r.show||null!=(t=e.children)&&t.props.disabled){var a=window.setTimeout((function(){"show"===M.current&&ie()}),r.show);clearTimeout(a),N.current.push(a)}else ie()}function ae(t){if(te(),t||!e.isOutside){M.current="hide";var r=G(e.delay);if(r.hide){var a=window.setTimeout((function(){"hide"===M.current&&se()}),r.hide);N.current.push(a)}else se()}}function ne(e,t,r){var a=t.currentTarget,n=t.relatedTarget||t.nativeEvent[r],s=!0;(O.current&&_(O.current,n)||B.current&&_(B.current,n))&&(s=!1),n&&n===a||_(a,n)||e(s,t)}function se(){z&&(I.current<=999?I.current=999:I.current-=1,V(!1))}function ie(){var e;if(!z){var t=null==(e=B.current)?void 0:e.style.zIndex;t?I.current=Number(t)+1:I.current+=1,V(!0)}}return"click"!==b||y||(Z.onClick=function(e){var t=(Y&&s.isValidElement(Y)?Y.props:{}).onClick;z?se():ie(),t&&t(e,!z)}),"focus"!==b||y||(Z.onFocus=function(){return re()}),"hover"!==b||y||(Z.onMouseOver=Z.onMouseEnter=function(e){ne(re,e,"fromElement")},Z.onMouseOut=Z.onMouseLeave=function(e){ne(ae,e,"toElement")},$.dialogProps&&($.dialogProps.onMouseLeave=function(e){ne(ae,e,"toElement")})),$.style=(0,a.Z)({},$.style,X),(0,S.jsxs)(s.Fragment,{children:[(0,s.cloneElement)(Y,Object.assign({},Y.props,(0,a.Z)({},Z,{ref:B,style:(0,a.Z)({},null==(r=Y.props)?void 0:r.style,{zIndex:I.current}),className:[Y.props.className,y?l+"-disabled":null].filter(Boolean).join(" ").trim()}))),(0,S.jsx)(T,(0,a.Z)({},$,{style:(0,a.Z)({},$.style,X),onEnter:function(e,t){F&&F(e,t);var r=q({placement:X.placement||R,trigger:B.current,popup:O.current,usePortal:f,autoAdjustOverflow:E});J((0,a.Z)({},r,{zIndex:I.current}))},className:[l,u,X.placement].filter(Boolean).join(" ").trim(),usePortal:f,transitionName:D,isOpen:z,hasBackdrop:!1,children:(0,s.cloneElement)(j,Object.assign((0,a.Z)({},j.props,{ref:O,className:[j.props&&j.props.className,R].filter(Boolean).join(" ").trim()})))}))]})})),K=["prefixCls","className","placement","isOpen","trigger","delay","usePortal","visibleArrow","onVisibleChange"],X=function(e){void 0===e&&(e={});var t=e,r=t.prefixCls,s=void 0===r?"w-tooltip":r,i=t.className,o=t.placement,d=void 0===o?"top":o,u=t.isOpen,c=void 0!==u&&u,l=t.trigger,p=t.delay,f=t.usePortal,g=void 0===f||f,h=t.visibleArrow,m=void 0===h||h,y=t.onVisibleChange,v=(0,n.Z)(e,K),b=[s,i,m?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,S.jsx)(W,(0,a.Z)({usePortal:g,isOpen:c,trigger:l,delay:p,onVisibleChange:y,placement:d},v,{overlay:(0,S.jsxs)("div",{className:b,children:[m&&(0,S.jsx)("div",{className:s+"-arrow"}),(0,S.jsx)("div",{className:s+"-inner",children:e.content})]}),children:"object"===typeof e.children?e.children:(0,S.jsx)("span",{children:e.children})}))}},6155:function(e,t,r){var a=r(8983).default,n=r(2081).default,s=r(7266).default,i=r(8724).default,o=r(670).default,d=r(9952).default,u=r(3231).default,c=document,l="_dark_mode_theme_",p="permanent",f="colorschemechange",g="light",h="dark",m=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get:function(){var e=this.getAttribute(t);return null===e?"":e},set:function(e){this.setAttribute(t,e)}})},y=function(e){"use strict";i(r,e);var t=o(r);function r(){var e;return a(this,r),e=t.call(this),u(s(e),"LOCAL_NANE",l),e.t(),e}return n(r,[{key:"connectedCallback",value:function(){var e=this;m(this,"mode"),m(this,h),m(this,g),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get:function(){return this.hasAttribute(t)},set:function(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,p);var t=localStorage.getItem(l);t&&[g,h].includes(t)&&(this.mode=t,this.permanent=!0),this.permanent&&!t&&localStorage.setItem(l,this.mode);var r=[g,h].includes(t);this.permanent&&t?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=h,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=g,this.o())),this.permanent||r||(window.matchMedia("(prefers-color-scheme: light)").onchange=function(t){e.mode=t.matches?g:h,e.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=function(t){e.mode=t.matches?h:g,e.o()}),new MutationObserver((function(t,a){e.mode=c.documentElement.dataset.colorMode,e.permanent&&r&&(localStorage.setItem(l,e.mode),e.i("permanentcolorscheme",{permanent:e.permanent})),e.h(),e.i(f,{colorScheme:e.mode})})).observe(c.documentElement,{attributes:!0}),this.i(f,{colorScheme:this.mode}),this.h()}},{key:"attributeChangedCallback",value:function(e,t,r){if("mode"===e&&t!==r&&[g,h].includes(r)){var a=localStorage.getItem(l);this.mode===a?(this.mode=r,this.h(),this.o()):this.mode&&this.mode!==a&&(this.h(),this.o())}else e!==g&&e!==h||t===r||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(l,this.mode):localStorage.removeItem(l))}},{key:"o",value:function(){c.documentElement.setAttribute("data-color-mode",this.mode)}},{key:"h",value:function(){this.icon.textContent=this.mode===g?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===g?this.getAttribute(h):this.getAttribute(g),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}},{key:"t",value:function(){var e=this,t=this.attachShadow({mode:"open"});this.label=c.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=function(){e.mode=e.mode===g?h:g,e.permanent&&localStorage.setItem(l,e.mode),e.o(),e.h()},t.appendChild(this.label),this.icon=c.createElement("span"),this.label.appendChild(this.icon),this.text=c.createElement("span"),this.label.appendChild(this.text);var r="_dark_mode_style_";if(!c.getElementById(r)){var a=c.createElement("style");a.id=r,a.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",c.head.appendChild(a)}var n=c.createElement("style");n.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",t.appendChild(n)}},{key:"i",value:function(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}],[{key:"observedAttributes",get:function(){return["mode",g,h,p]}}]),r}(d(HTMLElement));customElements.define("dark-mode",y)},4838:function(e,t){"use strict";function r(e,t){return(Array.isArray(t)?t:[t]).some((function(t){return"string"===typeof t&&(t=new RegExp(t)),t.test(e||"")}))}},8916:function(e,t){"use strict"},7190:function(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},6408:function(e,t,r){"use strict";var a=r(4272),n=r(3914),s=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t=o)throw Error("Expected symbol but end of file reached.");if(d=e.charAt(t),a.identSpecialChars[d])r+=d;else{if(a.isHex(d)){var n=d;for(t++,d=e.charAt(t);a.isHex(d);)n+=d,t++,d=e.charAt(t);" "===d&&(t++,d=e.charAt(t)),r+=String.fromCharCode(parseInt(n,16));continue}r+=d}}t++,d=e.charAt(t)}return r}function l(){d=e.charAt(t);for(var r=!1;" "===d||"\t"===d||"\n"===d||"\r"===d||"\f"===d;)r=!0,t++,d=e.charAt(t);return r}function p(){var r=f();if(!r)return null;var a=r;for(d=e.charAt(t);","===d;){if(t++,l(),"selectors"!==a.type&&(a={type:"selectors",selectors:[r]}),!(r=f()))throw Error('Rule expected after ",".');a.selectors.push(r)}return a}function f(){l();var r={type:"ruleSet"},a=g();if(!a)return null;for(var n=r;a&&(a.type="rule",n.rule=a,n=a,l(),d=e.charAt(t),!(t>=o||","===d||")"===d));)if(s[d]){var i=d;if(t++,l(),!(a=g()))throw Error('Rule expected after "'+i+'".');a.nestingOperator=i}else(a=g())&&(a.nestingOperator=null);return r}function g(){for(var s=null;t=o)throw Error('Expected "=" but end of file reached.');if("="!==d)throw Error('Expected "=" but "'+d+'" found.');f.operator=g+"=",t++,l();var h="";if(f.valueType="string",'"'===d)h=u('"',a.doubleQuotesEscapeChars);else if("'"===d)h=u("'",a.singleQuoteEscapeChars);else if(i&&"$"===d)t++,h=c(),f.valueType="substitute";else{for(;t=o)throw Error('Expected "]" but end of file reached.');if("]"!==d)throw Error('Expected "]" but "'+d+'" found.');t++,f.value=h}((s=s||{}).attrs=s.attrs||[]).push(f)}else{if(":"!==d)break;t++;var m=c(),y={name:m};if("("===d){t++;var v="";if(l(),"selector"===r[m])y.valueType="selector",v=p();else{if(y.valueType=r[m]||"string",'"'===d)v=u('"',a.doubleQuotesEscapeChars);else if("'"===d)v=u("'",a.singleQuoteEscapeChars);else if(i&&"$"===d)t++,v=c(),y.valueType="substitute";else{for(;t=o)throw Error('Expected ")" but end of file reached.');if(")"!==d)throw Error('Expected ")" but "'+d+'" found.');t++,y.value=v}((s=s||{}).pseudos=s.pseudos||[]).push(y)}return s}return function(){var r=p();if(t="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var r=e.length,a="",n=0;n="A"&&s<="Z"||s>="a"&&s<="z"||0!==n&&s>="0"&&s<="9")a+=s;else{var i=s.charCodeAt(0);if(55296===(63488&i)){var o=e.charCodeAt(n++);if(55296!==(64512&i)||56320!==(64512&o))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&o)+65536}a+="\\"+i.toString(16)+" "}n++}return a},t.escapeStr=function(e){for(var r,a=e.length,n="",s=0;s":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},432:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},i=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var a,n=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!s)return!1;for(a in e);return"undefined"===typeof a||t.call(e,a)},o=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},d=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(n)return n(e,r).value}return e[r]};e.exports=function e(){var t,r,a,n,u,c,l=arguments[0],p=1,f=arguments.length,g=!1;for("boolean"===typeof l&&(g=l,l=arguments[1]||{},p=2),(null==l||"object"!==typeof l&&"function"!==typeof l)&&(l={});ps&&(s=n):n=1,r=a+1,a=e.indexOf(t,r);return s}},8397:function(e,t,r){e.exports=r(4059)},7282:function(e){e.exports=function e(t,r){var a,n=-1;if(r.extensions)for(;++n"+(r?"":" ")+e}},114:function(e,t,r){e.exports=function(e,t,r,n){var s=-1;for(;++s"})+">"):(u=r.enter("destinationRaw"),c+=s(r,e.url,{before:" ",after:" "}));u(),e.title&&(u=r.enter("title"+o),c+=" "+i+s(r,e.title,{before:i,after:i})+i,u());return d(),c};var a=r(2638),n=r(5661),s=r(4586)},2486:function(e,t,r){e.exports=s,s.peek=function(e,t,r){return r.options.emphasis||"*"};var a=r(7166),n=r(7462);function s(e,t,r){var s=a(r),i=r.enter("emphasis"),o=n(e,r,{before:s,after:s});return i(),s+o+s}},6216:function(e,t,r){e.exports=function(e,t,r){var i,o,d,u,c=Math.max(Math.min(6,e.depth||1),1);if(n(e,r))return i=r.enter("headingSetext"),o=r.enter("phrasing"),d=s(e,r,{before:"\n",after:"\n"}),o(),i(),d+"\n"+a(1===c?"=":"-",d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf("\n"))+1));u=a("#",c),i=r.enter("headingAtx"),o=r.enter("phrasing"),d=(d=s(e,r,{before:"# ",after:"\n"}))?u+" "+d:u,r.options.closeAtx&&(d+=" "+u);return o(),i(),d};var a=r(4400),n=r(4797),s=r(7462)},2841:function(e){function t(e){return e.value||""}e.exports=t,t.peek=function(){return"<"}},4610:function(e,t,r){e.exports=s,s.peek=function(){return"!"};var a=r(2638),n=r(4586);function s(e,t,r){var s,i,o=e.referenceType,d=r.enter("imageReference"),u=r.enter("label"),c=n(r,e.alt,{before:"[",after:"]"}),l="!["+c+"]";return u(),i=r.stack,r.stack=[],u=r.enter("reference"),s=n(r,a(e),{before:"[",after:"]"}),u(),r.stack=i,d(),"full"!==o&&c&&c===s?"shortcut"!==o&&(l+="[]"):l+="["+s+"]",l}},7968:function(e,t,r){e.exports=s,s.peek=function(){return"!"};var a=r(5661),n=r(4586);function s(e,t,r){var s=a(r),i='"'===s?"Quote":"Apostrophe",o=r.enter("image"),d=r.enter("label"),u="!["+n(r,e.alt,{before:"[",after:"]"})+"](";return d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),u+="<"+n(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),u+=n(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+i),u+=" "+s+n(r,e.title,{before:s,after:s})+s,d()),u+=")",o(),u}},875:function(e,t,r){t.blockquote=r(5673),t.break=r(114),t.code=r(854),t.definition=r(2654),t.emphasis=r(2486),t.hardBreak=r(114),t.heading=r(6216),t.html=r(2841),t.image=r(7968),t.imageReference=r(4610),t.inlineCode=r(5197),t.link=r(3215),t.linkReference=r(8134),t.list=r(107),t.listItem=r(3805),t.paragraph=r(2183),t.root=r(2580),t.strong=r(580),t.text=r(9329),t.thematicBreak=r(8369)},5197:function(e,t,r){e.exports=n,n.peek=function(){return"`"};var a=r(6020);function n(e,t,r){for(var n,s,i,o,d=e.value||"",u="`",c=-1;new RegExp("(^|[^`])"+u+"([^`]|$)").test(d);)u+="`";for(/[^ \r\n]/.test(d)&&(/[ \r\n`]/.test(d.charAt(0))||/[ \r\n`]/.test(d.charAt(d.length-1)))&&(d=" "+d+" ");++c"})+">",o(),r.stack=c,u):(o=r.enter("link"),d=r.enter("label"),u="["+s(e,r,{before:"[",after:"]"})+"](",d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),u+="<"+i(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),u+=i(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+p),u+=" "+l+i(r,e.title,{before:l,after:l})+l,d()),u+=")",o(),u)}},3805:function(e,t,r){e.exports=function(e,t,r){var d,u,c,l=n(r),p=s(r);t&&t.ordered&&(l=(t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+".");d=l.length+1,("tab"===p||"mixed"===p&&(t&&t.spread||e.spread))&&(d=4*Math.ceil(d/4));return c=r.enter("listItem"),u=o(i(e,r),(function(e,t,r){if(t)return(r?"":a(" ",d))+e;return(r?l:l+a(" ",d-l.length))+e})),c(),u};var a=r(4400),n=r(7697),s=r(5211),i=r(5162),o=r(2357)},107:function(e,t,r){e.exports=function(e,t,r){var n=r.enter("list"),s=a(e,r);return n(),s};var a=r(5162)},2183:function(e,t,r){e.exports=function(e,t,r){var n=r.enter("paragraph"),s=r.enter("phrasing"),i=a(e,r,{before:"\n",after:"\n"});return s(),n(),i};var a=r(7462)},2580:function(e,t,r){e.exports=function(e,t,r){return a(e,r)};var a=r(5162)},580:function(e,t,r){e.exports=s,s.peek=function(e,t,r){return r.options.strong||"*"};var a=r(3312),n=r(7462);function s(e,t,r){var s=a(r),i=r.enter("strong"),o=n(e,r,{before:s,after:s});return i(),s+s+o+s+s}},9329:function(e,t,r){e.exports=function(e,t,r,n){return a(r,e.value,n)};var a=r(4586)},8369:function(e,t,r){e.exports=function(e,t,r){var i=a(s(r)+(r.options.ruleSpaces?" ":""),n(r));return r.options.ruleSpaces?i.slice(0,-1):i};var a=r(4400),n=r(9095),s=r(6899)},4059:function(e,t,r){e.exports=function(e,t){var r,l=t||{},p={enter:function(e){return p.stack.push(e),t;function t(){p.stack.pop()}},stack:[],unsafe:[],join:[],handlers:{},options:{}};n(p,{unsafe:o,join:i,handlers:s}),n(p,l),p.options.tightDefinitions&&(p.join=[c].concat(p.join));p.handle=a("type",{invalid:d,unknown:u,handlers:p.handlers}),(r=p.handle(e,null,p,{before:"\n",after:"\n"}))&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n");return r};var a=r(1569),n=r(7282),s=r(875),i=r(9312),o=r(4459);function d(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function u(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function c(e,t){if("definition"===e.type&&e.type===t.type)return 0}},9312:function(e,t,r){e.exports=[function(e,t,r,s){if("list"===t.type&&t.type===e.type&&Boolean(e.ordered)===Boolean(t.ordered)||"code"===t.type&&a(t,s)&&("list"===e.type||e.type===t.type&&a(e,s)))return!1;if("boolean"===typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&n(t,s)))return;return r.spread?1:0}}];var a=r(6363),n=r(4797)},4459:function(e){e.exports=[{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing"},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing"},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*"},{character:"*",inConstruct:"phrasing"},{atBreak:!0,character:"+"},{atBreak:!0,character:"-"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing"},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:["phrasing","label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{before:"[^A-Za-z]",character:"_",inConstruct:"phrasing"},{character:"_",after:"[^A-Za-z]",inConstruct:"phrasing"},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent","phrasing"]},{atBreak:!0,character:"~"}]},2638:function(e,t,r){e.exports=function(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(n,"$1").replace(s,i)};var a=r(7849),n=/\\([!-/:-@[-`{-~])/g,s=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(e,t){return a(t)||e}},7697:function(e){e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},7166:function(e){e.exports=function(e){var t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}},8827:function(e){e.exports=function(e){var t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}},5211:function(e){e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},5661:function(e){e.exports=function(e){var t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}},9095:function(e){e.exports=function(e){var t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}},6899:function(e){e.exports=function(e){var t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}},3312:function(e){e.exports=function(e){var t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}},5162:function(e,t,r){e.exports=function(e,t){var r,n=e.children||[],s=[],i=-1;for(;++i0&&("\r"===u||"\n"===u)&&"html"===s.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" "),o.push(t.handle(s,e,t,{before:u,after:a})),u=o[o.length-1].slice(-1);return o.join("")}},6363:function(e){e.exports=function(e,t){return!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)}},4797:function(e,t,r){e.exports=function(e,t){return t.options.setext&&(!e.depth||e.depth<3)&&a(e)};var a=r(9033)},2787:function(e,t,r){e.exports=function(e,t){var r=a(e);return!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url)};var a=r(9033)},2357:function(e){e.exports=function(e,r){var a,n=[],s=0,i=0;for(;a=t.exec(e);)o(e.slice(s,a.index)),n.push(a[0]),s=a.index+a[0].length,i++;return o(e.slice(s)),n.join("");function o(e){n.push(r(e,i,!e))}};var t=/\r?\n|\r/g},6020:function(e){e.exports=function(e){var t,r;e._compiled||(t=e.before?"(?:"+e.before+")":"",r=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(r||""),"g"));return e._compiled}},9906:function(e){function t(e,t,r){var a;if(!t)return r;for("string"===typeof t&&(t=[t]),a=-1;++a=g||u+1-1&&(N.call(this,e),M.call(this,e))}function U(){g("atHardBreak",!0)}function z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function V(){var e=this.resume();this.stack[this.stack.length-1].value=e}function q(){var e=this.resume();this.stack[this.stack.length-1].value=e}function H(){var e=this.stack[this.stack.length-1];h("inReference")?(e.type+="Reference",e.referenceType=h("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function G(){var e=this.stack[this.stack.length-1];h("inReference")?(e.type+="Reference",e.referenceType=h("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function W(e){this.stack[this.stack.length-2].identifier=i(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function X(){var e=this.resume();this.stack[this.stack.length-1].url=e}function J(){var e=this.resume();this.stack[this.stack.length-1].title=e}function Y(){g("inReference")}function $(){g("referenceType","collapsed")}function Z(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=i(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function Q(e){g("characterReferenceType",e.type)}function ee(e){var t,r,a=this.sliceSerialize(e),n=h("characterReferenceType");n?(t=o(a,"characterReferenceMarkerNumeric"===n?10:16),g("characterReferenceType")):t=l(a),(r=this.stack.pop()).value+=t,r.position.end=m(e.end)}function te(e){M.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function re(e){M.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function ae(){return{type:"blockquote",children:[]}}function ne(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function ie(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function oe(){return{type:"emphasis",children:[]}}function de(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function ce(){return{type:"html",value:""}}function le(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function he(){return{type:"paragraph",children:[]}}function me(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(c(d(r).document().write(u()(e,t,!0))))};var a=r(8765),n=r(3667),s=r(8025),i=r(4991),o=r(1744),d=r(4751),u=r(5265),c=r(4811),l=r(4537),p=r(6934);function f(e,t){var r,a;for(r in t)a=s.call(e,r)?e[r]:e[r]={},"canContainEols"===r||"transforms"===r?e[r]=[].concat(a,t[r]):Object.assign(a,t[r])}},5184:function(e,t,r){"use strict";e.exports=r(5715)},8765:function(e){"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],a=-1;++ai.length;o&&i.push(n);try{r=e.apply(null,i)}catch(d){if(o&&a)throw d;return n(d)}o||(r&&"function"===typeof r.then?r.then(s,n):r instanceof Error?n(r):s(r))};function n(){a||(a=!0,r.apply(null,arguments))}function s(e){n(null,e)}}},282:function(e,t,r){"use strict";var a=r(6415),n=r(1046),s=r(432),i=r(3731),o=r(6745),d=r(9418);e.exports=function e(){var t,r=[],n=o(),v={},b=-1;return x.data=function(e,r){if("string"===typeof e)return 2===arguments.length?(h("data",t),v[e]=r,x):c.call(v,e)&&v[e]||null;if(e)return h("data",t),v=e,x;return v},x.freeze=R,x.attachers=r,x.use=function(e){var a;if(h("use",t),null===e||void 0===e);else if("function"===typeof e)c.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?d(e):n(e)}a&&(v.settings=s(v.settings||{},a));return x;function n(e){d(e.plugins),e.settings&&(a=s(a||{},e.settings))}function o(e){if("function"===typeof e)c(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):n(e)}}function d(e){var t=-1;if(null===e||void 0===e);else{if("object"!==typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+a.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function l(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}d.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(d.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(d.prototype,"dirname",{get:function(){return"string"===typeof this.path?a.dirname(this.path):void 0},set:function(e){l(this.path,"dirname"),this.path=a.join(e||"",this.basename)}}),Object.defineProperty(d.prototype,"basename",{get:function(){return"string"===typeof this.path?a.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=a.join(this.dirname||"",e)}}),Object.defineProperty(d.prototype,"extname",{get:function(){return"string"===typeof this.path?a.extname(this.path):void 0},set:function(e){if(u(e,"extname"),l(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=a.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(d.prototype,"stem",{get:function(){return"string"===typeof this.path?a.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=a.join(this.dirname||"",e+(this.extname||""))}})},2276:function(e,t,r){"use strict";var a=r(851),n=r(8884);e.exports=n,n.prototype.message=function(e,t,r){var n=new a(e,t,r);this.path&&(n.name=this.path+":"+n.name,n.file=this.path);return n.fatal=!1,this.messages.push(n),n},n.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},n.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},4322:function(e,t){"use strict";function r(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var a,n,s,i,o=0,d=-1;if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),a=e.length,void 0===t||!t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(s){o=a+1;break}}else d<0&&(s=!0,d=a+1);return d<0?"":e.slice(o,d)}if(t===e)return"";n=-1,i=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(s){o=a+1;break}}else n<0&&(s=!0,n=a+1),i>-1&&(e.charCodeAt(a)===t.charCodeAt(i--)?i<0&&(d=a):(i=-1,d=n));o===d?d=n:d<0&&(d=e.length);return e.slice(o,d)},t.dirname=function(e){var t,a,n;if(r(e),!e.length)return".";t=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(a){t=n;break}}else a||(a=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,a,n,s=-1,i=0,o=-1,d=0;r(e),n=e.length;for(;n--;)if(47!==(a=e.charCodeAt(n)))o<0&&(t=!0,o=n+1),46===a?s<0?s=n:1!==d&&(d=1):s>-1&&(d=-1);else if(t){i=n+1;break}if(s<0||o<0||0===d||1===d&&s===o-1&&s===i+1)return"";return e.slice(s,o)},t.join=function(){var e,t=-1;for(;++t2){if((a=n.lastIndexOf("/"))!==n.length-1){a<0?(n="",s=0):s=(n=n.slice(0,a)).length-1-n.lastIndexOf("/"),i=d,o=0;continue}}else if(n.length){n="",s=0,i=d,o=0;continue}t&&(n=n.length?n+"/..":"..",s=2)}else n.length?n+="/"+e.slice(i+1,d):n=e.slice(i+1,d),s=d-i-1;i=d,o=0}else 46===r&&o>-1?o++:o=-1}return n}(e,!t),a.length||t||(a=".");a.length&&47===e.charCodeAt(e.length-1)&&(a+="/");return t?"/"+a:a}(e)},t.sep="/"},8833:function(e,t){"use strict";t.cwd=function(){return"/"}},4400:function(e){"use strict";var t,r="";e.exports=function(e,a){if("string"!==typeof e)throw new TypeError("expected a string");if(1===a)return e;if(2===a)return e+e;var n=e.length*a;if(t!==e||"undefined"===typeof t)t=e,r="";else if(r.length>=n)return r.substr(0,n);for(;n>r.length&&a>1;)1&a&&(r+=e),a>>=1,e+=e;return r=(r+=e).substr(0,n)}},4478:function(e,t){"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0>>1,n=e[a];if(!(0>>1;as(d,r))us(c,d)?(e[a]=c,e[u]=r,a=u):(e[a]=d,e[o]=r,a=o);else{if(!(us(c,r)))break e;e[a]=c,e[u]=r,a=u}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,d=o.now();t.unstable_now=function(){return o.now()-d}}var u=[],c=[],l=1,p=null,f=3,g=!1,h=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=a(c);null!==t;){if(null===t.callback)n(c);else{if(!(t.startTime<=e))break;n(c),t.sortIndex=t.expirationTime,r(u,t)}t=a(c)}}function R(e){if(m=!1,x(e),!h)if(null!==a(u))h=!0,_(E);else{var t=a(c);null!==t&&I(R,t.startTime-e)}}function E(e,r){h=!1,m&&(m=!1,v(C),C=-1),g=!0;var s=f;try{for(x(r),p=a(u);null!==p&&(!(p.expirationTime>r)||e&&!k());){var i=p.callback;if("function"===typeof i){p.callback=null,f=p.priorityLevel;var o=i(p.expirationTime<=r);r=t.unstable_now(),"function"===typeof o?p.callback=o:p===a(u)&&n(u),x(r)}else n(u);p=a(u)}if(null!==p)var d=!0;else{var l=a(c);null!==l&&I(R,l.startTime-r),d=!1}return d}finally{p=null,f=s,g=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var D,w=!1,j=null,C=-1,A=5,S=-1;function k(){return!(t.unstable_now()-Se||125i?(e.sortIndex=s,r(c,e),null===a(u)&&e===a(c)&&(m?(v(C),C=-1):m=!0,I(R,s-i))):(e.sortIndex=o,r(u,e),h||g||(h=!0,_(E))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},7029:function(e,t,r){"use strict";e.exports=r(4478)},4977:function(e,t,r){var a=r(5965);function n(e,t){var r,n=null;if(!e||"string"!==typeof e)return n;for(var s,i,o=a(e),d="function"===typeof t,u=0,c=o.length;u=0;--n){var s=this.tryEntries[n],i=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var o=r.call(s,"catchLoc"),d=r.call(s,"finallyLoc");if(o&&d){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;j(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function s(e,t,r,a,n,s,i){try{var o=e[s](i),d=o.value}catch(j6){return void r(j6)}o.done?t(d):Promise.resolve(d).then(a,n)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){s(i,a,n,o,d,"next",e)}function d(e){s(i,a,n,o,d,"throw",e)}o(void 0)}))}}function o(e,t){for(var r=0;r=0||(n[r]=e[r]);return n}function y(e,t){if(null==e)return{};var r,a,n=m(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return t||(t=e.slice(0)),e.raw=t,e}function x(e,t){return D(e)||a(e,t)||j(e,t)||S()}function R(e){return E(e)||w(e)||j(e)||A()}function E(e){if(Array.isArray(e))return C(e)}function D(e){if(Array.isArray(e))return e}function w(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function j(e,t){if(e){if("string"===typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){if("object"!==typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!==typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function F(e){var t=T(e,"string");return"symbol"===typeof t?t:String(t)}var P=["Identifier","JSXIdentifier"],_=["MemberExpression"],I=["Identifier"],B=["Statement"],O=["Expression"],N=["Scopable","Pattern"],M=null,L=null,U=["VariableDeclaration"],z=null,V=null,q=null,H=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],G=["RestElement"],W=["RestElement"],K=["ExistsTypeAnnotation"],X=["NumberLiteralTypeAnnotation"],J=["ForOfStatement"],Y=Object.freeze({__proto__:null,ReferencedIdentifier:P,ReferencedMemberExpression:_,BindingIdentifier:I,Statement:B,Expression:O,Scope:N,Referenced:M,BlockScoped:L,Var:U,User:z,Generated:V,Pure:q,Flow:H,RestProperty:G,SpreadProperty:W,ExistentialTypeParam:K,NumericLiteralTypeAnnotation:X,ForAwaitStatement:J});function $(e,t){for(var r=0,a=Object.keys(t);rn.length)return!1;for(var i=0,o=s.length-1;i1)for(var r=1;re)return!1;if((r+=t[a+1])>=e)return!0}return!1}function Wi(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&zi.test(String.fromCharCode(e)):Gi(e,qi)))}function Ki(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Vi.test(String.fromCharCode(e)):Gi(e,qi)||Gi(e,Hi))))}function Xi(e){for(var t=!0,r=0;r=48&&e<=57},io={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},oo={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function uo(e,t,r,a,n,s){for(var i=r,o=a,d=n,u="",c=null,l=r,p=t.length;;){if(r>=p){s.unterminated(i,o,d),u+=t.slice(l,r);break}var f=t.charCodeAt(r);if(co(e,f,t,r)){u+=t.slice(l,r);break}if(92===f){u+=t.slice(l,r);var g=lo(t,r,a,n,"template"===e,s);null!==g.ch||c?u+=g.ch:c={pos:r,lineStart:a,curLine:n},r=g.pos,a=g.lineStart,n=g.curLine,l=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(u+=t.slice(l,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,l=a=r):s.unterminated(i,o,d):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:a,curLine:n,containsInvalid:!!c}}function co(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function lo(e,t,r,a,n,s){var i=!n;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return o("\n");case 114:return o("\r");case 120:var u,c=po(e,t,r,a,2,!1,i,s);return u=c.code,t=c.pos,o(null===u?null:String.fromCharCode(u));case 117:var l,p=go(e,t,r,a,i,s);return l=p.code,t=p.pos,o(null===l?null:String.fromCodePoint(l));case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return o("");case 56:case 57:if(n)return o(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,g=e.slice(f,t+2).match(/^[0-7]+/)[0],h=parseInt(g,8);h>255&&(g=g.slice(0,-1),h=parseInt(g,8)),t+=g.length-1;var m=e.charCodeAt(t);if("0"!==g||56===m||57===m){if(n)return o(null);s.strictNumericEscape(f,r,a)}return o(String.fromCharCode(h))}return o(String.fromCharCode(d))}}function po(e,t,r,a,n,s,i,o){var d,u=t,c=fo(e,t,r,a,16,n,s,!1,o,!i);return d=c.n,t=c.pos,null===d&&(i?o.invalidEscapeSequence(u,r,a):t=u-1),{code:d,pos:t}}function fo(e,t,r,a,n,s,i,o,d,u){for(var c=t,l=16===n?io.hex:io.decBinOct,p=16===n?oo.hex:10===n?oo.dec:8===n?oo.oct:oo.bin,f=!1,g=0,h=0,m=null==s?1/0:s;h=97?y-97+10:y>=65?y-65+10:so(y)?y-48:1/0)>=n){if(v<=9&&u)return{n:null,pos:t};if(v<=9&&d.invalidDigit(t,r,a,n))v=0;else{if(!i)break;v=0,f=!0}}++t,g=g*n+v}else{var b=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(o){if(Number.isNaN(x)||!p(x)||l.has(b)||l.has(x)){if(u)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(u)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===c||null!=s&&t-c!==s||f?{n:null,pos:t}:{n:g,pos:t}}function go(e,t,r,a,n,s){var i;if(123===e.charCodeAt(t)){var o=po(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(i=o.code,t=o.pos,++t,null!==i&&i>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=po(e,t,r,a,4,!1,n,s);i=d.code,t=d.pos}return{code:i,pos:t}}var ho=["consequent","body","alternate"],mo=["body","expressions"],yo=["left","init"],vo=["leadingComments","trailingComments","innerComments"],bo=["||","&&","??"],xo=["++","--"],Ro=[">","<",">=","<="],Eo=["==","===","!=","!=="],Do=[].concat(Eo,["in","instanceof"]),wo=[].concat(R(Do),Ro),jo=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Co=["+"].concat(jo,R(wo),["|>"]),Ao=["=","+="].concat(R(jo.map((function(e){return e+"="}))),R(bo.map((function(e){return e+"="})))),So=["delete","!"],ko=["+","-","~"],To=["typeof"],Fo=["void","throw"].concat(So,ko,To),Po={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},_o=Symbol.for("var used to be block scoped"),Io=Symbol.for("should not be considered a local binding"),Bo={},Oo={},No={},Mo={},Lo={},Uo={},zo={};function Vo(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function qo(e){return{validate:e}}function Ho(e){return"string"===typeof e?Qo(e):Qo.apply(void 0,R(e))}function Go(e){return qo(Ho(e))}function Wo(e){return{validate:e,optional:!0}}function Ko(e){return{validate:Ho(e),optional:!0}}function Xo(e){return nd(td("array"),$o(e))}function Jo(e){return Xo(Ho(e))}function Yo(e){return qo(Jo(e))}function $o(e){function t(t,r,a){if(Array.isArray(a))for(var n=0;n=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var sd=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],id=["default","optional","deprecated","validate"],od={};function dd(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"===typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");a[i]={default:Array.isArray(d)?[]:d,optional:o.optional,deprecated:o.deprecated,validate:o.validate}}for(var u=t.visitor||r.visitor||[],c=t.aliases||r.aliases||[],l=t.builder||r.builder||t.visitor||[],p=0,f=Object.keys(t);p+s+1)throw new TypeError("RestElement must be last element of "+n)}}}),cd("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression"),optional:!0}}}),cd("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:nd(td("array"),$o(Qo("Expression")))}},aliases:["Expression"]}),cd("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:Qo("Expression")}}}),cd("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:Qo("Expression"),optional:!0},consequent:{validate:nd(td("array"),$o(Qo("Statement")))}}}),cd("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:Qo("Expression")},cases:{validate:nd(td("array"),$o(Qo("SwitchCase")))}}}),cd("ThisExpression",{aliases:["Expression"]}),cd("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression")}}}),cd("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:nd(Qo("BlockStatement"),Object.assign((function(e){if(ki.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:Qo("CatchClause")},finalizer:{optional:!0,validate:Qo("BlockStatement")}}}),cd("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:Qo("Expression")},operator:{validate:Zo.apply(void 0,R(Fo))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),cd("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:ki.env.BABEL_TYPES_8_BREAKING?Qo("Identifier","MemberExpression"):Qo("Expression")},operator:{validate:Zo.apply(void 0,R(xo))}},visitor:["argument"],aliases:["Expression"]}),cd("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:td("boolean"),optional:!0},kind:{validate:Zo("var","let","const","using","await using")},declarations:{validate:nd(td("array"),$o(Qo("VariableDeclarator")))}},validate:function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&Mi("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),cd("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!ki.env.BABEL_TYPES_8_BREAKING)return Qo("LVal");var e=Qo("Identifier","ArrayPattern","ObjectPattern"),t=Qo("Identifier");return function(r,a,n){(r.init?e:t)(r,a,n)}}()},definite:{optional:!0,validate:td("boolean")},init:{optional:!0,validate:Qo("Expression")}}}),cd("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),cd("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),cd("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gd(),{left:{validate:Qo("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:Qo("Expression")},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0}})}),cd("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gd(),{elements:{validate:nd(td("array"),$o(ed("null","PatternLike","LVal")))}})}),cd("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ld(),pd(),{expression:{validate:td("boolean")},body:{validate:Qo("BlockStatement","Expression")},predicate:{validate:Qo("DeclaredPredicate","InferredPredicate"),optional:!0}})}),cd("ClassBody",{visitor:["body"],fields:{body:{validate:nd(td("array"),$o(Qo("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),cd("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:Qo("Identifier"),optional:!0},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:nd(td("array"),$o(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0}}}),cd("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:Qo("Identifier")},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:nd(td("array"),$o(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0},declare:{validate:td("boolean"),optional:!0},abstract:{validate:td("boolean"),optional:!0}},validate:function(){var e=Qo("Identifier");return function(t,r,a){ki.env.BABEL_TYPES_8_BREAKING&&(Mi("ExportDefaultDeclaration",t)||e(a,"id",a.id))}}()}),cd("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:Qo("StringLiteral")},exportKind:Wo(Zo("type","value")),attributes:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},assertions:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))}}}),cd("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:Qo("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:Wo(Zo("value"))}}),cd("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:nd(Qo("Declaration"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},assertions:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},specifiers:{default:[],validate:nd(td("array"),$o(function(){var e=Qo("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=Qo("ExportSpecifier");return ki.env.BABEL_TYPES_8_BREAKING?function(r,a,n){(r.source?e:t)(r,a,n)}:e}()))},source:{validate:Qo("StringLiteral"),optional:!0},exportKind:Wo(Zo("type","value"))}}),cd("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},exported:{validate:Qo("Identifier","StringLiteral")},exportKind:{validate:Zo("type","value"),optional:!0}}}),cd("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!ki.env.BABEL_TYPES_8_BREAKING)return Qo("VariableDeclaration","LVal");var e=Qo("VariableDeclaration"),t=Qo("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,n){Mi("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}}()},right:{validate:Qo("Expression")},body:{validate:Qo("Statement")},await:{default:!1}}}),cd("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},assertions:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},module:{optional:!0,validate:td("boolean")},specifiers:{validate:nd(td("array"),$o(Qo("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:Qo("StringLiteral")},importKind:{validate:Zo("type","typeof","value"),optional:!0}}}),cd("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),cd("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),cd("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},imported:{validate:Qo("Identifier","StringLiteral")},importKind:{validate:Zo("type","typeof","value"),optional:!0}}}),cd("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:nd(Qo("Identifier"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!Mi("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:Qo("Identifier")}}});var hd=function(){return{abstract:{validate:td("boolean"),optional:!0},accessibility:{validate:Zo("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:td("boolean"),optional:!0},key:{validate:nd(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},md=function(){return Object.assign({},ld(),hd(),{params:{validate:nd(td("array"),$o(Qo("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:Zo("get","set","method","constructor"),default:"method"},access:{validate:nd(td("string"),Zo("public","private","protected")),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0}})};cd("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},md(),pd(),{body:{validate:Qo("BlockStatement")}})}),cd("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gd(),{properties:{validate:nd(td("array"),$o(Qo("RestElement","ObjectProperty")))}})}),cd("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:Qo("Expression")}}}),cd("Super",{aliases:["Expression"]}),cd("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:Qo("Expression")},quasi:{validate:Qo("TemplateLiteral")},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),cd("TemplateElement",{builder:["value","tail"],fields:{value:{validate:nd(rd({raw:{validate:td("string")},cooked:{validate:td("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=uo("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,i=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=i?null:s}))},tail:{default:!1}}}),cd("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:nd(td("array"),$o(Qo("TemplateElement")))},expressions:{validate:nd(td("array"),$o(Qo("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),cd("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:nd(td("boolean"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:Qo("Expression")}}}),cd("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:Qo("Expression")}}}),cd("Import",{aliases:["Expression"]}),cd("BigIntLiteral",{builder:["value"],fields:{value:{validate:td("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),cd("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Qo("Identifier")}}}),cd("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:Qo("Expression")},property:{validate:function(){var e=Qo("Identifier"),t=Qo("Expression"),r=Object.assign((function(r,a,n){(r.computed?t:e)(r,a,n)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:ki.env.BABEL_TYPES_8_BREAKING?nd(td("boolean"),ad()):td("boolean")}}}),cd("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:Qo("Expression")},arguments:{validate:nd(td("array"),$o(Qo("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:ki.env.BABEL_TYPES_8_BREAKING?nd(td("boolean"),ad()):td("boolean")},typeArguments:{validate:Qo("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:Qo("TSTypeParameterInstantiation"),optional:!0}}}),cd("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},hd(),{value:{validate:Qo("Expression"),optional:!0},definite:{validate:td("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},readonly:{validate:td("boolean"),optional:!0},declare:{validate:td("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),cd("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},hd(),{key:{validate:nd(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:Qo("Expression"),optional:!0},definite:{validate:td("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},readonly:{validate:td("boolean"),optional:!0},declare:{validate:td("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),cd("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:Qo("PrivateName")},value:{validate:Qo("Expression"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},static:{validate:td("boolean"),default:!1},readonly:{validate:td("boolean"),optional:!0},definite:{validate:td("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}}}),cd("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},md(),pd(),{kind:{validate:Zo("get","set","method"),default:"method"},key:{validate:Qo("PrivateName")},body:{validate:Qo("BlockStatement")}})}),cd("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:Qo("Identifier")}}}),cd("StaticBlock",{visitor:["body"],fields:{body:{validate:nd(td("array"),$o(Qo("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]});var yd=dd("Flow"),vd=function(e){var t="DeclareClass"===e;yd(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(R(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),extends:Wo(Jo("InterfaceExtends"))},t?{mixins:Wo(Jo("InterfaceExtends")),implements:Wo(Jo("ClassImplements"))}:{},{body:Go("ObjectTypeAnnotation")})})};yd("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:Go("FlowType")}}),yd("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:qo(td("boolean"))}}),yd("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ClassImplements",{visitor:["id","typeParameters"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterInstantiation")}}),vd("DeclareClass"),yd("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),predicate:Ko("DeclaredPredicate")}}),vd("DeclareInterface"),yd("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go(["Identifier","StringLiteral"]),body:Go("BlockStatement"),kind:Wo(Zo("CommonJS","ES"))}}),yd("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:Go("TypeAnnotation")}}),yd("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),right:Go("FlowType")}}),yd("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),supertype:Ko("FlowType"),impltype:Ko("FlowType")}}),yd("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier")}}),yd("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:Ko("Flow"),specifiers:Wo(Jo(["ExportSpecifier","ExportNamespaceSpecifier"])),source:Ko("StringLiteral"),default:Wo(td("boolean"))}}),yd("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:Go("StringLiteral"),exportKind:Wo(Zo("type","value"))}}),yd("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:Go("Flow")}}),yd("ExistsTypeAnnotation",{aliases:["FlowType"]}),yd("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Ko("TypeParameterDeclaration"),params:qo(Jo("FunctionTypeParam")),rest:Ko("FunctionTypeParam"),this:Ko("FunctionTypeParam"),returnType:Go("FlowType")}}),yd("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Ko("Identifier"),typeAnnotation:Go("FlowType"),optional:Wo(td("boolean"))}}),yd("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:Go(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ko("TypeParameterInstantiation")}}),yd("InferredPredicate",{aliases:["FlowPredicate"]}),yd("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:Go(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ko("TypeParameterInstantiation")}}),vd("InterfaceDeclaration"),yd("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:Wo(Jo("InterfaceExtends")),body:Go("ObjectTypeAnnotation")}}),yd("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:qo(Jo("FlowType"))}}),yd("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:Go("FlowType")}}),yd("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:qo(td("number"))}}),yd("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:qo(Jo(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:Jo("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:Jo("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:Jo("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:td("boolean"),default:!1},inexact:Wo(td("boolean"))}}),yd("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:Go("Identifier"),value:Go("FlowType"),optional:qo(td("boolean")),static:qo(td("boolean")),method:qo(td("boolean"))}}),yd("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:Go("FlowType"),static:qo(td("boolean"))}}),yd("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Ko("Identifier"),key:Go("FlowType"),value:Go("FlowType"),static:qo(td("boolean")),variance:Ko("Variance")}}),yd("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:Go(["Identifier","StringLiteral"]),value:Go("FlowType"),kind:qo(Zo("init","get","set")),static:qo(td("boolean")),proto:qo(td("boolean")),optional:qo(td("boolean")),variance:Ko("Variance"),method:qo(td("boolean"))}}),yd("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:Go("FlowType")}}),yd("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),supertype:Ko("FlowType"),impltype:Go("FlowType")}}),yd("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:Go("Identifier"),qualification:Go(["Identifier","QualifiedTypeIdentifier"])}}),yd("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:qo(td("string"))}}),yd("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:qo(Jo("FlowType"))}}),yd("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:Go("FlowType")}}),yd("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),right:Go("FlowType")}}),yd("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:Go("FlowType")}}),yd("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:Go("Expression"),typeAnnotation:Go("TypeAnnotation")}}),yd("TypeParameter",{visitor:["bound","default","variance"],fields:{name:qo(td("string")),bound:Ko("TypeAnnotation"),default:Ko("FlowType"),variance:Ko("Variance")}}),yd("TypeParameterDeclaration",{visitor:["params"],fields:{params:qo(Jo("TypeParameter"))}}),yd("TypeParameterInstantiation",{visitor:["params"],fields:{params:qo(Jo("FlowType"))}}),yd("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:qo(Jo("FlowType"))}}),yd("Variance",{builder:["kind"],fields:{kind:qo(Zo("minus","plus"))}}),yd("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:Go("Identifier"),body:Go(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),yd("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:qo(td("boolean")),members:Yo("EnumBooleanMember"),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:qo(td("boolean")),members:Yo("EnumNumberMember"),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:qo(td("boolean")),members:Yo(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Yo("EnumDefaultedMember"),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Go("Identifier"),init:Go("BooleanLiteral")}}),yd("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Go("Identifier"),init:Go("NumericLiteral")}}),yd("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Go("Identifier"),init:Go("StringLiteral")}}),yd("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Go("Identifier")}}),yd("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Go("FlowType"),indexType:Go("FlowType")}}),yd("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Go("FlowType"),indexType:Go("FlowType"),optional:qo(td("boolean"))}});var bd=dd("JSX");bd("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Qo("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),bd("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),bd("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Qo("JSXOpeningElement")},closingElement:{optional:!0,validate:Qo("JSXClosingElement")},children:{validate:nd(td("array"),$o(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:td("boolean"),optional:!0}})}),bd("JSXEmptyExpression",{}),bd("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression","JSXEmptyExpression")}}}),bd("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression")}}}),bd("JSXIdentifier",{builder:["name"],fields:{name:{validate:td("string")}}}),bd("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Qo("JSXMemberExpression","JSXIdentifier")},property:{validate:Qo("JSXIdentifier")}}}),bd("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Qo("JSXIdentifier")},name:{validate:Qo("JSXIdentifier")}}}),bd("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:nd(td("array"),$o(Qo("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),bd("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Qo("Expression")}}}),bd("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:td("string")}}}),bd("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Qo("JSXOpeningFragment")},closingFragment:{validate:Qo("JSXClosingFragment")},children:{validate:nd(td("array"),$o(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),bd("JSXOpeningFragment",{aliases:["Immutable"]}),bd("JSXClosingFragment",{aliases:["Immutable"]});for(var xd=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Rd={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},Ed=0,Dd=xd;Ed=0)){if(It(o))return[o];if(vs(o))a.set(o.type,o);else if(Fr(o))n.has(o.types)||(t.push.apply(t,R(o.types)),n.add(o.types));else if(er(o)){var d=gb(o.id);if(r.has(d)){var u,c=r.get(d);c.typeParameters?o.typeParameters&&((u=c.typeParameters.params).push.apply(u,R(o.typeParameters.params)),c.typeParameters.params=hb(c.typeParameters.params)):c=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var l,p=k(a);!(l=p()).done;){var f=x(l.value,2)[1];s.push(f)}for(var g,h=k(r);!(g=h()).done;){var m=x(g.value,2)[1];s.push(m)}return s}function mb(e){var t=hb(e);return 1===t.length?t[0]:Rl(t)}function yb(e){return Ee(e)?e.name:e.right.name+"."+yb(e.left)}function vb(e){for(var t=Array.from(e),r=new Map,a=new Map,n=new Set,s=[],i=0;i=0)){if(Pa(o))return[o];if(Ss(o))a.set(o.type,o);else if(an(o))n.has(o.types)||(t.push.apply(t,R(o.types)),n.add(o.types));else if(Xa(o)&&o.typeParameters){var d=yb(o.typeName);if(r.has(d)){var u,c=r.get(d);c.typeParameters?o.typeParameters&&((u=c.typeParameters.params).push.apply(u,R(o.typeParameters.params)),c.typeParameters.params=vb(c.typeParameters.params)):c=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var l,p=k(a);!(l=p()).done;){var f=x(l.value,2)[1];s.push(f)}for(var g,h=k(r);!(g=h()).done;){var m=x(g.value,2)[1];s.push(m)}return s}function bb(e){var t=e.map((function(e){return Fn(e)?e.typeAnnotation:e})),r=vb(t);return 1===r.length?r[0]:Kp(r)}var xb=Function.call.bind(Object.prototype.hasOwnProperty);function Rb(e,t,r,a){return e&&"string"===typeof e.type?wb(e,t,r,a):e}function Eb(e,t,r,a){return Array.isArray(e)?e.map((function(e){return Rb(e,t,r,a)})):Rb(e,t,r,a)}function Db(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),wb(e,t,r,new Map)}function wb(e,t,r,a){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var n=e.type,s={type:e.type};if(Ee(e))s.name=e.name,xb(e,"optional")&&"boolean"===typeof e.optional&&(s.optional=e.optional),xb(e,"typeAnnotation")&&(s.typeAnnotation=t?Eb(e.typeAnnotation,!0,r,a):e.typeAnnotation);else{if(!xb(Mo,n))throw new Error('Unknown node type: "'+n+'"');for(var i=0,o=Object.keys(Mo[n]);i=Number.MAX_SAFE_INTEGER?Gx.uid=0:Gx.uid++},Wx.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};var Yx=Function.call.bind(Object.prototype.toString);function $x(e){return"[object RegExp]"===Yx(e)}function Zx(e){if("object"!==typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function Qx(e){if(void 0===e)return pu("undefined");if(!0===e||!1===e)return vu(e);if(null===e)return yu();if("string"===typeof e)return hu(e);var t;if("number"===typeof e)return t=Number.isFinite(e)?mu(Math.abs(e)):Kd("/",Number.isNaN(e)?mu(0):mu(1),mu(0)),(e<0||Object.is(e,-0))&&(t=Ou("-",t)),t;if($x(e))return bu(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Gd(e.map(Qx));if(Zx(e)){for(var r=[],a=0,n=Object.keys(e);a=0)return!0}else if(s===e)return!0}return!1}function oR(e){return Xe(e)&&("var"!==e.kind||e[_o])}function dR(e){return xe(e)||at(e)||oR(e)}function uR(e){return!!Oi(e.type,"Immutable")||!!Ee(e)&&"undefined"===e.name}function cR(e,t){if("object"!==typeof e||"object"!==typeof t||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=Object.keys(Mo[e.type]||e.type),a=Bo[e.type],n=0,s=r;n100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(o){var d=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function o(n){var s=Math.abs(n);return s>=a?Math.round(n/a)+"d":s>=r?Math.round(n/r)+"h":s>=t?Math.round(n/t)+"m":s>=e?Math.round(n/e)+"s":n+"ms"}function d(n){var s=Math.abs(n);return s>=a?u(n,s,a,"day"):s>=r?u(n,s,r,"hour"):s>=t?u(n,s,t,"minute"):s>=e?u(n,s,e,"second"):n+" ms"}function u(e,t,r,a){var n=t>=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return VR=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return i(e);if("number"===r&&isFinite(e))return t.long?d(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},VR}function KR(e){function t(e){for(var t=0,a=0;a=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,r)}}function n(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(j6){}}function s(){var e;try{e=t.storage.getItem("debug")}catch(j6){}return!e&&"undefined"!==typeof ki&&"env"in ki&&(e=ki.env.DEBUG),e}function i(){try{return localStorage}catch(j6){}}t.formatArgs=a,t.save=n,t.load=s,t.useColors=r,t.storage=i(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=XR(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(j6){return"[UnexpectedJSONParseError]: "+j6.message}}}(GR,GR.exports);var JR=GR.exports,YR=Db,$R=Yu,ZR=$u,QR=pu,eE=Mu,tE=Lu;function rE(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){var t=e.get("declaration"),r=t.isFunctionDeclaration()||t.isClassDeclaration(),a=t.isFunctionExpression()||t.isClassExpression(),n=t.isScope()?t.scope.parent:t.scope,s=t.node.id,i=!1;s?a&&n.hasBinding(s.name)&&(i=!0,s=n.generateUidIdentifier(s.name)):(i=!0,s=n.generateUidIdentifier("default"),(r||a)&&(t.node.id=YR(s)));var o=r?t.node:eE("var",[tE(YR(s),t.node)]),d=$R(null,[ZR(YR(s),QR("default"))]);return e.insertAfter(d),e.replaceWith(o),i&&n.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var u=e.get("declaration"),c=u.getOuterBindingIdentifiers(),l=Object.keys(c).map((function(e){return ZR(QR(e),QR(e))})),p=$R(null,l);return e.insertAfter(p),e.replaceWith(u.node),e}function aE(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var a,n=k(e.get("decorators"));!(a=n()).done;){var s=a.value;t.maybeQueue(s)}}var nE={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&aE(e))},Property:function(e){e.isObjectProperty()||(e.skip(),aE(e))}},sE={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&aE(e))},ObjectProperty:function(e,t){var r,a=e.node,n=e.scope,s=a.key.name;!a.shorthand||s!==t.oldName&&s!==t.newName||n.getBindingIdentifier(s)!==t.binding.identifier||(a.shorthand=!1,null!=(r=a.extra)&&r.shorthand&&(a.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var a in r)a===t.oldName&&(r[a].name=t.newName)}}},iE=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(Qn(r)&&!r.id)return}t.isExportAllDeclaration()||rE(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,a=e.scope,n=e.path,s=n.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s),NW(arguments[0]||a.block,CR(sE),a,this,a.path,{discriminant:!0}),arguments[0]||(a.removeOwnBinding(t),a.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))},d(e)}(),oE=function(){function e(e){var t=e.identifier,r=e.scope,a=e.path,n=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=a,this.kind=n,"var"!==n&&"hoisted"!==n||!dE(a||function(){throw new Error("Internal Babel error: unreachable ")}())||this.reassign(a),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},d(e)}();function dE(e){for(var t=e.parentPath,r=e.key;t;t=(a=t).parentPath,r=a.key,a){var a;if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===r)return!0}return!1}var uE,cE,lE={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2020:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2021:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,OffscreenCanvasRenderingContext2D:!1,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},nodeBuiltin:{Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,global:!1,Intl:!1,process:!1,queueMicrotask:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function pE(){return cE?uE:(cE=1,uE=lE)}var fE,gE,hE={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function mE(){return gE?fE:(gE=1,fE=hE)}function yE(e){return null!=e&&e&&"false"!==e&&"0"!==e}var vE=yE(ki.env.BABEL_8_BREAKING)?pE():mE(),bE=Io,xE=Qd,RE=Db,EE=Wx,DE=pu,wE=te,jE=Nn,CE=cs,AE=tt,SE=at,kE=nt,TE=st,FE=it,PE=xe,_E=Ee,IE=ut,BE=as,OE=ss,NE=fs,ME=Ae,LE=Ie,UE=os,zE=Zn,VE=ke,qE=yt,HE=vt,GE=xt,WE=qe,KE=We,XE=Xe,JE=Is,YE=Ru,$E=mu,ZE=Ox,QE=Ou,eD=Mu,tD=Lu,rD=ha,aD=ma,nD=Oe,sD=ba,iD=ft,oD=Pt,dD=ps;function uD(e,t){switch(null==e?void 0:e.type){default:if(IE(e)||dD(e))if((kE(e)||FE(e)||IE(e))&&e.source)uD(e.source,t);else if((FE(e)||IE(e))&&e.specifiers&&e.specifiers.length)for(var r,a=k(e.specifiers);!(r=a()).done;)uD(r.value,t);else(TE(e)||FE(e))&&e.declaration&&uD(e.declaration,t);else NE(e)?uD(e.local,t):!BE(e)||ME(e)||VE(e)||GE(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":uD(e.object,t),uD(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":uD(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(var n,s=k(e.properties);!(n=s()).done;)uD(n.value,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":uD(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":uD(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),uD(e.argument,t);break;case"AwaitExpression":t.push("await"),uD(e.argument,t);break;case"AssignmentExpression":uD(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":uD(e.id,t);break;case"ParenthesizedExpression":uD(e.expression,t);break;case"MetaProperty":uD(e.meta,t),uD(e.property,t);break;case"JSXElement":uD(e.openingElement,t);break;case"JSXOpeningElement":uD(e.name,t);break;case"JSXFragment":uD(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":uD(e.namespace,t),uD(e.name,t)}}var cD={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var a=e.scope;(a.getFunctionParent()||a.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!kE(t)){var a=t.declaration;if(SE(a)||PE(a)){var n=a.id;if(!n)return;var s=r.getBinding(n.name);null==s||s.reference(e)}else if(XE(a))for(var i,o=k(a.declarations);!(i=o()).done;)for(var d=i.value,u=0,c=Object.keys(EE(d));u1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];uD(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return DE(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(WE(e)||qE(e)||sD(e))return!0;if(_E(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),RE(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new iE(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,a){e[t]&&(e[r]=a,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(AE(e)){for(var i,o=k(e.body);!(i=o()).done;){var d=i.value;if(!this.isPure(d,t))return!1}return!0}if(jE(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(wE(e)||aD(e)){for(var u,c=k(e.elements);!(u=c()).done;){var l=u.value;if(null!==l&&!this.isPure(l,t))return!1}return!0}if(LE(e)||rD(e)){for(var p,f=k(e.properties);!(p=f()).done;){var g=p.value;if(!this.isPure(g,t))return!1}return!0}if(OE(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(n=e.decorators)?void 0:n.length)>0);if(UE(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(s=e.decorators)?void 0:s.length)>0)&&!((nD(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(KE(e))return this.isPure(e.argument,t);if(HE(e))return JE(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(GE(e)){for(var h,m=k(e.expressions);!(h=m()).done;){var y=h.value;if(!this.isPure(y,t))return!1}return!0}return zE(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&jR(cD)){for(var a,n=k(cD.enter);!(a=n()).done;)a.value.call(r,e,r);var s=cD[e.type];if(s)for(var i,o=k(s.enter);!(i=o()).done;)i.value.call(r,e,r)}e.traverse(cD,r),this.crawling=!1;for(var d,u=k(r.assignments);!(d=u()).done;){for(var c=d.value,l=c.getBindingIdentifiers(),p=0,f=Object.keys(l);p0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,i=new bD(3*o/4-s),a=s>0?o-4:o;var d=0;for(t=0,r=0;t>16&255,i[d++]=n>>8&255,i[d++]=255&n;return 2===s?(n=vD[e.charCodeAt(t)]<<2|vD[e.charCodeAt(t+1)]>>4,i[d++]=255&n):1===s&&(n=vD[e.charCodeAt(t)]<<10|vD[e.charCodeAt(t+1)]<<4|vD[e.charCodeAt(t+2)]>>2,i[d++]=n>>8&255,i[d++]=255&n),i}function DD(e){return yD[e>>18&63]+yD[e>>12&63]+yD[e>>6&63]+yD[63&e]}function wD(e,t,r){for(var a,n=[],s=t;sd?d:o+i));return 1===a?(t=e[r-1],n+=yD[t>>2],n+=yD[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=yD[t>>10],n+=yD[t>>4&63],n+=yD[t<<2&63],n+="="),s.push(n),s.join("")}function CD(e,t,r,a,n){var s,i,o=8*n-a-1,d=(1<>1,c=-7,l=r?n-1:0,p=r?-1:1,f=e[t+l];for(l+=p,s=f&(1<<-c)-1,f>>=-c,c+=o;c>0;s=256*s+e[t+l],l+=p,c-=8);for(i=s&(1<<-c)-1,s>>=-c,c+=a;c>0;i=256*i+e[t+l],l+=p,c-=8);if(0===s)s=1-u;else{if(s===d)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,a),s-=u}return(f?-1:1)*i*Math.pow(2,s-a)}function AD(e,t,r,a,n,s){var i,o,d,u=8*s-n-1,c=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,g=a?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-i))<1&&(i--,d*=2),(t+=i+l>=1?p/d:p*Math.pow(2,1-l))*d>=2&&(i++,d/=2),i+l>=c?(o=0,i=c):i+l>=1?(o=(t*d-1)*Math.pow(2,n),i+=l):(o=t*Math.pow(2,l-1)*Math.pow(2,n),i=0));n>=8;e[r+f]=255&o,f+=g,o/=256,n-=8);for(i=i<0;e[r+f]=255&i,f+=g,i/=256,u-=8);e[r+f-g]|=128*h}var SD={}.toString,kD=Array.isArray||function(e){return"[object Array]"==SD.call(e)},TD=50;function FD(){return _D.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function PD(e,t){if(FD()=FD())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+FD().toString(16)+" bytes");return 0|e}function qD(e){return!(null==e||!e._isBuffer)}function HD(e,t){if(qD(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return xw(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Dw(e).length;default:if(a)return xw(e).length;t=(""+t).toLowerCase(),a=!0}}function GD(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ow(this,t,r);case"utf8":case"utf-8":return rw(this,t,r);case"ascii":return sw(this,t,r);case"latin1":case"binary":return iw(this,t,r);case"base64":return tw(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dw(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function WD(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function KD(e,t,r,a,n){if(0===e.length)return-1;if("string"===typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"===typeof t&&(t=_D.from(t,a)),qD(t))return 0===t.length?-1:XD(e,t,r,a,n);if("number"===typeof t)return t&=255,_D.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):XD(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function XD(e,t,r,a,n){var s,i=1,o=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;i=2,o/=2,d/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var c=-1;for(s=r;so&&(r=o-d),s=r;s>=0;s--){for(var l=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!==0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var i=0;i239?4:u>223?3:u>191?2:1;if(n+l<=r)switch(l){case 1:u<128&&(c=u);break;case 2:128===(192&(s=e[n+1]))&&(d=(31&u)<<6|63&s)>127&&(c=d);break;case 3:s=e[n+1],i=e[n+2],128===(192&s)&&128===(192&i)&&(d=(15&u)<<12|(63&s)<<6|63&i)>2047&&(d<55296||d>57343)&&(c=d);break;case 4:s=e[n+1],i=e[n+2],o=e[n+3],128===(192&s)&&128===(192&i)&&128===(192&o)&&(d=(15&u)<<18|(63&s)<<12|(63&i)<<6|63&o)>65535&&d<1114112&&(c=d)}null===c?(c=65533,l=1):c>65535&&(c-=65536,a.push(c>>>10&1023|55296),c=56320|1023&c),a.push(c),n+=l}return nw(a)}_D.TYPED_ARRAY_SUPPORT=void 0===Ms.TYPED_ARRAY_SUPPORT||Ms.TYPED_ARRAY_SUPPORT,FD(),_D.poolSize=8192,_D._augment=function(e){return e.__proto__=_D.prototype,e},_D.from=function(e,t,r){return ID(null,e,t,r)},_D.TYPED_ARRAY_SUPPORT&&(_D.prototype.__proto__=Uint8Array.prototype,_D.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&_D[Symbol.species]),_D.alloc=function(e,t,r){return OD(null,e,t,r)},_D.allocUnsafe=function(e){return ND(null,e)},_D.allocUnsafeSlow=function(e){return ND(null,e)},_D.isBuffer=Cw,_D.compare=function(e,t){if(!qD(e)||!qD(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},_D.prototype.compare=function(e,t,r,a,n){if(!qD(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),i=(r>>>=0)-(t>>>=0),o=Math.min(s,i),d=this.slice(a,n),u=e.slice(t,r),c=0;cn)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return JD(this,e,t,r);case"utf8":case"utf-8":return YD(this,e,t,r);case"ascii":return $D(this,e,t,r);case"latin1":case"binary":return ZD(this,e,t,r);case"base64":return QD(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ew(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},_D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aw=4096;function nw(e){var t=e.length;if(t<=aw)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function cw(e,t,r,a,n,s){if(!qD(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function lw(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function pw(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function fw(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function gw(e,t,r,a,n){return n||fw(e,t,r,4),AD(e,t,r,a,23,4),r+4}function hw(e,t,r,a,n){return n||fw(e,t,r,8),AD(e,t,r,a,52,8),r+8}_D.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},_D.prototype.readUInt8=function(e,t){return t||uw(e,1,this.length),this[e]},_D.prototype.readUInt16LE=function(e,t){return t||uw(e,2,this.length),this[e]|this[e+1]<<8},_D.prototype.readUInt16BE=function(e,t){return t||uw(e,2,this.length),this[e]<<8|this[e+1]},_D.prototype.readUInt32LE=function(e,t){return t||uw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},_D.prototype.readUInt32BE=function(e,t){return t||uw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},_D.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||uw(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},_D.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||uw(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},_D.prototype.readInt8=function(e,t){return t||uw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},_D.prototype.readInt16LE=function(e,t){t||uw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},_D.prototype.readInt16BE=function(e,t){t||uw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},_D.prototype.readInt32LE=function(e,t){return t||uw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},_D.prototype.readInt32BE=function(e,t){return t||uw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},_D.prototype.readFloatLE=function(e,t){return t||uw(e,4,this.length),CD(this,e,!0,23,4)},_D.prototype.readFloatBE=function(e,t){return t||uw(e,4,this.length),CD(this,e,!1,23,4)},_D.prototype.readDoubleLE=function(e,t){return t||uw(e,8,this.length),CD(this,e,!0,52,8)},_D.prototype.readDoubleBE=function(e,t){return t||uw(e,8,this.length),CD(this,e,!1,52,8)},_D.prototype.writeUIntLE=function(e,t,r,a){e=+e,t|=0,r|=0,a||cw(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},_D.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,1,255,0),_D.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},_D.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,65535,0),_D.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):lw(this,e,t,!0),t+2},_D.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,65535,0),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):lw(this,e,t,!1),t+2},_D.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,4294967295,0),_D.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):pw(this,e,t,!0),t+4},_D.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,4294967295,0),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):pw(this,e,t,!1),t+4},_D.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);cw(this,e,t,r,n-1,-n)}var s=0,i=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+r},_D.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);cw(this,e,t,r,n-1,-n)}var s=r-1,i=1,o=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/i>>0)-o&255;return t+r},_D.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,1,127,-128),_D.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},_D.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,32767,-32768),_D.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):lw(this,e,t,!0),t+2},_D.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,32767,-32768),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):lw(this,e,t,!1),t+2},_D.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,2147483647,-2147483648),_D.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):pw(this,e,t,!0),t+4},_D.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):pw(this,e,t,!1),t+4},_D.prototype.writeFloatLE=function(e,t,r){return gw(this,e,t,!0,r)},_D.prototype.writeFloatBE=function(e,t,r){return gw(this,e,t,!1,r)},_D.prototype.writeDoubleLE=function(e,t,r){return hw(this,e,t,!0,r)},_D.prototype.writeDoubleBE=function(e,t,r){return hw(this,e,t,!1,r)},_D.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!_D.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function Rw(e){for(var t=[],r=0;r>8,n=r%256,s.push(n),s.push(a);return s}function Dw(e){return ED(yw(e))}function ww(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function jw(e){return e!==e}function Cw(e){return null!=e&&(!!e._isBuffer||Aw(e)||Sw(e))}function Aw(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Sw(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&Aw(e.slice(0,0))}var kw,Tw={exports:{}};function Fw(){return kw||(kw=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,u&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(g)}function g(e,t){return e[0]-t[0]}function h(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),u=0,c="",l=0;l0&&(u===n&&(c+=d.decode(i),u=0),i[u++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(c+=d.decode(o),i.copyWithin(0,s,u),u-=s),f>0&&(i[u++]=t),u=m(i,u,a,g,0),1!==g.length&&(u=m(i,u,a,g,1),u=m(i,u,a,g,2),u=m(i,u,a,g,3),4!==g.length&&(u=m(i,u,a,g,4)))}}}return c+d.decode(i.subarray(0,u))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=u,e.encode=h,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,Tw.exports)),Tw.exports}Tw.exports;var Pw,_w={exports:{}},Iw={exports:{}};function Bw(){return Pw||(Pw=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,u&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(g)}function g(e,t){return e[0]-t[0]}function h(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),u=0,c="",l=0;l0&&(u===n&&(c+=d.decode(i),u=0),i[u++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(c+=d.decode(o),i.copyWithin(0,s,u),u-=s),f>0&&(i[u++]=t),u=m(i,u,a,g,0),1!==g.length&&(u=m(i,u,a,g,1),u=m(i,u,a,g,2),u=m(i,u,a,g,3),4!==g.length&&(u=m(i,u,a,g,4)))}}}return c+d.decode(i.subarray(0,u))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=u,e.encode=h,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,Iw.exports)),Iw.exports}Iw.exports;var Ow,Nw={exports:{}};function Mw(){return Ow||(Ow=1,e=Nw,Nw.exports,function(t,r){e.exports=r()}(0,(function(){var e,t=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(e){return t.test(e)}function s(e){return e.startsWith("//")}function i(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function d(e){return/^[.?#]/.test(e)}function u(e){var t=r.exec(e);return l(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function c(e){var t=a.exec(e),r=t[2];return l("file:","",t[1]||"","",i(r)?r:"/"+r,t[3]||"",t[4]||"")}function l(t,r,a,n,s,i,o){return{scheme:t,user:r,host:a,port:n,path:s,query:i,hash:o,type:e.Absolute}}function p(t){if(s(t)){var r=u("http:"+t);return r.scheme="",r.type=e.SchemeRelative,r}if(i(t)){var a=u("http://foo.com"+t);return a.scheme="",a.host="",a.type=e.AbsolutePath,a}if(o(t))return c(t);if(n(t))return u(t);var d=u("http://foo.com/"+t);return d.scheme="",d.host="",d.type=t?t.startsWith("?")?e.Query:t.startsWith("#")?e.Hash:e.RelativePath:e.Empty,d}function f(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}function g(e,t){h(t,t.type),"/"===e.path?e.path=t.path:e.path=f(t.path)+e.path}function h(t,r){for(var a=r<=e.RelativePath,n=t.path.split("/"),s=1,i=0,o=!1,d=1;dn&&(n=i)}h(a,n);var o=a.query+a.hash;switch(n){case e.Hash:case e.Query:return o;case e.RelativePath:var u=a.path.slice(1);return u?d(r||t)&&!d(u)?"./"+u+o:u+o:o||".";case e.AbsolutePath:return a.path+o;default:return a.scheme+"//"+a.user+a.host+a.port+a.path+o}}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(e||(e={})),m}))),Nw.exports;var e}Nw.exports,_w.exports,function(e,t){!function(e,r){r(t,Bw(),Mw())}(0,(function(e,t,r){function a(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var n=a(r);function s(e,t){return t&&!t.endsWith("/")&&(t+="/"),n.default(e,t)}function i(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}var o=0,u=1,c=2,l=3,p=4,f=1,g=2;function h(e,t){var r=m(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a>1),s=e[n][o]-t;if(0===s)return x=!0,n;s<0?r=n+1:a=n-1}return x=!1,r-1}function E(e,t,r){for(var a=r+1;a=0&&e[a][o]===t;r=a--);return r}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function j(e,t,r,a){var n=r.lastKey,s=r.lastNeedle,i=r.lastIndex,d=0,u=e.length-1;if(a===n){if(t===s)return x=-1!==i&&e[i][o]===t,i;t>=s?d=-1===i?0:i:u=i}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=R(e,t,d,u)}function C(e,t){for(var r=t.map(S),a=0;at;a--)e[a]=e[a-1];e[t]=r}function S(){return{__proto__:null}}var k=function(t,r){var a="string"===typeof t?JSON.parse(t):t;if(!("sections"in a))return new M(a,r);var n=[],s=[],i=[],o=[];T(a,r,n,s,i,o,0,0,1/0,1/0);var d={version:3,file:a.file,names:o,sources:s,sourcesContent:i,mappings:n};return e.presortedDecodedMap(d)};function T(e,t,r,a,n,s,i,o,d,u){for(var c=e.sections,l=0;lg)return;for(var j=_(a,w),C=0===D?f:0,A=b[D],S=0;S=h)return;if(1!==k.length){var I=y+k[u],B=k[c],O=k[l];j.push(4===k.length?[F,I,B,O]:[F,I,B,O,v+k[p]])}else j.push([F])}}}function P(e,t){for(var r=0;r=n.length)return null;var s=n[r],i=V(s,t._decodedMemo,r,a,N);return-1===i?null:s[i]},e.originalPositionFor=function(t,r){var a=r.line,n=r.column,s=r.bias;if(--a<0)throw new Error(I);if(n<0)throw new Error(B);var i=e.decodedMappings(t);if(a>=i.length)return U(null,null,null,null);var o=i[a],d=V(o,t._decodedMemo,a,n,s||N);if(-1===d)return U(null,null,null,null);var f=o[d];if(1===f.length)return U(null,null,null,null);var g=t.names;return U(t.resolvedSources[f[u]],f[c]+1,f[l],5===f.length?g[f[p]]:null)},e.allGeneratedPositionsFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||O,!0)},e.generatedPositionFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||N,!1)},e.eachMapping=function(t,r){for(var a=e.decodedMappings(t),n=t.names,s=t.resolvedSources,i=0;i=0&&!(t>=e[a][s]);r=a--);return r}function h(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function m(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r1?String.fromCharCode(e).repeat(t):String.fromCharCode(e),10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var s=t.column,i=t.identifierName,o=t.identifierNamePos,d=t.filename,u=t.line;null==i&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var c=e.indexOf("\n"),l=0;for(0!==c&&this._mark(u,s,i,o,d);-1!==c;)n.line++,n.column=0,(l=c+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)}else t()},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t.withSource=function(e,t,r){this._map&&this.source(e,t),r()},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function iC(e){return Vj(e)||nC(e)||Xj(e)}var oC=function(e,t){return mj(t,{superClass:e})},dC=function(e,t){return(Pj(t)||Nj(t))&&t.object===e||(hj(t)||Oj(t)||_j(t))&&t.callee===e||Yj(t)&&t.tag===e||Gj(t)};function uC(e,t){return dj(t)}function cC(e,t,r){if(!(r.length<3))return eC(t)||Tj(t)||dj(t)||Zj(t)&&uj(r[r.length-3])}function lC(e,t){return dC(e,t)||oC(e,t)}function pC(e,t,r){return _C(r,3)}function fC(e,t,r){return!e.async&&_C(r,1)}function gC(e,t){if("**"===e.operator&&fj(t,{operator:"**"}))return t.left===e;if(oC(e,t))return!0;if(dC(e,t)||Qj(t)||lj(t))return!0;if(pj(t)){var r=t.operator,a=sC[r],n=e.operator,s=sC[n];if(a===s&&t.right===e&&!Fj(t)||a>s)return!0}}function hC(e,t){return dj(t)||Ij(t)||Tj(t)||eC(t)}function mC(e,t){return kj(t,{objectType:e})}function yC(){return!0}function vC(e,t){return zj(t)||Wj(t)||Hj(t)||Jj(t)||Kj(t)}function bC(e,t){return zj(t)||Wj(t)}function xC(e,t){return(hj(t)||Oj(t)||_j(t)||qj(t))&&!!t.typeParameters}function RC(e,t){return"in"===e.operator&&(tC(t)||Dj(t))}function EC(e,t){return!(Cj(t)||$j(t)||Mj(t)||Sj(t)&&t.test===e||rC(t)&&t.test===e||wj(t)&&t.right===e||Uj(t)&&t.discriminant===e||Ej(t)&&t.expression===e)}function DC(e,t){return pj(t)||Qj(t)||dC(e,t)||lj(t)&&aC(e)||bj(t)&&e===t.test||oC(e,t)}function wC(e,t,r){return _C(r,5)}function jC(e,t){return dC(e,t)||fj(t,{operator:"**",left:e})||oC(e,t)}function CC(e,t,r){return _C(r,5)}function AC(e,t){return xj(t)||SC(e,t)}function SC(e,t){return!!(Qj(t)||pj(t)||bj(t,{test:e})||lj(t)||iC(t))||jC(e,t)}function kC(e,t){return hj(t,{callee:e})||Pj(t,{object:e})}function TC(e,t){return!!Bj(e.left)||SC(e,t)}function FC(e,t){if(iC(t))return!0;switch(e.operator){case"||":return!!Fj(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return Fj(t,{operator:"??"});case"??":return Fj(t)&&"??"!==t.operator}}function PC(e,t,r){var a;return!(null==(a=e.extra)||!a.parenthesized||!cj(t,{left:e})||!Aj(t.right)&&!yj(t.right)||null!=t.right.id)||("let"===e.name?_C(r,Pj(t,{object:e,computed:!0})||Nj(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&jj(t)&&e===t.left)}function _C(e,t){var r=1&t,a=2&t,n=4&t,s=8&t,i=16&t,o=32&t,d=e.length-1;if(!(d<=0)){for(var u=e[d],c=e[--d];d>=0;){if(r&&Ej(c,{expression:u})||n&&Rj(c,{declaration:u})||a&&uj(c,{body:u})||s&&Cj(c,{init:u})||i&&wj(c,{left:u})||o&&jj(c,{left:u}))return!0;if(!(d>0&&(dC(u,c)&&!_j(c)||Lj(c)&&c.expressions[0]===u||gj(c)&&!c.prefix||vj(c,{test:u})||pj(c,{left:u})||cj(c,{left:u}))))return!1;u=c,c=e[--d]}return!1}}var IC=No,BC=ue,OC=Fe,NC=Pe;function MC(e){var t={};function r(e,r){var a=t[e];t[e]=a?function(e,t,n){var s=a(e,t,n);return null==s?r(e,t,n):s}:r}for(var a=0,n=Object.keys(e);a1}),jA(t))if(CA(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()}function YA(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}var $A=st,ZA=it;function QA(e,t){($A(t)||ZA(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function eS(e){this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))}function tS(e){var t,r;this.printJoin(e.decorators,e);var a=null==(t=e.key.loc)||null==(r=t.end)?void 0:r.line;a&&this.catchUp(a),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function rS(e){var t,r;this.printJoin(e.decorators,e);var a=null==(t=e.key.loc)||null==(r=t.end)?void 0:r.line;a&&this.catchUp(a),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function aS(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function nS(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function sS(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function iS(e){var t,r;this.printJoin(e.decorators,e);var a=null==(t=e.key.loc)||null==(r=t.end)?void 0:r.line;a&&this.catchUp(a),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function oS(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))}var dS=Ee;function uS(e,t,r){this.print(e.typeParameters,e);var a=vS.call(this,t,r);a&&this.sourceIdentifierName(a.name,a.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);var n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n}function cS(e,t){for(var r=e.length,a=0;a"),this.space(),this.print(e.body,e)}function yS(e,t){var r,a;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(r=t.leadingComments)&&r.length||null!=(a=t.trailingComments)&&a.length)}function vS(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,i;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(i=r.loc)?void 0:i.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}var bS=at,xS=ga,RS=jt,ES=ct,DS=lt,wS=zn;function jS(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function CS(e){this.print(e.local,e)}function AS(e){this.print(e.exported,e)}function SS(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function kS(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var TS,FS,PS,_S,IS=!1;function BS(e){var t=this.format.importAttributesKeyword,r=e.attributes,a=e.assertions;!r||t||IS||(IS=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var n="assert"===t||!t&&a;this.word(n?"assert":"with"),this.space(),n||"with"===t?(this.tokenChar(123),this.space(),this.printList(r||a,e),this.space(),this.tokenChar(125)):this.printList(r||a,e)}function OS(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function NS(e,t){bS(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function MS(e){if(NS(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t,e),wS(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r,a,n=e.specifiers.slice(0),s=!1;;){var i=n[0];if(!xS(i)&&!RS(i))break;s=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}(n.length||!n.length&&!s)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(r=e.attributes)&&r.length||null!=(a=e.assertions)&&a.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)),this.semicolon()}}function LS(e){NS(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();var t=e.declaration;this.print(t,e),wS(t)||this.semicolon()}function US(e){var t,r;this.word("import"),this.space();var a="type"===e.importKind||"typeof"===e.importKind;a?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module&&(this.noIndentInnerCommentsHere(),this.word("module"),this.space());for(var n=e.specifiers.slice(0),s=!!n.length;s;){var i=n[0];if(!ES(i)&&!DS(i))break;this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}n.length?(this.tokenChar(123),this.space(),this.printList(n,e),this.space(),this.tokenChar(125)):a&&!s&&(this.tokenChar(123),this.tokenChar(125)),(s||a)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function zS(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function VS(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}function qS(){if(FS)return TS;FS=1;var e={},t=e.hasOwnProperty,r=function(e,r){for(var a in e)t.call(e,a)&&r(a,e[a])},a=function(e,t){return t?(r(t,(function(t,r){e[t]=r})),e):e},n=function(e,t){for(var r=e.length,a=-1;++a2?s(l):"\\x"+("00"+l).slice(-2)})),"`"==C&&(j=j.replace(/\$\{/g,"\\${")),o.isScriptContext&&(j=j.replace(/<\/(script|style)/gi,"<\\/$1").replace(//,"$2")||""))return;if(a){if(e(t,n,"pre",a))return;return i.value=(i.value||"").replace(/^(\n|\s)+/,""),i}return i.value=(i.value||"").replace(/^(\n|\s)+/,""),i}}},yn=function(e){var t=e.value,r=function(){return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((function(e,t){return e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e}),{})}((void 0===t?"":t).replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(r).forEach((function(e){"true"===r[e]&&(r[e]=!0),"false"===r[e]&&(r[e]=!1),"string"!==typeof r[e]||/^0/.test(r[e])||isNaN(+r[e])||(r[e]=+r[e])})),r},vn=function(e,t,r){return"string"===r?(0,v.Z)((0,v.Z)({},e),{},{"data-config":JSON.stringify((0,v.Z)((0,v.Z)({},t),{},{rehyp:!0}))}):"attr"===r?(0,v.Z)((0,v.Z)({},e),t):(0,v.Z)((0,v.Z)({},e),{},{"data-config":(0,v.Z)((0,v.Z)({},t),{},{rehyp:!0})})},bn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.properties,r=void 0===t?"data":t,a=e.codeBlockParames,n=void 0===a||a;return function(e){Je(e,"element",(function(e,t,a){if(n&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&a&&Array.isArray(a.children)&&a.children.length>1){var s=e.children[0];if(s&&"code"===s.tagName&&"number"===typeof t){var i=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;t>-1;){if(!e[--t])return;if(e[t]&&e[t].value&&""!==e[t].value.replace(/(\n|\s)/g,"")||"text"!==e[t].type){if(!/^rehype:/.test(e[t].value)||"comment"!==e[t].type)return;return e[t]}}}(a.children,t);if(i){var o=yn(i);Object.keys(o).length>0&&(e.properties=(0,v.Z)((0,v.Z)({},e.properties),{"data-type":"rehyp"}),s.properties=vn(s.properties,o,r))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&a&&Array.isArray(a.children)&&"number"===typeof t){var d=mn(a.children,t,"",n);if(d){var u=yn(d);Object.keys(u).length>0&&(e.properties=vn(e.properties,u,r))}}}))}},xn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.openDelimiter,r=void 0===t?"rehype:ignore:start":t,a=e.closeDelimiter,n=void 0===a?"rehype:ignore:end":a;return function(e){Je(e,(function(e,t,a){if("element"===e.type||"root"===e.type){var s=!1;e.children=e.children.filter((function(e){if("raw"===e.type||"comment"===e.type){var t=(e.value||"").trim();if((t=t.replace(/^/,"$1"))===r)return s=!0,!1;if(t===n)return s=!1,!1}return!s}))}}))}},Rn={}.hasOwnProperty,En=r(5318),Dn=r(4277),wn=r(656);function jn(){jn=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,a,n){var s=new RegExp(e,a);return t.set(s,n||t.get(e)),Cn(s,r.prototype)}function a(e,r){var a=t.get(r);return Object.keys(a).reduce((function(t,r){return t[r]=e[a[r]],t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cn(e,t)}(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);return r&&(r.groups=a(r,this)),r},r.prototype[Symbol.replace]=function(r,n){if("string"==typeof n){var s=t.get(this);return e[Symbol.replace].call(this,r,n.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+s[t]})))}if("function"==typeof n){var i=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(a(e,i)),n.apply(this,e)}))}return e[Symbol.replace].call(this,r,n)},jn.apply(this,arguments)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cn(e,t)}function An(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var kn=function(e){return function(t){return void 0===t&&(t={}),function(e){Je(e,"element",r)};function r(r,a,n){var s,i;if(n&&"pre"===n.tagName&&"code"===r.tagName){var o=(null==r||null==(s=r.data)?void 0:s.meta)||(null==r||null==(i=r.properties)?void 0:i.metastring)||"";r.properties.className?"boolean"==typeof r.properties.className?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[],r.properties.className.push("code-highlight");var d,u,c=function(e){for(var t,r=Sn(e.properties.className);!(t=r()).done;){var a=t.value;if("language-"===a.slice(0,9))return a.slice(9).toLowerCase()}return null}(r);if(c)try{var l;l=null!=c&&c.includes("diff-")?c.split("-")[1]:c,d=e.highlight(nn(r),l),n.properties.className=(n.properties.className||[]).concat("language-"+l)}catch(b){if(!t.ignoreMissing||!/Unknown language/.test(b.message))throw b;d=r}else d=r;d.children=(u=1,function e(t){return t.reduce((function(t,r){if("text"===r.type){var a=r.value,n=(a.match(/\n/g)||"").length;if(0===n)r.position={start:{line:u,column:1},end:{line:u,column:1}},t.push(r);else for(var s,i=a.split("\n"),o=Sn(i.entries());!(s=o()).done;){var d=s.value,c=d[0],l=d[1];t.push({type:"text",value:c===i.length-1?l:l+"\n",position:{start:{line:u+c,column:1},end:{line:u+c,column:1}}})}return u+=n,t}if(Object.prototype.hasOwnProperty.call(r,"children")){var p=u;return r.children=e(r.children),t.push(r),r.position={start:{line:p,column:1},end:{line:u,column:1}},t}return t.push(r),t}),[])})(d.children),d.position=d.children.length>0?{start:{line:d.children[0].position.start.line,column:0},end:{line:d.children[d.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var p,f=function(e){var t=/{([\d,-]+)}/,r=e.split(",").map((function(e){return e.trim()})).join();if(t.test(r)){var a=t.exec(r)[1],n=En(a);return function(e){return n.includes(e+1)}}return function(){return!1}}(o),g=function(e){var t=jn(/showLineNumbers=([0-9]+)/i,{lines:1});if(t.test(e)){var r=t.exec(e);return Number(r.groups.lines)}return 1}(o),h=function(e){for(var t=new Array(e),r=0;r0&&0===i.length)return null}var u,c={};for(u in t)Rn.call(t,u)&&(c[u]="children"===u?i:t[u]);return c}(e)}(d,(function(e){return e.position.start.line<=r+1&&e.position.end.line>=r+1}));a.children=n.children,!o.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||m.some((function(e){return o.toLowerCase().includes(e)}))||(a.properties.line=[(r+g).toString()],a.properties.className.push("line-number")),f(r)&&a.properties.className.push("highlight-line"),("diff"===c||null!=c&&c.includes("diff-"))&&"-"===nn(a).substring(0,1)?a.properties.className.push("deleted"):("diff"===c||null!=c&&c.includes("diff-"))&&"+"===nn(a).substring(0,1)&&a.properties.className.push("inserted")},v=Sn(h.entries());!(p=v()).done;)y();h.length>0&&""===nn(h[h.length-1]).trim()&&h.pop(),r.children=h}}}},Tn=(kn(Dn.$),kn(wn.$)),Fn="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",Pn="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",_n=new RegExp("^[^"+Pn+"]*["+Fn+"]"),In=new RegExp("^[^"+Fn+"]*["+Pn+"]");function Bn(e){var t=function(e){var t=String(e||"");return _n.test(t)?"rtl":In.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function On(e){var t="element"===e.type&&e.properties&&"string"===typeof e.properties.dir?e.properties.dir.toLowerCase():void 0;return"auto"===t||"ltr"===t||"rtl"===t?t:void 0}var Nn=Ma("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,r){return rn(t,r.property)},handlers:{"=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&Mn(t.properties[r.property],r)===e.value)},"~=":function(e,t,r){var a=t.properties&&t.properties[r.property];return!r.commaSeparated&&a&&"object"===typeof a&&e.value&&a.includes(e.value)||rn(t,r.property)&&Mn(a,r)===e.value},"|=":function(e,t,r){var a=Mn(t.properties&&t.properties[r.property],r);return Boolean(rn(t,r.property)&&e.value&&(a===e.value||a.slice(0,e.value.length)===e.value&&"-"===a.charAt(e.value.length)))},"^=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&e.value&&Mn(t.properties[r.property],r).slice(0,e.value.length)===e.value)},"$=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&e.value&&Mn(t.properties[r.property],r).slice(-e.value.length)===e.value)},"*=":function(e,t,r){return Boolean(rn(t,r.property)&&t.properties&&e.value&&Mn(t.properties[r.property],r).includes(e.value))}}});function Mn(e,t){return"boolean"===typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?At.P:Ct.P)(e):String(e)}function Ln(e,t){return function(r,a){for(var n=zn(r,"tag"),s=zn(null===a||void 0===a?"*":a,"range"),i=[],o=-1;++o=r};var a=Math.abs(t),n=(r%a+a)%a;return t>1?function(e){return e>=r&&e%a===n}:function(e){return e<=r&&e%a===n}}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,r=0,a=s(),n=i();if(t=qn&&e.charCodeAt(t)<=Hn;)a=10*a+(e.charCodeAt(t)-qn),t++;return t===r?null:a}function o(){for(;t0},lang:function(e,t,r,a,n){return""!==n.language&&void 0!==n.language&&Un(n.language,(0,At.Q)(e.value)).length>0},"last-child":function(e,t,r,a,n){return ts(n,e),Boolean(n.elementCount&&n.elementIndex===n.elementCount-1)},"last-of-type":function(e,t,r,a,n){return ts(n,e),"number"===typeof n.typeIndex&&"number"===typeof n.typeCount&&n.typeIndex===n.typeCount-1},matches:$n,not:function(e,t,r,a,n){return!$n(e,t,r,a,n)},"nth-child":function(e,t,r,a,n){var s=rs(e);return ts(n,e),"number"===typeof n.elementIndex&&s(n.elementIndex)},"nth-last-child":function(e,t,r,a,n){var s=rs(e);return ts(n,e),Boolean("number"===typeof n.elementCount&&"number"===typeof n.elementIndex&&s(n.elementCount-n.elementIndex-1))},"nth-of-type":function(e,t,r,a,n){var s=rs(e);return ts(n,e),"number"===typeof n.typeIndex&&s(n.typeIndex)},"nth-last-of-type":function(e,t,r,a,n){var s=rs(e);return ts(n,e),"number"===typeof n.typeCount&&"number"===typeof n.typeIndex&&s(n.typeCount-1-n.typeIndex)},"only-child":function(e,t,r,a,n){return ts(n,e),1===n.elementCount},"only-of-type":function(e,t,r,a,n){return ts(n,e),1===n.typeCount},optional:function(e,t){return!Qn(e,t)},"read-only":function(e,t,r,a,n){return!Zn(e,t,r,a,n)},"read-write":Zn,required:Qn,root:function(e,t,r,a,n){return Boolean((!a||"root"===a.type)&&n.schema&&("html"===n.schema.space||"svg"===n.schema.space)&&("html"===t.tagName||"svg"===t.tagName))},scope:function(e,t,r,a,n){return n.scopeElements.includes(t)}}});function Jn(e,t,r,a,n){for(var s=e.pseudos,i=-1;++i"===d.nestingOperator?"directChild":"descendant",u)}else e.found=!0,e.results.includes(r)||e.results.push(r)}null===o.rule.nestingOperator?us(s,"descendant",o):"~"===o.rule.nestingOperator&&us(s,"generalSibling",o)}return s}(e,ds(t,e.rootQuery.selectors),r,a,n)),!("children"in r)||e.shallow||e.one&&e.found||function(e,t,r){var a,n=ds(t.descendant,t.directChild),s=-1,i={count:0,types:new Map},o={count:0,types:new Map};for(;++s0&&t.length>0?[].concat((0,o.Z)(e),(0,o.Z)(t)):e&&e.length>0?e:t&&t.length>0?t:ns}function us(e,t,r){var a=e[t];a?a.push(r):e[t]=[r]}function cs(e,t){if("element"===t.type){var r=t.tagName.toUpperCase(),a=(e.types.get(r)||0)+1;e.count++,e.types.set(r,a)}}var ls=new(r(6408).N);function ps(e){if("string"!==typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return ls.parse(e)}function fs(e,t,r){return{rootQuery:ss(ps(e)),results:[],scopeElements:t?"root"===t.type?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:"svg"===r?xt.YP:xt.dy,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}ls.registerAttrEqualityMods("~","|","^","$","*"),ls.registerSelectorPseudos("any","matches","not","has"),ls.registerNestingOperators(">","+","~");var gs=function e(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(r){"text"===r.type?t+=r.value:"element"===r.type&&r.children&&Array.isArray(r.children)&&(t+=e(r.children))})),t},hs=function(e){var t=e||{},r=t.selector,a=t.rewrite;return function(e){if(a&&"function"===typeof a)if(r&&"string"===typeof r){var t=function(e,t,r){var a=fs(e,t,r);return is(a,t||void 0),a.results}(r,e);t&&t.length>0&&Je(e,t,(function(e,t,r){a(e,t,r)}))}else Je(e,(function(e,t,r){a(e,t,r)}))}},ms={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};function ys(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?ys(t.parentElement):null}function vs(e){var t=function(e){var t=ys(e.target);t&&(t.classList.add("active"),T()(t.dataset.code,(function(){setTimeout((function(){t.classList.remove("active")}),2e3)})))};(0,n.useEffect)((function(){var r,a;return null==(r=e.current)||r.removeEventListener("click",t,!1),null==(a=e.current)||a.addEventListener("click",t,!1),function(){var r;null==(r=e.current)||r.removeEventListener("click",t,!1)}}),[e])}var bs=function(e){return void 0===e&&(e={}),function(e){Je(e,(function(e){"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=(0,s.Z)({},e.properties,{"data-meta":String(e.data.meta)}))}))}},xs=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"],Rs=n.forwardRef((function(e,t){var r=e.prefixCls,a=void 0===r?"wmde-markdown wmde-markdown-color":r,d=e.className,u=e.source,c=e.style,l=e.disableCopy,p=void 0!==l&&l,f=e.skipHtml,g=void 0===f||f,m=e.onScroll,y=e.onMouseOver,v=e.pluginsFilter,b=e.rehypeRewrite,x=e.wrapperElement,R=void 0===x?{}:x,E=e.warpperElement,D=void 0===E?{}:E,w=(0,i.Z)(e,xs),j=n.useRef(null);(0,n.useImperativeHandle)(t,(function(){return(0,s.Z)({},e,{mdp:j})}),[j,e]);var C=(a||"")+" "+(d||"");vs(j);var A=[bs,[Tn,{ignoreMissing:!0}],un,hn,xn,[hs,{rewrite:function(e,t,r){if("element"===e.type&&r&&"root"===r.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var a=e.children&&e.children[0];a&&a.properties&&"true"===a.properties.ariaHidden&&(a.properties=(0,s.Z)({class:"anchor"},a.properties),a.children=[ms])}if("element"===e.type&&"pre"===e.tagName&&!p){var n=gs(e.children);e.children.push((void 0===(i=n)&&(i=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":i},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var i;b&&b(e,t,r)}}],[bn,{properties:"attr"}]].concat((0,o.Z)(w.rehypePlugins||[])),S={allowElement:function(e,t,r){return w.allowElement?w.allowElement(e,t,r):/^[A-Za-z0-9]+$/.test(e.tagName)}};g&&A.push(Za);var k=[].concat((0,o.Z)(w.remarkPlugins||[]),[ja]),T=(0,s.Z)({},D,R);return(0,h.jsx)("div",(0,s.Z)({ref:j,onScroll:m,onMouseOver:y},T,{className:C,style:c,children:(0,h.jsx)(Ut,(0,s.Z)({},S,w,{skipHtml:g,rehypePlugins:v?v("rehype",A):A,remarkPlugins:v?v("remark",k):k,children:u||""}))}))})),Es={components:{34:function(){var e=a(r(8573)),t=a(r(7269));function a(e){return e&&e.__esModule?e:{default:e}}function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);r arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}, {\n date: \'2016/01/12\',\n count: 20\n}, {\n date: \'2016/01/13\',\n count: 10\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx,\n content: \'\'\n };\n})), [{\n date: \'2016/04/11\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/04\',\n count: 11\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo"},64:{name:64,meta:{},code:"\"use strict\";\n\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _reactHeatMap = _interopRequireDefault(require(\"@uiw/react-heat-map\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar value = [{\n date: '2016/01/11',\n count: 2\n}, {\n date: '2016/04/12',\n count: 2\n}, {\n date: '2016/05/01',\n count: 5\n}, {\n date: '2016/05/02',\n count: 5\n}, {\n date: '2016/05/03',\n count: 1\n}, {\n date: '2016/05/04',\n count: 11\n}, {\n date: '2016/05/08',\n count: 32\n}];\nvar Demo = function Demo() {\n return /*#__PURE__*/_react[\"default\"].createElement(_reactHeatMap[\"default\"], {\n value: value,\n width: 600,\n style: {\n color: '#ad001d',\n '--rhm-rect-active': 'red'\n },\n startDate: new Date('2016/01/01'),\n panelColors: {\n 0: '#f4decd',\n 2: '#e4b293',\n 4: '#d48462',\n 10: '#c2533a',\n 20: '#ad001d',\n 30: '#000'\n }\n });\n};\nreturn Demo;",language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo"},103:{name:103,meta:{},code:'"use strict";\n\nfunction _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(5),\n _useState2 = _slicedToArray(_useState, 2),\n range = _useState2[0],\n setRange = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("input", {\n type: "range",\n min: "0",\n max: "5",\n step: "0.1",\n value: range,\n onChange: function onChange(e) {\n return setRange(e.target.value);\n }\n }), " ", range, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n style: {\n \'--rhm-rect\': \'#b9b9b9\'\n },\n startDate: new Date(\'2016/01/01\'),\n legendRender: function legendRender(props) {\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n y: props.y + 10,\n rx: range\n }));\n },\n rectProps: {\n rx: range\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo"},144:{name:144,meta:{},code:'"use strict";\n\nvar _react = _interopRequireDefault(require("react"));\nvar _reactTooltip = _interopRequireDefault(require("@uiw/react-tooltip"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n // if (!data.count) return ;\n return /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {\n placement: "top",\n content: "count: ".concat(data.count || 0)\n }, /*#__PURE__*/_react["default"].createElement("rect", props));\n }\n });\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo"},183:{name:183,meta:{},code:'"use strict";\n\nfunction _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(0),\n _useState2 = _slicedToArray(_useState, 2),\n size = _useState2[0],\n setSize = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("label", {\n style: {\n userSelect: \'none\'\n }\n }, /*#__PURE__*/_react["default"].createElement("input", {\n type: "checkbox",\n checked: size === 0,\n onChange: function onChange(e) {\n return setSize(e.target.checked ? 0 : 12);\n }\n }), size === 0 ? \' Hide\' : \' Show\', " Legend"), /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n legendCellSize: size,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo"},225:{name:225,meta:{},code:'"use strict";\n\nfunction _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(\'\'),\n _useState2 = _slicedToArray(_useState, 2),\n selected = _useState2[0],\n setSelected = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n if (selected !== \'\') {\n props.opacity = data.date === selected ? 1 : 0.45;\n }\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n onClick: function onClick() {\n setSelected(data.date === selected ? \'\' : data.date);\n }\n }));\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo"}},source:"HeatMap \u65e5\u5386\u70ed\u56fe\n===\n\x3c!--rehype:style=text-align: center;--\x3e\n\n[![Build & Deploy](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/npm/dm/@uiw/react-heat-map.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-heat-map.svg)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-heat-map)](https://bundlephobia.com/result?p=@uiw/react-heat-map)\n[![Open in Gitpod](https://shields.io/badge/Open%20in-Gitpod-green?logo=Gitpod)](https://gitpod.io/#https://github.com/uiwjs/react-codemirror)\n[![jsDelivr CDN](https://data.jsdelivr.com/v1/package/npm/@uiw/react-heat-map/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@uiw/react-heat-map)\n\x3c!--rehype:style=text-align: center;--\x3e\n\nA lightweight calendar heatmap react component built on SVG, customizable version of GitHub's contribution graph. Try it out on [website example](https://uiwjs.github.io/react-heat-map/).\n\n\x3c!--rehype:ignore:start--\x3e\n\n[![](https://user-images.githubusercontent.com/1680273/186116433-d58c2b6d-8468-4322-943c-9b63c2e447e4.png)](https://uiwjs.github.io/react-heat-map)\n\n\x3c!--rehype:ignore:end--\x3e\n\n## Install\n\n```bash\n# Not dependent on uiw.\nnpm install @uiw/react-heat-map --save\n```\n\n## Basic Usage\n\nBasic usage example, Please pay warning to the time setting.\n\n\u26a0\ufe0f Example: ~~`2016-01-11`\x3c!--rehype:style=color: red;background-color: #ffd8d8;--\x3e~~ -> `2016/01/11`\x3c!--rehype:style=color: green;background: #a7e4b5;--\x3e, Support `Safari`\x3c!--rehype:style=background-color: #87d499;--\x3e\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo\n```\n\n## Set Color\n\nSet the theme color style.\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo\n```\n\n## Set Rect Style\n\nSet the radius of the rect.\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Tooltip\n\nA simple text popup tip.\n\n```jsx mdx:preview\nimport React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo\n```\n\n## Show/Hide Legend\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo\n```\n\n## Selected Rect\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Props\n\n| Property | Description | Type | Default |\n| ---- | ---- | ---- | ---- |\n| value | Data to be displayed, **required** | Array | `[]` |\n| rectSize | Grid size | number | `11` |\n| legendCellSize | Size of the legend cells, in pixel. Value equal to `0` hide legend. | number | `11` |\n| startDate | Start date | Date | `new Date()` |\n| endDate | End date | Date | - |\n| space | Interval between grid sizes | number | `2` |\xa0\n| rectProps | Grid node attribute settings | `React.SVGProps` | `2` |\n| weekLabels | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']` |\xa0\n| monthLabels | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']` |\xa0\n| panelColors | Backgroud color of active colors | `Record` | `{ 0: '#EBEDF0', 8: '#7BC96F', 4: '#C6E48B', 12: '#239A3B', 32: '#196127' }` |\xa0\n| rectRender | Single `day` block re-render | `(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - |\n| legendRender | Single `legend` block re-render | `(props: React.SVGProps) => React.ReactNode` | - |\n\n## Development\n\n**`development`**\n\nRuns the project in development mode. \n\n```bash\nnpm install\n```\n\n```bash\n# Step 1, run first, listen to the component compile and output the .js file\n# listen for compilation output type .d.ts file\nnpm run watch\n# Step 2, development mode, listen to compile preview website instance\nnpm run start\n```\n\n**`production`**\n\nBuilds the app for production to the build folder.\n\n```bash\nnpm run build\nnpm run doc\n```\n\nThe build is minified and the filenames include the hashes.\nYour app is ready to be deployed!\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n\n \n\n\nMade with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n"},Ds=["inline","node"],ws=["data-meta"],js=z.Preview,Cs=z.Code,As=z.Toolbar,Ss=function(e){var t,r=e.inline,a=e.node,s=(0,b.Z)(e,Ds),i=(0,n.useRef)(null),o=s,d=o["data-meta"],u=(0,b.Z)(o,ws);if((0,n.useEffect)((function(){if(i.current){var e=i.current.parentElement;e&&e.parentElement&&e.parentElement.replaceChild(i.current,e)}}),[i]),r||!H(d))return(0,h.jsx)("code",(0,v.Z)({},s));var c=null===(t=a.position)||void 0===t?void 0:t.start.line,l=q(d)||String(c),p=Es.components["".concat(l)];if(l&&"function"===typeof p){var f=Es.data[l].value||"",g=V(d);return(0,h.jsxs)(z,{children:[(0,h.jsx)(js,{children:(0,h.jsx)(p,{})}),(0,h.jsx)(As,{text:f,children:g.title||"Code Example"}),(0,h.jsx)(Cs,{children:(0,h.jsx)("code",(0,v.Z)({},u))})]})}return(0,h.jsx)("code",(0,v.Z)({},u))};function ks(){return(0,h.jsx)(Rs,{style:{maxWidth:920,margin:"0 auto",padding:"30px 10px 0 10px"},disableCopy:!0,rehypePlugins:[xn],source:Es.source,components:{code:Ss}})}var Ts=r(3480),Fs=r(7269),Ps="App_header__G9FVm",_s="App_logo__8q6ZT",Is="App_info__vaSms",Bs="App_app__ozyN1",Os="App_example__uwPPL",Ns="App_tools__iziyx",Ms=[{date:"2016/01/11",count:2,content:""}].concat((0,o.Z)((0,o.Z)(Array(17)).map((function(e,t){return{date:"2016/02/".concat(t+10),count:t,content:""}}))),[{date:"2016/03/02",count:5,content:""},{date:"2016/03/04",count:11,content:""},{date:"2016/03/14",count:31,content:""},{date:"2016/03/16",count:2,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/05/01",count:5,content:""},{date:"2016/05/02",count:5,content:""},{date:"2016/05/04",count:11,content:""},{date:"2016/05/14",count:31,content:""},{date:"2016/05/16",count:2,content:""},{date:"2016/05/17",count:2,content:""},{date:"2016/05/18",count:2,content:""},{date:"2016/05/19",count:8,content:""},{date:"2016/05/20",count:6,content:""},{date:"2016/05/21",count:41,content:""},{date:"2016/05/22",count:6,content:""},{date:"2016/06/11",count:2,content:""},{date:"2016/07/01",count:5,content:""},{date:"2016/07/02",count:5,content:""},{date:"2016/07/04",count:11,content:""},{date:"2016/07/14",count:31,content:""},{date:"2016/07/16",count:2,content:""},{date:"2016/07/17",count:2,content:""},{date:"2016/07/18",count:2,content:""},{date:"2016/07/19",count:8,content:""},{date:"2016/07/20",count:6,content:""},{date:"2016/07/21",count:41,content:""},{date:"2016/07/22",count:6,content:""}],(0,o.Z)((0,o.Z)(Array(17)).map((function(e,t){return{date:"2016/08/".concat(t+10),count:t,content:""}})))),Ls=[{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/04/01",count:5,content:""},{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/20",count:6,content:""},{date:"2016/04/21",count:41,content:""},{date:"2016/04/22",count:6,content:""}],Us={0:"rgb(255 255 255 / 25%)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#ff7b00"};function zs(){var e=(0,n.useState)(Ms),t=(0,x.Z)(e,2),r=t[0],a=t[1],s=(0,n.useState)(),i=(0,x.Z)(s,2),o=i[0],d=i[1],u=(0,n.useState)(!1),c=(0,x.Z)(u,2),l=c[0],p=c[1],f=(0,n.useState)(!1),g=(0,x.Z)(f,2),m=g[0],y=g[1],b=(0,n.useState)(!1),R=(0,x.Z)(b,2),E=R[0],D=R[1],w=(0,n.useState)(11),j=(0,x.Z)(w,2),C=j[0],A=j[1],S=(0,n.useState)(),k=(0,x.Z)(S,2),T=k[0],F=k[1],P=(0,n.useState)(void 0),_=(0,x.Z)(P,2),I=_[0],B=_[1],O=(0,n.useState)(void 0),N=(0,x.Z)(O,2),M=N[0],L=N[1];return(0,h.jsxs)(n.Fragment,{children:[(0,h.jsx)("div",{className:Os,style:{width:663},children:(0,h.jsx)(Fs.default,{style:{backgroundColor:m?"#000":"#fff",color:m?"#888":"#000"},panelColors:m?Us:void 0,width:663,rectSize:C,legendCellSize:T,weekLabels:I,monthLabels:M,startDate:new Date("2016/01/01"),endDate:l?new Date("2016/6/01"):void 0,value:r,rectProps:{rx:E?5:0,onClick:function(e){d(e.target.dataset.date)}},legendRender:function(e){return(0,h.jsx)("rect",(0,v.Z)((0,v.Z)({},e),{},{rx:E?5:0}))},rectRender:function(e,t){return(0,h.jsx)(Ts.default,{placement:"top",content:"count: ".concat(t.count||0),children:(0,h.jsx)("rect",(0,v.Z)({},e))})}})}),(0,h.jsxs)("div",{style:{width:663,margin:"0 auto"},className:Ns,children:[(0,h.jsxs)("div",{style:{paddingLeft:10,paddingBottom:20},children:[(0,h.jsx)("button",{onClick:function(){return a(Ms)},children:"Value 1"}),(0,h.jsx)("button",{onClick:function(){return a(Ls)},children:"Value 2"}),(0,h.jsx)("span",{children:o})]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"checkbox",checked:l,onChange:function(e){return p(e.target.checked)}}),"endDate = ",l?"2016/6/01":"undefined"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"checkbox",checked:m,onChange:function(e){return y(e.target.checked)}}),m?"Dark":"Light"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"checkbox",checked:E,onChange:function(e){return D(e.target.checked)}}),E?"Circle":"Rect"]}),(0,h.jsxs)("label",{style:{marginTop:15},children:[(0,h.jsx)("input",{type:"radio",name:"weekLabels",checked:void 0===I,onChange:function(e){return B(void 0)}}),"weekLabels = undefined, Default: ",JSON.stringify(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"weekLabels",checked:!1===I,onChange:function(e){return B(!1)}}),"weekLabels = false"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"weekLabels",checked:Array.isArray(I),onChange:function(e){return B(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])}}),"weekLabels = ",JSON.stringify(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])]}),(0,h.jsxs)("label",{style:{marginTop:15},children:[(0,h.jsx)("input",{type:"radio",name:"monthLabels",checked:void 0===M,onChange:function(e){return L(void 0)}}),"monthLabels = undefined, Default:"," ",JSON.stringify(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"])]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"monthLabels",checked:!1===M,onChange:function(e){return L(!1)}}),"monthLabels = false"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"monthLabels",checked:Array.isArray(M),onChange:function(e){return L(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])}}),"monthLabels = ",JSON.stringify(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])]}),(0,h.jsxs)("div",{style:{display:"flex",marginTop:10},children:[(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"rectSize",checked:11===C,onChange:function(e){return A(11)}}),"rectSize = 11"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"rectSize",checked:12===C,onChange:function(e){return A(12)}}),"rectSize = 12"]}),(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"radio",name:"rectSize",checked:14===C,onChange:function(e){return A(14)}}),"rectSize = 14"]})]}),(0,h.jsx)("div",{style:{display:"flex",marginTop:16},children:(0,h.jsxs)("label",{children:[(0,h.jsx)("input",{type:"number",value:T||"",onChange:function(e){return F(Number(e.target.value)||0)}}),"legendCellSize = ",T]})})]})]})}var Vs=r.p+"static/media/logo.3931a054f5ef8356122965d973d55570.svg",qs=function(){return(0,h.jsxs)("div",{className:Bs,children:[(0,h.jsx)("dark-mode",{permanent:!0,style:{position:"fixed",top:8,left:10,zIndex:10}}),(0,h.jsx)(y,{zIndex:9999,fixed:!0,href:"https://github.com/uiwjs/react-heat-map"}),(0,h.jsxs)("header",{className:Ps,children:[(0,h.jsx)("img",{src:Vs,className:_s,alt:"react logo"}),(0,h.jsx)("p",{className:Is,children:"React component create calendar heatmap to visualize time series data, a la github contribution graph."}),(0,h.jsx)(zs,{})]}),(0,h.jsx)(ks,{})]})},Hs=document.getElementById("root");(0,a.s)(Hs).render((0,h.jsx)(qs,{}))},7269:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return E}});var a=r(5773),n=r(808),s=r(8573),i=r(649),o=r(1026),d=r(4760),u={textAnchor:"middle",fontSize:"inherit",fill:"currentColor"},c=function(e){var t=e.weekLabels,r=void 0===t?[]:t,a=e.rectSize,n=void 0===a?0:a,o=e.topPad,c=void 0===o?0:o,l=e.space,p=void 0===l?0:l;return(0,s.useMemo)((function(){return(0,d.jsx)(s.Fragment,{children:(0,i.Z)(Array(7)).map((function(e,t){return r&&r[t]?(0,d.jsx)("text",{className:"w-heatmap-week",x:15,y:c,dy:(t+1)*(n+p)-5,style:u,children:r[t]},t):null}))})}),[n,p,c,r])},l=864e5;function p(e){return e instanceof Date&&!isNaN(e.getTime())}function f(e){return e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate()}var g=function(e){var t=e.monthLabels,r=void 0===t?[]:t,a=e.rectSize,n=void 0===a?0:a,o=e.space,c=void 0===o?0:o,p=e.leftPad,f=void 0===p?0:p,g=e.colNum,h=void 0===g?0:g,m=e.startDate,y=(0,s.useMemo)((function(){return!1===r||h<1?[]:(0,i.Z)(Array(7*h)).map((function(e,t){if(t/7%1===0){var a=new Date(m.getTime()+t*l),n=a.getMonth();return{col:t/7,index:t,month:n,day:a.getDate(),monthStr:r[n],date:a}}return null})).filter(Boolean).filter((function(e,t,r){return r[t-1]&&r[t-1].month!==e.month}))}),[h,r,m]);return(0,s.useMemo)((function(){return(0,d.jsx)(s.Fragment,{children:(0,i.Z)(y).map((function(e,t){return(0,d.jsx)("text",{"data-size":n,x:f+c+c,y:15,dx:e.col*(n+c),textAnchor:"start",style:u,children:e.monthStr},t)}))})}),[y,f,n,c])},h=["style","value","render","key"],m=function(e){var t=e.style,r=e.value,i=e.render,o=(0,n.Z)(e,h),u=(0,a.Z)({},o,{style:(0,a.Z)({display:"block",cursor:"pointer"},t)});if(i&&"function"===typeof i){var c=i((0,a.Z)({},u),r);if(c&&s.isValidElement(c))return c}return(0,d.jsx)("rect",(0,a.Z)({},u))},y=["panelColors","leftPad","topPad","space","rectSize","legendCellSize","legendRender"];function v(e){var t=e.panelColors,r=e.leftPad,i=void 0===r?0:r,o=e.topPad,u=void 0===o?0:o,c=(e.space,e.rectSize),l=void 0===c?0:c,p=e.legendCellSize,f=void 0===p?0:p,g=e.legendRender,h=(0,n.Z)(e,y),v=f||l;return(0,s.useMemo)((function(){return(0,d.jsx)(s.Fragment,{children:Object.keys(t||{}).map((function(e,r){var n=(0,a.Z)({},h,{key:r,x:(v+1)*r+i,y:u+8*l+6,fill:t[Number(e)],width:v,height:v});return g?g(n):(0,d.jsx)(m,(0,a.Z)({},n))}))})}),[t,h,v,i,u,l,g])}var b=["rectSize","legendCellSize","space","startDate","endDate","rectProps","rectRender","legendRender","value","weekLabels","monthLabels","panelColors","style"];function x(e){var t=e||{},r=t.rectSize,u=void 0===r?11:r,h=t.legendCellSize,y=void 0===h?11:h,x=t.space,R=void 0===x?2:x,E=t.startDate,D=void 0===E?new Date:E,w=t.endDate,j=t.rectProps,C=t.rectRender,A=t.legendRender,S=t.value,k=void 0===S?[]:S,T=t.weekLabels,F=void 0===T?["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]:T,P=t.monthLabels,_=void 0===P?["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]:P,I=t.panelColors,B=void 0===I?{0:"var(--rhm-rect, #EBEDF0)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#196127"}:I,O=t.style,N=(0,n.Z)(t,b),M=(0,s.useState)(0),L=(0,o.Z)(M,2),U=L[0],z=L[1],V=(0,s.useState)(F?28:5),q=(0,o.Z)(V,2),H=q[0],G=q[1],W=(0,s.useState)(_?20:5),K=(0,o.Z)(W,2),X=K[0],J=K[1],Y=s.createRef(),$=(0,s.useMemo)((function(){return void 0===(e=Object.keys(B).map((function(e){return parseInt(e,10)})))&&(e=[]),e.sort((function(e,t){return et?1:0}));var e}),[B]),Z=(0,s.useMemo)((function(){return function(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){e.date&&p(new Date(e.date))&&(e.date=f(new Date(e.date)),t[e.date]=e)})),t}(k)}),[k]);(0,s.useEffect)((function(){return G(F?28:5)}),[F]),(0,s.useEffect)((function(){if(Y.current){var e=Y.current.clientWidth-H||0;z(Math.floor(e/(u+R))||0)}}),[u,Y,R,H]),(0,s.useEffect)((function(){J(_?20:5)}),[_]);var Q=(0,s.useMemo)((function(){if(p(D))return D.getDay()?new Date(D.getTime()-D.getDay()*l):D;var e=new Date;return new Date(e.getTime()-e.getDay()*l)}),[D]);return(0,d.jsxs)("svg",(0,a.Z)({ref:Y,style:(0,a.Z)({},{color:"var(--rhm-text-color, #24292e)",userSelect:"none",display:"block",fontSize:10},O)},N,{children:[0!==y&&(0,d.jsx)(v,{legendRender:A,panelColors:B,rectSize:u,legendCellSize:y,leftPad:H,topPad:X,space:R}),(0,d.jsx)(c,{weekLabels:F,rectSize:u,space:R,topPad:X}),(0,d.jsx)(g,{monthLabels:_,rectSize:u,space:R,leftPad:H,colNum:U,startDate:Q}),(0,d.jsx)("g",{transform:"translate("+H+", "+X+")",children:U>0&&(0,i.Z)(Array(U)).map((function(e,t){return(0,d.jsx)("g",{"data-column":t,children:(0,i.Z)(Array(7)).map((function(e,r){var n=new Date(Q.getTime()+l*(7*t+r)),s=f(n),i=(0,a.Z)({},Z[s],{date:s,row:r,column:t,index:7*t+r}),o=(0,a.Z)({},j,{key:r,fill:"var(--rhm-rect, #EBEDF0)",width:u,height:u,x:t*(u+R),y:(u+R)*r,render:C,value:i});return w instanceof Date&&n.getTime()>w.getTime()?null:(s&&Z[s]&&B&&Object.keys(B).length>0?o.fill=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r={});for(var a="",n=0;ne){a=r[t[n]];break}a=r[t[n]]}return a}(Z[s].count||0,$,B):B&&B[0]&&(o.fill=B[0]),(0,d.jsx)(m,(0,a.Z)({},o,{value:i,"data-date":s,"data-index":i.index,"data-row":i.row,"data-column":i.column})))}))},t)}))})]}))}var R=["prefixCls","className"];function E(e){var t=e.prefixCls,r=void 0===t?"w-heatmap":t,s=e.className,i=(0,n.Z)(e,R),o=[s,r].filter(Boolean).join(" ");return(0,d.jsx)(x,(0,a.Z)({className:o},i))}},3376:function(e){e.exports=function(){"use strict";function e(e,t){if("undefined"!==typeof document){var r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style={position:"absolute",left:"-9999px"},document.body.appendChild(r);var a=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);r.select();var n=!1;try{n=!!document.execCommand("copy")}catch(s){n=!1}document.body.removeChild(r),a&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(a)),t&&t(n)}}return e}()},3480:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return X}});var a=r(5773),n=r(808),s=r(8573),i=r(726),o=r(1026);function d(){}var u=r(3219);function c(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=r(6836),p=!1,f=s.createContext(null),g=function(e){return e.scrollTop},h="unmounted",m="exited",y="entering",v="entered",b="exiting",x=function(e){function t(t,r){var a;a=e.call(this,t,r)||this;var n,s=r&&!r.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?s?(n=m,a.appearStatus=y):n=v:n=t.unmountOnExit||t.mountOnEnter?h:m,a.state={status:n},a.nextCallback=null,a}(0,u.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===h?{status:m}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==y&&r!==v&&(t=y):r!==y&&r!==v||(t=b)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,a=this.props.timeout;return e=t=r=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,r=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===y){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);r&&g(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:h})},r.performEnter=function(e){var t=this,r=this.props.enter,a=this.context?this.context.isMounting:e,n=this.props.nodeRef?[a]:[l.findDOMNode(this),a],s=n[0],i=n[1],o=this.getTimeouts(),d=a?o.appear:o.enter;!e&&!r||p?this.safeSetState({status:v},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,i),this.safeSetState({status:y},(function(){t.props.onEntering(s,i),t.onTransitionEnd(d,(function(){t.safeSetState({status:v},(function(){t.props.onEntered(s,i)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),a=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!p?(this.props.onExit(a),this.safeSetState({status:b},(function(){e.props.onExiting(a),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(a)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(a){r&&(r=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),a=null==e&&!this.props.addEndListener;if(r&&!a){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=n[0],i=n[1];this.props.addEndListener(s,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===h)return null;var t=this.props,r=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(f.Provider,{value:null},"function"===typeof r?r(e,a):s.cloneElement(s.Children.only(r),a))},t}(s.Component);function R(){}x.contextType=f,x.propTypes={},x.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:R,onEntering:R,onEntered:R,onExit:R,onExiting:R,onExited:R},x.UNMOUNTED=h,x.EXITED=m,x.ENTERING=y,x.ENTERED=v,x.EXITING=b;var E=x,D=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return a=t,void((r=e).classList?r.classList.remove(a):"string"===typeof r.className?r.className=c(r.className,a):r.setAttribute("class",c(r.className&&r.className.baseVal||"",a)));var r,a}))},w=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;ng.height&&(d.placement=s.replace(/^top/,"bottom"),d.top=d.top+g.height+f.height),s&&/^(bottom)/.test(s)&&hg.height&&(d.placement=s.replace(/^bottom/,"top"),d.top=d.top-g.height-f.height),s&&/^(right)/.test(s)&&m0){var e,t=(0,i.Z)(N.current);try{for(t.s();!(e=t.n()).done;){var r=e.value;window.clearTimeout(r)}}catch(a){t.e(a)}finally{t.f()}N.current=[]}}function re(){var t;te(),M.current="show";var r=G(e.delay);if(r.show||null!=(t=e.children)&&t.props.disabled){var a=window.setTimeout((function(){"show"===M.current&&ie()}),r.show);clearTimeout(a),N.current.push(a)}else ie()}function ae(t){if(te(),t||!e.isOutside){M.current="hide";var r=G(e.delay);if(r.hide){var a=window.setTimeout((function(){"hide"===M.current&&se()}),r.hide);N.current.push(a)}else se()}}function ne(e,t,r){var a=t.currentTarget,n=t.relatedTarget||t.nativeEvent[r],s=!0;(O.current&&_(O.current,n)||B.current&&_(B.current,n))&&(s=!1),n&&n===a||_(a,n)||e(s,t)}function se(){z&&(I.current<=999?I.current=999:I.current-=1,V(!1))}function ie(){var e;if(!z){var t=null==(e=B.current)?void 0:e.style.zIndex;t?I.current=Number(t)+1:I.current+=1,V(!0)}}return"click"!==b||y||(Z.onClick=function(e){var t=(Y&&s.isValidElement(Y)?Y.props:{}).onClick;z?se():ie(),t&&t(e,!z)}),"focus"!==b||y||(Z.onFocus=function(){return re()}),"hover"!==b||y||(Z.onMouseOver=Z.onMouseEnter=function(e){ne(re,e,"fromElement")},Z.onMouseOut=Z.onMouseLeave=function(e){ne(ae,e,"toElement")},$.dialogProps&&($.dialogProps.onMouseLeave=function(e){ne(ae,e,"toElement")})),$.style=(0,a.Z)({},$.style,X),(0,S.jsxs)(s.Fragment,{children:[(0,s.cloneElement)(Y,Object.assign({},Y.props,(0,a.Z)({},Z,{ref:B,style:(0,a.Z)({},null==(r=Y.props)?void 0:r.style,{zIndex:I.current}),className:[Y.props.className,y?l+"-disabled":null].filter(Boolean).join(" ").trim()}))),(0,S.jsx)(T,(0,a.Z)({},$,{style:(0,a.Z)({},$.style,X),onEnter:function(e,t){F&&F(e,t);var r=q({placement:X.placement||R,trigger:B.current,popup:O.current,usePortal:f,autoAdjustOverflow:E});J((0,a.Z)({},r,{zIndex:I.current}))},className:[l,u,X.placement].filter(Boolean).join(" ").trim(),usePortal:f,transitionName:D,isOpen:z,hasBackdrop:!1,children:(0,s.cloneElement)(j,Object.assign((0,a.Z)({},j.props,{ref:O,className:[j.props&&j.props.className,R].filter(Boolean).join(" ").trim()})))}))]})})),K=["prefixCls","className","placement","isOpen","trigger","delay","usePortal","visibleArrow","onVisibleChange"],X=function(e){void 0===e&&(e={});var t=e,r=t.prefixCls,s=void 0===r?"w-tooltip":r,i=t.className,o=t.placement,d=void 0===o?"top":o,u=t.isOpen,c=void 0!==u&&u,l=t.trigger,p=t.delay,f=t.usePortal,g=void 0===f||f,h=t.visibleArrow,m=void 0===h||h,y=t.onVisibleChange,v=(0,n.Z)(e,K),b=[s,i,m?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,S.jsx)(W,(0,a.Z)({usePortal:g,isOpen:c,trigger:l,delay:p,onVisibleChange:y,placement:d},v,{overlay:(0,S.jsxs)("div",{className:b,children:[m&&(0,S.jsx)("div",{className:s+"-arrow"}),(0,S.jsx)("div",{className:s+"-inner",children:e.content})]}),children:"object"===typeof e.children?e.children:(0,S.jsx)("span",{children:e.children})}))}},6155:function(e,t,r){var a=r(8983).default,n=r(2081).default,s=r(7266).default,i=r(8724).default,o=r(670).default,d=r(9952).default,u=r(3231).default,c=document,l="_dark_mode_theme_",p="permanent",f="colorschemechange",g="light",h="dark",m=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get:function(){var e=this.getAttribute(t);return null===e?"":e},set:function(e){this.setAttribute(t,e)}})},y=function(e){"use strict";i(r,e);var t=o(r);function r(){var e;return a(this,r),e=t.call(this),u(s(e),"LOCAL_NANE",l),e.t(),e}return n(r,[{key:"connectedCallback",value:function(){var e=this;m(this,"mode"),m(this,h),m(this,g),function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get:function(){return this.hasAttribute(t)},set:function(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,p);var t=localStorage.getItem(l);t&&[g,h].includes(t)&&(this.mode=t,this.permanent=!0),this.permanent&&!t&&localStorage.setItem(l,this.mode);var r=[g,h].includes(t);this.permanent&&t?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=h,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=g,this.o())),this.permanent||r||(window.matchMedia("(prefers-color-scheme: light)").onchange=function(t){e.mode=t.matches?g:h,e.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=function(t){e.mode=t.matches?h:g,e.o()}),new MutationObserver((function(t,a){e.mode=c.documentElement.dataset.colorMode,e.permanent&&r&&(localStorage.setItem(l,e.mode),e.i("permanentcolorscheme",{permanent:e.permanent})),e.h(),e.i(f,{colorScheme:e.mode})})).observe(c.documentElement,{attributes:!0}),this.i(f,{colorScheme:this.mode}),this.h()}},{key:"attributeChangedCallback",value:function(e,t,r){if("mode"===e&&t!==r&&[g,h].includes(r)){var a=localStorage.getItem(l);this.mode===a?(this.mode=r,this.h(),this.o()):this.mode&&this.mode!==a&&(this.h(),this.o())}else e!==g&&e!==h||t===r||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(l,this.mode):localStorage.removeItem(l))}},{key:"o",value:function(){c.documentElement.setAttribute("data-color-mode",this.mode)}},{key:"h",value:function(){this.icon.textContent=this.mode===g?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===g?this.getAttribute(h):this.getAttribute(g),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}},{key:"t",value:function(){var e=this,t=this.attachShadow({mode:"open"});this.label=c.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=function(){e.mode=e.mode===g?h:g,e.permanent&&localStorage.setItem(l,e.mode),e.o(),e.h()},t.appendChild(this.label),this.icon=c.createElement("span"),this.label.appendChild(this.icon),this.text=c.createElement("span"),this.label.appendChild(this.text);var r="_dark_mode_style_";if(!c.getElementById(r)){var a=c.createElement("style");a.id=r,a.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",c.head.appendChild(a)}var n=c.createElement("style");n.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",t.appendChild(n)}},{key:"i",value:function(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}],[{key:"observedAttributes",get:function(){return["mode",g,h,p]}}]),r}(d(HTMLElement));customElements.define("dark-mode",y)},4838:function(e,t){"use strict";function r(e,t){return(Array.isArray(t)?t:[t]).some((function(t){return"string"===typeof t&&(t=new RegExp(t)),t.test(e||"")}))}},8916:function(e,t){"use strict"},7190:function(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},6408:function(e,t,r){"use strict";var a=r(4272),n=r(3914),s=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t=o)throw Error("Expected symbol but end of file reached.");if(d=e.charAt(t),a.identSpecialChars[d])r+=d;else{if(a.isHex(d)){var n=d;for(t++,d=e.charAt(t);a.isHex(d);)n+=d,t++,d=e.charAt(t);" "===d&&(t++,d=e.charAt(t)),r+=String.fromCharCode(parseInt(n,16));continue}r+=d}}t++,d=e.charAt(t)}return r}function l(){d=e.charAt(t);for(var r=!1;" "===d||"\t"===d||"\n"===d||"\r"===d||"\f"===d;)r=!0,t++,d=e.charAt(t);return r}function p(){var r=f();if(!r)return null;var a=r;for(d=e.charAt(t);","===d;){if(t++,l(),"selectors"!==a.type&&(a={type:"selectors",selectors:[r]}),!(r=f()))throw Error('Rule expected after ",".');a.selectors.push(r)}return a}function f(){l();var r={type:"ruleSet"},a=g();if(!a)return null;for(var n=r;a&&(a.type="rule",n.rule=a,n=a,l(),d=e.charAt(t),!(t>=o||","===d||")"===d));)if(s[d]){var i=d;if(t++,l(),!(a=g()))throw Error('Rule expected after "'+i+'".');a.nestingOperator=i}else(a=g())&&(a.nestingOperator=null);return r}function g(){for(var s=null;t=o)throw Error('Expected "=" but end of file reached.');if("="!==d)throw Error('Expected "=" but "'+d+'" found.');f.operator=g+"=",t++,l();var h="";if(f.valueType="string",'"'===d)h=u('"',a.doubleQuotesEscapeChars);else if("'"===d)h=u("'",a.singleQuoteEscapeChars);else if(i&&"$"===d)t++,h=c(),f.valueType="substitute";else{for(;t=o)throw Error('Expected "]" but end of file reached.');if("]"!==d)throw Error('Expected "]" but "'+d+'" found.');t++,f.value=h}((s=s||{}).attrs=s.attrs||[]).push(f)}else{if(":"!==d)break;t++;var m=c(),y={name:m};if("("===d){t++;var v="";if(l(),"selector"===r[m])y.valueType="selector",v=p();else{if(y.valueType=r[m]||"string",'"'===d)v=u('"',a.doubleQuotesEscapeChars);else if("'"===d)v=u("'",a.singleQuoteEscapeChars);else if(i&&"$"===d)t++,v=c(),y.valueType="substitute";else{for(;t=o)throw Error('Expected ")" but end of file reached.');if(")"!==d)throw Error('Expected ")" but "'+d+'" found.');t++,y.value=v}((s=s||{}).pseudos=s.pseudos||[]).push(y)}return s}return function(){var r=p();if(t="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var r=e.length,a="",n=0;n="A"&&s<="Z"||s>="a"&&s<="z"||0!==n&&s>="0"&&s<="9")a+=s;else{var i=s.charCodeAt(0);if(55296===(63488&i)){var o=e.charCodeAt(n++);if(55296!==(64512&i)||56320!==(64512&o))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&o)+65536}a+="\\"+i.toString(16)+" "}n++}return a},t.escapeStr=function(e){for(var r,a=e.length,n="",s=0;s":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},432:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},i=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var a,n=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!s)return!1;for(a in e);return"undefined"===typeof a||t.call(e,a)},o=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},d=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(n)return n(e,r).value}return e[r]};e.exports=function e(){var t,r,a,n,u,c,l=arguments[0],p=1,f=arguments.length,g=!1;for("boolean"===typeof l&&(g=l,l=arguments[1]||{},p=2),(null==l||"object"!==typeof l&&"function"!==typeof l)&&(l={});ps&&(s=n):n=1,r=a+1,a=e.indexOf(t,r);return s}},8397:function(e,t,r){e.exports=r(4059)},7282:function(e){e.exports=function e(t,r){var a,n=-1;if(r.extensions)for(;++n"+(r?"":" ")+e}},114:function(e,t,r){e.exports=function(e,t,r,n){var s=-1;for(;++s"})+">"):(u=r.enter("destinationRaw"),c+=s(r,e.url,{before:" ",after:" "}));u(),e.title&&(u=r.enter("title"+o),c+=" "+i+s(r,e.title,{before:i,after:i})+i,u());return d(),c};var a=r(2638),n=r(5661),s=r(4586)},2486:function(e,t,r){e.exports=s,s.peek=function(e,t,r){return r.options.emphasis||"*"};var a=r(7166),n=r(7462);function s(e,t,r){var s=a(r),i=r.enter("emphasis"),o=n(e,r,{before:s,after:s});return i(),s+o+s}},6216:function(e,t,r){e.exports=function(e,t,r){var i,o,d,u,c=Math.max(Math.min(6,e.depth||1),1);if(n(e,r))return i=r.enter("headingSetext"),o=r.enter("phrasing"),d=s(e,r,{before:"\n",after:"\n"}),o(),i(),d+"\n"+a(1===c?"=":"-",d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf("\n"))+1));u=a("#",c),i=r.enter("headingAtx"),o=r.enter("phrasing"),d=(d=s(e,r,{before:"# ",after:"\n"}))?u+" "+d:u,r.options.closeAtx&&(d+=" "+u);return o(),i(),d};var a=r(4400),n=r(4797),s=r(7462)},2841:function(e){function t(e){return e.value||""}e.exports=t,t.peek=function(){return"<"}},4610:function(e,t,r){e.exports=s,s.peek=function(){return"!"};var a=r(2638),n=r(4586);function s(e,t,r){var s,i,o=e.referenceType,d=r.enter("imageReference"),u=r.enter("label"),c=n(r,e.alt,{before:"[",after:"]"}),l="!["+c+"]";return u(),i=r.stack,r.stack=[],u=r.enter("reference"),s=n(r,a(e),{before:"[",after:"]"}),u(),r.stack=i,d(),"full"!==o&&c&&c===s?"shortcut"!==o&&(l+="[]"):l+="["+s+"]",l}},7968:function(e,t,r){e.exports=s,s.peek=function(){return"!"};var a=r(5661),n=r(4586);function s(e,t,r){var s=a(r),i='"'===s?"Quote":"Apostrophe",o=r.enter("image"),d=r.enter("label"),u="!["+n(r,e.alt,{before:"[",after:"]"})+"](";return d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),u+="<"+n(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),u+=n(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+i),u+=" "+s+n(r,e.title,{before:s,after:s})+s,d()),u+=")",o(),u}},875:function(e,t,r){t.blockquote=r(5673),t.break=r(114),t.code=r(854),t.definition=r(2654),t.emphasis=r(2486),t.hardBreak=r(114),t.heading=r(6216),t.html=r(2841),t.image=r(7968),t.imageReference=r(4610),t.inlineCode=r(5197),t.link=r(3215),t.linkReference=r(8134),t.list=r(107),t.listItem=r(3805),t.paragraph=r(2183),t.root=r(2580),t.strong=r(580),t.text=r(9329),t.thematicBreak=r(8369)},5197:function(e,t,r){e.exports=n,n.peek=function(){return"`"};var a=r(6020);function n(e,t,r){for(var n,s,i,o,d=e.value||"",u="`",c=-1;new RegExp("(^|[^`])"+u+"([^`]|$)").test(d);)u+="`";for(/[^ \r\n]/.test(d)&&(/[ \r\n`]/.test(d.charAt(0))||/[ \r\n`]/.test(d.charAt(d.length-1)))&&(d=" "+d+" ");++c"})+">",o(),r.stack=c,u):(o=r.enter("link"),d=r.enter("label"),u="["+s(e,r,{before:"[",after:"]"})+"](",d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),u+="<"+i(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),u+=i(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+p),u+=" "+l+i(r,e.title,{before:l,after:l})+l,d()),u+=")",o(),u)}},3805:function(e,t,r){e.exports=function(e,t,r){var d,u,c,l=n(r),p=s(r);t&&t.ordered&&(l=(t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+".");d=l.length+1,("tab"===p||"mixed"===p&&(t&&t.spread||e.spread))&&(d=4*Math.ceil(d/4));return c=r.enter("listItem"),u=o(i(e,r),(function(e,t,r){if(t)return(r?"":a(" ",d))+e;return(r?l:l+a(" ",d-l.length))+e})),c(),u};var a=r(4400),n=r(7697),s=r(5211),i=r(5162),o=r(2357)},107:function(e,t,r){e.exports=function(e,t,r){var n=r.enter("list"),s=a(e,r);return n(),s};var a=r(5162)},2183:function(e,t,r){e.exports=function(e,t,r){var n=r.enter("paragraph"),s=r.enter("phrasing"),i=a(e,r,{before:"\n",after:"\n"});return s(),n(),i};var a=r(7462)},2580:function(e,t,r){e.exports=function(e,t,r){return a(e,r)};var a=r(5162)},580:function(e,t,r){e.exports=s,s.peek=function(e,t,r){return r.options.strong||"*"};var a=r(3312),n=r(7462);function s(e,t,r){var s=a(r),i=r.enter("strong"),o=n(e,r,{before:s,after:s});return i(),s+s+o+s+s}},9329:function(e,t,r){e.exports=function(e,t,r,n){return a(r,e.value,n)};var a=r(4586)},8369:function(e,t,r){e.exports=function(e,t,r){var i=a(s(r)+(r.options.ruleSpaces?" ":""),n(r));return r.options.ruleSpaces?i.slice(0,-1):i};var a=r(4400),n=r(9095),s=r(6899)},4059:function(e,t,r){e.exports=function(e,t){var r,l=t||{},p={enter:function(e){return p.stack.push(e),t;function t(){p.stack.pop()}},stack:[],unsafe:[],join:[],handlers:{},options:{}};n(p,{unsafe:o,join:i,handlers:s}),n(p,l),p.options.tightDefinitions&&(p.join=[c].concat(p.join));p.handle=a("type",{invalid:d,unknown:u,handlers:p.handlers}),(r=p.handle(e,null,p,{before:"\n",after:"\n"}))&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n");return r};var a=r(1569),n=r(7282),s=r(875),i=r(9312),o=r(4459);function d(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function u(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function c(e,t){if("definition"===e.type&&e.type===t.type)return 0}},9312:function(e,t,r){e.exports=[function(e,t,r,s){if("list"===t.type&&t.type===e.type&&Boolean(e.ordered)===Boolean(t.ordered)||"code"===t.type&&a(t,s)&&("list"===e.type||e.type===t.type&&a(e,s)))return!1;if("boolean"===typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&n(t,s)))return;return r.spread?1:0}}];var a=r(6363),n=r(4797)},4459:function(e){e.exports=[{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing"},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing"},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*"},{character:"*",inConstruct:"phrasing"},{atBreak:!0,character:"+"},{atBreak:!0,character:"-"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing"},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:["phrasing","label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{before:"[^A-Za-z]",character:"_",inConstruct:"phrasing"},{character:"_",after:"[^A-Za-z]",inConstruct:"phrasing"},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent","phrasing"]},{atBreak:!0,character:"~"}]},2638:function(e,t,r){e.exports=function(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(n,"$1").replace(s,i)};var a=r(7849),n=/\\([!-/:-@[-`{-~])/g,s=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(e,t){return a(t)||e}},7697:function(e){e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},7166:function(e){e.exports=function(e){var t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}},8827:function(e){e.exports=function(e){var t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}},5211:function(e){e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},5661:function(e){e.exports=function(e){var t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}},9095:function(e){e.exports=function(e){var t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}},6899:function(e){e.exports=function(e){var t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}},3312:function(e){e.exports=function(e){var t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}},5162:function(e,t,r){e.exports=function(e,t){var r,n=e.children||[],s=[],i=-1;for(;++i0&&("\r"===u||"\n"===u)&&"html"===s.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" "),o.push(t.handle(s,e,t,{before:u,after:a})),u=o[o.length-1].slice(-1);return o.join("")}},6363:function(e){e.exports=function(e,t){return!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)}},4797:function(e,t,r){e.exports=function(e,t){return t.options.setext&&(!e.depth||e.depth<3)&&a(e)};var a=r(9033)},2787:function(e,t,r){e.exports=function(e,t){var r=a(e);return!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url)};var a=r(9033)},2357:function(e){e.exports=function(e,r){var a,n=[],s=0,i=0;for(;a=t.exec(e);)o(e.slice(s,a.index)),n.push(a[0]),s=a.index+a[0].length,i++;return o(e.slice(s)),n.join("");function o(e){n.push(r(e,i,!e))}};var t=/\r?\n|\r/g},6020:function(e){e.exports=function(e){var t,r;e._compiled||(t=e.before?"(?:"+e.before+")":"",r=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(r||""),"g"));return e._compiled}},9906:function(e){function t(e,t,r){var a;if(!t)return r;for("string"===typeof t&&(t=[t]),a=-1;++a=g||u+1-1&&(N.call(this,e),M.call(this,e))}function U(){g("atHardBreak",!0)}function z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function V(){var e=this.resume();this.stack[this.stack.length-1].value=e}function q(){var e=this.resume();this.stack[this.stack.length-1].value=e}function H(){var e=this.stack[this.stack.length-1];h("inReference")?(e.type+="Reference",e.referenceType=h("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function G(){var e=this.stack[this.stack.length-1];h("inReference")?(e.type+="Reference",e.referenceType=h("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function W(e){this.stack[this.stack.length-2].identifier=i(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function X(){var e=this.resume();this.stack[this.stack.length-1].url=e}function J(){var e=this.resume();this.stack[this.stack.length-1].title=e}function Y(){g("inReference")}function $(){g("referenceType","collapsed")}function Z(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=i(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function Q(e){g("characterReferenceType",e.type)}function ee(e){var t,r,a=this.sliceSerialize(e),n=h("characterReferenceType");n?(t=o(a,"characterReferenceMarkerNumeric"===n?10:16),g("characterReferenceType")):t=l(a),(r=this.stack.pop()).value+=t,r.position.end=m(e.end)}function te(e){M.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function re(e){M.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function ae(){return{type:"blockquote",children:[]}}function ne(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function ie(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function oe(){return{type:"emphasis",children:[]}}function de(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function ce(){return{type:"html",value:""}}function le(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function he(){return{type:"paragraph",children:[]}}function me(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function ve(){return{type:"thematicBreak"}}}(r)(c(d(r).document().write(u()(e,t,!0))))};var a=r(8765),n=r(3667),s=r(8025),i=r(4991),o=r(1744),d=r(4751),u=r(5265),c=r(4811),l=r(4537),p=r(6934);function f(e,t){var r,a;for(r in t)a=s.call(e,r)?e[r]:e[r]={},"canContainEols"===r||"transforms"===r?e[r]=[].concat(a,t[r]):Object.assign(a,t[r])}},5184:function(e,t,r){"use strict";e.exports=r(5715)},8765:function(e){"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],a=-1;++ai.length;o&&i.push(n);try{r=e.apply(null,i)}catch(d){if(o&&a)throw d;return n(d)}o||(r&&"function"===typeof r.then?r.then(s,n):r instanceof Error?n(r):s(r))};function n(){a||(a=!0,r.apply(null,arguments))}function s(e){n(null,e)}}},282:function(e,t,r){"use strict";var a=r(6415),n=r(1046),s=r(432),i=r(3731),o=r(6745),d=r(9418);e.exports=function e(){var t,r=[],n=o(),v={},b=-1;return x.data=function(e,r){if("string"===typeof e)return 2===arguments.length?(h("data",t),v[e]=r,x):c.call(v,e)&&v[e]||null;if(e)return h("data",t),v=e,x;return v},x.freeze=R,x.attachers=r,x.use=function(e){var a;if(h("use",t),null===e||void 0===e);else if("function"===typeof e)c.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?d(e):n(e)}a&&(v.settings=s(v.settings||{},a));return x;function n(e){d(e.plugins),e.settings&&(a=s(a||{},e.settings))}function o(e){if("function"===typeof e)c(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):n(e)}}function d(e){var t=-1;if(null===e||void 0===e);else{if("object"!==typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+a.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function l(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}d.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(d.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(d.prototype,"dirname",{get:function(){return"string"===typeof this.path?a.dirname(this.path):void 0},set:function(e){l(this.path,"dirname"),this.path=a.join(e||"",this.basename)}}),Object.defineProperty(d.prototype,"basename",{get:function(){return"string"===typeof this.path?a.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=a.join(this.dirname||"",e)}}),Object.defineProperty(d.prototype,"extname",{get:function(){return"string"===typeof this.path?a.extname(this.path):void 0},set:function(e){if(u(e,"extname"),l(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=a.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(d.prototype,"stem",{get:function(){return"string"===typeof this.path?a.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=a.join(this.dirname||"",e+(this.extname||""))}})},2276:function(e,t,r){"use strict";var a=r(851),n=r(8884);e.exports=n,n.prototype.message=function(e,t,r){var n=new a(e,t,r);this.path&&(n.name=this.path+":"+n.name,n.file=this.path);return n.fatal=!1,this.messages.push(n),n},n.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},n.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},4322:function(e,t){"use strict";function r(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var a,n,s,i,o=0,d=-1;if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),a=e.length,void 0===t||!t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(s){o=a+1;break}}else d<0&&(s=!0,d=a+1);return d<0?"":e.slice(o,d)}if(t===e)return"";n=-1,i=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(s){o=a+1;break}}else n<0&&(s=!0,n=a+1),i>-1&&(e.charCodeAt(a)===t.charCodeAt(i--)?i<0&&(d=a):(i=-1,d=n));o===d?d=n:d<0&&(d=e.length);return e.slice(o,d)},t.dirname=function(e){var t,a,n;if(r(e),!e.length)return".";t=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(a){t=n;break}}else a||(a=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,a,n,s=-1,i=0,o=-1,d=0;r(e),n=e.length;for(;n--;)if(47!==(a=e.charCodeAt(n)))o<0&&(t=!0,o=n+1),46===a?s<0?s=n:1!==d&&(d=1):s>-1&&(d=-1);else if(t){i=n+1;break}if(s<0||o<0||0===d||1===d&&s===o-1&&s===i+1)return"";return e.slice(s,o)},t.join=function(){var e,t=-1;for(;++t2){if((a=n.lastIndexOf("/"))!==n.length-1){a<0?(n="",s=0):s=(n=n.slice(0,a)).length-1-n.lastIndexOf("/"),i=d,o=0;continue}}else if(n.length){n="",s=0,i=d,o=0;continue}t&&(n=n.length?n+"/..":"..",s=2)}else n.length?n+="/"+e.slice(i+1,d):n=e.slice(i+1,d),s=d-i-1;i=d,o=0}else 46===r&&o>-1?o++:o=-1}return n}(e,!t),a.length||t||(a=".");a.length&&47===e.charCodeAt(e.length-1)&&(a+="/");return t?"/"+a:a}(e)},t.sep="/"},8833:function(e,t){"use strict";t.cwd=function(){return"/"}},4400:function(e){"use strict";var t,r="";e.exports=function(e,a){if("string"!==typeof e)throw new TypeError("expected a string");if(1===a)return e;if(2===a)return e+e;var n=e.length*a;if(t!==e||"undefined"===typeof t)t=e,r="";else if(r.length>=n)return r.substr(0,n);for(;n>r.length&&a>1;)1&a&&(r+=e),a>>=1,e+=e;return r=(r+=e).substr(0,n)}},4478:function(e,t){"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0>>1,n=e[a];if(!(0>>1;as(d,r))us(c,d)?(e[a]=c,e[u]=r,a=u):(e[a]=d,e[o]=r,a=o);else{if(!(us(c,r)))break e;e[a]=c,e[u]=r,a=u}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,d=o.now();t.unstable_now=function(){return o.now()-d}}var u=[],c=[],l=1,p=null,f=3,g=!1,h=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=a(c);null!==t;){if(null===t.callback)n(c);else{if(!(t.startTime<=e))break;n(c),t.sortIndex=t.expirationTime,r(u,t)}t=a(c)}}function R(e){if(m=!1,x(e),!h)if(null!==a(u))h=!0,_(E);else{var t=a(c);null!==t&&I(R,t.startTime-e)}}function E(e,r){h=!1,m&&(m=!1,v(C),C=-1),g=!0;var s=f;try{for(x(r),p=a(u);null!==p&&(!(p.expirationTime>r)||e&&!k());){var i=p.callback;if("function"===typeof i){p.callback=null,f=p.priorityLevel;var o=i(p.expirationTime<=r);r=t.unstable_now(),"function"===typeof o?p.callback=o:p===a(u)&&n(u),x(r)}else n(u);p=a(u)}if(null!==p)var d=!0;else{var l=a(c);null!==l&&I(R,l.startTime-r),d=!1}return d}finally{p=null,f=s,g=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var D,w=!1,j=null,C=-1,A=5,S=-1;function k(){return!(t.unstable_now()-Se||125i?(e.sortIndex=s,r(c,e),null===a(u)&&e===a(c)&&(m?(v(C),C=-1):m=!0,I(R,s-i))):(e.sortIndex=o,r(u,e),h||g||(h=!0,_(E))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},7029:function(e,t,r){"use strict";e.exports=r(4478)},4977:function(e,t,r){var a=r(5965);function n(e,t){var r,n=null;if(!e||"string"!==typeof e)return n;for(var s,i,o=a(e),d="function"===typeof t,u=0,c=o.length;u=0;--n){var s=this.tryEntries[n],i=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var o=r.call(s,"catchLoc"),d=r.call(s,"finallyLoc");if(o&&d){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;j(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function s(e,t,r,a,n,s,i){try{var o=e[s](i),d=o.value}catch(j6){return void r(j6)}o.done?t(d):Promise.resolve(d).then(a,n)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){s(i,a,n,o,d,"next",e)}function d(e){s(i,a,n,o,d,"throw",e)}o(void 0)}))}}function o(e,t){for(var r=0;r=0||(n[r]=e[r]);return n}function y(e,t){if(null==e)return{};var r,a,n=m(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return t||(t=e.slice(0)),e.raw=t,e}function x(e,t){return D(e)||a(e,t)||j(e,t)||S()}function R(e){return E(e)||w(e)||j(e)||A()}function E(e){if(Array.isArray(e))return C(e)}function D(e){if(Array.isArray(e))return e}function w(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function j(e,t){if(e){if("string"===typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){if("object"!==typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!==typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function F(e){var t=T(e,"string");return"symbol"===typeof t?t:String(t)}var P=["Identifier","JSXIdentifier"],_=["MemberExpression"],I=["Identifier"],B=["Statement"],O=["Expression"],N=["Scopable","Pattern"],M=null,L=null,U=["VariableDeclaration"],z=null,V=null,q=null,H=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],G=["RestElement"],W=["RestElement"],K=["ExistsTypeAnnotation"],X=["NumberLiteralTypeAnnotation"],J=["ForOfStatement"],Y=Object.freeze({__proto__:null,ReferencedIdentifier:P,ReferencedMemberExpression:_,BindingIdentifier:I,Statement:B,Expression:O,Scope:N,Referenced:M,BlockScoped:L,Var:U,User:z,Generated:V,Pure:q,Flow:H,RestProperty:G,SpreadProperty:W,ExistentialTypeParam:K,NumericLiteralTypeAnnotation:X,ForAwaitStatement:J});function $(e,t){for(var r=0,a=Object.keys(t);rn.length)return!1;for(var i=0,o=s.length-1;i1)for(var r=1;re)return!1;if((r+=t[a+1])>=e)return!0}return!1}function Wi(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&zi.test(String.fromCharCode(e)):Gi(e,qi)))}function Ki(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Vi.test(String.fromCharCode(e)):Gi(e,qi)||Gi(e,Hi))))}function Xi(e){for(var t=!0,r=0;r=48&&e<=57},io={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},oo={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function uo(e,t,r,a,n,s){for(var i=r,o=a,d=n,u="",c=null,l=r,p=t.length;;){if(r>=p){s.unterminated(i,o,d),u+=t.slice(l,r);break}var f=t.charCodeAt(r);if(co(e,f,t,r)){u+=t.slice(l,r);break}if(92===f){u+=t.slice(l,r);var g=lo(t,r,a,n,"template"===e,s);null!==g.ch||c?u+=g.ch:c={pos:r,lineStart:a,curLine:n},r=g.pos,a=g.lineStart,n=g.curLine,l=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(u+=t.slice(l,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,l=a=r):s.unterminated(i,o,d):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:a,curLine:n,containsInvalid:!!c}}function co(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function lo(e,t,r,a,n,s){var i=!n;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return o("\n");case 114:return o("\r");case 120:var u,c=po(e,t,r,a,2,!1,i,s);return u=c.code,t=c.pos,o(null===u?null:String.fromCharCode(u));case 117:var l,p=go(e,t,r,a,i,s);return l=p.code,t=p.pos,o(null===l?null:String.fromCodePoint(l));case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return o("");case 56:case 57:if(n)return o(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,g=e.slice(f,t+2).match(/^[0-7]+/)[0],h=parseInt(g,8);h>255&&(g=g.slice(0,-1),h=parseInt(g,8)),t+=g.length-1;var m=e.charCodeAt(t);if("0"!==g||56===m||57===m){if(n)return o(null);s.strictNumericEscape(f,r,a)}return o(String.fromCharCode(h))}return o(String.fromCharCode(d))}}function po(e,t,r,a,n,s,i,o){var d,u=t,c=fo(e,t,r,a,16,n,s,!1,o,!i);return d=c.n,t=c.pos,null===d&&(i?o.invalidEscapeSequence(u,r,a):t=u-1),{code:d,pos:t}}function fo(e,t,r,a,n,s,i,o,d,u){for(var c=t,l=16===n?io.hex:io.decBinOct,p=16===n?oo.hex:10===n?oo.dec:8===n?oo.oct:oo.bin,f=!1,g=0,h=0,m=null==s?1/0:s;h=97?y-97+10:y>=65?y-65+10:so(y)?y-48:1/0)>=n){if(v<=9&&u)return{n:null,pos:t};if(v<=9&&d.invalidDigit(t,r,a,n))v=0;else{if(!i)break;v=0,f=!0}}++t,g=g*n+v}else{var b=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(o){if(Number.isNaN(x)||!p(x)||l.has(b)||l.has(x)){if(u)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(u)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===c||null!=s&&t-c!==s||f?{n:null,pos:t}:{n:g,pos:t}}function go(e,t,r,a,n,s){var i;if(123===e.charCodeAt(t)){var o=po(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(i=o.code,t=o.pos,++t,null!==i&&i>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=po(e,t,r,a,4,!1,n,s);i=d.code,t=d.pos}return{code:i,pos:t}}var ho=["consequent","body","alternate"],mo=["body","expressions"],yo=["left","init"],vo=["leadingComments","trailingComments","innerComments"],bo=["||","&&","??"],xo=["++","--"],Ro=[">","<",">=","<="],Eo=["==","===","!=","!=="],Do=[].concat(Eo,["in","instanceof"]),wo=[].concat(R(Do),Ro),jo=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Co=["+"].concat(jo,R(wo),["|>"]),Ao=["=","+="].concat(R(jo.map((function(e){return e+"="}))),R(bo.map((function(e){return e+"="})))),So=["delete","!"],ko=["+","-","~"],To=["typeof"],Fo=["void","throw"].concat(So,ko,To),Po={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},_o=Symbol.for("var used to be block scoped"),Io=Symbol.for("should not be considered a local binding"),Bo={},Oo={},No={},Mo={},Lo={},Uo={},zo={};function Vo(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function qo(e){return{validate:e}}function Ho(e){return"string"===typeof e?Qo(e):Qo.apply(void 0,R(e))}function Go(e){return qo(Ho(e))}function Wo(e){return{validate:e,optional:!0}}function Ko(e){return{validate:Ho(e),optional:!0}}function Xo(e){return nd(td("array"),$o(e))}function Jo(e){return Xo(Ho(e))}function Yo(e){return qo(Jo(e))}function $o(e){function t(t,r,a){if(Array.isArray(a))for(var n=0;n=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var sd=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],id=["default","optional","deprecated","validate"],od={};function dd(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"===typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");a[i]={default:Array.isArray(d)?[]:d,optional:o.optional,deprecated:o.deprecated,validate:o.validate}}for(var u=t.visitor||r.visitor||[],c=t.aliases||r.aliases||[],l=t.builder||r.builder||t.visitor||[],p=0,f=Object.keys(t);p+s+1)throw new TypeError("RestElement must be last element of "+n)}}}),cd("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression"),optional:!0}}}),cd("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:nd(td("array"),$o(Qo("Expression")))}},aliases:["Expression"]}),cd("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:Qo("Expression")}}}),cd("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:Qo("Expression"),optional:!0},consequent:{validate:nd(td("array"),$o(Qo("Statement")))}}}),cd("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:Qo("Expression")},cases:{validate:nd(td("array"),$o(Qo("SwitchCase")))}}}),cd("ThisExpression",{aliases:["Expression"]}),cd("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression")}}}),cd("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:nd(Qo("BlockStatement"),Object.assign((function(e){if(ki.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:Qo("CatchClause")},finalizer:{optional:!0,validate:Qo("BlockStatement")}}}),cd("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:Qo("Expression")},operator:{validate:Zo.apply(void 0,R(Fo))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),cd("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:ki.env.BABEL_TYPES_8_BREAKING?Qo("Identifier","MemberExpression"):Qo("Expression")},operator:{validate:Zo.apply(void 0,R(xo))}},visitor:["argument"],aliases:["Expression"]}),cd("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:td("boolean"),optional:!0},kind:{validate:Zo("var","let","const","using","await using")},declarations:{validate:nd(td("array"),$o(Qo("VariableDeclarator")))}},validate:function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&Mi("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),cd("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!ki.env.BABEL_TYPES_8_BREAKING)return Qo("LVal");var e=Qo("Identifier","ArrayPattern","ObjectPattern"),t=Qo("Identifier");return function(r,a,n){(r.init?e:t)(r,a,n)}}()},definite:{optional:!0,validate:td("boolean")},init:{optional:!0,validate:Qo("Expression")}}}),cd("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),cd("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),cd("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gd(),{left:{validate:Qo("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:Qo("Expression")},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0}})}),cd("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gd(),{elements:{validate:nd(td("array"),$o(ed("null","PatternLike","LVal")))}})}),cd("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ld(),pd(),{expression:{validate:td("boolean")},body:{validate:Qo("BlockStatement","Expression")},predicate:{validate:Qo("DeclaredPredicate","InferredPredicate"),optional:!0}})}),cd("ClassBody",{visitor:["body"],fields:{body:{validate:nd(td("array"),$o(Qo("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),cd("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:Qo("Identifier"),optional:!0},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:nd(td("array"),$o(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0}}}),cd("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:Qo("Identifier")},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:nd(td("array"),$o(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0},declare:{validate:td("boolean"),optional:!0},abstract:{validate:td("boolean"),optional:!0}},validate:function(){var e=Qo("Identifier");return function(t,r,a){ki.env.BABEL_TYPES_8_BREAKING&&(Mi("ExportDefaultDeclaration",t)||e(a,"id",a.id))}}()}),cd("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:Qo("StringLiteral")},exportKind:Wo(Zo("type","value")),attributes:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},assertions:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))}}}),cd("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:Qo("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:Wo(Zo("value"))}}),cd("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:nd(Qo("Declaration"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},assertions:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},specifiers:{default:[],validate:nd(td("array"),$o(function(){var e=Qo("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=Qo("ExportSpecifier");return ki.env.BABEL_TYPES_8_BREAKING?function(r,a,n){(r.source?e:t)(r,a,n)}:e}()))},source:{validate:Qo("StringLiteral"),optional:!0},exportKind:Wo(Zo("type","value"))}}),cd("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},exported:{validate:Qo("Identifier","StringLiteral")},exportKind:{validate:Zo("type","value"),optional:!0}}}),cd("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!ki.env.BABEL_TYPES_8_BREAKING)return Qo("VariableDeclaration","LVal");var e=Qo("VariableDeclaration"),t=Qo("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,n){Mi("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}}()},right:{validate:Qo("Expression")},body:{validate:Qo("Statement")},await:{default:!1}}}),cd("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},assertions:{optional:!0,validate:nd(td("array"),$o(Qo("ImportAttribute")))},module:{optional:!0,validate:td("boolean")},specifiers:{validate:nd(td("array"),$o(Qo("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:Qo("StringLiteral")},importKind:{validate:Zo("type","typeof","value"),optional:!0}}}),cd("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),cd("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),cd("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},imported:{validate:Qo("Identifier","StringLiteral")},importKind:{validate:Zo("type","typeof","value"),optional:!0}}}),cd("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:nd(Qo("Identifier"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!Mi("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:Qo("Identifier")}}});var hd=function(){return{abstract:{validate:td("boolean"),optional:!0},accessibility:{validate:Zo("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:td("boolean"),optional:!0},key:{validate:nd(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},md=function(){return Object.assign({},ld(),hd(),{params:{validate:nd(td("array"),$o(Qo("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:Zo("get","set","method","constructor"),default:"method"},access:{validate:nd(td("string"),Zo("public","private","protected")),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0}})};cd("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},md(),pd(),{body:{validate:Qo("BlockStatement")}})}),cd("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},gd(),{properties:{validate:nd(td("array"),$o(Qo("RestElement","ObjectProperty")))}})}),cd("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:Qo("Expression")}}}),cd("Super",{aliases:["Expression"]}),cd("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:Qo("Expression")},quasi:{validate:Qo("TemplateLiteral")},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),cd("TemplateElement",{builder:["value","tail"],fields:{value:{validate:nd(rd({raw:{validate:td("string")},cooked:{validate:td("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=uo("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,i=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=i?null:s}))},tail:{default:!1}}}),cd("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:nd(td("array"),$o(Qo("TemplateElement")))},expressions:{validate:nd(td("array"),$o(Qo("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),cd("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:nd(td("boolean"),Object.assign((function(e,t,r){if(ki.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:Qo("Expression")}}}),cd("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:Qo("Expression")}}}),cd("Import",{aliases:["Expression"]}),cd("BigIntLiteral",{builder:["value"],fields:{value:{validate:td("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),cd("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Qo("Identifier")}}}),cd("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:Qo("Expression")},property:{validate:function(){var e=Qo("Identifier"),t=Qo("Expression"),r=Object.assign((function(r,a,n){(r.computed?t:e)(r,a,n)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:ki.env.BABEL_TYPES_8_BREAKING?nd(td("boolean"),ad()):td("boolean")}}}),cd("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:Qo("Expression")},arguments:{validate:nd(td("array"),$o(Qo("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:ki.env.BABEL_TYPES_8_BREAKING?nd(td("boolean"),ad()):td("boolean")},typeArguments:{validate:Qo("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:Qo("TSTypeParameterInstantiation"),optional:!0}}}),cd("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},hd(),{value:{validate:Qo("Expression"),optional:!0},definite:{validate:td("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},readonly:{validate:td("boolean"),optional:!0},declare:{validate:td("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),cd("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},hd(),{key:{validate:nd(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:Qo("Expression"),optional:!0},definite:{validate:td("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},readonly:{validate:td("boolean"),optional:!0},declare:{validate:td("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),cd("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:Qo("PrivateName")},value:{validate:Qo("Expression"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:nd(td("array"),$o(Qo("Decorator"))),optional:!0},static:{validate:td("boolean"),default:!1},readonly:{validate:td("boolean"),optional:!0},definite:{validate:td("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}}}),cd("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},md(),pd(),{kind:{validate:Zo("get","set","method"),default:"method"},key:{validate:Qo("PrivateName")},body:{validate:Qo("BlockStatement")}})}),cd("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:Qo("Identifier")}}}),cd("StaticBlock",{visitor:["body"],fields:{body:{validate:nd(td("array"),$o(Qo("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]});var yd=dd("Flow"),vd=function(e){var t="DeclareClass"===e;yd(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(R(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),extends:Wo(Jo("InterfaceExtends"))},t?{mixins:Wo(Jo("InterfaceExtends")),implements:Wo(Jo("ClassImplements"))}:{},{body:Go("ObjectTypeAnnotation")})})};yd("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:Go("FlowType")}}),yd("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:qo(td("boolean"))}}),yd("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ClassImplements",{visitor:["id","typeParameters"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterInstantiation")}}),vd("DeclareClass"),yd("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),predicate:Ko("DeclaredPredicate")}}),vd("DeclareInterface"),yd("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go(["Identifier","StringLiteral"]),body:Go("BlockStatement"),kind:Wo(Zo("CommonJS","ES"))}}),yd("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:Go("TypeAnnotation")}}),yd("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),right:Go("FlowType")}}),yd("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),supertype:Ko("FlowType"),impltype:Ko("FlowType")}}),yd("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier")}}),yd("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:Ko("Flow"),specifiers:Wo(Jo(["ExportSpecifier","ExportNamespaceSpecifier"])),source:Ko("StringLiteral"),default:Wo(td("boolean"))}}),yd("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:Go("StringLiteral"),exportKind:Wo(Zo("type","value"))}}),yd("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:Go("Flow")}}),yd("ExistsTypeAnnotation",{aliases:["FlowType"]}),yd("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Ko("TypeParameterDeclaration"),params:qo(Jo("FunctionTypeParam")),rest:Ko("FunctionTypeParam"),this:Ko("FunctionTypeParam"),returnType:Go("FlowType")}}),yd("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Ko("Identifier"),typeAnnotation:Go("FlowType"),optional:Wo(td("boolean"))}}),yd("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:Go(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ko("TypeParameterInstantiation")}}),yd("InferredPredicate",{aliases:["FlowPredicate"]}),yd("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:Go(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ko("TypeParameterInstantiation")}}),vd("InterfaceDeclaration"),yd("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:Wo(Jo("InterfaceExtends")),body:Go("ObjectTypeAnnotation")}}),yd("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:qo(Jo("FlowType"))}}),yd("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:Go("FlowType")}}),yd("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:qo(td("number"))}}),yd("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:qo(Jo(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:Jo("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:Jo("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:Jo("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:td("boolean"),default:!1},inexact:Wo(td("boolean"))}}),yd("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:Go("Identifier"),value:Go("FlowType"),optional:qo(td("boolean")),static:qo(td("boolean")),method:qo(td("boolean"))}}),yd("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:Go("FlowType"),static:qo(td("boolean"))}}),yd("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Ko("Identifier"),key:Go("FlowType"),value:Go("FlowType"),static:qo(td("boolean")),variance:Ko("Variance")}}),yd("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:Go(["Identifier","StringLiteral"]),value:Go("FlowType"),kind:qo(Zo("init","get","set")),static:qo(td("boolean")),proto:qo(td("boolean")),optional:qo(td("boolean")),variance:Ko("Variance"),method:qo(td("boolean"))}}),yd("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:Go("FlowType")}}),yd("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),supertype:Ko("FlowType"),impltype:Go("FlowType")}}),yd("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:Go("Identifier"),qualification:Go(["Identifier","QualifiedTypeIdentifier"])}}),yd("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:qo(td("string"))}}),yd("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:qo(Jo("FlowType"))}}),yd("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:Go("FlowType")}}),yd("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Go("Identifier"),typeParameters:Ko("TypeParameterDeclaration"),right:Go("FlowType")}}),yd("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:Go("FlowType")}}),yd("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:Go("Expression"),typeAnnotation:Go("TypeAnnotation")}}),yd("TypeParameter",{visitor:["bound","default","variance"],fields:{name:qo(td("string")),bound:Ko("TypeAnnotation"),default:Ko("FlowType"),variance:Ko("Variance")}}),yd("TypeParameterDeclaration",{visitor:["params"],fields:{params:qo(Jo("TypeParameter"))}}),yd("TypeParameterInstantiation",{visitor:["params"],fields:{params:qo(Jo("FlowType"))}}),yd("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:qo(Jo("FlowType"))}}),yd("Variance",{builder:["kind"],fields:{kind:qo(Zo("minus","plus"))}}),yd("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),yd("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:Go("Identifier"),body:Go(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),yd("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:qo(td("boolean")),members:Yo("EnumBooleanMember"),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:qo(td("boolean")),members:Yo("EnumNumberMember"),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:qo(td("boolean")),members:Yo(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Yo("EnumDefaultedMember"),hasUnknownMembers:qo(td("boolean"))}}),yd("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Go("Identifier"),init:Go("BooleanLiteral")}}),yd("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Go("Identifier"),init:Go("NumericLiteral")}}),yd("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Go("Identifier"),init:Go("StringLiteral")}}),yd("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Go("Identifier")}}),yd("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Go("FlowType"),indexType:Go("FlowType")}}),yd("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Go("FlowType"),indexType:Go("FlowType"),optional:qo(td("boolean"))}});var bd=dd("JSX");bd("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Qo("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),bd("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),bd("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Qo("JSXOpeningElement")},closingElement:{optional:!0,validate:Qo("JSXClosingElement")},children:{validate:nd(td("array"),$o(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:td("boolean"),optional:!0}})}),bd("JSXEmptyExpression",{}),bd("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression","JSXEmptyExpression")}}}),bd("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression")}}}),bd("JSXIdentifier",{builder:["name"],fields:{name:{validate:td("string")}}}),bd("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Qo("JSXMemberExpression","JSXIdentifier")},property:{validate:Qo("JSXIdentifier")}}}),bd("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Qo("JSXIdentifier")},name:{validate:Qo("JSXIdentifier")}}}),bd("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:nd(td("array"),$o(Qo("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),bd("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Qo("Expression")}}}),bd("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:td("string")}}}),bd("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Qo("JSXOpeningFragment")},closingFragment:{validate:Qo("JSXClosingFragment")},children:{validate:nd(td("array"),$o(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),bd("JSXOpeningFragment",{aliases:["Immutable"]}),bd("JSXClosingFragment",{aliases:["Immutable"]});for(var xd=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Rd={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},Ed=0,Dd=xd;Ed=0)){if(It(o))return[o];if(vs(o))a.set(o.type,o);else if(Fr(o))n.has(o.types)||(t.push.apply(t,R(o.types)),n.add(o.types));else if(er(o)){var d=gb(o.id);if(r.has(d)){var u,c=r.get(d);c.typeParameters?o.typeParameters&&((u=c.typeParameters.params).push.apply(u,R(o.typeParameters.params)),c.typeParameters.params=hb(c.typeParameters.params)):c=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var l,p=k(a);!(l=p()).done;){var f=x(l.value,2)[1];s.push(f)}for(var g,h=k(r);!(g=h()).done;){var m=x(g.value,2)[1];s.push(m)}return s}function mb(e){var t=hb(e);return 1===t.length?t[0]:Rl(t)}function yb(e){return Ee(e)?e.name:e.right.name+"."+yb(e.left)}function vb(e){for(var t=Array.from(e),r=new Map,a=new Map,n=new Set,s=[],i=0;i=0)){if(Pa(o))return[o];if(Ss(o))a.set(o.type,o);else if(an(o))n.has(o.types)||(t.push.apply(t,R(o.types)),n.add(o.types));else if(Xa(o)&&o.typeParameters){var d=yb(o.typeName);if(r.has(d)){var u,c=r.get(d);c.typeParameters?o.typeParameters&&((u=c.typeParameters.params).push.apply(u,R(o.typeParameters.params)),c.typeParameters.params=vb(c.typeParameters.params)):c=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var l,p=k(a);!(l=p()).done;){var f=x(l.value,2)[1];s.push(f)}for(var g,h=k(r);!(g=h()).done;){var m=x(g.value,2)[1];s.push(m)}return s}function bb(e){var t=e.map((function(e){return Fn(e)?e.typeAnnotation:e})),r=vb(t);return 1===r.length?r[0]:Kp(r)}var xb=Function.call.bind(Object.prototype.hasOwnProperty);function Rb(e,t,r,a){return e&&"string"===typeof e.type?wb(e,t,r,a):e}function Eb(e,t,r,a){return Array.isArray(e)?e.map((function(e){return Rb(e,t,r,a)})):Rb(e,t,r,a)}function Db(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),wb(e,t,r,new Map)}function wb(e,t,r,a){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var n=e.type,s={type:e.type};if(Ee(e))s.name=e.name,xb(e,"optional")&&"boolean"===typeof e.optional&&(s.optional=e.optional),xb(e,"typeAnnotation")&&(s.typeAnnotation=t?Eb(e.typeAnnotation,!0,r,a):e.typeAnnotation);else{if(!xb(Mo,n))throw new Error('Unknown node type: "'+n+'"');for(var i=0,o=Object.keys(Mo[n]);i=Number.MAX_SAFE_INTEGER?Gx.uid=0:Gx.uid++},Wx.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};var Yx=Function.call.bind(Object.prototype.toString);function $x(e){return"[object RegExp]"===Yx(e)}function Zx(e){if("object"!==typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function Qx(e){if(void 0===e)return pu("undefined");if(!0===e||!1===e)return vu(e);if(null===e)return yu();if("string"===typeof e)return hu(e);var t;if("number"===typeof e)return t=Number.isFinite(e)?mu(Math.abs(e)):Kd("/",Number.isNaN(e)?mu(0):mu(1),mu(0)),(e<0||Object.is(e,-0))&&(t=Ou("-",t)),t;if($x(e))return bu(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Gd(e.map(Qx));if(Zx(e)){for(var r=[],a=0,n=Object.keys(e);a=0)return!0}else if(s===e)return!0}return!1}function oR(e){return Xe(e)&&("var"!==e.kind||e[_o])}function dR(e){return xe(e)||at(e)||oR(e)}function uR(e){return!!Oi(e.type,"Immutable")||!!Ee(e)&&"undefined"===e.name}function cR(e,t){if("object"!==typeof e||"object"!==typeof t||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=Object.keys(Mo[e.type]||e.type),a=Bo[e.type],n=0,s=r;n100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(o){var d=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function o(n){var s=Math.abs(n);return s>=a?Math.round(n/a)+"d":s>=r?Math.round(n/r)+"h":s>=t?Math.round(n/t)+"m":s>=e?Math.round(n/e)+"s":n+"ms"}function d(n){var s=Math.abs(n);return s>=a?u(n,s,a,"day"):s>=r?u(n,s,r,"hour"):s>=t?u(n,s,t,"minute"):s>=e?u(n,s,e,"second"):n+" ms"}function u(e,t,r,a){var n=t>=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return VR=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return i(e);if("number"===r&&isFinite(e))return t.long?d(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},VR}function KR(e){function t(e){for(var t=0,a=0;a=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,r)}}function n(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(j6){}}function s(){var e;try{e=t.storage.getItem("debug")}catch(j6){}return!e&&"undefined"!==typeof ki&&"env"in ki&&(e=ki.env.DEBUG),e}function i(){try{return localStorage}catch(j6){}}t.formatArgs=a,t.save=n,t.load=s,t.useColors=r,t.storage=i(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=XR(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(j6){return"[UnexpectedJSONParseError]: "+j6.message}}}(GR,GR.exports);var JR=GR.exports,YR=Db,$R=Yu,ZR=$u,QR=pu,eE=Mu,tE=Lu;function rE(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){var t=e.get("declaration"),r=t.isFunctionDeclaration()||t.isClassDeclaration(),a=t.isFunctionExpression()||t.isClassExpression(),n=t.isScope()?t.scope.parent:t.scope,s=t.node.id,i=!1;s?a&&n.hasBinding(s.name)&&(i=!0,s=n.generateUidIdentifier(s.name)):(i=!0,s=n.generateUidIdentifier("default"),(r||a)&&(t.node.id=YR(s)));var o=r?t.node:eE("var",[tE(YR(s),t.node)]),d=$R(null,[ZR(YR(s),QR("default"))]);return e.insertAfter(d),e.replaceWith(o),i&&n.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var u=e.get("declaration"),c=u.getOuterBindingIdentifiers(),l=Object.keys(c).map((function(e){return ZR(QR(e),QR(e))})),p=$R(null,l);return e.insertAfter(p),e.replaceWith(u.node),e}function aE(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var a,n=k(e.get("decorators"));!(a=n()).done;){var s=a.value;t.maybeQueue(s)}}var nE={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&aE(e))},Property:function(e){e.isObjectProperty()||(e.skip(),aE(e))}},sE={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&aE(e))},ObjectProperty:function(e,t){var r,a=e.node,n=e.scope,s=a.key.name;!a.shorthand||s!==t.oldName&&s!==t.newName||n.getBindingIdentifier(s)!==t.binding.identifier||(a.shorthand=!1,null!=(r=a.extra)&&r.shorthand&&(a.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var a in r)a===t.oldName&&(r[a].name=t.newName)}}},iE=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(Qn(r)&&!r.id)return}t.isExportAllDeclaration()||rE(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,a=e.scope,n=e.path,s=n.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s),NW(arguments[0]||a.block,CR(sE),a,this,a.path,{discriminant:!0}),arguments[0]||(a.removeOwnBinding(t),a.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))},d(e)}(),oE=function(){function e(e){var t=e.identifier,r=e.scope,a=e.path,n=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=a,this.kind=n,"var"!==n&&"hoisted"!==n||!dE(a||function(){throw new Error("Internal Babel error: unreachable ")}())||this.reassign(a),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},d(e)}();function dE(e){for(var t=e.parentPath,r=e.key;t;t=(a=t).parentPath,r=a.key,a){var a;if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===r)return!0}return!1}var uE,cE,lE={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2020:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2021:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,OffscreenCanvasRenderingContext2D:!1,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},nodeBuiltin:{Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,global:!1,Intl:!1,process:!1,queueMicrotask:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function pE(){return cE?uE:(cE=1,uE=lE)}var fE,gE,hE={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function mE(){return gE?fE:(gE=1,fE=hE)}function yE(e){return null!=e&&e&&"false"!==e&&"0"!==e}var vE=yE(ki.env.BABEL_8_BREAKING)?pE():mE(),bE=Io,xE=Qd,RE=Db,EE=Wx,DE=pu,wE=te,jE=Nn,CE=cs,AE=tt,SE=at,kE=nt,TE=st,FE=it,PE=xe,_E=Ee,IE=ut,BE=as,OE=ss,NE=fs,ME=Ae,LE=Ie,UE=os,zE=Zn,VE=ke,qE=yt,HE=vt,GE=xt,WE=qe,KE=We,XE=Xe,JE=Is,YE=Ru,$E=mu,ZE=Ox,QE=Ou,eD=Mu,tD=Lu,rD=ha,aD=ma,nD=Oe,sD=ba,iD=ft,oD=Pt,dD=ps;function uD(e,t){switch(null==e?void 0:e.type){default:if(IE(e)||dD(e))if((kE(e)||FE(e)||IE(e))&&e.source)uD(e.source,t);else if((FE(e)||IE(e))&&e.specifiers&&e.specifiers.length)for(var r,a=k(e.specifiers);!(r=a()).done;)uD(r.value,t);else(TE(e)||FE(e))&&e.declaration&&uD(e.declaration,t);else NE(e)?uD(e.local,t):!BE(e)||ME(e)||VE(e)||GE(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":uD(e.object,t),uD(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":uD(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(var n,s=k(e.properties);!(n=s()).done;)uD(n.value,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":uD(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":uD(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),uD(e.argument,t);break;case"AwaitExpression":t.push("await"),uD(e.argument,t);break;case"AssignmentExpression":uD(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":uD(e.id,t);break;case"ParenthesizedExpression":uD(e.expression,t);break;case"MetaProperty":uD(e.meta,t),uD(e.property,t);break;case"JSXElement":uD(e.openingElement,t);break;case"JSXOpeningElement":uD(e.name,t);break;case"JSXFragment":uD(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":uD(e.namespace,t),uD(e.name,t)}}var cD={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var a=e.scope;(a.getFunctionParent()||a.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!kE(t)){var a=t.declaration;if(SE(a)||PE(a)){var n=a.id;if(!n)return;var s=r.getBinding(n.name);null==s||s.reference(e)}else if(XE(a))for(var i,o=k(a.declarations);!(i=o()).done;)for(var d=i.value,u=0,c=Object.keys(EE(d));u1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];uD(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return DE(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(WE(e)||qE(e)||sD(e))return!0;if(_E(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),RE(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new iE(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,a){e[t]&&(e[r]=a,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(AE(e)){for(var i,o=k(e.body);!(i=o()).done;){var d=i.value;if(!this.isPure(d,t))return!1}return!0}if(jE(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(wE(e)||aD(e)){for(var u,c=k(e.elements);!(u=c()).done;){var l=u.value;if(null!==l&&!this.isPure(l,t))return!1}return!0}if(LE(e)||rD(e)){for(var p,f=k(e.properties);!(p=f()).done;){var g=p.value;if(!this.isPure(g,t))return!1}return!0}if(OE(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(n=e.decorators)?void 0:n.length)>0);if(UE(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(s=e.decorators)?void 0:s.length)>0)&&!((nD(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(KE(e))return this.isPure(e.argument,t);if(HE(e))return JE(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(GE(e)){for(var h,m=k(e.expressions);!(h=m()).done;){var y=h.value;if(!this.isPure(y,t))return!1}return!0}return zE(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&jR(cD)){for(var a,n=k(cD.enter);!(a=n()).done;)a.value.call(r,e,r);var s=cD[e.type];if(s)for(var i,o=k(s.enter);!(i=o()).done;)i.value.call(r,e,r)}e.traverse(cD,r),this.crawling=!1;for(var d,u=k(r.assignments);!(d=u()).done;){for(var c=d.value,l=c.getBindingIdentifiers(),p=0,f=Object.keys(l);p0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,i=new bD(3*o/4-s),a=s>0?o-4:o;var d=0;for(t=0,r=0;t>16&255,i[d++]=n>>8&255,i[d++]=255&n;return 2===s?(n=vD[e.charCodeAt(t)]<<2|vD[e.charCodeAt(t+1)]>>4,i[d++]=255&n):1===s&&(n=vD[e.charCodeAt(t)]<<10|vD[e.charCodeAt(t+1)]<<4|vD[e.charCodeAt(t+2)]>>2,i[d++]=n>>8&255,i[d++]=255&n),i}function DD(e){return yD[e>>18&63]+yD[e>>12&63]+yD[e>>6&63]+yD[63&e]}function wD(e,t,r){for(var a,n=[],s=t;sd?d:o+i));return 1===a?(t=e[r-1],n+=yD[t>>2],n+=yD[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=yD[t>>10],n+=yD[t>>4&63],n+=yD[t<<2&63],n+="="),s.push(n),s.join("")}function CD(e,t,r,a,n){var s,i,o=8*n-a-1,d=(1<>1,c=-7,l=r?n-1:0,p=r?-1:1,f=e[t+l];for(l+=p,s=f&(1<<-c)-1,f>>=-c,c+=o;c>0;s=256*s+e[t+l],l+=p,c-=8);for(i=s&(1<<-c)-1,s>>=-c,c+=a;c>0;i=256*i+e[t+l],l+=p,c-=8);if(0===s)s=1-u;else{if(s===d)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,a),s-=u}return(f?-1:1)*i*Math.pow(2,s-a)}function AD(e,t,r,a,n,s){var i,o,d,u=8*s-n-1,c=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,g=a?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-i))<1&&(i--,d*=2),(t+=i+l>=1?p/d:p*Math.pow(2,1-l))*d>=2&&(i++,d/=2),i+l>=c?(o=0,i=c):i+l>=1?(o=(t*d-1)*Math.pow(2,n),i+=l):(o=t*Math.pow(2,l-1)*Math.pow(2,n),i=0));n>=8;e[r+f]=255&o,f+=g,o/=256,n-=8);for(i=i<0;e[r+f]=255&i,f+=g,i/=256,u-=8);e[r+f-g]|=128*h}var SD={}.toString,kD=Array.isArray||function(e){return"[object Array]"==SD.call(e)},TD=50;function FD(){return _D.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function PD(e,t){if(FD()=FD())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+FD().toString(16)+" bytes");return 0|e}function qD(e){return!(null==e||!e._isBuffer)}function HD(e,t){if(qD(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return xw(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Dw(e).length;default:if(a)return xw(e).length;t=(""+t).toLowerCase(),a=!0}}function GD(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ow(this,t,r);case"utf8":case"utf-8":return rw(this,t,r);case"ascii":return sw(this,t,r);case"latin1":case"binary":return iw(this,t,r);case"base64":return tw(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dw(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function WD(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function KD(e,t,r,a,n){if(0===e.length)return-1;if("string"===typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"===typeof t&&(t=_D.from(t,a)),qD(t))return 0===t.length?-1:XD(e,t,r,a,n);if("number"===typeof t)return t&=255,_D.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):XD(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function XD(e,t,r,a,n){var s,i=1,o=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;i=2,o/=2,d/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var c=-1;for(s=r;so&&(r=o-d),s=r;s>=0;s--){for(var l=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!==0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var i=0;i239?4:u>223?3:u>191?2:1;if(n+l<=r)switch(l){case 1:u<128&&(c=u);break;case 2:128===(192&(s=e[n+1]))&&(d=(31&u)<<6|63&s)>127&&(c=d);break;case 3:s=e[n+1],i=e[n+2],128===(192&s)&&128===(192&i)&&(d=(15&u)<<12|(63&s)<<6|63&i)>2047&&(d<55296||d>57343)&&(c=d);break;case 4:s=e[n+1],i=e[n+2],o=e[n+3],128===(192&s)&&128===(192&i)&&128===(192&o)&&(d=(15&u)<<18|(63&s)<<12|(63&i)<<6|63&o)>65535&&d<1114112&&(c=d)}null===c?(c=65533,l=1):c>65535&&(c-=65536,a.push(c>>>10&1023|55296),c=56320|1023&c),a.push(c),n+=l}return nw(a)}_D.TYPED_ARRAY_SUPPORT=void 0===Ms.TYPED_ARRAY_SUPPORT||Ms.TYPED_ARRAY_SUPPORT,FD(),_D.poolSize=8192,_D._augment=function(e){return e.__proto__=_D.prototype,e},_D.from=function(e,t,r){return ID(null,e,t,r)},_D.TYPED_ARRAY_SUPPORT&&(_D.prototype.__proto__=Uint8Array.prototype,_D.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&_D[Symbol.species]),_D.alloc=function(e,t,r){return OD(null,e,t,r)},_D.allocUnsafe=function(e){return ND(null,e)},_D.allocUnsafeSlow=function(e){return ND(null,e)},_D.isBuffer=Cw,_D.compare=function(e,t){if(!qD(e)||!qD(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},_D.prototype.compare=function(e,t,r,a,n){if(!qD(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),i=(r>>>=0)-(t>>>=0),o=Math.min(s,i),d=this.slice(a,n),u=e.slice(t,r),c=0;cn)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return JD(this,e,t,r);case"utf8":case"utf-8":return YD(this,e,t,r);case"ascii":return $D(this,e,t,r);case"latin1":case"binary":return ZD(this,e,t,r);case"base64":return QD(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ew(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},_D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aw=4096;function nw(e){var t=e.length;if(t<=aw)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function cw(e,t,r,a,n,s){if(!qD(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function lw(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function pw(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function fw(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function gw(e,t,r,a,n){return n||fw(e,t,r,4),AD(e,t,r,a,23,4),r+4}function hw(e,t,r,a,n){return n||fw(e,t,r,8),AD(e,t,r,a,52,8),r+8}_D.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},_D.prototype.readUInt8=function(e,t){return t||uw(e,1,this.length),this[e]},_D.prototype.readUInt16LE=function(e,t){return t||uw(e,2,this.length),this[e]|this[e+1]<<8},_D.prototype.readUInt16BE=function(e,t){return t||uw(e,2,this.length),this[e]<<8|this[e+1]},_D.prototype.readUInt32LE=function(e,t){return t||uw(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},_D.prototype.readUInt32BE=function(e,t){return t||uw(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},_D.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||uw(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},_D.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||uw(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},_D.prototype.readInt8=function(e,t){return t||uw(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},_D.prototype.readInt16LE=function(e,t){t||uw(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},_D.prototype.readInt16BE=function(e,t){t||uw(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},_D.prototype.readInt32LE=function(e,t){return t||uw(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},_D.prototype.readInt32BE=function(e,t){return t||uw(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},_D.prototype.readFloatLE=function(e,t){return t||uw(e,4,this.length),CD(this,e,!0,23,4)},_D.prototype.readFloatBE=function(e,t){return t||uw(e,4,this.length),CD(this,e,!1,23,4)},_D.prototype.readDoubleLE=function(e,t){return t||uw(e,8,this.length),CD(this,e,!0,52,8)},_D.prototype.readDoubleBE=function(e,t){return t||uw(e,8,this.length),CD(this,e,!1,52,8)},_D.prototype.writeUIntLE=function(e,t,r,a){e=+e,t|=0,r|=0,a||cw(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},_D.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,1,255,0),_D.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},_D.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,65535,0),_D.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):lw(this,e,t,!0),t+2},_D.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,65535,0),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):lw(this,e,t,!1),t+2},_D.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,4294967295,0),_D.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):pw(this,e,t,!0),t+4},_D.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,4294967295,0),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):pw(this,e,t,!1),t+4},_D.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);cw(this,e,t,r,n-1,-n)}var s=0,i=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+r},_D.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);cw(this,e,t,r,n-1,-n)}var s=r-1,i=1,o=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/i>>0)-o&255;return t+r},_D.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,1,127,-128),_D.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},_D.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,32767,-32768),_D.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):lw(this,e,t,!0),t+2},_D.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,2,32767,-32768),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):lw(this,e,t,!1),t+2},_D.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,2147483647,-2147483648),_D.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):pw(this,e,t,!0),t+4},_D.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||cw(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),_D.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):pw(this,e,t,!1),t+4},_D.prototype.writeFloatLE=function(e,t,r){return gw(this,e,t,!0,r)},_D.prototype.writeFloatBE=function(e,t,r){return gw(this,e,t,!1,r)},_D.prototype.writeDoubleLE=function(e,t,r){return hw(this,e,t,!0,r)},_D.prototype.writeDoubleBE=function(e,t,r){return hw(this,e,t,!1,r)},_D.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!_D.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function Rw(e){for(var t=[],r=0;r>8,n=r%256,s.push(n),s.push(a);return s}function Dw(e){return ED(yw(e))}function ww(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function jw(e){return e!==e}function Cw(e){return null!=e&&(!!e._isBuffer||Aw(e)||Sw(e))}function Aw(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Sw(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&Aw(e.slice(0,0))}var kw,Tw={exports:{}};function Fw(){return kw||(kw=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,u&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(g)}function g(e,t){return e[0]-t[0]}function h(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),u=0,c="",l=0;l0&&(u===n&&(c+=d.decode(i),u=0),i[u++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(c+=d.decode(o),i.copyWithin(0,s,u),u-=s),f>0&&(i[u++]=t),u=m(i,u,a,g,0),1!==g.length&&(u=m(i,u,a,g,1),u=m(i,u,a,g,2),u=m(i,u,a,g,3),4!==g.length&&(u=m(i,u,a,g,4)))}}}return c+d.decode(i.subarray(0,u))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=u,e.encode=h,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,Tw.exports)),Tw.exports}Tw.exports;var Pw,_w={exports:{}},Iw={exports:{}};function Bw(){return Pw||(Pw=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,u&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(g)}function g(e,t){return e[0]-t[0]}function h(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),u=0,c="",l=0;l0&&(u===n&&(c+=d.decode(i),u=0),i[u++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(c+=d.decode(o),i.copyWithin(0,s,u),u-=s),f>0&&(i[u++]=t),u=m(i,u,a,g,0),1!==g.length&&(u=m(i,u,a,g,1),u=m(i,u,a,g,2),u=m(i,u,a,g,3),4!==g.length&&(u=m(i,u,a,g,4)))}}}return c+d.decode(i.subarray(0,u))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=u,e.encode=h,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,Iw.exports)),Iw.exports}Iw.exports;var Ow,Nw={exports:{}};function Mw(){return Ow||(Ow=1,e=Nw,Nw.exports,function(t,r){e.exports=r()}(0,(function(){var e,t=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(e){return t.test(e)}function s(e){return e.startsWith("//")}function i(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function d(e){return/^[.?#]/.test(e)}function u(e){var t=r.exec(e);return l(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function c(e){var t=a.exec(e),r=t[2];return l("file:","",t[1]||"","",i(r)?r:"/"+r,t[3]||"",t[4]||"")}function l(t,r,a,n,s,i,o){return{scheme:t,user:r,host:a,port:n,path:s,query:i,hash:o,type:e.Absolute}}function p(t){if(s(t)){var r=u("http:"+t);return r.scheme="",r.type=e.SchemeRelative,r}if(i(t)){var a=u("http://foo.com"+t);return a.scheme="",a.host="",a.type=e.AbsolutePath,a}if(o(t))return c(t);if(n(t))return u(t);var d=u("http://foo.com/"+t);return d.scheme="",d.host="",d.type=t?t.startsWith("?")?e.Query:t.startsWith("#")?e.Hash:e.RelativePath:e.Empty,d}function f(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}function g(e,t){h(t,t.type),"/"===e.path?e.path=t.path:e.path=f(t.path)+e.path}function h(t,r){for(var a=r<=e.RelativePath,n=t.path.split("/"),s=1,i=0,o=!1,d=1;dn&&(n=i)}h(a,n);var o=a.query+a.hash;switch(n){case e.Hash:case e.Query:return o;case e.RelativePath:var u=a.path.slice(1);return u?d(r||t)&&!d(u)?"./"+u+o:u+o:o||".";case e.AbsolutePath:return a.path+o;default:return a.scheme+"//"+a.user+a.host+a.port+a.path+o}}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(e||(e={})),m}))),Nw.exports;var e}Nw.exports,_w.exports,function(e,t){!function(e,r){r(t,Bw(),Mw())}(0,(function(e,t,r){function a(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var n=a(r);function s(e,t){return t&&!t.endsWith("/")&&(t+="/"),n.default(e,t)}function i(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}var o=0,u=1,c=2,l=3,p=4,f=1,g=2;function h(e,t){var r=m(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a>1),s=e[n][o]-t;if(0===s)return x=!0,n;s<0?r=n+1:a=n-1}return x=!1,r-1}function E(e,t,r){for(var a=r+1;a=0&&e[a][o]===t;r=a--);return r}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function j(e,t,r,a){var n=r.lastKey,s=r.lastNeedle,i=r.lastIndex,d=0,u=e.length-1;if(a===n){if(t===s)return x=-1!==i&&e[i][o]===t,i;t>=s?d=-1===i?0:i:u=i}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=R(e,t,d,u)}function C(e,t){for(var r=t.map(S),a=0;at;a--)e[a]=e[a-1];e[t]=r}function S(){return{__proto__:null}}var k=function(t,r){var a="string"===typeof t?JSON.parse(t):t;if(!("sections"in a))return new M(a,r);var n=[],s=[],i=[],o=[];T(a,r,n,s,i,o,0,0,1/0,1/0);var d={version:3,file:a.file,names:o,sources:s,sourcesContent:i,mappings:n};return e.presortedDecodedMap(d)};function T(e,t,r,a,n,s,i,o,d,u){for(var c=e.sections,l=0;lg)return;for(var j=_(a,w),C=0===D?f:0,A=b[D],S=0;S=h)return;if(1!==k.length){var I=y+k[u],B=k[c],O=k[l];j.push(4===k.length?[F,I,B,O]:[F,I,B,O,v+k[p]])}else j.push([F])}}}function P(e,t){for(var r=0;r=n.length)return null;var s=n[r],i=V(s,t._decodedMemo,r,a,N);return-1===i?null:s[i]},e.originalPositionFor=function(t,r){var a=r.line,n=r.column,s=r.bias;if(--a<0)throw new Error(I);if(n<0)throw new Error(B);var i=e.decodedMappings(t);if(a>=i.length)return U(null,null,null,null);var o=i[a],d=V(o,t._decodedMemo,a,n,s||N);if(-1===d)return U(null,null,null,null);var f=o[d];if(1===f.length)return U(null,null,null,null);var g=t.names;return U(t.resolvedSources[f[u]],f[c]+1,f[l],5===f.length?g[f[p]]:null)},e.allGeneratedPositionsFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||O,!0)},e.generatedPositionFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||N,!1)},e.eachMapping=function(t,r){for(var a=e.decodedMappings(t),n=t.names,s=t.resolvedSources,i=0;i=0&&!(t>=e[a][s]);r=a--);return r}function h(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function m(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r1?String.fromCharCode(e).repeat(t):String.fromCharCode(e),10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var s=t.column,i=t.identifierName,o=t.identifierNamePos,d=t.filename,u=t.line;null==i&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var c=e.indexOf("\n"),l=0;for(0!==c&&this._mark(u,s,i,o,d);-1!==c;)n.line++,n.column=0,(l=c+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)}else t()},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t.withSource=function(e,t,r){this._map&&this.source(e,t),r()},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function iC(e){return Vj(e)||nC(e)||Xj(e)}var oC=function(e,t){return mj(t,{superClass:e})},dC=function(e,t){return(Pj(t)||Nj(t))&&t.object===e||(hj(t)||Oj(t)||_j(t))&&t.callee===e||Yj(t)&&t.tag===e||Gj(t)};function uC(e,t){return dj(t)}function cC(e,t,r){if(!(r.length<3))return eC(t)||Tj(t)||dj(t)||Zj(t)&&uj(r[r.length-3])}function lC(e,t){return dC(e,t)||oC(e,t)}function pC(e,t,r){return _C(r,3)}function fC(e,t,r){return!e.async&&_C(r,1)}function gC(e,t){if("**"===e.operator&&fj(t,{operator:"**"}))return t.left===e;if(oC(e,t))return!0;if(dC(e,t)||Qj(t)||lj(t))return!0;if(pj(t)){var r=t.operator,a=sC[r],n=e.operator,s=sC[n];if(a===s&&t.right===e&&!Fj(t)||a>s)return!0}}function hC(e,t){return dj(t)||Ij(t)||Tj(t)||eC(t)}function mC(e,t){return kj(t,{objectType:e})}function yC(){return!0}function vC(e,t){return zj(t)||Wj(t)||Hj(t)||Jj(t)||Kj(t)}function bC(e,t){return zj(t)||Wj(t)}function xC(e,t){return(hj(t)||Oj(t)||_j(t)||qj(t))&&!!t.typeParameters}function RC(e,t){return"in"===e.operator&&(tC(t)||Dj(t))}function EC(e,t){return!(Cj(t)||$j(t)||Mj(t)||Sj(t)&&t.test===e||rC(t)&&t.test===e||wj(t)&&t.right===e||Uj(t)&&t.discriminant===e||Ej(t)&&t.expression===e)}function DC(e,t){return pj(t)||Qj(t)||dC(e,t)||lj(t)&&aC(e)||bj(t)&&e===t.test||oC(e,t)}function wC(e,t,r){return _C(r,5)}function jC(e,t){return dC(e,t)||fj(t,{operator:"**",left:e})||oC(e,t)}function CC(e,t,r){return _C(r,5)}function AC(e,t){return xj(t)||SC(e,t)}function SC(e,t){return!!(Qj(t)||pj(t)||bj(t,{test:e})||lj(t)||iC(t))||jC(e,t)}function kC(e,t){return hj(t,{callee:e})||Pj(t,{object:e})}function TC(e,t){return!!Bj(e.left)||SC(e,t)}function FC(e,t){if(iC(t))return!0;switch(e.operator){case"||":return!!Fj(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return Fj(t,{operator:"??"});case"??":return Fj(t)&&"??"!==t.operator}}function PC(e,t,r){var a;return!(null==(a=e.extra)||!a.parenthesized||!cj(t,{left:e})||!Aj(t.right)&&!yj(t.right)||null!=t.right.id)||("let"===e.name?_C(r,Pj(t,{object:e,computed:!0})||Nj(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&jj(t)&&e===t.left)}function _C(e,t){var r=1&t,a=2&t,n=4&t,s=8&t,i=16&t,o=32&t,d=e.length-1;if(!(d<=0)){for(var u=e[d],c=e[--d];d>=0;){if(r&&Ej(c,{expression:u})||n&&Rj(c,{declaration:u})||a&&uj(c,{body:u})||s&&Cj(c,{init:u})||i&&wj(c,{left:u})||o&&jj(c,{left:u}))return!0;if(!(d>0&&(dC(u,c)&&!_j(c)||Lj(c)&&c.expressions[0]===u||gj(c)&&!c.prefix||vj(c,{test:u})||pj(c,{left:u})||cj(c,{left:u}))))return!1;u=c,c=e[--d]}return!1}}var IC=No,BC=ue,OC=Fe,NC=Pe;function MC(e){var t={};function r(e,r){var a=t[e];t[e]=a?function(e,t,n){var s=a(e,t,n);return null==s?r(e,t,n):s}:r}for(var a=0,n=Object.keys(e);a1}),jA(t))if(CA(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()}function YA(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}var $A=st,ZA=it;function QA(e,t){($A(t)||ZA(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function eS(e){this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))}function tS(e){var t,r;this.printJoin(e.decorators,e);var a=null==(t=e.key.loc)||null==(r=t.end)?void 0:r.line;a&&this.catchUp(a),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function rS(e){var t,r;this.printJoin(e.decorators,e);var a=null==(t=e.key.loc)||null==(r=t.end)?void 0:r.line;a&&this.catchUp(a),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function aS(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function nS(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function sS(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function iS(e){var t,r;this.printJoin(e.decorators,e);var a=null==(t=e.key.loc)||null==(r=t.end)?void 0:r.line;a&&this.catchUp(a),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function oS(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))}var dS=Ee;function uS(e,t,r){this.print(e.typeParameters,e);var a=vS.call(this,t,r);a&&this.sourceIdentifierName(a.name,a.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);var n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n}function cS(e,t){for(var r=e.length,a=0;a"),this.space(),this.print(e.body,e)}function yS(e,t){var r,a;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(r=t.leadingComments)&&r.length||null!=(a=t.trailingComments)&&a.length)}function vS(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,i;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(i=r.loc)?void 0:i.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}var bS=at,xS=ga,RS=jt,ES=ct,DS=lt,wS=zn;function jS(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function CS(e){this.print(e.local,e)}function AS(e){this.print(e.exported,e)}function SS(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function kS(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var TS,FS,PS,_S,IS=!1;function BS(e){var t=this.format.importAttributesKeyword,r=e.attributes,a=e.assertions;!r||t||IS||(IS=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var n="assert"===t||!t&&a;this.word(n?"assert":"with"),this.space(),n||"with"===t?(this.tokenChar(123),this.space(),this.printList(r||a,e),this.space(),this.tokenChar(125)):this.printList(r||a,e)}function OS(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function NS(e,t){bS(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function MS(e){if(NS(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t,e),wS(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r,a,n=e.specifiers.slice(0),s=!1;;){var i=n[0];if(!xS(i)&&!RS(i))break;s=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}(n.length||!n.length&&!s)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(r=e.attributes)&&r.length||null!=(a=e.assertions)&&a.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)),this.semicolon()}}function LS(e){NS(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();var t=e.declaration;this.print(t,e),wS(t)||this.semicolon()}function US(e){var t,r;this.word("import"),this.space();var a="type"===e.importKind||"typeof"===e.importKind;a?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module&&(this.noIndentInnerCommentsHere(),this.word("module"),this.space());for(var n=e.specifiers.slice(0),s=!!n.length;s;){var i=n[0];if(!ES(i)&&!DS(i))break;this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}n.length?(this.tokenChar(123),this.space(),this.printList(n,e),this.space(),this.tokenChar(125)):a&&!s&&(this.tokenChar(123),this.tokenChar(125)),(s||a)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function zS(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function VS(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}function qS(){if(FS)return TS;FS=1;var e={},t=e.hasOwnProperty,r=function(e,r){for(var a in e)t.call(e,a)&&r(a,e[a])},a=function(e,t){return t?(r(t,(function(t,r){e[t]=r})),e):e},n=function(e,t){for(var r=e.length,a=-1;++a2?s(l):"\\x"+("00"+l).slice(-2)})),"`"==C&&(j=j.replace(/\$\{/g,"\\${")),o.isScriptContext&&(j=j.replace(/<\/(script|style)/gi,"<\\/$1").replace(/\\n\\n'\n }\n }\n\n return '\\n\\n'\n}\n","/**\n * @typedef {import('../types.js').IndentLines} IndentLines\n */\n\nconst eol = /\\r?\\n|\\r/g\n\n/**\n * @type {IndentLines}\n */\nexport function indentLines(value, map) {\n /** @type {Array} */\n const result = []\n let start = 0\n let line = 0\n /** @type {RegExpExecArray | null} */\n let match\n\n while ((match = eol.exec(value))) {\n one(value.slice(start, match.index))\n result.push(match[0])\n start = match.index + match[0].length\n line++\n }\n\n one(value.slice(start))\n\n return result.join('')\n\n /**\n * @param {string} value\n */\n function one(value) {\n result.push(map(value, line, !value))\n }\n}\n","/**\n * @typedef {import('../types.js').Unsafe} Unsafe\n */\n\n/**\n * @param {Unsafe} pattern\n * @returns {RegExp}\n */\nexport function patternCompile(pattern) {\n if (!pattern._compiled) {\n const before =\n (pattern.atBreak ? '[\\\\r\\\\n][\\\\t ]*' : '') +\n (pattern.before ? '(?:' + pattern.before + ')' : '')\n\n pattern._compiled = new RegExp(\n (before ? '(' + before + ')' : '') +\n (/[|\\\\{}()[\\]^$+*?.-]/.test(pattern.character) ? '\\\\' : '') +\n pattern.character +\n (pattern.after ? '(?:' + pattern.after + ')' : ''),\n 'g'\n )\n }\n\n return pattern._compiled\n}\n","/**\n * @typedef {import('../types.js').Unsafe} Unsafe\n * @typedef {import('../types.js').ConstructName} ConstructName\n */\n\n/**\n * @param {Array} stack\n * @param {Unsafe} pattern\n * @returns {boolean}\n */\nexport function patternInScope(stack, pattern) {\n return (\n listInScope(stack, pattern.inConstruct, true) &&\n !listInScope(stack, pattern.notInConstruct, false)\n )\n}\n\n/**\n * @param {Array} stack\n * @param {Unsafe['inConstruct']} list\n * @param {boolean} none\n * @returns {boolean}\n */\nfunction listInScope(stack, list, none) {\n if (typeof list === 'string') {\n list = [list]\n }\n\n if (!list || list.length === 0) {\n return none\n }\n\n let index = -1\n\n while (++index < list.length) {\n if (stack.includes(list[index])) {\n return true\n }\n }\n\n return false\n}\n","/**\n * @typedef {import('../types.js').State} State\n * @typedef {import('../types.js').SafeConfig} SafeConfig\n */\n\nimport {patternCompile} from './pattern-compile.js'\nimport {patternInScope} from './pattern-in-scope.js'\n\n/**\n * Make a string safe for embedding in markdown constructs.\n *\n * In markdown, almost all punctuation characters can, in certain cases,\n * result in something.\n * Whether they do is highly subjective to where they happen and in what\n * they happen.\n *\n * To solve this, `mdast-util-to-markdown` tracks:\n *\n * * Characters before and after something;\n * * What “constructs” we are in.\n *\n * This information is then used by this function to escape or encode\n * special characters.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {string | null | undefined} input\n * Raw value to make safe.\n * @param {SafeConfig} config\n * Configuration.\n * @returns {string}\n * Serialized markdown safe for embedding.\n */\nexport function safe(state, input, config) {\n const value = (config.before || '') + (input || '') + (config.after || '')\n /** @type {Array} */\n const positions = []\n /** @type {Array} */\n const result = []\n /** @type {Record} */\n const infos = {}\n let index = -1\n\n while (++index < state.unsafe.length) {\n const pattern = state.unsafe[index]\n\n if (!patternInScope(state.stack, pattern)) {\n continue\n }\n\n const expression = patternCompile(pattern)\n /** @type {RegExpExecArray | null} */\n let match\n\n while ((match = expression.exec(value))) {\n const before = 'before' in pattern || Boolean(pattern.atBreak)\n const after = 'after' in pattern\n const position = match.index + (before ? match[1].length : 0)\n\n if (positions.includes(position)) {\n if (infos[position].before && !before) {\n infos[position].before = false\n }\n\n if (infos[position].after && !after) {\n infos[position].after = false\n }\n } else {\n positions.push(position)\n infos[position] = {before, after}\n }\n }\n }\n\n positions.sort(numerical)\n\n let start = config.before ? config.before.length : 0\n const end = value.length - (config.after ? config.after.length : 0)\n index = -1\n\n while (++index < positions.length) {\n const position = positions[index]\n\n // Character before or after matched:\n if (position < start || position >= end) {\n continue\n }\n\n // If this character is supposed to be escaped because it has a condition on\n // the next character, and the next character is definitly being escaped,\n // then skip this escape.\n if (\n (position + 1 < end &&\n positions[index + 1] === position + 1 &&\n infos[position].after &&\n !infos[position + 1].before &&\n !infos[position + 1].after) ||\n (positions[index - 1] === position - 1 &&\n infos[position].before &&\n !infos[position - 1].before &&\n !infos[position - 1].after)\n ) {\n continue\n }\n\n if (start !== position) {\n // If we have to use a character reference, an ampersand would be more\n // correct, but as backslashes only care about punctuation, either will\n // do the trick\n result.push(escapeBackslashes(value.slice(start, position), '\\\\'))\n }\n\n start = position\n\n if (\n /[!-/:-@[-`{-~]/.test(value.charAt(position)) &&\n (!config.encode || !config.encode.includes(value.charAt(position)))\n ) {\n // Character escape.\n result.push('\\\\')\n } else {\n // Character reference.\n result.push(\n '&#x' + value.charCodeAt(position).toString(16).toUpperCase() + ';'\n )\n start++\n }\n }\n\n result.push(escapeBackslashes(value.slice(start, end), config.after))\n\n return result.join('')\n}\n\n/**\n * @param {number} a\n * @param {number} b\n * @returns {number}\n */\nfunction numerical(a, b) {\n return a - b\n}\n\n/**\n * @param {string} value\n * @param {string} after\n * @returns {string}\n */\nfunction escapeBackslashes(value, after) {\n const expression = /\\\\(?=[!-/:-@[-`{-~])/g\n /** @type {Array} */\n const positions = []\n /** @type {Array} */\n const results = []\n const whole = value + after\n let index = -1\n let start = 0\n /** @type {RegExpExecArray | null} */\n let match\n\n while ((match = expression.exec(whole))) {\n positions.push(match.index)\n }\n\n while (++index < positions.length) {\n if (start !== positions[index]) {\n results.push(value.slice(start, positions[index]))\n }\n\n results.push('\\\\')\n start = positions[index]\n }\n\n results.push(value.slice(start))\n\n return results.join('')\n}\n","/**\n * @typedef {import('../types.js').CreateTracker} CreateTracker\n * @typedef {import('../types.js').TrackCurrent} TrackCurrent\n * @typedef {import('../types.js').TrackMove} TrackMove\n * @typedef {import('../types.js').TrackShift} TrackShift\n */\n\n/**\n * Track positional info in the output.\n *\n * @type {CreateTracker}\n */\nexport function track(config) {\n // Defaults are used to prevent crashes when older utilities somehow activate\n // this code.\n /* c8 ignore next 5 */\n const options = config || {}\n const now = options.now || {}\n let lineShift = options.lineShift || 0\n let line = now.line || 1\n let column = now.column || 1\n\n return {move, current, shift}\n\n /**\n * Get the current tracked info.\n *\n * @type {TrackCurrent}\n */\n function current() {\n return {now: {line, column}, lineShift}\n }\n\n /**\n * Define an increased line shift (the typical indent for lines).\n *\n * @type {TrackShift}\n */\n function shift(value) {\n lineShift += value\n }\n\n /**\n * Move past some generated markdown.\n *\n * @type {TrackMove}\n */\n function move(input) {\n // eslint-disable-next-line unicorn/prefer-default-parameters\n const value = input || ''\n const chunks = value.split(/\\r?\\n|\\r/g)\n const tail = chunks[chunks.length - 1]\n line += chunks.length - 1\n column =\n chunks.length === 1 ? column + tail.length : 1 + tail.length + lineShift\n return value\n }\n}\n","/**\n * @typedef {import('mdast').FootnoteReference} FootnoteReference\n * @typedef {import('mdast').FootnoteDefinition} FootnoteDefinition\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Map} Map\n */\n\nimport {normalizeIdentifier} from 'micromark-util-normalize-identifier'\nimport {association} from 'mdast-util-to-markdown/lib/util/association.js'\nimport {containerFlow} from 'mdast-util-to-markdown/lib/util/container-flow.js'\nimport {indentLines} from 'mdast-util-to-markdown/lib/util/indent-lines.js'\nimport {safe} from 'mdast-util-to-markdown/lib/util/safe.js'\nimport {track} from 'mdast-util-to-markdown/lib/util/track.js'\n\nfootnoteReference.peek = footnoteReferencePeek\n\n// To do: next major: rename `context` -> `state`, `safeOptions` to `info`, use\n// utilities on `state`.\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM footnotes\n * in markdown.\n *\n * @returns {FromMarkdownExtension}\n * Extension for `mdast-util-from-markdown`.\n */\nexport function gfmFootnoteFromMarkdown() {\n return {\n enter: {\n gfmFootnoteDefinition: enterFootnoteDefinition,\n gfmFootnoteDefinitionLabelString: enterFootnoteDefinitionLabelString,\n gfmFootnoteCall: enterFootnoteCall,\n gfmFootnoteCallString: enterFootnoteCallString\n },\n exit: {\n gfmFootnoteDefinition: exitFootnoteDefinition,\n gfmFootnoteDefinitionLabelString: exitFootnoteDefinitionLabelString,\n gfmFootnoteCall: exitFootnoteCall,\n gfmFootnoteCallString: exitFootnoteCallString\n }\n }\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM footnotes\n * in markdown.\n *\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown`.\n */\nexport function gfmFootnoteToMarkdown() {\n return {\n // This is on by default already.\n unsafe: [{character: '[', inConstruct: ['phrasing', 'label', 'reference']}],\n handlers: {footnoteDefinition, footnoteReference}\n }\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterFootnoteDefinition(token) {\n this.enter(\n {type: 'footnoteDefinition', identifier: '', label: '', children: []},\n token\n )\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterFootnoteDefinitionLabelString() {\n this.buffer()\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitFootnoteDefinitionLabelString(token) {\n const label = this.resume()\n const node = /** @type {FootnoteDefinition} */ (\n this.stack[this.stack.length - 1]\n )\n node.label = label\n node.identifier = normalizeIdentifier(\n this.sliceSerialize(token)\n ).toLowerCase()\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitFootnoteDefinition(token) {\n this.exit(token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterFootnoteCall(token) {\n this.enter({type: 'footnoteReference', identifier: '', label: ''}, token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterFootnoteCallString() {\n this.buffer()\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitFootnoteCallString(token) {\n const label = this.resume()\n const node = /** @type {FootnoteDefinition} */ (\n this.stack[this.stack.length - 1]\n )\n node.label = label\n node.identifier = normalizeIdentifier(\n this.sliceSerialize(token)\n ).toLowerCase()\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitFootnoteCall(token) {\n this.exit(token)\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {FootnoteReference} node\n */\nfunction footnoteReference(node, _, context, safeOptions) {\n const tracker = track(safeOptions)\n let value = tracker.move('[^')\n const exit = context.enter('footnoteReference')\n const subexit = context.enter('reference')\n value += tracker.move(\n safe(context, association(node), {\n ...tracker.current(),\n before: value,\n after: ']'\n })\n )\n subexit()\n exit()\n value += tracker.move(']')\n return value\n}\n\n/** @type {ToMarkdownHandle} */\nfunction footnoteReferencePeek() {\n return '['\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {FootnoteDefinition} node\n */\nfunction footnoteDefinition(node, _, context, safeOptions) {\n const tracker = track(safeOptions)\n let value = tracker.move('[^')\n const exit = context.enter('footnoteDefinition')\n const subexit = context.enter('label')\n value += tracker.move(\n safe(context, association(node), {\n ...tracker.current(),\n before: value,\n after: ']'\n })\n )\n subexit()\n value += tracker.move(\n ']:' + (node.children && node.children.length > 0 ? ' ' : '')\n )\n tracker.shift(4)\n value += tracker.move(\n indentLines(containerFlow(node, context, tracker.current()), map)\n )\n exit()\n\n return value\n}\n\n/** @type {Map} */\nfunction map(line, index, blank) {\n if (index === 0) {\n return line\n }\n\n return (blank ? '' : ' ') + line\n}\n","/**\n * @typedef {import('../types.js').Handle} Handle\n * @typedef {import('../types.js').Info} Info\n * @typedef {import('../types.js').Parent} Parent\n * @typedef {import('../types.js').PhrasingContent} PhrasingContent\n * @typedef {import('../types.js').State} State\n */\n\n/**\n * Serialize the children of a parent that contains phrasing children.\n *\n * These children will be joined flush together.\n *\n * @param {Parent & {children: Array}} parent\n * Parent of flow nodes.\n * @param {State} state\n * Info passed around about the current state.\n * @param {Info} info\n * Info on where we are in the document we are generating.\n * @returns {string}\n * Serialized children, joined together.\n */\nexport function containerPhrasing(parent, state, info) {\n const indexStack = state.indexStack\n const children = parent.children || []\n /** @type {Array} */\n const results = []\n let index = -1\n let before = info.before\n\n indexStack.push(-1)\n let tracker = state.createTracker(info)\n\n while (++index < children.length) {\n const child = children[index]\n /** @type {string} */\n let after\n\n indexStack[indexStack.length - 1] = index\n\n if (index + 1 < children.length) {\n /** @type {Handle} */\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n let handle = state.handle.handlers[children[index + 1].type]\n /** @type {Handle} */\n // @ts-expect-error: hush, it’s actually a `zwitch`.\n if (handle && handle.peek) handle = handle.peek\n after = handle\n ? handle(children[index + 1], parent, state, {\n before: '',\n after: '',\n ...tracker.current()\n }).charAt(0)\n : ''\n } else {\n after = info.after\n }\n\n // In some cases, html (text) can be found in phrasing right after an eol.\n // When we’d serialize that, in most cases that would be seen as html\n // (flow).\n // As we can’t escape or so to prevent it from happening, we take a somewhat\n // reasonable approach: replace that eol with a space.\n // See: \n if (\n results.length > 0 &&\n (before === '\\r' || before === '\\n') &&\n child.type === 'html'\n ) {\n results[results.length - 1] = results[results.length - 1].replace(\n /(\\r?\\n|\\r)$/,\n ' '\n )\n before = ' '\n\n // To do: does this work to reset tracker?\n tracker = state.createTracker(info)\n tracker.move(results.join(''))\n }\n\n results.push(\n tracker.move(\n state.handle(child, parent, state, {\n ...tracker.current(),\n before,\n after\n })\n )\n )\n\n before = results[results.length - 1].slice(-1)\n }\n\n indexStack.pop()\n\n return results.join('')\n}\n","/**\n * @typedef {import('mdast').Delete} Delete\n *\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n *\n * @typedef {import('mdast-util-to-markdown').ConstructName} ConstructName\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n */\n\nimport {containerPhrasing} from 'mdast-util-to-markdown/lib/util/container-phrasing.js'\nimport {track} from 'mdast-util-to-markdown/lib/util/track.js'\n\n// To do: next major: expose functions.\n// To do: next major: use `state`, state utilities.\n\n/**\n * List of constructs that occur in phrasing (paragraphs, headings), but cannot\n * contain strikethrough.\n * So they sort of cancel each other out.\n * Note: could use a better name.\n *\n * Note: keep in sync with: \n *\n * @type {Array}\n */\nconst constructsWithoutStrikethrough = [\n 'autolink',\n 'destinationLiteral',\n 'destinationRaw',\n 'reference',\n 'titleQuote',\n 'titleApostrophe'\n]\n\nhandleDelete.peek = peekDelete\n\n/**\n * Extension for `mdast-util-from-markdown` to enable GFM strikethrough.\n *\n * @type {FromMarkdownExtension}\n */\nexport const gfmStrikethroughFromMarkdown = {\n canContainEols: ['delete'],\n enter: {strikethrough: enterStrikethrough},\n exit: {strikethrough: exitStrikethrough}\n}\n\n/**\n * Extension for `mdast-util-to-markdown` to enable GFM strikethrough.\n *\n * @type {ToMarkdownExtension}\n */\nexport const gfmStrikethroughToMarkdown = {\n unsafe: [\n {\n character: '~',\n inConstruct: 'phrasing',\n notInConstruct: constructsWithoutStrikethrough\n }\n ],\n handlers: {delete: handleDelete}\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterStrikethrough(token) {\n this.enter({type: 'delete', children: []}, token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitStrikethrough(token) {\n this.exit(token)\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {Delete} node\n */\nfunction handleDelete(node, _, context, safeOptions) {\n const tracker = track(safeOptions)\n const exit = context.enter('strikethrough')\n let value = tracker.move('~~')\n value += containerPhrasing(node, context, {\n ...tracker.current(),\n before: value,\n after: '~'\n })\n value += tracker.move('~~')\n exit()\n return value\n}\n\n/** @type {ToMarkdownHandle} */\nfunction peekDelete() {\n return '~'\n}\n","/**\n * @typedef {import('mdast').InlineCode} InlineCode\n * @typedef {import('../types.js').Parent} Parent\n * @typedef {import('../types.js').State} State\n */\n\nimport {patternCompile} from '../util/pattern-compile.js'\n\ninlineCode.peek = inlineCodePeek\n\n/**\n * @param {InlineCode} node\n * @param {Parent | undefined} _\n * @param {State} state\n * @returns {string}\n */\nexport function inlineCode(node, _, state) {\n let value = node.value || ''\n let sequence = '`'\n let index = -1\n\n // If there is a single grave accent on its own in the code, use a fence of\n // two.\n // If there are two in a row, use one.\n while (new RegExp('(^|[^`])' + sequence + '([^`]|$)').test(value)) {\n sequence += '`'\n }\n\n // If this is not just spaces or eols (tabs don’t count), and either the\n // first or last character are a space, eol, or tick, then pad with spaces.\n if (\n /[^ \\r\\n]/.test(value) &&\n ((/^[ \\r\\n]/.test(value) && /[ \\r\\n]$/.test(value)) || /^`|`$/.test(value))\n ) {\n value = ' ' + value + ' '\n }\n\n // We have a potential problem: certain characters after eols could result in\n // blocks being seen.\n // For example, if someone injected the string `'\\n# b'`, then that would\n // result in an ATX heading.\n // We can’t escape characters in `inlineCode`, but because eols are\n // transformed to spaces when going from markdown to HTML anyway, we can swap\n // them out.\n while (++index < state.unsafe.length) {\n const pattern = state.unsafe[index]\n const expression = patternCompile(pattern)\n /** @type {RegExpExecArray | null} */\n let match\n\n // Only look for `atBreak`s.\n // Btw: note that `atBreak` patterns will always start the regex at LF or\n // CR.\n if (!pattern.atBreak) continue\n\n while ((match = expression.exec(value))) {\n let position = match.index\n\n // Support CRLF (patterns only look for one of the characters).\n if (\n value.charCodeAt(position) === 10 /* `\\n` */ &&\n value.charCodeAt(position - 1) === 13 /* `\\r` */\n ) {\n position--\n }\n\n value = value.slice(0, position) + ' ' + value.slice(match.index + 1)\n }\n }\n\n return sequence + value + sequence\n}\n\n/**\n * @returns {string}\n */\nfunction inlineCodePeek() {\n return '`'\n}\n","/**\n * @typedef Options\n * Configuration (optional).\n * @property {string|null|ReadonlyArray} [align]\n * One style for all columns, or styles for their respective columns.\n * Each style is either `'l'` (left), `'r'` (right), or `'c'` (center).\n * Other values are treated as `''`, which doesn’t place the colon in the\n * alignment row but does align left.\n * *Only the lowercased first character is used, so `Right` is fine.*\n * @property {boolean} [padding=true]\n * Whether to add a space of padding between delimiters and cells.\n *\n * When `true`, there is padding:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * When `false`, there is no padding:\n *\n * ```markdown\n * |Alpha|B |\n * |-----|-----|\n * |C |Delta|\n * ```\n * @property {boolean} [delimiterStart=true]\n * Whether to begin each row with the delimiter.\n *\n * > 👉 **Note**: please don’t use this: it could create fragile structures\n * > that aren’t understandable to some markdown parsers.\n *\n * When `true`, there are starting delimiters:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * When `false`, there are no starting delimiters:\n *\n * ```markdown\n * Alpha | B |\n * ----- | ----- |\n * C | Delta |\n * ```\n * @property {boolean} [delimiterEnd=true]\n * Whether to end each row with the delimiter.\n *\n * > 👉 **Note**: please don’t use this: it could create fragile structures\n * > that aren’t understandable to some markdown parsers.\n *\n * When `true`, there are ending delimiters:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * When `false`, there are no ending delimiters:\n *\n * ```markdown\n * | Alpha | B\n * | ----- | -----\n * | C | Delta\n * ```\n * @property {boolean} [alignDelimiters=true]\n * Whether to align the delimiters.\n * By default, they are aligned:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * Pass `false` to make them staggered:\n *\n * ```markdown\n * | Alpha | B |\n * | - | - |\n * | C | Delta |\n * ```\n * @property {(value: string) => number} [stringLength]\n * Function to detect the length of table cell content.\n * This is used when aligning the delimiters (`|`) between table cells.\n * Full-width characters and emoji mess up delimiter alignment when viewing\n * the markdown source.\n * To fix this, you can pass this function, which receives the cell content\n * and returns its “visible” size.\n * Note that what is and isn’t visible depends on where the text is displayed.\n *\n * Without such a function, the following:\n *\n * ```js\n * markdownTable([\n * ['Alpha', 'Bravo'],\n * ['中文', 'Charlie'],\n * ['👩‍❤️‍👩', 'Delta']\n * ])\n * ```\n *\n * Yields:\n *\n * ```markdown\n * | Alpha | Bravo |\n * | - | - |\n * | 中文 | Charlie |\n * | 👩‍❤️‍👩 | Delta |\n * ```\n *\n * With [`string-width`](https://github.com/sindresorhus/string-width):\n *\n * ```js\n * import stringWidth from 'string-width'\n *\n * markdownTable(\n * [\n * ['Alpha', 'Bravo'],\n * ['中文', 'Charlie'],\n * ['👩‍❤️‍👩', 'Delta']\n * ],\n * {stringLength: stringWidth}\n * )\n * ```\n *\n * Yields:\n *\n * ```markdown\n * | Alpha | Bravo |\n * | ----- | ------- |\n * | 中文 | Charlie |\n * | 👩‍❤️‍👩 | Delta |\n * ```\n */\n\n/**\n * @typedef {Options} MarkdownTableOptions\n * @todo\n * Remove next major.\n */\n\n/**\n * Generate a markdown ([GFM](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables)) table..\n *\n * @param {ReadonlyArray>} table\n * Table data (matrix of strings).\n * @param {Options} [options]\n * Configuration (optional).\n * @returns {string}\n */\nexport function markdownTable(table, options = {}) {\n const align = (options.align || []).concat()\n const stringLength = options.stringLength || defaultStringLength\n /** @type {Array} Character codes as symbols for alignment per column. */\n const alignments = []\n /** @type {Array>} Cells per row. */\n const cellMatrix = []\n /** @type {Array>} Sizes of each cell per row. */\n const sizeMatrix = []\n /** @type {Array} */\n const longestCellByColumn = []\n let mostCellsPerRow = 0\n let rowIndex = -1\n\n // This is a superfluous loop if we don’t align delimiters, but otherwise we’d\n // do superfluous work when aligning, so optimize for aligning.\n while (++rowIndex < table.length) {\n /** @type {Array} */\n const row = []\n /** @type {Array} */\n const sizes = []\n let columnIndex = -1\n\n if (table[rowIndex].length > mostCellsPerRow) {\n mostCellsPerRow = table[rowIndex].length\n }\n\n while (++columnIndex < table[rowIndex].length) {\n const cell = serialize(table[rowIndex][columnIndex])\n\n if (options.alignDelimiters !== false) {\n const size = stringLength(cell)\n sizes[columnIndex] = size\n\n if (\n longestCellByColumn[columnIndex] === undefined ||\n size > longestCellByColumn[columnIndex]\n ) {\n longestCellByColumn[columnIndex] = size\n }\n }\n\n row.push(cell)\n }\n\n cellMatrix[rowIndex] = row\n sizeMatrix[rowIndex] = sizes\n }\n\n // Figure out which alignments to use.\n let columnIndex = -1\n\n if (typeof align === 'object' && 'length' in align) {\n while (++columnIndex < mostCellsPerRow) {\n alignments[columnIndex] = toAlignment(align[columnIndex])\n }\n } else {\n const code = toAlignment(align)\n\n while (++columnIndex < mostCellsPerRow) {\n alignments[columnIndex] = code\n }\n }\n\n // Inject the alignment row.\n columnIndex = -1\n /** @type {Array} */\n const row = []\n /** @type {Array} */\n const sizes = []\n\n while (++columnIndex < mostCellsPerRow) {\n const code = alignments[columnIndex]\n let before = ''\n let after = ''\n\n if (code === 99 /* `c` */) {\n before = ':'\n after = ':'\n } else if (code === 108 /* `l` */) {\n before = ':'\n } else if (code === 114 /* `r` */) {\n after = ':'\n }\n\n // There *must* be at least one hyphen-minus in each alignment cell.\n let size =\n options.alignDelimiters === false\n ? 1\n : Math.max(\n 1,\n longestCellByColumn[columnIndex] - before.length - after.length\n )\n\n const cell = before + '-'.repeat(size) + after\n\n if (options.alignDelimiters !== false) {\n size = before.length + size + after.length\n\n if (size > longestCellByColumn[columnIndex]) {\n longestCellByColumn[columnIndex] = size\n }\n\n sizes[columnIndex] = size\n }\n\n row[columnIndex] = cell\n }\n\n // Inject the alignment row.\n cellMatrix.splice(1, 0, row)\n sizeMatrix.splice(1, 0, sizes)\n\n rowIndex = -1\n /** @type {Array} */\n const lines = []\n\n while (++rowIndex < cellMatrix.length) {\n const row = cellMatrix[rowIndex]\n const sizes = sizeMatrix[rowIndex]\n columnIndex = -1\n /** @type {Array} */\n const line = []\n\n while (++columnIndex < mostCellsPerRow) {\n const cell = row[columnIndex] || ''\n let before = ''\n let after = ''\n\n if (options.alignDelimiters !== false) {\n const size =\n longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0)\n const code = alignments[columnIndex]\n\n if (code === 114 /* `r` */) {\n before = ' '.repeat(size)\n } else if (code === 99 /* `c` */) {\n if (size % 2) {\n before = ' '.repeat(size / 2 + 0.5)\n after = ' '.repeat(size / 2 - 0.5)\n } else {\n before = ' '.repeat(size / 2)\n after = before\n }\n } else {\n after = ' '.repeat(size)\n }\n }\n\n if (options.delimiterStart !== false && !columnIndex) {\n line.push('|')\n }\n\n if (\n options.padding !== false &&\n // Don’t add the opening space if we’re not aligning and the cell is\n // empty: there will be a closing space.\n !(options.alignDelimiters === false && cell === '') &&\n (options.delimiterStart !== false || columnIndex)\n ) {\n line.push(' ')\n }\n\n if (options.alignDelimiters !== false) {\n line.push(before)\n }\n\n line.push(cell)\n\n if (options.alignDelimiters !== false) {\n line.push(after)\n }\n\n if (options.padding !== false) {\n line.push(' ')\n }\n\n if (\n options.delimiterEnd !== false ||\n columnIndex !== mostCellsPerRow - 1\n ) {\n line.push('|')\n }\n }\n\n lines.push(\n options.delimiterEnd === false\n ? line.join('').replace(/ +$/, '')\n : line.join('')\n )\n }\n\n return lines.join('\\n')\n}\n\n/**\n * @param {string|null|undefined} [value]\n * @returns {string}\n */\nfunction serialize(value) {\n return value === null || value === undefined ? '' : String(value)\n}\n\n/**\n * @param {string} value\n * @returns {number}\n */\nfunction defaultStringLength(value) {\n return value.length\n}\n\n/**\n * @param {string|null|undefined} value\n * @returns {number}\n */\nfunction toAlignment(value) {\n const code = typeof value === 'string' ? value.codePointAt(0) : 0\n\n return code === 67 /* `C` */ || code === 99 /* `c` */\n ? 99 /* `c` */\n : code === 76 /* `L` */ || code === 108 /* `l` */\n ? 108 /* `l` */\n : code === 82 /* `R` */ || code === 114 /* `r` */\n ? 114 /* `r` */\n : 0\n}\n","/**\n * @typedef {import('mdast').Table} Table\n * @typedef {import('mdast').TableRow} TableRow\n * @typedef {import('mdast').TableCell} TableCell\n * @typedef {import('mdast').InlineCode} InlineCode\n *\n * @typedef {import('markdown-table').MarkdownTableOptions} MarkdownTableOptions\n *\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n *\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Context} ToMarkdownContext\n * @typedef {import('mdast-util-to-markdown').SafeOptions} SafeOptions\n */\n\n/**\n * @typedef Options\n * Configuration.\n * @property {boolean | null | undefined} [tableCellPadding=true]\n * Whether to add a space of padding between delimiters and cells.\n * @property {boolean | null | undefined} [tablePipeAlign=true]\n * Whether to align the delimiters.\n * @property {MarkdownTableOptions['stringLength'] | null | undefined} [stringLength]\n * Function to detect the length of table cell content, used when aligning\n * the delimiters between cells\n */\n\nimport {containerPhrasing} from 'mdast-util-to-markdown/lib/util/container-phrasing.js'\nimport {inlineCode} from 'mdast-util-to-markdown/lib/handle/inline-code.js'\nimport {markdownTable} from 'markdown-table'\n\n// To do: next major: use `state` and `state` utilities from `mdast-util-to-markdown`.\n// To do: next major: use `defaultHandlers.inlineCode`.\n// To do: next major: expose functions.\n\n/**\n * Extension for `mdast-util-from-markdown` to enable GFM tables.\n *\n * @type {FromMarkdownExtension}\n */\nexport const gfmTableFromMarkdown = {\n enter: {\n table: enterTable,\n tableData: enterCell,\n tableHeader: enterCell,\n tableRow: enterRow\n },\n exit: {\n codeText: exitCodeText,\n table: exitTable,\n tableData: exit,\n tableHeader: exit,\n tableRow: exit\n }\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterTable(token) {\n /** @type {Array<'left' | 'right' | 'center' | 'none'>} */\n // @ts-expect-error: `align` is custom.\n const align = token._align\n this.enter(\n {\n type: 'table',\n align: align.map((d) => (d === 'none' ? null : d)),\n children: []\n },\n token\n )\n this.setData('inTable', true)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitTable(token) {\n this.exit(token)\n this.setData('inTable')\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterRow(token) {\n this.enter({type: 'tableRow', children: []}, token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exit(token) {\n this.exit(token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterCell(token) {\n this.enter({type: 'tableCell', children: []}, token)\n}\n\n// Overwrite the default code text data handler to unescape escaped pipes when\n// they are in tables.\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitCodeText(token) {\n let value = this.resume()\n\n if (this.getData('inTable')) {\n value = value.replace(/\\\\([\\\\|])/g, replace)\n }\n\n const node = /** @type {InlineCode} */ (this.stack[this.stack.length - 1])\n node.value = value\n this.exit(token)\n}\n\n/**\n * @param {string} $0\n * @param {string} $1\n * @returns {string}\n */\nfunction replace($0, $1) {\n // Pipes work, backslashes don’t (but can’t escape pipes).\n return $1 === '|' ? $1 : $0\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM tables in\n * markdown.\n *\n * @param {Options | null | undefined} [options]\n * Configuration.\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM tables.\n */\nexport function gfmTableToMarkdown(options) {\n const settings = options || {}\n const padding = settings.tableCellPadding\n const alignDelimiters = settings.tablePipeAlign\n const stringLength = settings.stringLength\n const around = padding ? ' ' : '|'\n\n return {\n unsafe: [\n {character: '\\r', inConstruct: 'tableCell'},\n {character: '\\n', inConstruct: 'tableCell'},\n // A pipe, when followed by a tab or space (padding), or a dash or colon\n // (unpadded delimiter row), could result in a table.\n {atBreak: true, character: '|', after: '[\\t :-]'},\n // A pipe in a cell must be encoded.\n {character: '|', inConstruct: 'tableCell'},\n // A colon must be followed by a dash, in which case it could start a\n // delimiter row.\n {atBreak: true, character: ':', after: '-'},\n // A delimiter row can also start with a dash, when followed by more\n // dashes, a colon, or a pipe.\n // This is a stricter version than the built in check for lists, thematic\n // breaks, and setex heading underlines though:\n // \n {atBreak: true, character: '-', after: '[:|-]'}\n ],\n handlers: {\n table: handleTable,\n tableRow: handleTableRow,\n tableCell: handleTableCell,\n inlineCode: inlineCodeWithTable\n }\n }\n\n /**\n * @type {ToMarkdownHandle}\n * @param {Table} node\n */\n function handleTable(node, _, context, safeOptions) {\n return serializeData(\n handleTableAsData(node, context, safeOptions),\n node.align\n )\n }\n\n /**\n * This function isn’t really used normally, because we handle rows at the\n * table level.\n * But, if someone passes in a table row, this ensures we make somewhat sense.\n *\n * @type {ToMarkdownHandle}\n * @param {TableRow} node\n */\n function handleTableRow(node, _, context, safeOptions) {\n const row = handleTableRowAsData(node, context, safeOptions)\n const value = serializeData([row])\n // `markdown-table` will always add an align row\n return value.slice(0, value.indexOf('\\n'))\n }\n\n /**\n * @type {ToMarkdownHandle}\n * @param {TableCell} node\n */\n function handleTableCell(node, _, context, safeOptions) {\n const exit = context.enter('tableCell')\n const subexit = context.enter('phrasing')\n const value = containerPhrasing(node, context, {\n ...safeOptions,\n before: around,\n after: around\n })\n subexit()\n exit()\n return value\n }\n\n /**\n * @param {Array>} matrix\n * @param {Array | null | undefined} [align]\n */\n function serializeData(matrix, align) {\n return markdownTable(matrix, {\n align,\n // @ts-expect-error: `markdown-table` types should support `null`.\n alignDelimiters,\n // @ts-expect-error: `markdown-table` types should support `null`.\n padding,\n // @ts-expect-error: `markdown-table` types should support `null`.\n stringLength\n })\n }\n\n /**\n * @param {Table} node\n * @param {ToMarkdownContext} context\n * @param {SafeOptions} safeOptions\n */\n function handleTableAsData(node, context, safeOptions) {\n const children = node.children\n let index = -1\n /** @type {Array>} */\n const result = []\n const subexit = context.enter('table')\n\n while (++index < children.length) {\n result[index] = handleTableRowAsData(\n children[index],\n context,\n safeOptions\n )\n }\n\n subexit()\n\n return result\n }\n\n /**\n * @param {TableRow} node\n * @param {ToMarkdownContext} context\n * @param {SafeOptions} safeOptions\n */\n function handleTableRowAsData(node, context, safeOptions) {\n const children = node.children\n let index = -1\n /** @type {Array} */\n const result = []\n const subexit = context.enter('tableRow')\n\n while (++index < children.length) {\n // Note: the positional info as used here is incorrect.\n // Making it correct would be impossible due to aligning cells?\n // And it would need copy/pasting `markdown-table` into this project.\n result[index] = handleTableCell(\n children[index],\n node,\n context,\n safeOptions\n )\n }\n\n subexit()\n\n return result\n }\n\n /**\n * @type {ToMarkdownHandle}\n * @param {InlineCode} node\n */\n function inlineCodeWithTable(node, parent, context) {\n let value = inlineCode(node, parent, context)\n\n if (context.stack.includes('tableCell')) {\n value = value.replace(/\\|/g, '\\\\$&')\n }\n\n return value\n }\n}\n","/**\n * @typedef {import('mdast').ListItem} ListItem\n * @typedef {import('../types.js').Map} Map\n * @typedef {import('../types.js').Parent} Parent\n * @typedef {import('../types.js').State} State\n * @typedef {import('../types.js').Info} Info\n */\n\nimport {checkBullet} from '../util/check-bullet.js'\nimport {checkListItemIndent} from '../util/check-list-item-indent.js'\n\n/**\n * @param {ListItem} node\n * @param {Parent | undefined} parent\n * @param {State} state\n * @param {Info} info\n * @returns {string}\n */\nexport function listItem(node, parent, state, info) {\n const listItemIndent = checkListItemIndent(state)\n let bullet = state.bulletCurrent || checkBullet(state)\n\n // Add the marker value for ordered lists.\n if (parent && parent.type === 'list' && parent.ordered) {\n bullet =\n (typeof parent.start === 'number' && parent.start > -1\n ? parent.start\n : 1) +\n (state.options.incrementListMarker === false\n ? 0\n : parent.children.indexOf(node)) +\n bullet\n }\n\n let size = bullet.length + 1\n\n if (\n listItemIndent === 'tab' ||\n (listItemIndent === 'mixed' &&\n ((parent && parent.type === 'list' && parent.spread) || node.spread))\n ) {\n size = Math.ceil(size / 4) * 4\n }\n\n const tracker = state.createTracker(info)\n tracker.move(bullet + ' '.repeat(size - bullet.length))\n tracker.shift(size)\n const exit = state.enter('listItem')\n const value = state.indentLines(\n state.containerFlow(node, tracker.current()),\n map\n )\n exit()\n\n return value\n\n /** @type {Map} */\n function map(line, index, blank) {\n if (index) {\n return (blank ? '' : ' '.repeat(size)) + line\n }\n\n return (blank ? bullet : bullet + ' '.repeat(size - bullet.length)) + line\n }\n}\n","/**\n * @typedef {import('../types.js').State} State\n * @typedef {import('../types.js').Options} Options\n */\n\n/**\n * @param {State} state\n * @returns {Exclude}\n */\nexport function checkListItemIndent(state) {\n const style = state.options.listItemIndent || 'tab'\n\n // To do: remove in a major.\n // @ts-expect-error: deprecated.\n if (style === 1 || style === '1') {\n return 'one'\n }\n\n if (style !== 'tab' && style !== 'one' && style !== 'mixed') {\n throw new Error(\n 'Cannot serialize items with `' +\n style +\n '` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`'\n )\n }\n\n return style\n}\n","/**\n * @typedef {import('../types.js').State} State\n * @typedef {import('../types.js').Options} Options\n */\n\n/**\n * @param {State} state\n * @returns {Exclude}\n */\nexport function checkBullet(state) {\n const marker = state.options.bullet || '*'\n\n if (marker !== '*' && marker !== '+' && marker !== '-') {\n throw new Error(\n 'Cannot serialize items with `' +\n marker +\n '` for `options.bullet`, expected `*`, `+`, or `-`'\n )\n }\n\n return marker\n}\n","/**\n * @typedef {import('mdast').Content} Content\n * @typedef {import('mdast').ListItem} ListItem\n * @typedef {import('mdast').Paragraph} Paragraph\n * @typedef {import('mdast').Parent} Parent\n * @typedef {import('mdast').Root} Root\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n */\n\n/**\n * @typedef {Extract} Parents\n */\n\nimport {listItem} from 'mdast-util-to-markdown/lib/handle/list-item.js'\nimport {track} from 'mdast-util-to-markdown/lib/util/track.js'\n\n// To do: next major: rename `context` -> `state`, `safeOptions` -> `info`, use\n// `track` from `state`.\n// To do: next major: replace exports with functions.\n// To do: next major: use `defaulthandlers.listItem`.\n\n/**\n * Extension for `mdast-util-from-markdown` to enable GFM task list items.\n *\n * @type {FromMarkdownExtension}\n */\nexport const gfmTaskListItemFromMarkdown = {\n exit: {\n taskListCheckValueChecked: exitCheck,\n taskListCheckValueUnchecked: exitCheck,\n paragraph: exitParagraphWithTaskListItem\n }\n}\n\n/**\n * Extension for `mdast-util-to-markdown` to enable GFM task list items.\n *\n * @type {ToMarkdownExtension}\n */\nexport const gfmTaskListItemToMarkdown = {\n unsafe: [{atBreak: true, character: '-', after: '[:|-]'}],\n handlers: {listItem: listItemWithTaskListItem}\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitCheck(token) {\n const node = /** @type {ListItem} */ (this.stack[this.stack.length - 2])\n // We’re always in a paragraph, in a list item.\n node.checked = token.type === 'taskListCheckValueChecked'\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitParagraphWithTaskListItem(token) {\n const parent = /** @type {Parents} */ (this.stack[this.stack.length - 2])\n\n if (\n parent &&\n parent.type === 'listItem' &&\n typeof parent.checked === 'boolean'\n ) {\n const node = /** @type {Paragraph} */ (this.stack[this.stack.length - 1])\n const head = node.children[0]\n\n if (head && head.type === 'text') {\n const siblings = parent.children\n let index = -1\n /** @type {Paragraph | undefined} */\n let firstParaghraph\n\n while (++index < siblings.length) {\n const sibling = siblings[index]\n if (sibling.type === 'paragraph') {\n firstParaghraph = sibling\n break\n }\n }\n\n if (firstParaghraph === node) {\n // Must start with a space or a tab.\n head.value = head.value.slice(1)\n\n if (head.value.length === 0) {\n node.children.shift()\n } else if (\n node.position &&\n head.position &&\n typeof head.position.start.offset === 'number'\n ) {\n head.position.start.column++\n head.position.start.offset++\n node.position.start = Object.assign({}, head.position.start)\n }\n }\n }\n }\n\n this.exit(token)\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {ListItem} node\n */\nfunction listItemWithTaskListItem(node, parent, context, safeOptions) {\n const head = node.children[0]\n const checkable =\n typeof node.checked === 'boolean' && head && head.type === 'paragraph'\n const checkbox = '[' + (node.checked ? 'x' : ' ') + '] '\n const tracker = track(safeOptions)\n\n if (checkable) {\n tracker.move(checkbox)\n }\n\n let value = listItem(node, parent, context, {\n ...safeOptions,\n ...tracker.current()\n })\n\n if (checkable) {\n value = value.replace(/^(?:[*+-]|\\d+\\.)([\\r\\n]| {1,3})/, check)\n }\n\n return value\n\n /**\n * @param {string} $0\n * @returns {string}\n */\n function check($0) {\n return $0 + checkbox\n }\n}\n","/**\n * @typedef {import('mdast').Root} Root\n * @typedef {import('micromark-extension-gfm').Options & import('mdast-util-gfm').Options} Options\n */\n\nimport {gfm} from 'micromark-extension-gfm'\nimport {gfmFromMarkdown, gfmToMarkdown} from 'mdast-util-gfm'\n\n/**\n * Plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists).\n *\n * @type {import('unified').Plugin<[Options?]|void[], Root>}\n */\nexport default function remarkGfm(options = {}) {\n const data = this.data()\n\n add('micromarkExtensions', gfm(options))\n add('fromMarkdownExtensions', gfmFromMarkdown())\n add('toMarkdownExtensions', gfmToMarkdown(options))\n\n /**\n * @param {string} field\n * @param {unknown} value\n */\n function add(field, value) {\n const list = /** @type {unknown[]} */ (\n // Other extensions\n /* c8 ignore next 2 */\n data[field] ? data[field] : (data[field] = [])\n )\n\n list.push(value)\n }\n}\n","/**\n * @typedef {import('micromark-extension-gfm-footnote').HtmlOptions} HtmlOptions\n * @typedef {import('micromark-extension-gfm-strikethrough').Options} Options\n * @typedef {import('micromark-util-types').Extension} Extension\n * @typedef {import('micromark-util-types').HtmlExtension} HtmlExtension\n */\n\nimport {\n combineExtensions,\n combineHtmlExtensions\n} from 'micromark-util-combine-extensions'\nimport {\n gfmAutolinkLiteral,\n gfmAutolinkLiteralHtml\n} from 'micromark-extension-gfm-autolink-literal'\nimport {gfmFootnote, gfmFootnoteHtml} from 'micromark-extension-gfm-footnote'\nimport {\n gfmStrikethrough,\n gfmStrikethroughHtml\n} from 'micromark-extension-gfm-strikethrough'\nimport {gfmTable, gfmTableHtml} from 'micromark-extension-gfm-table'\nimport {gfmTagfilterHtml} from 'micromark-extension-gfm-tagfilter'\nimport {\n gfmTaskListItem,\n gfmTaskListItemHtml\n} from 'micromark-extension-gfm-task-list-item'\n\n/**\n * Create an extension for `micromark` to enable GFM syntax.\n *\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n *\n * Passed to `micromark-extens-gfm-strikethrough`.\n * @returns {Extension}\n * Extension for `micromark` that can be passed in `extensions` to enable GFM\n * syntax.\n */\nexport function gfm(options) {\n return combineExtensions([\n gfmAutolinkLiteral,\n gfmFootnote(),\n gfmStrikethrough(options),\n gfmTable,\n gfmTaskListItem\n ])\n}\n\n/**\n * Create an extension for `micromark` to support GFM when serializing to HTML.\n *\n * @param {HtmlOptions | null | undefined} [options]\n * Configuration.\n *\n * Passed to `micromark-extens-gfm-footnote`.\n * @returns {HtmlExtension}\n * Extension for `micromark` that can be passed in `htmlExtensions` to\n * support GFM when serializing to HTML.\n */\nexport function gfmHtml(options) {\n return combineHtmlExtensions([\n gfmAutolinkLiteralHtml,\n gfmFootnoteHtml(options),\n gfmStrikethroughHtml,\n gfmTableHtml,\n gfmTagfilterHtml,\n gfmTaskListItemHtml\n ])\n}\n","/**\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n */\n\n/**\n * @typedef {import('mdast-util-gfm-table').Options} Options\n * Configuration.\n */\n\nimport {\n gfmAutolinkLiteralFromMarkdown,\n gfmAutolinkLiteralToMarkdown\n} from 'mdast-util-gfm-autolink-literal'\nimport {\n gfmFootnoteFromMarkdown,\n gfmFootnoteToMarkdown\n} from 'mdast-util-gfm-footnote'\nimport {\n gfmStrikethroughFromMarkdown,\n gfmStrikethroughToMarkdown\n} from 'mdast-util-gfm-strikethrough'\nimport {gfmTableFromMarkdown, gfmTableToMarkdown} from 'mdast-util-gfm-table'\nimport {\n gfmTaskListItemFromMarkdown,\n gfmTaskListItemToMarkdown\n} from 'mdast-util-gfm-task-list-item'\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM (autolink\n * literals, footnotes, strikethrough, tables, tasklists).\n *\n * @returns {Array}\n * Extension for `mdast-util-from-markdown` to enable GFM (autolink literals,\n * footnotes, strikethrough, tables, tasklists).\n */\nexport function gfmFromMarkdown() {\n return [\n gfmAutolinkLiteralFromMarkdown,\n gfmFootnoteFromMarkdown(),\n gfmStrikethroughFromMarkdown,\n gfmTableFromMarkdown,\n gfmTaskListItemFromMarkdown\n ]\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM (autolink\n * literals, footnotes, strikethrough, tables, tasklists).\n *\n * @param {Options | null | undefined} [options]\n * Configuration.\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM (autolink literals,\n * footnotes, strikethrough, tables, tasklists).\n */\nexport function gfmToMarkdown(options) {\n return {\n extensions: [\n gfmAutolinkLiteralToMarkdown,\n gfmFootnoteToMarkdown(),\n gfmStrikethroughToMarkdown,\n gfmTableToMarkdown(options),\n gfmTaskListItemToMarkdown\n ]\n }\n}\n","/**\n * @typedef {import('./core.js').HChild} Child\n * Acceptable child value.\n * @typedef {import('./core.js').HProperties} Properties\n * Acceptable value for element properties.\n * @typedef {import('./core.js').HResult} Result\n * Result from a `h` (or `s`) call.\n *\n * @typedef {import('./jsx-classic.js').Element} s.JSX.Element\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute\n */\n\nimport {svg} from 'property-information'\nimport {core} from './core.js'\nimport {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'\n\nexport const s = core(svg, 'g', svgCaseSensitiveTagNames)\n","export const svgCaseSensitiveTagNames = [\n 'altGlyph',\n 'altGlyphDef',\n 'altGlyphItem',\n 'animateColor',\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDistantLight',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'glyphRef',\n 'linearGradient',\n 'radialGradient',\n 'solidColor',\n 'textArea',\n 'textPath'\n]\n","/**\n * Map of web namespaces.\n *\n * @type {Record}\n */\nexport const webNamespaces = {\n html: 'http://www.w3.org/1999/xhtml',\n mathml: 'http://www.w3.org/1998/Math/MathML',\n svg: 'http://www.w3.org/2000/svg',\n xlink: 'http://www.w3.org/1999/xlink',\n xml: 'http://www.w3.org/XML/1998/namespace',\n xmlns: 'http://www.w3.org/2000/xmlns/'\n}\n","/**\n * @typedef {import('vfile').VFile} VFile\n * @typedef {import('property-information').Schema} Schema\n * @typedef {import('unist').Position} Position\n * @typedef {import('unist').Point} Point\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Content} Content\n * @typedef {import('parse5').DefaultTreeAdapterMap} DefaultTreeAdapterMap\n * @typedef {import('parse5').Token.ElementLocation} P5ElementLocation\n * @typedef {import('parse5').Token.Location} P5Location\n */\n\n/**\n * @typedef {Content | Root} Node\n * @typedef {DefaultTreeAdapterMap['document']} P5Document\n * @typedef {DefaultTreeAdapterMap['documentFragment']} P5DocumentFragment\n * @typedef {DefaultTreeAdapterMap['documentType']} P5DocumentType\n * @typedef {DefaultTreeAdapterMap['commentNode']} P5Comment\n * @typedef {DefaultTreeAdapterMap['textNode']} P5Text\n * @typedef {DefaultTreeAdapterMap['element']} P5Element\n * @typedef {DefaultTreeAdapterMap['node']} P5Node\n * @typedef {DefaultTreeAdapterMap['template']} P5Template\n *\n * @typedef {'html' | 'svg'} Space\n * Namespace.\n *\n * @typedef Options\n * Configuration.\n * @property {Space | null | undefined} [space='html']\n * Which space the document is in.\n *\n * When an `` element is found in the HTML space, this package already\n * automatically switches to and from the SVG space when entering and exiting\n * it.\n * @property {VFile | null | undefined} [file]\n * File used to add positional info to nodes.\n *\n * If given, the file should represent the original HTML source.\n * @property {boolean} [verbose=false]\n * Whether to add extra positional info about starting tags, closing tags,\n * and attributes to elements.\n *\n * > 👉 **Note**: only used when `file` is given.\n *\n * @typedef State\n * Info passed around about the current state.\n * @property {Schema} schema\n * Current schema.\n * @property {VFile | undefined} file\n * Corresponding file.\n * @property {boolean | undefined} verbose\n * Add extra positional info.\n * @property {boolean} location\n * Whether location info was found.\n */\n\nimport {h, s} from 'hastscript'\nimport {html, svg, find} from 'property-information'\nimport {location} from 'vfile-location'\nimport {webNamespaces} from 'web-namespaces'\n\nconst own = {}.hasOwnProperty\n/** @type {unknown} */\n// type-coverage:ignore-next-line\nconst proto = Object.prototype\n\n/**\n * Transform a `parse5` AST to hast.\n *\n * @param {P5Node} tree\n * `parse5` tree to transform.\n * @param {Options | VFile | null | undefined} [options]\n * Configuration.\n * @returns {Node}\n * hast tree.\n */\nexport function fromParse5(tree, options) {\n const options_ = options || {}\n /** @type {Options} */\n let settings\n /** @type {VFile | undefined} */\n let file\n\n if (isFile(options_)) {\n file = options_\n settings = {}\n } else {\n file = options_.file || undefined\n settings = options_\n }\n\n return one(\n {\n schema: settings.space === 'svg' ? svg : html,\n file,\n verbose: settings.verbose,\n location: false\n },\n tree\n )\n}\n\n/**\n * Transform a node.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {P5Node} node\n * p5 node.\n * @returns {Node}\n * hast node.\n */\nfunction one(state, node) {\n /** @type {Node} */\n let result\n\n switch (node.nodeName) {\n case '#comment': {\n const reference = /** @type {P5Comment} */ (node)\n result = {type: 'comment', value: reference.data}\n patch(state, reference, result)\n return result\n }\n\n case '#document':\n case '#document-fragment': {\n const reference = /** @type {P5Document | P5DocumentFragment} */ (node)\n const quirksMode =\n 'mode' in reference\n ? reference.mode === 'quirks' || reference.mode === 'limited-quirks'\n : false\n\n result = {\n type: 'root',\n children: all(state, node.childNodes),\n data: {quirksMode}\n }\n\n if (state.file && state.location) {\n const doc = String(state.file)\n const loc = location(doc)\n const start = loc.toPoint(0)\n const end = loc.toPoint(doc.length)\n // @ts-expect-error: always defined as we give valid input.\n result.position = {start, end}\n }\n\n return result\n }\n\n case '#documentType': {\n const reference = /** @type {P5DocumentType} */ (node)\n // @ts-expect-error Types are out of date.\n result = {type: 'doctype'}\n patch(state, reference, result)\n return result\n }\n\n case '#text': {\n const reference = /** @type {P5Text} */ (node)\n result = {type: 'text', value: reference.value}\n patch(state, reference, result)\n return result\n }\n\n // Element.\n default: {\n const reference = /** @type {P5Element} */ (node)\n result = element(state, reference)\n return result\n }\n }\n}\n\n/**\n * Transform children.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Array} nodes\n * Nodes.\n * @returns {Array}\n * hast nodes.\n */\nfunction all(state, nodes) {\n let index = -1\n /** @type {Array} */\n const result = []\n\n while (++index < nodes.length) {\n // @ts-expect-error Assume no roots in `nodes`.\n result[index] = one(state, nodes[index])\n }\n\n return result\n}\n\n/**\n * Transform an element.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {P5Element} node\n * `parse5` node to transform.\n * @returns {Element}\n * hast node.\n */\nfunction element(state, node) {\n const schema = state.schema\n\n state.schema = node.namespaceURI === webNamespaces.svg ? svg : html\n\n // Props.\n let index = -1\n /** @type {Record} */\n const props = {}\n\n while (++index < node.attrs.length) {\n const attribute = node.attrs[index]\n const name =\n (attribute.prefix ? attribute.prefix + ':' : '') + attribute.name\n if (!own.call(proto, name)) {\n props[name] = attribute.value\n }\n }\n\n // Build.\n const fn = state.schema.space === 'svg' ? s : h\n const result = fn(node.tagName, props, all(state, node.childNodes))\n patch(state, node, result)\n\n // Switch content.\n if (result.tagName === 'template') {\n const reference = /** @type {P5Template} */ (node)\n const pos = reference.sourceCodeLocation\n const startTag = pos && pos.startTag && position(pos.startTag)\n const endTag = pos && pos.endTag && position(pos.endTag)\n\n /** @type {Root} */\n // @ts-expect-error Types are wrong.\n const content = one(state, reference.content)\n\n if (startTag && endTag && state.file) {\n content.position = {start: startTag.end, end: endTag.start}\n }\n\n result.content = content\n }\n\n state.schema = schema\n\n return result\n}\n\n/**\n * Patch positional info from `from` onto `to`.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {P5Node} from\n * p5 node.\n * @param {Node} to\n * hast node.\n * @returns {void}\n * Nothing.\n */\nfunction patch(state, from, to) {\n if ('sourceCodeLocation' in from && from.sourceCodeLocation && state.file) {\n const position = createLocation(state, to, from.sourceCodeLocation)\n\n if (position) {\n state.location = true\n to.position = position\n }\n }\n}\n\n/**\n * Create clean positional information.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Node} node\n * hast node.\n * @param {P5ElementLocation} location\n * p5 location info.\n * @returns {Position | undefined}\n * Position, or nothing.\n */\nfunction createLocation(state, node, location) {\n const result = position(location)\n\n if (node.type === 'element') {\n const tail = node.children[node.children.length - 1]\n\n // Bug for unclosed with children.\n // See: .\n if (\n result &&\n !location.endTag &&\n tail &&\n tail.position &&\n tail.position.end\n ) {\n result.end = Object.assign({}, tail.position.end)\n }\n\n if (state.verbose) {\n /** @type {Record} */\n const props = {}\n /** @type {string} */\n let key\n\n if (location.attrs) {\n for (key in location.attrs) {\n if (own.call(location.attrs, key)) {\n props[find(state.schema, key).property] = position(\n location.attrs[key]\n )\n }\n }\n }\n\n node.data = {\n position: {\n // @ts-expect-error: assume not `undefined`.\n opening: position(location.startTag),\n closing: location.endTag ? position(location.endTag) : null,\n properties: props\n }\n }\n }\n }\n\n return result\n}\n\n/**\n * Turn a p5 location into a position.\n *\n * @param {P5Location} loc\n * Location.\n * @returns {Position | undefined}\n * Position or nothing.\n */\nfunction position(loc) {\n const start = point({\n line: loc.startLine,\n column: loc.startCol,\n offset: loc.startOffset\n })\n const end = point({\n line: loc.endLine,\n column: loc.endCol,\n offset: loc.endOffset\n })\n // @ts-expect-error `undefined` is fine.\n return start || end ? {start, end} : undefined\n}\n\n/**\n * Filter out invalid points.\n *\n * @param {Point} point\n * Point with potentially `undefined` values.\n * @returns {Point | undefined}\n * Point or nothing.\n */\nfunction point(point) {\n return point.line && point.column ? point : undefined\n}\n\n/**\n * Check if something is a file.\n *\n * @param {VFile | Options} value\n * File or options.\n * @returns {value is VFile}\n * Whether `value` is a file.\n */\nfunction isFile(value) {\n return 'messages' in value\n}\n","/**\n * @typedef {import('vfile').VFile} VFile\n * @typedef {import('vfile').Value} Value\n */\n\n/**\n * @typedef Point\n * unist point, where `line` and `column` can be `undefined`.\n * @property {number | undefined} line\n * Line.\n * @property {number | undefined} column\n * Column.\n * @property {number | undefined} [offset]\n * Offset.\n *\n * @typedef PointLike\n * unist point, allowed as input.\n * @property {number | null | undefined} [line]\n * Line.\n * @property {number | null | undefined} [column]\n * Column.\n * @property {number | null | undefined} [offset]\n * Offset.\n *\n * @callback ToPoint\n * Get a line/column-based `point` from `offset`.\n * @param {number | null | undefined} [offset]\n * Something that should be an `offset.\n * @returns {Point}\n * Point, line/column are undefined for invalid or out of bounds input.\n *\n * @callback ToOffset\n * Get an offset from a line/column-based `point`.\n * @param {Point | null | undefined} [point]\n * Something that should be a `point.\n * @returns {number}\n * Offset or `-1` for invalid or out of bounds input.\n *\n * @typedef Location\n * Accessors for index.\n * @property {ToPoint} toPoint\n * Get a line/column-based `point` from `offset`.\n * @property {ToOffset} toOffset\n * Get an offset from a line/column-based `point`.\n */\n\n/**\n * Index the given document so you can translate between line/column and offset\n * based positional info.\n *\n * @param {VFile | Value} file\n * File to index.\n * @returns {Location}\n * Accessors for index.\n */\nexport function location(file) {\n const value = String(file)\n /** @type {Array} */\n const indices = []\n const search = /\\r?\\n|\\r/g\n\n while (search.test(value)) {\n indices.push(search.lastIndex)\n }\n\n indices.push(value.length + 1)\n\n return {toPoint, toOffset}\n\n /** @type {ToPoint} */\n function toPoint(offset) {\n let index = -1\n\n if (\n typeof offset === 'number' &&\n offset > -1 &&\n offset < indices[indices.length - 1]\n ) {\n while (++index < indices.length) {\n if (indices[index] > offset) {\n return {\n line: index + 1,\n column: offset - (index > 0 ? indices[index - 1] : 0) + 1,\n offset\n }\n }\n }\n }\n\n return {line: undefined, column: undefined, offset: undefined}\n }\n\n /** @type {ToOffset} */\n function toOffset(point) {\n const line = point && point.line\n const column = point && point.column\n\n if (\n typeof line === 'number' &&\n typeof column === 'number' &&\n !Number.isNaN(line) &&\n !Number.isNaN(column) &&\n line - 1 in indices\n ) {\n const offset = (indices[line - 2] || 0) + column - 1 || 0\n\n if (offset > -1 && offset < indices[indices.length - 1]) {\n return offset\n }\n }\n\n return -1\n }\n}\n","/**\n * @callback Handler\n * Handle a value, with a certain ID field set to a certain value.\n * The ID field is passed to `zwitch`, and it’s value is this function’s\n * place on the `handlers` record.\n * @param {...any} parameters\n * Arbitrary parameters passed to the zwitch.\n * The first will be an object with a certain ID field set to a certain value.\n * @returns {any}\n * Anything!\n */\n\n/**\n * @callback UnknownHandler\n * Handle values that do have a certain ID field, but it’s set to a value\n * that is not listed in the `handlers` record.\n * @param {unknown} value\n * An object with a certain ID field set to an unknown value.\n * @param {...any} rest\n * Arbitrary parameters passed to the zwitch.\n * @returns {any}\n * Anything!\n */\n\n/**\n * @callback InvalidHandler\n * Handle values that do not have a certain ID field.\n * @param {unknown} value\n * Any unknown value.\n * @param {...any} rest\n * Arbitrary parameters passed to the zwitch.\n * @returns {void|null|undefined|never}\n * This should crash or return nothing.\n */\n\n/**\n * @template {InvalidHandler} [Invalid=InvalidHandler]\n * @template {UnknownHandler} [Unknown=UnknownHandler]\n * @template {Record} [Handlers=Record]\n * @typedef Options\n * Configuration (required).\n * @property {Invalid} [invalid]\n * Handler to use for invalid values.\n * @property {Unknown} [unknown]\n * Handler to use for unknown values.\n * @property {Handlers} [handlers]\n * Handlers to use.\n */\n\nconst own = {}.hasOwnProperty\n\n/**\n * Handle values based on a field.\n *\n * @template {InvalidHandler} [Invalid=InvalidHandler]\n * @template {UnknownHandler} [Unknown=UnknownHandler]\n * @template {Record} [Handlers=Record]\n * @param {string} key\n * Field to switch on.\n * @param {Options} [options]\n * Configuration (required).\n * @returns {{unknown: Unknown, invalid: Invalid, handlers: Handlers, (...parameters: Parameters): ReturnType, (...parameters: Parameters): ReturnType}}\n */\nexport function zwitch(key, options) {\n const settings = options || {}\n\n /**\n * Handle one value.\n *\n * Based on the bound `key`, a respective handler will be called.\n * If `value` is not an object, or doesn’t have a `key` property, the special\n * “invalid” handler will be called.\n * If `value` has an unknown `key`, the special “unknown” handler will be\n * called.\n *\n * All arguments, and the context object, are passed through to the handler,\n * and it’s result is returned.\n *\n * @this {unknown}\n * Any context object.\n * @param {unknown} [value]\n * Any value.\n * @param {...unknown} parameters\n * Arbitrary parameters passed to the zwitch.\n * @property {Handler} invalid\n * Handle for values that do not have a certain ID field.\n * @property {Handler} unknown\n * Handle values that do have a certain ID field, but it’s set to a value\n * that is not listed in the `handlers` record.\n * @property {Handlers} handlers\n * Record of handlers.\n * @returns {unknown}\n * Anything.\n */\n function one(value, ...parameters) {\n /** @type {Handler|undefined} */\n let fn = one.invalid\n const handlers = one.handlers\n\n if (value && own.call(value, key)) {\n // @ts-expect-error Indexable.\n const id = String(value[key])\n // @ts-expect-error Indexable.\n fn = own.call(handlers, id) ? handlers[id] : one.unknown\n }\n\n if (fn) {\n return fn.call(this, value, ...parameters)\n }\n }\n\n one.handlers = settings.handlers || {}\n one.invalid = settings.invalid\n one.unknown = settings.unknown\n\n // @ts-expect-error: matches!\n return one\n}\n","/**\n * @typedef {import('parse5').DefaultTreeAdapterMap} DefaultTreeAdapterMap\n * @typedef {DefaultTreeAdapterMap['document']} P5Document\n * @typedef {DefaultTreeAdapterMap['documentFragment']} P5Fragment\n * @typedef {DefaultTreeAdapterMap['element']} P5Element\n * @typedef {DefaultTreeAdapterMap['node']} P5Node\n * @typedef {DefaultTreeAdapterMap['documentType']} P5Doctype\n * @typedef {DefaultTreeAdapterMap['commentNode']} P5Comment\n * @typedef {DefaultTreeAdapterMap['textNode']} P5Text\n * @typedef {DefaultTreeAdapterMap['parentNode']} P5Parent\n * @typedef {import('parse5').Token.Attribute} P5Attribute\n * @typedef {Exclude} P5Child\n * @typedef {import('property-information').Schema} Schema\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').DocType} Doctype\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').Content} Content\n */\n\n/**\n * @typedef {Content | Root} Node\n * @typedef {'html' | 'svg'} Space\n *\n * @typedef Options\n * Configuration.\n * @property {Space | null | undefined} [space='html']\n * Which space the document is in.\n *\n * When an `` element is found in the HTML space, this package already\n * automatically switches to and from the SVG space when entering and exiting\n * it.\n */\n\nimport {stringify as commas} from 'comma-separated-tokens'\nimport {html, svg, find} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport {webNamespaces} from 'web-namespaces'\nimport {zwitch} from 'zwitch'\n\nconst own = {}.hasOwnProperty\n\n/** @type {(from: Node, schema: Schema) => P5Node} */\nconst one = zwitch('type', {handlers: {root, element, text, comment, doctype}})\n\n/**\n * Transform a hast tree to Parse5’s AST.\n *\n * @param {Node} tree\n * Tree to transform.\n * @param {Options | Space | null | undefined} [options]\n * Configuration.\n * @returns {P5Node}\n * `parse5` node.\n */\nexport function toParse5(tree, options) {\n const space = options && typeof options === 'object' ? options.space : options\n return one(tree, space === 'svg' ? svg : html)\n}\n\n/**\n * @param {Root} node\n * @param {Schema} schema\n * Current schema.\n * @returns {P5Document}\n */\nfunction root(node, schema) {\n /** @type {P5Document} */\n const result = {\n nodeName: '#document',\n // @ts-expect-error: `parse5` uses enums, which are actually strings.\n mode: (node.data || {}).quirksMode ? 'quirks' : 'no-quirks',\n childNodes: []\n }\n result.childNodes = all(node.children, result, schema)\n patch(node, result)\n return result\n}\n\n/**\n * @param {Root} node\n * @param {Schema} schema\n * Current schema.\n * @returns {P5Fragment}\n */\nfunction fragment(node, schema) {\n /** @type {P5Fragment} */\n const result = {nodeName: '#document-fragment', childNodes: []}\n result.childNodes = all(node.children, result, schema)\n patch(node, result)\n return result\n}\n\n/**\n * @param {Doctype} node\n * @returns {P5Doctype}\n */\nfunction doctype(node) {\n /** @type {P5Doctype} */\n const result = {\n nodeName: '#documentType',\n name: 'html',\n publicId: '',\n systemId: '',\n // @ts-expect-error: change to `null` in a major?\n parentNode: undefined\n }\n\n patch(node, result)\n return result\n}\n\n/**\n * @param {Text} node\n * @returns {P5Text}\n */\nfunction text(node) {\n /** @type {P5Text} */\n const result = {\n nodeName: '#text',\n value: node.value,\n // @ts-expect-error: no `parentNode`\n parentNode: undefined\n }\n patch(node, result)\n return result\n}\n\n/**\n * @param {Comment} node\n * @returns {P5Comment}\n */\nfunction comment(node) {\n /** @type {P5Comment} */\n const result = {\n nodeName: '#comment',\n data: node.value,\n // @ts-expect-error: no `parentNode`\n parentNode: undefined\n }\n\n patch(node, result)\n\n return result\n}\n\n/**\n * @param {Element} node\n * @param {Schema} schema\n * Current schema.\n * @returns {P5Element}\n * `parse5` node.\n */\nfunction element(node, schema) {\n const parentSchema = schema\n let currentSchema = parentSchema\n\n if (\n node.type === 'element' &&\n node.tagName.toLowerCase() === 'svg' &&\n parentSchema.space === 'html'\n ) {\n currentSchema = svg\n }\n\n /** @type {Array} */\n const attrs = []\n /** @type {string} */\n let prop\n\n if (node.properties) {\n for (prop in node.properties) {\n if (prop !== 'children' && own.call(node.properties, prop)) {\n const result = createProperty(\n currentSchema,\n prop,\n node.properties[prop]\n )\n\n if (result) {\n attrs.push(result)\n }\n }\n }\n }\n\n /** @type {P5Element} */\n const result = {\n nodeName: node.tagName,\n tagName: node.tagName,\n attrs,\n // @ts-expect-error: html and svg both have a space.\n namespaceURI: webNamespaces[currentSchema.space],\n childNodes: [],\n // @ts-expect-error: no `parentNode`\n parentNode: undefined\n }\n result.childNodes = all(node.children, result, currentSchema)\n patch(node, result)\n\n if (node.tagName === 'template' && node.content) {\n // @ts-expect-error: `parse5` types are wrong.\n result.content = fragment(node.content, currentSchema)\n }\n\n return result\n}\n\n/**\n * Handle a property.\n *\n * @param {Schema} schema\n * Current schema.\n * @param {string} prop\n * Key.\n * @param {Array | string | number | boolean | null | undefined} value\n * hast property value.\n * @returns {P5Attribute | void}\n * Field for runtime, optional.\n */\nfunction createProperty(schema, prop, value) {\n const info = find(schema, prop)\n\n // Ignore nullish and `NaN` values.\n if (\n value === undefined ||\n value === null ||\n value === false ||\n (typeof value === 'number' && Number.isNaN(value)) ||\n (!value && info.boolean)\n ) {\n return\n }\n\n if (Array.isArray(value)) {\n // Accept `array`.\n // Most props are space-separated.\n value = info.commaSeparated ? commas(value) : spaces(value)\n }\n\n /** @type {P5Attribute} */\n const attribute = {\n name: info.attribute,\n value: value === true ? '' : String(value)\n }\n\n if (info.space && info.space !== 'html' && info.space !== 'svg') {\n const index = attribute.name.indexOf(':')\n\n if (index < 0) {\n attribute.prefix = ''\n } else {\n attribute.name = attribute.name.slice(index + 1)\n attribute.prefix = info.attribute.slice(0, index)\n }\n\n attribute.namespace = webNamespaces[info.space]\n }\n\n return attribute\n}\n\n/**\n * Transform all hast nodes.\n *\n * @param {Array} children\n * List of children.\n * @param {P5Parent} parentNode\n * `parse5` parent node.\n * @param {Schema} schema\n * Current schema.\n * @returns {Array}\n * Transformed children.\n */\nfunction all(children, parentNode, schema) {\n let index = -1\n /** @type {Array} */\n const results = []\n\n if (children) {\n while (++index < children.length) {\n /** @type {P5Child} */\n // @ts-expect-error assume no document.\n const child = one(children[index], schema)\n\n child.parentNode = parentNode\n\n results.push(child)\n }\n }\n\n return results\n}\n\n/**\n * Add position info from `from` to `to`.\n *\n * @param {Node} from\n * hast node.\n * @param {P5Node} to\n * `parse5` node.\n * @returns {void}\n * Nothing.\n */\nfunction patch(from, to) {\n const position = from.position\n\n if (position && position.start && position.end) {\n to.sourceCodeLocation = {\n startLine: position.start.line,\n startCol: position.start.column,\n // @ts-expect-error assume this is set.\n startOffset: position.start.offset,\n endLine: position.end.line,\n endCol: position.end.column,\n // @ts-expect-error assume this is set.\n endOffset: position.end.offset\n }\n }\n}\n","/**\n * List of HTML void tag names.\n *\n * @type {Array}\n */\nexport const htmlVoidElements = [\n 'area',\n 'base',\n 'basefont',\n 'bgsound',\n 'br',\n 'col',\n 'command',\n 'embed',\n 'frame',\n 'hr',\n 'image',\n 'img',\n 'input',\n 'isindex',\n 'keygen',\n 'link',\n 'menuitem',\n 'meta',\n 'nextid',\n 'param',\n 'source',\n 'track',\n 'wbr'\n]\n","/**\n * @typedef {import('vfile').VFile} VFile\n * @typedef {import('parse5').Document} P5Document\n * @typedef {import('parse5').DocumentFragment} P5Fragment\n * @typedef {Omit} P5Element\n * @typedef {import('parse5').Attribute} P5Attribute\n * @typedef {Omit & {startOffset: number|undefined, endOffset: number|undefined}} P5Location\n * @typedef {import('parse5').ParserOptions} P5ParserOptions\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').DocType} Doctype\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').Content} Content\n * @typedef {Root|Content} Node\n * @typedef {import('../complex-types').Raw} Raw\n *\n * @typedef {Omit & {value: {stitch: Node}}} Stitch\n *\n * @typedef Options\n * @property {Array} [passThrough]\n * List of custom hast node types to pass through (keep) in hast.\n * If the passed through nodes have children, those children are expected to\n * be hast and will be handled.\n *\n * @typedef HiddenTokenizer\n * @property {Array} __mixins\n * Way too simple, but works for us.\n * @property {HiddenPreprocessor} preprocessor\n * @property {(value: string) => void} write\n * @property {() => number} _consume\n * @property {Array} tokenQueue\n * @property {string} state\n * @property {string} returnState\n * @property {number} charRefCode\n * @property {Array} tempBuff\n * @property {Function} _flushCodePointsConsumedAsCharacterReference\n * @property {string} lastStartTagName\n * @property {number} consumedAfterSnapshot\n * @property {boolean} active\n * @property {HiddenToken|undefined} currentCharacterToken\n * @property {HiddenToken|undefined} currentToken\n * @property {unknown} currentAttr\n * @property {Function} NAMED_CHARACTER_REFERENCE_STATE\n * @property {Function} NUMERIC_CHARACTER_REFERENCE_END_STATE\n *\n * @typedef {Record & {location: P5Location}} HiddenToken\n *\n * @typedef HiddenPreprocessor\n * @property {string|undefined} html\n * @property {number} pos\n * @property {number} lastGapPos\n * @property {number} lastCharPos\n * @property {Array} gapStack\n * @property {boolean} skipNextNewLine\n * @property {boolean} lastChunkWritten\n * @property {boolean} endOfChunkHit\n *\n * @typedef HiddenLocationTracker\n * @property {P5Location|undefined} currentAttrLocation\n * @property {P5Location} ctLoc\n * @property {HiddenPosTracker} posTracker\n *\n * @typedef HiddenPosTracker\n * @property {boolean} isEol\n * @property {number} lineStartPos\n * @property {number} droppedBufferSize\n * @property {number} offset\n * @property {number} col\n * @property {number} line\n */\n\n// @ts-expect-error: untyped.\nimport Parser from 'parse5/lib/parser/index.js'\nimport {pointStart, pointEnd} from 'unist-util-position'\nimport {visit} from 'unist-util-visit'\nimport {fromParse5} from 'hast-util-from-parse5'\nimport {toParse5} from 'hast-util-to-parse5'\nimport {htmlVoidElements} from 'html-void-elements'\nimport {webNamespaces} from 'web-namespaces'\nimport {zwitch} from 'zwitch'\n\nconst inTemplateMode = 'IN_TEMPLATE_MODE'\nconst dataState = 'DATA_STATE'\nconst characterToken = 'CHARACTER_TOKEN'\nconst startTagToken = 'START_TAG_TOKEN'\nconst endTagToken = 'END_TAG_TOKEN'\nconst commentToken = 'COMMENT_TOKEN'\nconst doctypeToken = 'DOCTYPE_TOKEN'\n\n/** @type {P5ParserOptions} */\nconst parseOptions = {sourceCodeLocationInfo: true, scriptingEnabled: false}\n\n/**\n * Given a hast tree and an optional vfile (for positional info), return a new\n * parsed-again hast tree.\n *\n * @param tree\n * Original hast tree.\n * @param file\n * Virtual file for positional info, optional.\n * @param options\n * Configuration.\n */\nexport const raw =\n /**\n * @type {(\n * ((tree: Node, file: VFile|undefined, options?: Options) => Node) &\n * ((tree: Node, options?: Options) => Node)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {VFile} [file]\n * @param {Options} [options]\n */\n function (tree, file, options) {\n let index = -1\n const parser = new Parser(parseOptions)\n const one = zwitch('type', {\n handlers: {root, element, text, comment, doctype, raw: handleRaw},\n // @ts-expect-error: hush.\n unknown\n })\n /** @type {boolean|undefined} */\n let stitches\n /** @type {HiddenTokenizer|undefined} */\n let tokenizer\n /** @type {HiddenPreprocessor|undefined} */\n let preprocessor\n /** @type {HiddenPosTracker|undefined} */\n let posTracker\n /** @type {HiddenLocationTracker|undefined} */\n let locationTracker\n\n if (isOptions(file)) {\n options = file\n file = undefined\n }\n\n if (options && options.passThrough) {\n while (++index < options.passThrough.length) {\n // @ts-expect-error: hush.\n one.handlers[options.passThrough[index]] = stitch\n }\n }\n\n const result = fromParse5(\n documentMode(tree) ? document() : fragment(),\n file\n )\n\n if (stitches) {\n visit(result, 'comment', (node, index, parent) => {\n const stitch = /** @type {Stitch} */ (/** @type {unknown} */ (node))\n if (stitch.value.stitch && parent !== null && index !== null) {\n // @ts-expect-error: assume the stitch is allowed.\n parent.children[index] = stitch.value.stitch\n return index\n }\n })\n }\n\n // Unpack if possible and when not given a `root`.\n if (\n tree.type !== 'root' &&\n result.type === 'root' &&\n result.children.length === 1\n ) {\n return result.children[0]\n }\n\n return result\n\n /**\n * @returns {P5Fragment}\n */\n function fragment() {\n /** @type {P5Element} */\n const context = {\n nodeName: 'template',\n tagName: 'template',\n attrs: [],\n namespaceURI: webNamespaces.html,\n childNodes: []\n }\n /** @type {P5Element} */\n const mock = {\n nodeName: 'documentmock',\n tagName: 'documentmock',\n attrs: [],\n namespaceURI: webNamespaces.html,\n childNodes: []\n }\n /** @type {P5Fragment} */\n const doc = {nodeName: '#document-fragment', childNodes: []}\n\n parser._bootstrap(mock, context)\n parser._pushTmplInsertionMode(inTemplateMode)\n parser._initTokenizerForFragmentParsing()\n parser._insertFakeRootElement()\n parser._resetInsertionMode()\n parser._findFormInFragmentContext()\n\n tokenizer = parser.tokenizer\n /* c8 ignore next */\n if (!tokenizer) throw new Error('Expected `tokenizer`')\n preprocessor = tokenizer.preprocessor\n locationTracker = tokenizer.__mixins[0]\n posTracker = locationTracker.posTracker\n\n one(tree)\n\n resetTokenizer()\n\n parser._adoptNodes(mock.childNodes[0], doc)\n\n return doc\n }\n\n /**\n * @returns {P5Document}\n */\n function document() {\n /** @type {P5Document} */\n const doc = parser.treeAdapter.createDocument()\n\n parser._bootstrap(doc, undefined)\n tokenizer = parser.tokenizer\n /* c8 ignore next */\n if (!tokenizer) throw new Error('Expected `tokenizer`')\n preprocessor = tokenizer.preprocessor\n locationTracker = tokenizer.__mixins[0]\n posTracker = locationTracker.posTracker\n\n one(tree)\n\n resetTokenizer()\n\n return doc\n }\n\n /**\n * @param {Array} nodes\n * @returns {void}\n */\n function all(nodes) {\n let index = -1\n\n /* istanbul ignore else - invalid nodes, see rehypejs/rehype-raw#7. */\n if (nodes) {\n while (++index < nodes.length) {\n one(nodes[index])\n }\n }\n }\n\n /**\n * @param {Root} node\n * @returns {void}\n */\n function root(node) {\n all(node.children)\n }\n\n /**\n * @param {Element} node\n * @returns {void}\n */\n function element(node) {\n resetTokenizer()\n parser._processInputToken(startTag(node))\n\n all(node.children)\n\n if (!htmlVoidElements.includes(node.tagName)) {\n resetTokenizer()\n parser._processInputToken(endTag(node))\n }\n }\n\n /**\n * @param {Text} node\n * @returns {void}\n */\n function text(node) {\n resetTokenizer()\n parser._processInputToken({\n type: characterToken,\n chars: node.value,\n location: createParse5Location(node)\n })\n }\n\n /**\n * @param {Doctype} node\n * @returns {void}\n */\n function doctype(node) {\n resetTokenizer()\n parser._processInputToken({\n type: doctypeToken,\n name: 'html',\n forceQuirks: false,\n publicId: '',\n systemId: '',\n location: createParse5Location(node)\n })\n }\n\n /**\n * @param {Comment|Stitch} node\n * @returns {void}\n */\n function comment(node) {\n resetTokenizer()\n parser._processInputToken({\n type: commentToken,\n data: node.value,\n location: createParse5Location(node)\n })\n }\n\n /**\n * @param {Raw} node\n * @returns {void}\n */\n function handleRaw(node) {\n const start = pointStart(node)\n const line = start.line || 1\n const column = start.column || 1\n const offset = start.offset || 0\n\n /* c8 ignore next 4 */\n if (!preprocessor) throw new Error('Expected `preprocessor`')\n if (!tokenizer) throw new Error('Expected `tokenizer`')\n if (!posTracker) throw new Error('Expected `posTracker`')\n if (!locationTracker) throw new Error('Expected `locationTracker`')\n\n // Reset preprocessor:\n // See: .\n preprocessor.html = undefined\n preprocessor.pos = -1\n preprocessor.lastGapPos = -1\n preprocessor.lastCharPos = -1\n preprocessor.gapStack = []\n preprocessor.skipNextNewLine = false\n preprocessor.lastChunkWritten = false\n preprocessor.endOfChunkHit = false\n\n // Reset preprocessor mixin:\n // See: .\n posTracker.isEol = false\n posTracker.lineStartPos = -column + 1 // Looks weird, but ensures we get correct positional info.\n posTracker.droppedBufferSize = offset\n posTracker.offset = 0\n posTracker.col = 1\n posTracker.line = line\n\n // Reset location tracker:\n // See: .\n locationTracker.currentAttrLocation = undefined\n locationTracker.ctLoc = createParse5Location(node)\n\n // See the code for `parse` and `parseFragment`:\n // See: .\n tokenizer.write(node.value)\n parser._runParsingLoop(null)\n\n // Character references hang, so if we ended there, we need to flush\n // those too.\n // We reset the preprocessor as if the document ends here.\n // Then one single call to the relevant state does the trick, parse5\n // consumes the whole token.\n if (\n tokenizer.state === 'NAMED_CHARACTER_REFERENCE_STATE' ||\n tokenizer.state === 'NUMERIC_CHARACTER_REFERENCE_END_STATE'\n ) {\n preprocessor.lastChunkWritten = true\n tokenizer[tokenizer.state](tokenizer._consume())\n }\n }\n\n /**\n * @param {Node} node\n */\n function stitch(node) {\n stitches = true\n\n /** @type {Node} */\n let clone\n\n // Recurse, because to somewhat handle `[]` (where `[]` denotes the\n // passed through node).\n if ('children' in node) {\n clone = {\n ...node,\n children: raw(\n {type: 'root', children: node.children},\n file,\n options\n // @ts-expect-error Assume a given parent yields a parent.\n ).children\n }\n } else {\n clone = {...node}\n }\n\n // Hack: `value` is supposed to be a string, but as none of the tools\n // (`parse5` or `hast-util-from-parse5`) looks at it, we can pass nodes\n // through.\n comment({type: 'comment', value: {stitch: clone}})\n }\n\n function resetTokenizer() {\n /* c8 ignore next 2 */\n if (!tokenizer) throw new Error('Expected `tokenizer`')\n if (!posTracker) throw new Error('Expected `posTracker`')\n\n // Process final characters if they’re still there after hibernating.\n // Similar to:\n // See: .\n const token = tokenizer.currentCharacterToken\n\n if (token) {\n token.location.endLine = posTracker.line\n token.location.endCol = posTracker.col + 1\n token.location.endOffset = posTracker.offset + 1\n parser._processInputToken(token)\n }\n\n // Reset tokenizer:\n // See: .\n // Especially putting it back in the `data` state is useful: some elements,\n // like textareas and iframes, change the state.\n // See GH-7.\n // But also if broken HTML is in `raw`, and then a correct element is given.\n // See GH-11.\n tokenizer.tokenQueue = []\n tokenizer.state = dataState\n tokenizer.returnState = ''\n tokenizer.charRefCode = -1\n tokenizer.tempBuff = []\n tokenizer.lastStartTagName = ''\n tokenizer.consumedAfterSnapshot = -1\n tokenizer.active = false\n tokenizer.currentCharacterToken = undefined\n tokenizer.currentToken = undefined\n tokenizer.currentAttr = undefined\n }\n }\n )\n/**\n * @param {Element} node\n * @returns {HiddenToken}\n */\nfunction startTag(node) {\n /** @type {P5Location} */\n const location = Object.assign(createParse5Location(node))\n // @ts-expect-error extra positional info.\n location.startTag = Object.assign({}, location)\n\n // Untyped token.\n return {\n type: startTagToken,\n tagName: node.tagName,\n selfClosing: false,\n attrs: attributes(node),\n location\n }\n}\n\n/**\n * @param {Element} node\n * @returns {Array}\n */\nfunction attributes(node) {\n return toParse5({\n tagName: node.tagName,\n type: 'element',\n properties: node.properties,\n children: []\n // @ts-expect-error Assume element.\n }).attrs\n}\n\n/**\n * @param {Element} node\n * @returns {HiddenToken}\n */\nfunction endTag(node) {\n /** @type {P5Location} */\n const location = Object.assign(createParse5Location(node))\n // @ts-expect-error extra positional info.\n location.startTag = Object.assign({}, location)\n\n // Untyped token.\n return {\n type: endTagToken,\n tagName: node.tagName,\n attrs: [],\n location\n }\n}\n\n/**\n * @param {Node} node\n */\nfunction unknown(node) {\n throw new Error('Cannot compile `' + node.type + '` node')\n}\n\n/**\n * @param {Node} node\n * @returns {boolean}\n */\nfunction documentMode(node) {\n const head = node.type === 'root' ? node.children[0] : node\n return Boolean(\n head &&\n (head.type === 'doctype' ||\n (head.type === 'element' && head.tagName === 'html'))\n )\n}\n\n/**\n * @param {Node|Stitch} node\n * @returns {P5Location}\n */\nfunction createParse5Location(node) {\n const start = pointStart(node)\n const end = pointEnd(node)\n\n return {\n startLine: start.line,\n startCol: start.column,\n startOffset: start.offset,\n endLine: end.line,\n endCol: end.column,\n endOffset: end.offset\n }\n}\n\n/**\n * @param {VFile|Options|undefined} value\n * @return {value is Options}\n */\nfunction isOptions(value) {\n return Boolean(value && !('message' in value && 'messages' in value))\n}\n","/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast-util-raw').Options} Options\n * @typedef {import('hast-util-raw')} DoNotTouchAsThisImportIncludesRawInTree\n */\n\nimport {raw} from 'hast-util-raw'\n\n/**\n * Plugin to parse the tree again (and raw nodes).\n * Keeping positional info OK. 🙌\n *\n * @type {import('unified').Plugin<[Options?] | Array, Root>}\n */\nexport default function rehypeRaw(options = {}) {\n return (tree, file) => {\n // Assume that when a root was given, it’s also returned.\n const result = /** @type {Root} */ (raw(tree, file, options))\n return result\n }\n}\n","// This module is generated by `script/`.\n/* eslint-disable no-control-regex, no-misleading-character-class, no-useless-escape */\nexport const regex = /[\\0-\\x1F!-,\\.\\/:-@\\[-\\^`\\{-\\xA9\\xAB-\\xB4\\xB6-\\xB9\\xBB-\\xBF\\xD7\\xF7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0378\\u0379\\u037E\\u0380-\\u0385\\u0387\\u038B\\u038D\\u03A2\\u03F6\\u0482\\u0530\\u0557\\u0558\\u055A-\\u055F\\u0589-\\u0590\\u05BE\\u05C0\\u05C3\\u05C6\\u05C8-\\u05CF\\u05EB-\\u05EE\\u05F3-\\u060F\\u061B-\\u061F\\u066A-\\u066D\\u06D4\\u06DD\\u06DE\\u06E9\\u06FD\\u06FE\\u0700-\\u070F\\u074B\\u074C\\u07B2-\\u07BF\\u07F6-\\u07F9\\u07FB\\u07FC\\u07FE\\u07FF\\u082E-\\u083F\\u085C-\\u085F\\u086B-\\u089F\\u08B5\\u08C8-\\u08D2\\u08E2\\u0964\\u0965\\u0970\\u0984\\u098D\\u098E\\u0991\\u0992\\u09A9\\u09B1\\u09B3-\\u09B5\\u09BA\\u09BB\\u09C5\\u09C6\\u09C9\\u09CA\\u09CF-\\u09D6\\u09D8-\\u09DB\\u09DE\\u09E4\\u09E5\\u09F2-\\u09FB\\u09FD\\u09FF\\u0A00\\u0A04\\u0A0B-\\u0A0E\\u0A11\\u0A12\\u0A29\\u0A31\\u0A34\\u0A37\\u0A3A\\u0A3B\\u0A3D\\u0A43-\\u0A46\\u0A49\\u0A4A\\u0A4E-\\u0A50\\u0A52-\\u0A58\\u0A5D\\u0A5F-\\u0A65\\u0A76-\\u0A80\\u0A84\\u0A8E\\u0A92\\u0AA9\\u0AB1\\u0AB4\\u0ABA\\u0ABB\\u0AC6\\u0ACA\\u0ACE\\u0ACF\\u0AD1-\\u0ADF\\u0AE4\\u0AE5\\u0AF0-\\u0AF8\\u0B00\\u0B04\\u0B0D\\u0B0E\\u0B11\\u0B12\\u0B29\\u0B31\\u0B34\\u0B3A\\u0B3B\\u0B45\\u0B46\\u0B49\\u0B4A\\u0B4E-\\u0B54\\u0B58-\\u0B5B\\u0B5E\\u0B64\\u0B65\\u0B70\\u0B72-\\u0B81\\u0B84\\u0B8B-\\u0B8D\\u0B91\\u0B96-\\u0B98\\u0B9B\\u0B9D\\u0BA0-\\u0BA2\\u0BA5-\\u0BA7\\u0BAB-\\u0BAD\\u0BBA-\\u0BBD\\u0BC3-\\u0BC5\\u0BC9\\u0BCE\\u0BCF\\u0BD1-\\u0BD6\\u0BD8-\\u0BE5\\u0BF0-\\u0BFF\\u0C0D\\u0C11\\u0C29\\u0C3A-\\u0C3C\\u0C45\\u0C49\\u0C4E-\\u0C54\\u0C57\\u0C5B-\\u0C5F\\u0C64\\u0C65\\u0C70-\\u0C7F\\u0C84\\u0C8D\\u0C91\\u0CA9\\u0CB4\\u0CBA\\u0CBB\\u0CC5\\u0CC9\\u0CCE-\\u0CD4\\u0CD7-\\u0CDD\\u0CDF\\u0CE4\\u0CE5\\u0CF0\\u0CF3-\\u0CFF\\u0D0D\\u0D11\\u0D45\\u0D49\\u0D4F-\\u0D53\\u0D58-\\u0D5E\\u0D64\\u0D65\\u0D70-\\u0D79\\u0D80\\u0D84\\u0D97-\\u0D99\\u0DB2\\u0DBC\\u0DBE\\u0DBF\\u0DC7-\\u0DC9\\u0DCB-\\u0DCE\\u0DD5\\u0DD7\\u0DE0-\\u0DE5\\u0DF0\\u0DF1\\u0DF4-\\u0E00\\u0E3B-\\u0E3F\\u0E4F\\u0E5A-\\u0E80\\u0E83\\u0E85\\u0E8B\\u0EA4\\u0EA6\\u0EBE\\u0EBF\\u0EC5\\u0EC7\\u0ECE\\u0ECF\\u0EDA\\u0EDB\\u0EE0-\\u0EFF\\u0F01-\\u0F17\\u0F1A-\\u0F1F\\u0F2A-\\u0F34\\u0F36\\u0F38\\u0F3A-\\u0F3D\\u0F48\\u0F6D-\\u0F70\\u0F85\\u0F98\\u0FBD-\\u0FC5\\u0FC7-\\u0FFF\\u104A-\\u104F\\u109E\\u109F\\u10C6\\u10C8-\\u10CC\\u10CE\\u10CF\\u10FB\\u1249\\u124E\\u124F\\u1257\\u1259\\u125E\\u125F\\u1289\\u128E\\u128F\\u12B1\\u12B6\\u12B7\\u12BF\\u12C1\\u12C6\\u12C7\\u12D7\\u1311\\u1316\\u1317\\u135B\\u135C\\u1360-\\u137F\\u1390-\\u139F\\u13F6\\u13F7\\u13FE-\\u1400\\u166D\\u166E\\u1680\\u169B-\\u169F\\u16EB-\\u16ED\\u16F9-\\u16FF\\u170D\\u1715-\\u171F\\u1735-\\u173F\\u1754-\\u175F\\u176D\\u1771\\u1774-\\u177F\\u17D4-\\u17D6\\u17D8-\\u17DB\\u17DE\\u17DF\\u17EA-\\u180A\\u180E\\u180F\\u181A-\\u181F\\u1879-\\u187F\\u18AB-\\u18AF\\u18F6-\\u18FF\\u191F\\u192C-\\u192F\\u193C-\\u1945\\u196E\\u196F\\u1975-\\u197F\\u19AC-\\u19AF\\u19CA-\\u19CF\\u19DA-\\u19FF\\u1A1C-\\u1A1F\\u1A5F\\u1A7D\\u1A7E\\u1A8A-\\u1A8F\\u1A9A-\\u1AA6\\u1AA8-\\u1AAF\\u1AC1-\\u1AFF\\u1B4C-\\u1B4F\\u1B5A-\\u1B6A\\u1B74-\\u1B7F\\u1BF4-\\u1BFF\\u1C38-\\u1C3F\\u1C4A-\\u1C4C\\u1C7E\\u1C7F\\u1C89-\\u1C8F\\u1CBB\\u1CBC\\u1CC0-\\u1CCF\\u1CD3\\u1CFB-\\u1CFF\\u1DFA\\u1F16\\u1F17\\u1F1E\\u1F1F\\u1F46\\u1F47\\u1F4E\\u1F4F\\u1F58\\u1F5A\\u1F5C\\u1F5E\\u1F7E\\u1F7F\\u1FB5\\u1FBD\\u1FBF-\\u1FC1\\u1FC5\\u1FCD-\\u1FCF\\u1FD4\\u1FD5\\u1FDC-\\u1FDF\\u1FED-\\u1FF1\\u1FF5\\u1FFD-\\u203E\\u2041-\\u2053\\u2055-\\u2070\\u2072-\\u207E\\u2080-\\u208F\\u209D-\\u20CF\\u20F1-\\u2101\\u2103-\\u2106\\u2108\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F-\\u215F\\u2189-\\u24B5\\u24EA-\\u2BFF\\u2C2F\\u2C5F\\u2CE5-\\u2CEA\\u2CF4-\\u2CFF\\u2D26\\u2D28-\\u2D2C\\u2D2E\\u2D2F\\u2D68-\\u2D6E\\u2D70-\\u2D7E\\u2D97-\\u2D9F\\u2DA7\\u2DAF\\u2DB7\\u2DBF\\u2DC7\\u2DCF\\u2DD7\\u2DDF\\u2E00-\\u2E2E\\u2E30-\\u3004\\u3008-\\u3020\\u3030\\u3036\\u3037\\u303D-\\u3040\\u3097\\u3098\\u309B\\u309C\\u30A0\\u30FB\\u3100-\\u3104\\u3130\\u318F-\\u319F\\u31C0-\\u31EF\\u3200-\\u33FF\\u4DC0-\\u4DFF\\u9FFD-\\u9FFF\\uA48D-\\uA4CF\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA62C-\\uA63F\\uA673\\uA67E\\uA6F2-\\uA716\\uA720\\uA721\\uA789\\uA78A\\uA7C0\\uA7C1\\uA7CB-\\uA7F4\\uA828-\\uA82B\\uA82D-\\uA83F\\uA874-\\uA87F\\uA8C6-\\uA8CF\\uA8DA-\\uA8DF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA954-\\uA95F\\uA97D-\\uA97F\\uA9C1-\\uA9CE\\uA9DA-\\uA9DF\\uA9FF\\uAA37-\\uAA3F\\uAA4E\\uAA4F\\uAA5A-\\uAA5F\\uAA77-\\uAA79\\uAAC3-\\uAADA\\uAADE\\uAADF\\uAAF0\\uAAF1\\uAAF7-\\uAB00\\uAB07\\uAB08\\uAB0F\\uAB10\\uAB17-\\uAB1F\\uAB27\\uAB2F\\uAB5B\\uAB6A-\\uAB6F\\uABEB\\uABEE\\uABEF\\uABFA-\\uABFF\\uD7A4-\\uD7AF\\uD7C7-\\uD7CA\\uD7FC-\\uD7FF\\uE000-\\uF8FF\\uFA6E\\uFA6F\\uFADA-\\uFAFF\\uFB07-\\uFB12\\uFB18-\\uFB1C\\uFB29\\uFB37\\uFB3D\\uFB3F\\uFB42\\uFB45\\uFBB2-\\uFBD2\\uFD3E-\\uFD4F\\uFD90\\uFD91\\uFDC8-\\uFDEF\\uFDFC-\\uFDFF\\uFE10-\\uFE1F\\uFE30-\\uFE32\\uFE35-\\uFE4C\\uFE50-\\uFE6F\\uFE75\\uFEFD-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65\\uFFBF-\\uFFC1\\uFFC8\\uFFC9\\uFFD0\\uFFD1\\uFFD8\\uFFD9\\uFFDD-\\uFFFF]|\\uD800[\\uDC0C\\uDC27\\uDC3B\\uDC3E\\uDC4E\\uDC4F\\uDC5E-\\uDC7F\\uDCFB-\\uDD3F\\uDD75-\\uDDFC\\uDDFE-\\uDE7F\\uDE9D-\\uDE9F\\uDED1-\\uDEDF\\uDEE1-\\uDEFF\\uDF20-\\uDF2C\\uDF4B-\\uDF4F\\uDF7B-\\uDF7F\\uDF9E\\uDF9F\\uDFC4-\\uDFC7\\uDFD0\\uDFD6-\\uDFFF]|\\uD801[\\uDC9E\\uDC9F\\uDCAA-\\uDCAF\\uDCD4-\\uDCD7\\uDCFC-\\uDCFF\\uDD28-\\uDD2F\\uDD64-\\uDDFF\\uDF37-\\uDF3F\\uDF56-\\uDF5F\\uDF68-\\uDFFF]|\\uD802[\\uDC06\\uDC07\\uDC09\\uDC36\\uDC39-\\uDC3B\\uDC3D\\uDC3E\\uDC56-\\uDC5F\\uDC77-\\uDC7F\\uDC9F-\\uDCDF\\uDCF3\\uDCF6-\\uDCFF\\uDD16-\\uDD1F\\uDD3A-\\uDD7F\\uDDB8-\\uDDBD\\uDDC0-\\uDDFF\\uDE04\\uDE07-\\uDE0B\\uDE14\\uDE18\\uDE36\\uDE37\\uDE3B-\\uDE3E\\uDE40-\\uDE5F\\uDE7D-\\uDE7F\\uDE9D-\\uDEBF\\uDEC8\\uDEE7-\\uDEFF\\uDF36-\\uDF3F\\uDF56-\\uDF5F\\uDF73-\\uDF7F\\uDF92-\\uDFFF]|\\uD803[\\uDC49-\\uDC7F\\uDCB3-\\uDCBF\\uDCF3-\\uDCFF\\uDD28-\\uDD2F\\uDD3A-\\uDE7F\\uDEAA\\uDEAD-\\uDEAF\\uDEB2-\\uDEFF\\uDF1D-\\uDF26\\uDF28-\\uDF2F\\uDF51-\\uDFAF\\uDFC5-\\uDFDF\\uDFF7-\\uDFFF]|\\uD804[\\uDC47-\\uDC65\\uDC70-\\uDC7E\\uDCBB-\\uDCCF\\uDCE9-\\uDCEF\\uDCFA-\\uDCFF\\uDD35\\uDD40-\\uDD43\\uDD48-\\uDD4F\\uDD74\\uDD75\\uDD77-\\uDD7F\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDFF\\uDE12\\uDE38-\\uDE3D\\uDE3F-\\uDE7F\\uDE87\\uDE89\\uDE8E\\uDE9E\\uDEA9-\\uDEAF\\uDEEB-\\uDEEF\\uDEFA-\\uDEFF\\uDF04\\uDF0D\\uDF0E\\uDF11\\uDF12\\uDF29\\uDF31\\uDF34\\uDF3A\\uDF45\\uDF46\\uDF49\\uDF4A\\uDF4E\\uDF4F\\uDF51-\\uDF56\\uDF58-\\uDF5C\\uDF64\\uDF65\\uDF6D-\\uDF6F\\uDF75-\\uDFFF]|\\uD805[\\uDC4B-\\uDC4F\\uDC5A-\\uDC5D\\uDC62-\\uDC7F\\uDCC6\\uDCC8-\\uDCCF\\uDCDA-\\uDD7F\\uDDB6\\uDDB7\\uDDC1-\\uDDD7\\uDDDE-\\uDDFF\\uDE41-\\uDE43\\uDE45-\\uDE4F\\uDE5A-\\uDE7F\\uDEB9-\\uDEBF\\uDECA-\\uDEFF\\uDF1B\\uDF1C\\uDF2C-\\uDF2F\\uDF3A-\\uDFFF]|\\uD806[\\uDC3B-\\uDC9F\\uDCEA-\\uDCFE\\uDD07\\uDD08\\uDD0A\\uDD0B\\uDD14\\uDD17\\uDD36\\uDD39\\uDD3A\\uDD44-\\uDD4F\\uDD5A-\\uDD9F\\uDDA8\\uDDA9\\uDDD8\\uDDD9\\uDDE2\\uDDE5-\\uDDFF\\uDE3F-\\uDE46\\uDE48-\\uDE4F\\uDE9A-\\uDE9C\\uDE9E-\\uDEBF\\uDEF9-\\uDFFF]|\\uD807[\\uDC09\\uDC37\\uDC41-\\uDC4F\\uDC5A-\\uDC71\\uDC90\\uDC91\\uDCA8\\uDCB7-\\uDCFF\\uDD07\\uDD0A\\uDD37-\\uDD39\\uDD3B\\uDD3E\\uDD48-\\uDD4F\\uDD5A-\\uDD5F\\uDD66\\uDD69\\uDD8F\\uDD92\\uDD99-\\uDD9F\\uDDAA-\\uDEDF\\uDEF7-\\uDFAF\\uDFB1-\\uDFFF]|\\uD808[\\uDF9A-\\uDFFF]|\\uD809[\\uDC6F-\\uDC7F\\uDD44-\\uDFFF]|[\\uD80A\\uD80B\\uD80E-\\uD810\\uD812-\\uD819\\uD824-\\uD82B\\uD82D\\uD82E\\uD830-\\uD833\\uD837\\uD839\\uD83D\\uD83F\\uD87B-\\uD87D\\uD87F\\uD885-\\uDB3F\\uDB41-\\uDBFF][\\uDC00-\\uDFFF]|\\uD80D[\\uDC2F-\\uDFFF]|\\uD811[\\uDE47-\\uDFFF]|\\uD81A[\\uDE39-\\uDE3F\\uDE5F\\uDE6A-\\uDECF\\uDEEE\\uDEEF\\uDEF5-\\uDEFF\\uDF37-\\uDF3F\\uDF44-\\uDF4F\\uDF5A-\\uDF62\\uDF78-\\uDF7C\\uDF90-\\uDFFF]|\\uD81B[\\uDC00-\\uDE3F\\uDE80-\\uDEFF\\uDF4B-\\uDF4E\\uDF88-\\uDF8E\\uDFA0-\\uDFDF\\uDFE2\\uDFE5-\\uDFEF\\uDFF2-\\uDFFF]|\\uD821[\\uDFF8-\\uDFFF]|\\uD823[\\uDCD6-\\uDCFF\\uDD09-\\uDFFF]|\\uD82C[\\uDD1F-\\uDD4F\\uDD53-\\uDD63\\uDD68-\\uDD6F\\uDEFC-\\uDFFF]|\\uD82F[\\uDC6B-\\uDC6F\\uDC7D-\\uDC7F\\uDC89-\\uDC8F\\uDC9A-\\uDC9C\\uDC9F-\\uDFFF]|\\uD834[\\uDC00-\\uDD64\\uDD6A-\\uDD6C\\uDD73-\\uDD7A\\uDD83\\uDD84\\uDD8C-\\uDDA9\\uDDAE-\\uDE41\\uDE45-\\uDFFF]|\\uD835[\\uDC55\\uDC9D\\uDCA0\\uDCA1\\uDCA3\\uDCA4\\uDCA7\\uDCA8\\uDCAD\\uDCBA\\uDCBC\\uDCC4\\uDD06\\uDD0B\\uDD0C\\uDD15\\uDD1D\\uDD3A\\uDD3F\\uDD45\\uDD47-\\uDD49\\uDD51\\uDEA6\\uDEA7\\uDEC1\\uDEDB\\uDEFB\\uDF15\\uDF35\\uDF4F\\uDF6F\\uDF89\\uDFA9\\uDFC3\\uDFCC\\uDFCD]|\\uD836[\\uDC00-\\uDDFF\\uDE37-\\uDE3A\\uDE6D-\\uDE74\\uDE76-\\uDE83\\uDE85-\\uDE9A\\uDEA0\\uDEB0-\\uDFFF]|\\uD838[\\uDC07\\uDC19\\uDC1A\\uDC22\\uDC25\\uDC2B-\\uDCFF\\uDD2D-\\uDD2F\\uDD3E\\uDD3F\\uDD4A-\\uDD4D\\uDD4F-\\uDEBF\\uDEFA-\\uDFFF]|\\uD83A[\\uDCC5-\\uDCCF\\uDCD7-\\uDCFF\\uDD4C-\\uDD4F\\uDD5A-\\uDFFF]|\\uD83B[\\uDC00-\\uDDFF\\uDE04\\uDE20\\uDE23\\uDE25\\uDE26\\uDE28\\uDE33\\uDE38\\uDE3A\\uDE3C-\\uDE41\\uDE43-\\uDE46\\uDE48\\uDE4A\\uDE4C\\uDE50\\uDE53\\uDE55\\uDE56\\uDE58\\uDE5A\\uDE5C\\uDE5E\\uDE60\\uDE63\\uDE65\\uDE66\\uDE6B\\uDE73\\uDE78\\uDE7D\\uDE7F\\uDE8A\\uDE9C-\\uDEA0\\uDEA4\\uDEAA\\uDEBC-\\uDFFF]|\\uD83C[\\uDC00-\\uDD2F\\uDD4A-\\uDD4F\\uDD6A-\\uDD6F\\uDD8A-\\uDFFF]|\\uD83E[\\uDC00-\\uDFEF\\uDFFA-\\uDFFF]|\\uD869[\\uDEDE-\\uDEFF]|\\uD86D[\\uDF35-\\uDF3F]|\\uD86E[\\uDC1E\\uDC1F]|\\uD873[\\uDEA2-\\uDEAF]|\\uD87A[\\uDFE1-\\uDFFF]|\\uD87E[\\uDE1E-\\uDFFF]|\\uD884[\\uDF4B-\\uDFFF]|\\uDB40[\\uDC00-\\uDCFF\\uDDF0-\\uDFFF]/g\n","import { regex } from './regex.js'\n\nconst own = Object.hasOwnProperty\n\n/**\n * Slugger.\n */\nexport default class BananaSlug {\n /**\n * Create a new slug class.\n */\n constructor () {\n /** @type {Record} */\n // eslint-disable-next-line no-unused-expressions\n this.occurrences\n\n this.reset()\n }\n\n /**\n * Generate a unique slug.\n *\n * Tracks previously generated slugs: repeated calls with the same value\n * will result in different slugs.\n * Use the `slug` function to get same slugs.\n *\n * @param {string} value\n * String of text to slugify\n * @param {boolean} [maintainCase=false]\n * Keep the current case, otherwise make all lowercase\n * @return {string}\n * A unique slug string\n */\n slug (value, maintainCase) {\n const self = this\n let result = slug(value, maintainCase === true)\n const originalSlug = result\n\n while (own.call(self.occurrences, result)) {\n self.occurrences[originalSlug]++\n result = originalSlug + '-' + self.occurrences[originalSlug]\n }\n\n self.occurrences[result] = 0\n\n return result\n }\n\n /**\n * Reset - Forget all previous slugs\n *\n * @return void\n */\n reset () {\n this.occurrences = Object.create(null)\n }\n}\n\n/**\n * Generate a slug.\n *\n * Does not track previously generated slugs: repeated calls with the same value\n * will result in the exact same slug.\n * Use the `GithubSlugger` class to get unique slugs.\n *\n * @param {string} value\n * String of text to slugify\n * @param {boolean} [maintainCase=false]\n * Keep the current case, otherwise make all lowercase\n * @return {string}\n * A unique slug string\n */\nexport function slug (value, maintainCase) {\n if (typeof value !== 'string') return ''\n if (!maintainCase) value = value.toLowerCase()\n return value.replace(regex, '').replace(/ /g, '-')\n}\n","/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Content} Content\n */\n\n/**\n * @typedef {Root | Content} Node\n */\n\nconst own = {}.hasOwnProperty\n\n/**\n * Check if `node`is an element and has a `field` property.\n *\n * @param {unknown} node\n * Thing to check (typically `Element`).\n * @param {unknown} field\n * Field name to check (typically `string`).\n * @returns {boolean}\n * Whether `node` is an element that has a `field` property.\n */\nexport function hasProperty(node, field) {\n const value =\n typeof field === 'string' &&\n isNode(node) &&\n node.type === 'element' &&\n node.properties &&\n own.call(node.properties, field) &&\n node.properties[field]\n\n return value !== null && value !== undefined && value !== false\n}\n\n/**\n * @param {unknown} value\n * @returns {value is Node}\n */\nfunction isNode(value) {\n return Boolean(value && typeof value === 'object' && 'type' in value)\n}\n","/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Content} Content\n */\n\n/**\n * @typedef {Root | Content} Node\n */\n\n// To do next major: return `undefined`.\n/**\n * Get the rank (`1` to `6`) of headings (`h1` to `h6`).\n *\n * @param {Node} node\n * Node to check.\n * @returns {number | null}\n * Rank of the heading or `null` if not a heading.\n */\nexport function headingRank(node) {\n const name =\n (node && node.type === 'element' && node.tagName.toLowerCase()) || ''\n const code =\n name.length === 2 && name.charCodeAt(0) === 104 /* `h` */\n ? name.charCodeAt(1)\n : 0\n return code > 48 /* `0` */ && code < 55 /* `7` */ ? code - 48 /* `0` */ : null\n}\n","/**\n * @fileoverview\n * Get the plain-text value of a hast node.\n * @longdescription\n * ## Use\n *\n * ```js\n * import {h} from 'hastscript'\n * import {toString} from 'hast-util-to-string'\n *\n * toString(h('p', 'Alpha'))\n * //=> 'Alpha'\n * toString(h('div', [h('b', 'Bold'), ' and ', h('i', 'italic'), '.']))\n * //=> 'Bold and italic.'\n * ```\n *\n * ## API\n *\n * ### `toString(node)`\n *\n * Transform a node to a string.\n */\n\n/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Element} Element\n * @typedef {Root|Root['children'][number]} Node\n */\n\n/**\n * Get the plain-text value of a hast node.\n *\n * @param {Node} node\n * @returns {string}\n */\nexport function toString(node) {\n // “The concatenation of data of all the Text node descendants of the context\n // object, in tree order.”\n if ('children' in node) {\n return all(node)\n }\n\n // “Context object’s data.”\n return 'value' in node ? node.value : ''\n}\n\n/**\n * @param {Node} node\n * @returns {string}\n */\nfunction one(node) {\n if (node.type === 'text') {\n return node.value\n }\n\n return 'children' in node ? all(node) : ''\n}\n\n/**\n * @param {Root|Element} node\n * @returns {string}\n */\nfunction all(node) {\n let index = -1\n /** @type {string[]} */\n const result = []\n\n while (++index < node.children.length) {\n result[index] = one(node.children[index])\n }\n\n return result.join('')\n}\n","/**\n * @typedef {import('hast').Root} Root\n */\n\n/**\n * @typedef Options\n * Configuration (optional).\n * @property {string} [prefix='']\n * Prefix to add in front of `id`s.\n */\n\nimport Slugger from 'github-slugger'\nimport {hasProperty} from 'hast-util-has-property'\nimport {headingRank} from 'hast-util-heading-rank'\nimport {toString} from 'hast-util-to-string'\nimport {visit} from 'unist-util-visit'\n\nconst slugs = new Slugger()\n\n/**\n * Plugin to add `id`s to headings.\n *\n * @type {import('unified').Plugin<[Options?]|Array, Root>}\n */\nexport default function rehypeSlug(options = {}) {\n const prefix = options.prefix || ''\n\n return (tree) => {\n slugs.reset()\n\n visit(tree, 'element', (node) => {\n if (headingRank(node) && node.properties && !hasProperty(node, 'id')) {\n node.properties.id = prefix + slugs.slug(toString(node))\n }\n })\n }\n}\n","/**\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('hast').Element} Element\n */\n\n/**\n * @typedef {null | undefined | string | TestFunctionAnything | Array} Test\n * Check for an arbitrary element, unaware of TypeScript inferral.\n *\n * @callback TestFunctionAnything\n * Check if an element passes a test, unaware of TypeScript inferral.\n * @param {Element} element\n * An element.\n * @param {number | null | undefined} [index]\n * The element’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The element’s parent.\n * @returns {boolean | void}\n * Whether this element passes the test.\n */\n\n/**\n * @template {Element} T\n * Element type.\n * @typedef {T['tagName'] | TestFunctionPredicate | Array>} PredicateTest\n * Check for an element that can be inferred by TypeScript.\n */\n\n/**\n * Check if an element passes a certain node test.\n *\n * @template {Element} T\n * Element type.\n * @callback TestFunctionPredicate\n * Complex test function for an element that can be inferred by TypeScript.\n * @param {Element} element\n * An element.\n * @param {number | null | undefined} [index]\n * The element’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The element’s parent.\n * @returns {element is T}\n * Whether this element passes the test.\n */\n\n/**\n * @callback AssertAnything\n * Check that an arbitrary value is an element, unaware of TypeScript inferral.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean}\n * Whether this is an element and passes a test.\n */\n\n/**\n * Check if a node is an element and passes a certain node test\n *\n * @template {Element} T\n * Element type.\n * @callback AssertPredicate\n * Check that an arbitrary value is a specific element, aware of TypeScript.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is T}\n * Whether this is an element and passes a test.\n */\n\n/**\n * Check if `node` is an `Element` and whether it passes the given test.\n *\n * @param node\n * Thing to check, typically `Node`.\n * @param test\n * A check for a specific element.\n * @param index\n * The node’s position in its parent.\n * @param parent\n * The node’s parent.\n * @returns\n * Whether `node` is an element and passes a test.\n */\nexport const isElement =\n /**\n * @type {(\n * (() => false) &\n * ((node: unknown, test?: PredicateTest, index?: number, parent?: Parent, context?: unknown) => node is T) &\n * ((node: unknown, test: Test, index?: number, parent?: Parent, context?: unknown) => boolean)\n * )}\n */\n (\n /**\n * @param {unknown} [node]\n * @param {Test | undefined} [test]\n * @param {number | null | undefined} [index]\n * @param {Parent | null | undefined} [parent]\n * @param {unknown} [context]\n * @returns {boolean}\n */\n // eslint-disable-next-line max-params\n function (node, test, index, parent, context) {\n const check = convertElement(test)\n\n if (\n index !== undefined &&\n index !== null &&\n (typeof index !== 'number' ||\n index < 0 ||\n index === Number.POSITIVE_INFINITY)\n ) {\n throw new Error('Expected positive finite index for child node')\n }\n\n if (\n parent !== undefined &&\n parent !== null &&\n (!parent.type || !parent.children)\n ) {\n throw new Error('Expected parent node')\n }\n\n // @ts-expect-error Looks like a node.\n if (!node || !node.type || typeof node.type !== 'string') {\n return false\n }\n\n if (\n (parent === undefined || parent === null) !==\n (index === undefined || index === null)\n ) {\n throw new Error('Expected both parent and index')\n }\n\n return check.call(context, node, index, parent)\n }\n )\n\n/**\n * Generate an assertion from a test.\n *\n * Useful if you’re going to test many nodes, for example when creating a\n * utility where something else passes a compatible test.\n *\n * The created function is a bit faster because it expects valid input only:\n * a `node`, `index`, and `parent`.\n *\n * @param test\n * * When nullish, checks if `node` is an `Element`.\n * * When `string`, works like passing `(element) => element.tagName === test`.\n * * When `function` checks if function passed the element is true.\n * * When `array`, checks any one of the subtests pass.\n * @returns\n * An assertion.\n */\nexport const convertElement =\n /**\n * @type {(\n * ((test: T['tagName'] | TestFunctionPredicate) => AssertPredicate) &\n * ((test?: Test) => AssertAnything)\n * )}\n */\n (\n /**\n * @param {Test | null | undefined} [test]\n * @returns {AssertAnything}\n */\n function (test) {\n if (test === undefined || test === null) {\n return element\n }\n\n if (typeof test === 'string') {\n return tagNameFactory(test)\n }\n\n if (typeof test === 'object') {\n return anyFactory(test)\n }\n\n if (typeof test === 'function') {\n return castFactory(test)\n }\n\n throw new Error('Expected function, string, or array as test')\n }\n )\n\n/**\n * Handle multiple tests.\n *\n * @param {Array} tests\n * @returns {AssertAnything}\n */\nfunction anyFactory(tests) {\n /** @type {Array} */\n const checks = []\n let index = -1\n\n while (++index < tests.length) {\n checks[index] = convertElement(tests[index])\n }\n\n return castFactory(any)\n\n /**\n * @this {unknown}\n * @param {Array} parameters\n * @returns {boolean}\n */\n function any(...parameters) {\n let index = -1\n\n while (++index < checks.length) {\n if (checks[index].call(this, ...parameters)) {\n return true\n }\n }\n\n return false\n }\n}\n\n/**\n * Turn a string into a test for an element with a certain tag name.\n *\n * @param {string} check\n * @returns {AssertAnything}\n */\nfunction tagNameFactory(check) {\n return tagName\n\n /**\n * @param {unknown} node\n * @returns {boolean}\n */\n function tagName(node) {\n return element(node) && node.tagName === check\n }\n}\n\n/**\n * Turn a custom test into a test for an element that passes that test.\n *\n * @param {TestFunctionAnything} check\n * @returns {AssertAnything}\n */\nfunction castFactory(check) {\n return assertion\n\n /**\n * @this {unknown}\n * @param {unknown} node\n * @param {Array} parameters\n * @returns {boolean}\n */\n function assertion(node, ...parameters) {\n // @ts-expect-error: fine.\n return element(node) && Boolean(check.call(this, node, ...parameters))\n }\n}\n\n/**\n * Make sure something is an element.\n *\n * @param {unknown} node\n * @returns {node is Element}\n */\nfunction element(node) {\n return Boolean(\n node &&\n typeof node === 'object' &&\n // @ts-expect-error Looks like a node.\n node.type === 'element' &&\n // @ts-expect-error Looks like an element.\n typeof node.tagName === 'string'\n )\n}\n","/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').Parent} Parent\n * @typedef {import('hast').Element} Element\n * @typedef {Element['children'][number]} ElementChild\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('hast-util-is-element').Test} Test\n *\n * @typedef {'prepend'|'append'|'wrap'|'before'|'after'} Behavior\n *\n * @callback Build\n * @param {Element} node\n * @returns {ElementChild|ElementChild[]}\n *\n * @typedef Options\n * Configuration.\n * @property {Behavior} [behavior='prepend']\n * How to create links.\n * @property {Behavior} [behaviour]\n * Please use `behavior` instead\n * @property {Properties} [properties]\n * Extra properties to set on the link when injecting.\n * Defaults to `{ariaHidden: true, tabIndex: -1}` when `'prepend'` or\n * `'append'`.\n * @property {ElementChild|ElementChild[]|Build} [content={type: 'element', tagName: 'span', properties: {className: ['icon', 'icon-link']}, children: []}]\n * hast nodes to insert in the link.\n * @property {ElementChild|ElementChild[]|Build} [group]\n * hast node to wrap the heading and link with, if `behavior` is `'before'` or\n * `'after'`.\n * There is no default.\n * @property {Test} [test]\n * Test to define which heading elements are linked.\n * Any test that can be given to `hast-util-is-element` is supported.\n * The default (no test) is to link all headings.\n * Can be used to link only h1-h3, or for example all except h1.\n */\n\nimport extend from 'extend'\nimport {hasProperty} from 'hast-util-has-property'\nimport {headingRank} from 'hast-util-heading-rank'\nimport {convertElement} from 'hast-util-is-element'\nimport {visit, SKIP} from 'unist-util-visit'\n\n/** @type {Element} */\nconst contentDefaults = {\n type: 'element',\n tagName: 'span',\n properties: {className: ['icon', 'icon-link']},\n children: []\n}\n\n/**\n * Plugin to automatically add links to headings (h1-h6).\n *\n * @type {import('unified').Plugin<[Options?]|void[], Root>}\n */\nexport default function rehypeAutolinkHeadings(options = {}) {\n let props = options.properties\n const behavior = options.behaviour || options.behavior || 'prepend'\n const content = options.content || contentDefaults\n const group = options.group\n const is = convertElement(options.test)\n\n /** @type {import('unist-util-visit/complex-types').Visitor} */\n let method\n\n if (behavior === 'wrap') {\n method = wrap\n } else if (behavior === 'before' || behavior === 'after') {\n method = around\n } else {\n if (!props) {\n props = {ariaHidden: 'true', tabIndex: -1}\n }\n\n method = inject\n }\n\n return (tree) => {\n visit(tree, 'element', (node, index, parent) => {\n if (\n headingRank(node) &&\n hasProperty(node, 'id') &&\n is(node, index, parent)\n ) {\n return method(node, index, parent)\n }\n })\n }\n\n /** @type {import('unist-util-visit/complex-types').Visitor} */\n function inject(node) {\n node.children[behavior === 'prepend' ? 'unshift' : 'push'](\n create(node, extend(true, {}, props), toChildren(content, node))\n )\n\n return [SKIP]\n }\n\n /** @type {import('unist-util-visit/complex-types').Visitor} */\n function around(node, index, parent) {\n // Uncommon.\n /* c8 ignore next */\n if (typeof index !== 'number' || !parent) return\n\n const link = create(\n node,\n extend(true, {}, props),\n toChildren(content, node)\n )\n let nodes = behavior === 'before' ? [link, node] : [node, link]\n\n if (group) {\n const grouping = toNode(group, node)\n\n if (grouping && !Array.isArray(grouping) && grouping.type === 'element') {\n grouping.children = nodes\n nodes = [grouping]\n }\n }\n\n parent.children.splice(index, 1, ...nodes)\n\n return [SKIP, index + nodes.length]\n }\n\n /** @type {import('unist-util-visit/complex-types').Visitor} */\n function wrap(node) {\n node.children = [create(node, extend(true, {}, props), node.children)]\n return [SKIP]\n }\n\n /**\n * @param {ElementChild|ElementChild[]|Build} value\n * @param {Element} node\n * @returns {ElementChild[]}\n */\n function toChildren(value, node) {\n const result = toNode(value, node)\n return Array.isArray(result) ? result : [result]\n }\n\n /**\n * @param {ElementChild|ElementChild[]|Build} value\n * @param {Element} node\n * @returns {ElementChild|ElementChild[]}\n */\n function toNode(value, node) {\n if (typeof value === 'function') return value(node)\n return extend(true, Array.isArray(value) ? [] : {}, value)\n }\n\n /**\n * @param {Element} node\n * @param {Properties} props\n * @param {ElementChild[]} children\n * @returns {Element}\n */\n function create(node, props, children) {\n return {\n type: 'element',\n tagName: 'a',\n properties: Object.assign({}, props, {\n // Fix hast types and make them required.\n /* c8 ignore next */\n href: '#' + (node.properties || {}).id\n }),\n children\n }\n }\n}\n","import { Element, Comment, Literal, ElementContent, RootContent, Properties } from 'hast';\nimport { RehypeAttrsOptions } from './';\n\nexport const getURLParameters = (url: string = '') =>\n ((url.match(/([^?=&]+)(=([^&]*))/g) || []) as string[]).reduce(\n (a: Record, v: string) => (\n (a[v.slice(0, v.indexOf('=')) as keyof typeof a] = v.slice(v.indexOf('=') + 1)), a\n ),\n {}\n )\n\nexport const prevChild = (data: Literal[] = [], index: number): Comment | undefined => {\n let i = index;\n while (i > -1) {\n i--;\n if (!data[i]) return\n if ((data[i] && data[i].value && (data[i].value as string).replace(/(\\n|\\s)/g, '') !== '') || data[i].type !== 'text') {\n if (!/^rehype:/.test(data[i].value as string) || (data[i].type as string) !== 'comment') return;\n return data[i] as unknown as Comment;\n }\n }\n return;\n}\n\nexport const nextChild = (data: RootContent[] | ElementContent[] = [], index: number, tagName?: string, codeBlockParames?: boolean): ElementContent | undefined => {\n let i = index;\n while (i < data.length) {\n i++;\n if (tagName) {\n const element = data[i] as Literal & Element;\n if (element && element.value && (element.value as string).replace(/(\\n|\\s)/g, '') !== '' || data[i] && (data[i].type as string) === 'element') {\n return element.tagName === tagName ? element : undefined\n }\n } else {\n const element = data[i] as ElementContent & Literal;\n if (!element || element.type === 'element') return;\n if (element.type === 'text' && element.value.replace(/(\\n|\\s)/g, '') !== '') return;\n if (element.type && /^(comment|raw)$/ig.test(element.type)) {\n if (element.value && !/^rehype:/.test(element.value.replace(/^(\\s+)?/, '$2') || '')) {\n return\n };\n if (codeBlockParames) {\n const nextNode = nextChild(data, i, 'pre', codeBlockParames)\n if (nextNode) return;\n element.value = (element.value || '').replace(/^(\\n|\\s)+/, '')\n return element;\n } else {\n element.value = (element.value || '').replace(/^(\\n|\\s)+/, '')\n return element;\n }\n }\n }\n }\n return\n}\n\n/**\n * 获取代码注视的位置\n * @param data 数据\n * @param index 当前数据所在的位置\n * @returns 返回 当前参数数据 Object,`{}`\n */\nexport const getCommentObject = ({ value = '' }: Comment): Properties => {\n const param = getURLParameters(value.replace(/^/, '$1').replace(/^rehype:/, ''));\n Object.keys(param).forEach((keyName: string) => {\n if (param[keyName] === 'true') {\n param[keyName] = true;\n }\n if (param[keyName] === 'false') {\n param[keyName] = false;\n }\n if (typeof param[keyName] === 'string' && !/^0/.test(param[keyName] as string) && !isNaN(+param[keyName])) {\n param[keyName] = +param[keyName];\n }\n })\n return param;\n}\n\nexport type DataConfig = {\n 'data-config': Properties\n}\n\nexport const propertiesHandle = (defaultAttrs?: Properties | null, attrs?: Properties, type?: RehypeAttrsOptions['properties']): Properties | DataConfig => {\n if (type === 'string') {\n return { ...defaultAttrs, 'data-config': JSON.stringify({ ...attrs, rehyp: true })}\n } else if (type === 'attr') {\n return { ...defaultAttrs, ...attrs}\n }\n return { ...defaultAttrs, 'data-config': { ...attrs, rehyp: true }}\n}","import { Plugin } from 'unified';\nimport { Root, Element, Comment, Properties, Literal } from 'hast';\nimport { visit } from 'unist-util-visit';\nimport { propertiesHandle, nextChild, prevChild, getCommentObject } from './utils';\n\nexport type RehypeAttrsOptions = {\n /**\n * ## `data`\n * \n * ```markdown\n * text\n * \n * ```\n * 👇👇👇👇👇\n * ```html\n *

text

\n * ```\n * \n * ## `string`\n * \n * ```markdown\n * text\n * \n * ```\n * \n * 👇👇👇👇👇\n * \n * ```html\n *

text

\n * ```\n * \n * ## attr\n * \n * ```markdown\n * text\n * \n * ```\n * 👇👇👇👇👇\n * ```html\n *

text

\n * ```\n * @default `data`\n */\n properties?: 'data' | 'string' | 'attr';\n /**\n * Code block passing parameters\n */\n codeBlockParames?: boolean;\n}\n\nconst rehypeAttrs: Plugin<[RehypeAttrsOptions?], Root> = (options = {}) => {\n const { properties = 'data', codeBlockParames = true } = options;\n return (tree) => {\n visit(tree, 'element', (node, index, parent) => {\n if (codeBlockParames && node.tagName === 'pre' && node && Array.isArray(node.children) && parent && Array.isArray(parent.children) && parent.children.length > 1) {\n const firstChild = node.children[0] as Element;\n if (firstChild && firstChild.tagName === 'code' && typeof index === 'number') {\n const child = prevChild(parent.children as Literal[], index);\n if (child) {\n const attr = getCommentObject(child);\n if (Object.keys(attr).length > 0) {\n node.properties = { ...node.properties, ...{ 'data-type': 'rehyp' } }\n firstChild.properties = propertiesHandle(firstChild.properties, attr, properties) as Properties\n }\n }\n }\n }\n\n if (/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(node.tagName) && parent && Array.isArray(parent.children) && typeof index === 'number') {\n const child = nextChild(parent.children, index, '', codeBlockParames)\n if (child) {\n const attr = getCommentObject(child as Comment)\n if (Object.keys(attr).length > 0) {\n node.properties = propertiesHandle(node.properties, attr, properties) as Properties\n }\n }\n }\n });\n }\n}\n\n\nexport default rehypeAttrs\n","import type { Plugin } from 'unified';\nimport type { Root, RootContent, Literal } from 'hast';\nimport { visit } from 'unist-util-visit';\n\n/**\n * Raw string of HTML embedded into HTML AST.\n */\nexport interface Raw extends Literal {\n /**\n * Node type.\n */\n type: 'raw'\n}\n\n// Register nodes in content.\ndeclare module 'hast' {\n interface RootContentMap {\n /**\n * Raw string of HTML embedded into HTML AST.\n */\n raw: Raw\n }\n interface ElementContentMap {\n /**\n * Raw string of HTML embedded into HTML AST.\n */\n raw: Raw\n }\n}\n\n\nexport type RehypeIgnoreOptions = {\n /**\n * Character to use for opening delimiter, by default `rehype:ignore:start`\n */\n openDelimiter?: string;\n /**\n * Character to use for closing delimiter, by default `rehype:ignore:end`\n */\n closeDelimiter?: string;\n}\n\nconst rehypeIgnore: Plugin<[RehypeIgnoreOptions?], Root> = (options = {}) => {\n const { openDelimiter = 'rehype:ignore:start', closeDelimiter = 'rehype:ignore:end' } = options;\n return (tree) => {\n visit(tree, (node: Root | RootContent, index, parent) => {\n if (node.type === 'element' || node.type === 'root') {\n // const start = node.children.findIndex((item) => item.type === 'comment' && item.value === openDelimiter);\n // const end = node.children.findIndex((item) => item.type === 'comment' && item.value === closeDelimiter);\n // if (start > -1 && end > -1) {\n // node.children = node.children.filter((_, idx) => idx < start || idx > end);\n // }\n let start = false;\n node.children = node.children.filter((item) => {\n if (item.type === 'raw' || item.type === 'comment') {\n let str = (item.value || '').trim();\n str = str.replace(/^/, '$1')\n if (str === openDelimiter) {\n start = true;\n return false;\n }\n if (str === closeDelimiter) {\n start = false;\n return false;\n }\n }\n \n return !start;\n })\n }\n });\n }\n}\n\nexport default rehypeIgnore;\n","/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('unist-util-is').Test} Test\n *\n * @typedef Options\n * Configuration (optional).\n * @property {boolean | null | undefined} [cascade=true]\n * Whether to drop parent nodes if they had children, but all their children\n * were filtered out.\n */\n\nimport {convert} from 'unist-util-is'\n\nconst own = {}.hasOwnProperty\n\n/**\n * Create a new `tree` of copies of all nodes that pass `test`.\n *\n * The tree is walked in *preorder* (NLR), visiting the node itself, then its\n * head, etc.\n *\n * @param tree\n * Tree to filter.\n * @param options\n * Configuration (optional).\n * @param test\n * `unist-util-is` compatible test.\n * @returns\n * New filtered tree.\n *\n * `null` is returned if `tree` itself didn’t pass the test, or is cascaded\n * away.\n */\nexport const filter =\n /**\n * @type {(\n * ((node: Tree, options: Options | null | undefined, test: Check | null | undefined) => import('./complex-types.js').Matches) &\n * ((node: Tree, test: Check) => import('./complex-types.js').Matches) &\n * ((node: Tree, options?: Options | null | undefined) => Tree)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {Options | Test | null | undefined} [options]\n * @param {Test | null | undefined} [test]\n * @returns {Node | null}\n */\n function (tree, options, test) {\n const is = convert(test || options)\n /** @type {boolean | null | undefined} */\n const cascadeRaw =\n options && typeof options === 'object' && 'cascade' in options\n ? /** @type {boolean | null | undefined} */ (options.cascade)\n : undefined\n const cascade =\n cascadeRaw === undefined || cascadeRaw === null ? true : cascadeRaw\n\n return preorder(tree)\n\n /**\n * @param {Node} node\n * Current node.\n * @param {number | undefined} [index]\n * Index of `node` in `parent`.\n * @param {Parent | undefined} [parent]\n * Parent node.\n * @returns {Node | null}\n * Shallow copy of `node`.\n */\n function preorder(node, index, parent) {\n /** @type {Array} */\n const children = []\n\n if (!is(node, index, parent)) return null\n\n // @ts-expect-error: Looks like a parent.\n if (node.children) {\n let childIndex = -1\n\n // @ts-expect-error Looks like a parent.\n while (++childIndex < node.children.length) {\n // @ts-expect-error Looks like a parent.\n const result = preorder(node.children[childIndex], childIndex, node)\n\n if (result) {\n children.push(result)\n }\n }\n\n // @ts-expect-error Looks like a parent.\n if (cascade && node.children.length > 0 && children.length === 0)\n return null\n }\n\n // Create a shallow clone, using the new children.\n /** @type {typeof node} */\n // @ts-expect-error all the fields will be copied over.\n const next = {}\n /** @type {string} */\n let key\n\n for (key in node) {\n if (own.call(node, key)) {\n // @ts-expect-error: Looks like a record.\n next[key] = key === 'children' ? children : node[key]\n }\n }\n\n return next\n }\n }\n )\n","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Root} Root\n * @typedef Options options\n * Configuration.\n * @property {boolean} [showLineNumbers]\n * Set `showLineNumbers` to `true` to always display line number\n * @property {boolean} [ignoreMissing]\n * Set `ignoreMissing` to `true` to ignore unsupported languages and line highlighting when no language is specified\n */\n\nimport { visit } from 'unist-util-visit'\nimport { toString } from 'hast-util-to-string'\nimport { filter } from 'unist-util-filter'\nimport rangeParser from 'parse-numeric-range'\n\n/**\n * @param {Element} node\n * @return {string|null}\n */\nconst getLanguage = (node) => {\n const className = node.properties.className\n //@ts-ignore\n for (const classListItem of className) {\n if (classListItem.slice(0, 9) === 'language-') {\n return classListItem.slice(9).toLowerCase()\n }\n }\n return null\n}\n\n/**\n * Create a closure that determines if we have to highlight the given index\n *\n * @param {string} meta\n * @return { (index:number) => boolean }\n */\nconst calculateLinesToHighlight = (meta) => {\n const RE = /{([\\d,-]+)}/\n // Remove space between {} e.g. {1, 3}\n const parsedMeta = meta\n .split(',')\n .map((str) => str.trim())\n .join()\n if (RE.test(parsedMeta)) {\n const strlineNumbers = RE.exec(parsedMeta)[1]\n const lineNumbers = rangeParser(strlineNumbers)\n return (index) => lineNumbers.includes(index + 1)\n } else {\n return () => false\n }\n}\n\n/**\n * Check if we want to start the line numbering from a given number or 1\n * showLineNumbers=5, will start the numbering from 5\n * @param {string} meta\n * @returns {number}\n */\nconst calculateStartingLine = (meta) => {\n const RE = /showLineNumbers=(?\\d+)/i\n // pick the line number after = using a named capturing group\n if (RE.test(meta)) {\n const {\n groups: { lines },\n } = RE.exec(meta)\n return Number(lines)\n }\n return 1\n}\n\n/**\n * Create container AST for node lines\n *\n * @param {number} number\n * @return {Element[]}\n */\nconst createLineNodes = (number) => {\n const a = new Array(number)\n for (let i = 0; i < number; i++) {\n a[i] = {\n type: 'element',\n tagName: 'span',\n properties: { className: [] },\n children: [],\n }\n }\n return a\n}\n\n/**\n * Split multiline text nodes into individual nodes with positioning\n * Add a node start and end line position information for each text node\n *\n * @return { (ast:Element['children']) => Element['children'] }\n *\n */\nconst addNodePositionClosure = () => {\n let startLineNum = 1\n /**\n * @param {Element['children']} ast\n * @return {Element['children']}\n */\n const addNodePosition = (ast) => {\n return ast.reduce((result, node) => {\n if (node.type === 'text') {\n const value = /** @type {string} */ (node.value)\n const numLines = (value.match(/\\n/g) || '').length\n if (numLines === 0) {\n node.position = {\n // column: 1 is needed to avoid error with @next/mdx\n // https://github.com/timlrx/rehype-prism-plus/issues/44\n start: { line: startLineNum, column: 1 },\n end: { line: startLineNum, column: 1 },\n }\n result.push(node)\n } else {\n const lines = value.split('\\n')\n for (const [i, line] of lines.entries()) {\n result.push({\n type: 'text',\n value: i === lines.length - 1 ? line : line + '\\n',\n position: {\n start: { line: startLineNum + i, column: 1 },\n end: { line: startLineNum + i, column: 1 },\n },\n })\n }\n }\n startLineNum = startLineNum + numLines\n\n return result\n }\n\n if (Object.prototype.hasOwnProperty.call(node, 'children')) {\n const initialLineNum = startLineNum\n // @ts-ignore\n node.children = addNodePosition(node.children, startLineNum)\n result.push(node)\n node.position = {\n start: { line: initialLineNum, column: 1 },\n end: { line: startLineNum, column: 1 },\n }\n return result\n }\n\n result.push(node)\n return result\n }, [])\n }\n return addNodePosition\n}\n\n/**\n * Rehype prism plugin generator that highlights code blocks with refractor (prismjs)\n *\n * Pass in your own refractor object with the required languages registered:\n * https://github.com/wooorm/refractor#refractorregistersyntax\n *\n * @param {import('refractor/lib/core').Refractor} refractor\n * @return {import('unified').Plugin<[Options?], Root>}\n */\nconst rehypePrismGenerator = (refractor) => {\n return (options = {}) => {\n return (tree) => {\n visit(tree, 'element', visitor)\n }\n\n /**\n * @param {Element} node\n * @param {number} index\n * @param {Element} parent\n */\n function visitor(node, index, parent) {\n if (!parent || parent.tagName !== 'pre' || node.tagName !== 'code') {\n return\n }\n\n let meta = /** @type {string} */ (node?.data?.meta || node?.properties?.metastring || '')\n // Coerce className to array\n if (node.properties.className) {\n if (typeof node.properties.className === 'boolean') {\n node.properties.className = []\n } else if (!Array.isArray(node.properties.className)) {\n node.properties.className = [node.properties.className]\n }\n } else {\n node.properties.className = []\n }\n node.properties.className.push('code-highlight')\n const lang = getLanguage(node)\n\n /** @type {Element} */\n let refractorRoot\n\n // Syntax highlight\n if (lang) {\n try {\n let rootLang\n if (lang?.includes('diff-')){\n rootLang=lang.split('-')[1]\n } else{\n rootLang=lang\n }\n // @ts-ignore\n refractorRoot = refractor.highlight(toString(node), rootLang)\n // @ts-ignore className is already an array\n parent.properties.className = (parent.properties.className || []).concat(\n 'language-' + rootLang\n )\n } catch (err) {\n if (options.ignoreMissing && /Unknown language/.test(err.message)) {\n refractorRoot = node\n } else {\n throw err\n }\n }\n } else {\n refractorRoot = node\n }\n\n refractorRoot.children = addNodePositionClosure()(refractorRoot.children)\n\n // Add position info to root\n if (refractorRoot.children.length > 0) {\n refractorRoot.position = {\n start: { line: refractorRoot.children[0].position.start.line, column: 0 },\n end: {\n line: refractorRoot.children[refractorRoot.children.length - 1].position.end.line,\n column: 0,\n },\n }\n } else {\n refractorRoot.position = {\n start: { line: 0, column: 0 },\n end: { line: 0, column: 0 },\n }\n }\n\n const shouldHighlightLine = calculateLinesToHighlight(meta)\n const startingLineNumber = calculateStartingLine(meta)\n const codeLineArray = createLineNodes(refractorRoot.position.end.line)\n\n const falseShowLineNumbersStr = [\n 'showlinenumbers=false',\n 'showlinenumbers=\"false\"',\n 'showlinenumbers={false}',\n ]\n for (const [i, line] of codeLineArray.entries()) {\n // Default class name for each line\n line.properties.className = ['code-line']\n\n // Syntax highlight\n const treeExtract = filter(\n refractorRoot,\n (node) => node.position.start.line <= i + 1 && node.position.end.line >= i + 1\n )\n line.children = treeExtract.children\n\n // Line number\n if (\n (meta.toLowerCase().includes('showLineNumbers'.toLowerCase()) ||\n options.showLineNumbers) &&\n !falseShowLineNumbersStr.some((str) => meta.toLowerCase().includes(str))\n ) {\n line.properties.line = [(i + startingLineNumber).toString()]\n line.properties.className.push('line-number')\n }\n\n // Line highlight\n if (shouldHighlightLine(i)) {\n line.properties.className.push('highlight-line')\n }\n\n // Diff classes\n if ((lang === 'diff' || lang?.includes('diff-')) && toString(line).substring(0, 1) === '-') {\n line.properties.className.push('deleted')\n } else if ((lang === 'diff' || lang?.includes('diff-')) && toString(line).substring(0, 1) === '+') {\n line.properties.className.push('inserted')\n }\n }\n\n // Remove possible trailing line when splitting by \\n which results in empty array\n if (\n codeLineArray.length > 0 &&\n toString(codeLineArray[codeLineArray.length - 1]).trim() === ''\n ) {\n codeLineArray.pop()\n }\n\n node.children = codeLineArray\n }\n }\n}\n\nexport default rehypePrismGenerator\n","import { refractor as refractorAll } from 'refractor/lib/all.js'\nimport rehypePrismGenerator from './generator.js'\n\n/**\n * Rehype prism plugin that highlights code blocks with refractor (prismjs)\n * This supports all the languages and should be used on the server side.\n *\n * Consider using rehypePrismCommon or rehypePrismGenerator to generate a plugin\n * that supports your required languages.\n */\nconst rehypePrismAll = rehypePrismGenerator(refractorAll)\n\nexport default rehypePrismAll\n","import { refractor as refractorCommon } from 'refractor/lib/common.js'\nimport rehypePrismGenerator from './generator.js'\n\n/**\n * Rehype prism plugin that highlights code blocks with refractor (prismjs)\n * Supported languages: https://github.com/wooorm/refractor#data\n *\n * Consider using rehypePrismGenerator to generate a plugin\n * that supports your required languages.\n */\nconst rehypePrismCommon = rehypePrismGenerator(refractorCommon)\n\nexport default rehypePrismCommon\n","const rtlRange = '\\u0591-\\u07FF\\uFB1D-\\uFDFD\\uFE70-\\uFEFC'\nconst ltrRange =\n 'A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6' +\n '\\u00F8-\\u02B8\\u0300-\\u0590\\u0800-\\u1FFF\\u200E\\u2C00-\\uFB1C' +\n '\\uFE00-\\uFE6F\\uFEFD-\\uFFFF'\n\n/* eslint-disable no-misleading-character-class */\nconst rtl = new RegExp('^[^' + ltrRange + ']*[' + rtlRange + ']')\nconst ltr = new RegExp('^[^' + rtlRange + ']*[' + ltrRange + ']')\n/* eslint-enable no-misleading-character-class */\n\n/**\n * Detect the direction of text: left-to-right, right-to-left, or neutral\n *\n * @param {string} value\n * @returns {'rtl'|'ltr'|'neutral'}\n */\nexport function direction(value) {\n const source = String(value || '')\n return rtl.test(source) ? 'rtl' : ltr.test(source) ? 'ltr' : 'neutral'\n}\n","/**\n * @typedef {import('./types.js').SelectState} SelectState\n * @typedef {import('./types.js').Node} Node\n * @typedef {import('./types.js').ElementChild} ElementChild\n * @typedef {import('./types.js').Direction} Direction\n * @typedef {import('unist-util-visit/complex-types.js').Visitor} Visitor\n */\n\nimport {direction} from 'direction'\nimport {toString} from 'hast-util-to-string'\nimport {svg} from 'property-information'\nimport {visit, EXIT, SKIP} from 'unist-util-visit'\n\n/**\n * Enter a node.\n *\n * The caller is responsible for calling the return value `exit`.\n *\n * @param {SelectState} state\n * Current state.\n *\n * Will be mutated: `exit` undos the changes.\n * @param {Node} node\n * Node to enter.\n * @returns {() => void}\n * Call to exit.\n */\n// eslint-disable-next-line complexity\nexport function enterState(state, node) {\n const schema = state.schema\n const language = state.language\n const currentDirection = state.direction\n const editableOrEditingHost = state.editableOrEditingHost\n /** @type {Direction | undefined} */\n let dirInferred\n\n if (node.type === 'element' && node.properties) {\n const lang = node.properties.xmlLang || node.properties.lang\n const type = node.properties.type || 'text'\n const dir = dirProperty(node)\n\n if (lang !== undefined && lang !== null) {\n state.language = String(lang)\n }\n\n if (schema && schema.space === 'html') {\n if (node.properties.contentEditable === 'true') {\n state.editableOrEditingHost = true\n }\n\n if (node.tagName === 'svg') {\n state.schema = svg\n }\n\n // See: .\n // Explicit `[dir=rtl]`.\n if (dir === 'rtl') {\n dirInferred = dir\n } else if (\n // Explicit `[dir=ltr]`.\n dir === 'ltr' ||\n // HTML with an invalid or no `[dir]`.\n (dir !== 'auto' && node.tagName === 'html') ||\n // `input[type=tel]` with an invalid or no `[dir]`.\n (dir !== 'auto' && node.tagName === 'input' && type === 'tel')\n ) {\n dirInferred = 'ltr'\n // `[dir=auto]` or `bdi` with an invalid or no `[dir]`.\n } else if (dir === 'auto' || node.tagName === 'bdi') {\n if (node.tagName === 'textarea') {\n // Check contents of `