@qianhaoq/dsh-dota2ai 0.2.3 → 0.2.4

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.
Files changed (4) hide show
  1. package/README.md +55 -5
  2. package/lib/client.js +207 -102
  3. package/lib/index.js +388 -114
  4. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -478,7 +478,7 @@ async function fetchPatchNews(signal, fresh = false) {
478
478
  var coach_default = "/* ==========================================================================\n dota2.ai \u2014 Obsidian Aegis Design System & Global Shell (.cx)\n ========================================================================== */\n\n.cx {\n --ink: #07090d;\n --panel: #0e1219;\n --panel-2: #141a24;\n --panel-3: #1b2330;\n --inset: #05070a;\n --edge: rgba(229, 174, 78, 0.28);\n --line: rgba(226, 234, 245, 0.08);\n --line-2: rgba(226, 234, 245, 0.15);\n --line-strong: rgba(226, 234, 245, 0.25);\n\n --text: #f1f4f9;\n --text-2: #a9b4c4;\n --text-3: #8794a7;\n\n --fs-display: 28px;\n --fs-h: 18px;\n --fs-body: 15px;\n --fs-meta: 13px;\n\n --accent: #e5ae4e;\n --accent-bright: #f2c068;\n --accent-soft: rgba(229, 174, 78, 0.12);\n --accent-ink: #171003;\n\n --radiant: #52c972;\n --radiant-soft: rgba(82, 201, 114, 0.12);\n --dire: #e86452;\n --dire-soft: rgba(232, 100, 82, 0.12);\n --good: #52c972;\n --fix: #e5ae4e;\n --ally: #68b5e8;\n\n --serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Noto Serif SC', 'Songti SC', serif;\n --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;\n --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n\n --radius-lg: 16px;\n --radius-md: 12px;\n --radius-sm: 8px;\n --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 36px -10px rgba(0, 0, 0, 0.55);\n --shadow-float: 0 24px 64px -12px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.04);\n\n height: var(--app-height, 100dvh);\n overflow-y: auto;\n overflow-x: hidden;\n background:\n radial-gradient(1100px 460px at 12% -8%, rgba(82, 201, 114, 0.065), transparent 62%),\n radial-gradient(900px 420px at 50% -12%, rgba(229, 174, 78, 0.055), transparent 58%),\n radial-gradient(1100px 460px at 88% -8%, rgba(232, 100, 82, 0.065), transparent 62%),\n var(--ink);\n color: var(--text);\n font-family: var(--sans);\n font-size: var(--fs-body);\n line-height: 1.6;\n -webkit-font-smoothing: antialiased;\n font-feature-settings: 'tnum' 1, 'cv02' 1, 'cv03' 1, 'cv04' 1;\n display: flex;\n flex-direction: column;\n}\n\n.cx *,\n.cx *::before,\n.cx *::after {\n box-sizing: border-box;\n}\n\n.cx a {\n color: inherit;\n}\n\n.cx button {\n font: inherit;\n color: inherit;\n cursor: pointer;\n}\n\n.cx :focus-visible {\n outline: 2px solid var(--accent);\n outline-offset: 2px;\n border-radius: 6px;\n}\n\n.cx-mono {\n font-family: var(--mono);\n font-variant-numeric: tabular-nums;\n}\n\n.cx-sr {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n}\n\n/* --------------------------------------------------------------------------\n Global Top Command Bar & Footer\n -------------------------------------------------------------------------- */\n\n.cx-top {\n position: sticky;\n top: 0;\n z-index: 20;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n padding: 12px clamp(16px, 4vw, 44px);\n background: rgba(7, 9, 13, 0.8);\n backdrop-filter: blur(16px) saturate(140%);\n -webkit-backdrop-filter: blur(16px) saturate(140%);\n border-bottom: 1px solid var(--line);\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);\n}\n\n.cx-brand {\n display: inline-flex;\n align-items: center;\n gap: 9px;\n text-decoration: none;\n font-weight: 600;\n letter-spacing: -0.015em;\n font-size: 17px;\n color: var(--text);\n padding: 4px 2px;\n border-radius: 8px;\n}\n\n.cx-brand:hover .cx-mark-svg {\n transform: rotate(45deg) scale(1.05);\n filter: drop-shadow(0 0 8px rgba(229, 174, 78, 0.45));\n}\n\n.cx-mark-svg {\n color: var(--accent);\n flex: none;\n transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), filter 240ms ease;\n}\n\n.cx-brand-word {\n display: inline-flex;\n align-items: baseline;\n}\n\n.cx-dot {\n color: var(--accent);\n font-weight: 500;\n}\n\n.cx-brand-sub {\n margin-left: 2px;\n padding: 1px 8px;\n border-radius: 999px;\n border: 1px solid var(--line-2);\n background: rgba(255, 255, 255, 0.03);\n font-family: var(--serif);\n font-style: italic;\n font-weight: 400;\n font-size: 13px;\n line-height: 1.4;\n color: var(--text-2);\n letter-spacing: 0.01em;\n}\n\n.cx-top-right {\n display: flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n}\n\n.cx-top-link {\n display: inline-flex;\n align-items: center;\n height: 32px;\n padding: 0 12px;\n border-radius: 999px;\n border: 1px solid transparent;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n text-decoration: none;\n white-space: nowrap;\n}\n\n.cx-top-link:hover {\n color: var(--text);\n background: var(--panel-2);\n border-color: var(--line-2);\n}\n\n/* Language Switcher */\n.cx-lang {\n display: inline-flex;\n align-items: center;\n gap: 2px;\n background: var(--panel);\n border: 1px solid var(--line-2);\n border-radius: 999px;\n padding: 2px;\n}\n\n.cx-lang button {\n background: none;\n border: 0;\n padding: 4px 10px;\n border-radius: 999px;\n font-size: 12px;\n font-weight: 500;\n color: var(--text-2);\n line-height: 1.35;\n}\n\n.cx-lang button:hover {\n color: var(--text);\n}\n\n.cx-lang button[aria-pressed='true'] {\n background: var(--text);\n color: var(--ink);\n font-weight: 600;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);\n}\n\n/* Main Content Frame & Footer */\n.cx-main {\n flex: 1 0 auto;\n width: 100%;\n max-width: 880px;\n margin: 0 auto;\n padding: 0 clamp(16px, 4vw, 44px) 56px;\n}\n\n.cx-main--wide {\n max-width: 1240px;\n}\n\n.cx-foot {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 14px 24px;\n flex-wrap: wrap;\n width: 100%;\n max-width: 1240px;\n margin: 0 auto;\n padding: 26px clamp(16px, 4vw, 44px) 38px;\n color: var(--text-3);\n font-size: var(--fs-meta);\n border-top: 1px solid var(--line);\n}\n\n.cx-foot-links {\n display: flex;\n flex-wrap: wrap;\n gap: 8px 18px;\n}\n\n.cx-foot-links a {\n color: var(--text-2);\n text-decoration: none;\n border-bottom: 1px solid transparent;\n padding-bottom: 1px;\n}\n\n.cx-foot-links a:hover {\n color: var(--accent);\n border-bottom-color: var(--accent);\n}\n\n/* --------------------------------------------------------------------------\n Shared Typography, Buttons, Inputs & Pills\n -------------------------------------------------------------------------- */\n\n.cx-eyebrow {\n margin: 0;\n color: var(--text-3);\n font-size: 12px;\n font-weight: 600;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n}\n\n.cx-muted {\n color: var(--text-3);\n font-size: var(--fs-meta);\n margin: 6px 0 0;\n}\n\n.cx-primary {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n background: linear-gradient(180deg, var(--accent-bright), var(--accent));\n color: var(--accent-ink);\n border: 0;\n border-radius: 10px;\n padding: 10px 20px;\n font-weight: 600;\n font-size: var(--fs-body);\n white-space: nowrap;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(229, 174, 78, 0.22);\n}\n\n.cx-primary:hover:not(:disabled) {\n filter: brightness(1.06);\n transform: translateY(-1px);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 20px rgba(229, 174, 78, 0.32);\n}\n\n.cx-primary:disabled {\n opacity: 0.48;\n cursor: not-allowed;\n transform: none;\n}\n\n.cx-ghost {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n background: rgba(255, 255, 255, 0.02);\n border: 1px solid var(--line-2);\n border-radius: 999px;\n padding: 6px 14px;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n white-space: nowrap;\n}\n\n.cx-ghost:hover {\n color: var(--text);\n background: var(--panel-2);\n border-color: var(--line-strong);\n}\n\n.cx-linkbtn {\n background: none;\n border: 0;\n padding: 0;\n color: var(--accent);\n font: inherit;\n font-size: var(--fs-meta);\n font-weight: 500;\n text-decoration: underline;\n text-decoration-color: rgba(229, 174, 78, 0.4);\n text-underline-offset: 3px;\n cursor: pointer;\n}\n\n.cx-linkbtn:hover {\n color: var(--accent-bright);\n text-decoration-color: var(--accent-bright);\n}\n\n.cx-input-clear {\n flex: none;\n display: inline-grid;\n place-items: center;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n border: 0;\n background: rgba(255, 255, 255, 0.07);\n color: var(--text-2);\n font-size: 12px;\n line-height: 1;\n}\n\n.cx-input-clear:hover {\n background: rgba(255, 255, 255, 0.14);\n color: var(--text);\n}\n\n.cx-err {\n color: var(--dire);\n margin: 10px 2px 0;\n font-size: var(--fs-meta);\n font-weight: 500;\n}\n\n.cx-notice {\n margin: 16px 0;\n padding: 12px 16px;\n border-radius: var(--radius-md);\n background: rgba(229, 174, 78, 0.08);\n border: 1px solid rgba(229, 174, 78, 0.28);\n color: var(--text);\n font-size: var(--fs-body);\n}\n\n.cx-notice--error {\n background: var(--dire-soft);\n border-color: rgba(232, 100, 82, 0.35);\n}\n\n.cx-detect-pill {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 2px 10px;\n border-radius: 999px;\n font-size: 12px;\n font-weight: 500;\n border: 1px solid var(--line-2);\n color: var(--text-2);\n background: rgba(255, 255, 255, 0.03);\n}\n\n.cx-detect-pill.is-match {\n color: var(--accent);\n border-color: rgba(229, 174, 78, 0.45);\n background: var(--accent-soft);\n}\n\n.cx-detect-pill.is-account {\n color: var(--good);\n border-color: rgba(82, 201, 114, 0.45);\n background: var(--radiant-soft);\n}\n\n.cx-tag {\n display: inline-flex;\n align-items: center;\n margin-left: 8px;\n padding: 1px 8px;\n border: 1px solid var(--line-2);\n border-radius: 999px;\n font-size: 11px;\n font-weight: 500;\n color: var(--text-2);\n background: rgba(255, 255, 255, 0.03);\n vertical-align: middle;\n}\n\n.cx-tag--new {\n color: var(--accent);\n border-color: rgba(229, 174, 78, 0.45);\n background: var(--accent-soft);\n}\n\n.cx-goal-result {\n display: inline-flex;\n align-items: center;\n padding: 1px 9px;\n border-radius: 999px;\n border: 1px solid var(--line-2);\n font-size: 12px;\n font-weight: 600;\n letter-spacing: 0.01em;\n}\n\n.cx-goal-result.is-met {\n color: var(--good);\n border-color: rgba(82, 201, 114, 0.45);\n background: var(--radiant-soft);\n}\n\n.cx-goal-result.is-missed {\n color: var(--dire);\n border-color: rgba(232, 100, 82, 0.45);\n background: var(--dire-soft);\n}\n\n.cx-goal-result.is-no_opportunity,\n.cx-goal-result.is-unknown {\n color: var(--text-3);\n background: rgba(255, 255, 255, 0.02);\n}\n\n.cx-img-missing {\n display: block;\n width: 100%;\n aspect-ratio: 88 / 64;\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.05);\n}\n\n/* --------------------------------------------------------------------------\n QuickJump Command Palette (\u2318K) & Goal Nav Popover\n -------------------------------------------------------------------------- */\n\n.cx-qj-trigger {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n height: 32px;\n background: var(--panel);\n border: 1px solid var(--line-2);\n border-radius: 999px;\n padding: 0 10px 0 11px;\n font-size: var(--fs-meta);\n color: var(--text-2);\n white-space: nowrap;\n}\n\n.cx-qj-trigger:hover {\n border-color: rgba(229, 174, 78, 0.5);\n background: var(--panel-2);\n color: var(--text);\n}\n\n.cx-qj-icon {\n color: var(--text-3);\n flex: none;\n}\n\n.cx-kbd {\n font-family: var(--mono);\n font-size: 11px;\n color: var(--text-3);\n background: var(--panel-2);\n border: 1px solid var(--line-2);\n border-radius: 5px;\n padding: 1px 6px;\n line-height: 1.4;\n}\n\n@keyframes cx-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes cx-pop-in {\n from { opacity: 0; transform: translateY(-8px) scale(0.98); }\n to { opacity: 1; transform: translateY(0) scale(1); }\n}\n\n.cx-modal-backdrop {\n position: fixed;\n inset: 0;\n z-index: 50;\n background: rgba(4, 6, 10, 0.76);\n backdrop-filter: blur(8px);\n -webkit-backdrop-filter: blur(8px);\n display: grid;\n place-items: start center;\n padding: clamp(56px, 12vh, 112px) 16px 24px;\n animation: cx-fade-in 140ms ease-out;\n}\n\n.cx-modal {\n width: 100%;\n max-width: 560px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line-2);\n border-radius: var(--radius-lg);\n padding: 20px 22px;\n box-shadow: var(--shadow-float);\n animation: cx-pop-in 180ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n.cx-modal-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n margin-bottom: 14px;\n}\n\n.cx-modal-head h2 {\n margin: 0;\n font-family: var(--serif);\n font-weight: 500;\n font-size: 20px;\n letter-spacing: -0.01em;\n}\n\n.cx-modal-head-right {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.cx-modal-close {\n display: inline-grid;\n place-items: center;\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid var(--line-2);\n border-radius: 8px;\n width: 30px;\n height: 30px;\n color: var(--text-2);\n font-size: 13px;\n}\n\n.cx-modal-close:hover {\n color: var(--text);\n background: var(--panel-3);\n border-color: var(--line-strong);\n}\n\n.cx-qj-modes {\n display: inline-flex;\n gap: 4px;\n padding: 3px;\n background: var(--inset);\n border: 1px solid var(--line);\n border-radius: 10px;\n margin-bottom: 14px;\n}\n\n.cx-qj-modes button {\n background: none;\n border: 0;\n border-radius: 7px;\n padding: 5px 14px;\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.cx-qj-modes button:hover {\n color: var(--text);\n}\n\n.cx-qj-modes button[aria-selected='true'] {\n background: var(--panel-2);\n color: var(--text);\n font-weight: 600;\n box-shadow: inset 0 0 0 1px var(--line-2);\n}\n\n.cx-qj-form {\n display: flex;\n gap: 8px;\n}\n\n.cx-qj-field {\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n background: var(--inset);\n border: 1px solid var(--line-2);\n border-radius: 10px;\n padding: 0 10px 0 12px;\n}\n\n.cx-qj-field:focus-within {\n border-color: var(--accent);\n box-shadow: 0 0 0 3px rgba(229, 174, 78, 0.14);\n}\n\n.cx-qj-field-icon {\n color: var(--text-3);\n flex: none;\n}\n\n.cx-qj-field input {\n flex: 1;\n min-width: 0;\n background: none;\n border: 0;\n outline: none;\n padding: 10px 0;\n color: var(--text);\n font: inherit;\n font-size: var(--fs-body);\n}\n\n.cx-qj-field input::placeholder {\n color: var(--text-3);\n}\n\n.cx-qj-form + .cx-detect-pill {\n margin-top: 10px;\n}\n\n.cx-qj-links {\n display: flex;\n flex-wrap: wrap;\n gap: 8px 16px;\n margin-top: 16px;\n padding-top: 14px;\n border-top: 1px solid var(--line);\n}\n\n/* Goal Nav Pill & Popover */\n.cx-goal-nav {\n position: relative;\n}\n\n.cx-goal-pill {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n height: 32px;\n background: var(--radiant-soft);\n border: 1px solid rgba(82, 201, 114, 0.38);\n border-radius: 999px;\n padding: 0 11px;\n font-size: 12px;\n font-weight: 600;\n color: var(--good);\n white-space: nowrap;\n}\n\n.cx-goal-pill:hover {\n border-color: rgba(82, 201, 114, 0.65);\n background: rgba(82, 201, 114, 0.18);\n}\n\n.cx-goal-dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--good);\n box-shadow: 0 0 8px var(--good);\n}\n\n.cx-popover {\n position: absolute;\n right: 0;\n top: calc(100% + 8px);\n z-index: 30;\n width: 300px;\n max-width: calc(100vw - 32px);\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line-2);\n border-radius: var(--radius-md);\n padding: 16px;\n box-shadow: var(--shadow-float);\n animation: cx-pop-in 150ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n.cx-goal-pop-label {\n margin: 6px 0 0;\n font-size: var(--fs-body);\n line-height: 1.45;\n}\n\n.cx-goal-pop-actions {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 12px;\n padding-top: 10px;\n border-top: 1px solid var(--line);\n font-size: var(--fs-meta);\n}\n\n.cx-goal-pop-actions a {\n color: var(--accent);\n font-weight: 500;\n text-decoration: none;\n}\n\n.cx-goal-pop-actions a:hover {\n text-decoration: underline;\n}\n\n/* --------------------------------------------------------------------------\n Player Hub (/p/:accountId)\n -------------------------------------------------------------------------- */\n\n.cx-recent {\n padding-top: 32px;\n}\n\n.cx-recent-head {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: space-between;\n gap: 14px;\n margin-bottom: 22px;\n}\n\n.cx-recent .cx-h2 {\n font-family: var(--serif);\n font-weight: 500;\n font-size: clamp(26px, 3.6vw, 36px);\n line-height: 1.15;\n letter-spacing: -0.015em;\n margin: 6px 0 0;\n}\n\n/* Player Performance Summary Strip */\n.pl-stats {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));\n gap: 12px;\n margin-bottom: 20px;\n}\n\n.pl-stat {\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-md);\n padding: 14px 16px;\n box-shadow: var(--shadow-card);\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.pl-stat-k {\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.1em;\n text-transform: uppercase;\n color: var(--text-3);\n}\n\n.pl-stat-row {\n display: flex;\n align-items: baseline;\n gap: 8px;\n}\n\n.pl-stat-v {\n font-family: var(--mono);\n font-size: 22px;\n font-weight: 600;\n color: var(--text);\n line-height: 1.2;\n}\n\n.pl-stat-sub {\n font-family: var(--mono);\n font-size: 12px;\n color: var(--text-2);\n}\n\n.pl-wr-bar {\n height: 4px;\n margin-top: 4px;\n border-radius: 999px;\n background: rgba(232, 100, 82, 0.35);\n overflow: hidden;\n}\n\n.pl-wr-bar span {\n display: block;\n height: 100%;\n background: var(--radiant);\n border-radius: 999px;\n}\n\n/* Player Active Goal Card */\n.cx-goal {\n margin: 0 0 22px;\n padding: 16px 18px;\n background: linear-gradient(180deg, rgba(82, 201, 114, 0.08), var(--panel));\n border: 1px solid rgba(82, 201, 114, 0.3);\n border-left: 3px solid var(--good);\n border-radius: var(--radius-md);\n box-shadow: var(--shadow-card);\n}\n\n.cx-goal .cx-eyebrow {\n margin: 0 0 6px;\n color: var(--good);\n}\n\n.cx-goal-label {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px 12px;\n margin: 0;\n font-size: 16px;\n}\n\n.cx-goal-ev,\n.cx-goal-tally {\n margin: 6px 0 0;\n color: var(--text-2);\n font-size: var(--fs-meta);\n}\n\n.cx-recent-goal-top {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 14px;\n}\n\n.pl-progress {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-top: 8px;\n}\n\n.pl-bar {\n flex: 0 0 180px;\n height: 6px;\n border-radius: 999px;\n background: var(--line-2);\n overflow: hidden;\n}\n\n.pl-bar span {\n display: block;\n height: 100%;\n background: var(--good);\n border-radius: 999px;\n}\n\n.pl-progress .cx-goal-tally {\n margin: 0;\n}\n\n/* Filter Bar & Hero Filter Chips */\n.cx-recent-controls {\n display: grid;\n gap: 10px;\n margin-bottom: 16px;\n}\n\n.cx-filter-bar {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n}\n\n.cx-filter-pill {\n background: var(--panel);\n border: 1px solid var(--line);\n border-radius: 999px;\n padding: 5px 13px;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n}\n\n.cx-filter-pill:hover {\n color: var(--text);\n border-color: var(--line-2);\n background: var(--panel-2);\n}\n\n.cx-filter-pill.is-on {\n border-color: rgba(229, 174, 78, 0.6);\n color: var(--accent);\n background: var(--accent-soft);\n}\n\n.cx-hero-filters {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n}\n\n.cx-hero-chip {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n background: var(--panel);\n border: 1px solid var(--line);\n border-radius: 999px;\n padding: 4px 12px 4px 5px;\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.cx-hero-chip:hover {\n color: var(--text);\n border-color: var(--line-2);\n background: var(--panel-2);\n}\n\n.cx-hero-chip img {\n width: 22px;\n height: 22px;\n border-radius: 50%;\n object-fit: cover;\n background: var(--panel-2);\n}\n\n.cx-hero-chip[data-count]::after {\n content: attr(data-count);\n font-family: var(--mono);\n font-size: 11px;\n color: var(--text-3);\n}\n\n.cx-hero-chip.is-on {\n border-color: rgba(229, 174, 78, 0.6);\n color: var(--text);\n background: var(--accent-soft);\n}\n\n/* Match History List & Rows */\n.cx-recent-empty {\n color: var(--text-2);\n background: var(--panel);\n border: 1px solid var(--line);\n border-radius: var(--radius-md);\n padding: 20px;\n}\n\n.cx-recent-list {\n list-style: none;\n margin: 0 0 20px;\n padding: 0;\n border: 1px solid var(--line);\n border-radius: var(--radius-md);\n background: var(--panel);\n overflow: hidden;\n box-shadow: var(--shadow-card);\n}\n\n.cx-recent-list li + li {\n border-top: 1px solid var(--line);\n}\n\n.cx-recent-row {\n position: relative;\n display: grid;\n grid-template-columns: 46px minmax(0, 1fr) auto auto 20px;\n grid-template-areas:\n 'icon hero result kda arrow'\n 'icon meta meta kda arrow';\n align-items: center;\n gap: 2px 14px;\n padding: 12px 16px;\n color: var(--text);\n text-decoration: none;\n border-left: 3px solid transparent;\n background: transparent;\n}\n\n.cx-recent-row::after {\n content: '\u2192';\n grid-area: arrow;\n color: var(--text-3);\n font-size: 14px;\n justify-self: end;\n transition: transform 160ms ease, color 160ms ease;\n}\n\n.cx-recent-row:has(.is-win),\n.cx-recent-row.is-win {\n border-left-color: var(--radiant);\n}\n\n.cx-recent-row:has(.is-loss),\n.cx-recent-row.is-loss {\n border-left-color: var(--dire);\n}\n\n.cx-recent-row:hover,\n.cx-recent-row:focus-visible {\n background: rgba(255, 255, 255, 0.035);\n border-left-color: var(--accent);\n outline: none;\n}\n\n.cx-recent-row:hover::after,\n.cx-recent-row:focus-visible::after {\n color: var(--accent);\n transform: translateX(3px);\n}\n\n.cx-recent-icon {\n grid-area: icon;\n width: 44px;\n height: 44px;\n border-radius: 8px;\n object-fit: cover;\n background: var(--panel-2);\n border: 1px solid var(--line);\n}\n\n.cx-recent-hero {\n grid-area: hero;\n font-weight: 600;\n font-size: var(--fs-body);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.cx-recent-result {\n grid-area: result;\n font-size: 12px;\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 6px;\n color: var(--text-3);\n background: rgba(255, 255, 255, 0.03);\n}\n\n.cx-recent-result.is-win {\n color: var(--radiant);\n background: var(--radiant-soft);\n}\n\n.cx-recent-result.is-loss {\n color: var(--dire);\n background: var(--dire-soft);\n}\n\n.cx-recent-kda {\n grid-area: kda;\n font-family: var(--mono);\n font-variant-numeric: tabular-nums;\n color: var(--text);\n font-size: 14px;\n font-weight: 500;\n text-align: right;\n}\n\n.cx-recent-meta {\n grid-area: meta;\n color: var(--text-3);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n}\n\n/* Loading & Error States */\n.cx-skeleton {\n padding: 120px 0;\n text-align: center;\n color: var(--text-3);\n}\n\n.cx-pulse {\n display: inline-block;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n background: var(--accent);\n box-shadow: 0 0 12px var(--accent);\n animation: cx-pulse 1.2s ease-in-out infinite;\n}\n\n@keyframes cx-pulse {\n 50% { opacity: 0.25; transform: scale(0.72); }\n}\n\n.cx-error {\n padding: 88px 0;\n max-width: 560px;\n}\n\n.cx-error p {\n font-family: var(--serif);\n font-size: var(--fs-display);\n line-height: 1.35;\n margin: 0 0 22px;\n}\n\n.cx-error-actions {\n display: flex;\n gap: 16px;\n align-items: center;\n}\n\n.cx-error-actions button {\n background: var(--accent);\n color: var(--accent-ink);\n border: 0;\n border-radius: 10px;\n padding: 9px 18px;\n font-weight: 600;\n}\n\n/* API Drawer Snippet Helper */\n.cx-api-drawer {\n margin-top: 36px;\n border: 1px solid var(--line);\n border-radius: var(--radius-md);\n padding: 14px 18px;\n background: var(--panel);\n}\n\n.cx-api-drawer > summary {\n cursor: pointer;\n font-size: 12px;\n letter-spacing: 0.12em;\n text-transform: uppercase;\n color: var(--text-3);\n font-weight: 600;\n}\n\n.cx-api-drawer > summary:hover {\n color: var(--text-2);\n}\n\n.cx-api-tabs {\n display: inline-flex;\n gap: 4px;\n margin: 12px 0 8px;\n}\n\n.cx-api-tabs button {\n background: var(--inset);\n border: 1px solid var(--line);\n border-radius: 8px;\n padding: 4px 10px;\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.cx-api-tabs button.is-on {\n border-color: rgba(229, 174, 78, 0.55);\n color: var(--accent);\n}\n\n.cx-api-drawer pre {\n margin: 0;\n background: var(--inset);\n border: 1px solid var(--line);\n border-radius: 10px;\n padding: 12px 14px;\n overflow-x: auto;\n font-family: var(--mono);\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n@media (max-width: 720px) {\n .cx-brand-sub {\n display: none;\n }\n .cx-top-right {\n gap: 6px;\n }\n .cx-qj-label,\n .cx-kbd {\n display: none;\n }\n .cx-qj-trigger {\n width: 32px;\n padding: 0;\n justify-content: center;\n }\n .cx-qj-form {\n flex-direction: column;\n }\n .cx-recent-row {\n grid-template-columns: 42px minmax(0, 1fr) auto;\n grid-template-areas:\n 'icon hero result'\n 'icon meta kda';\n gap: 3px 10px;\n padding: 11px 12px;\n }\n .cx-recent-row::after {\n display: none;\n }\n .cx-recent-icon {\n width: 40px;\n height: 40px;\n }\n .pl-bar {\n flex: 1 1 120px;\n }\n}\n";
479
479
 
480
480
  // src/coach/cards.css
481
- var cards_default = "/* ==========================================================================\n dota2.ai \u2014 Home Page: Tactical Map Hero, Omnibox, Patch Hub & Agent Bench\n ========================================================================== */\n\n/* First screen layout: Hero + Latest Game on left, 4-Step Telemetry on right */\n.hm-first {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 20px;\n margin-top: clamp(20px, 4vh, 38px);\n}\n\n@media (min-width: 1024px) {\n .hm-first {\n grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);\n align-items: stretch;\n }\n}\n\n.hm-left {\n display: flex;\n flex-direction: column;\n gap: 16px;\n min-width: 0;\n}\n\n.hm-left .hm-map {\n flex: 1 1 auto;\n}\n\n/* --------------------------------------------------------------------------\n Tactical Map Hero Card (.cx-hero.hm-map)\n -------------------------------------------------------------------------- */\n\n.cx-hero.hm-map {\n position: relative;\n overflow: hidden;\n padding: clamp(32px, 6vh, 60px) clamp(22px, 4.5vw, 52px);\n border-radius: var(--radius-lg);\n background:\n radial-gradient(640px 280px at 0% 100%, rgba(82, 201, 114, 0.11), transparent 70%),\n radial-gradient(640px 280px at 100% 0%, rgba(232, 100, 82, 0.11), transparent 70%),\n linear-gradient(180deg, #131924 0%, #0b0f16 100%);\n border: 1px solid var(--line-2);\n box-shadow: var(--shadow-card);\n display: grid;\n align-items: center;\n}\n\n@media (min-width: 1024px) {\n .hm-left .hm-map {\n min-height: clamp(410px, 55vh, 520px);\n }\n}\n\n.cx-hero.hm-map::before {\n content: '';\n position: absolute;\n left: 24px;\n right: 24px;\n top: 0;\n height: 1px;\n background: linear-gradient(90deg, transparent, rgba(229, 174, 78, 0.45), transparent);\n pointer-events: none;\n}\n\n.hm-minimap {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.hm-radiant {\n fill: rgba(82, 201, 114, 0.075);\n}\n\n.hm-dire {\n fill: rgba(232, 100, 82, 0.075);\n}\n\n.hm-grid {\n fill: none;\n stroke: rgba(226, 234, 245, 0.025);\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n}\n\n.hm-lane {\n fill: none;\n stroke: rgba(226, 234, 245, 0.07);\n stroke-width: 1;\n stroke-dasharray: 4 5;\n vector-effect: non-scaling-stroke;\n}\n\n.hm-node.is-radiant {\n fill: rgba(82, 201, 114, 0.45);\n}\n\n.hm-node.is-dire {\n fill: rgba(232, 100, 82, 0.45);\n}\n\n.hm-pit {\n fill: rgba(229, 174, 78, 0.08);\n stroke: rgba(229, 174, 78, 0.25);\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n}\n\n.hm-river {\n fill: none;\n stroke: rgba(104, 181, 232, 0.09);\n stroke-width: 26;\n vector-effect: non-scaling-stroke;\n stroke-linecap: round;\n transition: stroke 420ms ease, filter 420ms ease;\n}\n\n.hm-map[data-state='match'] .hm-river {\n stroke: rgba(229, 174, 78, 0.2);\n filter: drop-shadow(0 0 16px rgba(229, 174, 78, 0.35));\n}\n\n.hm-map[data-state='account'] .hm-river {\n stroke: rgba(82, 201, 114, 0.2);\n filter: drop-shadow(0 0 16px rgba(82, 201, 114, 0.35));\n}\n\n.hm-core {\n position: relative;\n z-index: 1;\n min-width: 0;\n width: 100%;\n max-width: 640px;\n}\n\n.hm-badge {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 4px 12px;\n border-radius: 999px;\n border: 1px solid rgba(229, 174, 78, 0.28);\n background: rgba(7, 9, 13, 0.55);\n color: var(--accent);\n font-size: 11px;\n letter-spacing: 0.1em;\n}\n\n.hm-badge-dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--accent);\n box-shadow: 0 0 8px var(--accent);\n}\n\n.hm-title {\n font-family: var(--serif);\n font-weight: 500;\n font-size: clamp(40px, 6.2vw, 68px);\n line-height: 1.04;\n letter-spacing: -0.025em;\n margin: 16px 0 14px;\n color: var(--text);\n text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);\n}\n\n.hm-sub {\n color: var(--text-2);\n font-size: clamp(15px, 1.4vw, 17px);\n line-height: 1.65;\n max-width: 540px;\n margin: 0 0 24px;\n text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);\n}\n\n/* Mode Radio Pills */\n.hm-mode {\n display: inline-flex;\n gap: 3px;\n padding: 3px;\n margin-bottom: 12px;\n border: 1px solid var(--line-2);\n border-radius: 10px;\n background: rgba(5, 7, 10, 0.65);\n backdrop-filter: blur(8px);\n}\n\n.hm-mode button {\n font: inherit;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n background: none;\n border: 0;\n border-radius: 7px;\n padding: 5px 14px;\n}\n\n.hm-mode button:hover {\n color: var(--text);\n}\n\n.hm-mode button.is-on {\n color: var(--accent-ink);\n background: var(--accent);\n font-weight: 600;\n box-shadow: 0 2px 8px rgba(229, 174, 78, 0.25);\n}\n\n/* Omnibox Input Bar */\n.cx-search.hm-ford {\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n max-width: 100%;\n background: rgba(5, 7, 10, 0.82);\n backdrop-filter: blur(12px);\n border: 1px solid var(--line-strong);\n border-radius: 14px;\n padding: 6px 6px 6px 14px;\n box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.04);\n}\n\n.cx-search.hm-ford:focus-within {\n border-color: var(--accent);\n box-shadow: 0 0 0 3px rgba(229, 174, 78, 0.16), 0 18px 44px -10px rgba(0, 0, 0, 0.7);\n}\n\n.hm-map[data-state='match'] .hm-ford {\n border-color: var(--accent);\n}\n\n.hm-map[data-state='account'] .hm-ford {\n border-color: var(--good);\n}\n\n.hm-ford-icon {\n display: inline-flex;\n color: var(--text-3);\n flex: none;\n}\n\n.cx-search.hm-ford:focus-within .hm-ford-icon {\n color: var(--accent);\n}\n\n.cx-search.hm-ford input {\n flex: 1 1 auto;\n min-width: 0;\n background: none;\n border: 0;\n outline: none;\n color: var(--text);\n font: inherit;\n font-size: 16px;\n padding: 9px 4px;\n}\n\n.cx-search.hm-ford input::placeholder {\n color: var(--text-3);\n}\n\n.hm-submit {\n flex: 0 0 auto;\n background: linear-gradient(180deg, var(--accent-bright), var(--accent));\n color: var(--accent-ink);\n border: 0;\n border-radius: 10px;\n padding: 10px 22px;\n font-weight: 600;\n font-size: var(--fs-body);\n white-space: nowrap;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(229, 174, 78, 0.24);\n}\n\n.hm-submit:hover {\n filter: brightness(1.06);\n transform: translateY(-1px);\n}\n\n/* Status & Sample Row */\n.hm-status-row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 8px 16px;\n margin-top: 12px;\n min-height: 28px;\n}\n\n.hm-status {\n margin: 0;\n font-size: var(--fs-meta);\n color: var(--text-3);\n}\n\n.hm-example {\n background: rgba(255, 255, 255, 0.04);\n border: 1px solid var(--line-2);\n border-radius: 6px;\n padding: 1px 8px;\n color: var(--text-2);\n font-family: var(--mono);\n font-size: 12px;\n text-decoration: none;\n}\n\n.hm-example:hover {\n color: var(--accent);\n border-color: rgba(229, 174, 78, 0.5);\n background: var(--accent-soft);\n}\n\n.hm-sample-link {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--accent);\n text-decoration: none;\n padding: 2px 10px;\n border-radius: 999px;\n border: 1px solid rgba(229, 174, 78, 0.32);\n background: rgba(229, 174, 78, 0.08);\n white-space: nowrap;\n}\n\n.hm-sample-link:hover {\n background: rgba(229, 174, 78, 0.16);\n border-color: var(--accent);\n}\n\n/* --------------------------------------------------------------------------\n Returning Player Banner (.cx-latest)\n -------------------------------------------------------------------------- */\n\n.hm-latest {\n margin-top: 0;\n}\n\n.cx-latest {\n padding: 16px 18px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n box-shadow: var(--shadow-card);\n}\n\n.cx-latest.has-goal {\n display: grid;\n grid-template-columns: 1.2fr 1fr;\n gap: 16px;\n}\n\n.cx-latest-card {\n min-width: 0;\n}\n\n.cx-latest .cx-eyebrow {\n margin: 0 0 10px;\n}\n\n.cx-latest-row {\n display: flex;\n align-items: center;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n.cx-latest-text {\n flex: 1 1 160px;\n min-width: 0;\n}\n\n.cx-latest-text .is-win {\n color: var(--good);\n font-weight: 600;\n}\n\n.cx-latest-text .is-loss {\n color: var(--dire);\n font-weight: 600;\n}\n\n.cx-latest-cta {\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n background: var(--accent);\n color: var(--accent-ink);\n border-radius: 999px;\n padding: 6px 16px;\n font-size: var(--fs-meta);\n font-weight: 600;\n}\n\n.cx-latest-cta:hover {\n filter: brightness(1.08);\n}\n\n.cx-example {\n color: var(--text-3);\n font-size: var(--fs-meta);\n margin: 10px 2px 0;\n}\n\n.cx-account-known {\n color: var(--accent);\n text-decoration: none;\n font-weight: 500;\n}\n\n.cx-account-known:hover {\n text-decoration: underline;\n}\n\n.cx-latest-goal-card {\n min-width: 0;\n padding-left: 16px;\n border-left: 1px solid var(--line);\n}\n\n.cx-latest-goal {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px 10px;\n margin: 8px 0 0;\n font-size: var(--fs-body);\n color: var(--text);\n}\n\n/* --------------------------------------------------------------------------\n What Happens Next \u2014 4-Step Telemetry (.hm-how)\n -------------------------------------------------------------------------- */\n\n.hm-how {\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n padding: clamp(22px, 3vw, 32px);\n box-shadow: var(--shadow-card);\n display: flex;\n flex-direction: column;\n}\n\n.hm-how h2,\n.hm-ways h2,\n.hm-patch .pa-head h2,\n.hm-feedback h2 {\n margin: 0 0 18px;\n font-family: var(--serif);\n font-size: clamp(21px, 2.4vw, 25px);\n font-weight: 500;\n letter-spacing: -0.01em;\n line-height: 1.25;\n}\n\n.hm-how-steps {\n list-style: none;\n margin: 0;\n padding: 0;\n counter-reset: hmstep;\n}\n\n.hm-how-steps li {\n counter-increment: hmstep;\n display: grid;\n grid-template-columns: 28px minmax(0, 1fr);\n gap: 14px;\n padding-bottom: 18px;\n position: relative;\n}\n\n.hm-how-steps li:not(:last-child)::before {\n content: '';\n position: absolute;\n left: 13.5px;\n top: 28px;\n bottom: 0;\n width: 1px;\n background: linear-gradient(180deg, rgba(229, 174, 78, 0.4), var(--line));\n}\n\n.hm-how-dot {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n border: 1px solid rgba(229, 174, 78, 0.45);\n background: rgba(229, 174, 78, 0.08);\n display: grid;\n place-items: center;\n position: relative;\n z-index: 1;\n}\n\n.hm-how-dot::after {\n content: counter(hmstep);\n font-family: var(--mono);\n font-size: 12px;\n font-weight: 600;\n color: var(--accent);\n}\n\n.hm-how-steps strong {\n display: block;\n font-weight: 600;\n font-size: 16px;\n color: var(--text);\n margin-top: 2px;\n}\n\n.hm-how-steps p {\n margin: 4px 0 0;\n color: var(--text-2);\n line-height: 1.6;\n font-size: 14px;\n}\n\n.hm-how-note {\n margin: auto 0 0;\n padding: 12px 14px;\n border-radius: 10px;\n background: rgba(255, 255, 255, 0.025);\n border: 1px solid var(--line);\n color: var(--text-3);\n font-size: var(--fs-meta);\n line-height: 1.6;\n}\n\n/* --------------------------------------------------------------------------\n Unified Patch Intelligence Hub (.hm-patch = .cx-patch + .pa)\n -------------------------------------------------------------------------- */\n\n.hm-patch {\n margin-top: 40px;\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n background: var(--panel);\n overflow: hidden;\n box-shadow: var(--shadow-card);\n}\n\n.hm-patch .cx-patch.hm-patchbar {\n margin: 0;\n border: 0;\n border-bottom: 1px solid var(--line);\n border-radius: 0;\n box-shadow: none;\n background:\n linear-gradient(90deg, rgba(229, 174, 78, 0.09), transparent 55%),\n var(--panel-2);\n padding: 14px 22px;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 8px 20px;\n align-items: center;\n}\n\n.hm-patch .hm-patchbar .cx-patch-details {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n}\n\n.hm-patch .hm-patch-update {\n grid-column: 1;\n grid-row: 2;\n margin: 0;\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 4px 12px;\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.hm-patch .hm-patch-update time {\n font-family: var(--mono);\n font-size: 12px;\n color: var(--text-3);\n}\n\n.hm-patch .hm-patch-update a {\n color: var(--accent);\n text-decoration: none;\n font-weight: 500;\n}\n\n.hm-patch .hm-patch-update a:hover {\n text-decoration: underline;\n}\n\n.hm-patch .hm-patchbar .cx-patch-actions {\n grid-column: 2;\n grid-row: 1 / span 2;\n align-self: center;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 10px 16px;\n}\n\n.hm-patchbar summary {\n cursor: pointer;\n list-style: none;\n}\n\n.hm-patchbar summary::-webkit-details-marker {\n display: none;\n}\n\n.hm-patch-line {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px 12px;\n}\n\n.hm-patch-line time {\n font-family: var(--mono);\n font-size: 12px;\n color: var(--text-3);\n padding: 2px 8px;\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.04);\n border: 1px solid var(--line);\n}\n\n.hm-patch-line h2 {\n margin: 0;\n font-family: var(--sans);\n font-size: 16px;\n font-weight: 600;\n color: var(--text);\n}\n\n.hm-patch-count {\n font-size: 12px;\n font-weight: 500;\n color: var(--accent);\n padding: 2px 9px;\n border-radius: 999px;\n background: var(--accent-soft);\n border: 1px solid rgba(229, 174, 78, 0.35);\n}\n\n.hm-patch-count::after {\n content: ' \u25BE';\n opacity: 0.75;\n}\n\n.cx-patch-details[open] .hm-patch-count::after {\n content: ' \u25B4';\n}\n\n.cx-patch-items {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n margin: 14px 0 12px;\n}\n\n.cx-patch-item {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n padding: 4px 10px 4px 5px;\n border-radius: 8px;\n background: rgba(7, 9, 13, 0.65);\n border: 1px solid var(--line);\n font-size: var(--fs-meta);\n color: var(--text);\n}\n\n.cx-patch-icon {\n width: 28px;\n height: 20px;\n border-radius: 4px;\n object-fit: cover;\n flex: none;\n background: var(--panel);\n}\n\n.cx-patch-list {\n margin: 0 0 12px;\n padding-left: 18px;\n color: var(--text-2);\n font-size: 14px;\n display: grid;\n gap: 6px;\n}\n\n.cx-patch-coach {\n margin: 0;\n padding: 10px 12px;\n border-radius: 8px;\n background: rgba(255, 255, 255, 0.03);\n border-left: 2px solid var(--accent);\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.cx-patch-coach strong {\n color: var(--accent);\n font-weight: 600;\n margin-right: 6px;\n}\n\n.hm-patch .cx-patch-cta {\n background: rgba(229, 174, 78, 0.1);\n color: var(--accent);\n border: 1px solid rgba(229, 174, 78, 0.48);\n border-radius: 999px;\n padding: 6px 15px;\n font-size: var(--fs-meta);\n font-weight: 600;\n white-space: nowrap;\n}\n\n.hm-patch .cx-patch-cta:hover {\n background: rgba(229, 174, 78, 0.2);\n border-color: var(--accent);\n}\n\n.cx-patch-actions a {\n font-size: var(--fs-meta);\n color: var(--text-2);\n text-decoration: none;\n}\n\n.cx-patch-actions a:hover {\n color: var(--text);\n text-decoration: underline;\n}\n\n.hm-patch .pa {\n margin: 0;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n}\n\n/* --------------------------------------------------------------------------\n Developer & Agent Workbench (.hm-ways)\n -------------------------------------------------------------------------- */\n\n.hm-ways {\n margin-top: 40px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n padding: clamp(20px, 3vw, 30px);\n box-shadow: var(--shadow-card);\n}\n\n.hm-ways-tabs {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n border-bottom: 1px solid var(--line);\n padding-bottom: 10px;\n margin-bottom: 14px;\n}\n\n.hm-ways-tabs button {\n font: inherit;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n background: rgba(255, 255, 255, 0.02);\n border: 1px solid transparent;\n border-radius: 8px;\n padding: 6px 14px;\n}\n\n.hm-ways-tabs button:hover {\n color: var(--text);\n background: rgba(255, 255, 255, 0.05);\n}\n\n.hm-ways-tabs button.is-on {\n color: var(--accent);\n background: var(--accent-soft);\n border-color: rgba(229, 174, 78, 0.45);\n font-weight: 600;\n}\n\n.hm-ways-panel {\n padding: 2px 0 0;\n}\n\n.hm-clients {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin: 0 0 12px;\n}\n\n.hm-clients-lead {\n color: var(--text-2);\n font-size: var(--fs-meta);\n margin-right: 4px;\n}\n\n.hm-clients button {\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n color: var(--text-2);\n background: var(--inset);\n border: 1px solid var(--line);\n border-radius: 999px;\n padding: 5px 13px;\n min-height: 32px;\n}\n\n.hm-clients button:hover {\n color: var(--text);\n border-color: var(--line-2);\n}\n\n.hm-clients button.is-on {\n color: var(--text);\n border-color: var(--accent);\n background: rgba(229, 174, 78, 0.1);\n}\n\n.hm-code {\n position: relative;\n border-radius: 10px;\n background: var(--inset);\n border: 1px solid var(--line-2);\n overflow: hidden;\n}\n\n.hm-code pre {\n margin: 0;\n padding: 14px 92px 14px 16px;\n overflow-x: auto;\n font: 13px/1.65 var(--mono);\n color: #dce5f2;\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.hm-copy {\n position: absolute;\n top: 8px;\n right: 8px;\n font: inherit;\n font-size: 12px;\n font-weight: 600;\n color: var(--accent-ink);\n background: var(--accent);\n border: 0;\n border-radius: 6px;\n padding: 5px 12px;\n}\n\n.hm-copy:hover {\n filter: brightness(1.08);\n}\n\n.hm-ways-note {\n margin: 10px 0 0;\n color: var(--text-2);\n font-size: 14px;\n line-height: 1.6;\n}\n\n.hm-ways-note a {\n color: var(--accent);\n margin-left: 8px;\n text-decoration: none;\n font-weight: 500;\n}\n\n.hm-ways-note a:hover {\n text-decoration: underline;\n}\n\n.hm-say {\n margin: 12px 0 0;\n padding: 10px 14px;\n border-radius: 8px;\n background: rgba(255, 255, 255, 0.025);\n border-left: 2px solid var(--accent);\n font-size: 14px;\n color: var(--text-2);\n}\n\n.hm-say q {\n color: var(--text);\n font-weight: 500;\n quotes: '\u201C' '\u201D';\n}\n\n.hm-prompt {\n margin-top: 20px;\n padding-top: 18px;\n border-top: 1px solid var(--line);\n}\n\n.hm-prompt h3 {\n margin: 0 0 10px;\n font-size: var(--fs-meta);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--text-3);\n font-weight: 600;\n}\n\n/* --------------------------------------------------------------------------\n Community & Feedback Section (.hm-feedback)\n -------------------------------------------------------------------------- */\n\n.hm-feedback {\n margin-top: 40px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n padding: clamp(20px, 3vw, 30px);\n box-shadow: var(--shadow-card);\n}\n\n.hm-feedback-head {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: space-between;\n gap: 16px 24px;\n}\n\n.hm-feedback h2 {\n margin-bottom: 8px;\n}\n\n.hm-feedback-sub {\n margin: 0;\n max-width: 540px;\n color: var(--text-2);\n font-size: 14px;\n line-height: 1.65;\n}\n\n.hm-feedback-links {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n}\n\n.hm-feedback-link,\n.hm-feedback-toggle {\n display: inline-flex;\n align-items: center;\n padding: 7px 14px;\n border-radius: 999px;\n border: 1px solid var(--line-2);\n background: rgba(255, 255, 255, 0.03);\n color: var(--text-2);\n font-size: var(--fs-meta);\n font-weight: 500;\n text-decoration: none;\n white-space: nowrap;\n}\n\n.hm-feedback-link:hover,\n.hm-feedback-toggle:hover,\n.hm-feedback-link:focus-visible,\n.hm-feedback-toggle:focus-visible {\n color: var(--text);\n border-color: var(--accent);\n background: rgba(255, 255, 255, 0.06);\n}\n\n.hm-feedback-link.is-primary {\n border-color: rgba(229, 174, 78, 0.5);\n color: var(--accent);\n background: var(--accent-soft);\n}\n\n.hm-feedback-toggle.is-on {\n border-color: var(--accent);\n color: var(--accent);\n background: var(--accent-soft);\n}\n\n.hm-feedback-form {\n margin-top: 18px;\n padding-top: 18px;\n border-top: 1px solid var(--line);\n display: grid;\n gap: 12px;\n}\n\n.hm-feedback-cats {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n}\n\n.hm-feedback-field {\n display: grid;\n gap: 6px;\n}\n\n.hm-feedback-field > span {\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n}\n\n.hm-feedback-field textarea,\n.hm-feedback-foot input {\n width: 100%;\n background: var(--inset);\n border: 1px solid var(--line-2);\n border-radius: 10px;\n padding: 10px 14px;\n color: var(--text);\n font: inherit;\n font-size: var(--fs-body);\n}\n\n.hm-feedback-field textarea:focus,\n.hm-feedback-foot input:focus {\n outline: none;\n border-color: var(--accent);\n box-shadow: 0 0 0 3px rgba(229, 174, 78, 0.14);\n}\n\n.hm-feedback-foot {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n align-items: center;\n}\n\n.hm-feedback-foot input {\n flex: 1 1 240px;\n min-width: 0;\n}\n\n.hm-feedback-done {\n margin-top: 16px;\n padding: 14px 16px;\n border-radius: 10px;\n background: var(--radiant-soft);\n border: 1px solid rgba(82, 201, 114, 0.38);\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n color: var(--good);\n}\n\n.hm-feedback-done p {\n margin: 0;\n font-weight: 500;\n}\n\n@media (max-width: 720px) {\n .cx-hero.hm-map {\n padding: 26px 18px 22px;\n }\n .cx-search.hm-ford {\n padding: 5px 5px 5px 12px;\n }\n .hm-submit {\n padding: 9px 16px;\n }\n .cx-latest.has-goal {\n grid-template-columns: 1fr;\n }\n .cx-latest-goal-card {\n padding-left: 0;\n padding-top: 14px;\n border-left: 0;\n border-top: 1px solid var(--line);\n }\n .hm-patch .cx-patch.hm-patchbar {\n grid-template-columns: minmax(0, 1fr);\n padding: 14px 16px;\n }\n .hm-patch .hm-patchbar .cx-patch-actions {\n grid-column: 1;\n grid-row: 3;\n margin-top: 4px;\n }\n}\n\n/* The same coach on the reader's own model (src/coach/OwnModel.tsx): under the home input, and wherever this\n site's model says no (match page, chat). Points at the DSH tab of the ways block (#ways-dsh). */\n.om-callout {\n margin: 14px 0 0;\n padding: 12px 14px;\n border: 1px solid var(--line-2);\n border-left: 3px solid var(--accent);\n border-radius: var(--radius-sm, 8px);\n background: var(--accent-soft);\n font-size: var(--fs-meta, 0.85rem);\n color: var(--text-2);\n text-align: left;\n max-width: 100%;\n}\n.om-callout p { margin: 0; }\n.om-callout .om-lead { color: var(--text); font-size: var(--fs-body, 0.95rem); }\n.om-callout .om-lead strong { font-weight: 600; }\n.om-callout .om-body { margin-top: 4px; }\n.om-callout .om-tag {\n display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px;\n background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; vertical-align: 1px;\n}\n.om-callout .om-ask { margin-top: 6px; }\n.om-callout .om-ask q { color: var(--text); font-family: var(--mono, monospace); font-size: 0.82rem; overflow-wrap: anywhere; }\n.om-callout .om-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }\n.om-callout .om-cta { color: var(--accent-bright, var(--accent)); font-weight: 600; text-decoration: none; }\n.om-callout .om-cta:hover { text-decoration: underline; }\n.om-callout .om-alt { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }\n.om-callout .om-alt:hover { color: var(--text); }\n.ag-chat .om-callout { margin-top: 8px; padding: 10px 12px; }\n/* On the home hero it sits over the minimap art: an opaque ground, above the art. */\n.om-callout.is-home { position: relative; z-index: 1; background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--panel); }\n.om-banner {\n display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;\n padding: 7px 16px; background: var(--accent-soft); border-bottom: 1px solid var(--line-2);\n font-size: var(--fs-meta, 0.85rem); color: var(--text); text-align: center;\n}\n.om-banner .om-tag {\n padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);\n font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;\n}\n.om-banner .om-cta { color: var(--accent-bright, var(--accent)); font-weight: 600; text-decoration: none; white-space: nowrap; }\n.om-banner .om-cta:hover { text-decoration: underline; }\n.om-callout.is-waiting { margin: 16px 0; }\n.hm-anchor { display: block; position: relative; top: -72px; visibility: hidden; height: 0; }\n";
481
+ var cards_default = "/* ==========================================================================\n dota2.ai \u2014 Home Page: Tactical Map Hero, Omnibox, Patch Hub & Agent Bench\n ========================================================================== */\n\n/* First screen layout: Hero + Latest Game on left, 4-Step Telemetry on right */\n.hm-first {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 20px;\n margin-top: clamp(20px, 4vh, 38px);\n}\n\n@media (min-width: 1024px) {\n .hm-first {\n grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);\n align-items: stretch;\n }\n}\n\n.hm-left {\n display: flex;\n flex-direction: column;\n gap: 16px;\n min-width: 0;\n}\n\n.hm-left .hm-map {\n flex: 1 1 auto;\n}\n\n/* --------------------------------------------------------------------------\n Tactical Map Hero Card (.cx-hero.hm-map)\n -------------------------------------------------------------------------- */\n\n.cx-hero.hm-map {\n position: relative;\n overflow: hidden;\n padding: clamp(32px, 6vh, 60px) clamp(22px, 4.5vw, 52px);\n border-radius: var(--radius-lg);\n background:\n radial-gradient(640px 280px at 0% 100%, rgba(82, 201, 114, 0.11), transparent 70%),\n radial-gradient(640px 280px at 100% 0%, rgba(232, 100, 82, 0.11), transparent 70%),\n linear-gradient(180deg, #131924 0%, #0b0f16 100%);\n border: 1px solid var(--line-2);\n box-shadow: var(--shadow-card);\n display: grid;\n align-items: center;\n}\n\n@media (min-width: 1024px) {\n .hm-left .hm-map {\n min-height: clamp(410px, 55vh, 520px);\n }\n}\n\n.cx-hero.hm-map::before {\n content: '';\n position: absolute;\n left: 24px;\n right: 24px;\n top: 0;\n height: 1px;\n background: linear-gradient(90deg, transparent, rgba(229, 174, 78, 0.45), transparent);\n pointer-events: none;\n}\n\n.hm-minimap {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.hm-radiant {\n fill: rgba(82, 201, 114, 0.075);\n}\n\n.hm-dire {\n fill: rgba(232, 100, 82, 0.075);\n}\n\n.hm-grid {\n fill: none;\n stroke: rgba(226, 234, 245, 0.025);\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n}\n\n.hm-lane {\n fill: none;\n stroke: rgba(226, 234, 245, 0.07);\n stroke-width: 1;\n stroke-dasharray: 4 5;\n vector-effect: non-scaling-stroke;\n}\n\n.hm-node.is-radiant {\n fill: rgba(82, 201, 114, 0.45);\n}\n\n.hm-node.is-dire {\n fill: rgba(232, 100, 82, 0.45);\n}\n\n.hm-pit {\n fill: rgba(229, 174, 78, 0.08);\n stroke: rgba(229, 174, 78, 0.25);\n stroke-width: 1;\n vector-effect: non-scaling-stroke;\n}\n\n.hm-river {\n fill: none;\n stroke: rgba(104, 181, 232, 0.09);\n stroke-width: 26;\n vector-effect: non-scaling-stroke;\n stroke-linecap: round;\n transition: stroke 420ms ease, filter 420ms ease;\n}\n\n.hm-map[data-state='match'] .hm-river {\n stroke: rgba(229, 174, 78, 0.2);\n filter: drop-shadow(0 0 16px rgba(229, 174, 78, 0.35));\n}\n\n.hm-map[data-state='account'] .hm-river {\n stroke: rgba(82, 201, 114, 0.2);\n filter: drop-shadow(0 0 16px rgba(82, 201, 114, 0.35));\n}\n\n.hm-core {\n position: relative;\n z-index: 1;\n min-width: 0;\n width: 100%;\n max-width: 640px;\n}\n\n.hm-badge {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 4px 12px;\n border-radius: 999px;\n border: 1px solid rgba(229, 174, 78, 0.28);\n background: rgba(7, 9, 13, 0.55);\n color: var(--accent);\n font-size: 11px;\n letter-spacing: 0.1em;\n}\n\n.hm-badge-dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--accent);\n box-shadow: 0 0 8px var(--accent);\n}\n\n.hm-title {\n font-family: var(--serif);\n font-weight: 500;\n font-size: clamp(40px, 6.2vw, 68px);\n line-height: 1.04;\n letter-spacing: -0.025em;\n margin: 16px 0 14px;\n color: var(--text);\n text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);\n}\n\n.hm-sub {\n color: var(--text-2);\n font-size: clamp(15px, 1.4vw, 17px);\n line-height: 1.65;\n max-width: 540px;\n margin: 0 0 24px;\n text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);\n}\n\n/* Mode Radio Pills */\n.hm-mode {\n display: inline-flex;\n gap: 3px;\n padding: 3px;\n margin-bottom: 12px;\n border: 1px solid var(--line-2);\n border-radius: 10px;\n background: rgba(5, 7, 10, 0.65);\n backdrop-filter: blur(8px);\n}\n\n.hm-mode button {\n font: inherit;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n background: none;\n border: 0;\n border-radius: 7px;\n padding: 5px 14px;\n}\n\n.hm-mode button:hover {\n color: var(--text);\n}\n\n.hm-mode button.is-on {\n color: var(--accent-ink);\n background: var(--accent);\n font-weight: 600;\n box-shadow: 0 2px 8px rgba(229, 174, 78, 0.25);\n}\n\n/* Omnibox Input Bar */\n.cx-search.hm-ford {\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n max-width: 100%;\n background: rgba(5, 7, 10, 0.82);\n backdrop-filter: blur(12px);\n border: 1px solid var(--line-strong);\n border-radius: 14px;\n padding: 6px 6px 6px 14px;\n box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.04);\n}\n\n.cx-search.hm-ford:focus-within {\n border-color: var(--accent);\n box-shadow: 0 0 0 3px rgba(229, 174, 78, 0.16), 0 18px 44px -10px rgba(0, 0, 0, 0.7);\n}\n\n.hm-map[data-state='match'] .hm-ford {\n border-color: var(--accent);\n}\n\n.hm-map[data-state='account'] .hm-ford {\n border-color: var(--good);\n}\n\n.hm-ford-icon {\n display: inline-flex;\n color: var(--text-3);\n flex: none;\n}\n\n.cx-search.hm-ford:focus-within .hm-ford-icon {\n color: var(--accent);\n}\n\n.cx-search.hm-ford input {\n flex: 1 1 auto;\n min-width: 0;\n background: none;\n border: 0;\n outline: none;\n color: var(--text);\n font: inherit;\n font-size: 16px;\n padding: 9px 4px;\n}\n\n.cx-search.hm-ford input::placeholder {\n color: var(--text-3);\n}\n\n.hm-submit {\n flex: 0 0 auto;\n background: linear-gradient(180deg, var(--accent-bright), var(--accent));\n color: var(--accent-ink);\n border: 0;\n border-radius: 10px;\n padding: 10px 22px;\n font-weight: 600;\n font-size: var(--fs-body);\n white-space: nowrap;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(229, 174, 78, 0.24);\n}\n\n.hm-submit:hover {\n filter: brightness(1.06);\n transform: translateY(-1px);\n}\n\n/* Status & Sample Row */\n.hm-status-row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 8px 16px;\n margin-top: 12px;\n min-height: 28px;\n}\n\n.hm-status {\n margin: 0;\n font-size: var(--fs-meta);\n color: var(--text-3);\n}\n\n.hm-example {\n background: rgba(255, 255, 255, 0.04);\n border: 1px solid var(--line-2);\n border-radius: 6px;\n padding: 1px 8px;\n color: var(--text-2);\n font-family: var(--mono);\n font-size: 12px;\n text-decoration: none;\n}\n\n.hm-example:hover {\n color: var(--accent);\n border-color: rgba(229, 174, 78, 0.5);\n background: var(--accent-soft);\n}\n\n.hm-sample-link {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--accent);\n text-decoration: none;\n padding: 2px 10px;\n border-radius: 999px;\n border: 1px solid rgba(229, 174, 78, 0.32);\n background: rgba(229, 174, 78, 0.08);\n white-space: nowrap;\n}\n\n.hm-sample-link:hover {\n background: rgba(229, 174, 78, 0.16);\n border-color: var(--accent);\n}\n\n/* --------------------------------------------------------------------------\n Returning Player Banner (.cx-latest)\n -------------------------------------------------------------------------- */\n\n.hm-latest {\n margin-top: 0;\n}\n\n.cx-latest {\n padding: 16px 18px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n box-shadow: var(--shadow-card);\n}\n\n.cx-latest.has-goal {\n display: grid;\n grid-template-columns: 1.2fr 1fr;\n gap: 16px;\n}\n\n.cx-latest-card {\n min-width: 0;\n}\n\n.cx-latest .cx-eyebrow {\n margin: 0 0 10px;\n}\n\n.cx-latest-row {\n display: flex;\n align-items: center;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n.cx-latest-text {\n flex: 1 1 160px;\n min-width: 0;\n}\n\n.cx-latest-text .is-win {\n color: var(--good);\n font-weight: 600;\n}\n\n.cx-latest-text .is-loss {\n color: var(--dire);\n font-weight: 600;\n}\n\n.cx-latest-cta {\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n background: var(--accent);\n color: var(--accent-ink);\n border-radius: 999px;\n padding: 6px 16px;\n font-size: var(--fs-meta);\n font-weight: 600;\n}\n\n.cx-latest-cta:hover {\n filter: brightness(1.08);\n}\n\n.cx-example {\n color: var(--text-3);\n font-size: var(--fs-meta);\n margin: 10px 2px 0;\n}\n\n.cx-account-known {\n color: var(--accent);\n text-decoration: none;\n font-weight: 500;\n}\n\n.cx-account-known:hover {\n text-decoration: underline;\n}\n\n.cx-latest-goal-card {\n min-width: 0;\n padding-left: 16px;\n border-left: 1px solid var(--line);\n}\n\n.cx-latest-goal {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px 10px;\n margin: 8px 0 0;\n font-size: var(--fs-body);\n color: var(--text);\n}\n\n/* --------------------------------------------------------------------------\n What Happens Next \u2014 4-Step Telemetry (.hm-how)\n -------------------------------------------------------------------------- */\n\n.hm-how {\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n padding: clamp(22px, 3vw, 32px);\n box-shadow: var(--shadow-card);\n display: flex;\n flex-direction: column;\n}\n\n.hm-how h2,\n.hm-ways h2,\n.hm-patch .pa-head h2,\n.hm-feedback h2 {\n margin: 0 0 18px;\n font-family: var(--serif);\n font-size: clamp(21px, 2.4vw, 25px);\n font-weight: 500;\n letter-spacing: -0.01em;\n line-height: 1.25;\n}\n\n.hm-how-steps {\n list-style: none;\n margin: 0;\n padding: 0;\n counter-reset: hmstep;\n}\n\n.hm-how-steps li {\n counter-increment: hmstep;\n display: grid;\n grid-template-columns: 28px minmax(0, 1fr);\n gap: 14px;\n padding-bottom: 18px;\n position: relative;\n}\n\n.hm-how-steps li:not(:last-child)::before {\n content: '';\n position: absolute;\n left: 13.5px;\n top: 28px;\n bottom: 0;\n width: 1px;\n background: linear-gradient(180deg, rgba(229, 174, 78, 0.4), var(--line));\n}\n\n.hm-how-dot {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n border: 1px solid rgba(229, 174, 78, 0.45);\n background: rgba(229, 174, 78, 0.08);\n display: grid;\n place-items: center;\n position: relative;\n z-index: 1;\n}\n\n.hm-how-dot::after {\n content: counter(hmstep);\n font-family: var(--mono);\n font-size: 12px;\n font-weight: 600;\n color: var(--accent);\n}\n\n.hm-how-steps strong {\n display: block;\n font-weight: 600;\n font-size: 16px;\n color: var(--text);\n margin-top: 2px;\n}\n\n.hm-how-steps p {\n margin: 4px 0 0;\n color: var(--text-2);\n line-height: 1.6;\n font-size: 14px;\n}\n\n.hm-how-note {\n margin: auto 0 0;\n padding: 12px 14px;\n border-radius: 10px;\n background: rgba(255, 255, 255, 0.025);\n border: 1px solid var(--line);\n color: var(--text-3);\n font-size: var(--fs-meta);\n line-height: 1.6;\n}\n\n/* --------------------------------------------------------------------------\n Unified Patch Intelligence Hub (.hm-patch = .cx-patch + .pa)\n -------------------------------------------------------------------------- */\n\n.hm-patch {\n margin-top: 40px;\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n background: var(--panel);\n overflow: hidden;\n box-shadow: var(--shadow-card);\n}\n\n.hm-patch .cx-patch.hm-patchbar {\n margin: 0;\n border: 0;\n border-bottom: 1px solid var(--line);\n border-radius: 0;\n box-shadow: none;\n background:\n linear-gradient(90deg, rgba(229, 174, 78, 0.09), transparent 55%),\n var(--panel-2);\n padding: 14px 22px;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 8px 20px;\n align-items: center;\n}\n\n.hm-patch .hm-patchbar .cx-patch-details {\n grid-column: 1;\n grid-row: 1;\n min-width: 0;\n}\n\n.hm-patch .hm-patch-update {\n grid-column: 1;\n grid-row: 2;\n margin: 0;\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 4px 12px;\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.hm-patch .hm-patch-update time {\n font-family: var(--mono);\n font-size: 12px;\n color: var(--text-3);\n}\n\n.hm-patch .hm-patch-update a {\n color: var(--accent);\n text-decoration: none;\n font-weight: 500;\n}\n\n.hm-patch .hm-patch-update a:hover {\n text-decoration: underline;\n}\n\n.hm-patch .hm-patchbar .cx-patch-actions {\n grid-column: 2;\n grid-row: 1 / span 2;\n align-self: center;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 10px 16px;\n}\n\n.hm-patchbar summary {\n cursor: pointer;\n list-style: none;\n}\n\n.hm-patchbar summary::-webkit-details-marker {\n display: none;\n}\n\n.hm-patch-line {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px 12px;\n}\n\n.hm-patch-line time {\n font-family: var(--mono);\n font-size: 12px;\n color: var(--text-3);\n padding: 2px 8px;\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.04);\n border: 1px solid var(--line);\n}\n\n.hm-patch-line h2 {\n margin: 0;\n font-family: var(--sans);\n font-size: 16px;\n font-weight: 600;\n color: var(--text);\n}\n\n.hm-patch-count {\n font-size: 12px;\n font-weight: 500;\n color: var(--accent);\n padding: 2px 9px;\n border-radius: 999px;\n background: var(--accent-soft);\n border: 1px solid rgba(229, 174, 78, 0.35);\n}\n\n.hm-patch-count::after {\n content: ' \u25BE';\n opacity: 0.75;\n}\n\n.cx-patch-details[open] .hm-patch-count::after {\n content: ' \u25B4';\n}\n\n.cx-patch-items {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n margin: 14px 0 12px;\n}\n\n.cx-patch-item {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n padding: 4px 10px 4px 5px;\n border-radius: 8px;\n background: rgba(7, 9, 13, 0.65);\n border: 1px solid var(--line);\n font-size: var(--fs-meta);\n color: var(--text);\n}\n\n.cx-patch-icon {\n width: 28px;\n height: 20px;\n border-radius: 4px;\n object-fit: cover;\n flex: none;\n background: var(--panel);\n}\n\n.cx-patch-list {\n margin: 0 0 12px;\n padding-left: 18px;\n color: var(--text-2);\n font-size: 14px;\n display: grid;\n gap: 6px;\n}\n\n.cx-patch-coach {\n margin: 0;\n padding: 10px 12px;\n border-radius: 8px;\n background: rgba(255, 255, 255, 0.03);\n border-left: 2px solid var(--accent);\n font-size: var(--fs-meta);\n color: var(--text-2);\n}\n\n.cx-patch-coach strong {\n color: var(--accent);\n font-weight: 600;\n margin-right: 6px;\n}\n\n.hm-patch .cx-patch-cta {\n background: rgba(229, 174, 78, 0.1);\n color: var(--accent);\n border: 1px solid rgba(229, 174, 78, 0.48);\n border-radius: 999px;\n padding: 6px 15px;\n font-size: var(--fs-meta);\n font-weight: 600;\n white-space: nowrap;\n}\n\n.hm-patch .cx-patch-cta:hover {\n background: rgba(229, 174, 78, 0.2);\n border-color: var(--accent);\n}\n\n.cx-patch-actions a {\n font-size: var(--fs-meta);\n color: var(--text-2);\n text-decoration: none;\n}\n\n.cx-patch-actions a:hover {\n color: var(--text);\n text-decoration: underline;\n}\n\n.hm-patch .pa {\n margin: 0;\n border: 0;\n border-radius: 0;\n box-shadow: none;\n}\n\n/* --------------------------------------------------------------------------\n Developer & Agent Workbench (.hm-ways)\n -------------------------------------------------------------------------- */\n\n.hm-ways {\n margin-top: 40px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n padding: clamp(20px, 3vw, 30px);\n box-shadow: var(--shadow-card);\n}\n\n.hm-ways-tabs {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n border-bottom: 1px solid var(--line);\n padding-bottom: 10px;\n margin-bottom: 14px;\n}\n\n.hm-ways-tabs button {\n font: inherit;\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n background: rgba(255, 255, 255, 0.02);\n border: 1px solid transparent;\n border-radius: 8px;\n padding: 6px 14px;\n}\n\n.hm-ways-tabs button:hover {\n color: var(--text);\n background: rgba(255, 255, 255, 0.05);\n}\n\n.hm-ways-tabs button.is-on {\n color: var(--accent);\n background: var(--accent-soft);\n border-color: rgba(229, 174, 78, 0.45);\n font-weight: 600;\n}\n\n.hm-ways-panel {\n padding: 2px 0 0;\n}\n\n.hm-clients {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n margin: 0 0 12px;\n}\n\n.hm-clients-lead {\n color: var(--text-2);\n font-size: var(--fs-meta);\n margin-right: 4px;\n}\n\n.hm-clients button {\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n color: var(--text-2);\n background: var(--inset);\n border: 1px solid var(--line);\n border-radius: 999px;\n padding: 5px 13px;\n min-height: 32px;\n}\n\n.hm-clients button:hover {\n color: var(--text);\n border-color: var(--line-2);\n}\n\n.hm-clients button.is-on {\n color: var(--text);\n border-color: var(--accent);\n background: rgba(229, 174, 78, 0.1);\n}\n\n.hm-code {\n position: relative;\n border-radius: 10px;\n background: var(--inset);\n border: 1px solid var(--line-2);\n overflow: hidden;\n}\n\n.hm-code pre {\n margin: 0;\n padding: 14px 92px 14px 16px;\n overflow-x: auto;\n font: 13px/1.65 var(--mono);\n color: #dce5f2;\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.hm-copy {\n position: absolute;\n top: 8px;\n right: 8px;\n font: inherit;\n font-size: 12px;\n font-weight: 600;\n color: var(--accent-ink);\n background: var(--accent);\n border: 0;\n border-radius: 6px;\n padding: 5px 12px;\n}\n\n.hm-copy:hover {\n filter: brightness(1.08);\n}\n\n.hm-ways-note {\n margin: 10px 0 0;\n color: var(--text-2);\n font-size: 14px;\n line-height: 1.6;\n}\n\n.hm-ways-note a {\n color: var(--accent);\n margin-left: 8px;\n text-decoration: none;\n font-weight: 500;\n}\n\n.hm-ways-note a:hover {\n text-decoration: underline;\n}\n\n.hm-say {\n margin: 12px 0 0;\n padding: 10px 14px;\n border-radius: 8px;\n background: rgba(255, 255, 255, 0.025);\n border-left: 2px solid var(--accent);\n font-size: 14px;\n color: var(--text-2);\n}\n\n.hm-say q {\n color: var(--text);\n font-weight: 500;\n quotes: '\u201C' '\u201D';\n}\n\n.hm-prompt {\n margin-top: 20px;\n padding-top: 18px;\n border-top: 1px solid var(--line);\n}\n\n.hm-prompt h3 {\n margin: 0 0 10px;\n font-size: var(--fs-meta);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--text-3);\n font-weight: 600;\n}\n\n/* --------------------------------------------------------------------------\n Community & Feedback Section (.hm-feedback)\n -------------------------------------------------------------------------- */\n\n.hm-feedback {\n margin-top: 40px;\n background: linear-gradient(180deg, var(--panel-2), var(--panel));\n border: 1px solid var(--line);\n border-radius: var(--radius-lg);\n padding: clamp(20px, 3vw, 30px);\n box-shadow: var(--shadow-card);\n}\n\n.hm-feedback-head {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: space-between;\n gap: 16px 24px;\n}\n\n.hm-feedback h2 {\n margin-bottom: 8px;\n}\n\n.hm-feedback-sub {\n margin: 0;\n max-width: 540px;\n color: var(--text-2);\n font-size: 14px;\n line-height: 1.65;\n}\n\n.hm-feedback-links {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n}\n\n.hm-feedback-link,\n.hm-feedback-toggle {\n display: inline-flex;\n align-items: center;\n padding: 7px 14px;\n border-radius: 999px;\n border: 1px solid var(--line-2);\n background: rgba(255, 255, 255, 0.03);\n color: var(--text-2);\n font-size: var(--fs-meta);\n font-weight: 500;\n text-decoration: none;\n white-space: nowrap;\n}\n\n.hm-feedback-link:hover,\n.hm-feedback-toggle:hover,\n.hm-feedback-link:focus-visible,\n.hm-feedback-toggle:focus-visible {\n color: var(--text);\n border-color: var(--accent);\n background: rgba(255, 255, 255, 0.06);\n}\n\n.hm-feedback-link.is-primary {\n border-color: rgba(229, 174, 78, 0.5);\n color: var(--accent);\n background: var(--accent-soft);\n}\n\n.hm-feedback-toggle.is-on {\n border-color: var(--accent);\n color: var(--accent);\n background: var(--accent-soft);\n}\n\n.hm-feedback-form {\n margin-top: 18px;\n padding-top: 18px;\n border-top: 1px solid var(--line);\n display: grid;\n gap: 12px;\n}\n\n.hm-feedback-cats {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n}\n\n.hm-feedback-field {\n display: grid;\n gap: 6px;\n}\n\n.hm-feedback-field > span {\n font-size: var(--fs-meta);\n font-weight: 500;\n color: var(--text-2);\n}\n\n.hm-feedback-field textarea,\n.hm-feedback-foot input {\n width: 100%;\n background: var(--inset);\n border: 1px solid var(--line-2);\n border-radius: 10px;\n padding: 10px 14px;\n color: var(--text);\n font: inherit;\n font-size: var(--fs-body);\n}\n\n.hm-feedback-field textarea:focus,\n.hm-feedback-foot input:focus {\n outline: none;\n border-color: var(--accent);\n box-shadow: 0 0 0 3px rgba(229, 174, 78, 0.14);\n}\n\n.hm-feedback-foot {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n align-items: center;\n}\n\n.hm-feedback-foot input {\n flex: 1 1 240px;\n min-width: 0;\n}\n\n.hm-feedback-done {\n margin-top: 16px;\n padding: 14px 16px;\n border-radius: 10px;\n background: var(--radiant-soft);\n border: 1px solid rgba(82, 201, 114, 0.38);\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n color: var(--good);\n}\n\n.hm-feedback-done p {\n margin: 0;\n font-weight: 500;\n}\n\n@media (max-width: 720px) {\n .cx-hero.hm-map {\n padding: 26px 18px 22px;\n }\n .cx-search.hm-ford {\n padding: 5px 5px 5px 12px;\n }\n .hm-submit {\n padding: 9px 16px;\n }\n .cx-latest.has-goal {\n grid-template-columns: 1fr;\n }\n .cx-latest-goal-card {\n padding-left: 0;\n padding-top: 14px;\n border-left: 0;\n border-top: 1px solid var(--line);\n }\n .hm-patch .cx-patch.hm-patchbar {\n grid-template-columns: minmax(0, 1fr);\n padding: 14px 16px;\n }\n .hm-patch .hm-patchbar .cx-patch-actions {\n grid-column: 1;\n grid-row: 3;\n margin-top: 4px;\n }\n}\n\n/* The same coach on the reader's own model (src/coach/OwnModel.tsx): under the home input, and wherever this\n site's model says no (match page, chat). Points at the DSH tab of the ways block (#ways-dsh). */\n.om-callout {\n margin: 14px 0 0;\n padding: 12px 14px;\n border: 1px solid var(--line-2);\n border-left: 3px solid var(--accent);\n border-radius: var(--radius-sm, 8px);\n background: var(--accent-soft);\n font-size: var(--fs-meta, 0.85rem);\n color: var(--text-2);\n text-align: left;\n max-width: 100%;\n}\n.om-callout p { margin: 0; }\n.om-callout .om-lead { color: var(--text); font-size: var(--fs-body, 0.95rem); }\n.om-callout .om-lead strong { font-weight: 600; }\n.om-callout .om-body { margin-top: 4px; }\n.om-callout .om-tag {\n display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px;\n background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; vertical-align: 1px;\n}\n.om-callout .om-ask { margin-top: 6px; }\n.om-callout .om-ask q { color: var(--text); font-family: var(--mono, monospace); font-size: 0.82rem; overflow-wrap: anywhere; }\n.om-callout .om-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }\n.om-callout .om-cta { color: var(--accent-bright, var(--accent)); font-weight: 600; text-decoration: none; }\n.om-callout .om-cta:hover { text-decoration: underline; }\n.om-callout .om-dl { color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 1px dashed var(--accent); }\n.om-callout .om-dl:hover { color: var(--accent-bright, var(--accent)); }\n.om-callout .om-alt { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }\n.om-callout .om-alt:hover { color: var(--text); }\n.ag-chat .om-callout { margin-top: 8px; padding: 10px 12px; }\n/* On the home hero it sits over the minimap art: an opaque ground, above the art. */\n.om-callout.is-home { position: relative; z-index: 1; background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--panel); }\n.om-banner {\n display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;\n padding: 7px 16px; background: var(--accent-soft); border-bottom: 1px solid var(--line-2);\n font-size: var(--fs-meta, 0.85rem); color: var(--text); text-align: center;\n}\n.om-banner .om-tag {\n padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);\n font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;\n}\n.om-banner .om-cta { color: var(--accent-bright, var(--accent)); font-weight: 600; text-decoration: none; white-space: nowrap; }\n.om-banner .om-cta:hover { text-decoration: underline; }\n.om-callout.is-waiting { margin: 16px 0; }\n.hm-anchor { display: block; position: relative; top: -72px; visibility: hidden; height: 0; }\n\n/* Idiot-proof 3-step DeepSeek Harness desktop install guide inside #ways-dsh */\n.hm-dsh-guide { display: grid; gap: 12px; }\n.hm-dsh-badge {\n margin: 0; display: inline-flex; width: fit-content; align-items: center; padding: 3px 10px;\n border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(229, 174, 78, 0.42);\n color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.02em;\n}\n.hm-dsh-pitch { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }\n.hm-dsh-steps {\n list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px;\n}\n.hm-dsh-steps > li {\n display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start;\n padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.025);\n border: 1px solid var(--line);\n}\n.hm-dsh-num {\n width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;\n background: var(--accent); color: var(--accent-ink); font-family: var(--mono);\n font-size: 13px; font-weight: 700; flex: none;\n}\n.hm-dsh-step-body { min-width: 0; display: grid; gap: 8px; }\n.hm-dsh-step-body strong { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.35; }\n.hm-dsh-step-body > p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.55; }\n.hm-dsh-btn {\n display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 8px 16px;\n border-radius: 9px; background: linear-gradient(180deg, var(--accent-bright), var(--accent));\n color: var(--accent-ink); font-size: 14px; font-weight: 600; text-decoration: none;\n box-shadow: 0 4px 14px rgba(229, 174, 78, 0.22);\n}\n.hm-dsh-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }\n.hm-dsh-cli {\n margin-top: 4px; padding: 10px 14px; border-radius: 10px;\n border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.015);\n}\n.hm-dsh-cli summary {\n cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-2); list-style: none;\n}\n.hm-dsh-cli summary::-webkit-details-marker { display: none; }\n.hm-dsh-cli summary::before { content: '\u25B8 '; color: var(--accent); }\n.hm-dsh-cli[open] summary::before { content: '\u25BE '; }\n.hm-dsh-cli[open] summary { margin-bottom: 10px; color: var(--text); }\n";
482
482
 
483
483
  // src/coach/review.css
484
484
  var review_default = "/* ==========================================================================\n dota2.ai \u2014 Review Auxiliary Surface Styles\n ========================================================================== */\n\n.rv-head {\n padding: 18px 0 14px;\n border-bottom: 1px solid var(--line);\n}\n\n.rv {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 28px;\n margin-top: 8px;\n}\n\n@media (min-width: 1100px) {\n .rv {\n grid-template-columns: minmax(0, 720px) minmax(300px, 1fr);\n gap: 40px;\n }\n}\n";
@@ -24468,17 +24468,27 @@ var import_react6 = require("react");
24468
24468
  // src/coach/accessSnippets.ts
24469
24469
  init_define_import_meta_env();
24470
24470
  var MCP_URL = "https://dota2.ai/mcp";
24471
+ var DSH_DOWNLOAD_URL = "https://www.deepseek.com/harness/";
24472
+ var DSH_PACKAGE_NAME = "@qianhaoq/dsh-dota2ai";
24471
24473
  var DSH_PLUGIN_VERSION = "0.2.3";
24472
24474
  var DSH_RELEASE_URL = `https://github.com/qianhaoq/dota2.ai/releases/tag/dsh-v${DSH_PLUGIN_VERSION}`;
24473
- var DSH_INSTALL = `dsh plugin --profile web add ./qianhaoq-dsh-dota2ai-${DSH_PLUGIN_VERSION}.tgz`;
24475
+ var DSH_INSTALL = `dsh plugin --profile web add ${DSH_PACKAGE_NAME}`;
24474
24476
  var DSH_HOST_VERSION = "0.2.2-rc.5";
24475
24477
  var DSH_TGZ_URL = `https://github.com/qianhaoq/dota2.ai/releases/download/dsh-v${DSH_PLUGIN_VERSION}/qianhaoq-dsh-dota2ai-${DSH_PLUGIN_VERSION}.tgz`;
24476
24478
  var DSH_SETUP = [
24477
24479
  `npm install -g pnpm @deepseek-ai/dsh@${DSH_HOST_VERSION}`,
24478
- `curl -LO ${DSH_TGZ_URL}`,
24479
24480
  DSH_INSTALL,
24480
24481
  "dsh web"
24481
24482
  ];
24483
+ function dshDesktopPrompt(lang) {
24484
+ if (lang === "zh") {
24485
+ return `\u5E2E\u6211\u5B89\u88C5 dota2.ai \u7684 Dota 2 \u590D\u76D8\u63D2\u4EF6 ${DSH_PACKAGE_NAME} \u5230\u5F53\u524D\u684C\u9762\u7AEF profile\uFF0C\u88C5\u597D\u540E\u544A\u8BC9\u6211\u600E\u4E48\u5728\u5DE6\u4FA7\u680F\u6253\u5F00 dota2.ai\u3002`;
24486
+ }
24487
+ if (lang === "ru") {
24488
+ return `\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438 \u043F\u043B\u0430\u0433\u0438\u043D dota2.ai \u0434\u043B\u044F \u0440\u0430\u0437\u0431\u043E\u0440\u0430 \u0440\u0435\u043F\u043B\u0435\u0435\u0432 Dota 2 ${DSH_PACKAGE_NAME} \u0432 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u043F\u0440\u043E\u0444\u0438\u043B\u044C \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u0433\u043E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F, \u0437\u0430\u0442\u0435\u043C \u043F\u043E\u0434\u0441\u043A\u0430\u0436\u0438, \u043A\u0430\u043A \u043E\u0442\u043A\u0440\u044B\u0442\u044C dota2.ai \u0432 \u043B\u0435\u0432\u043E\u0439 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438.`;
24489
+ }
24490
+ return `Install the dota2.ai Dota 2 replay coach plugin ${DSH_PACKAGE_NAME} into my active desktop profile, then tell me how to open dota2.ai in the left sidebar.`;
24491
+ }
24482
24492
  var CURSOR_CONFIG = "eyJ1cmwiOiJodHRwczovL2RvdGEyLmFpL21jcCJ9";
24483
24493
  var CURSOR_INSTALL = `https://cursor.com/en/install-mcp?name=dota2ai&config=${CURSOR_CONFIG}`;
24484
24494
  var AGENT_CLIENTS = [
@@ -24510,14 +24520,17 @@ function accessSnippets(matchId, hero = "tidehunter") {
24510
24520
  return [
24511
24521
  {
24512
24522
  mode: "dsh",
24513
- label: { en: "DSH plugin", zh: "DSH \u63D2\u4EF6", ru: "\u041F\u043B\u0430\u0433\u0438\u043D DSH" },
24523
+ label: { en: "DeepSeek Harness", zh: "DeepSeek Harness\uFF08\u63A8\u8350\uFF09", ru: "DeepSeek Harness" },
24514
24524
  lines: DSH_SETUP,
24515
24525
  note: {
24516
- en: "Recommended. A native plugin for DSH (DeepSeek Harness): the full dota2.ai page in the DSH sidebar and coach tools in every session, run on your own DeepSeek key \u2014 no queue, no daily limit, and reviews are kept on your machine (the replay itself is parsed on dota2.ai unless you set a local extractor). Needs Node 24.9+. After dsh web starts, add your DeepSeek key in DSH, then open dota2.ai in the sidebar.",
24517
- zh: "\u63A8\u8350\u3002DSH\uFF08DeepSeek Harness\uFF09\u539F\u751F\u63D2\u4EF6\uFF1ADSH \u5DE6\u4FA7\u680F\u91CC\u5C31\u662F\u5B8C\u6574\u7684 dota2.ai \u590D\u76D8\u9875\u9762\uFF0C\u6BCF\u4E2A\u4F1A\u8BDD\u4E5F\u80FD\u7528\u6559\u7EC3\u5DE5\u5177\uFF1B\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1\uFF0C\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\uFF0C\u590D\u76D8\u4FDD\u5B58\u5728\u4F60\u81EA\u5DF1\u7535\u8111\u4E0A\uFF08\u5F55\u50CF\u9ED8\u8BA4\u7531 dota2.ai \u89E3\u6790\uFF0C\u914D\u7F6E\u672C\u5730\u89E3\u6790\u5668\u540E\u53EF\u5B8C\u5168\u5728\u672C\u5730\uFF09\u3002\u9700\u8981 Node 24.9+\u3002\u8FD0\u884C dsh web \u540E\u5728 DSH \u91CC\u586B\u597D DeepSeek Key\uFF0C\u518D\u4ECE\u5DE6\u4FA7\u680F\u6253\u5F00 dota2.ai\u3002",
24518
- ru: "\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C. \u041D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u043F\u043B\u0430\u0433\u0438\u043D \u0434\u043B\u044F DSH (DeepSeek Harness): \u043F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 dota2.ai \u0432 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 DSH \u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B \u0442\u0440\u0435\u043D\u0435\u0440\u0430 \u0432 \u043A\u0430\u0436\u0434\u043E\u0439 \u0441\u0435\u0441\u0441\u0438\u0438, \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek \u2014 \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u0434\u043D\u0435\u0432\u043D\u043E\u0433\u043E \u043B\u0438\u043C\u0438\u0442\u0430, \u0440\u0430\u0437\u0431\u043E\u0440\u044B \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u0443 \u0432\u0430\u0441 (\u0441\u0430\u043C \u0440\u0435\u043F\u043B\u0435\u0439 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044F \u043D\u0430 dota2.ai, \u0435\u0441\u043B\u0438 \u043D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0430\u0440\u0441\u0435\u0440). \u041D\u0443\u0436\u0435\u043D Node 24.9+. \u041F\u043E\u0441\u043B\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430 dsh web \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043A\u043B\u044E\u0447 DeepSeek \u0432 DSH \u0438 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 dota2.ai \u0432 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438."
24526
+ en: "Recommended. Download the DeepSeek Harness desktop app at deepseek.com/harness/ and paste the one-sentence install message, or use the CLI commands above (Node 24.9+). Runs the full dota2.ai page and coach tools on your own DeepSeek key \u2014 no queue, no daily limit, reviews kept on your machine.",
24527
+ zh: "\u63A8\u8350\u3002\u524D\u5F80 deepseek.com/harness/ \u4E0B\u8F7D DeepSeek Harness \u684C\u9762\u5BA2\u6237\u7AEF\uFF0C\u53D1\u4E00\u53E5\u8BDD\u5373\u53EF\u81EA\u52A8\u88C5\u597D\u63D2\u4EF6\uFF1B\u4E5F\u53EF\u7528\u4E0A\u65B9\u547D\u4EE4\u884C\u5B89\u88C5\uFF08\u9700 Node 24.9+\uFF09\u3002\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1\u5B8C\u6574\u590D\u76D8\u9875\u4E0E\u6559\u7EC3\u5DE5\u5177\uFF1A\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\uFF0C\u590D\u76D8\u4FDD\u5B58\u5728\u672C\u5730\u7535\u8111\u3002",
24528
+ ru: "\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C. \u0421\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 DeepSeek Harness \u043D\u0430 deepseek.com/harness/ \u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0434\u043D\u0443 \u0444\u0440\u0430\u0437\u0443 \u0434\u043B\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438, \u043B\u0438\u0431\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B CLI \u0432\u044B\u0448\u0435 (Node 24.9+). \u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 dota2.ai \u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B \u0442\u0440\u0435\u043D\u0435\u0440\u0430 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442 \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek \u2014 \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430, \u0440\u0430\u0437\u0431\u043E\u0440\u044B \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E."
24519
24529
  },
24520
- links: [{ href: DSH_RELEASE_URL, label: `dsh-v${DSH_PLUGIN_VERSION}` }]
24530
+ links: [
24531
+ { href: DSH_DOWNLOAD_URL, label: "deepseek.com/harness" },
24532
+ { href: DSH_RELEASE_URL, label: `dsh-v${DSH_PLUGIN_VERSION}` }
24533
+ ]
24521
24534
  },
24522
24535
  {
24523
24536
  mode: "web",
@@ -24595,13 +24608,46 @@ var T = {
24595
24608
  }
24596
24609
  ],
24597
24610
  howNote: { en: "What a replay does not hold \u2014 vision, voice chat \u2014 the coach says it cannot see.", zh: "\u5F55\u50CF\u91CC\u6CA1\u6709\u7684\uFF08\u89C6\u91CE\u3001\u8BED\u97F3\uFF09\uFF0C\u6559\u7EC3\u4F1A\u76F4\u8BF4\u770B\u4E0D\u5230\u3002", ru: "\u0427\u0435\u0433\u043E \u043D\u0435\u0442 \u0432 \u0440\u0435\u043F\u043B\u0435\u0435 (\u0432\u0438\u0436\u043D, \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0447\u0430\u0442), \u0442\u0440\u0435\u043D\u0435\u0440 \u0442\u0430\u043A \u0438 \u0441\u043A\u0430\u0436\u0435\u0442." },
24598
- waysTitle: { en: "Where to use it", zh: "\u5728\u54EA\u91CC\u7528", ru: "\u0413\u0434\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F" },
24611
+ waysTitle: { en: "Where to use it", zh: "\u5728\u54EA\u91CC\u7528\uFF08\u63A8\u8350 DeepSeek Harness \u684C\u9762\u7AEF\uFF09", ru: "\u0413\u0434\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F" },
24599
24612
  copy: { en: "Copy", zh: "\u590D\u5236", ru: "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C" },
24600
24613
  copied: { en: "Copied", zh: "\u5DF2\u590D\u5236", ru: "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E" },
24601
- promptTitle: { en: "Or send this to your agent", zh: "\u6216\u8005\uFF0C\u628A\u8FD9\u6BB5\u8BDD\u53D1\u7ED9\u4F60\u7684 Agent", ru: "\u0418\u043B\u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u044D\u0442\u043E \u0441\u0432\u043E\u0435\u043C\u0443 \u0418\u0418-\u0430\u0433\u0435\u043D\u0442\u0443" },
24614
+ promptTitle: { en: "Or send this to any AI agent", zh: "\u6216\u8005\uFF0C\u628A\u8FD9\u6BB5\u8BDD\u53D1\u7ED9\u4EFB\u610F AI Agent", ru: "\u0418\u043B\u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u044D\u0442\u043E \u043B\u044E\u0431\u043E\u043C\u0443 \u0418\u0418-\u0430\u0433\u0435\u043D\u0442\u0443" },
24602
24615
  clients: { en: "Your agent", zh: "\u4F60\u7528\u7684 Agent", ru: "\u0412\u0430\u0448 \u0430\u0433\u0435\u043D\u0442" },
24603
24616
  oneLine: { en: "One line connects it:", zh: "\u4E00\u884C\u63A5\u5165\uFF1A", ru: "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043E\u0434\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439:" },
24604
- thenSay: { en: "Then just say:", zh: "\u7136\u540E\u8BF4\u4E00\u53E5\uFF1A", ru: "\u0417\u0430\u0442\u0435\u043C \u043F\u0440\u043E\u0441\u0442\u043E \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435:" }
24617
+ thenSay: { en: "Then just say:", zh: "\u7136\u540E\u8BF4\u4E00\u53E5\uFF1A", ru: "\u0417\u0430\u0442\u0435\u043C \u043F\u0440\u043E\u0441\u0442\u043E \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435:" },
24618
+ dshBadge: { en: "Recommended \xB7 Desktop app \xB7 No terminal needed", zh: "\u63A8\u8350 \xB7 \u684C\u9762\u5BA2\u6237\u7AEF \xB7 \u5168\u7A0B\u514D\u6572\u547D\u4EE4\u884C", ru: "\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \xB7 \u0414\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \xB7 \u0411\u0435\u0437 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430" },
24619
+ dshPitch: {
24620
+ en: "Run the full dota2.ai coach on your own DeepSeek key \u2014 no queue, no daily limit, and your reviews stay private on your computer.",
24621
+ zh: "\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1\u5B8C\u6574\u7684 dota2.ai \u6559\u7EC3\uFF1A\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\uFF0C\u590D\u76D8\u8BB0\u5F55\u548C\u8FFD\u95EE\u90FD\u53EA\u4FDD\u5B58\u5728\u4F60\u81EA\u5DF1\u7535\u8111\u4E0A\u3002",
24622
+ ru: "\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0439\u0442\u0435 \u043F\u043E\u043B\u043D\u043E\u0433\u043E \u0442\u0440\u0435\u043D\u0435\u0440\u0430 dota2.ai \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek \u2014 \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u0434\u043D\u0435\u0432\u043D\u043E\u0433\u043E \u043B\u0438\u043C\u0438\u0442\u0430, \u0440\u0430\u0437\u0431\u043E\u0440\u044B \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u0435."
24623
+ },
24624
+ dshStep1Title: { en: "Download & open DeepSeek Harness", zh: "\u4E0B\u8F7D\u5E76\u6253\u5F00 DeepSeek Harness \u684C\u9762\u5BA2\u6237\u7AEF", ru: "\u0421\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u0438 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 DeepSeek Harness" },
24625
+ dshStep1Body: {
24626
+ en: "Install the official desktop app (macOS / Windows \u2014 no Node.js or terminal setup). Open it and sign in or enter your DeepSeek API Key.",
24627
+ zh: "\u524D\u5F80\u5B98\u7F51\u4E0B\u8F7D\u5B89\u88C5\u5305\uFF08\u652F\u6301 macOS / Windows\uFF0C\u50CF\u666E\u901A\u8F6F\u4EF6\u4E00\u6837\u5B89\u88C5\uFF0C\u65E0\u9700\u914D\u7F6E Node.js\uFF09\u3002\u6253\u5F00\u540E\u767B\u5F55\u6216\u586B\u5165\u4F60\u7684 DeepSeek API Key\u3002",
24628
+ ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u043E\u0444\u0438\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0435 \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 (macOS / Windows \u2014 Node.js \u043D\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F). \u041E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0435\u0433\u043E \u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0432\u043E\u0439 DeepSeek API Key."
24629
+ },
24630
+ dshStep1Btn: { en: "Download DeepSeek Harness", zh: "\u524D\u5F80\u5B98\u7F51\u4E0B\u8F7D DeepSeek Harness", ru: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C DeepSeek Harness" },
24631
+ dshStep2Title: { en: "Send this one install message in DeepSeek Harness", zh: "\u590D\u5236\u4E0B\u9762\u8FD9\u53E5\u8BDD\uFF0C\u76F4\u63A5\u53D1\u7ED9\u5BA2\u6237\u7AEF\u804A\u5929\u6846", ru: "\u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u044D\u0442\u0443 \u0444\u0440\u0430\u0437\u0443 \u0432 \u0447\u0430\u0442 DeepSeek Harness" },
24632
+ dshStep2Body: {
24633
+ en: "Paste into the chat box and press Enter \u2014 DeepSeek Harness downloads and installs the dota2.ai plugin automatically.",
24634
+ zh: "\u7C98\u8D34\u5230 DeepSeek Harness \u5BF9\u8BDD\u6846\u91CC\u56DE\u8F66\u53D1\u9001\uFF0C\u5BA2\u6237\u7AEF\u4F1A\u81EA\u52A8\u5E2E\u4F60\u4E0B\u8F7D\u5E76\u88C5\u597D\u63D2\u4EF6\u3002",
24635
+ ru: "\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0432 \u0447\u0430\u0442 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 Enter \u2014 DeepSeek Harness \u0441\u0430\u043C \u0441\u043A\u0430\u0447\u0430\u0435\u0442 \u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442 \u043F\u043B\u0430\u0433\u0438\u043D dota2.ai."
24636
+ },
24637
+ dshCopyPrompt: { en: "install message", zh: "\u5B89\u88C5\u6307\u4EE4", ru: "\u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438" },
24638
+ dshStep3Title: { en: "Open dota2.ai in the sidebar & start reviewing", zh: "\u5728\u5DE6\u4FA7\u680F\u6253\u5F00 dota2.ai\uFF0C\u5F00\u59CB\u590D\u76D8", ru: "\u041E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 dota2.ai \u0432 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438" },
24639
+ dshStep3Body: {
24640
+ en: "Reload if prompted, then click dota2.ai in the left sidebar for the full match review page (scoreboard, minimap replay, evidence cards, coach chat) \u2014 or just ask in chat:",
24641
+ zh: "\u6309\u63D0\u793A\u5237\u65B0\u6216\u91CD\u542F\u540E\uFF0C\u70B9\u5DE6\u4FA7\u680F\u7684 dota2.ai \u5C31\u80FD\u8FDB\u5165\u5B8C\u6574\u590D\u76D8\u9875\uFF08\u8BB0\u5206\u677F\u3001\u5C0F\u5730\u56FE\u8D70\u4F4D\u56DE\u653E\u3001\u5F55\u50CF\u8BC1\u636E\u5361\u3001\u8FFD\u95EE\u6559\u7EC3\uFF09\uFF0C\u4E5F\u53EF\u4EE5\u76F4\u63A5\u5728\u804A\u5929\u6846\u8BF4\uFF1A",
24642
+ ru: "\u041F\u0440\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043E\u043A\u043D\u043E \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 dota2.ai \u0432 \u043B\u0435\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u043D\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0440\u0430\u0437\u0431\u043E\u0440\u0430 \u2014 \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 \u0447\u0430\u0442:"
24643
+ },
24644
+ dshCliToggle: { en: "Linux or prefer terminal (dsh web CLI)?", zh: "Linux \u6216\u4E60\u60EF\u7528\u547D\u4EE4\u884C\u5B89\u88C5\uFF08dsh web\uFF09\uFF1F", ru: "Linux \u0438\u043B\u0438 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B (dsh web CLI)?" },
24645
+ dshCliNote: {
24646
+ en: "Needs Node 24.9+. After dsh web starts, enter your DeepSeek key in DSH and open dota2.ai in the sidebar.",
24647
+ zh: "\u9700\u8981 Node 24.9+\u3002\u542F\u52A8 dsh web \u540E\u5728 DSH \u4E2D\u586B\u5165 DeepSeek Key\uFF0C\u518D\u4ECE\u5DE6\u4FA7\u680F\u6253\u5F00 dota2.ai\u3002",
24648
+ ru: "\u041D\u0443\u0436\u0435\u043D Node 24.9+. \u041F\u043E\u0441\u043B\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430 dsh web \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447 DeepSeek \u0432 DSH \u0438 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 dota2.ai \u0432 \u0431\u043E\u043A\u043E\u0432\u043E\u0439 \u043F\u0430\u043D\u0435\u043B\u0438."
24649
+ },
24650
+ dshCliCopy: { en: "DSH CLI commands", zh: "DSH \u547D\u4EE4\u884C\u5B89\u88C5", ru: "\u043A\u043E\u043C\u0430\u043D\u0434\u044B DSH CLI" }
24605
24651
  };
24606
24652
  var HowItWorks = () => {
24607
24653
  const { L } = useLang();
@@ -24679,7 +24725,57 @@ var AccessModes = ({ matchId, onWeb }) => {
24679
24725
  },
24680
24726
  m.mode
24681
24727
  )) }),
24682
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-ways-panel", role: "tabpanel", children: [
24728
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "hm-ways-panel", role: "tabpanel", children: mode === "dsh" ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-dsh-guide", children: [
24729
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "hm-dsh-badge", children: L(T.dshBadge) }),
24730
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "hm-dsh-pitch", children: L(T.dshPitch) }),
24731
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("ol", { className: "hm-dsh-steps", children: [
24732
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("li", { children: [
24733
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "hm-dsh-num", "aria-hidden": "true", children: "1" }),
24734
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-dsh-step-body", children: [
24735
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("strong", { children: L(T.dshStep1Title) }),
24736
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { children: L(T.dshStep1Body) }),
24737
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("a", { href: DSH_DOWNLOAD_URL, target: "_blank", rel: "noopener noreferrer", className: "hm-dsh-btn", children: [
24738
+ L(T.dshStep1Btn),
24739
+ " \xB7 deepseek.com/harness \u2197"
24740
+ ] })
24741
+ ] })
24742
+ ] }),
24743
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("li", { children: [
24744
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "hm-dsh-num", "aria-hidden": "true", children: "2" }),
24745
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-dsh-step-body", children: [
24746
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("strong", { children: L(T.dshStep2Title) }),
24747
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { children: L(T.dshStep2Body) }),
24748
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-code", children: [
24749
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("pre", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { children: dshDesktopPrompt(lang) }) }),
24750
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CopyButton, { text: dshDesktopPrompt(lang), label: L(T.dshCopyPrompt) })
24751
+ ] })
24752
+ ] })
24753
+ ] }),
24754
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("li", { children: [
24755
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "hm-dsh-num", "aria-hidden": "true", children: "3" }),
24756
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-dsh-step-body", children: [
24757
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("strong", { children: L(T.dshStep3Title) }),
24758
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { children: L(T.dshStep3Body) }),
24759
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "hm-say", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("q", { children: agentAsk(lang) }) })
24760
+ ] })
24761
+ ] })
24762
+ ] }),
24763
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("details", { className: "hm-dsh-cli", children: [
24764
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("summary", { children: L(T.dshCliToggle) }),
24765
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-code", children: [
24766
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("pre", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { children: DSH_SETUP.join("\n") }) }),
24767
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CopyButton, { text: DSH_SETUP.join("\n"), label: L(T.dshCliCopy) })
24768
+ ] }),
24769
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("p", { className: "hm-ways-note", children: [
24770
+ L(T.dshCliNote),
24771
+ " ",
24772
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("a", { href: DSH_RELEASE_URL, target: "_blank", rel: "noopener noreferrer", children: [
24773
+ "dsh-v",
24774
+ DSH_PLUGIN_VERSION
24775
+ ] })
24776
+ ] })
24777
+ ] })
24778
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
24683
24779
  cur.clients && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-clients", role: "group", "aria-label": L(T.clients), children: [
24684
24780
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "hm-clients-lead", children: L(T.oneLine) }),
24685
24781
  cur.clients.map((c) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("button", { type: "button", "aria-pressed": client?.id === c.id, className: client?.id === c.id ? "is-on" : "", onClick: () => setClientId(c.id), children: L(c.label) }, c.id))
@@ -24704,7 +24800,7 @@ var AccessModes = ({ matchId, onWeb }) => {
24704
24800
  cur.links.map((l) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", { href: l.href, children: l.label }, l.href))
24705
24801
  ] })
24706
24802
  ] })
24707
- ] }),
24803
+ ] }) }),
24708
24804
  /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-prompt", children: [
24709
24805
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h3", { children: L(T.promptTitle) }),
24710
24806
  /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hm-code", children: [
@@ -25638,11 +25734,7 @@ function deathsToGapClosers(deaths, slotOfHero, spikes, gap = GAP) {
25638
25734
  }
25639
25735
  var HABITS = {
25640
25736
  low_health: { from: "deaths", at: ["deaths_where", "health_below_half_at_window_start"], unsure: "health_at_window_start", label: () => t("deaths that began below half health (12 s before)", "\u6B7B\u524D 12 \u79D2\u5DF2\u4E0D\u5230\u534A\u8840\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0441 \u043C\u0435\u043D\u0435\u0435 \u0447\u0435\u043C \u043F\u043E\u043B\u043E\u0432\u0438\u043D\u043E\u0439 HP (\u0437\u0430 12 \u0441 \u0434\u043E \u0441\u043C\u0435\u0440\u0442\u0438)") },
25641
- alone: { from: "deaths", at: ["deaths_where", "no_ally_within_2200_at_death"], unsure: "allies_at_death", label: () => t("deaths with no ally within 2200", "\u8EAB\u8FB9 2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0431\u0435\u0437 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 2200") },
25642
- // The lone deaths that bought nothing: no ally within 2200, and no enemy hero died within 15 s of it. A lone death
25643
- // that was traded is not this habit (see the calibration in docs/GAME_UNDERSTANDING.md).
25644
- alone_not_traded: { from: "deaths", at: ["deaths_where", "no_ally_within_2200_at_death_and_not_traded"], unsure: "allies_at_death", label: () => t("deaths with no ally within 2200 and no enemy hero back within 15 s", "\u8EAB\u8FB9 2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB\u300115 \u79D2\u5185\u4E5F\u6CA1\u6362\u5230\u4EBA\u5934\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0432 \u043E\u0434\u0438\u043D\u043E\u0447\u043A\u0443 (\u0431\u0435\u0437 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0432 2200) \u0438 \u0431\u0435\u0437 \u0440\u0430\u0437\u043C\u0435\u043D\u0430 \u0437\u0430 15 \u0441") },
25645
- // The same two, outside the game's fights only: for a hero whose job is to be in them, that is where the habit shows.
25737
+ // Low health, and outnumbered, outside the game's fights only: for a hero whose job is to be in them, that is where the habit shows.
25646
25738
  low_health_outside_fights: { from: "deaths", at: ["deaths_where", "health_below_half_at_window_start_outside_fights"], unsure: "health_below_half_at_window_start_outside_fights", label: () => t("deaths outside fights that began below half health (12 s before)", "\u56E2\u6218\u4E4B\u5916\u3001\u6B7B\u524D 12 \u79D2\u5DF2\u4E0D\u5230\u534A\u8840\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0432\u043D\u0435 \u0434\u0440\u0430\u043A \u0441 \u043C\u0435\u043D\u0435\u0435 \u0447\u0435\u043C \u043F\u043E\u043B\u043E\u0432\u0438\u043D\u043E\u0439 HP (\u0437\u0430 12 \u0441)") },
25647
25739
  outnumbered_outside_fights: { from: "deaths", at: ["deaths_where", "three_or_more_enemy_heroes_dealing_damage_outside_fights"], unsure: "three_or_more_enemy_heroes_dealing_damage_outside_fights", label: () => t("deaths outside fights to three or more enemy heroes", "\u56E2\u6218\u4E4B\u5916\u88AB\u4E09\u4E2A\u4EE5\u4E0A\u654C\u65B9\u82F1\u96C4\u56F4\u6740\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0432\u043D\u0435 \u0434\u0440\u0430\u043A \u043E\u0442 \u0442\u0440\u0451\u0445 \u0438 \u0431\u043E\u043B\u0435\u0435 \u0432\u0440\u0430\u0433\u043E\u0432") },
25648
25740
  outnumbered: { from: "deaths", at: ["deaths_where", "three_or_more_enemy_heroes_dealing_damage"], unsure: null, label: () => t("deaths to three or more enemy heroes", "\u88AB\u4E09\u4E2A\u4EE5\u4E0A\u654C\u65B9\u82F1\u96C4\u56F4\u6740\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u043E\u0442 \u0442\u0440\u0451\u0445 \u0438 \u0431\u043E\u043B\u0435\u0435 \u0432\u0440\u0430\u0433\u043E\u0432") },
@@ -25654,6 +25746,7 @@ var HABITS = {
25654
25746
  died_holding: { from: "audit", at: ["deaths_with_it_ready_and_not_cast_total"], unsure: null, label: (n) => t(`deaths with ${n.en} ready and not cast`, `${n.zh}\u5C31\u7EEA\u5374\u6CA1\u653E\u7684\u9635\u4EA1`, `\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0441 \u0433\u043E\u0442\u043E\u0432\u044B\u043C, \u043D\u043E \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u043C ${n.en}`) }
25655
25747
  };
25656
25748
  var HABIT_KEYS = Object.keys(HABITS);
25749
+ var RETIRED_HABITS = Object.freeze(["alone", "alone_not_traded"]);
25657
25750
  var MIN_MINUTES = 10;
25658
25751
  function countIn(h, summary) {
25659
25752
  const v = h.at.length === 2 ? summary?.[h.at[0]]?.[h.at[1]] : summary?.[h.at[0]];
@@ -25668,6 +25761,7 @@ function habitRef(goal, hero) {
25668
25761
  }
25669
25762
  function evaluateHabit(goal, summary, minutes) {
25670
25763
  const out = (result2, evidence, count) => ({ result: result2, evidence, ...Number.isInteger(count) ? { count } : {} });
25764
+ if (RETIRED_HABITS.includes(goal?.habit)) return out("unknown", t("This goal is no longer counted: deaths with no ally nearby said little about a decision. Pick another goal.", "\u8FD9\u4E2A\u76EE\u6807\u5DF2\u4E0D\u518D\u7EDF\u8BA1\uFF1A\u8EAB\u8FB9\u6709\u6CA1\u6709\u961F\u53CB\u8BF4\u660E\u4E0D\u4E86\u51B3\u7B56\u5BF9\u9519\u3002\u8BF7\u6362\u4E00\u4E2A\u76EE\u6807\u3002", "\u042D\u0442\u0430 \u0446\u0435\u043B\u044C \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044F: \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0440\u044F\u0434\u043E\u043C \u043C\u0430\u043B\u043E \u0433\u043E\u0432\u043E\u0440\u0438\u0442 \u043E \u0440\u0435\u0448\u0435\u043D\u0438\u0438. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E \u0446\u0435\u043B\u044C."));
25671
25765
  const h = HABITS[goal?.habit];
25672
25766
  if (!h || !Number.isFinite(goal.max) || h.from === "audit" && !(goal.name?.en && goal.name?.zh)) return out("unknown", t("Unknown goal.", "\u65E0\u6CD5\u8BC6\u522B\u7684\u76EE\u6807\u3002", "\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u0446\u0435\u043B\u044C."));
25673
25767
  if (!summary) return out("unknown", t("Needs this game's replay: check the goal or open its replay review.", "\u9700\u8981\u8FD9\u5C40\u7684\u5F55\u50CF\uFF1A\u68C0\u67E5\u76EE\u6807\uFF0C\u6216\u6253\u5F00\u8FD9\u5C40\u7684\u5F55\u50CF\u590D\u76D8\u3002", "\u041D\u0443\u0436\u0435\u043D \u0440\u0435\u043F\u043B\u0435\u0439 \u044D\u0442\u043E\u0439 \u0438\u0433\u0440\u044B: \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0446\u0435\u043B\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u043E\u0440 \u0440\u0435\u043F\u043B\u0435\u044F."));
@@ -25890,34 +25984,35 @@ function useActiveGoal() {
25890
25984
  init_define_import_meta_env();
25891
25985
  var import_jsx_runtime8 = require("react/jsx-runtime");
25892
25986
  var T5 = {
25893
- homeLead: { en: "Run it on your own DeepSeek key", zh: "\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1", ru: "\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek" },
25987
+ homeLead: { en: "Run it in DeepSeek Harness on your own DeepSeek key", zh: "\u63A8\u8350\uFF1A\u5728 DeepSeek Harness \u684C\u9762\u7AEF\u7528\u81EA\u5DF1\u7684 Key \u8DD1", ru: "\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0439\u0442\u0435 \u0432 DeepSeek Harness \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek" },
25894
25988
  homeBody: {
25895
- en: "The DeepSeek Harness (DSH) plugin runs the same coach on your own model: no queue, no daily limit, and your reviews and chats are kept on your machine.",
25896
- zh: "DeepSeek Harness\uFF08DSH\uFF09\u63D2\u4EF6\u7528\u4F60\u81EA\u5DF1\u7684\u6A21\u578B\u8DD1\u540C\u4E00\u4E2A\u6559\u7EC3\uFF1A\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\uFF0C\u590D\u76D8\u548C\u8FFD\u95EE\u90FD\u4FDD\u5B58\u5728\u4F60\u81EA\u5DF1\u7535\u8111\u4E0A\u3002",
25897
- ru: "\u041F\u043B\u0430\u0433\u0438\u043D \u0434\u043B\u044F DeepSeek Harness (DSH) \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u0442\u043E\u0433\u043E \u0436\u0435 \u0442\u0440\u0435\u043D\u0435\u0440\u0430 \u043D\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u043E\u0434\u0435\u043B\u0438: \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u0434\u043D\u0435\u0432\u043D\u043E\u0433\u043E \u043B\u0438\u043C\u0438\u0442\u0430, \u0440\u0430\u0437\u0431\u043E\u0440\u044B \u0438 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u0443 \u0432\u0430\u0441."
25989
+ en: "Download the DeepSeek Harness desktop app and send one install message \u2014 no terminal needed, no queue, no daily limit, and your reviews stay on your machine.",
25990
+ zh: "\u4E0B\u8F7D DeepSeek Harness \u684C\u9762\u5BA2\u6237\u7AEF\uFF0C\u53D1\u4E00\u53E5\u8BDD\u5C31\u80FD\u81EA\u52A8\u88C5\u597D\u63D2\u4EF6\u2014\u2014\u4E0D\u7528\u6572\u547D\u4EE4\u884C\u3001\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\uFF0C\u590D\u76D8\u548C\u8FFD\u95EE\u90FD\u4FDD\u5B58\u5728\u4F60\u81EA\u5DF1\u7535\u8111\u4E0A\u3002",
25991
+ ru: "\u0421\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 DeepSeek Harness \u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0434\u043D\u0443 \u0444\u0440\u0430\u0437\u0443 \u0434\u043B\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 \u2014 \u0431\u0435\u0437 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430, \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u0434\u043D\u0435\u0432\u043D\u043E\u0433\u043E \u043B\u0438\u043C\u0438\u0442\u0430, \u0440\u0430\u0437\u0431\u043E\u0440\u044B \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u0443 \u0432\u0430\u0441."
25898
25992
  },
25899
- homeCta: { en: "Set up DSH in 3 steps", zh: "\u4E09\u6B65\u88C5\u597D DSH", ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 DSH \u0432 3 \u0448\u0430\u0433\u0430" },
25993
+ homeCta: { en: "Set up DSH in 3 steps", zh: "3 \u6B65\u50BB\u74DC\u5B89\u88C5\u6559\u7A0B", ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 DSH \u0432 3 \u0448\u0430\u0433\u0430" },
25994
+ downloadCta: { en: "Download DeepSeek Harness", zh: "\u4E0B\u8F7D\u684C\u9762\u5BA2\u6237\u7AEF", ru: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C DeepSeek Harness" },
25900
25995
  agent: { en: "or connect your own agent (Claude Code, Codex\u2026)", zh: "\u6216\u63A5\u5165\u4F60\u81EA\u5DF1\u7684 Agent\uFF08Claude Code\u3001Codex\u2026\uFF09", ru: "\u0438\u043B\u0438 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0441\u0432\u043E\u0435\u0433\u043E \u0430\u0433\u0435\u043D\u0442\u0430 (Claude Code, Codex\u2026)" },
25901
25996
  refusedLead: { en: "Don't want to wait?", zh: "\u4E0D\u60F3\u7B49\uFF1F", ru: "\u041D\u0435 \u0445\u043E\u0442\u0438\u0442\u0435 \u0436\u0434\u0430\u0442\u044C?" },
25902
25997
  dailyLead: { en: "Today's free reviews on dota2.ai are used up.", zh: "\u4ECA\u5929 dota2.ai \u7684\u514D\u8D39\u590D\u76D8\u540D\u989D\u7528\u5B8C\u4E86\u3002", ru: "\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435 \u0440\u0430\u0437\u0431\u043E\u0440\u044B \u043D\u0430 dota2.ai \u043D\u0430 \u0441\u0435\u0433\u043E\u0434\u043D\u044F \u0437\u0430\u043A\u043E\u043D\u0447\u0438\u043B\u0438\u0441\u044C." },
25903
25998
  refusedBody: {
25904
- en: "Review this game now in DeepSeek Harness (DSH) on your own DeepSeek key \u2014 the same coach, no queue, no daily limit.",
25905
- zh: "\u7528 DeepSeek Harness\uFF08DSH\uFF09\u914D\u4E0A\u4F60\u81EA\u5DF1\u7684 DeepSeek Key\uFF0C\u73B0\u5728\u5C31\u80FD\u590D\u76D8\u8FD9\u4E00\u5C40\uFF1A\u540C\u4E00\u4E2A\u6559\u7EC3\uFF0C\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\u3002",
25906
- ru: "\u0420\u0430\u0437\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u0442\u0443 \u0438\u0433\u0440\u0443 \u043F\u0440\u044F\u043C\u043E \u0441\u0435\u0439\u0447\u0430\u0441 \u0432 DeepSeek Harness (DSH) \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek \u2014 \u0442\u043E\u0442 \u0436\u0435 \u0442\u0440\u0435\u043D\u0435\u0440, \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430."
25999
+ en: "Review this game now in the DeepSeek Harness desktop app on your own DeepSeek key \u2014 no terminal needed, no queue, no daily limit.",
26000
+ zh: "\u4E0B\u8F7D DeepSeek Harness \u684C\u9762\u7AEF\u5E76\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key\uFF0C\u73B0\u5728\u5C31\u80FD\u590D\u76D8\u8FD9\u4E00\u5C40\uFF1A\u4E0D\u7528\u6572\u547D\u4EE4\u884C\u3001\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\u3002",
26001
+ ru: "\u0420\u0430\u0437\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u0442\u0443 \u0438\u0433\u0440\u0443 \u043F\u0440\u044F\u043C\u043E \u0441\u0435\u0439\u0447\u0430\u0441 \u0432 \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u043C DeepSeek Harness \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek \u2014 \u0431\u0435\u0437 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430, \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430."
25907
26002
  },
25908
- refusedCta: { en: "Set up DSH", zh: "\u5B89\u88C5 DSH", ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C DSH" },
26003
+ refusedCta: { en: "Set up DSH", zh: "3 \u6B65\u5B89\u88C5 DSH", ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C DSH" },
25909
26004
  thenAsk: { en: "Then ask it:", zh: "\u88C5\u597D\u540E\u95EE\u5B83\uFF1A", ru: "\u0417\u0430\u0442\u0435\u043C \u0441\u043F\u0440\u043E\u0441\u0438\u0442\u0435:" },
25910
26005
  bannerTag: { en: "Recommended", zh: "\u63A8\u8350", ru: "\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C" },
25911
26006
  bannerText: {
25912
- en: "Run dota2.ai in DeepSeek Harness on your own DeepSeek key: no queue, no daily limit.",
25913
- zh: "\u5728 DeepSeek Harness \u91CC\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1 dota2.ai\uFF1A\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\u3002",
25914
- ru: "\u0417\u0430\u043F\u0443\u0441\u043A\u0430\u0439\u0442\u0435 dota2.ai \u0432 DeepSeek Harness \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek: \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430."
26007
+ en: "Use dota2.ai in the DeepSeek Harness desktop app on your own DeepSeek key: no terminal, no queue, no daily limit.",
26008
+ zh: "\u5728 DeepSeek Harness \u684C\u9762\u5BA2\u6237\u7AEF\u91CC\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1 dota2.ai\uFF1A\u514D\u547D\u4EE4\u884C\u3001\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\u3002",
26009
+ ru: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 dota2.ai \u0432 \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u043C DeepSeek Harness \u043D\u0430 \u0441\u0432\u043E\u0451\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek: \u0431\u0435\u0437 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430, \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430."
25915
26010
  },
25916
- bannerCta: { en: "Set up in 3 steps", zh: "\u4E09\u6B65\u88C5\u597D", ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u0432 3 \u0448\u0430\u0433\u0430" },
26011
+ bannerCta: { en: "Set up in 3 steps", zh: "3 \u6B65\u88C5\u597D", ru: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u0432 3 \u0448\u0430\u0433\u0430" },
25917
26012
  waitingBody: {
25918
- en: "Next time, skip the wait: the same review runs in DeepSeek Harness (DSH) on your own DeepSeek key, with no queue and no daily limit.",
25919
- zh: "\u4E0B\u6B21\u4E0D\u60F3\u6392\u961F\uFF1F\u540C\u6837\u7684\u590D\u76D8\u53EF\u4EE5\u5728 DeepSeek Harness\uFF08DSH\uFF09\u91CC\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1\uFF0C\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\u3002",
25920
- ru: "\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0440\u0430\u0437 \u0431\u0435\u0437 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F: \u0442\u043E\u0442 \u0436\u0435 \u0440\u0430\u0437\u0431\u043E\u0440 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u0432 DeepSeek Harness (DSH) \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek, \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430."
26013
+ en: "Next time, skip the wait: run the same review in the DeepSeek Harness desktop app on your own DeepSeek key, with no queue and no daily limit.",
26014
+ zh: "\u4E0B\u6B21\u4E0D\u60F3\u6392\u961F\uFF1F\u4E0B\u8F7D DeepSeek Harness \u684C\u9762\u7AEF\uFF0C\u7528\u4F60\u81EA\u5DF1\u7684 DeepSeek Key \u8DD1\u540C\u6837\u7684\u590D\u76D8\uFF0C\u4E0D\u6392\u961F\u3001\u4E0D\u9650\u6B21\u3002",
26015
+ ru: "\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0440\u0430\u0437 \u0431\u0435\u0437 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F: \u0442\u043E\u0442 \u0436\u0435 \u0440\u0430\u0437\u0431\u043E\u0440 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u0432 \u0434\u0435\u0441\u043A\u0442\u043E\u043F\u043D\u043E\u043C DeepSeek Harness \u043D\u0430 \u0432\u0430\u0448\u0435\u043C \u043A\u043B\u044E\u0447\u0435 DeepSeek, \u0431\u0435\u0437 \u043E\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u043B\u0438\u043C\u0438\u0442\u0430."
25921
26016
  }
25922
26017
  };
25923
26018
  var OwnModelBanner = ({ isHome = false }) => {
@@ -25957,6 +26052,10 @@ var OwnModelCallout = ({ where, daily = false, matchId }) => {
25957
26052
  L(T5.homeCta),
25958
26053
  " \u2192"
25959
26054
  ] }),
26055
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("a", { href: DSH_DOWNLOAD_URL, target: "_blank", rel: "noopener noreferrer", className: "om-dl", onClick: () => click("dsh"), children: [
26056
+ L(T5.downloadCta),
26057
+ " \u2197"
26058
+ ] }),
25960
26059
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("a", { href: "#ways", className: "om-alt", onClick: () => click("agent"), children: L(T5.agent) })
25961
26060
  ] })
25962
26061
  ] });
@@ -25983,6 +26082,10 @@ var OwnModelCallout = ({ where, daily = false, matchId }) => {
25983
26082
  L(T5.refusedCta),
25984
26083
  " \u2192"
25985
26084
  ] }),
26085
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("a", { href: DSH_DOWNLOAD_URL, target: "_blank", rel: "noopener noreferrer", className: "om-dl", onClick: () => click("dsh"), children: [
26086
+ L(T5.downloadCta),
26087
+ " \u2197"
26088
+ ] }),
25986
26089
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("a", { href: "/#ways", className: "om-alt", onClick: () => click("agent"), children: L(T5.agent) })
25987
26090
  ] })
25988
26091
  ] });
@@ -26736,11 +26839,11 @@ var CoachHome = () => {
26736
26839
  ] }),
26737
26840
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(HowItWorks, {})
26738
26841
  ] }),
26842
+ !inDsh && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(AccessModes, { matchId: EXAMPLE_MATCH, onWeb: focusInput }),
26739
26843
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "hm-patch", children: [
26740
26844
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PatchNews, { onCta: focusInput }),
26741
26845
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PatchAdvisor, { lang, version: CURRENT_PATCH.version, notesUrl: CURRENT_PATCH.notesUrl })
26742
26846
  ] }),
26743
- !inDsh && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(AccessModes, { matchId: EXAMPLE_MATCH, onWeb: focusInput }),
26744
26847
  !inDsh && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(HomeFeedback, {})
26745
26848
  ] });
26746
26849
  };
@@ -26805,7 +26908,8 @@ var TOOLS2 = {
26805
26908
  power_spikes: { en: "Reading when each side became strong", zh: "\u770B\u53CC\u65B9\u7684\u5F3A\u52BF\u671F", ru: "\u0418\u0449\u0443 \u043F\u0438\u043A\u0438 \u0441\u0438\u043B\u044B \u0441\u0442\u043E\u0440\u043E\u043D" },
26806
26909
  window_report: { en: "Reading when each side was ahead, and what it took", zh: "\u770B\u53CC\u65B9\u7684\u7A97\u53E3\u671F", ru: "\u0421\u043C\u043E\u0442\u0440\u044E \u043E\u043A\u043D\u0430 \u043F\u0440\u0435\u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043A\u043E\u043C\u0430\u043D\u0434" },
26807
26910
  build_for_plan: { en: "Checking what your items served", zh: "\u770B\u51FA\u88C5\u662F\u5426\u670D\u52A1\u4E8E\u601D\u8DEF", ru: "\u041F\u0440\u043E\u0432\u0435\u0440\u044F\u044E \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u0432 \u043F\u043B\u0430\u043D\u0443" },
26808
- farm_report: { en: "Checking what the other side was doing", zh: "\u770B\u5BF9\u9762\u540C\u671F\u5728\u505A\u4EC0\u4E48", ru: "\u041F\u0440\u043E\u0432\u0435\u0440\u044F\u044E \u0444\u0430\u0440\u043C \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u043E\u043F\u0435\u0440\u043D\u0438\u043A\u043E\u0432" }
26911
+ farm_report: { en: "Checking what the other side was doing", zh: "\u770B\u5BF9\u9762\u540C\u671F\u5728\u505A\u4EC0\u4E48", ru: "\u041F\u0440\u043E\u0432\u0435\u0440\u044F\u044E \u0444\u0430\u0440\u043C \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u043E\u043F\u0435\u0440\u043D\u0438\u043A\u043E\u0432" },
26912
+ web_search: { en: "Searching the web", zh: "\u641C\u7D22\u7F51\u9875\u8D44\u6599", ru: "\u0418\u0449\u0443 \u0432 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0435" }
26809
26913
  };
26810
26914
  var clockOf = (v) => {
26811
26915
  const n = Number(v);
@@ -26816,6 +26920,7 @@ function stepLabel(step, lang) {
26816
26920
  const a = step.args ?? {};
26817
26921
  if (step.tool === "fight_timeline" && a.from != null && a.to != null) return `${base} ${clockOf(a.from)}\u2013${clockOf(a.to)}`;
26818
26922
  if (step.tool === "death_context" && a.index != null) return `${base} #${a.index}`;
26923
+ if (step.tool === "web_search" && typeof a.query === "string" && a.query.trim()) return `${base}: ${a.query.trim().slice(0, 60)}`;
26819
26924
  return base;
26820
26925
  }
26821
26926
  var ChatRail = (0, import_react12.forwardRef)(({ matchId, hero, lang, suggestions, plan = null, model = null }, ref) => {
@@ -27398,10 +27503,11 @@ var T9 = {
27398
27503
  killer: { en: "Killed by", zh: "\u51FB\u6740\u8005", ru: "\u0423\u0431\u0438\u0439\u0446\u0430" },
27399
27504
  before: { en: "before death", zh: "\u9635\u4EA1\u524D", ru: "\u0434\u043E \u0441\u043C\u0435\u0440\u0442\u0438" },
27400
27505
  me: { en: "You", zh: "\u4F60", ru: "\u0412\u044B" },
27401
- allies: { en: "Allies within 2200", zh: "2200 \u7801\u5185\u961F\u53CB", ru: "\u0421\u043E\u044E\u0437\u043D\u0438\u043A\u0438 \u0432 2200" },
27402
27506
  enemies: { en: "Enemies within 2200", zh: "2200 \u7801\u5185\u654C\u4EBA", ru: "\u0412\u0440\u0430\u0433\u0438 \u0432 2200" },
27403
27507
  nobody: { en: "none", zh: "\u65E0", ru: "\u043D\u0435\u0442" },
27404
27508
  readyUnused: { en: "Ready, not used", zh: "\u5C31\u7EEA\u672A\u7528", ru: "\u0413\u043E\u0442\u043E\u0432\u043E, \u043D\u0435 \u043D\u0430\u0436\u0430\u0442\u043E" },
27509
+ autoTriggered: { en: "Auto-triggered", zh: "\u81EA\u52A8\u89E6\u53D1", ru: "\u0410\u0432\u0442\u043E\u0441\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u043D\u0438\u0435" },
27510
+ manualCast: { en: "Manual cast", zh: "\u4E3B\u52A8\u65BD\u653E", ru: "\u0420\u0443\u0447\u043D\u043E\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435" },
27405
27511
  disables: { en: "Disables that landed", zh: "\u5403\u5230\u7684\u63A7\u5236", ru: "\u041F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C" },
27406
27512
  damage: { en: "Damage taken", zh: "\u627F\u53D7\u4F24\u5BB3", ru: "\u041F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u044B\u0439 \u0443\u0440\u043E\u043D" },
27407
27513
  attack: { en: "attacks", zh: "\u666E\u653B", ru: "\u0430\u0442\u0430\u043A\u0438" },
@@ -27503,8 +27609,8 @@ var T9 = {
27503
27609
  buildKills: { en: "kills", zh: "\u6B21\u51FB\u6740", ru: "\u0443\u0431\u0438\u0439\u0441\u0442\u0432" },
27504
27610
  buildItems: { en: "Your big items, in order", zh: "\u4F60\u7684\u5927\u4EF6\uFF0C\u6309\u65F6\u95F4", ru: "\u0412\u0430\u0448\u0438 \u043A\u0440\u0443\u043F\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u044B \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443" },
27505
27611
  buildCols: { en: ["Time", "Item", "Gold", "What it is for"], zh: ["\u65F6\u95F4", "\u7269\u54C1", "\u91D1\u5E01", "\u7528\u9014"], ru: ["\u0412\u0440\u0435\u043C\u044F", "\u041F\u0440\u0435\u0434\u043C\u0435\u0442", "\u0417\u043E\u043B\u043E\u0442\u043E", "\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"] },
27506
- buildAnswers: { en: "Items that answer attack damage", zh: "\u5E94\u5BF9\u666E\u653B\u4F24\u5BB3\u7684\u88C5\u5907", ru: "\u041F\u0440\u0435\u0434\u043C\u0435\u0442\u044B \u043F\u0440\u043E\u0442\u0438\u0432 \u0444\u0438\u0437. \u0443\u0440\u043E\u043D\u0430" },
27507
- buildSpellAnswers: { en: "Items that answer spell damage", zh: "\u5E94\u5BF9\u6280\u80FD\u4F24\u5BB3\u7684\u88C5\u5907", ru: "\u041F\u0440\u0435\u0434\u043C\u0435\u0442\u044B \u043F\u0440\u043E\u0442\u0438\u0432 \u043C\u0430\u0433. \u0443\u0440\u043E\u043D\u0430" },
27612
+ buildVsKiller: { en: "Pros on this hero build more against", zh: "\u804C\u4E1A\u9009\u624B\u7528\u8FD9\u4E2A\u82F1\u96C4\u5BF9\u4E0A\u65F6\u591A\u51FA", ru: "\u041F\u0440\u043E\u0444\u0438 \u043D\u0430 \u044D\u0442\u043E\u043C \u0433\u0435\u0440\u043E\u0435 \u0447\u0430\u0449\u0435 \u0441\u043E\u0431\u0438\u0440\u0430\u044E\u0442 \u043F\u0440\u043E\u0442\u0438\u0432" },
27613
+ buildUsually: { en: "usually", zh: "\u5E73\u65F6", ru: "\u043E\u0431\u044B\u0447\u043D\u043E" },
27508
27614
  buildPros: { en: "Most built by pros on this hero (by 24:59)", zh: "\u804C\u4E1A\u9009\u624B\u8FD9\u4E2A\u82F1\u96C4\u6700\u5E38\u51FA\uFF0824:59 \u524D\uFF09", ru: "\u0421\u0430\u043C\u044B\u0435 \u0447\u0430\u0441\u0442\u044B\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u044B \u043F\u0440\u043E-\u0438\u0433\u0440\u043E\u043A\u043E\u0432 (\u0434\u043E 24:59)" },
27509
27615
  buildGaps: { en: "First gap closer", zh: "\u7B2C\u4E00\u4EF6\u4F4D\u79FB\u88C5", ru: "\u041F\u0435\u0440\u0432\u044B\u0439 \u043F\u0440\u0435\u0434\u043C\u0435\u0442 \u043D\u0430 \u0441\u0431\u043B\u0438\u0436\u0435\u043D\u0438\u0435" },
27510
27616
  buildYou: { en: "you", zh: "\u4F60", ru: "\u0432\u044B" },
@@ -27588,8 +27694,6 @@ var T9 = {
27588
27694
  nonHeroDeath: { en: "Non-hero death, no enemy hero damage in window", zh: "\u975E\u82F1\u96C4\u51FB\u6740\u4E14\u7A97\u53E3\u5185\u65E0\u654C\u65B9\u82F1\u96C4\u4F24\u5BB3", ru: "\u0421\u043C\u0435\u0440\u0442\u044C \u043D\u0435 \u043E\u0442 \u0433\u0435\u0440\u043E\u044F \u0431\u0435\u0437 \u0443\u0440\u043E\u043D\u0430 \u043E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432" },
27589
27695
  enemyUltsAbsorbed: { en: "Enemy ultimates absorbed", zh: "\u5403\u5230\u7684\u654C\u65B9\u5927\u62DB", ru: "\u041F\u0440\u0438\u043D\u044F\u0442\u044B\u0435 \u0443\u043B\u044C\u0442\u044B \u0432\u0440\u0430\u0433\u0430" },
27590
27696
  disableTotal: { en: "Total disabled", zh: "\u7D2F\u8BA1\u53D7\u63A7", ru: "\u0412\u0441\u0435\u0433\u043E \u0432 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0435" },
27591
- alliesSurvived: { en: "Nearby allies alive 10 s later", zh: "\u8EAB\u8FB9 10 \u79D2\u540E\u4ECD\u5B58\u6D3B\u961F\u53CB", ru: "\u0421\u043E\u044E\u0437\u043D\u0438\u043A\u0438 \u0440\u044F\u0434\u043E\u043C, \u0432\u044B\u0436\u0438\u0432\u0448\u0438\u0435 10 \u0441" },
27592
- alliesElsewhere: { en: "Allies not near", zh: "\u4E0D\u5728\u9644\u8FD1\u7684\u961F\u53CB", ru: "\u0421\u043E\u044E\u0437\u043D\u0438\u043A\u0438 \u0432\u0434\u0430\u043B\u0435\u043A\u0435" },
27593
27697
  wonBy: { my_team: { en: "Your team won the fight", zh: "\u6211\u65B9\u8D62\u56E2", ru: "\u0412\u0430\u0448\u0430 \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0432\u044B\u0438\u0433\u0440\u0430\u043B\u0430 \u0434\u0440\u0430\u043A\u0443" }, enemy: { en: "They won the fight", zh: "\u5BF9\u65B9\u8D62\u56E2", ru: "\u0412\u0440\u0430\u0433\u0438 \u0432\u044B\u0438\u0433\u0440\u0430\u043B\u0438 \u0434\u0440\u0430\u043A\u0443" } },
27594
27698
  stillDead: { en: "Still dead 10 s after", zh: "10 \u79D2\u540E\u4ECD\u672A\u590D\u6D3B", ru: "\u0412\u0441\u0451 \u0435\u0449\u0451 \u043C\u0435\u0440\u0442\u0432\u044B \u0447\u0435\u0440\u0435\u0437 10 \u0441" },
27595
27699
  winnersDid: {
@@ -27665,9 +27769,6 @@ var T9 = {
27665
27769
  on_own_side_of_the_map: { en: "On own side of the map", zh: "\u5728\u5DF1\u65B9\u534A\u573A", ru: "\u041D\u0430 \u0441\u0432\u043E\u0435\u0439 \u043F\u043E\u043B\u043E\u0432\u0438\u043D\u0435 \u043A\u0430\u0440\u0442\u044B" },
27666
27770
  around_the_river: { en: "Around the river", zh: "\u5728\u6CB3\u9053\u4E00\u5E26", ru: "\u0423 \u0440\u0435\u043A\u0438" },
27667
27771
  on_the_opponents_side: { en: "On the other side", zh: "\u5728\u5BF9\u65B9\u534A\u573A", ru: "\u041D\u0430 \u0441\u0442\u043E\u0440\u043E\u043D\u0435 \u0432\u0440\u0430\u0433\u0430" },
27668
- with_no_ally_within_2200: { en: "No ally within 2200", zh: "2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB", ru: "\u0411\u0435\u0437 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0432 2200" },
27669
- with_one_ally_within_2200: { en: "One ally near", zh: "\u8EAB\u8FB9\u4E00\u540D\u961F\u53CB", ru: "\u041E\u0434\u0438\u043D \u0441\u043E\u044E\u0437\u043D\u0438\u043A \u0440\u044F\u0434\u043E\u043C" },
27670
- with_two_or_more_allies_within_2200: { en: "Two or more allies near", zh: "\u8EAB\u8FB9\u4E24\u540D\u4EE5\u4E0A\u961F\u53CB", ru: "\u0414\u0432\u0430 \u0438 \u0431\u043E\u043B\u0435\u0435 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u0430 \u0440\u044F\u0434\u043E\u043C" },
27671
27772
  with_three_or_more_opponents_within_2200: { en: "Three or more enemies near", zh: "\u8EAB\u8FB9\u4E09\u540D\u4EE5\u4E0A\u654C\u4EBA", ru: "\u0422\u0440\u0438 \u0438 \u0431\u043E\u043B\u0435\u0435 \u0432\u0440\u0430\u0433\u0430 \u0440\u044F\u0434\u043E\u043C" }
27672
27773
  },
27673
27774
  tempoAlive: { en: "of the time alive", zh: "\u5360\u5B58\u6D3B\u65F6\u95F4", ru: "\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0432 \u0436\u0438\u0432\u044B\u0445" },
@@ -27736,6 +27837,8 @@ function buildingLabel(key, lang) {
27736
27837
  var TOTALS = {
27737
27838
  learned_at: { en: "Learned at", zh: "\u5B66\u4F1A\u4E8E" },
27738
27839
  casts_total: { en: "Casts", zh: "\u65BD\u653E\u6B21\u6570" },
27840
+ manual_casts_total: { en: "Manual casts", zh: "\u4E3B\u52A8\u65BD\u653E\u6B21\u6570" },
27841
+ auto_triggered_total: { en: "Auto-triggered", zh: "\u81EA\u52A8\u89E6\u53D1\u6B21\u6570" },
27739
27842
  by_target: { en: "On", zh: "\u76EE\u6807" },
27740
27843
  casts_on_spell_immune_target: { en: "Cast on a spell-immune target", zh: "\u65BD\u653E\u5728\u6280\u80FD\u514D\u75AB\u76EE\u6807\u4E0A" },
27741
27844
  of_those_target_was_stunned: { en: "of those, the target was stunned", zh: "\u5176\u4E2D\u76EE\u6807\u4ECD\u88AB\u7729\u6655" },
@@ -27760,8 +27863,6 @@ var TOTALS = {
27760
27863
  attacks: { en: "attacks", zh: "\u666E\u901A\u653B\u51FB" },
27761
27864
  "abilities and items": { en: "abilities and items", zh: "\u6280\u80FD\u548C\u7269\u54C1" },
27762
27865
  health_below_half_at_window_start: { en: "Deaths that began below half health", zh: "\u8D77\u6B65\u4E0D\u5230\u534A\u8840\u7684\u9635\u4EA1" },
27763
- no_ally_within_2200_throughout: { en: "Deaths with no ally within 2200 throughout", zh: "\u5168\u7A0B 2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB\u7684\u9635\u4EA1" },
27764
- no_ally_within_2200_at_death: { en: "Deaths with no ally within 2200 at the end", zh: "\u9635\u4EA1\u65F6 2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB" },
27765
27866
  three_or_more_enemy_heroes_dealing_damage: { en: "Deaths to three or more enemy heroes", zh: "\u88AB\u4E09\u4E2A\u4EE5\u4E0A\u654C\u65B9\u82F1\u96C4\u6253\u6B7B" },
27766
27867
  in_a_fight: { en: "Deaths in a fight", zh: "\u56E2\u6218\u4E2D\u7684\u9635\u4EA1" },
27767
27868
  outside_fights: { en: "Deaths outside fights", zh: "\u56E2\u6218\u4E4B\u5916\u7684\u9635\u4EA1" },
@@ -27774,7 +27875,6 @@ var TOTALS = {
27774
27875
  // death_context's trade lists (deaths:<hero>).
27775
27876
  traded_within_15s: { en: "Deaths traded (an enemy hero died within 15 s)", zh: "\u6362\u5230\u4E86\uFF0815 \u79D2\u5185\u5BF9\u9762\u4E5F\u6B7B\u4E86\u82F1\u96C4\uFF09" },
27776
27877
  not_traded_within_15s: { en: "Deaths not traded", zh: "\u6CA1\u6362\u5230" },
27777
- no_ally_within_2200_at_death_and_not_traded: { en: "No ally within 2200 and not traded", zh: "\u8EAB\u8FB9\u6CA1\u4EBA\u4E14\u6CA1\u6362\u5230" },
27778
27878
  no_own_observer_within_1600: { en: "Deaths with no own observer within 1600", zh: "\u8EAB\u8FB9 1600 \u7801\u5185\u6CA1\u6709\u5DF1\u65B9\u5047\u773C\u7684\u9635\u4EA1" },
27779
27879
  enemy_observer_within_1600: { en: "Deaths with an enemy observer within 1600", zh: "1600 \u7801\u5185\u6709\u654C\u65B9\u5047\u773C\u7684\u9635\u4EA1" },
27780
27880
  bought_back: { en: "Deaths bought back", zh: "\u4E70\u6D3B\u7684\u9635\u4EA1" },
@@ -27892,7 +27992,6 @@ function Record({ data: data2, lang }) {
27892
27992
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("tr", { children: [
27893
27993
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("th", {}),
27894
27994
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("th", { children: t2(T9.me) }),
27895
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("th", { children: t2(T9.allies) }),
27896
27995
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("th", { children: t2(T9.enemies) })
27897
27996
  ] }) }),
27898
27997
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("tbody", { children: r.snapshots.map((s) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("tr", { children: [
@@ -27903,7 +28002,6 @@ function Record({ data: data2, lang }) {
27903
28002
  t2(T9.before)
27904
28003
  ] }),
27905
28004
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("td", { children: s.me ? `${s.me.hp}/${s.me.max_hp}` : "\u2014" }),
27906
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("td", { children: chips(s.allies) }),
27907
28005
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("td", { children: chips(s.enemies) })
27908
28006
  ] }, s.dt)) })
27909
28007
  ] }),
@@ -27911,6 +28009,13 @@ function Record({ data: data2, lang }) {
27911
28009
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.readyUnused) }),
27912
28010
  r.ready_not_cast.map((a) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "ag-chip is-warn", children: N(a) }, a))
27913
28011
  ] }),
28012
+ Array.isArray(r.auto_triggered) && r.auto_triggered.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
28013
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.autoTriggered) }),
28014
+ r.auto_triggered.map((a, i) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "ag-chip is-good", children: [
28015
+ N(a.ability),
28016
+ a.clock && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("em", { children: a.clock })
28017
+ ] }, i))
28018
+ ] }),
27914
28019
  r.controls_on_me.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
27915
28020
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.disables) }),
27916
28021
  r.controls_on_me.map((c, i) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "ag-chip", children: [
@@ -27980,29 +28085,6 @@ function Record({ data: data2, lang }) {
27980
28085
  t2(T9.sec)
27981
28086
  ] })
27982
28087
  ] }),
27983
- Array.isArray(r.allies_near_who_survived_10s) && r.allies_near_who_survived_10s.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
27984
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.alliesSurvived) }),
27985
- r.allies_near_who_survived_10s.map((h) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "ag-chip is-ally", children: N(h) }, h))
27986
- ] }),
27987
- r.allies_elsewhere?.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
27988
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.alliesElsewhere) }),
27989
- r.allies_elsewhere.map((h) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "ag-chip", children: [
27990
- N(h.hero),
27991
- doingOf(h) && ` \xB7 ${doingOf(h)}`,
27992
- h.distance != null && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("em", { children: [
27993
- h.distance,
27994
- " ",
27995
- t2(T9.away)
27996
- ] }),
27997
- h.respawn_in != null && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("em", { children: [
27998
- t2(T9.respawn),
27999
- " ",
28000
- h.respawn_in,
28001
- t2(T9.sec)
28002
- ] }),
28003
- h.tp_ready != null && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("em", { children: t2(T9.tp[String(h.tp_ready)]) })
28004
- ] }, h.hero))
28005
- ] }),
28006
28088
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "ag-rec-sub", children: t2(T9.damage) }),
28007
28089
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("ul", { className: "ag-bars", children: r.damage_taken.slice(0, 5).map((d, i) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Bar, { label: `${N(d.from)} \xB7 ${d.by === "attack" ? t2(T9.attack) : N(d.by)}`, value: d.value, max }, i)) })
28008
28090
  ] });
@@ -28046,10 +28128,6 @@ function Record({ data: data2, lang }) {
28046
28128
  ] })
28047
28129
  ] })
28048
28130
  ] }),
28049
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
28050
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.allies) }),
28051
- heroes(r.allies_within_2200, "is-ally")
28052
- ] }),
28053
28131
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
28054
28132
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.enemies) }),
28055
28133
  heroes(r.enemies_within_2200, "is-enemy")
@@ -28060,15 +28138,25 @@ function Record({ data: data2, lang }) {
28060
28138
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "ag-rec", children: [
28061
28139
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-head", children: [
28062
28140
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("b", { children: r.clock }),
28063
- " \xB7 ",
28064
- t2(T9.target),
28065
- " ",
28066
- N(r.target),
28067
- r.target_hp && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("em", { children: [
28141
+ r.target != null ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
28142
+ " \xB7 ",
28143
+ t2(T9.target),
28144
+ " ",
28145
+ N(r.target),
28146
+ r.target_hp && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("em", { children: [
28147
+ " ",
28148
+ r.target_hp.hp,
28149
+ "/",
28150
+ r.target_hp.max_hp
28151
+ ] })
28152
+ ] }) : r.trigger ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
28153
+ " \xB7 ",
28154
+ t2(r.trigger === "auto" ? T9.autoTriggered : T9.manualCast)
28155
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
28156
+ " \xB7 ",
28157
+ t2(T9.target),
28068
28158
  " ",
28069
- r.target_hp.hp,
28070
- "/",
28071
- r.target_hp.max_hp
28159
+ N(r.target)
28072
28160
  ] })
28073
28161
  ] }),
28074
28162
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
@@ -28077,7 +28165,13 @@ function Record({ data: data2, lang }) {
28077
28165
  ] }),
28078
28166
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
28079
28167
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.near) }),
28080
- [...r.allies_within_1300.map((h) => ({ hero: h, c: "is-ally" })), ...r.enemies_within_1300.map((h) => ({ hero: h, c: "is-enemy" }))].map((h) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `ag-chip ${h.c}`, children: N(h.hero) }, h.hero))
28168
+ r.allies_within_1300 == null && r.enemies_within_1300 == null ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "ag-none", children: t2(T9.states.unknown) }) : (() => {
28169
+ const nearChips = [
28170
+ ...Array.isArray(r.allies_within_1300) ? r.allies_within_1300.map((h) => ({ key: `a:${h}`, label: N(h), c: "is-ally" })) : [{ key: "a:unknown", label: `${t2(T9.mine)} \xB7 ${t2(T9.states.unknown)}`, c: "" }],
28171
+ ...Array.isArray(r.enemies_within_1300) ? r.enemies_within_1300.map((h) => ({ key: `e:${h}`, label: N(h), c: "is-enemy" })) : [{ key: "e:unknown", label: `${t2(T9.theirs)} \xB7 ${t2(T9.states.unknown)}`, c: "" }]
28172
+ ];
28173
+ return nearChips.length ? nearChips.map((h) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `ag-chip ${h.c}`, children: h.label }, h.key)) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "ag-none", children: t2(T9.nobody) });
28174
+ })()
28081
28175
  ] }),
28082
28176
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
28083
28177
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.after) }),
@@ -28173,7 +28267,7 @@ function Record({ data: data2, lang }) {
28173
28267
  }
28174
28268
  if (data2.kind === "timeline") {
28175
28269
  const pos = r.positions_at_first_death?.heroes ?? r.positions_at_start;
28176
- const key = (e) => e.kind === "death" || e.kind === "reincarnation" || e.kind === "aegis" || e.kind === "spell_immune" || e.kind === "building";
28270
+ const key = (e) => e.kind === "death" || e.kind === "reincarnation" || e.kind === "aegis" || e.kind === "auto_trigger" || e.kind === "spell_immune" || e.kind === "building";
28177
28271
  const room = Math.max(0, 48 - r.events.filter(key).length);
28178
28272
  let extra = 0;
28179
28273
  const rows = r.events.filter((e) => key(e) || (e.kind !== "cast" || e.target) && (extra += 1) <= room);
@@ -28202,6 +28296,13 @@ function Record({ data: data2, lang }) {
28202
28296
  " \xB7 ",
28203
28297
  t2(T9.resurrectionBy[e.kind])
28204
28298
  ] }),
28299
+ e.kind === "auto_trigger" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { children: [
28300
+ N(e.hero),
28301
+ " \xB7 ",
28302
+ N(e.ability),
28303
+ " \xB7 ",
28304
+ t2(T9.autoTriggered)
28305
+ ] }),
28205
28306
  e.kind === "spell_immune" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { children: [
28206
28307
  N(e.hero),
28207
28308
  " \xB7 ",
@@ -29459,11 +29560,6 @@ function Record({ data: data2, lang }) {
29459
29560
  const pc = (v) => `${Math.round(v * 100)}%`;
29460
29561
  const why = (list) => (list.length ? list : ["not_classified"]).map((p) => T9.purpose[p] ? t2(T9.purpose[p]) : pretty(p)).join(" \xB7 ");
29461
29562
  const d = r.damage_in_my_deaths;
29462
- const answers = (list) => list.slice(0, 10).map((x) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: `ag-chip ${x.player_first_held ? "is-good" : ""}`, children: [
29463
- x.name,
29464
- " ",
29465
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("em", { children: x.player_first_held ?? t2(T9.never) })
29466
- ] }, x.item));
29467
29563
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "ag-rec", children: [
29468
29564
  r.data_patch && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-sub", children: [
29469
29565
  t2(T9.dataPatch),
@@ -29510,14 +29606,24 @@ function Record({ data: data2, lang }) {
29510
29606
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("td", { children: why(i.built_for) })
29511
29607
  ] }, i.item)) })
29512
29608
  ] }) }),
29513
- r.items_that_answer_attack_damage.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
29514
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.buildAnswers) }),
29515
- answers(r.items_that_answer_attack_damage)
29516
- ] }),
29517
- r.items_that_answer_spell_damage.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
29518
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: t2(T9.buildSpellAnswers) }),
29519
- answers(r.items_that_answer_spell_damage)
29520
- ] }),
29609
+ (r.answers_to_top_killers ?? []).filter((k2) => k2.pro_items_against_this_killer?.length).map((k2) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-line", children: [
29610
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { children: [
29611
+ t2(T9.buildVsKiller),
29612
+ " ",
29613
+ N(k2.killer)
29614
+ ] }),
29615
+ k2.pro_items_against_this_killer.slice(0, 6).map((x) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: `ag-chip ${x.player_first_held ? "is-good" : ""}`, children: [
29616
+ x.name,
29617
+ " ",
29618
+ pc(x.share_of_pro_games_against_this_hero),
29619
+ " (",
29620
+ t2(T9.buildUsually),
29621
+ " ",
29622
+ pc(x.share_usually),
29623
+ ") ",
29624
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("em", { children: x.player_first_held ?? t2(T9.never) })
29625
+ ] }, x.item))
29626
+ ] }, k2.killer)),
29521
29627
  r.most_built_in_this_bracket && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
29522
29628
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { className: "ag-rec-sub", children: [
29523
29629
  r.most_built_in_this_bracket.bracket_name,
@@ -29696,7 +29802,7 @@ function Record({ data: data2, lang }) {
29696
29802
  }
29697
29803
  }
29698
29804
  const tl = (key) => TOTALS[key] ? t2(TOTALS[key]) : pretty(key);
29699
- const TRADES = ["traded_within_15s", "not_traded_within_15s", "no_ally_within_2200_at_death_and_not_traded"];
29805
+ const TRADES = ["traded_within_15s", "not_traded_within_15s"];
29700
29806
  const trades = [];
29701
29807
  for (const [k2, v] of late) {
29702
29808
  if (!v || typeof v !== "object") continue;
@@ -30325,12 +30431,11 @@ var T12 = {
30325
30431
  untimed: { en: "{n} more with no time in this summary.", zh: "\u53E6\u6709 {n} \u6B21\uFF0C\u8FD9\u4EFD\u6C47\u603B\u91CC\u6CA1\u6709\u65F6\u95F4\u3002", ru: "\u0415\u0449\u0451 {n} \u0431\u0435\u0437 \u043E\u0442\u043C\u0435\u0442\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0432 \u0441\u0432\u043E\u0434\u043A\u0435." },
30326
30432
  in_a_fight: { en: "in a fight", zh: "\u56E2\u6218\u4E2D", ru: "\u0432 \u0434\u0440\u0430\u043A\u0435" },
30327
30433
  outside_fights: { en: "outside a fight", zh: "\u56E2\u6218\u5916", ru: "\u0432\u043D\u0435 \u0434\u0440\u0430\u043A\u0438" },
30328
- no_ally_within_2200_at_death: { en: "no ally within 2200", zh: "2200 \u8303\u56F4\u5185\u6CA1\u6709\u961F\u53CB", ru: "\u0431\u0435\u0437 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0432 2200" },
30329
30434
  three_or_more_enemy_heroes_dealing_damage: { en: "3+ enemies hitting you", zh: "\u4E09\u4E2A\u4EE5\u4E0A\u654C\u4EBA\u5728\u6253\u4F60", ru: "\u0431\u0438\u043B\u0438 3+ \u0432\u0440\u0430\u0433\u043E\u0432" },
30330
30435
  traded_within_15s: { en: "an enemy died within 15 s", zh: "15 \u79D2\u5185\u6709\u654C\u4EBA\u5012\u4E0B", ru: "\u0432\u0440\u0430\u0433 \u043F\u043E\u0433\u0438\u0431 \u0437\u0430 15 \u0441" },
30331
30436
  not_traded_within_15s: { en: "no enemy died within 15 s", zh: "15 \u79D2\u5185\u6CA1\u6709\u654C\u4EBA\u5012\u4E0B", ru: "\u0431\u0435\u0437 \u0440\u0430\u0437\u043C\u0435\u043D\u0430 \u0437\u0430 15 \u0441" }
30332
30437
  };
30333
- var LABELS = ["in_a_fight", "outside_fights", "no_ally_within_2200_at_death", "three_or_more_enemy_heroes_dealing_damage", "traded_within_15s", "not_traded_within_15s"];
30438
+ var LABELS = ["in_a_fight", "outside_fights", "three_or_more_enemy_heroes_dealing_damage", "traded_within_15s", "not_traded_within_15s"];
30334
30439
  var seconds = (clock4) => {
30335
30440
  const m = /^(-)?(\d{1,3}):([0-5]\d)$/.exec(clock4);
30336
30441
  return m ? (m[1] ? -1 : 1) * (Number(m[2]) * 60 + Number(m[3])) : null;