v-code-diff 1.14.1 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/v2/index.cjs +29 -28
- package/dist/v2/index.es.js +2720 -2615
- package/dist/v2/index.umd.js +29 -28
- package/dist/v2.7/index.cjs +26 -25
- package/dist/v2.7/index.es.js +2585 -2499
- package/dist/v2.7/index.umd.js +26 -25
- package/dist/v3/index.cjs +29 -28
- package/dist/v3/index.es.js +2762 -2673
- package/dist/v3/index.umd.js +29 -28
- package/package.json +15 -19
- package/src/CodeDiff.vue +10 -4
- package/src/split/SplitLine.vue +19 -2
- package/src/split/SplitViewer.vue +12 -2
- package/src/types.ts +7 -0
- package/src/unified/UnifiedLine.vue +20 -4
- package/src/unified/UnifiedViewer.vue +12 -2
- package/types/index.d.ts +13 -3
package/dist/v2/index.cjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #1F2328;--color-diff-blob-addition-fg: #1F2328;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #1f883d;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(31,35,40,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(31,35,40,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(31,35,40,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-scale-black: #1F2328;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#fff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{position:sticky;top:0;z-index:1;background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .current-diff{border:1px solid var(--color-border-muted)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .diff-table .load-more{padding:8px;text-align:center}.code-diff-view .diff-table .load-more-button{padding:4px 12px;color:var(--color-accent-fg);background:transparent;border:1px solid var(--color-border-default);border-radius:4px;cursor:pointer}.code-diff-view .diff-table .load-more-button:hover{background-color:var(--color-accent-muted)}.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)}.code-diff-view[data-v-8b22b876] :deep(td:nth-child(1)){display:none}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
3
|
-
`));var
|
|
4
|
-
`,p),_==-1&&(_=h.length-1);var m=h.substring(p,_+1);(a.hasOwnProperty?a.hasOwnProperty(m):a[m]!==void 0)?d+=String.fromCharCode(a[m]):(b==o&&(m=h.substring(p),_=h.length),d+=String.fromCharCode(b),a[m]=b,r[b++]=m),p=_+1}return d}var o=4e4,l=c(t);o=65535;var u=c(i);return{chars1:l,chars2:u,lineArray:r}},n.prototype.diff_charsToLines_=function(t,i){for(var r=0;r<t.length;r++){for(var a=t[r][1],c=[],o=0;o<a.length;o++)c[o]=i[a.charCodeAt(o)];t[r][1]=c.join("")}},n.prototype.diff_commonPrefix=function(t,i){if(!t||!i||t.charAt(0)!=i.charAt(0))return 0;for(var r=0,a=Math.min(t.length,i.length),c=a,o=0;r<c;)t.substring(o,c)==i.substring(o,c)?(r=c,o=r):a=c,c=Math.floor((a-r)/2+r);return c},n.prototype.diff_commonSuffix=function(t,i){if(!t||!i||t.charAt(t.length-1)!=i.charAt(i.length-1))return 0;for(var r=0,a=Math.min(t.length,i.length),c=a,o=0;r<c;)t.substring(t.length-c,t.length-o)==i.substring(i.length-c,i.length-o)?(r=c,o=r):a=c,c=Math.floor((a-r)/2+r);return c},n.prototype.diff_commonOverlap_=function(t,i){var r=t.length,a=i.length;if(r==0||a==0)return 0;r>a?t=t.substring(r-a):r<a&&(i=i.substring(0,r));var c=Math.min(r,a);if(t==i)return c;for(var o=0,l=1;;){var u=t.substring(c-l),h=i.indexOf(u);if(h==-1)return o;l+=h,(h==0||t.substring(c-l)==i.substring(0,l))&&(o=l,l++)}},n.prototype.diff_halfMatch_=function(t,i){if(this.Diff_Timeout<=0)return null;var r=t.length>i.length?t:i,a=t.length>i.length?i:t;if(r.length<4||a.length*2<r.length)return null;var c=this;function o(E,y,T){for(var N=E.substring(T,T+Math.floor(E.length/4)),S=-1,k="",A,L,$,x;(S=y.indexOf(N,S+1))!=-1;){var z=c.diff_commonPrefix(E.substring(T),y.substring(S)),W=c.diff_commonSuffix(E.substring(0,T),y.substring(0,S));k.length<W+z&&(k=y.substring(S-W,S)+y.substring(S,S+z),A=E.substring(0,T-W),L=E.substring(T+z),$=y.substring(0,S-W),x=y.substring(S+z))}return k.length*2>=E.length?[A,L,$,x,k]:null}var l=o(r,a,Math.ceil(r.length/4)),u=o(r,a,Math.ceil(r.length/2)),h;if(!l&&!u)return null;u?l?h=l[4].length>u[4].length?l:u:h=u:h=l;var d,p,_,b;t.length>i.length?(d=h[0],p=h[1],_=h[2],b=h[3]):(_=h[0],b=h[1],d=h[2],p=h[3]);var m=h[4];return[d,p,_,b,m]},n.prototype.diff_cleanupSemantic=function(t){for(var i=!1,r=[],a=0,c=null,o=0,l=0,u=0,h=0,d=0;o<t.length;)t[o][0]==g?(r[a++]=o,l=h,u=d,h=0,d=0,c=t[o][1]):(t[o][0]==f?h+=t[o][1].length:d+=t[o][1].length,c&&c.length<=Math.max(l,u)&&c.length<=Math.max(h,d)&&(t.splice(r[a-1],0,new n.Diff(s,c)),t[r[a-1]+1][0]=f,a--,a--,o=a>0?r[a-1]:-1,l=0,u=0,h=0,d=0,c=null,i=!0)),o++;for(i&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),o=1;o<t.length;){if(t[o-1][0]==s&&t[o][0]==f){var p=t[o-1][1],_=t[o][1],b=this.diff_commonOverlap_(p,_),m=this.diff_commonOverlap_(_,p);b>=m?(b>=p.length/2||b>=_.length/2)&&(t.splice(o,0,new n.Diff(g,_.substring(0,b))),t[o-1][1]=p.substring(0,p.length-b),t[o+1][1]=_.substring(b),o++):(m>=p.length/2||m>=_.length/2)&&(t.splice(o,0,new n.Diff(g,p.substring(0,m))),t[o-1][0]=f,t[o-1][1]=_.substring(0,_.length-m),t[o+1][0]=s,t[o+1][1]=p.substring(m),o++),o++}o++}},n.prototype.diff_cleanupSemanticLossless=function(t){function i(m,E){if(!m||!E)return 6;var y=m.charAt(m.length-1),T=E.charAt(0),N=y.match(n.nonAlphaNumericRegex_),S=T.match(n.nonAlphaNumericRegex_),k=N&&y.match(n.whitespaceRegex_),A=S&&T.match(n.whitespaceRegex_),L=k&&y.match(n.linebreakRegex_),$=A&&T.match(n.linebreakRegex_),x=L&&m.match(n.blanklineEndRegex_),z=$&&E.match(n.blanklineStartRegex_);return x||z?5:L||$?4:N&&!k&&A?3:k||A?2:N||S?1:0}for(var r=1;r<t.length-1;){if(t[r-1][0]==g&&t[r+1][0]==g){var a=t[r-1][1],c=t[r][1],o=t[r+1][1],l=this.diff_commonSuffix(a,c);if(l){var u=c.substring(c.length-l);a=a.substring(0,a.length-l),c=u+c.substring(0,c.length-l),o=u+o}for(var h=a,d=c,p=o,_=i(a,c)+i(c,o);c.charAt(0)===o.charAt(0);){a+=c.charAt(0),c=c.substring(1)+o.charAt(0),o=o.substring(1);var b=i(a,c)+i(c,o);b>=_&&(_=b,h=a,d=c,p=o)}t[r-1][1]!=h&&(h?t[r-1][1]=h:(t.splice(r-1,1),r--),t[r][1]=d,p?t[r+1][1]=p:(t.splice(r+1,1),r--))}r++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(t){for(var i=!1,r=[],a=0,c=null,o=0,l=!1,u=!1,h=!1,d=!1;o<t.length;)t[o][0]==g?(t[o][1].length<this.Diff_EditCost&&(h||d)?(r[a++]=o,l=h,u=d,c=t[o][1]):(a=0,c=null),h=d=!1):(t[o][0]==s?d=!0:h=!0,c&&(l&&u&&h&&d||c.length<this.Diff_EditCost/2&&l+u+h+d==3)&&(t.splice(r[a-1],0,new n.Diff(s,c)),t[r[a-1]+1][0]=f,a--,c=null,l&&u?(h=d=!0,a=0):(a--,o=a>0?r[a-1]:-1,h=d=!1),i=!0)),o++;i&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push(new n.Diff(g,""));for(var i=0,r=0,a=0,c="",o="",l;i<t.length;)switch(t[i][0]){case f:a++,o+=t[i][1],i++;break;case s:r++,c+=t[i][1],i++;break;case g:r+a>1?(r!==0&&a!==0&&(l=this.diff_commonPrefix(o,c),l!==0&&(i-r-a>0&&t[i-r-a-1][0]==g?t[i-r-a-1][1]+=o.substring(0,l):(t.splice(0,0,new n.Diff(g,o.substring(0,l))),i++),o=o.substring(l),c=c.substring(l)),l=this.diff_commonSuffix(o,c),l!==0&&(t[i][1]=o.substring(o.length-l)+t[i][1],o=o.substring(0,o.length-l),c=c.substring(0,c.length-l))),i-=r+a,t.splice(i,r+a),c.length&&(t.splice(i,0,new n.Diff(s,c)),i++),o.length&&(t.splice(i,0,new n.Diff(f,o)),i++),i++):i!==0&&t[i-1][0]==g?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,a=0,r=0,c="",o="";break}t[t.length-1][1]===""&&t.pop();var u=!1;for(i=1;i<t.length-1;)t[i-1][0]==g&&t[i+1][0]==g&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),u=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),u=!0)),i++;u&&this.diff_cleanupMerge(t)},n.prototype.diff_xIndex=function(t,i){var r=0,a=0,c=0,o=0,l;for(l=0;l<t.length&&(t[l][0]!==f&&(r+=t[l][1].length),t[l][0]!==s&&(a+=t[l][1].length),!(r>i));l++)c=r,o=a;return t.length!=l&&t[l][0]===s?o:o+(i-c)},n.prototype.diff_prettyHtml=function(t){for(var i=[],r=/&/g,a=/</g,c=/>/g,o=/\n/g,l=0;l<t.length;l++){var u=t[l][0],h=t[l][1],d=h.replace(r,"&").replace(a,"<").replace(c,">").replace(o,"¶<br>");switch(u){case f:i[l]='<ins style="background:#e6ffe6;">'+d+"</ins>";break;case s:i[l]='<del style="background:#ffe6e6;">'+d+"</del>";break;case g:i[l]="<span>"+d+"</span>";break}}return i.join("")},n.prototype.diff_text1=function(t){for(var i=[],r=0;r<t.length;r++)t[r][0]!==f&&(i[r]=t[r][1]);return i.join("")},n.prototype.diff_text2=function(t){for(var i=[],r=0;r<t.length;r++)t[r][0]!==s&&(i[r]=t[r][1]);return i.join("")},n.prototype.diff_levenshtein=function(t){for(var i=0,r=0,a=0,c=0;c<t.length;c++){var o=t[c][0],l=t[c][1];switch(o){case f:r+=l.length;break;case s:a+=l.length;break;case g:i+=Math.max(r,a),r=0,a=0;break}}return i+=Math.max(r,a),i},n.prototype.diff_toDelta=function(t){for(var i=[],r=0;r<t.length;r++)switch(t[r][0]){case f:i[r]="+"+encodeURI(t[r][1]);break;case s:i[r]="-"+t[r][1].length;break;case g:i[r]="="+t[r][1].length;break}return i.join(" ").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(t,i){for(var r=[],a=0,c=0,o=i.split(/\t/g),l=0;l<o.length;l++){var u=o[l].substring(1);switch(o[l].charAt(0)){case"+":try{r[a++]=new n.Diff(f,decodeURI(u))}catch(p){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var h=parseInt(u,10);if(isNaN(h)||h<0)throw new Error("Invalid number in diff_fromDelta: "+u);var d=t.substring(c,c+=h);o[l].charAt(0)=="="?r[a++]=new n.Diff(g,d):r[a++]=new n.Diff(s,d);break;default:if(o[l])throw new Error("Invalid diff operation in diff_fromDelta: "+o[l])}}if(c!=t.length)throw new Error("Delta length ("+c+") does not equal source text length ("+t.length+").");return r},n.prototype.match_main=function(t,i,r){if(t==null||i==null||r==null)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,t.length)),t==i?0:t.length?t.substring(r,r+i.length)==i?r:this.match_bitap_(t,i,r):-1},n.prototype.match_bitap_=function(t,i,r){if(i.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(i),c=this;function o(A,L){var $=A/i.length,x=Math.abs(r-L);return c.Match_Distance?$+x/c.Match_Distance:x?1:$}var l=this.Match_Threshold,u=t.indexOf(i,r);u!=-1&&(l=Math.min(o(0,u),l),u=t.lastIndexOf(i,r+i.length),u!=-1&&(l=Math.min(o(0,u),l)));var h=1<<i.length-1;u=-1;for(var d,p,_=i.length+t.length,b,m=0;m<i.length;m++){for(d=0,p=_;d<p;)o(m,r+p)<=l?d=p:_=p,p=Math.floor((_-d)/2+d);_=p;var E=Math.max(1,r-p+1),y=Math.min(r+p,t.length)+i.length,T=Array(y+2);T[y+1]=(1<<m)-1;for(var N=y;N>=E;N--){var S=a[t.charAt(N-1)];if(m===0?T[N]=(T[N+1]<<1|1)&S:T[N]=(T[N+1]<<1|1)&S|((b[N+1]|b[N])<<1|1)|b[N+1],T[N]&h){var k=o(m,N-1);if(k<=l)if(l=k,u=N-1,u>r)E=Math.max(1,2*r-u);else break}}if(o(m+1,r)>l)break;b=T}return u},n.prototype.match_alphabet_=function(t){for(var i={},r=0;r<t.length;r++)i[t.charAt(r)]=0;for(var r=0;r<t.length;r++)i[t.charAt(r)]|=1<<t.length-r-1;return i},n.prototype.patch_addContext_=function(t,i){if(i.length!=0){if(t.start2===null)throw Error("patch not initialized");for(var r=i.substring(t.start2,t.start2+t.length1),a=0;i.indexOf(r)!=i.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)a+=this.Patch_Margin,r=i.substring(t.start2-a,t.start2+t.length1+a);a+=this.Patch_Margin;var c=i.substring(t.start2-a,t.start2);c&&t.diffs.unshift(new n.Diff(g,c));var o=i.substring(t.start2+t.length1,t.start2+t.length1+a);o&&t.diffs.push(new n.Diff(g,o)),t.start1-=c.length,t.start2-=c.length,t.length1+=c.length+o.length,t.length2+=c.length+o.length}},n.prototype.patch_make=function(t,i,r){var a,c;if(typeof t=="string"&&typeof i=="string"&&typeof r=="undefined")a=t,c=this.diff_main(a,i,!0),c.length>2&&(this.diff_cleanupSemantic(c),this.diff_cleanupEfficiency(c));else if(t&&typeof t=="object"&&typeof i=="undefined"&&typeof r=="undefined")c=t,a=this.diff_text1(c);else if(typeof t=="string"&&i&&typeof i=="object"&&typeof r=="undefined")a=t,c=i;else if(typeof t=="string"&&typeof i=="string"&&r&&typeof r=="object")a=t,c=r;else throw new Error("Unknown call format to patch_make.");if(c.length===0)return[];for(var o=[],l=new n.patch_obj,u=0,h=0,d=0,p=a,_=a,b=0;b<c.length;b++){var m=c[b][0],E=c[b][1];switch(!u&&m!==g&&(l.start1=h,l.start2=d),m){case f:l.diffs[u++]=c[b],l.length2+=E.length,_=_.substring(0,d)+E+_.substring(d);break;case s:l.length1+=E.length,l.diffs[u++]=c[b],_=_.substring(0,d)+_.substring(d+E.length);break;case g:E.length<=2*this.Patch_Margin&&u&&c.length!=b+1?(l.diffs[u++]=c[b],l.length1+=E.length,l.length2+=E.length):E.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(l,p),o.push(l),l=new n.patch_obj,u=0,p=_,h=d);break}m!==f&&(h+=E.length),m!==s&&(d+=E.length)}return u&&(this.patch_addContext_(l,p),o.push(l)),o},n.prototype.patch_deepCopy=function(t){for(var i=[],r=0;r<t.length;r++){var a=t[r],c=new n.patch_obj;c.diffs=[];for(var o=0;o<a.diffs.length;o++)c.diffs[o]=new n.Diff(a.diffs[o][0],a.diffs[o][1]);c.start1=a.start1,c.start2=a.start2,c.length1=a.length1,c.length2=a.length2,i[r]=c}return i},n.prototype.patch_apply=function(t,i){if(t.length==0)return[i,[]];t=this.patch_deepCopy(t);var r=this.patch_addPadding(t);i=r+i+r,this.patch_splitMax(t);for(var a=0,c=[],o=0;o<t.length;o++){var l=t[o].start2+a,u=this.diff_text1(t[o].diffs),h,d=-1;if(u.length>this.Match_MaxBits?(h=this.match_main(i,u.substring(0,this.Match_MaxBits),l),h!=-1&&(d=this.match_main(i,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits),(d==-1||h>=d)&&(h=-1))):h=this.match_main(i,u,l),h==-1)c[o]=!1,a-=t[o].length2-t[o].length1;else{c[o]=!0,a=h-l;var p;if(d==-1?p=i.substring(h,h+u.length):p=i.substring(h,d+this.Match_MaxBits),u==p)i=i.substring(0,h)+this.diff_text2(t[o].diffs)+i.substring(h+u.length);else{var _=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(_)/u.length>this.Patch_DeleteThreshold)c[o]=!1;else{this.diff_cleanupSemanticLossless(_);for(var b=0,m,E=0;E<t[o].diffs.length;E++){var y=t[o].diffs[E];y[0]!==g&&(m=this.diff_xIndex(_,b)),y[0]===f?i=i.substring(0,h+m)+y[1]+i.substring(h+m):y[0]===s&&(i=i.substring(0,h+m)+i.substring(h+this.diff_xIndex(_,b+y[1].length))),y[0]!==s&&(b+=y[1].length)}}}}}return i=i.substring(r.length,i.length-r.length),[i,c]},n.prototype.patch_addPadding=function(t){for(var i=this.Patch_Margin,r="",a=1;a<=i;a++)r+=String.fromCharCode(a);for(var a=0;a<t.length;a++)t[a].start1+=i,t[a].start2+=i;var c=t[0],o=c.diffs;if(o.length==0||o[0][0]!=g)o.unshift(new n.Diff(g,r)),c.start1-=i,c.start2-=i,c.length1+=i,c.length2+=i;else if(i>o[0][1].length){var l=i-o[0][1].length;o[0][1]=r.substring(o[0][1].length)+o[0][1],c.start1-=l,c.start2-=l,c.length1+=l,c.length2+=l}if(c=t[t.length-1],o=c.diffs,o.length==0||o[o.length-1][0]!=g)o.push(new n.Diff(g,r)),c.length1+=i,c.length2+=i;else if(i>o[o.length-1][1].length){var l=i-o[o.length-1][1].length;o[o.length-1][1]+=r.substring(0,l),c.length1+=l,c.length2+=l}return r},n.prototype.patch_splitMax=function(t){for(var i=this.Match_MaxBits,r=0;r<t.length;r++)if(!(t[r].length1<=i)){var a=t[r];t.splice(r--,1);for(var c=a.start1,o=a.start2,l="";a.diffs.length!==0;){var u=new n.patch_obj,h=!0;for(u.start1=c-l.length,u.start2=o-l.length,l!==""&&(u.length1=u.length2=l.length,u.diffs.push(new n.Diff(g,l)));a.diffs.length!==0&&u.length1<i-this.Patch_Margin;){var d=a.diffs[0][0],p=a.diffs[0][1];d===f?(u.length2+=p.length,o+=p.length,u.diffs.push(a.diffs.shift()),h=!1):d===s&&u.diffs.length==1&&u.diffs[0][0]==g&&p.length>2*i?(u.length1+=p.length,c+=p.length,h=!1,u.diffs.push(new n.Diff(d,p)),a.diffs.shift()):(p=p.substring(0,i-u.length1-this.Patch_Margin),u.length1+=p.length,c+=p.length,d===g?(u.length2+=p.length,o+=p.length):h=!1,u.diffs.push(new n.Diff(d,p)),p==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(p.length))}l=this.diff_text2(u.diffs),l=l.substring(l.length-this.Patch_Margin);var _=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);_!==""&&(u.length1+=_.length,u.length2+=_.length,u.diffs.length!==0&&u.diffs[u.diffs.length-1][0]===g?u.diffs[u.diffs.length-1][1]+=_:u.diffs.push(new n.Diff(g,_))),h||t.splice(++r,0,u)}}},n.prototype.patch_toText=function(t){for(var i=[],r=0;r<t.length;r++)i[r]=t[r];return i.join("")},n.prototype.patch_fromText=function(t){var i=[];if(!t)return i;for(var r=t.split(`
|
|
5
|
-
`),
|
|
6
|
-
`],
|
|
7
|
-
`}return r.join("").replace(/%20/g," ")},e.exports=n,e.exports.diff_match_patch=n,e.exports.DIFF_DELETE=s,e.exports.DIFF_INSERT=f,e.exports.DIFF_EQUAL=g})(Mn);var Ie=Mn.exports;function An(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(n=>{const s=e[n],f=typeof s;(f==="object"||f==="function")&&!Object.isFrozen(s)&&An(s)}),e}class rn{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Nn(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function re(e,...n){const s=Object.create(null);for(const f in e)s[f]=e[f];return n.forEach(function(f){for(const g in f)s[g]=f[g]}),s}const lt="</span>",sn=e=>!!e.scope,ct=(e,{prefix:n})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const s=e.split(".");return[`${n}${s.shift()}`,...s.map((f,g)=>`${f}${"_".repeat(g+1)}`)].join(" ")}return`${n}${e}`};class ut{constructor(n,s){this.buffer="",this.classPrefix=s.classPrefix,n.walk(this)}addText(n){this.buffer+=Nn(n)}openNode(n){if(!sn(n))return;const s=ct(n.scope,{prefix:this.classPrefix});this.span(s)}closeNode(n){sn(n)&&(this.buffer+=lt)}value(){return this.buffer}span(n){this.buffer+=`<span class="${n}">`}}const an=(e={})=>{const n={children:[]};return Object.assign(n,e),n};class Ge{constructor(){this.rootNode=an(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const s=an({scope:n});this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,s){return typeof s=="string"?n.addText(s):s.children&&(n.openNode(s),s.children.forEach(f=>this._walk(n,f)),n.closeNode(s)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(s=>typeof s=="string")?n.children=[n.children.join("")]:n.children.forEach(s=>{Ge._collapse(s)}))}}class ft extends Ge{constructor(n){super(),this.options=n}addText(n){n!==""&&this.add(n)}startScope(n){this.openNode(n)}endScope(){this.closeNode()}__addSublanguage(n,s){const f=n.root;s&&(f.scope=`language:${s}`),this.add(f)}toHTML(){return new ut(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function pe(e){return e?typeof e=="string"?e:e.source:null}function Tn(e){return ce("(?=",e,")")}function gt(e){return ce("(?:",e,")*")}function ht(e){return ce("(?:",e,")?")}function ce(...e){return e.map(s=>pe(s)).join("")}function dt(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function Ke(...e){return"("+(dt(e).capture?"":"?:")+e.map(f=>pe(f)).join("|")+")"}function Sn(e){return new RegExp(e.toString()+"|").exec("").length-1}function pt(e,n){const s=e&&e.exec(n);return s&&s.index===0}const _t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function We(e,{joinWith:n}){let s=0;return e.map(f=>{s+=1;const g=s;let t=pe(f),i="";for(;t.length>0;){const r=_t.exec(t);if(!r){i+=t;break}i+=t.substring(0,r.index),t=t.substring(r.index+r[0].length),r[0][0]==="\\"&&r[1]?i+="\\"+String(Number(r[1])+g):(i+=r[0],r[0]==="("&&s++)}return i}).map(f=>`(${f})`).join(n)}const bt=/\b\B/,Dn="[a-zA-Z]\\w*",qe="[a-zA-Z_]\\w*",Cn="\\b\\d+(\\.\\d+)?",Ln="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Rn="\\b(0b[01]+)",vt="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",mt=(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=ce(n,/.*\b/,e.binary,/\b.*/)),re({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(s,f)=>{s.index!==0&&f.ignoreMatch()}},e)},_e={begin:"\\\\[\\s\\S]",relevance:0},Et={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[_e]},yt={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[_e]},wt={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/},Ce=function(e,n,s={}){const f=re({scope:"comment",begin:e,end:n,contains:[]},s);f.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const g=Ke("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return f.contains.push({begin:ce(/[ ]+/,"(",g,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),f},Mt=Ce("//","$"),At=Ce("/\\*","\\*/"),Nt=Ce("#","$"),Tt={scope:"number",begin:Cn,relevance:0},St={scope:"number",begin:Ln,relevance:0},Dt={scope:"number",begin:Rn,relevance:0},Ct={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[_e,{begin:/\[/,end:/\]/,relevance:0,contains:[_e]}]},Lt={scope:"title",begin:Dn,relevance:0},Rt={scope:"title",begin:qe,relevance:0},Ot={begin:"\\.\\s*"+qe,relevance:0},It=function(e){return Object.assign(e,{"on:begin":(n,s)=>{s.data._beginMatch=n[1]},"on:end":(n,s)=>{s.data._beginMatch!==n[1]&&s.ignoreMatch()}})};var Ae=Object.freeze({__proto__:null,APOS_STRING_MODE:Et,BACKSLASH_ESCAPE:_e,BINARY_NUMBER_MODE:Dt,BINARY_NUMBER_RE:Rn,COMMENT:Ce,C_BLOCK_COMMENT_MODE:At,C_LINE_COMMENT_MODE:Mt,C_NUMBER_MODE:St,C_NUMBER_RE:Ln,END_SAME_AS_BEGIN:It,HASH_COMMENT_MODE:Nt,IDENT_RE:Dn,MATCH_NOTHING_RE:bt,METHOD_GUARD:Ot,NUMBER_MODE:Tt,NUMBER_RE:Cn,PHRASAL_WORDS_MODE:wt,QUOTE_STRING_MODE:yt,REGEXP_MODE:Ct,RE_STARTERS_RE:vt,SHEBANG:mt,TITLE_MODE:Lt,UNDERSCORE_IDENT_RE:qe,UNDERSCORE_TITLE_MODE:Rt});function kt(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function $t(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Bt(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=kt,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function xt(e,n){Array.isArray(e.illegal)&&(e.illegal=Ke(...e.illegal))}function Ut(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Pt(e,n){e.relevance===void 0&&(e.relevance=1)}const Ft=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const s=Object.assign({},e);Object.keys(e).forEach(f=>{delete e[f]}),e.keywords=s.keywords,e.begin=ce(s.beforeMatch,Tn(s.begin)),e.starts={relevance:0,contains:[Object.assign(s,{endsParent:!0})]},e.relevance=0,delete s.beforeMatch},Ht=["of","and","for","in","not","or","if","then","parent","list","value"],zt="keyword";function On(e,n,s=zt){const f=Object.create(null);return typeof e=="string"?g(s,e.split(" ")):Array.isArray(e)?g(s,e):Object.keys(e).forEach(function(t){Object.assign(f,On(e[t],n,t))}),f;function g(t,i){n&&(i=i.map(r=>r.toLowerCase())),i.forEach(function(r){const a=r.split("|");f[a[0]]=[t,Gt(a[0],a[1])]})}}function Gt(e,n){return n?Number(n):Kt(e)?0:1}function Kt(e){return Ht.includes(e.toLowerCase())}const on={},le=e=>{console.error(e)},ln=(e,...n)=>{console.log(`WARN: ${e}`,...n)},fe=(e,n)=>{on[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),on[`${e}/${n}`]=!0)},De=new Error;function In(e,n,{key:s}){let f=0;const g=e[s],t={},i={};for(let r=1;r<=n.length;r++)i[r+f]=g[r],t[r+f]=!0,f+=Sn(n[r-1]);e[s]=i,e[s]._emit=t,e[s]._multi=!0}function Wt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),De;if(typeof e.beginScope!="object"||e.beginScope===null)throw le("beginScope must be object"),De;In(e,e.begin,{key:"beginScope"}),e.begin=We(e.begin,{joinWith:""})}}function qt(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),De;if(typeof e.endScope!="object"||e.endScope===null)throw le("endScope must be object"),De;In(e,e.end,{key:"endScope"}),e.end=We(e.end,{joinWith:""})}}function Qt(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function jt(e){Qt(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Wt(e),qt(e)}function Zt(e){function n(i,r){return new RegExp(pe(i),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,r]),this.matchAt+=Sn(r)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const r=this.regexes.map(a=>a[1]);this.matcherRe=n(We(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(r);if(!a)return null;const c=a.findIndex((l,u)=>u>0&&l!==void 0),o=this.matchIndexes[c];return a.splice(0,c),Object.assign(a,o)}}class f{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const a=new s;return this.rules.slice(r).forEach(([c,o])=>a.addRule(c,o)),a.compile(),this.multiRegexes[r]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(r,a){this.rules.push([r,a]),a.type==="begin"&&this.count++}exec(r){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let c=a.exec(r);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const o=this.getMatcher(0);o.lastIndex=this.lastIndex+1,c=o.exec(r)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function g(i){const r=new f;return i.contains.forEach(a=>r.addRule(a.begin,{rule:a,type:"begin"})),i.terminatorEnd&&r.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&r.addRule(i.illegal,{type:"illegal"}),r}function t(i,r){const a=i;if(i.isCompiled)return a;[$t,Ut,jt,Ft].forEach(o=>o(i,r)),e.compilerExtensions.forEach(o=>o(i,r)),i.__beforeBegin=null,[Bt,xt,Pt].forEach(o=>o(i,r)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=On(i.keywords,e.case_insensitive)),a.keywordPatternRe=n(c,!0),r&&(i.begin||(i.begin=/\B|\b/),a.beginRe=n(a.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(a.endRe=n(a.end)),a.terminatorEnd=pe(a.end)||"",i.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(i.end?"|":"")+r.terminatorEnd)),i.illegal&&(a.illegalRe=n(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(o){return Yt(o==="self"?i:o)})),i.contains.forEach(function(o){t(o,a)}),i.starts&&t(i.starts,r),a.matcher=g(a),a}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=re(e.classNameAliases||{}),t(e)}function kn(e){return e?e.endsWithParent||kn(e.starts):!1}function Yt(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return re(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:kn(e)?re(e,{starts:e.starts?re(e.starts):null}):Object.isFrozen(e)?re(e):e}var Vt="11.10.0";class Xt extends Error{constructor(n,s){super(n),this.name="HTMLInjectionError",this.html=s}}const ke=Nn,cn=re,un=Symbol("nomatch"),Jt=7,$n=function(e){const n=Object.create(null),s=Object.create(null),f=[];let g=!0;const t="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:ft};function a(v){return r.noHighlightRe.test(v)}function c(v){let M=v.className+" ";M+=v.parentNode?v.parentNode.className:"";const R=r.languageDetectRe.exec(M);if(R){const B=A(R[1]);return B||(ln(t.replace("{}",R[1])),ln("Falling back to no-highlight mode for this block.",v)),B?R[1]:"no-highlight"}return M.split(/\s+/).find(B=>a(B)||A(B))}function o(v,M,R){let B="",F="";typeof M=="object"?(B=v,R=M.ignoreIllegals,F=M.language):(fe("10.7.0","highlight(lang, code, ...args) has been deprecated."),fe("10.7.0",`Please use highlight(code, options) instead.
|
|
8
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),F=v,B=M),R===void 0&&(R=!0);const q={code:B,language:F};ie("before:highlight",q);const Y=q.result?q.result:l(q.language,q.code,R);return Y.code=q.code,ie("after:highlight",Y),Y}function l(v,M,R,B){const F=Object.create(null);function q(w,C){return w.keywords[C]}function Y(){if(!O.keywords){G.addText(P);return}let w=0;O.keywordPatternRe.lastIndex=0;let C=O.keywordPatternRe.exec(P),I="";for(;C;){I+=P.substring(w,C.index);const U=X.case_insensitive?C[0].toLowerCase():C[0],K=q(O,U);if(K){const[ne,Zn]=K;if(G.addText(I),I="",F[U]=(F[U]||0)+1,F[U]<=Jt&&(Me+=Zn),ne.startsWith("_"))I+=C[0];else{const Yn=X.classNameAliases[ne]||ne;V(C[0],Yn)}}else I+=C[0];w=O.keywordPatternRe.lastIndex,C=O.keywordPatternRe.exec(P)}I+=P.substring(w),G.addText(I)}function ye(){if(P==="")return;let w=null;if(typeof O.subLanguage=="string"){if(!n[O.subLanguage]){G.addText(P);return}w=l(O.subLanguage,P,!0,en[O.subLanguage]),en[O.subLanguage]=w._top}else w=h(P,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(Me+=w.relevance),G.__addSublanguage(w._emitter,w.language)}function Q(){O.subLanguage!=null?ye():Y(),P=""}function V(w,C){w!==""&&(G.startScope(C),G.addText(w),G.endScope())}function Ye(w,C){let I=1;const U=C.length-1;for(;I<=U;){if(!w._emit[I]){I++;continue}const K=X.classNameAliases[w[I]]||w[I],ne=C[I];K?V(ne,K):(P=ne,Y(),P=""),I++}}function Ve(w,C){return w.scope&&typeof w.scope=="string"&&G.openNode(X.classNameAliases[w.scope]||w.scope),w.beginScope&&(w.beginScope._wrap?(V(P,X.classNameAliases[w.beginScope._wrap]||w.beginScope._wrap),P=""):w.beginScope._multi&&(Ye(w.beginScope,C),P="")),O=Object.create(w,{parent:{value:O}}),O}function Xe(w,C,I){let U=pt(w.endRe,I);if(U){if(w["on:end"]){const K=new rn(w);w["on:end"](C,K),K.isMatchIgnored&&(U=!1)}if(U){for(;w.endsParent&&w.parent;)w=w.parent;return w}}if(w.endsWithParent)return Xe(w.parent,C,I)}function Kn(w){return O.matcher.regexIndex===0?(P+=w[0],1):(Oe=!0,0)}function Wn(w){const C=w[0],I=w.rule,U=new rn(I),K=[I.__beforeBegin,I["on:begin"]];for(const ne of K)if(ne&&(ne(w,U),U.isMatchIgnored))return Kn(C);return I.skip?P+=C:(I.excludeBegin&&(P+=C),Q(),!I.returnBegin&&!I.excludeBegin&&(P=C)),Ve(I,w),I.returnBegin?0:C.length}function qn(w){const C=w[0],I=M.substring(w.index),U=Xe(O,w,I);if(!U)return un;const K=O;O.endScope&&O.endScope._wrap?(Q(),V(C,O.endScope._wrap)):O.endScope&&O.endScope._multi?(Q(),Ye(O.endScope,w)):K.skip?P+=C:(K.returnEnd||K.excludeEnd||(P+=C),Q(),K.excludeEnd&&(P=C));do O.scope&&G.closeNode(),!O.skip&&!O.subLanguage&&(Me+=O.relevance),O=O.parent;while(O!==U.parent);return U.starts&&Ve(U.starts,w),K.returnEnd?0:C.length}function Qn(){const w=[];for(let C=O;C!==X;C=C.parent)C.scope&&w.unshift(C.scope);w.forEach(C=>G.openNode(C))}let we={};function Je(w,C){const I=C&&C[0];if(P+=w,I==null)return Q(),0;if(we.type==="begin"&&C.type==="end"&&we.index===C.index&&I===""){if(P+=M.slice(C.index,C.index+1),!g){const U=new Error(`0 width match regex (${v})`);throw U.languageName=v,U.badRule=we.rule,U}return 1}if(we=C,C.type==="begin")return Wn(C);if(C.type==="illegal"&&!R){const U=new Error('Illegal lexeme "'+I+'" for mode "'+(O.scope||"<unnamed>")+'"');throw U.mode=O,U}else if(C.type==="end"){const U=qn(C);if(U!==un)return U}if(C.type==="illegal"&&I==="")return 1;if(Re>1e5&&Re>C.index*3)throw new Error("potential infinite loop, way more iterations than matches");return P+=I,I.length}const X=A(v);if(!X)throw le(t.replace("{}",v)),new Error('Unknown language: "'+v+'"');const jn=Zt(X);let Le="",O=B||jn;const en={},G=new r.__emitter(r);Qn();let P="",Me=0,oe=0,Re=0,Oe=!1;try{if(X.__emitTokens)X.__emitTokens(M,G);else{for(O.matcher.considerAll();;){Re++,Oe?Oe=!1:O.matcher.considerAll(),O.matcher.lastIndex=oe;const w=O.matcher.exec(M);if(!w)break;const C=M.substring(oe,w.index),I=Je(C,w);oe=w.index+I}Je(M.substring(oe))}return G.finalize(),Le=G.toHTML(),{language:v,value:Le,relevance:Me,illegal:!1,_emitter:G,_top:O}}catch(w){if(w.message&&w.message.includes("Illegal"))return{language:v,value:ke(M),illegal:!0,relevance:0,_illegalBy:{message:w.message,index:oe,context:M.slice(oe-100,oe+100),mode:w.mode,resultSoFar:Le},_emitter:G};if(g)return{language:v,value:ke(M),illegal:!1,relevance:0,errorRaised:w,_emitter:G,_top:O};throw w}}function u(v){const M={value:ke(v),illegal:!1,relevance:0,_top:i,_emitter:new r.__emitter(r)};return M._emitter.addText(v),M}function h(v,M){M=M||r.languages||Object.keys(n);const R=u(v),B=M.filter(A).filter($).map(Q=>l(Q,v,!1));B.unshift(R);const F=B.sort((Q,V)=>{if(Q.relevance!==V.relevance)return V.relevance-Q.relevance;if(Q.language&&V.language){if(A(Q.language).supersetOf===V.language)return 1;if(A(V.language).supersetOf===Q.language)return-1}return 0}),[q,Y]=F,ye=q;return ye.secondBest=Y,ye}function d(v,M,R){const B=M&&s[M]||R;v.classList.add("hljs"),v.classList.add(`language-${B}`)}function p(v){let M=null;const R=c(v);if(a(R))return;if(ie("before:highlightElement",{el:v,language:R}),v.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",v);return}if(v.children.length>0&&(r.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(v)),r.throwUnescapedHTML))throw new Xt("One of your code blocks includes unescaped HTML.",v.innerHTML);M=v;const B=M.textContent,F=R?o(B,{language:R,ignoreIllegals:!0}):h(B);v.innerHTML=F.value,v.dataset.highlighted="yes",d(v,R,F.language),v.result={language:F.language,re:F.relevance,relevance:F.relevance},F.secondBest&&(v.secondBest={language:F.secondBest.language,relevance:F.secondBest.relevance}),ie("after:highlightElement",{el:v,result:F,text:B})}function _(v){r=cn(r,v)}const b=()=>{y(),fe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function m(){y(),fe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let E=!1;function y(){if(document.readyState==="loading"){E=!0;return}document.querySelectorAll(r.cssSelector).forEach(p)}function T(){E&&y()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1);function N(v,M){let R=null;try{R=M(e)}catch(B){if(le("Language definition for '{}' could not be registered.".replace("{}",v)),g)le(B);else throw B;R=i}R.name||(R.name=v),n[v]=R,R.rawDefinition=M.bind(null,e),R.aliases&&L(R.aliases,{languageName:v})}function S(v){delete n[v];for(const M of Object.keys(s))s[M]===v&&delete s[M]}function k(){return Object.keys(n)}function A(v){return v=(v||"").toLowerCase(),n[v]||n[s[v]]}function L(v,{languageName:M}){typeof v=="string"&&(v=[v]),v.forEach(R=>{s[R.toLowerCase()]=M})}function $(v){const M=A(v);return M&&!M.disableAutodetect}function x(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=M=>{v["before:highlightBlock"](Object.assign({block:M.el},M))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=M=>{v["after:highlightBlock"](Object.assign({block:M.el},M))})}function z(v){x(v),f.push(v)}function W(v){const M=f.indexOf(v);M!==-1&&f.splice(M,1)}function ie(v,M){const R=v;f.forEach(function(B){B[R]&&B[R](M)})}function ue(v){return fe("10.7.0","highlightBlock will be removed entirely in v12.0"),fe("10.7.0","Please use highlightElement now."),p(v)}Object.assign(e,{highlight:o,highlightAuto:h,highlightAll:y,highlightElement:p,highlightBlock:ue,configure:_,initHighlighting:b,initHighlightingOnLoad:m,registerLanguage:N,unregisterLanguage:S,listLanguages:k,getLanguage:A,registerAliases:L,autoDetection:$,inherit:cn,addPlugin:z,removePlugin:W}),e.debugMode=function(){g=!1},e.safeMode=function(){g=!0},e.versionString=Vt,e.regex={concat:ce,lookahead:Tn,either:Ke,optional:ht,anyNumberOfTimes:gt};for(const v in Ae)typeof Ae[v]=="object"&&An(Ae[v]);return Object.assign(e,Ae),e},he=$n({});he.newInstance=()=>$n({});var ei=he;he.HighlightJS=he;he.default=he;const j=ot(ei);function ni(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),f=/[\p{L}0-9._:-]+/u,g={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(t,{begin:/\(/,end:/\)/}),r=e.inherit(e.APOS_STRING_MODE,{className:"string"}),a=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:f,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[g]},{begin:/'/,end:/'/,contains:[g]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[t,a,r,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[t,i,a,r]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},g,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(s,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:c}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const fn="[A-Za-z$_][0-9A-Za-z$_]*",ti=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],ii=["true","false","null","undefined","NaN","Infinity"],Bn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],xn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Un=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ri=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],si=[].concat(Un,Bn,xn);function ai(e){const n=e.regex,s=(M,{after:R})=>{const B="</"+M[0].slice(1);return M.input.indexOf(B,R)!==-1},f=fn,g={begin:"<>",end:"</>"},t=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(M,R)=>{const B=M[0].length+M.index,F=M.input[B];if(F==="<"||F===","){R.ignoreMatch();return}F===">"&&(s(M,{after:B})||R.ignoreMatch());let q;const Y=M.input.substring(B);if(q=Y.match(/^\s*=/)){R.ignoreMatch();return}if((q=Y.match(/^\s+extends\s+/))&&q.index===0){R.ignoreMatch();return}}},r={$pattern:fn,keyword:ti,literal:ii,built_in:si,"variable.language":ri},a="[0-9](_?[0-9])*",c=`\\.(${a})`,o="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${o})((${c})|\\.)?|(${c}))[eE][+-]?(${a})\\b`},{begin:`\\b(${o})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},_={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},m={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},E=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,d,p,_,{match:/\$\d+/},l];u.contains=E.concat({begin:/\{/,end:/\}/,keywords:r,contains:["self"].concat(E)});const y=[].concat(m,u.contains),T=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:r,contains:["self"].concat(y)}]),N={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:T},S={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,n.concat(f,"(",n.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Bn,...xn]}},A={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[N],illegal:/%/},$={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function x(M){return n.concat("(?!",M.join("|"),")")}const z={match:n.concat(/\b/,x([...Un,"super","import"].map(M=>`${M}\\s*\\(`)),f,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},W={begin:n.concat(/\./,n.lookahead(n.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ie={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},N]},ue="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(ue)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[N]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:r,exports:{PARAMS_CONTAINS:T,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),A,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,d,p,_,m,{match:/\$\d+/},l,k,{className:"attr",begin:f+n.lookahead(":"),relevance:0},v,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[m,e.REGEXP_MODE,{className:"function",begin:ue,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:T}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:t},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},L,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[N,e.inherit(e.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},W,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[N]},z,$,S,ie,{match:/\$[(.]/}]}}function oi(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},f=["true","false","null"],g={scope:"literal",beginKeywords:f.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:f},contains:[n,s,e.QUOTE_STRING_MODE,g,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function li(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",f={className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},g={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},t={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,g]},i=e.inherit(t,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},u={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},h={begin:/\{/,end:/\}/,contains:[u],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[u],illegal:"\\n",relevance:0},p=[f,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},l,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},h,d,t],_=[...p];return _.pop(),_.push(i),u.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:p}}function ci(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function ui(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,f=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:f,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},o={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,o,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,o,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",h=`(\\b(${u}))?\\.(${u})|\\b(${u})\\.`,d=`\\b|${f.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${u})|(${h}))[eE][+-]?(${u})[jJ]?(?=${d})`},{begin:`(${h})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${u})[jJ](?=${d})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",a,p,l,e.HASH_COMMENT_MODE]}]};return c.contains=[l,p,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[a,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,b,l]}]}}var ge="[0-9](_*[0-9])*",Ne=`\\.(${ge})`,Te="[0-9a-fA-F](_*[0-9a-fA-F])*",gn={className:"number",variants:[{begin:`(\\b(${ge})((${Ne})|\\.)?|(${Ne}))[eE][+-]?(${ge})[fFdD]?\\b`},{begin:`\\b(${ge})((${Ne})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Ne})[fFdD]?\\b`},{begin:`\\b(${ge})[fFdD]\\b`},{begin:`\\b0[xX]((${Te})\\.?|(${Te})?\\.(${Te}))[pP][+-]?(${ge})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Te})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Pn(e,n,s){return s===-1?"":e.replace(n,f=>Pn(e,n,s-1))}function fi(e){const n=e.regex,s="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",f=s+Pn("(?:<"+s+"~~~(?:\\s*,\\s*"+s+"~~~)*>)?",/~~~/g,2),a={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},c={className:"meta",begin:"@"+s,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:a,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,s],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[n.concat(/(?!else)/,s),/\s+/,s,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,s],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+f+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,gn,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},gn,c]}}function gi(e){const n=e.regex,s={},f={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},f]});const g={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},t=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},r={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,g]};g.contains.push(r);const a={match:/\\"/},c={className:"string",begin:/'/,end:/'/},o={match:/\\'/},l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],_=["true","false"],b={match:/(\/[a-z._-]+)+/},m=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],E=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],y=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],T=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:_,built_in:[...m,...E,"set","shopt",...y,...T]},contains:[h,e.SHEBANG(),d,l,t,i,b,r,a,c,o,s]}}function hi(e){const n=e.regex,s=e.COMMENT("--","$"),f={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},g={begin:/"/,end:/"/,contains:[{begin:/""/}]},t=["true","false","unknown"],i=["double precision","large object","with timezone","without timezone"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],a=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],o=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],l=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],u=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],h=o,d=[...c,...a].filter(E=>!o.includes(E)),p={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...h),/\s*\(/),relevance:0,keywords:{built_in:h}};function m(E,{exceptions:y,when:T}={}){const N=T;return y=y||[],E.map(S=>S.match(/\|\d+$/)||y.includes(S)?S:N(S)?`${S}|0`:S)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:m(d,{when:E=>E.length<3}),literal:t,type:r,built_in:l},contains:[{begin:n.either(...u),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:d.concat(u),literal:t,type:r}},{className:"type",begin:n.either(...i)},b,p,f,g,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}j.registerLanguage("xml",ni);j.registerLanguage("javascript",ai);j.registerLanguage("json",oi);j.registerLanguage("yaml",li);j.registerLanguage("plaintext",ci);j.registerLanguage("python",ui);j.registerLanguage("java",fi);j.registerLanguage("bash",gi);j.registerLanguage("sql",hi);var D=(e=>(e.EQUAL="equal",e.DELETE="removed",e.ADD="added",e.EMPTY="empty",e))(D||{});const J="<code-diff-modified>",ee="</code-diff-modified>",di=1e4,Z=1e3,hn=J.replace("<","<").replace(">",">"),dn=ee.replace("<","<").replace(">",">");function pi(e){const n={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,s=>n[s])}function se(e){return e===void 0?D.EQUAL:e.added?D.ADD:e.removed?D.DELETE:D.EQUAL}function Fn(e,n,s="word",f=!1){if(typeof e=="undefined"||typeof n=="undefined")return[e,n];if(!f&&e.length+n.length>di)return[e,n];const t=(s==="char"?et:tt)(e,n),i=t.filter(a=>se(a)!==D.ADD).map(a=>se(a)===D.DELETE?`${J}${a.value}${ee}`:a.value).join(""),r=t.filter(a=>se(a)!==D.DELETE).map(a=>se(a)===D.ADD?`${J}${a.value}${ee}`:a.value).join("");return[i,r]}function Hn(e,n){if(e===n)return e?[{count:e.replace(/\n$/,"").split(`
|
|
9
|
-
`).length,value:e}]:[];const s=e.endsWith(`
|
|
10
|
-
`),
|
|
11
|
-
`)
|
|
12
|
-
`),
|
|
13
|
-
`)
|
|
14
|
-
`)&&
|
|
15
|
-
`)
|
|
16
|
-
`)
|
|
17
|
-
`):[],
|
|
18
|
-
`)
|
|
19
|
-
`));g+=s(o.value.trim()
|
|
20
|
-
`)
|
|
21
|
-
`)
|
|
22
|
-
`)
|
|
23
|
-
`);
|
|
24
|
-
`);if(
|
|
25
|
-
`);if(
|
|
26
|
-
`);if(E===D.DELETE)if(y===D.ADD&&(T.length===N.length||g)){const S=Math.max(T.length,N.length),k=Array.from({length:S},(A,L)=>Fn(T[L],N[L],f,g));for(let A=0;A<T.length;A++){const L=T[A];c++,u.push({type:a!=null&&a.test(L)?D.EQUAL:D.DELETE,code:k[A][0],delNum:c})}for(let A=0;A<N.length;A++){const L=N[A];o++,u.push({type:a!=null&&a.test(L)?D.EQUAL:D.ADD,code:k[A][1],addNum:o})}l=!0}else for(const S of T)c++,u.push({type:D.DELETE,code:S,delNum:c});if(E===D.ADD)for(const S of T)o++,u.push({type:D.ADD,code:S,addNum:o})}for(let _=0;_<u.length;_++){const b=u[_];if(b.type===D.DELETE||b.type===D.ADD){const[m,E]=[Math.max(_-t,0),Math.min(_+t+1,u.length)];for(let y=m;y<E;y++)u[y].fold=!1}b.fold===void 0&&(b.fold=!0)}if(e===n){for(let _=0;_<u.length;_++)u[_].fold=!1;return u.slice(0,Z).forEach(_=>Ue(_,s)),h}const d=[];let p=[];for(let _=0;_<u.length;_++){const b=u[_];if(b.fold===!1){p.length&&(p[0].hideIndex=h.collector.length,h.collector.push({lines:p,fold:!0}),p=[]),d.push(b);continue}b.type==="equal"&&(b.hide=!0,p.push(b)),d.push(b)}return p.length&&(p[0].hideIndex=h.collector.length,h.collector.push({lines:p,fold:!0}),p=[]),h.changes=d,h.changes.filter(_=>!_.hide).slice(0,Z).forEach(_=>Ue(_,s)),h}const Qe={};Qe.props={line:{key:"line",required:!0,type:null}};Qe.setup=(e,n)=>{const s=n.emit;function f(g){return g===D.DELETE?"-":g===D.ADD?"+":""}return{DiffType:D,emit:s,getCodeMarker:f}};var vi=function(){var e=this,n=e.$createElement,s=e._self._c||n;return e.line.hideIndex!==void 0&&e.line.hide?s("tr",[s("td",{staticClass:"blob-num blob-num-hunk text-center",attrs:{colspan:"2"},on:{click:function(f){return e.emit("expand",e.line)}}},[e._v(" > ")]),s("td",{staticClass:"blob-code blob-code-hunk",attrs:{align:"left"}},[e._v(" ⋯ ")])]):e.line.hide?e._e():s("tr",{attrs:{"data-diff-change":e.line.type!==e.DiffType.EQUAL?"":void 0}},[s("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.delNum)+" ")]),s("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.addNum)+" ")]),s("td",{staticClass:"blob-code",class:{"blob-code-deletion":e.line.type===e.DiffType.DELETE,"blob-code-addition":e.line.type===e.DiffType.ADD,"blob-code-context":e.line.type===e.DiffType.EQUAL,"blob-code-hunk":e.line.hide!==void 0}},[s("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(e.line.type)},domProps:{innerHTML:e._s(e.line.code)}})])])},mi=[];function ae(e,n,s,f,g,t,i,r){var a=typeof e=="function"?e.options:e;n&&(a.render=n,a.staticRenderFns=s,a._compiled=!0),t&&(a._scopeId="data-v-"+t);var c;if(g&&(c=g),c)if(a.functional){a._injectStyles=c;var o=a.render;a.render=function(h,d){return c.call(d),o(h,d)}}else{var l=a.beforeCreate;a.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:a}}const pn={};var Ei=ae(Qe,vi,mi,!1,yi,null);function yi(e){for(let n in pn)this[n]=pn[n]}const wi=function(){return Ei.exports}(),be={};be.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}};be.setup=(e,n)=>{const s=e,f=H.ref(Z),g=H.shallowRef(s.diffChange.changes.filter(l=>!l.hide||l.hideIndex!==void 0)),t=H.computed(()=>g.value.slice(0,f.value)),i=H.computed(()=>g.value.length-t.value.length),r=H.computed(()=>Math.min(i.value,Z));H.watch(()=>s.diffChange,l=>{f.value=Z,g.value=l.changes.filter(u=>!u.hide||u.hideIndex!==void 0)});function a(){t.value.forEach(l=>Ue(l,s.language))}function c({hideIndex:l}){l!==void 0&&(s.diffChange.collector[l].lines.forEach(u=>{u.hide=!1,u.fold=!1}),g.value=s.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0),a())}function o(){f.value+=Z,a()}return{renderedChanges:t,remainingLines:i,nextBatchSize:r,expandHandler:c,loadMore:o}};be.components=Object.assign({UnifiedLine:wi},be.components);var Mi=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("table",{staticClass:"diff-table"},[s("tbody",[e._l(e.renderedChanges,function(f,g){return s("UnifiedLine",{key:g,attrs:{line:f},on:{expand:e.expandHandler}})}),e.remainingLines?s("tr",[s("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"3"}},[s("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},Ai=[];const _n={};var Ni=ae(be,Mi,Ai,!1,Ti,null);function Ti(e){for(let n in _n)this[n]=_n[n]}const Si=function(){return Ni.exports}(),je={};je.props={splitLine:{key:"splitLine",required:!0,type:null}};je.setup=(e,n)=>{const s=n.emit;function f(t){return t===D.DELETE?"-":t===D.ADD?"+":""}function g(t,i){const r=t.currentTarget.closest(".file-diff-split"),a=r.querySelectorAll(".split-side-left"),c=r.querySelectorAll(".split-side-right");for(const o of c)o.classList.toggle("no-select",i==="left");for(const o of a)o.classList.toggle("no-select",i==="right")}return{DiffType:D,emit:s,getCodeMarker:f,onSplitLineMousedown:g}};var Di=function(){var e=this,n=e.$createElement,s=e._self._c||n;return e.splitLine.hideIndex!==void 0&&e.splitLine.hide?s("tr",[s("td",{staticClass:"blob-num blob-num-hunk",attrs:{colspan:"1"},on:{click:function(f){return e.emit("expand",e.splitLine)}}},[e._v(" > ")]),s("td",{staticClass:"blob-code blob-code-inner blob-code-hunk",attrs:{colspan:"3",align:"left"}},[e._v(" ⋯ ")])]):e.splitLine.hide?e._e():s("tr",{attrs:{"data-diff-change":e.splitLine.left.type===e.DiffType.DELETE||e.splitLine.right.type===e.DiffType.ADD?"":void 0}},[e._l([e.splitLine.left,e.splitLine.right],function(f,g){return[f.type===e.DiffType.EMPTY?[s("td",{staticClass:"blob-num blob-num-empty empty-cell"}),s("td",{staticClass:"blob-code blob-code-empty empty-cell"})]:[s("td",{staticClass:"blob-num",class:{"blob-num-deletion":f.type===e.DiffType.DELETE,"blob-num-addition":f.type===e.DiffType.ADD,"blob-num-context":f.type===e.DiffType.EQUAL,"blob-num-hunk":e.splitLine.hide!==void 0}},[e._v(" "+e._s(f.num)+" ")]),s("td",{staticClass:"blob-code",class:{"blob-code-deletion":f.type===e.DiffType.DELETE,"blob-code-addition":f.type===e.DiffType.ADD,"blob-code-context":f.type===e.DiffType.EQUAL,"blob-code-hunk":e.splitLine.hide!==void 0,"split-side-left":g===0,"split-side-right":g===1},on:{mousedown:function(t){return e.onSplitLineMousedown(t,g===0?"left":"right")}}},[s("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(f.type)},domProps:{innerHTML:e._s(f.code)}})])]]})],2)},Ci=[];const bn={};var Li=ae(je,Di,Ci,!1,Ri,null);function Ri(e){for(let n in bn)this[n]=bn[n]}const Oi=function(){return Li.exports}(),ve={};ve.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}};ve.setup=(e,n)=>{const s=e,f=H.ref(Z),g=H.shallowRef(s.diffChange.changes.filter(l=>!l.hide||l.hideIndex!==void 0)),t=H.computed(()=>g.value.slice(0,f.value)),i=H.computed(()=>g.value.length-t.value.length),r=H.computed(()=>Math.min(i.value,Z));H.watch(()=>s.diffChange,l=>{f.value=Z,g.value=l.changes.filter(u=>!u.hide||u.hideIndex!==void 0)});function a(){t.value.forEach(l=>Pe(l,s.language))}function c({hideIndex:l}){l!==void 0&&(s.diffChange.collector[l].lines.forEach(u=>{u.hide=!1,u.fold=!1}),g.value=s.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0),a())}function o(){f.value+=Z,a()}return{renderedChanges:t,remainingLines:i,nextBatchSize:r,expandHandler:c,loadMore:o}};ve.components=Object.assign({SplitLine:Oi},ve.components);var Ii=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("table",{staticClass:"file-diff-split diff-table"},[e._m(0),s("tbody",[e._l(e.renderedChanges,function(f,g){return s("SplitLine",{key:g,attrs:{"split-line":f},on:{expand:e.expandHandler}})}),e.remainingLines?s("tr",[s("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"4"}},[s("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},ki=[function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("colgroup",[s("col",{attrs:{width:"44"}}),s("col"),s("col",{attrs:{width:"44"}}),s("col")])}];const vn={};var $i=ae(ve,Ii,ki,!1,Bi,null);function Bi(e){for(let n in vn)this[n]=vn[n]}const xi=function(){return $i.exports}();var Ui=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{d:"M383.6,322.7L278.6,423c-5.8,6-13.7,9-22.4,9c-8.7,0-16.5-3-22.4-9L128.4,322.7c-12.5-11.9-12.5-31.3,0-43.2 c12.5-11.9,32.7-11.9,45.2,0l50.4,48.2v-217c0-16.9,14.3-30.6,32-30.6c17.7,0,32,13.7,32,30.6v217l50.4-48.2 c12.5-11.9,32.7-11.9,45.2,0C396.1,291.4,396.1,310.7,383.6,322.7z"}})])},Pi=[];const Fi={name:"DownArrowIcon"},mn={};var Hi=ae(Fi,Ui,Pi,!1,zi,null);function zi(e){for(let n in mn)this[n]=mn[n]}const Gi=function(){return Hi.exports}();var Ki=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{d:"M128.4,189.3L233.4,89c5.8-6,13.7-9,22.4-9c8.7,0,16.5,3,22.4,9l105.4,100.3c12.5,11.9,12.5,31.3,0,43.2 c-12.5,11.9-32.7,11.9-45.2,0L288,184.4v217c0,16.9-14.3,30.6-32,30.6c-17.7,0-32-13.7-32-30.6v-217l-50.4,48.2 c-12.5,11.9-32.7,11.9-45.2,0C115.9,220.6,115.9,201.3,128.4,189.3z"}})])},Wi=[];const qi={name:"UpArrowIcon"},En={};var Qi=ae(qi,Ki,Wi,!1,ji,null);function ji(e){for(let n in En)this[n]=En[n]}const Zi=function(){return Qi.exports}(),me={};me.props={newString:{key:"newString",required:!0,type:String},oldString:{key:"oldString",required:!0,type:String},language:{key:"language",required:!1,type:String,default:"plaintext"},context:{key:"context",required:!1,type:Number,default:10},diffStyle:{key:"diffStyle",required:!1,type:String,default:"word"},forceInlineComparison:{key:"forceInlineComparison",required:!1,type:Boolean,default:!1},outputFormat:{key:"outputFormat",required:!1,type:String,default:"line-by-line"},trim:{key:"trim",required:!1,type:Boolean,default:!1},noDiffLineFeed:{key:"noDiffLineFeed",required:!1,type:Boolean,default:!1},maxHeight:{key:"maxHeight",required:!1,type:String,default:void 0},filename:{key:"filename",required:!1,type:String,default:void 0},newFilename:{key:"newFilename",required:!1,type:String,default:void 0},hideHeader:{key:"hideHeader",required:!1,type:Boolean,default:!1},hideStat:{key:"hideStat",required:!1,type:Boolean,default:!1},theme:{key:"theme",required:!1,type:String,default:"light"},ignoreMatchingLines:{key:"ignoreMatchingLines",required:!1,type:String,default:void 0}};me.setup=(e,n)=>{const s=e,f=n.emit,g=H.computed(()=>s.outputFormat==="line-by-line"),t=H.computed(()=>{let p=s.oldString||"";return p=s.trim?p.trim():p,p=s.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
27
|
-
`):p,p}),i=H.computed(()=>{let p=s.newString||"";return p=s.trim?p.trim():p,p=s.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
28
|
-
`):p,p}),
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#fff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #1F2328;--color-diff-blob-addition-fg: #1F2328;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #1f883d;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(31,35,40,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(31,35,40,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(31,35,40,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-scale-black: #1F2328;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view *{position:static;box-sizing:border-box}.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 .file-header{position:sticky;top:0;z-index:1;background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .current-diff{border:1px solid var(--color-border-muted)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .diff-table .load-more{padding:8px;text-align:center}.code-diff-view .diff-table .load-more-button{padding:4px 12px;color:var(--color-accent-fg);background:transparent;border:1px solid var(--color-border-default);border-radius:4px;cursor:pointer}.code-diff-view .diff-table .load-more-button:hover{background-color:var(--color-accent-muted)}.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)}.code-diff-view[data-v-8b22b876] :deep(td:nth-child(1)){display:none}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const cn=require("vue"),j=require("@vue/composition-api");function Kt(e){e=e||cn,e&&!e.__composition_api_installed__&&e.use(j)}Kt(cn);cn.version;function de(){}de.prototype={diff:function(i,a){var h,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=_.callback;typeof _=="function"&&(n=_,_={}),this.options=_;var t=this;function r(M){return n?(setTimeout(function(){n(void 0,M)},0),!0):M}i=this.castInput(i),a=this.castInput(a),i=this.removeEmpty(this.tokenize(i)),a=this.removeEmpty(this.tokenize(a));var s=a.length,c=i.length,o=1,l=s+c;_.maxEditLength&&(l=Math.min(l,_.maxEditLength));var u=(h=_.timeout)!==null&&h!==void 0?h:1/0,g=Date.now()+u,d=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(d[0],a,i,0);if(d[0].oldPos+1>=c&&p+1>=s)return r([{value:this.join(a),count:a.length}]);var v=-1/0,m=1/0;function E(){for(var M=Math.max(v,-o);M<=Math.min(m,o);M+=2){var N=void 0,C=d[M-1],k=d[M+1];C&&(d[M-1]=void 0);var U=!1;if(k){var L=k.oldPos-M;U=k&&0<=L&&L<s}var B=C&&C.oldPos+1<c;if(!U&&!B){d[M]=void 0;continue}if(!B||U&&C.oldPos+1<k.oldPos?N=t.addToPath(k,!0,void 0,0):N=t.addToPath(C,void 0,!0,1),p=t.extractCommon(N,a,i,M),N.oldPos+1>=c&&p+1>=s)return r(qt(t,N.lastComponent,a,i,t.useLongestToken));d[M]=N,N.oldPos+1>=c&&(m=Math.min(m,M-1)),p+1>=s&&(v=Math.max(v,M+1))}o++}if(n)(function M(){setTimeout(function(){if(o>l||Date.now()>g)return n();E()||M()},0)})();else for(;o<=l&&Date.now()<=g;){var w=E();if(w)return w}},addToPath:function(i,a,h,_){var n=i.lastComponent;return n&&n.added===a&&n.removed===h?{oldPos:i.oldPos+_,lastComponent:{count:n.count+1,added:a,removed:h,previousComponent:n.previousComponent}}:{oldPos:i.oldPos+_,lastComponent:{count:1,added:a,removed:h,previousComponent:n}}},extractCommon:function(i,a,h,_){for(var n=a.length,t=h.length,r=i.oldPos,s=r-_,c=0;s+1<n&&r+1<t&&this.equals(a[s+1],h[r+1]);)s++,r++,c++;return c&&(i.lastComponent={count:c,previousComponent:i.lastComponent}),i.oldPos=r,s},equals:function(i,a){return this.options.comparator?this.options.comparator(i,a):i===a||this.options.ignoreCase&&i.toLowerCase()===a.toLowerCase()},removeEmpty:function(i){for(var a=[],h=0;h<i.length;h++)i[h]&&a.push(i[h]);return a},castInput:function(i){return i},tokenize:function(i){return i.split("")},join:function(i){return i.join("")}};function qt(e,i,a,h,_){for(var n=[],t;i;)n.push(i),t=i.previousComponent,delete i.previousComponent,i=t;n.reverse();for(var r=0,s=n.length,c=0,o=0;r<s;r++){var l=n[r];if(l.removed){if(l.value=e.join(h.slice(o,o+l.count)),o+=l.count,r&&n[r-1].added){var g=n[r-1];n[r-1]=n[r],n[r]=g}}else{if(!l.added&&_){var u=a.slice(c,c+l.count);u=u.map(function(p,v){var m=h[o+v];return m.length>p.length?m:p}),l.value=e.join(u)}else l.value=e.join(a.slice(c,c+l.count));c+=l.count,l.added||(o+=l.count)}}var d=n[s-1];return s>1&&typeof d.value=="string"&&(d.added||d.removed)&&e.equals("",d.value)&&(n[s-2].value+=d.value,n.pop()),n}var Wt=new de;function jt(e,i,a){return Wt.diff(e,i,a)}function Qt(e,i){if(typeof e=="function")i.callback=e;else if(e)for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a]);return i}var Rn=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,On=/\S/,un=new de;un.equals=function(e,i){return this.options.ignoreCase&&(e=e.toLowerCase(),i=i.toLowerCase()),e===i||this.options.ignoreWhitespace&&!On.test(e)&&!On.test(i)};un.tokenize=function(e){for(var i=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),a=0;a<i.length-1;a++)!i[a+1]&&i[a+2]&&Rn.test(i[a])&&Rn.test(i[a+2])&&(i[a]+=i[a+2],i.splice(a+1,2),a--);return i};function Yt(e,i,a){return a=Qt(a,{ignoreWhitespace:!0}),un.diff(e,i,a)}var fn=new de;fn.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
3
|
+
`));var i=[],a=e.split(/(\n|\r\n)/);a[a.length-1]||a.pop();for(var h=0;h<a.length;h++){var _=a[h];h%2&&!this.options.newlineIsToken?i[i.length-1]+=_:(this.options.ignoreWhitespace&&(_=_.trim()),i.push(_))}return i};function Zt(e,i,a){return fn.diff(e,i,a)}var Xt=new de;Xt.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var Vt=new de;Vt.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function We(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?We=function(i){return typeof i}:We=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},We(e)}var Jt=Object.prototype.toString,Re=new de;Re.useLongestToken=!0;Re.tokenize=fn.tokenize;Re.castInput=function(e){var i=this.options,a=i.undefinedReplacement,h=i.stringifyReplacer,_=h===void 0?function(n,t){return typeof t=="undefined"?a:t}:h;return typeof e=="string"?e:JSON.stringify(rn(e,null,null,_),_," ")};Re.equals=function(e,i){return de.prototype.equals.call(Re,e.replace(/,([\r\n])/g,"$1"),i.replace(/,([\r\n])/g,"$1"))};function rn(e,i,a,h,_){i=i||[],a=a||[],h&&(e=h(_,e));var n;for(n=0;n<i.length;n+=1)if(i[n]===e)return a[n];var t;if(Jt.call(e)==="[object Array]"){for(i.push(e),t=new Array(e.length),a.push(t),n=0;n<e.length;n+=1)t[n]=rn(e[n],i,a,h,_);return i.pop(),a.pop(),t}if(e&&e.toJSON&&(e=e.toJSON()),We(e)==="object"&&e!==null){i.push(e),t={},a.push(t);var r=[],s;for(s in e)e.hasOwnProperty(s)&&r.push(s);for(r.sort(),n=0;n<r.length;n+=1)s=r[n],t[s]=rn(e[s],i,a,h,s);i.pop(),a.pop()}else t=e;return t}var sn=new de;sn.tokenize=function(e){return e.slice()};sn.join=sn.removeEmpty=function(e){return e};function ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var en={exports:{}},In;function ni(){return In||(In=1,(function(e){var i=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},a=-1,h=1,_=0;i.Diff=function(n,t){return[n,t]},i.prototype.diff_main=function(n,t,r,s){typeof s=="undefined"&&(this.Diff_Timeout<=0?s=Number.MAX_VALUE:s=new Date().getTime()+this.Diff_Timeout*1e3);var c=s;if(n==null||t==null)throw new Error("Null input. (diff_main)");if(n==t)return n?[new i.Diff(_,n)]:[];typeof r=="undefined"&&(r=!0);var o=r,l=this.diff_commonPrefix(n,t),u=n.substring(0,l);n=n.substring(l),t=t.substring(l),l=this.diff_commonSuffix(n,t);var g=n.substring(n.length-l);n=n.substring(0,n.length-l),t=t.substring(0,t.length-l);var d=this.diff_compute_(n,t,o,c);return u&&d.unshift(new i.Diff(_,u)),g&&d.push(new i.Diff(_,g)),this.diff_cleanupMerge(d),d},i.prototype.diff_compute_=function(n,t,r,s){var c;if(!n)return[new i.Diff(h,t)];if(!t)return[new i.Diff(a,n)];var o=n.length>t.length?n:t,l=n.length>t.length?t:n,u=o.indexOf(l);if(u!=-1)return c=[new i.Diff(h,o.substring(0,u)),new i.Diff(_,l),new i.Diff(h,o.substring(u+l.length))],n.length>t.length&&(c[0][0]=c[2][0]=a),c;if(l.length==1)return[new i.Diff(a,n),new i.Diff(h,t)];var g=this.diff_halfMatch_(n,t);if(g){var d=g[0],p=g[1],v=g[2],m=g[3],E=g[4],w=this.diff_main(d,v,r,s),M=this.diff_main(p,m,r,s);return w.concat([new i.Diff(_,E)],M)}return r&&n.length>100&&t.length>100?this.diff_lineMode_(n,t,s):this.diff_bisect_(n,t,s)},i.prototype.diff_lineMode_=function(n,t,r){var s=this.diff_linesToChars_(n,t);n=s.chars1,t=s.chars2;var c=s.lineArray,o=this.diff_main(n,t,!1,r);this.diff_charsToLines_(o,c),this.diff_cleanupSemantic(o),o.push(new i.Diff(_,""));for(var l=0,u=0,g=0,d="",p="";l<o.length;){switch(o[l][0]){case h:g++,p+=o[l][1];break;case a:u++,d+=o[l][1];break;case _:if(u>=1&&g>=1){o.splice(l-u-g,u+g),l=l-u-g;for(var v=this.diff_main(d,p,!1,r),m=v.length-1;m>=0;m--)o.splice(l,0,v[m]);l=l+v.length}g=0,u=0,d="",p="";break}l++}return o.pop(),o},i.prototype.diff_bisect_=function(n,t,r){for(var s=n.length,c=t.length,o=Math.ceil((s+c)/2),l=o,u=2*o,g=new Array(u),d=new Array(u),p=0;p<u;p++)g[p]=-1,d[p]=-1;g[l+1]=0,d[l+1]=0;for(var v=s-c,m=v%2!=0,E=0,w=0,M=0,N=0,C=0;C<o&&!(new Date().getTime()>r);C++){for(var k=-C+E;k<=C-w;k+=2){var U=l+k,L;k==-C||k!=C&&g[U-1]<g[U+1]?L=g[U+1]:L=g[U-1]+1;for(var B=L-k;L<s&&B<c&&n.charAt(L)==t.charAt(B);)L++,B++;if(g[U]=L,L>s)w+=2;else if(B>c)E+=2;else if(m){var H=l+v-k;if(H>=0&&H<u&&d[H]!=-1){var G=s-d[H];if(L>=G)return this.diff_bisectSplit_(n,t,L,B,r)}}}for(var Z=-C+M;Z<=C-N;Z+=2){var H=l+Z,G;Z==-C||Z!=C&&d[H-1]<d[H+1]?G=d[H+1]:G=d[H-1]+1;for(var V=G-Z;G<s&&V<c&&n.charAt(s-G-1)==t.charAt(c-V-1);)G++,V++;if(d[H]=G,G>s)N+=2;else if(V>c)M+=2;else if(!m){var U=l+v-Z;if(U>=0&&U<u&&g[U]!=-1){var L=g[U],B=l+L-U;if(G=s-G,L>=G)return this.diff_bisectSplit_(n,t,L,B,r)}}}}return[new i.Diff(a,n),new i.Diff(h,t)]},i.prototype.diff_bisectSplit_=function(n,t,r,s,c){var o=n.substring(0,r),l=t.substring(0,s),u=n.substring(r),g=t.substring(s),d=this.diff_main(o,l,!1,c),p=this.diff_main(u,g,!1,c);return d.concat(p)},i.prototype.diff_linesToChars_=function(n,t){var r=[],s={};r[0]="";function c(g){for(var d="",p=0,v=-1,m=r.length;v<g.length-1;){v=g.indexOf(`
|
|
4
|
+
`,p),v==-1&&(v=g.length-1);var E=g.substring(p,v+1);(s.hasOwnProperty?s.hasOwnProperty(E):s[E]!==void 0)?d+=String.fromCharCode(s[E]):(m==o&&(E=g.substring(p),v=g.length),d+=String.fromCharCode(m),s[E]=m,r[m++]=E),p=v+1}return d}var o=4e4,l=c(n);o=65535;var u=c(t);return{chars1:l,chars2:u,lineArray:r}},i.prototype.diff_charsToLines_=function(n,t){for(var r=0;r<n.length;r++){for(var s=n[r][1],c=[],o=0;o<s.length;o++)c[o]=t[s.charCodeAt(o)];n[r][1]=c.join("")}},i.prototype.diff_commonPrefix=function(n,t){if(!n||!t||n.charAt(0)!=t.charAt(0))return 0;for(var r=0,s=Math.min(n.length,t.length),c=s,o=0;r<c;)n.substring(o,c)==t.substring(o,c)?(r=c,o=r):s=c,c=Math.floor((s-r)/2+r);return c},i.prototype.diff_commonSuffix=function(n,t){if(!n||!t||n.charAt(n.length-1)!=t.charAt(t.length-1))return 0;for(var r=0,s=Math.min(n.length,t.length),c=s,o=0;r<c;)n.substring(n.length-c,n.length-o)==t.substring(t.length-c,t.length-o)?(r=c,o=r):s=c,c=Math.floor((s-r)/2+r);return c},i.prototype.diff_commonOverlap_=function(n,t){var r=n.length,s=t.length;if(r==0||s==0)return 0;r>s?n=n.substring(r-s):r<s&&(t=t.substring(0,r));var c=Math.min(r,s);if(n==t)return c;for(var o=0,l=1;;){var u=n.substring(c-l),g=t.indexOf(u);if(g==-1)return o;l+=g,(g==0||n.substring(c-l)==t.substring(0,l))&&(o=l,l++)}},i.prototype.diff_halfMatch_=function(n,t){if(this.Diff_Timeout<=0)return null;var r=n.length>t.length?n:t,s=n.length>t.length?t:n;if(r.length<4||s.length*2<r.length)return null;var c=this;function o(w,M,N){for(var C=w.substring(N,N+Math.floor(w.length/4)),k=-1,U="",L,B,H,G;(k=M.indexOf(C,k+1))!=-1;){var Z=c.diff_commonPrefix(w.substring(N),M.substring(k)),V=c.diff_commonSuffix(w.substring(0,N),M.substring(0,k));U.length<V+Z&&(U=M.substring(k-V,k)+M.substring(k,k+Z),L=w.substring(0,N-V),B=w.substring(N+Z),H=M.substring(0,k-V),G=M.substring(k+Z))}return U.length*2>=w.length?[L,B,H,G,U]:null}var l=o(r,s,Math.ceil(r.length/4)),u=o(r,s,Math.ceil(r.length/2)),g;if(!l&&!u)return null;u?l?g=l[4].length>u[4].length?l:u:g=u:g=l;var d,p,v,m;n.length>t.length?(d=g[0],p=g[1],v=g[2],m=g[3]):(v=g[0],m=g[1],d=g[2],p=g[3]);var E=g[4];return[d,p,v,m,E]},i.prototype.diff_cleanupSemantic=function(n){for(var t=!1,r=[],s=0,c=null,o=0,l=0,u=0,g=0,d=0;o<n.length;)n[o][0]==_?(r[s++]=o,l=g,u=d,g=0,d=0,c=n[o][1]):(n[o][0]==h?g+=n[o][1].length:d+=n[o][1].length,c&&c.length<=Math.max(l,u)&&c.length<=Math.max(g,d)&&(n.splice(r[s-1],0,new i.Diff(a,c)),n[r[s-1]+1][0]=h,s--,s--,o=s>0?r[s-1]:-1,l=0,u=0,g=0,d=0,c=null,t=!0)),o++;for(t&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),o=1;o<n.length;){if(n[o-1][0]==a&&n[o][0]==h){var p=n[o-1][1],v=n[o][1],m=this.diff_commonOverlap_(p,v),E=this.diff_commonOverlap_(v,p);m>=E?(m>=p.length/2||m>=v.length/2)&&(n.splice(o,0,new i.Diff(_,v.substring(0,m))),n[o-1][1]=p.substring(0,p.length-m),n[o+1][1]=v.substring(m),o++):(E>=p.length/2||E>=v.length/2)&&(n.splice(o,0,new i.Diff(_,p.substring(0,E))),n[o-1][0]=h,n[o-1][1]=v.substring(0,v.length-E),n[o+1][0]=a,n[o+1][1]=p.substring(E),o++),o++}o++}},i.prototype.diff_cleanupSemanticLossless=function(n){function t(E,w){if(!E||!w)return 6;var M=E.charAt(E.length-1),N=w.charAt(0),C=M.match(i.nonAlphaNumericRegex_),k=N.match(i.nonAlphaNumericRegex_),U=C&&M.match(i.whitespaceRegex_),L=k&&N.match(i.whitespaceRegex_),B=U&&M.match(i.linebreakRegex_),H=L&&N.match(i.linebreakRegex_),G=B&&E.match(i.blanklineEndRegex_),Z=H&&w.match(i.blanklineStartRegex_);return G||Z?5:B||H?4:C&&!U&&L?3:U||L?2:C||k?1:0}for(var r=1;r<n.length-1;){if(n[r-1][0]==_&&n[r+1][0]==_){var s=n[r-1][1],c=n[r][1],o=n[r+1][1],l=this.diff_commonSuffix(s,c);if(l){var u=c.substring(c.length-l);s=s.substring(0,s.length-l),c=u+c.substring(0,c.length-l),o=u+o}for(var g=s,d=c,p=o,v=t(s,c)+t(c,o);c.charAt(0)===o.charAt(0);){s+=c.charAt(0),c=c.substring(1)+o.charAt(0),o=o.substring(1);var m=t(s,c)+t(c,o);m>=v&&(v=m,g=s,d=c,p=o)}n[r-1][1]!=g&&(g?n[r-1][1]=g:(n.splice(r-1,1),r--),n[r][1]=d,p?n[r+1][1]=p:(n.splice(r+1,1),r--))}r++}},i.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,i.whitespaceRegex_=/\s/,i.linebreakRegex_=/[\r\n]/,i.blanklineEndRegex_=/\n\r?\n$/,i.blanklineStartRegex_=/^\r?\n\r?\n/,i.prototype.diff_cleanupEfficiency=function(n){for(var t=!1,r=[],s=0,c=null,o=0,l=!1,u=!1,g=!1,d=!1;o<n.length;)n[o][0]==_?(n[o][1].length<this.Diff_EditCost&&(g||d)?(r[s++]=o,l=g,u=d,c=n[o][1]):(s=0,c=null),g=d=!1):(n[o][0]==a?d=!0:g=!0,c&&(l&&u&&g&&d||c.length<this.Diff_EditCost/2&&l+u+g+d==3)&&(n.splice(r[s-1],0,new i.Diff(a,c)),n[r[s-1]+1][0]=h,s--,c=null,l&&u?(g=d=!0,s=0):(s--,o=s>0?r[s-1]:-1,g=d=!1),t=!0)),o++;t&&this.diff_cleanupMerge(n)},i.prototype.diff_cleanupMerge=function(n){n.push(new i.Diff(_,""));for(var t=0,r=0,s=0,c="",o="",l;t<n.length;)switch(n[t][0]){case h:s++,o+=n[t][1],t++;break;case a:r++,c+=n[t][1],t++;break;case _:r+s>1?(r!==0&&s!==0&&(l=this.diff_commonPrefix(o,c),l!==0&&(t-r-s>0&&n[t-r-s-1][0]==_?n[t-r-s-1][1]+=o.substring(0,l):(n.splice(0,0,new i.Diff(_,o.substring(0,l))),t++),o=o.substring(l),c=c.substring(l)),l=this.diff_commonSuffix(o,c),l!==0&&(n[t][1]=o.substring(o.length-l)+n[t][1],o=o.substring(0,o.length-l),c=c.substring(0,c.length-l))),t-=r+s,n.splice(t,r+s),c.length&&(n.splice(t,0,new i.Diff(a,c)),t++),o.length&&(n.splice(t,0,new i.Diff(h,o)),t++),t++):t!==0&&n[t-1][0]==_?(n[t-1][1]+=n[t][1],n.splice(t,1)):t++,s=0,r=0,c="",o="";break}n[n.length-1][1]===""&&n.pop();var u=!1;for(t=1;t<n.length-1;)n[t-1][0]==_&&n[t+1][0]==_&&(n[t][1].substring(n[t][1].length-n[t-1][1].length)==n[t-1][1]?(n[t][1]=n[t-1][1]+n[t][1].substring(0,n[t][1].length-n[t-1][1].length),n[t+1][1]=n[t-1][1]+n[t+1][1],n.splice(t-1,1),u=!0):n[t][1].substring(0,n[t+1][1].length)==n[t+1][1]&&(n[t-1][1]+=n[t+1][1],n[t][1]=n[t][1].substring(n[t+1][1].length)+n[t+1][1],n.splice(t+1,1),u=!0)),t++;u&&this.diff_cleanupMerge(n)},i.prototype.diff_xIndex=function(n,t){var r=0,s=0,c=0,o=0,l;for(l=0;l<n.length&&(n[l][0]!==h&&(r+=n[l][1].length),n[l][0]!==a&&(s+=n[l][1].length),!(r>t));l++)c=r,o=s;return n.length!=l&&n[l][0]===a?o:o+(t-c)},i.prototype.diff_prettyHtml=function(n){for(var t=[],r=/&/g,s=/</g,c=/>/g,o=/\n/g,l=0;l<n.length;l++){var u=n[l][0],g=n[l][1],d=g.replace(r,"&").replace(s,"<").replace(c,">").replace(o,"¶<br>");switch(u){case h:t[l]='<ins style="background:#e6ffe6;">'+d+"</ins>";break;case a:t[l]='<del style="background:#ffe6e6;">'+d+"</del>";break;case _:t[l]="<span>"+d+"</span>";break}}return t.join("")},i.prototype.diff_text1=function(n){for(var t=[],r=0;r<n.length;r++)n[r][0]!==h&&(t[r]=n[r][1]);return t.join("")},i.prototype.diff_text2=function(n){for(var t=[],r=0;r<n.length;r++)n[r][0]!==a&&(t[r]=n[r][1]);return t.join("")},i.prototype.diff_levenshtein=function(n){for(var t=0,r=0,s=0,c=0;c<n.length;c++){var o=n[c][0],l=n[c][1];switch(o){case h:r+=l.length;break;case a:s+=l.length;break;case _:t+=Math.max(r,s),r=0,s=0;break}}return t+=Math.max(r,s),t},i.prototype.diff_toDelta=function(n){for(var t=[],r=0;r<n.length;r++)switch(n[r][0]){case h:t[r]="+"+encodeURI(n[r][1]);break;case a:t[r]="-"+n[r][1].length;break;case _:t[r]="="+n[r][1].length;break}return t.join(" ").replace(/%20/g," ")},i.prototype.diff_fromDelta=function(n,t){for(var r=[],s=0,c=0,o=t.split(/\t/g),l=0;l<o.length;l++){var u=o[l].substring(1);switch(o[l].charAt(0)){case"+":try{r[s++]=new i.Diff(h,decodeURI(u))}catch(p){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var g=parseInt(u,10);if(isNaN(g)||g<0)throw new Error("Invalid number in diff_fromDelta: "+u);var d=n.substring(c,c+=g);o[l].charAt(0)=="="?r[s++]=new i.Diff(_,d):r[s++]=new i.Diff(a,d);break;default:if(o[l])throw new Error("Invalid diff operation in diff_fromDelta: "+o[l])}}if(c!=n.length)throw new Error("Delta length ("+c+") does not equal source text length ("+n.length+").");return r},i.prototype.match_main=function(n,t,r){if(n==null||t==null||r==null)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,n.length)),n==t?0:n.length?n.substring(r,r+t.length)==t?r:this.match_bitap_(n,t,r):-1},i.prototype.match_bitap_=function(n,t,r){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var s=this.match_alphabet_(t),c=this;function o(L,B){var H=L/t.length,G=Math.abs(r-B);return c.Match_Distance?H+G/c.Match_Distance:G?1:H}var l=this.Match_Threshold,u=n.indexOf(t,r);u!=-1&&(l=Math.min(o(0,u),l),u=n.lastIndexOf(t,r+t.length),u!=-1&&(l=Math.min(o(0,u),l)));var g=1<<t.length-1;u=-1;for(var d,p,v=t.length+n.length,m,E=0;E<t.length;E++){for(d=0,p=v;d<p;)o(E,r+p)<=l?d=p:v=p,p=Math.floor((v-d)/2+d);v=p;var w=Math.max(1,r-p+1),M=Math.min(r+p,n.length)+t.length,N=Array(M+2);N[M+1]=(1<<E)-1;for(var C=M;C>=w;C--){var k=s[n.charAt(C-1)];if(E===0?N[C]=(N[C+1]<<1|1)&k:N[C]=(N[C+1]<<1|1)&k|((m[C+1]|m[C])<<1|1)|m[C+1],N[C]&g){var U=o(E,C-1);if(U<=l)if(l=U,u=C-1,u>r)w=Math.max(1,2*r-u);else break}}if(o(E+1,r)>l)break;m=N}return u},i.prototype.match_alphabet_=function(n){for(var t={},r=0;r<n.length;r++)t[n.charAt(r)]=0;for(var r=0;r<n.length;r++)t[n.charAt(r)]|=1<<n.length-r-1;return t},i.prototype.patch_addContext_=function(n,t){if(t.length!=0){if(n.start2===null)throw Error("patch not initialized");for(var r=t.substring(n.start2,n.start2+n.length1),s=0;t.indexOf(r)!=t.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)s+=this.Patch_Margin,r=t.substring(n.start2-s,n.start2+n.length1+s);s+=this.Patch_Margin;var c=t.substring(n.start2-s,n.start2);c&&n.diffs.unshift(new i.Diff(_,c));var o=t.substring(n.start2+n.length1,n.start2+n.length1+s);o&&n.diffs.push(new i.Diff(_,o)),n.start1-=c.length,n.start2-=c.length,n.length1+=c.length+o.length,n.length2+=c.length+o.length}},i.prototype.patch_make=function(n,t,r){var s,c;if(typeof n=="string"&&typeof t=="string"&&typeof r=="undefined")s=n,c=this.diff_main(s,t,!0),c.length>2&&(this.diff_cleanupSemantic(c),this.diff_cleanupEfficiency(c));else if(n&&typeof n=="object"&&typeof t=="undefined"&&typeof r=="undefined")c=n,s=this.diff_text1(c);else if(typeof n=="string"&&t&&typeof t=="object"&&typeof r=="undefined")s=n,c=t;else if(typeof n=="string"&&typeof t=="string"&&r&&typeof r=="object")s=n,c=r;else throw new Error("Unknown call format to patch_make.");if(c.length===0)return[];for(var o=[],l=new i.patch_obj,u=0,g=0,d=0,p=s,v=s,m=0;m<c.length;m++){var E=c[m][0],w=c[m][1];switch(!u&&E!==_&&(l.start1=g,l.start2=d),E){case h:l.diffs[u++]=c[m],l.length2+=w.length,v=v.substring(0,d)+w+v.substring(d);break;case a:l.length1+=w.length,l.diffs[u++]=c[m],v=v.substring(0,d)+v.substring(d+w.length);break;case _:w.length<=2*this.Patch_Margin&&u&&c.length!=m+1?(l.diffs[u++]=c[m],l.length1+=w.length,l.length2+=w.length):w.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(l,p),o.push(l),l=new i.patch_obj,u=0,p=v,g=d);break}E!==h&&(g+=w.length),E!==a&&(d+=w.length)}return u&&(this.patch_addContext_(l,p),o.push(l)),o},i.prototype.patch_deepCopy=function(n){for(var t=[],r=0;r<n.length;r++){var s=n[r],c=new i.patch_obj;c.diffs=[];for(var o=0;o<s.diffs.length;o++)c.diffs[o]=new i.Diff(s.diffs[o][0],s.diffs[o][1]);c.start1=s.start1,c.start2=s.start2,c.length1=s.length1,c.length2=s.length2,t[r]=c}return t},i.prototype.patch_apply=function(n,t){if(n.length==0)return[t,[]];n=this.patch_deepCopy(n);var r=this.patch_addPadding(n);t=r+t+r,this.patch_splitMax(n);for(var s=0,c=[],o=0;o<n.length;o++){var l=n[o].start2+s,u=this.diff_text1(n[o].diffs),g,d=-1;if(u.length>this.Match_MaxBits?(g=this.match_main(t,u.substring(0,this.Match_MaxBits),l),g!=-1&&(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits),(d==-1||g>=d)&&(g=-1))):g=this.match_main(t,u,l),g==-1)c[o]=!1,s-=n[o].length2-n[o].length1;else{c[o]=!0,s=g-l;var p;if(d==-1?p=t.substring(g,g+u.length):p=t.substring(g,d+this.Match_MaxBits),u==p)t=t.substring(0,g)+this.diff_text2(n[o].diffs)+t.substring(g+u.length);else{var v=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(v)/u.length>this.Patch_DeleteThreshold)c[o]=!1;else{this.diff_cleanupSemanticLossless(v);for(var m=0,E,w=0;w<n[o].diffs.length;w++){var M=n[o].diffs[w];M[0]!==_&&(E=this.diff_xIndex(v,m)),M[0]===h?t=t.substring(0,g+E)+M[1]+t.substring(g+E):M[0]===a&&(t=t.substring(0,g+E)+t.substring(g+this.diff_xIndex(v,m+M[1].length))),M[0]!==a&&(m+=M[1].length)}}}}}return t=t.substring(r.length,t.length-r.length),[t,c]},i.prototype.patch_addPadding=function(n){for(var t=this.Patch_Margin,r="",s=1;s<=t;s++)r+=String.fromCharCode(s);for(var s=0;s<n.length;s++)n[s].start1+=t,n[s].start2+=t;var c=n[0],o=c.diffs;if(o.length==0||o[0][0]!=_)o.unshift(new i.Diff(_,r)),c.start1-=t,c.start2-=t,c.length1+=t,c.length2+=t;else if(t>o[0][1].length){var l=t-o[0][1].length;o[0][1]=r.substring(o[0][1].length)+o[0][1],c.start1-=l,c.start2-=l,c.length1+=l,c.length2+=l}if(c=n[n.length-1],o=c.diffs,o.length==0||o[o.length-1][0]!=_)o.push(new i.Diff(_,r)),c.length1+=t,c.length2+=t;else if(t>o[o.length-1][1].length){var l=t-o[o.length-1][1].length;o[o.length-1][1]+=r.substring(0,l),c.length1+=l,c.length2+=l}return r},i.prototype.patch_splitMax=function(n){for(var t=this.Match_MaxBits,r=0;r<n.length;r++)if(!(n[r].length1<=t)){var s=n[r];n.splice(r--,1);for(var c=s.start1,o=s.start2,l="";s.diffs.length!==0;){var u=new i.patch_obj,g=!0;for(u.start1=c-l.length,u.start2=o-l.length,l!==""&&(u.length1=u.length2=l.length,u.diffs.push(new i.Diff(_,l)));s.diffs.length!==0&&u.length1<t-this.Patch_Margin;){var d=s.diffs[0][0],p=s.diffs[0][1];d===h?(u.length2+=p.length,o+=p.length,u.diffs.push(s.diffs.shift()),g=!1):d===a&&u.diffs.length==1&&u.diffs[0][0]==_&&p.length>2*t?(u.length1+=p.length,c+=p.length,g=!1,u.diffs.push(new i.Diff(d,p)),s.diffs.shift()):(p=p.substring(0,t-u.length1-this.Patch_Margin),u.length1+=p.length,c+=p.length,d===_?(u.length2+=p.length,o+=p.length):g=!1,u.diffs.push(new i.Diff(d,p)),p==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(p.length))}l=this.diff_text2(u.diffs),l=l.substring(l.length-this.Patch_Margin);var v=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);v!==""&&(u.length1+=v.length,u.length2+=v.length,u.diffs.length!==0&&u.diffs[u.diffs.length-1][0]===_?u.diffs[u.diffs.length-1][1]+=v:u.diffs.push(new i.Diff(_,v))),g||n.splice(++r,0,u)}}},i.prototype.patch_toText=function(n){for(var t=[],r=0;r<n.length;r++)t[r]=n[r];return t.join("")},i.prototype.patch_fromText=function(n){var t=[];if(!n)return t;for(var r=n.split(`
|
|
5
|
+
`),s=0,c=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;s<r.length;){var o=r[s].match(c);if(!o)throw new Error("Invalid patch string: "+r[s]);var l=new i.patch_obj;for(t.push(l),l.start1=parseInt(o[1],10),o[2]===""?(l.start1--,l.length1=1):o[2]=="0"?l.length1=0:(l.start1--,l.length1=parseInt(o[2],10)),l.start2=parseInt(o[3],10),o[4]===""?(l.start2--,l.length2=1):o[4]=="0"?l.length2=0:(l.start2--,l.length2=parseInt(o[4],10)),s++;s<r.length;){var u=r[s].charAt(0);try{var g=decodeURI(r[s].substring(1))}catch(d){throw new Error("Illegal escape in patch_fromText: "+g)}if(u=="-")l.diffs.push(new i.Diff(a,g));else if(u=="+")l.diffs.push(new i.Diff(h,g));else if(u==" ")l.diffs.push(new i.Diff(_,g));else{if(u=="@")break;if(u!=="")throw new Error('Invalid patch mode "'+u+'" in: '+g)}s++}}return t},i.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},i.patch_obj.prototype.toString=function(){var n,t;this.length1===0?n=this.start1+",0":this.length1==1?n=this.start1+1:n=this.start1+1+","+this.length1,this.length2===0?t=this.start2+",0":this.length2==1?t=this.start2+1:t=this.start2+1+","+this.length2;for(var r=["@@ -"+n+" +"+t+` @@
|
|
6
|
+
`],s,c=0;c<this.diffs.length;c++){switch(this.diffs[c][0]){case h:s="+";break;case a:s="-";break;case _:s=" ";break}r[c+1]=s+encodeURI(this.diffs[c][1])+`
|
|
7
|
+
`}return r.join("").replace(/%20/g," ")},e.exports=i,e.exports.diff_match_patch=i,e.exports.DIFF_DELETE=a,e.exports.DIFF_INSERT=h,e.exports.DIFF_EQUAL=_})(en)),en.exports}var nn=ni(),tn,kn;function ti(){if(kn)return tn;kn=1;function e(f){return f instanceof Map?f.clear=f.delete=f.set=function(){throw new Error("map is read-only")}:f instanceof Set&&(f.add=f.clear=f.delete=function(){throw new Error("set is read-only")}),Object.freeze(f),Object.getOwnPropertyNames(f).forEach(b=>{const T=f[b],x=typeof T;(x==="object"||x==="function")&&!Object.isFrozen(T)&&e(T)}),f}class i{constructor(b){b.data===void 0&&(b.data={}),this.data=b.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(f){return f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function h(f,...b){const T=Object.create(null);for(const x in f)T[x]=f[x];return b.forEach(function(x){for(const Q in x)T[Q]=x[Q]}),T}const _="</span>",n=f=>!!f.scope,t=(f,{prefix:b})=>{if(f.startsWith("language:"))return f.replace("language:","language-");if(f.includes(".")){const T=f.split(".");return[`${b}${T.shift()}`,...T.map((x,Q)=>`${x}${"_".repeat(Q+1)}`)].join(" ")}return`${b}${f}`};class r{constructor(b,T){this.buffer="",this.classPrefix=T.classPrefix,b.walk(this)}addText(b){this.buffer+=a(b)}openNode(b){if(!n(b))return;const T=t(b.scope,{prefix:this.classPrefix});this.span(T)}closeNode(b){n(b)&&(this.buffer+=_)}value(){return this.buffer}span(b){this.buffer+=`<span class="${b}">`}}const s=(f={})=>{const b={children:[]};return Object.assign(b,f),b};class c{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(b){this.top.children.push(b)}openNode(b){const T=s({scope:b});this.add(T),this.stack.push(T)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(b){return this.constructor._walk(b,this.rootNode)}static _walk(b,T){return typeof T=="string"?b.addText(T):T.children&&(b.openNode(T),T.children.forEach(x=>this._walk(b,x)),b.closeNode(T)),b}static _collapse(b){typeof b!="string"&&b.children&&(b.children.every(T=>typeof T=="string")?b.children=[b.children.join("")]:b.children.forEach(T=>{c._collapse(T)}))}}class o extends c{constructor(b){super(),this.options=b}addText(b){b!==""&&this.add(b)}startScope(b){this.openNode(b)}endScope(){this.closeNode()}__addSublanguage(b,T){const x=b.root;T&&(x.scope=`language:${T}`),this.add(x)}toHTML(){return new r(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(f){return f?typeof f=="string"?f:f.source:null}function u(f){return p("(?=",f,")")}function g(f){return p("(?:",f,")*")}function d(f){return p("(?:",f,")?")}function p(...f){return f.map(T=>l(T)).join("")}function v(f){const b=f[f.length-1];return typeof b=="object"&&b.constructor===Object?(f.splice(f.length-1,1),b):{}}function m(...f){return"("+(v(f).capture?"":"?:")+f.map(x=>l(x)).join("|")+")"}function E(f){return new RegExp(f.toString()+"|").exec("").length-1}function w(f,b){const T=f&&f.exec(b);return T&&T.index===0}const M=new RegExp(m(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function N(f,{joinWith:b}){let T=0;return f.map(x=>{T+=1;const Q=T;let Y=l(x),R="";for(;Y.length>0;){const S=M.exec(Y);if(!S){R+=Y;break}R+=Y.substring(0,S.index),Y=Y.substring(S.index+S[0].length),S[0][0]==="\\"&&S[1]?R+="\\"+String(Number(S[1])+Q):(R+=S[0],(S[0]==="("||/^\(\?[<']/.test(S[0]))&&T++)}return R}).map(x=>`(${x})`).join(b)}const C=/\b\B/,k="[a-zA-Z]\\w*",U="[a-zA-Z_]\\w*",L="\\b\\d+(\\.\\d+)?",B="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",H="\\b(0b[01]+)",G="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Z=(f={})=>{const b=/^#![ ]*\//;return f.binary&&(f.begin=p(b,/.*\b/,f.binary,/\b.*/)),h({scope:"meta",begin:b,end:/$/,relevance:0,"on:begin":(T,x)=>{T.index!==0&&x.ignoreMatch()}},f)},V={begin:"\\\\[\\s\\S]",relevance:0},Se={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[V]},we={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[V]},De={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/},J=function(f,b,T={}){const x=h({scope:"comment",begin:f,end:b,contains:[]},T);x.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Q=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return x.contains.push({begin:p(/[ ]+/,"(",Q,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),x},le=J("//","$"),me=J("/\\*","\\*/"),Te=J("#","$"),Ce={scope:"number",begin:L,relevance:0},Be={scope:"number",begin:B,relevance:0},nt={scope:"number",begin:H,relevance:0},tt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[V,{begin:/\[/,end:/\]/,relevance:0,contains:[V]}]},it={scope:"title",begin:k,relevance:0},rt={scope:"title",begin:U,relevance:0},st={begin:"\\.\\s*"+U,relevance:0};var xe=Object.freeze({__proto__:null,APOS_STRING_MODE:Se,BACKSLASH_ESCAPE:V,BINARY_NUMBER_MODE:nt,BINARY_NUMBER_RE:H,COMMENT:J,C_BLOCK_COMMENT_MODE:me,C_LINE_COMMENT_MODE:le,C_NUMBER_MODE:Be,C_NUMBER_RE:B,END_SAME_AS_BEGIN:function(f){return Object.assign(f,{"on:begin":(b,T)=>{T.data._beginMatch=b[1]},"on:end":(b,T)=>{T.data._beginMatch!==b[1]&&T.ignoreMatch()}})},HASH_COMMENT_MODE:Te,IDENT_RE:k,MATCH_NOTHING_RE:C,METHOD_GUARD:st,NUMBER_MODE:Ce,NUMBER_RE:L,PHRASAL_WORDS_MODE:De,QUOTE_STRING_MODE:we,REGEXP_MODE:tt,RE_STARTERS_RE:G,SHEBANG:Z,TITLE_MODE:it,UNDERSCORE_IDENT_RE:U,UNDERSCORE_TITLE_MODE:rt});function at(f,b){f.input[f.index-1]==="."&&b.ignoreMatch()}function ot(f,b){f.className!==void 0&&(f.scope=f.className,delete f.className)}function lt(f,b){b&&f.beginKeywords&&(f.begin="\\b("+f.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",f.__beforeBegin=at,f.keywords=f.keywords||f.beginKeywords,delete f.beginKeywords,f.relevance===void 0&&(f.relevance=0))}function ct(f,b){Array.isArray(f.illegal)&&(f.illegal=m(...f.illegal))}function ut(f,b){if(f.match){if(f.begin||f.end)throw new Error("begin & end are not supported with match");f.begin=f.match,delete f.match}}function ft(f,b){f.relevance===void 0&&(f.relevance=1)}const gt=(f,b)=>{if(!f.beforeMatch)return;if(f.starts)throw new Error("beforeMatch cannot be used with starts");const T=Object.assign({},f);Object.keys(f).forEach(x=>{delete f[x]}),f.keywords=T.keywords,f.begin=p(T.beforeMatch,u(T.begin)),f.starts={relevance:0,contains:[Object.assign(T,{endsParent:!0})]},f.relevance=0,delete T.beforeMatch},ht=["of","and","for","in","not","or","if","then","parent","list","value"],dt="keyword";function pn(f,b,T=dt){const x=Object.create(null);return typeof f=="string"?Q(T,f.split(" ")):Array.isArray(f)?Q(T,f):Object.keys(f).forEach(function(Y){Object.assign(x,pn(f[Y],b,Y))}),x;function Q(Y,R){b&&(R=R.map(S=>S.toLowerCase())),R.forEach(function(S){const $=S.split("|");x[$[0]]=[Y,pt($[0],$[1])]})}}function pt(f,b){return b?Number(b):_t(f)?0:1}function _t(f){return ht.includes(f.toLowerCase())}const _n={},Ee=f=>{console.error(f)},bn=(f,...b)=>{console.log(`WARN: ${f}`,...b)},Ae=(f,b)=>{_n[`${f}/${b}`]||(console.log(`Deprecated as of ${f}. ${b}`),_n[`${f}/${b}`]=!0)},Pe=new Error;function vn(f,b,{key:T}){let x=0;const Q=f[T],Y={},R={};for(let S=1;S<=b.length;S++)R[S+x]=Q[S],Y[S+x]=!0,x+=E(b[S-1]);f[T]=R,f[T]._emit=Y,f[T]._multi=!0}function bt(f){if(Array.isArray(f.begin)){if(f.skip||f.excludeBegin||f.returnBegin)throw Ee("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Pe;if(typeof f.beginScope!="object"||f.beginScope===null)throw Ee("beginScope must be object"),Pe;vn(f,f.begin,{key:"beginScope"}),f.begin=N(f.begin,{joinWith:""})}}function vt(f){if(Array.isArray(f.end)){if(f.skip||f.excludeEnd||f.returnEnd)throw Ee("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Pe;if(typeof f.endScope!="object"||f.endScope===null)throw Ee("endScope must be object"),Pe;vn(f,f.end,{key:"endScope"}),f.end=N(f.end,{joinWith:""})}}function mt(f){f.scope&&typeof f.scope=="object"&&f.scope!==null&&(f.beginScope=f.scope,delete f.scope)}function Et(f){mt(f),typeof f.beginScope=="string"&&(f.beginScope={_wrap:f.beginScope}),typeof f.endScope=="string"&&(f.endScope={_wrap:f.endScope}),bt(f),vt(f)}function yt(f){function b(R,S){return new RegExp(l(R),"m"+(f.case_insensitive?"i":"")+(f.unicodeRegex?"u":"")+(S?"g":""))}class T{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(S,$){$.position=this.position++,this.matchIndexes[this.matchAt]=$,this.regexes.push([$,S]),this.matchAt+=E(S)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const S=this.regexes.map($=>$[1]);this.matcherRe=b(N(S,{joinWith:"|"}),!0),this.lastIndex=0}exec(S){this.matcherRe.lastIndex=this.lastIndex;const $=this.matcherRe.exec(S);if(!$)return null;const ne=$.findIndex((Le,Qe)=>Qe>0&&Le!==void 0),X=this.matchIndexes[ne];return $.splice(0,ne),Object.assign($,X)}}class x{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(S){if(this.multiRegexes[S])return this.multiRegexes[S];const $=new T;return this.rules.slice(S).forEach(([ne,X])=>$.addRule(ne,X)),$.compile(),this.multiRegexes[S]=$,$}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(S,$){this.rules.push([S,$]),$.type==="begin"&&this.count++}exec(S){const $=this.getMatcher(this.regexIndex);$.lastIndex=this.lastIndex;let ne=$.exec(S);if(this.resumingScanAtSamePosition()&&!(ne&&ne.index===this.lastIndex)){const X=this.getMatcher(0);X.lastIndex=this.lastIndex+1,ne=X.exec(S)}return ne&&(this.regexIndex+=ne.position+1,this.regexIndex===this.count&&this.considerAll()),ne}}function Q(R){const S=new x;return R.contains.forEach($=>S.addRule($.begin,{rule:$,type:"begin"})),R.terminatorEnd&&S.addRule(R.terminatorEnd,{type:"end"}),R.illegal&&S.addRule(R.illegal,{type:"illegal"}),S}function Y(R,S){const $=R;if(R.isCompiled)return $;[ot,ut,Et,gt].forEach(X=>X(R,S)),f.compilerExtensions.forEach(X=>X(R,S)),R.__beforeBegin=null,[lt,ct,ft].forEach(X=>X(R,S)),R.isCompiled=!0;let ne=null;return typeof R.keywords=="object"&&R.keywords.$pattern&&(R.keywords=Object.assign({},R.keywords),ne=R.keywords.$pattern,delete R.keywords.$pattern),ne=ne||/\w+/,R.keywords&&(R.keywords=pn(R.keywords,f.case_insensitive)),$.keywordPatternRe=b(ne,!0),S&&(R.begin||(R.begin=/\B|\b/),$.beginRe=b($.begin),!R.end&&!R.endsWithParent&&(R.end=/\B|\b/),R.end&&($.endRe=b($.end)),$.terminatorEnd=l($.end)||"",R.endsWithParent&&S.terminatorEnd&&($.terminatorEnd+=(R.end?"|":"")+S.terminatorEnd)),R.illegal&&($.illegalRe=b(R.illegal)),R.contains||(R.contains=[]),R.contains=[].concat(...R.contains.map(function(X){return wt(X==="self"?R:X)})),R.contains.forEach(function(X){Y(X,$)}),R.starts&&Y(R.starts,S),$.matcher=Q($),$}if(f.compilerExtensions||(f.compilerExtensions=[]),f.contains&&f.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return f.classNameAliases=h(f.classNameAliases||{}),Y(f)}function mn(f){return f?f.endsWithParent||mn(f.starts):!1}function wt(f){return f.variants&&!f.cachedVariants&&(f.cachedVariants=f.variants.map(function(b){return h(f,{variants:null},b)})),f.cachedVariants?f.cachedVariants:mn(f)?h(f,{starts:f.starts?h(f.starts):null}):Object.isFrozen(f)?h(f):f}var Tt="11.12.0";class At extends Error{constructor(b,T){super(b),this.name="HTMLInjectionError",this.html=T}}const je=a,En=h,yn=Symbol("nomatch"),Mt=7,wn=function(f){const b=Object.create(null),T=Object.create(null),x=[];let Q=!0;const Y="Could not find the language '{}', did you forget to load/include a language module?",R={disableAutodetect:!0,name:"Plain text",contains:[]};let S={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:o};function $(y){return S.noHighlightRe.test(y)}function ne(y){let I=y.className+" ";I+=y.parentNode?y.parentNode.className:"";const z=S.languageDetectRe.exec(I);if(z){const q=pe(z[1]);return q||(bn(Y.replace("{}",z[1])),bn("Falling back to no-highlight mode for this block.",y)),q?z[1]:"no-highlight"}return I.split(/\s+/).find(q=>$(q)||pe(q))}function X(y,I,z){let q="",ee="";typeof I=="object"?(q=y,z=I.ignoreIllegals,ee=I.language):(Ae("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ae("10.7.0",`Please use highlight(code, options) instead.
|
|
8
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),ee=y,q=I),z===void 0&&(z=!0);const oe={code:q,language:ee};Fe("before:highlight",oe);const _e=oe.result?oe.result:Le(oe.language,oe.code,z);return _e.code=oe.code,Fe("after:highlight",_e),_e}function Le(y,I,z,q){const ee=Object.create(null);function oe(A,O){return A.keywords[O]}function _e(){if(!P.keywords){te.addText(W);return}let A=0;P.keywordPatternRe.lastIndex=0;let O=P.keywordPatternRe.exec(W),F="";for(;O;){F+=W.substring(A,O.index);const K=ue.case_insensitive?O[0].toLowerCase():O[0],ie=oe(P,K);if(ie){const[he,Ht]=ie;if(te.addText(F),F="",ee[K]=(ee[K]||0)+1,ee[K]<=Mt&&(Ge+=Ht),he.startsWith("_"))F+=O[0];else{const Gt=ue.classNameAliases[he]||he;ce(O[0],Gt)}}else F+=O[0];A=P.keywordPatternRe.lastIndex,O=P.keywordPatternRe.exec(W)}F+=W.substring(A),te.addText(F)}function ze(){if(W==="")return;let A=null;if(typeof P.subLanguage=="string"){if(!b[P.subLanguage]){te.addText(W);return}A=Le(P.subLanguage,W,!0,Ln[P.subLanguage]),Ln[P.subLanguage]=A._top}else A=Ye(W,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(Ge+=A.relevance),te.__addSublanguage(A._emitter,A.language)}function re(){P.subLanguage!=null?ze():_e(),W=""}function ce(A,O){A!==""&&(te.startScope(O),te.addText(A),te.endScope())}function Nn(A,O){let F=1;const K=O.length-1;for(;F<=K;){if(!A._emit[F]){F++;continue}const ie=ue.classNameAliases[A[F]]||A[F],he=O[F];ie?ce(he,ie):(W=he,_e(),W=""),F++}}function Sn(A,O){return A.scope&&typeof A.scope=="string"&&te.openNode(ue.classNameAliases[A.scope]||A.scope),A.beginScope&&(A.beginScope._wrap?(ce(W,ue.classNameAliases[A.beginScope._wrap]||A.beginScope._wrap),W=""):A.beginScope._multi&&(Nn(A.beginScope,O),W="")),P=Object.create(A,{parent:{value:P}}),P}function Dn(A,O,F){let K=w(A.endRe,F);if(K){if(A["on:end"]){const ie=new i(A);A["on:end"](O,ie),ie.isMatchIgnored&&(K=!1)}if(K){for(;A.endsParent&&A.parent;)A=A.parent;return A}}if(A.endsWithParent)return Dn(A.parent,O,F)}function xt(A){return P.matcher.regexIndex===0?(W+=A[0],1):(Je=!0,0)}function Pt(A){const O=A[0],F=A.rule,K=new i(F),ie=[F.__beforeBegin,F["on:begin"]];for(const he of ie)if(he&&(he(A,K),K.isMatchIgnored))return xt(O);return F.skip?W+=O:(F.excludeBegin&&(W+=O),re(),!F.returnBegin&&!F.excludeBegin&&(W=O)),Sn(F,A),F.returnBegin?0:O.length}function Ut(A){const O=A[0],F=I.substring(A.index),K=Dn(P,A,F);if(!K)return yn;const ie=P;P.endScope&&P.endScope._wrap?(re(),ce(O,P.endScope._wrap)):P.endScope&&P.endScope._multi?(re(),Nn(P.endScope,A)):ie.skip?W+=O:(ie.returnEnd||ie.excludeEnd||(W+=O),re(),ie.excludeEnd&&(W=O));do P.scope&&te.closeNode(),!P.skip&&!P.subLanguage&&(Ge+=P.relevance),P=P.parent;while(P!==K.parent);return K.starts&&Sn(K.starts,A),ie.returnEnd?0:O.length}function Ft(){const A=[];for(let O=P;O!==ue;O=O.parent)O.scope&&A.unshift(O.scope);A.forEach(O=>te.openNode(O))}let He={};function Cn(A,O){const F=O&&O[0];if(W+=A,F==null)return re(),0;if(He.type==="begin"&&O.type==="end"&&He.index===O.index&&F===""){if(W+=I.slice(O.index,O.index+1),!Q){const K=new Error(`0 width match regex (${y})`);throw K.languageName=y,K.badRule=He.rule,K}return 1}if(He=O,O.type==="begin")return Pt(O);if(O.type==="illegal"&&!z){const K=new Error('Illegal lexeme "'+F+'" for mode "'+(P.scope||"<unnamed>")+'"');throw K.mode=P,K}else if(O.type==="end"){const K=Ut(O);if(K!==yn)return K}if(O.type==="illegal"&&F==="")return O.index===I.length||(W+=`
|
|
9
|
+
`),1;if(Ve>1e5&&Ve>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return W+=F,F.length}const ue=pe(y);if(!ue)throw Ee(Y.replace("{}",y)),new Error('Unknown language: "'+y+'"');const zt=yt(ue);let Xe="",P=q||zt;const Ln={},te=new S.__emitter(S);Ft();let W="",Ge=0,ye=0,Ve=0,Je=!1;try{if(ue.__emitTokens)ue.__emitTokens(I,te);else{for(P.matcher.considerAll();;){Ve++,Je?Je=!1:P.matcher.considerAll(),P.matcher.lastIndex=ye;const A=P.matcher.exec(I);if(!A)break;const O=I.substring(ye,A.index),F=Cn(O,A);ye=A.index+F}Cn(I.substring(ye))}return te.finalize(),Xe=te.toHTML(),{language:y,value:Xe,relevance:Ge,illegal:!1,_emitter:te,_top:P}}catch(A){if(A.message&&A.message.includes("Illegal"))return{language:y,value:je(I),illegal:!0,relevance:0,_illegalBy:{message:A.message,index:ye,context:I.slice(ye-100,ye+100),mode:A.mode,resultSoFar:Xe},_emitter:te};if(Q)return{language:y,value:je(I),illegal:!1,relevance:0,errorRaised:A,_emitter:te,_top:P};throw A}}function Qe(y){const I={value:je(y),illegal:!1,relevance:0,_top:R,_emitter:new S.__emitter(S)};return I._emitter.addText(y),I}function Ye(y,I){I=I||S.languages||Object.keys(b);const z=Qe(y),q=I.filter(pe).filter(Mn).map(re=>Le(re,y,!1));q.unshift(z);const ee=q.sort((re,ce)=>{if(re.relevance!==ce.relevance)return ce.relevance-re.relevance;if(re.language&&ce.language){if(pe(re.language).supersetOf===ce.language)return 1;if(pe(ce.language).supersetOf===re.language)return-1}return 0}),[oe,_e]=ee,ze=oe;return ze.secondBest=_e,ze}function Nt(y,I,z){const q=I&&T[I]||z;y.classList.add("hljs"),y.classList.add(`language-${q}`)}function Ze(y){let I=null;const z=ne(y);if($(z))return;if(Fe("before:highlightElement",{el:y,language:z}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(S.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(y)),S.throwUnescapedHTML))throw new At("One of your code blocks includes unescaped HTML.",y.innerHTML);I=y;const q=I.textContent,ee=z?X(q,{language:z,ignoreIllegals:!0}):Ye(q);y.innerHTML=ee.value,y.dataset.highlighted="yes",Nt(y,z,ee.language),y.result={language:ee.language,re:ee.relevance,relevance:ee.relevance},ee.secondBest&&(y.secondBest={language:ee.secondBest.language,relevance:ee.secondBest.relevance}),Fe("after:highlightElement",{el:y,result:ee,text:q})}function St(y){S=En(S,y)}const Dt=()=>{Ue(),Ae("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Ct(){Ue(),Ae("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Tn=!1;function Ue(){function y(){Ue()}if(document.readyState==="loading"){Tn||window.addEventListener("DOMContentLoaded",y,!1),Tn=!0;return}document.querySelectorAll(S.cssSelector).forEach(Ze)}function Lt(y,I){let z=null;try{z=I(f)}catch(q){if(Ee("Language definition for '{}' could not be registered.".replace("{}",y)),Q)Ee(q);else throw q;z=R}z.name||(z.name=y),b[y]=z,z.rawDefinition=I.bind(null,f),z.aliases&&An(z.aliases,{languageName:y})}function Rt(y){delete b[y];for(const I of Object.keys(T))T[I]===y&&delete T[I]}function Ot(){return Object.keys(b)}function pe(y){return y=(y||"").toLowerCase(),b[y]||b[T[y]]}function An(y,{languageName:I}){typeof y=="string"&&(y=[y]),y.forEach(z=>{T[z.toLowerCase()]=I})}function Mn(y){const I=pe(y);return I&&!I.disableAutodetect}function It(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=I=>{y["before:highlightBlock"](Object.assign({block:I.el},I))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=I=>{y["after:highlightBlock"](Object.assign({block:I.el},I))})}function kt(y){It(y),x.push(y)}function $t(y){const I=x.indexOf(y);I!==-1&&x.splice(I,1)}function Fe(y,I){const z=y;x.forEach(function(q){q[z]&&q[z](I)})}function Bt(y){return Ae("10.7.0","highlightBlock will be removed entirely in v12.0"),Ae("10.7.0","Please use highlightElement now."),Ze(y)}Object.assign(f,{highlight:X,highlightAuto:Ye,highlightAll:Ue,highlightElement:Ze,highlightBlock:Bt,configure:St,initHighlighting:Dt,initHighlightingOnLoad:Ct,registerLanguage:Lt,unregisterLanguage:Rt,listLanguages:Ot,getLanguage:pe,registerAliases:An,autoDetection:Mn,inherit:En,addPlugin:kt,removePlugin:$t}),f.debugMode=function(){Q=!1},f.safeMode=function(){Q=!0},f.versionString=Tt,f.regex={concat:p,lookahead:u,either:m,optional:d,anyNumberOfTimes:g};for(const y in xe)typeof xe[y]=="object"&&e(xe[y]);return Object.assign(f,xe),f},Me=wn({});return Me.newInstance=()=>wn({}),tn=Me,Me.HighlightJS=Me,Me.default=Me,tn}var ii=ti();const se=ei(ii);function ri(e){const i=e.regex,a=i.concat(/[\p{L}_]/u,i.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),h=/[\p{L}0-9._:-]+/u,_={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},t=e.inherit(n,{begin:/\(/,end:/\)/}),r=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:h,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[_]},{begin:/'/,end:/'/,contains:[_]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[n,s,r,t,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[n,t,s,r]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},_,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:i.concat(/</,i.lookahead(i.concat(a,i.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:c}]},{className:"tag",begin:i.concat(/<\//,i.lookahead(i.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const $n="[A-Za-z$_][0-9A-Za-z$_]*",si=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],ai=["true","false","null","undefined","NaN","Infinity"],jn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Qn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Yn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],oi=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],li=[].concat(Yn,jn,Qn);function ci(e){const i=e.regex,a=(J,{after:le})=>{const me="</"+J[0].slice(1);return J.input.indexOf(me,le)!==-1},h=$n,_={begin:"<>",end:"</>"},n=/<[A-Za-z0-9\\._:-]+\s*\/>/,t={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(J,le)=>{const me=J[0].length+J.index,Te=J.input[me];if(Te==="<"||Te===","){le.ignoreMatch();return}Te===">"&&(a(J,{after:me})||le.ignoreMatch());let Ce;const Be=J.input.substring(me);if(Ce=Be.match(/^\s*=/)){le.ignoreMatch();return}if((Ce=Be.match(/^\s+extends\s+/))&&Ce.index===0){le.ignoreMatch();return}}},r={$pattern:$n,keyword:si,literal:ai,built_in:li,"variable.language":oi},s="[0-9](_?[0-9])*",c=`\\.(${s})`,o="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${o})((${c})|\\.)?|(${c}))[eE][+-]?(${s})\\b`},{begin:`\\b(${o})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},w=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,p,v,{match:/\$\d+/},l];u.contains=w.concat({begin:/\{/,end:/\}/,keywords:r,contains:["self"].concat(w)});const M=[].concat(E,u.contains),N=M.concat([{begin:/(\s*)\(/,end:/\)/,keywords:r,contains:["self"].concat(M)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:N},k={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,i.concat(h,"(",i.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},U={relevance:0,match:i.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...jn,...Qn]}},L={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},H={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function G(J){return i.concat("(?!",J.join("|"),")")}const Z={match:i.concat(/\b/,G([...Yn,"super","import","await"].map(J=>`${J}\\s*\\(`)),h,i.lookahead(/\s*\(/)),className:"title.function",relevance:0},V={begin:i.concat(/\./,i.lookahead(i.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Se={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},we="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",De={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,i.lookahead(we)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:r,exports:{PARAMS_CONTAINS:N,CLASS_REFERENCE:U},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),L,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,p,v,E,{match:/\$\d+/},l,U,{scope:"attr",match:h+i.lookahead(":"),relevance:0},De,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:we,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:N}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:n},{begin:t.begin,"on:begin":t.isTrulyOpeningTag,end:t.end}],subLanguage:"xml",contains:[{begin:t.begin,end:t.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},V,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},Z,H,k,Se,{match:/\$[(.]/}]}}const ui="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",fi={scope:"number",match:ui,relevance:0};function gi(e){const i={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},h=["true","false","null"],_={scope:"literal",beginKeywords:h.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:h},contains:[i,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,fi,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function hi(e){const i="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",h={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},_={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},n={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},t={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,_]},r=e.inherit(t,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),u={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:i,relevance:0},d={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},v=[h,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:i,keywords:{literal:i}},u,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},d,p,n,t],m=[...v];return m.pop(),m.push(r),g.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}function di(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function pi(e){const i=e.regex,a=/[\p{XID_Start}_]\p{XID_Continue}*/u,h=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:h,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},s={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},o={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,s],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,s,o,c]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,o,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,c]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",g=`(\\b(${u}))?\\.(${u})|\\b(${u})\\.`,d=`\\b|${h.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${u})|(${g}))[eE][+-]?(${u})[jJ]?(?=${d})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${u})[jJ](?=${d})`}]},v={className:"comment",begin:i.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",s,p,l,e.HASH_COMMENT_MODE]}]};return c.contains=[l,p,s],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[s,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,v,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,m,l]}]}}var Ne="[0-9](_*[0-9])*",Ke=`\\.(${Ne})`,qe="[0-9a-fA-F](_*[0-9a-fA-F])*",Bn={className:"number",variants:[{begin:`(\\b(${Ne})((${Ke})|\\.)?|(${Ke}))[eE][+-]?(${Ne})[fFdD]?\\b`},{begin:`\\b(${Ne})((${Ke})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Ke})[fFdD]?\\b`},{begin:`\\b(${Ne})[fFdD]\\b`},{begin:`\\b0[xX]((${qe})\\.?|(${qe})?\\.(${qe}))[pP][+-]?(${Ne})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${qe})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Zn(e,i,a){return a===-1?"":e.replace(i,h=>Zn(e,i,a-1))}function _i(e){const i=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",h="(?:(?:\\s*\\[\\s*])+)?",_=a+"<@@@>"+h,t="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+_+")?")+"|"+_+")",r=Zn("(?:\\s*<\\s*"+t+"(?:\\s*,\\s*"+t+")*\\s*>)?",/<@@@>/g,2),u={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},g={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},d={className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:u,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[a,i.concat(r,h,/\s+/),a,h,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{begin:[a,i.concat(r,h,/\s+/),a,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:u,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,Bn,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Bn,g]}}function bi(e){const i=e.regex,a={},h={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:i.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},h]});const _={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},n=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),t={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},r={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,_]};_.contains.push(r);const s={match:/\\"/},c={className:"string",begin:/'/,end:/'/},o={match:/\\'/},l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],g=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],m={match:/(\/[a-z._-]+)+/},E=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],w=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],M=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],N=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:v,built_in:[...E,...w,"set","shopt",...M,...N]},contains:[g,e.SHEBANG(),d,l,n,t,m,r,s,c,o,a]}}function vi(e){const i=e.regex,a=e.COMMENT("--","$"),h={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},_={begin:/"/,end:/"/,contains:[{match:/""/}]},n=["true","false","unknown"],t=["double precision","large object","with timezone","without timezone"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],o=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],l=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],u=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=o,d=[...c,...s].filter(N=>!o.includes(N)),p={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},m={match:i.concat(/\b/,i.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function E(N){return i.concat(/\b/,i.either(...N.map(C=>C.replace(/\s+/,"\\s+"))),/\b/)}const w={scope:"keyword",match:E(u),relevance:0};function M(N,{exceptions:C,when:k}={}){const U=k;return C=C||[],N.map(L=>L.match(/\|\d+$/)||C.includes(L)?L:U(L)?`${L}|0`:L)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:M(d,{when:N=>N.length<3}),literal:n,type:r,built_in:l},contains:[{scope:"type",match:E(t)},w,m,p,h,_,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,v]}}se.registerLanguage("xml",ri);se.registerLanguage("javascript",ci);se.registerLanguage("json",gi);se.registerLanguage("yaml",hi);se.registerLanguage("plaintext",di);se.registerLanguage("python",pi);se.registerLanguage("java",_i);se.registerLanguage("bash",bi);se.registerLanguage("sql",vi);var D=(e=>(e.EQUAL="equal",e.DELETE="removed",e.ADD="added",e.EMPTY="empty",e))(D||{});const fe="<code-diff-modified>",ge="</code-diff-modified>",mi=1e4,ae=1e3,xn=fe.replace("<","<").replace(">",">"),Pn=ge.replace("<","<").replace(">",">");function Ei(e){const i={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,a=>i[a])}function be(e){return e===void 0?D.EQUAL:e.added?D.ADD:e.removed?D.DELETE:D.EQUAL}function Xn(e,i,a="word",h=!1){if(typeof e=="undefined"||typeof i=="undefined")return[e,i];if(!h&&e.length+i.length>mi)return[e,i];const n=(a==="char"?jt:Yt)(e,i),t=n.filter(s=>be(s)!==D.ADD).map(s=>be(s)===D.DELETE?`${fe}${s.value}${ge}`:s.value).join(""),r=n.filter(s=>be(s)!==D.DELETE).map(s=>be(s)===D.ADD?`${fe}${s.value}${ge}`:s.value).join("");return[t,r]}function Vn(e,i){if(e===i)return e?[{count:e.replace(/\n$/,"").split(`
|
|
10
|
+
`).length,value:e}]:[];const a=e.endsWith(`
|
|
11
|
+
`),h=i.endsWith(`
|
|
12
|
+
`);a!==h&&(a?e=e.slice(0,-1):i=i.slice(0,-1)),e&&(e+=`
|
|
13
|
+
`),i&&(i+=`
|
|
14
|
+
`);let _;if(e.length+i.length>=1e5&&e.includes(`
|
|
15
|
+
`)&&i.includes(`
|
|
16
|
+
`)){const n=e?e.replace(/\n$/,"").split(`
|
|
17
|
+
`):[],t=i?i.replace(/\n$/,"").split(`
|
|
18
|
+
`):[],r=new Set(n),s=new Set(t),[c,o]=r.size<s.size?[r,s]:[s,r];let l=0;for(const p of c)o.has(p)&&l++;const u=c.size?l/c.size:0,g=r.size>=4e4||r.size+s.size-l>=65535,d=r.size+s.size-l*2;u<.01||g&&d>200?(_=[],e&&_.push({count:n.length,value:e,removed:!0}),i&&_.push({count:t.length,value:i,added:!0})):g&&(_=Zt(e,i))}if(!_){const n=new nn.diff_match_patch,t=n.diff_linesToChars_(e,i),r=t.chars1,s=t.chars2,c=t.lineArray,o=n.diff_main(r,s,!1);n.diff_charsToLines_(o,c),_=o.map(l=>{const[u,g]=l;return{count:g.replace(/\n$/,"").split(`
|
|
19
|
+
`).length,value:g,removed:u===nn.DIFF_DELETE,added:u===nn.DIFF_INSERT}})}return a!==h&&_.push({count:1,value:"",removed:a,added:h}),_}function an(e,i){if(typeof document=="undefined"||e==="plaintext")return Ei(i).replace(new RegExp(xn,"g"),'<span class="x">').replace(new RegExp(Pn,"g"),"</span>");if(!i.match(new RegExp(`(${fe}|${ge})`,"g")))return se.highlight(i,{language:e}).value;let h=i;const _=i.replace(new RegExp(`(${fe}|${ge})`,"g"),""),n=document.createElement("div");n.innerHTML=se.highlight(_,{language:e}).value;let t=!1;const r=s=>{s.childNodes.forEach(c=>{if(c.nodeType===Node.ELEMENT_NODE&&r(c),c.nodeType===Node.TEXT_NODE){if(!c.textContent)return;let o=c.textContent,l="";for(t&&(l=l+fe);o.length;){if(h.startsWith(fe)){h=h.slice(fe.length),l=l+fe,t=!0;continue}if(h.startsWith(ge)){h=h.slice(ge.length),l=l+ge,t=!1;continue}const u=h.match(new RegExp(`(${fe}|${ge})`)),g=u&&u.index?u.index:h.length,d=Math.min(g,o.length);l=l+h.substring(0,d),h=h.slice(d),o=o.slice(d)}t&&(l=l+ge),c.textContent=l}})};return r(n),n.innerHTML.replace(new RegExp(xn,"g"),'<span class="x">').replace(new RegExp(Pn,"g"),"</span>")}function on(e,i){e.highlighted||(e.code=an(i,e.code),e.highlighted=!0)}function ln(e,i){if(e.highlighted)return;const a=e.left.code;a!==void 0&&(e.left.code=an(i,a)),e.right.code!==void 0&&(e.right.code=e.left.type===D.EQUAL&&e.right.type===D.EQUAL&&e.right.code===a?e.left.code:an(i,e.right.code)),e.highlighted=!0}function Jn(e,i){var s,c;const a=(o,l)=>(o.match(new RegExp(l,"g"))||[]).length,h=o=>o.filter(l=>i==null?void 0:i.test(l)).length;let _=0,n=0,t=0,r=0;for(const o of e){if(o.added){if(!i){_+=(s=o.count)!=null?s:0;continue}const l=h(o.value.trim().split(`
|
|
20
|
+
`));_+=a(o.value.trim(),`
|
|
21
|
+
`)+1-l,t+=l;continue}if(o.removed){if(!i){n+=(c=o.count)!=null?c:0;continue}const l=h(o.value.trim().split(`
|
|
22
|
+
`));n+=a(o.value.trim(),`
|
|
23
|
+
`)+1-l,r+=l;continue}}return{additionsNum:_,deletionsNum:n,ignoreAdditionsNum:t,ignoreDeletionsNum:r}}function yi(e,i,a="plaintext",h="word",_=!1,n=10,t){const r=()=>({type:D.EMPTY}),s=(E,w,M)=>({type:E,num:w,code:M}),c=Vn(e,i),o=t?new RegExp(t):void 0;let l=0,u=0,g=!1;const d=[],p={changes:d,collector:[],stat:Jn(c,o)};for(let E=0;E<c.length;E++){if(g){g=!1;continue}const[w,M]=[c[E],c[E+1]],[N,C]=[be(w),be(M)],k=w.value.replace(/\n$/,"").split(`
|
|
24
|
+
`);if(M===void 0){for(const L of k){let B=r(),H=r();N===D.EQUAL&&(l++,u++,B=s(D.EQUAL,l,L),H=s(D.EQUAL,u,L)),N===D.DELETE&&(l++,B=s(D.DELETE,l,L),H=r()),N===D.ADD&&(u++,B=r(),H=s(D.ADD,u,L)),d.push({left:B,right:H})}break}if(N===D.EQUAL)for(const L of k)l++,u++,d.push({left:s(D.EQUAL,l,L),right:s(D.EQUAL,u,L)});const U=M.value.replace(/\n$/,"").split(`
|
|
25
|
+
`);if(N===D.DELETE){if(C===D.EQUAL)for(const L of k)l++,d.push({left:s(D.DELETE,l,L),right:r()});if(C===D.ADD){g=!0;const L=Math.max(w.count,M.count);for(let B=0;B<L;B++){B<w.count&&l++,B<M.count&&u++;const[H,G]=[k[B],U[B]],Z=_||k.length===U.length,[V,Se]=Z?Xn(H,G,h,_):[H,G],we=o!=null&&o.test(H)?D.EQUAL:D.DELETE,De=o!=null&&o.test(G)?D.EQUAL:D.ADD,J=B<w.count?s(we,l,V):r(),le=B<M.count?s(De,u,Se):r();d.push({left:J,right:le})}}}if(N===D.ADD)for(const L of k)u++,d.push({left:r(),right:s(D.ADD,u,L)})}if(e===i){for(let E=0;E<d.length;E++)d[E].fold=!1;return d.slice(0,ae).forEach(E=>ln(E,a)),p}for(let E=0;E<d.length;E++){const w=d[E];if(w.left.type===D.DELETE||w.right.type===D.ADD){const[M,N]=[Math.max(E-n,0),Math.min(E+n+1,d.length)];for(let C=M;C<N;C++)d[C].fold=!1}w.fold===void 0&&(w.fold=!0)}const v=[];let m=[];for(let E=0;E<d.length;E++){const w=d[E];if(w.fold===!1){m.length&&(m[0].hideIndex=p.collector.length,p.collector.push({lines:m,fold:!0}),m=[]),v.push(w);continue}w.hide=!0,m.push(w),v.push(w)}return m.length&&(m[0].hideIndex=p.collector.length,p.collector.push({lines:m,fold:!0}),m=[]),p.changes=v,p.changes.filter(E=>!E.hide).slice(0,ae).forEach(E=>ln(E,a)),p}function wi(e,i,a="plaintext",h="word",_=!1,n=10,t){const r=Vn(e,i),s=t?new RegExp(t):void 0;let c=0,o=0,l=!1;const u=[],g={changes:u,collector:[],stat:Jn(r,s)};for(let v=0;v<r.length;v++){if(l){l=!1;continue}const[m,E]=[r[v],r[v+1]],[w,M]=[be(m),be(E)],N=m.value.replace(/\n$/,"").split(`
|
|
26
|
+
`);if(E===void 0){for(const k of N)w===D.EQUAL&&(c++,o++),w===D.DELETE&&c++,w===D.ADD&&o++,u.push({type:w,code:k,addNum:w===D.DELETE?void 0:o,delNum:w===D.ADD?void 0:c});break}if(w===D.EQUAL)for(const k of N)c++,o++,u.push({type:D.EQUAL,code:k,delNum:c,addNum:o});const C=E.value.replace(/\n$/,"").split(`
|
|
27
|
+
`);if(w===D.DELETE)if(M===D.ADD&&(N.length===C.length||_)){const k=Math.max(N.length,C.length),U=Array.from({length:k},(L,B)=>Xn(N[B],C[B],h,_));for(let L=0;L<N.length;L++){const B=N[L];c++,u.push({type:s!=null&&s.test(B)?D.EQUAL:D.DELETE,code:U[L][0],delNum:c})}for(let L=0;L<C.length;L++){const B=C[L];o++,u.push({type:s!=null&&s.test(B)?D.EQUAL:D.ADD,code:U[L][1],addNum:o})}l=!0}else for(const k of N)c++,u.push({type:D.DELETE,code:k,delNum:c});if(w===D.ADD)for(const k of N)o++,u.push({type:D.ADD,code:k,addNum:o})}for(let v=0;v<u.length;v++){const m=u[v];if(m.type===D.DELETE||m.type===D.ADD){const[E,w]=[Math.max(v-n,0),Math.min(v+n+1,u.length)];for(let M=E;M<w;M++)u[M].fold=!1}m.fold===void 0&&(m.fold=!0)}if(e===i){for(let v=0;v<u.length;v++)u[v].fold=!1;return u.slice(0,ae).forEach(v=>on(v,a)),g}const d=[];let p=[];for(let v=0;v<u.length;v++){const m=u[v];if(m.fold===!1){p.length&&(p[0].hideIndex=g.collector.length,g.collector.push({lines:p,fold:!0}),p=[]),d.push(m);continue}m.type==="equal"&&(m.hide=!0,p.push(m)),d.push(m)}return p.length&&(p[0].hideIndex=g.collector.length,g.collector.push({lines:p,fold:!0}),p=[]),g.changes=d,g.changes.filter(v=>!v.hide).slice(0,ae).forEach(v=>on(v,a)),g}const gn={};gn.props={line:{key:"line",required:!0,type:null}};gn.setup=(e,i)=>{const a=e,h=i.emit;function _(t){a.line.type!==D.ADD&&a.line.type!==D.DELETE||h("change-click",{side:a.line.type===D.DELETE?"old":"new",type:a.line.type,lineNumber:a.line.type===D.DELETE?a.line.delNum:a.line.addNum,event:t})}function n(t){return t===D.DELETE?"-":t===D.ADD?"+":""}return{DiffType:D,emit:h,onChangeClick:_,getCodeMarker:n}};var Ti=function(){var e=this,i=e.$createElement,a=e._self._c||i;return e.line.hideIndex!==void 0&&e.line.hide?a("tr",[a("td",{staticClass:"blob-num blob-num-hunk text-center",attrs:{colspan:"2"},on:{click:function(h){return e.emit("expand",e.line)}}},[e._v(" > ")]),a("td",{staticClass:"blob-code blob-code-hunk",attrs:{align:"left"}},[e._v(" ⋯ ")])]):e.line.hide?e._e():a("tr",{attrs:{"data-diff-change":e.line.type!==e.DiffType.EQUAL?"":void 0},on:{click:e.onChangeClick}},[a("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.delNum)+" ")]),a("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.addNum)+" ")]),a("td",{staticClass:"blob-code",class:{"blob-code-deletion":e.line.type===e.DiffType.DELETE,"blob-code-addition":e.line.type===e.DiffType.ADD,"blob-code-context":e.line.type===e.DiffType.EQUAL,"blob-code-hunk":e.line.hide!==void 0}},[a("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(e.line.type)},domProps:{innerHTML:e._s(e.line.code)}})])])},Ai=[];function ve(e,i,a,h,_,n,t,r){var s=typeof e=="function"?e.options:e;i&&(s.render=i,s.staticRenderFns=a,s._compiled=!0),n&&(s._scopeId="data-v-"+n);var c;if(_&&(c=_),c)if(s.functional){s._injectStyles=c;var o=s.render;s.render=function(g,d){return c.call(d),o(g,d)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:s}}const Un={};var Mi=ve(gn,Ti,Ai,!1,Ni,null);function Ni(e){for(let i in Un)this[i]=Un[i]}const Si=(function(){return Mi.exports})(),Oe={};Oe.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}};Oe.setup=(e,i)=>{const a=e,h=i.emit,_=j.ref(ae),n=j.shallowRef(a.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0)),t=j.computed(()=>n.value.slice(0,_.value)),r=j.computed(()=>n.value.length-t.value.length),s=j.computed(()=>Math.min(r.value,ae));j.watch(()=>a.diffChange,u=>{_.value=ae,n.value=u.changes.filter(g=>!g.hide||g.hideIndex!==void 0)});function c(){t.value.forEach(u=>on(u,a.language))}function o({hideIndex:u}){u!==void 0&&(a.diffChange.collector[u].lines.forEach(g=>{g.hide=!1,g.fold=!1}),n.value=a.diffChange.changes.filter(g=>!g.hide||g.hideIndex!==void 0),c())}function l(){_.value+=ae,c()}return{emit:h,renderedChanges:t,remainingLines:r,nextBatchSize:s,expandHandler:o,loadMore:l}};Oe.components=Object.assign({UnifiedLine:Si},Oe.components);var Di=function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("table",{staticClass:"diff-table"},[a("tbody",[e._l(e.renderedChanges,function(h,_){return a("UnifiedLine",{key:_,attrs:{line:h},on:{expand:e.expandHandler,"change-click":function(n){return e.emit("change-click",n)}}})}),e.remainingLines?a("tr",[a("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"3"}},[a("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},Ci=[];const Fn={};var Li=ve(Oe,Di,Ci,!1,Ri,null);function Ri(e){for(let i in Fn)this[i]=Fn[i]}const Oi=(function(){return Li.exports})(),hn={};hn.props={splitLine:{key:"splitLine",required:!0,type:null}};hn.setup=(e,i)=>{const a=i.emit;function h(t){return t===D.DELETE?"-":t===D.ADD?"+":""}function _(t,r){const s=t.currentTarget.closest(".file-diff-split"),c=s.querySelectorAll(".split-side-left"),o=s.querySelectorAll(".split-side-right");for(const l of o)l.classList.toggle("no-select",r==="left");for(const l of c)l.classList.toggle("no-select",r==="right")}function n(t,r,s){r.type!==D.ADD&&r.type!==D.DELETE||a("change-click",{side:s,type:r.type,lineNumber:r.num,event:t})}return{DiffType:D,emit:a,getCodeMarker:h,onSplitLineMousedown:_,onChangeClick:n}};var Ii=function(){var e=this,i=e.$createElement,a=e._self._c||i;return e.splitLine.hideIndex!==void 0&&e.splitLine.hide?a("tr",[a("td",{staticClass:"blob-num blob-num-hunk",attrs:{colspan:"1"},on:{click:function(h){return e.emit("expand",e.splitLine)}}},[e._v(" > ")]),a("td",{staticClass:"blob-code blob-code-inner blob-code-hunk",attrs:{colspan:"3",align:"left"}},[e._v(" ⋯ ")])]):e.splitLine.hide?e._e():a("tr",{attrs:{"data-diff-change":e.splitLine.left.type===e.DiffType.DELETE||e.splitLine.right.type===e.DiffType.ADD?"":void 0}},[e._l([e.splitLine.left,e.splitLine.right],function(h,_){return[h.type===e.DiffType.EMPTY?[a("td",{staticClass:"blob-num blob-num-empty empty-cell"}),a("td",{staticClass:"blob-code blob-code-empty empty-cell"})]:[a("td",{staticClass:"blob-num",class:{"blob-num-deletion":h.type===e.DiffType.DELETE,"blob-num-addition":h.type===e.DiffType.ADD,"blob-num-context":h.type===e.DiffType.EQUAL,"blob-num-hunk":e.splitLine.hide!==void 0}},[e._v(" "+e._s(h.num)+" ")]),a("td",{staticClass:"blob-code",class:{"blob-code-deletion":h.type===e.DiffType.DELETE,"blob-code-addition":h.type===e.DiffType.ADD,"blob-code-context":h.type===e.DiffType.EQUAL,"blob-code-hunk":e.splitLine.hide!==void 0,"split-side-left":_===0,"split-side-right":_===1},on:{mousedown:function(n){return e.onSplitLineMousedown(n,_===0?"left":"right")},click:function(n){return e.onChangeClick(n,h,_===0?"old":"new")}}},[a("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(h.type)},domProps:{innerHTML:e._s(h.code)}})])]]})],2)},ki=[];const zn={};var $i=ve(hn,Ii,ki,!1,Bi,null);function Bi(e){for(let i in zn)this[i]=zn[i]}const xi=(function(){return $i.exports})(),Ie={};Ie.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}};Ie.setup=(e,i)=>{const a=e,h=i.emit,_=j.ref(ae),n=j.shallowRef(a.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0)),t=j.computed(()=>n.value.slice(0,_.value)),r=j.computed(()=>n.value.length-t.value.length),s=j.computed(()=>Math.min(r.value,ae));j.watch(()=>a.diffChange,u=>{_.value=ae,n.value=u.changes.filter(g=>!g.hide||g.hideIndex!==void 0)});function c(){t.value.forEach(u=>ln(u,a.language))}function o({hideIndex:u}){u!==void 0&&(a.diffChange.collector[u].lines.forEach(g=>{g.hide=!1,g.fold=!1}),n.value=a.diffChange.changes.filter(g=>!g.hide||g.hideIndex!==void 0),c())}function l(){_.value+=ae,c()}return{emit:h,renderedChanges:t,remainingLines:r,nextBatchSize:s,expandHandler:o,loadMore:l}};Ie.components=Object.assign({SplitLine:xi},Ie.components);var Pi=function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("table",{staticClass:"file-diff-split diff-table"},[e._m(0),a("tbody",[e._l(e.renderedChanges,function(h,_){return a("SplitLine",{key:_,attrs:{"split-line":h},on:{expand:e.expandHandler,"change-click":function(n){return e.emit("change-click",n)}}})}),e.remainingLines?a("tr",[a("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"4"}},[a("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},Ui=[function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("colgroup",[a("col",{attrs:{width:"44"}}),a("col"),a("col",{attrs:{width:"44"}}),a("col")])}];const Hn={};var Fi=ve(Ie,Pi,Ui,!1,zi,null);function zi(e){for(let i in Hn)this[i]=Hn[i]}const Hi=(function(){return Fi.exports})();var Gi=function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M383.6,322.7L278.6,423c-5.8,6-13.7,9-22.4,9c-8.7,0-16.5-3-22.4-9L128.4,322.7c-12.5-11.9-12.5-31.3,0-43.2 c12.5-11.9,32.7-11.9,45.2,0l50.4,48.2v-217c0-16.9,14.3-30.6,32-30.6c17.7,0,32,13.7,32,30.6v217l50.4-48.2 c12.5-11.9,32.7-11.9,45.2,0C396.1,291.4,396.1,310.7,383.6,322.7z"}})])},Ki=[];const qi={name:"DownArrowIcon"},Gn={};var Wi=ve(qi,Gi,Ki,!1,ji,null);function ji(e){for(let i in Gn)this[i]=Gn[i]}const Qi=(function(){return Wi.exports})();var Yi=function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M128.4,189.3L233.4,89c5.8-6,13.7-9,22.4-9c8.7,0,16.5,3,22.4,9l105.4,100.3c12.5,11.9,12.5,31.3,0,43.2 c-12.5,11.9-32.7,11.9-45.2,0L288,184.4v217c0,16.9-14.3,30.6-32,30.6c-17.7,0-32-13.7-32-30.6v-217l-50.4,48.2 c-12.5,11.9-32.7,11.9-45.2,0C115.9,220.6,115.9,201.3,128.4,189.3z"}})])},Zi=[];const Xi={name:"UpArrowIcon"},Kn={};var Vi=ve(Xi,Yi,Zi,!1,Ji,null);function Ji(e){for(let i in Kn)this[i]=Kn[i]}const er=(function(){return Vi.exports})(),ke={};ke.props={newString:{key:"newString",required:!0,type:String},oldString:{key:"oldString",required:!0,type:String},language:{key:"language",required:!1,type:String,default:"plaintext"},context:{key:"context",required:!1,type:Number,default:10},diffStyle:{key:"diffStyle",required:!1,type:String,default:"word"},forceInlineComparison:{key:"forceInlineComparison",required:!1,type:Boolean,default:!1},outputFormat:{key:"outputFormat",required:!1,type:String,default:"line-by-line"},trim:{key:"trim",required:!1,type:Boolean,default:!1},noDiffLineFeed:{key:"noDiffLineFeed",required:!1,type:Boolean,default:!1},maxHeight:{key:"maxHeight",required:!1,type:String,default:void 0},filename:{key:"filename",required:!1,type:String,default:void 0},newFilename:{key:"newFilename",required:!1,type:String,default:void 0},hideHeader:{key:"hideHeader",required:!1,type:Boolean,default:!1},hideStat:{key:"hideStat",required:!1,type:Boolean,default:!1},hideNavigation:{key:"hideNavigation",required:!1,type:Boolean,default:!1},theme:{key:"theme",required:!1,type:String,default:"light"},ignoreMatchingLines:{key:"ignoreMatchingLines",required:!1,type:String,default:void 0}};ke.setup=(e,i)=>{const a=e,h=i.emit,_=j.computed(()=>a.outputFormat==="line-by-line"),n=j.computed(()=>{let p=a.oldString||"";return p=a.trim?p.trim():p,p=a.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
28
|
+
`):p,p}),t=j.computed(()=>{let p=a.newString||"";return p=a.trim?p.trim():p,p=a.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
29
|
+
`):p,p}),r=j.computed(()=>_.value?wi(n.value,t.value,a.language,a.diffStyle,a.forceInlineComparison,a.context,a.ignoreMatchingLines):yi(n.value,t.value,a.language,a.diffStyle,a.forceInlineComparison,a.context,a.ignoreMatchingLines)),s=j.shallowRef(r.value),c=j.computed(()=>s.value.stat.additionsNum===0&&s.value.stat.deletionsNum===0),o=j.ref(-1),l=j.ref();function u(){const p=l.value.querySelectorAll("[data-diff-change]");o.value<p.length-1&&(o.value++,d(p))}function g(){const p=l.value.querySelectorAll("[data-diff-change]");o.value>0&&(o.value--,d(p))}function d(p){l.value.querySelectorAll(".current-diff").forEach(m=>m.classList.remove("current-diff"));const v=p[o.value];v&&(v.querySelectorAll(".blob-code").forEach(m=>m.classList.add("current-diff")),v.scrollIntoView({behavior:"smooth",block:"center"}))}return j.watch(()=>a,()=>{o.value=-1,s.value=r.value,h("diff",{stat:{isChanged:!c.value,addNum:s.value.stat.additionsNum,delNum:s.value.stat.deletionsNum}})},{deep:!0,immediate:!0}),{emits:h,isUnifiedViewer:_,diffChange:s,root:l,goToNextDiff:u,goToPrevDiff:g}};ke.components=Object.assign({DownArrowIcon:Qi,UpArrowIcon:er,UnifiedViewer:Oi,SplitViewer:Hi},ke.components);var nr=function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("div",{ref:"root",staticClass:"code-diff-view",style:{maxHeight:e.maxHeight},attrs:{theme:e.theme}},[e.hideHeader?e._e():a("div",{staticClass:"file-header"},[e.isUnifiedViewer?a("div",{staticClass:"file-info"},[a("span",[a("div",{staticClass:"info-left"},[e._v(e._s(e.filename))]),a("div",{staticClass:"info-left"},[e._v(e._s(e.newFilename))])]),e.hideNavigation?e._e():a("span",{staticClass:"diff-commandbar"},[a("button",{staticClass:"command-item-button",attrs:{title:"Next Change"},on:{click:e.goToNextDiff}},[a("DownArrowIcon")],1),a("button",{staticClass:"command-item-button",attrs:{title:"Previous Change"},on:{click:e.goToPrevDiff}},[a("UpArrowIcon")],1)]),e._t("header-actions"),e.hideStat?e._e():a("span",{staticClass:"diff-stat"},[e._t("stat",function(){return[a("span",{staticClass:"diff-stat-added"},[e._v("+"+e._s(e.diffChange.stat.additionsNum)+" additions")]),a("span",{staticClass:"diff-stat-deleted"},[e._v("-"+e._s(e.diffChange.stat.deletionsNum)+" deletions")])]},{stat:e.diffChange.stat})],2)],2):a("div",{staticClass:"file-info"},[a("span",{staticClass:"info-left"},[e._v(e._s(e.filename))]),a("span",{staticClass:"info-right"},[a("span",{staticStyle:{"margin-left":"20px"}},[e._v(e._s(e.newFilename))]),e.hideNavigation?e._e():a("span",{staticClass:"diff-commandbar"},[a("button",{staticClass:"command-item-button",attrs:{title:"Next Change"},on:{click:e.goToNextDiff}},[a("DownArrowIcon")],1),a("button",{staticClass:"command-item-button",attrs:{title:"Previous Change"},on:{click:e.goToPrevDiff}},[a("UpArrowIcon")],1)]),e._t("header-actions"),e.hideStat?e._e():a("span",{staticClass:"diff-stat"},[e._t("stat",function(){return[a("span",{staticClass:"diff-stat-added"},[e._v("+"+e._s(e.diffChange.stat.additionsNum)+" additions")]),a("span",{staticClass:"diff-stat-deleted"},[e._v("-"+e._s(e.diffChange.stat.deletionsNum)+" deletions")])]},{stat:e.diffChange.stat})],2)],2)])]),e.isUnifiedViewer?a("UnifiedViewer",{attrs:{"diff-change":e.diffChange,language:e.language},on:{"change-click":function(h){return e.emits("change-click",h)}}}):a("SplitViewer",{attrs:{"diff-change":e.diffChange,language:e.language},on:{"change-click":function(h){return e.emits("change-click",h)}}})],1)},tr=[];const qn={};var ir=ve(ke,nr,tr,!1,rr,null);function rr(e){for(let i in qn)this[i]=qn[i]}const dn=(function(){return ir.exports})(),$e={};$e.props={language:{key:"language",required:!1,type:String,default:"plaintext"},text:{key:"text",required:!0,type:String}};$e.setup=(e,i)=>({});$e.components=Object.assign({CodeDiff:dn},$e.components);var sr=function(){var e=this,i=e.$createElement,a=e._self._c||i;return a("CodeDiff",{attrs:{"hide-header":"",language:e.language,"old-string":e.text,"new-string":e.text}})},ar=[];const Wn={};var or=ve($e,sr,ar,!1,lr,"8b22b876");function lr(e){for(let i in Wn)this[i]=Wn[i]}const et=(function(){return or.exports})();function cr(e){e.component("CodeDiff",dn),e.component("CodeReader",et)}const ur={install:cr,hljs:se};exports.CodeDiff=dn;exports.CodeReader=et;exports.default=ur;exports.hljs=se;
|