v-code-diff 1.14.1 → 1.15.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 +2 -0
- package/dist/v2/index.cjs +18 -18
- package/dist/v2/index.es.js +733 -684
- package/dist/v2/index.umd.js +20 -20
- package/dist/v2.7/index.cjs +12 -12
- package/dist/v2.7/index.es.js +219 -189
- package/dist/v2.7/index.umd.js +12 -12
- package/dist/v3/index.cjs +27 -27
- package/dist/v3/index.es.js +1508 -1477
- package/dist/v3/index.umd.js +27 -27
- package/package.json +1 -1
- package/src/CodeDiff.vue +8 -4
- package/src/split/SplitLine.vue +20 -2
- package/src/split/SplitViewer.vue +12 -2
- package/src/types.ts +7 -0
- package/src/unified/UnifiedLine.vue +21 -4
- package/src/unified/UnifiedViewer.vue +12 -2
- package/types/index.d.ts +10 -1
package/dist/v2.7/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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-0c5adc58] td:nth-child(1){display:none}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import Un, { defineComponent as de, ref as
|
|
2
|
+
import Un, { defineComponent as de, ref as Te, shallowRef as Pe, computed as X, watch as Ue } from "vue";
|
|
3
3
|
Un.util.warn;
|
|
4
4
|
function te() {
|
|
5
5
|
}
|
|
@@ -28,21 +28,21 @@ te.prototype = {
|
|
|
28
28
|
var _ = -1 / 0, m = 1 / 0;
|
|
29
29
|
function v() {
|
|
30
30
|
for (var y = Math.max(_, -o); y <= Math.min(m, o); y += 2) {
|
|
31
|
-
var
|
|
31
|
+
var D = void 0, M = h[y - 1], S = h[y + 1];
|
|
32
32
|
M && (h[y - 1] = void 0);
|
|
33
33
|
var k = !1;
|
|
34
|
-
if (
|
|
35
|
-
var
|
|
36
|
-
k =
|
|
34
|
+
if (S) {
|
|
35
|
+
var T = S.oldPos - y;
|
|
36
|
+
k = S && 0 <= T && T < a;
|
|
37
37
|
}
|
|
38
38
|
var L = M && M.oldPos + 1 < l;
|
|
39
39
|
if (!k && !L) {
|
|
40
40
|
h[y] = void 0;
|
|
41
41
|
continue;
|
|
42
42
|
}
|
|
43
|
-
if (!L || k && M.oldPos + 1 <
|
|
44
|
-
return r(Fn(i,
|
|
45
|
-
h[y] =
|
|
43
|
+
if (!L || k && M.oldPos + 1 < S.oldPos ? D = i.addToPath(S, !0, void 0, 0) : D = i.addToPath(M, void 0, !0, 1), p = i.extractCommon(D, s, e, y), D.oldPos + 1 >= l && p + 1 >= a)
|
|
44
|
+
return r(Fn(i, D.lastComponent, s, e, i.useLongestToken));
|
|
45
|
+
h[y] = D, D.oldPos + 1 >= l && (m = Math.min(m, y - 1)), p + 1 >= a && (_ = Math.max(_, y + 1));
|
|
46
46
|
}
|
|
47
47
|
o++;
|
|
48
48
|
}
|
|
@@ -320,40 +320,40 @@ var fn = { exports: {} };
|
|
|
320
320
|
for (var a = t.length, l = i.length, o = Math.ceil((a + l) / 2), c = o, f = 2 * o, d = new Array(f), h = new Array(f), p = 0; p < f; p++)
|
|
321
321
|
d[p] = -1, h[p] = -1;
|
|
322
322
|
d[c + 1] = 0, h[c + 1] = 0;
|
|
323
|
-
for (var _ = a - l, m = _ % 2 != 0, v = 0, E = 0, y = 0,
|
|
324
|
-
for (var
|
|
325
|
-
var k = c +
|
|
326
|
-
|
|
327
|
-
for (var L =
|
|
328
|
-
|
|
329
|
-
if (d[k] =
|
|
323
|
+
for (var _ = a - l, m = _ % 2 != 0, v = 0, E = 0, y = 0, D = 0, M = 0; M < o && !((/* @__PURE__ */ new Date()).getTime() > r); M++) {
|
|
324
|
+
for (var S = -M + v; S <= M - E; S += 2) {
|
|
325
|
+
var k = c + S, T;
|
|
326
|
+
S == -M || S != M && d[k - 1] < d[k + 1] ? T = d[k + 1] : T = d[k - 1] + 1;
|
|
327
|
+
for (var L = T - S; T < a && L < l && t.charAt(T) == i.charAt(L); )
|
|
328
|
+
T++, L++;
|
|
329
|
+
if (d[k] = T, T > a)
|
|
330
330
|
E += 2;
|
|
331
331
|
else if (L > l)
|
|
332
332
|
v += 2;
|
|
333
333
|
else if (m) {
|
|
334
|
-
var B = c + _ -
|
|
334
|
+
var B = c + _ - S;
|
|
335
335
|
if (B >= 0 && B < f && h[B] != -1) {
|
|
336
336
|
var x = a - h[B];
|
|
337
|
-
if (
|
|
338
|
-
return this.diff_bisectSplit_(t, i,
|
|
337
|
+
if (T >= x)
|
|
338
|
+
return this.diff_bisectSplit_(t, i, T, L, r);
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
for (var z = -M + y; z <= M -
|
|
342
|
+
for (var z = -M + y; z <= M - D; z += 2) {
|
|
343
343
|
var B = c + z, x;
|
|
344
344
|
z == -M || z != M && h[B - 1] < h[B + 1] ? x = h[B + 1] : x = h[B - 1] + 1;
|
|
345
345
|
for (var K = x - z; x < a && K < l && t.charAt(a - x - 1) == i.charAt(l - K - 1); )
|
|
346
346
|
x++, K++;
|
|
347
347
|
if (h[B] = x, x > a)
|
|
348
|
-
|
|
348
|
+
D += 2;
|
|
349
349
|
else if (K > l)
|
|
350
350
|
y += 2;
|
|
351
351
|
else if (!m) {
|
|
352
352
|
var k = c + _ - z;
|
|
353
353
|
if (k >= 0 && k < f && d[k] != -1) {
|
|
354
|
-
var
|
|
355
|
-
if (x = a - x,
|
|
356
|
-
return this.diff_bisectSplit_(t, i,
|
|
354
|
+
var T = d[k], L = c + T - k;
|
|
355
|
+
if (x = a - x, T >= x)
|
|
356
|
+
return this.diff_bisectSplit_(t, i, T, L, r);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -420,19 +420,19 @@ var fn = { exports: {} };
|
|
|
420
420
|
if (r.length < 4 || a.length * 2 < r.length)
|
|
421
421
|
return null;
|
|
422
422
|
var l = this;
|
|
423
|
-
function o(E, y,
|
|
424
|
-
for (var M = E.substring(
|
|
423
|
+
function o(E, y, D) {
|
|
424
|
+
for (var M = E.substring(D, D + Math.floor(E.length / 4)), S = -1, k = "", T, L, B, x; (S = y.indexOf(M, S + 1)) != -1; ) {
|
|
425
425
|
var z = l.diff_commonPrefix(
|
|
426
|
-
E.substring(
|
|
427
|
-
y.substring(
|
|
426
|
+
E.substring(D),
|
|
427
|
+
y.substring(S)
|
|
428
428
|
), K = l.diff_commonSuffix(
|
|
429
|
-
E.substring(0,
|
|
430
|
-
y.substring(0,
|
|
429
|
+
E.substring(0, D),
|
|
430
|
+
y.substring(0, S)
|
|
431
431
|
);
|
|
432
|
-
k.length < K + z && (k = y.substring(
|
|
432
|
+
k.length < K + z && (k = y.substring(S - K, S) + y.substring(S, S + z), T = E.substring(0, D - K), L = E.substring(D + z), B = y.substring(0, S - K), x = y.substring(S + z));
|
|
433
433
|
}
|
|
434
434
|
return k.length * 2 >= E.length ? [
|
|
435
|
-
|
|
435
|
+
T,
|
|
436
436
|
L,
|
|
437
437
|
B,
|
|
438
438
|
x,
|
|
@@ -482,8 +482,8 @@ var fn = { exports: {} };
|
|
|
482
482
|
function i(v, E) {
|
|
483
483
|
if (!v || !E)
|
|
484
484
|
return 6;
|
|
485
|
-
var y = v.charAt(v.length - 1),
|
|
486
|
-
return x || z ? 5 : L || B ? 4 : M && !k &&
|
|
485
|
+
var y = v.charAt(v.length - 1), D = E.charAt(0), M = y.match(e.nonAlphaNumericRegex_), S = D.match(e.nonAlphaNumericRegex_), k = M && y.match(e.whitespaceRegex_), T = S && D.match(e.whitespaceRegex_), L = k && y.match(e.linebreakRegex_), B = T && D.match(e.linebreakRegex_), x = L && v.match(e.blanklineEndRegex_), z = B && E.match(e.blanklineStartRegex_);
|
|
486
|
+
return x || z ? 5 : L || B ? 4 : M && !k && T ? 3 : k || T ? 2 : M || S ? 1 : 0;
|
|
487
487
|
}
|
|
488
488
|
for (var r = 1; r < t.length - 1; ) {
|
|
489
489
|
if (t[r - 1][0] == g && t[r + 1][0] == g) {
|
|
@@ -633,8 +633,8 @@ var fn = { exports: {} };
|
|
|
633
633
|
if (i.length > this.Match_MaxBits)
|
|
634
634
|
throw new Error("Pattern too long for this browser.");
|
|
635
635
|
var a = this.match_alphabet_(i), l = this;
|
|
636
|
-
function o(
|
|
637
|
-
var B =
|
|
636
|
+
function o(T, L) {
|
|
637
|
+
var B = T / i.length, x = Math.abs(r - L);
|
|
638
638
|
return l.Match_Distance ? B + x / l.Match_Distance : x ? 1 : B;
|
|
639
639
|
}
|
|
640
640
|
var c = this.Match_Threshold, f = t.indexOf(i, r);
|
|
@@ -645,11 +645,11 @@ var fn = { exports: {} };
|
|
|
645
645
|
for (h = 0, p = _; h < p; )
|
|
646
646
|
o(v, r + p) <= c ? h = p : _ = p, p = Math.floor((_ - h) / 2 + h);
|
|
647
647
|
_ = p;
|
|
648
|
-
var E = Math.max(1, r - p + 1), y = Math.min(r + p, t.length) + i.length,
|
|
649
|
-
|
|
648
|
+
var E = Math.max(1, r - p + 1), y = Math.min(r + p, t.length) + i.length, D = Array(y + 2);
|
|
649
|
+
D[y + 1] = (1 << v) - 1;
|
|
650
650
|
for (var M = y; M >= E; M--) {
|
|
651
|
-
var
|
|
652
|
-
if (v === 0 ?
|
|
651
|
+
var S = a[t.charAt(M - 1)];
|
|
652
|
+
if (v === 0 ? D[M] = (D[M + 1] << 1 | 1) & S : D[M] = (D[M + 1] << 1 | 1) & S | ((m[M + 1] | m[M]) << 1 | 1) | m[M + 1], D[M] & d) {
|
|
653
653
|
var k = o(v, M - 1);
|
|
654
654
|
if (k <= c)
|
|
655
655
|
if (c = k, f = M - 1, f > r)
|
|
@@ -660,7 +660,7 @@ var fn = { exports: {} };
|
|
|
660
660
|
}
|
|
661
661
|
if (o(v + 1, r) > c)
|
|
662
662
|
break;
|
|
663
|
-
m =
|
|
663
|
+
m = D;
|
|
664
664
|
}
|
|
665
665
|
return f;
|
|
666
666
|
}, e.prototype.match_alphabet_ = function(t) {
|
|
@@ -1300,10 +1300,10 @@ function At(n, e) {
|
|
|
1300
1300
|
function Nt(n, e) {
|
|
1301
1301
|
e && n.beginKeywords && (n.begin = "\\b(" + n.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", n.__beforeBegin = wt, n.keywords = n.keywords || n.beginKeywords, delete n.beginKeywords, n.relevance === void 0 && (n.relevance = 0));
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function Tt(n, e) {
|
|
1304
1304
|
Array.isArray(n.illegal) && (n.illegal = Ge(...n.illegal));
|
|
1305
1305
|
}
|
|
1306
|
-
function
|
|
1306
|
+
function Mt(n, e) {
|
|
1307
1307
|
if (n.match) {
|
|
1308
1308
|
if (n.begin || n.end) throw new Error("begin & end are not supported with match");
|
|
1309
1309
|
n.begin = n.match, delete n.match;
|
|
@@ -1367,7 +1367,7 @@ const tn = {}, le = (n) => {
|
|
|
1367
1367
|
console.log(`WARN: ${n}`, ...e);
|
|
1368
1368
|
}, fe = (n, e) => {
|
|
1369
1369
|
tn[`${n}/${e}`] || (console.log(`Deprecated as of ${n}. ${e}`), tn[`${n}/${e}`] = !0);
|
|
1370
|
-
},
|
|
1370
|
+
}, Me = new Error();
|
|
1371
1371
|
function yn(n, e, { key: s }) {
|
|
1372
1372
|
let u = 0;
|
|
1373
1373
|
const g = n[s], t = {}, i = {};
|
|
@@ -1378,18 +1378,18 @@ function yn(n, e, { key: s }) {
|
|
|
1378
1378
|
function It(n) {
|
|
1379
1379
|
if (Array.isArray(n.begin)) {
|
|
1380
1380
|
if (n.skip || n.excludeBegin || n.returnBegin)
|
|
1381
|
-
throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),
|
|
1381
|
+
throw le("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Me;
|
|
1382
1382
|
if (typeof n.beginScope != "object" || n.beginScope === null)
|
|
1383
|
-
throw le("beginScope must be object"),
|
|
1383
|
+
throw le("beginScope must be object"), Me;
|
|
1384
1384
|
yn(n, n.begin, { key: "beginScope" }), n.begin = Ke(n.begin, { joinWith: "" });
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
function kt(n) {
|
|
1388
1388
|
if (Array.isArray(n.end)) {
|
|
1389
1389
|
if (n.skip || n.excludeEnd || n.returnEnd)
|
|
1390
|
-
throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"),
|
|
1390
|
+
throw le("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Me;
|
|
1391
1391
|
if (typeof n.endScope != "object" || n.endScope === null)
|
|
1392
|
-
throw le("endScope must be object"),
|
|
1392
|
+
throw le("endScope must be object"), Me;
|
|
1393
1393
|
yn(n, n.end, { key: "endScope" }), n.end = Ke(n.end, { joinWith: "" });
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
@@ -1475,14 +1475,14 @@ function xt(n) {
|
|
|
1475
1475
|
At,
|
|
1476
1476
|
// do this early so compiler extensions generally don't have to worry about
|
|
1477
1477
|
// the distinction between match/begin
|
|
1478
|
-
|
|
1478
|
+
Mt,
|
|
1479
1479
|
$t,
|
|
1480
1480
|
St
|
|
1481
1481
|
].forEach((o) => o(i, r)), n.compilerExtensions.forEach((o) => o(i, r)), i.__beforeBegin = null, [
|
|
1482
1482
|
Nt,
|
|
1483
1483
|
// do this later so compiler extensions that come earlier have access to the
|
|
1484
1484
|
// raw array if they wanted to perhaps manipulate it, etc.
|
|
1485
|
-
|
|
1485
|
+
Tt,
|
|
1486
1486
|
// default to 1 relevance if not specified
|
|
1487
1487
|
Dt
|
|
1488
1488
|
].forEach((o) => o(i, r)), i.isCompiled = !0;
|
|
@@ -1545,10 +1545,10 @@ const Oe = hn, sn = re, an = Symbol("nomatch"), zt = 7, An = function(n) {
|
|
|
1545
1545
|
A += b.parentNode ? b.parentNode.className : "";
|
|
1546
1546
|
const R = r.languageDetectRe.exec(A);
|
|
1547
1547
|
if (R) {
|
|
1548
|
-
const $ =
|
|
1548
|
+
const $ = T(R[1]);
|
|
1549
1549
|
return $ || (rn(t.replace("{}", R[1])), rn("Falling back to no-highlight mode for this block.", b)), $ ? R[1] : "no-highlight";
|
|
1550
1550
|
}
|
|
1551
|
-
return A.split(/\s+/).find(($) => a($) ||
|
|
1551
|
+
return A.split(/\s+/).find(($) => a($) || T($));
|
|
1552
1552
|
}
|
|
1553
1553
|
function o(b, A, R) {
|
|
1554
1554
|
let $ = "", F = "";
|
|
@@ -1698,7 +1698,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1698
1698
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
1699
1699
|
return U += I, I.length;
|
|
1700
1700
|
}
|
|
1701
|
-
const q =
|
|
1701
|
+
const q = T(b);
|
|
1702
1702
|
if (!q)
|
|
1703
1703
|
throw le(t.replace("{}", b)), new Error('Unknown language: "' + b + '"');
|
|
1704
1704
|
const $n = xt(q);
|
|
@@ -1768,16 +1768,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1768
1768
|
}
|
|
1769
1769
|
function d(b, A) {
|
|
1770
1770
|
A = A || r.languages || Object.keys(e);
|
|
1771
|
-
const R = f(b), $ = A.filter(
|
|
1771
|
+
const R = f(b), $ = A.filter(T).filter(B).map(
|
|
1772
1772
|
(Q) => c(Q, b, !1)
|
|
1773
1773
|
);
|
|
1774
1774
|
$.unshift(R);
|
|
1775
1775
|
const F = $.sort((Q, j) => {
|
|
1776
1776
|
if (Q.relevance !== j.relevance) return j.relevance - Q.relevance;
|
|
1777
1777
|
if (Q.language && j.language) {
|
|
1778
|
-
if (
|
|
1778
|
+
if (T(Q.language).supersetOf === j.language)
|
|
1779
1779
|
return 1;
|
|
1780
|
-
if (
|
|
1780
|
+
if (T(j.language).supersetOf === Q.language)
|
|
1781
1781
|
return -1;
|
|
1782
1782
|
}
|
|
1783
1783
|
return 0;
|
|
@@ -1833,10 +1833,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1833
1833
|
}
|
|
1834
1834
|
document.querySelectorAll(r.cssSelector).forEach(p);
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1836
|
+
function D() {
|
|
1837
1837
|
E && y();
|
|
1838
1838
|
}
|
|
1839
|
-
typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded",
|
|
1839
|
+
typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", D, !1);
|
|
1840
1840
|
function M(b, A) {
|
|
1841
1841
|
let R = null;
|
|
1842
1842
|
try {
|
|
@@ -1850,7 +1850,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1850
1850
|
}
|
|
1851
1851
|
R.name || (R.name = b), e[b] = R, R.rawDefinition = A.bind(null, n), R.aliases && L(R.aliases, { languageName: b });
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function S(b) {
|
|
1854
1854
|
delete e[b];
|
|
1855
1855
|
for (const A of Object.keys(s))
|
|
1856
1856
|
s[A] === b && delete s[A];
|
|
@@ -1858,7 +1858,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1858
1858
|
function k() {
|
|
1859
1859
|
return Object.keys(e);
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1861
|
+
function T(b) {
|
|
1862
1862
|
return b = (b || "").toLowerCase(), e[b] || e[s[b]];
|
|
1863
1863
|
}
|
|
1864
1864
|
function L(b, { languageName: A }) {
|
|
@@ -1867,7 +1867,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1867
1867
|
});
|
|
1868
1868
|
}
|
|
1869
1869
|
function B(b) {
|
|
1870
|
-
const A =
|
|
1870
|
+
const A = T(b);
|
|
1871
1871
|
return A && !A.disableAutodetect;
|
|
1872
1872
|
}
|
|
1873
1873
|
function x(b) {
|
|
@@ -1908,9 +1908,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), F = b, $ = A), R ===
|
|
|
1908
1908
|
initHighlighting: m,
|
|
1909
1909
|
initHighlightingOnLoad: v,
|
|
1910
1910
|
registerLanguage: M,
|
|
1911
|
-
unregisterLanguage:
|
|
1911
|
+
unregisterLanguage: S,
|
|
1912
1912
|
listLanguages: k,
|
|
1913
|
-
getLanguage:
|
|
1913
|
+
getLanguage: T,
|
|
1914
1914
|
registerAliases: L,
|
|
1915
1915
|
autoDetection: B,
|
|
1916
1916
|
inherit: sn,
|
|
@@ -2252,7 +2252,7 @@ const on = "[A-Za-z$_][0-9A-Za-z$_]*", Kt = [
|
|
|
2252
2252
|
"Intl",
|
|
2253
2253
|
// WebAssembly
|
|
2254
2254
|
"WebAssembly"
|
|
2255
|
-
],
|
|
2255
|
+
], Tn = [
|
|
2256
2256
|
"Error",
|
|
2257
2257
|
"EvalError",
|
|
2258
2258
|
"InternalError",
|
|
@@ -2261,7 +2261,7 @@ const on = "[A-Za-z$_][0-9A-Za-z$_]*", Kt = [
|
|
|
2261
2261
|
"SyntaxError",
|
|
2262
2262
|
"TypeError",
|
|
2263
2263
|
"URIError"
|
|
2264
|
-
],
|
|
2264
|
+
], Mn = [
|
|
2265
2265
|
"setInterval",
|
|
2266
2266
|
"setTimeout",
|
|
2267
2267
|
"clearInterval",
|
|
@@ -2292,9 +2292,9 @@ const on = "[A-Za-z$_][0-9A-Za-z$_]*", Kt = [
|
|
|
2292
2292
|
"global"
|
|
2293
2293
|
// Node.js
|
|
2294
2294
|
], Zt = [].concat(
|
|
2295
|
-
|
|
2295
|
+
Mn,
|
|
2296
2296
|
Nn,
|
|
2297
|
-
|
|
2297
|
+
Tn
|
|
2298
2298
|
);
|
|
2299
2299
|
function Yt(n) {
|
|
2300
2300
|
const e = n.regex, s = (A, { after: R }) => {
|
|
@@ -2478,7 +2478,7 @@ function Yt(n) {
|
|
|
2478
2478
|
"self"
|
|
2479
2479
|
].concat(E)
|
|
2480
2480
|
});
|
|
2481
|
-
const y = [].concat(v, f.contains),
|
|
2481
|
+
const y = [].concat(v, f.contains), D = y.concat([
|
|
2482
2482
|
// eat recursive parens in sub expressions
|
|
2483
2483
|
{
|
|
2484
2484
|
begin: /(\s*)\(/,
|
|
@@ -2495,8 +2495,8 @@ function Yt(n) {
|
|
|
2495
2495
|
excludeBegin: !0,
|
|
2496
2496
|
excludeEnd: !0,
|
|
2497
2497
|
keywords: r,
|
|
2498
|
-
contains:
|
|
2499
|
-
},
|
|
2498
|
+
contains: D
|
|
2499
|
+
}, S = {
|
|
2500
2500
|
variants: [
|
|
2501
2501
|
// class Car extends vehicle
|
|
2502
2502
|
{
|
|
@@ -2550,10 +2550,10 @@ function Yt(n) {
|
|
|
2550
2550
|
_: [
|
|
2551
2551
|
// se we still get relevance credit for JS library classes
|
|
2552
2552
|
...Nn,
|
|
2553
|
-
...
|
|
2553
|
+
...Tn
|
|
2554
2554
|
]
|
|
2555
2555
|
}
|
|
2556
|
-
},
|
|
2556
|
+
}, T = {
|
|
2557
2557
|
label: "use_strict",
|
|
2558
2558
|
className: "meta",
|
|
2559
2559
|
relevance: 10,
|
|
@@ -2595,7 +2595,7 @@ function Yt(n) {
|
|
|
2595
2595
|
match: e.concat(
|
|
2596
2596
|
/\b/,
|
|
2597
2597
|
x([
|
|
2598
|
-
...
|
|
2598
|
+
...Mn,
|
|
2599
2599
|
"super",
|
|
2600
2600
|
"import"
|
|
2601
2601
|
].map((A) => `${A}\\s*\\(`)),
|
|
@@ -2656,7 +2656,7 @@ function Yt(n) {
|
|
|
2656
2656
|
aliases: ["js", "jsx", "mjs", "cjs"],
|
|
2657
2657
|
keywords: r,
|
|
2658
2658
|
// this will be extended by TypeScript
|
|
2659
|
-
exports: { PARAMS_CONTAINS:
|
|
2659
|
+
exports: { PARAMS_CONTAINS: D, CLASS_REFERENCE: k },
|
|
2660
2660
|
illegal: /#(?![$_A-z])/,
|
|
2661
2661
|
contains: [
|
|
2662
2662
|
n.SHEBANG({
|
|
@@ -2664,7 +2664,7 @@ function Yt(n) {
|
|
|
2664
2664
|
binary: "node",
|
|
2665
2665
|
relevance: 5
|
|
2666
2666
|
}),
|
|
2667
|
-
|
|
2667
|
+
T,
|
|
2668
2668
|
n.APOS_STRING_MODE,
|
|
2669
2669
|
n.QUOTE_STRING_MODE,
|
|
2670
2670
|
d,
|
|
@@ -2717,7 +2717,7 @@ function Yt(n) {
|
|
|
2717
2717
|
excludeBegin: !0,
|
|
2718
2718
|
excludeEnd: !0,
|
|
2719
2719
|
keywords: r,
|
|
2720
|
-
contains:
|
|
2720
|
+
contains: D
|
|
2721
2721
|
}
|
|
2722
2722
|
]
|
|
2723
2723
|
}
|
|
@@ -2796,7 +2796,7 @@ function Yt(n) {
|
|
|
2796
2796
|
},
|
|
2797
2797
|
z,
|
|
2798
2798
|
B,
|
|
2799
|
-
|
|
2799
|
+
S,
|
|
2800
2800
|
ie,
|
|
2801
2801
|
{
|
|
2802
2802
|
match: /\$[(.]/
|
|
@@ -3876,7 +3876,7 @@ function ei(n) {
|
|
|
3876
3876
|
"zsocket",
|
|
3877
3877
|
"zstyle",
|
|
3878
3878
|
"ztcp"
|
|
3879
|
-
],
|
|
3879
|
+
], D = [
|
|
3880
3880
|
"chcon",
|
|
3881
3881
|
"chgrp",
|
|
3882
3882
|
"chown",
|
|
@@ -3998,7 +3998,7 @@ function ei(n) {
|
|
|
3998
3998
|
"set",
|
|
3999
3999
|
"shopt",
|
|
4000
4000
|
...y,
|
|
4001
|
-
...
|
|
4001
|
+
...D
|
|
4002
4002
|
]
|
|
4003
4003
|
},
|
|
4004
4004
|
contains: [
|
|
@@ -4585,10 +4585,10 @@ function ni(n) {
|
|
|
4585
4585
|
};
|
|
4586
4586
|
function v(E, {
|
|
4587
4587
|
exceptions: y,
|
|
4588
|
-
when:
|
|
4588
|
+
when: D
|
|
4589
4589
|
} = {}) {
|
|
4590
|
-
const M =
|
|
4591
|
-
return y = y || [], E.map((
|
|
4590
|
+
const M = D;
|
|
4591
|
+
return y = y || [], E.map((S) => S.match(/\|\d+$/) || y.includes(S) ? S : M(S) ? `${S}|0` : S);
|
|
4592
4592
|
}
|
|
4593
4593
|
return {
|
|
4594
4594
|
name: "SQL",
|
|
@@ -4637,7 +4637,7 @@ Y.registerLanguage("python", qt);
|
|
|
4637
4637
|
Y.registerLanguage("java", Jt);
|
|
4638
4638
|
Y.registerLanguage("bash", ei);
|
|
4639
4639
|
Y.registerLanguage("sql", ni);
|
|
4640
|
-
var
|
|
4640
|
+
var N = /* @__PURE__ */ ((n) => (n.EQUAL = "equal", n.DELETE = "removed", n.ADD = "added", n.EMPTY = "empty", n))(N || {});
|
|
4641
4641
|
const J = "<code-diff-modified>", ee = "</code-diff-modified>", ti = 1e4, Z = 1e3, cn = J.replace("<", "<").replace(">", ">"), un = ee.replace("<", "<").replace(">", ">");
|
|
4642
4642
|
function ii(n) {
|
|
4643
4643
|
const e = {
|
|
@@ -4650,17 +4650,17 @@ function ii(n) {
|
|
|
4650
4650
|
return n.replace(/[&<>"']/g, (s) => e[s]);
|
|
4651
4651
|
}
|
|
4652
4652
|
function se(n) {
|
|
4653
|
-
return n === void 0 ?
|
|
4653
|
+
return n === void 0 ? N.EQUAL : n.added ? N.ADD : n.removed ? N.DELETE : N.EQUAL;
|
|
4654
4654
|
}
|
|
4655
4655
|
function Sn(n, e, s = "word", u = !1) {
|
|
4656
4656
|
if (typeof n == "undefined" || typeof e == "undefined")
|
|
4657
4657
|
return [n, e];
|
|
4658
4658
|
if (!u && n.length + e.length > ti)
|
|
4659
4659
|
return [n, e];
|
|
4660
|
-
const t = (s === "char" ? Hn : Kn)(n, e), i = t.filter((a) => se(a) !==
|
|
4661
|
-
(a) => se(a) ===
|
|
4662
|
-
).join(""), r = t.filter((a) => se(a) !==
|
|
4663
|
-
(a) => se(a) ===
|
|
4660
|
+
const t = (s === "char" ? Hn : Kn)(n, e), i = t.filter((a) => se(a) !== N.ADD).map(
|
|
4661
|
+
(a) => se(a) === N.DELETE ? `${J}${a.value}${ee}` : a.value
|
|
4662
|
+
).join(""), r = t.filter((a) => se(a) !== N.DELETE).map(
|
|
4663
|
+
(a) => se(a) === N.ADD ? `${J}${a.value}${ee}` : a.value
|
|
4664
4664
|
).join("");
|
|
4665
4665
|
return [i, r];
|
|
4666
4666
|
}
|
|
@@ -4747,7 +4747,7 @@ function xe(n, e) {
|
|
|
4747
4747
|
if (n.highlighted)
|
|
4748
4748
|
return;
|
|
4749
4749
|
const s = n.left.code;
|
|
4750
|
-
s !== void 0 && (n.left.code = Be(e, s)), n.right.code !== void 0 && (n.right.code = n.left.type ===
|
|
4750
|
+
s !== void 0 && (n.left.code = Be(e, s)), n.right.code !== void 0 && (n.right.code = n.left.type === N.EQUAL && n.right.type === N.EQUAL && n.right.code === s ? n.left.code : Be(e, n.right.code)), n.highlighted = !0;
|
|
4751
4751
|
}
|
|
4752
4752
|
function Ln(n, e) {
|
|
4753
4753
|
var a, l;
|
|
@@ -4785,7 +4785,7 @@ function Ln(n, e) {
|
|
|
4785
4785
|
};
|
|
4786
4786
|
}
|
|
4787
4787
|
function ri(n, e, s = "plaintext", u = "word", g = !1, t = 10, i) {
|
|
4788
|
-
const r = () => ({ type:
|
|
4788
|
+
const r = () => ({ type: N.EMPTY }), a = (v, E, y) => ({ type: v, num: E, code: y }), l = Cn(n, e), o = i ? new RegExp(i) : void 0;
|
|
4789
4789
|
let c = 0, f = 0, d = !1;
|
|
4790
4790
|
const h = [], p = {
|
|
4791
4791
|
changes: h,
|
|
@@ -4797,45 +4797,45 @@ function ri(n, e, s = "plaintext", u = "word", g = !1, t = 10, i) {
|
|
|
4797
4797
|
d = !1;
|
|
4798
4798
|
continue;
|
|
4799
4799
|
}
|
|
4800
|
-
const [E, y] = [l[v], l[v + 1]], [
|
|
4800
|
+
const [E, y] = [l[v], l[v + 1]], [D, M] = [se(E), se(y)], S = E.value.replace(/\n$/, "").split(`
|
|
4801
4801
|
`);
|
|
4802
4802
|
if (y === void 0) {
|
|
4803
|
-
for (const
|
|
4803
|
+
for (const T of S) {
|
|
4804
4804
|
let L = r(), B = r();
|
|
4805
|
-
|
|
4805
|
+
D === N.EQUAL && (c++, f++, L = a(N.EQUAL, c, T), B = a(N.EQUAL, f, T)), D === N.DELETE && (c++, L = a(N.DELETE, c, T), B = r()), D === N.ADD && (f++, L = r(), B = a(N.ADD, f, T)), h.push({ left: L, right: B });
|
|
4806
4806
|
}
|
|
4807
4807
|
break;
|
|
4808
4808
|
}
|
|
4809
|
-
if (
|
|
4810
|
-
for (const
|
|
4809
|
+
if (D === N.EQUAL)
|
|
4810
|
+
for (const T of S)
|
|
4811
4811
|
c++, f++, h.push({
|
|
4812
|
-
left: a(
|
|
4813
|
-
right: a(
|
|
4812
|
+
left: a(N.EQUAL, c, T),
|
|
4813
|
+
right: a(N.EQUAL, f, T)
|
|
4814
4814
|
});
|
|
4815
4815
|
const k = y.value.replace(/\n$/, "").split(`
|
|
4816
4816
|
`);
|
|
4817
|
-
if (
|
|
4818
|
-
if (M ===
|
|
4819
|
-
for (const
|
|
4817
|
+
if (D === N.DELETE) {
|
|
4818
|
+
if (M === N.EQUAL)
|
|
4819
|
+
for (const T of S)
|
|
4820
4820
|
c++, h.push({
|
|
4821
|
-
left: a(
|
|
4821
|
+
left: a(N.DELETE, c, T),
|
|
4822
4822
|
right: r()
|
|
4823
4823
|
});
|
|
4824
|
-
if (M ===
|
|
4824
|
+
if (M === N.ADD) {
|
|
4825
4825
|
d = !0;
|
|
4826
|
-
const
|
|
4827
|
-
for (let L = 0; L <
|
|
4826
|
+
const T = Math.max(E.count, y.count);
|
|
4827
|
+
for (let L = 0; L < T; L++) {
|
|
4828
4828
|
L < E.count && c++, L < y.count && f++;
|
|
4829
|
-
const [B, x] = [
|
|
4829
|
+
const [B, x] = [S[L], k[L]], z = g || S.length === k.length, [K, ie] = z ? Sn(B, x, u, g) : [B, x], ue = o != null && o.test(B) ? N.EQUAL : N.DELETE, b = o != null && o.test(x) ? N.EQUAL : N.ADD, A = L < E.count ? a(ue, c, K) : r(), R = L < y.count ? a(b, f, ie) : r();
|
|
4830
4830
|
h.push({ left: A, right: R });
|
|
4831
4831
|
}
|
|
4832
4832
|
}
|
|
4833
4833
|
}
|
|
4834
|
-
if (
|
|
4835
|
-
for (const
|
|
4834
|
+
if (D === N.ADD)
|
|
4835
|
+
for (const T of S)
|
|
4836
4836
|
f++, h.push({
|
|
4837
4837
|
left: r(),
|
|
4838
|
-
right: a(
|
|
4838
|
+
right: a(N.ADD, f, T)
|
|
4839
4839
|
});
|
|
4840
4840
|
}
|
|
4841
4841
|
if (n === e) {
|
|
@@ -4845,9 +4845,9 @@ function ri(n, e, s = "plaintext", u = "word", g = !1, t = 10, i) {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
for (let v = 0; v < h.length; v++) {
|
|
4847
4847
|
const E = h[v];
|
|
4848
|
-
if (E.left.type ===
|
|
4849
|
-
const [y,
|
|
4850
|
-
for (let M = y; M <
|
|
4848
|
+
if (E.left.type === N.DELETE || E.right.type === N.ADD) {
|
|
4849
|
+
const [y, D] = [Math.max(v - t, 0), Math.min(v + t + 1, h.length)];
|
|
4850
|
+
for (let M = y; M < D; M++)
|
|
4851
4851
|
h[M].fold = !1;
|
|
4852
4852
|
}
|
|
4853
4853
|
E.fold === void 0 && (E.fold = !0);
|
|
@@ -4883,53 +4883,53 @@ function si(n, e, s = "plaintext", u = "word", g = !1, t = 10, i) {
|
|
|
4883
4883
|
c = !1;
|
|
4884
4884
|
continue;
|
|
4885
4885
|
}
|
|
4886
|
-
const [m, v] = [r[_], r[_ + 1]], [E, y] = [se(m), se(v)],
|
|
4886
|
+
const [m, v] = [r[_], r[_ + 1]], [E, y] = [se(m), se(v)], D = m.value.replace(/\n$/, "").split(`
|
|
4887
4887
|
`);
|
|
4888
4888
|
if (v === void 0) {
|
|
4889
|
-
for (const
|
|
4890
|
-
E ===
|
|
4889
|
+
for (const S of D)
|
|
4890
|
+
E === N.EQUAL && (l++, o++), E === N.DELETE && l++, E === N.ADD && o++, f.push({
|
|
4891
4891
|
type: E,
|
|
4892
|
-
code:
|
|
4893
|
-
addNum: E ===
|
|
4894
|
-
delNum: E ===
|
|
4892
|
+
code: S,
|
|
4893
|
+
addNum: E === N.DELETE ? void 0 : o,
|
|
4894
|
+
delNum: E === N.ADD ? void 0 : l
|
|
4895
4895
|
});
|
|
4896
4896
|
break;
|
|
4897
4897
|
}
|
|
4898
|
-
if (E ===
|
|
4899
|
-
for (const
|
|
4900
|
-
l++, o++, f.push({ type:
|
|
4898
|
+
if (E === N.EQUAL)
|
|
4899
|
+
for (const S of D)
|
|
4900
|
+
l++, o++, f.push({ type: N.EQUAL, code: S, delNum: l, addNum: o });
|
|
4901
4901
|
const M = v.value.replace(/\n$/, "").split(`
|
|
4902
4902
|
`);
|
|
4903
|
-
if (E ===
|
|
4904
|
-
if (y ===
|
|
4905
|
-
const
|
|
4906
|
-
for (let
|
|
4907
|
-
const L = T
|
|
4903
|
+
if (E === N.DELETE)
|
|
4904
|
+
if (y === N.ADD && (D.length === M.length || g)) {
|
|
4905
|
+
const S = Math.max(D.length, M.length), k = Array.from({ length: S }, (T, L) => Sn(D[L], M[L], u, g));
|
|
4906
|
+
for (let T = 0; T < D.length; T++) {
|
|
4907
|
+
const L = D[T];
|
|
4908
4908
|
l++, f.push({
|
|
4909
|
-
type: a != null && a.test(L) ?
|
|
4910
|
-
code: k[
|
|
4909
|
+
type: a != null && a.test(L) ? N.EQUAL : N.DELETE,
|
|
4910
|
+
code: k[T][0],
|
|
4911
4911
|
delNum: l
|
|
4912
4912
|
});
|
|
4913
4913
|
}
|
|
4914
|
-
for (let
|
|
4915
|
-
const L = M[
|
|
4914
|
+
for (let T = 0; T < M.length; T++) {
|
|
4915
|
+
const L = M[T];
|
|
4916
4916
|
o++, f.push({
|
|
4917
|
-
type: a != null && a.test(L) ?
|
|
4918
|
-
code: k[
|
|
4917
|
+
type: a != null && a.test(L) ? N.EQUAL : N.ADD,
|
|
4918
|
+
code: k[T][1],
|
|
4919
4919
|
addNum: o
|
|
4920
4920
|
});
|
|
4921
4921
|
}
|
|
4922
4922
|
c = !0;
|
|
4923
4923
|
} else
|
|
4924
|
-
for (const
|
|
4925
|
-
l++, f.push({ type:
|
|
4926
|
-
if (E ===
|
|
4927
|
-
for (const
|
|
4928
|
-
o++, f.push({ type:
|
|
4924
|
+
for (const S of D)
|
|
4925
|
+
l++, f.push({ type: N.DELETE, code: S, delNum: l });
|
|
4926
|
+
if (E === N.ADD)
|
|
4927
|
+
for (const S of D)
|
|
4928
|
+
o++, f.push({ type: N.ADD, code: S, addNum: o });
|
|
4929
4929
|
}
|
|
4930
4930
|
for (let _ = 0; _ < f.length; _++) {
|
|
4931
4931
|
const m = f[_];
|
|
4932
|
-
if (m.type ===
|
|
4932
|
+
if (m.type === N.DELETE || m.type === N.ADD) {
|
|
4933
4933
|
const [v, E] = [Math.max(_ - t, 0), Math.min(_ + t + 1, f.length)];
|
|
4934
4934
|
for (let y = v; y < E; y++)
|
|
4935
4935
|
f[y].fold = !1;
|
|
@@ -4964,12 +4964,21 @@ const ai = /* @__PURE__ */ de({
|
|
|
4964
4964
|
props: {
|
|
4965
4965
|
line: null
|
|
4966
4966
|
},
|
|
4967
|
-
emits: ["expand"],
|
|
4967
|
+
emits: ["expand", "change-click"],
|
|
4968
4968
|
setup(n, { emit: e }) {
|
|
4969
|
-
|
|
4970
|
-
|
|
4969
|
+
const s = n;
|
|
4970
|
+
function u(t) {
|
|
4971
|
+
s.line.type !== N.ADD && s.line.type !== N.DELETE || e("change-click", {
|
|
4972
|
+
side: s.line.type === N.DELETE ? "old" : "new",
|
|
4973
|
+
type: s.line.type,
|
|
4974
|
+
lineNumber: s.line.type === N.DELETE ? s.line.delNum : s.line.addNum,
|
|
4975
|
+
event: t
|
|
4976
|
+
});
|
|
4971
4977
|
}
|
|
4972
|
-
|
|
4978
|
+
function g(t) {
|
|
4979
|
+
return t === N.DELETE ? "-" : t === N.ADD ? "+" : "";
|
|
4980
|
+
}
|
|
4981
|
+
return { __sfc: !0, props: s, emit: e, onChangeClick: u, getCodeMarker: g, DiffType: N };
|
|
4973
4982
|
}
|
|
4974
4983
|
});
|
|
4975
4984
|
function ae(n, e, s, u, g, t, i, r) {
|
|
@@ -4983,7 +4992,7 @@ var oi = function() {
|
|
|
4983
4992
|
var e = this, s = e._self._c, u = e._self._setupProxy;
|
|
4984
4993
|
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(g) {
|
|
4985
4994
|
return u.emit("expand", e.line);
|
|
4986
|
-
} } }, [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 !== u.DiffType.EQUAL ? "" : void 0 } }, [s("td", { staticClass: "blob-num", class: {
|
|
4995
|
+
} } }, [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 !== u.DiffType.EQUAL ? "" : void 0 }, on: { click: u.onChangeClick } }, [s("td", { staticClass: "blob-num", class: {
|
|
4987
4996
|
"blob-num-deletion": e.line.type === u.DiffType.DELETE,
|
|
4988
4997
|
"blob-num-addition": e.line.type === u.DiffType.ADD,
|
|
4989
4998
|
"blob-num-context": e.line.type === u.DiffType.EQUAL,
|
|
@@ -5013,29 +5022,32 @@ const ui = ci.exports, fi = /* @__PURE__ */ de({
|
|
|
5013
5022
|
diffChange: null,
|
|
5014
5023
|
language: null
|
|
5015
5024
|
},
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5025
|
+
emits: ["change-click"],
|
|
5026
|
+
setup(n, { emit: e }) {
|
|
5027
|
+
const s = n, u = Te(Z), g = Pe(s.diffChange.changes.filter((c) => !c.hide || c.hideIndex !== void 0)), t = X(() => g.value.slice(0, u.value)), i = X(() => g.value.length - t.value.length), r = X(() => Math.min(i.value, Z));
|
|
5028
|
+
Ue(() => s.diffChange, (c) => {
|
|
5029
|
+
u.value = Z, g.value = c.changes.filter((f) => !f.hide || f.hideIndex !== void 0);
|
|
5020
5030
|
});
|
|
5021
|
-
function
|
|
5022
|
-
|
|
5031
|
+
function a() {
|
|
5032
|
+
t.value.forEach((c) => $e(c, s.language));
|
|
5023
5033
|
}
|
|
5024
|
-
function
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
}),
|
|
5034
|
+
function l({ hideIndex: c }) {
|
|
5035
|
+
c !== void 0 && (s.diffChange.collector[c].lines.forEach((f) => {
|
|
5036
|
+
f.hide = !1, f.fold = !1;
|
|
5037
|
+
}), g.value = s.diffChange.changes.filter((f) => !f.hide || f.hideIndex !== void 0), a());
|
|
5028
5038
|
}
|
|
5029
|
-
function
|
|
5030
|
-
|
|
5039
|
+
function o() {
|
|
5040
|
+
u.value += Z, a();
|
|
5031
5041
|
}
|
|
5032
|
-
return { __sfc: !0, props: e, renderLimit:
|
|
5042
|
+
return { __sfc: !0, props: s, emit: e, renderLimit: u, visibleChanges: g, renderedChanges: t, remainingLines: i, nextBatchSize: r, highlightRenderedChanges: a, expandHandler: l, loadMore: o, UnifiedLine: ui };
|
|
5033
5043
|
}
|
|
5034
5044
|
});
|
|
5035
5045
|
var gi = function() {
|
|
5036
5046
|
var e = this, s = e._self._c, u = e._self._setupProxy;
|
|
5037
5047
|
return s("table", { staticClass: "diff-table" }, [s("tbody", [e._l(u.renderedChanges, function(g, t) {
|
|
5038
|
-
return s(u.UnifiedLine, { key: t, attrs: { line: g }, on: { expand: u.expandHandler
|
|
5048
|
+
return s(u.UnifiedLine, { key: t, attrs: { line: g }, on: { expand: u.expandHandler, "change-click": function(i) {
|
|
5049
|
+
return u.emit("change-click", i);
|
|
5050
|
+
} } });
|
|
5039
5051
|
}), u.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: u.loadMore } }, [e._v(" Show next " + e._s(u.nextBatchSize) + " lines (" + e._s(u.remainingLines) + " remaining) ")])])]) : e._e()], 2)]);
|
|
5040
5052
|
}, hi = [], di = /* @__PURE__ */ ae(
|
|
5041
5053
|
fi,
|
|
@@ -5043,26 +5055,34 @@ var gi = function() {
|
|
|
5043
5055
|
hi,
|
|
5044
5056
|
!1,
|
|
5045
5057
|
null,
|
|
5046
|
-
"
|
|
5058
|
+
"97180dd0"
|
|
5047
5059
|
);
|
|
5048
5060
|
const pi = di.exports, _i = /* @__PURE__ */ de({
|
|
5049
5061
|
__name: "SplitLine",
|
|
5050
5062
|
props: {
|
|
5051
5063
|
splitLine: null
|
|
5052
5064
|
},
|
|
5053
|
-
emits: ["expand"],
|
|
5065
|
+
emits: ["expand", "change-click"],
|
|
5054
5066
|
setup(n, { emit: e }) {
|
|
5055
|
-
function s(
|
|
5056
|
-
return
|
|
5067
|
+
function s(t) {
|
|
5068
|
+
return t === N.DELETE ? "-" : t === N.ADD ? "+" : "";
|
|
5069
|
+
}
|
|
5070
|
+
function u(t, i) {
|
|
5071
|
+
const r = t.currentTarget.closest(".file-diff-split"), a = r.querySelectorAll(".split-side-left"), l = r.querySelectorAll(".split-side-right");
|
|
5072
|
+
for (const o of l)
|
|
5073
|
+
o.classList.toggle("no-select", i === "left");
|
|
5074
|
+
for (const o of a)
|
|
5075
|
+
o.classList.toggle("no-select", i === "right");
|
|
5057
5076
|
}
|
|
5058
|
-
function
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5077
|
+
function g(t, i, r) {
|
|
5078
|
+
i.type !== N.ADD && i.type !== N.DELETE || e("change-click", {
|
|
5079
|
+
side: r,
|
|
5080
|
+
type: i.type,
|
|
5081
|
+
lineNumber: i.num,
|
|
5082
|
+
event: t
|
|
5083
|
+
});
|
|
5064
5084
|
}
|
|
5065
|
-
return { __sfc: !0, emit: e, getCodeMarker: s, onSplitLineMousedown: u, DiffType:
|
|
5085
|
+
return { __sfc: !0, emit: e, getCodeMarker: s, onSplitLineMousedown: u, onChangeClick: g, DiffType: N };
|
|
5066
5086
|
}
|
|
5067
5087
|
});
|
|
5068
5088
|
var bi = function() {
|
|
@@ -5084,6 +5104,8 @@ var bi = function() {
|
|
|
5084
5104
|
"split-side-right": t === 1
|
|
5085
5105
|
}, on: { mousedown: function(i) {
|
|
5086
5106
|
return u.onSplitLineMousedown(i, t === 0 ? "left" : "right");
|
|
5107
|
+
}, click: function(i) {
|
|
5108
|
+
return u.onChangeClick(i, g, t === 0 ? "old" : "new");
|
|
5087
5109
|
} } }, [s("span", { staticClass: "blob-code-inner blob-code-marker", attrs: { "data-code-marker": u.getCodeMarker(g.type) }, domProps: { innerHTML: e._s(g.code) } })])]];
|
|
5088
5110
|
})], 2);
|
|
5089
5111
|
}, vi = [], mi = /* @__PURE__ */ ae(
|
|
@@ -5100,29 +5122,32 @@ const Ei = mi.exports, yi = /* @__PURE__ */ de({
|
|
|
5100
5122
|
diffChange: null,
|
|
5101
5123
|
language: null
|
|
5102
5124
|
},
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5125
|
+
emits: ["change-click"],
|
|
5126
|
+
setup(n, { emit: e }) {
|
|
5127
|
+
const s = n, u = Te(Z), g = Pe(s.diffChange.changes.filter((c) => !c.hide || c.hideIndex !== void 0)), t = X(() => g.value.slice(0, u.value)), i = X(() => g.value.length - t.value.length), r = X(() => Math.min(i.value, Z));
|
|
5128
|
+
Ue(() => s.diffChange, (c) => {
|
|
5129
|
+
u.value = Z, g.value = c.changes.filter((f) => !f.hide || f.hideIndex !== void 0);
|
|
5107
5130
|
});
|
|
5108
|
-
function
|
|
5109
|
-
|
|
5131
|
+
function a() {
|
|
5132
|
+
t.value.forEach((c) => xe(c, s.language));
|
|
5110
5133
|
}
|
|
5111
|
-
function
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
}),
|
|
5134
|
+
function l({ hideIndex: c }) {
|
|
5135
|
+
c !== void 0 && (s.diffChange.collector[c].lines.forEach((f) => {
|
|
5136
|
+
f.hide = !1, f.fold = !1;
|
|
5137
|
+
}), g.value = s.diffChange.changes.filter((f) => !f.hide || f.hideIndex !== void 0), a());
|
|
5115
5138
|
}
|
|
5116
|
-
function
|
|
5117
|
-
|
|
5139
|
+
function o() {
|
|
5140
|
+
u.value += Z, a();
|
|
5118
5141
|
}
|
|
5119
|
-
return { __sfc: !0, props: e, renderLimit:
|
|
5142
|
+
return { __sfc: !0, props: s, emit: e, renderLimit: u, visibleChanges: g, renderedChanges: t, remainingLines: i, nextBatchSize: r, highlightRenderedChanges: a, expandHandler: l, loadMore: o, SplitLine: Ei };
|
|
5120
5143
|
}
|
|
5121
5144
|
});
|
|
5122
5145
|
var wi = function() {
|
|
5123
5146
|
var e = this, s = e._self._c, u = e._self._setupProxy;
|
|
5124
5147
|
return s("table", { staticClass: "file-diff-split diff-table" }, [e._m(0), s("tbody", [e._l(u.renderedChanges, function(g, t) {
|
|
5125
|
-
return s(u.SplitLine, { key: t, attrs: { "split-line": g }, on: { expand: u.expandHandler
|
|
5148
|
+
return s(u.SplitLine, { key: t, attrs: { "split-line": g }, on: { expand: u.expandHandler, "change-click": function(i) {
|
|
5149
|
+
return u.emit("change-click", i);
|
|
5150
|
+
} } });
|
|
5126
5151
|
}), u.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: u.loadMore } }, [e._v(" Show next " + e._s(u.nextBatchSize) + " lines (" + e._s(u.remainingLines) + " remaining) ")])])]) : e._e()], 2)]);
|
|
5127
5152
|
}, Ai = [function() {
|
|
5128
5153
|
var n = this, e = n._self._c;
|
|
@@ -5133,16 +5158,16 @@ var wi = function() {
|
|
|
5133
5158
|
Ai,
|
|
5134
5159
|
!1,
|
|
5135
5160
|
null,
|
|
5136
|
-
"
|
|
5161
|
+
"ff9516b5"
|
|
5137
5162
|
);
|
|
5138
|
-
const
|
|
5163
|
+
const Ti = Ni.exports, Mi = {
|
|
5139
5164
|
name: "DownArrowIcon"
|
|
5140
5165
|
};
|
|
5141
5166
|
var Di = function() {
|
|
5142
5167
|
var e = this, s = e._self._c;
|
|
5143
5168
|
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" } })]);
|
|
5144
5169
|
}, Si = [], Ci = /* @__PURE__ */ ae(
|
|
5145
|
-
|
|
5170
|
+
Mi,
|
|
5146
5171
|
Di,
|
|
5147
5172
|
Si,
|
|
5148
5173
|
!1,
|
|
@@ -5180,10 +5205,11 @@ const Bi = ki.exports, $i = /* @__PURE__ */ de({
|
|
|
5180
5205
|
newFilename: { default: void 0 },
|
|
5181
5206
|
hideHeader: { type: Boolean, default: !1 },
|
|
5182
5207
|
hideStat: { type: Boolean, default: !1 },
|
|
5208
|
+
hideNavigation: { type: Boolean, default: !1 },
|
|
5183
5209
|
theme: { default: "light" },
|
|
5184
5210
|
ignoreMatchingLines: { default: void 0 }
|
|
5185
5211
|
},
|
|
5186
|
-
emits: ["diff"],
|
|
5212
|
+
emits: ["diff", "change-click"],
|
|
5187
5213
|
setup(n, { emit: e }) {
|
|
5188
5214
|
const s = n, u = X(() => s.outputFormat === "line-by-line"), g = X(() => {
|
|
5189
5215
|
let h = s.oldString || "";
|
|
@@ -5195,7 +5221,7 @@ const Bi = ki.exports, $i = /* @__PURE__ */ de({
|
|
|
5195
5221
|
`) : h, h;
|
|
5196
5222
|
}), i = X(
|
|
5197
5223
|
() => u.value ? si(g.value, t.value, s.language, s.diffStyle, s.forceInlineComparison, s.context, s.ignoreMatchingLines) : ri(g.value, t.value, s.language, s.diffStyle, s.forceInlineComparison, s.context, s.ignoreMatchingLines)
|
|
5198
|
-
), r = Pe(i.value), a = X(() => r.value.stat.additionsNum === 0 && r.value.stat.deletionsNum === 0), l =
|
|
5224
|
+
), r = Pe(i.value), a = X(() => r.value.stat.additionsNum === 0 && r.value.stat.deletionsNum === 0), l = Te(-1), o = Te();
|
|
5199
5225
|
function c() {
|
|
5200
5226
|
const h = o.value.querySelectorAll("[data-diff-change]");
|
|
5201
5227
|
l.value < h.length - 1 && (l.value++, d(h));
|
|
@@ -5217,16 +5243,20 @@ const Bi = ki.exports, $i = /* @__PURE__ */ de({
|
|
|
5217
5243
|
delNum: r.value.stat.deletionsNum
|
|
5218
5244
|
}
|
|
5219
5245
|
});
|
|
5220
|
-
}, { deep: !0, immediate: !0 }), { __sfc: !0, props: s, emits: e, isUnifiedViewer: u, oldString: g, newString: t, raw: i, diffChange: r, isNotChanged: a, currentDiffIndex: l, root: o, goToNextDiff: c, goToPrevDiff: f, updateCurrentDiffHighlight: d, UnifiedViewer: pi, SplitViewer:
|
|
5246
|
+
}, { deep: !0, immediate: !0 }), { __sfc: !0, props: s, emits: e, isUnifiedViewer: u, oldString: g, newString: t, raw: i, diffChange: r, isNotChanged: a, currentDiffIndex: l, root: o, goToNextDiff: c, goToPrevDiff: f, updateCurrentDiffHighlight: d, UnifiedViewer: pi, SplitViewer: Ti, DownArrowIcon: Li, UpArrowIcon: Bi };
|
|
5221
5247
|
}
|
|
5222
5248
|
});
|
|
5223
5249
|
var xi = function() {
|
|
5224
5250
|
var e = this, s = e._self._c, u = e._self._setupProxy;
|
|
5225
|
-
return s("div", { ref: "root", staticClass: "code-diff-view", style: { maxHeight: e.maxHeight }, attrs: { theme: e.theme } }, [e.hideHeader ? e._e() : s("div", { staticClass: "file-header" }, [u.isUnifiedViewer ? s("div", { staticClass: "file-info" }, [s("span", [s("div", { staticClass: "info-left" }, [e._v(e._s(e.filename))]), s("div", { staticClass: "info-left" }, [e._v(e._s(e.newFilename))])]), s("span", { staticClass: "diff-commandbar" }, [s("button", { staticClass: "command-item-button", attrs: { title: "Next Change" }, on: { click: u.goToNextDiff } }, [s(u.DownArrowIcon)], 1), s("button", { staticClass: "command-item-button", attrs: { title: "Previous Change" }, on: { click: u.goToPrevDiff } }, [s(u.UpArrowIcon)], 1)]), e.hideStat ? e._e() : s("span", { staticClass: "diff-stat" }, [e._t("stat", function() {
|
|
5251
|
+
return s("div", { ref: "root", staticClass: "code-diff-view", style: { maxHeight: e.maxHeight }, attrs: { theme: e.theme } }, [e.hideHeader ? e._e() : s("div", { staticClass: "file-header" }, [u.isUnifiedViewer ? s("div", { staticClass: "file-info" }, [s("span", [s("div", { staticClass: "info-left" }, [e._v(e._s(e.filename))]), s("div", { staticClass: "info-left" }, [e._v(e._s(e.newFilename))])]), e.hideNavigation ? e._e() : s("span", { staticClass: "diff-commandbar" }, [s("button", { staticClass: "command-item-button", attrs: { title: "Next Change" }, on: { click: u.goToNextDiff } }, [s(u.DownArrowIcon)], 1), s("button", { staticClass: "command-item-button", attrs: { title: "Previous Change" }, on: { click: u.goToPrevDiff } }, [s(u.UpArrowIcon)], 1)]), e.hideStat ? e._e() : s("span", { staticClass: "diff-stat" }, [e._t("stat", function() {
|
|
5226
5252
|
return [s("span", { staticClass: "diff-stat-added" }, [e._v("+" + e._s(u.diffChange.stat.additionsNum) + " additions")]), s("span", { staticClass: "diff-stat-deleted" }, [e._v("-" + e._s(u.diffChange.stat.deletionsNum) + " deletions")])];
|
|
5227
|
-
}, { stat: u.diffChange.stat })], 2)]) : s("div", { staticClass: "file-info" }, [s("span", { staticClass: "info-left" }, [e._v(e._s(e.filename))]), s("span", { staticClass: "info-right" }, [s("span", { staticStyle: { "margin-left": "20px" } }, [e._v(e._s(e.newFilename))]), s("span", { staticClass: "diff-commandbar" }, [s("button", { staticClass: "command-item-button", attrs: { title: "Next Change" }, on: { click: u.goToNextDiff } }, [s(u.DownArrowIcon)], 1), s("button", { staticClass: "command-item-button", attrs: { title: "Previous Change" }, on: { click: u.goToPrevDiff } }, [s(u.UpArrowIcon)], 1)]), e.hideStat ? e._e() : s("span", { staticClass: "diff-stat" }, [e._t("stat", function() {
|
|
5253
|
+
}, { stat: u.diffChange.stat })], 2)]) : s("div", { staticClass: "file-info" }, [s("span", { staticClass: "info-left" }, [e._v(e._s(e.filename))]), s("span", { staticClass: "info-right" }, [s("span", { staticStyle: { "margin-left": "20px" } }, [e._v(e._s(e.newFilename))]), e.hideNavigation ? e._e() : s("span", { staticClass: "diff-commandbar" }, [s("button", { staticClass: "command-item-button", attrs: { title: "Next Change" }, on: { click: u.goToNextDiff } }, [s(u.DownArrowIcon)], 1), s("button", { staticClass: "command-item-button", attrs: { title: "Previous Change" }, on: { click: u.goToPrevDiff } }, [s(u.UpArrowIcon)], 1)]), e.hideStat ? e._e() : s("span", { staticClass: "diff-stat" }, [e._t("stat", function() {
|
|
5228
5254
|
return [s("span", { staticClass: "diff-stat-added" }, [e._v("+" + e._s(u.diffChange.stat.additionsNum) + " additions")]), s("span", { staticClass: "diff-stat-deleted" }, [e._v("-" + e._s(u.diffChange.stat.deletionsNum) + " deletions")])];
|
|
5229
|
-
}, { stat: u.diffChange.stat })], 2)])])]), u.isUnifiedViewer ? s(u.UnifiedViewer, { attrs: { "diff-change": u.diffChange, language: e.language }
|
|
5255
|
+
}, { stat: u.diffChange.stat })], 2)])])]), u.isUnifiedViewer ? s(u.UnifiedViewer, { attrs: { "diff-change": u.diffChange, language: e.language }, on: { "change-click": function(g) {
|
|
5256
|
+
return u.emits("change-click", g);
|
|
5257
|
+
} } }) : s(u.SplitViewer, { attrs: { "diff-change": u.diffChange, language: e.language }, on: { "change-click": function(g) {
|
|
5258
|
+
return u.emits("change-click", g);
|
|
5259
|
+
} } })], 1);
|
|
5230
5260
|
}, Pi = [], Ui = /* @__PURE__ */ ae(
|
|
5231
5261
|
$i,
|
|
5232
5262
|
xi,
|