@withgraphite/graphite-cli 1.6.6 → 1.6.7
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/.CHANGELOG.md +8 -0
- package/build/asset-manifest.json +9 -9
- package/build/index.html +1 -1
- package/build/static/css/{274.74a3708d.chunk.css → 603.b5b455ea.chunk.css} +1 -1
- package/build/static/css/main.18f97c48.css +2 -0
- package/build/static/js/447.f60d5f2f.chunk.js +2 -0
- package/build/static/js/603.0c99f909.chunk.js +1 -0
- package/build/static/js/main.js +1 -1
- package/data/description.md +322 -0
- package/graphite.js +1 -1
- package/graphite.js.LICENSE.txt +2 -0
- package/package.json +2 -1
- package/build/static/css/main.6c222a98.css +0 -2
- package/build/static/js/274.dce911b9.chunk.js +0 -1
- package/build/static/js/697.e9243bfd.chunk.js +0 -2
- /package/build/static/js/{697.e9243bfd.chunk.js.LICENSE.txt → 447.f60d5f2f.chunk.js.LICENSE.txt} +0 -0
package/graphite.js.LICENSE.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withgraphite/graphite-cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.7",
|
|
4
4
|
"license": "None",
|
|
5
5
|
"main": "./graphite.js",
|
|
6
6
|
"homepage": "https://github.com/withgraphite/graphite-cli",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"scripts": "*.js",
|
|
24
24
|
"assets": [
|
|
25
25
|
"build/**/*",
|
|
26
|
+
"data/**/*",
|
|
26
27
|
"gt.fish",
|
|
27
28
|
".CHANGELOG.md",
|
|
28
29
|
"package.json",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.light-theme,.vscode-light{--background:#fff;--focus-border:#0090f1;--foreground:#616161;--scrollbar-slider-background:hsla(0,0%,39%,.4);--scrollbar-slider-hover-background:hsla(0,0%,39%,.7);--scrollbar-slider-active-background:rgba(0,0,0,.6);--badge-background:#c4c4c4;--badge-foreground:#333;--button-border:transparent;--button-primary-background:#007acc;--button-primary-foreground:#fff;--button-primary-hover-background:#0062a3;--button-secondary-background:#5f6a79;--button-secondary-foreground:#fff;--button-secondary-hover-background:#4c5561;--checkbox-background:#fff;--checkbox-border:#cecece;--checkbox-foreground:var(--foreground);--list-active-selection-background:#0060c0;--list-active-selection-foreground:#fff;--list-hover-background:#e8e8e8;--divider-background:#c8c8c8;--dropdown-background:#fff;--dropdown-border:#cecece;--dropdown-foreground:var(--foreground);--input-background:#fff;--input-foreground:#616161;--input-placeholder-foreground:#767676;--link-active-foreground:#006ab1;--link-foreground:#006ab1;--progress-background:#0e70c0;--panel-tab-active-border:#424242;--panel-tab-active-foreground:#424242;--panel-tab-foreground:rgba(66,66,66,.75);--panel-view-background:#fff;--panel-view-border:hsla(0,0%,50%,.35)}.gti-root{--pad:10px;--halfpad:5px;--vscode-button-height:24px;--vscode-icon-button-height:22px;background-color:var(--background);color:var(--foreground);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;height:100vh;margin:0;max-height:100vh}.gti-root,.main-content-area{display:flex;flex-direction:column}.main-content-area{flex-grow:1;overflow-y:auto;padding:1px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.empty-app-state{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}vscode-button::part(content){white-space:nowrap}.banner-notice{--errpadding:20px;background-color:var(--warning-bg-color);border-radius:var(--pad);color:var(--warning-fg-color);display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--pad);margin:var(--errpadding);padding:var(--errpadding)}.banner-notice-content{display:flex;flex-direction:column;max-width:calc(100% - var(--errpadding))}.banner-notice-title{font-weight:700}.banner-notice-byline{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.banner-notice-left{display:flex;flex-direction:row;flex-grow:1;gap:var(--pad);overflow:hidden}.context-menu-container{animation:fadein 50ms linear;background-color:var(--tooltip-background);border:1px solid var(--tooltip-border);color:var(--foreground);display:flex;flex-direction:column;min-width:180px;padding:var(--halfpad);position:absolute;z-index:2000}.context-menu-fadeout{animation:fadeout .3s}@keyframes fadeout{0%{opacity:1}50%{opacity:1}to{opacity:0}}.context-menu-divider{border-top:1px solid var(--tooltip-border);height:0;margin:var(--halfpad)}.context-menu-item{border-radius:var(--halfpad);cursor:pointer;padding:var(--halfpad)}.context-menu-item:focus,.context-menu-item:hover{background-color:var(--hover-darken)}@keyframes flash{0%{background-color:transparent;background-color:initial}to{background-color:var(--hover-darken)}}.context-menu-item-selected{animation:flash .1s steps(1)}.context-menu-arrow-bottom,.context-menu-arrow-top{--arrow-height:var(--pad);--arrow-half-width:var(--halfpad);border:var(--arrow-half-width) solid transparent;content:" ";height:0;margin-left:auto;margin-right:auto;position:absolute;width:0}.context-menu-arrow-top{border-bottom:var(--arrow-half-width) solid var(--tooltip-border);top:calc(var(--arrow-height)*-1)}.context-menu-arrow-bottom{border-top:var(--arrow-half-width) solid var(--tooltip-border);bottom:calc(var(--arrow-height)*-1)}.context-menu-arrow-left{left:0}.context-menu-arrow-right{right:0}.error-notice{--errpadding:20px;background-color:var(--error-bg-color);border-radius:var(--pad);color:var(--error-fg-color);cursor:pointer;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--pad);margin:var(--errpadding);padding:var(--errpadding)}.error-notice-arrow{margin-top:calc(var(--errpadding)/2)}.error-notice-row{display:flex;flex-direction:row}.error-notice-content{display:flex;flex-direction:column;max-width:calc(100% - var(--errpadding))}.error-notice-title{font-weight:700}.error-notice-stack-trace{font-family:monospace;white-space:pre-wrap}.error-notice-buttons{align-items:center;display:flex;gap:8px}.error-notice-byline{overflow:hidden}.error-notice-left{display:flex;flex-direction:row;flex-grow:1;gap:var(--pad);overflow:hidden}.inline-error-badge .tooltip-creator{align-items:center;background-color:var(--error-bg-color);border-radius:var(--halfpad);color:var(--error-fg-color);display:flex;flex-direction:row;font-weight:600;gap:var(--pad);padding:var(--halfpad) var(--pad)}.inline-error-tooltip{max-width:500px}@font-face{font-display:block;font-family:codicon;src:url(/static/media/codicon.fa2cc0ab9f0bec2b3365.ttf) format("truetype")}.codicon[class*=codicon-]{text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal normal normal 16px/1 codicon;text-align:center;text-decoration:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.5}.codicon-modifier-hidden{opacity:0}.codicon-loading{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.codicon-add:before,.codicon-gist-new:before,.codicon-plus:before,.codicon-repo-create:before{content:"\ea60"}.codicon-light-bulb:before,.codicon-lightbulb:before{content:"\ea61"}.codicon-repo-delete:before,.codicon-repo:before{content:"\ea62"}.codicon-gist-fork:before,.codicon-repo-forked:before{content:"\ea63"}.codicon-git-pull-request-abandoned:before,.codicon-git-pull-request:before{content:"\ea64"}.codicon-keyboard:before,.codicon-record-keys:before{content:"\ea65"}.codicon-tag-add:before,.codicon-tag-remove:before,.codicon-tag:before{content:"\ea66"}.codicon-person-filled:before,.codicon-person-follow:before,.codicon-person-outline:before,.codicon-person:before{content:"\ea67"}.codicon-git-branch-create:before,.codicon-git-branch-delete:before,.codicon-git-branch:before,.codicon-source-control:before{content:"\ea68"}.codicon-mirror-public:before,.codicon-mirror:before{content:"\ea69"}.codicon-star-add:before,.codicon-star-delete:before,.codicon-star-empty:before,.codicon-star:before{content:"\ea6a"}.codicon-comment-add:before,.codicon-comment:before{content:"\ea6b"}.codicon-alert:before,.codicon-warning:before{content:"\ea6c"}.codicon-search-save:before,.codicon-search:before{content:"\ea6d"}.codicon-log-out:before,.codicon-sign-out:before{content:"\ea6e"}.codicon-log-in:before,.codicon-sign-in:before{content:"\ea6f"}.codicon-eye-unwatch:before,.codicon-eye-watch:before,.codicon-eye:before{content:"\ea70"}.codicon-circle-filled:before,.codicon-close-dirty:before,.codicon-debug-breakpoint-disabled:before,.codicon-debug-breakpoint:before,.codicon-debug-hint:before,.codicon-primitive-dot:before,.codicon-terminal-decoration-success:before{content:"\ea71"}.codicon-primitive-square:before{content:"\ea72"}.codicon-edit:before,.codicon-pencil:before{content:"\ea73"}.codicon-info:before,.codicon-issue-opened:before{content:"\ea74"}.codicon-gist-private:before,.codicon-git-fork-private:before,.codicon-lock:before,.codicon-mirror-private:before{content:"\ea75"}.codicon-close:before,.codicon-remove-close:before,.codicon-x:before{content:"\ea76"}.codicon-repo-sync:before,.codicon-sync:before{content:"\ea77"}.codicon-clone:before,.codicon-desktop-download:before{content:"\ea78"}.codicon-beaker:before,.codicon-microscope:before{content:"\ea79"}.codicon-device-desktop:before,.codicon-vm:before{content:"\ea7a"}.codicon-file-text:before,.codicon-file:before{content:"\ea7b"}.codicon-ellipsis:before,.codicon-kebab-horizontal:before,.codicon-more:before{content:"\ea7c"}.codicon-mail-reply:before,.codicon-reply:before{content:"\ea7d"}.codicon-organization-filled:before,.codicon-organization-outline:before,.codicon-organization:before{content:"\ea7e"}.codicon-file-add:before,.codicon-new-file:before{content:"\ea7f"}.codicon-file-directory-create:before,.codicon-new-folder:before{content:"\ea80"}.codicon-trash:before,.codicon-trashcan:before{content:"\ea81"}.codicon-clock:before,.codicon-history:before{content:"\ea82"}.codicon-file-directory:before,.codicon-folder:before,.codicon-symbol-folder:before{content:"\ea83"}.codicon-github:before,.codicon-logo-github:before,.codicon-mark-github:before{content:"\ea84"}.codicon-console:before,.codicon-repl:before,.codicon-terminal:before{content:"\ea85"}.codicon-symbol-event:before,.codicon-zap:before{content:"\ea86"}.codicon-error:before,.codicon-stop:before{content:"\ea87"}.codicon-symbol-variable:before,.codicon-variable:before{content:"\ea88"}.codicon-array:before,.codicon-symbol-array:before{content:"\ea8a"}.codicon-symbol-module:before,.codicon-symbol-namespace:before,.codicon-symbol-object:before,.codicon-symbol-package:before{content:"\ea8b"}.codicon-symbol-constructor:before,.codicon-symbol-function:before,.codicon-symbol-method:before{content:"\ea8c"}.codicon-symbol-boolean:before,.codicon-symbol-null:before{content:"\ea8f"}.codicon-symbol-number:before,.codicon-symbol-numeric:before{content:"\ea90"}.codicon-symbol-struct:before,.codicon-symbol-structure:before{content:"\ea91"}.codicon-symbol-parameter:before,.codicon-symbol-type-parameter:before{content:"\ea92"}.codicon-symbol-key:before,.codicon-symbol-text:before{content:"\ea93"}.codicon-go-to-file:before,.codicon-symbol-reference:before{content:"\ea94"}.codicon-symbol-enum:before,.codicon-symbol-value:before{content:"\ea95"}.codicon-symbol-ruler:before,.codicon-symbol-unit:before{content:"\ea96"}.codicon-activate-breakpoints:before{content:"\ea97"}.codicon-archive:before{content:"\ea98"}.codicon-arrow-both:before{content:"\ea99"}.codicon-arrow-down:before{content:"\ea9a"}.codicon-arrow-left:before{content:"\ea9b"}.codicon-arrow-right:before{content:"\ea9c"}.codicon-arrow-small-down:before{content:"\ea9d"}.codicon-arrow-small-left:before{content:"\ea9e"}.codicon-arrow-small-right:before{content:"\ea9f"}.codicon-arrow-small-up:before{content:"\eaa0"}.codicon-arrow-up:before{content:"\eaa1"}.codicon-bell:before{content:"\eaa2"}.codicon-bold:before{content:"\eaa3"}.codicon-book:before{content:"\eaa4"}.codicon-bookmark:before{content:"\eaa5"}.codicon-debug-breakpoint-conditional-unverified:before{content:"\eaa6"}.codicon-debug-breakpoint-conditional-disabled:before,.codicon-debug-breakpoint-conditional:before{content:"\eaa7"}.codicon-debug-breakpoint-data-unverified:before{content:"\eaa8"}.codicon-debug-breakpoint-data-disabled:before,.codicon-debug-breakpoint-data:before{content:"\eaa9"}.codicon-debug-breakpoint-log-unverified:before{content:"\eaaa"}.codicon-debug-breakpoint-log-disabled:before,.codicon-debug-breakpoint-log:before{content:"\eaab"}.codicon-briefcase:before{content:"\eaac"}.codicon-broadcast:before{content:"\eaad"}.codicon-browser:before{content:"\eaae"}.codicon-bug:before{content:"\eaaf"}.codicon-calendar:before{content:"\eab0"}.codicon-case-sensitive:before{content:"\eab1"}.codicon-check:before{content:"\eab2"}.codicon-checklist:before{content:"\eab3"}.codicon-chevron-down:before{content:"\eab4"}.codicon-chevron-left:before{content:"\eab5"}.codicon-chevron-right:before{content:"\eab6"}.codicon-chevron-up:before{content:"\eab7"}.codicon-chrome-close:before{content:"\eab8"}.codicon-chrome-maximize:before{content:"\eab9"}.codicon-chrome-minimize:before{content:"\eaba"}.codicon-chrome-restore:before{content:"\eabb"}.codicon-circle-outline:before,.codicon-circle:before,.codicon-debug-breakpoint-unverified:before,.codicon-terminal-decoration-incomplete:before{content:"\eabc"}.codicon-circle-slash:before{content:"\eabd"}.codicon-circuit-board:before{content:"\eabe"}.codicon-clear-all:before{content:"\eabf"}.codicon-clippy:before{content:"\eac0"}.codicon-close-all:before{content:"\eac1"}.codicon-cloud-download:before{content:"\eac2"}.codicon-cloud-upload:before{content:"\eac3"}.codicon-code:before{content:"\eac4"}.codicon-collapse-all:before{content:"\eac5"}.codicon-color-mode:before{content:"\eac6"}.codicon-comment-discussion:before{content:"\eac7"}.codicon-credit-card:before{content:"\eac9"}.codicon-dash:before{content:"\eacc"}.codicon-dashboard:before{content:"\eacd"}.codicon-database:before{content:"\eace"}.codicon-debug-continue:before{content:"\eacf"}.codicon-debug-disconnect:before{content:"\ead0"}.codicon-debug-pause:before{content:"\ead1"}.codicon-debug-restart:before{content:"\ead2"}.codicon-debug-start:before{content:"\ead3"}.codicon-debug-step-into:before{content:"\ead4"}.codicon-debug-step-out:before{content:"\ead5"}.codicon-debug-step-over:before{content:"\ead6"}.codicon-debug-stop:before{content:"\ead7"}.codicon-debug:before{content:"\ead8"}.codicon-device-camera-video:before{content:"\ead9"}.codicon-device-camera:before{content:"\eada"}.codicon-device-mobile:before{content:"\eadb"}.codicon-diff-added:before{content:"\eadc"}.codicon-diff-ignored:before{content:"\eadd"}.codicon-diff-modified:before{content:"\eade"}.codicon-diff-removed:before{content:"\eadf"}.codicon-diff-renamed:before{content:"\eae0"}.codicon-diff:before{content:"\eae1"}.codicon-discard:before{content:"\eae2"}.codicon-editor-layout:before{content:"\eae3"}.codicon-empty-window:before{content:"\eae4"}.codicon-exclude:before{content:"\eae5"}.codicon-extensions:before{content:"\eae6"}.codicon-eye-closed:before{content:"\eae7"}.codicon-file-binary:before{content:"\eae8"}.codicon-file-code:before{content:"\eae9"}.codicon-file-media:before{content:"\eaea"}.codicon-file-pdf:before{content:"\eaeb"}.codicon-file-submodule:before{content:"\eaec"}.codicon-file-symlink-directory:before{content:"\eaed"}.codicon-file-symlink-file:before{content:"\eaee"}.codicon-file-zip:before{content:"\eaef"}.codicon-files:before{content:"\eaf0"}.codicon-filter:before{content:"\eaf1"}.codicon-flame:before{content:"\eaf2"}.codicon-fold-down:before{content:"\eaf3"}.codicon-fold-up:before{content:"\eaf4"}.codicon-fold:before{content:"\eaf5"}.codicon-folder-active:before{content:"\eaf6"}.codicon-folder-opened:before{content:"\eaf7"}.codicon-gear:before{content:"\eaf8"}.codicon-gift:before{content:"\eaf9"}.codicon-gist-secret:before{content:"\eafa"}.codicon-gist:before{content:"\eafb"}.codicon-git-commit:before{content:"\eafc"}.codicon-compare-changes:before,.codicon-git-compare:before{content:"\eafd"}.codicon-git-merge:before{content:"\eafe"}.codicon-github-action:before{content:"\eaff"}.codicon-github-alt:before{content:"\eb00"}.codicon-globe:before{content:"\eb01"}.codicon-grabber:before{content:"\eb02"}.codicon-graph:before{content:"\eb03"}.codicon-gripper:before{content:"\eb04"}.codicon-heart:before{content:"\eb05"}.codicon-home:before{content:"\eb06"}.codicon-horizontal-rule:before{content:"\eb07"}.codicon-hubot:before{content:"\eb08"}.codicon-inbox:before{content:"\eb09"}.codicon-issue-reopened:before{content:"\eb0b"}.codicon-issues:before{content:"\eb0c"}.codicon-italic:before{content:"\eb0d"}.codicon-jersey:before{content:"\eb0e"}.codicon-json:before{content:"\eb0f"}.codicon-kebab-vertical:before{content:"\eb10"}.codicon-key:before{content:"\eb11"}.codicon-law:before{content:"\eb12"}.codicon-lightbulb-autofix:before{content:"\eb13"}.codicon-link-external:before{content:"\eb14"}.codicon-link:before{content:"\eb15"}.codicon-list-ordered:before{content:"\eb16"}.codicon-list-unordered:before{content:"\eb17"}.codicon-live-share:before{content:"\eb18"}.codicon-loading:before{content:"\eb19"}.codicon-location:before{content:"\eb1a"}.codicon-mail-read:before{content:"\eb1b"}.codicon-mail:before{content:"\eb1c"}.codicon-markdown:before{content:"\eb1d"}.codicon-megaphone:before{content:"\eb1e"}.codicon-mention:before{content:"\eb1f"}.codicon-milestone:before{content:"\eb20"}.codicon-mortar-board:before{content:"\eb21"}.codicon-move:before{content:"\eb22"}.codicon-multiple-windows:before{content:"\eb23"}.codicon-mute:before{content:"\eb24"}.codicon-no-newline:before{content:"\eb25"}.codicon-note:before{content:"\eb26"}.codicon-octoface:before{content:"\eb27"}.codicon-open-preview:before{content:"\eb28"}.codicon-package:before{content:"\eb29"}.codicon-paintcan:before{content:"\eb2a"}.codicon-pin:before{content:"\eb2b"}.codicon-play:before,.codicon-run:before{content:"\eb2c"}.codicon-plug:before{content:"\eb2d"}.codicon-preserve-case:before{content:"\eb2e"}.codicon-preview:before{content:"\eb2f"}.codicon-project:before{content:"\eb30"}.codicon-pulse:before{content:"\eb31"}.codicon-question:before{content:"\eb32"}.codicon-quote:before{content:"\eb33"}.codicon-radio-tower:before{content:"\eb34"}.codicon-reactions:before{content:"\eb35"}.codicon-references:before{content:"\eb36"}.codicon-refresh:before{content:"\eb37"}.codicon-regex:before{content:"\eb38"}.codicon-remote-explorer:before{content:"\eb39"}.codicon-remote:before{content:"\eb3a"}.codicon-remove:before{content:"\eb3b"}.codicon-replace-all:before{content:"\eb3c"}.codicon-replace:before{content:"\eb3d"}.codicon-repo-clone:before{content:"\eb3e"}.codicon-repo-force-push:before{content:"\eb3f"}.codicon-repo-pull:before{content:"\eb40"}.codicon-repo-push:before{content:"\eb41"}.codicon-report:before{content:"\eb42"}.codicon-request-changes:before{content:"\eb43"}.codicon-rocket:before{content:"\eb44"}.codicon-root-folder-opened:before{content:"\eb45"}.codicon-root-folder:before{content:"\eb46"}.codicon-rss:before{content:"\eb47"}.codicon-ruby:before{content:"\eb48"}.codicon-save-all:before{content:"\eb49"}.codicon-save-as:before{content:"\eb4a"}.codicon-save:before{content:"\eb4b"}.codicon-screen-full:before{content:"\eb4c"}.codicon-screen-normal:before{content:"\eb4d"}.codicon-search-stop:before{content:"\eb4e"}.codicon-server:before{content:"\eb50"}.codicon-settings-gear:before{content:"\eb51"}.codicon-settings:before{content:"\eb52"}.codicon-shield:before{content:"\eb53"}.codicon-smiley:before{content:"\eb54"}.codicon-sort-precedence:before{content:"\eb55"}.codicon-split-horizontal:before{content:"\eb56"}.codicon-split-vertical:before{content:"\eb57"}.codicon-squirrel:before{content:"\eb58"}.codicon-star-full:before{content:"\eb59"}.codicon-star-half:before{content:"\eb5a"}.codicon-symbol-class:before{content:"\eb5b"}.codicon-symbol-color:before{content:"\eb5c"}.codicon-symbol-constant:before{content:"\eb5d"}.codicon-symbol-enum-member:before{content:"\eb5e"}.codicon-symbol-field:before{content:"\eb5f"}.codicon-symbol-file:before{content:"\eb60"}.codicon-symbol-interface:before{content:"\eb61"}.codicon-symbol-keyword:before{content:"\eb62"}.codicon-symbol-misc:before{content:"\eb63"}.codicon-symbol-operator:before{content:"\eb64"}.codicon-symbol-property:before,.codicon-wrench-subaction:before,.codicon-wrench:before{content:"\eb65"}.codicon-symbol-snippet:before{content:"\eb66"}.codicon-tasklist:before{content:"\eb67"}.codicon-telescope:before{content:"\eb68"}.codicon-text-size:before{content:"\eb69"}.codicon-three-bars:before{content:"\eb6a"}.codicon-thumbsdown:before{content:"\eb6b"}.codicon-thumbsup:before{content:"\eb6c"}.codicon-tools:before{content:"\eb6d"}.codicon-triangle-down:before{content:"\eb6e"}.codicon-triangle-left:before{content:"\eb6f"}.codicon-triangle-right:before{content:"\eb70"}.codicon-triangle-up:before{content:"\eb71"}.codicon-twitter:before{content:"\eb72"}.codicon-unfold:before{content:"\eb73"}.codicon-unlock:before{content:"\eb74"}.codicon-unmute:before{content:"\eb75"}.codicon-unverified:before{content:"\eb76"}.codicon-verified:before{content:"\eb77"}.codicon-versions:before{content:"\eb78"}.codicon-vm-active:before{content:"\eb79"}.codicon-vm-outline:before{content:"\eb7a"}.codicon-vm-running:before{content:"\eb7b"}.codicon-watch:before{content:"\eb7c"}.codicon-whitespace:before{content:"\eb7d"}.codicon-whole-word:before{content:"\eb7e"}.codicon-window:before{content:"\eb7f"}.codicon-word-wrap:before{content:"\eb80"}.codicon-zoom-in:before{content:"\eb81"}.codicon-zoom-out:before{content:"\eb82"}.codicon-list-filter:before{content:"\eb83"}.codicon-list-flat:before{content:"\eb84"}.codicon-list-selection:before,.codicon-selection:before{content:"\eb85"}.codicon-list-tree:before{content:"\eb86"}.codicon-debug-breakpoint-function-unverified:before{content:"\eb87"}.codicon-debug-breakpoint-function-disabled:before,.codicon-debug-breakpoint-function:before{content:"\eb88"}.codicon-debug-stackframe-active:before{content:"\eb89"}.codicon-circle-small-filled:before,.codicon-debug-stackframe-dot:before,.codicon-terminal-decoration-mark:before{content:"\eb8a"}.codicon-debug-stackframe-focused:before,.codicon-debug-stackframe:before{content:"\eb8b"}.codicon-debug-breakpoint-unsupported:before{content:"\eb8c"}.codicon-symbol-string:before{content:"\eb8d"}.codicon-debug-reverse-continue:before{content:"\eb8e"}.codicon-debug-step-back:before{content:"\eb8f"}.codicon-debug-restart-frame:before{content:"\eb90"}.codicon-debug-alt:before{content:"\eb91"}.codicon-call-incoming:before{content:"\eb92"}.codicon-call-outgoing:before{content:"\eb93"}.codicon-menu:before{content:"\eb94"}.codicon-expand-all:before{content:"\eb95"}.codicon-feedback:before{content:"\eb96"}.codicon-group-by-ref-type:before{content:"\eb97"}.codicon-ungroup-by-ref-type:before{content:"\eb98"}.codicon-account:before{content:"\eb99"}.codicon-bell-dot:before{content:"\eb9a"}.codicon-debug-console:before{content:"\eb9b"}.codicon-library:before{content:"\eb9c"}.codicon-output:before{content:"\eb9d"}.codicon-run-all:before{content:"\eb9e"}.codicon-sync-ignored:before{content:"\eb9f"}.codicon-pinned:before{content:"\eba0"}.codicon-github-inverted:before{content:"\eba1"}.codicon-server-process:before{content:"\eba2"}.codicon-server-environment:before{content:"\eba3"}.codicon-issue-closed:before,.codicon-pass:before{content:"\eba4"}.codicon-stop-circle:before{content:"\eba5"}.codicon-play-circle:before{content:"\eba6"}.codicon-record:before{content:"\eba7"}.codicon-debug-alt-small:before{content:"\eba8"}.codicon-vm-connect:before{content:"\eba9"}.codicon-cloud:before{content:"\ebaa"}.codicon-merge:before{content:"\ebab"}.codicon-export:before{content:"\ebac"}.codicon-graph-left:before{content:"\ebad"}.codicon-magnet:before{content:"\ebae"}.codicon-notebook:before{content:"\ebaf"}.codicon-redo:before{content:"\ebb0"}.codicon-check-all:before{content:"\ebb1"}.codicon-pinned-dirty:before{content:"\ebb2"}.codicon-pass-filled:before{content:"\ebb3"}.codicon-circle-large-filled:before{content:"\ebb4"}.codicon-circle-large-outline:before,.codicon-circle-large:before{content:"\ebb5"}.codicon-combine:before,.codicon-gather:before{content:"\ebb6"}.codicon-table:before{content:"\ebb7"}.codicon-variable-group:before{content:"\ebb8"}.codicon-type-hierarchy:before{content:"\ebb9"}.codicon-type-hierarchy-sub:before{content:"\ebba"}.codicon-type-hierarchy-super:before{content:"\ebbb"}.codicon-git-pull-request-create:before{content:"\ebbc"}.codicon-run-above:before{content:"\ebbd"}.codicon-run-below:before{content:"\ebbe"}.codicon-notebook-template:before{content:"\ebbf"}.codicon-debug-rerun:before{content:"\ebc0"}.codicon-workspace-trusted:before{content:"\ebc1"}.codicon-workspace-untrusted:before{content:"\ebc2"}.codicon-workspace-unknown:before{content:"\ebc3"}.codicon-terminal-cmd:before{content:"\ebc4"}.codicon-terminal-debian:before{content:"\ebc5"}.codicon-terminal-linux:before{content:"\ebc6"}.codicon-terminal-powershell:before{content:"\ebc7"}.codicon-terminal-tmux:before{content:"\ebc8"}.codicon-terminal-ubuntu:before{content:"\ebc9"}.codicon-terminal-bash:before{content:"\ebca"}.codicon-arrow-swap:before{content:"\ebcb"}.codicon-copy:before{content:"\ebcc"}.codicon-person-add:before{content:"\ebcd"}.codicon-filter-filled:before{content:"\ebce"}.codicon-wand:before{content:"\ebcf"}.codicon-debug-line-by-line:before{content:"\ebd0"}.codicon-inspect:before{content:"\ebd1"}.codicon-layers:before{content:"\ebd2"}.codicon-layers-dot:before{content:"\ebd3"}.codicon-layers-active:before{content:"\ebd4"}.codicon-compass:before{content:"\ebd5"}.codicon-compass-dot:before{content:"\ebd6"}.codicon-compass-active:before{content:"\ebd7"}.codicon-azure:before{content:"\ebd8"}.codicon-issue-draft:before{content:"\ebd9"}.codicon-git-pull-request-closed:before{content:"\ebda"}.codicon-git-pull-request-draft:before{content:"\ebdb"}.codicon-debug-all:before{content:"\ebdc"}.codicon-debug-coverage:before{content:"\ebdd"}.codicon-run-errors:before{content:"\ebde"}.codicon-folder-library:before{content:"\ebdf"}.codicon-debug-continue-small:before{content:"\ebe0"}.codicon-beaker-stop:before{content:"\ebe1"}.codicon-graph-line:before{content:"\ebe2"}.codicon-graph-scatter:before{content:"\ebe3"}.codicon-pie-chart:before{content:"\ebe4"}.codicon-bracket:before{content:"\eb0f"}.codicon-bracket-dot:before{content:"\ebe5"}.codicon-bracket-error:before{content:"\ebe6"}.codicon-lock-small:before{content:"\ebe7"}.codicon-azure-devops:before{content:"\ebe8"}.codicon-verified-filled:before{content:"\ebe9"}.codicon-newline:before{content:"\ebea"}.codicon-layout:before{content:"\ebeb"}.codicon-layout-activitybar-left:before{content:"\ebec"}.codicon-layout-activitybar-right:before{content:"\ebed"}.codicon-layout-panel-left:before{content:"\ebee"}.codicon-layout-panel-center:before{content:"\ebef"}.codicon-layout-panel-justify:before{content:"\ebf0"}.codicon-layout-panel-right:before{content:"\ebf1"}.codicon-layout-panel:before{content:"\ebf2"}.codicon-layout-sidebar-left:before{content:"\ebf3"}.codicon-layout-sidebar-right:before{content:"\ebf4"}.codicon-layout-statusbar:before{content:"\ebf5"}.codicon-layout-menubar:before{content:"\ebf6"}.codicon-layout-centered:before{content:"\ebf7"}.codicon-target:before{content:"\ebf8"}.codicon-indent:before{content:"\ebf9"}.codicon-record-small:before{content:"\ebfa"}.codicon-error-small:before,.codicon-terminal-decoration-error:before{content:"\ebfb"}.codicon-arrow-circle-down:before{content:"\ebfc"}.codicon-arrow-circle-left:before{content:"\ebfd"}.codicon-arrow-circle-right:before{content:"\ebfe"}.codicon-arrow-circle-up:before{content:"\ebff"}.codicon-layout-sidebar-right-off:before{content:"\ec00"}.codicon-layout-panel-off:before{content:"\ec01"}.codicon-layout-sidebar-left-off:before{content:"\ec02"}.codicon-blank:before{content:"\ec03"}.codicon-heart-filled:before{content:"\ec04"}.codicon-map:before{content:"\ec05"}.codicon-map-filled:before{content:"\ec06"}.codicon-circle-small:before{content:"\ec07"}.codicon-bell-slash:before{content:"\ec08"}.codicon-bell-slash-dot:before{content:"\ec09"}.codicon-comment-unresolved:before{content:"\ec0a"}.codicon-git-pull-request-go-to-changes:before{content:"\ec0b"}.codicon-git-pull-request-new-changes:before{content:"\ec0c"}.codicon-search-fuzzy:before{content:"\ec0d"}.codicon-comment-draft:before{content:"\ec0e"}.codicon-send:before{content:"\ec0f"}.codicon-sparkle:before{content:"\ec10"}.codicon-insert:before{content:"\ec11"}.icon-size-SM:before{font-size:125%}.icon-size-M:before{font-size:150%}.icon-size-L:before{font-size:200%}.codicon-loading{animation:spin infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.dark-theme,.vscode-dark{--scm-modified-foreground:#e2c08d;--scm-added-foreground:#73c991;--scm-removed-foreground:#f3674f;--error-fg-color:#f3674f;--error-bg-color:#f3674f20;--warning-fg-color:#e2c08d;--warning-bg-color:#40331f;--tooltip-background:var(--vscode-editorWidget-background,#252526);--tooltip-border:var(--vscode-editorWidget-border,#454545);--hover-darken:hsla(0,0%,100%,.1);--highlight-foreground:#f0f0f0;--github-badge-fg:#fff;--github-open-bg:#238636;--github-closed-bg:#da3633;--github-merged-bg:#8957e5;--github-neutral-bg:#6e7781;color-scheme:dark}.light-theme,.vscode-light{--scm-modified-foreground:#895503;--scm-added-foreground:#007100;--scm-removed-foreground:#ad0707;--tooltip-background:var(--vscode-editorWidget-background,#f3f3f3);--tooltip-border:var(--vscode-editorWidget-border,#c8c8c8);--error-fg-color:#e35941;--error-bg-color:#e3594120;--warning-fg-color:#895503;--warning-bg-color:#f7dbad;--hover-darken:rgba(0,0,0,.1);--highlight-foreground:#2a2a2a;--github-badge-fg:#fff;--github-open-bg:#2da44e;--github-closed-bg:#cf222e;--github-merged-bg:#8250df;--github-neutral-bg:#6e7781;color-scheme:light}.use-modal-buttons{display:flex;flex-direction:row;gap:var(--pad);justify-content:flex-end;margin:var(--pad) calc(var(--pad)*2)}.use-modal-buttons vscode-button{min-width:5em}.use-modal{--useModalWidth:500px;display:flex;flex-direction:column;gap:var(--pad);justify-content:space-between;padding:var(--pad);width:var(--useModalWidth)}#use-modal-title{align-items:center;display:flex;flex-direction:row;font-weight:700;gap:var(--halfpad);margin:var(--pad) 0}#use-modal-message,#use-modal-title{padding:0 var(--pad)}.modal{align-items:center;background-color:rgba(0,0,0,.2);display:flex;height:100vh;justify-content:center;position:absolute;width:100vw;z-index:100}.dark-theme .modal,.vscode-dark .modal{background-color:rgba(0,0,0,.5)}.modal-contents{--border-amt:calc(var(--pad)*0.2);--padding-amt:calc(var(--pad)*0.2);background-color:var(--background);border-radius:8px;box-shadow:1px 1px 4px rgba(0,0,0,.3);display:flex;flex-direction:column;height:calc(100vh - var(--border-amt)*2 - var(--padding-amt)*2);margin:var(--border-amt);padding:var(--padding-amt);padding-bottom:0;position:relative;width:calc(100vw - var(--border-amt)*2 - var(--padding-amt)*2)}.dismiss-modal{display:flex;position:absolute;right:var(--pad);top:var(--pad)}.bottom-panel-parent{box-sizing:border-box;display:flex;flex-direction:column;position:relative}.bottom-panel-resizer{cursor:row-resize;height:4px;position:absolute;top:-2px;transition:background-color .1s ease-in;width:100%;z-index:2}.bottom-panel-resizer:hover{background-color:var(--vscode-sash-hoverBorder)}.bottom-panel-title{align-items:center;background-color:var(--background);border-top:1px solid var(--vscode-sideBarSectionHeader-border);box-sizing:border-box;color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:11px;font-weight:700;gap:4px;padding:0 4px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.bottom-panel-num-files{background-color:var(--button-secondary-background);border-radius:200px;color:var(--button-secondary-foreground);display:flex;font-weight:700;padding:0 5px}.bottom-panel-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottom-panel-right{display:flex;flex-direction:row;gap:2px;margin-left:auto}.bottom-panel-content{display:flex;flex-direction:column;flex-grow:1}.menu-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.changed-file-display-type-picker-select{all:unset;height:16px;position:absolute;text-indent:100px;width:16px}.changed-file-display-type-picker-select:focus-visible{outline:none}.selected-branch{display:flex;flex-direction:column;height:100%}.branch-actions{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;margin:auto 4px 4px}.branch-action-button{flex:1 1;font-size:12px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.branch-action-button-inner-fill{width:100%}.selected-branch-divided{display:flex;flex-direction:row}.selected-branch-divided-selector{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.selected-branch-divided-selector-item{cursor:pointer;overflow:hidden;padding:0 8px;text-overflow:ellipsis;white-space:nowrap}.selected-branch-divided-selector-item:hover{background-color:var(--hover-darken)}.selected-branch-divided-selector-item-selected{outline:1px solid var(--focus-border);outline-offset:-1px}.selected-branch-divided-content{display:flex;flex:3 1;flex-direction:column}.github-diff-status-OPEN{background-color:var(--github-open-bg)}.github-diff-status-MERGED{background-color:var(--github-merged-bg)}.github-diff-status-CLOSED{background-color:var(--github-closed-bg)}.github-diff-status-none{background-color:var(--github-neutral-bg)}.github-diff-status-ERROR{background-color:var(--github-closed-bg)}.github-diff-status-DRAFT{background-color:var(--github-neutral-bg)}.github-diff-status{border-radius:10px;display:flex;font-size:100%;font-weight:700;padding:4px}.github-diff-badge:active,.github-diff-badge:hover,.github-diff-badge:link{color:#fff;text-decoration:none}.github-diff-badge .codicon{font-size:90%}.github-diff-status .tooltip-creator{align-items:center}.head-commit-info-container{margin-left:-22px;position:relative;z-index:3}.head-commit-info{margin-left:28px}.head-commit-info-container.head-commit-info-indented{margin-bottom:15px;margin-left:0}.head-commit-info-indented .branch-indicator{stroke:var(--button-primary-hover-background);bottom:-25px;left:-8px}.gti-root .head-commit-info-container.head-commit-info-indented:before{bottom:0}.you-are-here-container{align-items:center;display:flex;gap:var(--pad)}.conflicts-header{display:flex;flex-direction:column;margin:var(--pad) 0}.conflict-resolution-buttons{display:flex;flex-direction:column;gap:var(--halfpad);padding:var(--halfpad)}.file-tree-folder-path{align-items:center;cursor:pointer;display:flex;gap:6px;min-height:22px;padding-left:16px}.file-tree-folder-path:hover{background-color:var(--hover-darken)}.file-indent{height:100%;width:4px}.changed-files{display:flex;flex-direction:column;flex-grow:1;overflow-y:auto}.changed-files .changed-file{align-items:center;cursor:pointer;display:flex;flex-direction:row;gap:6px;height:22px;padding-left:16px;padding-right:12px;transition:color .1s}.changed-file-path{align-items:center;display:flex;gap:var(--halfpad);max-width:calc(100% - var(--pad)*2);overflow:hidden;position:relative}.changed-file-path-text{display:inline-block;margin-top:-2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.changed-file-path .tooltip-creator{display:block;margin-left:auto;margin-right:auto;overflow:hidden;text-align:right;white-space:nowrap;width:100%}.changed-file:hover{background-color:var(--hover-darken)}.changed-file-checkbox:focus{outline:none}.changed-file-checkbox:focus-visible{outline:none}.changed-file-checkbox-clickable::part(control){cursor:pointer}.file-actions{display:flex;flex-wrap:nowrap;margin-left:auto}.file-actions .tooltip-creator{display:inline-flex}.file-added{color:var(--scm-added-foreground)}.file-modified{color:var(--scm-modified-foreground)}.file-removed{color:var(--scm-removed-foreground)}.file-unresolved{color:var(--scm-modified-foreground)}.file-resolved{color:var(--scm-added-foreground)}.file-ignored{opacity:.9}.file-show-on-hover,.show-on-hover{opacity:0;transition:opacity .1s}.file-show-on-hover:focus-within,.show-on-hover:focus-within{opacity:1}.changed-file:hover .file-show-on-hover{opacity:1}.button-rows{display:flex;flex-direction:column;gap:var(--halfpad);margin:var(--halfpad) 0}.button-row{align-content:center;border-color:var(--divider-background);border-style:solid;border-width:1px 0;flex-wrap:wrap;gap:6px;padding:4px}.button-row,.button-row-right{align-items:center;display:flex}.button-row-right{flex-grow:0;flex-wrap:nowrap;gap:4px}.uncommitted-changes-actions{border-color:var(--divider-background);border-style:solid;border-width:1px 0;display:flex;flex-direction:column;gap:4px;padding:var(--halfpad)}.uncommitted-changes-actions .uncommitted-changes-buttons{display:flex;gap:4px}.uncommitted-changes-actions-modify{align-items:center;display:flex;flex-direction:row;gap:2px}.uncommitted-changes-actions-modify-checkbox{cursor:pointer}.uncommitted-changes-actions-modify-checkbox:focus{outline:none}.uncommitted-changes-actions-modify-checkbox:focus-checkbox{outline:none}.uncommitted-changes-actions-modify-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.commit-modify-button{width:100%}.quick-commit-inputs{align-items:center;border-radius:4px;display:flex;gap:var(--pad);margin:-4px;padding:4px;position:relative;transition:background-color .1s}.quick-commit-inputs:before{border-radius:4px;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;right:0;width:100%}.quick-commit-inputs:hover:before{background-color:var(--button-icon-hover-background);opacity:.5;transition:opacity .3s}.settings-dropdown{display:flex;flex-direction:column;gap:var(--pad);max-height:calc(90vh - 40px);max-width:90vw;overflow-y:auto}.setting-hr{border-color:var(--panel-view-border);width:95%}.setting-subtitle{font-weight:600;padding-bottom:var(--pad)}.setting-description{padding-bottom:var(--halfpad)}.bug-dropdown-version{display:flex;flex-direction:column;gap:var(--halfpad);margin:var(--halfpad)}.bug-dropdown-actions{display:flex;flex-direction:column;gap:var(--pad);width:100%}.bug-dropdown-actions vscode-button{justify-content:center}.bug-dropdown-debug-actions{display:flex;flex-direction:row;gap:var(--pad);justify-content:center;width:100%}.additional-debug-content{display:flex;flex-direction:column;gap:var(--pad)}.bug-button-nux{align-items:center;display:flex;flex-direction:row;gap:var(--pad)}.dropdown-fields{display:flex;flex-direction:column;gap:var(--halfpad)}.dropdown-fields-header{align-items:center;display:flex;flex-direction:row;gap:var(--halfpad);margin:var(--halfpad)}.dropdown-fields-content{display:flex;flex-direction:column;gap:calc(var(--pad)*2);margin:var(--pad)}.dropdown-field{display:flex;flex-direction:column;gap:var(--halfpad);padding:var(--halfpad)}.tooltip-creator{display:flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.tooltip-creator-inline{display:inline}.tooltip{animation:fadein .1s linear forwards;background-color:var(--tooltip-background);border:1px solid var(--tooltip-border);color:var(--foreground);opacity:0;padding:var(--pad);pointer-events:auto;position:absolute;z-index:1000}@keyframes fadein{0%{opacity:0}to{opacity:100%}}.tooltip-root-container{height:100%;pointer-events:none;position:absolute;width:100%}.tooltip-arrow{--arrow-height:calc(var(--pad) - 4px);--arrow-half-width:calc(var(--arrow-height)/2);position:absolute}.tooltip-arrow:after{background-color:var(--tooltip-background);border-bottom:1px solid var(--tooltip-border);border-right:1px solid var(--tooltip-border);content:" ";height:var(--arrow-height);position:absolute;width:var(--arrow-height)}.tooltip.simple-text-tooltip{max-width:250px;pointer-events:inherit;white-space:pre-wrap;word-break:break-word}.tooltip-arrow-bottom:after{transform:rotate(225deg)}.tooltip-arrow-top:after{transform:rotate(45deg)}.tooltip-arrow-left:after{transform:rotate(315deg)}.tooltip-arrow-right:after{transform:rotate(135deg)}.tooltip-arrow-bottom{left:calc(50% - var(--arrow-half-width));top:calc(-1px - var(--arrow-half-width))}.tooltip-arrow-top{bottom:calc(var(--arrow-half-width));left:calc(50% - var(--arrow-half-width))}.tooltip-arrow-left{right:calc(var(--arrow-half-width));top:calc(50% - var(--arrow-half-width))}.tooltip-arrow-right{left:calc(-1px - var(--arrow-half-width));top:calc(50% - var(--arrow-half-width))}.progress-container{background:var(--background);border-top:1px solid var(--panel-view-border);bottom:0;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--pad);height:20px;padding:2px;position:relative;z-index:100}.progress-container .tooltip-creator{align-items:flex-start;display:flex;flex-direction:column;justify-content:flex-start}.progress-container .tooltip-creator,.progress-container-row{gap:var(--pad);max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.progress-container-row .codicon-error{color:var(--scm-removed-foreground)}.progress-container-row .codicon-pass{color:var(--scm-added-foreground)}.queued-operations-container{background-color:var(--background);border:1px solid var(--dropdown-border);border-radius:4px 0 0 0;border-right-width:0;bottom:100%;display:flex;flex-direction:column;gap:10px;margin:0;max-width:90%;padding:10px;position:absolute;right:0}.queued-operation{background-color:var(--badge-background);border-radius:4px;color:var(--badge-foreground);font-size:12px;margin-left:10px;padding:4px 8px}.progress-container-command,.queued-operation{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-container-command{background:transparent none repeat 0 0/auto auto padding-box border-box scroll;background:initial;flex-grow:1}.progress-container-row{align-items:center;display:flex;flex-direction:row;gap:4px;width:100%}.progress-container-row .tooltip-creator{cursor:pointer}.progress-command-tooltip{max-width:min(700px,50vw)}.progress-command-tooltip-command code{background-color:transparent;background-color:initial}.progress-command-tooltip pre{word-wrap:break-word;white-space:pre-wrap}.branch{align-items:flex-start;cursor:pointer;padding-left:4px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.branch,.branch-row-below{display:flex;flex-direction:row}.branch-row-below{align-items:center;height:22px;width:100%}:host([appearance=icon]) .control{padding:1px}.branch:hover{background-color:var(--hover-darken)}.branch-drag-over{height:0;position:relative;width:100%}.branch-drag-over:before{background-color:var(--focus-border);content:" ";height:2px;left:0;position:absolute;right:0;top:0;z-index:100}.branch-focused{outline:1px solid var(--focus-border);outline-offset:-1px}.branch-checked-out,.branch-checked-out:hover{background-color:var(--list-active-selection-background);color:var(--list-active-selection-foreground)}.branch-checkout-triangle{border-bottom:7px solid transparent;border-left:7px solid var(--foreground);border-top:7px solid transparent;height:0;left:2px;margin-top:10px;position:absolute;width:0}.branch-end{align-items:center;display:flex;gap:4px;margin-top:4px}.branch-gripper{color:transparent;cursor:grab}.branch:hover .branch-gripper{color:var(--list-active-selection-foreground)}.branch:hover .branch-gripper.branch-gripper-disabled{cursor:not-allowed;opacity:.2}.pr-badge-container{width:20px}.branch-date{font-size:12px;margin-left:auto;opacity:.8;width:25px}.branch-name{display:inline-block;flex-grow:1;font-size:14px;margin:7px 0;overflow:hidden}.branch-name>code{background:none}.branch-name.branch-name-wrap{word-wrap:anywhere}.branch-name.branch-name-nowrap{text-overflow:ellipsis;white-space:nowrap}.branch-name.uncommitted-changes{color:var(--scm-modified-foreground);font-weight:500}.branch-name.unresolved-conflicts{color:var(--scm-removed-foreground);font-weight:500}.commit vscode-tag::part(control){text-transform:inherit}.branch-preview-rebase-root{padding-right:10px}.branch-preview-rebase-descendant,.branch-preview-rebase-root{color:var(--scm-added-foreground)}.branch-preview-rebase-descendant:hover,.branch-preview-rebase-root:hover{background-color:inherit;cursor:default}.branch-in-stack-being-dragged>.branch-end,.branch-in-stack-being-dragged>.branch-name,.branch-preview-rebase-old>.branch-end,.branch-preview-rebase-old>.branch-name{opacity:.5}.restack-button{align-items:center;display:flex;flex-direction:row;font-weight:500;gap:4px}.tree-line-extend{border-left:2px solid var(--foreground);height:100%;margin-left:14px;overflow:hidden}.center-container{height:100%;justify-content:center;width:100%}.center-container,.flex-row{align-items:center;display:flex}.flex-row{flex-direction:row;gap:var(--pad)}.diff-badge{color:#fff;cursor:pointer}.diff-badge,.diff-badge:hover .codicon{text-decoration:none}.diff-badge,.diff-info,.diff-spinner{align-items:center;display:inline-flex;gap:5px;text-overflow:ellipsis;white-space:nowrap}.diff-number{font-size:90%;opacity:.9;padding:0 var(--halfpad)}.diff-number:hover{cursor:pointer;text-decoration:underline}.diff-comments-count{font-size:90%;gap:2px}.diff-comments-count,.diff-signal-summary{align-items:center;display:flex}.diff-signal-pass{color:var(--scm-added-foreground)}.diff-signal-failed{color:var(--scm-removed-foreground)}.branch-indicator-container{align-items:flex-start;display:flex;flex-shrink:0;height:100%;opacity:1}.branch-indicator-container>svg{color:var(--foreground)}.curve{left:-3px;position:relative}.circle{transition:.2s}.highlighted{fill:var(--focus-border);filter:drop-shadow(0 0 3px var(--focus-border))}.branch-indicator-flex-grow{align-items:flex-start;display:flex;flex-direction:column;height:100%}.comparison-view-file{width:100%}.comparison-view,.comparison-view-base-styles,.comparison-view-container{display:contents}.comparison-view-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--pad);padding:var(--pad) 0 var(--halfpad) 0;position:relative}.comparison-view-header-group{align-items:center;display:flex;gap:var(--pad)}.comparison-view-details{align-items:center;display:flex;flex-direction:column;gap:20px;overflow-y:auto;padding-bottom:var(--pad)}.comparison-view .split-diff-view-file-header{align-items:center;border:1px solid var(--panel-view-border);border-radius:0;display:flex;gap:var(--halfpad);margin-left:-1px;margin-right:-1px;position:-webkit-sticky;position:sticky;top:0}.comparison-view .split-diff-view{border-radius:0;border-top-width:0}.file-header-copyable-path{cursor:pointer}.file-header-copyable-path:hover>.file-header-path-element{text-decoration:underline}.top-bar-buttons{align-items:center;border-bottom:1px solid var(--panel-view-border);display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;justify-content:space-between;padding:4px}.auth-warning-icon{color:#fc0;display:flex}.button-group{align-items:center;display:flex;gap:4px}.get-menu{display:flex;flex-direction:column;gap:var(--pad);max-width:90vw}.get-title{font-weight:600}.get-hr{border-color:var(--panel-view-border);width:100%}.pull-info{align-items:center;display:flex;flex-direction:row;gap:var(--pad)}.vscode-button-dropdown{--chevron-width:20px;align-items:center;display:flex;position:relative}.vscode-button-dropdown-chevron{align-items:center;background-color:rgba(0,0,0,.1);background:var(--button-secondary-background);border-left:1px solid var(--button-secondary-foreground);color:var(--button-secondary-foreground);display:flex;height:26px;padding:1px;padding:0 var(--halfpad);pointer-events:visible;vertical-align:middle}.vscode-button-dropdown:before{content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.vscode-button-dropdown select{-webkit-appearance:none;appearance:none;background-color:var(--button-secondary-background);background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Im03Ljk3NiAxMC4wNzIgNC4zNTctNC4zNTcuNjIuNjE4TDguMjg0IDExaC0uNjE4TDMgNi4zMzNsLjYxOS0uNjE4IDQuMzU3IDQuMzU3WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);background-position:50%;background-repeat:no-repeat;border:none;border-left:1px solid var(--button-secondary-foreground);border-radius:0 2px 2px 0;color:var(--button-secondary-foreground);cursor:pointer;height:26px;line-height:0;outline:none;outline-offset:2px;padding:4px;vertical-align:bottom;width:24px}.vscode-button-dropdown vscode-button{border-radius:2px 0 0 2px}.vscode-button-dropdown select:focus{outline:1px solid var(--focus-border)}.vscode-button-dropdown select:disabled{cursor:not-allowed}.vscode-button-dropdown select:not(:disabled):hover{background-color:var(--button-secondary-hover-background)}.welcome{display:flex;flex-direction:column;gap:12px;justify-content:top;padding:24px}.welcome-logo{height:auto;max-height:100%;max-width:100%}.welcome-link{display:inline;white-space:nowrap}.welcome-title{font-weight:600}.welcome-text-small{font-size:12px}.welcome-error{color:var(--error-fg-color);overflow-wrap:anywhere;white-space:break-spaces}
|
|
2
|
-
/*# sourceMappingURL=main.6c222a98.css.map*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkGraphiteInteractive=self.webpackChunkGraphiteInteractive||[]).push([[274],{3274:function(e,n,o){o.r(n),o.d(n,{ComparisonView:function(){return Ee},lineRange:function(){return Le}});var t=o(885),r=o(184),i=(o(5297),o(1072)),a=o(88),l=o(2248),s=o.n(l),c=o(4098),d=o(32),u=o(4510),p=o(2791);function h(e){var n=e.children;return(0,r.jsx)("div",{className:"empty-state",children:(0,r.jsx)("div",{children:n})})}var f=o(6815),m=o(51),v=o(7338),g=o(1485),x=o(168),b=o(6444),y=(o(2986),o(4728)),j=o(4942),w=o(5830),S=o.n(w),C=o(763);function k(e){return e.map((function(e){return e.includes(" ")?'"'.concat(e,'"'):e})).join(", ")}function T(e){return"string"==typeof e&&/(inset\s|)([0-9.]+(\w*)\s){1,4}(rgb[a]?\(.*\)|\w+)/.test(e)}function O(e,n){return Array.isArray(e)?e.filter(n):Object.entries(e).reduce((function(e,o){var r=(0,t.Z)(o,2),i=r[0],a=r[1];if((0,C.isObject)(a)){var l=O(a,n);(0,C.isEmpty)(l)||(e[i]=l)}else n(a)&&(e[i]=a);return e}),{})}function N(e){return e.scale,function(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(e);r<t.length;r++)n.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(o[t[r]]=e[t[r]])}return o}(e,["scale"])}var L,M,E=S().typography.normal.lineHeight,F={animation:{easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)"},borderWidths:[0,"1px"],breakpoints:["544px","768px","1012px","1280px"],fonts:{normal:k(["-apple-system","BlinkMacSystemFont","Segoe UI","Noto Sans","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji"]),mono:k(["SFMono-Regular","Consolas","Liberation Mono","Menlo","Courier","monospace"])},fontSizes:["12px","14px","16px","20px","24px","32px","40px","48px"],fontWeights:{light:300,normal:400,semibold:500,bold:600},lineHeights:E,radii:["0","3px","6px","100px"],sizes:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},space:["0","4px","8px","16px","24px","32px","40px","48px","64px","80px","96px","112px","128px"],colorSchemes:Object.entries(S().colors).reduce((function(e,n){var o=(0,t.Z)(n,2),r=o[0],i=function(e){return{colors:O(e,(function(e){return function(e){return!(T(e)||!e.startsWith("#")&&!e.startsWith("rgb")&&!e.startsWith("hsl"))}(e)})),shadows:O(e,(function(e){return T(e)}))}}(o[1]),a=i.colors,l=i.shadows;return Object.assign(Object.assign({},e),(0,j.Z)({},r,{colors:N(a),shadows:N(l)}))}),{})},R=(y.U2,y.qC),P=y.By,B=R(y.Dh,y.$_,y.jf),I=P({whiteSpace:{property:"whiteSpace"}}),Z=R(y.cp,I),H=(R(y.Cg,y.AF),y.bK,o(9948)),D=o.n(H),_=o(4164),A="light",z="dark",W=(0,p.createContext)({setColorMode:function(){return null},setDayScheme:function(){return null},setNightScheme:function(){return null}}),U=function(e){var n,o,i,a,l,s,c,d,u=e.children,h=function(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(e);r<t.length;r++)n.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(o[t[r]]=e[t[r]])}return o}(e,["children"]),f=J(),m=f.theme,v=f.colorMode,g=f.dayScheme,x=f.nightScheme,y=null!==(o=null!==(n=h.theme)&&void 0!==n?n:m)&&void 0!==o?o:F,j=function(){var e;try{var n=null===(e=document.getElementById("__PRIMER_DATA__"))||void 0===e?void 0:e.textContent;if(n)return JSON.parse(n)}catch(e){}return{}}(),w=j.resolvedServerColorMode,S=(0,p.useRef)(w),C=(0,p.useState)(null!==(a=null!==(i=h.colorMode)&&void 0!==i?i:v)&&void 0!==a?a:"day"),k=(0,t.Z)(C,2),T=k[0],O=k[1],N=(0,p.useState)(null!==(s=null!==(l=h.dayScheme)&&void 0!==l?l:g)&&void 0!==s?s:A),L=(0,t.Z)(N,2),M=L[0],E=L[1],R=(0,p.useState)(null!==(d=null!==(c=h.nightScheme)&&void 0!==c?c:x)&&void 0!==d?d:z),P=(0,t.Z)(R,2),B=P[0],I=P[1],Z=function(){var e=(0,p.useState)(K),n=(0,t.Z)(e,2),o=n[0],r=n[1];return(0,p.useEffect)((function(){var e,n=null===(e=null===window||void 0===window?void 0:window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-color-scheme: dark)");function o(e){var n=e.matches;r(n?"night":"day")}if(n){if(void 0!==n.addEventListener)return n.addEventListener("change",o),function(){n.removeEventListener("change",o)};if(void 0!==n.addListener)return n.addListener(o),function(){n.removeListener(o)}}}),[]),o}(),H=S.current||q(T,Z),U=function(e,n,o){switch(e){case"day":case"light":return n;case"dark":case"night":return o}}(H,M,B),G=(0,p.useMemo)((function(){return function(e,n){if(!e.colorSchemes)return{resolvedTheme:e,resolvedColorScheme:void 0};if(!e.colorSchemes[n]){console.error("`".concat(n,"` scheme not defined in `theme.colorSchemes`"));var o=Object.keys(e.colorSchemes)[0];return{resolvedTheme:o?D()(e,e.colorSchemes[o]):e,resolvedColorScheme:o}}return{resolvedTheme:D()(e,e.colorSchemes[n]),resolvedColorScheme:n}}(y,U)}),[y,U]),V=G.resolvedTheme,X=G.resolvedColorScheme,Y=(0,p.useMemo)((function(){return{theme:V,colorScheme:U,colorMode:T,resolvedColorMode:H,resolvedColorScheme:X,dayScheme:M,nightScheme:B,setColorMode:O,setDayScheme:E,setNightScheme:I}}),[T,U,M,B,H,X,V]);return(0,p.useEffect)((function(){var e=q(T,Z);S.current&&(S.current!==e&&window.setTimeout((function(){(0,_.flushSync)((function(){O(e)})),O(T)})),S.current=null)}),[T,Z]),(0,p.useEffect)((function(){var e,n;O(null!==(n=null!==(e=h.colorMode)&&void 0!==e?e:v)&&void 0!==n?n:"day")}),[h.colorMode,v]),(0,p.useEffect)((function(){var e,n;E(null!==(n=null!==(e=h.dayScheme)&&void 0!==e?e:g)&&void 0!==n?n:A)}),[h.dayScheme,g]),(0,p.useEffect)((function(){var e,n;I(null!==(n=null!==(e=h.nightScheme)&&void 0!==e?e:x)&&void 0!==n?n:z)}),[h.nightScheme,x]),(0,r.jsx)(W.Provider,{value:Y,children:(0,r.jsxs)(b.f6,{theme:V,children:[u,h.preventSSRMismatch?(0,r.jsx)("script",{type:"application/json",id:"__PRIMER_DATA__",dangerouslySetInnerHTML:{__html:JSON.stringify({resolvedServerColorMode:H})}}):null]})})};function J(){return(0,p.useContext)(W)}function K(){var e,n;return"undefined"!=typeof window&&(null===(n=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-color-scheme: dark)"))||void 0===n?void 0:n.matches)?"night":"day"}function q(e,n){return"auto"===e?n:e}var G=(0,b.vJ)(L||(L=(0,x.Z)(["\n * { box-sizing: border-box; }\n body { margin: 0; }\n table { border-collapse: collapse; }\n input { color-scheme: ",'; }\n\n [role="button"]:focus:not(:focus-visible):not(.focus-visible),\n [role="tabpanel"][tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),\n button:focus:not(:focus-visible):not(.focus-visible),\n summary:focus:not(:focus-visible):not(.focus-visible),\n a:focus:not(:focus-visible):not(.focus-visible) {\n outline: none;\n box-shadow: none;\n }\n\n [tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),\n details-dialog:focus:not(:focus-visible):not(.focus-visible) {\n outline: none;\n }\n'])),(function(e){return e.colorScheme})),V=b.ZP.div(M||(M=(0,x.Z)(["\n ",";\n ",";\n"])),Z,B);function X(e){var n=e.children,o=e.color,t=void 0===o?"fg.default":o,i=e.fontFamily,a=void 0===i?"normal":i,l=e.lineHeight,s=void 0===l?"default":l,c=function(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(e);r<t.length;r++)n.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(o[t[r]]=e[t[r]])}return o}(e,["children","color","fontFamily","lineHeight"]),d=J(),u=d.colorScheme,p=d.dayScheme,h=d.nightScheme;return(0,r.jsxs)(V,Object.assign({},c,{color:t,fontFamily:a,lineHeight:s,"data-portal-root":!0,"data-color-mode":(null==u?void 0:u.includes("dark"))?"dark":"light","data-light-theme":p,"data-dark-theme":h,children:[(0,r.jsx)(G,{colorScheme:(null==u?void 0:u.includes("dark"))?"dark":"light"}),n]}))}var Y,$=o(6635),Q=o(1828),ee=o(2104),ne=o(8490),oe=function(e){return(0,ne.ZP)(e.sx)},te=b.ZP.div(y.Dh,y.$_,y.cp,y.bK,y.GQ,y.eC,y.Oq,y.Cg,y.FK,y.AF,oe),re=o(2909),ie=b.ZP.span(Y||(Y=(0,x.Z)(["\n ",";\n ",";\n ",";\n"])),Z,B,oe);function ae(e){var n=e.ctx,o=e.path,t=e.diffType,i=e.open,a=e.onChangeOpen,l=void 0===t?"fg.muted":se[t],s=o.split("/");return(0,r.jsxs)(te,{className:"split-diff-view-file-header",display:"flex",alignItems:"center",bg:"accent.subtle",color:l,paddingX:2,paddingY:1,lineHeight:2,backgroundColor:"canvas.subtle",borderTopRightRadius:2,borderTopLeftRadius:2,borderBottomColor:"border.default",borderBottomStyle:"solid",borderBottomWidth:"1px",children:[a?(0,r.jsx)(te,{paddingRight:2,onClick:function(){return a(!i)},sx:{cursor:"pointer"},children:i?(0,r.jsx)(re.g8U,{size:24}):(0,r.jsx)(re.v4q,{size:24})}):null,void 0!==t&&(0,r.jsx)(m.J,{icon:ce[t]}),(0,r.jsx)(ie,{fontFamily:"mono",fontSize:12,children:s.reduce((function(e,o,t){var i=s.slice(t).join("/"),a=null==n?void 0:n.copy;return(0,r.jsxs)("span",{className:a?"file-header-copyable-path":void 0,children:[e,(0,r.jsxs)("span",{title:a?"Copy ".concat(i):void 0,onClick:a?function(){return a(i)}:void 0,className:"file-header-path-element",children:[o,t<s.length-1?"/":""]})]},t)}),(0,r.jsx)("span",{}))})]})}var le,se={Modified:"var(--scm-modified-foreground)",Added:"var(--scm-added-foreground)",Removed:"var(--scm-removed-foreground)",Renamed:"var(--scm-modified-foreground)",Copied:"var(--scm-added-foreground)"},ce={Modified:"diff-modified",Added:"diff-added",Removed:"diff-removed",Renamed:"diff-renamed",Copied:"diff-renamed"},de=o(2982),ue=o(2840),pe={small:"16px",medium:"32px",large:"64px"},he=(0,b.ZP)((function(e){var n=e.size,o=void 0===n?"medium":n,t=function(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(e);r<t.length;r++)n.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(o[t[r]]=e[t[r]])}return o}(e,["size"]),i=pe[o];return(0,r.jsxs)("svg",Object.assign({height:i,width:i,viewBox:"0 0 16 16",fill:"none"},t,{children:[(0,r.jsx)("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.25",strokeWidth:"2",vectorEffect:"non-scaling-stroke"}),(0,r.jsx)("path",{d:"M15 8a7.002 7.002 0 00-7-7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",vectorEffect:"non-scaling-stroke"})]}))}))(le||(le=(0,x.Z)(["\n @keyframes rotate-keyframes {\n 100% {\n transform: rotate(360deg);\n }\n }\n\n animation: rotate-keyframes 1s linear infinite;\n\n ","\n"])),oe);function fe(e){var n,o,t=e.beforeLineNumber,i=e.before,a=e.afterLineNumber,l=e.after,s=e.rowType,c=e.path,d=e.openFileToLine;switch(s){case"remove":n="patch-remove-line",o=void 0;break;case"modify":n="patch-remove-line",o="patch-add-line";break;case"add":n=void 0,o="patch-add-line";break;case"common":n=void 0,o=void 0;break;case"expanded":n="patch-expanded",o="patch-expanded"}var u="expanded"!==s;return(0,r.jsxs)("tr",{children:[(0,r.jsx)(me,{className:n,content:i,lineNumber:t,path:c,side:"LEFT",canComment:u}),(0,r.jsx)(me,{className:o,content:l,lineNumber:a,path:c,side:"RIGHT",canComment:u,openFileToLine:d})]})}function me(e){var n=e.className,o=e.content,t=e.lineNumber,i=e.path,a=e.side,l=e.openFileToLine,s="RIGHT"===a?ve:{},c=null!=l&&null!=t,d=(null!=n?" ".concat(n,"-number"):"")+(c?" clickable":"");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(te,Object.assign({as:"td",className:"lineNumber".concat(d),"data-line-number":t,"data-path":i,"data-side":a,onClick:c?function(){return l(t)}:void 0},s,{children:t})),(0,r.jsx)("td",{className:n,children:o})]})}he.displayName="Spinner";var ve={borderLeftWidth:"1px",borderLeftStyle:"solid",borderLeftColor:"border.default"},ge=(0,p.memo)((function(e){var n,o=e.ctx,i=e.path,a=e.patch,l=e.preamble,s=(0,p.useState)(!1),c=(0,t.Z)(s,2),d=c[0],u=c[1],h=(0,p.useState)((function(){return new Set})),f=(0,t.Z)(h,2),m=f[0],v=f[1],g=(0,p.useCallback)((function(e){var n=new Set(m);n.add(e),v(n)}),[m,v]),x=null!==(n=o.translate)&&void 0!==n?n:function(e){return e},b="/dev/null"===a.newFileName,y=a.hunks,j=y.length-1,w=(0,de.Z)(null!=l?l:[]);return!b||d?y.forEach((function(e,n){if(0===n&&(1!==e.oldStart||1!==e.newStart)){var a="s0";if(m.has(a)){var l={id:o.id,start:1,numLines:e.oldStart-1};w.push((0,r.jsx)(je,{ctx:o,range:l,path:i,beforeLineStart:1,afterLineStart:1,t:x},a))}else{var s=Math.max(e.oldStart,e.newStart)-1;w.push((0,r.jsx)(ye,{numLines:s,onExpand:function(){return g(a)},t:x},a))}}if(function(e,n,o,i){var a=e.oldStart,l=e.newStart,s=function(e){var n=[],o={common:[],removed:[],added:[]};return e.forEach((function(e){var t=e.charAt(0),r=e.slice(1);" "===t?(function(e){return 0!==e.removed.length||0!==e.added.length}(o)&&(n.push(o),o={common:[],removed:[],added:[]}),o.common.push(r)):"-"===t?o.removed.push(r):"+"===t&&o.added.push(r)})),n.push(o),n}(e.lines),c=a,d=l;s.forEach((function(e){var a=e.common,l=e.removed,s=e.added;xe(a,n,"common",c,d,o,i),c+=a.length,d+=a.length;for(var u=Math.max(l.length,s.length),p=0;p<u;++p){var h=l[p],f=s[p];if(null!=h&&null!=f){var m=be(h,f),v=(0,t.Z)(m,2),g=v[0],x=v[1];o.push((0,r.jsx)(fe,{beforeLineNumber:c,before:g,afterLineNumber:d,after:x,rowType:"modify",path:n,openFileToLine:i},"".concat(c,"/").concat(d))),++c,++d}else null!=h?(o.push((0,r.jsx)(fe,{beforeLineNumber:c,before:h,afterLineNumber:null,after:null,rowType:"remove",path:n,openFileToLine:i},"".concat(c,"/"))),++c):(o.push((0,r.jsx)(fe,{beforeLineNumber:null,before:null,afterLineNumber:d,after:f,rowType:"add",path:n,openFileToLine:i},"/".concat(d))),++d)}}))}(e,i,w,o.openFileToLine),n!==j){var c=y[n+1],d="s".concat(e.oldStart);if(m.has(d)){var u=e.oldStart+e.oldLines,p=c.oldStart-u,h={id:o.id,start:u,numLines:p};w.push((0,r.jsx)(je,{ctx:o,range:h,path:i,beforeLineStart:e.oldStart+e.oldLines,afterLineStart:e.newStart+e.newLines,t:x},d))}else{var f=c.oldStart-e.oldLines-e.oldStart;w.push((0,r.jsx)(ye,{numLines:f,onExpand:function(){return g(d)},t:x},d))}}})):w.push((0,r.jsx)(we,{children:(0,r.jsxs)(te,{display:"inline-block",onClick:function(){return u(!0)},padding:1,sx:{cursor:"pointer",":hover":{bg:"accent.emphasis",color:"fg.onEmphasis"}},children:[(0,r.jsx)(re.NoM,{size:16}),(0,r.jsx)(ie,{paddingX:4,children:"Show deleted file"}),(0,r.jsx)(re.NoM,{size:16})]})},"show-deleted")),(0,r.jsxs)("table",{className:"SplitDiffView-hunk-table",children:[(0,r.jsxs)("colgroup",{children:[(0,r.jsx)("col",{width:50}),(0,r.jsx)("col",{width:"50%"}),(0,r.jsx)("col",{width:50}),(0,r.jsx)("col",{width:"50%"})]}),(0,r.jsx)("tbody",{children:w})]})}));function xe(e,n,o,t,i,a,l){var s=t,c=i;e.forEach((function(e){a.push((0,r.jsx)(fe,{beforeLineNumber:s,before:e,afterLineNumber:c,after:e,rowType:o,path:n,openFileToLine:l},"".concat(s,"/").concat(c))),++s,++c}))}function be(e,n){if(e.length+n.length>300)return[e,n];var o=(0,ue.Kx)(e,n),t=[],i=[];return o.forEach((function(e,n){var o=e.added,a=e.removed,l=e.value;o?i.push((0,r.jsx)("span",{className:"patch-add-word",children:l},n)):a?t.push((0,r.jsx)("span",{className:"patch-remove-word",children:l},n)):(t.push(l),i.push(l))})),[t,i]}function ye(e){var n=e.numLines,o=e.onExpand;if(0===n)return null;var t=1===n?"Expand 1 line":"Expand ".concat(n," lines");return(0,r.jsx)(we,{children:(0,r.jsxs)(te,{display:"inline-block",onClick:o,padding:1,sx:{cursor:"pointer",":hover":{bg:"accent.emphasis",color:"fg.onEmphasis"}},children:[(0,r.jsx)(re.NoM,{size:16}),(0,r.jsx)(ie,{paddingX:4,children:t}),(0,r.jsx)(re.NoM,{size:16})]})})}var je=(0,d.Pi)((function(e){var n=e.ctx,o=e.path,t=e.range,i=e.beforeLineStart,a=e.afterLineStart,l=n.atoms.lineRange(t).get();switch(l.state){case"fulfilled":var s=[];return xe(l.value,o,"expanded",i,a,s,n.openFileToLine),(0,r.jsx)(r.Fragment,{children:s});case"pending":return(0,r.jsx)(we,{children:(0,r.jsx)(te,{padding:1,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",children:(0,r.jsxs)(te,{display:"flex",alignItems:"center",children:[(0,r.jsx)(he,{size:"small"}),(0,r.jsx)(ie,{marginLeft:2,children:"Loading..."})]})})});case"rejected":return(0,r.jsx)(we,{children:(0,r.jsx)(te,{padding:1,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",children:(0,r.jsx)(te,{display:"flex",alignItems:"center",children:(0,r.jsxs)(ie,{children:["Error: ",l.value.message]})})})})}}));function we(e){var n=e.children;return(0,r.jsx)(te,{as:"tr",bg:"accent.subtle",color:"fg.muted",height:12,children:(0,r.jsx)(te,{as:"td",colSpan:4,className:"separator",children:n})})}function Se(e){var n,o,t,i,l=e.ctx,s=e.path,c=e.patch,d=null!==(o=null!==(n=c.newFileName)&&void 0!==n?n:c.oldFileName)&&void 0!==o?o:"/dev/null",u=ge,p=[];return c.type===a.DiffType.Added&&p.push((0,r.jsx)(Ce,{children:"This file was added"},"added")),c.type===a.DiffType.Removed&&p.push((0,r.jsx)(Ce,{children:"This file was removed"},"deleted")),c.type===a.DiffType.Renamed&&p.push((0,r.jsxs)(Ce,{children:["This file was renamed from ",null!==(t=c.oldFileName)&&void 0!==t?t:""]},"renamed")),c.type===a.DiffType.Copied&&p.push((0,r.jsxs)(Ce,{children:["This file was copied from ",null!==(i=c.oldFileName)&&void 0!==i?i:""]},"copied")),(0,r.jsxs)(te,{className:"split-diff-view",borderWidth:"1px",borderStyle:"solid",borderColor:"border.default",borderRadius:2,children:[(0,r.jsx)(ae,{ctx:l,path:d,diffType:c.type}),(0,r.jsx)(u,{ctx:l,path:s,patch:c,preamble:p})]})}function Ce(e){var n=e.children;return(0,r.jsx)(te,{as:"tr",bg:"attention.subtle",color:"fg.muted",height:12,children:(0,r.jsx)(te,{as:"td",colSpan:4,className:"separator",children:(0,r.jsx)(te,{padding:1,children:n})})})}var ke=(0,p.memo)((0,d.Pi)((function(){var e=J().theme;return(0,r.jsx)("style",{children:"\n.patch-word-begin {\n border-top-left-radius: .2em;\n border-bottom-left-radius: .2em;\n}\n\n.patch-word-end {\n border-top-right-radius: .2em;\n border-bottom-right-radius: .2em;\n}\n\n.patch-add-line {\n background-color: ".concat(null==e?void 0:e.colors.diffBlob.addition.lineBg,";\n}\n\n.patch-add-line-number {\n color: ").concat(null==e?void 0:e.colors.diffBlob.addition.numText,";\n background-color: ").concat(null==e?void 0:e.colors.diffBlob.addition.numBg,";\n}\n\n.patch-add-word {\n background-color: ").concat(null==e?void 0:e.colors.diffBlob.addition.wordBg,";\n}\n\n.patch-remove-line {\n background-color: ").concat(null==e?void 0:e.colors.diffBlob.deletion.lineBg,";\n}\n\n.patch-remove-line-number {\n color: ").concat(null==e?void 0:e.colors.diffBlob.deletion.numText,";\n background-color: ").concat(null==e?void 0:e.colors.diffBlob.deletion.numBg,";\n}\n\n.patch-remove-word {\n background-color: ").concat(null==e?void 0:e.colors.diffBlob.deletion.wordBg,";\n}\n\n.patch-expanded, .patch-expanded-number {\n background-color: ").concat(null==e?void 0:e.colors.canvas.subtle,";\n}\n\n.patch-expanded-number {\n color: ").concat(null==e?void 0:e.colors.fg.subtle,";\n}\n\n.SplitDiffView-hunk-table td {\n font-family: ").concat(null==e?void 0:e.fonts.mono,"\n}\n\n.lineNumber.clickable {\n cursor: pointer;\n}\n\n.lineNumber.clickable:hover {\n text-decoration: underline;\n}\n/**\n * pl = prettylights theme\n *\n * Mapping from CSS class name to Primer color deduced from a combination of:\n * https://cdn.jsdelivr.net/npm/github-syntax-theme-generator@0.5.0/build/css/github-light.css\n * https://primer.style/react/theme-reference\n *\n * Though it is a bit confusing because github-light.css defines some classes\n * multiple times, such as .pl-s.\n */\n\n.pl-ba {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.brackethighlighterAngle,";\n}\n\n.pl-bu {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.brackethighlighterUnmatched,";\n}\n\n.pl-c {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.comment,";\n}\n\n.pl-c1 {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.constant,";\n}\n\n.pl-c2 {\n background-color: ").concat(null==e?void 0:e.colors.prettylights.syntax.carriageReturnBg,";\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.carriageReturnText,';\n}\n\n.pl-c2::before {\n content: "^M";\n}\n\n.pl-corl {\n color: ').concat(null==e?void 0:e.colors.prettylights.syntax.constantOtherReferenceLink,";\n text-decoration: underline;\n}\n\n.pl-e, .pl-en {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.entity,";\n}\n\n.pl-ent {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.entityTag,";\n}\n\n.pl-ii {\n background-color: ").concat(null==e?void 0:e.colors.prettylights.syntax.invalidIllegalBg,";\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.invalidIllegalText,";\n}\n\n.pl-k {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.keyword,";\n}\n\n.pl-s, .pl-pds {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.string,";\n}\n\n.pl-sg {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.sublimelinterGutterMark,";\n}\n\n.pl-smi {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.storageModifierImport,";\n}\n\n.pl-sr {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.stringRegexp,";\n font-weight: bold;\n}\n\n.pl-v {\n color: ").concat(null==e?void 0:e.colors.prettylights.syntax.variable,";\n}\n")})}))),Te=o(5288);function Oe(e){return(0,a.parsePatch)(e).filter((function(e){return e.hunks.length>0||null!=e.newFileName||null!=e.oldFileName}))}var Ne=(0,v.N)({genKey:function(e){switch(e.type){case a.ComparisonType.Range:throw new Error("Version comparison not supported");case a.ComparisonType.Committed:return"Committed ".concat(e.hash);case a.ComparisonType.Commit:throw new Error("Commit comparison not supported");case a.ComparisonType.HeadChanges:return"HEAD";case a.ComparisonType.StackChanges:return"STACK";case a.ComparisonType.UncommittedChanges:return"UNCOMMITTED"}},genValue:function(e){return(0,g.u)({default:{isLoading:!0,data:null},setter:function(n){n.isLoading&&Q.H.postMessage({type:"requestComparison",comparison:e})},effects:[function(n){var o=n.setSelf,t=Q.H.onMessageOfType("comparison",(function(n){var t,r;e.type===n.comparison.type&&o({isLoading:!1,data:(t=n.data.diff,r=Oe,null==t.error?{value:r(t.value)}:t)})}));return function(){return t.dispose()}}]})}}),Le=(0,v.N)({genKey:function(e){return s()(e)},genValue:function(e){return(0,c.Fl)((function(){ee.ql.get(),Q.H.postMessage(Object.assign({type:"requestComparisonContextLines"},e));var n=new Promise((function(e){var n=Q.H.onMessageOfType("comparisonContextLines",(function(o){e(o.lines),n.dispose()}))}));return(0,u.p4)(n)}))}});function Me(e){var n=Ne(e);return[n.get(),(0,p.useCallback)((function(){(0,c.z)((function(){var e=n.get();n.set(Object.assign(Object.assign({},e),{isLoading:!0}))}))}),[n])]}var Ee=(0,d.Pi)((function(e){var n=e.comparison,o=(0,$.F)(),i=Me(n),a=(0,t.Z)(i,2),l=a[0],s=a[1];return(0,p.useEffect)(s,[n,s]),(0,r.jsx)("div",{"data-testid":"comparison-view",className:"comparison-view",children:(0,r.jsxs)(U,{colorMode:"light"===o.colorScheme?"day":"night",children:[(0,r.jsx)(ke,{}),(0,r.jsxs)(X,{className:"comparison-view-base-styles",children:[(0,r.jsx)(Re,{comparison:n}),(0,r.jsx)("div",{className:"comparison-view-details",children:null==l.data?(0,r.jsx)(m.J,{icon:"loading"}):null!=l.data.error?(0,r.jsx)(f.W,{error:l.data.error,title:"Unable to load comparison"}):0===l.data.value.length?(0,r.jsx)(h,{children:"No Changes"}):l.data.value.map((function(e,o){return(0,r.jsx)(Pe,{diff:e,comparison:n},o)}))})]})]})})})),Fe=[a.ComparisonType.UncommittedChanges,a.ComparisonType.HeadChanges,a.ComparisonType.StackChanges],Re=(0,d.Pi)((function(e){var n=e.comparison,o=Me(n),l=(0,t.Z)(o,2),s=l[0],d=l[1];return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"comparison-view-header",children:[(0,r.jsxs)("span",{className:"comparison-view-header-group",children:[(0,r.jsxs)(i.Yb,{"data-testid":"comparison-view-picker",value:n.type,onChange:function(e){var n=Te._.get();Te._.set(Object.assign(Object.assign({},n),{comparison:{type:e.currentTarget.value}}))},children:[Fe.map((function(e){return(0,r.jsx)(i.nH,{value:e,children:(0,a.labelForComparison)({type:e})},e)})),Fe.includes(n.type)?null:(0,r.jsx)(i.nH,{value:n.type,children:(0,a.labelForComparison)(n)},n.type)]}),(0,r.jsx)(i.vD,{title:"Reload this comparison. Comparisons do not refresh automatically.",appearance:"secondary",onClick:d,children:(0,r.jsx)(m.J,{icon:"refresh","data-testid":"comparison-refresh-button"})}),s.isLoading?(0,r.jsx)(m.J,{icon:"loading","data-testid":"comparison-loading"}):null]}),(0,r.jsx)(i.vD,{"data-testid":"close-comparison-view-button",appearance:"icon",onClick:function(){return(0,c.z)((function(){var e=Te._.get();Te._.set(Object.assign(Object.assign({},e),{visible:!1}))}))},children:(0,r.jsx)(m.J,{icon:"x"})})]})})}));function Pe(e){var n,o,t=e.diff,i=e.comparison,a=(0,$.F)(),l=null!==(o=null!==(n=t.newFileName)&&void 0!==n?n:t.oldFileName)&&void 0!==o?o:"",s={id:{path:l,comparison:i},atoms:{lineRange:Le},copy:a.copyToClipboard,openFileToLine:Be(i)?function(e){return a.openFile(l,{line:e})}:void 0};return(0,r.jsx)("div",{className:"comparison-view-file",children:(0,r.jsx)(Se,{ctx:s,patch:t,path:l})},l)}function Be(e){switch(e.type){case a.ComparisonType.UncommittedChanges:case a.ComparisonType.HeadChanges:case a.ComparisonType.StackChanges:return!0;case a.ComparisonType.Committed:case a.ComparisonType.Commit:case a.ComparisonType.Range:return!1}}}}]);
|