github-issue-tower-defence-management 1.117.5 → 1.117.6
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 +7 -0
- package/bin/adapter/entry-points/console/ui-dist/assets/{index-DGVKvwux.css → index-BMe1bEF4.css} +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/{index-BXcfEKkX.js → index-Dx_VHaDe.js} +1 -1
- package/bin/adapter/entry-points/console/ui-dist/index.html +2 -2
- package/package.json +2 -2
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommentComposer.tsx +10 -10
- package/src/adapter/entry-points/console/ui/src/index.css +1 -0
- package/src/adapter/entry-points/console/ui-dist/assets/{index-DGVKvwux.css → index-BMe1bEF4.css} +1 -1
- package/src/adapter/entry-points/console/ui-dist/assets/{index-BXcfEKkX.js → index-Dx_VHaDe.js} +1 -1
- package/src/adapter/entry-points/console/ui-dist/index.html +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.117.6](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.117.5...v1.117.6) (2026-06-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **console:** move comment submit button to the far right of the comment area ([#1113](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/1113)) ([6f7bc8c](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/commit/6f7bc8ce4bd3cc235658757cf7c286d223de23b1))
|
|
7
|
+
|
|
1
8
|
## [1.117.5](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.117.4...v1.117.5) (2026-06-29)
|
|
2
9
|
|
|
3
10
|
|
package/bin/adapter/entry-points/console/ui-dist/assets/{index-DGVKvwux.css → index-BMe1bEF4.css}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}html{font-size:clamp(15px,2.1vw,26px)}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;width:100%;min-height:100dvh;display:flex}.console-tabbar{-webkit-overflow-scrolling:touch;background:#161b22;border-bottom:2px solid #30363d;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:42px;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:.8125rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:.6875rem;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{color:#8b949e;align-self:center;margin-left:auto;padding:0 8px;font-size:.7188rem}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:.6875rem}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none;margin-top:3px}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:.8125rem;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:.75rem}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{font-size:.9063rem;font-weight:600;display:block}.console-item-sub{color:#8b949e;margin-top:3px;font-size:.7813rem;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:.6875rem;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.7188rem;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:.625rem}.console-list-message{color:#8b949e;padding:16px;font-size:.875rem}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:.875rem}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 16px 0;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:.8125rem}.console-detail-subbar{align-items:center;gap:12px;font-size:.8125rem;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-copy-url-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-url-button:hover{color:#e6edf3;background-color:#21262d}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.console-detail-pr-status-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:-4px;display:flex}.console-detail-pr-status{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.console-detail-ci-missing{opacity:.85;font-weight:400}.console-detail-mergeable-chip{font-weight:600}.console-detail-mergeable-chip-unknown{opacity:.7;font-weight:400}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:.75rem}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;display:flex}.console-panel-toggle{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:6px 12px;font-size:.875rem;font-weight:600;display:flex}.console-panel-toggle:hover{background:#1a2029}.console-panel-action{padding:6px 12px}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:.875rem;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-markdown h1,.console-markdown h2,.console-markdown h3,.console-markdown h4,.console-markdown h5,.console-markdown h6{margin:1em 0 .5em;font-weight:700;line-height:1.25}.console-markdown h1{font-size:1.6em}.console-markdown h2{font-size:1.4em}.console-markdown h3{font-size:1.2em}.console-markdown h4{font-size:1.05em}.console-markdown h5{font-size:.95em}.console-markdown h6{color:#8b949e;font-size:.9em}.console-markdown pre{background:#161b22;border:1px solid #30363d;border-radius:6px;margin:.5em 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.45;overflow-x:auto}.console-markdown code{background:#6e768166;border-radius:4px;padding:.15em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.console-markdown pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.console-markdown blockquote{color:#8b949e;border-left:3px solid #30363d;margin:.5em 0;padding:0 1em}.console-markdown a{color:#4493f8;text-decoration:none}.console-markdown a:hover{text-decoration:underline}.console-markdown-reference-host{display:inline}.console-markdown-reference{vertical-align:baseline;align-items:center;gap:.25em;display:inline-flex}.console-markdown-reference .console-item-icon{flex-shrink:0}.console-markdown-reference-title{text-decoration:none}.console-markdown-reference:hover .console-markdown-reference-title{text-decoration:underline}.console-markdown hr{border:none;border-top:1px solid #30363d;margin:1em 0}.console-mermaid-error{color:#f85149;font-size:.8125rem}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:.75rem;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file{flex-direction:column;font-size:.8125rem;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:.6875rem}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-actionbar{z-index:100;padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#161b22;border-top:2px solid #30363d;margin-top:auto;position:sticky;bottom:0}.console-operation-bar{flex-direction:column;gap:8px;width:100%;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-stories{max-height:33vh;overflow-y:auto}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:9px 16px;font-size:.8125rem;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:.75rem;display:flex}.console-detail-screen{flex-direction:column;flex:1 0 auto;display:flex}.console-panel-open-link{color:#4493f8;font-size:.8125rem;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:.7813rem}.console-composer-toggle:hover{color:#e6edf3}.console-composer-posted{flex-direction:column;gap:8px;margin-top:8px;display:flex}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:.875rem}.console-composer-row{align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:.8125rem;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:.75rem}.console-composer-error{color:#f85149}.console-undo-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:.8438rem;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:.8125rem;font-weight:700}.console-undo-toast-undo:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:.6875rem}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:.8125rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:.75rem}.console-diff-comment-cell{text-align:center;-webkit-user-select:none;user-select:none;width:1%;padding:0 2px}.console-diff-comment-button{color:#6e7681;cursor:pointer;opacity:.6;background:0 0;border:1px solid #30363d;border-radius:4px;width:18px;height:18px;padding:0;font-size:.875rem;line-height:16px}.console-diff-row:hover .console-diff-comment-button,.console-diff-comment-button:focus-visible,.console-diff-comment-button[aria-expanded=true]{opacity:1;color:#fff;background:#1f6feb;border-color:#2f81f7}.console-diff-composer-row td{background:#0d1117;padding:6px 10px}.console-diff-composer{background:#161b22;border:1px solid #30363d;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.console-diff-composer-anchor{color:#8b949e;font-size:.6875rem}.console-diff-composer-input{resize:vertical;color:#c9d1d9;width:100%;font:inherit;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 8px}.console-diff-composer-controls{align-items:center;gap:8px;display:flex}.console-diff-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #238636;border-radius:6px;padding:4px 12px}.console-diff-composer-submit:disabled{opacity:.6;cursor:default}.console-diff-composer-cancel{color:#c9d1d9;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px}.console-diff-composer-status{color:#8b949e;font-size:.75rem}.console-diff-composer-error{color:#ff7b72}.console-diff-composer-posted{color:#3fb950;margin:0;font-size:.75rem}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:.9375rem;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:.6875rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}html{font-size:clamp(15px,2.1vw,26px)}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;width:100%;min-height:100dvh;display:flex}.console-tabbar{-webkit-overflow-scrolling:touch;background:#161b22;border-bottom:2px solid #30363d;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:42px;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:.8125rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:.6875rem;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{color:#8b949e;align-self:center;margin-left:auto;padding:0 8px;font-size:.7188rem}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:.6875rem}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none;margin-top:3px}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:.8125rem;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:.75rem}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{font-size:.9063rem;font-weight:600;display:block}.console-item-sub{color:#8b949e;margin-top:3px;font-size:.7813rem;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:.6875rem;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.7188rem;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:.625rem}.console-list-message{color:#8b949e;padding:16px;font-size:.875rem}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:.875rem}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 16px 0;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:.8125rem}.console-detail-subbar{align-items:center;gap:12px;font-size:.8125rem;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-copy-url-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-url-button:hover{color:#e6edf3;background-color:#21262d}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.console-detail-pr-status-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:-4px;display:flex}.console-detail-pr-status{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.console-detail-ci-missing{opacity:.85;font-weight:400}.console-detail-mergeable-chip{font-weight:600}.console-detail-mergeable-chip-unknown{opacity:.7;font-weight:400}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:.75rem}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;display:flex}.console-panel-toggle{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:6px 12px;font-size:.875rem;font-weight:600;display:flex}.console-panel-toggle:hover{background:#1a2029}.console-panel-action{padding:6px 12px}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:.875rem;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-markdown h1,.console-markdown h2,.console-markdown h3,.console-markdown h4,.console-markdown h5,.console-markdown h6{margin:1em 0 .5em;font-weight:700;line-height:1.25}.console-markdown h1{font-size:1.6em}.console-markdown h2{font-size:1.4em}.console-markdown h3{font-size:1.2em}.console-markdown h4{font-size:1.05em}.console-markdown h5{font-size:.95em}.console-markdown h6{color:#8b949e;font-size:.9em}.console-markdown pre{background:#161b22;border:1px solid #30363d;border-radius:6px;margin:.5em 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.45;overflow-x:auto}.console-markdown code{background:#6e768166;border-radius:4px;padding:.15em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.console-markdown pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.console-markdown blockquote{color:#8b949e;border-left:3px solid #30363d;margin:.5em 0;padding:0 1em}.console-markdown a{color:#4493f8;text-decoration:none}.console-markdown a:hover{text-decoration:underline}.console-markdown-reference-host{display:inline}.console-markdown-reference{vertical-align:baseline;align-items:center;gap:.25em;display:inline-flex}.console-markdown-reference .console-item-icon{flex-shrink:0}.console-markdown-reference-title{text-decoration:none}.console-markdown-reference:hover .console-markdown-reference-title{text-decoration:underline}.console-markdown hr{border:none;border-top:1px solid #30363d;margin:1em 0}.console-mermaid-error{color:#f85149;font-size:.8125rem}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:.75rem;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file{flex-direction:column;font-size:.8125rem;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:.6875rem}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-actionbar{z-index:100;padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#161b22;border-top:2px solid #30363d;margin-top:auto;position:sticky;bottom:0}.console-operation-bar{flex-direction:column;gap:8px;width:100%;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-stories{max-height:33vh;overflow-y:auto}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:9px 16px;font-size:.8125rem;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:.75rem;display:flex}.console-detail-screen{flex-direction:column;flex:1 0 auto;display:flex}.console-panel-open-link{color:#4493f8;font-size:.8125rem;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:.7813rem}.console-composer-toggle:hover{color:#e6edf3}.console-composer-posted{flex-direction:column;gap:8px;margin-top:8px;display:flex}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:.875rem}.console-composer-row{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:.8125rem;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:.75rem}.console-composer-error{color:#f85149}.console-undo-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:.8438rem;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:.8125rem;font-weight:700}.console-undo-toast-undo:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:.6875rem}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:.8125rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:.75rem}.console-diff-comment-cell{text-align:center;-webkit-user-select:none;user-select:none;width:1%;padding:0 2px}.console-diff-comment-button{color:#6e7681;cursor:pointer;opacity:.6;background:0 0;border:1px solid #30363d;border-radius:4px;width:18px;height:18px;padding:0;font-size:.875rem;line-height:16px}.console-diff-row:hover .console-diff-comment-button,.console-diff-comment-button:focus-visible,.console-diff-comment-button[aria-expanded=true]{opacity:1;color:#fff;background:#1f6feb;border-color:#2f81f7}.console-diff-composer-row td{background:#0d1117;padding:6px 10px}.console-diff-composer{background:#161b22;border:1px solid #30363d;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.console-diff-composer-anchor{color:#8b949e;font-size:.6875rem}.console-diff-composer-input{resize:vertical;color:#c9d1d9;width:100%;font:inherit;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 8px}.console-diff-composer-controls{align-items:center;gap:8px;display:flex}.console-diff-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #238636;border-radius:6px;padding:4px 12px}.console-diff-composer-submit:disabled{opacity:.6;cursor:default}.console-diff-composer-cancel{color:#c9d1d9;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px}.console-diff-composer-status{color:#8b949e;font-size:.75rem}.console-diff-composer-error{color:#ff7b72}.console-diff-composer-posted{color:#3fb950;margin:0;font-size:.75rem}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:.9375rem;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:.6875rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
package/bin/adapter/entry-points/console/ui-dist/assets/{index-BXcfEKkX.js → index-Dx_VHaDe.js}
RENAMED
|
@@ -96,6 +96,6 @@ ${o}</tr>
|
|
|
96
96
|
Please report this to https://github.com/markedjs/marked.`,o){const u="<p>An error occurred:</p><pre>"+nn(r.message+"",!0)+"</pre>";return c?Promise.resolve(u):u}if(c)return Promise.reject(r);throw r}};const xa=new Nv;function je(a,o){return xa.parse(a,o)}je.options=je.setOptions=function(a){return xa.setOptions(a),je.defaults=xa.defaults,Xp(je.defaults),je};je.getDefaults=Gu;je.defaults=Aa;je.use=function(...a){return xa.use(...a),je.defaults=xa.defaults,Xp(je.defaults),je};je.walkTokens=function(a,o){return xa.walkTokens(a,o)};je.parseInline=xa.parseInline;je.Parser=Hn;je.parser=Hn.parse;je.Renderer=rr;je.TextRenderer=Ku;je.Lexer=Ln;je.lexer=Ln.lex;je.Tokenizer=or;je.Hooks=Co;je.parse=je;je.options;je.setOptions;je.use;je.walkTokens;je.parseInline;Hn.parse;Ln.lex;const Cv={renderer:void 0};function zv(a){if(a={...Cv,...a},!a.emojis)throw new Error("Must provide emojis to markedEmoji");const o=Object.keys(a.emojis).map(u=>u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),c=new RegExp(`:(${o}):`),r=new RegExp(`^${c.source}`);return{extensions:[{name:"emoji",level:"inline",start(u){var d;return(d=u.match(c))==null?void 0:d.index},tokenizer(u,d){const m=r.exec(u);if(!m)return;const _=m[1],g=a.emojis[_];if(g)return{type:"emoji",raw:m[0],name:_,emoji:g}},renderer(u){return a.renderer?a.renderer(u):`<img alt="${u.name}" src="${u.emoji}" class="marked-emoji-img">`}}]}}je.use(zv({emojis:K0,renderer:a=>a.emoji}));const Ov=a=>{if(a.trim()==="")return"";je.setOptions({gfm:!0,breaks:!0});const c=je.parse(a,{async:!1}),r=typeof c=="string"?c:"";return Zp.sanitize(r)},tg=a=>/^```mermaid\s*$/.test(a.trim()),Rv=a=>/^```/.test(a.trim())&&!tg(a),mp=a=>a.trim()==="```",Mv=a=>{const o=a.split(`
|
|
97
97
|
`),c=[];let r=[],u=null,d=!1,m=0;const _=()=>{r.length>0&&(c.push({kind:"markdown",key:`markdown:${m}`,source:r.join(`
|
|
98
98
|
`)}),m+=1,r=[])};for(const g of o){if(d){r.push(g),mp(g)&&(d=!1);continue}if(u===null&&tg(g)){_(),u=[];continue}if(u!==null){if(mp(g)){c.push({kind:"mermaid",key:`mermaid:${m}`,code:u.join(`
|
|
99
|
-
`)}),m+=1,u=null;continue}u.push(g);continue}if(Rv(g)){r.push(g),d=!0;continue}r.push(g)}return u!==null&&r.push("```mermaid",...u),_(),c},Dv=/^https:\/\/github\.com\/([^/\s]+)\/([^/\s]+)\/(issues|pull)\/(\d+)(?:[#?].*)?$/,jv=a=>{const o=Dv.exec(a.trim());if(o===null)return null;const[,c,r,u,d]=o,m=Number.parseInt(d,10);return Number.isFinite(m)?{owner:c,repo:r,number:m,kind:u==="pull"?"pull":"issue"}:null},Uv=a=>({isPr:a.isPullRequest,state:a.state.toLowerCase(),merged:a.merged,isDraft:!1,stateReason:""}),Lv="https://cdn.jsdelivr.net/npm/mermaid@10.9.6/dist/mermaid.min.js";let vi=null,hp=0;const pp=a=>(a.initialize({startOnLoad:!1,securityLevel:"strict",theme:"dark",themeVariables:{background:"#0d1117",primaryColor:"#161b22",primaryTextColor:"#e6edf3",primaryBorderColor:"#30363d",lineColor:"#8b949e",fontSize:"14px"}}),a),Hv=()=>vi!==null?vi:window.mermaid!==void 0?(vi=Promise.resolve(pp(window.mermaid)),vi):(vi=new Promise((a,o)=>{const c=document.createElement("script");c.src=Lv,c.async=!0,c.onload=()=>{if(window.mermaid===void 0){o(new Error("mermaid failed to load"));return}a(pp(window.mermaid))},c.onerror=()=>o(new Error("mermaid script failed to load")),document.head.appendChild(c)}),vi),Bv=async a=>{const o=await Hv();hp+=1;const c=`console-mermaid-${hp}`,{svg:r}=await o.render(c,a);return Zp.sanitize(r,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["foreignObject"]})},qv=({code:a})=>{const[o,c]=H.useState({status:"loading"}),r=H.useRef(null);return H.useEffect(()=>{let u=!1;return c({status:"loading"}),Bv(a).then(d=>{u||c({status:"ready",svg:d})}).catch(d=>{u||c({status:"error",message:d instanceof Error?d.message:String(d)})}),()=>{u=!0}},[a]),H.useEffect(()=>{const u=r.current;u!==null&&(u.innerHTML=o.status==="ready"?o.svg:"")},[o]),o.status==="loading"?y.jsx("div",{className:"console-mermaid-loading",children:"Rendering diagram..."}):o.status==="error"?y.jsxs("div",{className:"console-mermaid",children:[y.jsxs("div",{className:"console-mermaid-error",children:["Mermaid render error: ",o.message]}),y.jsx("pre",{className:"console-mermaid-source",children:y.jsx("code",{children:a})})]}):y.jsx("div",{ref:r,className:"console-mermaid-rendered"})},Gv=a=>{const o=a.querySelectorAll("a[href]"),c=[];return o.forEach((r,u)=>{const d=r.getAttribute("href")??"";if(jv(d)===null)return;const m=r.textContent??d,_=document.createElement("span");_.className="console-markdown-reference-host",r.replaceWith(_),c.push({key:`${u}:${d}`,host:_,href:d,fallbackText:m})}),c},Yv=({source:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>{const _=Ov(a);return o===void 0?_:m0(_,o)},[a,o]),u=H.useRef(null),[d,m]=H.useState([]);return H.useEffect(()=>{const _=u.current;if(_!==null){if(_.innerHTML=r,c===void 0){m([]);return}m(Gv(_))}},[r,c]),y.jsx("div",{ref:u,className:"console-markdown",children:c!==void 0&&d.map(_=>c0.createPortal(c(_.href,_.fallbackText),_.host,_.key))})},dr=({body:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>Mv(a),[a]);return a.trim()===""?y.jsx("p",{className:"console-markdown-empty",children:"No description provided."}):y.jsx("div",{className:"console-markdown-view",children:r.map(u=>u.kind==="mermaid"?y.jsx(qv,{code:u.code},u.key):y.jsx(Yv,{source:u.source,buildImageProxyUrl:o,renderReferenceLink:c},u.key))})},Zv=({isPr:a,now:o,onSubmit:c})=>{const[r,u]=H.useState(!a),[d,m]=H.useState(""),[_,g]=H.useState({kind:"idle"}),[p,E]=H.useState([]),x=async()=>{const z=d.trim();if(!(z.length===0||_.kind==="posting")){g({kind:"posting"});try{const q=await c(z);E(V=>[...V,q]),m(""),g({kind:"idle"})}catch(q){g({kind:"error",message:q instanceof Error?q.message:"failed to post"})}}};return y.jsxs("div",{className:"console-composer",children:[y.jsx("button",{type:"button",className:"console-composer-toggle","aria-expanded":r,onClick:()=>u(z=>!z),children:r?"✕ Cancel":"💬 Add a comment"}),p.length>0&&y.jsx("div",{className:"console-composer-posted",children:p.map(z=>y.jsxs("article",{className:"console-comment",children:[y.jsxs("header",{className:"console-comment-header",title:Hu(z.createdAt),children:[y.jsx("span",{className:"console-comment-author",children:z.author===""?"you":z.author}),y.jsx("span",{className:"console-comment-time",children:zo(z.createdAt,o)})]}),y.jsx(dr,{body:z.body})]},`${z.author}:${z.createdAt}:${z.body}`))}),r&&y.jsxs("div",{className:"console-composer-form",children:[y.jsx("textarea",{className:"console-composer-input",rows:3,placeholder:"Leave a comment…",value:d,onChange:z=>m(z.target.value)}),y.jsxs("div",{className:"console-composer-row",children:[
|
|
99
|
+
`)}),m+=1,u=null;continue}u.push(g);continue}if(Rv(g)){r.push(g),d=!0;continue}r.push(g)}return u!==null&&r.push("```mermaid",...u),_(),c},Dv=/^https:\/\/github\.com\/([^/\s]+)\/([^/\s]+)\/(issues|pull)\/(\d+)(?:[#?].*)?$/,jv=a=>{const o=Dv.exec(a.trim());if(o===null)return null;const[,c,r,u,d]=o,m=Number.parseInt(d,10);return Number.isFinite(m)?{owner:c,repo:r,number:m,kind:u==="pull"?"pull":"issue"}:null},Uv=a=>({isPr:a.isPullRequest,state:a.state.toLowerCase(),merged:a.merged,isDraft:!1,stateReason:""}),Lv="https://cdn.jsdelivr.net/npm/mermaid@10.9.6/dist/mermaid.min.js";let vi=null,hp=0;const pp=a=>(a.initialize({startOnLoad:!1,securityLevel:"strict",theme:"dark",themeVariables:{background:"#0d1117",primaryColor:"#161b22",primaryTextColor:"#e6edf3",primaryBorderColor:"#30363d",lineColor:"#8b949e",fontSize:"14px"}}),a),Hv=()=>vi!==null?vi:window.mermaid!==void 0?(vi=Promise.resolve(pp(window.mermaid)),vi):(vi=new Promise((a,o)=>{const c=document.createElement("script");c.src=Lv,c.async=!0,c.onload=()=>{if(window.mermaid===void 0){o(new Error("mermaid failed to load"));return}a(pp(window.mermaid))},c.onerror=()=>o(new Error("mermaid script failed to load")),document.head.appendChild(c)}),vi),Bv=async a=>{const o=await Hv();hp+=1;const c=`console-mermaid-${hp}`,{svg:r}=await o.render(c,a);return Zp.sanitize(r,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["foreignObject"]})},qv=({code:a})=>{const[o,c]=H.useState({status:"loading"}),r=H.useRef(null);return H.useEffect(()=>{let u=!1;return c({status:"loading"}),Bv(a).then(d=>{u||c({status:"ready",svg:d})}).catch(d=>{u||c({status:"error",message:d instanceof Error?d.message:String(d)})}),()=>{u=!0}},[a]),H.useEffect(()=>{const u=r.current;u!==null&&(u.innerHTML=o.status==="ready"?o.svg:"")},[o]),o.status==="loading"?y.jsx("div",{className:"console-mermaid-loading",children:"Rendering diagram..."}):o.status==="error"?y.jsxs("div",{className:"console-mermaid",children:[y.jsxs("div",{className:"console-mermaid-error",children:["Mermaid render error: ",o.message]}),y.jsx("pre",{className:"console-mermaid-source",children:y.jsx("code",{children:a})})]}):y.jsx("div",{ref:r,className:"console-mermaid-rendered"})},Gv=a=>{const o=a.querySelectorAll("a[href]"),c=[];return o.forEach((r,u)=>{const d=r.getAttribute("href")??"";if(jv(d)===null)return;const m=r.textContent??d,_=document.createElement("span");_.className="console-markdown-reference-host",r.replaceWith(_),c.push({key:`${u}:${d}`,host:_,href:d,fallbackText:m})}),c},Yv=({source:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>{const _=Ov(a);return o===void 0?_:m0(_,o)},[a,o]),u=H.useRef(null),[d,m]=H.useState([]);return H.useEffect(()=>{const _=u.current;if(_!==null){if(_.innerHTML=r,c===void 0){m([]);return}m(Gv(_))}},[r,c]),y.jsx("div",{ref:u,className:"console-markdown",children:c!==void 0&&d.map(_=>c0.createPortal(c(_.href,_.fallbackText),_.host,_.key))})},dr=({body:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>Mv(a),[a]);return a.trim()===""?y.jsx("p",{className:"console-markdown-empty",children:"No description provided."}):y.jsx("div",{className:"console-markdown-view",children:r.map(u=>u.kind==="mermaid"?y.jsx(qv,{code:u.code},u.key):y.jsx(Yv,{source:u.source,buildImageProxyUrl:o,renderReferenceLink:c},u.key))})},Zv=({isPr:a,now:o,onSubmit:c})=>{const[r,u]=H.useState(!a),[d,m]=H.useState(""),[_,g]=H.useState({kind:"idle"}),[p,E]=H.useState([]),x=async()=>{const z=d.trim();if(!(z.length===0||_.kind==="posting")){g({kind:"posting"});try{const q=await c(z);E(V=>[...V,q]),m(""),g({kind:"idle"})}catch(q){g({kind:"error",message:q instanceof Error?q.message:"failed to post"})}}};return y.jsxs("div",{className:"console-composer",children:[y.jsx("button",{type:"button",className:"console-composer-toggle","aria-expanded":r,onClick:()=>u(z=>!z),children:r?"✕ Cancel":"💬 Add a comment"}),p.length>0&&y.jsx("div",{className:"console-composer-posted",children:p.map(z=>y.jsxs("article",{className:"console-comment",children:[y.jsxs("header",{className:"console-comment-header",title:Hu(z.createdAt),children:[y.jsx("span",{className:"console-comment-author",children:z.author===""?"you":z.author}),y.jsx("span",{className:"console-comment-time",children:zo(z.createdAt,o)})]}),y.jsx(dr,{body:z.body})]},`${z.author}:${z.createdAt}:${z.body}`))}),r&&y.jsxs("div",{className:"console-composer-form",children:[y.jsx("textarea",{className:"console-composer-input",rows:3,placeholder:"Leave a comment…",value:d,onChange:z=>m(z.target.value)}),y.jsxs("div",{className:"console-composer-row",children:[_.kind==="posting"&&y.jsx("span",{className:"console-composer-status",children:"Posting…"}),_.kind==="error"&&y.jsxs("span",{role:"alert",className:"console-composer-status console-composer-error",children:["Failed: ",_.message]}),y.jsx("button",{type:"button",className:"console-composer-submit",disabled:_.kind==="posting",onClick:()=>{x()},children:"Comment"})]})]})]})},wa=({title:a,count:o=null,defaultCollapsed:c=!1,headerAction:r,children:u})=>{const[d,m]=H.useState(c),_=o===null?a:`${a} (${o})`;return y.jsxs("section",{className:"console-panel",children:[y.jsxs("header",{className:"console-panel-header",children:[y.jsxs("button",{type:"button",className:"console-panel-toggle","aria-expanded":!d,onClick:()=>m(g=>!g),children:[y.jsx("span",{className:"console-panel-caret",children:d?"▸":"▾"}),y.jsx("span",{className:"console-panel-title",children:_})]}),r!==void 0&&y.jsx("div",{className:"console-panel-action",children:r})]}),!d&&y.jsx("div",{className:"console-panel-body",children:u})]})},Xv=a=>{switch(a){case"added":return{label:"A",color:"#3fb950"};case"modified":return{label:"M",color:"#d29922"};case"removed":return{label:"D",color:"#f85149"};case"renamed":return{label:"R",color:"#a371f7"};case"changed":return{label:"M",color:"#d29922"};default:return{label:"?",color:"#8b949e"}}},Qv=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/,Vv=a=>{const o=[];let c=0,r=0;for(const u of a.split(`
|
|
100
100
|
`)){if(u.startsWith("@@")){const d=u.match(Qv);d!==null&&(c=Number(d[1]),r=Number(d[2])),o.push({kind:"hunk",oldLineNumber:null,newLineNumber:null,content:u});continue}if(u.startsWith("+")){o.push({kind:"add",oldLineNumber:null,newLineNumber:r,content:u}),r+=1;continue}if(u.startsWith("-")){o.push({kind:"del",oldLineNumber:c,newLineNumber:null,content:u}),c+=1;continue}o.push({kind:"ctx",oldLineNumber:c,newLineNumber:r,content:u}),c+=1,r+=1}return o},Kv=a=>a.kind==="add"||a.kind==="ctx"?a.newLineNumber===null?null:{line:a.newLineNumber,side:"RIGHT"}:a.kind==="del"?a.oldLineNumber===null?null:{line:a.oldLineNumber,side:"LEFT"}:null,Jv=a=>`${a.kind}:${a.oldLineNumber??"x"}:${a.newLineNumber??"x"}:${a.content}`,$v=({target:a,onSubmit:o,onClose:c})=>{const[r,u]=H.useState(""),[d,m]=H.useState({kind:"idle"}),_=async()=>{const g=r.trim();if(!(g.length===0||d.kind==="posting")){m({kind:"posting"});try{await o(a.path,a.line,a.side,g),u(""),m({kind:"posted"})}catch(p){m({kind:"error",message:p instanceof Error?p.message:"failed to post"})}}};return y.jsxs("div",{className:"console-diff-composer",children:[y.jsxs("div",{className:"console-diff-composer-anchor",children:["commenting on line ",a.line," (",a.side,")"]}),d.kind==="posted"?y.jsx("p",{className:"console-diff-composer-posted",children:"Comment posted."}):y.jsxs(y.Fragment,{children:[y.jsx("textarea",{className:"console-diff-composer-input",rows:3,placeholder:"Leave a review comment on this line…",value:r,onChange:g=>u(g.target.value)}),y.jsxs("div",{className:"console-diff-composer-controls",children:[y.jsx("button",{type:"button",className:"console-diff-composer-submit",disabled:d.kind==="posting",onClick:()=>{_()},children:"Comment"}),y.jsx("button",{type:"button",className:"console-diff-composer-cancel",onClick:c,children:"Cancel"}),d.kind==="posting"&&y.jsx("span",{className:"console-diff-composer-status",children:"Posting…"}),d.kind==="error"&&y.jsxs("span",{role:"alert",className:"console-diff-composer-status console-diff-composer-error",children:["Failed: ",d.message]})]})]})]})},Iv=({patch:a,path:o,onAddInlineComment:c})=>{const[r,u]=H.useState(null);if(a===null||a==="")return y.jsx("p",{className:"console-file-diff-empty",children:"(no diff / binary or too large)"});const d=Vv(a),m=c!==void 0&&o!==void 0&&o.length>0,_=m?4:3;return y.jsx("table",{className:"console-file-diff",children:y.jsx("tbody",{children:d.map(g=>{const p=Jv(g),E=m?Kv(g):null,x=r!==null&&E!==null&&r.line===E.line&&r.side===E.side;return y.jsxs(H.Fragment,{children:[y.jsxs("tr",{className:`console-diff-row console-diff-${g.kind}`,children:[m&&y.jsx("td",{className:"console-diff-comment-cell",children:E!==null&&o!==void 0&&y.jsx("button",{type:"button",className:"console-diff-comment-button","aria-label":`Comment on line ${E.line} (${E.side})`,"aria-expanded":x,onClick:()=>u(x?null:{path:o,line:E.line,side:E.side}),children:"+"})}),y.jsx("td",{className:"console-diff-ln",children:g.oldLineNumber??""}),y.jsx("td",{className:"console-diff-ln",children:g.newLineNumber??""}),y.jsx("td",{className:"console-diff-code",children:g.content})]}),x&&c!==void 0&&r!==null&&y.jsx("tr",{className:"console-diff-composer-row",children:y.jsx("td",{colSpan:_,children:y.jsx($v,{target:r,onSubmit:c,onClose:()=>u(null)})})})]},p)})})})},Fv=({file:a,onAddInlineComment:o})=>{const[c,r]=H.useState(!1),u=Xv(a.status);return y.jsxs("li",{className:"console-file",children:[y.jsxs("button",{type:"button",className:"console-file-row","aria-expanded":c,onClick:()=>r(d=>!d),children:[y.jsx("span",{className:"console-file-caret",children:c?"▾":"▸"}),y.jsx("span",{className:"console-file-badge",style:{color:u.color,borderColor:u.color},children:u.label}),y.jsx("span",{className:"console-file-path",children:a.path}),y.jsxs("span",{className:"console-file-stat console-file-add",children:["+",a.additions]}),y.jsxs("span",{className:"console-file-stat console-file-del",children:["-",a.deletions]})]}),c&&y.jsx(Iv,{patch:a.patch,path:a.path,onAddInlineComment:o})]})},ng=({files:a,isLoading:o,error:c,onAddInlineComment:r})=>c!==null?y.jsxs("p",{role:"alert",className:"console-files-error",children:["Failed to load changed files: ",c]}):o?y.jsx("p",{className:"console-files-loading",children:"Loading changed files..."}):a.length===0?y.jsx("p",{className:"console-files-empty",children:"No changed files."}):y.jsx("ul",{className:"console-files",children:a.map(u=>y.jsx(Fv,{file:u,onAddInlineComment:r},u.path))}),Wv=({comments:a,isLoading:o,error:c,now:r,buildImageProxyUrl:u,renderReferenceLink:d})=>{const[m,_]=H.useState(!1);if(c!==null)return y.jsxs("p",{role:"alert",className:"console-comment-error",children:["Failed to load comments: ",c]});if(o)return y.jsx("p",{className:"console-comment-loading",children:"Loading comments..."});if(a.length===0)return y.jsx("p",{className:"console-comment-empty",children:"No comments."});const g=m?a:a.slice(-1);return y.jsxs("div",{className:"console-comment-list",children:[!m&&a.length>1&&y.jsxs("button",{type:"button",className:"console-comment-show-all",onClick:()=>_(!0),children:["Show all ",a.length]}),g.map(p=>y.jsxs("article",{className:"console-comment",children:[y.jsxs("header",{className:"console-comment-header",children:[y.jsx("span",{className:"console-comment-author",children:p.author}),y.jsx("span",{className:"console-comment-time",children:zo(p.createdAt,r)})]}),y.jsx(dr,{body:p.body,buildImageProxyUrl:u,renderReferenceLink:d})]},`${p.author}:${p.createdAt}:${p.body}`))]})},Pv=a=>a.slice(0,7),e1=a=>a.split(`
|
|
101
101
|
`)[0],lg=({commits:a,isLoading:o,error:c,now:r})=>c!==null?y.jsxs("p",{role:"alert",className:"console-commits-error",children:["Failed to load commits: ",c]}):o?y.jsx("p",{className:"console-commits-loading",children:"Loading commits..."}):a.length===0?y.jsx("p",{className:"console-commits-empty",children:"No commits."}):y.jsx("ul",{className:"console-commits",children:a.map(u=>y.jsxs("li",{className:"console-commit",children:[y.jsx("span",{className:"console-commit-message",children:e1(u.message)}),y.jsx("span",{className:"console-commit-sha",children:Pv(u.sha)}),y.jsx("span",{className:"console-commit-author",children:u.author}),y.jsx("span",{className:"console-commit-time",children:zo(u.authoredAt,r)})]},u.sha))});function gp(a,o){if(typeof a=="function")return a(o);a!=null&&(a.current=o)}function t1(...a){return o=>{let c=!1;const r=a.map(u=>{const d=gp(u,o);return!c&&typeof d=="function"&&(c=!0),d});if(c)return()=>{for(let u=0;u<r.length;u++){const d=r[u];typeof d=="function"?d():gp(a[u],null)}}}}function n1(...a){return H.useCallback(t1(...a),a)}function l1(a){const o=H.forwardRef((c,r)=>{let{children:u,...d}=c,m=null,_=!1;const g=[];_p(u)&&typeof lr=="function"&&(u=lr(u._payload)),H.Children.forEach(u,z=>{var q;if(c1(z)){_=!0;const V=z;let $="child"in V.props?V.props.child:V.props.children;_p($)&&typeof lr=="function"&&($=lr($._payload)),m=o1(V,$),g.push((q=m==null?void 0:m.props)==null?void 0:q.children)}else g.push(z)}),m?m=H.cloneElement(m,void 0,g):!_&&H.Children.count(u)===1&&H.isValidElement(u)&&(m=u);const p=m?r1(m):void 0,E=n1(r,p);if(!m){if(u||u===0)throw new Error(_?m1(a):d1(a));return u}const x=s1(d,m.props??{});return m.type!==H.Fragment&&(x.ref=r?E:p),H.cloneElement(m,x)});return o.displayName=`${a}.Slot`,o}var a1=l1("Slot"),i1=Symbol.for("radix.slottable"),o1=(a,o)=>{if("child"in a.props){const c=a.props.child;return H.isValidElement(c)?H.cloneElement(c,void 0,a.props.children(c.props.children)):null}return H.isValidElement(o)?o:null};function s1(a,o){const c={...o};for(const r in o){const u=a[r],d=o[r];/^on[A-Z]/.test(r)?u&&d?c[r]=(..._)=>{const g=d(..._);return u(..._),g}:u&&(c[r]=u):r==="style"?c[r]={...u,...d}:r==="className"&&(c[r]=[u,d].filter(Boolean).join(" "))}return{...a,...c}}function r1(a){var r,u;let o=(r=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:r.get,c=o&&"isReactWarning"in o&&o.isReactWarning;return c?a.ref:(o=(u=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:u.get,c=o&&"isReactWarning"in o&&o.isReactWarning,c?a.props.ref:a.props.ref||a.ref)}function c1(a){return H.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===i1}var u1=Symbol.for("react.lazy");function _p(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===u1&&"_payload"in a&&f1(a._payload)}function f1(a){return typeof a=="object"&&a!==null&&"then"in a}var d1=a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,m1=a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,lr=jb[" use ".trim().toString()];function ag(a){var o,c,r="";if(typeof a=="string"||typeof a=="number")r+=a;else if(typeof a=="object")if(Array.isArray(a)){var u=a.length;for(o=0;o<u;o++)a[o]&&(c=ag(a[o]))&&(r&&(r+=" "),r+=c)}else for(c in a)a[c]&&(r&&(r+=" "),r+=c);return r}function ig(){for(var a,o,c=0,r="",u=arguments.length;c<u;c++)(a=arguments[c])&&(o=ag(a))&&(r&&(r+=" "),r+=o);return r}const bp=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,yp=ig,h1=(a,o)=>c=>{var r;if((o==null?void 0:o.variants)==null)return yp(a,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:u,defaultVariants:d}=o,m=Object.keys(u).map(p=>{const E=c==null?void 0:c[p],x=d==null?void 0:d[p];if(E===null)return null;const z=bp(E)||bp(x);return u[p][z]}),_=c&&Object.entries(c).reduce((p,E)=>{let[x,z]=E;return z===void 0||(p[x]=z),p},{}),g=o==null||(r=o.compoundVariants)===null||r===void 0?void 0:r.reduce((p,E)=>{let{class:x,className:z,...q}=E;return Object.entries(q).every(V=>{let[$,B]=V;return Array.isArray(B)?B.includes({...d,..._}[$]):{...d,..._}[$]===B})?[...p,x,z]:p},[]);return yp(a,m,g,c==null?void 0:c.class,c==null?void 0:c.className)},p1=(a,o)=>{const c=new Array(a.length+o.length);for(let r=0;r<a.length;r++)c[r]=a[r];for(let r=0;r<o.length;r++)c[a.length+r]=o[r];return c},g1=(a,o)=>({classGroupId:a,validator:o}),og=(a=new Map,o=null,c)=>({nextPart:a,validators:o,classGroupId:c}),cr="-",vp=[],_1="arbitrary..",b1=a=>{const o=v1(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:r}=a;return{getClassGroupId:m=>{if(m.startsWith("[")&&m.endsWith("]"))return y1(m);const _=m.split(cr),g=_[0]===""&&_.length>1?1:0;return sg(_,g,o)},getConflictingClassGroupIds:(m,_)=>{if(_){const g=r[m],p=c[m];return g?p?p1(p,g):g:p||vp}return c[m]||vp}}},sg=(a,o,c)=>{if(a.length-o===0)return c.classGroupId;const u=a[o],d=c.nextPart.get(u);if(d){const p=sg(a,o+1,d);if(p)return p}const m=c.validators;if(m===null)return;const _=o===0?a.join(cr):a.slice(o).join(cr),g=m.length;for(let p=0;p<g;p++){const E=m[p];if(E.validator(_))return E.classGroupId}},y1=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const o=a.slice(1,-1),c=o.indexOf(":"),r=o.slice(0,c);return r?_1+r:void 0})(),v1=a=>{const{theme:o,classGroups:c}=a;return S1(c,o)},S1=(a,o)=>{const c=og();for(const r in a){const u=a[r];Ju(u,c,r,o)}return c},Ju=(a,o,c,r)=>{const u=a.length;for(let d=0;d<u;d++){const m=a[d];T1(m,o,c,r)}},T1=(a,o,c,r)=>{if(typeof a=="string"){w1(a,o,c);return}if(typeof a=="function"){x1(a,o,c,r);return}E1(a,o,c,r)},w1=(a,o,c)=>{const r=a===""?o:rg(o,a);r.classGroupId=c},x1=(a,o,c,r)=>{if(A1(a)){Ju(a(r),o,c,r);return}o.validators===null&&(o.validators=[]),o.validators.push(g1(c,a))},E1=(a,o,c,r)=>{const u=Object.entries(a),d=u.length;for(let m=0;m<d;m++){const[_,g]=u[m];Ju(g,rg(o,_),c,r)}},rg=(a,o)=>{let c=a;const r=o.split(cr),u=r.length;for(let d=0;d<u;d++){const m=r[d];let _=c.nextPart.get(m);_||(_=og(),c.nextPart.set(m,_)),c=_}return c},A1=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,k1=a=>{if(a<1)return{get:()=>{},set:()=>{}};let o=0,c=Object.create(null),r=Object.create(null);const u=(d,m)=>{c[d]=m,o++,o>a&&(o=0,r=c,c=Object.create(null))};return{get(d){let m=c[d];if(m!==void 0)return m;if((m=r[d])!==void 0)return u(d,m),m},set(d,m){d in c?c[d]=m:u(d,m)}}},Uu="!",Sp=":",N1=[],Tp=(a,o,c,r,u)=>({modifiers:a,hasImportantModifier:o,baseClassName:c,maybePostfixModifierPosition:r,isExternal:u}),C1=a=>{const{prefix:o,experimentalParseClassName:c}=a;let r=u=>{const d=[];let m=0,_=0,g=0,p;const E=u.length;for(let $=0;$<E;$++){const B=u[$];if(m===0&&_===0){if(B===Sp){d.push(u.slice(g,$)),g=$+1;continue}if(B==="/"){p=$;continue}}B==="["?m++:B==="]"?m--:B==="("?_++:B===")"&&_--}const x=d.length===0?u:u.slice(g);let z=x,q=!1;x.endsWith(Uu)?(z=x.slice(0,-1),q=!0):x.startsWith(Uu)&&(z=x.slice(1),q=!0);const V=p&&p>g?p-g:void 0;return Tp(d,q,z,V)};if(o){const u=o+Sp,d=r;r=m=>m.startsWith(u)?d(m.slice(u.length)):Tp(N1,!1,m,void 0,!0)}if(c){const u=r;r=d=>c({className:d,parseClassName:u})}return r},z1=a=>{const o=new Map;return a.orderSensitiveModifiers.forEach((c,r)=>{o.set(c,1e6+r)}),c=>{const r=[];let u=[];for(let d=0;d<c.length;d++){const m=c[d],_=m[0]==="[",g=o.has(m);_||g?(u.length>0&&(u.sort(),r.push(...u),u=[]),r.push(m)):u.push(m)}return u.length>0&&(u.sort(),r.push(...u)),r}},O1=a=>({cache:k1(a.cacheSize),parseClassName:C1(a),sortModifiers:z1(a),postfixLookupClassGroupIds:R1(a),...b1(a)}),R1=a=>{const o=Object.create(null),c=a.postfixLookupClassGroups;if(c)for(let r=0;r<c.length;r++)o[c[r]]=!0;return o},M1=/\s+/,D1=(a,o)=>{const{parseClassName:c,getClassGroupId:r,getConflictingClassGroupIds:u,sortModifiers:d,postfixLookupClassGroupIds:m}=o,_=[],g=a.trim().split(M1);let p="";for(let E=g.length-1;E>=0;E-=1){const x=g[E],{isExternal:z,modifiers:q,hasImportantModifier:V,baseClassName:$,maybePostfixModifierPosition:B}=c(x);if(z){p=x+(p.length>0?" "+p:p);continue}let X=!!B,ie;if(X){const ee=$.substring(0,B);ie=r(ee);const Y=ie&&m[ie]?r($):void 0;Y&&Y!==ie&&(ie=Y,X=!1)}else ie=r($);if(!ie){if(!X){p=x+(p.length>0?" "+p:p);continue}if(ie=r($),!ie){p=x+(p.length>0?" "+p:p);continue}X=!1}const oe=q.length===0?"":q.length===1?q[0]:d(q).join(":"),ue=V?oe+Uu:oe,le=ue+ie;if(_.indexOf(le)>-1)continue;_.push(le);const fe=u(ie,X);for(let ee=0;ee<fe.length;++ee){const Y=fe[ee];_.push(ue+Y)}p=x+(p.length>0?" "+p:p)}return p},j1=(...a)=>{let o=0,c,r,u="";for(;o<a.length;)(c=a[o++])&&(r=cg(c))&&(u&&(u+=" "),u+=r);return u},cg=a=>{if(typeof a=="string")return a;let o,c="";for(let r=0;r<a.length;r++)a[r]&&(o=cg(a[r]))&&(c&&(c+=" "),c+=o);return c},U1=(a,...o)=>{let c,r,u,d;const m=g=>{const p=o.reduce((E,x)=>x(E),a());return c=O1(p),r=c.cache.get,u=c.cache.set,d=_,_(g)},_=g=>{const p=r(g);if(p)return p;const E=D1(g,c);return u(g,E),E};return d=m,(...g)=>d(j1(...g))},L1=[],_t=a=>{const o=c=>c[a]||L1;return o.isThemeGetter=!0,o},ug=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,H1=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,B1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,q1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,G1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Y1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Z1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yl=a=>H1.test(a),be=a=>!!a&&!Number.isNaN(Number(a)),jn=a=>!!a&&Number.isInteger(Number(a)),Nu=a=>a.endsWith("%")&&be(a.slice(0,-1)),sl=a=>B1.test(a),dg=()=>!0,X1=a=>q1.test(a)&&!G1.test(a),$u=()=>!1,Q1=a=>Y1.test(a),V1=a=>Z1.test(a),K1=a=>!F(a)&&!W(a),J1=a=>a.startsWith("@container")&&(a[10]==="/"&&a[11]!==void 0||a[11]==="s"&&a[16]!==void 0&&a.startsWith("-size/",10)||a[11]==="n"&&a[18]!==void 0&&a.startsWith("-normal/",10)),$1=a=>Ql(a,pg,$u),F=a=>ug.test(a),Sa=a=>Ql(a,gg,X1),wp=a=>Ql(a,lS,be),I1=a=>Ql(a,bg,dg),F1=a=>Ql(a,_g,$u),xp=a=>Ql(a,mg,$u),W1=a=>Ql(a,hg,V1),ar=a=>Ql(a,yg,Q1),W=a=>fg.test(a),Eo=a=>ka(a,gg),P1=a=>ka(a,_g),Ep=a=>ka(a,mg),eS=a=>ka(a,pg),tS=a=>ka(a,hg),ir=a=>ka(a,yg,!0),nS=a=>ka(a,bg,!0),Ql=(a,o,c)=>{const r=ug.exec(a);return r?r[1]?o(r[1]):c(r[2]):!1},ka=(a,o,c=!1)=>{const r=fg.exec(a);return r?r[1]?o(r[1]):c:!1},mg=a=>a==="position"||a==="percentage",hg=a=>a==="image"||a==="url",pg=a=>a==="length"||a==="size"||a==="bg-size",gg=a=>a==="length",lS=a=>a==="number",_g=a=>a==="family-name",bg=a=>a==="number"||a==="weight",yg=a=>a==="shadow",aS=()=>{const a=_t("color"),o=_t("font"),c=_t("text"),r=_t("font-weight"),u=_t("tracking"),d=_t("leading"),m=_t("breakpoint"),_=_t("container"),g=_t("spacing"),p=_t("radius"),E=_t("shadow"),x=_t("inset-shadow"),z=_t("text-shadow"),q=_t("drop-shadow"),V=_t("blur"),$=_t("perspective"),B=_t("aspect"),X=_t("ease"),ie=_t("animate"),oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ue=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],le=()=>[...ue(),W,F],fe=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto","contain","none"],Y=()=>[W,F,g],ye=()=>[Yl,"full","auto",...Y()],et=()=>[jn,"none","subgrid",W,F],it=()=>["auto",{span:["full",jn,W,F]},jn,W,F],Me=()=>[jn,"auto",W,F],vt=()=>["auto","min","max","fr",W,F],$e=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ze=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...Y()],U=()=>[Yl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Y()],Q=()=>[Yl,"screen","full","dvw","lvw","svw","min","max","fit",...Y()],_e=()=>[Yl,"screen","full","lh","dvh","lvh","svh","min","max","fit",...Y()],K=()=>[a,W,F],S=()=>[...ue(),Ep,xp,{position:[W,F]}],j=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",eS,$1,{size:[W,F]}],I=()=>[Nu,Eo,Sa],ae=()=>["","none","full",p,W,F],se=()=>["",be,Eo,Sa],ve=()=>["solid","dashed","dotted","double"],tt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[be,Nu,Ep,xp],hn=()=>["","none",V,W,F],ze=()=>["none",be,W,F],pn=()=>["none",be,W,F],Ue=()=>[be,W,F],Mt=()=>[Yl,"full",...Y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[sl],breakpoint:[sl],color:[dg],container:[sl],"drop-shadow":[sl],ease:["in","out","in-out"],font:[K1],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[sl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[sl],shadow:[sl],spacing:["px",be],text:[sl],"text-shadow":[sl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yl,F,W,B]}],container:["container"],"container-type":[{"@container":["","normal","size",W,F]}],"container-named":[J1],columns:[{columns:[be,F,W,_]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:le()}],overflow:[{overflow:fe()}],"overflow-x":[{"overflow-x":fe()}],"overflow-y":[{"overflow-y":fe()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ye()}],"inset-x":[{"inset-x":ye()}],"inset-y":[{"inset-y":ye()}],start:[{"inset-s":ye(),start:ye()}],end:[{"inset-e":ye(),end:ye()}],"inset-bs":[{"inset-bs":ye()}],"inset-be":[{"inset-be":ye()}],top:[{top:ye()}],right:[{right:ye()}],bottom:[{bottom:ye()}],left:[{left:ye()}],visibility:["visible","invisible","collapse"],z:[{z:[jn,"auto",W,F]}],basis:[{basis:[Yl,"full","auto",_,...Y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,Yl,"auto","initial","none",F]}],grow:[{grow:["",be,W,F]}],shrink:[{shrink:["",be,W,F]}],order:[{order:[jn,"first","last","none",W,F]}],"grid-cols":[{"grid-cols":et()}],"col-start-end":[{col:it()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":et()}],"row-start-end":[{row:it()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":vt()}],"auto-rows":[{"auto-rows":vt()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...$e(),"normal"]}],"justify-items":[{"justify-items":[...Ze(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ze()]}],"align-content":[{content:["normal",...$e()]}],"align-items":[{items:[...Ze(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ze(),{baseline:["","last"]}]}],"place-content":[{"place-content":$e()}],"place-items":[{"place-items":[...Ze(),"baseline"]}],"place-self":[{"place-self":["auto",...Ze()]}],p:[{p:Y()}],px:[{px:Y()}],py:[{py:Y()}],ps:[{ps:Y()}],pe:[{pe:Y()}],pbs:[{pbs:Y()}],pbe:[{pbe:Y()}],pt:[{pt:Y()}],pr:[{pr:Y()}],pb:[{pb:Y()}],pl:[{pl:Y()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":Y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Y()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],"inline-size":[{inline:["auto",...Q()]}],"min-inline-size":[{"min-inline":["auto",...Q()]}],"max-inline-size":[{"max-inline":["none",...Q()]}],"block-size":[{block:["auto",..._e()]}],"min-block-size":[{"min-block":["auto",..._e()]}],"max-block-size":[{"max-block":["none",..._e()]}],w:[{w:[_,"screen",...U()]}],"min-w":[{"min-w":[_,"screen","none",...U()]}],"max-w":[{"max-w":[_,"screen","none","prose",{screen:[m]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",c,Eo,Sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,nS,I1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Nu,F]}],"font-family":[{font:[P1,F1,o]}],"font-features":[{"font-features":[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[u,W,F]}],"line-clamp":[{"line-clamp":[be,"none",W,wp]}],leading:[{leading:[d,...Y()]}],"list-image":[{"list-image":["none",W,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",W,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",W,Sa]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[be,"auto",W,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"tab-size":[{tab:[jn,W,F]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:j()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},jn,W,F],radial:["",W,F],conic:[jn,W,F]},tS,W1]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:ae()}],"rounded-s":[{"rounded-s":ae()}],"rounded-e":[{"rounded-e":ae()}],"rounded-t":[{"rounded-t":ae()}],"rounded-r":[{"rounded-r":ae()}],"rounded-b":[{"rounded-b":ae()}],"rounded-l":[{"rounded-l":ae()}],"rounded-ss":[{"rounded-ss":ae()}],"rounded-se":[{"rounded-se":ae()}],"rounded-ee":[{"rounded-ee":ae()}],"rounded-es":[{"rounded-es":ae()}],"rounded-tl":[{"rounded-tl":ae()}],"rounded-tr":[{"rounded-tr":ae()}],"rounded-br":[{"rounded-br":ae()}],"rounded-bl":[{"rounded-bl":ae()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-bs":[{"border-bs":se()}],"border-w-be":[{"border-be":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":se()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,W,F]}],"outline-w":[{outline:["",be,Eo,Sa]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",E,ir,ar]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",x,ir,ar]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[be,Sa]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",z,ir,ar]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[be,W,F]}],"mix-blend":[{"mix-blend":[...tt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[W,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ue()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:j()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",W,F]}],filter:[{filter:["","none",W,F]}],blur:[{blur:hn()}],brightness:[{brightness:[be,W,F]}],contrast:[{contrast:[be,W,F]}],"drop-shadow":[{"drop-shadow":["","none",q,ir,ar]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",be,W,F]}],"hue-rotate":[{"hue-rotate":[be,W,F]}],invert:[{invert:["",be,W,F]}],saturate:[{saturate:[be,W,F]}],sepia:[{sepia:["",be,W,F]}],"backdrop-filter":[{"backdrop-filter":["","none",W,F]}],"backdrop-blur":[{"backdrop-blur":hn()}],"backdrop-brightness":[{"backdrop-brightness":[be,W,F]}],"backdrop-contrast":[{"backdrop-contrast":[be,W,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,W,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,W,F]}],"backdrop-invert":[{"backdrop-invert":["",be,W,F]}],"backdrop-opacity":[{"backdrop-opacity":[be,W,F]}],"backdrop-saturate":[{"backdrop-saturate":[be,W,F]}],"backdrop-sepia":[{"backdrop-sepia":["",be,W,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Y()}],"border-spacing-x":[{"border-spacing-x":Y()}],"border-spacing-y":[{"border-spacing-y":Y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",W,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",W,F]}],ease:[{ease:["linear","initial",X,W,F]}],delay:[{delay:[be,W,F]}],animate:[{animate:["none",ie,W,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[$,W,F]}],"perspective-origin":[{"perspective-origin":le()}],rotate:[{rotate:ze()}],"rotate-x":[{"rotate-x":ze()}],"rotate-y":[{"rotate-y":ze()}],"rotate-z":[{"rotate-z":ze()}],scale:[{scale:pn()}],"scale-x":[{"scale-x":pn()}],"scale-y":[{"scale-y":pn()}],"scale-z":[{"scale-z":pn()}],"scale-3d":["scale-3d"],skew:[{skew:Ue()}],"skew-x":[{"skew-x":Ue()}],"skew-y":[{"skew-y":Ue()}],transform:[{transform:[W,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:le()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Mt()}],"translate-x":[{"translate-x":Mt()}],"translate-y":[{"translate-y":Mt()}],"translate-z":[{"translate-z":Mt()}],"translate-none":["translate-none"],zoom:[{zoom:[jn,W,F]}],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":K()}],"scrollbar-track-color":[{"scrollbar-track":K()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mbs":[{"scroll-mbs":Y()}],"scroll-mbe":[{"scroll-mbe":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pbs":[{"scroll-pbs":Y()}],"scroll-pbe":[{"scroll-pbe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W,F]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[be,Eo,Sa,wp]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},iS=U1(aS),oS=(...a)=>iS(ig(a)),sS=h1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8"}},defaultVariants:{variant:"default",size:"default"}}),vg=H.forwardRef(({className:a,variant:o,size:c,asChild:r=!1,...u},d)=>{const m=r?a1:"button";return y.jsx(m,{className:oS(sS({variant:o,size:c,className:a})),ref:d,...u})});vg.displayName="Button";const rS=1500,Sg=({url:a,label:o="Copy URL"})=>{const[c,r]=H.useState(!1),u=H.useRef(null);H.useEffect(()=>()=>{u.current!==null&&clearTimeout(u.current)},[]);const d=async()=>{await navigator.clipboard.writeText(a),r(!0),u.current!==null&&clearTimeout(u.current),u.current=setTimeout(()=>{r(!1),u.current=null},rS)};return y.jsx(vg,{type:"button",variant:"ghost",size:"sm",className:"console-copy-url-button","aria-label":c?"URL copied to clipboard":o,onClick:d,children:c?"Copied":"Copy URL"})},Cu=a=>{const o=Ti(a);return{color:o.fg,borderColor:o.border,backgroundColor:o.bg}},cS={MERGEABLE:{color:"GREEN",label:"No conflict",title:"This pull request has no merge conflicts",modifier:"console-detail-mergeable-chip-ok"},CONFLICTING:{color:"RED",label:"Conflict",title:"This pull request has merge conflicts",modifier:"console-detail-mergeable-chip-conflict"},UNKNOWN:{color:"GRAY",label:"Checking merge status",title:"GitHub has not finished computing the merge status yet",modifier:"console-detail-mergeable-chip-unknown"}},Tg=({mergeableStatus:a,isPassedAllCiJob:o,isCiStateSuccess:c,isBranchOutOfDate:r,missingRequiredCheckNames:u})=>{const d=o&&c,m=d?"GREEN":"RED",_=d?"CI passing":"CI failing",g=!d&&u.length>0?`missing: ${u.join(", ")}`:null,p=cS[a];return y.jsxs("span",{className:"console-detail-pr-status",children:[y.jsxs("span",{className:"console-detail-status-chip console-detail-ci-chip",style:Cu(m),title:g??_,children:[_,g!==null&&y.jsxs("span",{className:"console-detail-ci-missing",children:[" ","(",g,")"]})]}),y.jsx("span",{className:`console-detail-status-chip console-detail-mergeable-chip ${p.modifier}`,style:Cu(p.color),title:p.title,children:p.label}),r&&y.jsx("span",{className:"console-detail-status-chip console-detail-outofdate-chip",style:Cu("YELLOW"),title:"This branch is out of date with the base branch",children:"Out of date"})]})},uS=({pullRequest:a,body:o,bodyIsLoading:c,files:r,filesAreLoading:u,filesError:d,commits:m,commitsAreLoading:_,commitsError:g,now:p,buildImageProxyUrl:E,renderReferenceLink:x,onAddInlineComment:z})=>{const q=a.summary,V=u||d!==null?null:r.length,$=_||g!==null?null:m.length;return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"console-pr-header",children:[y.jsx("a",{href:a.url,className:"console-pr-section-title",target:"_blank",rel:"noopener noreferrer",children:(q==null?void 0:q.title)??a.url}),a.isDraft&&y.jsx("span",{className:"console-pr-section-state",children:"draft"}),y.jsx(Tg,{mergeableStatus:a.mergeableStatus,isPassedAllCiJob:a.isPassedAllCiJob,isCiStateSuccess:a.isCiStateSuccess,isBranchOutOfDate:a.isBranchOutOfDate,missingRequiredCheckNames:a.missingRequiredCheckNames}),y.jsx(Sg,{url:a.url,label:"Copy PR URL"}),y.jsxs("div",{className:"console-pr-statbar",children:[a.branchName!==null&&y.jsx("span",{className:"console-pr-branch",children:a.branchName}),q!==null&&y.jsxs(y.Fragment,{children:[y.jsxs("span",{className:"console-pr-add",children:["+",q.additions]}),y.jsxs("span",{className:"console-pr-del",children:["-",q.deletions]}),y.jsxs("span",{className:"console-pr-files-count",children:[q.changedFiles," files"]})]})]})]}),y.jsx(wa,{title:"Description",defaultCollapsed:!0,children:c?y.jsx("p",{className:"console-pr-body-loading",children:"Loading description..."}):y.jsx(dr,{body:(q==null?void 0:q.body)??o,buildImageProxyUrl:E,renderReferenceLink:x})}),y.jsx(wa,{title:"Changed files",count:V,children:y.jsx(ng,{files:r,isLoading:u,error:d,onAddInlineComment:z})}),y.jsx(wa,{title:"Commits",count:$,defaultCollapsed:!0,children:y.jsx(lg,{commits:m,isLoading:_,error:g,now:p})})]})},fS=({item:a,storyName:o,storyColorEnum:c,overlayStatus:r,state:u,body:d,bodyIsLoading:m,bodyError:_,comments:g,commentsAreLoading:p,commentsError:E,files:x,filesAreLoading:z,filesError:q,commits:V,commitsAreLoading:$,commitsError:B,pullRequestStatus:X,relatedPullRequests:ie,now:oe,commentComposer:ue,operationBar:le,buildImageProxyUrl:fe,renderReferenceLink:ee,onAddInlineComment:Y,buildAddInlineComment:ye})=>{const et=(u==null?void 0:u.state)??"open",it=(u==null?void 0:u.merged)??!1,Me=!a.isPr&&et==="closed"?"Closed":null,vt=Ti(c),$e=r?Ti(r.color):null,Ze=z||q!==null?null:x.length,O=p||E!==null?null:g.length,U=$||B!==null?null:V.length;return y.jsxs("article",{className:"console-detail",children:[o!==null&&y.jsx("div",{className:"console-detail-story",children:y.jsxs("span",{className:"console-storytag",children:[y.jsx("span",{className:"console-story-dot",style:{backgroundColor:vt.dot}}),o]})}),y.jsxs("h2",{className:"console-detail-title",children:[r!==null&&$e!==null&&y.jsx("span",{className:"console-detail-status-chip",style:{color:$e.fg,borderColor:$e.border,backgroundColor:$e.bg},children:r.name}),y.jsx(Bu,{isPr:a.isPr,state:et,merged:it,isDraft:!1,stateReason:""}),y.jsx("span",{className:"console-detail-title-text",children:a.title}),y.jsx("span",{className:"console-detail-number",children:a.isPr?`PR #${a.number}`:`#${a.number}`}),Me!==null&&y.jsx("span",{className:"console-detail-closed-label",children:Me})]}),a.isPr&&(X==null?void 0:X.found)&&y.jsx("div",{className:"console-detail-pr-status-row",children:y.jsx(Tg,{mergeableStatus:X.mergeableStatus,isPassedAllCiJob:X.isPassedAllCiJob,isCiStateSuccess:X.isCiStateSuccess,isBranchOutOfDate:X.isBranchOutOfDate,missingRequiredCheckNames:X.missingRequiredCheckNames})}),y.jsxs("div",{className:"console-detail-subbar",children:[y.jsx("a",{href:a.url,className:"console-detail-link",target:"_blank",rel:"noopener noreferrer",children:a.isPr?`PR #${a.number}`:`Issue #${a.number}`}),y.jsx("span",{className:"console-detail-repo",children:a.repo}),y.jsx("span",{className:"console-detail-pill",children:a.isPr?"PR":"Issue"}),y.jsx(Sg,{url:a.url})]}),a.labels.length>0&&y.jsx("div",{className:"console-detail-labels",children:a.labels.map(Q=>y.jsx("span",{className:"console-label-chip",children:Q},Q))}),y.jsxs("div",{className:"console-detail-createdat",title:Hu(a.createdAt),children:["opened ",zo(a.createdAt,oe)]}),y.jsx(wa,{title:"Description",headerAction:y.jsx("a",{href:a.url,className:"console-panel-open-link",target:"_blank",rel:"noopener noreferrer",children:"open"}),children:_!==null?y.jsxs("p",{role:"alert",className:"console-detail-body-error",children:["Failed to load description: ",_]}):m?y.jsx("p",{className:"console-detail-body-loading",children:"Loading description..."}):y.jsx(dr,{body:d,buildImageProxyUrl:fe,renderReferenceLink:ee})}),a.isPr&&y.jsx(wa,{title:"Changed files",count:Ze,children:y.jsx(ng,{files:x,isLoading:z,error:q,onAddInlineComment:Y})}),y.jsx(wa,{title:"Comments",count:O,defaultCollapsed:a.isPr,children:y.jsx(Wv,{comments:g,isLoading:p,error:E,now:oe,buildImageProxyUrl:fe,renderReferenceLink:ee})}),a.isPr&&y.jsx(wa,{title:"Commits",count:U,defaultCollapsed:!0,children:y.jsx(lg,{commits:V,isLoading:$,error:B,now:oe})}),!a.isPr&&ie.map(Q=>{var _e;return y.jsx(uS,{pullRequest:Q.pullRequest,body:((_e=Q.pullRequest.summary)==null?void 0:_e.body)??"",bodyIsLoading:!1,files:Q.files,filesAreLoading:Q.filesAreLoading,filesError:Q.filesError,commits:Q.commits,commitsAreLoading:Q.commitsAreLoading,commitsError:Q.commitsError,now:oe,buildImageProxyUrl:fe,renderReferenceLink:ee,onAddInlineComment:ye?ye(Q.pullRequest.url):void 0},Q.pullRequest.url)}),ue,y.jsx("div",{className:"console-actionbar",children:le})]})},dS=({onClose:a})=>y.jsxs("div",{className:"console-op-group",children:[y.jsx("button",{type:"button",className:"console-op-button",onClick:()=>a("close_not_planned"),children:"Close as not planned"}),y.jsx("button",{type:"button",className:"console-op-button",onClick:()=>a("close"),children:"Close"})]}),mS=({isTodoByHuman:a,onSetNextActionDate:o})=>y.jsxs("div",{className:"console-op-group",children:[y.jsx("button",{type:"button",className:"console-op-button console-op-button-snooze",onClick:()=>o("snooze_1day"),children:"+1 day"}),y.jsx("button",{type:"button",className:"console-op-button console-op-button-snooze",onClick:()=>o("snooze_1week"),children:a?"+1 week and skip":"+1 week"})]}),hS=[{action:"unnecessary",label:"Unnecessary",variant:"unneeded"},{action:"totally_wrong",label:"Totally wrong",variant:"wrong"},{action:"request_changes",label:"Reject",variant:"reject"},{action:"approve",label:"Approve",variant:"approve"}],pS=({onReview:a})=>y.jsx("div",{className:"console-op-group console-op-group-review",children:hS.map(o=>y.jsx("button",{type:"button",className:`console-op-button console-op-button-${o.variant}`,onClick:()=>a(o.action),children:o.label},o.action))}),gS=(a,o)=>{const c=o.toLowerCase();return a.find(r=>r.name.toLowerCase()===c)??null},_S=({statusOptions:a,onSetStatus:o,onSetInTmuxByHuman:c})=>{const r=My.map(u=>({name:u,option:gS(a,u)})).filter(u=>u.option!==null);return r.length===0?null:y.jsx("div",{className:"console-op-group",children:r.map(({name:u,option:d})=>{const m=Ti(d.color),_=u===Dy;return y.jsx("button",{type:"button",className:"console-op-button",style:{color:m.fg,borderColor:m.border,backgroundColor:m.bg},onClick:()=>_?c(d):o(d),children:d.name},d.id)})})},bS=a=>a.name.toLowerCase().includes("no story"),yS=({storyOptions:a,onSetStory:o})=>{const c=a.filter(r=>!bS(r));return c.length===0?null:y.jsx("div",{className:"console-op-group console-op-group-stories",children:c.map(r=>{const u=Ti(r.color);return y.jsx("button",{type:"button",className:"console-op-button",style:{color:u.fg,borderColor:u.border,backgroundColor:u.bg},onClick:()=>o(r),children:r.name},r.id)})})},vS=({tab:a,hasPullRequest:o,statusOptions:c,storyOptions:r,handlers:u})=>{const d=a==="triage";return y.jsxs("div",{className:"console-operation-bar",children:[o&&y.jsx(pS,{onReview:u.onReview}),y.jsx(mS,{isTodoByHuman:jy(a),onSetNextActionDate:u.onSetNextActionDate}),d&&y.jsx(yS,{storyOptions:r,onSetStory:u.onSetStory}),y.jsx(_S,{statusOptions:c,onSetStatus:u.onSetStatus,onSetInTmuxByHuman:u.onSetInTmuxByHuman}),y.jsx(dS,{onClose:u.onClose})]})},Ta=(a,o,c,r)=>{const u=o!==null?a.peek(o):void 0,[d,m]=H.useState(u??r),[_,g]=H.useState(o!==null&&u===void 0),[p,E]=H.useState(null);return H.useEffect(()=>{if(o===null||c===null)return;const x=a.peek(o);if(x!==void 0){m(x),g(!1),E(null);return}let z=!1;return g(!0),E(null),a.load(o,c).then(q=>{z||(m(q),g(!1))}).catch(q=>{z||(E(q instanceof Error?q.message:String(q)),g(!1))}),()=>{z=!0}},[a,o,c]),{data:d,isLoading:_,error:p}},SS=[],Ap=[],kp=[],TS=[],wS={state:"open",merged:!1,isPullRequest:!1,title:""},xS={found:!1,isConflicted:!1,mergeableStatus:"UNKNOWN",isPassedAllCiJob:!1,isCiStateSuccess:!1,isBranchOutOfDate:!1,missingRequiredCheckNames:[]},ES=(a,o)=>{const c=o!==null?`${o.repo}#${o.number}`:null,r=o!==null?o.url:null,u=(o==null?void 0:o.isPr)??!1,d=Ta(a.body,c,r,""),m=Ta(a.state,c,r,wS),_=Ta(a.comments,c,r,SS),g=Ta(a.files,u?c:null,u?r:null,Ap),p=Ta(a.commits,u?c:null,u?r:null,kp),E=Ta(a.prStatus,u?c:null,u?r:null,xS),x=Ta(a.relatedPrs,u?null:c,u?null:r,TS),[z,q]=H.useState([]);return H.useEffect(()=>{if(u||x.data.length===0){q([]);return}let V=!1;const $=x.data.map(X=>({pullRequest:X,files:Ap,filesAreLoading:!0,filesError:null,commits:kp,commitsAreLoading:!0,commitsError:null}));q($);const B=(X,ie)=>{V||q(oe=>oe.map(ue=>ue.pullRequest.url===X?{...ue,...ie}:ue))};for(const X of x.data){const ie=X.url;a.files.load(ie,X.url).then(oe=>B(X.url,{files:oe,filesAreLoading:!1})).catch(oe=>B(X.url,{filesAreLoading:!1,filesError:oe instanceof Error?oe.message:String(oe)})),a.commits.load(ie,X.url).then(oe=>B(X.url,{commits:oe,commitsAreLoading:!1})).catch(oe=>B(X.url,{commitsAreLoading:!1,commitsError:oe instanceof Error?oe.message:String(oe)}))}return()=>{V=!0}},[a,u,x.data]),{state:m.data,body:d.data,bodyIsLoading:d.isLoading,bodyError:d.error,comments:_.data,commentsAreLoading:_.isLoading,commentsError:_.error,files:g.data,filesAreLoading:g.isLoading,filesError:g.error,commits:p.data,commitsAreLoading:p.isLoading,commitsError:p.error,pullRequestStatus:u?E.data:null,relatedPullRequests:z}},AS=({href:a,fallbackText:o,state:c})=>c===null||c.title.trim()===""?y.jsx("a",{className:"console-markdown-reference console-markdown-reference-plain",href:a,target:"_blank",rel:"noopener noreferrer",children:o}):y.jsxs("a",{className:"console-markdown-reference",href:a,target:"_blank",rel:"noopener noreferrer",children:[y.jsx(Bu,{...Uv(c)}),y.jsx("span",{className:"console-markdown-reference-title",children:c.title})]}),kS=(a,o)=>{const[c,r]=H.useState(()=>a.peek(o)??null);return H.useEffect(()=>{const u=a.peek(o);if(u!==void 0){r(u);return}let d=!1;return r(null),a.load(o,o).then(m=>{d||r(m)}).catch(()=>{d||r(null)}),()=>{d=!0}},[a,o]),c},NS=({cache:a,href:o,fallbackText:c})=>{const r=kS(a,o);return y.jsx(AS,{href:o,fallbackText:c,state:r})},CS=({tab:a,item:o,caches:c,operations:r,statusOptions:u,storyOptions:d,storyColors:m,storyName:_,overlayStatus:g,now:p,onQueueAction:E})=>{const x=ES(c,o),{token:z}=ur(),q=H.useCallback(le=>d0(le,z),[z]),V=H.useCallback((le,fe)=>y.jsx(NS,{cache:c.state,href:le,fallbackText:fe}),[c.state]),$=o.isPr||x.relatedPullRequests.length>0,B=H.useCallback(le=>(fe,ee,Y,ye)=>r.addInlineReviewComment(le,fe,ee,Y,ye),[r]),X=H.useMemo(()=>B(o.url),[B,o.url]),ie={onReview:le=>{var ee;const fe=o.isPr?o.url:((ee=x.relatedPullRequests[0])==null?void 0:ee.pullRequest.url)??o.url;E({kind:{type:"review",action:le},item:o,commit:()=>r.reviewPullRequest(o,fe,le)})},onSetNextActionDate:le=>{E({kind:{type:"next_action_date",action:le},item:o,commit:()=>r.setNextActionDate(o,le)})},onSetStory:le=>{E({kind:{type:"set_story",optionName:le.name},item:o,commit:()=>r.setStory(o,le)})},onSetStatus:le=>{E({kind:{type:"set_status",optionName:le.name},item:o,commit:()=>r.setStatus(o,le)})},onSetInTmuxByHuman:le=>{E({kind:{type:"set_in_tmux_by_human",optionName:le.name},item:o,commit:()=>r.setInTmuxByHuman(o,le)})},onClose:le=>{E({kind:{type:"close",action:le},item:o,commit:()=>r.closeIssue(o,le)})}},oe=_??(o.story.trim()!==""?o.story:null),ue=oe!==null?Cp(m,oe):null;return y.jsx(fS,{item:o,storyName:oe,storyColorEnum:ue,overlayStatus:g,state:x.state,body:x.body,bodyIsLoading:x.bodyIsLoading,bodyError:x.bodyError,comments:x.comments,commentsAreLoading:x.commentsAreLoading,commentsError:x.commentsError,files:x.files,filesAreLoading:x.filesAreLoading,filesError:x.filesError,commits:x.commits,commitsAreLoading:x.commitsAreLoading,commitsError:x.commitsError,pullRequestStatus:x.pullRequestStatus,relatedPullRequests:x.relatedPullRequests,now:p,buildImageProxyUrl:q,renderReferenceLink:V,onAddInlineComment:o.isPr?X:void 0,buildAddInlineComment:B,commentComposer:y.jsx(Zv,{isPr:o.isPr,now:p,onSubmit:le=>r.addComment(o,le)}),operationBar:y.jsx(vS,{tab:a,item:o,hasPullRequest:$,statusOptions:u,storyOptions:d,handlers:ie})})},zS=()=>{const a={};for(const o of wn)a[o.name]=0;return a},OS="console",RS=()=>{const a=Iy(),{snapshots:o,isLoading:c,error:r}=i0(a),u=Jy(a??OS),d=H.useMemo(()=>{const U=zS();for(const Q of wn){const _e=o[Q.name];_e!==null&&(U[Q.name]=Hy(_e.items,u.overlay,Q.name))}return U},[o,u.overlay]),m=zy(a,d),{activeTab:_,selectedItemKey:g,openItem:p,closeItem:E,selectTab:x}=m,z=vy(),q=Xy(a,_,u,z),V=iy(),$=Date.now(),B=o[_],X=H.useMemo(()=>B===null?[]:By(B.items,u.overlay,_),[B,u.overlay,_]),ie=H.useMemo(()=>X.map(U=>rl(U)),[X]),oe=H.useMemo(()=>Xb(X,u.overlay),[X,u.overlay]),ue=(B==null?void 0:B.storyColors)??{},le=(B==null?void 0:B.statusOptions)??[],fe=(B==null?void 0:B.storyOptions)??[],ee=(B==null?void 0:B.generatedAt)??null,Y=H.useMemo(()=>g===null||B===null?null:B.items.find(U=>U.projectItemId===g)??null,[g,B]);Ay(z,Y,X),H.useEffect(()=>{g!==null&&window.scrollTo({top:0})},[g]);const ye=d[_],et=H.useRef({tab:_,count:ye});H.useEffect(()=>{const U=et.current;if(et.current={tab:_,count:ye},U.tab===_&&U.count>0&&ye===0){const Q=ky(_,d);Q!==null&&(x(Q),E())}},[_,ye,d,x,E]);const it=(()=>{if(Y===null)return null;const U=u.overlay[rl(Y)];return(U==null?void 0:U.status)??null})(),Me=Y!==null?zu(Y,u.overlay):null,vt=H.useCallback(U=>{const Q=o0(ie,U);Q!==null?p(Q):E()},[ie,p,E]),$e=H.useCallback(U=>{const Q=rl(U.item);V.enqueue({message:ny(U.kind,U.item,_),color:ey(U.kind),commit:U.commit,advance:()=>{ty(U.kind,_)&&vt(Q)}})},[V,_,vt]),Ze=H.useCallback(U=>{if(g===null||U===null)return;const Q=U==="next"?s0(ie,g):r0(ie,g);Q!==null&&p(Q)},[g,ie,p]),O=t0(Ze);return y.jsxs("main",{className:"console-app",children:[V.pending!==null&&y.jsx(Ib,{message:V.pending.message,color:V.pending.color,remainingSeconds:V.pending.remainingSeconds,progress:V.pending.progress,onUndo:V.undo}),V.error!==null&&y.jsx(Fb,{message:`Operation failed: ${V.error.reason}`,onDismiss:V.dismissError}),y.jsx(Yb,{activeTab:_,counts:d,pjcode:a,generatedAt:ee,tabHref:m.tabHref,onSelectTab:m.selectTab}),Y===null?y.jsx($b,{rows:oe,storyColors:ue,activeItemId:null,now:$,isLoading:c,error:r,onSelectItem:U=>m.openItem(U.projectItemId)}):y.jsx("div",{className:"console-detail-screen",ref:O,children:y.jsx(CS,{tab:_,item:Y,caches:z,operations:q,statusOptions:le,storyOptions:fe,storyColors:ue,storyName:Me,overlayStatus:it,now:$,onQueueAction:$e},Y.projectItemId)})]})},wg=document.getElementById("root");if(wg===null)throw new Error("Root container #root not found");Gb.createRoot(wg).render(y.jsx(H.StrictMode,{children:y.jsx(RS,{})}));
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>TDPM Console</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-Dx_VHaDe.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BMe1bEF4.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-issue-tower-defence-management",
|
|
3
|
-
"version": "1.117.
|
|
3
|
+
"version": "1.117.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
80
80
|
"eslint": "^10.5.0",
|
|
81
81
|
"eslint-plugin-import-x": "^4.0.0",
|
|
82
|
-
"eslint-plugin-unused-imports": "^4.
|
|
82
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
83
83
|
"jest": "^29.7.0",
|
|
84
84
|
"jest-environment-jsdom": "29.7.0",
|
|
85
85
|
"jest-html-reporter": "^4.4.0",
|
|
@@ -89,16 +89,6 @@ export const ConsoleCommentComposer = ({
|
|
|
89
89
|
onChange={(event) => setDraft(event.target.value)}
|
|
90
90
|
/>
|
|
91
91
|
<div className="console-composer-row">
|
|
92
|
-
<button
|
|
93
|
-
type="button"
|
|
94
|
-
className="console-composer-submit"
|
|
95
|
-
disabled={status.kind === 'posting'}
|
|
96
|
-
onClick={() => {
|
|
97
|
-
void submit();
|
|
98
|
-
}}
|
|
99
|
-
>
|
|
100
|
-
Comment
|
|
101
|
-
</button>
|
|
102
92
|
{status.kind === 'posting' && (
|
|
103
93
|
<span className="console-composer-status">Posting…</span>
|
|
104
94
|
)}
|
|
@@ -110,6 +100,16 @@ export const ConsoleCommentComposer = ({
|
|
|
110
100
|
Failed: {status.message}
|
|
111
101
|
</span>
|
|
112
102
|
)}
|
|
103
|
+
<button
|
|
104
|
+
type="button"
|
|
105
|
+
className="console-composer-submit"
|
|
106
|
+
disabled={status.kind === 'posting'}
|
|
107
|
+
onClick={() => {
|
|
108
|
+
void submit();
|
|
109
|
+
}}
|
|
110
|
+
>
|
|
111
|
+
Comment
|
|
112
|
+
</button>
|
|
113
113
|
</div>
|
|
114
114
|
</div>
|
|
115
115
|
)}
|
package/src/adapter/entry-points/console/ui-dist/assets/{index-DGVKvwux.css → index-BMe1bEF4.css}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}html{font-size:clamp(15px,2.1vw,26px)}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;width:100%;min-height:100dvh;display:flex}.console-tabbar{-webkit-overflow-scrolling:touch;background:#161b22;border-bottom:2px solid #30363d;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:42px;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:.8125rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:.6875rem;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{color:#8b949e;align-self:center;margin-left:auto;padding:0 8px;font-size:.7188rem}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:.6875rem}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none;margin-top:3px}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:.8125rem;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:.75rem}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{font-size:.9063rem;font-weight:600;display:block}.console-item-sub{color:#8b949e;margin-top:3px;font-size:.7813rem;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:.6875rem;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.7188rem;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:.625rem}.console-list-message{color:#8b949e;padding:16px;font-size:.875rem}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:.875rem}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 16px 0;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:.8125rem}.console-detail-subbar{align-items:center;gap:12px;font-size:.8125rem;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-copy-url-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-url-button:hover{color:#e6edf3;background-color:#21262d}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.console-detail-pr-status-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:-4px;display:flex}.console-detail-pr-status{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.console-detail-ci-missing{opacity:.85;font-weight:400}.console-detail-mergeable-chip{font-weight:600}.console-detail-mergeable-chip-unknown{opacity:.7;font-weight:400}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:.75rem}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;display:flex}.console-panel-toggle{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:6px 12px;font-size:.875rem;font-weight:600;display:flex}.console-panel-toggle:hover{background:#1a2029}.console-panel-action{padding:6px 12px}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:.875rem;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-markdown h1,.console-markdown h2,.console-markdown h3,.console-markdown h4,.console-markdown h5,.console-markdown h6{margin:1em 0 .5em;font-weight:700;line-height:1.25}.console-markdown h1{font-size:1.6em}.console-markdown h2{font-size:1.4em}.console-markdown h3{font-size:1.2em}.console-markdown h4{font-size:1.05em}.console-markdown h5{font-size:.95em}.console-markdown h6{color:#8b949e;font-size:.9em}.console-markdown pre{background:#161b22;border:1px solid #30363d;border-radius:6px;margin:.5em 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.45;overflow-x:auto}.console-markdown code{background:#6e768166;border-radius:4px;padding:.15em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.console-markdown pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.console-markdown blockquote{color:#8b949e;border-left:3px solid #30363d;margin:.5em 0;padding:0 1em}.console-markdown a{color:#4493f8;text-decoration:none}.console-markdown a:hover{text-decoration:underline}.console-markdown-reference-host{display:inline}.console-markdown-reference{vertical-align:baseline;align-items:center;gap:.25em;display:inline-flex}.console-markdown-reference .console-item-icon{flex-shrink:0}.console-markdown-reference-title{text-decoration:none}.console-markdown-reference:hover .console-markdown-reference-title{text-decoration:underline}.console-markdown hr{border:none;border-top:1px solid #30363d;margin:1em 0}.console-mermaid-error{color:#f85149;font-size:.8125rem}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:.75rem;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file{flex-direction:column;font-size:.8125rem;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:.6875rem}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-actionbar{z-index:100;padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#161b22;border-top:2px solid #30363d;margin-top:auto;position:sticky;bottom:0}.console-operation-bar{flex-direction:column;gap:8px;width:100%;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-stories{max-height:33vh;overflow-y:auto}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:9px 16px;font-size:.8125rem;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:.75rem;display:flex}.console-detail-screen{flex-direction:column;flex:1 0 auto;display:flex}.console-panel-open-link{color:#4493f8;font-size:.8125rem;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:.7813rem}.console-composer-toggle:hover{color:#e6edf3}.console-composer-posted{flex-direction:column;gap:8px;margin-top:8px;display:flex}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:.875rem}.console-composer-row{align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:.8125rem;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:.75rem}.console-composer-error{color:#f85149}.console-undo-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:.8438rem;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:.8125rem;font-weight:700}.console-undo-toast-undo:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:.6875rem}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:.8125rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:.75rem}.console-diff-comment-cell{text-align:center;-webkit-user-select:none;user-select:none;width:1%;padding:0 2px}.console-diff-comment-button{color:#6e7681;cursor:pointer;opacity:.6;background:0 0;border:1px solid #30363d;border-radius:4px;width:18px;height:18px;padding:0;font-size:.875rem;line-height:16px}.console-diff-row:hover .console-diff-comment-button,.console-diff-comment-button:focus-visible,.console-diff-comment-button[aria-expanded=true]{opacity:1;color:#fff;background:#1f6feb;border-color:#2f81f7}.console-diff-composer-row td{background:#0d1117;padding:6px 10px}.console-diff-composer{background:#161b22;border:1px solid #30363d;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.console-diff-composer-anchor{color:#8b949e;font-size:.6875rem}.console-diff-composer-input{resize:vertical;color:#c9d1d9;width:100%;font:inherit;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 8px}.console-diff-composer-controls{align-items:center;gap:8px;display:flex}.console-diff-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #238636;border-radius:6px;padding:4px 12px}.console-diff-composer-submit:disabled{opacity:.6;cursor:default}.console-diff-composer-cancel{color:#c9d1d9;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px}.console-diff-composer-status{color:#8b949e;font-size:.75rem}.console-diff-composer-error{color:#ff7b72}.console-diff-composer-posted{color:#3fb950;margin:0;font-size:.75rem}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:.9375rem;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:.6875rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}html{font-size:clamp(15px,2.1vw,26px)}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;width:100%;min-height:100dvh;display:flex}.console-tabbar{-webkit-overflow-scrolling:touch;background:#161b22;border-bottom:2px solid #30363d;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:42px;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:.8125rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:.6875rem;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{color:#8b949e;align-self:center;margin-left:auto;padding:0 8px;font-size:.7188rem}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:.6875rem}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none;margin-top:3px}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:.8125rem;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:.75rem}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{font-size:.9063rem;font-weight:600;display:block}.console-item-sub{color:#8b949e;margin-top:3px;font-size:.7813rem;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:.6875rem;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:.7188rem;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:.625rem}.console-list-message{color:#8b949e;padding:16px;font-size:.875rem}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:.875rem}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;flex:1 0 auto;gap:12px;padding:16px 16px 0;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:1.25rem;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:.8125rem}.console-detail-subbar{align-items:center;gap:12px;font-size:.8125rem;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-copy-url-button{color:#c9d1d9;border:1px solid #30363d;border-radius:6px;height:24px;padding:0 8px;font-size:.75rem}.console-copy-url-button:hover{color:#e6edf3;background-color:#21262d}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.console-detail-pr-status-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:-4px;display:flex}.console-detail-pr-status{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.console-detail-ci-missing{opacity:.85;font-weight:400}.console-detail-mergeable-chip{font-weight:600}.console-detail-mergeable-chip-unknown{opacity:.7;font-weight:400}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:.75rem}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;display:flex}.console-panel-toggle{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:8px;padding:6px 12px;font-size:.875rem;font-weight:600;display:flex}.console-panel-toggle:hover{background:#1a2029}.console-panel-action{padding:6px 12px}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:.875rem;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-markdown h1,.console-markdown h2,.console-markdown h3,.console-markdown h4,.console-markdown h5,.console-markdown h6{margin:1em 0 .5em;font-weight:700;line-height:1.25}.console-markdown h1{font-size:1.6em}.console-markdown h2{font-size:1.4em}.console-markdown h3{font-size:1.2em}.console-markdown h4{font-size:1.05em}.console-markdown h5{font-size:.95em}.console-markdown h6{color:#8b949e;font-size:.9em}.console-markdown pre{background:#161b22;border:1px solid #30363d;border-radius:6px;margin:.5em 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.45;overflow-x:auto}.console-markdown code{background:#6e768166;border-radius:4px;padding:.15em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.console-markdown pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.console-markdown blockquote{color:#8b949e;border-left:3px solid #30363d;margin:.5em 0;padding:0 1em}.console-markdown a{color:#4493f8;text-decoration:none}.console-markdown a:hover{text-decoration:underline}.console-markdown-reference-host{display:inline}.console-markdown-reference{vertical-align:baseline;align-items:center;gap:.25em;display:inline-flex}.console-markdown-reference .console-item-icon{flex-shrink:0}.console-markdown-reference-title{text-decoration:none}.console-markdown-reference:hover .console-markdown-reference-title{text-decoration:underline}.console-markdown hr{border:none;border-top:1px solid #30363d;margin:1em 0}.console-mermaid-error{color:#f85149;font-size:.8125rem}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:.75rem;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file{flex-direction:column;font-size:.8125rem;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:.6875rem}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-actionbar{z-index:100;padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#161b22;border-top:2px solid #30363d;margin-top:auto;position:sticky;bottom:0}.console-operation-bar{flex-direction:column;gap:8px;width:100%;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-stories{max-height:33vh;overflow-y:auto}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:9px 16px;font-size:.8125rem;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:.75rem;display:flex}.console-detail-screen{flex-direction:column;flex:1 0 auto;display:flex}.console-panel-open-link{color:#4493f8;font-size:.8125rem;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:.7813rem}.console-composer-toggle:hover{color:#e6edf3}.console-composer-posted{flex-direction:column;gap:8px;margin-top:8px;display:flex}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:.875rem}.console-composer-row{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:.8125rem;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:.75rem}.console-composer-error{color:#f85149}.console-undo-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:.8438rem;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:.8125rem;font-weight:700}.console-undo-toast-undo:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:.6875rem}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:.8125rem;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:.8125rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:.75rem}.console-diff-comment-cell{text-align:center;-webkit-user-select:none;user-select:none;width:1%;padding:0 2px}.console-diff-comment-button{color:#6e7681;cursor:pointer;opacity:.6;background:0 0;border:1px solid #30363d;border-radius:4px;width:18px;height:18px;padding:0;font-size:.875rem;line-height:16px}.console-diff-row:hover .console-diff-comment-button,.console-diff-comment-button:focus-visible,.console-diff-comment-button[aria-expanded=true]{opacity:1;color:#fff;background:#1f6feb;border-color:#2f81f7}.console-diff-composer-row td{background:#0d1117;padding:6px 10px}.console-diff-composer{background:#161b22;border:1px solid #30363d;border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.console-diff-composer-anchor{color:#8b949e;font-size:.6875rem}.console-diff-composer-input{resize:vertical;color:#c9d1d9;width:100%;font:inherit;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:6px 8px}.console-diff-composer-controls{align-items:center;gap:8px;display:flex}.console-diff-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #238636;border-radius:6px;padding:4px 12px}.console-diff-composer-submit:disabled{opacity:.6;cursor:default}.console-diff-composer-cancel{color:#c9d1d9;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;padding:4px 12px}.console-diff-composer-status{color:#8b949e;font-size:.75rem}.console-diff-composer-error{color:#ff7b72}.console-diff-composer-posted{color:#3fb950;margin:0;font-size:.75rem}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:.9375rem;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:.6875rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
package/src/adapter/entry-points/console/ui-dist/assets/{index-BXcfEKkX.js → index-Dx_VHaDe.js}
RENAMED
|
@@ -96,6 +96,6 @@ ${o}</tr>
|
|
|
96
96
|
Please report this to https://github.com/markedjs/marked.`,o){const u="<p>An error occurred:</p><pre>"+nn(r.message+"",!0)+"</pre>";return c?Promise.resolve(u):u}if(c)return Promise.reject(r);throw r}};const xa=new Nv;function je(a,o){return xa.parse(a,o)}je.options=je.setOptions=function(a){return xa.setOptions(a),je.defaults=xa.defaults,Xp(je.defaults),je};je.getDefaults=Gu;je.defaults=Aa;je.use=function(...a){return xa.use(...a),je.defaults=xa.defaults,Xp(je.defaults),je};je.walkTokens=function(a,o){return xa.walkTokens(a,o)};je.parseInline=xa.parseInline;je.Parser=Hn;je.parser=Hn.parse;je.Renderer=rr;je.TextRenderer=Ku;je.Lexer=Ln;je.lexer=Ln.lex;je.Tokenizer=or;je.Hooks=Co;je.parse=je;je.options;je.setOptions;je.use;je.walkTokens;je.parseInline;Hn.parse;Ln.lex;const Cv={renderer:void 0};function zv(a){if(a={...Cv,...a},!a.emojis)throw new Error("Must provide emojis to markedEmoji");const o=Object.keys(a.emojis).map(u=>u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),c=new RegExp(`:(${o}):`),r=new RegExp(`^${c.source}`);return{extensions:[{name:"emoji",level:"inline",start(u){var d;return(d=u.match(c))==null?void 0:d.index},tokenizer(u,d){const m=r.exec(u);if(!m)return;const _=m[1],g=a.emojis[_];if(g)return{type:"emoji",raw:m[0],name:_,emoji:g}},renderer(u){return a.renderer?a.renderer(u):`<img alt="${u.name}" src="${u.emoji}" class="marked-emoji-img">`}}]}}je.use(zv({emojis:K0,renderer:a=>a.emoji}));const Ov=a=>{if(a.trim()==="")return"";je.setOptions({gfm:!0,breaks:!0});const c=je.parse(a,{async:!1}),r=typeof c=="string"?c:"";return Zp.sanitize(r)},tg=a=>/^```mermaid\s*$/.test(a.trim()),Rv=a=>/^```/.test(a.trim())&&!tg(a),mp=a=>a.trim()==="```",Mv=a=>{const o=a.split(`
|
|
97
97
|
`),c=[];let r=[],u=null,d=!1,m=0;const _=()=>{r.length>0&&(c.push({kind:"markdown",key:`markdown:${m}`,source:r.join(`
|
|
98
98
|
`)}),m+=1,r=[])};for(const g of o){if(d){r.push(g),mp(g)&&(d=!1);continue}if(u===null&&tg(g)){_(),u=[];continue}if(u!==null){if(mp(g)){c.push({kind:"mermaid",key:`mermaid:${m}`,code:u.join(`
|
|
99
|
-
`)}),m+=1,u=null;continue}u.push(g);continue}if(Rv(g)){r.push(g),d=!0;continue}r.push(g)}return u!==null&&r.push("```mermaid",...u),_(),c},Dv=/^https:\/\/github\.com\/([^/\s]+)\/([^/\s]+)\/(issues|pull)\/(\d+)(?:[#?].*)?$/,jv=a=>{const o=Dv.exec(a.trim());if(o===null)return null;const[,c,r,u,d]=o,m=Number.parseInt(d,10);return Number.isFinite(m)?{owner:c,repo:r,number:m,kind:u==="pull"?"pull":"issue"}:null},Uv=a=>({isPr:a.isPullRequest,state:a.state.toLowerCase(),merged:a.merged,isDraft:!1,stateReason:""}),Lv="https://cdn.jsdelivr.net/npm/mermaid@10.9.6/dist/mermaid.min.js";let vi=null,hp=0;const pp=a=>(a.initialize({startOnLoad:!1,securityLevel:"strict",theme:"dark",themeVariables:{background:"#0d1117",primaryColor:"#161b22",primaryTextColor:"#e6edf3",primaryBorderColor:"#30363d",lineColor:"#8b949e",fontSize:"14px"}}),a),Hv=()=>vi!==null?vi:window.mermaid!==void 0?(vi=Promise.resolve(pp(window.mermaid)),vi):(vi=new Promise((a,o)=>{const c=document.createElement("script");c.src=Lv,c.async=!0,c.onload=()=>{if(window.mermaid===void 0){o(new Error("mermaid failed to load"));return}a(pp(window.mermaid))},c.onerror=()=>o(new Error("mermaid script failed to load")),document.head.appendChild(c)}),vi),Bv=async a=>{const o=await Hv();hp+=1;const c=`console-mermaid-${hp}`,{svg:r}=await o.render(c,a);return Zp.sanitize(r,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["foreignObject"]})},qv=({code:a})=>{const[o,c]=H.useState({status:"loading"}),r=H.useRef(null);return H.useEffect(()=>{let u=!1;return c({status:"loading"}),Bv(a).then(d=>{u||c({status:"ready",svg:d})}).catch(d=>{u||c({status:"error",message:d instanceof Error?d.message:String(d)})}),()=>{u=!0}},[a]),H.useEffect(()=>{const u=r.current;u!==null&&(u.innerHTML=o.status==="ready"?o.svg:"")},[o]),o.status==="loading"?y.jsx("div",{className:"console-mermaid-loading",children:"Rendering diagram..."}):o.status==="error"?y.jsxs("div",{className:"console-mermaid",children:[y.jsxs("div",{className:"console-mermaid-error",children:["Mermaid render error: ",o.message]}),y.jsx("pre",{className:"console-mermaid-source",children:y.jsx("code",{children:a})})]}):y.jsx("div",{ref:r,className:"console-mermaid-rendered"})},Gv=a=>{const o=a.querySelectorAll("a[href]"),c=[];return o.forEach((r,u)=>{const d=r.getAttribute("href")??"";if(jv(d)===null)return;const m=r.textContent??d,_=document.createElement("span");_.className="console-markdown-reference-host",r.replaceWith(_),c.push({key:`${u}:${d}`,host:_,href:d,fallbackText:m})}),c},Yv=({source:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>{const _=Ov(a);return o===void 0?_:m0(_,o)},[a,o]),u=H.useRef(null),[d,m]=H.useState([]);return H.useEffect(()=>{const _=u.current;if(_!==null){if(_.innerHTML=r,c===void 0){m([]);return}m(Gv(_))}},[r,c]),y.jsx("div",{ref:u,className:"console-markdown",children:c!==void 0&&d.map(_=>c0.createPortal(c(_.href,_.fallbackText),_.host,_.key))})},dr=({body:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>Mv(a),[a]);return a.trim()===""?y.jsx("p",{className:"console-markdown-empty",children:"No description provided."}):y.jsx("div",{className:"console-markdown-view",children:r.map(u=>u.kind==="mermaid"?y.jsx(qv,{code:u.code},u.key):y.jsx(Yv,{source:u.source,buildImageProxyUrl:o,renderReferenceLink:c},u.key))})},Zv=({isPr:a,now:o,onSubmit:c})=>{const[r,u]=H.useState(!a),[d,m]=H.useState(""),[_,g]=H.useState({kind:"idle"}),[p,E]=H.useState([]),x=async()=>{const z=d.trim();if(!(z.length===0||_.kind==="posting")){g({kind:"posting"});try{const q=await c(z);E(V=>[...V,q]),m(""),g({kind:"idle"})}catch(q){g({kind:"error",message:q instanceof Error?q.message:"failed to post"})}}};return y.jsxs("div",{className:"console-composer",children:[y.jsx("button",{type:"button",className:"console-composer-toggle","aria-expanded":r,onClick:()=>u(z=>!z),children:r?"✕ Cancel":"💬 Add a comment"}),p.length>0&&y.jsx("div",{className:"console-composer-posted",children:p.map(z=>y.jsxs("article",{className:"console-comment",children:[y.jsxs("header",{className:"console-comment-header",title:Hu(z.createdAt),children:[y.jsx("span",{className:"console-comment-author",children:z.author===""?"you":z.author}),y.jsx("span",{className:"console-comment-time",children:zo(z.createdAt,o)})]}),y.jsx(dr,{body:z.body})]},`${z.author}:${z.createdAt}:${z.body}`))}),r&&y.jsxs("div",{className:"console-composer-form",children:[y.jsx("textarea",{className:"console-composer-input",rows:3,placeholder:"Leave a comment…",value:d,onChange:z=>m(z.target.value)}),y.jsxs("div",{className:"console-composer-row",children:[
|
|
99
|
+
`)}),m+=1,u=null;continue}u.push(g);continue}if(Rv(g)){r.push(g),d=!0;continue}r.push(g)}return u!==null&&r.push("```mermaid",...u),_(),c},Dv=/^https:\/\/github\.com\/([^/\s]+)\/([^/\s]+)\/(issues|pull)\/(\d+)(?:[#?].*)?$/,jv=a=>{const o=Dv.exec(a.trim());if(o===null)return null;const[,c,r,u,d]=o,m=Number.parseInt(d,10);return Number.isFinite(m)?{owner:c,repo:r,number:m,kind:u==="pull"?"pull":"issue"}:null},Uv=a=>({isPr:a.isPullRequest,state:a.state.toLowerCase(),merged:a.merged,isDraft:!1,stateReason:""}),Lv="https://cdn.jsdelivr.net/npm/mermaid@10.9.6/dist/mermaid.min.js";let vi=null,hp=0;const pp=a=>(a.initialize({startOnLoad:!1,securityLevel:"strict",theme:"dark",themeVariables:{background:"#0d1117",primaryColor:"#161b22",primaryTextColor:"#e6edf3",primaryBorderColor:"#30363d",lineColor:"#8b949e",fontSize:"14px"}}),a),Hv=()=>vi!==null?vi:window.mermaid!==void 0?(vi=Promise.resolve(pp(window.mermaid)),vi):(vi=new Promise((a,o)=>{const c=document.createElement("script");c.src=Lv,c.async=!0,c.onload=()=>{if(window.mermaid===void 0){o(new Error("mermaid failed to load"));return}a(pp(window.mermaid))},c.onerror=()=>o(new Error("mermaid script failed to load")),document.head.appendChild(c)}),vi),Bv=async a=>{const o=await Hv();hp+=1;const c=`console-mermaid-${hp}`,{svg:r}=await o.render(c,a);return Zp.sanitize(r,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["foreignObject"]})},qv=({code:a})=>{const[o,c]=H.useState({status:"loading"}),r=H.useRef(null);return H.useEffect(()=>{let u=!1;return c({status:"loading"}),Bv(a).then(d=>{u||c({status:"ready",svg:d})}).catch(d=>{u||c({status:"error",message:d instanceof Error?d.message:String(d)})}),()=>{u=!0}},[a]),H.useEffect(()=>{const u=r.current;u!==null&&(u.innerHTML=o.status==="ready"?o.svg:"")},[o]),o.status==="loading"?y.jsx("div",{className:"console-mermaid-loading",children:"Rendering diagram..."}):o.status==="error"?y.jsxs("div",{className:"console-mermaid",children:[y.jsxs("div",{className:"console-mermaid-error",children:["Mermaid render error: ",o.message]}),y.jsx("pre",{className:"console-mermaid-source",children:y.jsx("code",{children:a})})]}):y.jsx("div",{ref:r,className:"console-mermaid-rendered"})},Gv=a=>{const o=a.querySelectorAll("a[href]"),c=[];return o.forEach((r,u)=>{const d=r.getAttribute("href")??"";if(jv(d)===null)return;const m=r.textContent??d,_=document.createElement("span");_.className="console-markdown-reference-host",r.replaceWith(_),c.push({key:`${u}:${d}`,host:_,href:d,fallbackText:m})}),c},Yv=({source:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>{const _=Ov(a);return o===void 0?_:m0(_,o)},[a,o]),u=H.useRef(null),[d,m]=H.useState([]);return H.useEffect(()=>{const _=u.current;if(_!==null){if(_.innerHTML=r,c===void 0){m([]);return}m(Gv(_))}},[r,c]),y.jsx("div",{ref:u,className:"console-markdown",children:c!==void 0&&d.map(_=>c0.createPortal(c(_.href,_.fallbackText),_.host,_.key))})},dr=({body:a,buildImageProxyUrl:o,renderReferenceLink:c})=>{const r=H.useMemo(()=>Mv(a),[a]);return a.trim()===""?y.jsx("p",{className:"console-markdown-empty",children:"No description provided."}):y.jsx("div",{className:"console-markdown-view",children:r.map(u=>u.kind==="mermaid"?y.jsx(qv,{code:u.code},u.key):y.jsx(Yv,{source:u.source,buildImageProxyUrl:o,renderReferenceLink:c},u.key))})},Zv=({isPr:a,now:o,onSubmit:c})=>{const[r,u]=H.useState(!a),[d,m]=H.useState(""),[_,g]=H.useState({kind:"idle"}),[p,E]=H.useState([]),x=async()=>{const z=d.trim();if(!(z.length===0||_.kind==="posting")){g({kind:"posting"});try{const q=await c(z);E(V=>[...V,q]),m(""),g({kind:"idle"})}catch(q){g({kind:"error",message:q instanceof Error?q.message:"failed to post"})}}};return y.jsxs("div",{className:"console-composer",children:[y.jsx("button",{type:"button",className:"console-composer-toggle","aria-expanded":r,onClick:()=>u(z=>!z),children:r?"✕ Cancel":"💬 Add a comment"}),p.length>0&&y.jsx("div",{className:"console-composer-posted",children:p.map(z=>y.jsxs("article",{className:"console-comment",children:[y.jsxs("header",{className:"console-comment-header",title:Hu(z.createdAt),children:[y.jsx("span",{className:"console-comment-author",children:z.author===""?"you":z.author}),y.jsx("span",{className:"console-comment-time",children:zo(z.createdAt,o)})]}),y.jsx(dr,{body:z.body})]},`${z.author}:${z.createdAt}:${z.body}`))}),r&&y.jsxs("div",{className:"console-composer-form",children:[y.jsx("textarea",{className:"console-composer-input",rows:3,placeholder:"Leave a comment…",value:d,onChange:z=>m(z.target.value)}),y.jsxs("div",{className:"console-composer-row",children:[_.kind==="posting"&&y.jsx("span",{className:"console-composer-status",children:"Posting…"}),_.kind==="error"&&y.jsxs("span",{role:"alert",className:"console-composer-status console-composer-error",children:["Failed: ",_.message]}),y.jsx("button",{type:"button",className:"console-composer-submit",disabled:_.kind==="posting",onClick:()=>{x()},children:"Comment"})]})]})]})},wa=({title:a,count:o=null,defaultCollapsed:c=!1,headerAction:r,children:u})=>{const[d,m]=H.useState(c),_=o===null?a:`${a} (${o})`;return y.jsxs("section",{className:"console-panel",children:[y.jsxs("header",{className:"console-panel-header",children:[y.jsxs("button",{type:"button",className:"console-panel-toggle","aria-expanded":!d,onClick:()=>m(g=>!g),children:[y.jsx("span",{className:"console-panel-caret",children:d?"▸":"▾"}),y.jsx("span",{className:"console-panel-title",children:_})]}),r!==void 0&&y.jsx("div",{className:"console-panel-action",children:r})]}),!d&&y.jsx("div",{className:"console-panel-body",children:u})]})},Xv=a=>{switch(a){case"added":return{label:"A",color:"#3fb950"};case"modified":return{label:"M",color:"#d29922"};case"removed":return{label:"D",color:"#f85149"};case"renamed":return{label:"R",color:"#a371f7"};case"changed":return{label:"M",color:"#d29922"};default:return{label:"?",color:"#8b949e"}}},Qv=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/,Vv=a=>{const o=[];let c=0,r=0;for(const u of a.split(`
|
|
100
100
|
`)){if(u.startsWith("@@")){const d=u.match(Qv);d!==null&&(c=Number(d[1]),r=Number(d[2])),o.push({kind:"hunk",oldLineNumber:null,newLineNumber:null,content:u});continue}if(u.startsWith("+")){o.push({kind:"add",oldLineNumber:null,newLineNumber:r,content:u}),r+=1;continue}if(u.startsWith("-")){o.push({kind:"del",oldLineNumber:c,newLineNumber:null,content:u}),c+=1;continue}o.push({kind:"ctx",oldLineNumber:c,newLineNumber:r,content:u}),c+=1,r+=1}return o},Kv=a=>a.kind==="add"||a.kind==="ctx"?a.newLineNumber===null?null:{line:a.newLineNumber,side:"RIGHT"}:a.kind==="del"?a.oldLineNumber===null?null:{line:a.oldLineNumber,side:"LEFT"}:null,Jv=a=>`${a.kind}:${a.oldLineNumber??"x"}:${a.newLineNumber??"x"}:${a.content}`,$v=({target:a,onSubmit:o,onClose:c})=>{const[r,u]=H.useState(""),[d,m]=H.useState({kind:"idle"}),_=async()=>{const g=r.trim();if(!(g.length===0||d.kind==="posting")){m({kind:"posting"});try{await o(a.path,a.line,a.side,g),u(""),m({kind:"posted"})}catch(p){m({kind:"error",message:p instanceof Error?p.message:"failed to post"})}}};return y.jsxs("div",{className:"console-diff-composer",children:[y.jsxs("div",{className:"console-diff-composer-anchor",children:["commenting on line ",a.line," (",a.side,")"]}),d.kind==="posted"?y.jsx("p",{className:"console-diff-composer-posted",children:"Comment posted."}):y.jsxs(y.Fragment,{children:[y.jsx("textarea",{className:"console-diff-composer-input",rows:3,placeholder:"Leave a review comment on this line…",value:r,onChange:g=>u(g.target.value)}),y.jsxs("div",{className:"console-diff-composer-controls",children:[y.jsx("button",{type:"button",className:"console-diff-composer-submit",disabled:d.kind==="posting",onClick:()=>{_()},children:"Comment"}),y.jsx("button",{type:"button",className:"console-diff-composer-cancel",onClick:c,children:"Cancel"}),d.kind==="posting"&&y.jsx("span",{className:"console-diff-composer-status",children:"Posting…"}),d.kind==="error"&&y.jsxs("span",{role:"alert",className:"console-diff-composer-status console-diff-composer-error",children:["Failed: ",d.message]})]})]})]})},Iv=({patch:a,path:o,onAddInlineComment:c})=>{const[r,u]=H.useState(null);if(a===null||a==="")return y.jsx("p",{className:"console-file-diff-empty",children:"(no diff / binary or too large)"});const d=Vv(a),m=c!==void 0&&o!==void 0&&o.length>0,_=m?4:3;return y.jsx("table",{className:"console-file-diff",children:y.jsx("tbody",{children:d.map(g=>{const p=Jv(g),E=m?Kv(g):null,x=r!==null&&E!==null&&r.line===E.line&&r.side===E.side;return y.jsxs(H.Fragment,{children:[y.jsxs("tr",{className:`console-diff-row console-diff-${g.kind}`,children:[m&&y.jsx("td",{className:"console-diff-comment-cell",children:E!==null&&o!==void 0&&y.jsx("button",{type:"button",className:"console-diff-comment-button","aria-label":`Comment on line ${E.line} (${E.side})`,"aria-expanded":x,onClick:()=>u(x?null:{path:o,line:E.line,side:E.side}),children:"+"})}),y.jsx("td",{className:"console-diff-ln",children:g.oldLineNumber??""}),y.jsx("td",{className:"console-diff-ln",children:g.newLineNumber??""}),y.jsx("td",{className:"console-diff-code",children:g.content})]}),x&&c!==void 0&&r!==null&&y.jsx("tr",{className:"console-diff-composer-row",children:y.jsx("td",{colSpan:_,children:y.jsx($v,{target:r,onSubmit:c,onClose:()=>u(null)})})})]},p)})})})},Fv=({file:a,onAddInlineComment:o})=>{const[c,r]=H.useState(!1),u=Xv(a.status);return y.jsxs("li",{className:"console-file",children:[y.jsxs("button",{type:"button",className:"console-file-row","aria-expanded":c,onClick:()=>r(d=>!d),children:[y.jsx("span",{className:"console-file-caret",children:c?"▾":"▸"}),y.jsx("span",{className:"console-file-badge",style:{color:u.color,borderColor:u.color},children:u.label}),y.jsx("span",{className:"console-file-path",children:a.path}),y.jsxs("span",{className:"console-file-stat console-file-add",children:["+",a.additions]}),y.jsxs("span",{className:"console-file-stat console-file-del",children:["-",a.deletions]})]}),c&&y.jsx(Iv,{patch:a.patch,path:a.path,onAddInlineComment:o})]})},ng=({files:a,isLoading:o,error:c,onAddInlineComment:r})=>c!==null?y.jsxs("p",{role:"alert",className:"console-files-error",children:["Failed to load changed files: ",c]}):o?y.jsx("p",{className:"console-files-loading",children:"Loading changed files..."}):a.length===0?y.jsx("p",{className:"console-files-empty",children:"No changed files."}):y.jsx("ul",{className:"console-files",children:a.map(u=>y.jsx(Fv,{file:u,onAddInlineComment:r},u.path))}),Wv=({comments:a,isLoading:o,error:c,now:r,buildImageProxyUrl:u,renderReferenceLink:d})=>{const[m,_]=H.useState(!1);if(c!==null)return y.jsxs("p",{role:"alert",className:"console-comment-error",children:["Failed to load comments: ",c]});if(o)return y.jsx("p",{className:"console-comment-loading",children:"Loading comments..."});if(a.length===0)return y.jsx("p",{className:"console-comment-empty",children:"No comments."});const g=m?a:a.slice(-1);return y.jsxs("div",{className:"console-comment-list",children:[!m&&a.length>1&&y.jsxs("button",{type:"button",className:"console-comment-show-all",onClick:()=>_(!0),children:["Show all ",a.length]}),g.map(p=>y.jsxs("article",{className:"console-comment",children:[y.jsxs("header",{className:"console-comment-header",children:[y.jsx("span",{className:"console-comment-author",children:p.author}),y.jsx("span",{className:"console-comment-time",children:zo(p.createdAt,r)})]}),y.jsx(dr,{body:p.body,buildImageProxyUrl:u,renderReferenceLink:d})]},`${p.author}:${p.createdAt}:${p.body}`))]})},Pv=a=>a.slice(0,7),e1=a=>a.split(`
|
|
101
101
|
`)[0],lg=({commits:a,isLoading:o,error:c,now:r})=>c!==null?y.jsxs("p",{role:"alert",className:"console-commits-error",children:["Failed to load commits: ",c]}):o?y.jsx("p",{className:"console-commits-loading",children:"Loading commits..."}):a.length===0?y.jsx("p",{className:"console-commits-empty",children:"No commits."}):y.jsx("ul",{className:"console-commits",children:a.map(u=>y.jsxs("li",{className:"console-commit",children:[y.jsx("span",{className:"console-commit-message",children:e1(u.message)}),y.jsx("span",{className:"console-commit-sha",children:Pv(u.sha)}),y.jsx("span",{className:"console-commit-author",children:u.author}),y.jsx("span",{className:"console-commit-time",children:zo(u.authoredAt,r)})]},u.sha))});function gp(a,o){if(typeof a=="function")return a(o);a!=null&&(a.current=o)}function t1(...a){return o=>{let c=!1;const r=a.map(u=>{const d=gp(u,o);return!c&&typeof d=="function"&&(c=!0),d});if(c)return()=>{for(let u=0;u<r.length;u++){const d=r[u];typeof d=="function"?d():gp(a[u],null)}}}}function n1(...a){return H.useCallback(t1(...a),a)}function l1(a){const o=H.forwardRef((c,r)=>{let{children:u,...d}=c,m=null,_=!1;const g=[];_p(u)&&typeof lr=="function"&&(u=lr(u._payload)),H.Children.forEach(u,z=>{var q;if(c1(z)){_=!0;const V=z;let $="child"in V.props?V.props.child:V.props.children;_p($)&&typeof lr=="function"&&($=lr($._payload)),m=o1(V,$),g.push((q=m==null?void 0:m.props)==null?void 0:q.children)}else g.push(z)}),m?m=H.cloneElement(m,void 0,g):!_&&H.Children.count(u)===1&&H.isValidElement(u)&&(m=u);const p=m?r1(m):void 0,E=n1(r,p);if(!m){if(u||u===0)throw new Error(_?m1(a):d1(a));return u}const x=s1(d,m.props??{});return m.type!==H.Fragment&&(x.ref=r?E:p),H.cloneElement(m,x)});return o.displayName=`${a}.Slot`,o}var a1=l1("Slot"),i1=Symbol.for("radix.slottable"),o1=(a,o)=>{if("child"in a.props){const c=a.props.child;return H.isValidElement(c)?H.cloneElement(c,void 0,a.props.children(c.props.children)):null}return H.isValidElement(o)?o:null};function s1(a,o){const c={...o};for(const r in o){const u=a[r],d=o[r];/^on[A-Z]/.test(r)?u&&d?c[r]=(..._)=>{const g=d(..._);return u(..._),g}:u&&(c[r]=u):r==="style"?c[r]={...u,...d}:r==="className"&&(c[r]=[u,d].filter(Boolean).join(" "))}return{...a,...c}}function r1(a){var r,u;let o=(r=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:r.get,c=o&&"isReactWarning"in o&&o.isReactWarning;return c?a.ref:(o=(u=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:u.get,c=o&&"isReactWarning"in o&&o.isReactWarning,c?a.props.ref:a.props.ref||a.ref)}function c1(a){return H.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===i1}var u1=Symbol.for("react.lazy");function _p(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===u1&&"_payload"in a&&f1(a._payload)}function f1(a){return typeof a=="object"&&a!==null&&"then"in a}var d1=a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,m1=a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,lr=jb[" use ".trim().toString()];function ag(a){var o,c,r="";if(typeof a=="string"||typeof a=="number")r+=a;else if(typeof a=="object")if(Array.isArray(a)){var u=a.length;for(o=0;o<u;o++)a[o]&&(c=ag(a[o]))&&(r&&(r+=" "),r+=c)}else for(c in a)a[c]&&(r&&(r+=" "),r+=c);return r}function ig(){for(var a,o,c=0,r="",u=arguments.length;c<u;c++)(a=arguments[c])&&(o=ag(a))&&(r&&(r+=" "),r+=o);return r}const bp=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,yp=ig,h1=(a,o)=>c=>{var r;if((o==null?void 0:o.variants)==null)return yp(a,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:u,defaultVariants:d}=o,m=Object.keys(u).map(p=>{const E=c==null?void 0:c[p],x=d==null?void 0:d[p];if(E===null)return null;const z=bp(E)||bp(x);return u[p][z]}),_=c&&Object.entries(c).reduce((p,E)=>{let[x,z]=E;return z===void 0||(p[x]=z),p},{}),g=o==null||(r=o.compoundVariants)===null||r===void 0?void 0:r.reduce((p,E)=>{let{class:x,className:z,...q}=E;return Object.entries(q).every(V=>{let[$,B]=V;return Array.isArray(B)?B.includes({...d,..._}[$]):{...d,..._}[$]===B})?[...p,x,z]:p},[]);return yp(a,m,g,c==null?void 0:c.class,c==null?void 0:c.className)},p1=(a,o)=>{const c=new Array(a.length+o.length);for(let r=0;r<a.length;r++)c[r]=a[r];for(let r=0;r<o.length;r++)c[a.length+r]=o[r];return c},g1=(a,o)=>({classGroupId:a,validator:o}),og=(a=new Map,o=null,c)=>({nextPart:a,validators:o,classGroupId:c}),cr="-",vp=[],_1="arbitrary..",b1=a=>{const o=v1(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:r}=a;return{getClassGroupId:m=>{if(m.startsWith("[")&&m.endsWith("]"))return y1(m);const _=m.split(cr),g=_[0]===""&&_.length>1?1:0;return sg(_,g,o)},getConflictingClassGroupIds:(m,_)=>{if(_){const g=r[m],p=c[m];return g?p?p1(p,g):g:p||vp}return c[m]||vp}}},sg=(a,o,c)=>{if(a.length-o===0)return c.classGroupId;const u=a[o],d=c.nextPart.get(u);if(d){const p=sg(a,o+1,d);if(p)return p}const m=c.validators;if(m===null)return;const _=o===0?a.join(cr):a.slice(o).join(cr),g=m.length;for(let p=0;p<g;p++){const E=m[p];if(E.validator(_))return E.classGroupId}},y1=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const o=a.slice(1,-1),c=o.indexOf(":"),r=o.slice(0,c);return r?_1+r:void 0})(),v1=a=>{const{theme:o,classGroups:c}=a;return S1(c,o)},S1=(a,o)=>{const c=og();for(const r in a){const u=a[r];Ju(u,c,r,o)}return c},Ju=(a,o,c,r)=>{const u=a.length;for(let d=0;d<u;d++){const m=a[d];T1(m,o,c,r)}},T1=(a,o,c,r)=>{if(typeof a=="string"){w1(a,o,c);return}if(typeof a=="function"){x1(a,o,c,r);return}E1(a,o,c,r)},w1=(a,o,c)=>{const r=a===""?o:rg(o,a);r.classGroupId=c},x1=(a,o,c,r)=>{if(A1(a)){Ju(a(r),o,c,r);return}o.validators===null&&(o.validators=[]),o.validators.push(g1(c,a))},E1=(a,o,c,r)=>{const u=Object.entries(a),d=u.length;for(let m=0;m<d;m++){const[_,g]=u[m];Ju(g,rg(o,_),c,r)}},rg=(a,o)=>{let c=a;const r=o.split(cr),u=r.length;for(let d=0;d<u;d++){const m=r[d];let _=c.nextPart.get(m);_||(_=og(),c.nextPart.set(m,_)),c=_}return c},A1=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,k1=a=>{if(a<1)return{get:()=>{},set:()=>{}};let o=0,c=Object.create(null),r=Object.create(null);const u=(d,m)=>{c[d]=m,o++,o>a&&(o=0,r=c,c=Object.create(null))};return{get(d){let m=c[d];if(m!==void 0)return m;if((m=r[d])!==void 0)return u(d,m),m},set(d,m){d in c?c[d]=m:u(d,m)}}},Uu="!",Sp=":",N1=[],Tp=(a,o,c,r,u)=>({modifiers:a,hasImportantModifier:o,baseClassName:c,maybePostfixModifierPosition:r,isExternal:u}),C1=a=>{const{prefix:o,experimentalParseClassName:c}=a;let r=u=>{const d=[];let m=0,_=0,g=0,p;const E=u.length;for(let $=0;$<E;$++){const B=u[$];if(m===0&&_===0){if(B===Sp){d.push(u.slice(g,$)),g=$+1;continue}if(B==="/"){p=$;continue}}B==="["?m++:B==="]"?m--:B==="("?_++:B===")"&&_--}const x=d.length===0?u:u.slice(g);let z=x,q=!1;x.endsWith(Uu)?(z=x.slice(0,-1),q=!0):x.startsWith(Uu)&&(z=x.slice(1),q=!0);const V=p&&p>g?p-g:void 0;return Tp(d,q,z,V)};if(o){const u=o+Sp,d=r;r=m=>m.startsWith(u)?d(m.slice(u.length)):Tp(N1,!1,m,void 0,!0)}if(c){const u=r;r=d=>c({className:d,parseClassName:u})}return r},z1=a=>{const o=new Map;return a.orderSensitiveModifiers.forEach((c,r)=>{o.set(c,1e6+r)}),c=>{const r=[];let u=[];for(let d=0;d<c.length;d++){const m=c[d],_=m[0]==="[",g=o.has(m);_||g?(u.length>0&&(u.sort(),r.push(...u),u=[]),r.push(m)):u.push(m)}return u.length>0&&(u.sort(),r.push(...u)),r}},O1=a=>({cache:k1(a.cacheSize),parseClassName:C1(a),sortModifiers:z1(a),postfixLookupClassGroupIds:R1(a),...b1(a)}),R1=a=>{const o=Object.create(null),c=a.postfixLookupClassGroups;if(c)for(let r=0;r<c.length;r++)o[c[r]]=!0;return o},M1=/\s+/,D1=(a,o)=>{const{parseClassName:c,getClassGroupId:r,getConflictingClassGroupIds:u,sortModifiers:d,postfixLookupClassGroupIds:m}=o,_=[],g=a.trim().split(M1);let p="";for(let E=g.length-1;E>=0;E-=1){const x=g[E],{isExternal:z,modifiers:q,hasImportantModifier:V,baseClassName:$,maybePostfixModifierPosition:B}=c(x);if(z){p=x+(p.length>0?" "+p:p);continue}let X=!!B,ie;if(X){const ee=$.substring(0,B);ie=r(ee);const Y=ie&&m[ie]?r($):void 0;Y&&Y!==ie&&(ie=Y,X=!1)}else ie=r($);if(!ie){if(!X){p=x+(p.length>0?" "+p:p);continue}if(ie=r($),!ie){p=x+(p.length>0?" "+p:p);continue}X=!1}const oe=q.length===0?"":q.length===1?q[0]:d(q).join(":"),ue=V?oe+Uu:oe,le=ue+ie;if(_.indexOf(le)>-1)continue;_.push(le);const fe=u(ie,X);for(let ee=0;ee<fe.length;++ee){const Y=fe[ee];_.push(ue+Y)}p=x+(p.length>0?" "+p:p)}return p},j1=(...a)=>{let o=0,c,r,u="";for(;o<a.length;)(c=a[o++])&&(r=cg(c))&&(u&&(u+=" "),u+=r);return u},cg=a=>{if(typeof a=="string")return a;let o,c="";for(let r=0;r<a.length;r++)a[r]&&(o=cg(a[r]))&&(c&&(c+=" "),c+=o);return c},U1=(a,...o)=>{let c,r,u,d;const m=g=>{const p=o.reduce((E,x)=>x(E),a());return c=O1(p),r=c.cache.get,u=c.cache.set,d=_,_(g)},_=g=>{const p=r(g);if(p)return p;const E=D1(g,c);return u(g,E),E};return d=m,(...g)=>d(j1(...g))},L1=[],_t=a=>{const o=c=>c[a]||L1;return o.isThemeGetter=!0,o},ug=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,H1=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,B1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,q1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,G1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Y1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Z1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yl=a=>H1.test(a),be=a=>!!a&&!Number.isNaN(Number(a)),jn=a=>!!a&&Number.isInteger(Number(a)),Nu=a=>a.endsWith("%")&&be(a.slice(0,-1)),sl=a=>B1.test(a),dg=()=>!0,X1=a=>q1.test(a)&&!G1.test(a),$u=()=>!1,Q1=a=>Y1.test(a),V1=a=>Z1.test(a),K1=a=>!F(a)&&!W(a),J1=a=>a.startsWith("@container")&&(a[10]==="/"&&a[11]!==void 0||a[11]==="s"&&a[16]!==void 0&&a.startsWith("-size/",10)||a[11]==="n"&&a[18]!==void 0&&a.startsWith("-normal/",10)),$1=a=>Ql(a,pg,$u),F=a=>ug.test(a),Sa=a=>Ql(a,gg,X1),wp=a=>Ql(a,lS,be),I1=a=>Ql(a,bg,dg),F1=a=>Ql(a,_g,$u),xp=a=>Ql(a,mg,$u),W1=a=>Ql(a,hg,V1),ar=a=>Ql(a,yg,Q1),W=a=>fg.test(a),Eo=a=>ka(a,gg),P1=a=>ka(a,_g),Ep=a=>ka(a,mg),eS=a=>ka(a,pg),tS=a=>ka(a,hg),ir=a=>ka(a,yg,!0),nS=a=>ka(a,bg,!0),Ql=(a,o,c)=>{const r=ug.exec(a);return r?r[1]?o(r[1]):c(r[2]):!1},ka=(a,o,c=!1)=>{const r=fg.exec(a);return r?r[1]?o(r[1]):c:!1},mg=a=>a==="position"||a==="percentage",hg=a=>a==="image"||a==="url",pg=a=>a==="length"||a==="size"||a==="bg-size",gg=a=>a==="length",lS=a=>a==="number",_g=a=>a==="family-name",bg=a=>a==="number"||a==="weight",yg=a=>a==="shadow",aS=()=>{const a=_t("color"),o=_t("font"),c=_t("text"),r=_t("font-weight"),u=_t("tracking"),d=_t("leading"),m=_t("breakpoint"),_=_t("container"),g=_t("spacing"),p=_t("radius"),E=_t("shadow"),x=_t("inset-shadow"),z=_t("text-shadow"),q=_t("drop-shadow"),V=_t("blur"),$=_t("perspective"),B=_t("aspect"),X=_t("ease"),ie=_t("animate"),oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ue=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],le=()=>[...ue(),W,F],fe=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto","contain","none"],Y=()=>[W,F,g],ye=()=>[Yl,"full","auto",...Y()],et=()=>[jn,"none","subgrid",W,F],it=()=>["auto",{span:["full",jn,W,F]},jn,W,F],Me=()=>[jn,"auto",W,F],vt=()=>["auto","min","max","fr",W,F],$e=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ze=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...Y()],U=()=>[Yl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Y()],Q=()=>[Yl,"screen","full","dvw","lvw","svw","min","max","fit",...Y()],_e=()=>[Yl,"screen","full","lh","dvh","lvh","svh","min","max","fit",...Y()],K=()=>[a,W,F],S=()=>[...ue(),Ep,xp,{position:[W,F]}],j=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",eS,$1,{size:[W,F]}],I=()=>[Nu,Eo,Sa],ae=()=>["","none","full",p,W,F],se=()=>["",be,Eo,Sa],ve=()=>["solid","dashed","dotted","double"],tt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[be,Nu,Ep,xp],hn=()=>["","none",V,W,F],ze=()=>["none",be,W,F],pn=()=>["none",be,W,F],Ue=()=>[be,W,F],Mt=()=>[Yl,"full",...Y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[sl],breakpoint:[sl],color:[dg],container:[sl],"drop-shadow":[sl],ease:["in","out","in-out"],font:[K1],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[sl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[sl],shadow:[sl],spacing:["px",be],text:[sl],"text-shadow":[sl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yl,F,W,B]}],container:["container"],"container-type":[{"@container":["","normal","size",W,F]}],"container-named":[J1],columns:[{columns:[be,F,W,_]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:le()}],overflow:[{overflow:fe()}],"overflow-x":[{"overflow-x":fe()}],"overflow-y":[{"overflow-y":fe()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ye()}],"inset-x":[{"inset-x":ye()}],"inset-y":[{"inset-y":ye()}],start:[{"inset-s":ye(),start:ye()}],end:[{"inset-e":ye(),end:ye()}],"inset-bs":[{"inset-bs":ye()}],"inset-be":[{"inset-be":ye()}],top:[{top:ye()}],right:[{right:ye()}],bottom:[{bottom:ye()}],left:[{left:ye()}],visibility:["visible","invisible","collapse"],z:[{z:[jn,"auto",W,F]}],basis:[{basis:[Yl,"full","auto",_,...Y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,Yl,"auto","initial","none",F]}],grow:[{grow:["",be,W,F]}],shrink:[{shrink:["",be,W,F]}],order:[{order:[jn,"first","last","none",W,F]}],"grid-cols":[{"grid-cols":et()}],"col-start-end":[{col:it()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":et()}],"row-start-end":[{row:it()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":vt()}],"auto-rows":[{"auto-rows":vt()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...$e(),"normal"]}],"justify-items":[{"justify-items":[...Ze(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ze()]}],"align-content":[{content:["normal",...$e()]}],"align-items":[{items:[...Ze(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ze(),{baseline:["","last"]}]}],"place-content":[{"place-content":$e()}],"place-items":[{"place-items":[...Ze(),"baseline"]}],"place-self":[{"place-self":["auto",...Ze()]}],p:[{p:Y()}],px:[{px:Y()}],py:[{py:Y()}],ps:[{ps:Y()}],pe:[{pe:Y()}],pbs:[{pbs:Y()}],pbe:[{pbe:Y()}],pt:[{pt:Y()}],pr:[{pr:Y()}],pb:[{pb:Y()}],pl:[{pl:Y()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":Y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Y()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],"inline-size":[{inline:["auto",...Q()]}],"min-inline-size":[{"min-inline":["auto",...Q()]}],"max-inline-size":[{"max-inline":["none",...Q()]}],"block-size":[{block:["auto",..._e()]}],"min-block-size":[{"min-block":["auto",..._e()]}],"max-block-size":[{"max-block":["none",..._e()]}],w:[{w:[_,"screen",...U()]}],"min-w":[{"min-w":[_,"screen","none",...U()]}],"max-w":[{"max-w":[_,"screen","none","prose",{screen:[m]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",c,Eo,Sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,nS,I1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Nu,F]}],"font-family":[{font:[P1,F1,o]}],"font-features":[{"font-features":[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[u,W,F]}],"line-clamp":[{"line-clamp":[be,"none",W,wp]}],leading:[{leading:[d,...Y()]}],"list-image":[{"list-image":["none",W,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",W,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",W,Sa]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[be,"auto",W,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"tab-size":[{tab:[jn,W,F]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:j()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},jn,W,F],radial:["",W,F],conic:[jn,W,F]},tS,W1]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:ae()}],"rounded-s":[{"rounded-s":ae()}],"rounded-e":[{"rounded-e":ae()}],"rounded-t":[{"rounded-t":ae()}],"rounded-r":[{"rounded-r":ae()}],"rounded-b":[{"rounded-b":ae()}],"rounded-l":[{"rounded-l":ae()}],"rounded-ss":[{"rounded-ss":ae()}],"rounded-se":[{"rounded-se":ae()}],"rounded-ee":[{"rounded-ee":ae()}],"rounded-es":[{"rounded-es":ae()}],"rounded-tl":[{"rounded-tl":ae()}],"rounded-tr":[{"rounded-tr":ae()}],"rounded-br":[{"rounded-br":ae()}],"rounded-bl":[{"rounded-bl":ae()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-bs":[{"border-bs":se()}],"border-w-be":[{"border-be":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":se()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,W,F]}],"outline-w":[{outline:["",be,Eo,Sa]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",E,ir,ar]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",x,ir,ar]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[be,Sa]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",z,ir,ar]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[be,W,F]}],"mix-blend":[{"mix-blend":[...tt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[W,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ue()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:j()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",W,F]}],filter:[{filter:["","none",W,F]}],blur:[{blur:hn()}],brightness:[{brightness:[be,W,F]}],contrast:[{contrast:[be,W,F]}],"drop-shadow":[{"drop-shadow":["","none",q,ir,ar]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",be,W,F]}],"hue-rotate":[{"hue-rotate":[be,W,F]}],invert:[{invert:["",be,W,F]}],saturate:[{saturate:[be,W,F]}],sepia:[{sepia:["",be,W,F]}],"backdrop-filter":[{"backdrop-filter":["","none",W,F]}],"backdrop-blur":[{"backdrop-blur":hn()}],"backdrop-brightness":[{"backdrop-brightness":[be,W,F]}],"backdrop-contrast":[{"backdrop-contrast":[be,W,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,W,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,W,F]}],"backdrop-invert":[{"backdrop-invert":["",be,W,F]}],"backdrop-opacity":[{"backdrop-opacity":[be,W,F]}],"backdrop-saturate":[{"backdrop-saturate":[be,W,F]}],"backdrop-sepia":[{"backdrop-sepia":["",be,W,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Y()}],"border-spacing-x":[{"border-spacing-x":Y()}],"border-spacing-y":[{"border-spacing-y":Y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",W,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",W,F]}],ease:[{ease:["linear","initial",X,W,F]}],delay:[{delay:[be,W,F]}],animate:[{animate:["none",ie,W,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[$,W,F]}],"perspective-origin":[{"perspective-origin":le()}],rotate:[{rotate:ze()}],"rotate-x":[{"rotate-x":ze()}],"rotate-y":[{"rotate-y":ze()}],"rotate-z":[{"rotate-z":ze()}],scale:[{scale:pn()}],"scale-x":[{"scale-x":pn()}],"scale-y":[{"scale-y":pn()}],"scale-z":[{"scale-z":pn()}],"scale-3d":["scale-3d"],skew:[{skew:Ue()}],"skew-x":[{"skew-x":Ue()}],"skew-y":[{"skew-y":Ue()}],transform:[{transform:[W,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:le()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Mt()}],"translate-x":[{"translate-x":Mt()}],"translate-y":[{"translate-y":Mt()}],"translate-z":[{"translate-z":Mt()}],"translate-none":["translate-none"],zoom:[{zoom:[jn,W,F]}],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":K()}],"scrollbar-track-color":[{"scrollbar-track":K()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mbs":[{"scroll-mbs":Y()}],"scroll-mbe":[{"scroll-mbe":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pbs":[{"scroll-pbs":Y()}],"scroll-pbe":[{"scroll-pbe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W,F]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[be,Eo,Sa,wp]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},iS=U1(aS),oS=(...a)=>iS(ig(a)),sS=h1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8"}},defaultVariants:{variant:"default",size:"default"}}),vg=H.forwardRef(({className:a,variant:o,size:c,asChild:r=!1,...u},d)=>{const m=r?a1:"button";return y.jsx(m,{className:oS(sS({variant:o,size:c,className:a})),ref:d,...u})});vg.displayName="Button";const rS=1500,Sg=({url:a,label:o="Copy URL"})=>{const[c,r]=H.useState(!1),u=H.useRef(null);H.useEffect(()=>()=>{u.current!==null&&clearTimeout(u.current)},[]);const d=async()=>{await navigator.clipboard.writeText(a),r(!0),u.current!==null&&clearTimeout(u.current),u.current=setTimeout(()=>{r(!1),u.current=null},rS)};return y.jsx(vg,{type:"button",variant:"ghost",size:"sm",className:"console-copy-url-button","aria-label":c?"URL copied to clipboard":o,onClick:d,children:c?"Copied":"Copy URL"})},Cu=a=>{const o=Ti(a);return{color:o.fg,borderColor:o.border,backgroundColor:o.bg}},cS={MERGEABLE:{color:"GREEN",label:"No conflict",title:"This pull request has no merge conflicts",modifier:"console-detail-mergeable-chip-ok"},CONFLICTING:{color:"RED",label:"Conflict",title:"This pull request has merge conflicts",modifier:"console-detail-mergeable-chip-conflict"},UNKNOWN:{color:"GRAY",label:"Checking merge status",title:"GitHub has not finished computing the merge status yet",modifier:"console-detail-mergeable-chip-unknown"}},Tg=({mergeableStatus:a,isPassedAllCiJob:o,isCiStateSuccess:c,isBranchOutOfDate:r,missingRequiredCheckNames:u})=>{const d=o&&c,m=d?"GREEN":"RED",_=d?"CI passing":"CI failing",g=!d&&u.length>0?`missing: ${u.join(", ")}`:null,p=cS[a];return y.jsxs("span",{className:"console-detail-pr-status",children:[y.jsxs("span",{className:"console-detail-status-chip console-detail-ci-chip",style:Cu(m),title:g??_,children:[_,g!==null&&y.jsxs("span",{className:"console-detail-ci-missing",children:[" ","(",g,")"]})]}),y.jsx("span",{className:`console-detail-status-chip console-detail-mergeable-chip ${p.modifier}`,style:Cu(p.color),title:p.title,children:p.label}),r&&y.jsx("span",{className:"console-detail-status-chip console-detail-outofdate-chip",style:Cu("YELLOW"),title:"This branch is out of date with the base branch",children:"Out of date"})]})},uS=({pullRequest:a,body:o,bodyIsLoading:c,files:r,filesAreLoading:u,filesError:d,commits:m,commitsAreLoading:_,commitsError:g,now:p,buildImageProxyUrl:E,renderReferenceLink:x,onAddInlineComment:z})=>{const q=a.summary,V=u||d!==null?null:r.length,$=_||g!==null?null:m.length;return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"console-pr-header",children:[y.jsx("a",{href:a.url,className:"console-pr-section-title",target:"_blank",rel:"noopener noreferrer",children:(q==null?void 0:q.title)??a.url}),a.isDraft&&y.jsx("span",{className:"console-pr-section-state",children:"draft"}),y.jsx(Tg,{mergeableStatus:a.mergeableStatus,isPassedAllCiJob:a.isPassedAllCiJob,isCiStateSuccess:a.isCiStateSuccess,isBranchOutOfDate:a.isBranchOutOfDate,missingRequiredCheckNames:a.missingRequiredCheckNames}),y.jsx(Sg,{url:a.url,label:"Copy PR URL"}),y.jsxs("div",{className:"console-pr-statbar",children:[a.branchName!==null&&y.jsx("span",{className:"console-pr-branch",children:a.branchName}),q!==null&&y.jsxs(y.Fragment,{children:[y.jsxs("span",{className:"console-pr-add",children:["+",q.additions]}),y.jsxs("span",{className:"console-pr-del",children:["-",q.deletions]}),y.jsxs("span",{className:"console-pr-files-count",children:[q.changedFiles," files"]})]})]})]}),y.jsx(wa,{title:"Description",defaultCollapsed:!0,children:c?y.jsx("p",{className:"console-pr-body-loading",children:"Loading description..."}):y.jsx(dr,{body:(q==null?void 0:q.body)??o,buildImageProxyUrl:E,renderReferenceLink:x})}),y.jsx(wa,{title:"Changed files",count:V,children:y.jsx(ng,{files:r,isLoading:u,error:d,onAddInlineComment:z})}),y.jsx(wa,{title:"Commits",count:$,defaultCollapsed:!0,children:y.jsx(lg,{commits:m,isLoading:_,error:g,now:p})})]})},fS=({item:a,storyName:o,storyColorEnum:c,overlayStatus:r,state:u,body:d,bodyIsLoading:m,bodyError:_,comments:g,commentsAreLoading:p,commentsError:E,files:x,filesAreLoading:z,filesError:q,commits:V,commitsAreLoading:$,commitsError:B,pullRequestStatus:X,relatedPullRequests:ie,now:oe,commentComposer:ue,operationBar:le,buildImageProxyUrl:fe,renderReferenceLink:ee,onAddInlineComment:Y,buildAddInlineComment:ye})=>{const et=(u==null?void 0:u.state)??"open",it=(u==null?void 0:u.merged)??!1,Me=!a.isPr&&et==="closed"?"Closed":null,vt=Ti(c),$e=r?Ti(r.color):null,Ze=z||q!==null?null:x.length,O=p||E!==null?null:g.length,U=$||B!==null?null:V.length;return y.jsxs("article",{className:"console-detail",children:[o!==null&&y.jsx("div",{className:"console-detail-story",children:y.jsxs("span",{className:"console-storytag",children:[y.jsx("span",{className:"console-story-dot",style:{backgroundColor:vt.dot}}),o]})}),y.jsxs("h2",{className:"console-detail-title",children:[r!==null&&$e!==null&&y.jsx("span",{className:"console-detail-status-chip",style:{color:$e.fg,borderColor:$e.border,backgroundColor:$e.bg},children:r.name}),y.jsx(Bu,{isPr:a.isPr,state:et,merged:it,isDraft:!1,stateReason:""}),y.jsx("span",{className:"console-detail-title-text",children:a.title}),y.jsx("span",{className:"console-detail-number",children:a.isPr?`PR #${a.number}`:`#${a.number}`}),Me!==null&&y.jsx("span",{className:"console-detail-closed-label",children:Me})]}),a.isPr&&(X==null?void 0:X.found)&&y.jsx("div",{className:"console-detail-pr-status-row",children:y.jsx(Tg,{mergeableStatus:X.mergeableStatus,isPassedAllCiJob:X.isPassedAllCiJob,isCiStateSuccess:X.isCiStateSuccess,isBranchOutOfDate:X.isBranchOutOfDate,missingRequiredCheckNames:X.missingRequiredCheckNames})}),y.jsxs("div",{className:"console-detail-subbar",children:[y.jsx("a",{href:a.url,className:"console-detail-link",target:"_blank",rel:"noopener noreferrer",children:a.isPr?`PR #${a.number}`:`Issue #${a.number}`}),y.jsx("span",{className:"console-detail-repo",children:a.repo}),y.jsx("span",{className:"console-detail-pill",children:a.isPr?"PR":"Issue"}),y.jsx(Sg,{url:a.url})]}),a.labels.length>0&&y.jsx("div",{className:"console-detail-labels",children:a.labels.map(Q=>y.jsx("span",{className:"console-label-chip",children:Q},Q))}),y.jsxs("div",{className:"console-detail-createdat",title:Hu(a.createdAt),children:["opened ",zo(a.createdAt,oe)]}),y.jsx(wa,{title:"Description",headerAction:y.jsx("a",{href:a.url,className:"console-panel-open-link",target:"_blank",rel:"noopener noreferrer",children:"open"}),children:_!==null?y.jsxs("p",{role:"alert",className:"console-detail-body-error",children:["Failed to load description: ",_]}):m?y.jsx("p",{className:"console-detail-body-loading",children:"Loading description..."}):y.jsx(dr,{body:d,buildImageProxyUrl:fe,renderReferenceLink:ee})}),a.isPr&&y.jsx(wa,{title:"Changed files",count:Ze,children:y.jsx(ng,{files:x,isLoading:z,error:q,onAddInlineComment:Y})}),y.jsx(wa,{title:"Comments",count:O,defaultCollapsed:a.isPr,children:y.jsx(Wv,{comments:g,isLoading:p,error:E,now:oe,buildImageProxyUrl:fe,renderReferenceLink:ee})}),a.isPr&&y.jsx(wa,{title:"Commits",count:U,defaultCollapsed:!0,children:y.jsx(lg,{commits:V,isLoading:$,error:B,now:oe})}),!a.isPr&&ie.map(Q=>{var _e;return y.jsx(uS,{pullRequest:Q.pullRequest,body:((_e=Q.pullRequest.summary)==null?void 0:_e.body)??"",bodyIsLoading:!1,files:Q.files,filesAreLoading:Q.filesAreLoading,filesError:Q.filesError,commits:Q.commits,commitsAreLoading:Q.commitsAreLoading,commitsError:Q.commitsError,now:oe,buildImageProxyUrl:fe,renderReferenceLink:ee,onAddInlineComment:ye?ye(Q.pullRequest.url):void 0},Q.pullRequest.url)}),ue,y.jsx("div",{className:"console-actionbar",children:le})]})},dS=({onClose:a})=>y.jsxs("div",{className:"console-op-group",children:[y.jsx("button",{type:"button",className:"console-op-button",onClick:()=>a("close_not_planned"),children:"Close as not planned"}),y.jsx("button",{type:"button",className:"console-op-button",onClick:()=>a("close"),children:"Close"})]}),mS=({isTodoByHuman:a,onSetNextActionDate:o})=>y.jsxs("div",{className:"console-op-group",children:[y.jsx("button",{type:"button",className:"console-op-button console-op-button-snooze",onClick:()=>o("snooze_1day"),children:"+1 day"}),y.jsx("button",{type:"button",className:"console-op-button console-op-button-snooze",onClick:()=>o("snooze_1week"),children:a?"+1 week and skip":"+1 week"})]}),hS=[{action:"unnecessary",label:"Unnecessary",variant:"unneeded"},{action:"totally_wrong",label:"Totally wrong",variant:"wrong"},{action:"request_changes",label:"Reject",variant:"reject"},{action:"approve",label:"Approve",variant:"approve"}],pS=({onReview:a})=>y.jsx("div",{className:"console-op-group console-op-group-review",children:hS.map(o=>y.jsx("button",{type:"button",className:`console-op-button console-op-button-${o.variant}`,onClick:()=>a(o.action),children:o.label},o.action))}),gS=(a,o)=>{const c=o.toLowerCase();return a.find(r=>r.name.toLowerCase()===c)??null},_S=({statusOptions:a,onSetStatus:o,onSetInTmuxByHuman:c})=>{const r=My.map(u=>({name:u,option:gS(a,u)})).filter(u=>u.option!==null);return r.length===0?null:y.jsx("div",{className:"console-op-group",children:r.map(({name:u,option:d})=>{const m=Ti(d.color),_=u===Dy;return y.jsx("button",{type:"button",className:"console-op-button",style:{color:m.fg,borderColor:m.border,backgroundColor:m.bg},onClick:()=>_?c(d):o(d),children:d.name},d.id)})})},bS=a=>a.name.toLowerCase().includes("no story"),yS=({storyOptions:a,onSetStory:o})=>{const c=a.filter(r=>!bS(r));return c.length===0?null:y.jsx("div",{className:"console-op-group console-op-group-stories",children:c.map(r=>{const u=Ti(r.color);return y.jsx("button",{type:"button",className:"console-op-button",style:{color:u.fg,borderColor:u.border,backgroundColor:u.bg},onClick:()=>o(r),children:r.name},r.id)})})},vS=({tab:a,hasPullRequest:o,statusOptions:c,storyOptions:r,handlers:u})=>{const d=a==="triage";return y.jsxs("div",{className:"console-operation-bar",children:[o&&y.jsx(pS,{onReview:u.onReview}),y.jsx(mS,{isTodoByHuman:jy(a),onSetNextActionDate:u.onSetNextActionDate}),d&&y.jsx(yS,{storyOptions:r,onSetStory:u.onSetStory}),y.jsx(_S,{statusOptions:c,onSetStatus:u.onSetStatus,onSetInTmuxByHuman:u.onSetInTmuxByHuman}),y.jsx(dS,{onClose:u.onClose})]})},Ta=(a,o,c,r)=>{const u=o!==null?a.peek(o):void 0,[d,m]=H.useState(u??r),[_,g]=H.useState(o!==null&&u===void 0),[p,E]=H.useState(null);return H.useEffect(()=>{if(o===null||c===null)return;const x=a.peek(o);if(x!==void 0){m(x),g(!1),E(null);return}let z=!1;return g(!0),E(null),a.load(o,c).then(q=>{z||(m(q),g(!1))}).catch(q=>{z||(E(q instanceof Error?q.message:String(q)),g(!1))}),()=>{z=!0}},[a,o,c]),{data:d,isLoading:_,error:p}},SS=[],Ap=[],kp=[],TS=[],wS={state:"open",merged:!1,isPullRequest:!1,title:""},xS={found:!1,isConflicted:!1,mergeableStatus:"UNKNOWN",isPassedAllCiJob:!1,isCiStateSuccess:!1,isBranchOutOfDate:!1,missingRequiredCheckNames:[]},ES=(a,o)=>{const c=o!==null?`${o.repo}#${o.number}`:null,r=o!==null?o.url:null,u=(o==null?void 0:o.isPr)??!1,d=Ta(a.body,c,r,""),m=Ta(a.state,c,r,wS),_=Ta(a.comments,c,r,SS),g=Ta(a.files,u?c:null,u?r:null,Ap),p=Ta(a.commits,u?c:null,u?r:null,kp),E=Ta(a.prStatus,u?c:null,u?r:null,xS),x=Ta(a.relatedPrs,u?null:c,u?null:r,TS),[z,q]=H.useState([]);return H.useEffect(()=>{if(u||x.data.length===0){q([]);return}let V=!1;const $=x.data.map(X=>({pullRequest:X,files:Ap,filesAreLoading:!0,filesError:null,commits:kp,commitsAreLoading:!0,commitsError:null}));q($);const B=(X,ie)=>{V||q(oe=>oe.map(ue=>ue.pullRequest.url===X?{...ue,...ie}:ue))};for(const X of x.data){const ie=X.url;a.files.load(ie,X.url).then(oe=>B(X.url,{files:oe,filesAreLoading:!1})).catch(oe=>B(X.url,{filesAreLoading:!1,filesError:oe instanceof Error?oe.message:String(oe)})),a.commits.load(ie,X.url).then(oe=>B(X.url,{commits:oe,commitsAreLoading:!1})).catch(oe=>B(X.url,{commitsAreLoading:!1,commitsError:oe instanceof Error?oe.message:String(oe)}))}return()=>{V=!0}},[a,u,x.data]),{state:m.data,body:d.data,bodyIsLoading:d.isLoading,bodyError:d.error,comments:_.data,commentsAreLoading:_.isLoading,commentsError:_.error,files:g.data,filesAreLoading:g.isLoading,filesError:g.error,commits:p.data,commitsAreLoading:p.isLoading,commitsError:p.error,pullRequestStatus:u?E.data:null,relatedPullRequests:z}},AS=({href:a,fallbackText:o,state:c})=>c===null||c.title.trim()===""?y.jsx("a",{className:"console-markdown-reference console-markdown-reference-plain",href:a,target:"_blank",rel:"noopener noreferrer",children:o}):y.jsxs("a",{className:"console-markdown-reference",href:a,target:"_blank",rel:"noopener noreferrer",children:[y.jsx(Bu,{...Uv(c)}),y.jsx("span",{className:"console-markdown-reference-title",children:c.title})]}),kS=(a,o)=>{const[c,r]=H.useState(()=>a.peek(o)??null);return H.useEffect(()=>{const u=a.peek(o);if(u!==void 0){r(u);return}let d=!1;return r(null),a.load(o,o).then(m=>{d||r(m)}).catch(()=>{d||r(null)}),()=>{d=!0}},[a,o]),c},NS=({cache:a,href:o,fallbackText:c})=>{const r=kS(a,o);return y.jsx(AS,{href:o,fallbackText:c,state:r})},CS=({tab:a,item:o,caches:c,operations:r,statusOptions:u,storyOptions:d,storyColors:m,storyName:_,overlayStatus:g,now:p,onQueueAction:E})=>{const x=ES(c,o),{token:z}=ur(),q=H.useCallback(le=>d0(le,z),[z]),V=H.useCallback((le,fe)=>y.jsx(NS,{cache:c.state,href:le,fallbackText:fe}),[c.state]),$=o.isPr||x.relatedPullRequests.length>0,B=H.useCallback(le=>(fe,ee,Y,ye)=>r.addInlineReviewComment(le,fe,ee,Y,ye),[r]),X=H.useMemo(()=>B(o.url),[B,o.url]),ie={onReview:le=>{var ee;const fe=o.isPr?o.url:((ee=x.relatedPullRequests[0])==null?void 0:ee.pullRequest.url)??o.url;E({kind:{type:"review",action:le},item:o,commit:()=>r.reviewPullRequest(o,fe,le)})},onSetNextActionDate:le=>{E({kind:{type:"next_action_date",action:le},item:o,commit:()=>r.setNextActionDate(o,le)})},onSetStory:le=>{E({kind:{type:"set_story",optionName:le.name},item:o,commit:()=>r.setStory(o,le)})},onSetStatus:le=>{E({kind:{type:"set_status",optionName:le.name},item:o,commit:()=>r.setStatus(o,le)})},onSetInTmuxByHuman:le=>{E({kind:{type:"set_in_tmux_by_human",optionName:le.name},item:o,commit:()=>r.setInTmuxByHuman(o,le)})},onClose:le=>{E({kind:{type:"close",action:le},item:o,commit:()=>r.closeIssue(o,le)})}},oe=_??(o.story.trim()!==""?o.story:null),ue=oe!==null?Cp(m,oe):null;return y.jsx(fS,{item:o,storyName:oe,storyColorEnum:ue,overlayStatus:g,state:x.state,body:x.body,bodyIsLoading:x.bodyIsLoading,bodyError:x.bodyError,comments:x.comments,commentsAreLoading:x.commentsAreLoading,commentsError:x.commentsError,files:x.files,filesAreLoading:x.filesAreLoading,filesError:x.filesError,commits:x.commits,commitsAreLoading:x.commitsAreLoading,commitsError:x.commitsError,pullRequestStatus:x.pullRequestStatus,relatedPullRequests:x.relatedPullRequests,now:p,buildImageProxyUrl:q,renderReferenceLink:V,onAddInlineComment:o.isPr?X:void 0,buildAddInlineComment:B,commentComposer:y.jsx(Zv,{isPr:o.isPr,now:p,onSubmit:le=>r.addComment(o,le)}),operationBar:y.jsx(vS,{tab:a,item:o,hasPullRequest:$,statusOptions:u,storyOptions:d,handlers:ie})})},zS=()=>{const a={};for(const o of wn)a[o.name]=0;return a},OS="console",RS=()=>{const a=Iy(),{snapshots:o,isLoading:c,error:r}=i0(a),u=Jy(a??OS),d=H.useMemo(()=>{const U=zS();for(const Q of wn){const _e=o[Q.name];_e!==null&&(U[Q.name]=Hy(_e.items,u.overlay,Q.name))}return U},[o,u.overlay]),m=zy(a,d),{activeTab:_,selectedItemKey:g,openItem:p,closeItem:E,selectTab:x}=m,z=vy(),q=Xy(a,_,u,z),V=iy(),$=Date.now(),B=o[_],X=H.useMemo(()=>B===null?[]:By(B.items,u.overlay,_),[B,u.overlay,_]),ie=H.useMemo(()=>X.map(U=>rl(U)),[X]),oe=H.useMemo(()=>Xb(X,u.overlay),[X,u.overlay]),ue=(B==null?void 0:B.storyColors)??{},le=(B==null?void 0:B.statusOptions)??[],fe=(B==null?void 0:B.storyOptions)??[],ee=(B==null?void 0:B.generatedAt)??null,Y=H.useMemo(()=>g===null||B===null?null:B.items.find(U=>U.projectItemId===g)??null,[g,B]);Ay(z,Y,X),H.useEffect(()=>{g!==null&&window.scrollTo({top:0})},[g]);const ye=d[_],et=H.useRef({tab:_,count:ye});H.useEffect(()=>{const U=et.current;if(et.current={tab:_,count:ye},U.tab===_&&U.count>0&&ye===0){const Q=ky(_,d);Q!==null&&(x(Q),E())}},[_,ye,d,x,E]);const it=(()=>{if(Y===null)return null;const U=u.overlay[rl(Y)];return(U==null?void 0:U.status)??null})(),Me=Y!==null?zu(Y,u.overlay):null,vt=H.useCallback(U=>{const Q=o0(ie,U);Q!==null?p(Q):E()},[ie,p,E]),$e=H.useCallback(U=>{const Q=rl(U.item);V.enqueue({message:ny(U.kind,U.item,_),color:ey(U.kind),commit:U.commit,advance:()=>{ty(U.kind,_)&&vt(Q)}})},[V,_,vt]),Ze=H.useCallback(U=>{if(g===null||U===null)return;const Q=U==="next"?s0(ie,g):r0(ie,g);Q!==null&&p(Q)},[g,ie,p]),O=t0(Ze);return y.jsxs("main",{className:"console-app",children:[V.pending!==null&&y.jsx(Ib,{message:V.pending.message,color:V.pending.color,remainingSeconds:V.pending.remainingSeconds,progress:V.pending.progress,onUndo:V.undo}),V.error!==null&&y.jsx(Fb,{message:`Operation failed: ${V.error.reason}`,onDismiss:V.dismissError}),y.jsx(Yb,{activeTab:_,counts:d,pjcode:a,generatedAt:ee,tabHref:m.tabHref,onSelectTab:m.selectTab}),Y===null?y.jsx($b,{rows:oe,storyColors:ue,activeItemId:null,now:$,isLoading:c,error:r,onSelectItem:U=>m.openItem(U.projectItemId)}):y.jsx("div",{className:"console-detail-screen",ref:O,children:y.jsx(CS,{tab:_,item:Y,caches:z,operations:q,statusOptions:le,storyOptions:fe,storyColors:ue,storyName:Me,overlayStatus:it,now:$,onQueueAction:$e},Y.projectItemId)})]})},wg=document.getElementById("root");if(wg===null)throw new Error("Root container #root not found");Gb.createRoot(wg).render(y.jsx(H.StrictMode,{children:y.jsx(RS,{})}));
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>TDPM Console</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-Dx_VHaDe.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BMe1bEF4.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|