dsh-plugin-shop 0.9.0-beta.2 → 0.9.0-beta.3
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/lib/client.js +321 -321
- package/lib/index.js +13 -1
- package/lib/typert.host.js +10 -10
- package/lib/typert.remote-client.js +10 -10
- package/lib/types/host/index.d.ts +9 -0
- package/lib/types/host/plugin-manager.d.ts +5 -0
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -4531,7 +4531,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4531
4531
|
},
|
|
4532
4532
|
sourceLocation: {
|
|
4533
4533
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4534
|
-
"line":
|
|
4534
|
+
"line": 1314,
|
|
4535
4535
|
"column": 9
|
|
4536
4536
|
}
|
|
4537
4537
|
},
|
|
@@ -4550,7 +4550,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4550
4550
|
},
|
|
4551
4551
|
sourceLocation: {
|
|
4552
4552
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4553
|
-
"line":
|
|
4553
|
+
"line": 1821,
|
|
4554
4554
|
"column": 9
|
|
4555
4555
|
}
|
|
4556
4556
|
},
|
|
@@ -4569,7 +4569,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4569
4569
|
},
|
|
4570
4570
|
sourceLocation: {
|
|
4571
4571
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4572
|
-
"line":
|
|
4572
|
+
"line": 1812,
|
|
4573
4573
|
"column": 9
|
|
4574
4574
|
}
|
|
4575
4575
|
},
|
|
@@ -4599,7 +4599,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4599
4599
|
},
|
|
4600
4600
|
sourceLocation: {
|
|
4601
4601
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4602
|
-
"line":
|
|
4602
|
+
"line": 1440,
|
|
4603
4603
|
"column": 9
|
|
4604
4604
|
}
|
|
4605
4605
|
},
|
|
@@ -4628,7 +4628,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4628
4628
|
},
|
|
4629
4629
|
sourceLocation: {
|
|
4630
4630
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4631
|
-
"line":
|
|
4631
|
+
"line": 1788,
|
|
4632
4632
|
"column": 3
|
|
4633
4633
|
}
|
|
4634
4634
|
},
|
|
@@ -4647,7 +4647,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4647
4647
|
},
|
|
4648
4648
|
sourceLocation: {
|
|
4649
4649
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4650
|
-
"line":
|
|
4650
|
+
"line": 2072,
|
|
4651
4651
|
"column": 9
|
|
4652
4652
|
}
|
|
4653
4653
|
},
|
|
@@ -4676,7 +4676,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4676
4676
|
},
|
|
4677
4677
|
sourceLocation: {
|
|
4678
4678
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4679
|
-
"line":
|
|
4679
|
+
"line": 966,
|
|
4680
4680
|
"column": 9
|
|
4681
4681
|
}
|
|
4682
4682
|
},
|
|
@@ -4706,7 +4706,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4706
4706
|
},
|
|
4707
4707
|
sourceLocation: {
|
|
4708
4708
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4709
|
-
"line":
|
|
4709
|
+
"line": 1966,
|
|
4710
4710
|
"column": 9
|
|
4711
4711
|
}
|
|
4712
4712
|
},
|
|
@@ -4735,7 +4735,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4735
4735
|
},
|
|
4736
4736
|
sourceLocation: {
|
|
4737
4737
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4738
|
-
"line":
|
|
4738
|
+
"line": 2179,
|
|
4739
4739
|
"column": 9
|
|
4740
4740
|
}
|
|
4741
4741
|
},
|
|
@@ -4754,7 +4754,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4754
4754
|
},
|
|
4755
4755
|
sourceLocation: {
|
|
4756
4756
|
"file": "packages/dsh-plugin-shop/src/host/index.ts",
|
|
4757
|
-
"line":
|
|
4757
|
+
"line": 2136,
|
|
4758
4758
|
"column": 9
|
|
4759
4759
|
}
|
|
4760
4760
|
}
|
|
@@ -8417,136 +8417,136 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8417
8417
|
if (typeof held?.dispose === "function") held.dispose();
|
|
8418
8418
|
}
|
|
8419
8419
|
//#endregion
|
|
8420
|
-
//#region \0dsh-plugin-shop-css:
|
|
8421
|
-
const css = "/* Shop styles — the shop's own page with its market shelf, and the shop's two\n * buttons on dsh's Plugins page. Every variable read here is a dsh theme\n * alias token (`--dsw-alias-*`), one of the shop's own properties declared in\n * this file (`--shop-*`, `--category-hue`, `--switch-hue`, `--track-hue`), or\n * one of two dsh variables outside the alias set, each read where the shop\n * copies dsh: `--dsh-frame-top-clearance`, so the page head clears the\n * desktop frame as dsh's own pages do, and `--dsw-radius-sm`, because the\n * Plugins page buttons copy dsh's Button (0.1.5-rc.3 lacks that token, and\n * has no Plugins page to draw them on). `state-error` and\n * `state-success` do not exist, so the state-*-primary set stands in for\n * them (measured 2026-10-17 on dsh 0.1.5-rc.3, 0.1.7-rc.2 and 0.2.0-rc.2,\n * which do define `bg-layer-3` and `interactive-bg-hover`, once listed here\n * as missing). The signature is the category spine: one HUE per\n * category (seven fixed hues, not the brand token — the brand resolves to\n * near-black in the light theme, so seven brand opacities read as seven\n * shades of gray), with the category name as the cover label in the same hue. Class names are mapped to content-derived names at bundle time\n * (tsdown.sa584e5_client.s18f7ee_config.s39f74c_ts) and stubbed in tests; only the keys are relied\n * on.\n *\n * One token rule the theme forces: the background LAYERS do not carry\n * contrast. In the light theme bg-base, bg-layer-1, bg-layer-2 and\n * bg-layer-3 all resolve to the same white; only the dark theme spreads them\n * (950/875/850/800). So a layer-2 fill on a layer-1 ground is invisible for\n * half of all users, and anything whose fill is its ONLY affordance — the\n * loading skeleton, the borderless capability chips — derives its fill from\n * label-primary instead, which inverts with the theme by construction.\n * Elements that also carry a border or text may keep a layer fill.\n * `css-tokens.sa584e5_client.sf107cf_spec.s39f74c_ts` pins this. */\n\n.s8de901_panel {\n display: flex;\n flex-direction: column;\n gap: 14px;\n /* The two reds every red text in this tab is painted with. dsh's error red\n * is #ec1313 in the light theme, which measures 4.498:1 as text on white —\n * a miss of two thousandths — and 3.57:1 on the badge's own 14% red fill\n * (4.00:1 in dark). Mixing it toward label-primary fixes both, because\n * label-primary is the theme's foreground pole: it darkens the red on light\n * surfaces and lightens it on dark ones. Measured in the live app: 90% of\n * the red is 5.30:1 on white and 5.29:1 on the dark card, and 80% is\n * 4.98:1 on the badge's tint, 4.92:1 in dark. Computed: 90% is 6.14:1 on\n * the dark page itself (#151517, `bg-base`), where the self-update's\n * failure heading sits (4.69:1 on Settings' #2c2c2e, its ground through\n * 0.8.7), and 80% is 5.23:1 on the uninstall button's 10% hover fill.\n * Declared here, on the tab root, because a custom property inherits: one\n * declaration reaches every red element, and a new one cannot be\n * forgotten. */\n --shop-error: color-mix(in srgb, var(--dsw-alias-state-error-primary) 90%, var(--dsw-alias-label-primary));\n --shop-error-on-tint: color-mix(in srgb, var(--dsw-alias-state-error-primary) 80%, var(--dsw-alias-label-primary));\n /* The amber and the green, mixed the same way for the same reason. dsh's\n * warn #f59e0b and success #22c55e are one value in both themes and pass\n * in the dark one, but as text on white they measure 2.15:1 and 2.28:1.\n * Each derived colour keeps the largest multiple of ten of its hue that\n * clears every surface it paints, as the reds do. Computed from the live\n * tokens over every bg layer in both themes: amber at 60% is 4.95:1 on a\n * plain surface but 4.44:1 on its own 14% tint, so text on an amber tint\n * takes 50% (5.66:1); green at 60% is 5.18:1 plain and 4.60:1 on its 14%\n * tint, so one green serves both. */\n --shop-warn: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 60%, var(--dsw-alias-label-primary));\n --shop-warn-on-tint: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 50%, var(--dsw-alias-label-primary));\n --shop-success: color-mix(in srgb, var(--dsw-alias-state-success-primary) 60%, var(--dsw-alias-label-primary));\n /* The shelf never scrolls sideways: a card too wide for its track wraps\n * its badges rather than widening the panel.\n *\n * Clipped on BOTH axes, with a margin, because `.s3e432c_searchInput` sits at\n * exactly (0, 0) of this box — it is the first child of `.s9a1d55_toolbar`, itself\n * the first child here, and this rule carries no padding — so its focus\n * ring paints ENTIRELY outside the panel.\n *\n * Both axes is the load-bearing part: `overflow-clip-margin` is inert\n * unless the element clips on both. Clipping x alone left the margin doing\n * nothing — measured against the live app on 0.7.1, the ring reached 0 of\n * its 3px on the left at every device pixel ratio (1, 1.25, 1.5, 2), while\n * keeping the full 3px on the right, where the 280px input stops short of\n * the panel and never meets the clip edge. Raising the margin to 6px\n * changed nothing; clipping both axes with the SAME 3px restored the whole\n * ring. A test that reads declarations cannot see that difference, which is\n * why the first attempt at this shipped broken.\n *\n * `clip` is not a scroll container, so this does not bring back the\n * accidental scrolling `hidden` caused by coercing the other axis to\n * `auto`. Nothing is lost vertically: the panel's scrollHeight equals its\n * height and no descendant paints outside the clip rect (measured).\n * `overflow-x: hidden` stays as the fallback for engines without `clip`,\n * where the ring is clipped as it was before, never worse. */\n overflow-x: hidden;\n overflow: clip;\n overflow-clip-margin: 3px;\n}\n\n/* The shop's own page in dsh's main column (design\n * 2026-10-16-shop-sidebar-page §4.2), framed as dsh 0.2.0-rc.2 frames its\n * Plugins page — read from that page's stylesheet: the page is the scroll\n * container, its children one centred column of at most 960px, and the head\n * clears the desktop title bar. One declaration is the shop's own, `color`:\n * dsh's `.sa6404f_page` inherits its colour from the shell around it, and the shop's\n * root is not inside dsh's panel stylesheet, so the shop's page states it. */\n.sa6404f_page {\n box-sizing: border-box;\n height: 100%;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 32px;\n padding: 0 clamp(24px, 4vw, 48px) 48px;\n color: var(--dsw-alias-label-primary);\n}\n\n.sa6404f_page > * {\n width: 100%;\n max-width: 960px;\n}\n\n.scab2f9_pageHead {\n box-sizing: border-box;\n padding-top: calc(28px + var(--dsh-frame-top-clearance, 0px));\n}\n\n.sc4a729_pageTitle {\n margin: 0;\n font-size: 20px;\n font-weight: 500;\n line-height: 28px;\n}\n\n/* Secondary, as dsh's own intro: 5.80:1 on the light theme's white. */\n.s14e198_pageIntro {\n margin: 4px 0 0;\n font-size: 13px;\n line-height: 20px;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* The two buttons on dsh's Plugins page (design 2026-10-16-shop-sidebar-page\n * §7), drawn as that page draws its own small outline buttons beside them —\n * dsh 0.2.0-rc.2's Button, sm + outline: 28px tall, 12px text on an 18px\n * line, 10px of side padding, the small radius, the neutral stroke. That\n * stroke is 0.5px in dsh and 1px here: every border in this stylesheet is,\n * and Chromium paints 0.5px as 1px at every ratio measured. */\n.sd04f34_detailAction {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 28px;\n padding: 0 10px;\n border: 1px solid var(--dsw-alias-border-l3);\n border-radius: var(--dsw-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-primary);\n font-size: 12px;\n line-height: 18px;\n cursor: pointer;\n}\n\n.sd04f34_detailAction:hover {\n background: var(--dsw-alias-interactive-bg-hover);\n}\n\n.sd04f34_detailAction:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n.sfb4615_stateLine {\n margin: 0;\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n}\n\n/* Visually hidden but screen-reader readable (the loading copy while the\n * skeleton stands in visually). */\n.s43702a_srOnly {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n overflow: hidden;\n white-space: nowrap;\n}\n\n/* The loading shelf: ghost cards with the same geometry as the real grid, so\n * the swap to content is a same-shape handoff instead of a jump. */\n.se66364_skeletonGrid {\n display: grid;\n grid-template-columns: 1fr;\n gap: 8px;\n}\n\n.s41d8a9_skeletonCard {\n position: relative;\n display: flex;\n flex-direction: column;\n border: 1px solid var(--dsw-alias-border-l1);\n border-radius: 10px;\n background: var(--dsw-alias-bg-layer-1);\n overflow: hidden;\n}\n\n/* The shimmer sweep: one gradient band travels across each ghost card while\n * the bars breathe, so the loading state reads as \"the shelf is scanning\". */\n.s41d8a9_skeletonCard::after {\n content: '';\n position: absolute;\n inset: 0;\n background: linear-gradient(\n 100deg,\n transparent 25%,\n color-mix(in srgb, var(--dsw-alias-label-primary) 14%, transparent) 50%,\n transparent 75%\n );\n transform: translateX(-100%);\n animation: dshShopSkeletonSweep 1.4s ease-in-out infinite;\n pointer-events: none;\n}\n\n@keyframes dshShopSkeletonSweep {\n to { transform: translateX(100%); }\n}\n\n.sbad351_skeletonName {\n width: 55%;\n height: 14px;\n margin: 10px 12px 0;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n.sb2be83_skeletonSummary {\n width: 92%;\n height: 12px;\n margin: 10px 12px 0;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n.s67c868_skeletonSummaryShort {\n width: 68%;\n height: 12px;\n margin: 6px 12px 10px;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n/* The ghost of the action line, right where the real buttons land. */\n.sbcd6ff_skeletonActions {\n display: block;\n width: 84px;\n height: 24px;\n margin: 0 12px 10px;\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n.s41d8a9_skeletonCard span {\n animation: dshShopSkeletonPulse 1.6s ease-in-out infinite;\n}\n\n@keyframes dshShopSkeletonPulse {\n 0%, 100% { opacity: 0.5; }\n 50% { opacity: 1; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .s41d8a9_skeletonCard span { animation: none; opacity: 0.75; }\n .s41d8a9_skeletonCard::after { content: none; }\n}\n\n.s602b18_actionButton {\n align-self: flex-start;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n cursor: pointer;\n}\n\n.s602b18_actionButton:hover {\n border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l2));\n color: var(--dsw-alias-brand-primary);\n}\n\n.s602b18_actionButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n.s9a1d55_toolbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n.se2add9_toolbarRight {\n display: flex;\n align-items: center;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n/* The shop's own version, right of the search box: `v0.4.4`, plus the\n * update button when the version check found a newer release. */\n.sf1bc7d_versionBlock {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.seba9a7_versionText {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s8c1ada_updateSelfButton {\n padding: 2px 10px;\n border: 1px solid var(--dsw-alias-brand-primary);\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 12%, transparent);\n color: var(--dsw-alias-brand-primary);\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n}\n\n.s8c1ada_updateSelfButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 20%, transparent);\n}\n\n.s8c1ada_updateSelfButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The on-demand re-check next to the version number: a quiet pill; the\n * border and text carry it in the light theme where bg layers are white. */\n.s82f241_checkUpdateButton {\n padding: 2px 10px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n cursor: pointer;\n}\n\n.s82f241_checkUpdateButton:hover {\n border-color: var(--dsw-alias-label-secondary);\n color: var(--dsw-alias-label-primary);\n}\n\n.s82f241_checkUpdateButton:disabled {\n opacity: 0.6;\n cursor: default;\n}\n\n.s82f241_checkUpdateButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The project's GitHub mark, right of the version row: a quiet icon link.\n * The octocat carries itself — color shift on hover, no text, no border. */\n.s1e95bf_githubLink {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 3px;\n border-radius: 6px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s1e95bf_githubLink:hover {\n color: var(--dsw-alias-label-primary);\n background: var(--dsw-alias-bg-layer-2);\n}\n\n.s1e95bf_githubLink:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The self-update's expanded states (running log / done + restart /\n * failure detail) sit under the toolbar, above the category bar. */\n.s91bcc4_selfUpdatePanel {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 8px;\n}\n\n.s3e432c_searchInput {\n width: min(280px, 100%);\n padding: 6px 10px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n background: var(--dsw-alias-bg-layer-1);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n}\n\n.s3e432c_searchInput:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* Subdued line under the search box when a dictionary intent fired (design\n * 2026-10-08-search-query-expansion §4). One fact, no badge. */\n.s712943_expansionNote {\n margin: 4px 0 0;\n font-size: 12px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sf2024f_staleBadge {\n padding: 2px 8px;\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary) 40%, transparent);\n color: var(--shop-warn-on-tint);\n font-size: 12px;\n}\n\n.s630e95_categoryBar {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin-top: 6px;\n}\n\n.s4575ba_categoryButton {\n /* The hue this button carries when selected. `All` and `Installed` select by\n * something other than a category and keep the brand token; the six category\n * buttons override it from the shared hue table below, so a pressed Tool tab\n * turns the same blue as a tool card's spine. */\n --category-hue: var(--dsw-alias-brand-primary);\n padding: 3px 10px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-1);\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n cursor: pointer;\n}\n\n/* Blend text with the theme foreground: darker on light backgrounds, lighter\n * on dark ones. The unblended category hue belongs on the border and fill. */\n.s4575ba_categoryButton:hover {\n border-color: color-mix(in srgb, var(--category-hue) 45%, var(--dsw-alias-border-l2));\n color: color-mix(in srgb, var(--category-hue) 45%, var(--dsw-alias-label-primary) 55%);\n}\n\n/* Selected. Written `.s4575ba_categoryButton.s7c5955_categoryButtonOn` — TWO classes — so it\n * matches `.s4575ba_categoryButton:hover`'s specificity and, coming after it, wins.\n * As a bare `.s7c5955_categoryButtonOn` it lost both `border-color` and `color` to the\n * hover rule for as long as the pointer stayed on the tab that had just been\n * clicked, which is precisely when a reader looks for confirmation.\n *\n * EVERY declaration here is a colour: a pressed tab must occupy exactly the\n * same box as an unpressed one, so the bar does not reflow — and with ~9 pills\n * on a wrapping row, one that grows can push the rest onto another line and\n * move the tab out from under the pointer that just clicked it. That is what\n * `font-weight: 600` did (bold metrics are wider than regular), and it is why\n * nothing may be added here that resolves to a length: no padding, no\n * border-width, no font-size, no letter-spacing. `css-tokens.sa584e5_client.sf107cf_spec.s39f74c_ts`\n * fails the build on one.\n *\n * Nor a second line. An inset ring once doubled this border, and every control\n * in the stylesheet now draws exactly one 1px line, which is also the thinnest\n * the host paints (Chromium draws 0.5px as 1px). What separates pressed from\n * unpressed is lightness instead of thickness: the border is the hue mixed 30%\n * toward label-primary, the theme's foreground pole, so it clears 3:1 against\n * the bar in both themes for every hue — the raw hue measured 1.86:1 on white\n * for `ui` — and the fill under it is 22% of the hue. The `other` tab is the\n * case this is for: its hue IS the neutral gray this file uses for \"no\n * category\", so on the light theme the hue alone barely separates the two. */\n.s4575ba_categoryButton.s7c5955_categoryButtonOn {\n border-color: color-mix(in srgb, var(--category-hue) 70%, var(--dsw-alias-label-primary));\n background: color-mix(in srgb, var(--category-hue) 22%, transparent);\n color: color-mix(in srgb, var(--category-hue) 45%, var(--dsw-alias-label-primary) 55%);\n}\n\n/* Forced colours replace every colour above with the system palette, which\n * would leave the three colour declarations saying nothing and the pressed tab\n * indistinguishable from its neighbours, so this mode alone gets an outline. */\n@media (forced-colors: active) {\n .s4575ba_categoryButton.s7c5955_categoryButtonOn {\n outline: 2px solid ButtonText;\n outline-offset: -4px;\n }\n}\n\n.s4575ba_categoryButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The incompatible filter, at the right edge of the category bar: `margin-left:\n * auto` pushes it past the pills, and the bar wraps, so on a narrow panel it\n * drops to its own line rather than squeezing them. It is a MODIFIER, not a\n * ninth category — the categories select what to show and this one subtracts\n * from whatever they selected — so it takes the error hue it filters on rather\n * than joining the hue table.\n *\n * And it is a SWITCH, which is the difference the shape now carries. It used\n * to wear `.s4575ba_categoryButton`: same pill, same row, same size as the eight tabs,\n * differing only in being red. That reads as a ninth tab, and it is not one —\n * the tabs are choose-one and this is on-or-off. So it drops the pill chrome\n * entirely (no border, no fill, nothing to compete with the row it sits\n * beside) and puts the state in a track, the same one every installed card\n * carries. Nothing here restates the switch geometry; `--switch-hue` is the\n * whole of what this control says about it, and it reaches the label too, so\n * one declaration keeps the word and the track the same colour. */\n.sc56af2_incompatibleFilter {\n --switch-hue: var(--dsw-alias-state-error-primary);\n margin-left: auto;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n /* Matches the pills' vertical padding so the bar keeps one line box whether\n * this control wraps onto a row of its own or shares theirs. */\n padding: 3px 0;\n border: 0;\n background: none;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n cursor: pointer;\n}\n\n/* Hover lifts the word to full contrast and warms the track's border. Scoped\n * to the OFF track: `.sc56af2_incompatibleFilter:hover .s247428_switch` outranks `.se62fac_switchOn`\n * by two classes, so unscoped it would strip the hue from the border at\n * exactly the moment a reader has the pointer on it to check the state. */\n.sc56af2_incompatibleFilter:hover {\n color: var(--dsw-alias-label-primary);\n}\n\n.sc56af2_incompatibleFilter:hover .s247428_switch:not(.se62fac_switchOn) {\n border-color: color-mix(in srgb, var(--switch-hue) 45%, var(--dsw-alias-border-l2));\n}\n\n/* On. Written with both classes for the reason `.s4575ba_categoryButton.s7c5955_categoryButtonOn`\n * is: it has to match `:hover`'s specificity and come after it, or the colour\n * reverts under a pointer that has not moved since the click. */\n.sc56af2_incompatibleFilter.s46063b_incompatibleFilterOn {\n color: color-mix(in srgb, var(--switch-hue) 45%, var(--dsw-alias-label-primary) 55%);\n}\n\n/* Off here means \"nothing is being taken away\" — the resting state — so the\n * knob steps back to the secondary label. The enable switch keeps the full\n * strength dot, where off means \"this plugin is disabled\" and is worth\n * noticing. In this bar it would be the heaviest mark in a row of hairline\n * pills, and on the light theme it is the WHOLE control: bg-layer-2 is the\n * same white as the panel there, so an off track is a hairline outline with a\n * near-black dot sitting in it. */\n.sc56af2_incompatibleFilter .s247428_switch:not(.se62fac_switchOn) .se0ac0b_switchKnob {\n background: var(--dsw-alias-label-secondary);\n}\n\n/* The ring has no border to trace, so it takes an offset and the pill radius\n * of the tabs it sits beside rather than hugging the text. */\n.sc56af2_incompatibleFilter:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 2px;\n border-radius: 999px;\n}\n\n.s622eb2_updatableHeading {\n margin: 2px 0 0;\n font-size: 16px;\n font-weight: 600;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-primary);\n}\n\n.s7ef365_catalogStatsRow {\n display: flex;\n align-items: center;\n /* The row holds the catalog line, the refresh button and the shelf order's\n * three pills (design 2026-10-12-shelf-orders §4). Without wrapping, the\n * last of them overflows the tab at a narrow width. */\n flex-wrap: wrap;\n gap: 10px;\n margin: 6px 0 0;\n}\n\n/* The shelf's order control, at the right end of the stats row. `margin-left:\n * auto` is what puts it there while the line and the refresh button stay\n * left — and it is safe on a wrapping row, unlike a width. */\n.sa2f85b_sortGroup {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-left: auto;\n}\n\n.s9d1f07_sortLabel {\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n}\n\n.sd5812b_catalogStats {\n margin: 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* Sits beside the 12px stats caption, so it is quieter than `.s602b18_actionButton`:\n * this is an affordance, not a call to action — the catalog reloads on its\n * own at mount and the shelf is already usable without it. Named\n * `catalogRefresh*` (not `reload*`) so it cannot collide with the §4 page\n * reload offer below, which reloads the whole tab rather than refetching\n * the catalog data. */\n.sc01148_catalogRefreshButton {\n padding: 1px 9px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n font-size: 11px;\n line-height: 17px;\n cursor: pointer;\n}\n\n.sc01148_catalogRefreshButton:hover:not(:disabled) {\n border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l2));\n color: var(--dsw-alias-brand-primary);\n}\n\n.sc01148_catalogRefreshButton:disabled {\n cursor: default;\n opacity: 0.6;\n}\n\n.sc01148_catalogRefreshButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n.s7acae8_catalogRefreshFailed {\n font-size: 11px;\n color: var(--shop-warn);\n}\n\n.saec8bc_emptyLine {\n margin: 0;\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n}\n\n/* The shelf: a responsive grid of cards. */\n/* Single-line rows: one full-width column, one plugin per line. */\n.sc932e7_cards {\n display: grid;\n grid-template-columns: 1fr;\n max-width: 100%;\n gap: 8px;\n list-style: none;\n margin: 0;\n padding: 0;\n animation: dshShopCardsIn 220ms ease;\n}\n\n@keyframes dshShopCardsIn {\n from { opacity: 0; transform: translateY(3px); }\n to { opacity: 1; transform: none; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .sc932e7_cards { animation: none; }\n}\n\n.s341f40_card {\n position: relative;\n display: flex;\n flex-direction: column;\n /* A grid item's min-width is auto by default: its content would widen the\n * 1fr track past the panel and overflow horizontally. */\n min-width: 0;\n border: 1px solid var(--dsw-alias-border-l1);\n border-radius: 10px;\n background: var(--dsw-alias-bg-layer-1);\n overflow: hidden;\n transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;\n /* Off-screen cards skip layout and paint; the placeholder keeps scrollbar\n * estimation sane before the browser has measured the real height. */\n content-visibility: auto;\n contain-intrinsic-size: auto 140px;\n}\n\n/* The sentinel that triggers the next shelf batch: zero visual footprint. */\n.sd43e97_cardsSentry {\n height: 1px;\n margin: 0;\n padding: 0;\n}\n\n.sb9f4b3_showingLine {\n margin: 0;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s341f40_card:hover {\n border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l1));\n transform: translateY(-1px);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--dsw-alias-brand-primary) 12%, transparent);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .s341f40_card { transition: none; }\n .s341f40_card:hover { transform: none; }\n}\n\n/* The signature: a spine and cover in the category's own hue. The hues are\n * fixed mid-bright colors that read on both themes; `other` deliberately\n * stays a neutral gray so the fallback category does not compete. */\n.s3a0d45_cardSpine {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 3px;\n background: var(--category-hue, #8B8E96);\n}\n\n/* The hue table, keyed by `data-category` and read by BOTH surfaces that\n * speak in category colour: a card's spine and badge, and the category bar's\n * own tab. One table, so a tab can never disagree with the cards it filters to\n * — which is the whole point of colouring the tab. `.s4575ba_categoryButton` sets the\n * brand fallback for `All`/`Installed`; these attribute selectors are one\n * specificity step above it and win wherever the attribute is present. */\n.s341f40_card[data-category='tool'], .s4575ba_categoryButton[data-category='tool'] { --category-hue: #4C8DFF; }\n.s341f40_card[data-category='provider'], .s4575ba_categoryButton[data-category='provider'] { --category-hue: #A78BFA; }\n.s341f40_card[data-category='ui'], .s4575ba_categoryButton[data-category='ui'] { --category-hue: #2DD4BF; }\n.s341f40_card[data-category='workflow'], .s4575ba_categoryButton[data-category='workflow'] { --category-hue: #F59E0B; }\n.s341f40_card[data-category='integration'], .s4575ba_categoryButton[data-category='integration'] { --category-hue: #34D399; }\n.s341f40_card[data-category='theme'], .s4575ba_categoryButton[data-category='theme'] { --category-hue: #F472B6; }\n.s341f40_card[data-category='other'], .s4575ba_categoryButton[data-category='other'] { --category-hue: #8B8E96; }\n\n/* The category sits in the badge row as a quiet chip in the category's own\n * hue — the border carries it where the light theme's white layers cannot\n * (the same lesson as the check button). */\n.s5e7fbd_categoryBadge {\n padding: 1px 7px;\n border: 1px solid color-mix(in srgb, var(--category-hue, #8B8E96) 45%, transparent);\n border-radius: 999px;\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--category-hue, #8B8E96);\n white-space: nowrap;\n}\n\n.s72c02a_entryHeader {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 12px;\n min-width: 0;\n padding: 8px 12px 2px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: left;\n cursor: pointer;\n}\n\n.s72c02a_entryHeader:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: -2px;\n}\n\n/* The name fills the row and truncates rather than wraps; the badges stay\n * intact beside it. */\n.s54a911_name {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 13px;\n font-weight: 600;\n flex: 1 1 auto;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: var(--dsw-alias-label-primary);\n}\n\n.sa76f21_badges {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px;\n}\n\n/* The action line: buttons side by side; an active install/uninstall flow\n * (gate, log, notices) takes the full width below them. */\n.sca19d2_cardActions {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n padding: 8px 12px 10px;\n}\n\n.sca19d2_cardActions > .s14145c_gate,\n.sca19d2_cardActions > .s170b01_installPanel,\n.sca19d2_cardActions > .sd9c8c5_installedActions {\n flex-basis: 100%;\n}\n\n/* The entry's version, always visible on the card (the expanded detail\n * repeats it in the version row) — the same quiet mono as the toolbar. */\n.sf0e287_cardVersion {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n /* A release tag prints as tagged, never cut to seven characters (market\n * borrowings §11), and a tag can run to any length. The cap keeps every\n * tag of up to fourteen characters whole, prerelease suffix included\n * (`v0.1.0-alpha.0`): fourteen glyphs plus the letter-spacing above come to\n * about 14.5ch, so the cap is 15ch, not 14. A longer tag ends in an ellipsis,\n * and the tooltip carries the whole of it. */\n max-width: 15ch;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The octocat marking a source the reader can read on GitHub, beside the\n * card's version. */\n.s75ac5c_sourceBadge {\n display: inline-flex;\n align-items: center;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s861686_tierBadge {\n padding: 1px 7px;\n border-radius: 999px;\n font-size: 11px;\n line-height: 1.6;\n}\n\n.s861686_tierBadge[data-tier='verified'] {\n color: var(--shop-success);\n background: color-mix(in srgb, var(--dsw-alias-state-success-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-success-primary) 40%, transparent);\n}\n\n.s861686_tierBadge[data-tier='verified-stale'] {\n color: var(--shop-warn-on-tint);\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary) 40%, transparent);\n}\n\n.s861686_tierBadge[data-tier='community'] {\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n border: 1px solid var(--dsw-alias-border-l2);\n}\n\n/* The §C10 shadowed badge: an installed github entry the catalog refuses\n * shadowed-by-npm. Subdued/secondary rather than a warn tint — nothing is\n * wrong with the install itself; the shelf just cannot show it. */\n.s861686_tierBadge[data-tier='shadowed'] {\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n border: 1px solid var(--dsw-alias-border-l2);\n}\n\n/* The §C5 archived badge: a github repository the owner has frozen.\n * Subdued register, same as shadowed — nothing is wrong with the install;\n * the pinned commit still serves, so the mark is informational only. */\n.s861686_tierBadge[data-tier='archived'] {\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n border: 1px solid var(--dsw-alias-border-l2);\n}\n\n.s8474c5_incompatibleBadge {\n flex-shrink: 0;\n padding: 3px 9px;\n border-radius: 999px;\n font-size: 12px;\n white-space: nowrap;\n /* On the tint, not on the plain surface: this text reads on its own 14% red\n * fill, where the 90% red would measure 4.21:1 (light) and 4.43:1 (dark). */\n color: var(--shop-error-on-tint);\n background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 40%, transparent);\n}\n\n.s3269e3_starsBadge {\n font-size: 11px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sb3efb0_chevron, .s712bfa_chevronOpen {\n color: var(--dsw-alias-label-secondary);\n transition: transform 120ms ease;\n}\n\n.s712bfa_chevronOpen { transform: rotate(180deg); }\n\n@media (prefers-reduced-motion: reduce) {\n .sb3efb0_chevron, .s712bfa_chevronOpen { transition: none; }\n}\n\n.sa23bba_body {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 0 12px;\n}\n\n.s330087_summary {\n margin: 0;\n font-size: 13px;\n line-height: 1.5;\n color: var(--dsw-alias-label-primary);\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n\n.sc86a78_summaryZh {\n margin: -4px 0 0;\n font-size: 12px;\n line-height: 1.5;\n color: var(--dsw-alias-label-secondary);\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n\n/* Expanded cards show the full summary: the clamp is lifted, never raised —\n * a higher number would still truncate the author's text, just later. */\n.sce8fac_summaryExpanded {\n -webkit-line-clamp: unset;\n display: block;\n}\n\n.s644c89_summaryZhExpanded {\n -webkit-line-clamp: unset;\n display: block;\n}\n\n/* `white-space: pre-line` so the newline in the copy is the copy's own: the\n dictionary decides where the line breaks, and a translator changes it\n without touching the component. Collapses runs of spaces like `normal`, so\n only the explicit \\n survives. */\n.s9ba4c6_incompatibleDetail {\n margin: 0;\n font-size: 12px;\n line-height: 1.5;\n white-space: pre-line;\n color: var(--shop-error);\n}\n\n/* The way out of dsh's own refusal: the lead-in, then the exemption command\n * on its own line. */\n/* Block layout rather than flex: Firefox 153 will not line-clamp a container\n * that holds a display:flex child (Chromium 151 does), and the fold's\n * measured goal — \"the whole red block, remedy included, as one unit\" —\n * needs the container to clamp in BOTH engines the shop targets. The 4px\n * rhythm between the lead-in and the command is kept by the margins of the\n * children. */\n.s2149d8_remedy {\n display: block;\n}\n\n.s2149d8_remedy > * + * { margin-top: 4px; }\n\n/* The fold under a card's whole red block: two lines by default, a small\n * Refresh-pill-shaped toggle under it. Two containers, one rhythm: the shelf\n * uses `.sc15f91_foldBlock` collapsed and `.s876a53_foldBlockExpanded` open, and they share\n * one `display: block` (Firefox clamps no flex child inside a -webkit-box).\n * The clamp is on the BLOCK rather than any one line, so a 43-line remedy\n * counts as a unit instead of squashing the harness-peers line to a sliver\n * and hiding the command the reader actually came for. Both containers\n * still render the full block to a screen reader — `white-space: normal`\n * instead of pre-line keeps the copy's own `\\n` visible without forcing the\n * browser to lay the block's pieces like a text node. */\n.sc15f91_foldBlock {\n display: block;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n overflow: hidden;\n}\n\n.s876a53_foldBlockExpanded { display: block; }\n\n/* The toggle. Geometry and quiet voice are the Refresh pill's\n * (`catalogStatsRow` right beside it on the same screen): one 1px border,\n * 11px text, secondary label, no fill. It is the only one of its kind here,\n * so a class of its own means one function of its own. */\n.s285921_foldToggle {\n padding: 1px 9px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n font-size: 11px;\n line-height: 17px;\n cursor: pointer;\n}\n\n.s285921_foldToggle:hover { border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l2)); }\n.s285921_foldToggle:focus-visible { outline: 2px solid var(--dsw-alias-brand-primary); outline-offset: 1px; }\n\n.s7e63ed_remedyLead {\n margin: 0;\n font-size: 12px;\n line-height: 1.5;\n color: var(--dsw-alias-label-primary);\n}\n\n/* The exemption command, bound for a terminal unchanged: one click selects\n * all of it, and it wraps anywhere rather than widening the card. A border,\n * not a fill, marks the box: the bg layers are one white in the light theme. */\n.sa4cc33_allowCommand {\n display: block;\n padding: 6px 8px;\n border-radius: 6px;\n background: var(--dsw-alias-bg-base);\n border: 1px solid var(--dsw-alias-border-l1);\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 11px;\n line-height: 1.5;\n white-space: pre-wrap;\n word-break: break-all;\n user-select: all;\n color: var(--dsw-alias-label-primary);\n}\n\n/* A refused install on a surface that does not state its blockers — the\n * outdated row — writes them out on their own full-width line under the\n * refused label, the command that clears dsh's refusal included. Block,\n * rather than flex: Firefox will not line-clamp a -webkit-box that holds a\n * display:flex child, and the fold this element can sit inside of carries\n * that clamp. The 6px rhythm between the block's lines is carried by the\n * children's margins. */\n.s7c5f1b_refusal {\n display: block;\n flex-basis: 100%;\n}\n\n.s7c5f1b_refusal > * + * { margin-top: 6px; }\n\n.s12e4f9_capabilitiesBlock {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.s9e429f_capabilitiesNote {\n margin: 0;\n font-size: 11px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sb6cd77_capabilities {\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.sb6cd77_capabilities li {\n padding: 1px 6px;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent);\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 11px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sbc0e0a_detail {\n border-top: 1px solid var(--dsw-alias-border-l1);\n padding-top: 8px;\n}\n\n.s67086c_detailRows {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0;\n}\n\n.sb858f4_detailRow {\n display: flex;\n justify-content: space-between;\n gap: 12px;\n font-size: 12px;\n}\n\n.sb858f4_detailRow dt {\n color: var(--dsw-alias-label-secondary);\n}\n\n.sb858f4_detailRow dd {\n margin: 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n overflow-wrap: anywhere;\n text-align: right;\n color: var(--dsw-alias-label-primary);\n}\n\n.sb858f4_detailRow a {\n color: var(--dsw-alias-brand-primary);\n text-decoration: none;\n}\n\n.sb858f4_detailRow a:hover {\n text-decoration: underline;\n}\n\n.sb858f4_detailRow a:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* What the entry IS rather than what you can do with it — how big it is and\n * who published it — at the right edge of the action row. `margin-left: auto`\n * is what pushes it there, and it lives on this wrapper rather than on either\n * label so the group stays flush right when only one of the two has a value —\n * a packument that named no account has no author, and an entry the registry\n * could not measure honestly has no size. Rarer than it was (every live entry\n * now carries a size, github included), but the wrapper is not what makes it\n * rare: without one, an EMPTY meta group still costs 8px, because\n * `.sca19d2_cardActions` is a flex row with `gap: 8px` and a zero-width item is still\n * an item. The row is a wrapping flex, so an active install flow (which claims\n * the full width) drops the whole group to the next line rather than squeezing\n * it. */\n.s936159_cardMeta {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n margin-left: auto;\n min-width: 0;\n}\n\n/* The on-disk size, left of the author. Mono and tabular so the digits of one\n * figure line up with the digits of another WHEREVER the two land: `.s936159_cardMeta`\n * is flush right and the author sits outside the size, so a size's x position\n * moves with the author's width and is different again on the many entries\n * that carry no author at all. There is no column to align to, which is why\n * the reason given here is per-figure legibility rather than the column the\n * first version of this comment claimed. Secondary colour, because it\n * qualifies the entry rather than announcing it.\n *\n * `font-variant-numeric` is safe HERE and would not be on a pill: this element\n * has no state rules, so nothing it does can reflow a wrapping row.\n *\n * `.sa62ae0_shelfDate` shares this rule because it is the same kind of fact — a\n * fixed-width figure a reader compares down the shelf (design\n * 2026-10-12-shelf-orders §4) — and two copies of these declarations would\n * drift. */\n.s63fc2d_size,\n.sa62ae0_shelfDate {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-variant-numeric: tabular-nums;\n font-size: 12px;\n letter-spacing: 0.02em;\n white-space: nowrap;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* The publishing account, at the outer end of `.s936159_cardMeta` on the action row —\n * NOT beside the npm link in the expanded detail, which is where it used to\n * live and what this comment described until the accurate half was deleted\n * with the `margin-left: auto` that moved to `.s936159_cardMeta`. There is no middot:\n * `.s936159_cardMeta`'s 8px gap separates it from the size.\n *\n * Secondary label colour carries the distinction — never a background fill,\n * which is invisible in the light theme where every bg-layer token is the\n * same white. */\n.s5d52b1_author {\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n}\n\n.sc2ddce_reviewedLine {\n margin: 8px 0 0;\n padding: 6px 8px;\n border-radius: 6px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 12%, transparent);\n font-size: 12px;\n color: var(--shop-warn-on-tint);\n}\n\n/* Install flow. */\n.s170b01_installPanel {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 2px;\n}\n\n/* ONE geometry for everything that occupies the install button's place: the\n * button itself, the confirm/cancel pair beside the restart gate, the installed\n * label, and the refused label. Stated once because a refused label HAS to look\n * like the button it replaces apart from its colour and its text, and four\n * copies of the same five declarations is how they stop looking alike.\n * `cursor: pointer` is NOT here: only the controls that can be pressed take it,\n * while a label renders with the default cursor. */\n.s30cc02_installButton,\n.s4732ec_confirmButton,\n.s6dfe5d_cancelButton,\n.s9f738a_installedLabel,\n.se35352_refusedLabel {\n align-self: flex-start;\n margin: 0;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n font-size: 13px;\n}\n\n.s30cc02_installButton, .s4732ec_confirmButton, .s6dfe5d_cancelButton {\n cursor: pointer;\n}\n\n.s30cc02_installButton {\n border-color: var(--dsw-alias-brand-primary);\n background: var(--dsw-alias-brand-primary);\n color: var(--dsw-alias-bg-base);\n}\n\n/* Between the click and the host's answer. The flow ignores a repeat start for\n * the same identity, so this is the visible half of the same fact: a control\n * that says \"not now\" rather than one that looks ready to send a second\n * install. Only the button can be in this state — a label is never pressed. */\n.s30cc02_installButton:disabled {\n cursor: wait;\n}\n\n.s30cc02_installButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 88%, var(--dsw-alias-label-primary));\n}\n\n.s4732ec_confirmButton {\n border: 1px solid var(--dsw-alias-brand-primary);\n background: var(--dsw-alias-brand-primary);\n color: var(--dsw-alias-bg-base);\n}\n\n.s4732ec_confirmButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 88%, var(--dsw-alias-label-primary));\n}\n\n.s6dfe5d_cancelButton {\n border: 1px solid var(--dsw-alias-border-l2);\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-primary);\n}\n\n.s6dfe5d_cancelButton:hover {\n border-color: var(--dsw-alias-label-secondary);\n}\n\n.s30cc02_installButton:focus-visible, .s4732ec_confirmButton:focus-visible, .s6dfe5d_cancelButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The shelf card of a plugin that is installed and current carries this\n * non-interactive label instead of an install button. Border + text do the\n * work in the light theme, where every bg-layer token resolves to white. */\n.s9f738a_installedLabel {\n align-self: flex-start;\n margin: 0;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n font-size: 13px;\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n}\n\n/* The refused Install/Update button's replacement: the same box as the button\n * (the geometry rule above), filled solid red, not pressable. The fill is the\n * derived red rather than the raw token because text sits on it — bg-base on\n * `--shop-error` measures 5.31:1 light and 6.14:1 dark — and the raw error red\n * under bg-base text measures 4.498:1, the miss this whole family of fixes\n * exists for. Nothing here changes on hover: it is a statement, not a control,\n * so it keeps the default cursor and its colours. */\n.se35352_refusedLabel {\n border-color: var(--shop-error);\n background: var(--shop-error);\n color: var(--dsw-alias-bg-base);\n white-space: nowrap;\n}\n\n/* An installed card's controls: the installed label or the update button,\n * plus the uninstall button. The install panel's running/failed states are\n * column layouts and sit as one item of this row. */\n.sd9c8c5_installedActions {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n/* Uninstall revokes privilege; the quiet outline keeps it from competing\n * with the primary action, and the error tint says \"removes\". */\n.s1157ec_uninstallButton {\n align-self: flex-start;\n padding: 5px 14px;\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 55%, transparent);\n border-radius: 6px;\n background: transparent;\n /* The on-tint red: hovering this button paints a 10% red fill under the\n * word, where the plain red measures 4.50:1 (light) — the same two\n * thousandths short of the floor the raw token shipped at. */\n color: var(--shop-error-on-tint);\n font-size: 13px;\n cursor: pointer;\n}\n\n.s1157ec_uninstallButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);\n}\n\n.s1157ec_uninstallButton:focus-visible {\n outline: 2px solid var(--dsw-alias-state-error-primary);\n outline-offset: 1px;\n}\n\n/* The restart dsh button on a done install: quiet outline, same rank as\n * the other secondary actions. */\n.s748113_restartSelfButton {\n /* The version row's third state. Geometry matches .s82f241_checkUpdateButton and\n * .s8c1ada_updateSelfButton exactly — the row is one evolving control and a\n * different pill would read as a different kind of thing. It takes the\n * emphasised fill rather than the neutral one because at that moment the\n * restart is the only thing left to do, the same reason Update has it. */\n padding: 2px 10px;\n border: 1px solid var(--dsw-alias-brand-primary);\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 12%, transparent);\n color: var(--dsw-alias-brand-primary);\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n}\n\n.s748113_restartSelfButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The two activation offers share one recipe: a border in an alias token,\n * never a `bg-layer` fill alone — all four bg-layer tokens collapse to the\n * same white under `body` in the light theme, and a fill-only button would\n * vanish there. Grouped rather than copied, because a copy is a rule that\n * can be corrected on one button and left wrong on the other, silently. */\n.s1784cd_restartButton,\n.s55f001_reloadButton {\n align-self: flex-start;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n cursor: pointer;\n}\n\n.s1784cd_restartButton:hover,\n.s55f001_reloadButton:hover {\n border-color: var(--dsw-alias-label-secondary);\n}\n\n.s1784cd_restartButton:focus-visible,\n.s55f001_reloadButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The §4 reload offer: a notice plus its button, one item of\n * `.sd9c8c5_installedActions` the way the restart gate is — a column of its own\n * rather than inline with the row. */\n.s3e0556_reloadPanel {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n\n\n.s14145c_gate {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px;\n border: 1px solid var(--dsw-alias-state-warn-primary);\n border-radius: 8px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 8%, transparent);\n}\n\n.s1c22f6_gateTitle {\n margin: 0;\n font-size: 13px;\n font-weight: 600;\n color: var(--shop-warn-on-tint);\n}\n\n.sdd4bac_gateBody {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n color: var(--dsw-alias-label-primary);\n}\n\n.s1c4d38_gateWarning {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n white-space: pre-line;\n color: var(--shop-error);\n}\n\n.s7a3c61_gateActions {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.s9bf897_installing {\n margin: 0;\n font-size: 12px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s8e495e_log {\n max-height: 160px;\n overflow: auto;\n margin: 0;\n padding: 8px;\n border-radius: 6px;\n background: var(--dsw-alias-bg-base);\n border: 1px solid var(--dsw-alias-border-l1);\n list-style: none;\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 11px;\n line-height: 1.5;\n}\n\n.sec6c41_logLine {\n white-space: pre-wrap;\n word-break: break-all;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sd27ebf_notice {\n margin: 0;\n font-size: 12px;\n color: var(--shop-success);\n}\n\n.sced88c_failedHeading {\n margin: 0;\n font-size: 12px;\n font-weight: 600;\n color: var(--shop-error);\n}\n\n.s7f8226_failedDetail {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n color: var(--dsw-alias-label-primary);\n}\n\n.s66949c_rejectedCode {\n margin: 0;\n font-size: 12px;\n font-weight: 600;\n color: var(--shop-error);\n}\n\n.sda36fc_rejectedDetail {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n color: var(--dsw-alias-label-primary);\n}\n\n/* The Updatable section. The class keeps the Host's field name; only the\n heading the reader sees was renamed. */\n.se5be3e_outdatedSection {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 6px;\n}\n\n.sf32898_outdatedList {\n display: flex;\n flex-direction: column;\n gap: 8px;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.s70aac4_outdatedRow {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n flex-wrap: wrap;\n padding: 10px 12px;\n border: 1px solid var(--dsw-alias-border-l1);\n border-radius: 8px;\n background: var(--dsw-alias-bg-layer-1);\n}\n\n.sc30749_outdatedInfo {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n}\n\n.sc30749_outdatedInfo strong {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 13px;\n word-break: break-all;\n color: var(--dsw-alias-label-primary);\n}\n\n.s735987_outdatedVersions {\n /* Two inline labels with nothing between them in the markup ran together as\n * `installed v1.0.0latest v2.0.0`: JSX drops the whitespace-only line, and\n * the per-label class the markup asked for was never defined (singular\n * against this rule's plural). The container owns the gap, the same idiom\n * as .sa76f21_badges — the labels need no class of their own. */\n display: inline-flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* The §C10 shadowed section. Reuses the outdated list's visual language; only\n * the section spacing and the per-row explanation paragraph are its own. */\n.sbf0d60_shadowedSection {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 6px;\n}\n\n.s9b143a_shadowedDetail {\n margin: 4px 0 0;\n font-size: 12px;\n line-height: 1.5;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s204154_outdatedActions {\n display: flex;\n align-items: center;\n /* The reload offer (§4) mounts inside the switch beside the Update button\n * and is a two-line block, not a control: without wrapping, a row reading\n * [switch][notice + Reload][Update] overflowed the Settings dialog the shop\n * sat in through 0.8.7, and the page's column narrows with the window. */\n flex-wrap: wrap;\n gap: 10px;\n}\n\n/* The shop's one switch. It is worn by two controls that mean different\n * things — the enable/disable toggle on an installed card, and the shelf's\n * incompatible filter — so the geometry lives here once and each caller states\n * only its hue.\n *\n * `--switch-hue` is that knob, and it is read from the ANCESTOR rather than\n * declared per state: `.sc56af2_incompatibleFilter` sets it once and it reaches the\n * track and the label together, which is what keeps a red switch from sitting\n * under a neutral word. A declaration on `.s247428_switch` itself would shadow the\n * inherited value (an element's own rule beats what it inherits), so the\n * default rides in the `var()` fallback and is resolved once into\n * `--track-hue` instead of being spelled out at each use.\n *\n * `box-sizing` and `padding` are stated because the two callers are different\n * elements — a `<button>`, which the UA gives padding, and a `<span>`, which\n * it does not. Without them the same class renders two sizes, and the knob\n * sits 2px above centre in the taller one. */\n.s247428_switch {\n --track-hue: var(--switch-hue, var(--dsw-alias-state-success-primary));\n box-sizing: border-box;\n display: inline-block;\n position: relative;\n width: 32px;\n height: 18px;\n padding: 0;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-2);\n cursor: pointer;\n transition: background 120ms ease, border-color 120ms ease;\n}\n\n/* The knob's POSITION is the state, which is the reason this control needs no\n * `forced-colors` fallback the way the category pills do: a system palette\n * replaces every colour below and moves nothing. */\n.se62fac_switchOn {\n border-color: var(--track-hue);\n background: color-mix(in srgb, var(--track-hue) 55%, transparent);\n}\n\n.se0ac0b_switchKnob {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 12px;\n height: 12px;\n border-radius: 999px;\n background: var(--dsw-alias-label-primary);\n transition: transform 120ms ease, background 120ms ease;\n}\n\n.se62fac_switchOn .se0ac0b_switchKnob {\n transform: translateX(14px);\n background: var(--dsw-alias-bg-base);\n}\n\n.s247428_switch:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .s247428_switch, .se0ac0b_switchKnob { transition: none; }\n}\n\n/* The hot enable/disable switch on installed rows: the knob button plus the\n * §8 hot-apply / failure notices rendered beside it. */\n.s7dd801_switchWrap {\n display: inline-flex;\n align-items: center;\n /* Same reason as `.s204154_outdatedActions`: `.s3e0556_reloadPanel`'s own comment calls\n * itself \"a column of its own rather than inline with the row\", which held\n * for `.sd9c8c5_installedActions` and not here until this line. */\n flex-wrap: wrap;\n gap: 8px;\n}\n";
|
|
8422
|
-
if (typeof document !== "undefined" && !document.querySelector("style[data-plugin-css=\"
|
|
8420
|
+
//#region \0dsh-plugin-shop-css:55877f8c
|
|
8421
|
+
const css = "/* Shop styles — the shop's own page with its market shelf, and the shop's two\n * buttons on dsh's Plugins page. Every variable read here is a dsh theme\n * alias token (`--dsw-alias-*`), one of the shop's own properties declared in\n * this file (`--shop-*`, `--category-hue`, `--switch-hue`, `--track-hue`), or\n * one of two dsh variables outside the alias set, each read where the shop\n * copies dsh: `--dsh-frame-top-clearance`, so the page head clears the\n * desktop frame as dsh's own pages do, and `--dsw-radius-sm`, because the\n * Plugins page buttons copy dsh's Button (0.1.5-rc.3 lacks that token, and\n * has no Plugins page to draw them on). `state-error` and\n * `state-success` do not exist, so the state-*-primary set stands in for\n * them (measured 2026-10-17 on dsh 0.1.5-rc.3, 0.1.7-rc.2 and 0.2.0-rc.2,\n * which do define `bg-layer-3` and `interactive-bg-hover`, once listed here\n * as missing). The signature is the category spine: one HUE per\n * category (seven fixed hues, not the brand token — the brand resolves to\n * near-black in the light theme, so seven brand opacities read as seven\n * shades of gray), with the category name as the cover label in the same hue. Class names are mapped to content-derived names at bundle time\n * (tsdown.sc9e7f9_client.sfd22ad_config.sc6a209_ts) and stubbed in tests; only the keys are relied\n * on.\n *\n * One token rule the theme forces: the background LAYERS do not carry\n * contrast. In the light theme bg-base, bg-layer-1, bg-layer-2 and\n * bg-layer-3 all resolve to the same white; only the dark theme spreads them\n * (950/875/850/800). So a layer-2 fill on a layer-1 ground is invisible for\n * half of all users, and anything whose fill is its ONLY affordance — the\n * loading skeleton, the borderless capability chips — derives its fill from\n * label-primary instead, which inverts with the theme by construction.\n * Elements that also carry a border or text may keep a layer fill.\n * `css-tokens.sc9e7f9_client.sbd8c08_spec.sc6a209_ts` pins this. */\n\n.sc12cae_panel {\n display: flex;\n flex-direction: column;\n gap: 14px;\n /* The two reds every red text in this tab is painted with. dsh's error red\n * is #ec1313 in the light theme, which measures 4.498:1 as text on white —\n * a miss of two thousandths — and 3.57:1 on the badge's own 14% red fill\n * (4.00:1 in dark). Mixing it toward label-primary fixes both, because\n * label-primary is the theme's foreground pole: it darkens the red on light\n * surfaces and lightens it on dark ones. Measured in the live app: 90% of\n * the red is 5.30:1 on white and 5.29:1 on the dark card, and 80% is\n * 4.98:1 on the badge's tint, 4.92:1 in dark. Computed: 90% is 6.14:1 on\n * the dark page itself (#151517, `bg-base`), where the self-update's\n * failure heading sits (4.69:1 on Settings' #2c2c2e, its ground through\n * 0.8.7), and 80% is 5.23:1 on the uninstall button's 10% hover fill.\n * Declared here, on the tab root, because a custom property inherits: one\n * declaration reaches every red element, and a new one cannot be\n * forgotten. */\n --shop-error: color-mix(in srgb, var(--dsw-alias-state-error-primary) 90%, var(--dsw-alias-label-primary));\n --shop-error-on-tint: color-mix(in srgb, var(--dsw-alias-state-error-primary) 80%, var(--dsw-alias-label-primary));\n /* The amber and the green, mixed the same way for the same reason. dsh's\n * warn #f59e0b and success #22c55e are one value in both themes and pass\n * in the dark one, but as text on white they measure 2.15:1 and 2.28:1.\n * Each derived colour keeps the largest multiple of ten of its hue that\n * clears every surface it paints, as the reds do. Computed from the live\n * tokens over every bg layer in both themes: amber at 60% is 4.95:1 on a\n * plain surface but 4.44:1 on its own 14% tint, so text on an amber tint\n * takes 50% (5.66:1); green at 60% is 5.18:1 plain and 4.60:1 on its 14%\n * tint, so one green serves both. */\n --shop-warn: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 60%, var(--dsw-alias-label-primary));\n --shop-warn-on-tint: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 50%, var(--dsw-alias-label-primary));\n --shop-success: color-mix(in srgb, var(--dsw-alias-state-success-primary) 60%, var(--dsw-alias-label-primary));\n /* The shelf never scrolls sideways: a card too wide for its track wraps\n * its badges rather than widening the panel.\n *\n * Clipped on BOTH axes, with a margin, because `.sf71137_searchInput` sits at\n * exactly (0, 0) of this box — it is the first child of `.s57aaeb_toolbar`, itself\n * the first child here, and this rule carries no padding — so its focus\n * ring paints ENTIRELY outside the panel.\n *\n * Both axes is the load-bearing part: `overflow-clip-margin` is inert\n * unless the element clips on both. Clipping x alone left the margin doing\n * nothing — measured against the live app on 0.7.1, the ring reached 0 of\n * its 3px on the left at every device pixel ratio (1, 1.25, 1.5, 2), while\n * keeping the full 3px on the right, where the 280px input stops short of\n * the panel and never meets the clip edge. Raising the margin to 6px\n * changed nothing; clipping both axes with the SAME 3px restored the whole\n * ring. A test that reads declarations cannot see that difference, which is\n * why the first attempt at this shipped broken.\n *\n * `clip` is not a scroll container, so this does not bring back the\n * accidental scrolling `hidden` caused by coercing the other axis to\n * `auto`. Nothing is lost vertically: the panel's scrollHeight equals its\n * height and no descendant paints outside the clip rect (measured).\n * `overflow-x: hidden` stays as the fallback for engines without `clip`,\n * where the ring is clipped as it was before, never worse. */\n overflow-x: hidden;\n overflow: clip;\n overflow-clip-margin: 3px;\n}\n\n/* The shop's own page in dsh's main column (design\n * 2026-10-16-shop-sidebar-page §4.2), framed as dsh 0.2.0-rc.2 frames its\n * Plugins page — read from that page's stylesheet: the page is the scroll\n * container, its children one centred column of at most 960px, and the head\n * clears the desktop title bar. One declaration is the shop's own, `color`:\n * dsh's `.s356340_page` inherits its colour from the shell around it, and the shop's\n * root is not inside dsh's panel stylesheet, so the shop's page states it. */\n.s356340_page {\n box-sizing: border-box;\n height: 100%;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 32px;\n padding: 0 clamp(24px, 4vw, 48px) 48px;\n color: var(--dsw-alias-label-primary);\n}\n\n.s356340_page > * {\n width: 100%;\n max-width: 960px;\n}\n\n.s9480b2_pageHead {\n box-sizing: border-box;\n padding-top: calc(28px + var(--dsh-frame-top-clearance, 0px));\n}\n\n.s9d916c_pageTitle {\n margin: 0;\n font-size: 20px;\n font-weight: 500;\n line-height: 28px;\n}\n\n/* Secondary, as dsh's own intro: 5.80:1 on the light theme's white. */\n.s925866_pageIntro {\n margin: 4px 0 0;\n font-size: 13px;\n line-height: 20px;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* The two buttons on dsh's Plugins page (design 2026-10-16-shop-sidebar-page\n * §7), drawn as that page draws its own small outline buttons beside them —\n * dsh 0.2.0-rc.2's Button, sm + outline: 28px tall, 12px text on an 18px\n * line, 10px of side padding, the small radius, the neutral stroke. That\n * stroke is 0.5px in dsh and 1px here: every border in this stylesheet is,\n * and Chromium paints 0.5px as 1px at every ratio measured. */\n.sb3b9a7_detailAction {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 28px;\n padding: 0 10px;\n border: 1px solid var(--dsw-alias-border-l3);\n border-radius: var(--dsw-radius-sm);\n background: transparent;\n color: var(--dsw-alias-label-primary);\n font-size: 12px;\n line-height: 18px;\n cursor: pointer;\n}\n\n.sb3b9a7_detailAction:hover {\n background: var(--dsw-alias-interactive-bg-hover);\n}\n\n.sb3b9a7_detailAction:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n.s5e42a0_stateLine {\n margin: 0;\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n}\n\n/* Visually hidden but screen-reader readable (the loading copy while the\n * skeleton stands in visually). */\n.saf74af_srOnly {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n overflow: hidden;\n white-space: nowrap;\n}\n\n/* The loading shelf: ghost cards with the same geometry as the real grid, so\n * the swap to content is a same-shape handoff instead of a jump. */\n.s3a278b_skeletonGrid {\n display: grid;\n grid-template-columns: 1fr;\n gap: 8px;\n}\n\n.sfe160e_skeletonCard {\n position: relative;\n display: flex;\n flex-direction: column;\n border: 1px solid var(--dsw-alias-border-l1);\n border-radius: 10px;\n background: var(--dsw-alias-bg-layer-1);\n overflow: hidden;\n}\n\n/* The shimmer sweep: one gradient band travels across each ghost card while\n * the bars breathe, so the loading state reads as \"the shelf is scanning\". */\n.sfe160e_skeletonCard::after {\n content: '';\n position: absolute;\n inset: 0;\n background: linear-gradient(\n 100deg,\n transparent 25%,\n color-mix(in srgb, var(--dsw-alias-label-primary) 14%, transparent) 50%,\n transparent 75%\n );\n transform: translateX(-100%);\n animation: dshShopSkeletonSweep 1.4s ease-in-out infinite;\n pointer-events: none;\n}\n\n@keyframes dshShopSkeletonSweep {\n to { transform: translateX(100%); }\n}\n\n.se5b31b_skeletonName {\n width: 55%;\n height: 14px;\n margin: 10px 12px 0;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n.se3eaf2_skeletonSummary {\n width: 92%;\n height: 12px;\n margin: 10px 12px 0;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n.s1161e4_skeletonSummaryShort {\n width: 68%;\n height: 12px;\n margin: 6px 12px 10px;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n/* The ghost of the action line, right where the real buttons land. */\n.s418261_skeletonActions {\n display: block;\n width: 84px;\n height: 24px;\n margin: 0 12px 10px;\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);\n}\n\n.sfe160e_skeletonCard span {\n animation: dshShopSkeletonPulse 1.6s ease-in-out infinite;\n}\n\n@keyframes dshShopSkeletonPulse {\n 0%, 100% { opacity: 0.5; }\n 50% { opacity: 1; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .sfe160e_skeletonCard span { animation: none; opacity: 0.75; }\n .sfe160e_skeletonCard::after { content: none; }\n}\n\n.sb64dd7_actionButton {\n align-self: flex-start;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n cursor: pointer;\n}\n\n.sb64dd7_actionButton:hover {\n border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l2));\n color: var(--dsw-alias-brand-primary);\n}\n\n.sb64dd7_actionButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n.s57aaeb_toolbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n.sfd9981_toolbarRight {\n display: flex;\n align-items: center;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n/* The shop's own version, right of the search box: `v0.4.4`, plus the\n * update button when the version check found a newer release. */\n.sa44ddb_versionBlock {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.s5208e5_versionText {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s9b7543_updateSelfButton {\n padding: 2px 10px;\n border: 1px solid var(--dsw-alias-brand-primary);\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 12%, transparent);\n color: var(--dsw-alias-brand-primary);\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n}\n\n.s9b7543_updateSelfButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 20%, transparent);\n}\n\n.s9b7543_updateSelfButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The on-demand re-check next to the version number: a quiet pill; the\n * border and text carry it in the light theme where bg layers are white. */\n.saf2115_checkUpdateButton {\n padding: 2px 10px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n cursor: pointer;\n}\n\n.saf2115_checkUpdateButton:hover {\n border-color: var(--dsw-alias-label-secondary);\n color: var(--dsw-alias-label-primary);\n}\n\n.saf2115_checkUpdateButton:disabled {\n opacity: 0.6;\n cursor: default;\n}\n\n.saf2115_checkUpdateButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The project's GitHub mark, right of the version row: a quiet icon link.\n * The octocat carries itself — color shift on hover, no text, no border. */\n.s3fe9ac_githubLink {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 3px;\n border-radius: 6px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s3fe9ac_githubLink:hover {\n color: var(--dsw-alias-label-primary);\n background: var(--dsw-alias-bg-layer-2);\n}\n\n.s3fe9ac_githubLink:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The self-update's expanded states (running log / done + restart /\n * failure detail) sit under the toolbar, above the category bar. */\n.s103d87_selfUpdatePanel {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 8px;\n}\n\n.sf71137_searchInput {\n width: min(280px, 100%);\n padding: 6px 10px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n background: var(--dsw-alias-bg-layer-1);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n}\n\n.sf71137_searchInput:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* Subdued line under the search box when a dictionary intent fired (design\n * 2026-10-08-search-query-expansion §4). One fact, no badge. */\n.s99c1cb_expansionNote {\n margin: 4px 0 0;\n font-size: 12px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sf91649_staleBadge {\n padding: 2px 8px;\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary) 40%, transparent);\n color: var(--shop-warn-on-tint);\n font-size: 12px;\n}\n\n.s13be8e_categoryBar {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin-top: 6px;\n}\n\n.s660670_categoryButton {\n /* The hue this button carries when selected. `All` and `Installed` select by\n * something other than a category and keep the brand token; the six category\n * buttons override it from the shared hue table below, so a pressed Tool tab\n * turns the same blue as a tool card's spine. */\n --category-hue: var(--dsw-alias-brand-primary);\n padding: 3px 10px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-1);\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n cursor: pointer;\n}\n\n/* Blend text with the theme foreground: darker on light backgrounds, lighter\n * on dark ones. The unblended category hue belongs on the border and fill. */\n.s660670_categoryButton:hover {\n border-color: color-mix(in srgb, var(--category-hue) 45%, var(--dsw-alias-border-l2));\n color: color-mix(in srgb, var(--category-hue) 45%, var(--dsw-alias-label-primary) 55%);\n}\n\n/* Selected. Written `.s660670_categoryButton.s5ac2f7_categoryButtonOn` — TWO classes — so it\n * matches `.s660670_categoryButton:hover`'s specificity and, coming after it, wins.\n * As a bare `.s5ac2f7_categoryButtonOn` it lost both `border-color` and `color` to the\n * hover rule for as long as the pointer stayed on the tab that had just been\n * clicked, which is precisely when a reader looks for confirmation.\n *\n * EVERY declaration here is a colour: a pressed tab must occupy exactly the\n * same box as an unpressed one, so the bar does not reflow — and with ~9 pills\n * on a wrapping row, one that grows can push the rest onto another line and\n * move the tab out from under the pointer that just clicked it. That is what\n * `font-weight: 600` did (bold metrics are wider than regular), and it is why\n * nothing may be added here that resolves to a length: no padding, no\n * border-width, no font-size, no letter-spacing. `css-tokens.sc9e7f9_client.sbd8c08_spec.sc6a209_ts`\n * fails the build on one.\n *\n * Nor a second line. An inset ring once doubled this border, and every control\n * in the stylesheet now draws exactly one 1px line, which is also the thinnest\n * the host paints (Chromium draws 0.5px as 1px). What separates pressed from\n * unpressed is lightness instead of thickness: the border is the hue mixed 30%\n * toward label-primary, the theme's foreground pole, so it clears 3:1 against\n * the bar in both themes for every hue — the raw hue measured 1.86:1 on white\n * for `ui` — and the fill under it is 22% of the hue. The `other` tab is the\n * case this is for: its hue IS the neutral gray this file uses for \"no\n * category\", so on the light theme the hue alone barely separates the two. */\n.s660670_categoryButton.s5ac2f7_categoryButtonOn {\n border-color: color-mix(in srgb, var(--category-hue) 70%, var(--dsw-alias-label-primary));\n background: color-mix(in srgb, var(--category-hue) 22%, transparent);\n color: color-mix(in srgb, var(--category-hue) 45%, var(--dsw-alias-label-primary) 55%);\n}\n\n/* Forced colours replace every colour above with the system palette, which\n * would leave the three colour declarations saying nothing and the pressed tab\n * indistinguishable from its neighbours, so this mode alone gets an outline. */\n@media (forced-colors: active) {\n .s660670_categoryButton.s5ac2f7_categoryButtonOn {\n outline: 2px solid ButtonText;\n outline-offset: -4px;\n }\n}\n\n.s660670_categoryButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The incompatible filter, at the right edge of the category bar: `margin-left:\n * auto` pushes it past the pills, and the bar wraps, so on a narrow panel it\n * drops to its own line rather than squeezing them. It is a MODIFIER, not a\n * ninth category — the categories select what to show and this one subtracts\n * from whatever they selected — so it takes the error hue it filters on rather\n * than joining the hue table.\n *\n * And it is a SWITCH, which is the difference the shape now carries. It used\n * to wear `.s660670_categoryButton`: same pill, same row, same size as the eight tabs,\n * differing only in being red. That reads as a ninth tab, and it is not one —\n * the tabs are choose-one and this is on-or-off. So it drops the pill chrome\n * entirely (no border, no fill, nothing to compete with the row it sits\n * beside) and puts the state in a track, the same one every installed card\n * carries. Nothing here restates the switch geometry; `--switch-hue` is the\n * whole of what this control says about it, and it reaches the label too, so\n * one declaration keeps the word and the track the same colour. */\n.sbccc7c_incompatibleFilter {\n --switch-hue: var(--dsw-alias-state-error-primary);\n margin-left: auto;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n /* Matches the pills' vertical padding so the bar keeps one line box whether\n * this control wraps onto a row of its own or shares theirs. */\n padding: 3px 0;\n border: 0;\n background: none;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n cursor: pointer;\n}\n\n/* Hover lifts the word to full contrast and warms the track's border. Scoped\n * to the OFF track: `.sbccc7c_incompatibleFilter:hover .s5eac80_switch` outranks `.s9a6bff_switchOn`\n * by two classes, so unscoped it would strip the hue from the border at\n * exactly the moment a reader has the pointer on it to check the state. */\n.sbccc7c_incompatibleFilter:hover {\n color: var(--dsw-alias-label-primary);\n}\n\n.sbccc7c_incompatibleFilter:hover .s5eac80_switch:not(.s9a6bff_switchOn) {\n border-color: color-mix(in srgb, var(--switch-hue) 45%, var(--dsw-alias-border-l2));\n}\n\n/* On. Written with both classes for the reason `.s660670_categoryButton.s5ac2f7_categoryButtonOn`\n * is: it has to match `:hover`'s specificity and come after it, or the colour\n * reverts under a pointer that has not moved since the click. */\n.sbccc7c_incompatibleFilter.s695f72_incompatibleFilterOn {\n color: color-mix(in srgb, var(--switch-hue) 45%, var(--dsw-alias-label-primary) 55%);\n}\n\n/* Off here means \"nothing is being taken away\" — the resting state — so the\n * knob steps back to the secondary label. The enable switch keeps the full\n * strength dot, where off means \"this plugin is disabled\" and is worth\n * noticing. In this bar it would be the heaviest mark in a row of hairline\n * pills, and on the light theme it is the WHOLE control: bg-layer-2 is the\n * same white as the panel there, so an off track is a hairline outline with a\n * near-black dot sitting in it. */\n.sbccc7c_incompatibleFilter .s5eac80_switch:not(.s9a6bff_switchOn) .s394db2_switchKnob {\n background: var(--dsw-alias-label-secondary);\n}\n\n/* The ring has no border to trace, so it takes an offset and the pill radius\n * of the tabs it sits beside rather than hugging the text. */\n.sbccc7c_incompatibleFilter:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 2px;\n border-radius: 999px;\n}\n\n.s7ce4a8_updatableHeading {\n margin: 2px 0 0;\n font-size: 16px;\n font-weight: 600;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-primary);\n}\n\n.sbdfcb6_catalogStatsRow {\n display: flex;\n align-items: center;\n /* The row holds the catalog line, the refresh button and the shelf order's\n * three pills (design 2026-10-12-shelf-orders §4). Without wrapping, the\n * last of them overflows the tab at a narrow width. */\n flex-wrap: wrap;\n gap: 10px;\n margin: 6px 0 0;\n}\n\n/* The shelf's order control, at the right end of the stats row. `margin-left:\n * auto` is what puts it there while the line and the refresh button stay\n * left — and it is safe on a wrapping row, unlike a width. */\n.s389d1a_sortGroup {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-left: auto;\n}\n\n.s5d77c3_sortLabel {\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n}\n\n.s3e470e_catalogStats {\n margin: 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* Sits beside the 12px stats caption, so it is quieter than `.sb64dd7_actionButton`:\n * this is an affordance, not a call to action — the catalog reloads on its\n * own at mount and the shelf is already usable without it. Named\n * `catalogRefresh*` (not `reload*`) so it cannot collide with the §4 page\n * reload offer below, which reloads the whole tab rather than refetching\n * the catalog data. */\n.sa37862_catalogRefreshButton {\n padding: 1px 9px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n font-size: 11px;\n line-height: 17px;\n cursor: pointer;\n}\n\n.sa37862_catalogRefreshButton:hover:not(:disabled) {\n border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l2));\n color: var(--dsw-alias-brand-primary);\n}\n\n.sa37862_catalogRefreshButton:disabled {\n cursor: default;\n opacity: 0.6;\n}\n\n.sa37862_catalogRefreshButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n.sd96cea_catalogRefreshFailed {\n font-size: 11px;\n color: var(--shop-warn);\n}\n\n.s8ed799_emptyLine {\n margin: 0;\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n}\n\n/* The shelf: a responsive grid of cards. */\n/* Single-line rows: one full-width column, one plugin per line. */\n.se3468f_cards {\n display: grid;\n grid-template-columns: 1fr;\n max-width: 100%;\n gap: 8px;\n list-style: none;\n margin: 0;\n padding: 0;\n animation: dshShopCardsIn 220ms ease;\n}\n\n@keyframes dshShopCardsIn {\n from { opacity: 0; transform: translateY(3px); }\n to { opacity: 1; transform: none; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .se3468f_cards { animation: none; }\n}\n\n.s5d778d_card {\n position: relative;\n display: flex;\n flex-direction: column;\n /* A grid item's min-width is auto by default: its content would widen the\n * 1fr track past the panel and overflow horizontally. */\n min-width: 0;\n border: 1px solid var(--dsw-alias-border-l1);\n border-radius: 10px;\n background: var(--dsw-alias-bg-layer-1);\n overflow: hidden;\n transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;\n /* Off-screen cards skip layout and paint; the placeholder keeps scrollbar\n * estimation sane before the browser has measured the real height. */\n content-visibility: auto;\n contain-intrinsic-size: auto 140px;\n}\n\n/* The sentinel that triggers the next shelf batch: zero visual footprint. */\n.s343c70_cardsSentry {\n height: 1px;\n margin: 0;\n padding: 0;\n}\n\n.sb0f284_showingLine {\n margin: 0;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s5d778d_card:hover {\n border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l1));\n transform: translateY(-1px);\n box-shadow: 0 2px 8px color-mix(in srgb, var(--dsw-alias-brand-primary) 12%, transparent);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .s5d778d_card { transition: none; }\n .s5d778d_card:hover { transform: none; }\n}\n\n/* The signature: a spine and cover in the category's own hue. The hues are\n * fixed mid-bright colors that read on both themes; `other` deliberately\n * stays a neutral gray so the fallback category does not compete. */\n.s8ff6c5_cardSpine {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 3px;\n background: var(--category-hue, #8B8E96);\n}\n\n/* The hue table, keyed by `data-category` and read by BOTH surfaces that\n * speak in category colour: a card's spine and badge, and the category bar's\n * own tab. One table, so a tab can never disagree with the cards it filters to\n * — which is the whole point of colouring the tab. `.s660670_categoryButton` sets the\n * brand fallback for `All`/`Installed`; these attribute selectors are one\n * specificity step above it and win wherever the attribute is present. */\n.s5d778d_card[data-category='tool'], .s660670_categoryButton[data-category='tool'] { --category-hue: #4C8DFF; }\n.s5d778d_card[data-category='provider'], .s660670_categoryButton[data-category='provider'] { --category-hue: #A78BFA; }\n.s5d778d_card[data-category='ui'], .s660670_categoryButton[data-category='ui'] { --category-hue: #2DD4BF; }\n.s5d778d_card[data-category='workflow'], .s660670_categoryButton[data-category='workflow'] { --category-hue: #F59E0B; }\n.s5d778d_card[data-category='integration'], .s660670_categoryButton[data-category='integration'] { --category-hue: #34D399; }\n.s5d778d_card[data-category='theme'], .s660670_categoryButton[data-category='theme'] { --category-hue: #F472B6; }\n.s5d778d_card[data-category='other'], .s660670_categoryButton[data-category='other'] { --category-hue: #8B8E96; }\n\n/* The category sits in the badge row as a quiet chip in the category's own\n * hue — the border carries it where the light theme's white layers cannot\n * (the same lesson as the check button). */\n.s3fd6ff_categoryBadge {\n padding: 1px 7px;\n border: 1px solid color-mix(in srgb, var(--category-hue, #8B8E96) 45%, transparent);\n border-radius: 999px;\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--category-hue, #8B8E96);\n white-space: nowrap;\n}\n\n.s8c4a3b_entryHeader {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 12px;\n min-width: 0;\n padding: 8px 12px 2px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: left;\n cursor: pointer;\n}\n\n.s8c4a3b_entryHeader:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: -2px;\n}\n\n/* The name fills the row and truncates rather than wraps; the badges stay\n * intact beside it. */\n.s840978_name {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 13px;\n font-weight: 600;\n flex: 1 1 auto;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: var(--dsw-alias-label-primary);\n}\n\n.sc35156_badges {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px;\n}\n\n/* The action line: buttons side by side; an active install/uninstall flow\n * (gate, log, notices) takes the full width below them. */\n.s60146d_cardActions {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n padding: 8px 12px 10px;\n}\n\n.s60146d_cardActions > .sd73f9b_gate,\n.s60146d_cardActions > .s2939d9_installPanel,\n.s60146d_cardActions > .s778197_installedActions {\n flex-basis: 100%;\n}\n\n/* The entry's version, always visible on the card (the expanded detail\n * repeats it in the version row) — the same quiet mono as the toolbar. */\n.s893476_cardVersion {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 12px;\n letter-spacing: 0.02em;\n color: var(--dsw-alias-label-secondary);\n /* A release tag prints as tagged, never cut to seven characters (market\n * borrowings §11), and a tag can run to any length. The cap keeps every\n * tag of up to fourteen characters whole, prerelease suffix included\n * (`v0.1.0-alpha.0`): fourteen glyphs plus the letter-spacing above come to\n * about 14.5ch, so the cap is 15ch, not 14. A longer tag ends in an ellipsis,\n * and the tooltip carries the whole of it. */\n max-width: 15ch;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The octocat marking a source the reader can read on GitHub, beside the\n * card's version. */\n.s99a197_sourceBadge {\n display: inline-flex;\n align-items: center;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s8f9a40_tierBadge {\n padding: 1px 7px;\n border-radius: 999px;\n font-size: 11px;\n line-height: 1.6;\n}\n\n.s8f9a40_tierBadge[data-tier='verified'] {\n color: var(--shop-success);\n background: color-mix(in srgb, var(--dsw-alias-state-success-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-success-primary) 40%, transparent);\n}\n\n.s8f9a40_tierBadge[data-tier='verified-stale'] {\n color: var(--shop-warn-on-tint);\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary) 40%, transparent);\n}\n\n.s8f9a40_tierBadge[data-tier='community'] {\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n border: 1px solid var(--dsw-alias-border-l2);\n}\n\n/* The §C10 shadowed badge: an installed github entry the catalog refuses\n * shadowed-by-npm. Subdued/secondary rather than a warn tint — nothing is\n * wrong with the install itself; the shelf just cannot show it. */\n.s8f9a40_tierBadge[data-tier='shadowed'] {\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n border: 1px solid var(--dsw-alias-border-l2);\n}\n\n/* The §C5 archived badge: a github repository the owner has frozen.\n * Subdued register, same as shadowed — nothing is wrong with the install;\n * the pinned commit still serves, so the mark is informational only. */\n.s8f9a40_tierBadge[data-tier='archived'] {\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n border: 1px solid var(--dsw-alias-border-l2);\n}\n\n.sa36a16_incompatibleBadge {\n flex-shrink: 0;\n padding: 3px 9px;\n border-radius: 999px;\n font-size: 12px;\n white-space: nowrap;\n /* On the tint, not on the plain surface: this text reads on its own 14% red\n * fill, where the 90% red would measure 4.21:1 (light) and 4.43:1 (dark). */\n color: var(--shop-error-on-tint);\n background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 14%, transparent);\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 40%, transparent);\n}\n\n.s4d1988_starsBadge {\n font-size: 11px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s562436_chevron, .s3b0f7b_chevronOpen {\n color: var(--dsw-alias-label-secondary);\n transition: transform 120ms ease;\n}\n\n.s3b0f7b_chevronOpen { transform: rotate(180deg); }\n\n@media (prefers-reduced-motion: reduce) {\n .s562436_chevron, .s3b0f7b_chevronOpen { transition: none; }\n}\n\n.s799ca8_body {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 0 12px;\n}\n\n.s8f38ee_summary {\n margin: 0;\n font-size: 13px;\n line-height: 1.5;\n color: var(--dsw-alias-label-primary);\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n\n.s4bf68a_summaryZh {\n margin: -4px 0 0;\n font-size: 12px;\n line-height: 1.5;\n color: var(--dsw-alias-label-secondary);\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n\n/* Expanded cards show the full summary: the clamp is lifted, never raised —\n * a higher number would still truncate the author's text, just later. */\n.s6b5504_summaryExpanded {\n -webkit-line-clamp: unset;\n display: block;\n}\n\n.s3fb2ac_summaryZhExpanded {\n -webkit-line-clamp: unset;\n display: block;\n}\n\n/* `white-space: pre-line` so the newline in the copy is the copy's own: the\n dictionary decides where the line breaks, and a translator changes it\n without touching the component. Collapses runs of spaces like `normal`, so\n only the explicit \\n survives. */\n.s548ce3_incompatibleDetail {\n margin: 0;\n font-size: 12px;\n line-height: 1.5;\n white-space: pre-line;\n color: var(--shop-error);\n}\n\n/* The way out of dsh's own refusal: the lead-in, then the exemption command\n * on its own line. */\n/* Block layout rather than flex: Firefox 153 will not line-clamp a container\n * that holds a display:flex child (Chromium 151 does), and the fold's\n * measured goal — \"the whole red block, remedy included, as one unit\" —\n * needs the container to clamp in BOTH engines the shop targets. The 4px\n * rhythm between the lead-in and the command is kept by the margins of the\n * children. */\n.s71e168_remedy {\n display: block;\n}\n\n.s71e168_remedy > * + * { margin-top: 4px; }\n\n/* The fold under a card's whole red block: two lines by default, a small\n * Refresh-pill-shaped toggle under it. Two containers, one rhythm: the shelf\n * uses `.sf9c5e1_foldBlock` collapsed and `.sa2de83_foldBlockExpanded` open, and they share\n * one `display: block` (Firefox clamps no flex child inside a -webkit-box).\n * The clamp is on the BLOCK rather than any one line, so a 43-line remedy\n * counts as a unit instead of squashing the harness-peers line to a sliver\n * and hiding the command the reader actually came for. Both containers\n * still render the full block to a screen reader — `white-space: normal`\n * instead of pre-line keeps the copy's own `\\n` visible without forcing the\n * browser to lay the block's pieces like a text node. */\n.sf9c5e1_foldBlock {\n display: block;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n overflow: hidden;\n}\n\n.sa2de83_foldBlockExpanded { display: block; }\n\n/* The toggle. Geometry and quiet voice are the Refresh pill's\n * (`catalogStatsRow` right beside it on the same screen): one 1px border,\n * 11px text, secondary label, no fill. It is the only one of its kind here,\n * so a class of its own means one function of its own. */\n.s50d0b1_foldToggle {\n padding: 1px 9px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: transparent;\n color: var(--dsw-alias-label-secondary);\n font-size: 11px;\n line-height: 17px;\n cursor: pointer;\n}\n\n.s50d0b1_foldToggle:hover { border-color: color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, var(--dsw-alias-border-l2)); }\n.s50d0b1_foldToggle:focus-visible { outline: 2px solid var(--dsw-alias-brand-primary); outline-offset: 1px; }\n\n.saf56de_remedyLead {\n margin: 0;\n font-size: 12px;\n line-height: 1.5;\n color: var(--dsw-alias-label-primary);\n}\n\n/* The exemption command, bound for a terminal unchanged: one click selects\n * all of it, and it wraps anywhere rather than widening the card. A border,\n * not a fill, marks the box: the bg layers are one white in the light theme. */\n.s9c3d79_allowCommand {\n display: block;\n padding: 6px 8px;\n border-radius: 6px;\n background: var(--dsw-alias-bg-base);\n border: 1px solid var(--dsw-alias-border-l1);\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 11px;\n line-height: 1.5;\n white-space: pre-wrap;\n word-break: break-all;\n user-select: all;\n color: var(--dsw-alias-label-primary);\n}\n\n/* A refused install on a surface that does not state its blockers — the\n * outdated row — writes them out on their own full-width line under the\n * refused label, the command that clears dsh's refusal included. Block,\n * rather than flex: Firefox will not line-clamp a -webkit-box that holds a\n * display:flex child, and the fold this element can sit inside of carries\n * that clamp. The 6px rhythm between the block's lines is carried by the\n * children's margins. */\n.sed0fca_refusal {\n display: block;\n flex-basis: 100%;\n}\n\n.sed0fca_refusal > * + * { margin-top: 6px; }\n\n.s22e0f8_capabilitiesBlock {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.s6238b1_capabilitiesNote {\n margin: 0;\n font-size: 11px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s481c05_capabilities {\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.s481c05_capabilities li {\n padding: 1px 6px;\n border-radius: 4px;\n background: color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent);\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 11px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sea222d_detail {\n border-top: 1px solid var(--dsw-alias-border-l1);\n padding-top: 8px;\n}\n\n.saf67cb_detailRows {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0;\n}\n\n.s43bed4_detailRow {\n display: flex;\n justify-content: space-between;\n gap: 12px;\n font-size: 12px;\n}\n\n.s43bed4_detailRow dt {\n color: var(--dsw-alias-label-secondary);\n}\n\n.s43bed4_detailRow dd {\n margin: 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n overflow-wrap: anywhere;\n text-align: right;\n color: var(--dsw-alias-label-primary);\n}\n\n.s43bed4_detailRow a {\n color: var(--dsw-alias-brand-primary);\n text-decoration: none;\n}\n\n.s43bed4_detailRow a:hover {\n text-decoration: underline;\n}\n\n.s43bed4_detailRow a:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* What the entry IS rather than what you can do with it — how big it is and\n * who published it — at the right edge of the action row. `margin-left: auto`\n * is what pushes it there, and it lives on this wrapper rather than on either\n * label so the group stays flush right when only one of the two has a value —\n * a packument that named no account has no author, and an entry the registry\n * could not measure honestly has no size. Rarer than it was (every live entry\n * now carries a size, github included), but the wrapper is not what makes it\n * rare: without one, an EMPTY meta group still costs 8px, because\n * `.s60146d_cardActions` is a flex row with `gap: 8px` and a zero-width item is still\n * an item. The row is a wrapping flex, so an active install flow (which claims\n * the full width) drops the whole group to the next line rather than squeezing\n * it. */\n.sa3d812_cardMeta {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n margin-left: auto;\n min-width: 0;\n}\n\n/* The on-disk size, left of the author. Mono and tabular so the digits of one\n * figure line up with the digits of another WHEREVER the two land: `.sa3d812_cardMeta`\n * is flush right and the author sits outside the size, so a size's x position\n * moves with the author's width and is different again on the many entries\n * that carry no author at all. There is no column to align to, which is why\n * the reason given here is per-figure legibility rather than the column the\n * first version of this comment claimed. Secondary colour, because it\n * qualifies the entry rather than announcing it.\n *\n * `font-variant-numeric` is safe HERE and would not be on a pill: this element\n * has no state rules, so nothing it does can reflow a wrapping row.\n *\n * `.s1ed655_shelfDate` shares this rule because it is the same kind of fact — a\n * fixed-width figure a reader compares down the shelf (design\n * 2026-10-12-shelf-orders §4) — and two copies of these declarations would\n * drift. */\n.sf46635_size,\n.s1ed655_shelfDate {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-variant-numeric: tabular-nums;\n font-size: 12px;\n letter-spacing: 0.02em;\n white-space: nowrap;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* The publishing account, at the outer end of `.sa3d812_cardMeta` on the action row —\n * NOT beside the npm link in the expanded detail, which is where it used to\n * live and what this comment described until the accurate half was deleted\n * with the `margin-left: auto` that moved to `.sa3d812_cardMeta`. There is no middot:\n * `.sa3d812_cardMeta`'s 8px gap separates it from the size.\n *\n * Secondary label colour carries the distinction — never a background fill,\n * which is invisible in the light theme where every bg-layer token is the\n * same white. */\n.s73ad32_author {\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n}\n\n.s4cb516_reviewedLine {\n margin: 8px 0 0;\n padding: 6px 8px;\n border-radius: 6px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 12%, transparent);\n font-size: 12px;\n color: var(--shop-warn-on-tint);\n}\n\n/* Install flow. */\n.s2939d9_installPanel {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 2px;\n}\n\n/* ONE geometry for everything that occupies the install button's place: the\n * button itself, the confirm/cancel pair beside the restart gate, the installed\n * label, and the refused label. Stated once because a refused label HAS to look\n * like the button it replaces apart from its colour and its text, and four\n * copies of the same five declarations is how they stop looking alike.\n * `cursor: pointer` is NOT here: only the controls that can be pressed take it,\n * while a label renders with the default cursor. */\n.sbed1e9_installButton,\n.s87b037_confirmButton,\n.s25aa74_cancelButton,\n.s625907_installedLabel,\n.s8ff511_refusedLabel {\n align-self: flex-start;\n margin: 0;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n font-size: 13px;\n}\n\n.sbed1e9_installButton, .s87b037_confirmButton, .s25aa74_cancelButton {\n cursor: pointer;\n}\n\n.sbed1e9_installButton {\n border-color: var(--dsw-alias-brand-primary);\n background: var(--dsw-alias-brand-primary);\n color: var(--dsw-alias-bg-base);\n}\n\n/* Between the click and the host's answer. The flow ignores a repeat start for\n * the same identity, so this is the visible half of the same fact: a control\n * that says \"not now\" rather than one that looks ready to send a second\n * install. Only the button can be in this state — a label is never pressed. */\n.sbed1e9_installButton:disabled {\n cursor: wait;\n}\n\n.sbed1e9_installButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 88%, var(--dsw-alias-label-primary));\n}\n\n.s87b037_confirmButton {\n border: 1px solid var(--dsw-alias-brand-primary);\n background: var(--dsw-alias-brand-primary);\n color: var(--dsw-alias-bg-base);\n}\n\n.s87b037_confirmButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 88%, var(--dsw-alias-label-primary));\n}\n\n.s25aa74_cancelButton {\n border: 1px solid var(--dsw-alias-border-l2);\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-primary);\n}\n\n.s25aa74_cancelButton:hover {\n border-color: var(--dsw-alias-label-secondary);\n}\n\n.sbed1e9_installButton:focus-visible, .s87b037_confirmButton:focus-visible, .s25aa74_cancelButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The shelf card of a plugin that is installed and current carries this\n * non-interactive label instead of an install button. Border + text do the\n * work in the light theme, where every bg-layer token resolves to white. */\n.s625907_installedLabel {\n align-self: flex-start;\n margin: 0;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n font-size: 13px;\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-2);\n}\n\n/* The refused Install/Update button's replacement: the same box as the button\n * (the geometry rule above), filled solid red, not pressable. The fill is the\n * derived red rather than the raw token because text sits on it — bg-base on\n * `--shop-error` measures 5.31:1 light and 6.14:1 dark — and the raw error red\n * under bg-base text measures 4.498:1, the miss this whole family of fixes\n * exists for. Nothing here changes on hover: it is a statement, not a control,\n * so it keeps the default cursor and its colours. */\n.s8ff511_refusedLabel {\n border-color: var(--shop-error);\n background: var(--shop-error);\n color: var(--dsw-alias-bg-base);\n white-space: nowrap;\n}\n\n/* An installed card's controls: the installed label or the update button,\n * plus the uninstall button. The install panel's running/failed states are\n * column layouts and sit as one item of this row. */\n.s778197_installedActions {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n/* Uninstall revokes privilege; the quiet outline keeps it from competing\n * with the primary action, and the error tint says \"removes\". */\n.s101d90_uninstallButton {\n align-self: flex-start;\n padding: 5px 14px;\n border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 55%, transparent);\n border-radius: 6px;\n background: transparent;\n /* The on-tint red: hovering this button paints a 10% red fill under the\n * word, where the plain red measures 4.50:1 (light) — the same two\n * thousandths short of the floor the raw token shipped at. */\n color: var(--shop-error-on-tint);\n font-size: 13px;\n cursor: pointer;\n}\n\n.s101d90_uninstallButton:hover {\n background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);\n}\n\n.s101d90_uninstallButton:focus-visible {\n outline: 2px solid var(--dsw-alias-state-error-primary);\n outline-offset: 1px;\n}\n\n/* The restart dsh button on a done install: quiet outline, same rank as\n * the other secondary actions. */\n.s3ce51c_restartSelfButton {\n /* The version row's third state. Geometry matches .saf2115_checkUpdateButton and\n * .s9b7543_updateSelfButton exactly — the row is one evolving control and a\n * different pill would read as a different kind of thing. It takes the\n * emphasised fill rather than the neutral one because at that moment the\n * restart is the only thing left to do, the same reason Update has it. */\n padding: 2px 10px;\n border: 1px solid var(--dsw-alias-brand-primary);\n border-radius: 999px;\n background: color-mix(in srgb, var(--dsw-alias-brand-primary) 12%, transparent);\n color: var(--dsw-alias-brand-primary);\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n}\n\n.s3ce51c_restartSelfButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The two activation offers share one recipe: a border in an alias token,\n * never a `bg-layer` fill alone — all four bg-layer tokens collapse to the\n * same white under `body` in the light theme, and a fill-only button would\n * vanish there. Grouped rather than copied, because a copy is a rule that\n * can be corrected on one button and left wrong on the other, silently. */\n.s8825d6_restartButton,\n.se653c5_reloadButton {\n align-self: flex-start;\n padding: 5px 14px;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 6px;\n background: var(--dsw-alias-bg-layer-2);\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n cursor: pointer;\n}\n\n.s8825d6_restartButton:hover,\n.se653c5_reloadButton:hover {\n border-color: var(--dsw-alias-label-secondary);\n}\n\n.s8825d6_restartButton:focus-visible,\n.se653c5_reloadButton:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n/* The §4 reload offer: a notice plus its button, one item of\n * `.s778197_installedActions` the way the restart gate is — a column of its own\n * rather than inline with the row. */\n.s6f65c8_reloadPanel {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n}\n\n\n.sd73f9b_gate {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px;\n border: 1px solid var(--dsw-alias-state-warn-primary);\n border-radius: 8px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 8%, transparent);\n}\n\n.sd19760_gateTitle {\n margin: 0;\n font-size: 13px;\n font-weight: 600;\n color: var(--shop-warn-on-tint);\n}\n\n.sda370e_gateBody {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n color: var(--dsw-alias-label-primary);\n}\n\n.sf9a5e8_gateWarning {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n white-space: pre-line;\n color: var(--shop-error);\n}\n\n.scbfa86_gateActions {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.sd96922_installing {\n margin: 0;\n font-size: 12px;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sbe4c5d_log {\n max-height: 160px;\n overflow: auto;\n margin: 0;\n padding: 8px;\n border-radius: 6px;\n background: var(--dsw-alias-bg-base);\n border: 1px solid var(--dsw-alias-border-l1);\n list-style: none;\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 11px;\n line-height: 1.5;\n}\n\n.sba9fb9_logLine {\n white-space: pre-wrap;\n word-break: break-all;\n color: var(--dsw-alias-label-secondary);\n}\n\n.s2e627d_notice {\n margin: 0;\n font-size: 12px;\n color: var(--shop-success);\n}\n\n.sb903e6_failedHeading {\n margin: 0;\n font-size: 12px;\n font-weight: 600;\n color: var(--shop-error);\n}\n\n.s65b313_failedDetail {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n color: var(--dsw-alias-label-primary);\n}\n\n.s26534d_rejectedCode {\n margin: 0;\n font-size: 12px;\n font-weight: 600;\n color: var(--shop-error);\n}\n\n.sd57e0b_rejectedDetail {\n margin: 0;\n font-size: 12px;\n line-height: 1.6;\n color: var(--dsw-alias-label-primary);\n}\n\n/* The Updatable section. The class keeps the Host's field name; only the\n heading the reader sees was renamed. */\n.sc0ff9d_outdatedSection {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 6px;\n}\n\n.s88a644_outdatedList {\n display: flex;\n flex-direction: column;\n gap: 8px;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.sbc4644_outdatedRow {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n flex-wrap: wrap;\n padding: 10px 12px;\n border: 1px solid var(--dsw-alias-border-l1);\n border-radius: 8px;\n background: var(--dsw-alias-bg-layer-1);\n}\n\n.s698b96_outdatedInfo {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n}\n\n.s698b96_outdatedInfo strong {\n font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font-size: 13px;\n word-break: break-all;\n color: var(--dsw-alias-label-primary);\n}\n\n.sec4841_outdatedVersions {\n /* Two inline labels with nothing between them in the markup ran together as\n * `installed v1.0.0latest v2.0.0`: JSX drops the whitespace-only line, and\n * the per-label class the markup asked for was never defined (singular\n * against this rule's plural). The container owns the gap, the same idiom\n * as .sc35156_badges — the labels need no class of their own. */\n display: inline-flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: var(--dsw-alias-label-secondary);\n}\n\n/* The §C10 shadowed section. Reuses the outdated list's visual language; only\n * the section spacing and the per-row explanation paragraph are its own. */\n.s1978b9_shadowedSection {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 6px;\n}\n\n.s7da8ff_shadowedDetail {\n margin: 4px 0 0;\n font-size: 12px;\n line-height: 1.5;\n color: var(--dsw-alias-label-secondary);\n}\n\n.sf6c909_outdatedActions {\n display: flex;\n align-items: center;\n /* The reload offer (§4) mounts inside the switch beside the Update button\n * and is a two-line block, not a control: without wrapping, a row reading\n * [switch][notice + Reload][Update] overflowed the Settings dialog the shop\n * sat in through 0.8.7, and the page's column narrows with the window. */\n flex-wrap: wrap;\n gap: 10px;\n}\n\n/* The shop's one switch. It is worn by two controls that mean different\n * things — the enable/disable toggle on an installed card, and the shelf's\n * incompatible filter — so the geometry lives here once and each caller states\n * only its hue.\n *\n * `--switch-hue` is that knob, and it is read from the ANCESTOR rather than\n * declared per state: `.sbccc7c_incompatibleFilter` sets it once and it reaches the\n * track and the label together, which is what keeps a red switch from sitting\n * under a neutral word. A declaration on `.s5eac80_switch` itself would shadow the\n * inherited value (an element's own rule beats what it inherits), so the\n * default rides in the `var()` fallback and is resolved once into\n * `--track-hue` instead of being spelled out at each use.\n *\n * `box-sizing` and `padding` are stated because the two callers are different\n * elements — a `<button>`, which the UA gives padding, and a `<span>`, which\n * it does not. Without them the same class renders two sizes, and the knob\n * sits 2px above centre in the taller one. */\n.s5eac80_switch {\n --track-hue: var(--switch-hue, var(--dsw-alias-state-success-primary));\n box-sizing: border-box;\n display: inline-block;\n position: relative;\n width: 32px;\n height: 18px;\n padding: 0;\n border: 1px solid var(--dsw-alias-border-l2);\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-2);\n cursor: pointer;\n transition: background 120ms ease, border-color 120ms ease;\n}\n\n/* The knob's POSITION is the state, which is the reason this control needs no\n * `forced-colors` fallback the way the category pills do: a system palette\n * replaces every colour below and moves nothing. */\n.s9a6bff_switchOn {\n border-color: var(--track-hue);\n background: color-mix(in srgb, var(--track-hue) 55%, transparent);\n}\n\n.s394db2_switchKnob {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 12px;\n height: 12px;\n border-radius: 999px;\n background: var(--dsw-alias-label-primary);\n transition: transform 120ms ease, background 120ms ease;\n}\n\n.s9a6bff_switchOn .s394db2_switchKnob {\n transform: translateX(14px);\n background: var(--dsw-alias-bg-base);\n}\n\n.s5eac80_switch:focus-visible {\n outline: 2px solid var(--dsw-alias-brand-primary);\n outline-offset: 1px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .s5eac80_switch, .s394db2_switchKnob { transition: none; }\n}\n\n/* The hot enable/disable switch on installed rows: the knob button plus the\n * §8 hot-apply / failure notices rendered beside it. */\n.s20db3a_switchWrap {\n display: inline-flex;\n align-items: center;\n /* Same reason as `.sf6c909_outdatedActions`: `.s6f65c8_reloadPanel`'s own comment calls\n * itself \"a column of its own rather than inline with the row\", which held\n * for `.s778197_installedActions` and not here until this line. */\n flex-wrap: wrap;\n gap: 8px;\n}\n";
|
|
8422
|
+
if (typeof document !== "undefined" && !document.querySelector("style[data-plugin-css=\"55877f8c\"]")) {
|
|
8423
8423
|
const tag = document.createElement("style");
|
|
8424
|
-
tag.dataset.pluginCss = "
|
|
8424
|
+
tag.dataset.pluginCss = "55877f8c";
|
|
8425
8425
|
tag.textContent = css;
|
|
8426
8426
|
document.head.appendChild(tag);
|
|
8427
8427
|
}
|
|
8428
|
-
var
|
|
8429
|
-
"client": "
|
|
8430
|
-
"config": "
|
|
8431
|
-
"ts": "
|
|
8432
|
-
"spec": "
|
|
8433
|
-
"panel": "
|
|
8434
|
-
"searchInput": "
|
|
8435
|
-
"toolbar": "
|
|
8436
|
-
"page": "
|
|
8437
|
-
"pageHead": "
|
|
8438
|
-
"pageTitle": "
|
|
8439
|
-
"pageIntro": "
|
|
8440
|
-
"detailAction": "
|
|
8441
|
-
"stateLine": "
|
|
8442
|
-
"srOnly": "
|
|
8443
|
-
"skeletonGrid": "
|
|
8444
|
-
"skeletonCard": "
|
|
8445
|
-
"skeletonName": "
|
|
8446
|
-
"skeletonSummary": "
|
|
8447
|
-
"skeletonSummaryShort": "
|
|
8448
|
-
"skeletonActions": "
|
|
8449
|
-
"actionButton": "
|
|
8450
|
-
"toolbarRight": "
|
|
8451
|
-
"versionBlock": "
|
|
8452
|
-
"versionText": "
|
|
8453
|
-
"updateSelfButton": "
|
|
8454
|
-
"checkUpdateButton": "
|
|
8455
|
-
"githubLink": "
|
|
8456
|
-
"selfUpdatePanel": "
|
|
8457
|
-
"expansionNote": "
|
|
8458
|
-
"staleBadge": "
|
|
8459
|
-
"categoryBar": "
|
|
8460
|
-
"categoryButton": "
|
|
8461
|
-
"categoryButtonOn": "
|
|
8462
|
-
"incompatibleFilter": "
|
|
8463
|
-
"switch": "
|
|
8464
|
-
"switchOn": "
|
|
8465
|
-
"incompatibleFilterOn": "
|
|
8466
|
-
"switchKnob": "
|
|
8467
|
-
"updatableHeading": "
|
|
8468
|
-
"catalogStatsRow": "
|
|
8469
|
-
"sortGroup": "
|
|
8470
|
-
"sortLabel": "
|
|
8471
|
-
"catalogStats": "
|
|
8472
|
-
"catalogRefreshButton": "
|
|
8473
|
-
"catalogRefreshFailed": "
|
|
8474
|
-
"emptyLine": "
|
|
8475
|
-
"cards": "
|
|
8476
|
-
"card": "
|
|
8477
|
-
"cardsSentry": "
|
|
8478
|
-
"showingLine": "
|
|
8479
|
-
"cardSpine": "
|
|
8480
|
-
"categoryBadge": "
|
|
8481
|
-
"entryHeader": "
|
|
8482
|
-
"name": "
|
|
8483
|
-
"badges": "
|
|
8484
|
-
"cardActions": "
|
|
8485
|
-
"gate": "
|
|
8486
|
-
"installPanel": "
|
|
8487
|
-
"installedActions": "
|
|
8488
|
-
"cardVersion": "
|
|
8489
|
-
"sourceBadge": "
|
|
8490
|
-
"tierBadge": "
|
|
8491
|
-
"incompatibleBadge": "
|
|
8492
|
-
"starsBadge": "
|
|
8493
|
-
"chevron": "
|
|
8494
|
-
"chevronOpen": "
|
|
8495
|
-
"body": "
|
|
8496
|
-
"summary": "
|
|
8497
|
-
"summaryZh": "
|
|
8498
|
-
"summaryExpanded": "
|
|
8499
|
-
"summaryZhExpanded": "
|
|
8500
|
-
"incompatibleDetail": "
|
|
8501
|
-
"remedy": "
|
|
8502
|
-
"foldBlock": "
|
|
8503
|
-
"foldBlockExpanded": "
|
|
8504
|
-
"foldToggle": "
|
|
8505
|
-
"remedyLead": "
|
|
8506
|
-
"allowCommand": "
|
|
8507
|
-
"refusal": "
|
|
8508
|
-
"capabilitiesBlock": "
|
|
8509
|
-
"capabilitiesNote": "
|
|
8510
|
-
"capabilities": "
|
|
8511
|
-
"detail": "
|
|
8512
|
-
"detailRows": "
|
|
8513
|
-
"detailRow": "
|
|
8514
|
-
"cardMeta": "
|
|
8515
|
-
"shelfDate": "
|
|
8516
|
-
"size": "
|
|
8517
|
-
"author": "
|
|
8518
|
-
"reviewedLine": "
|
|
8519
|
-
"installButton": "
|
|
8520
|
-
"confirmButton": "
|
|
8521
|
-
"cancelButton": "
|
|
8522
|
-
"installedLabel": "
|
|
8523
|
-
"refusedLabel": "
|
|
8524
|
-
"uninstallButton": "
|
|
8525
|
-
"restartSelfButton": "
|
|
8526
|
-
"restartButton": "
|
|
8527
|
-
"reloadButton": "
|
|
8528
|
-
"reloadPanel": "
|
|
8529
|
-
"gateTitle": "
|
|
8530
|
-
"gateBody": "
|
|
8531
|
-
"gateWarning": "
|
|
8532
|
-
"gateActions": "
|
|
8533
|
-
"installing": "
|
|
8534
|
-
"log": "
|
|
8535
|
-
"logLine": "
|
|
8536
|
-
"notice": "
|
|
8537
|
-
"failedHeading": "
|
|
8538
|
-
"failedDetail": "
|
|
8539
|
-
"rejectedCode": "
|
|
8540
|
-
"rejectedDetail": "
|
|
8541
|
-
"outdatedSection": "
|
|
8542
|
-
"outdatedList": "
|
|
8543
|
-
"outdatedRow": "
|
|
8544
|
-
"outdatedInfo": "
|
|
8545
|
-
"outdatedVersions": "
|
|
8546
|
-
"shadowedSection": "
|
|
8547
|
-
"shadowedDetail": "
|
|
8548
|
-
"outdatedActions": "
|
|
8549
|
-
"switchWrap": "
|
|
8428
|
+
var _dsh_plugin_shop_css_55877f8c_default = {
|
|
8429
|
+
"client": "sc9e7f9_client",
|
|
8430
|
+
"config": "sfd22ad_config",
|
|
8431
|
+
"ts": "sc6a209_ts",
|
|
8432
|
+
"spec": "sbd8c08_spec",
|
|
8433
|
+
"panel": "sc12cae_panel",
|
|
8434
|
+
"searchInput": "sf71137_searchInput",
|
|
8435
|
+
"toolbar": "s57aaeb_toolbar",
|
|
8436
|
+
"page": "s356340_page",
|
|
8437
|
+
"pageHead": "s9480b2_pageHead",
|
|
8438
|
+
"pageTitle": "s9d916c_pageTitle",
|
|
8439
|
+
"pageIntro": "s925866_pageIntro",
|
|
8440
|
+
"detailAction": "sb3b9a7_detailAction",
|
|
8441
|
+
"stateLine": "s5e42a0_stateLine",
|
|
8442
|
+
"srOnly": "saf74af_srOnly",
|
|
8443
|
+
"skeletonGrid": "s3a278b_skeletonGrid",
|
|
8444
|
+
"skeletonCard": "sfe160e_skeletonCard",
|
|
8445
|
+
"skeletonName": "se5b31b_skeletonName",
|
|
8446
|
+
"skeletonSummary": "se3eaf2_skeletonSummary",
|
|
8447
|
+
"skeletonSummaryShort": "s1161e4_skeletonSummaryShort",
|
|
8448
|
+
"skeletonActions": "s418261_skeletonActions",
|
|
8449
|
+
"actionButton": "sb64dd7_actionButton",
|
|
8450
|
+
"toolbarRight": "sfd9981_toolbarRight",
|
|
8451
|
+
"versionBlock": "sa44ddb_versionBlock",
|
|
8452
|
+
"versionText": "s5208e5_versionText",
|
|
8453
|
+
"updateSelfButton": "s9b7543_updateSelfButton",
|
|
8454
|
+
"checkUpdateButton": "saf2115_checkUpdateButton",
|
|
8455
|
+
"githubLink": "s3fe9ac_githubLink",
|
|
8456
|
+
"selfUpdatePanel": "s103d87_selfUpdatePanel",
|
|
8457
|
+
"expansionNote": "s99c1cb_expansionNote",
|
|
8458
|
+
"staleBadge": "sf91649_staleBadge",
|
|
8459
|
+
"categoryBar": "s13be8e_categoryBar",
|
|
8460
|
+
"categoryButton": "s660670_categoryButton",
|
|
8461
|
+
"categoryButtonOn": "s5ac2f7_categoryButtonOn",
|
|
8462
|
+
"incompatibleFilter": "sbccc7c_incompatibleFilter",
|
|
8463
|
+
"switch": "s5eac80_switch",
|
|
8464
|
+
"switchOn": "s9a6bff_switchOn",
|
|
8465
|
+
"incompatibleFilterOn": "s695f72_incompatibleFilterOn",
|
|
8466
|
+
"switchKnob": "s394db2_switchKnob",
|
|
8467
|
+
"updatableHeading": "s7ce4a8_updatableHeading",
|
|
8468
|
+
"catalogStatsRow": "sbdfcb6_catalogStatsRow",
|
|
8469
|
+
"sortGroup": "s389d1a_sortGroup",
|
|
8470
|
+
"sortLabel": "s5d77c3_sortLabel",
|
|
8471
|
+
"catalogStats": "s3e470e_catalogStats",
|
|
8472
|
+
"catalogRefreshButton": "sa37862_catalogRefreshButton",
|
|
8473
|
+
"catalogRefreshFailed": "sd96cea_catalogRefreshFailed",
|
|
8474
|
+
"emptyLine": "s8ed799_emptyLine",
|
|
8475
|
+
"cards": "se3468f_cards",
|
|
8476
|
+
"card": "s5d778d_card",
|
|
8477
|
+
"cardsSentry": "s343c70_cardsSentry",
|
|
8478
|
+
"showingLine": "sb0f284_showingLine",
|
|
8479
|
+
"cardSpine": "s8ff6c5_cardSpine",
|
|
8480
|
+
"categoryBadge": "s3fd6ff_categoryBadge",
|
|
8481
|
+
"entryHeader": "s8c4a3b_entryHeader",
|
|
8482
|
+
"name": "s840978_name",
|
|
8483
|
+
"badges": "sc35156_badges",
|
|
8484
|
+
"cardActions": "s60146d_cardActions",
|
|
8485
|
+
"gate": "sd73f9b_gate",
|
|
8486
|
+
"installPanel": "s2939d9_installPanel",
|
|
8487
|
+
"installedActions": "s778197_installedActions",
|
|
8488
|
+
"cardVersion": "s893476_cardVersion",
|
|
8489
|
+
"sourceBadge": "s99a197_sourceBadge",
|
|
8490
|
+
"tierBadge": "s8f9a40_tierBadge",
|
|
8491
|
+
"incompatibleBadge": "sa36a16_incompatibleBadge",
|
|
8492
|
+
"starsBadge": "s4d1988_starsBadge",
|
|
8493
|
+
"chevron": "s562436_chevron",
|
|
8494
|
+
"chevronOpen": "s3b0f7b_chevronOpen",
|
|
8495
|
+
"body": "s799ca8_body",
|
|
8496
|
+
"summary": "s8f38ee_summary",
|
|
8497
|
+
"summaryZh": "s4bf68a_summaryZh",
|
|
8498
|
+
"summaryExpanded": "s6b5504_summaryExpanded",
|
|
8499
|
+
"summaryZhExpanded": "s3fb2ac_summaryZhExpanded",
|
|
8500
|
+
"incompatibleDetail": "s548ce3_incompatibleDetail",
|
|
8501
|
+
"remedy": "s71e168_remedy",
|
|
8502
|
+
"foldBlock": "sf9c5e1_foldBlock",
|
|
8503
|
+
"foldBlockExpanded": "sa2de83_foldBlockExpanded",
|
|
8504
|
+
"foldToggle": "s50d0b1_foldToggle",
|
|
8505
|
+
"remedyLead": "saf56de_remedyLead",
|
|
8506
|
+
"allowCommand": "s9c3d79_allowCommand",
|
|
8507
|
+
"refusal": "sed0fca_refusal",
|
|
8508
|
+
"capabilitiesBlock": "s22e0f8_capabilitiesBlock",
|
|
8509
|
+
"capabilitiesNote": "s6238b1_capabilitiesNote",
|
|
8510
|
+
"capabilities": "s481c05_capabilities",
|
|
8511
|
+
"detail": "sea222d_detail",
|
|
8512
|
+
"detailRows": "saf67cb_detailRows",
|
|
8513
|
+
"detailRow": "s43bed4_detailRow",
|
|
8514
|
+
"cardMeta": "sa3d812_cardMeta",
|
|
8515
|
+
"shelfDate": "s1ed655_shelfDate",
|
|
8516
|
+
"size": "sf46635_size",
|
|
8517
|
+
"author": "s73ad32_author",
|
|
8518
|
+
"reviewedLine": "s4cb516_reviewedLine",
|
|
8519
|
+
"installButton": "sbed1e9_installButton",
|
|
8520
|
+
"confirmButton": "s87b037_confirmButton",
|
|
8521
|
+
"cancelButton": "s25aa74_cancelButton",
|
|
8522
|
+
"installedLabel": "s625907_installedLabel",
|
|
8523
|
+
"refusedLabel": "s8ff511_refusedLabel",
|
|
8524
|
+
"uninstallButton": "s101d90_uninstallButton",
|
|
8525
|
+
"restartSelfButton": "s3ce51c_restartSelfButton",
|
|
8526
|
+
"restartButton": "s8825d6_restartButton",
|
|
8527
|
+
"reloadButton": "se653c5_reloadButton",
|
|
8528
|
+
"reloadPanel": "s6f65c8_reloadPanel",
|
|
8529
|
+
"gateTitle": "sd19760_gateTitle",
|
|
8530
|
+
"gateBody": "sda370e_gateBody",
|
|
8531
|
+
"gateWarning": "sf9a5e8_gateWarning",
|
|
8532
|
+
"gateActions": "scbfa86_gateActions",
|
|
8533
|
+
"installing": "sd96922_installing",
|
|
8534
|
+
"log": "sbe4c5d_log",
|
|
8535
|
+
"logLine": "sba9fb9_logLine",
|
|
8536
|
+
"notice": "s2e627d_notice",
|
|
8537
|
+
"failedHeading": "sb903e6_failedHeading",
|
|
8538
|
+
"failedDetail": "s65b313_failedDetail",
|
|
8539
|
+
"rejectedCode": "s26534d_rejectedCode",
|
|
8540
|
+
"rejectedDetail": "sd57e0b_rejectedDetail",
|
|
8541
|
+
"outdatedSection": "sc0ff9d_outdatedSection",
|
|
8542
|
+
"outdatedList": "s88a644_outdatedList",
|
|
8543
|
+
"outdatedRow": "sbc4644_outdatedRow",
|
|
8544
|
+
"outdatedInfo": "s698b96_outdatedInfo",
|
|
8545
|
+
"outdatedVersions": "sec4841_outdatedVersions",
|
|
8546
|
+
"shadowedSection": "s1978b9_shadowedSection",
|
|
8547
|
+
"shadowedDetail": "s7da8ff_shadowedDetail",
|
|
8548
|
+
"outdatedActions": "sf6c909_outdatedActions",
|
|
8549
|
+
"switchWrap": "s20db3a_switchWrap"
|
|
8550
8550
|
};
|
|
8551
8551
|
//#endregion
|
|
8552
8552
|
//#region src/client/ShopDetailAction.tsx
|
|
@@ -8606,7 +8606,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8606
8606
|
if (name === null || !canOpen()) return null;
|
|
8607
8607
|
if (own) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8608
8608
|
type: "button",
|
|
8609
|
-
className:
|
|
8609
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detailAction,
|
|
8610
8610
|
"data-shop-open-shop": true,
|
|
8611
8611
|
onClick: openShop,
|
|
8612
8612
|
children: t("openShop")
|
|
@@ -8615,7 +8615,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8615
8615
|
const only = listed.keys.length === 1 ? listed.keys[0] ?? null : null;
|
|
8616
8616
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8617
8617
|
type: "button",
|
|
8618
|
-
className:
|
|
8618
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detailAction,
|
|
8619
8619
|
"data-shop-view-in-shop": true,
|
|
8620
8620
|
onClick: () => {
|
|
8621
8621
|
page.focus(name, only);
|
|
@@ -9934,13 +9934,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9934
9934
|
const { rootRef, expandable, expanded, toggle } = useFoldableRedBlock();
|
|
9935
9935
|
const kindName = attrName.replace(/^data-shop-/, "");
|
|
9936
9936
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9937
|
-
className: expanded ?
|
|
9937
|
+
className: expanded ? _dsh_plugin_shop_css_55877f8c_default.foldBlockExpanded : _dsh_plugin_shop_css_55877f8c_default.foldBlock,
|
|
9938
9938
|
[attrName]: true,
|
|
9939
9939
|
ref: rootRef,
|
|
9940
9940
|
children
|
|
9941
9941
|
}), expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
9942
9942
|
type: "button",
|
|
9943
|
-
className:
|
|
9943
|
+
className: _dsh_plugin_shop_css_55877f8c_default.foldToggle,
|
|
9944
9944
|
"data-shop-fold": kindName,
|
|
9945
9945
|
"aria-expanded": expanded,
|
|
9946
9946
|
onClick: toggle,
|
|
@@ -9962,14 +9962,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9962
9962
|
* those nodes, and React's next commit throws on the ones it no longer finds
|
|
9963
9963
|
* (design 2026-09-26-market-borrowings §4). The tab renders no portals, so its
|
|
9964
9964
|
* root is its whole surface. */
|
|
9965
|
-
const PANEL_ROOT = `${
|
|
9965
|
+
const PANEL_ROOT = `${_dsh_plugin_shop_css_55877f8c_default.panel} notranslate`;
|
|
9966
9966
|
function ChevronIcon({ open }) {
|
|
9967
9967
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
9968
9968
|
viewBox: "0 0 16 16",
|
|
9969
9969
|
width: "14",
|
|
9970
9970
|
height: "14",
|
|
9971
9971
|
"aria-hidden": "true",
|
|
9972
|
-
className: open ?
|
|
9972
|
+
className: open ? _dsh_plugin_shop_css_55877f8c_default.chevronOpen : _dsh_plugin_shop_css_55877f8c_default.chevron,
|
|
9973
9973
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
9974
9974
|
fill: "currentColor",
|
|
9975
9975
|
d: "M3.5 6 8 10.5 12.5 6l1 1L8 12.5 2.5 7l1-1Z"
|
|
@@ -10003,17 +10003,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10003
10003
|
subdir: entry.subdir
|
|
10004
10004
|
};
|
|
10005
10005
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10006
|
-
className:
|
|
10006
|
+
className: _dsh_plugin_shop_css_55877f8c_default.card,
|
|
10007
10007
|
"data-shop-entry": entry.name,
|
|
10008
10008
|
"data-category": category,
|
|
10009
10009
|
children: [
|
|
10010
10010
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10011
|
-
className:
|
|
10011
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cardSpine,
|
|
10012
10012
|
"aria-hidden": "true"
|
|
10013
10013
|
}),
|
|
10014
10014
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
10015
10015
|
type: "button",
|
|
10016
|
-
className:
|
|
10016
|
+
className: _dsh_plugin_shop_css_55877f8c_default.entryHeader,
|
|
10017
10017
|
"aria-expanded": open,
|
|
10018
10018
|
"aria-controls": detailId,
|
|
10019
10019
|
onClick: () => {
|
|
@@ -10021,17 +10021,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10021
10021
|
rerender();
|
|
10022
10022
|
},
|
|
10023
10023
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10024
|
-
className:
|
|
10024
|
+
className: _dsh_plugin_shop_css_55877f8c_default.name,
|
|
10025
10025
|
children: entry.name
|
|
10026
10026
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
10027
|
-
className:
|
|
10027
|
+
className: _dsh_plugin_shop_css_55877f8c_default.badges,
|
|
10028
10028
|
children: [
|
|
10029
10029
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10030
|
-
className:
|
|
10030
|
+
className: _dsh_plugin_shop_css_55877f8c_default.categoryBadge,
|
|
10031
10031
|
children: t(categoryKey(entry))
|
|
10032
10032
|
}),
|
|
10033
10033
|
entry.source === "npm" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10034
|
-
className:
|
|
10034
|
+
className: _dsh_plugin_shop_css_55877f8c_default.sourceBadge,
|
|
10035
10035
|
"data-shop-source-npm": true,
|
|
10036
10036
|
role: "img",
|
|
10037
10037
|
"aria-label": t("npmSource"),
|
|
@@ -10048,7 +10048,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10048
10048
|
})
|
|
10049
10049
|
}),
|
|
10050
10050
|
hasGithubHome(entry) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10051
|
-
className:
|
|
10051
|
+
className: _dsh_plugin_shop_css_55877f8c_default.sourceBadge,
|
|
10052
10052
|
"data-shop-source-github": true,
|
|
10053
10053
|
role: "img",
|
|
10054
10054
|
"aria-label": t("githubSource"),
|
|
@@ -10062,7 +10062,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10062
10062
|
})
|
|
10063
10063
|
}),
|
|
10064
10064
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10065
|
-
className:
|
|
10065
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cardVersion,
|
|
10066
10066
|
"data-card-version": true,
|
|
10067
10067
|
role: "img",
|
|
10068
10068
|
"aria-label": versionName,
|
|
@@ -10070,17 +10070,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10070
10070
|
children: version.text
|
|
10071
10071
|
}),
|
|
10072
10072
|
entry.tier !== "community" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10073
|
-
className:
|
|
10073
|
+
className: _dsh_plugin_shop_css_55877f8c_default.tierBadge,
|
|
10074
10074
|
"data-tier": entry.tier,
|
|
10075
10075
|
children: t(tierKey(entry.tier))
|
|
10076
10076
|
}),
|
|
10077
10077
|
entry.archived === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10078
|
-
className:
|
|
10078
|
+
className: _dsh_plugin_shop_css_55877f8c_default.tierBadge,
|
|
10079
10079
|
"data-tier": "archived",
|
|
10080
10080
|
children: t("archivedBadge")
|
|
10081
10081
|
}),
|
|
10082
10082
|
stars !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
10083
|
-
className:
|
|
10083
|
+
className: _dsh_plugin_shop_css_55877f8c_default.starsBadge,
|
|
10084
10084
|
role: "img",
|
|
10085
10085
|
"aria-label": t("stars", { count: stars }),
|
|
10086
10086
|
children: ["★ ", formatStars(stars)]
|
|
@@ -10090,14 +10090,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10090
10090
|
})]
|
|
10091
10091
|
}),
|
|
10092
10092
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10093
|
-
className:
|
|
10093
|
+
className: _dsh_plugin_shop_css_55877f8c_default.body,
|
|
10094
10094
|
children: [
|
|
10095
10095
|
summary !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10096
|
-
className: open ? `${
|
|
10096
|
+
className: open ? `${_dsh_plugin_shop_css_55877f8c_default.summary} ${_dsh_plugin_shop_css_55877f8c_default.summaryExpanded}` : _dsh_plugin_shop_css_55877f8c_default.summary,
|
|
10097
10097
|
children: summary.en
|
|
10098
10098
|
}),
|
|
10099
10099
|
summary?.zh !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10100
|
-
className: open ? `${
|
|
10100
|
+
className: open ? `${_dsh_plugin_shop_css_55877f8c_default.summaryZh} ${_dsh_plugin_shop_css_55877f8c_default.summaryZhExpanded}` : _dsh_plugin_shop_css_55877f8c_default.summaryZh,
|
|
10101
10101
|
children: summary.zh
|
|
10102
10102
|
}),
|
|
10103
10103
|
blockers.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FoldableRedBlock, {
|
|
@@ -10105,28 +10105,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10105
10105
|
attrName: "data-shop-remedy",
|
|
10106
10106
|
children: blockers.map((blocker) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BlockerLine, {
|
|
10107
10107
|
blocker,
|
|
10108
|
-
className:
|
|
10108
|
+
className: _dsh_plugin_shop_css_55877f8c_default.incompatibleDetail,
|
|
10109
10109
|
surface: "detail"
|
|
10110
10110
|
}, blocker.kind))
|
|
10111
10111
|
}),
|
|
10112
10112
|
open && entry.catalog !== void 0 && entry.catalog.capabilities.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10113
|
-
className:
|
|
10113
|
+
className: _dsh_plugin_shop_css_55877f8c_default.capabilitiesBlock,
|
|
10114
10114
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10115
|
-
className:
|
|
10115
|
+
className: _dsh_plugin_shop_css_55877f8c_default.capabilitiesNote,
|
|
10116
10116
|
children: t("capabilitiesNote")
|
|
10117
10117
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10118
|
-
className:
|
|
10118
|
+
className: _dsh_plugin_shop_css_55877f8c_default.capabilities,
|
|
10119
10119
|
children: entry.catalog.capabilities.map((capability) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: capability }, capability))
|
|
10120
10120
|
})]
|
|
10121
10121
|
}),
|
|
10122
10122
|
open && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10123
10123
|
id: detailId,
|
|
10124
|
-
className:
|
|
10124
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detail,
|
|
10125
10125
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("dl", {
|
|
10126
|
-
className:
|
|
10126
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detailRows,
|
|
10127
10127
|
children: [
|
|
10128
10128
|
npmUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10129
|
-
className:
|
|
10129
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detailRow,
|
|
10130
10130
|
"data-shop-npm": true,
|
|
10131
10131
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", { children: t("npmPage") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10132
10132
|
href: npmUrl,
|
|
@@ -10136,7 +10136,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10136
10136
|
}) })]
|
|
10137
10137
|
}),
|
|
10138
10138
|
entry.repository !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10139
|
-
className:
|
|
10139
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detailRow,
|
|
10140
10140
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", { children: t("repository") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", { children: /^https?:\/\//.test(entry.repository) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10141
10141
|
href: entry.repository,
|
|
10142
10142
|
target: "_blank",
|
|
@@ -10145,12 +10145,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10145
10145
|
}) : entry.repository })]
|
|
10146
10146
|
}),
|
|
10147
10147
|
entry.license !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10148
|
-
className:
|
|
10148
|
+
className: _dsh_plugin_shop_css_55877f8c_default.detailRow,
|
|
10149
10149
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("dt", { children: t("license") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("dd", { children: isCustomLicense(entry.license) ? t("customLicense") : entry.license })]
|
|
10150
10150
|
})
|
|
10151
10151
|
]
|
|
10152
10152
|
}), entry.tier === "verified-stale" && entry.review !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10153
|
-
className:
|
|
10153
|
+
className: _dsh_plugin_shop_css_55877f8c_default.reviewedLine,
|
|
10154
10154
|
children: entry.review.reviewedVersion !== void 0 ? t("reviewedVersionLine", {
|
|
10155
10155
|
reviewed: versionLabel("npm", entry.review.reviewedVersion).text,
|
|
10156
10156
|
current: version.text
|
|
@@ -10163,7 +10163,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10163
10163
|
]
|
|
10164
10164
|
}),
|
|
10165
10165
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10166
|
-
className:
|
|
10166
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cardActions,
|
|
10167
10167
|
"data-shop-actions": true,
|
|
10168
10168
|
children: [installed === void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [!inInstalledView && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InstallPanel, {
|
|
10169
10169
|
target: installTarget,
|
|
@@ -10195,7 +10195,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10195
10195
|
restartBlocked,
|
|
10196
10196
|
reload
|
|
10197
10197
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10198
|
-
className:
|
|
10198
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installedLabel,
|
|
10199
10199
|
"data-shop-installed": true,
|
|
10200
10200
|
children: t("installed")
|
|
10201
10201
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BlockerBadge, {
|
|
@@ -10221,15 +10221,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10221
10221
|
flow: uninstallFlow
|
|
10222
10222
|
})
|
|
10223
10223
|
] }), (size !== void 0 || author !== null || shelfDay !== void 0) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
10224
|
-
className:
|
|
10224
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cardMeta,
|
|
10225
10225
|
children: [
|
|
10226
10226
|
shelfDay !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10227
|
-
className:
|
|
10227
|
+
className: _dsh_plugin_shop_css_55877f8c_default.shelfDate,
|
|
10228
10228
|
"data-shop-shelf-date": true,
|
|
10229
10229
|
children: t(order === "added" ? "listedOn" : "updatedOn", { date: shelfDay })
|
|
10230
10230
|
}),
|
|
10231
10231
|
size !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10232
|
-
className:
|
|
10232
|
+
className: _dsh_plugin_shop_css_55877f8c_default.size,
|
|
10233
10233
|
"data-shop-size": true,
|
|
10234
10234
|
role: "img",
|
|
10235
10235
|
"aria-label": t("sizeLabel", { size }),
|
|
@@ -10237,7 +10237,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10237
10237
|
children: size
|
|
10238
10238
|
}),
|
|
10239
10239
|
author !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10240
|
-
className:
|
|
10240
|
+
className: _dsh_plugin_shop_css_55877f8c_default.author,
|
|
10241
10241
|
"data-shop-author": true,
|
|
10242
10242
|
children: t("authorLine", { author })
|
|
10243
10243
|
})
|
|
@@ -10287,13 +10287,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10287
10287
|
...attribute,
|
|
10288
10288
|
children: blocker.text
|
|
10289
10289
|
}), blocker.remedy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10290
|
-
className:
|
|
10290
|
+
className: _dsh_plugin_shop_css_55877f8c_default.remedy,
|
|
10291
10291
|
"data-shop-remedy": blocker.kind,
|
|
10292
10292
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10293
|
-
className:
|
|
10293
|
+
className: _dsh_plugin_shop_css_55877f8c_default.remedyLead,
|
|
10294
10294
|
children: blocker.remedy.lead
|
|
10295
10295
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", {
|
|
10296
|
-
className:
|
|
10296
|
+
className: _dsh_plugin_shop_css_55877f8c_default.allowCommand,
|
|
10297
10297
|
"data-shop-allow-command": true,
|
|
10298
10298
|
children: blocker.remedy.command
|
|
10299
10299
|
})]
|
|
@@ -10331,7 +10331,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10331
10331
|
if (lead === void 0 || word === null) return null;
|
|
10332
10332
|
const detail = blockers.map((blocker) => blocker.text).join("\n");
|
|
10333
10333
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10334
|
-
className:
|
|
10334
|
+
className: _dsh_plugin_shop_css_55877f8c_default.incompatibleBadge,
|
|
10335
10335
|
"data-shop-blocker": lead.kind,
|
|
10336
10336
|
role: "img",
|
|
10337
10337
|
"aria-label": detail,
|
|
@@ -10363,37 +10363,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10363
10363
|
const refused = refusesInstall(blockers);
|
|
10364
10364
|
const word = blockerBadgeKey(blockers);
|
|
10365
10365
|
if (view.kind === "running") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10366
|
-
className:
|
|
10366
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installPanel,
|
|
10367
10367
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10368
|
-
className:
|
|
10368
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installing,
|
|
10369
10369
|
children: t(installPhaseKey(view.phase))
|
|
10370
10370
|
}), view.log.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10371
|
-
className:
|
|
10371
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
10372
10372
|
children: view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10373
|
-
className:
|
|
10373
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
10374
10374
|
"data-shop-log-line": true,
|
|
10375
10375
|
children: line
|
|
10376
10376
|
}, index))
|
|
10377
10377
|
})]
|
|
10378
10378
|
});
|
|
10379
10379
|
if (view.kind === "done") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10380
|
-
className:
|
|
10380
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installedActions,
|
|
10381
10381
|
children: [
|
|
10382
10382
|
view.log.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10383
|
-
className:
|
|
10383
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
10384
10384
|
children: view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10385
|
-
className:
|
|
10385
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
10386
10386
|
"data-shop-log-line": true,
|
|
10387
10387
|
children: line
|
|
10388
10388
|
}, index))
|
|
10389
10389
|
}),
|
|
10390
10390
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10391
|
-
className:
|
|
10391
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10392
10392
|
"data-shop-restart-notice": true,
|
|
10393
10393
|
children: t(activationNoticeKey(view.activation, view.restartReason))
|
|
10394
10394
|
}),
|
|
10395
10395
|
view.detail !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10396
|
-
className:
|
|
10396
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10397
10397
|
"data-shop-done-note": true,
|
|
10398
10398
|
children: view.detail
|
|
10399
10399
|
}),
|
|
@@ -10407,7 +10407,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10407
10407
|
}),
|
|
10408
10408
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10409
10409
|
type: "button",
|
|
10410
|
-
className:
|
|
10410
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
10411
10411
|
"data-shop-install-dismiss": true,
|
|
10412
10412
|
onClick: reset,
|
|
10413
10413
|
children: t("dismiss")
|
|
@@ -10415,33 +10415,33 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10415
10415
|
]
|
|
10416
10416
|
});
|
|
10417
10417
|
if (view.kind === "failed") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10418
|
-
className:
|
|
10418
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installPanel,
|
|
10419
10419
|
children: [
|
|
10420
10420
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10421
|
-
className:
|
|
10421
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedHeading,
|
|
10422
10422
|
children: t("installFailed")
|
|
10423
10423
|
}),
|
|
10424
10424
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10425
|
-
className:
|
|
10425
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
10426
10426
|
children: view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10427
|
-
className:
|
|
10427
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
10428
10428
|
"data-shop-log-line": true,
|
|
10429
10429
|
children: line
|
|
10430
10430
|
}, index))
|
|
10431
10431
|
}),
|
|
10432
10432
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10433
|
-
className:
|
|
10433
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10434
10434
|
children: view.detail === "" ? t("installTransportFailed") : view.detail
|
|
10435
10435
|
}),
|
|
10436
10436
|
refused && word !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10437
10437
|
type: "button",
|
|
10438
|
-
className:
|
|
10438
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
10439
10439
|
"data-shop-install-dismiss": true,
|
|
10440
10440
|
onClick: reset,
|
|
10441
10441
|
children: t("dismiss")
|
|
10442
10442
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10443
10443
|
type: "button",
|
|
10444
|
-
className:
|
|
10444
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installButton,
|
|
10445
10445
|
"data-shop-install-retry": true,
|
|
10446
10446
|
disabled: starting,
|
|
10447
10447
|
onClick: () => {
|
|
@@ -10452,19 +10452,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10452
10452
|
]
|
|
10453
10453
|
});
|
|
10454
10454
|
if (view.kind === "rejected") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10455
|
-
className:
|
|
10455
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installPanel,
|
|
10456
10456
|
children: [
|
|
10457
10457
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10458
|
-
className:
|
|
10458
|
+
className: _dsh_plugin_shop_css_55877f8c_default.rejectedCode,
|
|
10459
10459
|
children: t(rejectionCodeKey(view.code))
|
|
10460
10460
|
}),
|
|
10461
10461
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10462
|
-
className:
|
|
10462
|
+
className: _dsh_plugin_shop_css_55877f8c_default.rejectedDetail,
|
|
10463
10463
|
children: view.detail
|
|
10464
10464
|
}),
|
|
10465
10465
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10466
10466
|
type: "button",
|
|
10467
|
-
className:
|
|
10467
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
10468
10468
|
"data-shop-install-dismiss": true,
|
|
10469
10469
|
onClick: reset,
|
|
10470
10470
|
children: t("dismiss")
|
|
@@ -10474,7 +10474,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10474
10474
|
const update = variant === "update";
|
|
10475
10475
|
const detail = blockers.map((blocker) => blocker.text).join("\n");
|
|
10476
10476
|
if (refused && word !== null) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10477
|
-
className:
|
|
10477
|
+
className: _dsh_plugin_shop_css_55877f8c_default.refusedLabel,
|
|
10478
10478
|
"data-shop-refused": true,
|
|
10479
10479
|
"data-shop-blocker-kind": blockers[0]?.kind,
|
|
10480
10480
|
role: "img",
|
|
@@ -10486,14 +10486,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10486
10486
|
attrName: "data-shop-refusal",
|
|
10487
10487
|
children: blockers.map((blocker) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BlockerLine, {
|
|
10488
10488
|
blocker,
|
|
10489
|
-
className:
|
|
10489
|
+
className: _dsh_plugin_shop_css_55877f8c_default.gateWarning,
|
|
10490
10490
|
surface: "warning"
|
|
10491
10491
|
}, blocker.kind))
|
|
10492
10492
|
})] });
|
|
10493
10493
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
10494
10494
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10495
10495
|
type: "button",
|
|
10496
|
-
className:
|
|
10496
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installButton,
|
|
10497
10497
|
disabled: starting,
|
|
10498
10498
|
...update ? { "data-shop-update": true } : { "data-shop-install": true },
|
|
10499
10499
|
onClick: () => {
|
|
@@ -10510,7 +10510,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10510
10510
|
attrName: "data-shop-blocker-lines",
|
|
10511
10511
|
children: blockers.map((blocker) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BlockerLine, {
|
|
10512
10512
|
blocker,
|
|
10513
|
-
className:
|
|
10513
|
+
className: _dsh_plugin_shop_css_55877f8c_default.gateWarning,
|
|
10514
10514
|
surface: "warning"
|
|
10515
10515
|
}, blocker.kind))
|
|
10516
10516
|
})
|
|
@@ -10525,32 +10525,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10525
10525
|
function UninstallPanel({ name, t, restart, restartBlocked, reload, flow }) {
|
|
10526
10526
|
const { view, start, reset } = flow;
|
|
10527
10527
|
if (view.kind === "running") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10528
|
-
className:
|
|
10528
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installPanel,
|
|
10529
10529
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10530
|
-
className:
|
|
10530
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installing,
|
|
10531
10531
|
children: t("uninstalling")
|
|
10532
10532
|
}), view.log.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10533
|
-
className:
|
|
10533
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
10534
10534
|
children: view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10535
|
-
className:
|
|
10535
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
10536
10536
|
"data-shop-log-line": true,
|
|
10537
10537
|
children: line
|
|
10538
10538
|
}, index))
|
|
10539
10539
|
})]
|
|
10540
10540
|
});
|
|
10541
10541
|
if (view.kind === "done") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10542
|
-
className:
|
|
10542
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installedActions,
|
|
10543
10543
|
children: [
|
|
10544
10544
|
view.log.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10545
|
-
className:
|
|
10545
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
10546
10546
|
children: view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10547
|
-
className:
|
|
10547
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
10548
10548
|
"data-shop-log-line": true,
|
|
10549
10549
|
children: line
|
|
10550
10550
|
}, index))
|
|
10551
10551
|
}),
|
|
10552
10552
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10553
|
-
className:
|
|
10553
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10554
10554
|
"data-shop-uninstall-done": true,
|
|
10555
10555
|
children: t(uninstallActivationNoticeKey(view.activation))
|
|
10556
10556
|
}),
|
|
@@ -10564,7 +10564,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10564
10564
|
}),
|
|
10565
10565
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10566
10566
|
type: "button",
|
|
10567
|
-
className:
|
|
10567
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
10568
10568
|
"data-shop-uninstall-dismiss": true,
|
|
10569
10569
|
onClick: reset,
|
|
10570
10570
|
children: t("dismiss")
|
|
@@ -10572,34 +10572,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10572
10572
|
]
|
|
10573
10573
|
});
|
|
10574
10574
|
if (view.kind === "failed") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10575
|
-
className:
|
|
10575
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installPanel,
|
|
10576
10576
|
children: [
|
|
10577
10577
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10578
|
-
className:
|
|
10578
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedHeading,
|
|
10579
10579
|
children: t("uninstallFailed")
|
|
10580
10580
|
}),
|
|
10581
10581
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10582
|
-
className:
|
|
10582
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
10583
10583
|
children: view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10584
|
-
className:
|
|
10584
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
10585
10585
|
"data-shop-log-line": true,
|
|
10586
10586
|
children: line
|
|
10587
10587
|
}, index))
|
|
10588
10588
|
}),
|
|
10589
10589
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10590
|
-
className:
|
|
10590
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10591
10591
|
children: view.detail === "" ? t("uninstallTransportFailed") : view.detail
|
|
10592
10592
|
}),
|
|
10593
10593
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10594
10594
|
type: "button",
|
|
10595
|
-
className:
|
|
10595
|
+
className: _dsh_plugin_shop_css_55877f8c_default.uninstallButton,
|
|
10596
10596
|
"data-shop-uninstall-retry": true,
|
|
10597
10597
|
onClick: () => void start({ name }),
|
|
10598
10598
|
children: t("retry")
|
|
10599
10599
|
}),
|
|
10600
10600
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10601
10601
|
type: "button",
|
|
10602
|
-
className:
|
|
10602
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
10603
10603
|
"data-shop-uninstall-dismiss": true,
|
|
10604
10604
|
onClick: reset,
|
|
10605
10605
|
children: t("dismiss")
|
|
@@ -10609,7 +10609,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10609
10609
|
if (view.kind !== "idle") return null;
|
|
10610
10610
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10611
10611
|
type: "button",
|
|
10612
|
-
className:
|
|
10612
|
+
className: _dsh_plugin_shop_css_55877f8c_default.uninstallButton,
|
|
10613
10613
|
"data-shop-uninstall": true,
|
|
10614
10614
|
onClick: () => void start({ name }),
|
|
10615
10615
|
children: t("uninstall")
|
|
@@ -10650,39 +10650,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10650
10650
|
else if (outcome.kind === "unreachable") setRefusal(t("restartTransportFailed"));
|
|
10651
10651
|
};
|
|
10652
10652
|
if (monitor?.kind === "requesting" || monitor?.kind === "restarting") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10653
|
-
className:
|
|
10653
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10654
10654
|
"data-shop-restarting": true,
|
|
10655
10655
|
children: t("restarting")
|
|
10656
10656
|
});
|
|
10657
10657
|
if (monitor?.kind === "failed") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10658
|
-
className:
|
|
10658
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10659
10659
|
"data-shop-restart-error": true,
|
|
10660
10660
|
children: monitor.logFile === void 0 ? t("restartFailedNotice") : t("restartFailedLogNotice", { log: monitor.logFile })
|
|
10661
10661
|
});
|
|
10662
10662
|
if (monitor?.kind === "not-restarted") return null;
|
|
10663
10663
|
if (gateOpen) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10664
|
-
className:
|
|
10664
|
+
className: _dsh_plugin_shop_css_55877f8c_default.gate,
|
|
10665
10665
|
"data-shop-restart-gate": true,
|
|
10666
10666
|
children: [
|
|
10667
10667
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10668
|
-
className:
|
|
10668
|
+
className: _dsh_plugin_shop_css_55877f8c_default.gateTitle,
|
|
10669
10669
|
children: t("restartTitle")
|
|
10670
10670
|
}),
|
|
10671
10671
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10672
|
-
className:
|
|
10672
|
+
className: _dsh_plugin_shop_css_55877f8c_default.gateBody,
|
|
10673
10673
|
children: t("restartBody")
|
|
10674
10674
|
}),
|
|
10675
10675
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10676
|
-
className:
|
|
10676
|
+
className: _dsh_plugin_shop_css_55877f8c_default.gateActions,
|
|
10677
10677
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10678
10678
|
type: "button",
|
|
10679
|
-
className:
|
|
10679
|
+
className: _dsh_plugin_shop_css_55877f8c_default.confirmButton,
|
|
10680
10680
|
"data-shop-restart-confirm": true,
|
|
10681
10681
|
onClick: () => void onConfirm(),
|
|
10682
10682
|
children: t("restartConfirm")
|
|
10683
10683
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10684
10684
|
type: "button",
|
|
10685
|
-
className:
|
|
10685
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
10686
10686
|
onClick: () => setGateOpen(false),
|
|
10687
10687
|
children: t("cancel")
|
|
10688
10688
|
})]
|
|
@@ -10690,14 +10690,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10690
10690
|
]
|
|
10691
10691
|
});
|
|
10692
10692
|
const refused = refusal === null ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10693
|
-
className:
|
|
10693
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10694
10694
|
"data-shop-restart-error": true,
|
|
10695
10695
|
children: refusal
|
|
10696
10696
|
});
|
|
10697
10697
|
if (gate !== void 0) return refused;
|
|
10698
10698
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [refused, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10699
10699
|
type: "button",
|
|
10700
|
-
className:
|
|
10700
|
+
className: _dsh_plugin_shop_css_55877f8c_default.restartButton,
|
|
10701
10701
|
"data-shop-restart": true,
|
|
10702
10702
|
onClick: () => setGateOpen(true),
|
|
10703
10703
|
children: t("restart")
|
|
@@ -10715,13 +10715,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10715
10715
|
*/
|
|
10716
10716
|
function NotRestartedNotice({ t, pid, logFile }) {
|
|
10717
10717
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10718
|
-
className:
|
|
10718
|
+
className: _dsh_plugin_shop_css_55877f8c_default.selfUpdatePanel,
|
|
10719
10719
|
"data-shop-not-restarted": true,
|
|
10720
10720
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10721
|
-
className:
|
|
10721
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10722
10722
|
children: pid === void 0 ? t("notRestartedNotice") : t("notRestartedPidNotice", { pid: String(pid) })
|
|
10723
10723
|
}), logFile !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10724
|
-
className:
|
|
10724
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10725
10725
|
children: t("notRestartedLogNotice", { log: logFile })
|
|
10726
10726
|
})]
|
|
10727
10727
|
});
|
|
@@ -10751,7 +10751,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10751
10751
|
restart,
|
|
10752
10752
|
reload
|
|
10753
10753
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10754
|
-
className:
|
|
10754
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10755
10755
|
"data-shop-restart-disabled": true,
|
|
10756
10756
|
children: t(restartBlockedNoticeKey(restartBlocked))
|
|
10757
10757
|
});
|
|
@@ -10762,14 +10762,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10762
10762
|
* would help without knowing that now is a good time. */
|
|
10763
10763
|
function ReloadPanel({ t, reload, where }) {
|
|
10764
10764
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10765
|
-
className:
|
|
10765
|
+
className: _dsh_plugin_shop_css_55877f8c_default.reloadPanel,
|
|
10766
10766
|
"data-shop-reload": where,
|
|
10767
10767
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10768
|
-
className:
|
|
10768
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10769
10769
|
children: t("reloadNote")
|
|
10770
10770
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
10771
10771
|
type: "button",
|
|
10772
|
-
className:
|
|
10772
|
+
className: _dsh_plugin_shop_css_55877f8c_default.reloadButton,
|
|
10773
10773
|
onClick: reload,
|
|
10774
10774
|
children: t("reload")
|
|
10775
10775
|
})]
|
|
@@ -10817,7 +10817,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10817
10817
|
}
|
|
10818
10818
|
};
|
|
10819
10819
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10820
|
-
className:
|
|
10820
|
+
className: _dsh_plugin_shop_css_55877f8c_default.switchWrap,
|
|
10821
10821
|
"data-shop-enabled-switch": row.name,
|
|
10822
10822
|
children: [
|
|
10823
10823
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
@@ -10826,18 +10826,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10826
10826
|
"aria-checked": enabled,
|
|
10827
10827
|
"aria-label": t("enabledSwitch"),
|
|
10828
10828
|
"data-shop-toggle": true,
|
|
10829
|
-
className: `${
|
|
10829
|
+
className: `${_dsh_plugin_shop_css_55877f8c_default.switch} ${enabled ? _dsh_plugin_shop_css_55877f8c_default.switchOn : ""}`,
|
|
10830
10830
|
onClick: () => void onToggle(),
|
|
10831
10831
|
disabled: toggle.kind === "saving",
|
|
10832
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className:
|
|
10832
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: _dsh_plugin_shop_css_55877f8c_default.switchKnob })
|
|
10833
10833
|
}),
|
|
10834
10834
|
toggle.kind === "saved" && toggle.live && owed === "nothing" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10835
|
-
className:
|
|
10835
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10836
10836
|
"data-shop-hot-apply": true,
|
|
10837
10837
|
children: t("hotApplyNote")
|
|
10838
10838
|
}),
|
|
10839
10839
|
owed === "restart" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10840
|
-
className:
|
|
10840
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
10841
10841
|
"data-shop-toggle-restart": true,
|
|
10842
10842
|
children: t("toggleRestartNote")
|
|
10843
10843
|
}),
|
|
@@ -10850,7 +10850,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10850
10850
|
where: "toggle"
|
|
10851
10851
|
}),
|
|
10852
10852
|
toggle.kind === "error" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10853
|
-
className:
|
|
10853
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
10854
10854
|
"data-shop-toggle-error": true,
|
|
10855
10855
|
children: toggle.detail
|
|
10856
10856
|
})
|
|
@@ -10865,19 +10865,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10865
10865
|
* field is narrowed at the parameter. */
|
|
10866
10866
|
function OutdatedRow({ row, tier, missing, harness, t, setEnabled, flowFor, restart, restartBlocked, reload, page }) {
|
|
10867
10867
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10868
|
-
className:
|
|
10868
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedRow,
|
|
10869
10869
|
"data-shop-outdated-entry": row.name,
|
|
10870
10870
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10871
|
-
className:
|
|
10871
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedInfo,
|
|
10872
10872
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10873
|
-
className:
|
|
10873
|
+
className: _dsh_plugin_shop_css_55877f8c_default.name,
|
|
10874
10874
|
children: row.name
|
|
10875
10875
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
10876
|
-
className:
|
|
10876
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedVersions,
|
|
10877
10877
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("installedVersion", { version: versionLabel(row.source, row.installed).text }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("latestVersion", { version: versionLabel(row.source, row.latest).text }) })]
|
|
10878
10878
|
})]
|
|
10879
10879
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10880
|
-
className:
|
|
10880
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedActions,
|
|
10881
10881
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(EnabledSwitch, {
|
|
10882
10882
|
row,
|
|
10883
10883
|
surface: "row",
|
|
@@ -10929,22 +10929,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10929
10929
|
function OutdatedSection({ state, entriesByKey, missingByKey, harnessVerdicts, t, setEnabled, flowFor, restart, restartBlocked, reload, page }) {
|
|
10930
10930
|
if (state.kind === "loading") return null;
|
|
10931
10931
|
if (state.kind === "error") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10932
|
-
className:
|
|
10932
|
+
className: _dsh_plugin_shop_css_55877f8c_default.stateLine,
|
|
10933
10933
|
"data-shop-outdated-error": true,
|
|
10934
10934
|
children: t("installedError")
|
|
10935
10935
|
});
|
|
10936
10936
|
const outdated = state.entries.filter((entry) => entry.outdated && entry.latest !== null);
|
|
10937
10937
|
if (outdated.length === 0) return null;
|
|
10938
10938
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10939
|
-
className:
|
|
10939
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedSection,
|
|
10940
10940
|
"data-shop-outdated": true,
|
|
10941
10941
|
"aria-labelledby": UPDATABLE_HEADING_ID,
|
|
10942
10942
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
10943
|
-
className:
|
|
10943
|
+
className: _dsh_plugin_shop_css_55877f8c_default.updatableHeading,
|
|
10944
10944
|
id: UPDATABLE_HEADING_ID,
|
|
10945
10945
|
children: t("updatableSection")
|
|
10946
10946
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10947
|
-
className:
|
|
10947
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedList,
|
|
10948
10948
|
children: outdated.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OutdatedRow, {
|
|
10949
10949
|
row,
|
|
10950
10950
|
tier: entriesByKey.get(identityKey(row))?.tier ?? "community",
|
|
@@ -10972,37 +10972,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10972
10972
|
const shadowed = entries.filter((entry) => entry.shadowed === true);
|
|
10973
10973
|
if (shadowed.length === 0) return null;
|
|
10974
10974
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("section", {
|
|
10975
|
-
className:
|
|
10975
|
+
className: _dsh_plugin_shop_css_55877f8c_default.shadowedSection,
|
|
10976
10976
|
"data-shop-shadowed": true,
|
|
10977
10977
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10978
|
-
className:
|
|
10978
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedList,
|
|
10979
10979
|
children: shadowed.map((row) => {
|
|
10980
10980
|
const key = identityKey(row);
|
|
10981
10981
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10982
|
-
className:
|
|
10982
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedRow,
|
|
10983
10983
|
"data-shop-shadowed-entry": row.name,
|
|
10984
10984
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10985
|
-
className:
|
|
10985
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedInfo,
|
|
10986
10986
|
children: [
|
|
10987
10987
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10988
|
-
className:
|
|
10988
|
+
className: _dsh_plugin_shop_css_55877f8c_default.name,
|
|
10989
10989
|
children: row.name
|
|
10990
10990
|
}),
|
|
10991
10991
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10992
|
-
className:
|
|
10992
|
+
className: _dsh_plugin_shop_css_55877f8c_default.badges,
|
|
10993
10993
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10994
|
-
className:
|
|
10994
|
+
className: _dsh_plugin_shop_css_55877f8c_default.tierBadge,
|
|
10995
10995
|
"data-tier": "shadowed",
|
|
10996
10996
|
children: t("shadowedBadge")
|
|
10997
10997
|
})
|
|
10998
10998
|
}),
|
|
10999
10999
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11000
|
-
className:
|
|
11000
|
+
className: _dsh_plugin_shop_css_55877f8c_default.shadowedDetail,
|
|
11001
11001
|
children: t("shadowedDetail")
|
|
11002
11002
|
})
|
|
11003
11003
|
]
|
|
11004
11004
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11005
|
-
className:
|
|
11005
|
+
className: _dsh_plugin_shop_css_55877f8c_default.outdatedActions,
|
|
11006
11006
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UninstallPanel, {
|
|
11007
11007
|
name: row.name,
|
|
11008
11008
|
t,
|
|
@@ -11052,16 +11052,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11052
11052
|
role: "alert",
|
|
11053
11053
|
children: [
|
|
11054
11054
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11055
|
-
className:
|
|
11055
|
+
className: _dsh_plugin_shop_css_55877f8c_default.stateLine,
|
|
11056
11056
|
children: say("tabCrashed", en.tabCrashed)
|
|
11057
11057
|
}),
|
|
11058
11058
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11059
|
-
className:
|
|
11059
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
11060
11060
|
children: error.message
|
|
11061
11061
|
}),
|
|
11062
11062
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11063
11063
|
type: "button",
|
|
11064
|
-
className:
|
|
11064
|
+
className: _dsh_plugin_shop_css_55877f8c_default.actionButton,
|
|
11065
11065
|
onClick: () => this.setState({ error: null }),
|
|
11066
11066
|
children: say("retry", en.retry)
|
|
11067
11067
|
})
|
|
@@ -11387,19 +11387,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11387
11387
|
"data-shop-tab": true,
|
|
11388
11388
|
"aria-busy": "true",
|
|
11389
11389
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11390
|
-
className:
|
|
11390
|
+
className: _dsh_plugin_shop_css_55877f8c_default.srOnly,
|
|
11391
11391
|
children: t("loading")
|
|
11392
11392
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11393
|
-
className:
|
|
11393
|
+
className: _dsh_plugin_shop_css_55877f8c_default.skeletonGrid,
|
|
11394
11394
|
"data-shop-skeleton": true,
|
|
11395
11395
|
"aria-hidden": "true",
|
|
11396
11396
|
children: Array.from({ length: 8 }, (_, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11397
|
-
className:
|
|
11397
|
+
className: _dsh_plugin_shop_css_55877f8c_default.skeletonCard,
|
|
11398
11398
|
children: [
|
|
11399
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className:
|
|
11400
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className:
|
|
11401
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className:
|
|
11402
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className:
|
|
11399
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: _dsh_plugin_shop_css_55877f8c_default.skeletonName }),
|
|
11400
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: _dsh_plugin_shop_css_55877f8c_default.skeletonSummary }),
|
|
11401
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: _dsh_plugin_shop_css_55877f8c_default.skeletonSummaryShort }),
|
|
11402
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: _dsh_plugin_shop_css_55877f8c_default.skeletonActions })
|
|
11403
11403
|
]
|
|
11404
11404
|
}, i))
|
|
11405
11405
|
})]
|
|
@@ -11409,11 +11409,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11409
11409
|
translate: "no",
|
|
11410
11410
|
"data-shop-tab": true,
|
|
11411
11411
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11412
|
-
className:
|
|
11412
|
+
className: _dsh_plugin_shop_css_55877f8c_default.stateLine,
|
|
11413
11413
|
children: t("error")
|
|
11414
11414
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11415
11415
|
type: "button",
|
|
11416
|
-
className:
|
|
11416
|
+
className: _dsh_plugin_shop_css_55877f8c_default.actionButton,
|
|
11417
11417
|
onClick: () => {
|
|
11418
11418
|
setRequest({
|
|
11419
11419
|
kind: "retry",
|
|
@@ -11431,11 +11431,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11431
11431
|
"data-shop-tab": true,
|
|
11432
11432
|
children: [
|
|
11433
11433
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11434
|
-
className:
|
|
11434
|
+
className: _dsh_plugin_shop_css_55877f8c_default.toolbar,
|
|
11435
11435
|
children: [
|
|
11436
11436
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
11437
11437
|
type: "search",
|
|
11438
|
-
className:
|
|
11438
|
+
className: _dsh_plugin_shop_css_55877f8c_default.searchInput,
|
|
11439
11439
|
"aria-label": t("search"),
|
|
11440
11440
|
placeholder: t("search"),
|
|
11441
11441
|
value: query,
|
|
@@ -11448,31 +11448,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11448
11448
|
}),
|
|
11449
11449
|
expansionMemo.intents.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11450
11450
|
"data-shop-expansion-note": true,
|
|
11451
|
-
className:
|
|
11451
|
+
className: _dsh_plugin_shop_css_55877f8c_default.expansionNote,
|
|
11452
11452
|
children: t("zhExpansionNote", { terms: expansionMemo.terms.slice(1).map((term) => term.startsWith("#") ? term.slice(1) : term).join(", ") })
|
|
11453
11453
|
}),
|
|
11454
11454
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11455
|
-
className:
|
|
11455
|
+
className: _dsh_plugin_shop_css_55877f8c_default.toolbarRight,
|
|
11456
11456
|
children: [
|
|
11457
11457
|
result.stale && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11458
|
-
className:
|
|
11458
|
+
className: _dsh_plugin_shop_css_55877f8c_default.staleBadge,
|
|
11459
11459
|
children: t("staleLabel", { date: result.builtAt.slice(0, 10) })
|
|
11460
11460
|
}),
|
|
11461
11461
|
selfVersion !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11462
|
-
className:
|
|
11462
|
+
className: _dsh_plugin_shop_css_55877f8c_default.versionBlock,
|
|
11463
11463
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
11464
|
-
className:
|
|
11464
|
+
className: _dsh_plugin_shop_css_55877f8c_default.versionText,
|
|
11465
11465
|
"data-shop-version": true,
|
|
11466
11466
|
children: ["v", selfVersion.installed]
|
|
11467
11467
|
}), restartMonitor !== null ? null : selfPending && restartBlocked === null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11468
11468
|
type: "button",
|
|
11469
|
-
className:
|
|
11469
|
+
className: _dsh_plugin_shop_css_55877f8c_default.restartSelfButton,
|
|
11470
11470
|
"data-shop-restart": true,
|
|
11471
11471
|
onClick: () => setSelfRestartGate(true),
|
|
11472
11472
|
children: t("restart")
|
|
11473
11473
|
}) : !selfPending && selfVersion.outdated && selfVersion.latest !== null && selfUpdate.view.kind === "idle" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11474
11474
|
type: "button",
|
|
11475
|
-
className:
|
|
11475
|
+
className: _dsh_plugin_shop_css_55877f8c_default.updateSelfButton,
|
|
11476
11476
|
"data-shop-update-self": true,
|
|
11477
11477
|
onClick: () => {
|
|
11478
11478
|
if (selfVersion.latest !== null) selfUpdate.start({ version: selfVersion.latest });
|
|
@@ -11480,7 +11480,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11480
11480
|
children: t("update")
|
|
11481
11481
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11482
11482
|
type: "button",
|
|
11483
|
-
className:
|
|
11483
|
+
className: _dsh_plugin_shop_css_55877f8c_default.checkUpdateButton,
|
|
11484
11484
|
"data-shop-check-update": true,
|
|
11485
11485
|
title: t("checkUpdateTitle"),
|
|
11486
11486
|
disabled: checkState !== "idle",
|
|
@@ -11489,7 +11489,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11489
11489
|
})]
|
|
11490
11490
|
}),
|
|
11491
11491
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
11492
|
-
className:
|
|
11492
|
+
className: _dsh_plugin_shop_css_55877f8c_default.githubLink,
|
|
11493
11493
|
href: SHOP_REPO_URL,
|
|
11494
11494
|
target: "_blank",
|
|
11495
11495
|
rel: "noopener noreferrer",
|
|
@@ -11514,28 +11514,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11514
11514
|
logFile: restartMonitor.logFile
|
|
11515
11515
|
}),
|
|
11516
11516
|
selfUpdate.view.kind === "running" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11517
|
-
className:
|
|
11517
|
+
className: _dsh_plugin_shop_css_55877f8c_default.selfUpdatePanel,
|
|
11518
11518
|
"data-shop-self-updating": true,
|
|
11519
11519
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11520
|
-
className:
|
|
11520
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installing,
|
|
11521
11521
|
children: t(installPhaseKey(selfUpdate.view.phase))
|
|
11522
11522
|
}), selfUpdate.view.log.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11523
|
-
className:
|
|
11523
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
11524
11524
|
children: selfUpdate.view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11525
|
-
className:
|
|
11525
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
11526
11526
|
"data-shop-log-line": true,
|
|
11527
11527
|
children: line
|
|
11528
11528
|
}, index))
|
|
11529
11529
|
})]
|
|
11530
11530
|
}),
|
|
11531
11531
|
selfPending && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11532
|
-
className:
|
|
11532
|
+
className: _dsh_plugin_shop_css_55877f8c_default.selfUpdatePanel,
|
|
11533
11533
|
"data-shop-self-update-done": true,
|
|
11534
11534
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11535
|
-
className:
|
|
11535
|
+
className: _dsh_plugin_shop_css_55877f8c_default.installedActions,
|
|
11536
11536
|
children: [
|
|
11537
11537
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11538
|
-
className:
|
|
11538
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
11539
11539
|
children: t("installedRestartNotice")
|
|
11540
11540
|
}),
|
|
11541
11541
|
restartBlocked === null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RestartPanel, {
|
|
@@ -11548,7 +11548,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11548
11548
|
}
|
|
11549
11549
|
}),
|
|
11550
11550
|
restartBlocked !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11551
|
-
className:
|
|
11551
|
+
className: _dsh_plugin_shop_css_55877f8c_default.notice,
|
|
11552
11552
|
"data-shop-restart-disabled": true,
|
|
11553
11553
|
children: t(restartBlockedNoticeKey(restartBlocked))
|
|
11554
11554
|
})
|
|
@@ -11556,28 +11556,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11556
11556
|
})
|
|
11557
11557
|
}),
|
|
11558
11558
|
selfUpdate.view.kind === "failed" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11559
|
-
className:
|
|
11559
|
+
className: _dsh_plugin_shop_css_55877f8c_default.selfUpdatePanel,
|
|
11560
11560
|
"data-shop-self-update-failed": true,
|
|
11561
11561
|
children: [
|
|
11562
11562
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11563
|
-
className:
|
|
11563
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedHeading,
|
|
11564
11564
|
children: t("updateFailed")
|
|
11565
11565
|
}),
|
|
11566
11566
|
selfUpdate.view.log.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11567
|
-
className:
|
|
11567
|
+
className: _dsh_plugin_shop_css_55877f8c_default.log,
|
|
11568
11568
|
children: selfUpdate.view.log.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11569
|
-
className:
|
|
11569
|
+
className: _dsh_plugin_shop_css_55877f8c_default.logLine,
|
|
11570
11570
|
"data-shop-log-line": true,
|
|
11571
11571
|
children: line
|
|
11572
11572
|
}, index))
|
|
11573
11573
|
}),
|
|
11574
11574
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11575
|
-
className:
|
|
11575
|
+
className: _dsh_plugin_shop_css_55877f8c_default.failedDetail,
|
|
11576
11576
|
children: selfUpdate.view.detail === "" ? t("updateTransportFailed") : selfUpdate.view.detail
|
|
11577
11577
|
}),
|
|
11578
11578
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11579
11579
|
type: "button",
|
|
11580
|
-
className:
|
|
11580
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cancelButton,
|
|
11581
11581
|
"data-shop-update-self-dismiss": true,
|
|
11582
11582
|
onClick: () => {
|
|
11583
11583
|
selfUpdate.resetWhere((current) => current.kind === "failed");
|
|
@@ -11587,13 +11587,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11587
11587
|
]
|
|
11588
11588
|
}),
|
|
11589
11589
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11590
|
-
className:
|
|
11590
|
+
className: _dsh_plugin_shop_css_55877f8c_default.categoryBar,
|
|
11591
11591
|
role: "group",
|
|
11592
11592
|
"aria-label": t("catalog"),
|
|
11593
11593
|
children: [
|
|
11594
11594
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11595
11595
|
type: "button",
|
|
11596
|
-
className: category === null ? `${
|
|
11596
|
+
className: category === null ? `${_dsh_plugin_shop_css_55877f8c_default.categoryButton} ${_dsh_plugin_shop_css_55877f8c_default.categoryButtonOn}` : _dsh_plugin_shop_css_55877f8c_default.categoryButton,
|
|
11597
11597
|
"aria-pressed": category === null,
|
|
11598
11598
|
onClick: () => {
|
|
11599
11599
|
page.setView({
|
|
@@ -11610,7 +11610,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11610
11610
|
}),
|
|
11611
11611
|
CATEGORY_ORDER.map((key) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11612
11612
|
type: "button",
|
|
11613
|
-
className: category === key ? `${
|
|
11613
|
+
className: category === key ? `${_dsh_plugin_shop_css_55877f8c_default.categoryButton} ${_dsh_plugin_shop_css_55877f8c_default.categoryButtonOn}` : _dsh_plugin_shop_css_55877f8c_default.categoryButton,
|
|
11614
11614
|
"aria-pressed": category === key,
|
|
11615
11615
|
"data-category": key,
|
|
11616
11616
|
"data-shop-category-tab": key,
|
|
@@ -11628,7 +11628,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11628
11628
|
}, key)),
|
|
11629
11629
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11630
11630
|
type: "button",
|
|
11631
|
-
className: category === "installed" ? `${
|
|
11631
|
+
className: category === "installed" ? `${_dsh_plugin_shop_css_55877f8c_default.categoryButton} ${_dsh_plugin_shop_css_55877f8c_default.categoryButtonOn}` : _dsh_plugin_shop_css_55877f8c_default.categoryButton,
|
|
11632
11632
|
"aria-pressed": category === "installed",
|
|
11633
11633
|
"data-shop-category-installed": true,
|
|
11634
11634
|
onClick: () => {
|
|
@@ -11647,7 +11647,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11647
11647
|
type: "button",
|
|
11648
11648
|
role: "switch",
|
|
11649
11649
|
"aria-checked": hideIncompatible,
|
|
11650
|
-
className: hideIncompatible ? `${
|
|
11650
|
+
className: hideIncompatible ? `${_dsh_plugin_shop_css_55877f8c_default.incompatibleFilter} ${_dsh_plugin_shop_css_55877f8c_default.incompatibleFilterOn}` : _dsh_plugin_shop_css_55877f8c_default.incompatibleFilter,
|
|
11651
11651
|
title: t(hideIncompatible ? "showIncompatibleTitle" : "incompatibleFilterTitle"),
|
|
11652
11652
|
"data-shop-hide-incompatible": true,
|
|
11653
11653
|
onClick: () => {
|
|
@@ -11657,18 +11657,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11657
11657
|
}));
|
|
11658
11658
|
},
|
|
11659
11659
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11660
|
-
className: hideIncompatible ? `${
|
|
11660
|
+
className: hideIncompatible ? `${_dsh_plugin_shop_css_55877f8c_default.switch} ${_dsh_plugin_shop_css_55877f8c_default.switchOn}` : _dsh_plugin_shop_css_55877f8c_default.switch,
|
|
11661
11661
|
"aria-hidden": "true",
|
|
11662
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className:
|
|
11662
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: _dsh_plugin_shop_css_55877f8c_default.switchKnob })
|
|
11663
11663
|
}), t("hideIncompatible", { count: incompatibleCount })]
|
|
11664
11664
|
})
|
|
11665
11665
|
]
|
|
11666
11666
|
}),
|
|
11667
11667
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11668
|
-
className:
|
|
11668
|
+
className: _dsh_plugin_shop_css_55877f8c_default.catalogStatsRow,
|
|
11669
11669
|
children: [
|
|
11670
11670
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11671
|
-
className:
|
|
11671
|
+
className: _dsh_plugin_shop_css_55877f8c_default.catalogStats,
|
|
11672
11672
|
"data-shop-catalog-stats": true,
|
|
11673
11673
|
children: t("catalogStats", {
|
|
11674
11674
|
count: String(browsable.length),
|
|
@@ -11677,7 +11677,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11677
11677
|
}),
|
|
11678
11678
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11679
11679
|
type: "button",
|
|
11680
|
-
className:
|
|
11680
|
+
className: _dsh_plugin_shop_css_55877f8c_default.catalogRefreshButton,
|
|
11681
11681
|
"data-shop-catalog-refresh": true,
|
|
11682
11682
|
disabled: reloading,
|
|
11683
11683
|
onClick: () => {
|
|
@@ -11692,22 +11692,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11692
11692
|
children: reloading ? t("refreshing") : t("refresh")
|
|
11693
11693
|
}),
|
|
11694
11694
|
reloadFailed && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11695
|
-
className:
|
|
11695
|
+
className: _dsh_plugin_shop_css_55877f8c_default.catalogRefreshFailed,
|
|
11696
11696
|
"data-shop-catalog-refresh-failed": true,
|
|
11697
11697
|
children: t("refreshFailed")
|
|
11698
11698
|
}),
|
|
11699
11699
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
11700
|
-
className:
|
|
11700
|
+
className: _dsh_plugin_shop_css_55877f8c_default.sortGroup,
|
|
11701
11701
|
role: "group",
|
|
11702
11702
|
"aria-labelledby": sortLabelId,
|
|
11703
11703
|
"data-shop-sort": true,
|
|
11704
11704
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11705
|
-
className:
|
|
11705
|
+
className: _dsh_plugin_shop_css_55877f8c_default.sortLabel,
|
|
11706
11706
|
id: sortLabelId,
|
|
11707
11707
|
children: t("sortLabel")
|
|
11708
11708
|
}), SHELF_ORDERS.map((name) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
11709
11709
|
type: "button",
|
|
11710
|
-
className: order === name ? `${
|
|
11710
|
+
className: order === name ? `${_dsh_plugin_shop_css_55877f8c_default.categoryButton} ${_dsh_plugin_shop_css_55877f8c_default.categoryButtonOn}` : _dsh_plugin_shop_css_55877f8c_default.categoryButton,
|
|
11711
11711
|
"aria-pressed": order === name,
|
|
11712
11712
|
"data-shop-order": name,
|
|
11713
11713
|
onClick: () => {
|
|
@@ -11722,18 +11722,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11722
11722
|
]
|
|
11723
11723
|
}),
|
|
11724
11724
|
result.plugins.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11725
|
-
className:
|
|
11725
|
+
className: _dsh_plugin_shop_css_55877f8c_default.emptyLine,
|
|
11726
11726
|
children: t("empty")
|
|
11727
11727
|
}) : filtered.length === 0 ? category === "installed" && installedState.kind !== "ready" ? installedState.kind === "loading" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11728
|
-
className:
|
|
11728
|
+
className: _dsh_plugin_shop_css_55877f8c_default.emptyLine,
|
|
11729
11729
|
"data-shop-installed-loading": true,
|
|
11730
11730
|
children: t("installedLoading")
|
|
11731
11731
|
}) : null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11732
|
-
className:
|
|
11732
|
+
className: _dsh_plugin_shop_css_55877f8c_default.emptyLine,
|
|
11733
11733
|
"data-shop-empty": true,
|
|
11734
11734
|
children: matched.length > 0 ? t("emptyIncompatibleFiltered") : t("emptySearch")
|
|
11735
11735
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("ul", {
|
|
11736
|
-
className:
|
|
11736
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cards,
|
|
11737
11737
|
children: [visible.map((entry) => {
|
|
11738
11738
|
const key = entryKey(entry);
|
|
11739
11739
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
@@ -11760,12 +11760,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11760
11760
|
}, key);
|
|
11761
11761
|
}), incremental && visibleCount < filtered.length && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
11762
11762
|
ref: sentinelRef,
|
|
11763
|
-
className:
|
|
11763
|
+
className: _dsh_plugin_shop_css_55877f8c_default.cardsSentry,
|
|
11764
11764
|
"data-shop-sentry": true,
|
|
11765
11765
|
"aria-hidden": "true"
|
|
11766
11766
|
})]
|
|
11767
11767
|
}), incremental && visibleCount < filtered.length && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11768
|
-
className:
|
|
11768
|
+
className: _dsh_plugin_shop_css_55877f8c_default.showingLine,
|
|
11769
11769
|
"aria-live": "polite",
|
|
11770
11770
|
children: t("showing", {
|
|
11771
11771
|
shown: String(visibleCount),
|
|
@@ -11922,7 +11922,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11922
11922
|
}, [page]);
|
|
11923
11923
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
11924
11924
|
ref: scroller,
|
|
11925
|
-
className: `${
|
|
11925
|
+
className: `${_dsh_plugin_shop_css_55877f8c_default.page} notranslate`,
|
|
11926
11926
|
translate: "no",
|
|
11927
11927
|
"data-shop-page": true,
|
|
11928
11928
|
onScroll: (event) => {
|
|
@@ -11932,15 +11932,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11932
11932
|
onTouchStart: cancelRestore,
|
|
11933
11933
|
onKeyDown: cancelRestore,
|
|
11934
11934
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
|
|
11935
|
-
className:
|
|
11935
|
+
className: _dsh_plugin_shop_css_55877f8c_default.pageHead,
|
|
11936
11936
|
"data-shop-page-head": true,
|
|
11937
11937
|
"data-window-drag": true,
|
|
11938
11938
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
|
|
11939
|
-
className:
|
|
11939
|
+
className: _dsh_plugin_shop_css_55877f8c_default.pageTitle,
|
|
11940
11940
|
"data-shop-page-title": true,
|
|
11941
11941
|
children: t("title")
|
|
11942
11942
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11943
|
-
className:
|
|
11943
|
+
className: _dsh_plugin_shop_css_55877f8c_default.pageIntro,
|
|
11944
11944
|
"data-shop-page-intro": true,
|
|
11945
11945
|
children: t("intro")
|
|
11946
11946
|
})]
|