v-code-diff 1.6.2 → 1.7.1

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,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view{--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: #24292f;--color-diff-blob-addition-fg: #24292f;--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: #24292f;--color-diff-blob-deletion-fg: #24292f;--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: #57606a;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(27,31,36,.15);--color-diffstat-addition-border: rgba(27,31,36,.15);--color-diffstat-addition-bg: #2da44e;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #24292f;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #57606a;--color-codemirror-cursor: #24292f;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #24292f;--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: #2da44e;--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(27,31,36,.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-avatar-bg: #ffffff;--color-avatar-border: rgba(27,31,36,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: -2px -2px 0 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(27,31,36,.12), 0 8px 24px rgba(66,74,83,.12);--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(27,31,36,.15);--color-btn-shadow: 0 1px 0 rgba(27,31,36,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(27,31,36,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(27,31,36,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-focus-bg: #f6f8fa;--color-btn-focus-border: rgba(27,31,36,.15);--color-btn-focus-shadow: 0 0 0 3px rgba(9,105,218,.3);--color-btn-shadow-active: inset 0 .15em .3em rgba(27,31,36,.15);--color-btn-shadow-input-focus: 0 0 0 .2em rgba(9,105,218,.3);--color-btn-counter-bg: rgba(27,31,36,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #2da44e;--color-btn-primary-border: rgba(27,31,36,.15);--color-btn-primary-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #2c974b;--color-btn-primary-hover-border: rgba(27,31,36,.15);--color-btn-primary-selected-bg: hsla(137,55%,36%,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(27,31,36,.15);--color-btn-primary-focus-bg: #2da44e;--color-btn-primary-focus-border: rgba(27,31,36,.15);--color-btn-primary-focus-shadow: 0 0 0 3px rgba(45,164,78,.4);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(255,255,255,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(27,31,36,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(27,31,36,.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(27,31,36,.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-focus-border: rgba(27,31,36,.15);--color-btn-outline-focus-shadow: 0 0 0 3px rgba(5,80,174,.4);--color-btn-outline-counter-bg: rgba(9,105,218,.1);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(27,31,36,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(27,31,36,.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(27,31,36,.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-focus-border: rgba(27,31,36,.15);--color-btn-danger-focus-shadow: 0 0 0 3px rgba(164,14,38,.4);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--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: #cf222e;--color-switch-track-bg: #eaeef2;--color-switch-track-border: #afb8c1;--color-switch-track-checked-bg: #ddf4ff;--color-switch-track-checked-hover-bg: #b6e3ff;--color-switch-track-checked-active-bg: #80ccff;--color-switch-track-checked-border: #54aeff;--color-switch-knob-checked-bg: #0969da;--color-switch-knob-checked-disabled-bg: #6e7781;--color-segmented-control-bg: #eaeef2;--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: #6e7781;--color-fg-default: #24292f;--color-fg-muted: #57606a;--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(27,31,36,.15);--color-shadow-small: 0 1px 0 rgba(27,31,36,.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: #2da44e;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #bf8700;--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: #cf222e;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #2da44e;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #cf222e;--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(27,31,36,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(27,31,36,.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-primer-shadow-focus: 0 0 0 3px rgba(9,105,218,.3);--color-scale-black: #1b1f24;--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{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 .filename{font-size:13px;color:var(--color-fg-default)}.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 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 .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:gray}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as ye, openBlock as W, createElementBlock as j, createElementVNode as P, normalizeClass as be, unref as z, toDisplayString as he, createCommentVNode as fn, Fragment as ge, renderList as Fe, createBlock as Oe, computed as pe, ref as Un, watch as Pn, normalizeStyle as xn } from "vue";
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view{--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: #24292f;--color-diff-blob-addition-fg: #24292f;--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: #24292f;--color-diff-blob-deletion-fg: #24292f;--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: #57606a;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(27,31,36,.15);--color-diffstat-addition-border: rgba(27,31,36,.15);--color-diffstat-addition-bg: #2da44e;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #24292f;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #57606a;--color-codemirror-cursor: #24292f;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #24292f;--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: #2da44e;--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(27,31,36,.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-avatar-bg: #ffffff;--color-avatar-border: rgba(27,31,36,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: -2px -2px 0 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(27,31,36,.12), 0 8px 24px rgba(66,74,83,.12);--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(27,31,36,.15);--color-btn-shadow: 0 1px 0 rgba(27,31,36,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(27,31,36,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(27,31,36,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-focus-bg: #f6f8fa;--color-btn-focus-border: rgba(27,31,36,.15);--color-btn-focus-shadow: 0 0 0 3px rgba(9,105,218,.3);--color-btn-shadow-active: inset 0 .15em .3em rgba(27,31,36,.15);--color-btn-shadow-input-focus: 0 0 0 .2em rgba(9,105,218,.3);--color-btn-counter-bg: rgba(27,31,36,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #2da44e;--color-btn-primary-border: rgba(27,31,36,.15);--color-btn-primary-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #2c974b;--color-btn-primary-hover-border: rgba(27,31,36,.15);--color-btn-primary-selected-bg: hsla(137,55%,36%,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(27,31,36,.15);--color-btn-primary-focus-bg: #2da44e;--color-btn-primary-focus-border: rgba(27,31,36,.15);--color-btn-primary-focus-shadow: 0 0 0 3px rgba(45,164,78,.4);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(255,255,255,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(27,31,36,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(27,31,36,.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(27,31,36,.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-focus-border: rgba(27,31,36,.15);--color-btn-outline-focus-shadow: 0 0 0 3px rgba(5,80,174,.4);--color-btn-outline-counter-bg: rgba(9,105,218,.1);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(27,31,36,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(27,31,36,.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(27,31,36,.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-focus-border: rgba(27,31,36,.15);--color-btn-danger-focus-shadow: 0 0 0 3px rgba(164,14,38,.4);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--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: #cf222e;--color-switch-track-bg: #eaeef2;--color-switch-track-border: #afb8c1;--color-switch-track-checked-bg: #ddf4ff;--color-switch-track-checked-hover-bg: #b6e3ff;--color-switch-track-checked-active-bg: #80ccff;--color-switch-track-checked-border: #54aeff;--color-switch-knob-checked-bg: #0969da;--color-switch-knob-checked-disabled-bg: #6e7781;--color-segmented-control-bg: #eaeef2;--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: #6e7781;--color-fg-default: #24292f;--color-fg-muted: #57606a;--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(27,31,36,.15);--color-shadow-small: 0 1px 0 rgba(27,31,36,.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: #2da44e;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #bf8700;--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: #cf222e;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #2da44e;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #cf222e;--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(27,31,36,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(27,31,36,.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-primer-shadow-focus: 0 0 0 3px rgba(9,105,218,.3);--color-scale-black: #1b1f24;--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{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 .filename{font-size:13px;color:var(--color-fg-default)}.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 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)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:gray}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { defineComponent as ye, openBlock as K, createElementBlock as X, createElementVNode as H, normalizeClass as be, unref as z, toDisplayString as he, createCommentVNode as Le, Fragment as ge, renderList as ze, createBlock as Oe, computed as pe, ref as Un, watch as Pn, normalizeStyle as xn } from "vue";
3
3
  function re() {
4
4
  }
5
5
  re.prototype = {
@@ -28,12 +28,12 @@ re.prototype = {
28
28
  for (var p = -1 * s; p <= s; p += 2) {
29
29
  var b = void 0, E = c[p - 1], v = c[p + 1], w = (v ? v.newPos : 0) - p;
30
30
  E && (c[p - 1] = void 0);
31
- var m = E && E.newPos + 1 < i, D = v && 0 <= w && w < a;
32
- if (!m && !D) {
31
+ var m = E && E.newPos + 1 < i, S = v && 0 <= w && w < a;
32
+ if (!m && !S) {
33
33
  c[p] = void 0;
34
34
  continue;
35
35
  }
36
- if (!m || D && E.newPos < v.newPos ? (b = Fn(v), n.pushComponent(b.components, void 0, !0)) : (b = E, b.newPos++, n.pushComponent(b.components, !0, void 0)), w = n.extractCommon(b, o, r, p), b.newPos + 1 >= i && w + 1 >= a)
36
+ if (!m || S && E.newPos < v.newPos ? (b = Fn(v), n.pushComponent(b.components, void 0, !0)) : (b = E, b.newPos++, n.pushComponent(b.components, !0, void 0)), w = n.extractCommon(b, o, r, p), b.newPos + 1 >= i && w + 1 >= a)
37
37
  return t(Hn(n, b.components, o, r, n.useLongestToken));
38
38
  c[p] = b;
39
39
  }
@@ -132,19 +132,19 @@ function Kn(e, r) {
132
132
  e.hasOwnProperty(o) && (r[o] = e[o]);
133
133
  return r;
134
134
  }
135
- var qe = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, en = /\S/, ze = new re();
136
- ze.equals = function(e, r) {
137
- return this.options.ignoreCase && (e = e.toLowerCase(), r = r.toLowerCase()), e === r || this.options.ignoreWhitespace && !en.test(e) && !en.test(r);
135
+ var en = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, nn = /\S/, Ge = new re();
136
+ Ge.equals = function(e, r) {
137
+ return this.options.ignoreCase && (e = e.toLowerCase(), r = r.toLowerCase()), e === r || this.options.ignoreWhitespace && !nn.test(e) && !nn.test(r);
138
138
  };
139
- ze.tokenize = function(e) {
139
+ Ge.tokenize = function(e) {
140
140
  for (var r = e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), o = 0; o < r.length - 1; o++)
141
- !r[o + 1] && r[o + 2] && qe.test(r[o]) && qe.test(r[o + 2]) && (r[o] += r[o + 2], r.splice(o + 1, 2), o--);
141
+ !r[o + 1] && r[o + 2] && en.test(r[o]) && en.test(r[o + 2]) && (r[o] += r[o + 2], r.splice(o + 1, 2), o--);
142
142
  return r;
143
143
  };
144
144
  function Wn(e, r, o) {
145
145
  return o = Kn(o, {
146
146
  ignoreWhitespace: !0
147
- }), ze.diff(e, r, o);
147
+ }), Ge.diff(e, r, o);
148
148
  }
149
149
  var gn = new re();
150
150
  gn.tokenize = function(e) {
@@ -179,12 +179,12 @@ _e.castInput = function(e) {
179
179
  var r = this.options, o = r.undefinedReplacement, u = r.stringifyReplacer, h = u === void 0 ? function(n, t) {
180
180
  return typeof t == "undefined" ? o : t;
181
181
  } : u;
182
- return typeof e == "string" ? e : JSON.stringify(xe(e, null, null, h), h, " ");
182
+ return typeof e == "string" ? e : JSON.stringify(He(e, null, null, h), h, " ");
183
183
  };
184
184
  _e.equals = function(e, r) {
185
185
  return re.prototype.equals.call(_e, e.replace(/,([\r\n])/g, "$1"), r.replace(/,([\r\n])/g, "$1"));
186
186
  };
187
- function xe(e, r, o, u, h) {
187
+ function He(e, r, o, u, h) {
188
188
  r = r || [], o = o || [], u && (e = u(h, e));
189
189
  var n;
190
190
  for (n = 0; n < r.length; n += 1)
@@ -193,7 +193,7 @@ function xe(e, r, o, u, h) {
193
193
  var t;
194
194
  if (Yn.call(e) === "[object Array]") {
195
195
  for (r.push(e), t = new Array(e.length), o.push(t), n = 0; n < e.length; n += 1)
196
- t[n] = xe(e[n], r, o, u, h);
196
+ t[n] = He(e[n], r, o, u, h);
197
197
  return r.pop(), o.pop(), t;
198
198
  }
199
199
  if (e && e.toJSON && (e = e.toJSON()), Re(e) === "object" && e !== null) {
@@ -202,17 +202,17 @@ function xe(e, r, o, u, h) {
202
202
  for (a in e)
203
203
  e.hasOwnProperty(a) && i.push(a);
204
204
  for (i.sort(), n = 0; n < i.length; n += 1)
205
- a = i[n], t[a] = xe(e[a], r, o, u, a);
205
+ a = i[n], t[a] = He(e[a], r, o, u, a);
206
206
  r.pop(), o.pop();
207
207
  } else
208
208
  t = e;
209
209
  return t;
210
210
  }
211
- var He = new re();
212
- He.tokenize = function(e) {
211
+ var Fe = new re();
212
+ Fe.tokenize = function(e) {
213
213
  return e.slice();
214
214
  };
215
- He.join = He.removeEmpty = function(e) {
215
+ Fe.join = Fe.removeEmpty = function(e) {
216
216
  return e;
217
217
  };
218
218
  function Xn(e) {
@@ -302,10 +302,10 @@ var hn = { exports: {} };
302
302
  for (var a = n.length, s = t.length, l = Math.ceil((a + s) / 2), c = l, f = 2 * l, g = new Array(f), d = new Array(f), p = 0; p < f; p++)
303
303
  g[p] = -1, d[p] = -1;
304
304
  g[c + 1] = 0, d[c + 1] = 0;
305
- for (var b = a - s, E = b % 2 != 0, v = 0, w = 0, m = 0, D = 0, S = 0; S < l && !((/* @__PURE__ */ new Date()).getTime() > i); S++) {
306
- for (var A = -S + v; A <= S - w; A += 2) {
305
+ for (var b = a - s, E = b % 2 != 0, v = 0, w = 0, m = 0, S = 0, D = 0; D < l && !((/* @__PURE__ */ new Date()).getTime() > i); D++) {
306
+ for (var A = -D + v; A <= D - w; A += 2) {
307
307
  var I = c + A, R;
308
- A == -S || A != S && g[I - 1] < g[I + 1] ? R = g[I + 1] : R = g[I - 1] + 1;
308
+ A == -D || A != D && g[I - 1] < g[I + 1] ? R = g[I + 1] : R = g[I - 1] + 1;
309
309
  for (var F = R - A; R < a && F < s && n.charAt(R) == t.charAt(F); )
310
310
  R++, F++;
311
311
  if (g[I] = R, R > a)
@@ -321,13 +321,13 @@ var hn = { exports: {} };
321
321
  }
322
322
  }
323
323
  }
324
- for (var G = -S + m; G <= S - D; G += 2) {
324
+ for (var G = -D + m; G <= D - S; G += 2) {
325
325
  var U = c + G, $;
326
- G == -S || G != S && d[U - 1] < d[U + 1] ? $ = d[U + 1] : $ = d[U - 1] + 1;
326
+ G == -D || G != D && d[U - 1] < d[U + 1] ? $ = d[U + 1] : $ = d[U - 1] + 1;
327
327
  for (var Q = $ - G; $ < a && Q < s && n.charAt(a - $ - 1) == t.charAt(s - Q - 1); )
328
328
  $++, Q++;
329
329
  if (d[U] = $, $ > a)
330
- D += 2;
330
+ S += 2;
331
331
  else if (Q > s)
332
332
  m += 2;
333
333
  else if (!E) {
@@ -402,16 +402,16 @@ var hn = { exports: {} };
402
402
  if (i.length < 4 || a.length * 2 < i.length)
403
403
  return null;
404
404
  var s = this;
405
- function l(w, m, D) {
406
- for (var S = w.substring(D, D + Math.floor(w.length / 4)), A = -1, I = "", R, F, U, $; (A = m.indexOf(S, A + 1)) != -1; ) {
405
+ function l(w, m, S) {
406
+ for (var D = w.substring(S, S + Math.floor(w.length / 4)), A = -1, I = "", R, F, U, $; (A = m.indexOf(D, A + 1)) != -1; ) {
407
407
  var G = s.diff_commonPrefix(
408
- w.substring(D),
408
+ w.substring(S),
409
409
  m.substring(A)
410
410
  ), Q = s.diff_commonSuffix(
411
- w.substring(0, D),
411
+ w.substring(0, S),
412
412
  m.substring(0, A)
413
413
  );
414
- I.length < Q + G && (I = m.substring(A - Q, A) + m.substring(A, A + G), R = w.substring(0, D - Q), F = w.substring(D + G), U = m.substring(0, A - Q), $ = m.substring(A + G));
414
+ I.length < Q + G && (I = m.substring(A - Q, A) + m.substring(A, A + G), R = w.substring(0, S - Q), F = w.substring(S + G), U = m.substring(0, A - Q), $ = m.substring(A + G));
415
415
  }
416
416
  return I.length * 2 >= w.length ? [
417
417
  R,
@@ -464,8 +464,8 @@ var hn = { exports: {} };
464
464
  function t(v, w) {
465
465
  if (!v || !w)
466
466
  return 6;
467
- var m = v.charAt(v.length - 1), D = w.charAt(0), S = m.match(r.nonAlphaNumericRegex_), A = D.match(r.nonAlphaNumericRegex_), I = S && m.match(r.whitespaceRegex_), R = A && D.match(r.whitespaceRegex_), F = I && m.match(r.linebreakRegex_), U = R && D.match(r.linebreakRegex_), $ = F && v.match(r.blanklineEndRegex_), G = U && w.match(r.blanklineStartRegex_);
468
- return $ || G ? 5 : F || U ? 4 : S && !I && R ? 3 : I || R ? 2 : S || A ? 1 : 0;
467
+ var m = v.charAt(v.length - 1), S = w.charAt(0), D = m.match(r.nonAlphaNumericRegex_), A = S.match(r.nonAlphaNumericRegex_), I = D && m.match(r.whitespaceRegex_), R = A && S.match(r.whitespaceRegex_), F = I && m.match(r.linebreakRegex_), U = R && S.match(r.linebreakRegex_), $ = F && v.match(r.blanklineEndRegex_), G = U && w.match(r.blanklineStartRegex_);
468
+ return $ || G ? 5 : F || U ? 4 : D && !I && R ? 3 : I || R ? 2 : D || A ? 1 : 0;
469
469
  }
470
470
  for (var i = 1; i < n.length - 1; ) {
471
471
  if (n[i - 1][0] == h && n[i + 1][0] == h) {
@@ -627,14 +627,14 @@ var hn = { exports: {} };
627
627
  for (d = 0, p = b; d < p; )
628
628
  l(v, i + p) <= c ? d = p : b = p, p = Math.floor((b - d) / 2 + d);
629
629
  b = p;
630
- var w = Math.max(1, i - p + 1), m = Math.min(i + p, n.length) + t.length, D = Array(m + 2);
631
- D[m + 1] = (1 << v) - 1;
632
- for (var S = m; S >= w; S--) {
633
- var A = a[n.charAt(S - 1)];
634
- if (v === 0 ? D[S] = (D[S + 1] << 1 | 1) & A : D[S] = (D[S + 1] << 1 | 1) & A | ((E[S + 1] | E[S]) << 1 | 1) | E[S + 1], D[S] & g) {
635
- var I = l(v, S - 1);
630
+ var w = Math.max(1, i - p + 1), m = Math.min(i + p, n.length) + t.length, S = Array(m + 2);
631
+ S[m + 1] = (1 << v) - 1;
632
+ for (var D = m; D >= w; D--) {
633
+ var A = a[n.charAt(D - 1)];
634
+ if (v === 0 ? S[D] = (S[D + 1] << 1 | 1) & A : S[D] = (S[D + 1] << 1 | 1) & A | ((E[D + 1] | E[D]) << 1 | 1) | E[D + 1], S[D] & g) {
635
+ var I = l(v, D - 1);
636
636
  if (I <= c)
637
- if (c = I, f = S - 1, f > i)
637
+ if (c = I, f = D - 1, f > i)
638
638
  w = Math.max(1, 2 * i - f);
639
639
  else
640
640
  break;
@@ -642,7 +642,7 @@ var hn = { exports: {} };
642
642
  }
643
643
  if (l(v + 1, i) > c)
644
644
  break;
645
- E = D;
645
+ E = S;
646
646
  }
647
647
  return f;
648
648
  }, r.prototype.match_alphabet_ = function(n) {
@@ -859,20 +859,20 @@ var hn = { exports: {} };
859
859
  return i.join("").replace(/%20/g, " ");
860
860
  }, e.exports = r, e.exports.diff_match_patch = r, e.exports.DIFF_DELETE = o, e.exports.DIFF_INSERT = u, e.exports.DIFF_EQUAL = h;
861
861
  })(hn);
862
- var Ue = hn.exports, Ge = { exports: {} };
863
- function Ke(e) {
862
+ var Pe = hn.exports, Ke = { exports: {} };
863
+ function We(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(function(r) {
869
869
  var o = e[r];
870
- typeof o == "object" && !Object.isFrozen(o) && Ke(o);
870
+ typeof o == "object" && !Object.isFrozen(o) && We(o);
871
871
  }), e;
872
872
  }
873
- Ge.exports = Ke;
874
- Ge.exports.default = Ke;
875
- class nn {
873
+ Ke.exports = We;
874
+ Ke.exports.default = We;
875
+ class tn {
876
876
  /**
877
877
  * @param {CompiledMode} mode
878
878
  */
@@ -896,7 +896,7 @@ function ae(e, ...r) {
896
896
  }), /** @type {T} */
897
897
  o;
898
898
  }
899
- const jn = "</span>", tn = (e) => !!e.scope || e.sublanguage && e.language, Vn = (e, { prefix: r }) => {
899
+ const jn = "</span>", rn = (e) => !!e.scope || e.sublanguage && e.language, Vn = (e, { prefix: r }) => {
900
900
  if (e.includes(".")) {
901
901
  const o = e.split(".");
902
902
  return [
@@ -928,7 +928,7 @@ class Jn {
928
928
  *
929
929
  * @param {Node} node */
930
930
  openNode(r) {
931
- if (!tn(r))
931
+ if (!rn(r))
932
932
  return;
933
933
  let o = "";
934
934
  r.sublanguage ? o = `language-${r.language}` : o = Vn(r.scope, { prefix: this.classPrefix }), this.span(o);
@@ -938,7 +938,7 @@ class Jn {
938
938
  *
939
939
  * @param {Node} node */
940
940
  closeNode(r) {
941
- tn(r) && (this.buffer += jn);
941
+ rn(r) && (this.buffer += jn);
942
942
  }
943
943
  /**
944
944
  * returns the accumulated buffer
@@ -955,13 +955,13 @@ class Jn {
955
955
  this.buffer += `<span class="${r}">`;
956
956
  }
957
957
  }
958
- const rn = (e = {}) => {
958
+ const sn = (e = {}) => {
959
959
  const r = { children: [] };
960
960
  return Object.assign(r, e), r;
961
961
  };
962
- class We {
962
+ class Qe {
963
963
  constructor() {
964
- this.rootNode = rn(), this.stack = [this.rootNode];
964
+ this.rootNode = sn(), this.stack = [this.rootNode];
965
965
  }
966
966
  get top() {
967
967
  return this.stack[this.stack.length - 1];
@@ -975,7 +975,7 @@ class We {
975
975
  }
976
976
  /** @param {string} scope */
977
977
  openNode(r) {
978
- const o = rn({ scope: r });
978
+ const o = sn({ scope: r });
979
979
  this.add(o), this.stack.push(o);
980
980
  }
981
981
  closeNode() {
@@ -1008,11 +1008,11 @@ class We {
1008
1008
  */
1009
1009
  static _collapse(r) {
1010
1010
  typeof r != "string" && r.children && (r.children.every((o) => typeof o == "string") ? r.children = [r.children.join("")] : r.children.forEach((o) => {
1011
- We._collapse(o);
1011
+ Qe._collapse(o);
1012
1012
  }));
1013
1013
  }
1014
1014
  }
1015
- class qn extends We {
1015
+ class qn extends Qe {
1016
1016
  /**
1017
1017
  * @param {*} options
1018
1018
  */
@@ -1066,7 +1066,7 @@ function tt(e) {
1066
1066
  const r = e[e.length - 1];
1067
1067
  return typeof r == "object" && r.constructor === Object ? (e.splice(e.length - 1, 1), r) : {};
1068
1068
  }
1069
- function Qe(...e) {
1069
+ function Ze(...e) {
1070
1070
  return "(" + (tt(e).capture ? "" : "?:") + e.map((u) => Ee(u)).join("|") + ")";
1071
1071
  }
1072
1072
  function bn(e) {
@@ -1077,7 +1077,7 @@ function rt(e, r) {
1077
1077
  return o && o.index === 0;
1078
1078
  }
1079
1079
  const it = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
1080
- function Ze(e, { joinWith: r }) {
1080
+ function Ye(e, { joinWith: r }) {
1081
1081
  let o = 0;
1082
1082
  return e.map((u) => {
1083
1083
  o += 1;
@@ -1094,7 +1094,7 @@ function Ze(e, { joinWith: r }) {
1094
1094
  return t;
1095
1095
  }).map((u) => `(${u})`).join(r);
1096
1096
  }
1097
- const st = /\b\B/, _n = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\\d+)?", vn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", mn = "\\b(0b[01]+)", at = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ot = (e = {}) => {
1097
+ const st = /\b\B/, _n = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\\d+)?", vn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", mn = "\\b(0b[01]+)", at = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ot = (e = {}) => {
1098
1098
  const r = /^#![ ]*\//;
1099
1099
  return e.binary && (e.begin = ce(
1100
1100
  r,
@@ -1128,7 +1128,7 @@ const st = /\b\B/, _n = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\
1128
1128
  contains: [ve]
1129
1129
  }, ut = {
1130
1130
  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/
1131
- }, Ie = function(e, r, o = {}) {
1131
+ }, ke = function(e, r, o = {}) {
1132
1132
  const u = ae(
1133
1133
  {
1134
1134
  scope: "comment",
@@ -1147,7 +1147,7 @@ const st = /\b\B/, _n = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\
1147
1147
  excludeBegin: !0,
1148
1148
  relevance: 0
1149
1149
  });
1150
- const h = Qe(
1150
+ const h = Ze(
1151
1151
  // list of common 1 and 2 letter words in English
1152
1152
  "I",
1153
1153
  "a",
@@ -1194,7 +1194,7 @@ const st = /\b\B/, _n = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\
1194
1194
  // look for 3 words in a row
1195
1195
  }
1196
1196
  ), u;
1197
- }, ft = Ie("//", "$"), gt = Ie("/\\*", "\\*/"), ht = Ie("#", "$"), dt = {
1197
+ }, ft = ke("//", "$"), gt = ke("/\\*", "\\*/"), ht = ke("#", "$"), dt = {
1198
1198
  scope: "number",
1199
1199
  begin: En,
1200
1200
  relevance: 0
@@ -1235,11 +1235,11 @@ const st = /\b\B/, _n = "[a-zA-Z]\\w*", Ye = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\
1235
1235
  relevance: 0
1236
1236
  }, vt = {
1237
1237
  scope: "title",
1238
- begin: Ye,
1238
+ begin: Xe,
1239
1239
  relevance: 0
1240
1240
  }, mt = {
1241
1241
  // excludes method names from keyword processing
1242
- begin: "\\.\\s*" + Ye,
1242
+ begin: "\\.\\s*" + Xe,
1243
1243
  relevance: 0
1244
1244
  }, yt = function(e) {
1245
1245
  return Object.assign(
@@ -1260,7 +1260,7 @@ var Te = /* @__PURE__ */ Object.freeze({
1260
1260
  __proto__: null,
1261
1261
  MATCH_NOTHING_RE: st,
1262
1262
  IDENT_RE: _n,
1263
- UNDERSCORE_IDENT_RE: Ye,
1263
+ UNDERSCORE_IDENT_RE: Xe,
1264
1264
  NUMBER_RE: En,
1265
1265
  C_NUMBER_RE: vn,
1266
1266
  BINARY_NUMBER_RE: mn,
@@ -1270,7 +1270,7 @@ var Te = /* @__PURE__ */ Object.freeze({
1270
1270
  APOS_STRING_MODE: lt,
1271
1271
  QUOTE_STRING_MODE: ct,
1272
1272
  PHRASAL_WORDS_MODE: ut,
1273
- COMMENT: Ie,
1273
+ COMMENT: ke,
1274
1274
  C_LINE_COMMENT_MODE: ft,
1275
1275
  C_BLOCK_COMMENT_MODE: gt,
1276
1276
  HASH_COMMENT_MODE: ht,
@@ -1293,7 +1293,7 @@ function Mt(e, r) {
1293
1293
  r && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = wt, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
1294
1294
  }
1295
1295
  function At(e, r) {
1296
- Array.isArray(e.illegal) && (e.illegal = Qe(...e.illegal));
1296
+ Array.isArray(e.illegal) && (e.illegal = Ze(...e.illegal));
1297
1297
  }
1298
1298
  function Tt(e, r) {
1299
1299
  if (e.match) {
@@ -1302,10 +1302,10 @@ function Tt(e, r) {
1302
1302
  e.begin = e.match, delete e.match;
1303
1303
  }
1304
1304
  }
1305
- function Dt(e, r) {
1305
+ function St(e, r) {
1306
1306
  e.relevance === void 0 && (e.relevance = 1);
1307
1307
  }
1308
- const St = (e, r) => {
1308
+ const Dt = (e, r) => {
1309
1309
  if (!e.beforeMatch)
1310
1310
  return;
1311
1311
  if (e.starts)
@@ -1334,8 +1334,8 @@ const St = (e, r) => {
1334
1334
  // common variable name
1335
1335
  "value"
1336
1336
  // common variable name
1337
- ], Ot = "keyword";
1338
- function yn(e, r, o = Ot) {
1337
+ ], Lt = "keyword";
1338
+ function yn(e, r, o = Lt) {
1339
1339
  const u = /* @__PURE__ */ Object.create(null);
1340
1340
  return typeof e == "string" ? h(o, e.split(" ")) : Array.isArray(e) ? h(o, e) : Object.keys(e).forEach(function(n) {
1341
1341
  Object.assign(
@@ -1346,23 +1346,23 @@ function yn(e, r, o = Ot) {
1346
1346
  function h(n, t) {
1347
1347
  r && (t = t.map((i) => i.toLowerCase())), t.forEach(function(i) {
1348
1348
  const a = i.split("|");
1349
- u[a[0]] = [n, Lt(a[0], a[1])];
1349
+ u[a[0]] = [n, Ot(a[0], a[1])];
1350
1350
  });
1351
1351
  }
1352
1352
  }
1353
- function Lt(e, r) {
1353
+ function Ot(e, r) {
1354
1354
  return r ? Number(r) : Ct(e) ? 0 : 1;
1355
1355
  }
1356
1356
  function Ct(e) {
1357
1357
  return Rt.includes(e.toLowerCase());
1358
1358
  }
1359
- const sn = {}, le = (e) => {
1359
+ const an = {}, le = (e) => {
1360
1360
  console.error(e);
1361
- }, an = (e, ...r) => {
1361
+ }, on = (e, ...r) => {
1362
1362
  console.log(`WARN: ${e}`, ...r);
1363
1363
  }, ue = (e, r) => {
1364
- sn[`${e}/${r}`] || (console.log(`Deprecated as of ${e}. ${r}`), sn[`${e}/${r}`] = !0);
1365
- }, Le = new Error();
1364
+ an[`${e}/${r}`] || (console.log(`Deprecated as of ${e}. ${r}`), an[`${e}/${r}`] = !0);
1365
+ }, Ce = new Error();
1366
1366
  function wn(e, r, { key: o }) {
1367
1367
  let u = 0;
1368
1368
  const h = e[o], n = {}, t = {};
@@ -1373,19 +1373,19 @@ function wn(e, r, { key: o }) {
1373
1373
  function It(e) {
1374
1374
  if (Array.isArray(e.begin)) {
1375
1375
  if (e.skip || e.excludeBegin || e.returnBegin)
1376
- throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Le;
1376
+ throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Ce;
1377
1377
  if (typeof e.beginScope != "object" || e.beginScope === null)
1378
- throw le("beginScope must be object"), Le;
1379
- wn(e, e.begin, { key: "beginScope" }), e.begin = Ze(e.begin, { joinWith: "" });
1378
+ throw le("beginScope must be object"), Ce;
1379
+ wn(e, e.begin, { key: "beginScope" }), e.begin = Ye(e.begin, { joinWith: "" });
1380
1380
  }
1381
1381
  }
1382
1382
  function kt(e) {
1383
1383
  if (Array.isArray(e.end)) {
1384
1384
  if (e.skip || e.excludeEnd || e.returnEnd)
1385
- throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Le;
1385
+ throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Ce;
1386
1386
  if (typeof e.endScope != "object" || e.endScope === null)
1387
- throw le("endScope must be object"), Le;
1388
- wn(e, e.end, { key: "endScope" }), e.end = Ze(e.end, { joinWith: "" });
1387
+ throw le("endScope must be object"), Ce;
1388
+ wn(e, e.end, { key: "endScope" }), e.end = Ye(e.end, { joinWith: "" });
1389
1389
  }
1390
1390
  }
1391
1391
  function Bt(e) {
@@ -1412,7 +1412,7 @@ function Ut(e) {
1412
1412
  compile() {
1413
1413
  this.regexes.length === 0 && (this.exec = () => null);
1414
1414
  const i = this.regexes.map((a) => a[1]);
1415
- this.matcherRe = r(Ze(i, { joinWith: "|" }), !0), this.lastIndex = 0;
1415
+ this.matcherRe = r(Ye(i, { joinWith: "|" }), !0), this.lastIndex = 0;
1416
1416
  }
1417
1417
  /** @param {string} s */
1418
1418
  exec(i) {
@@ -1474,14 +1474,14 @@ function Ut(e) {
1474
1474
  // the distinction between match/begin
1475
1475
  Tt,
1476
1476
  $t,
1477
- St
1477
+ Dt
1478
1478
  ].forEach((l) => l(t, i)), e.compilerExtensions.forEach((l) => l(t, i)), t.__beforeBegin = null, [
1479
1479
  Mt,
1480
1480
  // do this later so compiler extensions that come earlier have access to the
1481
1481
  // raw array if they wanted to perhaps manipulate it, etc.
1482
1482
  At,
1483
1483
  // default to 1 relevance if not specified
1484
- Dt
1484
+ St
1485
1485
  ].forEach((l) => l(t, i)), t.isCompiled = !0;
1486
1486
  let s = null;
1487
1487
  return typeof t.keywords == "object" && t.keywords.$pattern && (t.keywords = Object.assign({}, t.keywords), s = t.keywords.$pattern, delete t.keywords.$pattern), s = s || /\w+/, t.keywords && (t.keywords = yn(t.keywords, e.case_insensitive)), a.keywordPatternRe = r(s, !0), i && (t.begin || (t.begin = /\B|\b/), a.beginRe = r(a.begin), !t.end && !t.endsWithParent && (t.end = /\B|\b/), t.end && (a.endRe = r(a.end)), a.terminatorEnd = Ee(a.end) || "", t.endsWithParent && i.terminatorEnd && (a.terminatorEnd += (t.end ? "|" : "") + i.terminatorEnd)), t.illegal && (a.illegalRe = r(
@@ -1518,7 +1518,7 @@ class Ht extends Error {
1518
1518
  super(r), this.name = "HTMLInjectionError", this.html = o;
1519
1519
  }
1520
1520
  }
1521
- const Pe = dn, on = ae, ln = Symbol("nomatch"), Ft = 7, zt = function(e) {
1521
+ const xe = dn, ln = ae, cn = Symbol("nomatch"), Ft = 7, zt = function(e) {
1522
1522
  const r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null), u = [];
1523
1523
  let h = !0;
1524
1524
  const n = "Could not find the language '{}', did you forget to load/include a language module?", t = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -1540,72 +1540,72 @@ const Pe = dn, on = ae, ln = Symbol("nomatch"), Ft = 7, zt = function(e) {
1540
1540
  function s(_) {
1541
1541
  let M = _.className + " ";
1542
1542
  M += _.parentNode ? _.parentNode.className : "";
1543
- const L = i.languageDetectRe.exec(M);
1544
- if (L) {
1545
- const k = R(L[1]);
1546
- return k || (an(n.replace("{}", L[1])), an("Falling back to no-highlight mode for this block.", _)), k ? L[1] : "no-highlight";
1543
+ const O = i.languageDetectRe.exec(M);
1544
+ if (O) {
1545
+ const k = R(O[1]);
1546
+ return k || (on(n.replace("{}", O[1])), on("Falling back to no-highlight mode for this block.", _)), k ? O[1] : "no-highlight";
1547
1547
  }
1548
1548
  return M.split(/\s+/).find((k) => a(k) || R(k));
1549
1549
  }
1550
- function l(_, M, L) {
1551
- let k = "", H = "";
1552
- typeof M == "object" ? (k = _, L = M.ignoreIllegals, H = M.language) : (ue("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ue("10.7.0", `Please use highlight(code, options) instead.
1553
- https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L === void 0 && (L = !0);
1550
+ function l(_, M, O) {
1551
+ let k = "", x = "";
1552
+ typeof M == "object" ? (k = _, O = M.ignoreIllegals, x = M.language) : (ue("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ue("10.7.0", `Please use highlight(code, options) instead.
1553
+ https://github.com/highlightjs/highlight.js/issues/2277`), x = _, k = M), O === void 0 && (O = !0);
1554
1554
  const Y = {
1555
1555
  code: k,
1556
- language: H
1556
+ language: x
1557
1557
  };
1558
1558
  Q("before:highlight", Y);
1559
- const q = Y.result ? Y.result : c(Y.language, Y.code, L);
1559
+ const q = Y.result ? Y.result : c(Y.language, Y.code, O);
1560
1560
  return q.code = Y.code, Q("after:highlight", q), q;
1561
1561
  }
1562
- function c(_, M, L, k) {
1563
- const H = /* @__PURE__ */ Object.create(null);
1562
+ function c(_, M, O, k) {
1563
+ const x = /* @__PURE__ */ Object.create(null);
1564
1564
  function Y(y, T) {
1565
1565
  return y.keywords[T];
1566
1566
  }
1567
1567
  function q() {
1568
- if (!O.keywords) {
1569
- K.addText(x);
1568
+ if (!L.keywords) {
1569
+ W.addText(P);
1570
1570
  return;
1571
1571
  }
1572
1572
  let y = 0;
1573
- O.keywordPatternRe.lastIndex = 0;
1574
- let T = O.keywordPatternRe.exec(x), C = "";
1573
+ L.keywordPatternRe.lastIndex = 0;
1574
+ let T = L.keywordPatternRe.exec(P), C = "";
1575
1575
  for (; T; ) {
1576
- C += x.substring(y, T.index);
1577
- const B = se.case_insensitive ? T[0].toLowerCase() : T[0], Z = Y(O, B);
1576
+ C += P.substring(y, T.index);
1577
+ const B = se.case_insensitive ? T[0].toLowerCase() : T[0], Z = Y(L, B);
1578
1578
  if (Z) {
1579
1579
  const [ee, Bn] = Z;
1580
- if (K.addText(C), C = "", H[B] = (H[B] || 0) + 1, H[B] <= Ft && (Ae += Bn), ee.startsWith("_"))
1580
+ if (W.addText(C), C = "", x[B] = (x[B] || 0) + 1, x[B] <= Ft && (Ae += Bn), ee.startsWith("_"))
1581
1581
  C += T[0];
1582
1582
  else {
1583
1583
  const $n = se.classNameAliases[ee] || ee;
1584
- K.addKeyword(T[0], $n);
1584
+ W.addKeyword(T[0], $n);
1585
1585
  }
1586
1586
  } else
1587
1587
  C += T[0];
1588
- y = O.keywordPatternRe.lastIndex, T = O.keywordPatternRe.exec(x);
1588
+ y = L.keywordPatternRe.lastIndex, T = L.keywordPatternRe.exec(P);
1589
1589
  }
1590
- C += x.substring(y), K.addText(C);
1590
+ C += P.substring(y), W.addText(C);
1591
1591
  }
1592
1592
  function Ne() {
1593
- if (x === "")
1593
+ if (P === "")
1594
1594
  return;
1595
1595
  let y = null;
1596
- if (typeof O.subLanguage == "string") {
1597
- if (!r[O.subLanguage]) {
1598
- K.addText(x);
1596
+ if (typeof L.subLanguage == "string") {
1597
+ if (!r[L.subLanguage]) {
1598
+ W.addText(P);
1599
1599
  return;
1600
1600
  }
1601
- y = c(O.subLanguage, x, !0, Je[O.subLanguage]), Je[O.subLanguage] = /** @type {CompiledMode} */
1601
+ y = c(L.subLanguage, P, !0, qe[L.subLanguage]), qe[L.subLanguage] = /** @type {CompiledMode} */
1602
1602
  y._top;
1603
1603
  } else
1604
- y = g(x, O.subLanguage.length ? O.subLanguage : null);
1605
- O.relevance > 0 && (Ae += y.relevance), K.addSublanguage(y._emitter, y.language);
1604
+ y = g(P, L.subLanguage.length ? L.subLanguage : null);
1605
+ L.relevance > 0 && (Ae += y.relevance), W.addSublanguage(y._emitter, y.language);
1606
1606
  }
1607
- function X() {
1608
- O.subLanguage != null ? Ne() : q(), x = "";
1607
+ function j() {
1608
+ L.subLanguage != null ? Ne() : q(), P = "";
1609
1609
  }
1610
1610
  function ie(y, T) {
1611
1611
  let C = 1;
@@ -1616,17 +1616,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1616
1616
  continue;
1617
1617
  }
1618
1618
  const Z = se.classNameAliases[y[C]] || y[C], ee = T[C];
1619
- Z ? K.addKeyword(ee, Z) : (x = ee, q(), x = ""), C++;
1619
+ Z ? W.addKeyword(ee, Z) : (P = ee, q(), P = ""), C++;
1620
1620
  }
1621
1621
  }
1622
- function Xe(y, T) {
1623
- return y.scope && typeof y.scope == "string" && K.openNode(se.classNameAliases[y.scope] || y.scope), y.beginScope && (y.beginScope._wrap ? (K.addKeyword(x, se.classNameAliases[y.beginScope._wrap] || y.beginScope._wrap), x = "") : y.beginScope._multi && (ie(y.beginScope, T), x = "")), O = Object.create(y, { parent: { value: O } }), O;
1622
+ function je(y, T) {
1623
+ return y.scope && typeof y.scope == "string" && W.openNode(se.classNameAliases[y.scope] || y.scope), y.beginScope && (y.beginScope._wrap ? (W.addKeyword(P, se.classNameAliases[y.beginScope._wrap] || y.beginScope._wrap), P = "") : y.beginScope._multi && (ie(y.beginScope, T), P = "")), L = Object.create(y, { parent: { value: L } }), L;
1624
1624
  }
1625
- function je(y, T, C) {
1625
+ function Ve(y, T, C) {
1626
1626
  let B = rt(y.endRe, C);
1627
1627
  if (B) {
1628
1628
  if (y["on:end"]) {
1629
- const Z = new nn(y);
1629
+ const Z = new tn(y);
1630
1630
  y["on:end"](T, Z), Z.isMatchIgnored && (B = !1);
1631
1631
  }
1632
1632
  if (B) {
@@ -1636,93 +1636,93 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1636
1636
  }
1637
1637
  }
1638
1638
  if (y.endsWithParent)
1639
- return je(y.parent, T, C);
1640
- }
1641
- function On(y) {
1642
- return O.matcher.regexIndex === 0 ? (x += y[0], 1) : ($e = !0, 0);
1639
+ return Ve(y.parent, T, C);
1643
1640
  }
1644
1641
  function Ln(y) {
1645
- const T = y[0], C = y.rule, B = new nn(C), Z = [C.__beforeBegin, C["on:begin"]];
1642
+ return L.matcher.regexIndex === 0 ? (P += y[0], 1) : (Ue = !0, 0);
1643
+ }
1644
+ function On(y) {
1645
+ const T = y[0], C = y.rule, B = new tn(C), Z = [C.__beforeBegin, C["on:begin"]];
1646
1646
  for (const ee of Z)
1647
1647
  if (ee && (ee(y, B), B.isMatchIgnored))
1648
- return On(T);
1649
- return C.skip ? x += T : (C.excludeBegin && (x += T), X(), !C.returnBegin && !C.excludeBegin && (x = T)), Xe(C, y), C.returnBegin ? 0 : T.length;
1648
+ return Ln(T);
1649
+ return C.skip ? P += T : (C.excludeBegin && (P += T), j(), !C.returnBegin && !C.excludeBegin && (P = T)), je(C, y), C.returnBegin ? 0 : T.length;
1650
1650
  }
1651
1651
  function Cn(y) {
1652
- const T = y[0], C = M.substring(y.index), B = je(O, y, C);
1652
+ const T = y[0], C = M.substring(y.index), B = Ve(L, y, C);
1653
1653
  if (!B)
1654
- return ln;
1655
- const Z = O;
1656
- O.endScope && O.endScope._wrap ? (X(), K.addKeyword(T, O.endScope._wrap)) : O.endScope && O.endScope._multi ? (X(), ie(O.endScope, y)) : Z.skip ? x += T : (Z.returnEnd || Z.excludeEnd || (x += T), X(), Z.excludeEnd && (x = T));
1654
+ return cn;
1655
+ const Z = L;
1656
+ L.endScope && L.endScope._wrap ? (j(), W.addKeyword(T, L.endScope._wrap)) : L.endScope && L.endScope._multi ? (j(), ie(L.endScope, y)) : Z.skip ? P += T : (Z.returnEnd || Z.excludeEnd || (P += T), j(), Z.excludeEnd && (P = T));
1657
1657
  do
1658
- O.scope && K.closeNode(), !O.skip && !O.subLanguage && (Ae += O.relevance), O = O.parent;
1659
- while (O !== B.parent);
1660
- return B.starts && Xe(B.starts, y), Z.returnEnd ? 0 : T.length;
1658
+ L.scope && W.closeNode(), !L.skip && !L.subLanguage && (Ae += L.relevance), L = L.parent;
1659
+ while (L !== B.parent);
1660
+ return B.starts && je(B.starts, y), Z.returnEnd ? 0 : T.length;
1661
1661
  }
1662
1662
  function In() {
1663
1663
  const y = [];
1664
- for (let T = O; T !== se; T = T.parent)
1664
+ for (let T = L; T !== se; T = T.parent)
1665
1665
  T.scope && y.unshift(T.scope);
1666
- y.forEach((T) => K.openNode(T));
1666
+ y.forEach((T) => W.openNode(T));
1667
1667
  }
1668
1668
  let Me = {};
1669
- function Ve(y, T) {
1669
+ function Je(y, T) {
1670
1670
  const C = T && T[0];
1671
- if (x += y, C == null)
1672
- return X(), 0;
1671
+ if (P += y, C == null)
1672
+ return j(), 0;
1673
1673
  if (Me.type === "begin" && T.type === "end" && Me.index === T.index && C === "") {
1674
- if (x += M.slice(T.index, T.index + 1), !h) {
1674
+ if (P += M.slice(T.index, T.index + 1), !h) {
1675
1675
  const B = new Error(`0 width match regex (${_})`);
1676
1676
  throw B.languageName = _, B.badRule = Me.rule, B;
1677
1677
  }
1678
1678
  return 1;
1679
1679
  }
1680
1680
  if (Me = T, T.type === "begin")
1681
- return Ln(T);
1682
- if (T.type === "illegal" && !L) {
1683
- const B = new Error('Illegal lexeme "' + C + '" for mode "' + (O.scope || "<unnamed>") + '"');
1684
- throw B.mode = O, B;
1681
+ return On(T);
1682
+ if (T.type === "illegal" && !O) {
1683
+ const B = new Error('Illegal lexeme "' + C + '" for mode "' + (L.scope || "<unnamed>") + '"');
1684
+ throw B.mode = L, B;
1685
1685
  } else if (T.type === "end") {
1686
1686
  const B = Cn(T);
1687
- if (B !== ln)
1687
+ if (B !== cn)
1688
1688
  return B;
1689
1689
  }
1690
1690
  if (T.type === "illegal" && C === "")
1691
1691
  return 1;
1692
- if (Be > 1e5 && Be > T.index * 3)
1692
+ if ($e > 1e5 && $e > T.index * 3)
1693
1693
  throw new Error("potential infinite loop, way more iterations than matches");
1694
- return x += C, C.length;
1694
+ return P += C, C.length;
1695
1695
  }
1696
1696
  const se = R(_);
1697
1697
  if (!se)
1698
1698
  throw le(n.replace("{}", _)), new Error('Unknown language: "' + _ + '"');
1699
1699
  const kn = Ut(se);
1700
- let ke = "", O = k || kn;
1701
- const Je = {}, K = new i.__emitter(i);
1700
+ let Be = "", L = k || kn;
1701
+ const qe = {}, W = new i.__emitter(i);
1702
1702
  In();
1703
- let x = "", Ae = 0, oe = 0, Be = 0, $e = !1;
1703
+ let P = "", Ae = 0, oe = 0, $e = 0, Ue = !1;
1704
1704
  try {
1705
- for (O.matcher.considerAll(); ; ) {
1706
- Be++, $e ? $e = !1 : O.matcher.considerAll(), O.matcher.lastIndex = oe;
1707
- const y = O.matcher.exec(M);
1705
+ for (L.matcher.considerAll(); ; ) {
1706
+ $e++, Ue ? Ue = !1 : L.matcher.considerAll(), L.matcher.lastIndex = oe;
1707
+ const y = L.matcher.exec(M);
1708
1708
  if (!y)
1709
1709
  break;
1710
- const T = M.substring(oe, y.index), C = Ve(T, y);
1710
+ const T = M.substring(oe, y.index), C = Je(T, y);
1711
1711
  oe = y.index + C;
1712
1712
  }
1713
- return Ve(M.substring(oe)), K.closeAllNodes(), K.finalize(), ke = K.toHTML(), {
1713
+ return Je(M.substring(oe)), W.closeAllNodes(), W.finalize(), Be = W.toHTML(), {
1714
1714
  language: _,
1715
- value: ke,
1715
+ value: Be,
1716
1716
  relevance: Ae,
1717
1717
  illegal: !1,
1718
- _emitter: K,
1719
- _top: O
1718
+ _emitter: W,
1719
+ _top: L
1720
1720
  };
1721
1721
  } catch (y) {
1722
1722
  if (y.message && y.message.includes("Illegal"))
1723
1723
  return {
1724
1724
  language: _,
1725
- value: Pe(M),
1725
+ value: xe(M),
1726
1726
  illegal: !0,
1727
1727
  relevance: 0,
1728
1728
  _illegalBy: {
@@ -1730,26 +1730,26 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1730
1730
  index: oe,
1731
1731
  context: M.slice(oe - 100, oe + 100),
1732
1732
  mode: y.mode,
1733
- resultSoFar: ke
1733
+ resultSoFar: Be
1734
1734
  },
1735
- _emitter: K
1735
+ _emitter: W
1736
1736
  };
1737
1737
  if (h)
1738
1738
  return {
1739
1739
  language: _,
1740
- value: Pe(M),
1740
+ value: xe(M),
1741
1741
  illegal: !1,
1742
1742
  relevance: 0,
1743
1743
  errorRaised: y,
1744
- _emitter: K,
1745
- _top: O
1744
+ _emitter: W,
1745
+ _top: L
1746
1746
  };
1747
1747
  throw y;
1748
1748
  }
1749
1749
  }
1750
1750
  function f(_) {
1751
1751
  const M = {
1752
- value: Pe(_),
1752
+ value: xe(_),
1753
1753
  illegal: !1,
1754
1754
  relevance: 0,
1755
1755
  _top: t,
@@ -1759,54 +1759,54 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1759
1759
  }
1760
1760
  function g(_, M) {
1761
1761
  M = M || i.languages || Object.keys(r);
1762
- const L = f(_), k = M.filter(R).filter(U).map(
1763
- (X) => c(X, _, !1)
1762
+ const O = f(_), k = M.filter(R).filter(U).map(
1763
+ (j) => c(j, _, !1)
1764
1764
  );
1765
- k.unshift(L);
1766
- const H = k.sort((X, ie) => {
1767
- if (X.relevance !== ie.relevance)
1768
- return ie.relevance - X.relevance;
1769
- if (X.language && ie.language) {
1770
- if (R(X.language).supersetOf === ie.language)
1765
+ k.unshift(O);
1766
+ const x = k.sort((j, ie) => {
1767
+ if (j.relevance !== ie.relevance)
1768
+ return ie.relevance - j.relevance;
1769
+ if (j.language && ie.language) {
1770
+ if (R(j.language).supersetOf === ie.language)
1771
1771
  return 1;
1772
- if (R(ie.language).supersetOf === X.language)
1772
+ if (R(ie.language).supersetOf === j.language)
1773
1773
  return -1;
1774
1774
  }
1775
1775
  return 0;
1776
- }), [Y, q] = H, Ne = Y;
1776
+ }), [Y, q] = x, Ne = Y;
1777
1777
  return Ne.secondBest = q, Ne;
1778
1778
  }
1779
- function d(_, M, L) {
1780
- const k = M && o[M] || L;
1779
+ function d(_, M, O) {
1780
+ const k = M && o[M] || O;
1781
1781
  _.classList.add("hljs"), _.classList.add(`language-${k}`);
1782
1782
  }
1783
1783
  function p(_) {
1784
1784
  let M = null;
1785
- const L = s(_);
1786
- if (a(L))
1785
+ const O = s(_);
1786
+ if (a(O))
1787
1787
  return;
1788
1788
  if (Q(
1789
1789
  "before:highlightElement",
1790
- { el: _, language: L }
1790
+ { el: _, language: O }
1791
1791
  ), _.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(_)), i.throwUnescapedHTML))
1792
1792
  throw new Ht(
1793
1793
  "One of your code blocks includes unescaped HTML.",
1794
1794
  _.innerHTML
1795
1795
  );
1796
1796
  M = _;
1797
- const k = M.textContent, H = L ? l(k, { language: L, ignoreIllegals: !0 }) : g(k);
1798
- _.innerHTML = H.value, d(_, L, H.language), _.result = {
1799
- language: H.language,
1797
+ const k = M.textContent, x = O ? l(k, { language: O, ignoreIllegals: !0 }) : g(k);
1798
+ _.innerHTML = x.value, d(_, O, x.language), _.result = {
1799
+ language: x.language,
1800
1800
  // TODO: remove with version 11.0
1801
- re: H.relevance,
1802
- relevance: H.relevance
1803
- }, H.secondBest && (_.secondBest = {
1804
- language: H.secondBest.language,
1805
- relevance: H.secondBest.relevance
1806
- }), Q("after:highlightElement", { el: _, result: H, text: k });
1801
+ re: x.relevance,
1802
+ relevance: x.relevance
1803
+ }, x.secondBest && (_.secondBest = {
1804
+ language: x.secondBest.language,
1805
+ relevance: x.secondBest.relevance
1806
+ }), Q("after:highlightElement", { el: _, result: x, text: k });
1807
1807
  }
1808
1808
  function b(_) {
1809
- i = on(i, _);
1809
+ i = ln(i, _);
1810
1810
  }
1811
1811
  const E = () => {
1812
1812
  m(), ue("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
@@ -1822,22 +1822,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1822
1822
  }
1823
1823
  document.querySelectorAll(i.cssSelector).forEach(p);
1824
1824
  }
1825
- function D() {
1825
+ function S() {
1826
1826
  w && m();
1827
1827
  }
1828
- typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", D, !1);
1829
- function S(_, M) {
1830
- let L = null;
1828
+ typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", S, !1);
1829
+ function D(_, M) {
1830
+ let O = null;
1831
1831
  try {
1832
- L = M(e);
1832
+ O = M(e);
1833
1833
  } catch (k) {
1834
1834
  if (le("Language definition for '{}' could not be registered.".replace("{}", _)), h)
1835
1835
  le(k);
1836
1836
  else
1837
1837
  throw k;
1838
- L = t;
1838
+ O = t;
1839
1839
  }
1840
- L.name || (L.name = _), r[_] = L, L.rawDefinition = M.bind(null, e), L.aliases && F(L.aliases, { languageName: _ });
1840
+ O.name || (O.name = _), r[_] = O, O.rawDefinition = M.bind(null, e), O.aliases && F(O.aliases, { languageName: _ });
1841
1841
  }
1842
1842
  function A(_) {
1843
1843
  delete r[_];
@@ -1851,8 +1851,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1851
1851
  return _ = (_ || "").toLowerCase(), r[_] || r[o[_]];
1852
1852
  }
1853
1853
  function F(_, { languageName: M }) {
1854
- typeof _ == "string" && (_ = [_]), _.forEach((L) => {
1855
- o[L.toLowerCase()] = M;
1854
+ typeof _ == "string" && (_ = [_]), _.forEach((O) => {
1855
+ o[O.toLowerCase()] = M;
1856
1856
  });
1857
1857
  }
1858
1858
  function U(_) {
@@ -1874,9 +1874,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1874
1874
  $(_), u.push(_);
1875
1875
  }
1876
1876
  function Q(_, M) {
1877
- const L = _;
1877
+ const O = _;
1878
1878
  u.forEach(function(k) {
1879
- k[L] && k[L](M);
1879
+ k[O] && k[O](M);
1880
1880
  });
1881
1881
  }
1882
1882
  function we(_) {
@@ -1892,13 +1892,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1892
1892
  configure: b,
1893
1893
  initHighlighting: E,
1894
1894
  initHighlightingOnLoad: v,
1895
- registerLanguage: S,
1895
+ registerLanguage: D,
1896
1896
  unregisterLanguage: A,
1897
1897
  listLanguages: I,
1898
1898
  getLanguage: R,
1899
1899
  registerAliases: F,
1900
1900
  autoDetection: U,
1901
- inherit: on,
1901
+ inherit: ln,
1902
1902
  addPlugin: G
1903
1903
  }), e.debugMode = function() {
1904
1904
  h = !1;
@@ -1907,12 +1907,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = _, k = M), L ===
1907
1907
  }, e.versionString = xt, e.regex = {
1908
1908
  concat: ce,
1909
1909
  lookahead: pn,
1910
- either: Qe,
1910
+ either: Ze,
1911
1911
  optional: nt,
1912
1912
  anyNumberOfTimes: et
1913
1913
  };
1914
1914
  for (const _ in Te)
1915
- typeof Te[_] == "object" && Ge.exports(Te[_]);
1915
+ typeof Te[_] == "object" && Ke.exports(Te[_]);
1916
1916
  return Object.assign(e, Te), e;
1917
1917
  };
1918
1918
  var me = zt({}), Gt = me;
@@ -2135,7 +2135,7 @@ function Kt(e) {
2135
2135
  ]
2136
2136
  };
2137
2137
  }
2138
- const cn = "[A-Za-z$_][0-9A-Za-z$_]*", Wt = [
2138
+ const un = "[A-Za-z$_][0-9A-Za-z$_]*", Wt = [
2139
2139
  "as",
2140
2140
  // for exports
2141
2141
  "in",
@@ -2279,10 +2279,10 @@ const cn = "[A-Za-z$_][0-9A-Za-z$_]*", Wt = [
2279
2279
  An
2280
2280
  );
2281
2281
  function Xt(e) {
2282
- const r = e.regex, o = (M, { after: L }) => {
2282
+ const r = e.regex, o = (M, { after: O }) => {
2283
2283
  const k = "</" + M[0].slice(1);
2284
- return M.input.indexOf(k, L) !== -1;
2285
- }, u = cn, h = {
2284
+ return M.input.indexOf(k, O) !== -1;
2285
+ }, u = un, h = {
2286
2286
  begin: "<>",
2287
2287
  end: "</>"
2288
2288
  }, n = /<[A-Za-z0-9\\._:-]+\s*\/>/, t = {
@@ -2292,33 +2292,33 @@ function Xt(e) {
2292
2292
  * @param {RegExpMatchArray} match
2293
2293
  * @param {CallbackResponse} response
2294
2294
  */
2295
- isTrulyOpeningTag: (M, L) => {
2296
- const k = M[0].length + M.index, H = M.input[k];
2295
+ isTrulyOpeningTag: (M, O) => {
2296
+ const k = M[0].length + M.index, x = M.input[k];
2297
2297
  if (
2298
2298
  // HTML should not include another raw `<` inside a tag
2299
2299
  // nested type?
2300
2300
  // `<Array<Array<number>>`, etc.
2301
- H === "<" || // the , gives away that this is not HTML
2301
+ x === "<" || // the , gives away that this is not HTML
2302
2302
  // `<T, A extends keyof T, V>`
2303
- H === ","
2303
+ x === ","
2304
2304
  ) {
2305
- L.ignoreMatch();
2305
+ O.ignoreMatch();
2306
2306
  return;
2307
2307
  }
2308
- H === ">" && (o(M, { after: k }) || L.ignoreMatch());
2308
+ x === ">" && (o(M, { after: k }) || O.ignoreMatch());
2309
2309
  let Y;
2310
2310
  const q = M.input.substring(k);
2311
2311
  if (Y = q.match(/^\s*=/)) {
2312
- L.ignoreMatch();
2312
+ O.ignoreMatch();
2313
2313
  return;
2314
2314
  }
2315
2315
  if ((Y = q.match(/^\s+extends\s+/)) && Y.index === 0) {
2316
- L.ignoreMatch();
2316
+ O.ignoreMatch();
2317
2317
  return;
2318
2318
  }
2319
2319
  }
2320
2320
  }, i = {
2321
- $pattern: cn,
2321
+ $pattern: un,
2322
2322
  keyword: Wt,
2323
2323
  literal: Qt,
2324
2324
  built_in: Yt,
@@ -2455,7 +2455,7 @@ function Xt(e) {
2455
2455
  keywords: i,
2456
2456
  contains: ["self"].concat(w)
2457
2457
  }
2458
- ]), D = {
2458
+ ]), S = {
2459
2459
  className: "params",
2460
2460
  begin: /\(/,
2461
2461
  end: /\)/,
@@ -2463,7 +2463,7 @@ function Xt(e) {
2463
2463
  excludeEnd: !0,
2464
2464
  keywords: i,
2465
2465
  contains: m
2466
- }, S = {
2466
+ }, D = {
2467
2467
  variants: [
2468
2468
  // class Car extends vehicle
2469
2469
  {
@@ -2548,7 +2548,7 @@ function Xt(e) {
2548
2548
  3: "title.function"
2549
2549
  },
2550
2550
  label: "func.def",
2551
- contains: [D],
2551
+ contains: [S],
2552
2552
  illegal: /%/
2553
2553
  }, F = {
2554
2554
  relevance: 0,
@@ -2596,7 +2596,7 @@ function Xt(e) {
2596
2596
  // eat to avoid empty params
2597
2597
  begin: /\(\)/
2598
2598
  },
2599
- D
2599
+ S
2600
2600
  ]
2601
2601
  }, we = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + e.UNDERSCORE_IDENT_RE + ")\\s*=>", _ = {
2602
2602
  match: [
@@ -2615,7 +2615,7 @@ function Xt(e) {
2615
2615
  3: "title.function"
2616
2616
  },
2617
2617
  contains: [
2618
- D
2618
+ S
2619
2619
  ]
2620
2620
  };
2621
2621
  return {
@@ -2738,7 +2738,7 @@ function Xt(e) {
2738
2738
  returnBegin: !0,
2739
2739
  label: "func.def",
2740
2740
  contains: [
2741
- D,
2741
+ S,
2742
2742
  e.inherit(e.TITLE_MODE, { begin: u, className: "title.function" })
2743
2743
  ]
2744
2744
  },
@@ -2758,11 +2758,11 @@ function Xt(e) {
2758
2758
  {
2759
2759
  match: [/\bconstructor(?=\s*\()/],
2760
2760
  className: { 1: "title.function" },
2761
- contains: [D]
2761
+ contains: [S]
2762
2762
  },
2763
2763
  $,
2764
2764
  F,
2765
- S,
2765
+ D,
2766
2766
  Q,
2767
2767
  {
2768
2768
  match: /\$[(.]/
@@ -3373,22 +3373,22 @@ function qt(e) {
3373
3373
  ]
3374
3374
  };
3375
3375
  }
3376
- var fe = "[0-9](_*[0-9])*", De = `\\.(${fe})`, Se = "[0-9a-fA-F](_*[0-9a-fA-F])*", un = {
3376
+ var fe = "[0-9](_*[0-9])*", Se = `\\.(${fe})`, De = "[0-9a-fA-F](_*[0-9a-fA-F])*", fn = {
3377
3377
  className: "number",
3378
3378
  variants: [
3379
3379
  // DecimalFloatingPointLiteral
3380
3380
  // including ExponentPart
3381
- { begin: `(\\b(${fe})((${De})|\\.)?|(${De}))[eE][+-]?(${fe})[fFdD]?\\b` },
3381
+ { begin: `(\\b(${fe})((${Se})|\\.)?|(${Se}))[eE][+-]?(${fe})[fFdD]?\\b` },
3382
3382
  // excluding ExponentPart
3383
- { begin: `\\b(${fe})((${De})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3384
- { begin: `(${De})[fFdD]?\\b` },
3383
+ { begin: `\\b(${fe})((${Se})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3384
+ { begin: `(${Se})[fFdD]?\\b` },
3385
3385
  { begin: `\\b(${fe})[fFdD]\\b` },
3386
3386
  // HexadecimalFloatingPointLiteral
3387
- { begin: `\\b0[xX]((${Se})\\.?|(${Se})?\\.(${Se}))[pP][+-]?(${fe})[fFdD]?\\b` },
3387
+ { begin: `\\b0[xX]((${De})\\.?|(${De})?\\.(${De}))[pP][+-]?(${fe})[fFdD]?\\b` },
3388
3388
  // DecimalIntegerLiteral
3389
3389
  { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
3390
3390
  // HexIntegerLiteral
3391
- { begin: `\\b0[xX](${Se})[lL]?\\b` },
3391
+ { begin: `\\b0[xX](${De})[lL]?\\b` },
3392
3392
  // OctalIntegerLiteral
3393
3393
  { begin: "\\b0(_*[0-7])*[lL]?\\b" },
3394
3394
  // BinaryIntegerLiteral
@@ -3396,11 +3396,11 @@ var fe = "[0-9](_*[0-9])*", De = `\\.(${fe})`, Se = "[0-9a-fA-F](_*[0-9a-fA-F])*
3396
3396
  ],
3397
3397
  relevance: 0
3398
3398
  };
3399
- function Dn(e, r, o) {
3400
- return o === -1 ? "" : e.replace(r, (u) => Dn(e, r, o - 1));
3399
+ function Sn(e, r, o) {
3400
+ return o === -1 ? "" : e.replace(r, (u) => Sn(e, r, o - 1));
3401
3401
  }
3402
3402
  function er(e) {
3403
- const r = e.regex, o = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = o + Dn("(?:<" + o + "~~~(?:\\s*,\\s*" + o + "~~~)*>)?", /~~~/g, 2), a = {
3403
+ const r = e.regex, o = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = o + Sn("(?:<" + o + "~~~(?:\\s*,\\s*" + o + "~~~)*>)?", /~~~/g, 2), a = {
3404
3404
  keyword: [
3405
3405
  "synchronized",
3406
3406
  "abstract",
@@ -3595,7 +3595,7 @@ function er(e) {
3595
3595
  s,
3596
3596
  e.APOS_STRING_MODE,
3597
3597
  e.QUOTE_STRING_MODE,
3598
- un,
3598
+ fn,
3599
3599
  e.C_BLOCK_COMMENT_MODE
3600
3600
  ]
3601
3601
  },
@@ -3603,7 +3603,7 @@ function er(e) {
3603
3603
  e.C_BLOCK_COMMENT_MODE
3604
3604
  ]
3605
3605
  },
3606
- un,
3606
+ fn,
3607
3607
  s
3608
3608
  ]
3609
3609
  };
@@ -4527,10 +4527,10 @@ function tr(e) {
4527
4527
  };
4528
4528
  function v(w, {
4529
4529
  exceptions: m,
4530
- when: D
4530
+ when: S
4531
4531
  } = {}) {
4532
- const S = D;
4533
- return m = m || [], w.map((A) => A.match(/\|\d+$/) || m.includes(A) ? A : S(A) ? `${A}|0` : A);
4532
+ const D = S;
4533
+ return m = m || [], w.map((A) => A.match(/\|\d+$/) || m.includes(A) ? A : D(A) ? `${A}|0` : A);
4534
4534
  }
4535
4535
  return {
4536
4536
  name: "SQL",
@@ -4584,21 +4584,21 @@ const ne = "<code-diff-modified>", te = "</code-diff-modified>", rr = ne.replace
4584
4584
  function de(e) {
4585
4585
  return e === void 0 ? N.EQUAL : e.added ? N.ADD : e.removed ? N.DELETE : N.EQUAL;
4586
4586
  }
4587
- function Ce(e, r, o = "word") {
4587
+ function Ie(e, r, o = "word") {
4588
4588
  return typeof e == "undefined" ? r : typeof r == "undefined" ? e : (o === "char" ? Gn : Wn)(e, r).filter((h) => de(h) !== N.DELETE).map(
4589
4589
  (h) => de(h) === N.ADD ? `${ne}${h.value}${te}` : h.value
4590
4590
  ).join("");
4591
4591
  }
4592
- function Sn(e, r) {
4593
- const o = new Ue.diff_match_patch(), u = o.diff_linesToChars_(e, r), h = u.chars1, n = u.chars2, t = u.lineArray, i = o.diff_main(h, n, !1);
4592
+ function Dn(e, r) {
4593
+ const o = new Pe.diff_match_patch(), u = o.diff_linesToChars_(e, r), h = u.chars1, n = u.chars2, t = u.lineArray, i = o.diff_main(h, n, !1);
4594
4594
  return o.diff_charsToLines_(i, t), i.map((a) => {
4595
4595
  const [s, l] = a;
4596
4596
  return {
4597
- count: l.trim().split(`
4597
+ count: l.replace(/\n$/, "").split(`
4598
4598
  `).length,
4599
4599
  value: l,
4600
- removed: s === Ue.DIFF_DELETE,
4601
- added: s === Ue.DIFF_INSERT
4600
+ removed: s === Pe.DIFF_DELETE,
4601
+ added: s === Pe.DIFF_INSERT
4602
4602
  };
4603
4603
  });
4604
4604
  }
@@ -4643,7 +4643,7 @@ function Rn(e) {
4643
4643
  return { additionsNum: o, deletionsNum: u };
4644
4644
  }
4645
4645
  function sr(e, r, o = "plaintext", u = "word", h = 10) {
4646
- const n = () => ({ type: N.EMPTY }), t = (p, b, E) => ({ type: p, num: b, code: E }), i = Sn(e, r);
4646
+ const n = () => ({ type: N.EMPTY }), t = (p, b, E) => ({ type: p, num: b, code: E }), i = Dn(e, r);
4647
4647
  let a = 0, s = 0, l = !1;
4648
4648
  const c = [], f = {
4649
4649
  changes: c,
@@ -4658,46 +4658,46 @@ function sr(e, r, o = "plaintext", u = "word", h = 10) {
4658
4658
  const [b, E] = [i[p], i[p + 1]], [v, w] = [de(b), de(E)], m = b.value.replace(/\n$/, "").split(`
4659
4659
  `);
4660
4660
  if (E === void 0) {
4661
- for (const S of m) {
4661
+ for (const D of m) {
4662
4662
  let A = n(), I = n();
4663
- const R = V(o, S);
4663
+ const R = V(o, D);
4664
4664
  v === N.EQUAL && (a++, s++, A = t(N.EQUAL, a, R), I = t(N.EQUAL, s, R)), v === N.DELETE && (a++, A = t(N.DELETE, a, R), I = n()), v === N.ADD && (s++, A = n(), I = t(N.ADD, s, R)), c.push({ left: A, right: I });
4665
4665
  }
4666
4666
  break;
4667
4667
  }
4668
4668
  if (v === N.EQUAL)
4669
- for (const S of m) {
4669
+ for (const D of m) {
4670
4670
  a++, s++;
4671
- const A = V(o, S);
4671
+ const A = V(o, D);
4672
4672
  c.push({
4673
4673
  left: t(N.EQUAL, a, A),
4674
4674
  right: t(N.EQUAL, s, A)
4675
4675
  });
4676
4676
  }
4677
- const D = E.value.replace(/\n$/, "").split(`
4677
+ const S = E.value.replace(/\n$/, "").split(`
4678
4678
  `);
4679
4679
  if (v === N.DELETE) {
4680
4680
  if (w === N.EQUAL)
4681
- for (const S of m)
4681
+ for (const D of m)
4682
4682
  a++, c.push({
4683
- left: t(N.DELETE, a, V(o, S)),
4683
+ left: t(N.DELETE, a, V(o, D)),
4684
4684
  right: n()
4685
4685
  });
4686
4686
  if (w === N.ADD) {
4687
4687
  l = !0;
4688
- const S = Math.max(b.count, E.count);
4689
- for (let A = 0; A < S; A++) {
4688
+ const D = Math.max(b.count, E.count);
4689
+ for (let A = 0; A < D; A++) {
4690
4690
  A < b.count && a++, A < E.count && s++;
4691
- const [I, R] = [m[A], D[A]], F = m.length === D.length ? Ce(R, I, u) : I, U = m.length === D.length ? Ce(I, R, u) : R, $ = A < b.count ? t(N.DELETE, a, V(o, F)) : n(), G = A < E.count ? t(N.ADD, s, V(o, U)) : n();
4691
+ const [I, R] = [m[A], S[A]], F = m.length === S.length ? Ie(R, I, u) : I, U = m.length === S.length ? Ie(I, R, u) : R, $ = A < b.count ? t(N.DELETE, a, V(o, F)) : n(), G = A < E.count ? t(N.ADD, s, V(o, U)) : n();
4692
4692
  c.push({ left: $, right: G });
4693
4693
  }
4694
4694
  }
4695
4695
  }
4696
4696
  if (v === N.ADD)
4697
- for (const S of m)
4697
+ for (const D of m)
4698
4698
  s++, c.push({
4699
4699
  left: n(),
4700
- right: t(N.ADD, s, V(o, S))
4700
+ right: t(N.ADD, s, V(o, D))
4701
4701
  });
4702
4702
  }
4703
4703
  if (e === r) {
@@ -4733,7 +4733,7 @@ function sr(e, r, o = "plaintext", u = "word", h = 10) {
4733
4733
  }), d = []), f.changes = g, f;
4734
4734
  }
4735
4735
  function ar(e, r, o = "plaintext", u = "word", h = 10) {
4736
- const n = Sn(e, r);
4736
+ const n = Dn(e, r);
4737
4737
  let t = 0, i = 0, a = !1;
4738
4738
  const s = [], l = {
4739
4739
  changes: s,
@@ -4750,10 +4750,10 @@ function ar(e, r, o = "plaintext", u = "word", h = 10) {
4750
4750
  if (p === void 0) {
4751
4751
  for (const m of v) {
4752
4752
  b === N.EQUAL && (t++, i++), b === N.DELETE && t++, b === N.ADD && i++;
4753
- const D = V(o, m);
4753
+ const S = V(o, m);
4754
4754
  s.push({
4755
4755
  type: b,
4756
- code: D,
4756
+ code: S,
4757
4757
  addNum: b === N.DELETE ? void 0 : i,
4758
4758
  delNum: b === N.ADD ? void 0 : t
4759
4759
  });
@@ -4763,37 +4763,37 @@ function ar(e, r, o = "plaintext", u = "word", h = 10) {
4763
4763
  if (b === N.EQUAL)
4764
4764
  for (const m of v) {
4765
4765
  t++, i++;
4766
- const D = V(o, m);
4767
- s.push({ type: N.EQUAL, code: D, delNum: t, addNum: i });
4766
+ const S = V(o, m);
4767
+ s.push({ type: N.EQUAL, code: S, delNum: t, addNum: i });
4768
4768
  }
4769
4769
  const w = p.value.replace(/\n$/, "").split(`
4770
4770
  `);
4771
4771
  if (b === N.DELETE)
4772
4772
  if (E === N.ADD && v.length === w.length) {
4773
4773
  for (let m = 0; m < v.length; m++) {
4774
- const D = v[m], S = w[m];
4774
+ const S = v[m], D = w[m];
4775
4775
  t++;
4776
- const A = V(o, Ce(S, D, u));
4776
+ const A = V(o, Ie(D, S, u));
4777
4777
  s.push({ type: N.DELETE, code: A, delNum: t });
4778
4778
  }
4779
4779
  for (let m = 0; m < w.length; m++) {
4780
- const D = v[m], S = w[m];
4780
+ const S = v[m], D = w[m];
4781
4781
  i++;
4782
- const A = V(o, Ce(D, S, u));
4782
+ const A = V(o, Ie(S, D, u));
4783
4783
  s.push({ type: N.ADD, code: A, addNum: i });
4784
4784
  }
4785
4785
  a = !0;
4786
4786
  } else
4787
4787
  for (const m of v) {
4788
4788
  t++;
4789
- const D = V(o, m);
4790
- s.push({ type: N.DELETE, code: D, delNum: t });
4789
+ const S = V(o, m);
4790
+ s.push({ type: N.DELETE, code: S, delNum: t });
4791
4791
  }
4792
4792
  if (b === N.ADD)
4793
4793
  for (const m of v) {
4794
4794
  i++;
4795
- const D = V(o, m);
4796
- s.push({ type: N.ADD, code: D, addNum: i });
4795
+ const S = V(o, m);
4796
+ s.push({ type: N.ADD, code: S, addNum: i });
4797
4797
  }
4798
4798
  }
4799
4799
  for (let g = 0; g < s.length; g++) {
@@ -4828,7 +4828,7 @@ function ar(e, r, o = "plaintext", u = "word", h = 10) {
4828
4828
  fold: !0
4829
4829
  }), f = []), l.changes = c, l;
4830
4830
  }
4831
- const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4831
+ const or = { key: 0 }, lr = /* @__PURE__ */ H("td", {
4832
4832
  class: "blob-code blob-code-hunk",
4833
4833
  align: "left"
4834
4834
  }, " ⋯ ", -1), cr = { key: 1 }, ur = ["data-code-marker", "innerHTML"], fr = /* @__PURE__ */ ye({
@@ -4841,15 +4841,15 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4841
4841
  function o(u) {
4842
4842
  return u === N.DELETE ? "-" : u === N.ADD ? "+" : "";
4843
4843
  }
4844
- return (u, h) => e.line.hideIndex !== void 0 && e.line.hide ? (W(), j("tr", or, [
4845
- P("td", {
4844
+ return (u, h) => e.line.hideIndex !== void 0 && e.line.hide ? (K(), X("tr", or, [
4845
+ H("td", {
4846
4846
  class: "blob-num blob-num-hunk text-center",
4847
4847
  colspan: "2",
4848
4848
  onClick: h[0] || (h[0] = (n) => r("expand", e.line))
4849
4849
  }, " > "),
4850
4850
  lr
4851
- ])) : e.line.hide ? fn("", !0) : (W(), j("tr", cr, [
4852
- P("td", {
4851
+ ])) : e.line.hide ? Le("", !0) : (K(), X("tr", cr, [
4852
+ H("td", {
4853
4853
  class: be(["blob-num", {
4854
4854
  "blob-num-deletion": e.line.type === z(N).DELETE,
4855
4855
  "blob-num-addition": e.line.type === z(N).ADD,
@@ -4857,7 +4857,7 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4857
4857
  "blob-num-hunk": e.line.hide !== void 0
4858
4858
  }])
4859
4859
  }, he(e.line.delNum), 3),
4860
- P("td", {
4860
+ H("td", {
4861
4861
  class: be(["blob-num", {
4862
4862
  "blob-num-deletion": e.line.type === z(N).DELETE,
4863
4863
  "blob-num-addition": e.line.type === z(N).ADD,
@@ -4865,7 +4865,7 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4865
4865
  "blob-num-hunk": e.line.hide !== void 0
4866
4866
  }])
4867
4867
  }, he(e.line.addNum), 3),
4868
- P("td", {
4868
+ H("td", {
4869
4869
  class: be(["blob-code", {
4870
4870
  "blob-code-deletion": e.line.type === z(N).DELETE,
4871
4871
  "blob-code-addition": e.line.type === z(N).ADD,
@@ -4873,7 +4873,7 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4873
4873
  "blob-code-hunk": e.line.hide !== void 0
4874
4874
  }])
4875
4875
  }, [
4876
- P("span", {
4876
+ H("span", {
4877
4877
  class: "blob-code-inner blob-code-marker",
4878
4878
  "data-code-marker": o(e.line.type),
4879
4879
  innerHTML: e.line.code
@@ -4895,9 +4895,9 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4895
4895
  }
4896
4896
  return (u, h) => {
4897
4897
  var n;
4898
- return W(), j("table", gr, [
4899
- P("tbody", null, [
4900
- (W(!0), j(ge, null, Fe((n = e.diffChange) == null ? void 0 : n.changes, (t, i) => (W(), Oe(fr, {
4898
+ return K(), X("table", gr, [
4899
+ H("tbody", null, [
4900
+ (K(!0), X(ge, null, ze((n = e.diffChange) == null ? void 0 : n.changes, (t, i) => (K(), Oe(fr, {
4901
4901
  key: i,
4902
4902
  line: t,
4903
4903
  onExpand: o
@@ -4906,65 +4906,76 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4906
4906
  ]);
4907
4907
  };
4908
4908
  }
4909
- }), dr = { key: 0 }, pr = /* @__PURE__ */ P("td", {
4909
+ }), dr = { key: 0 }, pr = /* @__PURE__ */ H("td", {
4910
4910
  class: "blob-code blob-code-inner blob-code-hunk",
4911
4911
  colspan: "3",
4912
4912
  align: "left"
4913
- }, " ⋯ ", -1), br = { key: 1 }, _r = /* @__PURE__ */ P("td", { class: "blob-num blob-num-empty empty-cell" }, null, -1), Er = /* @__PURE__ */ P("td", { class: "blob-code blob-code-empty empty-cell" }, null, -1), vr = ["data-code-marker", "innerHTML"], mr = /* @__PURE__ */ ye({
4913
+ }, " ⋯ ", -1), br = { key: 1 }, _r = /* @__PURE__ */ H("td", { class: "blob-num blob-num-empty empty-cell" }, null, -1), Er = /* @__PURE__ */ H("td", { class: "blob-code blob-code-empty empty-cell" }, null, -1), vr = ["onMousedown"], mr = ["data-code-marker", "innerHTML"], yr = /* @__PURE__ */ ye({
4914
4914
  __name: "SplitLine",
4915
4915
  props: {
4916
4916
  splitLine: null
4917
4917
  },
4918
4918
  emits: ["expand"],
4919
4919
  setup(e, { emit: r }) {
4920
- function o(u) {
4921
- return u === N.DELETE ? "-" : u === N.ADD ? "+" : "";
4920
+ function o(h) {
4921
+ return h === N.DELETE ? "-" : h === N.ADD ? "+" : "";
4922
4922
  }
4923
- return (u, h) => e.splitLine.hideIndex !== void 0 && e.splitLine.hide ? (W(), j("tr", dr, [
4924
- P("td", {
4923
+ function u(h) {
4924
+ window.getSelection().removeAllRanges();
4925
+ const n = document.querySelectorAll(".file-diff-split .split-side-left"), t = document.querySelectorAll(".file-diff-split .split-side-right");
4926
+ for (const i of t)
4927
+ i.classList.toggle("no-select", h === "left");
4928
+ for (const i of n)
4929
+ i.classList.toggle("no-select", h === "right");
4930
+ }
4931
+ return (h, n) => e.splitLine.hideIndex !== void 0 && e.splitLine.hide ? (K(), X("tr", dr, [
4932
+ H("td", {
4925
4933
  class: "blob-num blob-num-hunk",
4926
4934
  colspan: "1",
4927
- onClick: h[0] || (h[0] = (n) => r("expand", e.splitLine))
4935
+ onClick: n[0] || (n[0] = (t) => r("expand", e.splitLine))
4928
4936
  }, " > "),
4929
4937
  pr
4930
- ])) : e.splitLine.hide ? fn("", !0) : (W(), j("tr", br, [
4931
- (W(!0), j(ge, null, Fe([e.splitLine.left, e.splitLine.right], (n) => (W(), j(ge, null, [
4932
- n.type === z(N).EMPTY ? (W(), j(ge, { key: 0 }, [
4938
+ ])) : e.splitLine.hide ? Le("", !0) : (K(), X("tr", br, [
4939
+ (K(!0), X(ge, null, ze([e.splitLine.left, e.splitLine.right], (t, i) => (K(), X(ge, null, [
4940
+ t.type === z(N).EMPTY ? (K(), X(ge, { key: 0 }, [
4933
4941
  _r,
4934
4942
  Er
4935
- ], 64)) : (W(), j(ge, { key: 1 }, [
4936
- P("td", {
4943
+ ], 64)) : (K(), X(ge, { key: 1 }, [
4944
+ H("td", {
4937
4945
  class: be(["blob-num", {
4938
- "blob-num-deletion": n.type === z(N).DELETE,
4939
- "blob-num-addition": n.type === z(N).ADD,
4940
- "blob-num-context": n.type === z(N).EQUAL,
4946
+ "blob-num-deletion": t.type === z(N).DELETE,
4947
+ "blob-num-addition": t.type === z(N).ADD,
4948
+ "blob-num-context": t.type === z(N).EQUAL,
4941
4949
  "blob-num-hunk": e.splitLine.hide !== void 0
4942
4950
  }])
4943
- }, he(n.num), 3),
4944
- P("td", {
4951
+ }, he(t.num), 3),
4952
+ H("td", {
4945
4953
  class: be(["blob-code", {
4946
- "blob-code-deletion": n.type === z(N).DELETE,
4947
- "blob-code-addition": n.type === z(N).ADD,
4948
- "blob-code-context": n.type === z(N).EQUAL,
4949
- "blob-code-hunk": e.splitLine.hide !== void 0
4950
- }])
4954
+ "blob-code-deletion": t.type === z(N).DELETE,
4955
+ "blob-code-addition": t.type === z(N).ADD,
4956
+ "blob-code-context": t.type === z(N).EQUAL,
4957
+ "blob-code-hunk": e.splitLine.hide !== void 0,
4958
+ "split-side-left": i === 0,
4959
+ "split-side-right": i === 1
4960
+ }]),
4961
+ onMousedown: (a) => u(i === 0 ? "left" : "right")
4951
4962
  }, [
4952
- P("span", {
4963
+ H("span", {
4953
4964
  class: "blob-code-inner blob-code-marker",
4954
- "data-code-marker": o(n.type),
4955
- innerHTML: n.code
4956
- }, null, 8, vr)
4957
- ], 2)
4965
+ "data-code-marker": o(t.type),
4966
+ innerHTML: t.code
4967
+ }, null, 8, mr)
4968
+ ], 42, vr)
4958
4969
  ], 64))
4959
4970
  ], 64))), 256))
4960
4971
  ]));
4961
4972
  }
4962
- }), yr = { class: "file-diff-split diff-table" }, wr = /* @__PURE__ */ P("colgroup", null, [
4963
- /* @__PURE__ */ P("col", { width: "44" }),
4964
- /* @__PURE__ */ P("col"),
4965
- /* @__PURE__ */ P("col", { width: "44" }),
4966
- /* @__PURE__ */ P("col")
4967
- ], -1), Nr = /* @__PURE__ */ ye({
4973
+ }), wr = { class: "file-diff-split diff-table" }, Nr = /* @__PURE__ */ H("colgroup", null, [
4974
+ /* @__PURE__ */ H("col", { width: "44" }),
4975
+ /* @__PURE__ */ H("col"),
4976
+ /* @__PURE__ */ H("col", { width: "44" }),
4977
+ /* @__PURE__ */ H("col")
4978
+ ], -1), Mr = /* @__PURE__ */ ye({
4968
4979
  __name: "SplitViewer",
4969
4980
  props: {
4970
4981
  diffChange: null
@@ -4978,10 +4989,10 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4978
4989
  }
4979
4990
  return (u, h) => {
4980
4991
  var n;
4981
- return W(), j("table", yr, [
4982
- wr,
4983
- P("tbody", null, [
4984
- (W(!0), j(ge, null, Fe((n = e.diffChange) == null ? void 0 : n.changes, (t, i) => (W(), Oe(mr, {
4992
+ return K(), X("table", wr, [
4993
+ Nr,
4994
+ H("tbody", null, [
4995
+ (K(!0), X(ge, null, ze((n = e.diffChange) == null ? void 0 : n.changes, (t, i) => (K(), Oe(yr, {
4985
4996
  key: i,
4986
4997
  "split-line": t,
4987
4998
  onExpand: o
@@ -4991,7 +5002,13 @@ const or = { key: 0 }, lr = /* @__PURE__ */ P("td", {
4991
5002
  };
4992
5003
  }
4993
5004
  });
4994
- const Mr = { class: "file-header" }, Ar = { class: "file-info" }, Tr = { class: "filename" }, Dr = { class: "diff-stat" }, Sr = { class: "diff-stat-added" }, Rr = {
5005
+ const Ar = {
5006
+ key: 0,
5007
+ class: "file-header"
5008
+ }, Tr = { class: "file-info" }, Sr = { class: "filename" }, Dr = {
5009
+ key: 0,
5010
+ class: "diff-stat"
5011
+ }, Rr = { class: "diff-stat-added" }, Lr = {
4995
5012
  class: "diff-stat-deleted",
4996
5013
  style: { "margin-left": "8px" }
4997
5014
  }, Or = /* @__PURE__ */ ye({
@@ -5006,7 +5023,9 @@ const Mr = { class: "file-header" }, Ar = { class: "file-info" }, Tr = { class:
5006
5023
  trim: { type: Boolean, default: !1 },
5007
5024
  noDiffLineFeed: { type: Boolean, default: !1 },
5008
5025
  maxHeight: { default: void 0 },
5009
- filename: { default: void 0 }
5026
+ filename: { default: void 0 },
5027
+ hideHeader: { type: Boolean, default: !1 },
5028
+ hideStat: { type: Boolean, default: !1 }
5010
5029
  },
5011
5030
  emits: ["diff"],
5012
5031
  setup(e, { emit: r }) {
@@ -5029,37 +5048,37 @@ const Mr = { class: "file-header" }, Ar = { class: "file-info" }, Tr = { class:
5029
5048
  delNum: i.value.stat.deletionsNum
5030
5049
  }
5031
5050
  });
5032
- }, { deep: !0, immediate: !0 }), (s, l) => (W(), j("div", {
5051
+ }, { deep: !0, immediate: !0 }), (s, l) => (K(), X("div", {
5033
5052
  class: "code-diff-view",
5034
5053
  style: xn({ maxHeight: e.maxHeight })
5035
5054
  }, [
5036
- P("div", Mr, [
5037
- P("div", Ar, [
5038
- P("span", Tr, he(e.filename), 1),
5039
- P("span", Dr, [
5040
- P("span", Sr, "+" + he(z(i).stat.additionsNum) + " additions", 1),
5041
- P("span", Rr, "-" + he(z(i).stat.deletionsNum) + " deletions", 1)
5042
- ])
5055
+ e.hideHeader ? Le("", !0) : (K(), X("div", Ar, [
5056
+ H("div", Tr, [
5057
+ H("span", Sr, he(e.filename), 1),
5058
+ e.hideStat ? Le("", !0) : (K(), X("span", Dr, [
5059
+ H("span", Rr, "+" + he(z(i).stat.additionsNum) + " additions", 1),
5060
+ H("span", Lr, "-" + he(z(i).stat.deletionsNum) + " deletions", 1)
5061
+ ]))
5043
5062
  ])
5044
- ]),
5045
- z(u) ? (W(), Oe(hr, {
5046
- key: 0,
5047
- "diff-change": z(i)
5048
- }, null, 8, ["diff-change"])) : (W(), Oe(Nr, {
5063
+ ])),
5064
+ z(u) ? (K(), Oe(hr, {
5049
5065
  key: 1,
5050
5066
  "diff-change": z(i)
5067
+ }, null, 8, ["diff-change"])) : (K(), Oe(Mr, {
5068
+ key: 2,
5069
+ "diff-change": z(i)
5051
5070
  }, null, 8, ["diff-change"]))
5052
5071
  ], 4));
5053
5072
  }
5054
5073
  });
5055
- function Lr(e) {
5074
+ function Cr(e) {
5056
5075
  e.component("CodeDiff", Or);
5057
5076
  }
5058
- const Ir = {
5059
- install: Lr,
5077
+ const kr = {
5078
+ install: Cr,
5060
5079
  hljs: J
5061
5080
  };
5062
5081
  export {
5063
5082
  Or as CodeDiff,
5064
- Ir as default
5083
+ kr as default
5065
5084
  };