v-code-diff 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,84 +1,84 @@
1
- (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #1F2328;--color-diff-blob-addition-fg: #1F2328;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--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-codemirror-text: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #1f883d;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(31,35,40,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(31,35,40,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(31,35,40,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-scale-black: #1F2328;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#ffffff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--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-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .file-diff-split .no-select{user-select:none}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as Ae, openBlock as G, createElementBlock as W, createElementVNode as U, normalizeClass as me, unref as F, toDisplayString as ee, createCommentVNode as ve, Fragment as pe, renderList as Ge, createBlock as Ce, computed as Ee, ref as Fn, watch as zn, normalizeStyle as xn, renderSlot as en } from "vue";
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #1F2328;--color-diff-blob-addition-fg: #1F2328;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--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-codemirror-text: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #1f883d;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(31,35,40,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(31,35,40,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(31,35,40,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-scale-black: #1F2328;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#ffffff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--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-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{position:sticky;top:0;z-index:1;background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .current-diff{border:1px solid var(--color-border-muted)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .file-diff-split .no-select{user-select:none}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { defineComponent as Ae, openBlock as G, createElementBlock as W, createElementVNode as B, normalizeClass as me, unref as F, toDisplayString as ee, createCommentVNode as ve, Fragment as pe, renderList as Ke, createBlock as Ie, computed as Ee, ref as nn, watch as Wn, normalizeStyle as Qn, createVNode as De, renderSlot as tn } from "vue";
3
3
  function ae() {
4
4
  }
5
5
  ae.prototype = {
6
6
  diff: function(r, l) {
7
- var u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, g = u.callback;
8
- typeof u == "function" && (g = u, u = {}), this.options = u;
7
+ var f = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, g = f.callback;
8
+ typeof f == "function" && (g = f, f = {}), this.options = f;
9
9
  var n = this;
10
- function t(d) {
10
+ function t(p) {
11
11
  return g ? (setTimeout(function() {
12
- g(void 0, d);
13
- }, 0), !0) : d;
12
+ g(void 0, p);
13
+ }, 0), !0) : p;
14
14
  }
15
15
  r = this.castInput(r), l = this.castInput(l), r = this.removeEmpty(this.tokenize(r)), l = this.removeEmpty(this.tokenize(l));
16
- var i = l.length, s = r.length, o = 1, a = i + s;
17
- u.maxEditLength && (a = Math.min(a, u.maxEditLength));
16
+ var i = l.length, s = r.length, a = 1, o = i + s;
17
+ f.maxEditLength && (o = Math.min(o, f.maxEditLength));
18
18
  var c = [{
19
19
  newPos: -1,
20
20
  components: []
21
- }], f = this.extractCommon(c[0], l, r, 0);
22
- if (c[0].newPos + 1 >= i && f + 1 >= s)
21
+ }], u = this.extractCommon(c[0], l, r, 0);
22
+ if (c[0].newPos + 1 >= i && u + 1 >= s)
23
23
  return t([{
24
24
  value: this.join(l),
25
25
  count: l.length
26
26
  }]);
27
- function h() {
28
- for (var d = -1 * o; d <= o; d += 2) {
29
- var _ = void 0, m = c[d - 1], b = c[d + 1], y = (b ? b.newPos : 0) - d;
30
- m && (c[d - 1] = void 0);
31
- var M = m && m.newPos + 1 < i, L = b && 0 <= y && y < s;
32
- if (!M && !L) {
33
- c[d] = void 0;
27
+ function d() {
28
+ for (var p = -1 * a; p <= a; p += 2) {
29
+ var _ = void 0, E = c[p - 1], m = c[p + 1], v = (m ? m.newPos : 0) - p;
30
+ E && (c[p - 1] = void 0);
31
+ var A = E && E.newPos + 1 < i, D = m && 0 <= v && v < s;
32
+ if (!A && !D) {
33
+ c[p] = void 0;
34
34
  continue;
35
35
  }
36
- if (!M || L && m.newPos < b.newPos ? (_ = Kn(b), n.pushComponent(_.components, void 0, !0)) : (_ = m, _.newPos++, n.pushComponent(_.components, !0, void 0)), y = n.extractCommon(_, l, r, d), _.newPos + 1 >= i && y + 1 >= s)
37
- return t(Gn(n, _.components, l, r, n.useLongestToken));
38
- c[d] = _;
36
+ if (!A || D && E.newPos < m.newPos ? (_ = Yn(m), n.pushComponent(_.components, void 0, !0)) : (_ = E, _.newPos++, n.pushComponent(_.components, !0, void 0)), v = n.extractCommon(_, l, r, p), _.newPos + 1 >= i && v + 1 >= s)
37
+ return t(Zn(n, _.components, l, r, n.useLongestToken));
38
+ c[p] = _;
39
39
  }
40
- o++;
40
+ a++;
41
41
  }
42
42
  if (g)
43
- (function d() {
43
+ (function p() {
44
44
  setTimeout(function() {
45
- if (o > a)
45
+ if (a > o)
46
46
  return g();
47
- h() || d();
47
+ d() || p();
48
48
  }, 0);
49
49
  })();
50
50
  else
51
- for (; o <= a; ) {
52
- var p = h();
53
- if (p)
54
- return p;
51
+ for (; a <= o; ) {
52
+ var h = d();
53
+ if (h)
54
+ return h;
55
55
  }
56
56
  },
57
- pushComponent: function(r, l, u) {
57
+ pushComponent: function(r, l, f) {
58
58
  var g = r[r.length - 1];
59
- g && g.added === l && g.removed === u ? r[r.length - 1] = {
59
+ g && g.added === l && g.removed === f ? r[r.length - 1] = {
60
60
  count: g.count + 1,
61
61
  added: l,
62
- removed: u
62
+ removed: f
63
63
  } : r.push({
64
64
  count: 1,
65
65
  added: l,
66
- removed: u
66
+ removed: f
67
67
  });
68
68
  },
69
- extractCommon: function(r, l, u, g) {
70
- for (var n = l.length, t = u.length, i = r.newPos, s = i - g, o = 0; i + 1 < n && s + 1 < t && this.equals(l[i + 1], u[s + 1]); )
71
- i++, s++, o++;
72
- return o && r.components.push({
73
- count: o
69
+ extractCommon: function(r, l, f, g) {
70
+ for (var n = l.length, t = f.length, i = r.newPos, s = i - g, a = 0; i + 1 < n && s + 1 < t && this.equals(l[i + 1], f[s + 1]); )
71
+ i++, s++, a++;
72
+ return a && r.components.push({
73
+ count: a
74
74
  }), r.newPos = i, s;
75
75
  },
76
76
  equals: function(r, l) {
77
77
  return this.options.comparator ? this.options.comparator(r, l) : r === l || this.options.ignoreCase && r.toLowerCase() === l.toLowerCase();
78
78
  },
79
79
  removeEmpty: function(r) {
80
- for (var l = [], u = 0; u < r.length; u++)
81
- r[u] && l.push(r[u]);
80
+ for (var l = [], f = 0; f < r.length; f++)
81
+ r[f] && l.push(r[f]);
82
82
  return l;
83
83
  },
84
84
  castInput: function(r) {
@@ -91,40 +91,40 @@ ae.prototype = {
91
91
  return r.join("");
92
92
  }
93
93
  };
94
- function Gn(e, r, l, u, g) {
94
+ function Zn(e, r, l, f, g) {
95
95
  for (var n = 0, t = r.length, i = 0, s = 0; n < t; n++) {
96
- var o = r[n];
97
- if (o.removed) {
98
- if (o.value = e.join(u.slice(s, s + o.count)), s += o.count, n && r[n - 1].added) {
96
+ var a = r[n];
97
+ if (a.removed) {
98
+ if (a.value = e.join(f.slice(s, s + a.count)), s += a.count, n && r[n - 1].added) {
99
99
  var c = r[n - 1];
100
100
  r[n - 1] = r[n], r[n] = c;
101
101
  }
102
102
  } else {
103
- if (!o.added && g) {
104
- var a = l.slice(i, i + o.count);
105
- a = a.map(function(h, p) {
106
- var d = u[s + p];
107
- return d.length > h.length ? d : h;
108
- }), o.value = e.join(a);
103
+ if (!a.added && g) {
104
+ var o = l.slice(i, i + a.count);
105
+ o = o.map(function(d, h) {
106
+ var p = f[s + h];
107
+ return p.length > d.length ? p : d;
108
+ }), a.value = e.join(o);
109
109
  } else
110
- o.value = e.join(l.slice(i, i + o.count));
111
- i += o.count, o.added || (s += o.count);
110
+ a.value = e.join(l.slice(i, i + a.count));
111
+ i += a.count, a.added || (s += a.count);
112
112
  }
113
113
  }
114
- var f = r[t - 1];
115
- return t > 1 && typeof f.value == "string" && (f.added || f.removed) && e.equals("", f.value) && (r[t - 2].value += f.value, r.pop()), r;
114
+ var u = r[t - 1];
115
+ return t > 1 && typeof u.value == "string" && (u.added || u.removed) && e.equals("", u.value) && (r[t - 2].value += u.value, r.pop()), r;
116
116
  }
117
- function Kn(e) {
117
+ function Yn(e) {
118
118
  return {
119
119
  newPos: e.newPos,
120
120
  components: e.components.slice(0)
121
121
  };
122
122
  }
123
- var Wn = new ae();
124
- function Qn(e, r, l) {
125
- return Wn.diff(e, r, l);
123
+ var Xn = new ae();
124
+ function Vn(e, r, l) {
125
+ return Xn.diff(e, r, l);
126
126
  }
127
- function Zn(e, r) {
127
+ function jn(e, r) {
128
128
  if (typeof e == "function")
129
129
  r.callback = e;
130
130
  else if (e)
@@ -132,268 +132,268 @@ function Zn(e, r) {
132
132
  e.hasOwnProperty(l) && (r[l] = e[l]);
133
133
  return r;
134
134
  }
135
- var nn = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, tn = /\S/, Ke = new ae();
136
- Ke.equals = function(e, r) {
137
- return this.options.ignoreCase && (e = e.toLowerCase(), r = r.toLowerCase()), e === r || this.options.ignoreWhitespace && !tn.test(e) && !tn.test(r);
135
+ var rn = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, sn = /\S/, We = new ae();
136
+ We.equals = function(e, r) {
137
+ return this.options.ignoreCase && (e = e.toLowerCase(), r = r.toLowerCase()), e === r || this.options.ignoreWhitespace && !sn.test(e) && !sn.test(r);
138
138
  };
139
- Ke.tokenize = function(e) {
139
+ We.tokenize = function(e) {
140
140
  for (var r = e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), l = 0; l < r.length - 1; l++)
141
- !r[l + 1] && r[l + 2] && nn.test(r[l]) && nn.test(r[l + 2]) && (r[l] += r[l + 2], r.splice(l + 1, 2), l--);
141
+ !r[l + 1] && r[l + 2] && rn.test(r[l]) && rn.test(r[l + 2]) && (r[l] += r[l + 2], r.splice(l + 1, 2), l--);
142
142
  return r;
143
143
  };
144
- function Yn(e, r, l) {
145
- return l = Zn(l, {
144
+ function qn(e, r, l) {
145
+ return l = jn(l, {
146
146
  ignoreWhitespace: !0
147
- }), Ke.diff(e, r, l);
147
+ }), We.diff(e, r, l);
148
148
  }
149
- var hn = new ae();
150
- hn.tokenize = function(e) {
149
+ var bn = new ae();
150
+ bn.tokenize = function(e) {
151
151
  var r = [], l = e.split(/(\n|\r\n)/);
152
152
  l[l.length - 1] || l.pop();
153
- for (var u = 0; u < l.length; u++) {
154
- var g = l[u];
155
- u % 2 && !this.options.newlineIsToken ? r[r.length - 1] += g : (this.options.ignoreWhitespace && (g = g.trim()), r.push(g));
153
+ for (var f = 0; f < l.length; f++) {
154
+ var g = l[f];
155
+ f % 2 && !this.options.newlineIsToken ? r[r.length - 1] += g : (this.options.ignoreWhitespace && (g = g.trim()), r.push(g));
156
156
  }
157
157
  return r;
158
158
  };
159
- var Xn = new ae();
160
- Xn.tokenize = function(e) {
159
+ var Jn = new ae();
160
+ Jn.tokenize = function(e) {
161
161
  return e.split(/(\S.+?[.!?])(?=\s+|$)/);
162
162
  };
163
- var jn = new ae();
164
- jn.tokenize = function(e) {
163
+ var et = new ae();
164
+ et.tokenize = function(e) {
165
165
  return e.split(/([{}:;,]|\s+)/);
166
166
  };
167
- function Oe(e) {
167
+ function Ce(e) {
168
168
  "@babel/helpers - typeof";
169
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Oe = function(r) {
169
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ce = function(r) {
170
170
  return typeof r;
171
- } : Oe = function(r) {
171
+ } : Ce = function(r) {
172
172
  return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
173
- }, Oe(e);
173
+ }, Ce(e);
174
174
  }
175
- var Vn = Object.prototype.toString, ye = new ae();
176
- ye.useLongestToken = !0;
177
- ye.tokenize = hn.tokenize;
178
- ye.castInput = function(e) {
179
- var r = this.options, l = r.undefinedReplacement, u = r.stringifyReplacer, g = u === void 0 ? function(n, t) {
175
+ var nt = Object.prototype.toString, we = new ae();
176
+ we.useLongestToken = !0;
177
+ we.tokenize = bn.tokenize;
178
+ we.castInput = function(e) {
179
+ var r = this.options, l = r.undefinedReplacement, f = r.stringifyReplacer, g = f === void 0 ? function(n, t) {
180
180
  return typeof t == "undefined" ? l : t;
181
- } : u;
182
- return typeof e == "string" ? e : JSON.stringify(ze(e, null, null, g), g, " ");
181
+ } : f;
182
+ return typeof e == "string" ? e : JSON.stringify(xe(e, null, null, g), g, " ");
183
183
  };
184
- ye.equals = function(e, r) {
185
- return ae.prototype.equals.call(ye, e.replace(/,([\r\n])/g, "$1"), r.replace(/,([\r\n])/g, "$1"));
184
+ we.equals = function(e, r) {
185
+ return ae.prototype.equals.call(we, e.replace(/,([\r\n])/g, "$1"), r.replace(/,([\r\n])/g, "$1"));
186
186
  };
187
- function ze(e, r, l, u, g) {
188
- r = r || [], l = l || [], u && (e = u(g, e));
187
+ function xe(e, r, l, f, g) {
188
+ r = r || [], l = l || [], f && (e = f(g, e));
189
189
  var n;
190
190
  for (n = 0; n < r.length; n += 1)
191
191
  if (r[n] === e)
192
192
  return l[n];
193
193
  var t;
194
- if (Vn.call(e) === "[object Array]") {
194
+ if (nt.call(e) === "[object Array]") {
195
195
  for (r.push(e), t = new Array(e.length), l.push(t), n = 0; n < e.length; n += 1)
196
- t[n] = ze(e[n], r, l, u, g);
196
+ t[n] = xe(e[n], r, l, f, g);
197
197
  return r.pop(), l.pop(), t;
198
198
  }
199
- if (e && e.toJSON && (e = e.toJSON()), Oe(e) === "object" && e !== null) {
199
+ if (e && e.toJSON && (e = e.toJSON()), Ce(e) === "object" && e !== null) {
200
200
  r.push(e), t = {}, l.push(t);
201
201
  var i = [], s;
202
202
  for (s in e)
203
203
  e.hasOwnProperty(s) && i.push(s);
204
204
  for (i.sort(), n = 0; n < i.length; n += 1)
205
- s = i[n], t[s] = ze(e[s], r, l, u, s);
205
+ s = i[n], t[s] = xe(e[s], r, l, f, s);
206
206
  r.pop(), l.pop();
207
207
  } else
208
208
  t = e;
209
209
  return t;
210
210
  }
211
- var xe = new ae();
212
- xe.tokenize = function(e) {
211
+ var Ge = new ae();
212
+ Ge.tokenize = function(e) {
213
213
  return e.slice();
214
214
  };
215
- xe.join = xe.removeEmpty = function(e) {
215
+ Ge.join = Ge.removeEmpty = function(e) {
216
216
  return e;
217
217
  };
218
- function Jn(e) {
218
+ function tt(e) {
219
219
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
220
220
  }
221
- var dn = { exports: {} };
221
+ var En = { exports: {} };
222
222
  (function(e) {
223
223
  var r = function() {
224
224
  this.Diff_Timeout = 1, this.Diff_EditCost = 4, this.Match_Threshold = 0.5, this.Match_Distance = 1e3, this.Patch_DeleteThreshold = 0.5, this.Patch_Margin = 4, this.Match_MaxBits = 32;
225
- }, l = -1, u = 1, g = 0;
225
+ }, l = -1, f = 1, g = 0;
226
226
  r.Diff = function(n, t) {
227
227
  return [n, t];
228
228
  }, r.prototype.diff_main = function(n, t, i, s) {
229
229
  typeof s == "undefined" && (this.Diff_Timeout <= 0 ? s = Number.MAX_VALUE : s = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
230
- var o = s;
230
+ var a = s;
231
231
  if (n == null || t == null)
232
232
  throw new Error("Null input. (diff_main)");
233
233
  if (n == t)
234
234
  return n ? [new r.Diff(g, n)] : [];
235
235
  typeof i == "undefined" && (i = !0);
236
- var a = i, c = this.diff_commonPrefix(n, t), f = n.substring(0, c);
236
+ var o = i, c = this.diff_commonPrefix(n, t), u = n.substring(0, c);
237
237
  n = n.substring(c), t = t.substring(c), c = this.diff_commonSuffix(n, t);
238
- var h = n.substring(n.length - c);
238
+ var d = n.substring(n.length - c);
239
239
  n = n.substring(0, n.length - c), t = t.substring(0, t.length - c);
240
- var p = this.diff_compute_(n, t, a, o);
241
- return f && p.unshift(new r.Diff(g, f)), h && p.push(new r.Diff(g, h)), this.diff_cleanupMerge(p), p;
240
+ var h = this.diff_compute_(n, t, o, a);
241
+ return u && h.unshift(new r.Diff(g, u)), d && h.push(new r.Diff(g, d)), this.diff_cleanupMerge(h), h;
242
242
  }, r.prototype.diff_compute_ = function(n, t, i, s) {
243
- var o;
243
+ var a;
244
244
  if (!n)
245
- return [new r.Diff(u, t)];
245
+ return [new r.Diff(f, t)];
246
246
  if (!t)
247
247
  return [new r.Diff(l, n)];
248
- var a = n.length > t.length ? n : t, c = n.length > t.length ? t : n, f = a.indexOf(c);
249
- if (f != -1)
250
- return o = [
251
- new r.Diff(u, a.substring(0, f)),
248
+ var o = n.length > t.length ? n : t, c = n.length > t.length ? t : n, u = o.indexOf(c);
249
+ if (u != -1)
250
+ return a = [
251
+ new r.Diff(f, o.substring(0, u)),
252
252
  new r.Diff(g, c),
253
253
  new r.Diff(
254
- u,
255
- a.substring(f + c.length)
254
+ f,
255
+ o.substring(u + c.length)
256
256
  )
257
- ], n.length > t.length && (o[0][0] = o[2][0] = l), o;
257
+ ], n.length > t.length && (a[0][0] = a[2][0] = l), a;
258
258
  if (c.length == 1)
259
259
  return [
260
260
  new r.Diff(l, n),
261
- new r.Diff(u, t)
261
+ new r.Diff(f, t)
262
262
  ];
263
- var h = this.diff_halfMatch_(n, t);
264
- if (h) {
265
- var p = h[0], d = h[1], _ = h[2], m = h[3], b = h[4], y = this.diff_main(p, _, i, s), M = this.diff_main(d, m, i, s);
266
- return y.concat(
267
- [new r.Diff(g, b)],
268
- M
263
+ var d = this.diff_halfMatch_(n, t);
264
+ if (d) {
265
+ var h = d[0], p = d[1], _ = d[2], E = d[3], m = d[4], v = this.diff_main(h, _, i, s), A = this.diff_main(p, E, i, s);
266
+ return v.concat(
267
+ [new r.Diff(g, m)],
268
+ A
269
269
  );
270
270
  }
271
271
  return i && n.length > 100 && t.length > 100 ? this.diff_lineMode_(n, t, s) : this.diff_bisect_(n, t, s);
272
272
  }, r.prototype.diff_lineMode_ = function(n, t, i) {
273
273
  var s = this.diff_linesToChars_(n, t);
274
274
  n = s.chars1, t = s.chars2;
275
- var o = s.lineArray, a = this.diff_main(n, t, !1, i);
276
- this.diff_charsToLines_(a, o), this.diff_cleanupSemantic(a), a.push(new r.Diff(g, ""));
277
- for (var c = 0, f = 0, h = 0, p = "", d = ""; c < a.length; ) {
278
- switch (a[c][0]) {
279
- case u:
280
- h++, d += a[c][1];
275
+ var a = s.lineArray, o = this.diff_main(n, t, !1, i);
276
+ this.diff_charsToLines_(o, a), this.diff_cleanupSemantic(o), o.push(new r.Diff(g, ""));
277
+ for (var c = 0, u = 0, d = 0, h = "", p = ""; c < o.length; ) {
278
+ switch (o[c][0]) {
279
+ case f:
280
+ d++, p += o[c][1];
281
281
  break;
282
282
  case l:
283
- f++, p += a[c][1];
283
+ u++, h += o[c][1];
284
284
  break;
285
285
  case g:
286
- if (f >= 1 && h >= 1) {
287
- a.splice(
288
- c - f - h,
289
- f + h
290
- ), c = c - f - h;
291
- for (var _ = this.diff_main(p, d, !1, i), m = _.length - 1; m >= 0; m--)
292
- a.splice(c, 0, _[m]);
286
+ if (u >= 1 && d >= 1) {
287
+ o.splice(
288
+ c - u - d,
289
+ u + d
290
+ ), c = c - u - d;
291
+ for (var _ = this.diff_main(h, p, !1, i), E = _.length - 1; E >= 0; E--)
292
+ o.splice(c, 0, _[E]);
293
293
  c = c + _.length;
294
294
  }
295
- h = 0, f = 0, p = "", d = "";
295
+ d = 0, u = 0, h = "", p = "";
296
296
  break;
297
297
  }
298
298
  c++;
299
299
  }
300
- return a.pop(), a;
300
+ return o.pop(), o;
301
301
  }, r.prototype.diff_bisect_ = function(n, t, i) {
302
- for (var s = n.length, o = t.length, a = Math.ceil((s + o) / 2), c = a, f = 2 * a, h = new Array(f), p = new Array(f), d = 0; d < f; d++)
303
- h[d] = -1, p[d] = -1;
304
- h[c + 1] = 0, p[c + 1] = 0;
305
- for (var _ = s - o, m = _ % 2 != 0, b = 0, y = 0, M = 0, L = 0, N = 0; N < a && !((/* @__PURE__ */ new Date()).getTime() > i); N++) {
306
- for (var D = -N + b; D <= N - y; D += 2) {
307
- var R = c + D, S;
308
- D == -N || D != N && h[R - 1] < h[R + 1] ? S = h[R + 1] : S = h[R - 1] + 1;
309
- for (var $ = S - D; S < s && $ < o && n.charAt(S) == t.charAt($); )
310
- S++, $++;
311
- if (h[R] = S, S > s)
312
- y += 2;
313
- else if ($ > o)
314
- b += 2;
315
- else if (m) {
316
- var k = c + _ - D;
317
- if (k >= 0 && k < f && p[k] != -1) {
318
- var H = s - p[k];
319
- if (S >= H)
320
- return this.diff_bisectSplit_(n, t, S, $, i);
302
+ for (var s = n.length, a = t.length, o = Math.ceil((s + a) / 2), c = o, u = 2 * o, d = new Array(u), h = new Array(u), p = 0; p < u; p++)
303
+ d[p] = -1, h[p] = -1;
304
+ d[c + 1] = 0, h[c + 1] = 0;
305
+ for (var _ = s - a, E = _ % 2 != 0, m = 0, v = 0, A = 0, D = 0, S = 0; S < o && !((/* @__PURE__ */ new Date()).getTime() > i); S++) {
306
+ for (var M = -S + m; M <= S - v; M += 2) {
307
+ var R = c + M, L;
308
+ M == -S || M != S && d[R - 1] < d[R + 1] ? L = d[R + 1] : L = d[R - 1] + 1;
309
+ for (var I = L - M; L < s && I < a && n.charAt(L) == t.charAt(I); )
310
+ L++, I++;
311
+ if (d[R] = L, L > s)
312
+ v += 2;
313
+ else if (I > a)
314
+ m += 2;
315
+ else if (E) {
316
+ var P = c + _ - M;
317
+ if (P >= 0 && P < u && h[P] != -1) {
318
+ var $ = s - h[P];
319
+ if (L >= $)
320
+ return this.diff_bisectSplit_(n, t, L, I, i);
321
321
  }
322
322
  }
323
323
  }
324
- for (var K = -N + M; K <= N - L; K += 2) {
325
- var k = c + K, H;
326
- K == -N || K != N && p[k - 1] < p[k + 1] ? H = p[k + 1] : H = p[k - 1] + 1;
327
- for (var Y = H - K; H < s && Y < o && n.charAt(s - H - 1) == t.charAt(o - Y - 1); )
328
- H++, Y++;
329
- if (p[k] = H, H > s)
330
- L += 2;
331
- else if (Y > o)
332
- M += 2;
333
- else if (!m) {
324
+ for (var K = -S + A; K <= S - D; K += 2) {
325
+ var P = c + K, $;
326
+ K == -S || K != S && h[P - 1] < h[P + 1] ? $ = h[P + 1] : $ = h[P - 1] + 1;
327
+ for (var Y = $ - K; $ < s && Y < a && n.charAt(s - $ - 1) == t.charAt(a - Y - 1); )
328
+ $++, Y++;
329
+ if (h[P] = $, $ > s)
330
+ D += 2;
331
+ else if (Y > a)
332
+ A += 2;
333
+ else if (!E) {
334
334
  var R = c + _ - K;
335
- if (R >= 0 && R < f && h[R] != -1) {
336
- var S = h[R], $ = c + S - R;
337
- if (H = s - H, S >= H)
338
- return this.diff_bisectSplit_(n, t, S, $, i);
335
+ if (R >= 0 && R < u && d[R] != -1) {
336
+ var L = d[R], I = c + L - R;
337
+ if ($ = s - $, L >= $)
338
+ return this.diff_bisectSplit_(n, t, L, I, i);
339
339
  }
340
340
  }
341
341
  }
342
342
  }
343
343
  return [
344
344
  new r.Diff(l, n),
345
- new r.Diff(u, t)
345
+ new r.Diff(f, t)
346
346
  ];
347
- }, r.prototype.diff_bisectSplit_ = function(n, t, i, s, o) {
348
- var a = n.substring(0, i), c = t.substring(0, s), f = n.substring(i), h = t.substring(s), p = this.diff_main(a, c, !1, o), d = this.diff_main(f, h, !1, o);
349
- return p.concat(d);
347
+ }, r.prototype.diff_bisectSplit_ = function(n, t, i, s, a) {
348
+ var o = n.substring(0, i), c = t.substring(0, s), u = n.substring(i), d = t.substring(s), h = this.diff_main(o, c, !1, a), p = this.diff_main(u, d, !1, a);
349
+ return h.concat(p);
350
350
  }, r.prototype.diff_linesToChars_ = function(n, t) {
351
351
  var i = [], s = {};
352
352
  i[0] = "";
353
- function o(h) {
354
- for (var p = "", d = 0, _ = -1, m = i.length; _ < h.length - 1; ) {
355
- _ = h.indexOf(`
356
- `, d), _ == -1 && (_ = h.length - 1);
357
- var b = h.substring(d, _ + 1);
358
- (s.hasOwnProperty ? s.hasOwnProperty(b) : s[b] !== void 0) ? p += String.fromCharCode(s[b]) : (m == a && (b = h.substring(d), _ = h.length), p += String.fromCharCode(m), s[b] = m, i[m++] = b), d = _ + 1;
353
+ function a(d) {
354
+ for (var h = "", p = 0, _ = -1, E = i.length; _ < d.length - 1; ) {
355
+ _ = d.indexOf(`
356
+ `, p), _ == -1 && (_ = d.length - 1);
357
+ var m = d.substring(p, _ + 1);
358
+ (s.hasOwnProperty ? s.hasOwnProperty(m) : s[m] !== void 0) ? h += String.fromCharCode(s[m]) : (E == o && (m = d.substring(p), _ = d.length), h += String.fromCharCode(E), s[m] = E, i[E++] = m), p = _ + 1;
359
359
  }
360
- return p;
360
+ return h;
361
361
  }
362
- var a = 4e4, c = o(n);
363
- a = 65535;
364
- var f = o(t);
365
- return { chars1: c, chars2: f, lineArray: i };
362
+ var o = 4e4, c = a(n);
363
+ o = 65535;
364
+ var u = a(t);
365
+ return { chars1: c, chars2: u, lineArray: i };
366
366
  }, r.prototype.diff_charsToLines_ = function(n, t) {
367
367
  for (var i = 0; i < n.length; i++) {
368
- for (var s = n[i][1], o = [], a = 0; a < s.length; a++)
369
- o[a] = t[s.charCodeAt(a)];
370
- n[i][1] = o.join("");
368
+ for (var s = n[i][1], a = [], o = 0; o < s.length; o++)
369
+ a[o] = t[s.charCodeAt(o)];
370
+ n[i][1] = a.join("");
371
371
  }
372
372
  }, r.prototype.diff_commonPrefix = function(n, t) {
373
373
  if (!n || !t || n.charAt(0) != t.charAt(0))
374
374
  return 0;
375
- for (var i = 0, s = Math.min(n.length, t.length), o = s, a = 0; i < o; )
376
- n.substring(a, o) == t.substring(a, o) ? (i = o, a = i) : s = o, o = Math.floor((s - i) / 2 + i);
377
- return o;
375
+ for (var i = 0, s = Math.min(n.length, t.length), a = s, o = 0; i < a; )
376
+ n.substring(o, a) == t.substring(o, a) ? (i = a, o = i) : s = a, a = Math.floor((s - i) / 2 + i);
377
+ return a;
378
378
  }, r.prototype.diff_commonSuffix = function(n, t) {
379
379
  if (!n || !t || n.charAt(n.length - 1) != t.charAt(t.length - 1))
380
380
  return 0;
381
- for (var i = 0, s = Math.min(n.length, t.length), o = s, a = 0; i < o; )
382
- n.substring(n.length - o, n.length - a) == t.substring(t.length - o, t.length - a) ? (i = o, a = i) : s = o, o = Math.floor((s - i) / 2 + i);
383
- return o;
381
+ for (var i = 0, s = Math.min(n.length, t.length), a = s, o = 0; i < a; )
382
+ n.substring(n.length - a, n.length - o) == t.substring(t.length - a, t.length - o) ? (i = a, o = i) : s = a, a = Math.floor((s - i) / 2 + i);
383
+ return a;
384
384
  }, r.prototype.diff_commonOverlap_ = function(n, t) {
385
385
  var i = n.length, s = t.length;
386
386
  if (i == 0 || s == 0)
387
387
  return 0;
388
388
  i > s ? n = n.substring(i - s) : i < s && (t = t.substring(0, i));
389
- var o = Math.min(i, s);
389
+ var a = Math.min(i, s);
390
390
  if (n == t)
391
- return o;
392
- for (var a = 0, c = 1; ; ) {
393
- var f = n.substring(o - c), h = t.indexOf(f);
394
- if (h == -1)
395
- return a;
396
- c += h, (h == 0 || n.substring(o - c) == t.substring(0, c)) && (a = c, c++);
391
+ return a;
392
+ for (var o = 0, c = 1; ; ) {
393
+ var u = n.substring(a - c), d = t.indexOf(u);
394
+ if (d == -1)
395
+ return o;
396
+ c += d, (d == 0 || n.substring(a - c) == t.substring(0, c)) && (o = c, c++);
397
397
  }
398
398
  }, r.prototype.diff_halfMatch_ = function(n, t) {
399
399
  if (this.Diff_Timeout <= 0)
@@ -401,160 +401,160 @@ var dn = { exports: {} };
401
401
  var i = n.length > t.length ? n : t, s = n.length > t.length ? t : n;
402
402
  if (i.length < 4 || s.length * 2 < i.length)
403
403
  return null;
404
- var o = this;
405
- function a(y, M, L) {
406
- for (var N = y.substring(L, L + Math.floor(y.length / 4)), D = -1, R = "", S, $, k, H; (D = M.indexOf(N, D + 1)) != -1; ) {
407
- var K = o.diff_commonPrefix(
408
- y.substring(L),
409
- M.substring(D)
410
- ), Y = o.diff_commonSuffix(
411
- y.substring(0, L),
412
- M.substring(0, D)
404
+ var a = this;
405
+ function o(v, A, D) {
406
+ for (var S = v.substring(D, D + Math.floor(v.length / 4)), M = -1, R = "", L, I, P, $; (M = A.indexOf(S, M + 1)) != -1; ) {
407
+ var K = a.diff_commonPrefix(
408
+ v.substring(D),
409
+ A.substring(M)
410
+ ), Y = a.diff_commonSuffix(
411
+ v.substring(0, D),
412
+ A.substring(0, M)
413
413
  );
414
- R.length < Y + K && (R = M.substring(D - Y, D) + M.substring(D, D + K), S = y.substring(0, L - Y), $ = y.substring(L + K), k = M.substring(0, D - Y), H = M.substring(D + K));
414
+ R.length < Y + K && (R = A.substring(M - Y, M) + A.substring(M, M + K), L = v.substring(0, D - Y), I = v.substring(D + K), P = A.substring(0, M - Y), $ = A.substring(M + K));
415
415
  }
416
- return R.length * 2 >= y.length ? [
417
- S,
416
+ return R.length * 2 >= v.length ? [
417
+ L,
418
+ I,
419
+ P,
418
420
  $,
419
- k,
420
- H,
421
421
  R
422
422
  ] : null;
423
423
  }
424
- var c = a(
424
+ var c = o(
425
425
  i,
426
426
  s,
427
427
  Math.ceil(i.length / 4)
428
- ), f = a(
428
+ ), u = o(
429
429
  i,
430
430
  s,
431
431
  Math.ceil(i.length / 2)
432
- ), h;
433
- if (!c && !f)
432
+ ), d;
433
+ if (!c && !u)
434
434
  return null;
435
- f ? c ? h = c[4].length > f[4].length ? c : f : h = f : h = c;
436
- var p, d, _, m;
437
- n.length > t.length ? (p = h[0], d = h[1], _ = h[2], m = h[3]) : (_ = h[0], m = h[1], p = h[2], d = h[3]);
438
- var b = h[4];
439
- return [p, d, _, m, b];
435
+ u ? c ? d = c[4].length > u[4].length ? c : u : d = u : d = c;
436
+ var h, p, _, E;
437
+ n.length > t.length ? (h = d[0], p = d[1], _ = d[2], E = d[3]) : (_ = d[0], E = d[1], h = d[2], p = d[3]);
438
+ var m = d[4];
439
+ return [h, p, _, E, m];
440
440
  }, r.prototype.diff_cleanupSemantic = function(n) {
441
- for (var t = !1, i = [], s = 0, o = null, a = 0, c = 0, f = 0, h = 0, p = 0; a < n.length; )
442
- n[a][0] == g ? (i[s++] = a, c = h, f = p, h = 0, p = 0, o = n[a][1]) : (n[a][0] == u ? h += n[a][1].length : p += n[a][1].length, o && o.length <= Math.max(c, f) && o.length <= Math.max(
443
- h,
444
- p
441
+ for (var t = !1, i = [], s = 0, a = null, o = 0, c = 0, u = 0, d = 0, h = 0; o < n.length; )
442
+ n[o][0] == g ? (i[s++] = o, c = d, u = h, d = 0, h = 0, a = n[o][1]) : (n[o][0] == f ? d += n[o][1].length : h += n[o][1].length, a && a.length <= Math.max(c, u) && a.length <= Math.max(
443
+ d,
444
+ h
445
445
  ) && (n.splice(
446
446
  i[s - 1],
447
447
  0,
448
- new r.Diff(l, o)
449
- ), n[i[s - 1] + 1][0] = u, s--, s--, a = s > 0 ? i[s - 1] : -1, c = 0, f = 0, h = 0, p = 0, o = null, t = !0)), a++;
450
- for (t && this.diff_cleanupMerge(n), this.diff_cleanupSemanticLossless(n), a = 1; a < n.length; ) {
451
- if (n[a - 1][0] == l && n[a][0] == u) {
452
- var d = n[a - 1][1], _ = n[a][1], m = this.diff_commonOverlap_(d, _), b = this.diff_commonOverlap_(_, d);
453
- m >= b ? (m >= d.length / 2 || m >= _.length / 2) && (n.splice(a, 0, new r.Diff(
448
+ new r.Diff(l, a)
449
+ ), n[i[s - 1] + 1][0] = f, s--, s--, o = s > 0 ? i[s - 1] : -1, c = 0, u = 0, d = 0, h = 0, a = null, t = !0)), o++;
450
+ for (t && this.diff_cleanupMerge(n), this.diff_cleanupSemanticLossless(n), o = 1; o < n.length; ) {
451
+ if (n[o - 1][0] == l && n[o][0] == f) {
452
+ var p = n[o - 1][1], _ = n[o][1], E = this.diff_commonOverlap_(p, _), m = this.diff_commonOverlap_(_, p);
453
+ E >= m ? (E >= p.length / 2 || E >= _.length / 2) && (n.splice(o, 0, new r.Diff(
454
454
  g,
455
- _.substring(0, m)
456
- )), n[a - 1][1] = d.substring(0, d.length - m), n[a + 1][1] = _.substring(m), a++) : (b >= d.length / 2 || b >= _.length / 2) && (n.splice(a, 0, new r.Diff(
455
+ _.substring(0, E)
456
+ )), n[o - 1][1] = p.substring(0, p.length - E), n[o + 1][1] = _.substring(E), o++) : (m >= p.length / 2 || m >= _.length / 2) && (n.splice(o, 0, new r.Diff(
457
457
  g,
458
- d.substring(0, b)
459
- )), n[a - 1][0] = u, n[a - 1][1] = _.substring(0, _.length - b), n[a + 1][0] = l, n[a + 1][1] = d.substring(b), a++), a++;
458
+ p.substring(0, m)
459
+ )), n[o - 1][0] = f, n[o - 1][1] = _.substring(0, _.length - m), n[o + 1][0] = l, n[o + 1][1] = p.substring(m), o++), o++;
460
460
  }
461
- a++;
461
+ o++;
462
462
  }
463
463
  }, r.prototype.diff_cleanupSemanticLossless = function(n) {
464
- function t(b, y) {
465
- if (!b || !y)
464
+ function t(m, v) {
465
+ if (!m || !v)
466
466
  return 6;
467
- var M = b.charAt(b.length - 1), L = y.charAt(0), N = M.match(r.nonAlphaNumericRegex_), D = L.match(r.nonAlphaNumericRegex_), R = N && M.match(r.whitespaceRegex_), S = D && L.match(r.whitespaceRegex_), $ = R && M.match(r.linebreakRegex_), k = S && L.match(r.linebreakRegex_), H = $ && b.match(r.blanklineEndRegex_), K = k && y.match(r.blanklineStartRegex_);
468
- return H || K ? 5 : $ || k ? 4 : N && !R && S ? 3 : R || S ? 2 : N || D ? 1 : 0;
467
+ var A = m.charAt(m.length - 1), D = v.charAt(0), S = A.match(r.nonAlphaNumericRegex_), M = D.match(r.nonAlphaNumericRegex_), R = S && A.match(r.whitespaceRegex_), L = M && D.match(r.whitespaceRegex_), I = R && A.match(r.linebreakRegex_), P = L && D.match(r.linebreakRegex_), $ = I && m.match(r.blanklineEndRegex_), K = P && v.match(r.blanklineStartRegex_);
468
+ return $ || K ? 5 : I || P ? 4 : S && !R && L ? 3 : R || L ? 2 : S || M ? 1 : 0;
469
469
  }
470
470
  for (var i = 1; i < n.length - 1; ) {
471
471
  if (n[i - 1][0] == g && n[i + 1][0] == g) {
472
- var s = n[i - 1][1], o = n[i][1], a = n[i + 1][1], c = this.diff_commonSuffix(s, o);
472
+ var s = n[i - 1][1], a = n[i][1], o = n[i + 1][1], c = this.diff_commonSuffix(s, a);
473
473
  if (c) {
474
- var f = o.substring(o.length - c);
475
- s = s.substring(0, s.length - c), o = f + o.substring(0, o.length - c), a = f + a;
474
+ var u = a.substring(a.length - c);
475
+ s = s.substring(0, s.length - c), a = u + a.substring(0, a.length - c), o = u + o;
476
476
  }
477
- for (var h = s, p = o, d = a, _ = t(s, o) + t(o, a); o.charAt(0) === a.charAt(0); ) {
478
- s += o.charAt(0), o = o.substring(1) + a.charAt(0), a = a.substring(1);
479
- var m = t(s, o) + t(o, a);
480
- m >= _ && (_ = m, h = s, p = o, d = a);
477
+ for (var d = s, h = a, p = o, _ = t(s, a) + t(a, o); a.charAt(0) === o.charAt(0); ) {
478
+ s += a.charAt(0), a = a.substring(1) + o.charAt(0), o = o.substring(1);
479
+ var E = t(s, a) + t(a, o);
480
+ E >= _ && (_ = E, d = s, h = a, p = o);
481
481
  }
482
- n[i - 1][1] != h && (h ? n[i - 1][1] = h : (n.splice(i - 1, 1), i--), n[i][1] = p, d ? n[i + 1][1] = d : (n.splice(i + 1, 1), i--));
482
+ n[i - 1][1] != d && (d ? n[i - 1][1] = d : (n.splice(i - 1, 1), i--), n[i][1] = h, p ? n[i + 1][1] = p : (n.splice(i + 1, 1), i--));
483
483
  }
484
484
  i++;
485
485
  }
486
486
  }, r.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/, r.whitespaceRegex_ = /\s/, r.linebreakRegex_ = /[\r\n]/, r.blanklineEndRegex_ = /\n\r?\n$/, r.blanklineStartRegex_ = /^\r?\n\r?\n/, r.prototype.diff_cleanupEfficiency = function(n) {
487
- for (var t = !1, i = [], s = 0, o = null, a = 0, c = !1, f = !1, h = !1, p = !1; a < n.length; )
488
- n[a][0] == g ? (n[a][1].length < this.Diff_EditCost && (h || p) ? (i[s++] = a, c = h, f = p, o = n[a][1]) : (s = 0, o = null), h = p = !1) : (n[a][0] == l ? p = !0 : h = !0, o && (c && f && h && p || o.length < this.Diff_EditCost / 2 && c + f + h + p == 3) && (n.splice(
487
+ for (var t = !1, i = [], s = 0, a = null, o = 0, c = !1, u = !1, d = !1, h = !1; o < n.length; )
488
+ n[o][0] == g ? (n[o][1].length < this.Diff_EditCost && (d || h) ? (i[s++] = o, c = d, u = h, a = n[o][1]) : (s = 0, a = null), d = h = !1) : (n[o][0] == l ? h = !0 : d = !0, a && (c && u && d && h || a.length < this.Diff_EditCost / 2 && c + u + d + h == 3) && (n.splice(
489
489
  i[s - 1],
490
490
  0,
491
- new r.Diff(l, o)
492
- ), n[i[s - 1] + 1][0] = u, s--, o = null, c && f ? (h = p = !0, s = 0) : (s--, a = s > 0 ? i[s - 1] : -1, h = p = !1), t = !0)), a++;
491
+ new r.Diff(l, a)
492
+ ), n[i[s - 1] + 1][0] = f, s--, a = null, c && u ? (d = h = !0, s = 0) : (s--, o = s > 0 ? i[s - 1] : -1, d = h = !1), t = !0)), o++;
493
493
  t && this.diff_cleanupMerge(n);
494
494
  }, r.prototype.diff_cleanupMerge = function(n) {
495
495
  n.push(new r.Diff(g, ""));
496
- for (var t = 0, i = 0, s = 0, o = "", a = "", c; t < n.length; )
496
+ for (var t = 0, i = 0, s = 0, a = "", o = "", c; t < n.length; )
497
497
  switch (n[t][0]) {
498
- case u:
499
- s++, a += n[t][1], t++;
498
+ case f:
499
+ s++, o += n[t][1], t++;
500
500
  break;
501
501
  case l:
502
- i++, o += n[t][1], t++;
502
+ i++, a += n[t][1], t++;
503
503
  break;
504
504
  case g:
505
- i + s > 1 ? (i !== 0 && s !== 0 && (c = this.diff_commonPrefix(a, o), c !== 0 && (t - i - s > 0 && n[t - i - s - 1][0] == g ? n[t - i - s - 1][1] += a.substring(0, c) : (n.splice(0, 0, new r.Diff(
505
+ i + s > 1 ? (i !== 0 && s !== 0 && (c = this.diff_commonPrefix(o, a), c !== 0 && (t - i - s > 0 && n[t - i - s - 1][0] == g ? n[t - i - s - 1][1] += o.substring(0, c) : (n.splice(0, 0, new r.Diff(
506
506
  g,
507
- a.substring(0, c)
508
- )), t++), a = a.substring(c), o = o.substring(c)), c = this.diff_commonSuffix(a, o), c !== 0 && (n[t][1] = a.substring(a.length - c) + n[t][1], a = a.substring(0, a.length - c), o = o.substring(0, o.length - c))), t -= i + s, n.splice(t, i + s), o.length && (n.splice(
507
+ o.substring(0, c)
508
+ )), t++), o = o.substring(c), a = a.substring(c)), c = this.diff_commonSuffix(o, a), c !== 0 && (n[t][1] = o.substring(o.length - c) + n[t][1], o = o.substring(0, o.length - c), a = a.substring(0, a.length - c))), t -= i + s, n.splice(t, i + s), a.length && (n.splice(
509
509
  t,
510
510
  0,
511
- new r.Diff(l, o)
512
- ), t++), a.length && (n.splice(
511
+ new r.Diff(l, a)
512
+ ), t++), o.length && (n.splice(
513
513
  t,
514
514
  0,
515
- new r.Diff(u, a)
516
- ), t++), t++) : t !== 0 && n[t - 1][0] == g ? (n[t - 1][1] += n[t][1], n.splice(t, 1)) : t++, s = 0, i = 0, o = "", a = "";
515
+ new r.Diff(f, o)
516
+ ), t++), t++) : t !== 0 && n[t - 1][0] == g ? (n[t - 1][1] += n[t][1], n.splice(t, 1)) : t++, s = 0, i = 0, a = "", o = "";
517
517
  break;
518
518
  }
519
519
  n[n.length - 1][1] === "" && n.pop();
520
- var f = !1;
520
+ var u = !1;
521
521
  for (t = 1; t < n.length - 1; )
522
- n[t - 1][0] == g && n[t + 1][0] == g && (n[t][1].substring(n[t][1].length - n[t - 1][1].length) == n[t - 1][1] ? (n[t][1] = n[t - 1][1] + n[t][1].substring(0, n[t][1].length - n[t - 1][1].length), n[t + 1][1] = n[t - 1][1] + n[t + 1][1], n.splice(t - 1, 1), f = !0) : n[t][1].substring(0, n[t + 1][1].length) == n[t + 1][1] && (n[t - 1][1] += n[t + 1][1], n[t][1] = n[t][1].substring(n[t + 1][1].length) + n[t + 1][1], n.splice(t + 1, 1), f = !0)), t++;
523
- f && this.diff_cleanupMerge(n);
522
+ n[t - 1][0] == g && n[t + 1][0] == g && (n[t][1].substring(n[t][1].length - n[t - 1][1].length) == n[t - 1][1] ? (n[t][1] = n[t - 1][1] + n[t][1].substring(0, n[t][1].length - n[t - 1][1].length), n[t + 1][1] = n[t - 1][1] + n[t + 1][1], n.splice(t - 1, 1), u = !0) : n[t][1].substring(0, n[t + 1][1].length) == n[t + 1][1] && (n[t - 1][1] += n[t + 1][1], n[t][1] = n[t][1].substring(n[t + 1][1].length) + n[t + 1][1], n.splice(t + 1, 1), u = !0)), t++;
523
+ u && this.diff_cleanupMerge(n);
524
524
  }, r.prototype.diff_xIndex = function(n, t) {
525
- var i = 0, s = 0, o = 0, a = 0, c;
526
- for (c = 0; c < n.length && (n[c][0] !== u && (i += n[c][1].length), n[c][0] !== l && (s += n[c][1].length), !(i > t)); c++)
527
- o = i, a = s;
528
- return n.length != c && n[c][0] === l ? a : a + (t - o);
525
+ var i = 0, s = 0, a = 0, o = 0, c;
526
+ for (c = 0; c < n.length && (n[c][0] !== f && (i += n[c][1].length), n[c][0] !== l && (s += n[c][1].length), !(i > t)); c++)
527
+ a = i, o = s;
528
+ return n.length != c && n[c][0] === l ? o : o + (t - a);
529
529
  }, r.prototype.diff_prettyHtml = function(n) {
530
- for (var t = [], i = /&/g, s = /</g, o = />/g, a = /\n/g, c = 0; c < n.length; c++) {
531
- var f = n[c][0], h = n[c][1], p = h.replace(i, "&amp;").replace(s, "&lt;").replace(o, "&gt;").replace(a, "&para;<br>");
532
- switch (f) {
533
- case u:
534
- t[c] = '<ins style="background:#e6ffe6;">' + p + "</ins>";
530
+ for (var t = [], i = /&/g, s = /</g, a = />/g, o = /\n/g, c = 0; c < n.length; c++) {
531
+ var u = n[c][0], d = n[c][1], h = d.replace(i, "&amp;").replace(s, "&lt;").replace(a, "&gt;").replace(o, "&para;<br>");
532
+ switch (u) {
533
+ case f:
534
+ t[c] = '<ins style="background:#e6ffe6;">' + h + "</ins>";
535
535
  break;
536
536
  case l:
537
- t[c] = '<del style="background:#ffe6e6;">' + p + "</del>";
537
+ t[c] = '<del style="background:#ffe6e6;">' + h + "</del>";
538
538
  break;
539
539
  case g:
540
- t[c] = "<span>" + p + "</span>";
540
+ t[c] = "<span>" + h + "</span>";
541
541
  break;
542
542
  }
543
543
  }
544
544
  return t.join("");
545
545
  }, r.prototype.diff_text1 = function(n) {
546
546
  for (var t = [], i = 0; i < n.length; i++)
547
- n[i][0] !== u && (t[i] = n[i][1]);
547
+ n[i][0] !== f && (t[i] = n[i][1]);
548
548
  return t.join("");
549
549
  }, r.prototype.diff_text2 = function(n) {
550
550
  for (var t = [], i = 0; i < n.length; i++)
551
551
  n[i][0] !== l && (t[i] = n[i][1]);
552
552
  return t.join("");
553
553
  }, r.prototype.diff_levenshtein = function(n) {
554
- for (var t = 0, i = 0, s = 0, o = 0; o < n.length; o++) {
555
- var a = n[o][0], c = n[o][1];
556
- switch (a) {
557
- case u:
554
+ for (var t = 0, i = 0, s = 0, a = 0; a < n.length; a++) {
555
+ var o = n[a][0], c = n[a][1];
556
+ switch (o) {
557
+ case f:
558
558
  i += c.length;
559
559
  break;
560
560
  case l:
@@ -569,7 +569,7 @@ var dn = { exports: {} };
569
569
  }, r.prototype.diff_toDelta = function(n) {
570
570
  for (var t = [], i = 0; i < n.length; i++)
571
571
  switch (n[i][0]) {
572
- case u:
572
+ case f:
573
573
  t[i] = "+" + encodeURI(n[i][1]);
574
574
  break;
575
575
  case l:
@@ -581,31 +581,31 @@ var dn = { exports: {} };
581
581
  }
582
582
  return t.join(" ").replace(/%20/g, " ");
583
583
  }, r.prototype.diff_fromDelta = function(n, t) {
584
- for (var i = [], s = 0, o = 0, a = t.split(/\t/g), c = 0; c < a.length; c++) {
585
- var f = a[c].substring(1);
586
- switch (a[c].charAt(0)) {
584
+ for (var i = [], s = 0, a = 0, o = t.split(/\t/g), c = 0; c < o.length; c++) {
585
+ var u = o[c].substring(1);
586
+ switch (o[c].charAt(0)) {
587
587
  case "+":
588
588
  try {
589
- i[s++] = new r.Diff(u, decodeURI(f));
590
- } catch (d) {
591
- throw new Error("Illegal escape in diff_fromDelta: " + f);
589
+ i[s++] = new r.Diff(f, decodeURI(u));
590
+ } catch (p) {
591
+ throw new Error("Illegal escape in diff_fromDelta: " + u);
592
592
  }
593
593
  break;
594
594
  case "-":
595
595
  case "=":
596
- var h = parseInt(f, 10);
597
- if (isNaN(h) || h < 0)
598
- throw new Error("Invalid number in diff_fromDelta: " + f);
599
- var p = n.substring(o, o += h);
600
- a[c].charAt(0) == "=" ? i[s++] = new r.Diff(g, p) : i[s++] = new r.Diff(l, p);
596
+ var d = parseInt(u, 10);
597
+ if (isNaN(d) || d < 0)
598
+ throw new Error("Invalid number in diff_fromDelta: " + u);
599
+ var h = n.substring(a, a += d);
600
+ o[c].charAt(0) == "=" ? i[s++] = new r.Diff(g, h) : i[s++] = new r.Diff(l, h);
601
601
  break;
602
602
  default:
603
- if (a[c])
604
- throw new Error("Invalid diff operation in diff_fromDelta: " + a[c]);
603
+ if (o[c])
604
+ throw new Error("Invalid diff operation in diff_fromDelta: " + o[c]);
605
605
  }
606
606
  }
607
- if (o != n.length)
608
- throw new Error("Delta length (" + o + ") does not equal source text length (" + n.length + ").");
607
+ if (a != n.length)
608
+ throw new Error("Delta length (" + a + ") does not equal source text length (" + n.length + ").");
609
609
  return i;
610
610
  }, r.prototype.match_main = function(n, t, i) {
611
611
  if (n == null || t == null || i == null)
@@ -614,37 +614,37 @@ var dn = { exports: {} };
614
614
  }, r.prototype.match_bitap_ = function(n, t, i) {
615
615
  if (t.length > this.Match_MaxBits)
616
616
  throw new Error("Pattern too long for this browser.");
617
- var s = this.match_alphabet_(t), o = this;
618
- function a(S, $) {
619
- var k = S / t.length, H = Math.abs(i - $);
620
- return o.Match_Distance ? k + H / o.Match_Distance : H ? 1 : k;
617
+ var s = this.match_alphabet_(t), a = this;
618
+ function o(L, I) {
619
+ var P = L / t.length, $ = Math.abs(i - I);
620
+ return a.Match_Distance ? P + $ / a.Match_Distance : $ ? 1 : P;
621
621
  }
622
- var c = this.Match_Threshold, f = n.indexOf(t, i);
623
- f != -1 && (c = Math.min(a(0, f), c), f = n.lastIndexOf(t, i + t.length), f != -1 && (c = Math.min(a(0, f), c)));
624
- var h = 1 << t.length - 1;
625
- f = -1;
626
- for (var p, d, _ = t.length + n.length, m, b = 0; b < t.length; b++) {
627
- for (p = 0, d = _; p < d; )
628
- a(b, i + d) <= c ? p = d : _ = d, d = Math.floor((_ - p) / 2 + p);
629
- _ = d;
630
- var y = Math.max(1, i - d + 1), M = Math.min(i + d, n.length) + t.length, L = Array(M + 2);
631
- L[M + 1] = (1 << b) - 1;
632
- for (var N = M; N >= y; N--) {
633
- var D = s[n.charAt(N - 1)];
634
- if (b === 0 ? L[N] = (L[N + 1] << 1 | 1) & D : L[N] = (L[N + 1] << 1 | 1) & D | ((m[N + 1] | m[N]) << 1 | 1) | m[N + 1], L[N] & h) {
635
- var R = a(b, N - 1);
622
+ var c = this.Match_Threshold, u = n.indexOf(t, i);
623
+ u != -1 && (c = Math.min(o(0, u), c), u = n.lastIndexOf(t, i + t.length), u != -1 && (c = Math.min(o(0, u), c)));
624
+ var d = 1 << t.length - 1;
625
+ u = -1;
626
+ for (var h, p, _ = t.length + n.length, E, m = 0; m < t.length; m++) {
627
+ for (h = 0, p = _; h < p; )
628
+ o(m, i + p) <= c ? h = p : _ = p, p = Math.floor((_ - h) / 2 + h);
629
+ _ = p;
630
+ var v = Math.max(1, i - p + 1), A = Math.min(i + p, n.length) + t.length, D = Array(A + 2);
631
+ D[A + 1] = (1 << m) - 1;
632
+ for (var S = A; S >= v; S--) {
633
+ var M = s[n.charAt(S - 1)];
634
+ if (m === 0 ? D[S] = (D[S + 1] << 1 | 1) & M : D[S] = (D[S + 1] << 1 | 1) & M | ((E[S + 1] | E[S]) << 1 | 1) | E[S + 1], D[S] & d) {
635
+ var R = o(m, S - 1);
636
636
  if (R <= c)
637
- if (c = R, f = N - 1, f > i)
638
- y = Math.max(1, 2 * i - f);
637
+ if (c = R, u = S - 1, u > i)
638
+ v = Math.max(1, 2 * i - u);
639
639
  else
640
640
  break;
641
641
  }
642
642
  }
643
- if (a(b + 1, i) > c)
643
+ if (o(m + 1, i) > c)
644
644
  break;
645
- m = L;
645
+ E = D;
646
646
  }
647
- return f;
647
+ return u;
648
648
  }, r.prototype.match_alphabet_ = function(n) {
649
649
  for (var t = {}, i = 0; i < n.length; i++)
650
650
  t[n.charAt(i)] = 0;
@@ -661,62 +661,62 @@ var dn = { exports: {} };
661
661
  n.start2 + n.length1 + s
662
662
  );
663
663
  s += this.Patch_Margin;
664
- var o = t.substring(n.start2 - s, n.start2);
665
- o && n.diffs.unshift(new r.Diff(g, o));
666
- var a = t.substring(
664
+ var a = t.substring(n.start2 - s, n.start2);
665
+ a && n.diffs.unshift(new r.Diff(g, a));
666
+ var o = t.substring(
667
667
  n.start2 + n.length1,
668
668
  n.start2 + n.length1 + s
669
669
  );
670
- a && n.diffs.push(new r.Diff(g, a)), n.start1 -= o.length, n.start2 -= o.length, n.length1 += o.length + a.length, n.length2 += o.length + a.length;
670
+ o && n.diffs.push(new r.Diff(g, o)), n.start1 -= a.length, n.start2 -= a.length, n.length1 += a.length + o.length, n.length2 += a.length + o.length;
671
671
  }
672
672
  }, r.prototype.patch_make = function(n, t, i) {
673
- var s, o;
673
+ var s, a;
674
674
  if (typeof n == "string" && typeof t == "string" && typeof i == "undefined")
675
675
  s = /** @type {string} */
676
- n, o = this.diff_main(
676
+ n, a = this.diff_main(
677
677
  s,
678
678
  /** @type {string} */
679
679
  t,
680
680
  !0
681
- ), o.length > 2 && (this.diff_cleanupSemantic(o), this.diff_cleanupEfficiency(o));
681
+ ), a.length > 2 && (this.diff_cleanupSemantic(a), this.diff_cleanupEfficiency(a));
682
682
  else if (n && typeof n == "object" && typeof t == "undefined" && typeof i == "undefined")
683
- o = /** @type {!Array.<!diff_match_patch.Diff>} */
684
- n, s = this.diff_text1(o);
683
+ a = /** @type {!Array.<!diff_match_patch.Diff>} */
684
+ n, s = this.diff_text1(a);
685
685
  else if (typeof n == "string" && t && typeof t == "object" && typeof i == "undefined")
686
686
  s = /** @type {string} */
687
- n, o = /** @type {!Array.<!diff_match_patch.Diff>} */
687
+ n, a = /** @type {!Array.<!diff_match_patch.Diff>} */
688
688
  t;
689
689
  else if (typeof n == "string" && typeof t == "string" && i && typeof i == "object")
690
690
  s = /** @type {string} */
691
- n, o = /** @type {!Array.<!diff_match_patch.Diff>} */
691
+ n, a = /** @type {!Array.<!diff_match_patch.Diff>} */
692
692
  i;
693
693
  else
694
694
  throw new Error("Unknown call format to patch_make.");
695
- if (o.length === 0)
695
+ if (a.length === 0)
696
696
  return [];
697
- for (var a = [], c = new r.patch_obj(), f = 0, h = 0, p = 0, d = s, _ = s, m = 0; m < o.length; m++) {
698
- var b = o[m][0], y = o[m][1];
699
- switch (!f && b !== g && (c.start1 = h, c.start2 = p), b) {
700
- case u:
701
- c.diffs[f++] = o[m], c.length2 += y.length, _ = _.substring(0, p) + y + _.substring(p);
697
+ for (var o = [], c = new r.patch_obj(), u = 0, d = 0, h = 0, p = s, _ = s, E = 0; E < a.length; E++) {
698
+ var m = a[E][0], v = a[E][1];
699
+ switch (!u && m !== g && (c.start1 = d, c.start2 = h), m) {
700
+ case f:
701
+ c.diffs[u++] = a[E], c.length2 += v.length, _ = _.substring(0, h) + v + _.substring(h);
702
702
  break;
703
703
  case l:
704
- c.length1 += y.length, c.diffs[f++] = o[m], _ = _.substring(0, p) + _.substring(p + y.length);
704
+ c.length1 += v.length, c.diffs[u++] = a[E], _ = _.substring(0, h) + _.substring(h + v.length);
705
705
  break;
706
706
  case g:
707
- y.length <= 2 * this.Patch_Margin && f && o.length != m + 1 ? (c.diffs[f++] = o[m], c.length1 += y.length, c.length2 += y.length) : y.length >= 2 * this.Patch_Margin && f && (this.patch_addContext_(c, d), a.push(c), c = new r.patch_obj(), f = 0, d = _, h = p);
707
+ v.length <= 2 * this.Patch_Margin && u && a.length != E + 1 ? (c.diffs[u++] = a[E], c.length1 += v.length, c.length2 += v.length) : v.length >= 2 * this.Patch_Margin && u && (this.patch_addContext_(c, p), o.push(c), c = new r.patch_obj(), u = 0, p = _, d = h);
708
708
  break;
709
709
  }
710
- b !== u && (h += y.length), b !== l && (p += y.length);
710
+ m !== f && (d += v.length), m !== l && (h += v.length);
711
711
  }
712
- return f && (this.patch_addContext_(c, d), a.push(c)), a;
712
+ return u && (this.patch_addContext_(c, p), o.push(c)), o;
713
713
  }, r.prototype.patch_deepCopy = function(n) {
714
714
  for (var t = [], i = 0; i < n.length; i++) {
715
- var s = n[i], o = new r.patch_obj();
716
- o.diffs = [];
717
- for (var a = 0; a < s.diffs.length; a++)
718
- o.diffs[a] = new r.Diff(s.diffs[a][0], s.diffs[a][1]);
719
- o.start1 = s.start1, o.start2 = s.start2, o.length1 = s.length1, o.length2 = s.length2, t[i] = o;
715
+ var s = n[i], a = new r.patch_obj();
716
+ a.diffs = [];
717
+ for (var o = 0; o < s.diffs.length; o++)
718
+ a.diffs[o] = new r.Diff(s.diffs[o][0], s.diffs[o][1]);
719
+ a.start1 = s.start1, a.start2 = s.start2, a.length1 = s.length1, a.length2 = s.length2, t[i] = a;
720
720
  }
721
721
  return t;
722
722
  }, r.prototype.patch_apply = function(n, t) {
@@ -725,58 +725,58 @@ var dn = { exports: {} };
725
725
  n = this.patch_deepCopy(n);
726
726
  var i = this.patch_addPadding(n);
727
727
  t = i + t + i, this.patch_splitMax(n);
728
- for (var s = 0, o = [], a = 0; a < n.length; a++) {
729
- var c = n[a].start2 + s, f = this.diff_text1(n[a].diffs), h, p = -1;
730
- if (f.length > this.Match_MaxBits ? (h = this.match_main(
728
+ for (var s = 0, a = [], o = 0; o < n.length; o++) {
729
+ var c = n[o].start2 + s, u = this.diff_text1(n[o].diffs), d, h = -1;
730
+ if (u.length > this.Match_MaxBits ? (d = this.match_main(
731
731
  t,
732
- f.substring(0, this.Match_MaxBits),
732
+ u.substring(0, this.Match_MaxBits),
733
733
  c
734
- ), h != -1 && (p = this.match_main(
734
+ ), d != -1 && (h = this.match_main(
735
735
  t,
736
- f.substring(f.length - this.Match_MaxBits),
737
- c + f.length - this.Match_MaxBits
738
- ), (p == -1 || h >= p) && (h = -1))) : h = this.match_main(t, f, c), h == -1)
739
- o[a] = !1, s -= n[a].length2 - n[a].length1;
736
+ u.substring(u.length - this.Match_MaxBits),
737
+ c + u.length - this.Match_MaxBits
738
+ ), (h == -1 || d >= h) && (d = -1))) : d = this.match_main(t, u, c), d == -1)
739
+ a[o] = !1, s -= n[o].length2 - n[o].length1;
740
740
  else {
741
- o[a] = !0, s = h - c;
742
- var d;
743
- if (p == -1 ? d = t.substring(h, h + f.length) : d = t.substring(h, p + this.Match_MaxBits), f == d)
744
- t = t.substring(0, h) + this.diff_text2(n[a].diffs) + t.substring(h + f.length);
741
+ a[o] = !0, s = d - c;
742
+ var p;
743
+ if (h == -1 ? p = t.substring(d, d + u.length) : p = t.substring(d, h + this.Match_MaxBits), u == p)
744
+ t = t.substring(0, d) + this.diff_text2(n[o].diffs) + t.substring(d + u.length);
745
745
  else {
746
- var _ = this.diff_main(f, d, !1);
747
- if (f.length > this.Match_MaxBits && this.diff_levenshtein(_) / f.length > this.Patch_DeleteThreshold)
748
- o[a] = !1;
746
+ var _ = this.diff_main(u, p, !1);
747
+ if (u.length > this.Match_MaxBits && this.diff_levenshtein(_) / u.length > this.Patch_DeleteThreshold)
748
+ a[o] = !1;
749
749
  else {
750
750
  this.diff_cleanupSemanticLossless(_);
751
- for (var m = 0, b, y = 0; y < n[a].diffs.length; y++) {
752
- var M = n[a].diffs[y];
753
- M[0] !== g && (b = this.diff_xIndex(_, m)), M[0] === u ? t = t.substring(0, h + b) + M[1] + t.substring(h + b) : M[0] === l && (t = t.substring(0, h + b) + t.substring(h + this.diff_xIndex(
751
+ for (var E = 0, m, v = 0; v < n[o].diffs.length; v++) {
752
+ var A = n[o].diffs[v];
753
+ A[0] !== g && (m = this.diff_xIndex(_, E)), A[0] === f ? t = t.substring(0, d + m) + A[1] + t.substring(d + m) : A[0] === l && (t = t.substring(0, d + m) + t.substring(d + this.diff_xIndex(
754
754
  _,
755
- m + M[1].length
756
- ))), M[0] !== l && (m += M[1].length);
755
+ E + A[1].length
756
+ ))), A[0] !== l && (E += A[1].length);
757
757
  }
758
758
  }
759
759
  }
760
760
  }
761
761
  }
762
- return t = t.substring(i.length, t.length - i.length), [t, o];
762
+ return t = t.substring(i.length, t.length - i.length), [t, a];
763
763
  }, r.prototype.patch_addPadding = function(n) {
764
764
  for (var t = this.Patch_Margin, i = "", s = 1; s <= t; s++)
765
765
  i += String.fromCharCode(s);
766
766
  for (var s = 0; s < n.length; s++)
767
767
  n[s].start1 += t, n[s].start2 += t;
768
- var o = n[0], a = o.diffs;
769
- if (a.length == 0 || a[0][0] != g)
770
- a.unshift(new r.Diff(g, i)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
771
- else if (t > a[0][1].length) {
772
- var c = t - a[0][1].length;
773
- a[0][1] = i.substring(a[0][1].length) + a[0][1], o.start1 -= c, o.start2 -= c, o.length1 += c, o.length2 += c;
768
+ var a = n[0], o = a.diffs;
769
+ if (o.length == 0 || o[0][0] != g)
770
+ o.unshift(new r.Diff(g, i)), a.start1 -= t, a.start2 -= t, a.length1 += t, a.length2 += t;
771
+ else if (t > o[0][1].length) {
772
+ var c = t - o[0][1].length;
773
+ o[0][1] = i.substring(o[0][1].length) + o[0][1], a.start1 -= c, a.start2 -= c, a.length1 += c, a.length2 += c;
774
774
  }
775
- if (o = n[n.length - 1], a = o.diffs, a.length == 0 || a[a.length - 1][0] != g)
776
- a.push(new r.Diff(g, i)), o.length1 += t, o.length2 += t;
777
- else if (t > a[a.length - 1][1].length) {
778
- var c = t - a[a.length - 1][1].length;
779
- a[a.length - 1][1] += i.substring(0, c), o.length1 += c, o.length2 += c;
775
+ if (a = n[n.length - 1], o = a.diffs, o.length == 0 || o[o.length - 1][0] != g)
776
+ o.push(new r.Diff(g, i)), a.length1 += t, a.length2 += t;
777
+ else if (t > o[o.length - 1][1].length) {
778
+ var c = t - o[o.length - 1][1].length;
779
+ o[o.length - 1][1] += i.substring(0, c), a.length1 += c, a.length2 += c;
780
780
  }
781
781
  return i;
782
782
  }, r.prototype.patch_splitMax = function(n) {
@@ -784,18 +784,18 @@ var dn = { exports: {} };
784
784
  if (!(n[i].length1 <= t)) {
785
785
  var s = n[i];
786
786
  n.splice(i--, 1);
787
- for (var o = s.start1, a = s.start2, c = ""; s.diffs.length !== 0; ) {
788
- var f = new r.patch_obj(), h = !0;
789
- for (f.start1 = o - c.length, f.start2 = a - c.length, c !== "" && (f.length1 = f.length2 = c.length, f.diffs.push(new r.Diff(g, c))); s.diffs.length !== 0 && f.length1 < t - this.Patch_Margin; ) {
790
- var p = s.diffs[0][0], d = s.diffs[0][1];
791
- p === u ? (f.length2 += d.length, a += d.length, f.diffs.push(s.diffs.shift()), h = !1) : p === l && f.diffs.length == 1 && f.diffs[0][0] == g && d.length > 2 * t ? (f.length1 += d.length, o += d.length, h = !1, f.diffs.push(new r.Diff(p, d)), s.diffs.shift()) : (d = d.substring(
787
+ for (var a = s.start1, o = s.start2, c = ""; s.diffs.length !== 0; ) {
788
+ var u = new r.patch_obj(), d = !0;
789
+ for (u.start1 = a - c.length, u.start2 = o - c.length, c !== "" && (u.length1 = u.length2 = c.length, u.diffs.push(new r.Diff(g, c))); s.diffs.length !== 0 && u.length1 < t - this.Patch_Margin; ) {
790
+ var h = s.diffs[0][0], p = s.diffs[0][1];
791
+ h === f ? (u.length2 += p.length, o += p.length, u.diffs.push(s.diffs.shift()), d = !1) : h === l && u.diffs.length == 1 && u.diffs[0][0] == g && p.length > 2 * t ? (u.length1 += p.length, a += p.length, d = !1, u.diffs.push(new r.Diff(h, p)), s.diffs.shift()) : (p = p.substring(
792
792
  0,
793
- t - f.length1 - this.Patch_Margin
794
- ), f.length1 += d.length, o += d.length, p === g ? (f.length2 += d.length, a += d.length) : h = !1, f.diffs.push(new r.Diff(p, d)), d == s.diffs[0][1] ? s.diffs.shift() : s.diffs[0][1] = s.diffs[0][1].substring(d.length));
793
+ t - u.length1 - this.Patch_Margin
794
+ ), u.length1 += p.length, a += p.length, h === g ? (u.length2 += p.length, o += p.length) : d = !1, u.diffs.push(new r.Diff(h, p)), p == s.diffs[0][1] ? s.diffs.shift() : s.diffs[0][1] = s.diffs[0][1].substring(p.length));
795
795
  }
796
- c = this.diff_text2(f.diffs), c = c.substring(c.length - this.Patch_Margin);
796
+ c = this.diff_text2(u.diffs), c = c.substring(c.length - this.Patch_Margin);
797
797
  var _ = this.diff_text1(s.diffs).substring(0, this.Patch_Margin);
798
- _ !== "" && (f.length1 += _.length, f.length2 += _.length, f.diffs.length !== 0 && f.diffs[f.diffs.length - 1][0] === g ? f.diffs[f.diffs.length - 1][1] += _ : f.diffs.push(new r.Diff(g, _))), h || n.splice(++i, 0, f);
798
+ _ !== "" && (u.length1 += _.length, u.length2 += _.length, u.diffs.length !== 0 && u.diffs[u.diffs.length - 1][0] === g ? u.diffs[u.diffs.length - 1][1] += _ : u.diffs.push(new r.Diff(g, _))), d || n.splice(++i, 0, u);
799
799
  }
800
800
  }
801
801
  }, r.prototype.patch_toText = function(n) {
@@ -807,29 +807,29 @@ var dn = { exports: {} };
807
807
  if (!n)
808
808
  return t;
809
809
  for (var i = n.split(`
810
- `), s = 0, o = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/; s < i.length; ) {
811
- var a = i[s].match(o);
812
- if (!a)
810
+ `), s = 0, a = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/; s < i.length; ) {
811
+ var o = i[s].match(a);
812
+ if (!o)
813
813
  throw new Error("Invalid patch string: " + i[s]);
814
814
  var c = new r.patch_obj();
815
- for (t.push(c), c.start1 = parseInt(a[1], 10), a[2] === "" ? (c.start1--, c.length1 = 1) : a[2] == "0" ? c.length1 = 0 : (c.start1--, c.length1 = parseInt(a[2], 10)), c.start2 = parseInt(a[3], 10), a[4] === "" ? (c.start2--, c.length2 = 1) : a[4] == "0" ? c.length2 = 0 : (c.start2--, c.length2 = parseInt(a[4], 10)), s++; s < i.length; ) {
816
- var f = i[s].charAt(0);
815
+ for (t.push(c), c.start1 = parseInt(o[1], 10), o[2] === "" ? (c.start1--, c.length1 = 1) : o[2] == "0" ? c.length1 = 0 : (c.start1--, c.length1 = parseInt(o[2], 10)), c.start2 = parseInt(o[3], 10), o[4] === "" ? (c.start2--, c.length2 = 1) : o[4] == "0" ? c.length2 = 0 : (c.start2--, c.length2 = parseInt(o[4], 10)), s++; s < i.length; ) {
816
+ var u = i[s].charAt(0);
817
817
  try {
818
- var h = decodeURI(i[s].substring(1));
819
- } catch (p) {
820
- throw new Error("Illegal escape in patch_fromText: " + h);
818
+ var d = decodeURI(i[s].substring(1));
819
+ } catch (h) {
820
+ throw new Error("Illegal escape in patch_fromText: " + d);
821
821
  }
822
- if (f == "-")
823
- c.diffs.push(new r.Diff(l, h));
824
- else if (f == "+")
825
- c.diffs.push(new r.Diff(u, h));
826
- else if (f == " ")
827
- c.diffs.push(new r.Diff(g, h));
822
+ if (u == "-")
823
+ c.diffs.push(new r.Diff(l, d));
824
+ else if (u == "+")
825
+ c.diffs.push(new r.Diff(f, d));
826
+ else if (u == " ")
827
+ c.diffs.push(new r.Diff(g, d));
828
828
  else {
829
- if (f == "@")
829
+ if (u == "@")
830
830
  break;
831
- if (f !== "")
832
- throw new Error('Invalid patch mode "' + f + '" in: ' + h);
831
+ if (u !== "")
832
+ throw new Error('Invalid patch mode "' + u + '" in: ' + d);
833
833
  }
834
834
  s++;
835
835
  }
@@ -841,9 +841,9 @@ var dn = { exports: {} };
841
841
  var n, t;
842
842
  this.length1 === 0 ? n = this.start1 + ",0" : this.length1 == 1 ? n = this.start1 + 1 : n = this.start1 + 1 + "," + this.length1, this.length2 === 0 ? t = this.start2 + ",0" : this.length2 == 1 ? t = this.start2 + 1 : t = this.start2 + 1 + "," + this.length2;
843
843
  for (var i = ["@@ -" + n + " +" + t + ` @@
844
- `], s, o = 0; o < this.diffs.length; o++) {
845
- switch (this.diffs[o][0]) {
846
- case u:
844
+ `], s, a = 0; a < this.diffs.length; a++) {
845
+ switch (this.diffs[a][0]) {
846
+ case f:
847
847
  s = "+";
848
848
  break;
849
849
  case l:
@@ -853,24 +853,24 @@ var dn = { exports: {} };
853
853
  s = " ";
854
854
  break;
855
855
  }
856
- i[o + 1] = s + encodeURI(this.diffs[o][1]) + `
856
+ i[a + 1] = s + encodeURI(this.diffs[a][1]) + `
857
857
  `;
858
858
  }
859
859
  return i.join("").replace(/%20/g, " ");
860
- }, e.exports = r, e.exports.diff_match_patch = r, e.exports.DIFF_DELETE = l, e.exports.DIFF_INSERT = u, e.exports.DIFF_EQUAL = g;
861
- })(dn);
862
- var He = dn.exports;
863
- function pn(e) {
860
+ }, e.exports = r, e.exports.diff_match_patch = r, e.exports.DIFF_DELETE = l, e.exports.DIFF_INSERT = f, e.exports.DIFF_EQUAL = g;
861
+ })(En);
862
+ var Fe = En.exports;
863
+ function mn(e) {
864
864
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
865
865
  throw new Error("map is read-only");
866
866
  } : e instanceof Set && (e.add = e.clear = e.delete = function() {
867
867
  throw new Error("set is read-only");
868
868
  }), Object.freeze(e), Object.getOwnPropertyNames(e).forEach((r) => {
869
- const l = e[r], u = typeof l;
870
- (u === "object" || u === "function") && !Object.isFrozen(l) && pn(l);
869
+ const l = e[r], f = typeof l;
870
+ (f === "object" || f === "function") && !Object.isFrozen(l) && mn(l);
871
871
  }), e;
872
872
  }
873
- class rn {
873
+ class an {
874
874
  /**
875
875
  * @param {CompiledMode} mode
876
876
  */
@@ -881,32 +881,32 @@ class rn {
881
881
  this.isMatchIgnored = !0;
882
882
  }
883
883
  }
884
- function _n(e) {
884
+ function vn(e) {
885
885
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
886
886
  }
887
887
  function le(e, ...r) {
888
888
  const l = /* @__PURE__ */ Object.create(null);
889
- for (const u in e)
890
- l[u] = e[u];
891
- return r.forEach(function(u) {
892
- for (const g in u)
893
- l[g] = u[g];
889
+ for (const f in e)
890
+ l[f] = e[f];
891
+ return r.forEach(function(f) {
892
+ for (const g in f)
893
+ l[g] = f[g];
894
894
  }), /** @type {T} */
895
895
  l;
896
896
  }
897
- const qn = "</span>", sn = (e) => !!e.scope, et = (e, { prefix: r }) => {
897
+ const rt = "</span>", on = (e) => !!e.scope, it = (e, { prefix: r }) => {
898
898
  if (e.startsWith("language:"))
899
899
  return e.replace("language:", "language-");
900
900
  if (e.includes(".")) {
901
901
  const l = e.split(".");
902
902
  return [
903
903
  `${r}${l.shift()}`,
904
- ...l.map((u, g) => `${u}${"_".repeat(g + 1)}`)
904
+ ...l.map((f, g) => `${f}${"_".repeat(g + 1)}`)
905
905
  ].join(" ");
906
906
  }
907
907
  return `${r}${e}`;
908
908
  };
909
- class nt {
909
+ class st {
910
910
  /**
911
911
  * Creates a new HTMLRenderer
912
912
  *
@@ -921,16 +921,16 @@ class nt {
921
921
  *
922
922
  * @param {string} text */
923
923
  addText(r) {
924
- this.buffer += _n(r);
924
+ this.buffer += vn(r);
925
925
  }
926
926
  /**
927
927
  * Adds a node open to the output stream (if needed)
928
928
  *
929
929
  * @param {Node} node */
930
930
  openNode(r) {
931
- if (!sn(r))
931
+ if (!on(r))
932
932
  return;
933
- const l = et(
933
+ const l = it(
934
934
  r.scope,
935
935
  { prefix: this.classPrefix }
936
936
  );
@@ -941,7 +941,7 @@ class nt {
941
941
  *
942
942
  * @param {Node} node */
943
943
  closeNode(r) {
944
- sn(r) && (this.buffer += qn);
944
+ on(r) && (this.buffer += rt);
945
945
  }
946
946
  /**
947
947
  * returns the accumulated buffer
@@ -958,13 +958,13 @@ class nt {
958
958
  this.buffer += `<span class="${r}">`;
959
959
  }
960
960
  }
961
- const an = (e = {}) => {
961
+ const ln = (e = {}) => {
962
962
  const r = { children: [] };
963
963
  return Object.assign(r, e), r;
964
964
  };
965
- class We {
965
+ class Qe {
966
966
  constructor() {
967
- this.rootNode = an(), this.stack = [this.rootNode];
967
+ this.rootNode = ln(), this.stack = [this.rootNode];
968
968
  }
969
969
  get top() {
970
970
  return this.stack[this.stack.length - 1];
@@ -978,7 +978,7 @@ class We {
978
978
  }
979
979
  /** @param {string} scope */
980
980
  openNode(r) {
981
- const l = an({ scope: r });
981
+ const l = ln({ scope: r });
982
982
  this.add(l), this.stack.push(l);
983
983
  }
984
984
  closeNode() {
@@ -1004,18 +1004,18 @@ class We {
1004
1004
  * @param {Node} node
1005
1005
  */
1006
1006
  static _walk(r, l) {
1007
- return typeof l == "string" ? r.addText(l) : l.children && (r.openNode(l), l.children.forEach((u) => this._walk(r, u)), r.closeNode(l)), r;
1007
+ return typeof l == "string" ? r.addText(l) : l.children && (r.openNode(l), l.children.forEach((f) => this._walk(r, f)), r.closeNode(l)), r;
1008
1008
  }
1009
1009
  /**
1010
1010
  * @param {Node} node
1011
1011
  */
1012
1012
  static _collapse(r) {
1013
1013
  typeof r != "string" && r.children && (r.children.every((l) => typeof l == "string") ? r.children = [r.children.join("")] : r.children.forEach((l) => {
1014
- We._collapse(l);
1014
+ Qe._collapse(l);
1015
1015
  }));
1016
1016
  }
1017
1017
  }
1018
- class tt extends We {
1018
+ class at extends Qe {
1019
1019
  /**
1020
1020
  * @param {*} options
1021
1021
  */
@@ -1040,54 +1040,54 @@ class tt extends We {
1040
1040
  * @param {string} name
1041
1041
  */
1042
1042
  __addSublanguage(r, l) {
1043
- const u = r.root;
1044
- l && (u.scope = `language:${l}`), this.add(u);
1043
+ const f = r.root;
1044
+ l && (f.scope = `language:${l}`), this.add(f);
1045
1045
  }
1046
1046
  toHTML() {
1047
- return new nt(this, this.options).value();
1047
+ return new st(this, this.options).value();
1048
1048
  }
1049
1049
  finalize() {
1050
1050
  return this.closeAllNodes(), !0;
1051
1051
  }
1052
1052
  }
1053
- function we(e) {
1053
+ function ye(e) {
1054
1054
  return e ? typeof e == "string" ? e : e.source : null;
1055
1055
  }
1056
- function bn(e) {
1056
+ function wn(e) {
1057
1057
  return fe("(?=", e, ")");
1058
1058
  }
1059
- function rt(e) {
1059
+ function ot(e) {
1060
1060
  return fe("(?:", e, ")*");
1061
1061
  }
1062
- function it(e) {
1062
+ function lt(e) {
1063
1063
  return fe("(?:", e, ")?");
1064
1064
  }
1065
1065
  function fe(...e) {
1066
- return e.map((l) => we(l)).join("");
1066
+ return e.map((l) => ye(l)).join("");
1067
1067
  }
1068
- function st(e) {
1068
+ function ct(e) {
1069
1069
  const r = e[e.length - 1];
1070
1070
  return typeof r == "object" && r.constructor === Object ? (e.splice(e.length - 1, 1), r) : {};
1071
1071
  }
1072
- function Qe(...e) {
1073
- return "(" + (st(e).capture ? "" : "?:") + e.map((u) => we(u)).join("|") + ")";
1072
+ function Ze(...e) {
1073
+ return "(" + (ct(e).capture ? "" : "?:") + e.map((f) => ye(f)).join("|") + ")";
1074
1074
  }
1075
- function En(e) {
1075
+ function yn(e) {
1076
1076
  return new RegExp(e.toString() + "|").exec("").length - 1;
1077
1077
  }
1078
- function at(e, r) {
1078
+ function ut(e, r) {
1079
1079
  const l = e && e.exec(r);
1080
1080
  return l && l.index === 0;
1081
1081
  }
1082
- const ot = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
1083
- function Ze(e, { joinWith: r }) {
1082
+ const ft = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
1083
+ function Ye(e, { joinWith: r }) {
1084
1084
  let l = 0;
1085
- return e.map((u) => {
1085
+ return e.map((f) => {
1086
1086
  l += 1;
1087
1087
  const g = l;
1088
- let n = we(u), t = "";
1088
+ let n = ye(f), t = "";
1089
1089
  for (; n.length > 0; ) {
1090
- const i = ot.exec(n);
1090
+ const i = ft.exec(n);
1091
1091
  if (!i) {
1092
1092
  t += n;
1093
1093
  break;
@@ -1095,9 +1095,9 @@ function Ze(e, { joinWith: r }) {
1095
1095
  t += n.substring(0, i.index), n = n.substring(i.index + i[0].length), i[0][0] === "\\" && i[1] ? t += "\\" + String(Number(i[1]) + g) : (t += i[0], i[0] === "(" && l++);
1096
1096
  }
1097
1097
  return t;
1098
- }).map((u) => `(${u})`).join(r);
1098
+ }).map((f) => `(${f})`).join(r);
1099
1099
  }
1100
- const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\\d+)?", yn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", wn = "\\b(0b[01]+)", ct = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ut = (e = {}) => {
1100
+ const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\\d+)?", Mn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Tn = "\\b(0b[01]+)", ht = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", dt = (e = {}) => {
1101
1101
  const r = /^#![ ]*\//;
1102
1102
  return e.binary && (e.begin = fe(
1103
1103
  r,
@@ -1110,29 +1110,29 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1110
1110
  end: /$/,
1111
1111
  relevance: 0,
1112
1112
  /** @type {ModeCallback} */
1113
- "on:begin": (l, u) => {
1114
- l.index !== 0 && u.ignoreMatch();
1113
+ "on:begin": (l, f) => {
1114
+ l.index !== 0 && f.ignoreMatch();
1115
1115
  }
1116
1116
  }, e);
1117
1117
  }, Ne = {
1118
1118
  begin: "\\\\[\\s\\S]",
1119
1119
  relevance: 0
1120
- }, ft = {
1120
+ }, pt = {
1121
1121
  scope: "string",
1122
1122
  begin: "'",
1123
1123
  end: "'",
1124
1124
  illegal: "\\n",
1125
1125
  contains: [Ne]
1126
- }, gt = {
1126
+ }, _t = {
1127
1127
  scope: "string",
1128
1128
  begin: '"',
1129
1129
  end: '"',
1130
1130
  illegal: "\\n",
1131
1131
  contains: [Ne]
1132
- }, ht = {
1132
+ }, bt = {
1133
1133
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
1134
- }, Be = function(e, r, l = {}) {
1135
- const u = le(
1134
+ }, $e = function(e, r, l = {}) {
1135
+ const f = le(
1136
1136
  {
1137
1137
  scope: "comment",
1138
1138
  begin: e,
@@ -1141,7 +1141,7 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1141
1141
  },
1142
1142
  l
1143
1143
  );
1144
- u.contains.push({
1144
+ f.contains.push({
1145
1145
  scope: "doctag",
1146
1146
  // hack to avoid the space from being included. the space is necessary to
1147
1147
  // match here to prevent the plain text rule below from gobbling up doctags
@@ -1150,7 +1150,7 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1150
1150
  excludeBegin: !0,
1151
1151
  relevance: 0
1152
1152
  });
1153
- const g = Qe(
1153
+ const g = Ze(
1154
1154
  // list of common 1 and 2 letter words in English
1155
1155
  "I",
1156
1156
  "a",
@@ -1171,7 +1171,7 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1171
1171
  /[A-Za-z][a-z]{2,}/
1172
1172
  // allow capitalized words at beginning of sentences
1173
1173
  );
1174
- return u.contains.push(
1174
+ return f.contains.push(
1175
1175
  {
1176
1176
  // TODO: how to include ", (, ) without breaking grammars that use these for
1177
1177
  // comment delimiters?
@@ -1196,20 +1196,20 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1196
1196
  )
1197
1197
  // look for 3 words in a row
1198
1198
  }
1199
- ), u;
1200
- }, dt = Be("//", "$"), pt = Be("/\\*", "\\*/"), _t = Be("#", "$"), bt = {
1199
+ ), f;
1200
+ }, Et = $e("//", "$"), mt = $e("/\\*", "\\*/"), vt = $e("#", "$"), wt = {
1201
1201
  scope: "number",
1202
- begin: vn,
1202
+ begin: An,
1203
1203
  relevance: 0
1204
- }, Et = {
1204
+ }, yt = {
1205
1205
  scope: "number",
1206
- begin: yn,
1206
+ begin: Mn,
1207
1207
  relevance: 0
1208
- }, mt = {
1208
+ }, Nt = {
1209
1209
  scope: "number",
1210
- begin: wn,
1210
+ begin: Tn,
1211
1211
  relevance: 0
1212
- }, vt = {
1212
+ }, At = {
1213
1213
  scope: "regexp",
1214
1214
  begin: /\/(?=[^/\n]*\/)/,
1215
1215
  end: /\/[gimuy]*/,
@@ -1222,19 +1222,19 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1222
1222
  contains: [Ne]
1223
1223
  }
1224
1224
  ]
1225
- }, yt = {
1225
+ }, Mt = {
1226
1226
  scope: "title",
1227
- begin: mn,
1227
+ begin: Nn,
1228
1228
  relevance: 0
1229
- }, wt = {
1229
+ }, Tt = {
1230
1230
  scope: "title",
1231
- begin: Ye,
1231
+ begin: Xe,
1232
1232
  relevance: 0
1233
- }, Nt = {
1233
+ }, St = {
1234
1234
  // excludes method names from keyword processing
1235
- begin: "\\.\\s*" + Ye,
1235
+ begin: "\\.\\s*" + Xe,
1236
1236
  relevance: 0
1237
- }, At = function(e) {
1237
+ }, Dt = function(e) {
1238
1238
  return Object.assign(
1239
1239
  e,
1240
1240
  {
@@ -1249,70 +1249,70 @@ const lt = /\b\B/, mn = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1249
1249
  }
1250
1250
  );
1251
1251
  };
1252
- var De = /* @__PURE__ */ Object.freeze({
1252
+ var Le = /* @__PURE__ */ Object.freeze({
1253
1253
  __proto__: null,
1254
- APOS_STRING_MODE: ft,
1254
+ APOS_STRING_MODE: pt,
1255
1255
  BACKSLASH_ESCAPE: Ne,
1256
- BINARY_NUMBER_MODE: mt,
1257
- BINARY_NUMBER_RE: wn,
1258
- COMMENT: Be,
1259
- C_BLOCK_COMMENT_MODE: pt,
1260
- C_LINE_COMMENT_MODE: dt,
1261
- C_NUMBER_MODE: Et,
1262
- C_NUMBER_RE: yn,
1263
- END_SAME_AS_BEGIN: At,
1264
- HASH_COMMENT_MODE: _t,
1265
- IDENT_RE: mn,
1266
- MATCH_NOTHING_RE: lt,
1267
- METHOD_GUARD: Nt,
1268
- NUMBER_MODE: bt,
1269
- NUMBER_RE: vn,
1270
- PHRASAL_WORDS_MODE: ht,
1271
- QUOTE_STRING_MODE: gt,
1272
- REGEXP_MODE: vt,
1273
- RE_STARTERS_RE: ct,
1274
- SHEBANG: ut,
1275
- TITLE_MODE: yt,
1276
- UNDERSCORE_IDENT_RE: Ye,
1277
- UNDERSCORE_TITLE_MODE: wt
1256
+ BINARY_NUMBER_MODE: Nt,
1257
+ BINARY_NUMBER_RE: Tn,
1258
+ COMMENT: $e,
1259
+ C_BLOCK_COMMENT_MODE: mt,
1260
+ C_LINE_COMMENT_MODE: Et,
1261
+ C_NUMBER_MODE: yt,
1262
+ C_NUMBER_RE: Mn,
1263
+ END_SAME_AS_BEGIN: Dt,
1264
+ HASH_COMMENT_MODE: vt,
1265
+ IDENT_RE: Nn,
1266
+ MATCH_NOTHING_RE: gt,
1267
+ METHOD_GUARD: St,
1268
+ NUMBER_MODE: wt,
1269
+ NUMBER_RE: An,
1270
+ PHRASAL_WORDS_MODE: bt,
1271
+ QUOTE_STRING_MODE: _t,
1272
+ REGEXP_MODE: At,
1273
+ RE_STARTERS_RE: ht,
1274
+ SHEBANG: dt,
1275
+ TITLE_MODE: Mt,
1276
+ UNDERSCORE_IDENT_RE: Xe,
1277
+ UNDERSCORE_TITLE_MODE: Tt
1278
1278
  });
1279
- function Mt(e, r) {
1279
+ function Lt(e, r) {
1280
1280
  e.input[e.index - 1] === "." && r.ignoreMatch();
1281
1281
  }
1282
- function Tt(e, r) {
1282
+ function Rt(e, r) {
1283
1283
  e.className !== void 0 && (e.scope = e.className, delete e.className);
1284
1284
  }
1285
- function St(e, r) {
1286
- r && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Mt, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
1285
+ function Ot(e, r) {
1286
+ r && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Lt, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
1287
1287
  }
1288
- function Dt(e, r) {
1289
- Array.isArray(e.illegal) && (e.illegal = Qe(...e.illegal));
1288
+ function Ct(e, r) {
1289
+ Array.isArray(e.illegal) && (e.illegal = Ze(...e.illegal));
1290
1290
  }
1291
- function Lt(e, r) {
1291
+ function It(e, r) {
1292
1292
  if (e.match) {
1293
1293
  if (e.begin || e.end)
1294
1294
  throw new Error("begin & end are not supported with match");
1295
1295
  e.begin = e.match, delete e.match;
1296
1296
  }
1297
1297
  }
1298
- function Rt(e, r) {
1298
+ function kt(e, r) {
1299
1299
  e.relevance === void 0 && (e.relevance = 1);
1300
1300
  }
1301
- const Ot = (e, r) => {
1301
+ const Bt = (e, r) => {
1302
1302
  if (!e.beforeMatch)
1303
1303
  return;
1304
1304
  if (e.starts)
1305
1305
  throw new Error("beforeMatch cannot be used with starts");
1306
1306
  const l = Object.assign({}, e);
1307
- Object.keys(e).forEach((u) => {
1308
- delete e[u];
1309
- }), e.keywords = l.keywords, e.begin = fe(l.beforeMatch, bn(l.begin)), e.starts = {
1307
+ Object.keys(e).forEach((f) => {
1308
+ delete e[f];
1309
+ }), e.keywords = l.keywords, e.begin = fe(l.beforeMatch, wn(l.begin)), e.starts = {
1310
1310
  relevance: 0,
1311
1311
  contains: [
1312
1312
  Object.assign(l, { endsParent: !0 })
1313
1313
  ]
1314
1314
  }, e.relevance = 0, delete l.beforeMatch;
1315
- }, Ct = [
1315
+ }, $t = [
1316
1316
  "of",
1317
1317
  "and",
1318
1318
  "for",
@@ -1327,70 +1327,70 @@ const Ot = (e, r) => {
1327
1327
  // common variable name
1328
1328
  "value"
1329
1329
  // common variable name
1330
- ], It = "keyword";
1331
- function Nn(e, r, l = It) {
1332
- const u = /* @__PURE__ */ Object.create(null);
1330
+ ], Pt = "keyword";
1331
+ function Sn(e, r, l = Pt) {
1332
+ const f = /* @__PURE__ */ Object.create(null);
1333
1333
  return typeof e == "string" ? g(l, e.split(" ")) : Array.isArray(e) ? g(l, e) : Object.keys(e).forEach(function(n) {
1334
1334
  Object.assign(
1335
- u,
1336
- Nn(e[n], r, n)
1335
+ f,
1336
+ Sn(e[n], r, n)
1337
1337
  );
1338
- }), u;
1338
+ }), f;
1339
1339
  function g(n, t) {
1340
1340
  r && (t = t.map((i) => i.toLowerCase())), t.forEach(function(i) {
1341
1341
  const s = i.split("|");
1342
- u[s[0]] = [n, kt(s[0], s[1])];
1342
+ f[s[0]] = [n, Ut(s[0], s[1])];
1343
1343
  });
1344
1344
  }
1345
1345
  }
1346
- function kt(e, r) {
1347
- return r ? Number(r) : Bt(e) ? 0 : 1;
1346
+ function Ut(e, r) {
1347
+ return r ? Number(r) : Ht(e) ? 0 : 1;
1348
1348
  }
1349
- function Bt(e) {
1350
- return Ct.includes(e.toLowerCase());
1349
+ function Ht(e) {
1350
+ return $t.includes(e.toLowerCase());
1351
1351
  }
1352
- const on = {}, ue = (e) => {
1352
+ const cn = {}, ue = (e) => {
1353
1353
  console.error(e);
1354
- }, ln = (e, ...r) => {
1354
+ }, un = (e, ...r) => {
1355
1355
  console.log(`WARN: ${e}`, ...r);
1356
1356
  }, he = (e, r) => {
1357
- on[`${e}/${r}`] || (console.log(`Deprecated as of ${e}. ${r}`), on[`${e}/${r}`] = !0);
1358
- }, Ie = new Error();
1359
- function An(e, r, { key: l }) {
1360
- let u = 0;
1357
+ cn[`${e}/${r}`] || (console.log(`Deprecated as of ${e}. ${r}`), cn[`${e}/${r}`] = !0);
1358
+ }, ke = new Error();
1359
+ function Dn(e, r, { key: l }) {
1360
+ let f = 0;
1361
1361
  const g = e[l], n = {}, t = {};
1362
1362
  for (let i = 1; i <= r.length; i++)
1363
- t[i + u] = g[i], n[i + u] = !0, u += En(r[i - 1]);
1363
+ t[i + f] = g[i], n[i + f] = !0, f += yn(r[i - 1]);
1364
1364
  e[l] = t, e[l]._emit = n, e[l]._multi = !0;
1365
1365
  }
1366
- function $t(e) {
1366
+ function Ft(e) {
1367
1367
  if (Array.isArray(e.begin)) {
1368
1368
  if (e.skip || e.excludeBegin || e.returnBegin)
1369
- throw ue("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Ie;
1369
+ throw ue("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ke;
1370
1370
  if (typeof e.beginScope != "object" || e.beginScope === null)
1371
- throw ue("beginScope must be object"), Ie;
1372
- An(e, e.begin, { key: "beginScope" }), e.begin = Ze(e.begin, { joinWith: "" });
1371
+ throw ue("beginScope must be object"), ke;
1372
+ Dn(e, e.begin, { key: "beginScope" }), e.begin = Ye(e.begin, { joinWith: "" });
1373
1373
  }
1374
1374
  }
1375
- function Ut(e) {
1375
+ function zt(e) {
1376
1376
  if (Array.isArray(e.end)) {
1377
1377
  if (e.skip || e.excludeEnd || e.returnEnd)
1378
- throw ue("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Ie;
1378
+ throw ue("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ke;
1379
1379
  if (typeof e.endScope != "object" || e.endScope === null)
1380
- throw ue("endScope must be object"), Ie;
1381
- An(e, e.end, { key: "endScope" }), e.end = Ze(e.end, { joinWith: "" });
1380
+ throw ue("endScope must be object"), ke;
1381
+ Dn(e, e.end, { key: "endScope" }), e.end = Ye(e.end, { joinWith: "" });
1382
1382
  }
1383
1383
  }
1384
- function Pt(e) {
1384
+ function xt(e) {
1385
1385
  e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
1386
1386
  }
1387
- function Ht(e) {
1388
- Pt(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), $t(e), Ut(e);
1387
+ function Gt(e) {
1388
+ xt(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), Ft(e), zt(e);
1389
1389
  }
1390
- function Ft(e) {
1390
+ function Kt(e) {
1391
1391
  function r(t, i) {
1392
1392
  return new RegExp(
1393
- we(t),
1393
+ ye(t),
1394
1394
  "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (i ? "g" : "")
1395
1395
  );
1396
1396
  }
@@ -1400,12 +1400,12 @@ function Ft(e) {
1400
1400
  }
1401
1401
  // @ts-ignore
1402
1402
  addRule(i, s) {
1403
- s.position = this.position++, this.matchIndexes[this.matchAt] = s, this.regexes.push([s, i]), this.matchAt += En(i) + 1;
1403
+ s.position = this.position++, this.matchIndexes[this.matchAt] = s, this.regexes.push([s, i]), this.matchAt += yn(i) + 1;
1404
1404
  }
1405
1405
  compile() {
1406
1406
  this.regexes.length === 0 && (this.exec = () => null);
1407
1407
  const i = this.regexes.map((s) => s[1]);
1408
- this.matcherRe = r(Ze(i, { joinWith: "|" }), !0), this.lastIndex = 0;
1408
+ this.matcherRe = r(Ye(i, { joinWith: "|" }), !0), this.lastIndex = 0;
1409
1409
  }
1410
1410
  /** @param {string} s */
1411
1411
  exec(i) {
@@ -1413,11 +1413,11 @@ function Ft(e) {
1413
1413
  const s = this.matcherRe.exec(i);
1414
1414
  if (!s)
1415
1415
  return null;
1416
- const o = s.findIndex((c, f) => f > 0 && c !== void 0), a = this.matchIndexes[o];
1417
- return s.splice(0, o), Object.assign(s, a);
1416
+ const a = s.findIndex((c, u) => u > 0 && c !== void 0), o = this.matchIndexes[a];
1417
+ return s.splice(0, a), Object.assign(s, o);
1418
1418
  }
1419
1419
  }
1420
- class u {
1420
+ class f {
1421
1421
  constructor() {
1422
1422
  this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
1423
1423
  }
@@ -1426,7 +1426,7 @@ function Ft(e) {
1426
1426
  if (this.multiRegexes[i])
1427
1427
  return this.multiRegexes[i];
1428
1428
  const s = new l();
1429
- return this.rules.slice(i).forEach(([o, a]) => s.addRule(o, a)), s.compile(), this.multiRegexes[i] = s, s;
1429
+ return this.rules.slice(i).forEach(([a, o]) => s.addRule(a, o)), s.compile(), this.multiRegexes[i] = s, s;
1430
1430
  }
1431
1431
  resumingScanAtSamePosition() {
1432
1432
  return this.regexIndex !== 0;
@@ -1442,16 +1442,16 @@ function Ft(e) {
1442
1442
  exec(i) {
1443
1443
  const s = this.getMatcher(this.regexIndex);
1444
1444
  s.lastIndex = this.lastIndex;
1445
- let o = s.exec(i);
1446
- if (this.resumingScanAtSamePosition() && !(o && o.index === this.lastIndex)) {
1447
- const a = this.getMatcher(0);
1448
- a.lastIndex = this.lastIndex + 1, o = a.exec(i);
1445
+ let a = s.exec(i);
1446
+ if (this.resumingScanAtSamePosition() && !(a && a.index === this.lastIndex)) {
1447
+ const o = this.getMatcher(0);
1448
+ o.lastIndex = this.lastIndex + 1, a = o.exec(i);
1449
1449
  }
1450
- return o && (this.regexIndex += o.position + 1, this.regexIndex === this.count && this.considerAll()), o;
1450
+ return a && (this.regexIndex += a.position + 1, this.regexIndex === this.count && this.considerAll()), a;
1451
1451
  }
1452
1452
  }
1453
1453
  function g(t) {
1454
- const i = new u();
1454
+ const i = new f();
1455
1455
  return t.contains.forEach((s) => i.addRule(s.begin, { rule: s, type: "begin" })), t.terminatorEnd && i.addRule(t.terminatorEnd, { type: "end" }), t.illegal && i.addRule(t.illegal, { type: "illegal" }), i;
1456
1456
  }
1457
1457
  function n(t, i) {
@@ -1462,30 +1462,30 @@ function Ft(e) {
1462
1462
  if (t.isCompiled)
1463
1463
  return s;
1464
1464
  [
1465
- Tt,
1465
+ Rt,
1466
1466
  // do this early so compiler extensions generally don't have to worry about
1467
1467
  // the distinction between match/begin
1468
- Lt,
1469
- Ht,
1470
- Ot
1471
- ].forEach((a) => a(t, i)), e.compilerExtensions.forEach((a) => a(t, i)), t.__beforeBegin = null, [
1472
- St,
1468
+ It,
1469
+ Gt,
1470
+ Bt
1471
+ ].forEach((o) => o(t, i)), e.compilerExtensions.forEach((o) => o(t, i)), t.__beforeBegin = null, [
1472
+ Ot,
1473
1473
  // do this later so compiler extensions that come earlier have access to the
1474
1474
  // raw array if they wanted to perhaps manipulate it, etc.
1475
- Dt,
1475
+ Ct,
1476
1476
  // default to 1 relevance if not specified
1477
- Rt
1478
- ].forEach((a) => a(t, i)), t.isCompiled = !0;
1479
- let o = null;
1480
- return typeof t.keywords == "object" && t.keywords.$pattern && (t.keywords = Object.assign({}, t.keywords), o = t.keywords.$pattern, delete t.keywords.$pattern), o = o || /\w+/, t.keywords && (t.keywords = Nn(t.keywords, e.case_insensitive)), s.keywordPatternRe = r(o, !0), i && (t.begin || (t.begin = /\B|\b/), s.beginRe = r(s.begin), !t.end && !t.endsWithParent && (t.end = /\B|\b/), t.end && (s.endRe = r(s.end)), s.terminatorEnd = we(s.end) || "", t.endsWithParent && i.terminatorEnd && (s.terminatorEnd += (t.end ? "|" : "") + i.terminatorEnd)), t.illegal && (s.illegalRe = r(
1477
+ kt
1478
+ ].forEach((o) => o(t, i)), t.isCompiled = !0;
1479
+ let a = null;
1480
+ return typeof t.keywords == "object" && t.keywords.$pattern && (t.keywords = Object.assign({}, t.keywords), a = t.keywords.$pattern, delete t.keywords.$pattern), a = a || /\w+/, t.keywords && (t.keywords = Sn(t.keywords, e.case_insensitive)), s.keywordPatternRe = r(a, !0), i && (t.begin || (t.begin = /\B|\b/), s.beginRe = r(s.begin), !t.end && !t.endsWithParent && (t.end = /\B|\b/), t.end && (s.endRe = r(s.end)), s.terminatorEnd = ye(s.end) || "", t.endsWithParent && i.terminatorEnd && (s.terminatorEnd += (t.end ? "|" : "") + i.terminatorEnd)), t.illegal && (s.illegalRe = r(
1481
1481
  /** @type {RegExp | string} */
1482
1482
  t.illegal
1483
- )), t.contains || (t.contains = []), t.contains = [].concat(...t.contains.map(function(a) {
1484
- return zt(a === "self" ? t : a);
1485
- })), t.contains.forEach(function(a) {
1483
+ )), t.contains || (t.contains = []), t.contains = [].concat(...t.contains.map(function(o) {
1484
+ return Wt(o === "self" ? t : o);
1485
+ })), t.contains.forEach(function(o) {
1486
1486
  n(
1487
1487
  /** @type Mode */
1488
- a,
1488
+ o,
1489
1489
  s
1490
1490
  );
1491
1491
  }), t.starts && n(t.starts, i), s.matcher = g(s), s;
@@ -1497,22 +1497,22 @@ function Ft(e) {
1497
1497
  e
1498
1498
  );
1499
1499
  }
1500
- function Mn(e) {
1501
- return e ? e.endsWithParent || Mn(e.starts) : !1;
1500
+ function Ln(e) {
1501
+ return e ? e.endsWithParent || Ln(e.starts) : !1;
1502
1502
  }
1503
- function zt(e) {
1503
+ function Wt(e) {
1504
1504
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(r) {
1505
1505
  return le(e, { variants: null }, r);
1506
- })), e.cachedVariants ? e.cachedVariants : Mn(e) ? le(e, { starts: e.starts ? le(e.starts) : null }) : Object.isFrozen(e) ? le(e) : e;
1506
+ })), e.cachedVariants ? e.cachedVariants : Ln(e) ? le(e, { starts: e.starts ? le(e.starts) : null }) : Object.isFrozen(e) ? le(e) : e;
1507
1507
  }
1508
- var xt = "11.9.0";
1509
- class Gt extends Error {
1508
+ var Qt = "11.9.0";
1509
+ class Zt extends Error {
1510
1510
  constructor(r, l) {
1511
1511
  super(r), this.name = "HTMLInjectionError", this.html = l;
1512
1512
  }
1513
1513
  }
1514
- const Fe = _n, cn = le, un = Symbol("nomatch"), Kt = 7, Tn = function(e) {
1515
- const r = /* @__PURE__ */ Object.create(null), l = /* @__PURE__ */ Object.create(null), u = [];
1514
+ const ze = vn, fn = le, gn = Symbol("nomatch"), Yt = 7, Rn = function(e) {
1515
+ const r = /* @__PURE__ */ Object.create(null), l = /* @__PURE__ */ Object.create(null), f = [];
1516
1516
  let g = !0;
1517
1517
  const n = "Could not find the language '{}', did you forget to load/include a language module?", t = { disableAutodetect: !0, name: "Plain text", contains: [] };
1518
1518
  let i = {
@@ -1525,413 +1525,413 @@ const Fe = _n, cn = le, un = Symbol("nomatch"), Kt = 7, Tn = function(e) {
1525
1525
  languages: null,
1526
1526
  // beta configuration options, subject to change, welcome to discuss
1527
1527
  // https://github.com/highlightjs/highlight.js/issues/1086
1528
- __emitter: tt
1528
+ __emitter: at
1529
1529
  };
1530
- function s(E) {
1531
- return i.noHighlightRe.test(E);
1530
+ function s(b) {
1531
+ return i.noHighlightRe.test(b);
1532
1532
  }
1533
- function o(E) {
1534
- let A = E.className + " ";
1535
- A += E.parentNode ? E.parentNode.className : "";
1536
- const C = i.languageDetectRe.exec(A);
1537
- if (C) {
1538
- const B = S(C[1]);
1539
- return B || (ln(n.replace("{}", C[1])), ln("Falling back to no-highlight mode for this block.", E)), B ? C[1] : "no-highlight";
1533
+ function a(b) {
1534
+ let N = b.className + " ";
1535
+ N += b.parentNode ? b.parentNode.className : "";
1536
+ const O = i.languageDetectRe.exec(N);
1537
+ if (O) {
1538
+ const U = L(O[1]);
1539
+ return U || (un(n.replace("{}", O[1])), un("Falling back to no-highlight mode for this block.", b)), U ? O[1] : "no-highlight";
1540
1540
  }
1541
- return A.split(/\s+/).find((B) => s(B) || S(B));
1541
+ return N.split(/\s+/).find((U) => s(U) || L(U));
1542
1542
  }
1543
- function a(E, A, C) {
1544
- let B = "", x = "";
1545
- typeof A == "object" ? (B = E, C = A.ignoreIllegals, x = A.language) : (he("10.7.0", "highlight(lang, code, ...args) has been deprecated."), he("10.7.0", `Please use highlight(code, options) instead.
1546
- https://github.com/highlightjs/highlight.js/issues/2277`), x = E, B = A), C === void 0 && (C = !0);
1543
+ function o(b, N, O) {
1544
+ let U = "", x = "";
1545
+ typeof N == "object" ? (U = b, O = N.ignoreIllegals, x = N.language) : (he("10.7.0", "highlight(lang, code, ...args) has been deprecated."), he("10.7.0", `Please use highlight(code, options) instead.
1546
+ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O === void 0 && (O = !0);
1547
1547
  const X = {
1548
- code: B,
1548
+ code: U,
1549
1549
  language: x
1550
1550
  };
1551
1551
  oe("before:highlight", X);
1552
- const q = X.result ? X.result : c(X.language, X.code, C);
1553
- return q.code = X.code, oe("after:highlight", q), q;
1552
+ const J = X.result ? X.result : c(X.language, X.code, O);
1553
+ return J.code = X.code, oe("after:highlight", J), J;
1554
1554
  }
1555
- function c(E, A, C, B) {
1555
+ function c(b, N, O, U) {
1556
1556
  const x = /* @__PURE__ */ Object.create(null);
1557
- function X(v, T) {
1558
- return v.keywords[T];
1557
+ function X(w, T) {
1558
+ return w.keywords[T];
1559
1559
  }
1560
- function q() {
1561
- if (!O.keywords) {
1560
+ function J() {
1561
+ if (!C.keywords) {
1562
1562
  Q.addText(z);
1563
1563
  return;
1564
1564
  }
1565
- let v = 0;
1566
- O.keywordPatternRe.lastIndex = 0;
1567
- let T = O.keywordPatternRe.exec(z), I = "";
1565
+ let w = 0;
1566
+ C.keywordPatternRe.lastIndex = 0;
1567
+ let T = C.keywordPatternRe.exec(z), k = "";
1568
1568
  for (; T; ) {
1569
- I += z.substring(v, T.index);
1570
- const P = te.case_insensitive ? T[0].toLowerCase() : T[0], Z = X(O, P);
1569
+ k += z.substring(w, T.index);
1570
+ const H = te.case_insensitive ? T[0].toLowerCase() : T[0], Z = X(C, H);
1571
1571
  if (Z) {
1572
- const [re, Pn] = Z;
1573
- if (Q.addText(I), I = "", x[P] = (x[P] || 0) + 1, x[P] <= Kt && (Se += Pn), re.startsWith("_"))
1574
- I += T[0];
1572
+ const [re, Gn] = Z;
1573
+ if (Q.addText(k), k = "", x[H] = (x[H] || 0) + 1, x[H] <= Yt && (Se += Gn), re.startsWith("_"))
1574
+ k += T[0];
1575
1575
  else {
1576
- const Hn = te.classNameAliases[re] || re;
1577
- ne(T[0], Hn);
1576
+ const Kn = te.classNameAliases[re] || re;
1577
+ ne(T[0], Kn);
1578
1578
  }
1579
1579
  } else
1580
- I += T[0];
1581
- v = O.keywordPatternRe.lastIndex, T = O.keywordPatternRe.exec(z);
1580
+ k += T[0];
1581
+ w = C.keywordPatternRe.lastIndex, T = C.keywordPatternRe.exec(z);
1582
1582
  }
1583
- I += z.substring(v), Q.addText(I);
1583
+ k += z.substring(w), Q.addText(k);
1584
1584
  }
1585
1585
  function Me() {
1586
1586
  if (z === "")
1587
1587
  return;
1588
- let v = null;
1589
- if (typeof O.subLanguage == "string") {
1590
- if (!r[O.subLanguage]) {
1588
+ let w = null;
1589
+ if (typeof C.subLanguage == "string") {
1590
+ if (!r[C.subLanguage]) {
1591
1591
  Q.addText(z);
1592
1592
  return;
1593
1593
  }
1594
- v = c(O.subLanguage, z, !0, qe[O.subLanguage]), qe[O.subLanguage] = /** @type {CompiledMode} */
1595
- v._top;
1594
+ w = c(C.subLanguage, z, !0, en[C.subLanguage]), en[C.subLanguage] = /** @type {CompiledMode} */
1595
+ w._top;
1596
1596
  } else
1597
- v = h(z, O.subLanguage.length ? O.subLanguage : null);
1598
- O.relevance > 0 && (Se += v.relevance), Q.__addSublanguage(v._emitter, v.language);
1597
+ w = d(z, C.subLanguage.length ? C.subLanguage : null);
1598
+ C.relevance > 0 && (Se += w.relevance), Q.__addSublanguage(w._emitter, w.language);
1599
1599
  }
1600
- function j() {
1601
- O.subLanguage != null ? Me() : q(), z = "";
1600
+ function V() {
1601
+ C.subLanguage != null ? Me() : J(), z = "";
1602
1602
  }
1603
- function ne(v, T) {
1604
- v !== "" && (Q.startScope(T), Q.addText(v), Q.endScope());
1603
+ function ne(w, T) {
1604
+ w !== "" && (Q.startScope(T), Q.addText(w), Q.endScope());
1605
1605
  }
1606
- function Xe(v, T) {
1607
- let I = 1;
1608
- const P = T.length - 1;
1609
- for (; I <= P; ) {
1610
- if (!v._emit[I]) {
1611
- I++;
1606
+ function Ve(w, T) {
1607
+ let k = 1;
1608
+ const H = T.length - 1;
1609
+ for (; k <= H; ) {
1610
+ if (!w._emit[k]) {
1611
+ k++;
1612
1612
  continue;
1613
1613
  }
1614
- const Z = te.classNameAliases[v[I]] || v[I], re = T[I];
1615
- Z ? ne(re, Z) : (z = re, q(), z = ""), I++;
1614
+ const Z = te.classNameAliases[w[k]] || w[k], re = T[k];
1615
+ Z ? ne(re, Z) : (z = re, J(), z = ""), k++;
1616
1616
  }
1617
1617
  }
1618
- function je(v, T) {
1619
- return v.scope && typeof v.scope == "string" && Q.openNode(te.classNameAliases[v.scope] || v.scope), v.beginScope && (v.beginScope._wrap ? (ne(z, te.classNameAliases[v.beginScope._wrap] || v.beginScope._wrap), z = "") : v.beginScope._multi && (Xe(v.beginScope, T), z = "")), O = Object.create(v, { parent: { value: O } }), O;
1618
+ function je(w, T) {
1619
+ return w.scope && typeof w.scope == "string" && Q.openNode(te.classNameAliases[w.scope] || w.scope), w.beginScope && (w.beginScope._wrap ? (ne(z, te.classNameAliases[w.beginScope._wrap] || w.beginScope._wrap), z = "") : w.beginScope._multi && (Ve(w.beginScope, T), z = "")), C = Object.create(w, { parent: { value: C } }), C;
1620
1620
  }
1621
- function Ve(v, T, I) {
1622
- let P = at(v.endRe, I);
1623
- if (P) {
1624
- if (v["on:end"]) {
1625
- const Z = new rn(v);
1626
- v["on:end"](T, Z), Z.isMatchIgnored && (P = !1);
1621
+ function qe(w, T, k) {
1622
+ let H = ut(w.endRe, k);
1623
+ if (H) {
1624
+ if (w["on:end"]) {
1625
+ const Z = new an(w);
1626
+ w["on:end"](T, Z), Z.isMatchIgnored && (H = !1);
1627
1627
  }
1628
- if (P) {
1629
- for (; v.endsParent && v.parent; )
1630
- v = v.parent;
1631
- return v;
1628
+ if (H) {
1629
+ for (; w.endsParent && w.parent; )
1630
+ w = w.parent;
1631
+ return w;
1632
1632
  }
1633
1633
  }
1634
- if (v.endsWithParent)
1635
- return Ve(v.parent, T, I);
1634
+ if (w.endsWithParent)
1635
+ return qe(w.parent, T, k);
1636
1636
  }
1637
- function In(v) {
1638
- return O.matcher.regexIndex === 0 ? (z += v[0], 1) : (Pe = !0, 0);
1637
+ function Un(w) {
1638
+ return C.matcher.regexIndex === 0 ? (z += w[0], 1) : (He = !0, 0);
1639
1639
  }
1640
- function kn(v) {
1641
- const T = v[0], I = v.rule, P = new rn(I), Z = [I.__beforeBegin, I["on:begin"]];
1640
+ function Hn(w) {
1641
+ const T = w[0], k = w.rule, H = new an(k), Z = [k.__beforeBegin, k["on:begin"]];
1642
1642
  for (const re of Z)
1643
- if (re && (re(v, P), P.isMatchIgnored))
1644
- return In(T);
1645
- return I.skip ? z += T : (I.excludeBegin && (z += T), j(), !I.returnBegin && !I.excludeBegin && (z = T)), je(I, v), I.returnBegin ? 0 : T.length;
1643
+ if (re && (re(w, H), H.isMatchIgnored))
1644
+ return Un(T);
1645
+ return k.skip ? z += T : (k.excludeBegin && (z += T), V(), !k.returnBegin && !k.excludeBegin && (z = T)), je(k, w), k.returnBegin ? 0 : T.length;
1646
1646
  }
1647
- function Bn(v) {
1648
- const T = v[0], I = A.substring(v.index), P = Ve(O, v, I);
1649
- if (!P)
1650
- return un;
1651
- const Z = O;
1652
- O.endScope && O.endScope._wrap ? (j(), ne(T, O.endScope._wrap)) : O.endScope && O.endScope._multi ? (j(), Xe(O.endScope, v)) : Z.skip ? z += T : (Z.returnEnd || Z.excludeEnd || (z += T), j(), Z.excludeEnd && (z = T));
1647
+ function Fn(w) {
1648
+ const T = w[0], k = N.substring(w.index), H = qe(C, w, k);
1649
+ if (!H)
1650
+ return gn;
1651
+ const Z = C;
1652
+ C.endScope && C.endScope._wrap ? (V(), ne(T, C.endScope._wrap)) : C.endScope && C.endScope._multi ? (V(), Ve(C.endScope, w)) : Z.skip ? z += T : (Z.returnEnd || Z.excludeEnd || (z += T), V(), Z.excludeEnd && (z = T));
1653
1653
  do
1654
- O.scope && Q.closeNode(), !O.skip && !O.subLanguage && (Se += O.relevance), O = O.parent;
1655
- while (O !== P.parent);
1656
- return P.starts && je(P.starts, v), Z.returnEnd ? 0 : T.length;
1654
+ C.scope && Q.closeNode(), !C.skip && !C.subLanguage && (Se += C.relevance), C = C.parent;
1655
+ while (C !== H.parent);
1656
+ return H.starts && je(H.starts, w), Z.returnEnd ? 0 : T.length;
1657
1657
  }
1658
- function $n() {
1659
- const v = [];
1660
- for (let T = O; T !== te; T = T.parent)
1661
- T.scope && v.unshift(T.scope);
1662
- v.forEach((T) => Q.openNode(T));
1658
+ function zn() {
1659
+ const w = [];
1660
+ for (let T = C; T !== te; T = T.parent)
1661
+ T.scope && w.unshift(T.scope);
1662
+ w.forEach((T) => Q.openNode(T));
1663
1663
  }
1664
1664
  let Te = {};
1665
- function Je(v, T) {
1666
- const I = T && T[0];
1667
- if (z += v, I == null)
1668
- return j(), 0;
1669
- if (Te.type === "begin" && T.type === "end" && Te.index === T.index && I === "") {
1670
- if (z += A.slice(T.index, T.index + 1), !g) {
1671
- const P = new Error(`0 width match regex (${E})`);
1672
- throw P.languageName = E, P.badRule = Te.rule, P;
1665
+ function Je(w, T) {
1666
+ const k = T && T[0];
1667
+ if (z += w, k == null)
1668
+ return V(), 0;
1669
+ if (Te.type === "begin" && T.type === "end" && Te.index === T.index && k === "") {
1670
+ if (z += N.slice(T.index, T.index + 1), !g) {
1671
+ const H = new Error(`0 width match regex (${b})`);
1672
+ throw H.languageName = b, H.badRule = Te.rule, H;
1673
1673
  }
1674
1674
  return 1;
1675
1675
  }
1676
1676
  if (Te = T, T.type === "begin")
1677
- return kn(T);
1678
- if (T.type === "illegal" && !C) {
1679
- const P = new Error('Illegal lexeme "' + I + '" for mode "' + (O.scope || "<unnamed>") + '"');
1680
- throw P.mode = O, P;
1677
+ return Hn(T);
1678
+ if (T.type === "illegal" && !O) {
1679
+ const H = new Error('Illegal lexeme "' + k + '" for mode "' + (C.scope || "<unnamed>") + '"');
1680
+ throw H.mode = C, H;
1681
1681
  } else if (T.type === "end") {
1682
- const P = Bn(T);
1683
- if (P !== un)
1684
- return P;
1682
+ const H = Fn(T);
1683
+ if (H !== gn)
1684
+ return H;
1685
1685
  }
1686
- if (T.type === "illegal" && I === "")
1686
+ if (T.type === "illegal" && k === "")
1687
1687
  return 1;
1688
1688
  if (Ue > 1e5 && Ue > T.index * 3)
1689
1689
  throw new Error("potential infinite loop, way more iterations than matches");
1690
- return z += I, I.length;
1690
+ return z += k, k.length;
1691
1691
  }
1692
- const te = S(E);
1692
+ const te = L(b);
1693
1693
  if (!te)
1694
- throw ue(n.replace("{}", E)), new Error('Unknown language: "' + E + '"');
1695
- const Un = Ft(te);
1696
- let $e = "", O = B || Un;
1697
- const qe = {}, Q = new i.__emitter(i);
1698
- $n();
1699
- let z = "", Se = 0, ce = 0, Ue = 0, Pe = !1;
1694
+ throw ue(n.replace("{}", b)), new Error('Unknown language: "' + b + '"');
1695
+ const xn = Kt(te);
1696
+ let Pe = "", C = U || xn;
1697
+ const en = {}, Q = new i.__emitter(i);
1698
+ zn();
1699
+ let z = "", Se = 0, ce = 0, Ue = 0, He = !1;
1700
1700
  try {
1701
1701
  if (te.__emitTokens)
1702
- te.__emitTokens(A, Q);
1702
+ te.__emitTokens(N, Q);
1703
1703
  else {
1704
- for (O.matcher.considerAll(); ; ) {
1705
- Ue++, Pe ? Pe = !1 : O.matcher.considerAll(), O.matcher.lastIndex = ce;
1706
- const v = O.matcher.exec(A);
1707
- if (!v)
1704
+ for (C.matcher.considerAll(); ; ) {
1705
+ Ue++, He ? He = !1 : C.matcher.considerAll(), C.matcher.lastIndex = ce;
1706
+ const w = C.matcher.exec(N);
1707
+ if (!w)
1708
1708
  break;
1709
- const T = A.substring(ce, v.index), I = Je(T, v);
1710
- ce = v.index + I;
1709
+ const T = N.substring(ce, w.index), k = Je(T, w);
1710
+ ce = w.index + k;
1711
1711
  }
1712
- Je(A.substring(ce));
1712
+ Je(N.substring(ce));
1713
1713
  }
1714
- return Q.finalize(), $e = Q.toHTML(), {
1715
- language: E,
1716
- value: $e,
1714
+ return Q.finalize(), Pe = Q.toHTML(), {
1715
+ language: b,
1716
+ value: Pe,
1717
1717
  relevance: Se,
1718
1718
  illegal: !1,
1719
1719
  _emitter: Q,
1720
- _top: O
1720
+ _top: C
1721
1721
  };
1722
- } catch (v) {
1723
- if (v.message && v.message.includes("Illegal"))
1722
+ } catch (w) {
1723
+ if (w.message && w.message.includes("Illegal"))
1724
1724
  return {
1725
- language: E,
1726
- value: Fe(A),
1725
+ language: b,
1726
+ value: ze(N),
1727
1727
  illegal: !0,
1728
1728
  relevance: 0,
1729
1729
  _illegalBy: {
1730
- message: v.message,
1730
+ message: w.message,
1731
1731
  index: ce,
1732
- context: A.slice(ce - 100, ce + 100),
1733
- mode: v.mode,
1734
- resultSoFar: $e
1732
+ context: N.slice(ce - 100, ce + 100),
1733
+ mode: w.mode,
1734
+ resultSoFar: Pe
1735
1735
  },
1736
1736
  _emitter: Q
1737
1737
  };
1738
1738
  if (g)
1739
1739
  return {
1740
- language: E,
1741
- value: Fe(A),
1740
+ language: b,
1741
+ value: ze(N),
1742
1742
  illegal: !1,
1743
1743
  relevance: 0,
1744
- errorRaised: v,
1744
+ errorRaised: w,
1745
1745
  _emitter: Q,
1746
- _top: O
1746
+ _top: C
1747
1747
  };
1748
- throw v;
1748
+ throw w;
1749
1749
  }
1750
1750
  }
1751
- function f(E) {
1752
- const A = {
1753
- value: Fe(E),
1751
+ function u(b) {
1752
+ const N = {
1753
+ value: ze(b),
1754
1754
  illegal: !1,
1755
1755
  relevance: 0,
1756
1756
  _top: t,
1757
1757
  _emitter: new i.__emitter(i)
1758
1758
  };
1759
- return A._emitter.addText(E), A;
1759
+ return N._emitter.addText(b), N;
1760
1760
  }
1761
- function h(E, A) {
1762
- A = A || i.languages || Object.keys(r);
1763
- const C = f(E), B = A.filter(S).filter(k).map(
1764
- (j) => c(j, E, !1)
1761
+ function d(b, N) {
1762
+ N = N || i.languages || Object.keys(r);
1763
+ const O = u(b), U = N.filter(L).filter(P).map(
1764
+ (V) => c(V, b, !1)
1765
1765
  );
1766
- B.unshift(C);
1767
- const x = B.sort((j, ne) => {
1768
- if (j.relevance !== ne.relevance)
1769
- return ne.relevance - j.relevance;
1770
- if (j.language && ne.language) {
1771
- if (S(j.language).supersetOf === ne.language)
1766
+ U.unshift(O);
1767
+ const x = U.sort((V, ne) => {
1768
+ if (V.relevance !== ne.relevance)
1769
+ return ne.relevance - V.relevance;
1770
+ if (V.language && ne.language) {
1771
+ if (L(V.language).supersetOf === ne.language)
1772
1772
  return 1;
1773
- if (S(ne.language).supersetOf === j.language)
1773
+ if (L(ne.language).supersetOf === V.language)
1774
1774
  return -1;
1775
1775
  }
1776
1776
  return 0;
1777
- }), [X, q] = x, Me = X;
1778
- return Me.secondBest = q, Me;
1777
+ }), [X, J] = x, Me = X;
1778
+ return Me.secondBest = J, Me;
1779
1779
  }
1780
- function p(E, A, C) {
1781
- const B = A && l[A] || C;
1782
- E.classList.add("hljs"), E.classList.add(`language-${B}`);
1780
+ function h(b, N, O) {
1781
+ const U = N && l[N] || O;
1782
+ b.classList.add("hljs"), b.classList.add(`language-${U}`);
1783
1783
  }
1784
- function d(E) {
1785
- let A = null;
1786
- const C = o(E);
1787
- if (s(C))
1784
+ function p(b) {
1785
+ let N = null;
1786
+ const O = a(b);
1787
+ if (s(O))
1788
1788
  return;
1789
1789
  if (oe(
1790
1790
  "before:highlightElement",
1791
- { el: E, language: C }
1792
- ), E.dataset.highlighted) {
1793
- console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", E);
1791
+ { el: b, language: O }
1792
+ ), b.dataset.highlighted) {
1793
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", b);
1794
1794
  return;
1795
1795
  }
1796
- if (E.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(E)), i.throwUnescapedHTML))
1797
- throw new Gt(
1796
+ if (b.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(b)), i.throwUnescapedHTML))
1797
+ throw new Zt(
1798
1798
  "One of your code blocks includes unescaped HTML.",
1799
- E.innerHTML
1799
+ b.innerHTML
1800
1800
  );
1801
- A = E;
1802
- const B = A.textContent, x = C ? a(B, { language: C, ignoreIllegals: !0 }) : h(B);
1803
- E.innerHTML = x.value, E.dataset.highlighted = "yes", p(E, C, x.language), E.result = {
1801
+ N = b;
1802
+ const U = N.textContent, x = O ? o(U, { language: O, ignoreIllegals: !0 }) : d(U);
1803
+ b.innerHTML = x.value, b.dataset.highlighted = "yes", h(b, O, x.language), b.result = {
1804
1804
  language: x.language,
1805
1805
  // TODO: remove with version 11.0
1806
1806
  re: x.relevance,
1807
1807
  relevance: x.relevance
1808
- }, x.secondBest && (E.secondBest = {
1808
+ }, x.secondBest && (b.secondBest = {
1809
1809
  language: x.secondBest.language,
1810
1810
  relevance: x.secondBest.relevance
1811
- }), oe("after:highlightElement", { el: E, result: x, text: B });
1811
+ }), oe("after:highlightElement", { el: b, result: x, text: U });
1812
1812
  }
1813
- function _(E) {
1814
- i = cn(i, E);
1813
+ function _(b) {
1814
+ i = fn(i, b);
1815
1815
  }
1816
- const m = () => {
1817
- M(), he("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1816
+ const E = () => {
1817
+ A(), he("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1818
1818
  };
1819
- function b() {
1820
- M(), he("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1819
+ function m() {
1820
+ A(), he("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1821
1821
  }
1822
- let y = !1;
1823
- function M() {
1822
+ let v = !1;
1823
+ function A() {
1824
1824
  if (document.readyState === "loading") {
1825
- y = !0;
1825
+ v = !0;
1826
1826
  return;
1827
1827
  }
1828
- document.querySelectorAll(i.cssSelector).forEach(d);
1828
+ document.querySelectorAll(i.cssSelector).forEach(p);
1829
1829
  }
1830
- function L() {
1831
- y && M();
1830
+ function D() {
1831
+ v && A();
1832
1832
  }
1833
- typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", L, !1);
1834
- function N(E, A) {
1835
- let C = null;
1833
+ typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", D, !1);
1834
+ function S(b, N) {
1835
+ let O = null;
1836
1836
  try {
1837
- C = A(e);
1838
- } catch (B) {
1839
- if (ue("Language definition for '{}' could not be registered.".replace("{}", E)), g)
1840
- ue(B);
1837
+ O = N(e);
1838
+ } catch (U) {
1839
+ if (ue("Language definition for '{}' could not be registered.".replace("{}", b)), g)
1840
+ ue(U);
1841
1841
  else
1842
- throw B;
1843
- C = t;
1842
+ throw U;
1843
+ O = t;
1844
1844
  }
1845
- C.name || (C.name = E), r[E] = C, C.rawDefinition = A.bind(null, e), C.aliases && $(C.aliases, { languageName: E });
1845
+ O.name || (O.name = b), r[b] = O, O.rawDefinition = N.bind(null, e), O.aliases && I(O.aliases, { languageName: b });
1846
1846
  }
1847
- function D(E) {
1848
- delete r[E];
1849
- for (const A of Object.keys(l))
1850
- l[A] === E && delete l[A];
1847
+ function M(b) {
1848
+ delete r[b];
1849
+ for (const N of Object.keys(l))
1850
+ l[N] === b && delete l[N];
1851
1851
  }
1852
1852
  function R() {
1853
1853
  return Object.keys(r);
1854
1854
  }
1855
- function S(E) {
1856
- return E = (E || "").toLowerCase(), r[E] || r[l[E]];
1855
+ function L(b) {
1856
+ return b = (b || "").toLowerCase(), r[b] || r[l[b]];
1857
1857
  }
1858
- function $(E, { languageName: A }) {
1859
- typeof E == "string" && (E = [E]), E.forEach((C) => {
1860
- l[C.toLowerCase()] = A;
1858
+ function I(b, { languageName: N }) {
1859
+ typeof b == "string" && (b = [b]), b.forEach((O) => {
1860
+ l[O.toLowerCase()] = N;
1861
1861
  });
1862
1862
  }
1863
- function k(E) {
1864
- const A = S(E);
1865
- return A && !A.disableAutodetect;
1863
+ function P(b) {
1864
+ const N = L(b);
1865
+ return N && !N.disableAutodetect;
1866
1866
  }
1867
- function H(E) {
1868
- E["before:highlightBlock"] && !E["before:highlightElement"] && (E["before:highlightElement"] = (A) => {
1869
- E["before:highlightBlock"](
1870
- Object.assign({ block: A.el }, A)
1867
+ function $(b) {
1868
+ b["before:highlightBlock"] && !b["before:highlightElement"] && (b["before:highlightElement"] = (N) => {
1869
+ b["before:highlightBlock"](
1870
+ Object.assign({ block: N.el }, N)
1871
1871
  );
1872
- }), E["after:highlightBlock"] && !E["after:highlightElement"] && (E["after:highlightElement"] = (A) => {
1873
- E["after:highlightBlock"](
1874
- Object.assign({ block: A.el }, A)
1872
+ }), b["after:highlightBlock"] && !b["after:highlightElement"] && (b["after:highlightElement"] = (N) => {
1873
+ b["after:highlightBlock"](
1874
+ Object.assign({ block: N.el }, N)
1875
1875
  );
1876
1876
  });
1877
1877
  }
1878
- function K(E) {
1879
- H(E), u.push(E);
1878
+ function K(b) {
1879
+ $(b), f.push(b);
1880
1880
  }
1881
- function Y(E) {
1882
- const A = u.indexOf(E);
1883
- A !== -1 && u.splice(A, 1);
1881
+ function Y(b) {
1882
+ const N = f.indexOf(b);
1883
+ N !== -1 && f.splice(N, 1);
1884
1884
  }
1885
- function oe(E, A) {
1886
- const C = E;
1887
- u.forEach(function(B) {
1888
- B[C] && B[C](A);
1885
+ function oe(b, N) {
1886
+ const O = b;
1887
+ f.forEach(function(U) {
1888
+ U[O] && U[O](N);
1889
1889
  });
1890
1890
  }
1891
- function ge(E) {
1892
- return he("10.7.0", "highlightBlock will be removed entirely in v12.0"), he("10.7.0", "Please use highlightElement now."), d(E);
1891
+ function ge(b) {
1892
+ return he("10.7.0", "highlightBlock will be removed entirely in v12.0"), he("10.7.0", "Please use highlightElement now."), p(b);
1893
1893
  }
1894
1894
  Object.assign(e, {
1895
- highlight: a,
1896
- highlightAuto: h,
1897
- highlightAll: M,
1898
- highlightElement: d,
1895
+ highlight: o,
1896
+ highlightAuto: d,
1897
+ highlightAll: A,
1898
+ highlightElement: p,
1899
1899
  // TODO: Remove with v12 API
1900
1900
  highlightBlock: ge,
1901
1901
  configure: _,
1902
- initHighlighting: m,
1903
- initHighlightingOnLoad: b,
1904
- registerLanguage: N,
1905
- unregisterLanguage: D,
1902
+ initHighlighting: E,
1903
+ initHighlightingOnLoad: m,
1904
+ registerLanguage: S,
1905
+ unregisterLanguage: M,
1906
1906
  listLanguages: R,
1907
- getLanguage: S,
1908
- registerAliases: $,
1909
- autoDetection: k,
1910
- inherit: cn,
1907
+ getLanguage: L,
1908
+ registerAliases: I,
1909
+ autoDetection: P,
1910
+ inherit: fn,
1911
1911
  addPlugin: K,
1912
1912
  removePlugin: Y
1913
1913
  }), e.debugMode = function() {
1914
1914
  g = !1;
1915
1915
  }, e.safeMode = function() {
1916
1916
  g = !0;
1917
- }, e.versionString = xt, e.regex = {
1917
+ }, e.versionString = Qt, e.regex = {
1918
1918
  concat: fe,
1919
- lookahead: bn,
1920
- either: Qe,
1921
- optional: it,
1922
- anyNumberOfTimes: rt
1919
+ lookahead: wn,
1920
+ either: Ze,
1921
+ optional: lt,
1922
+ anyNumberOfTimes: ot
1923
1923
  };
1924
- for (const E in De)
1925
- typeof De[E] == "object" && pn(De[E]);
1926
- return Object.assign(e, De), e;
1927
- }, _e = Tn({});
1928
- _e.newInstance = () => Tn({});
1929
- var Wt = _e;
1924
+ for (const b in Le)
1925
+ typeof Le[b] == "object" && mn(Le[b]);
1926
+ return Object.assign(e, Le), e;
1927
+ }, _e = Rn({});
1928
+ _e.newInstance = () => Rn({});
1929
+ var Xt = _e;
1930
1930
  _e.HighlightJS = _e;
1931
1931
  _e.default = _e;
1932
- const J = /* @__PURE__ */ Jn(Wt);
1933
- function Qt(e) {
1934
- const r = e.regex, l = r.concat(/[\p{L}_]/u, r.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), u = /[\p{L}0-9._:-]+/u, g = {
1932
+ const q = /* @__PURE__ */ tt(Xt);
1933
+ function Vt(e) {
1934
+ const r = e.regex, l = r.concat(/[\p{L}_]/u, r.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), f = /[\p{L}0-9._:-]+/u, g = {
1935
1935
  className: "symbol",
1936
1936
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
1937
1937
  }, n = {
@@ -1946,14 +1946,14 @@ function Qt(e) {
1946
1946
  }, t = e.inherit(n, {
1947
1947
  begin: /\(/,
1948
1948
  end: /\)/
1949
- }), i = e.inherit(e.APOS_STRING_MODE, { className: "string" }), s = e.inherit(e.QUOTE_STRING_MODE, { className: "string" }), o = {
1949
+ }), i = e.inherit(e.APOS_STRING_MODE, { className: "string" }), s = e.inherit(e.QUOTE_STRING_MODE, { className: "string" }), a = {
1950
1950
  endsWithParent: !0,
1951
1951
  illegal: /</,
1952
1952
  relevance: 0,
1953
1953
  contains: [
1954
1954
  {
1955
1955
  className: "attr",
1956
- begin: u,
1956
+ begin: f,
1957
1957
  relevance: 0
1958
1958
  },
1959
1959
  {
@@ -2065,7 +2065,7 @@ function Qt(e) {
2065
2065
  begin: /<style(?=\s|>)/,
2066
2066
  end: />/,
2067
2067
  keywords: { name: "style" },
2068
- contains: [o],
2068
+ contains: [a],
2069
2069
  starts: {
2070
2070
  end: /<\/style>/,
2071
2071
  returnEnd: !0,
@@ -2081,7 +2081,7 @@ function Qt(e) {
2081
2081
  begin: /<script(?=\s|>)/,
2082
2082
  end: />/,
2083
2083
  keywords: { name: "script" },
2084
- contains: [o],
2084
+ contains: [a],
2085
2085
  starts: {
2086
2086
  end: /<\/script>/,
2087
2087
  returnEnd: !0,
@@ -2116,7 +2116,7 @@ function Qt(e) {
2116
2116
  className: "name",
2117
2117
  begin: l,
2118
2118
  relevance: 0,
2119
- starts: o
2119
+ starts: a
2120
2120
  }
2121
2121
  ]
2122
2122
  },
@@ -2146,7 +2146,7 @@ function Qt(e) {
2146
2146
  ]
2147
2147
  };
2148
2148
  }
2149
- const fn = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2149
+ const hn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2150
2150
  "as",
2151
2151
  // for exports
2152
2152
  "in",
@@ -2189,14 +2189,14 @@ const fn = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2189
2189
  "from",
2190
2190
  "export",
2191
2191
  "extends"
2192
- ], Yt = [
2192
+ ], qt = [
2193
2193
  "true",
2194
2194
  "false",
2195
2195
  "null",
2196
2196
  "undefined",
2197
2197
  "NaN",
2198
2198
  "Infinity"
2199
- ], Sn = [
2199
+ ], On = [
2200
2200
  // Fundamental objects
2201
2201
  "Object",
2202
2202
  "Function",
@@ -2246,7 +2246,7 @@ const fn = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2246
2246
  "Intl",
2247
2247
  // WebAssembly
2248
2248
  "WebAssembly"
2249
- ], Dn = [
2249
+ ], Cn = [
2250
2250
  "Error",
2251
2251
  "EvalError",
2252
2252
  "InternalError",
@@ -2255,7 +2255,7 @@ const fn = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2255
2255
  "SyntaxError",
2256
2256
  "TypeError",
2257
2257
  "URIError"
2258
- ], Ln = [
2258
+ ], In = [
2259
2259
  "setInterval",
2260
2260
  "setTimeout",
2261
2261
  "clearInterval",
@@ -2273,7 +2273,7 @@ const fn = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2273
2273
  "encodeURIComponent",
2274
2274
  "escape",
2275
2275
  "unescape"
2276
- ], Xt = [
2276
+ ], Jt = [
2277
2277
  "arguments",
2278
2278
  "this",
2279
2279
  "super",
@@ -2285,16 +2285,16 @@ const fn = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2285
2285
  "module",
2286
2286
  "global"
2287
2287
  // Node.js
2288
- ], jt = [].concat(
2289
- Ln,
2290
- Sn,
2291
- Dn
2288
+ ], er = [].concat(
2289
+ In,
2290
+ On,
2291
+ Cn
2292
2292
  );
2293
- function Vt(e) {
2294
- const r = e.regex, l = (A, { after: C }) => {
2295
- const B = "</" + A[0].slice(1);
2296
- return A.input.indexOf(B, C) !== -1;
2297
- }, u = fn, g = {
2293
+ function nr(e) {
2294
+ const r = e.regex, l = (N, { after: O }) => {
2295
+ const U = "</" + N[0].slice(1);
2296
+ return N.input.indexOf(U, O) !== -1;
2297
+ }, f = hn, g = {
2298
2298
  begin: "<>",
2299
2299
  end: "</>"
2300
2300
  }, n = /<[A-Za-z0-9\\._:-]+\s*\/>/, t = {
@@ -2304,8 +2304,8 @@ function Vt(e) {
2304
2304
  * @param {RegExpMatchArray} match
2305
2305
  * @param {CallbackResponse} response
2306
2306
  */
2307
- isTrulyOpeningTag: (A, C) => {
2308
- const B = A[0].length + A.index, x = A.input[B];
2307
+ isTrulyOpeningTag: (N, O) => {
2308
+ const U = N[0].length + N.index, x = N.input[U];
2309
2309
  if (
2310
2310
  // HTML should not include another raw `<` inside a tag
2311
2311
  // nested type?
@@ -2314,33 +2314,33 @@ function Vt(e) {
2314
2314
  // `<T, A extends keyof T, V>`
2315
2315
  x === ","
2316
2316
  ) {
2317
- C.ignoreMatch();
2317
+ O.ignoreMatch();
2318
2318
  return;
2319
2319
  }
2320
- x === ">" && (l(A, { after: B }) || C.ignoreMatch());
2320
+ x === ">" && (l(N, { after: U }) || O.ignoreMatch());
2321
2321
  let X;
2322
- const q = A.input.substring(B);
2323
- if (X = q.match(/^\s*=/)) {
2324
- C.ignoreMatch();
2322
+ const J = N.input.substring(U);
2323
+ if (X = J.match(/^\s*=/)) {
2324
+ O.ignoreMatch();
2325
2325
  return;
2326
2326
  }
2327
- if ((X = q.match(/^\s+extends\s+/)) && X.index === 0) {
2328
- C.ignoreMatch();
2327
+ if ((X = J.match(/^\s+extends\s+/)) && X.index === 0) {
2328
+ O.ignoreMatch();
2329
2329
  return;
2330
2330
  }
2331
2331
  }
2332
2332
  }, i = {
2333
- $pattern: fn,
2334
- keyword: Zt,
2335
- literal: Yt,
2336
- built_in: jt,
2337
- "variable.language": Xt
2338
- }, s = "[0-9](_?[0-9])*", o = `\\.(${s})`, a = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
2333
+ $pattern: hn,
2334
+ keyword: jt,
2335
+ literal: qt,
2336
+ built_in: er,
2337
+ "variable.language": Jt
2338
+ }, s = "[0-9](_?[0-9])*", a = `\\.(${s})`, o = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
2339
2339
  className: "number",
2340
2340
  variants: [
2341
2341
  // DecimalLiteral
2342
- { begin: `(\\b(${a})((${o})|\\.)?|(${o}))[eE][+-]?(${s})\\b` },
2343
- { begin: `\\b(${a})\\b((${o})\\b|\\.)?|(${o})\\b` },
2342
+ { begin: `(\\b(${o})((${a})|\\.)?|(${a}))[eE][+-]?(${s})\\b` },
2343
+ { begin: `\\b(${o})\\b((${a})\\b|\\.)?|(${a})\\b` },
2344
2344
  // DecimalBigIntegerLiteral
2345
2345
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
2346
2346
  // NonDecimalIntegerLiteral
@@ -2352,14 +2352,14 @@ function Vt(e) {
2352
2352
  { begin: "\\b0[0-7]+n?\\b" }
2353
2353
  ],
2354
2354
  relevance: 0
2355
- }, f = {
2355
+ }, u = {
2356
2356
  className: "subst",
2357
2357
  begin: "\\$\\{",
2358
2358
  end: "\\}",
2359
2359
  keywords: i,
2360
2360
  contains: []
2361
2361
  // defined later
2362
- }, h = {
2362
+ }, d = {
2363
2363
  begin: "html`",
2364
2364
  end: "",
2365
2365
  starts: {
@@ -2367,11 +2367,11 @@ function Vt(e) {
2367
2367
  returnEnd: !1,
2368
2368
  contains: [
2369
2369
  e.BACKSLASH_ESCAPE,
2370
- f
2370
+ u
2371
2371
  ],
2372
2372
  subLanguage: "xml"
2373
2373
  }
2374
- }, p = {
2374
+ }, h = {
2375
2375
  begin: "css`",
2376
2376
  end: "",
2377
2377
  starts: {
@@ -2379,11 +2379,11 @@ function Vt(e) {
2379
2379
  returnEnd: !1,
2380
2380
  contains: [
2381
2381
  e.BACKSLASH_ESCAPE,
2382
- f
2382
+ u
2383
2383
  ],
2384
2384
  subLanguage: "css"
2385
2385
  }
2386
- }, d = {
2386
+ }, p = {
2387
2387
  begin: "gql`",
2388
2388
  end: "",
2389
2389
  starts: {
@@ -2391,7 +2391,7 @@ function Vt(e) {
2391
2391
  returnEnd: !1,
2392
2392
  contains: [
2393
2393
  e.BACKSLASH_ESCAPE,
2394
- f
2394
+ u
2395
2395
  ],
2396
2396
  subLanguage: "graphql"
2397
2397
  }
@@ -2401,9 +2401,9 @@ function Vt(e) {
2401
2401
  end: "`",
2402
2402
  contains: [
2403
2403
  e.BACKSLASH_ESCAPE,
2404
- f
2404
+ u
2405
2405
  ]
2406
- }, b = {
2406
+ }, m = {
2407
2407
  className: "comment",
2408
2408
  variants: [
2409
2409
  e.COMMENT(
@@ -2430,7 +2430,7 @@ function Vt(e) {
2430
2430
  },
2431
2431
  {
2432
2432
  className: "variable",
2433
- begin: u + "(?=\\s*(-)|$)",
2433
+ begin: f + "(?=\\s*(-)|$)",
2434
2434
  endsParent: !0,
2435
2435
  relevance: 0
2436
2436
  },
@@ -2448,12 +2448,12 @@ function Vt(e) {
2448
2448
  e.C_BLOCK_COMMENT_MODE,
2449
2449
  e.C_LINE_COMMENT_MODE
2450
2450
  ]
2451
- }, y = [
2451
+ }, v = [
2452
2452
  e.APOS_STRING_MODE,
2453
2453
  e.QUOTE_STRING_MODE,
2454
+ d,
2454
2455
  h,
2455
2456
  p,
2456
- d,
2457
2457
  _,
2458
2458
  // Skip numbers when they are part of a variable name
2459
2459
  { match: /\$\d+/ },
@@ -2462,7 +2462,7 @@ function Vt(e) {
2462
2462
  // See https://github.com/highlightjs/highlight.js/issues/3288
2463
2463
  // hljs.REGEXP_MODE
2464
2464
  ];
2465
- f.contains = y.concat({
2465
+ u.contains = v.concat({
2466
2466
  // we need to pair up {} inside our subst to prevent
2467
2467
  // it from ending too early by matching another }
2468
2468
  begin: /\{/,
@@ -2470,36 +2470,36 @@ function Vt(e) {
2470
2470
  keywords: i,
2471
2471
  contains: [
2472
2472
  "self"
2473
- ].concat(y)
2473
+ ].concat(v)
2474
2474
  });
2475
- const M = [].concat(b, f.contains), L = M.concat([
2475
+ const A = [].concat(m, u.contains), D = A.concat([
2476
2476
  // eat recursive parens in sub expressions
2477
2477
  {
2478
2478
  begin: /\(/,
2479
2479
  end: /\)/,
2480
2480
  keywords: i,
2481
- contains: ["self"].concat(M)
2481
+ contains: ["self"].concat(A)
2482
2482
  }
2483
- ]), N = {
2483
+ ]), S = {
2484
2484
  className: "params",
2485
2485
  begin: /\(/,
2486
2486
  end: /\)/,
2487
2487
  excludeBegin: !0,
2488
2488
  excludeEnd: !0,
2489
2489
  keywords: i,
2490
- contains: L
2491
- }, D = {
2490
+ contains: D
2491
+ }, M = {
2492
2492
  variants: [
2493
2493
  // class Car extends vehicle
2494
2494
  {
2495
2495
  match: [
2496
2496
  /class/,
2497
2497
  /\s+/,
2498
- u,
2498
+ f,
2499
2499
  /\s+/,
2500
2500
  /extends/,
2501
2501
  /\s+/,
2502
- r.concat(u, "(", r.concat(/\./, u), ")*")
2502
+ r.concat(f, "(", r.concat(/\./, f), ")*")
2503
2503
  ],
2504
2504
  scope: {
2505
2505
  1: "keyword",
@@ -2513,7 +2513,7 @@ function Vt(e) {
2513
2513
  match: [
2514
2514
  /class/,
2515
2515
  /\s+/,
2516
- u
2516
+ f
2517
2517
  ],
2518
2518
  scope: {
2519
2519
  1: "keyword",
@@ -2541,22 +2541,22 @@ function Vt(e) {
2541
2541
  keywords: {
2542
2542
  _: [
2543
2543
  // se we still get relevance credit for JS library classes
2544
- ...Sn,
2545
- ...Dn
2544
+ ...On,
2545
+ ...Cn
2546
2546
  ]
2547
2547
  }
2548
- }, S = {
2548
+ }, L = {
2549
2549
  label: "use_strict",
2550
2550
  className: "meta",
2551
2551
  relevance: 10,
2552
2552
  begin: /^\s*['"]use (strict|asm)['"]/
2553
- }, $ = {
2553
+ }, I = {
2554
2554
  variants: [
2555
2555
  {
2556
2556
  match: [
2557
2557
  /function/,
2558
2558
  /\s+/,
2559
- u,
2559
+ f,
2560
2560
  /(?=\s*\()/
2561
2561
  ]
2562
2562
  },
@@ -2573,34 +2573,34 @@ function Vt(e) {
2573
2573
  3: "title.function"
2574
2574
  },
2575
2575
  label: "func.def",
2576
- contains: [N],
2576
+ contains: [S],
2577
2577
  illegal: /%/
2578
- }, k = {
2578
+ }, P = {
2579
2579
  relevance: 0,
2580
2580
  match: /\b[A-Z][A-Z_0-9]+\b/,
2581
2581
  className: "variable.constant"
2582
2582
  };
2583
- function H(A) {
2584
- return r.concat("(?!", A.join("|"), ")");
2583
+ function $(N) {
2584
+ return r.concat("(?!", N.join("|"), ")");
2585
2585
  }
2586
2586
  const K = {
2587
2587
  match: r.concat(
2588
2588
  /\b/,
2589
- H([
2590
- ...Ln,
2589
+ $([
2590
+ ...In,
2591
2591
  "super",
2592
2592
  "import"
2593
2593
  ]),
2594
- u,
2594
+ f,
2595
2595
  r.lookahead(/\(/)
2596
2596
  ),
2597
2597
  className: "title.function",
2598
2598
  relevance: 0
2599
2599
  }, Y = {
2600
2600
  begin: r.concat(/\./, r.lookahead(
2601
- r.concat(u, /(?![0-9A-Za-z$_(])/)
2601
+ r.concat(f, /(?![0-9A-Za-z$_(])/)
2602
2602
  )),
2603
- end: u,
2603
+ end: f,
2604
2604
  excludeBegin: !0,
2605
2605
  keywords: "prototype",
2606
2606
  className: "property",
@@ -2609,7 +2609,7 @@ function Vt(e) {
2609
2609
  match: [
2610
2610
  /get|set/,
2611
2611
  /\s+/,
2612
- u,
2612
+ f,
2613
2613
  /(?=\()/
2614
2614
  ],
2615
2615
  className: {
@@ -2621,13 +2621,13 @@ function Vt(e) {
2621
2621
  // eat to avoid empty params
2622
2622
  begin: /\(\)/
2623
2623
  },
2624
- N
2624
+ S
2625
2625
  ]
2626
- }, ge = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + e.UNDERSCORE_IDENT_RE + ")\\s*=>", E = {
2626
+ }, ge = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + e.UNDERSCORE_IDENT_RE + ")\\s*=>", b = {
2627
2627
  match: [
2628
2628
  /const|var|let/,
2629
2629
  /\s+/,
2630
- u,
2630
+ f,
2631
2631
  /\s*/,
2632
2632
  /=\s*/,
2633
2633
  /(async\s*)?/,
@@ -2640,7 +2640,7 @@ function Vt(e) {
2640
2640
  3: "title.function"
2641
2641
  },
2642
2642
  contains: [
2643
- N
2643
+ S
2644
2644
  ]
2645
2645
  };
2646
2646
  return {
@@ -2648,7 +2648,7 @@ function Vt(e) {
2648
2648
  aliases: ["js", "jsx", "mjs", "cjs"],
2649
2649
  keywords: i,
2650
2650
  // this will be extended by TypeScript
2651
- exports: { PARAMS_CONTAINS: L, CLASS_REFERENCE: R },
2651
+ exports: { PARAMS_CONTAINS: D, CLASS_REFERENCE: R },
2652
2652
  illegal: /#(?![$_A-z])/,
2653
2653
  contains: [
2654
2654
  e.SHEBANG({
@@ -2656,31 +2656,31 @@ function Vt(e) {
2656
2656
  binary: "node",
2657
2657
  relevance: 5
2658
2658
  }),
2659
- S,
2659
+ L,
2660
2660
  e.APOS_STRING_MODE,
2661
2661
  e.QUOTE_STRING_MODE,
2662
+ d,
2662
2663
  h,
2663
2664
  p,
2664
- d,
2665
2665
  _,
2666
- b,
2666
+ m,
2667
2667
  // Skip numbers when they are part of a variable name
2668
2668
  { match: /\$\d+/ },
2669
2669
  c,
2670
2670
  R,
2671
2671
  {
2672
2672
  className: "attr",
2673
- begin: u + r.lookahead(":"),
2673
+ begin: f + r.lookahead(":"),
2674
2674
  relevance: 0
2675
2675
  },
2676
- E,
2676
+ b,
2677
2677
  {
2678
2678
  // "value" container
2679
2679
  begin: "(" + e.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2680
2680
  keywords: "return throw case",
2681
2681
  relevance: 0,
2682
2682
  contains: [
2683
- b,
2683
+ m,
2684
2684
  e.REGEXP_MODE,
2685
2685
  {
2686
2686
  className: "function",
@@ -2709,7 +2709,7 @@ function Vt(e) {
2709
2709
  excludeBegin: !0,
2710
2710
  excludeEnd: !0,
2711
2711
  keywords: i,
2712
- contains: L
2712
+ contains: D
2713
2713
  }
2714
2714
  ]
2715
2715
  }
@@ -2749,7 +2749,7 @@ function Vt(e) {
2749
2749
  }
2750
2750
  ]
2751
2751
  },
2752
- $,
2752
+ I,
2753
2753
  {
2754
2754
  // prevent this from getting swallowed up by function
2755
2755
  // since they appear "function like"
@@ -2764,8 +2764,8 @@ function Vt(e) {
2764
2764
  returnBegin: !0,
2765
2765
  label: "func.def",
2766
2766
  contains: [
2767
- N,
2768
- e.inherit(e.TITLE_MODE, { begin: u, className: "title.function" })
2767
+ S,
2768
+ e.inherit(e.TITLE_MODE, { begin: f, className: "title.function" })
2769
2769
  ]
2770
2770
  },
2771
2771
  // catch ... so it won't trigger the property rule below
@@ -2778,17 +2778,17 @@ function Vt(e) {
2778
2778
  // .keyword()
2779
2779
  // $keyword = x
2780
2780
  {
2781
- match: "\\$" + u,
2781
+ match: "\\$" + f,
2782
2782
  relevance: 0
2783
2783
  },
2784
2784
  {
2785
2785
  match: [/\bconstructor(?=\s*\()/],
2786
2786
  className: { 1: "title.function" },
2787
- contains: [N]
2787
+ contains: [S]
2788
2788
  },
2789
2789
  K,
2790
- k,
2791
- D,
2790
+ P,
2791
+ M,
2792
2792
  oe,
2793
2793
  {
2794
2794
  match: /\$[(.]/
@@ -2797,7 +2797,7 @@ function Vt(e) {
2797
2797
  ]
2798
2798
  };
2799
2799
  }
2800
- function Jt(e) {
2800
+ function tr(e) {
2801
2801
  const r = {
2802
2802
  className: "attr",
2803
2803
  begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
@@ -2806,18 +2806,18 @@ function Jt(e) {
2806
2806
  match: /[{}[\],:]/,
2807
2807
  className: "punctuation",
2808
2808
  relevance: 0
2809
- }, u = [
2809
+ }, f = [
2810
2810
  "true",
2811
2811
  "false",
2812
2812
  "null"
2813
2813
  ], g = {
2814
2814
  scope: "literal",
2815
- beginKeywords: u.join(" ")
2815
+ beginKeywords: f.join(" ")
2816
2816
  };
2817
2817
  return {
2818
2818
  name: "JSON",
2819
2819
  keywords: {
2820
- literal: u
2820
+ literal: f
2821
2821
  },
2822
2822
  contains: [
2823
2823
  r,
@@ -2831,8 +2831,8 @@ function Jt(e) {
2831
2831
  illegal: "\\S"
2832
2832
  };
2833
2833
  }
2834
- function qt(e) {
2835
- const r = "true false yes no null", l = "[\\w#;/?:@&=+$,.~*'()[\\]]+", u = {
2834
+ function rr(e) {
2835
+ const r = "true false yes no null", l = "[\\w#;/?:@&=+$,.~*'()[\\]]+", f = {
2836
2836
  className: "attr",
2837
2837
  variants: [
2838
2838
  { begin: "\\w[\\w :\\/.-]*:(?=[ ]|$)" },
@@ -2887,29 +2887,29 @@ function qt(e) {
2887
2887
  end: /"/
2888
2888
  },
2889
2889
  { begin: /[^\s,{}[\]]+/ }
2890
- ] }), i = "[0-9]{4}(-[0-9][0-9]){0,2}", s = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", o = "(\\.[0-9]*)?", a = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", c = {
2890
+ ] }), i = "[0-9]{4}(-[0-9][0-9]){0,2}", s = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", a = "(\\.[0-9]*)?", o = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", c = {
2891
2891
  className: "number",
2892
- begin: "\\b" + i + s + o + a + "\\b"
2893
- }, f = {
2892
+ begin: "\\b" + i + s + a + o + "\\b"
2893
+ }, u = {
2894
2894
  end: ",",
2895
2895
  endsWithParent: !0,
2896
2896
  excludeEnd: !0,
2897
2897
  keywords: r,
2898
2898
  relevance: 0
2899
- }, h = {
2899
+ }, d = {
2900
2900
  begin: /\{/,
2901
2901
  end: /\}/,
2902
- contains: [f],
2902
+ contains: [u],
2903
2903
  illegal: "\\n",
2904
2904
  relevance: 0
2905
- }, p = {
2905
+ }, h = {
2906
2906
  begin: "\\[",
2907
2907
  end: "\\]",
2908
- contains: [f],
2908
+ contains: [u],
2909
2909
  illegal: "\\n",
2910
2910
  relevance: 0
2911
- }, d = [
2912
- u,
2911
+ }, p = [
2912
+ f,
2913
2913
  {
2914
2914
  className: "meta",
2915
2915
  begin: "^---\\s*$",
@@ -2984,18 +2984,18 @@ function qt(e) {
2984
2984
  begin: e.C_NUMBER_RE + "\\b",
2985
2985
  relevance: 0
2986
2986
  },
2987
+ d,
2987
2988
  h,
2988
- p,
2989
2989
  n
2990
- ], _ = [...d];
2991
- return _.pop(), _.push(t), f.contains = _, {
2990
+ ], _ = [...p];
2991
+ return _.pop(), _.push(t), u.contains = _, {
2992
2992
  name: "YAML",
2993
2993
  case_insensitive: !0,
2994
2994
  aliases: ["yml"],
2995
- contains: d
2995
+ contains: p
2996
2996
  };
2997
2997
  }
2998
- function er(e) {
2998
+ function ir(e) {
2999
2999
  return {
3000
3000
  name: "Plain text",
3001
3001
  aliases: [
@@ -3005,8 +3005,8 @@ function er(e) {
3005
3005
  disableAutodetect: !0
3006
3006
  };
3007
3007
  }
3008
- function nr(e) {
3009
- const r = e.regex, l = /[\p{XID_Start}_]\p{XID_Continue}*/u, u = [
3008
+ function sr(e) {
3009
+ const r = e.regex, l = /[\p{XID_Start}_]\p{XID_Continue}*/u, f = [
3010
3010
  "and",
3011
3011
  "as",
3012
3012
  "assert",
@@ -3043,7 +3043,7 @@ function nr(e) {
3043
3043
  "yield"
3044
3044
  ], i = {
3045
3045
  $pattern: /[A-Za-z]\w+|__\w+__/,
3046
- keyword: u,
3046
+ keyword: f,
3047
3047
  built_in: [
3048
3048
  "__import__",
3049
3049
  "abs",
@@ -3141,13 +3141,13 @@ function nr(e) {
3141
3141
  }, s = {
3142
3142
  className: "meta",
3143
3143
  begin: /^(>>>|\.\.\.) /
3144
- }, o = {
3144
+ }, a = {
3145
3145
  className: "subst",
3146
3146
  begin: /\{/,
3147
3147
  end: /\}/,
3148
3148
  keywords: i,
3149
3149
  illegal: /#/
3150
- }, a = {
3150
+ }, o = {
3151
3151
  begin: /\{\{/,
3152
3152
  relevance: 0
3153
3153
  }, c = {
@@ -3178,8 +3178,8 @@ function nr(e) {
3178
3178
  contains: [
3179
3179
  e.BACKSLASH_ESCAPE,
3180
3180
  s,
3181
- a,
3182
- o
3181
+ o,
3182
+ a
3183
3183
  ]
3184
3184
  },
3185
3185
  {
@@ -3188,8 +3188,8 @@ function nr(e) {
3188
3188
  contains: [
3189
3189
  e.BACKSLASH_ESCAPE,
3190
3190
  s,
3191
- a,
3192
- o
3191
+ o,
3192
+ a
3193
3193
  ]
3194
3194
  },
3195
3195
  {
@@ -3215,8 +3215,8 @@ function nr(e) {
3215
3215
  end: /'/,
3216
3216
  contains: [
3217
3217
  e.BACKSLASH_ESCAPE,
3218
- a,
3219
- o
3218
+ o,
3219
+ a
3220
3220
  ]
3221
3221
  },
3222
3222
  {
@@ -3224,14 +3224,14 @@ function nr(e) {
3224
3224
  end: /"/,
3225
3225
  contains: [
3226
3226
  e.BACKSLASH_ESCAPE,
3227
- a,
3228
- o
3227
+ o,
3228
+ a
3229
3229
  ]
3230
3230
  },
3231
3231
  e.APOS_STRING_MODE,
3232
3232
  e.QUOTE_STRING_MODE
3233
3233
  ]
3234
- }, f = "[0-9](_?[0-9])*", h = `(\\b(${f}))?\\.(${f})|\\b(${f})\\.`, p = `\\b|${u.join("|")}`, d = {
3234
+ }, u = "[0-9](_?[0-9])*", d = `(\\b(${u}))?\\.(${u})|\\b(${u})\\.`, h = `\\b|${f.join("|")}`, p = {
3235
3235
  className: "number",
3236
3236
  relevance: 0,
3237
3237
  variants: [
@@ -3246,10 +3246,10 @@ function nr(e) {
3246
3246
  // because both MUST contain a decimal point and so cannot be confused with
3247
3247
  // the interior part of an identifier
3248
3248
  {
3249
- begin: `(\\b(${f})|(${h}))[eE][+-]?(${f})[jJ]?(?=${p})`
3249
+ begin: `(\\b(${u})|(${d}))[eE][+-]?(${u})[jJ]?(?=${h})`
3250
3250
  },
3251
3251
  {
3252
- begin: `(${h})[jJ]?`
3252
+ begin: `(${d})[jJ]?`
3253
3253
  },
3254
3254
  // decinteger, bininteger, octinteger, hexinteger
3255
3255
  // https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals
@@ -3258,21 +3258,21 @@ function nr(e) {
3258
3258
  // decinteger is optionally imaginary
3259
3259
  // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
3260
3260
  {
3261
- begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`
3261
+ begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${h})`
3262
3262
  },
3263
3263
  {
3264
- begin: `\\b0[bB](_?[01])+[lL]?(?=${p})`
3264
+ begin: `\\b0[bB](_?[01])+[lL]?(?=${h})`
3265
3265
  },
3266
3266
  {
3267
- begin: `\\b0[oO](_?[0-7])+[lL]?(?=${p})`
3267
+ begin: `\\b0[oO](_?[0-7])+[lL]?(?=${h})`
3268
3268
  },
3269
3269
  {
3270
- begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`
3270
+ begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${h})`
3271
3271
  },
3272
3272
  // imagnumber (digitpart-based)
3273
3273
  // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
3274
3274
  {
3275
- begin: `\\b(${f})[jJ](?=${p})`
3275
+ begin: `\\b(${u})[jJ](?=${h})`
3276
3276
  }
3277
3277
  ]
3278
3278
  }, _ = {
@@ -3292,7 +3292,7 @@ function nr(e) {
3292
3292
  endsWithParent: !0
3293
3293
  }
3294
3294
  ]
3295
- }, m = {
3295
+ }, E = {
3296
3296
  className: "params",
3297
3297
  variants: [
3298
3298
  // Exclude params in functions without params
@@ -3310,16 +3310,16 @@ function nr(e) {
3310
3310
  contains: [
3311
3311
  "self",
3312
3312
  s,
3313
- d,
3313
+ p,
3314
3314
  c,
3315
3315
  e.HASH_COMMENT_MODE
3316
3316
  ]
3317
3317
  }
3318
3318
  ]
3319
3319
  };
3320
- return o.contains = [
3320
+ return a.contains = [
3321
3321
  c,
3322
- d,
3322
+ p,
3323
3323
  s
3324
3324
  ], {
3325
3325
  name: "Python",
@@ -3333,7 +3333,7 @@ function nr(e) {
3333
3333
  illegal: /(<\/|\?)|=>/,
3334
3334
  contains: [
3335
3335
  s,
3336
- d,
3336
+ p,
3337
3337
  {
3338
3338
  // very common convention
3339
3339
  begin: /\bself\b/
@@ -3357,7 +3357,7 @@ function nr(e) {
3357
3357
  1: "keyword",
3358
3358
  3: "title.function"
3359
3359
  },
3360
- contains: [m]
3360
+ contains: [E]
3361
3361
  },
3362
3362
  {
3363
3363
  variants: [
@@ -3391,30 +3391,30 @@ function nr(e) {
3391
3391
  begin: /^[\t ]*@/,
3392
3392
  end: /(?=#)|$/,
3393
3393
  contains: [
3394
- d,
3395
- m,
3394
+ p,
3395
+ E,
3396
3396
  c
3397
3397
  ]
3398
3398
  }
3399
3399
  ]
3400
3400
  };
3401
3401
  }
3402
- var de = "[0-9](_*[0-9])*", Le = `\\.(${de})`, Re = "[0-9a-fA-F](_*[0-9a-fA-F])*", gn = {
3402
+ var de = "[0-9](_*[0-9])*", Re = `\\.(${de})`, Oe = "[0-9a-fA-F](_*[0-9a-fA-F])*", dn = {
3403
3403
  className: "number",
3404
3404
  variants: [
3405
3405
  // DecimalFloatingPointLiteral
3406
3406
  // including ExponentPart
3407
- { begin: `(\\b(${de})((${Le})|\\.)?|(${Le}))[eE][+-]?(${de})[fFdD]?\\b` },
3407
+ { begin: `(\\b(${de})((${Re})|\\.)?|(${Re}))[eE][+-]?(${de})[fFdD]?\\b` },
3408
3408
  // excluding ExponentPart
3409
- { begin: `\\b(${de})((${Le})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3410
- { begin: `(${Le})[fFdD]?\\b` },
3409
+ { begin: `\\b(${de})((${Re})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3410
+ { begin: `(${Re})[fFdD]?\\b` },
3411
3411
  { begin: `\\b(${de})[fFdD]\\b` },
3412
3412
  // HexadecimalFloatingPointLiteral
3413
- { begin: `\\b0[xX]((${Re})\\.?|(${Re})?\\.(${Re}))[pP][+-]?(${de})[fFdD]?\\b` },
3413
+ { begin: `\\b0[xX]((${Oe})\\.?|(${Oe})?\\.(${Oe}))[pP][+-]?(${de})[fFdD]?\\b` },
3414
3414
  // DecimalIntegerLiteral
3415
3415
  { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
3416
3416
  // HexIntegerLiteral
3417
- { begin: `\\b0[xX](${Re})[lL]?\\b` },
3417
+ { begin: `\\b0[xX](${Oe})[lL]?\\b` },
3418
3418
  // OctalIntegerLiteral
3419
3419
  { begin: "\\b0(_*[0-7])*[lL]?\\b" },
3420
3420
  // BinaryIntegerLiteral
@@ -3422,11 +3422,11 @@ var de = "[0-9](_*[0-9])*", Le = `\\.(${de})`, Re = "[0-9a-fA-F](_*[0-9a-fA-F])*
3422
3422
  ],
3423
3423
  relevance: 0
3424
3424
  };
3425
- function Rn(e, r, l) {
3426
- return l === -1 ? "" : e.replace(r, (u) => Rn(e, r, l - 1));
3425
+ function kn(e, r, l) {
3426
+ return l === -1 ? "" : e.replace(r, (f) => kn(e, r, l - 1));
3427
3427
  }
3428
- function tr(e) {
3429
- const r = e.regex, l = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = l + Rn("(?:<" + l + "~~~(?:\\s*,\\s*" + l + "~~~)*>)?", /~~~/g, 2), s = {
3428
+ function ar(e) {
3429
+ const r = e.regex, l = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", f = l + kn("(?:<" + l + "~~~(?:\\s*,\\s*" + l + "~~~)*>)?", /~~~/g, 2), s = {
3430
3430
  keyword: [
3431
3431
  "synchronized",
3432
3432
  "abstract",
@@ -3490,7 +3490,7 @@ function tr(e) {
3490
3490
  "super",
3491
3491
  "this"
3492
3492
  ]
3493
- }, o = {
3493
+ }, a = {
3494
3494
  className: "meta",
3495
3495
  begin: "@" + l,
3496
3496
  contains: [
@@ -3501,7 +3501,7 @@ function tr(e) {
3501
3501
  // allow nested () inside our annotation
3502
3502
  }
3503
3503
  ]
3504
- }, a = {
3504
+ }, o = {
3505
3505
  className: "params",
3506
3506
  begin: /\(/,
3507
3507
  end: /\)/,
@@ -3591,7 +3591,7 @@ function tr(e) {
3591
3591
  3: "title.class"
3592
3592
  },
3593
3593
  contains: [
3594
- a,
3594
+ o,
3595
3595
  e.C_LINE_COMMENT_MODE,
3596
3596
  e.C_BLOCK_COMMENT_MODE
3597
3597
  ]
@@ -3604,7 +3604,7 @@ function tr(e) {
3604
3604
  },
3605
3605
  {
3606
3606
  begin: [
3607
- "(?:" + u + "\\s+)",
3607
+ "(?:" + f + "\\s+)",
3608
3608
  e.UNDERSCORE_IDENT_RE,
3609
3609
  /\s*(?=\()/
3610
3610
  ],
@@ -3618,10 +3618,10 @@ function tr(e) {
3618
3618
  keywords: s,
3619
3619
  relevance: 0,
3620
3620
  contains: [
3621
- o,
3621
+ a,
3622
3622
  e.APOS_STRING_MODE,
3623
3623
  e.QUOTE_STRING_MODE,
3624
- gn,
3624
+ dn,
3625
3625
  e.C_BLOCK_COMMENT_MODE
3626
3626
  ]
3627
3627
  },
@@ -3629,13 +3629,13 @@ function tr(e) {
3629
3629
  e.C_BLOCK_COMMENT_MODE
3630
3630
  ]
3631
3631
  },
3632
- gn,
3633
- o
3632
+ dn,
3633
+ a
3634
3634
  ]
3635
3635
  };
3636
3636
  }
3637
- function rr(e) {
3638
- const r = e.regex, l = {}, u = {
3637
+ function or(e) {
3638
+ const r = e.regex, l = {}, f = {
3639
3639
  begin: /\$\{/,
3640
3640
  end: /\}/,
3641
3641
  contains: [
@@ -3656,7 +3656,7 @@ function rr(e) {
3656
3656
  // Perl at all like $ident$, @ident@, etc.
3657
3657
  "(?![\\w\\d])(?![$])"
3658
3658
  ) },
3659
- u
3659
+ f
3660
3660
  ]
3661
3661
  });
3662
3662
  const g = {
@@ -3690,9 +3690,9 @@ function rr(e) {
3690
3690
  className: "string",
3691
3691
  begin: /'/,
3692
3692
  end: /'/
3693
- }, o = {
3694
- match: /\\'/
3695
3693
  }, a = {
3694
+ match: /\\'/
3695
+ }, o = {
3696
3696
  begin: /\$?\(\(/,
3697
3697
  end: /\)\)/,
3698
3698
  contains: [
@@ -3713,16 +3713,16 @@ function rr(e) {
3713
3713
  "tcsh",
3714
3714
  "dash",
3715
3715
  "scsh"
3716
- ], f = e.SHEBANG({
3716
+ ], u = e.SHEBANG({
3717
3717
  binary: `(${c.join("|")})`,
3718
3718
  relevance: 10
3719
- }), h = {
3719
+ }), d = {
3720
3720
  className: "function",
3721
3721
  begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
3722
3722
  returnBegin: !0,
3723
3723
  contains: [e.inherit(e.TITLE_MODE, { begin: /\w[\w\d_]*/ })],
3724
3724
  relevance: 0
3725
- }, p = [
3725
+ }, h = [
3726
3726
  "if",
3727
3727
  "then",
3728
3728
  "else",
@@ -3738,10 +3738,10 @@ function rr(e) {
3738
3738
  "esac",
3739
3739
  "function",
3740
3740
  "select"
3741
- ], d = [
3741
+ ], p = [
3742
3742
  "true",
3743
3743
  "false"
3744
- ], _ = { match: /(\/[a-z._-]+)+/ }, m = [
3744
+ ], _ = { match: /(\/[a-z._-]+)+/ }, E = [
3745
3745
  "break",
3746
3746
  "cd",
3747
3747
  "continue",
@@ -3760,7 +3760,7 @@ function rr(e) {
3760
3760
  "trap",
3761
3761
  "umask",
3762
3762
  "unset"
3763
- ], b = [
3763
+ ], m = [
3764
3764
  "alias",
3765
3765
  "bind",
3766
3766
  "builtin",
@@ -3782,7 +3782,7 @@ function rr(e) {
3782
3782
  "typeset",
3783
3783
  "ulimit",
3784
3784
  "unalias"
3785
- ], y = [
3785
+ ], v = [
3786
3786
  "autoload",
3787
3787
  "bg",
3788
3788
  "bindkey",
@@ -3851,7 +3851,7 @@ function rr(e) {
3851
3851
  "zsocket",
3852
3852
  "zstyle",
3853
3853
  "ztcp"
3854
- ], M = [
3854
+ ], A = [
3855
3855
  "chcon",
3856
3856
  "chgrp",
3857
3857
  "chown",
@@ -3961,38 +3961,38 @@ function rr(e) {
3961
3961
  aliases: ["sh"],
3962
3962
  keywords: {
3963
3963
  $pattern: /\b[a-z][a-z0-9._-]+\b/,
3964
- keyword: p,
3965
- literal: d,
3964
+ keyword: h,
3965
+ literal: p,
3966
3966
  built_in: [
3967
+ ...E,
3967
3968
  ...m,
3968
- ...b,
3969
3969
  // Shell modifiers
3970
3970
  "set",
3971
3971
  "shopt",
3972
- ...y,
3973
- ...M
3972
+ ...v,
3973
+ ...A
3974
3974
  ]
3975
3975
  },
3976
3976
  contains: [
3977
- f,
3977
+ u,
3978
3978
  // to catch known shells and boost relevancy
3979
3979
  e.SHEBANG(),
3980
3980
  // to catch unknown shells but still highlight the shebang
3981
- h,
3982
- a,
3981
+ d,
3982
+ o,
3983
3983
  e.HASH_COMMENT_MODE,
3984
3984
  n,
3985
3985
  _,
3986
3986
  t,
3987
3987
  i,
3988
3988
  s,
3989
- o,
3989
+ a,
3990
3990
  l
3991
3991
  ]
3992
3992
  };
3993
3993
  }
3994
- function ir(e) {
3995
- const r = e.regex, l = e.COMMENT("--", "$"), u = {
3994
+ function lr(e) {
3995
+ const r = e.regex, l = e.COMMENT("--", "$"), f = {
3996
3996
  className: "string",
3997
3997
  variants: [
3998
3998
  {
@@ -4054,7 +4054,7 @@ function ir(e) {
4054
4054
  "first",
4055
4055
  "last",
4056
4056
  "view"
4057
- ], o = [
4057
+ ], a = [
4058
4058
  "abs",
4059
4059
  "acos",
4060
4060
  "all",
@@ -4421,7 +4421,7 @@ function ir(e) {
4421
4421
  "within",
4422
4422
  "without",
4423
4423
  "year"
4424
- ], a = [
4424
+ ], o = [
4425
4425
  "abs",
4426
4426
  "acos",
4427
4427
  "array_agg",
@@ -4523,7 +4523,7 @@ function ir(e) {
4523
4523
  "localtime",
4524
4524
  "current_timestamp",
4525
4525
  "localtimestamp"
4526
- ], f = [
4526
+ ], u = [
4527
4527
  "create table",
4528
4528
  "insert into",
4529
4529
  "primary key",
@@ -4540,27 +4540,27 @@ function ir(e) {
4540
4540
  "nulls last",
4541
4541
  "depth first",
4542
4542
  "breadth first"
4543
- ], h = a, p = [
4544
- ...o,
4543
+ ], d = o, h = [
4544
+ ...a,
4545
4545
  ...s
4546
- ].filter((y) => !a.includes(y)), d = {
4546
+ ].filter((v) => !o.includes(v)), p = {
4547
4547
  className: "variable",
4548
4548
  begin: /@[a-z0-9][a-z0-9_]*/
4549
4549
  }, _ = {
4550
4550
  className: "operator",
4551
4551
  begin: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
4552
4552
  relevance: 0
4553
- }, m = {
4554
- begin: r.concat(/\b/, r.either(...h), /\s*\(/),
4553
+ }, E = {
4554
+ begin: r.concat(/\b/, r.either(...d), /\s*\(/),
4555
4555
  relevance: 0,
4556
- keywords: { built_in: h }
4556
+ keywords: { built_in: d }
4557
4557
  };
4558
- function b(y, {
4559
- exceptions: M,
4560
- when: L
4558
+ function m(v, {
4559
+ exceptions: A,
4560
+ when: D
4561
4561
  } = {}) {
4562
- const N = L;
4563
- return M = M || [], y.map((D) => D.match(/\|\d+$/) || M.includes(D) ? D : N(D) ? `${D}|0` : D);
4562
+ const S = D;
4563
+ return A = A || [], v.map((M) => M.match(/\|\d+$/) || A.includes(M) ? M : S(M) ? `${M}|0` : M);
4564
4564
  }
4565
4565
  return {
4566
4566
  name: "SQL",
@@ -4569,18 +4569,18 @@ function ir(e) {
4569
4569
  illegal: /[{}]|<\//,
4570
4570
  keywords: {
4571
4571
  $pattern: /\b[\w\.]+/,
4572
- keyword: b(p, { when: (y) => y.length < 3 }),
4572
+ keyword: m(h, { when: (v) => v.length < 3 }),
4573
4573
  literal: n,
4574
4574
  type: i,
4575
4575
  built_in: c
4576
4576
  },
4577
4577
  contains: [
4578
4578
  {
4579
- begin: r.either(...f),
4579
+ begin: r.either(...u),
4580
4580
  relevance: 0,
4581
4581
  keywords: {
4582
4582
  $pattern: /[\w\.]+/,
4583
- keyword: p.concat(f),
4583
+ keyword: h.concat(u),
4584
4584
  literal: n,
4585
4585
  type: i
4586
4586
  }
@@ -4589,9 +4589,9 @@ function ir(e) {
4589
4589
  className: "type",
4590
4590
  begin: r.either(...t)
4591
4591
  },
4592
- m,
4593
- d,
4594
- u,
4592
+ E,
4593
+ p,
4594
+ f,
4595
4595
  g,
4596
4596
  e.C_NUMBER_MODE,
4597
4597
  e.C_BLOCK_COMMENT_MODE,
@@ -4600,85 +4600,85 @@ function ir(e) {
4600
4600
  ]
4601
4601
  };
4602
4602
  }
4603
- J.registerLanguage("xml", Qt);
4604
- J.registerLanguage("javascript", Vt);
4605
- J.registerLanguage("json", Jt);
4606
- J.registerLanguage("yaml", qt);
4607
- J.registerLanguage("plaintext", er);
4608
- J.registerLanguage("python", nr);
4609
- J.registerLanguage("java", tr);
4610
- J.registerLanguage("bash", rr);
4611
- J.registerLanguage("sql", ir);
4612
- var w = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(w || {});
4613
- const ie = "<code-diff-modified>", se = "</code-diff-modified>", sr = ie.replace("<", "&lt;").replace(">", "&gt;"), ar = se.replace("<", "&lt;").replace(">", "&gt;");
4603
+ q.registerLanguage("xml", Vt);
4604
+ q.registerLanguage("javascript", nr);
4605
+ q.registerLanguage("json", tr);
4606
+ q.registerLanguage("yaml", rr);
4607
+ q.registerLanguage("plaintext", ir);
4608
+ q.registerLanguage("python", sr);
4609
+ q.registerLanguage("java", ar);
4610
+ q.registerLanguage("bash", or);
4611
+ q.registerLanguage("sql", lr);
4612
+ var y = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(y || {});
4613
+ const ie = "<code-diff-modified>", se = "</code-diff-modified>", cr = ie.replace("<", "&lt;").replace(">", "&gt;"), ur = se.replace("<", "&lt;").replace(">", "&gt;");
4614
4614
  function be(e) {
4615
- return e === void 0 ? w.EQUAL : e.added ? w.ADD : e.removed ? w.DELETE : w.EQUAL;
4615
+ return e === void 0 ? y.EQUAL : e.added ? y.ADD : e.removed ? y.DELETE : y.EQUAL;
4616
4616
  }
4617
- function ke(e, r, l = "word") {
4618
- return typeof e == "undefined" ? r : typeof r == "undefined" ? e : (l === "char" ? Qn : Yn)(e, r).filter((g) => be(g) !== w.DELETE).map(
4619
- (g) => be(g) === w.ADD ? `${ie}${g.value}${se}` : g.value
4617
+ function Be(e, r, l = "word") {
4618
+ return typeof e == "undefined" ? r : typeof r == "undefined" ? e : (l === "char" ? Vn : qn)(e, r).filter((g) => be(g) !== y.DELETE).map(
4619
+ (g) => be(g) === y.ADD ? `${ie}${g.value}${se}` : g.value
4620
4620
  ).join("");
4621
4621
  }
4622
- function On(e, r) {
4623
- const l = new He.diff_match_patch(), u = l.diff_linesToChars_(e, r), g = u.chars1, n = u.chars2, t = u.lineArray, i = l.diff_main(g, n, !1);
4622
+ function Bn(e, r) {
4623
+ const l = new Fe.diff_match_patch(), f = l.diff_linesToChars_(e, r), g = f.chars1, n = f.chars2, t = f.lineArray, i = l.diff_main(g, n, !1);
4624
4624
  return l.diff_charsToLines_(i, t), i.map((s) => {
4625
- const [o, a] = s;
4625
+ const [a, o] = s;
4626
4626
  return {
4627
- count: a.replace(/\n$/, "").split(`
4627
+ count: o.replace(/\n$/, "").split(`
4628
4628
  `).length,
4629
- value: a,
4630
- removed: o === He.DIFF_DELETE,
4631
- added: o === He.DIFF_INSERT
4629
+ value: o,
4630
+ removed: a === Fe.DIFF_DELETE,
4631
+ added: a === Fe.DIFF_INSERT
4632
4632
  };
4633
4633
  });
4634
4634
  }
4635
- function V(e, r) {
4635
+ function j(e, r) {
4636
4636
  if (!r.match(new RegExp(`(${ie}|${se})`, "g")))
4637
- return J.highlight(r, { language: e }).value;
4638
- let u = r;
4637
+ return q.highlight(r, { language: e }).value;
4638
+ let f = r;
4639
4639
  const g = r.replace(new RegExp(`(${ie}|${se})`, "g"), ""), n = document.createElement("div");
4640
- n.innerHTML = J.highlight(g, { language: e }).value;
4640
+ n.innerHTML = q.highlight(g, { language: e }).value;
4641
4641
  let t = !1;
4642
4642
  const i = (s) => {
4643
- s.childNodes.forEach((o) => {
4644
- if (o.nodeType === Node.ELEMENT_NODE && i(o), o.nodeType === Node.TEXT_NODE) {
4645
- if (!o.textContent)
4643
+ s.childNodes.forEach((a) => {
4644
+ if (a.nodeType === Node.ELEMENT_NODE && i(a), a.nodeType === Node.TEXT_NODE) {
4645
+ if (!a.textContent)
4646
4646
  return;
4647
- let a = o.textContent, c = "";
4648
- for (t && (c = c + ie); a.length; ) {
4649
- if (u.startsWith(ie)) {
4650
- u = u.slice(ie.length), c = c + ie, t = !0;
4647
+ let o = a.textContent, c = "";
4648
+ for (t && (c = c + ie); o.length; ) {
4649
+ if (f.startsWith(ie)) {
4650
+ f = f.slice(ie.length), c = c + ie, t = !0;
4651
4651
  continue;
4652
4652
  }
4653
- if (u.startsWith(se)) {
4654
- u = u.slice(se.length), c = c + se, t = !1;
4653
+ if (f.startsWith(se)) {
4654
+ f = f.slice(se.length), c = c + se, t = !1;
4655
4655
  continue;
4656
4656
  }
4657
- const f = u.match(new RegExp(`(${ie}|${se})`)), h = f && f.index ? f.index : u.length, p = Math.min(h, a.length);
4658
- c = c + u.substring(0, p), u = u.slice(p), a = a.slice(p);
4657
+ const u = f.match(new RegExp(`(${ie}|${se})`)), d = u && u.index ? u.index : f.length, h = Math.min(d, o.length);
4658
+ c = c + f.substring(0, h), f = f.slice(h), o = o.slice(h);
4659
4659
  }
4660
- t && (c = c + se), o.textContent = c;
4660
+ t && (c = c + se), a.textContent = c;
4661
4661
  }
4662
4662
  });
4663
4663
  };
4664
- return i(n), n.innerHTML.replace(new RegExp(sr, "g"), '<span class="x">').replace(new RegExp(ar, "g"), "</span>");
4664
+ return i(n), n.innerHTML.replace(new RegExp(cr, "g"), '<span class="x">').replace(new RegExp(ur, "g"), "</span>");
4665
4665
  }
4666
- function Cn(e, r) {
4667
- const l = (s, o) => (s.match(new RegExp(o, "g")) || []).length, u = (s) => s.filter((o) => r == null ? void 0 : r.test(o)).length;
4666
+ function $n(e, r) {
4667
+ const l = (s, a) => (s.match(new RegExp(a, "g")) || []).length, f = (s) => s.filter((a) => r == null ? void 0 : r.test(a)).length;
4668
4668
  let g = 0, n = 0, t = 0, i = 0;
4669
4669
  for (const s of e) {
4670
4670
  if (s.added) {
4671
- const o = u(s.value.trim().split(`
4671
+ const a = f(s.value.trim().split(`
4672
4672
  `));
4673
4673
  g += l(s.value.trim(), `
4674
- `) + 1 - o, t += o;
4674
+ `) + 1 - a, t += a;
4675
4675
  continue;
4676
4676
  }
4677
4677
  if (s.removed) {
4678
- const o = u(s.value.trim().split(`
4678
+ const a = f(s.value.trim().split(`
4679
4679
  `));
4680
4680
  n += l(s.value.trim(), `
4681
- `) + 1 - o, i += o;
4681
+ `) + 1 - a, i += a;
4682
4682
  continue;
4683
4683
  }
4684
4684
  }
@@ -4689,62 +4689,62 @@ function Cn(e, r) {
4689
4689
  ignoreDeletionsNum: i
4690
4690
  };
4691
4691
  }
4692
- function or(e, r, l = "plaintext", u = "word", g = 10, n) {
4693
- const t = () => ({ type: w.EMPTY }), i = (m, b, y) => ({ type: m, num: b, code: y }), s = On(e, r), o = n ? new RegExp(n) : void 0;
4694
- let a = 0, c = 0, f = !1;
4692
+ function fr(e, r, l = "plaintext", f = "word", g = !1, n = 10, t) {
4693
+ const i = () => ({ type: y.EMPTY }), s = (m, v, A) => ({ type: m, num: v, code: A }), a = Bn(e, r), o = t ? new RegExp(t) : void 0;
4694
+ let c = 0, u = 0, d = !1;
4695
4695
  const h = [], p = {
4696
4696
  changes: h,
4697
4697
  collector: [],
4698
- stat: Cn(s, o)
4698
+ stat: $n(a, o)
4699
4699
  };
4700
- for (let m = 0; m < s.length; m++) {
4701
- if (f) {
4702
- f = !1;
4700
+ for (let m = 0; m < a.length; m++) {
4701
+ if (d) {
4702
+ d = !1;
4703
4703
  continue;
4704
4704
  }
4705
- const [b, y] = [s[m], s[m + 1]], [M, L] = [be(b), be(y)], N = b.value.replace(/\n$/, "").split(`
4705
+ const [v, A] = [a[m], a[m + 1]], [D, S] = [be(v), be(A)], M = v.value.replace(/\n$/, "").split(`
4706
4706
  `);
4707
- if (y === void 0) {
4708
- for (const R of N) {
4709
- let S = t(), $ = t();
4710
- const k = V(l, R);
4711
- M === w.EQUAL && (a++, c++, S = i(w.EQUAL, a, k), $ = i(w.EQUAL, c, k)), M === w.DELETE && (a++, S = i(w.DELETE, a, k), $ = t()), M === w.ADD && (c++, S = t(), $ = i(w.ADD, c, k)), h.push({ left: S, right: $ });
4707
+ if (A === void 0) {
4708
+ for (const L of M) {
4709
+ let I = i(), P = i();
4710
+ const $ = j(l, L);
4711
+ D === y.EQUAL && (c++, u++, I = s(y.EQUAL, c, $), P = s(y.EQUAL, u, $)), D === y.DELETE && (c++, I = s(y.DELETE, c, $), P = i()), D === y.ADD && (u++, I = i(), P = s(y.ADD, u, $)), h.push({ left: I, right: P });
4712
4712
  }
4713
4713
  break;
4714
4714
  }
4715
- if (M === w.EQUAL)
4716
- for (const R of N) {
4717
- a++, c++;
4718
- const S = V(l, R);
4715
+ if (D === y.EQUAL)
4716
+ for (const L of M) {
4717
+ c++, u++;
4718
+ const I = j(l, L);
4719
4719
  h.push({
4720
- left: i(w.EQUAL, a, S),
4721
- right: i(w.EQUAL, c, S)
4720
+ left: s(y.EQUAL, c, I),
4721
+ right: s(y.EQUAL, u, I)
4722
4722
  });
4723
4723
  }
4724
- const D = y.value.replace(/\n$/, "").split(`
4724
+ const R = A.value.replace(/\n$/, "").split(`
4725
4725
  `);
4726
- if (M === w.DELETE) {
4727
- if (L === w.EQUAL)
4728
- for (const R of N)
4729
- a++, h.push({
4730
- left: i(w.DELETE, a, V(l, R)),
4731
- right: t()
4726
+ if (D === y.DELETE) {
4727
+ if (S === y.EQUAL)
4728
+ for (const L of M)
4729
+ c++, h.push({
4730
+ left: s(y.DELETE, c, j(l, L)),
4731
+ right: i()
4732
4732
  });
4733
- if (L === w.ADD) {
4734
- f = !0;
4735
- const R = Math.max(b.count, y.count);
4736
- for (let S = 0; S < R; S++) {
4737
- S < b.count && a++, S < y.count && c++;
4738
- const [$, k] = [N[S], D[S]], H = N.length === D.length ? ke(k, $, u) : $, K = N.length === D.length ? ke($, k, u) : k, Y = o != null && o.test($) ? w.EQUAL : w.DELETE, oe = o != null && o.test(k) ? w.EQUAL : w.ADD, ge = S < b.count ? i(Y, a, V(l, H)) : t(), E = S < y.count ? i(oe, c, V(l, K)) : t();
4739
- h.push({ left: ge, right: E });
4733
+ if (S === y.ADD) {
4734
+ d = !0;
4735
+ const L = Math.max(v.count, A.count);
4736
+ for (let I = 0; I < L; I++) {
4737
+ I < v.count && c++, I < A.count && u++;
4738
+ const [P, $] = [M[I], R[I]], K = g || M.length === R.length, Y = K ? Be($, P, f) : P, oe = K ? Be(P, $, f) : $, ge = o != null && o.test(P) ? y.EQUAL : y.DELETE, b = o != null && o.test($) ? y.EQUAL : y.ADD, N = I < v.count ? s(ge, c, j(l, Y)) : i(), O = I < A.count ? s(b, u, j(l, oe)) : i();
4739
+ h.push({ left: N, right: O });
4740
4740
  }
4741
4741
  }
4742
4742
  }
4743
- if (M === w.ADD)
4744
- for (const R of N)
4745
- c++, h.push({
4746
- left: t(),
4747
- right: i(w.ADD, c, V(l, R))
4743
+ if (D === y.ADD)
4744
+ for (const L of M)
4745
+ u++, h.push({
4746
+ left: i(),
4747
+ right: s(y.ADD, u, j(l, L))
4748
4748
  });
4749
4749
  }
4750
4750
  if (e === r) {
@@ -4753,140 +4753,140 @@ function or(e, r, l = "plaintext", u = "word", g = 10, n) {
4753
4753
  return p;
4754
4754
  }
4755
4755
  for (let m = 0; m < h.length; m++) {
4756
- const b = h[m];
4757
- if (b.left.type === w.DELETE || b.right.type === w.ADD) {
4758
- const [y, M] = [Math.max(m - g, 0), Math.min(m + g + 1, h.length)];
4759
- for (let L = y; L < M; L++)
4760
- h[L].fold = !1;
4756
+ const v = h[m];
4757
+ if (v.left.type === y.DELETE || v.right.type === y.ADD) {
4758
+ const [A, D] = [Math.max(m - n, 0), Math.min(m + n + 1, h.length)];
4759
+ for (let S = A; S < D; S++)
4760
+ h[S].fold = !1;
4761
4761
  }
4762
- b.fold === void 0 && (b.fold = !0);
4762
+ v.fold === void 0 && (v.fold = !0);
4763
4763
  }
4764
- const d = [];
4765
- let _ = [];
4764
+ const _ = [];
4765
+ let E = [];
4766
4766
  for (let m = 0; m < h.length; m++) {
4767
- const b = h[m];
4768
- if (b.fold === !1) {
4769
- _.length && (_[0].hideIndex = p.collector.length, p.collector.push({
4770
- lines: _,
4767
+ const v = h[m];
4768
+ if (v.fold === !1) {
4769
+ E.length && (E[0].hideIndex = p.collector.length, p.collector.push({
4770
+ lines: E,
4771
4771
  fold: !0
4772
- }), _ = []), d.push(b);
4772
+ }), E = []), _.push(v);
4773
4773
  continue;
4774
4774
  }
4775
- b.hide = !0, _.push(b), d.push(b);
4775
+ v.hide = !0, E.push(v), _.push(v);
4776
4776
  }
4777
- return _.length && (_[0].hideIndex = p.collector.length, p.collector.push({
4778
- lines: _,
4777
+ return E.length && (E[0].hideIndex = p.collector.length, p.collector.push({
4778
+ lines: E,
4779
4779
  fold: !0
4780
- }), _ = []), p.changes = d, p;
4780
+ }), E = []), p.changes = _, p;
4781
4781
  }
4782
- function lr(e, r, l = "plaintext", u = "word", g = 10, n) {
4783
- const t = On(e, r), i = n ? new RegExp(n) : void 0;
4784
- let s = 0, o = 0, a = !1;
4785
- const c = [], f = {
4786
- changes: c,
4782
+ function gr(e, r, l = "plaintext", f = "word", g = !1, n = 10, t) {
4783
+ const i = Bn(e, r), s = t ? new RegExp(t) : void 0;
4784
+ let a = 0, o = 0, c = !1;
4785
+ const u = [], d = {
4786
+ changes: u,
4787
4787
  collector: [],
4788
- stat: Cn(t, i)
4788
+ stat: $n(i, s)
4789
4789
  };
4790
- for (let d = 0; d < t.length; d++) {
4791
- if (a) {
4792
- a = !1;
4790
+ for (let _ = 0; _ < i.length; _++) {
4791
+ if (c) {
4792
+ c = !1;
4793
4793
  continue;
4794
4794
  }
4795
- const [_, m] = [t[d], t[d + 1]], [b, y] = [be(_), be(m)], M = _.value.replace(/\n$/, "").split(`
4795
+ const [E, m] = [i[_], i[_ + 1]], [v, A] = [be(E), be(m)], D = E.value.replace(/\n$/, "").split(`
4796
4796
  `);
4797
4797
  if (m === void 0) {
4798
- for (const N of M) {
4799
- b === w.EQUAL && (s++, o++), b === w.DELETE && s++, b === w.ADD && o++;
4800
- const D = V(l, N);
4801
- c.push({
4802
- type: b,
4803
- code: D,
4804
- addNum: b === w.DELETE ? void 0 : o,
4805
- delNum: b === w.ADD ? void 0 : s
4798
+ for (const M of D) {
4799
+ v === y.EQUAL && (a++, o++), v === y.DELETE && a++, v === y.ADD && o++;
4800
+ const R = j(l, M);
4801
+ u.push({
4802
+ type: v,
4803
+ code: R,
4804
+ addNum: v === y.DELETE ? void 0 : o,
4805
+ delNum: v === y.ADD ? void 0 : a
4806
4806
  });
4807
4807
  }
4808
4808
  break;
4809
4809
  }
4810
- if (b === w.EQUAL)
4811
- for (const N of M) {
4812
- s++, o++;
4813
- const D = V(l, N);
4814
- c.push({ type: w.EQUAL, code: D, delNum: s, addNum: o });
4810
+ if (v === y.EQUAL)
4811
+ for (const M of D) {
4812
+ a++, o++;
4813
+ const R = j(l, M);
4814
+ u.push({ type: y.EQUAL, code: R, delNum: a, addNum: o });
4815
4815
  }
4816
- const L = m.value.replace(/\n$/, "").split(`
4816
+ const S = m.value.replace(/\n$/, "").split(`
4817
4817
  `);
4818
- if (b === w.DELETE)
4819
- if (y === w.ADD && M.length === L.length) {
4820
- for (let N = 0; N < M.length; N++) {
4821
- const D = M[N], R = L[N];
4822
- s++;
4823
- const S = V(l, ke(R, D, u));
4824
- c.push({
4825
- type: i != null && i.test(D) ? w.EQUAL : w.DELETE,
4826
- code: S,
4827
- delNum: s
4818
+ if (v === y.DELETE)
4819
+ if (A === y.ADD && (D.length === S.length || g)) {
4820
+ for (let M = 0; M < D.length; M++) {
4821
+ const R = D[M], L = S[M];
4822
+ a++;
4823
+ const I = j(l, Be(L, R, f));
4824
+ u.push({
4825
+ type: s != null && s.test(R) ? y.EQUAL : y.DELETE,
4826
+ code: I,
4827
+ delNum: a
4828
4828
  });
4829
4829
  }
4830
- for (let N = 0; N < L.length; N++) {
4831
- const D = M[N], R = L[N];
4830
+ for (let M = 0; M < S.length; M++) {
4831
+ const R = D[M], L = S[M];
4832
4832
  o++;
4833
- const S = V(l, ke(D, R, u));
4834
- c.push({
4835
- type: i != null && i.test(R) ? w.EQUAL : w.ADD,
4836
- code: S,
4833
+ const I = j(l, Be(R, L, f));
4834
+ u.push({
4835
+ type: s != null && s.test(L) ? y.EQUAL : y.ADD,
4836
+ code: I,
4837
4837
  addNum: o
4838
4838
  });
4839
4839
  }
4840
- a = !0;
4840
+ c = !0;
4841
4841
  } else
4842
- for (const N of M) {
4843
- s++;
4844
- const D = V(l, N);
4845
- c.push({ type: w.DELETE, code: D, delNum: s });
4842
+ for (const M of D) {
4843
+ a++;
4844
+ const R = j(l, M);
4845
+ u.push({ type: y.DELETE, code: R, delNum: a });
4846
4846
  }
4847
- if (b === w.ADD)
4848
- for (const N of M) {
4847
+ if (v === y.ADD)
4848
+ for (const M of D) {
4849
4849
  o++;
4850
- const D = V(l, N);
4851
- c.push({ type: w.ADD, code: D, addNum: o });
4850
+ const R = j(l, M);
4851
+ u.push({ type: y.ADD, code: R, addNum: o });
4852
4852
  }
4853
4853
  }
4854
- for (let d = 0; d < c.length; d++) {
4855
- const _ = c[d];
4856
- if (_.type === w.DELETE || _.type === w.ADD) {
4857
- const [m, b] = [Math.max(d - g, 0), Math.min(d + g + 1, c.length)];
4858
- for (let y = m; y < b; y++)
4859
- c[y].fold = !1;
4854
+ for (let _ = 0; _ < u.length; _++) {
4855
+ const E = u[_];
4856
+ if (E.type === y.DELETE || E.type === y.ADD) {
4857
+ const [m, v] = [Math.max(_ - n, 0), Math.min(_ + n + 1, u.length)];
4858
+ for (let A = m; A < v; A++)
4859
+ u[A].fold = !1;
4860
4860
  }
4861
- _.fold === void 0 && (_.fold = !0);
4861
+ E.fold === void 0 && (E.fold = !0);
4862
4862
  }
4863
4863
  if (e === r) {
4864
- for (let d = 0; d < c.length; d++)
4865
- c[d].fold = !1;
4866
- return f;
4864
+ for (let _ = 0; _ < u.length; _++)
4865
+ u[_].fold = !1;
4866
+ return d;
4867
4867
  }
4868
4868
  const h = [];
4869
4869
  let p = [];
4870
- for (let d = 0; d < c.length; d++) {
4871
- const _ = c[d];
4872
- if (_.fold === !1) {
4873
- p.length && (p[0].hideIndex = f.collector.length, f.collector.push({
4870
+ for (let _ = 0; _ < u.length; _++) {
4871
+ const E = u[_];
4872
+ if (E.fold === !1) {
4873
+ p.length && (p[0].hideIndex = d.collector.length, d.collector.push({
4874
4874
  lines: p,
4875
4875
  fold: !0
4876
- }), p = []), h.push(_);
4876
+ }), p = []), h.push(E);
4877
4877
  continue;
4878
4878
  }
4879
- _.type === "equal" && (_.hide = !0, p.push(_)), h.push(_);
4879
+ E.type === "equal" && (E.hide = !0, p.push(E)), h.push(E);
4880
4880
  }
4881
- return p.length && (p[0].hideIndex = f.collector.length, f.collector.push({
4881
+ return p.length && (p[0].hideIndex = d.collector.length, d.collector.push({
4882
4882
  lines: p,
4883
4883
  fold: !0
4884
- }), p = []), f.changes = h, f;
4884
+ }), p = []), d.changes = h, d;
4885
4885
  }
4886
- const cr = { key: 0 }, ur = /* @__PURE__ */ U("td", {
4886
+ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
4887
4887
  class: "blob-code blob-code-hunk",
4888
4888
  align: "left"
4889
- }, " ⋯ ", -1), fr = { key: 1 }, gr = ["data-code-marker", "innerHTML"], hr = /* @__PURE__ */ Ae({
4889
+ }, " ⋯ ", -1), pr = { key: 1 }, _r = ["data-code-marker", "innerHTML"], br = /* @__PURE__ */ Ae({
4890
4890
  __name: "UnifiedLine",
4891
4891
  props: {
4892
4892
  line: {}
@@ -4894,66 +4894,66 @@ const cr = { key: 0 }, ur = /* @__PURE__ */ U("td", {
4894
4894
  emits: ["expand"],
4895
4895
  setup(e, { emit: r }) {
4896
4896
  const l = r;
4897
- function u(g) {
4898
- return g === w.DELETE ? "-" : g === w.ADD ? "+" : "";
4897
+ function f(g) {
4898
+ return g === y.DELETE ? "-" : g === y.ADD ? "+" : "";
4899
4899
  }
4900
- return (g, n) => g.line.hideIndex !== void 0 && g.line.hide ? (G(), W("tr", cr, [
4901
- U("td", {
4900
+ return (g, n) => g.line.hideIndex !== void 0 && g.line.hide ? (G(), W("tr", hr, [
4901
+ B("td", {
4902
4902
  class: "blob-num blob-num-hunk text-center",
4903
4903
  colspan: "2",
4904
4904
  onClick: n[0] || (n[0] = (t) => l("expand", g.line))
4905
4905
  }, " > "),
4906
- ur
4907
- ])) : g.line.hide ? ve("", !0) : (G(), W("tr", fr, [
4908
- U("td", {
4906
+ dr
4907
+ ])) : g.line.hide ? ve("", !0) : (G(), W("tr", pr, [
4908
+ B("td", {
4909
4909
  class: me(["blob-num", {
4910
- "blob-num-deletion": g.line.type === F(w).DELETE,
4911
- "blob-num-addition": g.line.type === F(w).ADD,
4912
- "blob-num-context": g.line.type === F(w).EQUAL,
4910
+ "blob-num-deletion": g.line.type === F(y).DELETE,
4911
+ "blob-num-addition": g.line.type === F(y).ADD,
4912
+ "blob-num-context": g.line.type === F(y).EQUAL,
4913
4913
  "blob-num-hunk": g.line.hide !== void 0
4914
4914
  }])
4915
4915
  }, ee(g.line.delNum), 3),
4916
- U("td", {
4916
+ B("td", {
4917
4917
  class: me(["blob-num", {
4918
- "blob-num-deletion": g.line.type === F(w).DELETE,
4919
- "blob-num-addition": g.line.type === F(w).ADD,
4920
- "blob-num-context": g.line.type === F(w).EQUAL,
4918
+ "blob-num-deletion": g.line.type === F(y).DELETE,
4919
+ "blob-num-addition": g.line.type === F(y).ADD,
4920
+ "blob-num-context": g.line.type === F(y).EQUAL,
4921
4921
  "blob-num-hunk": g.line.hide !== void 0
4922
4922
  }])
4923
4923
  }, ee(g.line.addNum), 3),
4924
- U("td", {
4924
+ B("td", {
4925
4925
  class: me(["blob-code", {
4926
- "blob-code-deletion": g.line.type === F(w).DELETE,
4927
- "blob-code-addition": g.line.type === F(w).ADD,
4928
- "blob-code-context": g.line.type === F(w).EQUAL,
4926
+ "blob-code-deletion": g.line.type === F(y).DELETE,
4927
+ "blob-code-addition": g.line.type === F(y).ADD,
4928
+ "blob-code-context": g.line.type === F(y).EQUAL,
4929
4929
  "blob-code-hunk": g.line.hide !== void 0
4930
4930
  }])
4931
4931
  }, [
4932
- U("span", {
4932
+ B("span", {
4933
4933
  class: "blob-code-inner blob-code-marker",
4934
- "data-code-marker": u(g.line.type),
4934
+ "data-code-marker": f(g.line.type),
4935
4935
  innerHTML: g.line.code
4936
- }, null, 8, gr)
4936
+ }, null, 8, _r)
4937
4937
  ], 2)
4938
4938
  ]));
4939
4939
  }
4940
- }), dr = { class: "diff-table" }, pr = /* @__PURE__ */ Ae({
4940
+ }), Er = { class: "diff-table" }, mr = /* @__PURE__ */ Ae({
4941
4941
  __name: "UnifiedViewer",
4942
4942
  props: {
4943
4943
  diffChange: {}
4944
4944
  },
4945
4945
  setup(e) {
4946
4946
  const r = e;
4947
- function l({ hideIndex: u }) {
4948
- u !== void 0 && r.diffChange.collector[u].lines.forEach((g) => {
4947
+ function l({ hideIndex: f }) {
4948
+ f !== void 0 && r.diffChange.collector[f].lines.forEach((g) => {
4949
4949
  g.hide = !1, g.fold = !1;
4950
4950
  });
4951
4951
  }
4952
- return (u, g) => {
4952
+ return (f, g) => {
4953
4953
  var n;
4954
- return G(), W("table", dr, [
4955
- U("tbody", null, [
4956
- (G(!0), W(pe, null, Ge((n = u.diffChange) == null ? void 0 : n.changes, (t, i) => (G(), Ce(hr, {
4954
+ return G(), W("table", Er, [
4955
+ B("tbody", null, [
4956
+ (G(!0), W(pe, null, Ke((n = f.diffChange) == null ? void 0 : n.changes, (t, i) => (G(), Ie(br, {
4957
4957
  key: i,
4958
4958
  line: t,
4959
4959
  onExpand: l
@@ -4962,11 +4962,11 @@ const cr = { key: 0 }, ur = /* @__PURE__ */ U("td", {
4962
4962
  ]);
4963
4963
  };
4964
4964
  }
4965
- }), _r = { key: 0 }, br = /* @__PURE__ */ U("td", {
4965
+ }), vr = { key: 0 }, wr = /* @__PURE__ */ B("td", {
4966
4966
  class: "blob-code blob-code-inner blob-code-hunk",
4967
4967
  colspan: "3",
4968
4968
  align: "left"
4969
- }, " ⋯ ", -1), Er = { key: 1 }, mr = /* @__PURE__ */ U("td", { class: "blob-num blob-num-empty empty-cell" }, null, -1), vr = /* @__PURE__ */ U("td", { class: "blob-code blob-code-empty empty-cell" }, null, -1), yr = ["onMousedown"], wr = ["data-code-marker", "innerHTML"], Nr = /* @__PURE__ */ Ae({
4969
+ }, " ⋯ ", -1), yr = { key: 1 }, Nr = /* @__PURE__ */ B("td", { class: "blob-num blob-num-empty empty-cell" }, null, -1), Ar = /* @__PURE__ */ B("td", { class: "blob-code blob-code-empty empty-cell" }, null, -1), Mr = ["onMousedown"], Tr = ["data-code-marker", "innerHTML"], Sr = /* @__PURE__ */ Ae({
4970
4970
  __name: "SplitLine",
4971
4971
  props: {
4972
4972
  splitLine: {}
@@ -4974,8 +4974,8 @@ const cr = { key: 0 }, ur = /* @__PURE__ */ U("td", {
4974
4974
  emits: ["expand"],
4975
4975
  setup(e, { emit: r }) {
4976
4976
  const l = r;
4977
- function u(n) {
4978
- return n === w.DELETE ? "-" : n === w.ADD ? "+" : "";
4977
+ function f(n) {
4978
+ return n === y.DELETE ? "-" : n === y.ADD ? "+" : "";
4979
4979
  }
4980
4980
  function g(n) {
4981
4981
  window.getSelection().removeAllRanges();
@@ -4985,71 +4985,71 @@ const cr = { key: 0 }, ur = /* @__PURE__ */ U("td", {
4985
4985
  for (const s of t)
4986
4986
  s.classList.toggle("no-select", n === "right");
4987
4987
  }
4988
- return (n, t) => n.splitLine.hideIndex !== void 0 && n.splitLine.hide ? (G(), W("tr", _r, [
4989
- U("td", {
4988
+ return (n, t) => n.splitLine.hideIndex !== void 0 && n.splitLine.hide ? (G(), W("tr", vr, [
4989
+ B("td", {
4990
4990
  class: "blob-num blob-num-hunk",
4991
4991
  colspan: "1",
4992
4992
  onClick: t[0] || (t[0] = (i) => l("expand", n.splitLine))
4993
4993
  }, " > "),
4994
- br
4995
- ])) : n.splitLine.hide ? ve("", !0) : (G(), W("tr", Er, [
4996
- (G(!0), W(pe, null, Ge([n.splitLine.left, n.splitLine.right], (i, s) => (G(), W(pe, null, [
4997
- i.type === F(w).EMPTY ? (G(), W(pe, { key: 0 }, [
4998
- mr,
4999
- vr
4994
+ wr
4995
+ ])) : n.splitLine.hide ? ve("", !0) : (G(), W("tr", yr, [
4996
+ (G(!0), W(pe, null, Ke([n.splitLine.left, n.splitLine.right], (i, s) => (G(), W(pe, null, [
4997
+ i.type === F(y).EMPTY ? (G(), W(pe, { key: 0 }, [
4998
+ Nr,
4999
+ Ar
5000
5000
  ], 64)) : (G(), W(pe, { key: 1 }, [
5001
- U("td", {
5001
+ B("td", {
5002
5002
  class: me(["blob-num", {
5003
- "blob-num-deletion": i.type === F(w).DELETE,
5004
- "blob-num-addition": i.type === F(w).ADD,
5005
- "blob-num-context": i.type === F(w).EQUAL,
5003
+ "blob-num-deletion": i.type === F(y).DELETE,
5004
+ "blob-num-addition": i.type === F(y).ADD,
5005
+ "blob-num-context": i.type === F(y).EQUAL,
5006
5006
  "blob-num-hunk": n.splitLine.hide !== void 0
5007
5007
  }])
5008
5008
  }, ee(i.num), 3),
5009
- U("td", {
5009
+ B("td", {
5010
5010
  class: me(["blob-code", {
5011
- "blob-code-deletion": i.type === F(w).DELETE,
5012
- "blob-code-addition": i.type === F(w).ADD,
5013
- "blob-code-context": i.type === F(w).EQUAL,
5011
+ "blob-code-deletion": i.type === F(y).DELETE,
5012
+ "blob-code-addition": i.type === F(y).ADD,
5013
+ "blob-code-context": i.type === F(y).EQUAL,
5014
5014
  "blob-code-hunk": n.splitLine.hide !== void 0,
5015
5015
  "split-side-left": s === 0,
5016
5016
  "split-side-right": s === 1
5017
5017
  }]),
5018
- onMousedown: (o) => g(s === 0 ? "left" : "right")
5018
+ onMousedown: (a) => g(s === 0 ? "left" : "right")
5019
5019
  }, [
5020
- U("span", {
5020
+ B("span", {
5021
5021
  class: "blob-code-inner blob-code-marker",
5022
- "data-code-marker": u(i.type),
5022
+ "data-code-marker": f(i.type),
5023
5023
  innerHTML: i.code
5024
- }, null, 8, wr)
5025
- ], 42, yr)
5024
+ }, null, 8, Tr)
5025
+ ], 42, Mr)
5026
5026
  ], 64))
5027
5027
  ], 64))), 256))
5028
5028
  ]));
5029
5029
  }
5030
- }), Ar = { class: "file-diff-split diff-table" }, Mr = /* @__PURE__ */ U("colgroup", null, [
5031
- /* @__PURE__ */ U("col", { width: "44" }),
5032
- /* @__PURE__ */ U("col"),
5033
- /* @__PURE__ */ U("col", { width: "44" }),
5034
- /* @__PURE__ */ U("col")
5035
- ], -1), Tr = /* @__PURE__ */ Ae({
5030
+ }), Dr = { class: "file-diff-split diff-table" }, Lr = /* @__PURE__ */ B("colgroup", null, [
5031
+ /* @__PURE__ */ B("col", { width: "44" }),
5032
+ /* @__PURE__ */ B("col"),
5033
+ /* @__PURE__ */ B("col", { width: "44" }),
5034
+ /* @__PURE__ */ B("col")
5035
+ ], -1), Rr = /* @__PURE__ */ Ae({
5036
5036
  __name: "SplitViewer",
5037
5037
  props: {
5038
5038
  diffChange: {}
5039
5039
  },
5040
5040
  setup(e) {
5041
5041
  const r = e;
5042
- function l({ hideIndex: u }) {
5043
- u !== void 0 && r.diffChange.collector[u].lines.forEach((g) => {
5042
+ function l({ hideIndex: f }) {
5043
+ f !== void 0 && r.diffChange.collector[f].lines.forEach((g) => {
5044
5044
  g.hide = !1, g.fold = !1;
5045
5045
  });
5046
5046
  }
5047
- return (u, g) => {
5047
+ return (f, g) => {
5048
5048
  var n;
5049
- return G(), W("table", Ar, [
5050
- Mr,
5051
- U("tbody", null, [
5052
- (G(!0), W(pe, null, Ge((n = u.diffChange) == null ? void 0 : n.changes, (t, i) => (G(), Ce(Nr, {
5049
+ return G(), W("table", Dr, [
5050
+ Lr,
5051
+ B("tbody", null, [
5052
+ (G(!0), W(pe, null, Ke((n = f.diffChange) == null ? void 0 : n.changes, (t, i) => (G(), Ie(Sr, {
5053
5053
  key: i,
5054
5054
  "split-line": t,
5055
5055
  onExpand: l
@@ -5058,23 +5058,52 @@ const cr = { key: 0 }, ur = /* @__PURE__ */ U("td", {
5058
5058
  ]);
5059
5059
  };
5060
5060
  }
5061
- });
5062
- const Sr = ["theme"], Dr = {
5061
+ }), Pn = (e, r) => {
5062
+ const l = e.__vccOpts || e;
5063
+ for (const [f, g] of r)
5064
+ l[f] = g;
5065
+ return l;
5066
+ }, Or = {
5067
+ name: "DownArrowIcon"
5068
+ }, Cr = {
5069
+ width: "1rem",
5070
+ viewBox: "0 0 512 512",
5071
+ xmlns: "http://www.w3.org/2000/svg"
5072
+ }, Ir = /* @__PURE__ */ B("path", { d: "M383.6,322.7L278.6,423c-5.8,6-13.7,9-22.4,9c-8.7,0-16.5-3-22.4-9L128.4,322.7c-12.5-11.9-12.5-31.3,0-43.2 c12.5-11.9,32.7-11.9,45.2,0l50.4,48.2v-217c0-16.9,14.3-30.6,32-30.6c17.7,0,32,13.7,32,30.6v217l50.4-48.2 c12.5-11.9,32.7-11.9,45.2,0C396.1,291.4,396.1,310.7,383.6,322.7z" }, null, -1), kr = [
5073
+ Ir
5074
+ ];
5075
+ function Br(e, r, l, f, g, n) {
5076
+ return G(), W("svg", Cr, kr);
5077
+ }
5078
+ const pn = /* @__PURE__ */ Pn(Or, [["render", Br]]), $r = {
5079
+ name: "UpArrowIcon"
5080
+ }, Pr = {
5081
+ width: "1rem",
5082
+ viewBox: "0 0 512 512",
5083
+ xmlns: "http://www.w3.org/2000/svg"
5084
+ }, Ur = /* @__PURE__ */ B("path", { d: "M128.4,189.3L233.4,89c5.8-6,13.7-9,22.4-9c8.7,0,16.5,3,22.4,9l105.4,100.3c12.5,11.9,12.5,31.3,0,43.2 c-12.5,11.9-32.7,11.9-45.2,0L288,184.4v217c0,16.9-14.3,30.6-32,30.6c-17.7,0-32-13.7-32-30.6v-217l-50.4,48.2 c-12.5,11.9-32.7,11.9-45.2,0C115.9,220.6,115.9,201.3,128.4,189.3z" }, null, -1), Hr = [
5085
+ Ur
5086
+ ];
5087
+ function Fr(e, r, l, f, g, n) {
5088
+ return G(), W("svg", Pr, Hr);
5089
+ }
5090
+ const _n = /* @__PURE__ */ Pn($r, [["render", Fr]]);
5091
+ const zr = ["theme"], xr = {
5063
5092
  key: 0,
5064
5093
  class: "file-header"
5065
- }, Lr = {
5094
+ }, Gr = {
5066
5095
  key: 0,
5067
5096
  class: "file-info"
5068
- }, Rr = { class: "info-left" }, Or = { class: "info-left" }, Cr = {
5097
+ }, Kr = { class: "info-left" }, Wr = { class: "info-left" }, Qr = { class: "diff-commandbar" }, Zr = {
5069
5098
  key: 0,
5070
5099
  class: "diff-stat"
5071
- }, Ir = { class: "diff-stat-added" }, kr = { class: "diff-stat-deleted" }, Br = {
5100
+ }, Yr = { class: "diff-stat-added" }, Xr = { class: "diff-stat-deleted" }, Vr = {
5072
5101
  key: 1,
5073
5102
  class: "file-info"
5074
- }, $r = { class: "info-left" }, Ur = { class: "info-right" }, Pr = { style: { "margin-left": "20px" } }, Hr = {
5103
+ }, jr = { class: "info-left" }, qr = { class: "info-right" }, Jr = { style: { "margin-left": "20px" } }, ei = { class: "diff-commandbar" }, ni = {
5075
5104
  key: 0,
5076
5105
  class: "diff-stat"
5077
- }, Fr = { class: "diff-stat-added" }, zr = { class: "diff-stat-deleted" }, xr = /* @__PURE__ */ Ae({
5106
+ }, ti = { class: "diff-stat-added" }, ri = { class: "diff-stat-deleted" }, ii = /* @__PURE__ */ Ae({
5078
5107
  __name: "CodeDiff",
5079
5108
  props: {
5080
5109
  newString: {},
@@ -5082,6 +5111,7 @@ const Sr = ["theme"], Dr = {
5082
5111
  language: { default: "plaintext" },
5083
5112
  context: { default: 10 },
5084
5113
  diffStyle: { default: "word" },
5114
+ forceInlineComparison: { type: Boolean, default: !1 },
5085
5115
  outputFormat: { default: "line-by-line" },
5086
5116
  trim: { type: Boolean, default: !1 },
5087
5117
  noDiffLineFeed: { type: Boolean, default: !1 },
@@ -5095,78 +5125,123 @@ const Sr = ["theme"], Dr = {
5095
5125
  },
5096
5126
  emits: ["diff"],
5097
5127
  setup(e, { emit: r }) {
5098
- const l = e, u = r, g = Ee(() => l.outputFormat === "line-by-line"), n = Ee(() => {
5099
- let a = l.oldString || "";
5100
- return a = l.trim ? a.trim() : a, a = l.noDiffLineFeed ? a.replace(/(\r\n)/g, `
5101
- `) : a, a;
5128
+ const l = e, f = r, g = Ee(() => l.outputFormat === "line-by-line"), n = Ee(() => {
5129
+ let h = l.oldString || "";
5130
+ return h = l.trim ? h.trim() : h, h = l.noDiffLineFeed ? h.replace(/(\r\n)/g, `
5131
+ `) : h, h;
5102
5132
  }), t = Ee(() => {
5103
- let a = l.newString || "";
5104
- return a = l.trim ? a.trim() : a, a = l.noDiffLineFeed ? a.replace(/(\r\n)/g, `
5105
- `) : a, a;
5133
+ let h = l.newString || "";
5134
+ return h = l.trim ? h.trim() : h, h = l.noDiffLineFeed ? h.replace(/(\r\n)/g, `
5135
+ `) : h, h;
5106
5136
  }), i = Ee(
5107
- () => g.value ? lr(n.value, t.value, l.language, l.diffStyle, l.context, l.ignoreMatchingLines) : or(n.value, t.value, l.language, l.diffStyle, l.context, l.ignoreMatchingLines)
5108
- ), s = Fn(i.value), o = Ee(() => s.value.stat.additionsNum === 0 && s.value.stat.deletionsNum === 0);
5109
- return zn(() => l, () => {
5110
- s.value = i.value, u("diff", {
5137
+ () => g.value ? gr(n.value, t.value, l.language, l.diffStyle, l.forceInlineComparison, l.context, l.ignoreMatchingLines) : fr(n.value, t.value, l.language, l.diffStyle, l.forceInlineComparison, l.context, l.ignoreMatchingLines)
5138
+ ), s = nn(i.value), a = Ee(() => s.value.stat.additionsNum === 0 && s.value.stat.deletionsNum === 0), o = nn(-1);
5139
+ function c() {
5140
+ const h = document.querySelectorAll(".blob-code-addition");
5141
+ o.value < h.length - 1 && (o.value++, d(h));
5142
+ }
5143
+ function u() {
5144
+ const h = document.querySelectorAll(".blob-code-addition");
5145
+ o.value > 0 && (o.value--, d(h));
5146
+ }
5147
+ function d(h) {
5148
+ h.forEach((_) => _.classList.remove("current-diff"));
5149
+ const p = h[o.value];
5150
+ p && (p.classList.add("current-diff"), p.scrollIntoView({ behavior: "smooth", block: "center" }));
5151
+ }
5152
+ return Wn(() => l, () => {
5153
+ s.value = i.value, f("diff", {
5111
5154
  stat: {
5112
- isChanged: !o.value,
5155
+ isChanged: !a.value,
5113
5156
  addNum: s.value.stat.additionsNum,
5114
5157
  delNum: s.value.stat.deletionsNum
5115
5158
  }
5116
5159
  });
5117
- }, { deep: !0, immediate: !0 }), (a, c) => (G(), W("div", {
5160
+ }, { deep: !0, immediate: !0 }), (h, p) => (G(), W("div", {
5118
5161
  class: "code-diff-view",
5119
- theme: a.theme,
5120
- style: xn({ maxHeight: a.maxHeight })
5162
+ theme: h.theme,
5163
+ style: Qn({ maxHeight: h.maxHeight })
5121
5164
  }, [
5122
- a.hideHeader ? ve("", !0) : (G(), W("div", Dr, [
5123
- F(g) ? (G(), W("div", Lr, [
5124
- U("span", null, [
5125
- U("div", Rr, ee(a.filename), 1),
5126
- U("div", Or, ee(a.newFilename), 1)
5165
+ h.hideHeader ? ve("", !0) : (G(), W("div", xr, [
5166
+ F(g) ? (G(), W("div", Gr, [
5167
+ B("span", null, [
5168
+ B("div", Kr, ee(h.filename), 1),
5169
+ B("div", Wr, ee(h.newFilename), 1)
5127
5170
  ]),
5128
- a.hideStat ? ve("", !0) : (G(), W("span", Cr, [
5129
- en(a.$slots, "stat", {
5171
+ B("span", Qr, [
5172
+ B("button", {
5173
+ class: "command-item-button",
5174
+ title: "Next Change",
5175
+ onClick: c
5176
+ }, [
5177
+ De(pn)
5178
+ ]),
5179
+ B("button", {
5180
+ class: "command-item-button",
5181
+ title: "Previous Change",
5182
+ onClick: u
5183
+ }, [
5184
+ De(_n)
5185
+ ])
5186
+ ]),
5187
+ h.hideStat ? ve("", !0) : (G(), W("span", Zr, [
5188
+ tn(h.$slots, "stat", {
5130
5189
  stat: F(s).stat
5131
5190
  }, () => [
5132
- U("span", Ir, "+" + ee(F(s).stat.additionsNum) + " additions", 1),
5133
- U("span", kr, "-" + ee(F(s).stat.deletionsNum) + " deletions", 1)
5191
+ B("span", Yr, "+" + ee(F(s).stat.additionsNum) + " additions", 1),
5192
+ B("span", Xr, "-" + ee(F(s).stat.deletionsNum) + " deletions", 1)
5134
5193
  ])
5135
5194
  ]))
5136
- ])) : (G(), W("div", Br, [
5137
- U("span", $r, ee(a.filename), 1),
5138
- U("span", Ur, [
5139
- U("span", Pr, ee(a.newFilename), 1),
5140
- a.hideStat ? ve("", !0) : (G(), W("span", Hr, [
5141
- en(a.$slots, "stat", {
5195
+ ])) : (G(), W("div", Vr, [
5196
+ B("span", jr, ee(h.filename), 1),
5197
+ B("span", qr, [
5198
+ B("span", Jr, ee(h.newFilename), 1),
5199
+ B("span", ei, [
5200
+ B("button", {
5201
+ class: "command-item-button",
5202
+ title: "Next Change",
5203
+ onClick: c
5204
+ }, [
5205
+ De(pn)
5206
+ ]),
5207
+ B("button", {
5208
+ class: "command-item-button",
5209
+ title: "Previous Change",
5210
+ onClick: u
5211
+ }, [
5212
+ De(_n)
5213
+ ])
5214
+ ]),
5215
+ h.hideStat ? ve("", !0) : (G(), W("span", ni, [
5216
+ tn(h.$slots, "stat", {
5142
5217
  stat: F(s).stat
5143
5218
  }, () => [
5144
- U("span", Fr, "+" + ee(F(s).stat.additionsNum) + " additions", 1),
5145
- U("span", zr, "-" + ee(F(s).stat.deletionsNum) + " deletions", 1)
5219
+ B("span", ti, "+" + ee(F(s).stat.additionsNum) + " additions", 1),
5220
+ B("span", ri, "-" + ee(F(s).stat.deletionsNum) + " deletions", 1)
5146
5221
  ])
5147
5222
  ]))
5148
5223
  ])
5149
5224
  ]))
5150
5225
  ])),
5151
- F(g) ? (G(), Ce(pr, {
5226
+ F(g) ? (G(), Ie(mr, {
5152
5227
  key: 1,
5153
5228
  "diff-change": F(s)
5154
- }, null, 8, ["diff-change"])) : (G(), Ce(Tr, {
5229
+ }, null, 8, ["diff-change"])) : (G(), Ie(Rr, {
5155
5230
  key: 2,
5156
5231
  "diff-change": F(s)
5157
5232
  }, null, 8, ["diff-change"]))
5158
- ], 12, Sr));
5233
+ ], 12, zr));
5159
5234
  }
5160
5235
  });
5161
- function Gr(e) {
5162
- e.component("CodeDiff", xr);
5236
+ function si(e) {
5237
+ e.component("CodeDiff", ii);
5163
5238
  }
5164
- const Wr = {
5165
- install: Gr,
5166
- hljs: J
5239
+ const oi = {
5240
+ install: si,
5241
+ hljs: q
5167
5242
  };
5168
5243
  export {
5169
- xr as CodeDiff,
5170
- Wr as default,
5171
- J as hljs
5244
+ ii as CodeDiff,
5245
+ oi as default,
5246
+ q as hljs
5172
5247
  };