@petercjl/omni-desktop-app 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/app/assets/CartesianChart-BLyO9U-C.js +33 -0
  2. package/app/assets/EmptyState-Cgx7dIy3.js +1 -0
  3. package/app/assets/EvidenceSourceGuide-BqwES_45.js +1 -0
  4. package/app/assets/Favorites-JpOkiZFS.js +1 -0
  5. package/app/assets/{help-tip--AXHiRI4.css → HelpTip-BsHPhMNf.css} +1 -1
  6. package/app/assets/{help-tip-MKEk0q51.js → HelpTip-DgowTr-K.js} +1 -1
  7. package/app/assets/LineChart-BOoSfV72.js +4 -0
  8. package/app/assets/ShopLayoutPage-BPjWnPjn.css +1 -0
  9. package/app/assets/ShopLayoutPage-xv0PhUXv.js +1 -0
  10. package/app/assets/TrendChart-ozEGn1ai.js +1 -0
  11. package/app/assets/activity-BV0UMcx6.js +1 -0
  12. package/app/assets/api-DTsZ_OeY.js +1 -0
  13. package/app/assets/arrow-right-DMEu-HBO.js +1 -0
  14. package/app/assets/arrow-up-right-Bi_SzYu1.js +1 -0
  15. package/app/assets/chart-column-x5fvXs9m.js +1 -0
  16. package/app/assets/check-qCcwSYDE.js +1 -0
  17. package/app/assets/chevron-down-p3oUrcsv.js +1 -0
  18. package/app/assets/chevron-right-DqmFJybY.js +1 -0
  19. package/app/assets/clock-3-BThph9Fd.js +1 -0
  20. package/app/assets/components-BVWswT0B.js +2 -0
  21. package/app/assets/create-intent-9uYVhJHt.js +1 -0
  22. package/app/assets/create-intent-ZWl5yZd5.css +1 -0
  23. package/app/assets/demand-planning-client-DVOcsKAy.css +1 -0
  24. package/app/assets/demand-planning-client-cRvN3aET.js +130 -0
  25. package/app/assets/download-DYUXwy45.js +1 -0
  26. package/app/assets/entry-BXB2Nzyc.js +2 -0
  27. package/app/assets/entry-BxaHKvMx.js +2 -0
  28. package/app/assets/entry-C3TFTQrn.js +1 -0
  29. package/app/assets/entry-C_j4PEhB.css +1 -0
  30. package/app/assets/entry-Crfux-R-.js +1 -0
  31. package/app/assets/entry-DHP4cb-p.css +1 -0
  32. package/app/assets/entry-DQpz8kvM.js +58 -0
  33. package/app/assets/entry-OPB3MGoc.css +1 -0
  34. package/app/assets/entry-WYptT5dv.js +2 -0
  35. package/app/assets/file-text-BE0hF4rH.js +1 -0
  36. package/app/assets/flag-DspBXBR4.js +1 -0
  37. package/app/assets/format-BCxMsVJh.js +1 -0
  38. package/app/assets/git-branch-BAJikW8Q.js +1 -0
  39. package/app/assets/graphicalItemSelectors-DGWLDzMl.js +1 -0
  40. package/app/assets/grid-2x2-lULFcGs7.js +1 -0
  41. package/app/assets/group-eZxxe_Hb.js +1 -0
  42. package/app/assets/index-7NKGenq7.css +1 -0
  43. package/app/assets/{index-kh1Fd-ff.js → index-Cez2mr3h.js} +5 -5
  44. package/app/assets/layers-shcwXKIH.js +1 -0
  45. package/app/assets/link-2-BlbKNthn.js +1 -0
  46. package/app/assets/list-CrDQ8uHL.js +1 -0
  47. package/app/assets/market-B2oImfqS.css +1 -0
  48. package/app/assets/market.module-vHIsXpQH.js +1 -0
  49. package/app/assets/module-host-CyMfvPpR.js +1 -0
  50. package/app/assets/pin-C4E_u351.js +1 -0
  51. package/app/assets/play-D07b6r1X.js +1 -0
  52. package/app/assets/plus-iTTlNMxD.js +1 -0
  53. package/app/assets/products-BTd3YVqO.css +1 -0
  54. package/app/assets/products-fIIO39ry.js +1 -0
  55. package/app/assets/project-airtight-canisters-LLndxxjI.jpg +0 -0
  56. package/app/assets/project-collaboration-travel-bag-BB2ARGd7.jpg +0 -0
  57. package/app/assets/project-cutting-board-CeIWMQLS.jpg +0 -0
  58. package/app/assets/project-desktop-cable-clips-DdPGOqI8.jpg +0 -0
  59. package/app/assets/project-double-11-thermos-D7tzhW-B.jpg +0 -0
  60. package/app/assets/project-drinking-glass-D8H-30yp.jpg +0 -0
  61. package/app/assets/project-execution-DMEIpSz3.js +1 -0
  62. package/app/assets/project-foldable-storage-crate-DlZP-j-z.jpg +0 -0
  63. package/app/assets/project-microfiber-cloths-Dda9f7He.jpg +0 -0
  64. package/app/assets/project-portable-blender-CLylHN-m.jpg +0 -0
  65. package/app/assets/project-public-4Gjaxeyh.js +1 -0
  66. package/app/assets/project-public-DCJ5Ry0f.js +4 -0
  67. package/app/assets/project-public-IxjCdnaB.css +1 -0
  68. package/app/assets/project-public-tKjd5rma.js +1 -0
  69. package/app/assets/project-scented-candle-CDVqTvgw.jpg +0 -0
  70. package/app/assets/project-silicone-baking-mat-DUDDE63y.jpg +0 -0
  71. package/app/assets/project-tissue-box-DkxE74G5.jpg +0 -0
  72. package/app/assets/project-travel-bag-DWCGqkcM.png +0 -0
  73. package/app/assets/project-travel-bottles-CgRJiJGs.jpg +0 -0
  74. package/app/assets/project-tumbler-D2BmTnok.png +0 -0
  75. package/app/assets/public-BlU5YmdO.js +1 -0
  76. package/app/assets/refresh-cw-C_4G0Mri.js +1 -0
  77. package/app/assets/search-CUzSX_06.js +1 -0
  78. package/app/assets/ui-public-9lmhhAop.js +1 -0
  79. package/app/assets/use-favorites-BOjIArhk.js +1 -0
  80. package/app/assets/use-favorites-_eKBQGeF.css +1 -0
  81. package/app/assets/use-workspace-query-C-vrOrvK.js +1 -0
  82. package/app/assets/workbench-13XxpUuA.css +1 -0
  83. package/app/assets/workbench-BMO5cSO0.js +2 -0
  84. package/app/assets/workspace-view-state-CRfq5jgZ.js +1 -0
  85. package/app/index.html +2 -2
  86. package/package.json +1 -1
  87. package/release.json +1 -1
  88. package/release.sig +1 -1
  89. package/app/assets/LineChart-DbDnbu8P.js +0 -33
  90. package/app/assets/index-T3G-cOmt.css +0 -1
  91. package/app/assets/page-B9m8x7qr.js +0 -1
  92. package/app/assets/page-BQG8B27I.js +0 -135
  93. package/app/assets/page-ClE1ActL.css +0 -1
  94. package/app/assets/page-E8U5s4LO.css +0 -1
  95. package/app/assets/page-LYbG9XZe.css +0 -1
  96. package/app/assets/page-X3I2H98K.js +0 -1
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),n=e(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]);export{t as n,n as t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]);export{t};
@@ -0,0 +1 @@
1
+ ._page_18hzb_1{--omni-category-leaf-tint:#6fb9ad;--omni-category-branch-tint:#7494bf;box-sizing:border-box;background:var(--omni-paint-surface-0a1524,#0a1524);min-width:0;min-height:100vh;color:var(--omni-paint-ink-dbe8f5,#dbe8f5);padding:0 0 28px;font:13px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif;display:block;container-type:inline-size}._page_18hzb_1 *{box-sizing:border-box}._page_18hzb_1 button,._page_18hzb_1 input,._page_18hzb_1 select{font:inherit;color:inherit;border:1px solid var(--omni-paint-line-30465e,#30465e);background:var(--omni-paint-surface-102239,#102239);border-radius:5px;width:auto;min-width:0;margin:0;padding:6px 10px}._page_18hzb_1 button{cursor:pointer;justify-content:center;align-items:center;gap:5px;display:inline-flex}._page_18hzb_1 button:hover{background:var(--omni-paint-surface-193852,#193852);border-color:var(--omni-paint-line-4b92b9,#4b92b9)}._page_18hzb_1 button:disabled{opacity:.32;cursor:default}._page_18hzb_1 button:focus-visible,._page_18hzb_1 a:focus-visible,._page_18hzb_1 summary:focus-visible,._page_18hzb_1 input:focus-visible,._page_18hzb_1 select:focus-visible{outline:2px solid var(--omni-paint-line-60d2f6,#60d2f6);outline-offset:2px}._page_18hzb_1 a{color:var(--omni-paint-ink-69c9f1,#69c9f1);text-decoration:none}._page_18hzb_1 a:hover{text-decoration:underline}._page_18hzb_1 ._primary_18hzb_69{background:var(--omni-paint-surface-187da7,#187da7);border-color:var(--omni-paint-line-298fac,#298fac);color:var(--omni-paint-ink-f1fbff,#f1fbff)}._stickyHeader_18hzb_74{top:var(--workspace-sticky-top,0px);z-index:30;background:var(--omni-paint-surface-0a1524,#0a1524);border-bottom:1px solid var(--omni-paint-line-263d55,#263d55);margin:0;padding:8px 24px;position:sticky}._stickyHeader_18hzb_74 ._breadcrumb_18hzb_83{margin-bottom:6px}._stickyHeader_18hzb_74 ._filterBar_18hzb_86{gap:8px 16px;margin-bottom:0}._stickyHeader_18hzb_74 ._toolbar_18hzb_90{margin-top:8px;padding-bottom:0}._stickyHeader_18hzb_74 ._tabs_18hzb_94{border:0;gap:18px;margin:0 0 0 12px;padding:0}._page_18hzb_1 ._stickyHeader_18hzb_74 ._tabs_18hzb_94 button{white-space:nowrap;padding:6px 0}._breadcrumb_18hzb_83{min-height:24px;color:var(--omni-paint-ink-829ab3,#829ab3);border:0;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:9px;margin-bottom:23px;padding:0;font-size:12px;display:flex}._breadcrumb_18hzb_83>a{color:var(--omni-paint-ink-91a8be,#91a8be)}._breadcrumb_18hzb_83>span{align-items:center;gap:8px;display:inline-flex}._page_18hzb_1 ._breadcrumb_18hzb_83 button{color:var(--omni-paint-ink-93abc0,#93abc0);background:0 0;border:0;padding:0}._filterBar_18hzb_86{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}._categoryControl_18hzb_139,._dateControl_18hzb_140{align-items:center;gap:8px;display:flex}._categoryControl_18hzb_139{min-width:0}._count_18hzb_148{white-space:nowrap;color:var(--omni-paint-ink-74c8ec,#74c8ec);background:var(--omni-paint-surface-112d43,#112d43);border:1px solid var(--omni-paint-line-2a6386,#2a6386);border-radius:3px;padding:2px 6px;font-size:11px}._dateControl_18hzb_140{flex-wrap:wrap;justify-content:flex-end;margin-left:auto;font-size:12px}._period_18hzb_163{color:var(--omni-paint-ink-6e87a0,#6e87a0);margin-right:10px;font-size:11px}._page_18hzb_1 ._yearButton_18hzb_168{color:var(--omni-paint-ink-9dbcd7,#9dbcd7);background:0 0;border:0;padding:5px}._page_18hzb_1 ._yearButton_18hzb_168[aria-pressed=true]{color:var(--omni-paint-ink-61d3f7,#61d3f7);font-weight:600}._dateControl_18hzb_140 select{color:var(--omni-paint-ink-65ccf0,#65ccf0);background:0 0;border:0;max-width:150px;padding:6px;font-weight:600}._dateControl_18hzb_140>button:not(._yearButton_18hzb_168){background:var(--omni-paint-surface-14273c,#14273c);border:0;padding:5px}._segment_18hzb_191{background:var(--omni-paint-surface-101f32,#101f32);border:1px solid var(--omni-paint-line-283e56,#283e56);border-radius:5px;align-items:center;gap:0;padding:2px;display:flex}._segment_18hzb_191 button{color:var(--omni-paint-ink-7e97b0,#7e97b0);background:0 0;border:0;padding:5px 11px;font-size:12px}._page_18hzb_1 ._segment_18hzb_191 button[aria-pressed=true]{background:var(--omni-paint-surface-1b3b55,#1b3b55);color:var(--omni-paint-ink-a6e7fc,#a6e7fc);box-shadow:0 1px 3px var(--omni-paint-shadow-020b1633,#020b1633)}._dateControl_18hzb_140 ._segment_18hzb_191{margin-left:10px}._message_18hzb_215{color:var(--omni-paint-ink-b8d8ea,#b8d8ea);border:1px solid var(--omni-paint-line-345b72,#345b72);background:var(--omni-paint-surface-133049,#133049);border-radius:5px;justify-content:space-between;align-items:center;margin-bottom:10px;padding:8px 12px;display:flex}._page_18hzb_1 ._message_18hzb_215 button{background:0 0;border:0;padding:0 5px}._categoryList_18hzb_231{min-width:0;max-height:max(160px, calc(100dvh - var(--workspace-sticky-top,0px) - var(--market-controls-height,180px) - 2px));padding-inline:12px;overflow:auto}._categoryLegend_18hzb_237,._categoryLegend_18hzb_237>span{align-items:center;gap:5px;display:flex}._categoryLegend_18hzb_237{color:var(--omni-paint-ink-829ab3,#829ab3);white-space:nowrap;gap:10px;font-size:10px}._categoryLegend_18hzb_237 i{opacity:.8;background:var(--omni-category-branch-tint);border-radius:2px;width:7px;height:7px}._categoryLegend_18hzb_237 i[data-leaf=true]{background:var(--omni-category-leaf-tint)}._categoryHeaders_18hzb_259,._categoryRows_18hzb_260{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px;min-width:1020px;display:grid}._categoryHeaders_18hzb_259{background:var(--omni-paint-surface-0a1524,#0a1524);z-index:1;margin-bottom:8px;position:sticky;top:0}._categoryHeaders_18hzb_259>div,._categoryRow_18hzb_260{grid-template-columns:minmax(90px,1fr) 72px 58px 48px 22px;align-items:center;gap:5px;display:grid;position:relative}._categoryHeaders_18hzb_259>div{color:var(--omni-paint-ink-718ca6,#718ca6);padding:7px 8px;font-size:11px}._categoryHeaders_18hzb_259 span:not(:first-child){text-align:right}._categoryRows_18hzb_260{row-gap:12px}._categoryRow_18hzb_260{border:1px solid var(--omni-paint-line-29425b,#29425b);background:var(--omni-paint-surface-102239,#102239);border-radius:4px;min-height:54px;padding:8px;transition:background .15s}._categoryRow_18hzb_260:hover,._categoryRow_18hzb_260:focus-within{background:var(--omni-paint-surface-153049,#153049);border-color:var(--omni-paint-line-397391,#397391)}._categoryRow_18hzb_260[data-leaf=false]{background:var(--omni-panel,var(--omni-paint-surface-102235,#102235));border-inline-start:2px solid color-mix(in srgb, var(--omni-line,var(--omni-paint-line-2c435b,#2c435b)) 75%, var(--omni-category-branch-tint))}._categoryRow_18hzb_260[data-leaf=true]{background:color-mix(in srgb, var(--omni-panel,var(--omni-paint-surface-102235,#102235)) 90%, var(--omni-category-leaf-tint));border-inline-start:2px solid color-mix(in srgb, var(--omni-line,var(--omni-paint-line-2c435b,#2c435b)) 55%, var(--omni-category-leaf-tint))}._categoryRow_18hzb_260:is(:hover,:focus-within){background:color-mix(in srgb, var(--omni-panel,var(--omni-paint-surface-102235,#102235)) 85%, var(--omni-accent,var(--omni-paint-surface-61d3df,#61d3df)))}._categoryName_18hzb_334{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex;position:relative}._page_18hzb_1 ._categoryOpen_18hzb_342,._page_18hzb_1 ._categoryOpen_18hzb_342:hover{z-index:1;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}._categoryRow_18hzb_260>button:not(._categoryOpen_18hzb_342){z-index:2;position:relative}._page_18hzb_1 ._categoryName_18hzb_334>span{text-align:left;min-width:0;color:var(--omni-paint-ink-d5e6f5,#d5e6f5);background:0 0;border:0;flex:90px;justify-content:flex-start;align-items:center;gap:5px;padding:0;font-size:12px;display:flex}._categoryName_18hzb_334>span>svg{vertical-align:middle;flex-shrink:0;margin-left:4px;display:inline-block}._page_18hzb_1 ._categoryName_18hzb_334>span{white-space:normal;overflow-wrap:anywhere;display:block}._categoryRow_18hzb_260:hover ._categoryName_18hzb_334>span{color:var(--omni-paint-ink-78d6f6,#78d6f6)}._categoryRow_18hzb_260>strong{color:var(--omni-paint-ink-70cfff,#70cfff);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px;font-weight:500}._categoryRow_18hzb_260>span{text-align:right;color:var(--omni-paint-ink-9cb5cc,#9cb5cc);font-variant-numeric:tabular-nums;font-size:11px}._page_18hzb_1 ._iconButton_18hzb_399{color:var(--omni-paint-ink-688ba8,#688ba8);background:0 0;border:0;padding:3px}._page_18hzb_1 ._iconButton_18hzb_399[aria-pressed=true]{color:var(--omni-paint-ink-68d3f4,#68d3f4)}._rowActions_18hzb_408{z-index:3;flex-shrink:0;gap:5px;min-height:22px;margin:0;display:none;position:relative}._categoryRow_18hzb_260:is(:hover,:focus-within) ._rowActions_18hzb_408{display:flex}._page_18hzb_1 ._rowActions_18hzb_408>button{background:var(--omni-paint-surface-1c3c56,#1c3c56);border-color:var(--omni-paint-line-335a73,#335a73);min-height:22px;color:var(--omni-paint-ink-89cae7,#89cae7);border-radius:3px;padding:2px 6px;font-size:10px;line-height:1.4}._tabs_18hzb_94{border-bottom:1px solid var(--omni-paint-line-263d55,#263d55);align-items:center;gap:28px;margin:8px -24px 0;padding:0 24px;display:flex}._page_18hzb_1 ._tabs_18hzb_94 button{color:var(--omni-paint-ink-9fb3c7,#9fb3c7);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:13px 0 12px;font-size:13px}._page_18hzb_1 ._tabs_18hzb_94 button[aria-selected=true]{border-bottom-color:var(--omni-paint-line-47c5ee,#47c5ee);color:var(--omni-paint-ink-75d6f5,#75d6f5)}._toolbar_18hzb_90{flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;display:flex}._toolbar_18hzb_90>button{font-size:12px}._search_18hzb_461{border:1px solid var(--omni-paint-line-30465e,#30465e);background:var(--omni-paint-surface-0d1d30,#0d1d30);min-height:33px;color:var(--omni-paint-ink-6e8fa9,#6e8fa9);border-radius:4px;align-items:center;gap:7px;display:flex}._search_18hzb_461>span{border-right:1px solid var(--omni-paint-line-30465e,#30465e);color:var(--omni-paint-ink-adc4d9,#adc4d9);padding:6px 10px}._search_18hzb_461>svg{flex-shrink:0;margin-left:10px}._page_18hzb_1 ._search_18hzb_461 input{background:0 0;border:0;width:270px;min-width:0;padding:6px 8px;font-size:12px}._page_18hzb_1 input::placeholder{color:var(--omni-paint-ink-526d87,#526d87)}._price_18hzb_491{color:var(--omni-paint-ink-91abc4,#91abc4);align-items:center;gap:7px;font-size:12px;display:flex}._price_18hzb_491 label{border:1px solid var(--omni-paint-line-30465e,#30465e);border-radius:4px;align-items:center;gap:0;padding-right:8px;display:flex}._page_18hzb_1 ._price_18hzb_491 input{background:0 0;border:0;width:66px;padding:6px 8px}._toolbar_18hzb_90>._segment_18hzb_191{margin-left:auto}._page_18hzb_1 ._configButton_18hzb_515{color:var(--omni-paint-ink-cce3f4,#cce3f4);border-color:var(--omni-paint-line-6185a1,#6185a1);margin-left:auto}._toolbar_18hzb_90>._segment_18hzb_191+._configButton_18hzb_515{margin-left:0}._tableScroll_18hzb_523{min-height:min(260px, calc(100dvh - var(--workspace-sticky-top,0px) - var(--market-controls-height,180px)));max-height:max(160px, calc(100dvh - var(--workspace-sticky-top,0px) - var(--market-controls-height,180px) - 2px));border:1px solid var(--omni-paint-line-233d55,#233d55);background:var(--omni-paint-surface-0d1e31,#0d1e31);scrollbar-color:var(--omni-paint-ink-375572,#375572) var(--omni-paint-ink-102138,#102138);overflow:auto}._page_18hzb_1 table{border-collapse:separate;border-spacing:0;text-align:left;white-space:nowrap;width:100%;font-size:12px}._page_18hzb_1 th{background:var(--omni-paint-surface-162b40,#162b40);color:var(--omni-paint-ink-a8bfd4,#a8bfd4);border-bottom:1px solid var(--omni-paint-line-334c65,#334c65);z-index:1;padding:10px 12px;font-size:11px;font-weight:550;position:sticky;top:0}._page_18hzb_1 th button{color:inherit;background:0 0;border:0;justify-content:space-between;width:100%;min-width:80px;padding:0;font-size:11px}._page_18hzb_1 td{border-bottom:1px solid var(--omni-paint-line-22384e,#22384e);color:var(--omni-paint-ink-acc1d4,#acc1d4);vertical-align:middle;font-variant-numeric:tabular-nums;padding:10px 12px}._page_18hzb_1 tr:hover td{background:var(--omni-paint-surface-132b41,#132b41)}._sort_18hzb_570{color:var(--omni-paint-ink-4b6782,#4b6782);margin-left:15px}._activeSort_18hzb_574{color:var(--omni-paint-accent-6acdf7,#6acdf7);margin-left:15px}._productTable_18hzb_578{min-width:2200px}._shopTable_18hzb_581{min-width:2100px}._productTable_18hzb_578 th:first-child,._shopTable_18hzb_581 th:first-child{min-width:55px}._productTable_18hzb_578 th:nth-child(2){width:300px;min-width:300px}._shopTable_18hzb_581 th:nth-child(2){min-width:150px}._shopTable_18hzb_581 th:nth-child(3){width:250px;min-width:250px}._shopName_18hzb_599{text-overflow:ellipsis;min-width:170px;max-width:270px;overflow:hidden}._sales_18hzb_605{background:var(--omni-paint-surface-10263c,#10263c);color:var(--omni-paint-ink-a2d7f2,#a2d7f2)!important}._identity_18hzb_609{align-items:center;gap:9px;min-width:240px;max-width:300px;display:flex}._identity_18hzb_609>._imageButton_18hzb_616{flex-shrink:0}._page_18hzb_1 ._imageButton_18hzb_616{cursor:zoom-in;background:0 0;border:0;justify-content:center;align-items:center;width:42px;height:42px;padding:0;display:flex}._productTitleRow_18hzb_630{align-items:flex-start;gap:4px;display:flex}._productTitleRow_18hzb_630>:first-child{flex:1;min-width:0}._productTitleRow_18hzb_630>:last-child{flex-shrink:0}._productId_18hzb_642{white-space:nowrap;align-items:center;gap:4px;font-size:10px;display:inline-flex}._imageHoverPreview_18hzb_649{z-index:1000;box-sizing:border-box;background:var(--omni-panel,var(--omni-paint-surface-102235,#102235));border:1px solid var(--omni-line,var(--omni-paint-line-2c435b,#2c435b));box-shadow:0 12px 35px var(--omni-paint-shadow-0008,#0008);pointer-events:none;border-radius:6px;padding:6px;position:fixed}._imageHoverPreview_18hzb_649 img{object-fit:contain;width:100%;height:100%}._imageViewer_18hzb_665{box-sizing:border-box;background:var(--omni-paint-surface-030914ed,#030914ed);width:100vw;max-width:none;height:100dvh;max-height:none;color:var(--omni-paint-ink-e1edfa,#e1edfa);border:0;margin:0;padding:48px;position:fixed;inset:0}._imageViewer_18hzb_665[open]{justify-content:center;align-items:center;display:flex}._imageViewer_18hzb_665>img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}._imageViewer_18hzb_665 ._imageViewerClose_18hzb_692{border:1px solid var(--omni-paint-line-63768c,#63768c);background:var(--omni-paint-surface-102235,#102235);color:var(--omni-paint-ink-e1edfa,#e1edfa);cursor:pointer;border-radius:6px;padding:8px;display:flex;position:absolute;top:12px;right:12px}._identity_18hzb_609 img,._noImage_18hzb_705{object-fit:contain;border-radius:3px;width:42px;height:42px}._noImage_18hzb_705{background:var(--omni-paint-surface-18344b,#18344b);color:var(--omni-paint-ink-507b99,#507b99);flex-shrink:0;justify-content:center;align-items:center;display:flex}._identity_18hzb_609>div{flex:1;min-width:0}._page_18hzb_1 ._productTitle_18hzb_630{-webkit-line-clamp:2;white-space:normal;color:var(--omni-paint-ink-6ecdf4,#6ecdf4);text-align:left;cursor:pointer;background:0 0;border:0;-webkit-box-orient:vertical;max-width:250px;padding:0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}._identity_18hzb_609 small{color:var(--omni-paint-ink-6d8ba7,#6d8ba7);white-space:nowrap;align-items:center;gap:5px;margin-top:4px;font-size:10px;display:flex}._copyControl_18hzb_748 ._copyButton_18hzb_748{background:var(--omni-paint-surface-1b344a,#1b344a);color:var(--omni-paint-ink-91b3cc,#91b3cc);border:0;border-radius:2px;padding:2px 3px}._copyControl_18hzb_748{flex-shrink:0;align-items:center;display:inline-flex;position:relative}._copyControl_18hzb_748 ._copyButton_18hzb_748[data-copied=true]{color:var(--omni-success,var(--omni-paint-ink-65d8b4,#65d8b4));background:var(--omni-selected,var(--omni-paint-surface-163d37,#163d37))}._copyFeedback_18hzb_765{background:var(--omni-panel,var(--omni-paint-surface-102235,#102235));border:1px solid var(--omni-line,var(--omni-paint-line-2c435b,#2c435b));color:var(--omni-text,var(--omni-paint-ink-daebff,#daebff));white-space:nowrap;pointer-events:none;z-index:3;border-radius:4px;padding:3px 6px;font-size:11px;line-height:1.4;position:absolute;bottom:calc(100% + 4px);right:0}._shopId_18hzb_780{align-items:center;gap:6px;font-size:11px;display:flex}._page_18hzb_1 ._linkButton_18hzb_786{color:var(--omni-paint-ink-85bfdd,#85bfdd);background:0 0;border:0;padding:2px 0;font-size:12px}._anomaly_18hzb_793{color:var(--omni-paint-ink-f3b583,#f3b583)}._pagination_18hzb_796{color:var(--omni-paint-ink-7f9ab3,#7f9ab3);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:16px 0 8px;font-size:11px;display:flex}._pagination_18hzb_796>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}._pagination_18hzb_796 button{background:0 0;border-color:#0000;min-width:29px;padding:5px 9px}._pagination_18hzb_796 button[aria-current=page]{color:var(--omni-paint-accent-70d0f5,#70d0f5);border-color:var(--omni-paint-line-3a94bb,#3a94bb);background:var(--omni-paint-surface-16364d,#16364d)}._pagination_18hzb_796 select{padding:5px 8px;font-size:11px}._pagination_18hzb_796 label{align-items:center;gap:7px;display:flex}._pagination_18hzb_796 input{width:50px;padding:5px}._ellipsis_18hzb_836{color:var(--omni-paint-ink-546f88,#546f88);margin:0 9px}._notice_18hzb_840{color:var(--omni-paint-ink-bcae88,#bcae88);background:var(--omni-paint-surface-2b281f,#2b281f);border:1px solid var(--omni-paint-line-5b4d31,#5b4d31);border-radius:4px;margin:12px 0;padding:9px 12px;font-size:11px;line-height:1.7}._sources_18hzb_850{color:var(--omni-paint-ink-647f98,#647f98);margin-top:18px;font-size:11px;line-height:1.9}._sources_18hzb_850 summary{cursor:pointer;width:fit-content;color:var(--omni-paint-ink-86a6c0,#86a6c0);align-items:center;gap:5px;display:flex}._sources_18hzb_850 p{overflow-wrap:anywhere}._empty_18hzb_867{text-align:center;color:var(--omni-paint-ink-7f9bb4,#7f9bb4);white-space:normal;padding:45px 20px;font-size:12px}._emptyState_18hzb_874{text-align:center;border:1px solid var(--omni-paint-line-28455f,#28455f);background:var(--omni-paint-surface-0d2135,#0d2135);border-radius:8px;margin-top:24px;padding:100px 20px}._emptyState_18hzb_874>svg{color:var(--omni-paint-ink-5db3d6,#5db3d6)}._emptyState_18hzb_874 h2{font-size:18px;font-weight:550}._emptyState_18hzb_874 p{color:var(--omni-paint-ink-7899b5,#7899b5);font-size:12px}._emptyState_18hzb_874 button{margin-top:15px}._seasonBoard_18hzb_896{overflow:auto}._seasonBoard_18hzb_896 td:first-child{min-width:200px}._hot_18hzb_902,._cold_18hzb_903,._neutral_18hzb_904{text-align:center;border-radius:6px;padding:12px 20px;display:block}._hot_18hzb_902{background:var(--omni-paint-surface-633c31,#633c31);color:var(--omni-paint-ink-f2c0ab,#f2c0ab)}._cold_18hzb_903{background:var(--omni-paint-surface-1d4778,#1d4778);color:var(--omni-paint-ink-b0d7ff,#b0d7ff)}._neutral_18hzb_904{background:var(--omni-paint-surface-2c3a49,#2c3a49);color:var(--omni-paint-ink-b7c9dc,#b7c9dc)}._yearBoards_18hzb_922{align-items:stretch;gap:16px;min-height:400px;padding-bottom:10px;display:flex;overflow:auto}._yearBoards_18hzb_922>article{border:1px solid var(--omni-paint-line-29445f,#29445f);background:var(--omni-paint-surface-0d2033,#0d2033);width:420px;min-width:420px}._yearBoards_18hzb_922 h2{text-align:center;background:var(--omni-paint-surface-142d44,#142d44);z-index:2;margin:0;padding:9px;font-size:13px;font-weight:600;position:sticky;top:0}._yearBoards_18hzb_922 th{top:37px}._yearBoards_18hzb_922 ._identity_18hzb_609{min-width:230px;max-width:250px}._yearBoards_18hzb_922 ._productTitle_18hzb_630{-webkit-line-clamp:1}._yearBoards_18hzb_922 ._identity_18hzb_609 small{display:none}._yearBoards_18hzb_922 td>small{color:var(--omni-paint-ink-6384a1,#6384a1);margin-top:3px;font-size:10px;display:block}._productGrid_18hzb_966{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding-inline:12px;display:grid;overflow:visible}._productGrid_18hzb_966 article{border:1px solid var(--omni-paint-line-29455e,#29455e);background:var(--omni-paint-surface-10243a,#10243a);border-radius:5px;min-width:0;padding:12px;position:relative}._productGrid_18hzb_966 article:hover,._productGrid_18hzb_966 article:focus-within{z-index:20}._gridDetails_18hzb_985{border:1px solid var(--omni-line,var(--omni-paint-line-29455e,#29455e));background:var(--omni-panel,var(--omni-paint-surface-10243a,#10243a));max-height:min(420px,60vh);box-shadow:0 12px 24px var(--omni-paint-shadow-0006,#0006);visibility:hidden;opacity:0;pointer-events:none;border-radius:0 0 5px 5px;padding:12px;position:absolute;top:100%;left:-1px;right:-1px;overflow:auto}._productGrid_18hzb_966 article:hover ._gridDetails_18hzb_985,._productGrid_18hzb_966 article:focus-within ._gridDetails_18hzb_985{visibility:visible;opacity:1;pointer-events:auto}._largeImage_18hzb_1007{aspect-ratio:1;background:var(--omni-paint-surface-112b40,#112b40);height:auto;color:var(--omni-paint-ink-4c7897,#4c7897);justify-content:center;align-items:center;margin-bottom:0;display:flex;position:relative}._largeImage_18hzb_1007 img{object-fit:contain;width:100%;height:100%}._page_18hzb_1 ._largeImage_18hzb_1007>._imageButton_18hzb_616{width:100%;height:100%}._largeImage_18hzb_1007>span{background:var(--omni-paint-surface-0a192cba,#0a192cba);color:var(--omni-paint-ink-8bb6d0,#8bb6d0);border-radius:3px;padding:2px 5px;font-size:10px;position:absolute;top:6px;left:6px}._largeImage_18hzb_1007>._iconButton_18hzb_399{position:absolute;top:5px;right:5px}._productGrid_18hzb_966 ._identity_18hzb_609{min-width:0}._productGrid_18hzb_966 ._identity_18hzb_609>._imageButton_18hzb_616,._productGrid_18hzb_966 ._noImage_18hzb_705{display:none}._gridDetails_18hzb_985>p{color:var(--omni-paint-ink-7094af,#7094af);font-size:11px}._productGrid_18hzb_966 dl{margin:10px 0;font-size:11px}._productGrid_18hzb_966 dl>div{border-top:1px solid var(--omni-paint-line-233e55,#233e55);justify-content:space-between;padding:5px 0;display:flex}._page_18hzb_1 dt{color:var(--omni-paint-ink-7395b0,#7395b0)}._page_18hzb_1 dd{color:var(--omni-paint-ink-b3cde1,#b3cde1);font-variant-numeric:tabular-nums;margin:0}._gridDetails_18hzb_985>button{width:100%;font-size:11px}._picker_18hzb_1075{min-width:180px;max-width:400px;position:relative}._picker_18hzb_1075 summary{cursor:pointer;border:1px solid var(--omni-paint-line-36516b,#36516b);background:var(--omni-paint-surface-10243a,#10243a);border-radius:4px;justify-content:space-between;align-items:center;gap:14px;min-height:33px;padding:6px 10px;font-size:12px;list-style:none;display:flex}._picker_18hzb_1075 summary::-webkit-details-marker{display:none}._picker_18hzb_1075 summary[aria-disabled=true]{opacity:.45;cursor:default}._picker_18hzb_1075 summary>svg{flex-shrink:0}._pickerPanel_18hzb_1104{z-index:10;background:var(--omni-paint-surface-10283e,#10283e);border:1px solid var(--omni-paint-line-3c6381,#3c6381);width:max-content;min-width:300px;max-width:min(900px,100vw - 70px);box-shadow:0 12px 35px var(--omni-paint-shadow-0008,#0008);border-radius:6px;padding:12px;position:absolute;top:40px;left:0}._pickerPanel_18hzb_1104>label{align-items:center;gap:8px;margin-bottom:10px;display:flex}._pickerPanel_18hzb_1104 input{background:var(--omni-paint-surface-0a1b2d,#0a1b2d);width:100%;font-size:12px}._pickerModes_18hzb_1129{gap:6px;margin-bottom:8px;display:flex}._page_18hzb_1 ._pickerModes_18hzb_1129 button{border:1px solid var(--omni-line,var(--omni-paint-line-2c435b,#2c435b));background:0 0;font-size:12px}._page_18hzb_1 ._pickerModes_18hzb_1129 button[aria-pressed=true]{background:var(--omni-panel,var(--omni-paint-surface-102235,#102235));color:var(--omni-accent,var(--omni-paint-ink-61d3f7,#61d3f7));border-color:currentColor}._pickerEmpty_18hzb_1144{color:var(--omni-muted,var(--omni-paint-ink-829ab3,#829ab3));padding:12px 8px;font-size:12px}._page_18hzb_1 ._pickerPanel_18hzb_1104>button{color:var(--omni-paint-ink-75c6ed,#75c6ed);background:0 0;border:0;padding:5px 8px;font-size:12px}._cascade_18hzb_1156{max-height:350px;margin-top:6px;display:flex;overflow:auto}._cascade_18hzb_1156>div{border-right:1px solid var(--omni-paint-line-2c4861,#2c4861);width:225px;min-width:225px;max-height:340px;overflow:auto}._cascade_18hzb_1156>div:last-child{border-right:0}._cascade_18hzb_1156>div>div{justify-content:space-between;align-items:center;padding:2px 5px;display:flex}._page_18hzb_1 ._cascade_18hzb_1156 button{white-space:normal;text-align:left;background:0 0;border:0;justify-content:flex-start;padding:6px;font-size:11px}._cascade_18hzb_1156>div>div>button:first-child{flex:1}._selectedCategory_18hzb_1190{background:var(--omni-paint-surface-1b405c,#1b405c)}._pickerResults_18hzb_1193{min-width:300px;max-width:700px;max-height:350px;overflow:auto}._page_18hzb_1 ._pickerResults_18hzb_1193 button{text-align:left;background:0 0;border:0;width:100%;font-size:12px;display:block}._dialog_18hzb_1207{background:var(--omni-paint-surface-10263c,#10263c);border:1px solid var(--omni-paint-line-436987,#436987);width:min(790px,100vw - 30px);max-height:85vh;color:var(--omni-paint-ink-dbeaf8,#dbeaf8);box-shadow:0 25px 80px var(--omni-paint-shadow-0008,#0008);border-radius:10px;margin:auto;padding:22px;position:fixed;inset:0;overflow:auto}._dialog_18hzb_1207::backdrop{background:var(--omni-paint-overlay-020b15b0,#020b15b0);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}._dialog_18hzb_1207>header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}._dialog_18hzb_1207 h2{margin:0;font-size:17px;font-weight:550;line-height:1.6}._dialog_18hzb_1207 h3{color:var(--omni-paint-ink-96b4cc,#96b4cc);margin:12px 0;font-size:12px}._dialog_18hzb_1207>header button{background:0 0;border:0;padding:2px}._fieldLayout_18hzb_1248{grid-template-columns:1fr 1.2fr;gap:25px;display:grid}._fieldLayout_18hzb_1248>section:first-child{border-right:1px solid var(--omni-paint-line-32536d,#32536d);padding-right:20px}._fieldLayout_18hzb_1248 label{align-items:center;gap:9px;margin:14px 0;font-size:12px;display:flex}._page_18hzb_1 input[type=checkbox]{accent-color:var(--omni-paint-ink-2caddb,#2caddb)}._fieldTools_18hzb_1267{color:var(--omni-paint-ink-84a5bf,#84a5bf);align-items:center;gap:8px;font-size:11px;display:flex}._fieldTools_18hzb_1267>span{margin-right:auto}._fieldTools_18hzb_1267 button{padding:3px 6px;font-size:10px}._fieldLayout_18hzb_1248 ol{padding:0;list-style:none}._fieldLayout_18hzb_1248 li{border:1px solid var(--omni-paint-line-2e526c,#2e526c);background:var(--omni-paint-surface-112d45,#112d45);border-radius:4px;align-items:center;gap:5px;margin:6px 0;padding:7px 9px;font-size:12px;display:flex}._fieldLayout_18hzb_1248 li>span{margin-right:auto}._fieldLayout_18hzb_1248 li>button{padding:1px 6px;font-size:11px}._dialogActions_18hzb_1303{border-top:1px solid var(--omni-paint-line-2e4e68,#2e4e68);justify-content:flex-end;gap:10px;margin-top:22px;padding-top:16px;display:flex}._chart_18hzb_1311{min-width:0;height:260px;overflow:hidden}._detailScope_18hzb_1316{color:var(--omni-paint-ink-81a2bd,#81a2bd);overflow-wrap:anywhere;font-size:11px}._detailMetrics_18hzb_1321{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;font-size:11px;display:grid}._detailMetrics_18hzb_1321>div{background:var(--omni-paint-surface-0c1e31,#0c1e31);border-radius:5px;padding:12px}._detailMetrics_18hzb_1321 dd{margin-top:7px;font-size:15px}@media (width<=1500px){._productGrid_18hzb_966{grid-template-columns:repeat(4,minmax(0,1fr))}._period_18hzb_163{display:none}._toolbar_18hzb_90{gap:8px}._search_18hzb_461 input{width:230px!important}}@media (width<=1050px){._categoryRows_18hzb_260{row-gap:8px}._categoryRow_18hzb_260{min-height:61px}._dateControl_18hzb_140{justify-content:flex-start;margin-left:0}._filterBar_18hzb_86{gap:12px}._productGrid_18hzb_966{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){._page_18hzb_1{padding:0 0 24px}._stickyHeader_18hzb_74{padding-left:12px;padding-right:12px}._tabs_18hzb_94{margin-left:-12px;margin-right:-12px;padding:0 12px}._picker_18hzb_1075{max-width:calc(100vw - 110px)}._categoryName_18hzb_334>span{font-size:11px!important}._categoryHeaders_18hzb_259>div{font-size:10px}._categoryRow_18hzb_260>strong,._categoryRow_18hzb_260>span{font-size:11px}._dateControl_18hzb_140{gap:6px}._dateControl_18hzb_140 ._segment_18hzb_191{margin-left:0}._search_18hzb_461{width:100%}._page_18hzb_1 ._search_18hzb_461 input{width:100%!important}._toolbar_18hzb_90>._segment_18hzb_191{margin-left:auto}._price_18hzb_491{flex-wrap:wrap}._productGrid_18hzb_966{grid-template-columns:repeat(2,minmax(0,1fr))}._largeImage_18hzb_1007{height:140px}._pickerPanel_18hzb_1104{min-width:280px;max-width:calc(100vw - 26px)}._cascade_18hzb_1156>div{width:160px;min-width:160px}._fieldLayout_18hzb_1248{grid-template-columns:1fr 1.2fr;gap:12px}._fieldTools_18hzb_1267{flex-wrap:wrap}._fieldTools_18hzb_1267>span{width:100%}._fieldLayout_18hzb_1248>section:first-child{padding-right:8px}._dialog_18hzb_1207{padding:16px}._detailMetrics_18hzb_1321{grid-template-columns:repeat(2,minmax(0,1fr))}._pagination_18hzb_796>span{width:100%}._yearBoards_18hzb_922>article{width:340px;min-width:340px}._count_18hzb_148{font-size:10px}._productGrid_18hzb_966 article{padding:8px}}@media (prefers-reduced-motion:reduce){._categoryRow_18hzb_260{transition:none}}:root[data-omni-theme=light]{--omni-paint-surface-0a1524:#f5f6fa;--omni-paint-ink-dbe8f5:#252831;--omni-paint-line-30465e:#dde1eb;--omni-paint-surface-102239:#fff;--omni-paint-surface-193852:#fff;--omni-paint-line-4b92b9:#dde1eb;--omni-paint-line-60d2f6:#dde1eb;--omni-paint-ink-69c9f1:#626e80;--omni-paint-surface-187da7:#eef0ff;--omni-paint-line-298fac:#dde1eb;--omni-paint-ink-f1fbff:#252831;--omni-paint-line-263d55:#dde1eb;--omni-paint-ink-829ab3:#626e80;--omni-paint-ink-91a8be:#626e80;--omni-paint-ink-93abc0:#626e80;--omni-paint-ink-74c8ec:#626e80;--omni-paint-surface-112d43:#fff;--omni-paint-line-2a6386:#dde1eb;--omni-paint-ink-6e87a0:#626e80;--omni-paint-ink-9dbcd7:#626e80;--omni-paint-ink-61d3f7:#626e80;--omni-paint-ink-65ccf0:#626e80;--omni-paint-surface-14273c:#fff;--omni-paint-surface-101f32:#fff;--omni-paint-line-283e56:#dde1eb;--omni-paint-ink-7e97b0:#626e80;--omni-paint-surface-1b3b55:#fff;--omni-paint-ink-a6e7fc:#626e80;--omni-paint-shadow-020b1633:#0000000d;--omni-paint-ink-b8d8ea:#626e80;--omni-paint-line-345b72:#dde1eb;--omni-paint-surface-133049:#fff;--omni-paint-ink-718ca6:#626e80;--omni-paint-line-29425b:#dde1eb;--omni-paint-surface-153049:#fff;--omni-paint-line-397391:#dde1eb;--omni-paint-surface-102235:#fff;--omni-paint-line-2c435b:#dde1eb;--omni-paint-surface-61d3df:#eef0ff;--omni-paint-ink-d5e6f5:#252831;--omni-paint-ink-78d6f6:#626e80;--omni-paint-ink-70cfff:#626e80;--omni-paint-ink-9cb5cc:#626e80;--omni-paint-ink-688ba8:#626e80;--omni-paint-ink-68d3f4:#626e80;--omni-paint-surface-1c3c56:#fff;--omni-paint-line-335a73:#dde1eb;--omni-paint-ink-89cae7:#626e80;--omni-paint-ink-9fb3c7:#626e80;--omni-paint-line-47c5ee:#dde1eb;--omni-paint-ink-75d6f5:#626e80;--omni-paint-surface-0d1d30:#f5f6fa;--omni-paint-ink-6e8fa9:#626e80;--omni-paint-ink-adc4d9:#626e80;--omni-paint-ink-526d87:#626e80;--omni-paint-ink-91abc4:#626e80;--omni-paint-ink-cce3f4:#252831;--omni-paint-line-6185a1:#dde1eb;--omni-paint-line-233d55:#dde1eb;--omni-paint-surface-0d1e31:#fff;--omni-paint-ink-375572:#626e80;--omni-paint-ink-102138:#252831;--omni-paint-surface-162b40:#fff;--omni-paint-ink-a8bfd4:#626e80;--omni-paint-line-334c65:#dde1eb;--omni-paint-line-22384e:#dde1eb;--omni-paint-ink-acc1d4:#626e80;--omni-paint-surface-132b41:#fff;--omni-paint-ink-4b6782:#626e80;--omni-paint-accent-6acdf7:#4055db;--omni-paint-ink-a2d7f2:#626e80;--omni-paint-surface-10263c:#fff;--omni-paint-shadow-0008:#0000001f;--omni-paint-surface-030914ed:#f5f6faed;--omni-paint-ink-e1edfa:#252831;--omni-paint-line-63768c:#dde1eb;--omni-paint-surface-18344b:#fff;--omni-paint-ink-507b99:#626e80;--omni-paint-ink-6ecdf4:#626e80;--omni-paint-ink-6d8ba7:#626e80;--omni-paint-surface-1b344a:#fff;--omni-paint-ink-91b3cc:#626e80;--omni-paint-ink-65d8b4:#626e80;--omni-paint-surface-163d37:#fff;--omni-paint-ink-daebff:#252831;--omni-paint-ink-85bfdd:#626e80;--omni-paint-ink-f3b583:#626e80;--omni-paint-ink-7f9ab3:#626e80;--omni-paint-accent-70d0f5:#4055db;--omni-paint-line-3a94bb:#dde1eb;--omni-paint-surface-16364d:#fff;--omni-paint-ink-546f88:#626e80;--omni-paint-ink-bcae88:#626e80;--omni-paint-surface-2b281f:#fff;--omni-paint-line-5b4d31:#dde1eb;--omni-paint-ink-647f98:#626e80;--omni-paint-ink-86a6c0:#626e80;--omni-paint-ink-7f9bb4:#626e80;--omni-paint-line-28455f:#dde1eb;--omni-paint-surface-0d2135:#fff;--omni-paint-ink-5db3d6:#626e80;--omni-paint-ink-7899b5:#626e80;--omni-paint-surface-633c31:#fff;--omni-paint-ink-f2c0ab:#626e80;--omni-paint-surface-1d4778:#fff;--omni-paint-ink-b0d7ff:#252831;--omni-paint-surface-2c3a49:#fff;--omni-paint-ink-b7c9dc:#626e80;--omni-paint-line-29445f:#dde1eb;--omni-paint-surface-0d2033:#fff;--omni-paint-surface-142d44:#fff;--omni-paint-ink-6384a1:#626e80;--omni-paint-line-29455e:#dde1eb;--omni-paint-surface-10243a:#fff;--omni-paint-shadow-0006:#0000001a;--omni-paint-surface-112b40:#fff;--omni-paint-ink-4c7897:#626e80;--omni-paint-surface-0a192cba:#f5f6faba;--omni-paint-ink-8bb6d0:#626e80;--omni-paint-ink-7094af:#626e80;--omni-paint-line-233e55:#dde1eb;--omni-paint-ink-7395b0:#626e80;--omni-paint-ink-b3cde1:#626e80;--omni-paint-line-36516b:#dde1eb;--omni-paint-surface-10283e:#fff;--omni-paint-line-3c6381:#dde1eb;--omni-paint-surface-0a1b2d:#f5f6fa;--omni-paint-ink-75c6ed:#626e80;--omni-paint-line-2c4861:#dde1eb;--omni-paint-surface-1b405c:#fff;--omni-paint-line-436987:#dde1eb;--omni-paint-ink-dbeaf8:#252831;--omni-paint-overlay-020b15b0:#020a1580;--omni-paint-ink-96b4cc:#626e80;--omni-paint-line-32536d:#dde1eb;--omni-paint-ink-2caddb:#626e80;--omni-paint-ink-84a5bf:#626e80;--omni-paint-line-2e526c:#dde1eb;--omni-paint-surface-112d45:#fff;--omni-paint-line-2e4e68:#dde1eb;--omni-paint-ink-81a2bd:#626e80;--omni-paint-surface-0c1e31:#f5f6fa}:root[data-omni-theme=dark]{--omni-paint-surface-0a1524:#0b1727;--omni-paint-ink-dbe8f5:#dceaf7;--omni-paint-line-30465e:#2c435b;--omni-paint-surface-102239:#102235;--omni-paint-surface-193852:#102235;--omni-paint-line-4b92b9:#2c435b;--omni-paint-line-60d2f6:#2c435b;--omni-paint-ink-69c9f1:#91a9bd;--omni-paint-surface-187da7:#193954;--omni-paint-line-298fac:#2c435b;--omni-paint-ink-f1fbff:#dceaf7;--omni-paint-line-263d55:#2c435b;--omni-paint-ink-829ab3:#91a9bd;--omni-paint-ink-91a8be:#91a9bd;--omni-paint-ink-93abc0:#91a9bd;--omni-paint-ink-74c8ec:#91a9bd;--omni-paint-surface-112d43:#102235;--omni-paint-line-2a6386:#2c435b;--omni-paint-ink-6e87a0:#91a9bd;--omni-paint-ink-9dbcd7:#91a9bd;--omni-paint-ink-61d3f7:#91a9bd;--omni-paint-ink-65ccf0:#91a9bd;--omni-paint-surface-14273c:#102235;--omni-paint-surface-101f32:#102235;--omni-paint-line-283e56:#2c435b;--omni-paint-ink-7e97b0:#91a9bd;--omni-paint-surface-1b3b55:#102235;--omni-paint-ink-a6e7fc:#91a9bd;--omni-paint-shadow-020b1633:#0000000d;--omni-paint-ink-b8d8ea:#91a9bd;--omni-paint-line-345b72:#2c435b;--omni-paint-surface-133049:#102235;--omni-paint-ink-718ca6:#91a9bd;--omni-paint-line-29425b:#2c435b;--omni-paint-surface-153049:#102235;--omni-paint-line-397391:#2c435b;--omni-paint-surface-102235:#102235;--omni-paint-line-2c435b:#2c435b;--omni-paint-surface-61d3df:#193954;--omni-paint-ink-d5e6f5:#dceaf7;--omni-paint-ink-78d6f6:#91a9bd;--omni-paint-ink-70cfff:#91a9bd;--omni-paint-ink-9cb5cc:#91a9bd;--omni-paint-ink-688ba8:#91a9bd;--omni-paint-ink-68d3f4:#91a9bd;--omni-paint-surface-1c3c56:#102235;--omni-paint-line-335a73:#2c435b;--omni-paint-ink-89cae7:#91a9bd;--omni-paint-ink-9fb3c7:#91a9bd;--omni-paint-line-47c5ee:#2c435b;--omni-paint-ink-75d6f5:#91a9bd;--omni-paint-surface-0d1d30:#0b1727;--omni-paint-ink-6e8fa9:#91a9bd;--omni-paint-ink-adc4d9:#91a9bd;--omni-paint-ink-526d87:#91a9bd;--omni-paint-ink-91abc4:#91a9bd;--omni-paint-ink-cce3f4:#dceaf7;--omni-paint-line-6185a1:#2c435b;--omni-paint-line-233d55:#2c435b;--omni-paint-surface-0d1e31:#102235;--omni-paint-ink-375572:#91a9bd;--omni-paint-ink-102138:#dceaf7;--omni-paint-surface-162b40:#102235;--omni-paint-ink-a8bfd4:#91a9bd;--omni-paint-line-334c65:#2c435b;--omni-paint-line-22384e:#2c435b;--omni-paint-ink-acc1d4:#91a9bd;--omni-paint-surface-132b41:#102235;--omni-paint-ink-4b6782:#91a9bd;--omni-paint-accent-6acdf7:#61d3df;--omni-paint-ink-a2d7f2:#91a9bd;--omni-paint-surface-10263c:#102235;--omni-paint-shadow-0008:#0000001f;--omni-paint-surface-030914ed:#0b1727ed;--omni-paint-ink-e1edfa:#dceaf7;--omni-paint-line-63768c:#2c435b;--omni-paint-surface-18344b:#102235;--omni-paint-ink-507b99:#91a9bd;--omni-paint-ink-6ecdf4:#91a9bd;--omni-paint-ink-6d8ba7:#91a9bd;--omni-paint-surface-1b344a:#102235;--omni-paint-ink-91b3cc:#91a9bd;--omni-paint-ink-65d8b4:#91a9bd;--omni-paint-surface-163d37:#102235;--omni-paint-ink-daebff:#dceaf7;--omni-paint-ink-85bfdd:#91a9bd;--omni-paint-ink-f3b583:#91a9bd;--omni-paint-ink-7f9ab3:#91a9bd;--omni-paint-accent-70d0f5:#61d3df;--omni-paint-line-3a94bb:#2c435b;--omni-paint-surface-16364d:#102235;--omni-paint-ink-546f88:#91a9bd;--omni-paint-ink-bcae88:#91a9bd;--omni-paint-surface-2b281f:#102235;--omni-paint-line-5b4d31:#2c435b;--omni-paint-ink-647f98:#91a9bd;--omni-paint-ink-86a6c0:#91a9bd;--omni-paint-ink-7f9bb4:#91a9bd;--omni-paint-line-28455f:#2c435b;--omni-paint-surface-0d2135:#102235;--omni-paint-ink-5db3d6:#91a9bd;--omni-paint-ink-7899b5:#91a9bd;--omni-paint-surface-633c31:#102235;--omni-paint-ink-f2c0ab:#91a9bd;--omni-paint-surface-1d4778:#102235;--omni-paint-ink-b0d7ff:#dceaf7;--omni-paint-surface-2c3a49:#102235;--omni-paint-ink-b7c9dc:#91a9bd;--omni-paint-line-29445f:#2c435b;--omni-paint-surface-0d2033:#102235;--omni-paint-surface-142d44:#102235;--omni-paint-ink-6384a1:#91a9bd;--omni-paint-line-29455e:#2c435b;--omni-paint-surface-10243a:#102235;--omni-paint-shadow-0006:#0000001a;--omni-paint-surface-112b40:#102235;--omni-paint-ink-4c7897:#91a9bd;--omni-paint-surface-0a192cba:#0b1727ba;--omni-paint-ink-8bb6d0:#91a9bd;--omni-paint-ink-7094af:#91a9bd;--omni-paint-line-233e55:#2c435b;--omni-paint-ink-7395b0:#91a9bd;--omni-paint-ink-b3cde1:#91a9bd;--omni-paint-line-36516b:#2c435b;--omni-paint-surface-10283e:#102235;--omni-paint-line-3c6381:#2c435b;--omni-paint-surface-0a1b2d:#0b1727;--omni-paint-ink-75c6ed:#91a9bd;--omni-paint-line-2c4861:#2c435b;--omni-paint-surface-1b405c:#102235;--omni-paint-line-436987:#2c435b;--omni-paint-ink-dbeaf8:#dceaf7;--omni-paint-overlay-020b15b0:#020a1580;--omni-paint-ink-96b4cc:#91a9bd;--omni-paint-line-32536d:#2c435b;--omni-paint-ink-2caddb:#91a9bd;--omni-paint-ink-84a5bf:#91a9bd;--omni-paint-line-2e526c:#2c435b;--omni-paint-surface-112d45:#102235;--omni-paint-line-2e4e68:#2c435b;--omni-paint-ink-81a2bd:#91a9bd;--omni-paint-surface-0c1e31:#0b1727}
@@ -0,0 +1 @@
1
+ var e={page:`_page_18hzb_1`,primary:`_primary_18hzb_69`,stickyHeader:`_stickyHeader_18hzb_74`,breadcrumb:`_breadcrumb_18hzb_83`,filterBar:`_filterBar_18hzb_86`,toolbar:`_toolbar_18hzb_90`,tabs:`_tabs_18hzb_94`,categoryControl:`_categoryControl_18hzb_139`,dateControl:`_dateControl_18hzb_140`,count:`_count_18hzb_148`,period:`_period_18hzb_163`,yearButton:`_yearButton_18hzb_168`,segment:`_segment_18hzb_191`,message:`_message_18hzb_215`,categoryList:`_categoryList_18hzb_231`,categoryLegend:`_categoryLegend_18hzb_237`,categoryHeaders:`_categoryHeaders_18hzb_259`,categoryRows:`_categoryRows_18hzb_260`,categoryRow:`_categoryRow_18hzb_260`,categoryName:`_categoryName_18hzb_334`,categoryOpen:`_categoryOpen_18hzb_342`,iconButton:`_iconButton_18hzb_399`,rowActions:`_rowActions_18hzb_408`,search:`_search_18hzb_461`,price:`_price_18hzb_491`,configButton:`_configButton_18hzb_515`,tableScroll:`_tableScroll_18hzb_523`,sort:`_sort_18hzb_570`,activeSort:`_activeSort_18hzb_574`,productTable:`_productTable_18hzb_578`,shopTable:`_shopTable_18hzb_581`,shopName:`_shopName_18hzb_599`,sales:`_sales_18hzb_605`,identity:`_identity_18hzb_609`,imageButton:`_imageButton_18hzb_616`,productTitleRow:`_productTitleRow_18hzb_630`,productId:`_productId_18hzb_642`,imageHoverPreview:`_imageHoverPreview_18hzb_649`,imageViewer:`_imageViewer_18hzb_665`,imageViewerClose:`_imageViewerClose_18hzb_692`,noImage:`_noImage_18hzb_705`,productTitle:`_productTitle_18hzb_630`,copyControl:`_copyControl_18hzb_748`,copyButton:`_copyButton_18hzb_748`,copyFeedback:`_copyFeedback_18hzb_765`,shopId:`_shopId_18hzb_780`,linkButton:`_linkButton_18hzb_786`,anomaly:`_anomaly_18hzb_793`,pagination:`_pagination_18hzb_796`,ellipsis:`_ellipsis_18hzb_836`,notice:`_notice_18hzb_840`,sources:`_sources_18hzb_850`,empty:`_empty_18hzb_867`,emptyState:`_emptyState_18hzb_874`,seasonBoard:`_seasonBoard_18hzb_896`,hot:`_hot_18hzb_902`,cold:`_cold_18hzb_903`,neutral:`_neutral_18hzb_904`,yearBoards:`_yearBoards_18hzb_922`,productGrid:`_productGrid_18hzb_966`,gridDetails:`_gridDetails_18hzb_985`,largeImage:`_largeImage_18hzb_1007`,picker:`_picker_18hzb_1075`,pickerPanel:`_pickerPanel_18hzb_1104`,pickerModes:`_pickerModes_18hzb_1129`,pickerEmpty:`_pickerEmpty_18hzb_1144`,cascade:`_cascade_18hzb_1156`,selectedCategory:`_selectedCategory_18hzb_1190`,pickerResults:`_pickerResults_18hzb_1193`,dialog:`_dialog_18hzb_1207`,fieldLayout:`_fieldLayout_18hzb_1248`,fieldTools:`_fieldTools_18hzb_1267`,dialogActions:`_dialogActions_18hzb_1303`,chart:`_chart_18hzb_1311`,detailScope:`_detailScope_18hzb_1316`,detailMetrics:`_detailMetrics_18hzb_1321`};export{e as t};
@@ -0,0 +1 @@
1
+ import{a as e,g as t,p as n}from"./index-Cez2mr3h.js";var r=t(n(),1),i=e(),a=(0,r.createContext)(null);function o({value:e,children:t}){return(0,i.jsx)(a.Provider,{value:e,children:t})}function s(){let e=(0,r.useContext)(a);if(!e)throw Error(`模块需要在授权工作区中打开`);return e}export{s as n,o as t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]),n=e(`pin`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]);export{t as n,n as t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
@@ -0,0 +1 @@
1
+ :is(.products-module,.workbench-module) .gw-product-detail button:not(.gw-primary){border:1px solid var(--omni-paint-line-385667,#385667);background:var(--omni-paint-surface-142b3a,#142b3a);color:var(--omni-paint-ink-afd0db,#afd0db);border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:11px;display:inline-flex}:is(.products-module,.workbench-module) .gw-operating{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}:is(.products-module,.workbench-module) .gw-tag{border:1px solid var(--omni-paint-line-3a5260,#3a5260);background:var(--omni-paint-surface-1c323f,#1c323f);color:var(--omni-paint-ink-9db8c6,#9db8c6);white-space:nowrap;border-radius:4px;padding:5px 8px;font-size:10px;display:inline-block}:is(.products-module,.workbench-module) .gw-tag.test{background:var(--omni-paint-surface-1d3b50,#1d3b50);color:var(--omni-paint-ink-83caff,#83caff);border-color:var(--omni-paint-line-3a6d90,#3a6d90)}:is(.products-module,.workbench-module) .gw-tag.incubate{background:var(--omni-paint-surface-302d4d,#302d4d);color:var(--omni-paint-ink-b9a9ff,#b9a9ff);border-color:var(--omni-paint-line-615580,#615580)}:is(.products-module,.workbench-module) .gw-tag.scale{background:var(--omni-paint-surface-1e3d37,#1e3d37);color:var(--omni-paint-ink-94e4c3,#94e4c3);border-color:var(--omni-paint-line-447a67,#447a67)}:is(.products-module,.workbench-module) .gw-selected-product{justify-content:space-between;align-items:center;margin:20px 0;display:flex}:is(.products-module,.workbench-module) .gw-selected-product h3{color:var(--omni-paint-ink-c7ece6,#c7ece6);margin:8px 0 12px;font:23px monospace}:is(.products-module,.workbench-module) .gw-selected-product small{color:var(--omni-paint-ink-7e9fac,#7e9fac);font-size:10px}:is(.products-module,.workbench-module) .gw-metric-selector{border-top:1px solid var(--omni-paint-line-294757,#294757);flex-wrap:wrap;align-items:center;gap:12px;padding-top:18px;display:flex}:is(.products-module,.workbench-module) .gw-metric-selector select{background:var(--omni-paint-surface-142e3e,#142e3e);border:1px solid var(--omni-paint-line-355569,#355569);color:var(--omni-paint-ink-a4ccd5,#a4ccd5);width:auto;max-width:70%;margin:0;padding:7px;font-size:11px}:is(.products-module,.workbench-module) .gw-metric-selector strong{color:var(--omni-paint-ink-a7f4d7,#a7f4d7);margin-left:auto;font:25px monospace}:is(.products-module,.workbench-module) .gw-metric-selector strong small{color:var(--omni-paint-ink-6c96a4,#6c96a4);margin-left:4px;font:9px monospace}:is(.products-module,.workbench-module) .gw-metric-selector>span{width:100%;color:var(--omni-paint-ink-7aa3b4,#7aa3b4);font-size:9px}:is(.products-module,.workbench-module) .gw-chart{padding:18px 0 12px}:is(.products-module,.workbench-module) .gw-chart svg{width:100%;display:block;overflow:visible}:is(.products-module,.workbench-module) .gw-chart .grid{stroke:var(--omni-paint-chart-2a4656,#2a4656);stroke-dasharray:3 5;stroke-width:1px}:is(.products-module,.workbench-module) .gw-chart .plot line{stroke:var(--omni-paint-chart-83efc7,#83efc7);stroke-width:2px}:is(.products-module,.workbench-module) .gw-chart .plot circle{fill:var(--omni-paint-chart-b4ffe0,#b4ffe0);stroke:var(--omni-paint-chart-1b3f3a,#1b3f3a);stroke-width:1px}:is(.products-module,.workbench-module) .gw-chart text{fill:var(--omni-paint-ink-739cac,#739cac);font:9px monospace}:is(.products-module,.workbench-module) .gw-chart>span{color:var(--omni-paint-ink-5c879a,#5c879a);font-size:8px}:is(.products-module,.workbench-module) .gw-points{color:var(--omni-paint-ink-8eb6c3,#8eb6c3);margin-bottom:18px;font-size:10px}:is(.products-module,.workbench-module) .gw-points summary{cursor:pointer;padding:8px 0}:is(.products-module,.workbench-module) .gw-next{border:1px solid var(--omni-paint-line-355e60,#355e60);background:linear-gradient(125deg,var(--omni-paint-surface-1c3d3e,#1c3d3e),var(--omni-paint-surface-122c3c,#122c3c));border-radius:6px;padding:18px}:is(.products-module,.workbench-module) .gw-next>span{letter-spacing:1.5px;color:var(--omni-paint-ink-6bac9f,#6bac9f);font:8px monospace}:is(.products-module,.workbench-module) .gw-next h3{color:var(--omni-paint-ink-cae8df,#cae8df);margin:10px 0;font-size:14px;font-weight:500;line-height:1.8}:is(.products-module,.workbench-module) .gw-next p{color:var(--omni-paint-ink-7fa7b4,#7fa7b4);font-size:10px;line-height:1.8}:is(.products-module,.workbench-module) .gw-next>div{flex-wrap:wrap;gap:9px;display:flex}:is(.products-module,.workbench-module) .gw-editor{background:var(--omni-paint-surface-152e3c,#152e3c);border:1px solid var(--omni-paint-line-49787a,#49787a);border-radius:6px;margin-bottom:20px;padding:15px}:is(.products-module,.workbench-module) .gw-editor label{color:var(--omni-paint-ink-a4c3ce,#a4c3ce);margin-bottom:12px;font-size:11px;display:block}:is(.products-module,.workbench-module) .gw-editor select,:is(.products-module,.workbench-module) .gw-editor textarea{width:100%;color:var(--omni-paint-ink-c7e1e4,#c7e1e4);background:var(--omni-paint-surface-102534,#102534);border:1px solid var(--omni-paint-line-335663,#335663);margin-top:7px;padding:10px;font-size:12px}:is(.products-module,.workbench-module) .gw-editor>small{color:var(--omni-paint-ink-739aa9,#739aa9);margin-top:10px;font-size:9px;display:block}:is(.products-module,.workbench-module) .gw-rule{background:var(--omni-paint-surface-182f3c,#182f3c);border-left:2px solid var(--omni-paint-line-85bfae,#85bfae);color:var(--omni-paint-ink-bdd5dc,#bdd5dc);margin-bottom:15px;padding:14px;font-size:12px}:is(.products-module,.workbench-module) .gw-rule p{color:var(--omni-paint-ink-88adbb,#88adbb);margin-bottom:0;font-size:11px;line-height:1.9}:is(.products-module,.workbench-module) .gw-chart-empty{text-align:center;min-height:200px;color:var(--omni-paint-ink-7fa7b7,#7fa7b7);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:25px;font-size:12px;display:flex}@media (width<=1200px){:is(.products-module,.workbench-module) .gw-operating{grid-template-columns:1fr}}@media (width<=500px){:is(.products-module,.workbench-module) .gw-next>div button{flex:1}}:is(.products-module,.workbench-module) .gw-products table{table-layout:fixed;min-width:450px}:is(.products-module,.workbench-module) .gw-products th:first-child{width:36%}:is(.products-module,.workbench-module) .gw-products th:nth-child(2){width:20%}:is(.products-module,.workbench-module) .gw-products th:nth-child(3){width:25%}:is(.products-module,.workbench-module) .gw-products th:nth-child(4){width:19%}:is(.products-module,.workbench-module) .gw-products td{padding:14px 9px}:is(.products-module,.workbench-module) .gw-products td small{max-width:100%}:is(.products-module,.workbench-module) .gw-products td b{overflow-wrap:anywhere;white-space:normal;font-size:11px}:is(.products-module,.workbench-module) .gw-products td button{padding:7px 9px}:is(.products-module,.workbench-module) .ta-board{margin:0 0 26px}:is(.products-module,.workbench-module) .ta-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}:is(.products-module,.workbench-module) .ta-heading h2{color:var(--omni-paint-ink-e1f3ef,#e1f3ef);font-size:20px}:is(.products-module,.workbench-module) .ta-heading p{color:var(--omni-paint-ink-8aaebc,#8aaebc);margin:9px 0 0;font-size:12px}:is(.products-module,.workbench-module) .ta-heading>span{border:1px solid var(--omni-paint-line-8e704b,#8e704b);background:var(--omni-paint-surface-3b3025,#3b3025);color:var(--omni-paint-ink-f0ce91,#f0ce91);white-space:nowrap;border-radius:5px;padding:9px 12px;font-size:11px}:is(.products-module,.workbench-module) .ta-inbox{border:1px solid var(--omni-paint-line-715d40,#715d40);background:linear-gradient(110deg,var(--omni-paint-surface-302d24,#302d24),var(--omni-paint-surface-142832,#142832));border-radius:8px;margin-bottom:20px}:is(.products-module,.workbench-module) .ta-inbox>summary{color:var(--omni-paint-ink-eac88c,#eac88c);cursor:pointer;align-items:center;gap:8px;padding:16px 19px;font-size:13px;list-style:none;display:flex}:is(.products-module,.workbench-module) .ta-inbox>summary::-webkit-details-marker{display:none}:is(.products-module,.workbench-module) .ta-inbox>summary:after{content:"展开 / 收起";color:var(--omni-paint-ink-aa9776,#aa9776);margin-left:auto;font-size:10px}:is(.products-module,.workbench-module) .ta-inbox>summary b{border:1px solid var(--omni-paint-line-7b6746,#7b6746);border-radius:3px;padding:2px 6px;font:14px monospace}:is(.products-module,.workbench-module) .ta-inbox-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:230px;padding:0 16px 16px;display:grid;overflow:auto}:is(.products-module,.workbench-module) .ta-inbox-list>div{border:1px solid var(--omni-paint-line-4c5147,#4c5147);background:var(--omni-paint-surface-12242aaa,#12242aaa);border-radius:5px;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:12px;display:flex}:is(.products-module,.workbench-module) .ta-inbox-list b{color:var(--omni-paint-ink-dcf1eb,#dcf1eb);font:12px monospace}:is(.products-module,.workbench-module) .ta-inbox-list small{color:var(--omni-paint-ink-839da5,#839da5);overflow-wrap:anywhere;margin-top:5px;font-size:9px;display:block}:is(.products-module,.workbench-module) .ta-inbox-list p{color:var(--omni-paint-ink-d4b981,#d4b981);margin:8px 0 0;font-size:11px}:is(.products-module,.workbench-module) .ta-inbox-list button,:is(.products-module,.workbench-module) .ta-item button{border:1px solid var(--omni-paint-line-4d766c,#4d766c);background:var(--omni-paint-surface-24443e,#24443e);color:var(--omni-paint-ink-c4f6df,#c4f6df);border-radius:4px;flex-shrink:0;align-items:center;gap:5px;padding:9px 10px;font-size:10px;display:inline-flex}:is(.products-module,.workbench-module) .ta-lanes{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}:is(.products-module,.workbench-module) .ta-lane{border:1px solid var(--omni-paint-line-355164,#355164);border-top:2px solid var(--tier-color);background:linear-gradient(150deg,var(--omni-paint-surface-183141,#183141),var(--omni-paint-surface-0d2130,#0d2130));border-radius:8px;min-width:0;overflow:hidden}:is(.products-module,.workbench-module) .ta-lane>header{border:0;justify-content:space-between;align-items:center;margin:0;padding:19px 18px 7px;display:flex}:is(.products-module,.workbench-module) .ta-lane header small{color:var(--omni-paint-ink-7ea5b8,#7ea5b8);font-size:10px;display:block}:is(.products-module,.workbench-module) .ta-lane h3{color:var(--tier-color);margin:7px 0 0;font-size:22px;font-weight:500}:is(.products-module,.workbench-module) .ta-lane header>b{color:var(--tier-color);text-align:right;font:28px monospace}:is(.products-module,.workbench-module) .ta-lane header>b small{margin-top:4px;font-size:9px}:is(.products-module,.workbench-module) .ta-goal{color:var(--omni-paint-ink-93afbd,#93afbd);margin:5px 18px 18px;font-size:11px}:is(.products-module,.workbench-module) .ta-stage{border:1px solid var(--omni-paint-line-304b5d,#304b5d);background:var(--omni-paint-surface-0c1f2d99,#0c1f2d99);border-radius:6px;margin:0 13px 11px;padding:13px}:is(.products-module,.workbench-module) .ta-stage h4{color:var(--omni-paint-ink-b2d1df,#b2d1df);align-items:center;gap:6px;margin:0 0 11px;font-size:12px;font-weight:500;display:flex}:is(.products-module,.workbench-module) .ta-stage h4 small{color:var(--omni-paint-ink-76a5b2,#76a5b2);margin-left:auto;font-size:8px}:is(.products-module,.workbench-module) .ta-stage h4>b{margin-left:auto;font:12px monospace}:is(.products-module,.workbench-module) .ta-stage.next h4{color:var(--omni-paint-ink-abe7d0,#abe7d0)}:is(.products-module,.workbench-module) .ta-stage.needs{border-color:var(--omni-paint-line-66573d,#66573d);background:var(--omni-paint-surface-2d302a44,#2d302a44)}:is(.products-module,.workbench-module) .ta-stage.needs h4{color:var(--omni-paint-ink-e8c488,#e8c488)}:is(.products-module,.workbench-module) .ta-placeholder{color:var(--omni-paint-ink-789aab,#789aab);margin:0;font-size:11px;line-height:1.9}:is(.products-module,.workbench-module) .ta-planned{color:var(--omni-paint-ink-bfd9de,#bfd9de);margin:11px 0;font-size:12px;line-height:1.9}:is(.products-module,.workbench-module) .ta-stage-note{color:var(--omni-paint-ink-769f9b,#769f9b);margin:11px 0 0;font-size:9px;line-height:1.9}:is(.products-module,.workbench-module) .ta-list{max-height:240px;overflow:auto}:is(.products-module,.workbench-module) .ta-item{border-top:1px solid var(--omni-paint-line-304856,#304856);justify-content:space-between;align-items:center;gap:8px;padding:11px 0;display:flex}:is(.products-module,.workbench-module) .ta-item:first-child{border-top:0;padding-top:0}:is(.products-module,.workbench-module) .ta-item b{color:var(--omni-paint-ink-c0dce5,#c0dce5);font:11px monospace}:is(.products-module,.workbench-module) .ta-item small{color:var(--omni-paint-ink-719aad,#719aad);font-size:8px;line-height:1.8;display:block}:is(.products-module,.workbench-module) .ta-item p{color:var(--omni-paint-ink-b5d4da,#b5d4da);margin:5px 0;font-size:11px;line-height:1.8}:is(.products-module,.workbench-module) .ta-item>div{overflow-wrap:anywhere;min-width:0}:is(.products-module,.workbench-module) .ta-add{background:var(--omni-paint-surface-204038,#204038);color:var(--omni-paint-ink-c1f3dd,#c1f3dd);border:1px solid var(--omni-paint-line-527b69,#527b69);border-radius:4px;justify-content:center;align-items:center;gap:6px;width:100%;padding:10px;font-size:11px;display:flex}:is(.products-module,.workbench-module) .ta-lane>.ta-add{width:calc(100% - 26px);margin:0 13px 14px}:is(.products-module,.workbench-module) .ta-rules{color:var(--omni-paint-ink-7b9fb1,#7b9fb1);margin:15px 18px 17px;font-size:10px}:is(.products-module,.workbench-module) .ta-rules summary{cursor:pointer}:is(.products-module,.workbench-module) .ta-rules p{color:var(--omni-paint-ink-90b0be,#90b0be);font-size:11px;line-height:1.9}:is(.products-module,.workbench-module) .ta-rules p svg{vertical-align:middle;margin-right:5px;display:inline}:is(.products-module,.workbench-module) .ta-note{color:var(--omni-paint-ink-618a9d,#618a9d);margin:13px 0;font-size:9px;line-height:1.9}:is(.products-module,.workbench-module) .ta-dialog{color:var(--omni-paint-ink-d0e6e9,#d0e6e9);background:linear-gradient(140deg,var(--omni-paint-surface-1c3844,#1c3844),var(--omni-paint-surface-0d2231,#0d2231));border:1px solid var(--omni-paint-line-5b9c8a,#5b9c8a);width:min(520px,100vw - 30px);max-height:90dvh;box-shadow:0 30px 150px var(--omni-paint-shadow-000a,#000a);border-radius:12px;padding:27px;overflow:auto}:is(.products-module,.workbench-module) .ta-dialog::backdrop{background:var(--omni-paint-overlay-031019bf,#031019bf);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}:is(.products-module,.workbench-module) .ta-dialog-head{justify-content:space-between;align-items:center;gap:15px;display:flex}:is(.products-module,.workbench-module) .ta-dialog-head small{color:var(--omni-paint-ink-86bcae,#86bcae);font-size:10px}:is(.products-module,.workbench-module) .ta-dialog-head h2{margin:8px 0 0;font-size:20px}:is(.products-module,.workbench-module) .ta-dialog-head button{background:var(--omni-paint-surface-183441,#183441);color:var(--omni-paint-ink-a8c7d1,#a8c7d1);border:1px solid var(--omni-paint-line-40606e,#40606e);border-radius:5px;place-items:center;padding:8px;display:grid}:is(.products-module,.workbench-module) .ta-dialog>p{color:var(--omni-paint-ink-8eafbd,#8eafbd);font-size:12px;line-height:1.9}:is(.products-module,.workbench-module) .ta-dialog label{color:var(--omni-paint-ink-b6d6dd,#b6d6dd);margin:18px 0;font-size:12px;display:block}:is(.products-module,.workbench-module) .ta-dialog select,:is(.products-module,.workbench-module) .ta-dialog textarea{color:var(--omni-paint-ink-c7e3e5,#c7e3e5);background:var(--omni-paint-surface-102837,#102837);border:1px solid var(--omni-paint-line-426374,#426374);border-radius:5px;padding:12px;font-size:12px}:is(.products-module,.workbench-module) .ta-dialog textarea{min-height:95px}:is(.products-module,.workbench-module) .ta-dialog .ta-save{background:var(--omni-paint-surface-9ef0ce,#9ef0ce);width:100%;color:var(--omni-paint-ink-173c32,#173c32);border:1px solid var(--omni-paint-line-c4ffe7,#c4ffe7);border-radius:5px;padding:13px;font-size:13px;font-weight:600}:is(.products-module,.workbench-module) .ta-dialog>small{text-align:center;color:var(--omni-paint-ink-7da7ad,#7da7ad);margin-top:13px;font-size:10px;display:block}:is(.products-module,.workbench-module) .ta-dialog [role=alert]{color:var(--omni-paint-ink-f6bda4,#f6bda4)}:is(.products-module,.workbench-module) .gw-product-detail:focus{outline:2px solid var(--omni-paint-line-68bfa2,#68bfa2);outline-offset:3px}@media (width<=1350px){:is(.products-module,.workbench-module) .ta-inbox-list{grid-template-columns:repeat(2,minmax(0,1fr))}:is(.products-module,.workbench-module) .ta-lane>header{padding:16px 13px 7px}:is(.products-module,.workbench-module) .ta-lane h3{font-size:19px}:is(.products-module,.workbench-module) .ta-stage{margin:0 9px 10px;padding:10px}:is(.products-module,.workbench-module) .ta-stage h4{flex-wrap:wrap}:is(.products-module,.workbench-module) .ta-stage h4 small{width:100%;margin-left:19px}:is(.products-module,.workbench-module) .ta-item{display:block}:is(.products-module,.workbench-module) .ta-item button{margin-top:8px}:is(.products-module,.workbench-module) .ta-add{font-size:10px}:is(.products-module,.workbench-module) .ta-lane header>b{font-size:24px}:is(.products-module,.workbench-module) .ta-goal{margin-left:13px;margin-right:13px}}@media (width<=650px){:is(.products-module,.workbench-module) .ta-heading{display:block}:is(.products-module,.workbench-module) .ta-heading h2{font-size:18px}:is(.products-module,.workbench-module) .ta-heading>span{margin-top:12px;display:inline-block}:is(.products-module,.workbench-module) .ta-inbox-list{grid-template-columns:1fr;max-height:280px}:is(.products-module,.workbench-module) .ta-lanes{grid-template-columns:1fr}:is(.products-module,.workbench-module) .ta-lane>header{padding:18px}:is(.products-module,.workbench-module) .ta-lane h3{font-size:23px}:is(.products-module,.workbench-module) .ta-goal{margin-left:18px}:is(.products-module,.workbench-module) .ta-stage{margin:0 13px 12px;padding:15px}:is(.products-module,.workbench-module) .ta-stage h4{font-size:13px}:is(.products-module,.workbench-module) .ta-stage h4 small{width:auto;margin-left:auto}:is(.products-module,.workbench-module) .ta-item{display:flex}:is(.products-module,.workbench-module) .ta-item button{margin-top:0}:is(.products-module,.workbench-module) .ta-note{font-size:10px}:is(.products-module,.workbench-module) .ta-dialog{padding:22px}:is(.products-module,.workbench-module) .ta-dialog-head h2{font-size:18px}}:is(.products-module,.workbench-module) .ta-inbox-list{max-height:190px}:is(.products-module,.workbench-module) .ta-task-record{border:1px solid var(--omni-paint-line-416575,#416575);background:var(--omni-paint-surface-142d39,#142d39);border-radius:6px;margin:12px 0;padding:14px}:is(.products-module,.workbench-module) .ta-task-record b{font-size:13px;display:block}:is(.products-module,.workbench-module) .ta-task-record>span{color:var(--omni-paint-ink-d6bd8a,#d6bd8a);margin-top:8px;font-size:11px;display:block}:is(.products-module,.workbench-module) .ta-task-record small{color:var(--omni-paint-ink-789aaa,#789aaa);overflow-wrap:anywhere;margin-top:7px;font-size:9px;display:block}:is(.products-module,.workbench-module) .ta-task-record p{color:var(--omni-paint-ink-acc6d0,#acc6d0);overflow-wrap:anywhere;font-size:12px;line-height:1.8}:is(.products-module,.workbench-module) .ta-task-secondary{background:var(--omni-paint-surface-203d4b,#203d4b);width:100%;color:var(--omni-paint-ink-aed5d6,#aed5d6);border:1px solid var(--omni-paint-line-446b77,#446b77);border-radius:5px;margin-top:10px;padding:11px;font-size:12px}:is(.products-module,.workbench-module) .ta-lanes+.ta-inbox{margin-top:18px}:is(.products-module,.workbench-module) .ta-stage.now,:is(.products-module,.workbench-module) .ta-stage.needs{min-height:83px}:is(.products-module,.workbench-module) .gw .ta-heading{display:none}:is(.products-module,.workbench-module) .gw .ta-lane{background:linear-gradient(135deg,var(--omni-paint-surface-112344,#112344),var(--omni-paint-surface-0c1831,#0c1831));border-color:var(--omni-paint-line-29436d,#29436d);border-top-color:var(--tier-color)}:is(.products-module,.workbench-module) .gw .ta-stage{background:var(--omni-paint-surface-09172d99,#09172d99);border-color:var(--omni-paint-line-223b60,#223b60)}:is(.products-module,.workbench-module) .gw .ta-stage.needs{border-color:var(--omni-paint-line-605138,#605138)}:is(.products-module,.workbench-module) .gw .ta-stage.needs h4{color:var(--omni-paint-ink-e8bd80,#e8bd80)}:is(.products-module,.workbench-module) .gw .ta-add,:is(.products-module,.workbench-module) .gw .ta-item button{background:var(--omni-paint-surface-163c6c,#163c6c);border-color:var(--omni-paint-line-35669f,#35669f);color:var(--omni-paint-ink-aedbff,#aedbff)}:is(.products-module,.workbench-module) .gw .ta-inbox{background:linear-gradient(110deg,var(--omni-paint-surface-252537,#252537),var(--omni-paint-surface-101d34,#101d34));border-color:var(--omni-paint-line-64543e,#64543e)}:is(.products-module,.workbench-module) .gw .ta-inbox-list>div{background:var(--omni-paint-surface-0c1c33,#0c1c33);border-color:var(--omni-paint-line-40465a,#40465a)}:is(.products-module,.workbench-module) .gw .ta-heading:has(+.ta-lanes){display:none}:is(.products-module,.workbench-module) .gw .ta-inbox-list button{background:var(--omni-paint-surface-183c69,#183c69);border-color:var(--omni-paint-line-366094,#366094);color:var(--omni-paint-ink-b7daff,#b7daff)}@media (width<=650px){:is(.products-module,.workbench-module) .gw .ta-heading{display:none}}:is(.products-module,.workbench-module) .gw .ta-board>.ta-heading{display:flex}:is(.products-module,.workbench-module) .gw .ta-dialog{background:linear-gradient(140deg,var(--omni-paint-surface-14294b,#14294b),var(--omni-paint-surface-0c1931,#0c1931));border-color:var(--omni-paint-line-3866a0,#3866a0)}:is(.products-module,.workbench-module) .gw .ta-dialog .ta-save{background:linear-gradient(100deg,var(--omni-paint-surface-3269ed,#3269ed),var(--omni-paint-surface-38b9e6,#38b9e6));border-color:var(--omni-paint-line-63baff,#63baff);color:var(--omni-paint-ink-f1f8ff,#f1f8ff)}:is(.products-module,.workbench-module) .gw .ta-dialog select,:is(.products-module,.workbench-module) .gw .ta-dialog textarea{background:var(--omni-paint-surface-0d2040,#0d2040);border-color:var(--omni-paint-line-32537d,#32537d)}:is(.products-module,.workbench-module) .ta-qualification{border:1px solid var(--omni-paint-line-405f89,#405f89);border-radius:5px;padding:12px}:is(.products-module,.workbench-module) .ta-qualification p{color:var(--omni-paint-ink-b0cdec,#b0cdec);font-size:12px}:is(.products-module,.workbench-module) .ta-qualification textarea{min-height:65px}:root[data-omni-theme=light]{--omni-paint-line-385667:#dde1eb;--omni-paint-surface-142b3a:#fff;--omni-paint-ink-afd0db:#626e80;--omni-paint-line-3a5260:#dde1eb;--omni-paint-surface-1c323f:#fff;--omni-paint-ink-9db8c6:#626e80;--omni-paint-surface-1d3b50:#fff;--omni-paint-ink-83caff:#626e80;--omni-paint-line-3a6d90:#dde1eb;--omni-paint-surface-302d4d:#fff;--omni-paint-ink-b9a9ff:#252831;--omni-paint-line-615580:#dde1eb;--omni-paint-surface-1e3d37:#fff;--omni-paint-ink-94e4c3:#626e80;--omni-paint-line-447a67:#dde1eb;--omni-paint-ink-c7ece6:#252831;--omni-paint-ink-7e9fac:#626e80;--omni-paint-line-294757:#dde1eb;--omni-paint-surface-142e3e:#fff;--omni-paint-line-355569:#dde1eb;--omni-paint-ink-a4ccd5:#626e80;--omni-paint-ink-a7f4d7:#626e80;--omni-paint-ink-6c96a4:#626e80;--omni-paint-ink-7aa3b4:#626e80;--omni-paint-chart-2a4656:#e7eaf2;--omni-paint-chart-83efc7:#179c89;--omni-paint-chart-b4ffe0:#179c89;--omni-paint-chart-1b3f3a:#e7eaf2;--omni-paint-ink-739cac:#626e80;--omni-paint-ink-5c879a:#626e80;--omni-paint-ink-8eb6c3:#626e80;--omni-paint-line-355e60:#dde1eb;--omni-paint-surface-1c3d3e:#fff;--omni-paint-surface-122c3c:#fff;--omni-paint-ink-6bac9f:#626e80;--omni-paint-ink-cae8df:#252831;--omni-paint-ink-7fa7b4:#626e80;--omni-paint-surface-152e3c:#fff;--omni-paint-line-49787a:#dde1eb;--omni-paint-ink-a4c3ce:#626e80;--omni-paint-ink-c7e1e4:#252831;--omni-paint-surface-102534:#fff;--omni-paint-line-335663:#dde1eb;--omni-paint-ink-739aa9:#626e80;--omni-paint-surface-182f3c:#fff;--omni-paint-line-85bfae:#dde1eb;--omni-paint-ink-bdd5dc:#626e80;--omni-paint-ink-88adbb:#626e80;--omni-paint-ink-7fa7b7:#626e80;--omni-paint-ink-e1f3ef:#252831;--omni-paint-ink-8aaebc:#626e80;--omni-paint-line-8e704b:#dde1eb;--omni-paint-surface-3b3025:#fff;--omni-paint-ink-f0ce91:#626e80;--omni-paint-line-715d40:#dde1eb;--omni-paint-surface-302d24:#fff;--omni-paint-surface-142832:#fff;--omni-paint-ink-eac88c:#626e80;--omni-paint-ink-aa9776:#626e80;--omni-paint-line-7b6746:#dde1eb;--omni-paint-line-4c5147:#dde1eb;--omni-paint-surface-12242aaa:#f5f6faaa;--omni-paint-ink-dcf1eb:#252831;--omni-paint-ink-839da5:#626e80;--omni-paint-ink-d4b981:#626e80;--omni-paint-line-4d766c:#dde1eb;--omni-paint-surface-24443e:#fff;--omni-paint-ink-c4f6df:#252831;--omni-paint-line-355164:#dde1eb;--omni-paint-surface-183141:#fff;--omni-paint-surface-0d2130:#f5f6fa;--omni-paint-ink-7ea5b8:#626e80;--omni-paint-ink-93afbd:#626e80;--omni-paint-line-304b5d:#dde1eb;--omni-paint-surface-0c1f2d99:#f5f6fa99;--omni-paint-ink-b2d1df:#626e80;--omni-paint-ink-76a5b2:#626e80;--omni-paint-ink-abe7d0:#626e80;--omni-paint-line-66573d:#dde1eb;--omni-paint-surface-2d302a44:#fff4;--omni-paint-ink-e8c488:#626e80;--omni-paint-ink-789aab:#626e80;--omni-paint-ink-bfd9de:#626e80;--omni-paint-ink-769f9b:#626e80;--omni-paint-line-304856:#dde1eb;--omni-paint-ink-c0dce5:#252831;--omni-paint-ink-719aad:#626e80;--omni-paint-ink-b5d4da:#626e80;--omni-paint-surface-204038:#fff;--omni-paint-ink-c1f3dd:#252831;--omni-paint-line-527b69:#dde1eb;--omni-paint-ink-7b9fb1:#626e80;--omni-paint-ink-90b0be:#626e80;--omni-paint-ink-618a9d:#626e80;--omni-paint-ink-d0e6e9:#252831;--omni-paint-surface-1c3844:#fff;--omni-paint-surface-0d2231:#fff;--omni-paint-line-5b9c8a:#dde1eb;--omni-paint-shadow-000a:#0000001f;--omni-paint-overlay-031019bf:#020a1580;--omni-paint-ink-86bcae:#626e80;--omni-paint-surface-183441:#fff;--omni-paint-ink-a8c7d1:#626e80;--omni-paint-line-40606e:#dde1eb;--omni-paint-ink-8eafbd:#626e80;--omni-paint-ink-b6d6dd:#626e80;--omni-paint-ink-c7e3e5:#252831;--omni-paint-surface-102837:#fff;--omni-paint-line-426374:#dde1eb;--omni-paint-surface-9ef0ce:#eef0ff;--omni-paint-ink-173c32:#252831;--omni-paint-line-c4ffe7:#dde1eb;--omni-paint-ink-7da7ad:#626e80;--omni-paint-ink-f6bda4:#626e80;--omni-paint-line-68bfa2:#dde1eb;--omni-paint-line-416575:#dde1eb;--omni-paint-surface-142d39:#fff;--omni-paint-ink-d6bd8a:#626e80;--omni-paint-ink-789aaa:#626e80;--omni-paint-ink-acc6d0:#626e80;--omni-paint-surface-203d4b:#fff;--omni-paint-ink-aed5d6:#626e80;--omni-paint-line-446b77:#dde1eb;--omni-paint-surface-112344:#fff;--omni-paint-surface-0c1831:#f5f6fa;--omni-paint-line-29436d:#dde1eb;--omni-paint-surface-09172d99:#f5f6fa99;--omni-paint-line-223b60:#dde1eb;--omni-paint-line-605138:#dde1eb;--omni-paint-ink-e8bd80:#626e80;--omni-paint-surface-163c6c:#fff;--omni-paint-line-35669f:#dde1eb;--omni-paint-ink-aedbff:#252831;--omni-paint-surface-252537:#fff;--omni-paint-surface-101d34:#fff;--omni-paint-line-64543e:#dde1eb;--omni-paint-surface-0c1c33:#fff;--omni-paint-line-40465a:#dde1eb;--omni-paint-surface-183c69:#fff;--omni-paint-line-366094:#dde1eb;--omni-paint-ink-b7daff:#252831;--omni-paint-surface-14294b:#fff;--omni-paint-surface-0c1931:#f5f6fa;--omni-paint-line-3866a0:#dde1eb;--omni-paint-surface-3269ed:#eef0ff;--omni-paint-surface-38b9e6:#eef0ff;--omni-paint-line-63baff:#dde1eb;--omni-paint-ink-f1f8ff:#252831;--omni-paint-surface-0d2040:#fff;--omni-paint-line-32537d:#dde1eb;--omni-paint-line-405f89:#dde1eb;--omni-paint-ink-b0cdec:#626e80}:root[data-omni-theme=dark]{--omni-paint-line-385667:#2c435b;--omni-paint-surface-142b3a:#102235;--omni-paint-ink-afd0db:#91a9bd;--omni-paint-line-3a5260:#2c435b;--omni-paint-surface-1c323f:#102235;--omni-paint-ink-9db8c6:#91a9bd;--omni-paint-surface-1d3b50:#102235;--omni-paint-ink-83caff:#91a9bd;--omni-paint-line-3a6d90:#2c435b;--omni-paint-surface-302d4d:#102235;--omni-paint-ink-b9a9ff:#dceaf7;--omni-paint-line-615580:#2c435b;--omni-paint-surface-1e3d37:#102235;--omni-paint-ink-94e4c3:#91a9bd;--omni-paint-line-447a67:#2c435b;--omni-paint-ink-c7ece6:#dceaf7;--omni-paint-ink-7e9fac:#91a9bd;--omni-paint-line-294757:#2c435b;--omni-paint-surface-142e3e:#102235;--omni-paint-line-355569:#2c435b;--omni-paint-ink-a4ccd5:#91a9bd;--omni-paint-ink-a7f4d7:#91a9bd;--omni-paint-ink-6c96a4:#91a9bd;--omni-paint-ink-7aa3b4:#91a9bd;--omni-paint-chart-2a4656:#2c435b;--omni-paint-chart-83efc7:#44cdb5;--omni-paint-chart-b4ffe0:#44cdb5;--omni-paint-chart-1b3f3a:#2c435b;--omni-paint-ink-739cac:#91a9bd;--omni-paint-ink-5c879a:#91a9bd;--omni-paint-ink-8eb6c3:#91a9bd;--omni-paint-line-355e60:#2c435b;--omni-paint-surface-1c3d3e:#102235;--omni-paint-surface-122c3c:#102235;--omni-paint-ink-6bac9f:#91a9bd;--omni-paint-ink-cae8df:#dceaf7;--omni-paint-ink-7fa7b4:#91a9bd;--omni-paint-surface-152e3c:#102235;--omni-paint-line-49787a:#2c435b;--omni-paint-ink-a4c3ce:#91a9bd;--omni-paint-ink-c7e1e4:#dceaf7;--omni-paint-surface-102534:#102235;--omni-paint-line-335663:#2c435b;--omni-paint-ink-739aa9:#91a9bd;--omni-paint-surface-182f3c:#102235;--omni-paint-line-85bfae:#2c435b;--omni-paint-ink-bdd5dc:#91a9bd;--omni-paint-ink-88adbb:#91a9bd;--omni-paint-ink-7fa7b7:#91a9bd;--omni-paint-ink-e1f3ef:#dceaf7;--omni-paint-ink-8aaebc:#91a9bd;--omni-paint-line-8e704b:#2c435b;--omni-paint-surface-3b3025:#102235;--omni-paint-ink-f0ce91:#91a9bd;--omni-paint-line-715d40:#2c435b;--omni-paint-surface-302d24:#102235;--omni-paint-surface-142832:#102235;--omni-paint-ink-eac88c:#91a9bd;--omni-paint-ink-aa9776:#91a9bd;--omni-paint-line-7b6746:#2c435b;--omni-paint-line-4c5147:#2c435b;--omni-paint-surface-12242aaa:#0b1727aa;--omni-paint-ink-dcf1eb:#dceaf7;--omni-paint-ink-839da5:#91a9bd;--omni-paint-ink-d4b981:#91a9bd;--omni-paint-line-4d766c:#2c435b;--omni-paint-surface-24443e:#102235;--omni-paint-ink-c4f6df:#dceaf7;--omni-paint-line-355164:#2c435b;--omni-paint-surface-183141:#102235;--omni-paint-surface-0d2130:#0b1727;--omni-paint-ink-7ea5b8:#91a9bd;--omni-paint-ink-93afbd:#91a9bd;--omni-paint-line-304b5d:#2c435b;--omni-paint-surface-0c1f2d99:#0b172799;--omni-paint-ink-b2d1df:#91a9bd;--omni-paint-ink-76a5b2:#91a9bd;--omni-paint-ink-abe7d0:#91a9bd;--omni-paint-line-66573d:#2c435b;--omni-paint-surface-2d302a44:#10223544;--omni-paint-ink-e8c488:#91a9bd;--omni-paint-ink-789aab:#91a9bd;--omni-paint-ink-bfd9de:#91a9bd;--omni-paint-ink-769f9b:#91a9bd;--omni-paint-line-304856:#2c435b;--omni-paint-ink-c0dce5:#dceaf7;--omni-paint-ink-719aad:#91a9bd;--omni-paint-ink-b5d4da:#91a9bd;--omni-paint-surface-204038:#102235;--omni-paint-ink-c1f3dd:#dceaf7;--omni-paint-line-527b69:#2c435b;--omni-paint-ink-7b9fb1:#91a9bd;--omni-paint-ink-90b0be:#91a9bd;--omni-paint-ink-618a9d:#91a9bd;--omni-paint-ink-d0e6e9:#dceaf7;--omni-paint-surface-1c3844:#102235;--omni-paint-surface-0d2231:#102235;--omni-paint-line-5b9c8a:#2c435b;--omni-paint-shadow-000a:#0000001f;--omni-paint-overlay-031019bf:#020a1580;--omni-paint-ink-86bcae:#91a9bd;--omni-paint-surface-183441:#102235;--omni-paint-ink-a8c7d1:#91a9bd;--omni-paint-line-40606e:#2c435b;--omni-paint-ink-8eafbd:#91a9bd;--omni-paint-ink-b6d6dd:#91a9bd;--omni-paint-ink-c7e3e5:#dceaf7;--omni-paint-surface-102837:#102235;--omni-paint-line-426374:#2c435b;--omni-paint-surface-9ef0ce:#193954;--omni-paint-ink-173c32:#dceaf7;--omni-paint-line-c4ffe7:#2c435b;--omni-paint-ink-7da7ad:#91a9bd;--omni-paint-ink-f6bda4:#91a9bd;--omni-paint-line-68bfa2:#2c435b;--omni-paint-line-416575:#2c435b;--omni-paint-surface-142d39:#102235;--omni-paint-ink-d6bd8a:#91a9bd;--omni-paint-ink-789aaa:#91a9bd;--omni-paint-ink-acc6d0:#91a9bd;--omni-paint-surface-203d4b:#102235;--omni-paint-ink-aed5d6:#91a9bd;--omni-paint-line-446b77:#2c435b;--omni-paint-surface-112344:#102235;--omni-paint-surface-0c1831:#0b1727;--omni-paint-line-29436d:#2c435b;--omni-paint-surface-09172d99:#0b172799;--omni-paint-line-223b60:#2c435b;--omni-paint-line-605138:#2c435b;--omni-paint-ink-e8bd80:#91a9bd;--omni-paint-surface-163c6c:#102235;--omni-paint-line-35669f:#2c435b;--omni-paint-ink-aedbff:#dceaf7;--omni-paint-surface-252537:#102235;--omni-paint-surface-101d34:#102235;--omni-paint-line-64543e:#2c435b;--omni-paint-surface-0c1c33:#102235;--omni-paint-line-40465a:#2c435b;--omni-paint-surface-183c69:#102235;--omni-paint-line-366094:#2c435b;--omni-paint-ink-b7daff:#dceaf7;--omni-paint-surface-14294b:#102235;--omni-paint-surface-0c1931:#0b1727;--omni-paint-line-3866a0:#2c435b;--omni-paint-surface-3269ed:#193954;--omni-paint-surface-38b9e6:#193954;--omni-paint-line-63baff:#2c435b;--omni-paint-ink-f1f8ff:#dceaf7;--omni-paint-surface-0d2040:#102235;--omni-paint-line-32537d:#2c435b;--omni-paint-line-405f89:#2c435b;--omni-paint-ink-b0cdec:#91a9bd}
@@ -0,0 +1 @@
1
+ import{t as e}from"./arrow-right-DMEu-HBO.js";import{t}from"./clock-3-BThph9Fd.js";import{t as n}from"./flag-DspBXBR4.js";import{t as r}from"./play-D07b6r1X.js";import{t as i}from"./plus-iTTlNMxD.js";import{a,g as o,o as s,p as c,u as l}from"./index-Cez2mr3h.js";var u=l(`hand`,[[`path`,{d:`M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1fvzgz`}],[`path`,{d:`M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`,key:`1kc0my`}],[`path`,{d:`M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8`,key:`10h0bg`}],[`path`,{d:`M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`,key:`1s1gnw`}]]),d=o(c(),1),f=a();function p(e){let t=e.work;return t?.active?.length?t.active.map(e=>e.title).join(`、`):t?.queued?.length?`任务已排队,等待执行`:t?.problems?.length?`任务需要检查`:`等待下一次检查`}function m(e){return e.mode===`simulated`&&e.demoIssue?e.demoIssue:e.tier===`unassigned`?`还没有选择运营分组`:e.work?.problems?.length?e.work.problems.some(e=>e.state===`failed`)?`上次任务失败`:`运行状态需要核实`:e.work?.needsUpdate?`商品数据需要更新`:``}function h({products:a,tiers:o,ready:s,onAction:c,onAssign:l}){let d=a.filter(e=>m(e)),h={test:`核对点击和加购,挑出值得继续测的商品`,incubate:`检查新商品潜力,复查老商品是否赚钱`,scale:`核对付款人数和推广效果,安排后续投放`};function g(t,n){let r=m(t),i=p(t),a=t.work?.active?.length||t.work?.queued?.length,o=a?`等待任务完成,再核对结果`:t.work?.problems?.length?`先检查失败或过期的任务`:t.work?.needsUpdate?`先核对日期,补充需要的数据`:h[t.tier],s=n===`next`&&!a&&!r?`data`:`work`;return(0,f.jsxs)(`div`,{className:`ta-item`,children:[(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`b`,{children:t.itemId}),(0,f.jsx)(`small`,{children:t.projectName}),(0,f.jsx)(`p`,{children:n===`now`?i:n===`needs`?r:o}),n!==`now`&&(0,f.jsx)(`small`,{children:t.work?.lastDate?`数据截至 `+t.work.lastDate:`尚无统计日期`})]}),(0,f.jsxs)(`button`,{onClick:()=>c(t,s),children:[n===`now`?`看任务`:n===`needs`?`去处理`:s===`data`?`看数据`:`去检查`,(0,f.jsx)(e,{size:12})]})]},t.key)}return(0,f.jsxs)(`section`,{className:`ta-board`,"aria-label":`各运营分组任务看板`,children:[(0,f.jsxs)(`div`,{className:`ta-heading`,children:[(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`h2`,{children:`今天看这里,就知道怎么做`}),(0,f.jsx)(`p`,{children:`先看正在做的,再做下一步;橙色提醒需要你处理。`})]}),(0,f.jsxs)(`span`,{children:[s?d.length:`—`,` 个商品需要你处理`]})]}),(0,f.jsx)(`div`,{className:`ta-lanes`,children:o.map(e=>{let o=a.filter(t=>t.tier===e.id),c=o.filter(e=>m(e));return(0,f.jsxs)(`article`,{className:`ta-lane`,style:{"--tier-color":e.color},"aria-label":e.name+`任务看板`,children:[(0,f.jsxs)(`header`,{children:[(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`small`,{children:e.caption}),(0,f.jsx)(`h3`,{children:e.name})]}),(0,f.jsxs)(`b`,{children:[s?o.length:`—`,(0,f.jsx)(`small`,{children:` 个商品`})]})]}),(0,f.jsx)(`p`,{className:`ta-goal`,children:e.goal}),(0,f.jsxs)(`section`,{className:`ta-stage now`,children:[(0,f.jsxs)(`h4`,{children:[(0,f.jsx)(r,{size:13}),`正在做什么 `,(0,f.jsxs)(`small`,{children:[o.filter(e=>e.work?.active?.length).length,` 个有运行记录`]})]}),o.length?(0,f.jsx)(`div`,{className:`ta-list`,children:o.map(e=>g(e,`now`))}):(0,f.jsx)(`p`,{className:`ta-placeholder`,children:s?`还没有商品加入,暂无执行任务。`:`正在读取任务记录…`})]}),(0,f.jsxs)(`section`,{className:`ta-stage next`,children:[(0,f.jsxs)(`h4`,{children:[(0,f.jsx)(n,{size:13}),`下一步做什么`]}),o.length?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`div`,{className:`ta-list`,children:o.map(e=>g(e,`next`))}),(0,f.jsxs)(`p`,{className:`ta-stage-note`,children:[e.cadence,`,以老师制定的企业标准判断。`]})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`p`,{className:`ta-placeholder`,children:`先选一个商品加入,再按下面的任务开始。`}),(0,f.jsx)(`p`,{className:`ta-planned`,children:h[e.id]}),(0,f.jsxs)(`button`,{className:`ta-add`,disabled:!a.length,onClick:()=>l(null,e.id),children:[(0,f.jsx)(i,{size:13}),`选择商品,加入`,e.name]})]})]}),(0,f.jsxs)(`section`,{className:`ta-stage needs`,children:[(0,f.jsxs)(`h4`,{children:[(0,f.jsx)(u,{size:13}),`需要你处理 `,(0,f.jsx)(`b`,{children:c.length})]}),c.length?(0,f.jsx)(`div`,{className:`ta-list`,children:c.map(e=>g(e,`needs`))}):(0,f.jsx)(`p`,{className:`ta-placeholder`,children:o.length?`目前没有数据更新或任务状态提醒。`:`先完成商品分组,才会显示对应待办。`})]}),(0,f.jsxs)(`details`,{className:`ta-rules`,children:[(0,f.jsx)(`summary`,{children:`什么时候检查?怎么判断?`}),(0,f.jsxs)(`p`,{children:[(0,f.jsx)(t,{size:12}),e.cadence]}),(0,f.jsx)(`p`,{children:e.rule}),(0,f.jsx)(`p`,{children:`频率来自方案,是否执行以实际任务记录为准。`})]}),o.length>0&&(0,f.jsx)(`button`,{className:`ta-add`,onClick:()=>l(null,e.id),children:`+ 添加或调整商品分组`})]},e.id)})}),` `,d.length>0&&(0,f.jsxs)(`details`,{className:`ta-inbox`,open:!0,children:[(0,f.jsxs)(`summary`,{children:[(0,f.jsx)(u,{size:15}),`需要你处理 `,(0,f.jsx)(`b`,{children:d.length})]}),(0,f.jsx)(`div`,{className:`ta-inbox-list`,children:d.map(t=>(0,f.jsxs)(`div`,{children:[(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`b`,{children:t.itemId}),(0,f.jsx)(`small`,{children:t.projectName}),(0,f.jsx)(`p`,{children:m(t)})]}),(0,f.jsxs)(`button`,{onClick:()=>t.tier===`unassigned`?l(t):c(t,`work`),children:[t.tier===`unassigned`?`选择运营分组`:`查看并处理`,(0,f.jsx)(e,{size:13})]})]},t.key))})]}),(0,f.jsx)(`p`,{className:`ta-note`,children:`“需要你处理”来自未分组、最新统计日早于昨天、任务失败或运行状态待核实;不是自动判断商品好坏。推广预算和暂停操作需在已授权的推广系统中完成。`})]})}function g({products:e,product:t,suggestedTier:n,onSave:r,onClose:i,onDirty:a,onBusy:o}){let c=(0,d.useRef)(null),[l,u]=(0,d.useState)(t?.key||e.find(e=>e.tier===`unassigned`)?.key||e[0]?.key||``),[p,m]=(0,d.useState)(n||t?.tier||`unassigned`),[h,g]=(0,d.useState)(t?.note||``),[_,v]=(0,d.useState)(!1),[y,b]=(0,d.useState)(``),[x,S]=(0,d.useState)(``),[C,w]=(0,d.useState)(``),[T,E]=(0,d.useState)(!1);(0,d.useEffect)(()=>(a?.(T),()=>a?.(!1)),[T,a]),(0,d.useEffect)(()=>(o?.(_),()=>o?.(!1)),[_,o]);function D(){return!_&&(!T||confirm(`商品分组有未保存修改,放弃修改?`))}function O(){D()&&i()}let k=e.find(e=>e.key===l),A=k?.tier===`test`&&[`incubate`,`scale`].includes(p);return(0,d.useEffect)(()=>{c.current?.showModal()},[]),(0,f.jsxs)(`dialog`,{ref:c,className:`ta-dialog`,onChangeCapture:e=>{e.target.matches(`input,select,textarea`)&&E(!0)},onCancel:e=>{e.preventDefault(),O()},"aria-labelledby":`ta-dialog-title`,children:[(0,f.jsxs)(`div`,{className:`ta-dialog-head`,children:[(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`small`,{children:`先完成这一件事`}),(0,f.jsx)(`h2`,{id:`ta-dialog-title`,children:`选择商品的运营策略`})]}),(0,f.jsx)(`button`,{"aria-label":`关闭商品分组`,disabled:_,onClick:O,children:(0,f.jsx)(s,{size:18})})]}),(0,f.jsx)(`p`,{children:`保存的是人工运营策略,看板按已有记录显示任务和待办。它不等于按全店支付销售额、访客和支付买家划定的经营梯队,也不会自动启动任务。`}),(0,f.jsxs)(`label`,{children:[`选择商品`,(0,f.jsx)(`select`,{"aria-label":`待分组商品`,disabled:_,value:l,onChange:t=>{if(!D())return;E(!1),S(``),w(``),u(t.target.value);let r=e.find(e=>e.key===t.target.value);m(n||r?.tier||`unassigned`),g(r?.note||``)},children:e.map(e=>(0,f.jsxs)(`option`,{value:e.key,children:[e.itemId,` · `,e.projectName,e.mode===`simulated`?`(模拟)`:``]},e.key))})]}),(0,f.jsxs)(`label`,{children:[`这次采用哪种运营策略?`,(0,f.jsxs)(`select`,{"aria-label":`看板商品分组`,value:p,disabled:_,onChange:e=>m(e.target.value),children:[(0,f.jsx)(`option`,{value:`unassigned`,children:`暂不分组`}),(0,f.jsx)(`option`,{value:`test`,children:`测试组 · 新品测试`}),(0,f.jsx)(`option`,{value:`incubate`,children:`培养组 · 持续孵化`}),(0,f.jsx)(`option`,{value:`scale`,children:`放大组 · 重点推广`})]})]}),(0,f.jsxs)(`label`,{children:[`为什么这样分?(可选)`,(0,f.jsx)(`textarea`,{value:h,disabled:_,onChange:e=>g(e.target.value),placeholder:`写下对照了哪些商品、看了哪些数据,方便学员理解。`})]}),A&&(0,f.jsxs)(`div`,{className:`ta-qualification`,children:[(0,f.jsx)(`p`,{children:`记录运营晋级需要留下本项目采用的标准、观察时间和依据;这里只计数,不计算经营成功率。`}),(0,f.jsxs)(`label`,{children:[`老师设定的达标标准`,(0,f.jsx)(`textarea`,{"aria-label":`老师达标标准`,value:x,disabled:_,onChange:e=>S(e.target.value),placeholder:`填写这家企业采用的标准`})]}),(0,f.jsxs)(`label`,{children:[`这个商品的达标依据`,(0,f.jsx)(`textarea`,{"aria-label":`商品达标依据`,value:C,disabled:_,onChange:e=>w(e.target.value),placeholder:`填写统计日期、实际指标和核对依据`})]})]}),y&&(0,f.jsx)(`p`,{role:`alert`,children:y}),(0,f.jsx)(`button`,{className:`ta-save`,disabled:_||!k||A&&(!x.trim()||!C.trim()),onClick:async()=>{v(!0),b(``);try{await r(k,p,h,A?{confirmed:!0,standard:x.trim(),evidence:C.trim()}:void 0),i()}catch(e){b(e.message)}finally{v(!1)}},children:_?`正在保存…`:`保存分组,更新看板`}),(0,f.jsx)(`small`,{children:`保存分组不会启动采集、投放或修改广告预算,也不会改写经营梯队判定。`})]})}function _({product:e,onOpen:t,onClose:n}){let r=(0,d.useRef)(null);(0,d.useEffect)(()=>{r.current?.showModal()},[]);let i=e.work||{},a=[...i.active||[],...i.queued||[],...i.problems||[]];return(0,f.jsxs)(`dialog`,{ref:r,className:`ta-dialog`,onClose:n,"aria-labelledby":`ta-task-title`,children:[(0,f.jsxs)(`div`,{className:`ta-dialog-head`,children:[(0,f.jsxs)(`div`,{children:[(0,f.jsxs)(`small`,{children:[e.projectName,` · `,e.itemId]}),(0,f.jsx)(`h2`,{id:`ta-task-title`,children:`这件事怎么处理`})]}),(0,f.jsx)(`button`,{"aria-label":`关闭商品任务`,onClick:n,children:(0,f.jsx)(s,{size:18})})]}),(0,f.jsx)(`p`,{children:m(e)||p(e)}),a.length?a.map(e=>(0,f.jsxs)(`div`,{className:`ta-task-record`,children:[(0,f.jsx)(`b`,{children:e.title}),(0,f.jsx)(`span`,{children:{running:`近期运行记录`,pending:`等待执行`,failed:`任务失败`,attention:`经营问题待处理`,uncertain:`运行状态待核实`}[e.state]}),(0,f.jsx)(`small`,{children:e.at||`未记录时间`}),(0,f.jsx)(`p`,{children:e.message||`查看监控页的实际结果后,再决定是否重新取数。`}),(0,f.jsxs)(`small`,{children:[`任务编号:`,e.id]})]},e.id)):(0,f.jsxs)(`p`,{children:[`没有归属于此商品的待执行或运行任务记录。`,i.lastDate?`最新数据统计到 `+i.lastDate+`。`:`尚无可用统计日期。`]}),(0,f.jsx)(`p`,{children:`先核对商品和日期,再按需要补数据或优化商品。`}),(0,f.jsx)(`button`,{className:`ta-save`,onClick:()=>{n(),t(e.project,{tab:`monitor`,itemId:e.itemId})},children:`进入监控,核对或补数据`}),(0,f.jsx)(`button`,{className:`ta-task-secondary`,onClick:()=>{n(),t(e.project,{tab:`optimization`,itemId:e.itemId})},children:`进入商品优化`}),(0,f.jsx)(`small`,{children:`商品编号会自动带入。打开页面不会启动取数或修改推广。`})]})}function v({product:e}){return(0,f.jsxs)(`div`,{className:`omni-product-identity`,children:[e.image&&(0,f.jsx)(`img`,{src:e.image,alt:e.title||e.projectName||`商品图片`}),(0,f.jsxs)(`div`,{children:[(0,f.jsx)(`b`,{children:e.title||e.projectName||e.itemId}),(0,f.jsxs)(`small`,{children:[e.itemId,e.shopName?` · `+e.shopName:``]})]})]})}export{m as a,h as i,g as n,p as o,_ as r,v as t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./index-Cez2mr3h.js";var t=e(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),n=[[`建项目与证据登记`,[`project-scope`,`evidence-register`]],[`找市场`,[`market-screen`,`category-price-competition`,`price-band-audience`]],[`关键词需求`,[`keyword-clean`,`keyword-needs`,`keyword-market`,`keyword-battlefield`,`market-demand-cycle`]],[`找对标`,[`competitor-select`,`competitor-compare`,`cross-industry-reference`]],[`买家原声与需求汇总`,[`reviews-intake`,`reviews-label`,`questions-intake`,`questions-label`,`social-context`,`needs-synthesis`]],[`产品与供应`,[`product-facts`,`supply-check`]],[`成本与价格`,[`cost-input`,`cost-scenario`]],[`定位与卖点`,[`positioning`,`claim-evidence`]],[`逐屏与视频策划`,[`page-tasks`,`video-script`]],[`标题与SKU`,[`title-sku`]],[`素材生产与审核`,[`asset-production`,`asset-preflight`,`human-review`,`material-freeze`]],[`上架检查与批准`,[`listing-precheck`,`listing-approval`]],[`提交与回读`,[`listing-submit`,`listing-readback`]],[`店铺链接三梯队`,[`store-tier-baseline`,`link-tier-candidates`,`tier-stability-review`]],[`观察与复盘`,[`observe-baseline`,`daily-observe`,`effect-review`,`method-candidate`]]],r={schema_version:`1.0`,version:`adapter-plan/0.1.0`,as_of:`2026-11-04`,warning:`Design references, not registered operation IDs or live requests. Null means unknown, not optional.`,adapters:[{id:`A01`,name:`叶子类目解析`,status:`documented_registered`,operation_id:`item.category-search`,documented_command:`sycmcli category search`,documented_http_method:`GET`,documented_path:`/cc/common/category/getStdCate.json`,business_parameters:[`keyWord`],field_mapping:{cateId:`category_id`,cateFullName:`category_path`,isLeaf:`is_leaf`,cateFlag:`category_flag`},source_refs:[`W01`,`W06`,`S02`],auth_contract:`sycm-meta`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`需isLeaf=true;跨平台类目不能只按ID相等`},{id:`A02`,name:`类目价格段`,status:`documented_friendly`,operation_id:null,documented_command:`sycmcli price segments`,documented_http_method:null,documented_path:null,business_parameters:[`cate_id`,`date_type`],field_mapping:{},source_refs:[`S01`,`S02`],auth_contract:`sycm-meta`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`确切输出JSON键及分段参数flag待核;不能用单品price-band替代`},{id:`A03`,name:`SYCM市场商品榜`,status:`documented_friendly`,operation_id:null,documented_command:`sycmcli item rank`,documented_http_method:`GET`,documented_path:`/mc/mq/mkt/item/offline/rank.json`,business_parameters:[`cateId`,`dateRange`,`dateType`,`rankType`,`indexCode`,`sellerType`,`page`,`pageSize`],field_mapping:{itemId:`item_id`,title:`title`,shopTitle:`shop_name`,payByrCnt:`pay_buyers`,uv:`visitors`,coreKeywords:`platform_core_keywords`,rankCycleCqc:`rank_change`},source_refs:[`W01`,`S02`],auth_contract:`sycm-meta`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`本映射为文档normalized示例;raw对象结构不同。priceSeg可选;店铺榜未补全`},{id:`A04`,name:`DMP类目分价格带榜`,status:`documented_unregistered`,operation_id:null,documented_command:null,documented_http_method:`POST`,documented_path:`/api/subdivide/market/ranking/list`,business_parameters:[`cateId`,`periodType`,`date`,`subjectType`,`rankType`,`minPrice`,`maxPrice`,`properties`,`options`],field_mapping:{itemId:`item_id`,shopId:`shop_id`,alipayQuantity:`paid_units`,pvCnt:`page_views`,schCnt:`search_count`,adClick:`paid_clicks`,roi:`roi`},source_refs:[`W02`,`W06`],auth_contract:`dmp-magix`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`包装返回路径/边界开闭/当前注册能力待核;500条静默截断;roi可能不可用`},{id:`A05`,name:`前台关键词商品样本`,status:`manual_import`,operation_id:null,documented_command:`sealseek取数:市场数据`,documented_http_method:null,documented_path:null,business_parameters:[`platform`,`query_from_form`,`sort_from_form`,`pages_from_form`],field_mapping:{},source_refs:[`W04`],auth_contract:`managed_first_party_session`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`仅能力名称及表单流程有文档;exact参数和响应shape待接入方提供`},{id:`A06`,name:`SYCM类目关键词热榜`,status:`documented_friendly`,operation_id:null,documented_command:`sycmcli keyword rank`,documented_http_method:`GET`,documented_path:`/mc/mq/mkt/keyword/rank/pro.json`,business_parameters:[`cateId`,`kwType`,`rankType`,`dateType`,`dateRange`,`page`,`pageSize`],field_mapping:{"rn.value":`rank`,"searchWord.value":`word`,"seIpvUvHits.value":`search_popularity`,"payRate.value":`pay_rate`,"clickThroughRate.value":`ctr`,"freeClkRate.value":`organic_click_rate`},source_refs:[`W01`,`S02`,`T03`],auth_contract:`sycm-meta`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`此为raw映射;friendly normalized字段待核;仅hot/search;20条/页`},{id:`A07`,name:`阿里妈妈词行业类目匹配`,status:`documented_unregistered`,operation_id:null,documented_command:null,documented_http_method:`POST`,documented_path:`/cube/triggerDynamicModule.json`,business_parameters:[`moduleId`,`params`],field_mapping:{},source_refs:[`W03`],auth_contract:`alimama-access`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`moduleId=1571;params具体schema与返回类目映射待核`},{id:`A08`,name:`阿里妈妈关键词日趋势`,status:`documented_unregistered`,operation_id:null,documented_command:null,documented_http_method:`POST`,documented_path:`/cube/triggerDynamicModule.json`,business_parameters:[`moduleId`,`params.wordCategoryList`,`params.startTime`,`params.endTime`],field_mapping:{theDate:`date`,"<word>impressionIndex":`impression_index`,"<word>clickIndex":`click_index`,"<word>ctr":`ctr`,"<word>cvr":`cvr`,"<word>avgPrice":`market_avg_price`},source_refs:[`W03`,`T03`],auth_contract:`alimama-access`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`moduleId=1541;data.compList动态键和chartGroup[]必须实测;详细params仅附件;均价单位未确认`},{id:`A09`,name:`商品浏览人群画像(可选补充)`,status:`documented_unregistered`,operation_id:null,documented_command:null,documented_http_method:`POST`,documented_path:`/api/dmp/insight/tag/chart`,business_parameters:[`appCode`,`selectTagOptionSetDTO`,`needUnknown`,`tagId`],field_mapping:{"data.result.chartDataFull[].optionValue":`option_value`,"data.result.chartDataFull[].optionName":`option_label`,"data.result.chartDataFull[].optionNum":`coverage_count`,"data.result.chartDataFull[].rate":`share`},source_refs:[`W02`],auth_contract:`dmp-magix`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`283736=商品行为;303280值1=浏览,303281值30=最近30天,不能当类目购买金额群体`},{id:`A10`,name:`类目金额人群覆盖`,status:`documented_unregistered`,operation_id:null,documented_command:null,documented_http_method:null,documented_path:`/api/dmp/v2/analysis/coverage`,business_parameters:[],field_mapping:{},source_refs:[`W02`],auth_contract:`dmp-magix`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`方法/请求/响应未验证;本机手册明确未单独验证`},{id:`A11`,name:`类目购买金额画像`,status:`attachment_only`,operation_id:null,documented_command:null,documented_http_method:`POST`,documented_path:`/api_2/analysis/tag/<tagId>`,business_parameters:[`selectTagOptionSet`,`crowdId`,`needUnknown`],field_mapping:{"data.chartDataFull[].optionName":`option_label`,"data.chartDataFull[].optionNum":`coverage_count`,"data.chartDataFull[].rate":`share`,"data.chartDataFull[].ctrIndex":`category_ctr_index`,"data.chartDataFull[].ppcIndex":`category_ppc_index`},source_refs:[`A01`,`A02`],auth_contract:`managed_first_party_session`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`类目行为224472/trd/amt只是附件示例;scope和群体身份未核实;不得导出Cookie`},{id:`A12`,name:`第三方成交额原件`,status:`attachment_only`,operation_id:null,documented_command:null,documented_http_method:`POST`,documented_path:`/api/reportFormItem/getCardData`,business_parameters:[`cardDataConfigList`],field_mapping:{"data.rowHeadList":`dimensions`,"data.cardData[].columns":`metrics_by_dynamic_field_metadata`},source_refs:[`P03`],auth_contract:`provider_managed_session`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`无本机注册依据;字段ID动态;数字是第三方报告值不是已认证真实GMV`},{id:`A13`,name:`DMP标准类目辅助`,status:`documented_registered`,operation_id:`dmp.shop-standard-categories`,documented_command:`sycmcli dmp shop standard-categories`,documented_http_method:`GET`,documented_path:`/api/dmp/shop/std/cate`,business_parameters:[],field_mapping:{},source_refs:[`W02`,`W06`,`S01`],auth_contract:`dmp-magix`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`cateModel=2/filterModel=0默认;输出schema待核,不能直接映射另一平台类目`},{id:`A14`,name:`阿里妈妈鉴权状态`,status:`documented_registered`,operation_id:`alimama.access`,documented_command:null,documented_http_method:`POST`,documented_path:`/member/checkAccess.json`,business_parameters:[`bizCode`],field_mapping:{},source_refs:[`W03`,`W06`],auth_contract:`alimama-access`,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`身份验证留安全回执;csrfId/loginPointId只由adapter内部管理,禁止进入分析包`},{id:`A15`,name:`已有证据人工导入`,status:`manual_import`,operation_id:null,documented_command:null,documented_http_method:null,documented_path:null,business_parameters:[`source_ref`,`sha256`,`scope`,`period`,`metric_definitions`,`rows`],field_mapping:{},source_refs:[`WAG`,`BAG`],auth_contract:null,live_verified_this_task:!1,execution_enabled:!1,registration_verified_now:!1,request_template_is_runnable:!1,credential_fields_allowed_in_analysis:[],gap:`导入前标real/simulated;缺少原件回指不能当平台实测`}]},i=`method-nodes/0.2.0`,a=[`keyword-battlefield`,`category-price-competition`,`price-band-audience`,`market-demand-cycle`,`cross-industry-reference`],o=e=>a.includes(e),s=r.adapters,c={"keyword-battlefield":[`A05`,`A15`],"category-price-competition":[`A01`,`A02`,`A03`,`A04`,`A10`,`A12`,`A13`,`A15`],"price-band-audience":[`A01`,`A09`,`A10`,`A11`,`A13`,`A15`],"market-demand-cycle":[`A01`,`A06`,`A07`,`A08`,`A14`,`A15`],"cross-industry-reference":[`A15`]},l=[`同构成+同需求`,`同构成+同人群`,`同构成+同场景`,`同构成+同造型`,`同需求+同人群`,`同需求+同场景`,`同需求+同造型`,`同人群+同场景`,`同人群+同造型`,`同场景+同造型`],u=[`构成`,`需求`,`人群`,`场景`,`造型`],d=[`产品读懂与五维拆解`,`十组品类扩展(目标30个去重)`,`竞争与案例核实`,`迁移建议`],f={deps:[`project-scope`,`evidence-register`],gate:`来源、对象与周期明确;仅消费经过人工复核的样本结果;真实取数尚未接入`},p={"keyword-battlefield":{...f,name:`关键词战场沙盘`,stage:`S3`,input:`搜索词、排序、采集周期、价格断点、搜索商品原件`,does:`按展示价分档,保留未知价,计算样本链接与店铺覆盖;不估算GMV`,output:`搜索样本分档、店铺链接占比与证据引用`},"category-price-competition":{...f,name:`价格带竞争沙盘`,stage:`S2`,input:`叶子类目、平台价格段、统计周期、商品榜原件`,does:`按已核实的价格段比较样本商品与店铺;截断和缺失单列`,output:`类目榜分档样本与容量接入缺口`},"price-band-audience":{...f,name:`类目价格带人群画像`,stage:`S2`,input:`类目购买金额人群、条件、周期、分母及标签分布`,does:`对齐单档画像与已知覆盖;区分未知/多标签;不创建人群`,output:`类目购买金额画像样本及可比维度`},"market-demand-cycle":{...f,name:`市场需求周期雷达`,stage:`S3`,input:`搜索词、行业类目映射、日期序列和指标定义`,does:`按实际日期计算逐词月均及覆盖;缺月不输出年度季节结论`,output:`逐词月度观察和覆盖矩阵;年度结论待补分析`},"cross-industry-reference":{deps:[`project-scope`,`evidence-register`],gate:`两个具体共同点成立才有借鉴关系;案例价值与竞争门槛分开判定;未联网搜索/看图/模型运行不得声称已核实`,name:`跨行业借鉴与参考品类`,stage:`S4`,input:`本产品资料、研究目标、本行业竞争基线、方法原文版本、已导入的参考品类与案例记录`,does:`按五维十组扩展去重品类,分别判定借鉴关系、案例价值与竞争门槛,输出迁移建议和条件候选`,output:`参考品类清单与数量、三道门槛结果、案例卡、迁移建议、未核实与失败记录`}},m=e=>s.filter(t=>c[e].includes(t.id)),h=[`确认对象与周期`,`保存取数计划或导入原件`,`核对证据和指标口径`,`计算样本结构`,`人工复核并保存版本`],g=e=>e===`cross-industry-reference`?d:h;function _(e,t,n=`planned`){return{method_version:i,source_mode:n,data_mode:t,scope:{platform:``,store_alias:``,category:``,keyword:``,start_date:``,end_date:``,business_timezone:`Asia/Shanghai`,...e===`keyword-battlefield`?{sort:``,price_basis:``}:{},...e===`category-price-competition`?{rank_type:``,price_basis:``,price_band_definition:``}:{},...e===`price-band-audience`?{behavior:`purchase`,amount_definition:``,population_type:`category_amount_buyers`,dimension_type:`exclusive`,dimension_id:``}:{},...e===`market-demand-cycle`?{industry_category:``,metric_definition:``}:{},...e===`cross-industry-reference`?{product_name:``,research_goal:`both`,competition_baseline:``,method_source_version:``}:{}},source_refs:[],price_breaks:[],rows:[],limitations:[],...e===`cross-industry-reference`?{cases:[],five_dimensions:u.map(e=>({dimension:e,status:`unknown`,note:``}))}:{}}}var v=e=>typeof e==`string`&&e.trim().length>0,y=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0,b=e=>typeof e==`string`&&/^\d{4}-\d{2}-\d{2}$/.test(e)&&!Number.isNaN(Date.parse(e+`T00:00:00Z`))&&new Date(e+`T00:00:00Z`).toISOString().slice(0,10)===e,x=(e,t)=>Math.round((Date.parse(t)-Date.parse(e))/864e5)+1,S=e=>Array.isArray(e)&&e.length>0;function C(e,t,n,r){let a=[],o=[`结果仅基于本次导入样本;结构通过不证明来源真实或业务结论正确。`],s={state:`blocked`,errors:a,warnings:o,summary:``,outputs:null,refs:[],gaps:[],method_version:i};if(!t||typeof t!=`object`||Array.isArray(t))return a.push(`方法输入必须是对象`),s;if(JSON.stringify(t).length>2*1024*1024)return a.push(`方法输入超过2MB`),s;t.method_version!==`method-nodes/0.2.0`&&a.push(`方法版本不匹配,请下载当前模板并明确迁移`),[`planned`,`imported`].includes(t.source_mode)||a.push(`请选择取数计划或已导入资料`),t.data_mode!==r&&a.push(`资料模式与项目不符;模拟数据不能进入真实项目`);let c=t.scope||{};for(let e of[`platform`,`store_alias`,`business_timezone`])v(c[e])||a.push(`范围缺少 `+e);try{new Intl.DateTimeFormat(`en`,{timeZone:c.business_timezone}).format()}catch{a.push(`业务时区无效`)}if((!b(c.start_date)||!b(c.end_date)||c.start_date>c.end_date)&&a.push(`统计日期无效或起止颠倒`),e===`keyword-battlefield`&&!v(c.keyword)&&a.push(`缺少搜索关键词`),e!==`keyword-battlefield`&&!v(c.category)&&a.push(`缺少类目名称/映射说明`),(!Array.isArray(t.source_refs)||t.source_refs.some(e=>!v(e))||new Set(t.source_refs).size!==t.source_refs.length)&&a.push(`source_refs须为无重复的证据ID数组`),(!Array.isArray(t.limitations)||t.limitations.some(e=>!v(e)))&&a.push(`limitations须为文字数组`),a.length)return s;s.refs=t.source_refs;for(let e of s.refs)n.includes(e)||a.push(`来源未在本次所选项目证据中:`+e);if(t.source_mode===`planned`)return(!Array.isArray(t.rows)||t.rows.length)&&a.push(`计划不得夹带分析记录;有原件请切换已导入资料`),e===`cross-industry-reference`&&Array.isArray(t.cases)&&t.cases.length&&a.push(`计划不得夹带案例记录;有核实结果请切换已导入资料`),s.gaps=m(e).filter(e=>e.id!==`A15`).map(e=>e.name+`:`+e.gap),e===`cross-industry-reference`&&s.gaps.push(`网页搜索与商品页读取未接入;案例须人工打开并登记访问结果。`,`图片识别与模型分析未接入;视觉观察须人工完成并标记。`,`效果数据未接入;不得输出点击率、转化率或成功率预测。`),s.summary=e===`cross-industry-reference`?`研究计划已保存;等待人工核实案例或导入已有记录,尚未分析。`:`取数计划已保存;等待外部接入或导入已有原件,尚未分析。`,s.state=a.length?`blocked`:`waiting_external`,s;if(s.refs.length||a.push(`已导入资料必须选择至少一份项目原件`),(!S(t.rows)||t.rows.length>1e4)&&a.push(`rows必须包含1~10000行`),a.length)return s;for(let[e,n]of t.rows.entries()){if(!n||typeof n!=`object`||Array.isArray(n)){a.push(`第${e+1}行不是对象`);continue}(!v(n.source_ref)||!s.refs.includes(n.source_ref))&&a.push(`第${e+1}行source_ref未引用所选原件`)}if(a.length)return s;if(e===`keyword-battlefield`){(!v(c.sort)||!v(c.price_basis))&&a.push(`搜索排序和展示价口径必须明确`);let e=t.price_breaks;(!Array.isArray(e)||e.length<2||e.some((t,n)=>!y(t)||n>0&&t<=e[n-1]))&&a.push(`价格断点须至少两个、非负且严格递增`);let n=new Map,r=0;for(let e of t.rows){v(e.item_id)||a.push(`商品ID必须是非空字符串`),e.display_price!==null&&!y(e.display_price)&&a.push(`display_price须为精确非负数或null;区间价保留原文并填null`);let t=n.get(e.item_id);t?(r++,(t.display_price!==e.display_price||t.shop_id!==e.shop_id||t.shop_name!==e.shop_name)&&a.push(`同商品ID价格/店铺冲突:`+e.item_id)):n.set(e.item_id,e)}if(a.length)return s;let i=e.map((t,n)=>({lower:t,upper:e[n+1]??null,count:0,item_ids:[]})),o=0,l=new Map;for(let t of n.values()){if(t.display_price===null)o++;else{let n=e.findLastIndex(e=>t.display_price>=e);if(n<0){a.push(`展示价低于最小断点:`+t.item_id);continue}i[n].count++,i[n].item_ids.push(t.item_id)}let n=v(t.shop_id)?`ID:`+t.shop_id:v(t.shop_name)?`店名(未核实体):`+t.shop_name:null;n&&l.set(n,(l.get(n)||0)+1)}s.outputs={scope:`search_sample`,items:[...n.values()].map(e=>({item_id:e.item_id,title:e.title??null,shop_id:e.shop_id??null,shop_name:e.shop_name??null,display_price:e.display_price,display_price_raw:e.display_price_raw??null,source_ref:e.source_ref})),bands:i,unknown_price_count:o,duplicate_count:r,shop_link_counts:[...l].map(([e,t])=>({shop:e,count:t})).sort((e,t)=>t.count-e.count),gmv:null},s.summary=`${n.size}个去重搜索样本,${o}个价格未知;仅统计链接结构,不估算成交额。`}else if(e===`category-price-competition`){for(let e of[`rank_type`,`price_basis`,`price_band_definition`])v(c[e])||a.push(`缺少 `+e);typeof t.truncated!=`boolean`&&a.push(`必须明确truncated(榜单是否截断/疑似截断)`);let e=new Map,n=new Map;for(let r of t.rows){(!v(r.item_id)||!v(r.band))&&a.push(`每行需要item_id和已核实band`),n.has(r.item_id)&&n.get(r.item_id)!==r.band&&a.push(`同商品跨价格档出现,先核对边界:`+r.item_id),n.set(r.item_id,r.band);let t=e.get(r.band)||{band:r.band,items:new Set,shops:new Set};t.items.add(r.item_id),v(r.shop_id)&&t.shops.add(r.shop_id),e.set(r.band,t)}s.outputs={scope:`category_rank_sample`,bands:[...e.values()].map(e=>({band:e.band,items:e.items.size,known_shops:e.shops.size})),truncated:t.truncated,market_share:null,capacity:null},s.gaps=[`真实市场总体分母与金额人群定义未核实,容量及市场份额不可用。`],t.truncated&&o.push(`榜单截断或疑似截断,只报告已取得样本。`),s.summary=`${n.size}个榜单商品样本,${e.size}个价格档;容量与全市场份额未计算。`}else if(e===`price-band-audience`){(c.population_type!==`category_amount_buyers`||c.behavior!==`purchase`)&&a.push(`必须是类目金额购买群体,商品浏览群体不可替代`),(!v(c.amount_definition)||!v(c.dimension_id))&&a.push(`必须明确金额定义及画像维度ID`),[`exclusive`,`multi_label`].includes(c.dimension_type)||a.push(`维度须明确互斥或多标签`);let e=new Map,n=new Set;for(let r of t.rows){(!v(r.band)||!v(r.option_value)||!v(r.option_label))&&a.push(`画像行缺少价格档或标签标识`),(typeof r.condition_hash!=`string`||!/^[a-f0-9]{64}$/i.test(r.condition_hash)||/^0+$/.test(r.condition_hash))&&a.push(`缺少有效人群条件哈希`),r.population_role!==`CROWD`&&a.push(`画像行必须明确CROWD身份,不能按人数猜`),r.rate!==null&&(!y(r.rate)||r.rate>1)&&a.push(`rate须为0~1小数或null`),r.option_num!==null&&(!y(r.option_num)||!Number.isInteger(r.option_num))&&a.push(`option_num须为人数或null`),r.coverage!==null&&(!y(r.coverage)||!Number.isInteger(r.coverage))&&a.push(`coverage须为人数或null`),r.coverage!==null&&r.option_num!==null&&r.option_num>r.coverage&&a.push(`单标签人数不得超过该群体覆盖人数`);let t=JSON.stringify([r.band,r.option_value]);n.has(t)&&a.push(`同档同标签重复`),n.add(t);let i=e.get(r.band)||{band:r.band,condition_hash:r.condition_hash,coverage:r.coverage,rows:[]};(i.condition_hash!==r.condition_hash||i.coverage!==r.coverage)&&a.push(`同档人群条件或覆盖人数冲突`),i.rows.push(r),e.set(r.band,i)}for(let t of e.values())c.dimension_type===`exclusive`&&t.rows.reduce((e,t)=>e+(t.rate??0),0)>1.000001&&a.push(`互斥维度已知占比之和超过100%`);s.outputs={scope:`category_amount_buyers`,dimension_id:c.dimension_id,dimension_type:c.dimension_type,groups:[...e.values()],tgi:null,market_gmv:null},s.gaps=[`无经核实的同口径基准,TGI不可用;本次不创建人群或预测销售额。`],s.summary=`${e.size}档购买金额人群的单维画像;缺失值保留,群体人数不跨档相加。`}else if(e===`market-demand-cycle`){(!v(c.industry_category)||!v(c.metric_definition))&&a.push(`缺少行业类目对应和展现指数定义`);let e=new Map;for(let n of t.rows){(!v(n.word)||!b(n.date)||n.date<c.start_date||n.date>c.end_date)&&a.push(`趋势词或日期无效/超出声明窗口`),n.impression_index!==null&&!y(n.impression_index)&&a.push(`展现指数须为非负数或null`),(![`observed`,`unavailable`].includes(n.availability)||n.availability===`unavailable`&&n.impression_index!==null)&&a.push(`未开放日期必须明确unavailable并保持null`);let t=e.get(n.word)||new Map;t.has(n.date)&&a.push(`同词同日期重复:`+n.word+` `+n.date),t.set(n.date,n.impression_index),e.set(n.word,t)}if(a.length)return s;let n=[],r=c.start_date.slice(0,7)+`-01`;for(;r<=c.end_date;){n.push(r.slice(0,7));let e=new Date(r+`T00:00:00Z`);if(e.setUTCMonth(e.getUTCMonth()+1),r=e.toISOString().slice(0,10),n.length>60)return a.push(`趋势窗口最多60个月`),s}s.outputs={scope:`keyword_sample_observation`,words:[...e].map(([e,t])=>({word:e,months:n.map(e=>{let n=e+`-01`,r=new Date(n+`T00:00:00Z`);r.setUTCMonth(r.getUTCMonth()+1),r.setUTCDate(0);let i=r.toISOString().slice(0,10),a=[...t].filter(([t,n])=>t.startsWith(e)&&n!==null).map(([,e])=>e),o=x(n,i);return{month:e,valid_days:a.length,expected_days:o,coverage:a.length/o,mean:a.length?a.reduce((e,t)=>e+t,0)/a.length:null,complete_calendar:c.start_date<=n&&c.end_date>=i}})})),annual_seasonality:null,timing_score:null},s.gaps=[`当前只计算逐词月均和有效日期覆盖;异常日复核、全年季节窗口及五指标评分待分析结果接入,不能称最赚钱时期。`],s.summary=`${e.size}个词的${n.length}个月度观察;缺失不补零,年度结论和投放评分未生成。`}else{v(c.product_name)||a.push(`缺少本产品名称`),[`product_upgrade`,`visual`,`both`].includes(c.research_goal)||a.push(`研究目标须为产品升级、视觉表达或两者`),v(c.competition_baseline)||a.push(`缺少本行业竞争基线;竞争门槛必须有同平台、细分类目、相近价格带的比较依据`),v(c.method_source_version)||a.push(`缺少方法原文版本`),(!Array.isArray(t.cases)||t.cases.length<3||t.cases.length>5)&&a.push(`精选案例须3~5个;当前`+(Array.isArray(t.cases)?t.cases.length:0)+`个`);let e=new Set([`家居行业`,`助眠用品`,`服装`,`家电`,`消费品`,`行业`,`日用品`,`百货`]),n=e=>String(e).trim().toLowerCase().replace(/[\s()()【】\[\]、,,。.\-_/]/g,``),r=[`都是消费品`,`都有需求`,`都让人舒服`,`更好看`,`有参考价值`,`都是产品`],i=[`同构成`,`同需求`,`同人群`,`同场景`,`同造型`],d=e=>{let t=String(e).replace(/+/g,`+`).replace(/\s/g,``).split(`+`);if(t.length!==2||!t.every(e=>i.includes(e)))return null;let n=[...t].sort((e,t)=>i.indexOf(e)-i.indexOf(t)).join(`+`);return l.includes(n)?n:null},f=t.five_dimensions;if(!Array.isArray(f)||f.length!==5)a.push(`五维拆解须完整列出构成、需求、人群、场景、造型`);else{let e=new Set;for(let[t,n]of f.entries()){if(!n||typeof n!=`object`||!u.includes(n.dimension)){a.push(`五维第${t+1}项维度名不合法`);continue}e.has(n.dimension)&&a.push(`五维维度重复:`+n.dimension),e.add(n.dimension),[`confirmed`,`inferred`,`unknown`].includes(n.status)||a.push(`${n.dimension}须区分资料已确认、合理推测或尚待确认`),n.status!==`unknown`&&!v(n.note)&&a.push(`${n.dimension}标为已确认或推测时须写明依据`)}}let p=[];for(let[e,n]of(t.cases||[]).entries()){let t=`案例${e+1}`;if(!n||typeof n!=`object`||Array.isArray(n)){a.push(`${t}不是对象`);continue}(!v(n.case_id)||!v(n.name))&&a.push(`${t}缺少案例ID或名称`),/^https?:\/\//i.test(String(n.url||``))||a.push(`${t}必须提供可访问的具体链接`),d(n.combo)||a.push(`${t}双维度组合不成立`),(!Array.isArray(n.common_points)||n.common_points.length<2||n.common_points.some(e=>!v(e)))&&a.push(`${t}至少需要两个具体共同点`),[`product_upgrade`,`visual`,`copy`].includes(n.dimension)||a.push(`${t}须标明产品升级、视觉或文案维度`),[`viewed`,`summary_only`,`blocked`].includes(n.verification_status)||a.push(`${t}核实状态不合法`),[`verified`,`pending`,`fail`].includes(n.competition_status)||a.push(`${t}竞争状态不合法`),n.competition_status===`verified`&&!v(n.competition_evidence)&&a.push(`${t}标为竞争已核实但无比较依据`),n.demo_from_source===!0&&a.push(`${t}是源文示例,不得直接当作已核实案例;请重新核实来源和竞争强度`),n.verification_status===`viewed`&&(b(n.accessed_at)||a.push(`${t}实际查看须填写访问日期`),v(n.observed_practice)||a.push(`${t}声明已查看但未写页面中可核实的具体做法`),(!v(n.source_ref)||!s.refs.includes(n.source_ref))&&a.push(`${t}已查看案例必须引用本项目已归档证据`),n.dimension===`visual`&&n.visual_checked!==!0&&a.push(`${t}视觉案例未声明实际查看图片,不能描述画面`)),n.verification_status===`summary_only`&&(v(n.observed_practice)&&a.push(`${t}仅核实摘要不得描述未查看的页面内容`),(!v(n.source_ref)||!s.refs.includes(n.source_ref))&&a.push(`${t}仅核实摘要也须登记摘要来源`)),n.verification_status===`blocked`&&!v(n.failure_reason)&&a.push(`${t}无法访问须写明失败原因,不能沉默跳过`);let r=n.transfer_plan;if(!r||typeof r!=`object`||Array.isArray(r))a.push(`${t}缺少迁移方案`);else{(!S(r.changes)||r.changes.some(e=>!v(e)))&&a.push(`${t}迁移方案须写明具体改动`),(!S(r.conditions)||r.conditions.some(e=>!v(e)))&&a.push(`${t}迁移方案须写明适用条件`),v(r.expected_problem)||a.push(`${t}迁移方案须写明预期解决的问题`);let e=/^(ctr|click_rate|conversion_rate|cvr|roi|gmv|success_rate|sales_forecast|expected_ctr|expected_conversion_rate)$/i,n=t=>{if(!t||typeof t!=`object`)return!1;for(let[r,i]of Object.entries(t))if(e.test(r)&&typeof i==`number`&&i!==0||n(i))return!0;return!1};n(r)&&a.push(`${t}不得写入未经实测的点击率、转化率、成功率或销售额预测`)}p.push({...n,borrow_relation:Array.isArray(n.common_points)&&n.common_points.length>=2?`pass`:`fail`})}let m=new Set;for(let e of t.cases||[])v(e?.case_id)&&(m.has(e.case_id)&&a.push(`案例ID重复:`+e.case_id),m.add(e.case_id));let h=new Map,g=[],_=0,y=0,x=0,C=0;for(let[i,o]of t.rows.entries()){let t=`第${i+1}行`;if(!v(o.category)){a.push(`${t}缺少具体品类名`);continue}let s=n(o.category);if((e.has(String(o.category).trim())||s.length<2)&&a.push(`${t}品类必须具体到可直接搜索`),(!Array.isArray(o.combos)||!o.combos.length||o.combos.some(e=>!d(e)))&&a.push(`${t}双维度组合不成立或缺失`),!Array.isArray(o.common_points)||o.common_points.length<2||o.common_points.some(e=>!v(e))?a.push(`${t}至少需要两个具体共同点`):o.common_points.some(e=>r.some(t=>String(e).includes(t)))&&a.push(`${t}共同点过于笼统,不能作为借鉴理由`),v(o.borrow_method)||a.push(`${t}缺少可提取的产品、视觉或文案方法`),[`verified`,`pending`,`fail`].includes(o.competition_status)||a.push(`${t}竞争状态不合法`),o.competition_status===`verified`&&!v(o.competition_evidence)&&a.push(`${t}标为竞争已核实但无比较依据`),o.conditional===!0&&!v(o.condition_note)&&a.push(`${t}条件候选须写明额外条件`),o.is_direct_competitor===!0||n(o.category)===n(c.category)){y++;continue}if(h.has(s)){_++;continue}if(h.set(s,o),o.competition_status===`fail`){x++;continue}o.conditional===!0&&C++,g.push(o)}if(a.length)return s;let w=l.map(e=>({combo:e,count:g.filter(t=>(t.combos||[]).map(e=>d(e)).includes(e)).length})),T=g.filter(e=>e.competition_status===`verified`).length,E=g.filter(e=>e.competition_status===`pending`).length,D=Math.max(0,30-g.length);D&&(o.push(`有效去重参考品类${g.length}个,距30个目标还差${D}个;未虚构共同点补数。`),s.gaps.push(`参考品类不足30个:差${D}个,需继续扩展或如实保留缺口。`));let O=w.filter(e=>e.count===0).map(e=>e.combo);O.length&&s.gaps.push(`部分双维度组合暂无有效方向:`+O.join(`、`)),y&&o.push(`${y}个直接同类竞品已排除,不计入跨行业品类。`),_&&o.push(`${_}个重复品类只计一次。`),x&&o.push(`${x}个竞争不满足的品类已淘汰,不计入有效清单。`),C&&o.push(`${C}个条件候选单列,不作为已通过竞争门槛的正式推荐。`);let k=p.filter(e=>e.verification_status===`viewed`).length,A=p.filter(e=>e.verification_status===`summary_only`).length,j=p.filter(e=>e.verification_status===`blocked`).length,M=e=>f.filter(t=>t.status===e).length;s.outputs={scope:`cross_industry_reference`,method_source_version:c.method_source_version,research_goal:c.research_goal,five_dimensions:f,five_dimension_status:{confirmed:M(`confirmed`),inferred:M(`inferred`),unknown:M(`unknown`)},categories:g.map((e,t)=>({index:t+1,category:e.category,combos:e.combos,common_points:e.common_points,borrow_method:e.borrow_method,conditional:e.conditional===!0,condition_note:e.condition_note??null,competition_status:e.competition_status,competition_evidence:e.competition_evidence??null,source_ref:e.source_ref})),combo_coverage:w,unique_category_count:g.length,conditional_candidate_count:C,competition_verified_count:T,competition_pending_count:E,excluded_direct_competitor_count:y,excluded_failed_competition_count:x,duplicate_category_count:_,shortfall_to_30:D,cases:p.map(e=>({case_id:e.case_id,name:e.name,url:e.url,combo:e.combo,common_points:e.common_points,dimension:e.dimension,verification_status:e.verification_status,case_value:e.verification_status,borrow_relation:e.borrow_relation,competition_threshold:e.competition_status,observed_practice:e.verification_status===`viewed`?e.observed_practice:null,transfer_plan:e.transfer_plan,conditions:e.transfer_plan?.conditions??[],expected_problem:e.transfer_plan?.expected_problem??null,failure_reason:e.failure_reason??null,human_judgment:e.human_judgment??null,source_ref:e.source_ref??null})),gates:{borrow_relation:{established:g.length,conditional:C},case_value:{viewed:k,summary_only:A,blocked:j},competition_threshold:{verified:T,pending:E,failed:x}},demo_examples_used:!1,effectiveness:null},s.gaps.push(`网页搜索、商品页读取、图片识别与模型分析均未接入;本次只校验已导入的结构化记录,不能声称已主动搜索或已看图。`,`不产出点击率、转化率、成功率或销量预测;迁移效果须另行实测。`),s.summary=`${g.length}个去重参考品类(竞争已核实${T}、待验证${E}、条件候选${C});${p.length}个案例(实看${k}、仅摘要${A}、无法访问${j})。仅结构分析,未联网搜索或看图。`}return o.push(...t.limitations),s.state=a.length?`blocked`:`contract_valid`,s}var w=`shop-link-tiers/0.1.0`,T=[`store-tier-baseline`,`link-tier-candidates`,`tier-stability-review`],E=e=>T.includes(e),D={stage:`W`,gate:`同店同窗、原件可追溯;缺失不补零;业务结论需人工核对`},O={"store-tier-baseline":{...D,name:`核对全店分层基线`,deps:[`project-scope`,`evidence-register`],input:`近30完整自然日的全店支付金额、去重访客、去重支付买家,以及统计范围`,does:`固定支付口径(不扣退款),先核对全店基线;人数不按链接或天数相加`,output:`全店同窗基线及缺项`},"link-tier-candidates":{...D,name:`比较链接贡献,找头部候选`,deps:[`store-tier-baseline`],input:`同店同窗链接支付金额、访客、买家与原件引用`,does:`按支付金额排序,对全店基线计算贡献;80%仅作参考,不作为自动划线`,output:`链接贡献排序、销售额对账差额;非正式梯队`},"tier-stability-review":{...D,name:`核验稳定性,准备三梯队建议`,deps:[`link-tier-candidates`],input:`链接逐日支付、访客、买家、订单及最大单笔支付证据`,does:`展示集中度及持续性供复核;新品和销量不足可暂归第三梯队;未确定门槛不自动晋级`,output:`三梯队候选理由与待确认策略,不修改看板分组`}};function k(e=new Date){let t=new Date(e.getTime()+8*36e5).toISOString().slice(0,10),n=Date.parse(t)-864e5;return{start_date:new Date(n-29*864e5).toISOString().slice(0,10),end_date:new Date(n).toISOString().slice(0,10)}}function A(e,t=new Date){return{rule_version:w,data_mode:e,scope:{...k(t),timezone:`Asia/Shanghai`,shop_id:``,currency:`CNY`,sales_basis:`paid_gross`,population_scope:``,unique_people_basis:`period_deduplicated`},source_refs:[],shop:{paid_sales:null,visitors:null,paying_buyers:null},links:[],policy:{head_cutoff:null,middle_cutoff:null,stability_threshold:null,large_order_threshold:null},limitations:[]}}var j=e=>typeof e==`object`&&e&&!Array.isArray(e)?e:{},M=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0,N=e=>typeof e==`string`&&e.trim().length>0,P=e=>M(e)&&Number.isInteger(e),F=(e,t)=>M(e)&&M(t)&&t>0?e/t:null;function I(e,t,n,r){let i=[],a=[],o={state:`blocked`,errors:i,gaps:a,warnings:[`访客和买家跨链接重叠,占比不得相加;结果不修改正式看板分组。`],summary:`资料尚未齐备`,refs:[],outputs:{},rule_version:w},s=j(t);if(!t||typeof t!=`object`||Array.isArray(t)||!E(e))return i.push(`节点或资料无效`),o;s.rule_version!==`shop-link-tiers/0.1.0`&&i.push(`规则版本需更新`),(s.data_mode!==r||![`real`,`simulated`].includes(r))&&i.push(`真实与模拟模式不一致`);let c=j(s.scope),l=k();(c.start_date!==l.start_date||c.end_date!==l.end_date||c.timezone!==`Asia/Shanghai`)&&i.push(`须使用上海时区最近30个完整自然日;历史运行应重新建立当前窗口`),(!N(c.shop_id)||!N(c.population_scope)||!N(c.currency))&&i.push(`缺少店铺、统计范围或币种`),(c.sales_basis!==`paid_gross`||c.unique_people_basis!==`period_deduplicated`)&&i.push(`支付额不扣退款;全店人数必须为期间去重值,不可逐日或跨链接相加`),(!Array.isArray(s.source_refs)||!s.source_refs.length||s.source_refs.some(e=>typeof e!=`string`||!n.includes(e)))&&i.push(`须选择本项目真实存在的来源引用`),o.refs=Array.isArray(s.source_refs)?s.source_refs.filter(e=>typeof e==`string`&&n.includes(e)):[];let u=j(s.shop);if((!M(u.paid_sales)||!P(u.visitors)||!P(u.paying_buyers))&&i.push(`全店支付额、访客、支付买家缺失或无效,不能用0替代`),P(u.paying_buyers)&&P(u.visitors)&&u.paying_buyers>u.visitors&&i.push(`全店支付买家超过访客,请核对口径`),i.length||!M(u.paid_sales)||!M(u.visitors)||!M(u.paying_buyers))return o;if(o.outputs={scope:c,shop:u,policy_status:`待配置`,tiers:[1,2,3],automatic_assignment:!1},e===`store-tier-baseline`)return o.state=`contract_valid`,o.summary=`全店30天基线结构已核对,待人工确认来源及范围`,o;if(!Array.isArray(s.links)||!s.links.length)return i.push(`缺少链接同窗资料`),o;let d=new Set;for(let e of s.links){let t=j(e);if(!t||typeof t.item_id!=`string`||!t.item_id.trim()||d.has(t.item_id)){i.push(`链接编号缺失或重复`);continue}d.add(t.item_id),typeof t.source_ref==`string`&&o.refs.includes(t.source_ref)||i.push(`链接来源引用缺失:`+t.item_id),(!M(t.paid_sales)||![t.visitors,t.paying_buyers].every(e=>e===null||P(e)))&&i.push(`链接指标缺失或无效:`+t.item_id),M(t.paid_sales)&&t.paid_sales>u.paid_sales&&i.push(`链接支付额超过全店,请核对范围:`+t.item_id),(P(t.visitors)&&t.visitors>u.visitors||P(t.paying_buyers)&&t.paying_buyers>u.paying_buyers)&&i.push(`链接人数超过全店,请核对范围:`+t.item_id)}if(i.length)return o;let f=[...s.links].sort((e,t)=>t.paid_sales-e.paid_sales||e.item_id.localeCompare(t.item_id)),p=0;return o.outputs.links=f.map(e=>(p+=e.paid_sales,{...e,sales_share:F(e.paid_sales,u.paid_sales),cumulative_sales_share:F(p,u.paid_sales),visitor_share:F(e.visitors,u.visitors),buyer_share:F(e.paying_buyers,u.paying_buyers),tier:null})),o.outputs.sales_reconciliation={link_sum:p,shop_total:u.paid_sales,difference:u.paid_sales-p},Math.abs(p-u.paid_sales)>.005&&a.push(`链接支付额合计与全店不一致,需核对遗漏、下架商品及统计范围;不自动补齐`),f.some(e=>e.visitors===null||e.paying_buyers===null)&&a.push(`部分链接缺访客或买家,不能核验头部稳定性`),e===`link-tier-candidates`?(o.state=a.length?`waiting_human`:`contract_valid`,o.summary=`已按支付金额比较链接贡献;未按80%强制分梯队`,o):(a.push(`头部/中腰部门槛、持续性、大单标准及晋降级条件尚未确定;不得自动判定第一/二梯队`),o.outputs.links=o.outputs.links.map(e=>{let t=Array.isArray(e.daily)?e.daily.map(j):[],n=new Set,r=i.length;for(let r of t){if(!r||typeof r.date!=`string`||!/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(r.date)||!Number.isFinite(Date.parse(r.date))||new Date(Date.parse(r.date)).toISOString().slice(0,10)!==r.date||r.date<String(c.start_date)||r.date>String(c.end_date)||n.has(r.date)||!M(r.paid_sales)||![r.visitors,r.paying_buyers,r.orders].every(P)){i.push(`逐日资料日期/指标无效或重复:`+e.item_id);continue}n.add(r.date)}let s=n.size===30&&i.length===r;s||a.push(e.item_id+` 缺完整30天逐日记录,缺日不补零`);let l=t.reduce((e,t)=>e+(M(t?.paid_sales)?t.paid_sales:0),0);s&&Math.abs(l-e.paid_sales)>.005&&i.push(`逐日支付额与期间支付额不一致:`+e.item_id),e.max_order_paid!==null&&e.max_order_paid!==void 0&&(!M(e.max_order_paid)||e.max_order_paid>e.paid_sales)&&i.push(`最大单笔支付金额无效:`+e.item_id),M(e.max_order_paid)||a.push(e.item_id+` 缺单笔订单集中度证据`);let u=[`new`,`insufficient_sales`].includes(String(e.third_tier_reason))&&typeof e.reason_evidence==`string`&&e.reason_evidence.trim()&&typeof e.reason_source_ref==`string`&&o.refs.includes(e.reason_source_ref);return{...e,tier:u?3:null,tier_status:u?`第三梯队建议,待人工确认`:`待确认(不是额外梯队)`,stability:{observed_days:n.size,active_order_days:s?t.filter(e=>M(e.orders)&&e.orders>0).length:null,max_day_sales_share:s?F(Math.max(...t.map(e=>M(e.paid_sales)?e.paid_sales:0)),e.paid_sales):null,max_order_sales_share:F(e.max_order_paid,e.paid_sales)},missing_policy:!0}}),o.state=i.length?`blocked`:`waiting_human`,o.summary=`稳定性证据已整理;仅有证据的新品/销量不足给出第三梯队建议,其余等待规则确认`,o)}var L={"project-scope":{name:`项目与约束确认`,deps:[],stage:`S1`,output:`项目简报`,gate:`负责人确认范围;缺身份不得进入发布`,input:`商品身份、平台店铺、预算、供给和停止条件`,does:`区分商品与SKU;查已有归档;将未知单列,不猜类目或店铺`},"evidence-register":{name:`证据登记`,deps:[`project-scope`],stage:`W`,output:`证据台账`,gate:`每项可追溯;未知与真实零区分`,input:`原件、来源、统计期、采集期、范围、单位`,does:`登记稳定行ID和哈希;原文与分析分层;只读原件`},"market-screen":{name:`市场候选筛选`,deps:[`evidence-register`],stage:`S2`,output:`市场候选表`,gate:`入选/淘汰有理由;TopN不冒充全市场`,input:`类目榜、趋势、价格带、店铺覆盖`,does:`分平销和趋势;比较需求迹象、供给和竞争;不加总重叠热度`},"keyword-clean":{name:`关键词整理`,deps:[`market-screen`],stage:`S3`,output:`清洁词表`,gate:`不丢原始行与区间单位`,input:`词表、原行ID、日期、单位`,does:`去重保留映射;指数与人数分列;缺页记录`},"keyword-needs":{name:`词根与需求分类`,deps:[`keyword-clean`],stage:`S3`,output:`需求词分类表`,gate:`分类有原词引用;无证据画像未知`,input:`清洁词表`,does:`拆词根按场景、用途、材质等有证据维度分类;八大分类定义不全不补造`},"keyword-market":{name:`目标关键词规划`,deps:[`keyword-needs`],stage:`S3`,output:`目标词规划表`,gate:`指标同窗同单位;不把搜索量等同销量`,input:`需求方向、相关词、同口径竞争指标`,does:`比较相关性、趋势、供需与可得PPC;无通用阈值不评分`},"competitor-select":{name:`对标入选筛选`,deps:[`keyword-market`],stage:`S2`,output:`对标入选剔除表`,gate:`每项入选理由明确;标题或图不证明同款`,input:`候选商品、叶子类目、规格、主图、价格条件`,does:`直接竞品、替代方案、表达参考分开;核实SKU可比性`},"competitor-compare":{name:`对标差异分析`,deps:[`competitor-select`],stage:`S2`,output:`竞争差异矩阵`,gate:`入口价与笔单价分列;集中度无总体分母不计算`,input:`入选对标与商品、服务、价格资料`,does:`比较需求表达、产品事实、价格与服务;不可见运营实力标未知`},"reviews-intake":{name:`评价材料准入`,deps:[`competitor-select`],stage:`S4`,output:`评价证据集`,gate:`样本来源可查;疑似不等于确认造假`,input:`已授权导入评价/追评、商品SKU、日期、原文`,does:`保留买家原声与行ID;空文/重复/疑似异常分开记录;不自行抓取`},"reviews-label":{name:`评价统一打标`,deps:[`reviews-intake`],stage:`S4`,output:`评价标签与证据表`,gate:`标签引用原文;不猜年龄;多标签不外推人群`,input:`评价证据集`,does:`每条同时标需求、场景、有证据用户线索及情绪;记录反例;推荐对象不当使用者`},"questions-intake":{name:`问大家材料准入`,deps:[`competitor-select`],stage:`S4`,output:`问答证据集`,gate:`关联完整且来源明确;缺失不编补`,input:`已授权问答原文、问题回答关联、日期商品`,does:`提问与回答分列;购买前疑问不当成交;身份未证实不称真实买家回答`},"questions-label":{name:`购买顾虑分析`,deps:[`questions-intake`],stage:`S4`,output:`买前顾虑卡`,gate:`问题频次不当市场规模;保留未回答项`,input:`问答证据集`,does:`归纳适配、使用、质量、服务等顾虑;答案是否有证据单列`},"social-context":{name:`可选场景补充`,deps:[`competitor-select`],stage:`S4`,output:`补充场景或跳过记录`,gate:`不强制所有渠道齐全;不自行联网`,input:`授权导入内容平台原文与链接,或明确无资料`,does:`仅分析需求场景;区分推广内容与体验;没有资料标可选跳过及影响`},"needs-synthesis":{name:`需求证据汇总`,deps:[`reviews-label`,`questions-label`,`social-context`,`competitor-compare`],stage:`S4`,output:`需求证据卡`,gate:`每结论可点回原声;缺渠道披露,不硬否决或造数`,input:`各渠道标签、原声和反证`,does:`分别统计各渠道有效分母;汇合相同任务;保留矛盾和样本偏差`},"product-facts":{name:`产品事实核验`,deps:[`project-scope`,`evidence-register`],stage:`S5`,output:`事实及待测试表`,gate:`每事实有证据、单位与适用条件`,input:`原图、规格、资质、说明与测试记录`,does:`区分可见特征、供方声明、实测与推断;不从图猜材质功效`},"supply-check":{name:`供应兑现检查`,deps:[`product-facts`],stage:`S5`,output:`供应风险与验收单`,gate:`负责人确认;供应不稳不扩大承诺`,input:`报价、MOQ、交期、库存、质检、包装`,does:`核对样品验收与量产交付条件;退货不自动算可售库存`},"cost-input":{name:`成本口径准备`,deps:[`supply-check`],stage:`S7`,output:`成本假设表`,gate:`来源、期间、费用归属齐全`,input:`采购包装履约税费推广退款风险固定成本`,does:`区分真实与假设;避免退款重复扣;缺项不得填0`},"cost-scenario":{name:`贡献与保本测算`,deps:[`cost-input`],stage:`S7`,output:`情景测算及敏感性`,gate:`公式与假设透明;不是财务净利润`,input:`净收入、变动成本、固定成本、销量情景`,does:`贡献=净收入−变动成本;期间=贡献×销量−固定;正贡献才算向上取整保本件数`},positioning:{name:`主打需求与链接定位`,deps:[`needs-synthesis`,`product-facts`,`supply-check`,`cost-scenario`],stage:`S6`,output:`定位简报`,gate:`需求有原声、承诺有事实;人工取舍无虚假分数`,input:`需求卡、兑现矩阵、成本与竞品差异`,does:`选择一个主打需求;写场景任务、产品能力、利益和证据;不具备则回产品节点`},"claim-evidence":{name:`卖点证据映射`,deps:[`positioning`],stage:`S6`,output:`卖点与禁用宣称表`,gate:`每项利益可解释;无证据宣称待核`,input:`定位、需求ID、事实ID`,does:`按FABE把特征转利益;比较优势须有同口径依据`},"page-tasks":{name:`主图详情逐屏策划`,deps:[`claim-evidence`],stage:`S6`,output:`逐屏任务表`,gate:`不能只输出美术风格;每屏有任务及证据`,input:`买家原声卡、事实表、主推SKU`,does:`逐屏写买家问题→需求ID→事实ID→证据展示→文案画面;首图聚焦`},"title-sku":{name:`标题属性SKU策划`,deps:[`positioning`,`keyword-market`,`product-facts`],stage:`S9`,output:`候选标题属性SKU表`,gate:`标题/图/规格一致;2025损坏文件不引用`,input:`核心词、准确属性、SKU与平台待核规则`,does:`精准相关词优先;去无关重复;新品无成交史不做删零成交词判断`},"video-script":{name:`视频分镜策划`,deps:[`page-tasks`],stage:`S8`,output:`视频脚本或明确不适用说明`,gate:`脚本不标成片;每镜头可实现`,input:`页面任务与可演示事实`,does:`逐镜头绑定问题、事实、演示条件和字幕;不能虚构实测`},"asset-production":{name:`素材制作交接`,deps:[`page-tasks`,`title-sku`,`video-script`],stage:`S10`,output:`制作任务和产物清单`,gate:`无生成能力标待接;不称已生成`,input:`有权素材、事实和任务单`,does:`按定意图→搭框架→润质感制作;本包仅整理任务与接收产物,模型外传须授权`},"asset-preflight":{name:`素材确定性预检`,deps:[`asset-production`],stage:`W`,output:`预检返修清单`,gate:`fail不得通过;格式通过不等于保真`,input:`实际文件与清单、当前尺寸规则`,does:`核对文件哈希、槽位、文本与规格一致;尺寸规则未知标待核`},"human-review":{name:`人工保真审核`,deps:[`asset-preflight`],stage:`W`,output:`人工决策记录`,gate:`AI不能代填人确认;修改材料后失效`,input:`材料版本、原图与证据、待核项`,does:`授权人逐槽位核对事实、权利、画面、文字;记录拒绝和返修`},"material-freeze":{name:`材料版本冻结`,deps:[`human-review`],stage:`W`,output:`冻结材料包`,gate:`本地定版不等于发布许可`,input:`已核验材料、审核与哈希`,does:`冻结清单并绑定审核版本;任何变更生成新版返审`},"listing-precheck":{name:`平台上架前检查`,deps:[`material-freeze`],stage:`W`,output:`发布差异与缺项单`,gate:`淘宝天猫分开核验;登录不等于写权限`,input:`店铺身份、类目schema、资质、价库物流售后`,does:`由虾哥核实受支持路线和权限;缺接入形成阻塞交接,不尝试后台`},"listing-approval":{name:`发布动作批准交接`,deps:[`listing-precheck`],stage:`W`,output:`批准封套或待批准记录`,gate:`研究及素材确认不能替代发布批准`,input:`具体店铺SKU字段、payload哈希与目标状态`,does:`只接收可信操作者明确批准;修改字段/范围/版本须重新批准`},"listing-submit":{name:`发布执行交接`,deps:[`listing-approval`],stage:`W`,output:`执行回执或待接入状态`,gate:`不得模拟冒充店铺成功;拒绝立即停止`,input:`已批准封套、受支持执行器`,does:`交虾哥执行;本包无写接口;记录动作ID和幂等范围`},"listing-readback":{name:`平台状态回验`,deps:[`listing-submit`],stage:`W`,output:`逐字段回验表`,gate:`受理不等于上架;未知先回读再考虑重试`,input:`由接入方提供的回读证据`,does:`比对店铺商品SKU字段与素材;区分审核中、成功、失败和未知`},"observe-baseline":{name:`观察方案与基线`,deps:[`listing-readback`],stage:`S9`,output:`观察计划`,gate:`曝光点击访客不同;PV不能算点击`,input:`回验结果、指标定义、窗口与混杂记录`,does:`约定同渠道指标分母、退款成熟期及停止条件;不保证短期显著`},"daily-observe":{name:`每日归档检查交接`,deps:[`observe-baseline`],stage:`W`,output:`每日证据与缺口`,gate:`缺失不补0;保存与通知状态分别核实`,input:`已接入每日归档与版本`,does:`检查完整日/缺日/迟到更正;不启动采集或调度;监控缺陷交虾`},"effect-review":{name:`阶段复盘`,deps:[`daily-observe`],stage:`S9`,output:`复盘与继续返修停止建议`,gate:`无对照不归因;保留失败案例`,input:`同口径前后窗、动作记录与混杂`,does:`描述变化,区分表达、需求、产品问题;观察不足待观察`},"method-candidate":{name:`方法候选沉淀`,deps:[`effect-review`],stage:`W`,output:`带来源版本的方法候选`,gate:`不自动晋级高成功率方法;不改全局知识库`,input:`复盘证据、样本、观察时长、失败定义`,does:`记录适用商品渠道阶段和限制;复用需条件匹配与人工核对`}},R=`project-scope.evidence-register.market-screen.keyword-clean.keyword-needs.keyword-market.competitor-select.competitor-compare.reviews-intake.reviews-label.questions-intake.questions-label.social-context.needs-synthesis.product-facts.supply-check.cost-input.cost-scenario.positioning.claim-evidence.page-tasks.title-sku.video-script.asset-production.asset-preflight.human-review.material-freeze.listing-precheck.listing-approval.listing-submit.listing-readback.observe-baseline.daily-observe.effect-review.method-candidate`.split(`.`);({...L,...p,...O}),[...R,...a,...T].length;var z={idle:`未启动`,running:`执行中`,paused:`已暂停`,waiting_input:`待补资料`,waiting_human:`待人工审核`,waiting_external:`待接入`,interrupted:`执行中断`,failed:`执行失败`,complete:`流程已确认`};async function B(e,t,n,r){if(window.omni?.projectExecution){let e=await window.omni.projectExecution({projectId:t,op:n,expectedVersion:r});if(!e.ok)throw Error(e.error);return e.value}return e(`/`+encodeURIComponent(t)+`/project-execution`,{op:n,expectedVersion:r,requestId:crypto.randomUUID()})}export{j as a,k as c,o as d,m as f,t as g,n as h,I as i,i as l,_ as m,z as n,E as o,g as p,w as r,A as s,B as t,C as u};
@@ -0,0 +1 @@
1
+ import{a as e,g as t,p as n}from"./index-Cez2mr3h.js";import{t as r}from"./HelpTip-DgowTr-K.js";import{t as i}from"./EvidenceSourceGuide-BqwES_45.js";import{it as a,n as o,r as s,s as c,y as l}from"./CartesianChart-BLyO9U-C.js";import{a as u,n as d,t as f}from"./LineChart-BOoSfV72.js";var p=t(n(),1),m=e(),h=[`#4a7c59`,`#c1666b`,`#4a6fa5`,`#d4a259`,`#7b6d8d`,`#3f8f8f`,`#a35d6a`,`#5b7c99`,`#8a8f4a`],g=(e,t)=>{if(e==null)return`—`;let n=Number(e);return Number.isFinite(n)?t===`%`?n.toFixed(2)+`%`:Math.abs(n)>=1e4?(n/1e4).toFixed(2)+`万`:n.toLocaleString(`zh-CN`,{maximumFractionDigits:2}):String(e)};function _({data:e,api:t,onPrepare:n}){let[i,_]=(0,p.useState)(null),[v,y]=(0,p.useState)(``),[b,x]=(0,p.useState)(!1),[S,C]=(0,p.useState)(``),[w,T]=(0,p.useState)(!1),[E,D]=(0,p.useState)([]),[O,k]=(0,p.useState)(``),[A,j]=(0,p.useState)(null);async function M(){x(!0),C(``);try{let n=await t(`/`+e.project.id+`/dashboard`);_(n),n.metrics?.length&&!v&&y(n.metrics[0].key||n.metrics[0].metric),n.metrics?.length||C(`本项目还没有可展示的已保存的数据。请先检查数据中心的导入状态与现有资料。`)}catch(e){C(e.message)}finally{x(!1)}}(0,p.useEffect)(()=>{M()},[e.project.id]);let N=(0,p.useMemo)(()=>i?.metrics?.find(e=>(e.key||e.metric)===v)||i?.metrics?.[0]||null,[i,v]),P=(0,p.useMemo)(()=>N?N.points.map(e=>({date:e.date,value:e.value})):[],[N]),F=(0,p.useMemo)(()=>i?.metrics?.filter(e=>E.includes(e.key||e.metric))||[],[i,E]),I=(0,p.useMemo)(()=>new Set(F.map(e=>String(e.unit||``))),[F]),L=I.size<=1,R=(0,p.useMemo)(()=>{if(!w||!F.length)return[];let e=new Map;for(let t of F){let n=Math.max(...t.points.map(e=>Math.abs(Number(e.value)||0)),1);for(let r of t.points)e.has(r.date)||e.set(r.date,{date:r.date}),e.get(r.date)[t.key||t.metric]=r.value===null?null:L?Number(r.value):+(Number(r.value)/n*100).toFixed(1)}return[...e.values()].sort((e,t)=>e.date.localeCompare(t.date))},[w,F,L]);function z(e){D(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}return(0,m.jsxs)(`section`,{className:`card`,style:{marginBottom:20},children:[!i?.metrics?.length&&n&&(0,m.jsxs)(`p`,{children:[(0,m.jsx)(`button`,{onClick:n,children:`查看本项目资料与导入状态`}),(0,m.jsx)(`span`,{children:` 这里只展示已归档资料;没有资料不补零、不生成示例。`})]}),(0,m.jsxs)(`h2`,{children:[`经营指标看板`,(0,m.jsx)(r,{label:`理解指标`,children:`先核对来源、统计日期和单位。不同单位的指标对比会缩放为相对趋势,不能据此比较金额或人数大小。`})]}),(0,m.jsx)(`p`,{className:`muted`,children:`从专用数据库读取项目指标与对比数据。同口径、同日期取最新采集值;缺失值保留空档。`}),(0,m.jsxs)(`div`,{className:`exports`,children:[(0,m.jsx)(`button`,{disabled:b,onClick:M,children:b?`读取中…`:`刷新看板`}),(0,m.jsx)(`button`,{className:w?``:`secondary`,onClick:()=>{T(!w),!w&&!E.length&&i?.metrics?.length&&D(i.metrics.slice(0,2).map(e=>e.key||e.metric))},children:w?`退出多指标对比`:`多指标对比`}),i&&(0,m.jsxs)(`span`,{className:`muted`,children:[` 指标 `,i.metrics?.length||0,` 个 · 源文件 `,i.files||0,` 个 · 区间 `,i.range?`${i.range.start} ~ ${i.range.end}`:`—`]})]}),S&&(0,m.jsx)(`p`,{role:`status`,children:S}),i?.metrics?.length>0&&(0,m.jsxs)(m.Fragment,{children:[w?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`p`,{className:`muted`,style:{margin:`10px 0`},children:L?`同单位叠加:选中指标均为 ${Array.from(I)[0]||`-`},直接同轴比较绝对值。`:`混合单位叠加(${Array.from(I).join(` / `)||`-`}):已按各自最大值归一到 0–100,只比走势方向,不能比绝对值。`}),(0,m.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8,margin:`10px 0`},children:i.metrics.map((e,t)=>{let n=e.key||e.metric,r=E.includes(n);return(0,m.jsx)(`button`,{onClick:()=>z(n),style:{padding:`4px 10px`,borderRadius:14,fontSize:12,cursor:`pointer`,border:`1px solid `+(r?h[t%h.length]:`#294248`),background:r?`var(--omni-selected,#193954)`:`var(--omni-panel,#102235)`,color:`var(--omni-text,#dceaf7)`},children:e.name},n)})}),F.length===0?(0,m.jsx)(`p`,{className:`muted`,children:`请至少选择一个指标。`}):(0,m.jsx)(`div`,{style:{width:`100%`,height:300},children:(0,m.jsx)(a,{children:(0,m.jsxs)(f,{data:R,margin:{top:8,right:16,bottom:8,left:8},children:[(0,m.jsx)(c,{strokeDasharray:`3 3`,stroke:`#e8ece9`}),(0,m.jsx)(s,{dataKey:`date`,tick:{fontSize:11},interval:`preserveStartEnd`,minTickGap:16}),(0,m.jsx)(o,{tick:{fontSize:11},width:56,domain:L?[`auto`,`auto`]:[0,100],tickFormatter:L?(e=>g(e,Array.from(I)[0]||``)):void 0}),(0,m.jsx)(l,{}),(0,m.jsx)(u,{wrapperStyle:{fontSize:12}}),F.map((e,t)=>(0,m.jsx)(d,{type:`monotone`,dataKey:e.key||e.metric,name:e.name,stroke:h[t%h.length],strokeWidth:2,dot:!1,connectNulls:!1,isAnimationActive:!1},e.key||e.metric))]})})})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill,minmax(170px,1fr))`,gap:10,margin:`14px 0`},children:i.metrics.map(e=>{let t=e.key||e.metric,n=e.points||[],r=n[n.length-1],i=n[n.length-2],a=r?.value!=null&&i?.value!=null?r.value-i.value:null,o=a==null||![`higher`,`lower`].includes(e.direction)?null:e.direction===`higher`?a>0:a<0;return(0,m.jsxs)(`div`,{onClick:()=>y(t),style:{cursor:`pointer`,padding:10,borderRadius:8,border:v===t?`2px solid var(--omni-accent,#61d3df)`:`1px solid var(--omni-line,#2c435b)`,background:`#101e25`},children:[(0,m.jsxs)(`div`,{style:{fontSize:12,color:`#a0b8bd`},children:[e.name,e.scope?(0,m.jsxs)(`span`,{title:e.scope,style:{color:`var(--omni-muted,#91a9bd)`},children:[` · `,/^[0-9a-f]{8}-/i.test(e.scope)?`范围 `+e.scope.slice(0,8):e.scope]}):null]}),(0,m.jsxs)(`div`,{style:{fontSize:20,fontWeight:600,margin:`2px 0`},children:[g(r?.value,e.unit),(0,m.jsx)(`span`,{style:{fontSize:12,color:`#a0b8bd`,marginLeft:4},children:e.unit===`%`?``:e.unit})]}),(0,m.jsx)(`div`,{style:{fontSize:12,color:o===null?`#a0b8bd`:o?`#a5e2c8`:`#ffabae`},children:a===null?`暂无可比值`:`${a>0?`+`:``}${g(a,e.unit)} 较上一观测日`}),(0,m.jsxs)(`div`,{style:{fontSize:11,color:`#a0b8bd`,marginTop:2},children:[e.count,` 天 · `,r?.date||`-`]})]},t)})}),N&&(0,m.jsxs)(`div`,{style:{marginTop:10},children:[(0,m.jsxs)(`div`,{className:`section-title`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:N.metric}),(0,m.jsxs)(`h3`,{children:[N.name,` · 走势`]})]}),(0,m.jsxs)(`span`,{className:`muted`,children:[N.count,` 个数据点 · 单位 `,N.unit,` · `,N.direction===`higher`?`越高越好`:N.direction===`lower`?`越低越好`:`方向待核`]})]}),(0,m.jsx)(`div`,{style:{width:`100%`,height:280},children:(0,m.jsx)(a,{children:(0,m.jsxs)(f,{data:P,margin:{top:8,right:16,bottom:8,left:8},children:[(0,m.jsx)(c,{strokeDasharray:`3 3`,stroke:`#e8ece9`}),(0,m.jsx)(s,{dataKey:`date`,tick:{fontSize:11},interval:`preserveStartEnd`,minTickGap:16}),(0,m.jsx)(o,{tick:{fontSize:11},width:56,tickFormatter:e=>g(e,N.unit)}),(0,m.jsx)(l,{formatter:e=>[g(e,N.unit),N.name],labelFormatter:e=>`日期 `+e}),(0,m.jsx)(d,{type:`monotone`,dataKey:`value`,stroke:`#4a7c59`,strokeWidth:2,dot:{r:2},connectNulls:!1,isAnimationActive:!1})]})})})]})]}),(0,m.jsxs)(`details`,{style:{marginTop:12},children:[(0,m.jsxs)(`summary`,{children:[`指标来源文件(`,i.files,` 个)`]}),i.metrics.map(t=>(0,m.jsxs)(`div`,{style:{margin:`6px 0`},children:[(0,m.jsxs)(`b`,{children:[t.name,`(`,t.metric,`)`]}),t.files.map(t=>(0,m.jsx)(`p`,{className:`muted`,style:{margin:`2px 0 2px 12px`},children:(0,m.jsx)(`a`,{href:`/api/workbench/`+e.project.id+`/file/`+t.id,children:t.name})},t.id))]},t.key||t.metric))]}),(0,m.jsx)(`p`,{className:`muted`,children:`看板只做展示与描述统计,不判断因果;缺日不插值,单位差异不做换算。`})]}),(i?.datasets?.length||0)>0&&(()=>{let e=i.datasets.find(e=>e.fileId===O)||i.datasets[0],t=e.columns||[],n=[...e.rows];if(A){let e=t.find(e=>e.key===A.key);n.sort((t,n)=>{let r=t[A.key],i=n[A.key];if(e?.type===`text`)return A.desc?String(i??``).localeCompare(String(r??``)):String(r??``).localeCompare(String(i??``));let a=Number(r),o=Number(i);return!Number.isFinite(a)&&!Number.isFinite(o)?0:Number.isFinite(a)?Number.isFinite(o)?A.desc?o-a:a-o:-1:1})}let r=(e,t)=>{if(e==null||e===``)return`—`;if(t.type===`percent`){let t=Number(e);return Number.isFinite(t)?(t*100).toFixed(2)+`%`:String(e)}if(t.type===`number`){let t=Number(e);return Number.isFinite(t)?t.toLocaleString(`zh-CN`,{maximumFractionDigits:2}):String(e)}return String(e)};return(0,m.jsxs)(`div`,{style:{marginTop:24,paddingTop:20,borderTop:`2px solid #294248`},children:[(0,m.jsxs)(`div`,{className:`section-title`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`STRUCTURED COMPARISON`}),(0,m.jsx)(`h2`,{children:`数据明细对比`})]}),(0,m.jsxs)(`span`,{className:`muted`,children:[`数据集 `,i.datasets.length,` 个`]})]}),i.datasets.length>1&&(0,m.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8,margin:`10px 0`},children:i.datasets.map(t=>(0,m.jsx)(`button`,{className:t.fileId===e.fileId?``:`secondary`,onClick:()=>{k(t.fileId),j(null)},children:t.title},t.fileId))}),(0,m.jsxs)(`div`,{className:`section-title`,style:{marginTop:8},children:[(0,m.jsx)(`div`,{children:(0,m.jsx)(`h3`,{children:e.title})}),(0,m.jsxs)(`span`,{className:`muted`,children:[e.window?`窗口 ${e.window} · `:``,n.length,` 行`,e.kind?` · ${e.kind}`:``]})]}),e.note&&(0,m.jsx)(`p`,{className:`hint`,children:e.note}),(0,m.jsx)(`div`,{style:{overflowX:`auto`},children:(0,m.jsxs)(`table`,{style:{width:`100%`,borderCollapse:`collapse`,fontSize:13},children:[(0,m.jsx)(`thead`,{children:(0,m.jsx)(`tr`,{children:t.map(e=>(0,m.jsxs)(`th`,{onClick:()=>j(t=>t&&t.key===e.key?{key:e.key,desc:!t.desc}:{key:e.key,desc:!0}),style:{cursor:`pointer`,textAlign:e.type===`text`?`left`:`right`,padding:`8px 10px`,borderBottom:`2px solid #294248`,whiteSpace:`nowrap`,userSelect:`none`},children:[e.label,e.unit?`(${e.unit})`:``,A&&A.key===e.key?A.desc?` ▼`:` ▲`:``]},e.key))})}),(0,m.jsx)(`tbody`,{children:n.map((e,n)=>(0,m.jsx)(`tr`,{style:{background:(n%2,`#101e25`)},children:t.map(t=>(0,m.jsx)(`td`,{style:{padding:`7px 10px`,textAlign:t.type===`text`?`left`:`right`,borderBottom:`1px solid #294248`,color:t.direction===`lower`&&Number(e[t.key])>0?`#ffabae`:void 0},children:r(e[t.key],t)},t.key))},n))}),e.totals&&(0,m.jsx)(`tfoot`,{children:(0,m.jsx)(`tr`,{style:{fontWeight:600,background:`#101e25`},children:t.map((t,n)=>(0,m.jsx)(`td`,{style:{padding:`8px 10px`,textAlign:t.type===`text`?`left`:`right`,borderTop:`2px solid #294248`},children:n===0?`合计`:e.totals[t.key]===void 0?``:r(e.totals[t.key],t)},t.key))})})]})}),(0,m.jsx)(`p`,{className:`muted`,style:{marginTop:8},children:`点表头可排序。数据来自本项目归档的 analysis-dataset-v1 数据集,不插值、不换算单位。`})]})})()]})}var v=`1.0.0-local`;function y(e,t=!1){return{format:`project-daily-review-v1`,project_id:e,mode:`simulated`,workflow:`operating-reconciliation`,evidence:{source:`虚构每日核算快照`,collectedAt:`2026-10-29T00:00:00Z`},config:{timezone:`Asia/Shanghai`,metric:`specifiedCostProfit`,scope:`fictional-cup`,unit:`CNY`,direction:`higher`,start:`2026-10-01`,end:`2026-10-03`},snapshots:(t?[1,2,3]:[1,3]).map(t=>({date:`2026-10-0${t}`,project_id:e,workflow:`operating-reconciliation`,mode:`simulated`,scope:`fictional-cup`,unit:`CNY`,source:`虚构归档账本`,collectedAt:`2026-10-29T00:00:00Z`,complete:!0,version:1,value:200+t*10})),method:{name:`降低低效广告支出候选`,version:`candidate-1`,productType:`虚构杯具`,channel:`搜索`,stage:`在售`,window:`7日`,sampleSize:0,observationDays:3,successDefinition:`足窗同口径贡献增加且退款不恶化`,failureDefinition:`贡献下降或退款恶化`,limits:`模拟、无对照、样本不足`,sourceRun:`虚构核算示例`,failures:[`模拟缺日分支`]}}}function b(e){let t=new Date;return t.setDate(t.getDate()+e),`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)}`}function x({data:e,api:t,dirty:n,onSaved:a,onDirty:o,initialItemId:s=``}){let[c,l]=(0,p.useState)(``),[u,d]=(0,p.useState)(!1),[f,h]=(0,p.useState)(``),[g,_]=(0,p.useState)(``),[x,S]=(0,p.useState)(``),[C,w]=(0,p.useState)(``),[T,E]=(0,p.useState)(null),[D,O]=(0,p.useState)(e.monitorConfig?.enabled||!1),[k,A]=(0,p.useState)(e.monitorConfig?.followLatest||!1),[j,M]=(0,p.useState)(s),[N,P]=(0,p.useState)(()=>b(-30)),[F,I]=(0,p.useState)(()=>b(-1)),[L,R]=(0,p.useState)(`revenue`),[z,B]=(0,p.useState)(``),[V,H]=(0,p.useState)(null),[U,W]=(0,p.useState)(!1),[G,ee]=(0,p.useState)(`inventory`),[K,te]=(0,p.useState)(`revenue`),[q,ne]=(0,p.useState)(``),[J,Y]=(0,p.useState)(!1),[X,re]=(0,p.useState)(``),[Z,ie]=(0,p.useState)(!1),Q=e.monitorStreams||[];async function $(n,r,i,o){Y(!0),h(``);try{let s=n+`-`+r;await t(`/`+e.project.id+`/monitor-stream`,{version:e.project.version,key:s,enabled:o,timezone:`Asia/Shanghai`,workflow:`fulfillment-retention`,branch:n,metric:r,scope:null,sourceFileId:i||null,followLatest:!1,itemId:String(X).trim()||null,autoUpdate:Z}),h(`命名流 ${n}(${r})已保存${o?`并启用`:`并关闭`};未创建日程、未获取新数据`),await a()}catch(e){h(e.message)}finally{Y(!1)}}async function ae(n){let r=JSON.stringify(n,null,2),i=new TextEncoder().encode(r),a=``;for(let e of i)a+=String.fromCharCode(e);let o=`每日快照-${n.config.metric}-${n.config.start}_${n.config.end}.json`;return(await t(`/`+e.project.id+`/file`,{name:o,kind:`analysis`,source:`生意参谋逐日取数 ${n.evidence.collectedAt}`,base64:btoa(a)})).id}async function oe(){W(!0),h(``);try{let n=await t(`/`+e.project.id+`/job`,{kind:`daily-review-collect`,step:5,version:e.project.version,input:{itemId:String(j).trim(),from:N,to:F,metric:L,workflow:`listed-optimization`},refs:[]});B(n.id),H({id:n.id,status:`pending`}),h(`取数任务已提交,等待本机执行(约 2–3 秒/天,串行)。`)}catch(e){h(e.message)}finally{W(!1)}}(0,p.useEffect)(()=>{if(!z)return;let n=setInterval(async()=>{try{let r=await t(`/`+e.project.id+`/job/`+z);if(H(r),r.status!==`pending`&&(clearInterval(n),r.status===`done`&&r.result)){let e=r.result;l(JSON.stringify(e,null,2));try{let t=await ae(e);try{await a()}catch{}_(t),h(`已取到 ${e.snapshots?.length||0} 天快照并归档为本项目文件;已自动选为来源,打开启用开关后保存配置即可。`)}catch(t){h(`已取到 ${e.snapshots?.length||0} 天快照并填入,但归档失败:${t.message}。可手动保存为文件。`)}}}catch{}},4e3);return()=>clearInterval(n)},[z]);let se=e.acquisitionJobs.filter(e=>e.type===`project-daily-review`);async function ce(){d(!0);try{let n=await t(`/`+e.project.id+`/project-daily-review`,{run_id:crypto.randomUUID(),version:e.project.version,raw:c,previous_run_id:x||null,feedback:x?{action:`更新执行/观察证据`,observation:C,reason:C}:null});E(n),h(n.status===`done`?n.reused?`返回已有运行,不重复写入`:`证据、评审与Wiki新版本已保存`:n.error),await a()}catch(e){h(e.message)}finally{d(!1)}}return(0,m.jsxs)(`section`,{className:`card`,children:[(0,m.jsxs)(`h2`,{children:[`每日监控与复盘`,(0,m.jsx)(r,{label:`设置监控`,children:`先核对商品、指标和日期。启用监控是保存任务设置,不能据此判断后台已运行;查看实际任务记录确认结果。`})]}),(0,m.jsx)(i,{data:e,raw:c,disabled:u,onLoad:e=>{l(e),o?.(!0)},onSourceSelected:_,format:`project-daily-review-v1`,source:`逐日指标快照`,question:`要观察哪个商品和指标?先确认日期范围,再选择已归档快照或手动发起平台取数。配置日检是独立操作,不会因读取资料而启用。`},e.project.id),(0,m.jsx)(`p`,{children:`监控配置 → 归档每日快照 → 缺日与更正检查 → 指标变化 → 阶段复盘 → 候选方法复用`}),(0,m.jsxs)(`p`,{children:[`版本 `,v,` · `,e.project.simulated?`模拟项目,不能证明真实效果`:`人工资料项目`,`。平台取数已接入(生意参谋逐日,生成标准快照);模型语义诊断、店铺执行未接入。`]}),(0,m.jsxs)(`div`,{style:{margin:`14px 0`,padding:12,border:`1px solid #294248`,borderRadius:8,background:`#101e25`},children:[(0,m.jsx)(`b`,{children:`平台取数 · 生成每日快照`}),(0,m.jsx)(`p`,{className:`muted`,style:{margin:`4px 0 8px`},children:`从生意参谋拉逐日原值,直接生成 project-daily-review-v1 并归档为本项目文件。只能取本店商品;贡献与利润类指标平台不提供。`}),(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsxs)(`p`,{children:[`读取平台资料`,(0,m.jsx)(r,{label:`资料获取范围`,children:`先确认商品和日期。提交只创建请求,是否执行以实际记录为准;不要为试用功能恢复已暂停的采集。`})]}),(0,m.jsxs)(`label`,{children:[`商品ID(本店在售)`,(0,m.jsx)(`input`,{value:j,onChange:e=>M(e.target.value),placeholder:`如 100000000001`})]}),(0,m.jsxs)(`label`,{children:[`监控指标`,(0,m.jsxs)(`select`,{value:L,onChange:e=>R(e.target.value),children:[(0,m.jsx)(`option`,{value:`revenue`,children:`支付金额`}),(0,m.jsx)(`option`,{value:`buyers`,children:`支付买家数`}),(0,m.jsx)(`option`,{value:`visitors`,children:`商品访客数`}),(0,m.jsx)(`option`,{value:`pageViews`,children:`商品浏览量`}),(0,m.jsx)(`option`,{value:`spend`,children:`广告花费`}),(0,m.jsx)(`option`,{value:`refunds`,children:`退款成功金额`}),(0,m.jsx)(`option`,{value:`newBuyers`,children:`新客支付买家`}),(0,m.jsx)(`option`,{value:`oldBuyers`,children:`老客支付买家`}),(0,m.jsx)(`option`,{value:`descScore`,children:`描述评分`}),(0,m.jsx)(`option`,{value:`oldBuyerShare`,children:`老客支付买家占比(非复购率)`}),(0,m.jsx)(`option`,{value:`uvValue`,children:`UV价值(派生)`}),(0,m.jsx)(`option`,{value:`netUvValue`,children:`期间差额/UV(非利润)`})]})]}),(0,m.jsxs)(`label`,{children:[`日期区间(默认近30天)`,(0,m.jsx)(`input`,{type:`date`,value:N,onChange:e=>P(e.target.value)}),` 至 `,(0,m.jsx)(`input`,{type:`date`,value:F,onChange:e=>I(e.target.value)})]})]}),(0,m.jsxs)(`div`,{className:`exports`,children:[(0,m.jsx)(`button`,{disabled:U||!j||!N||!F,onClick:oe,children:`从平台取数`}),V&&(0,m.jsxs)(`span`,{className:`muted`,children:[` `,V.id,` · `,V.status===`pending`?`等待执行`:V.status===`done`?`已返回`:V.error||`失败`]})]}),Array.isArray(V?.notes)&&V.notes.length>0&&(0,m.jsx)(`p`,{className:`muted`,children:V.notes.join(`;`)})]}),(0,m.jsxs)(`div`,{className:`card`,children:[(0,m.jsxs)(`h3`,{children:[`项目每日监控配置`,(0,m.jsx)(r,{label:`启用监控前`,children:`核对监控范围和资料来源后再保存。自动更新取决于实际接入和权限,缺日期的数据不能补成零。`})]}),(0,m.jsx)(`p`,{children:`默认未启用,批处理排除模拟项目。目标窗口自动到Asia/Shanghai昨天;没有新数据会记录缺日,不启动取数。`}),(0,m.jsxs)(`label`,{children:[(0,m.jsx)(`input`,{type:`checkbox`,checked:D,onChange:e=>O(e.target.checked)}),`启用本项目日检`]}),(0,m.jsxs)(`label`,{children:[(0,m.jsx)(`input`,{type:`checkbox`,checked:k,onChange:e=>A(e.target.checked)}),`跟随同名归档最新版本(仍验证项目与类型)`]}),(0,m.jsxs)(`p`,{children:[`在下方选择本项目标准JSON来源;不选择来源保存为待接通。当前:`,e.monitorConfig?.enabled?`已启用`:`未启用`,` · `,e.monitorConfig?.sourceFileId||`缺源`]}),(0,m.jsx)(`button`,{disabled:u||n,onClick:async()=>{d(!0);try{await t(`/`+e.project.id+`/monitor-config`,{version:e.project.version,enabled:D,timezone:`Asia/Shanghai`,sourceFileId:g||e.monitorConfig?.sourceFileId||null,followLatest:k}),h(`监控配置已保存;未创建日程、未获取新数据`),await a()}catch(e){h(e.message)}finally{d(!1)}},children:`保存日检配置`}),(0,m.jsxs)(`div`,{className:`card`,children:[(0,m.jsx)(`h3`,{children:`独立监控任务 · 发货与售后`}),(0,m.jsx)(`p`,{className:`muted`,children:`在 default 流(上方日检配置)之外,按分支加独立监控流。每条流独立来源、独立缺日判断、独立通知,互不影响。当前仅支持 fulfillment-retention 的两分支。`}),Q.length>0&&(0,m.jsx)(`div`,{children:Q.map(e=>(0,m.jsxs)(`div`,{style:{margin:`6px 0`,padding:6,border:`1px solid #294248`,borderRadius:6},children:[(0,m.jsx)(`b`,{children:e.branch===`inventory`?`库存履约`:`售后回流`}),`(`,e.key,`) · 指标 `,e.metric,` · `,e.enabled?`已启用`:`已关闭`,` · 来源 `,e.sourceName||`缺源`,(0,m.jsx)(`button`,{className:`secondary`,style:{marginLeft:8},disabled:J,onClick:()=>$(e.branch,e.metric,e.sourceFileId||``,!e.enabled),children:e.enabled?`关闭`:`启用`})]},e.id))}),(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsxs)(`label`,{children:[`分支`,(0,m.jsxs)(`select`,{value:G,onChange:e=>ee(e.target.value),children:[(0,m.jsx)(`option`,{value:`inventory`,children:`库存履约`}),(0,m.jsx)(`option`,{value:`after-sales`,children:`售后回流`})]})]}),(0,m.jsxs)(`label`,{children:[`监控指标(与导入资料中的指标一致)`,(0,m.jsx)(`input`,{value:K,onChange:e=>te(e.target.value),placeholder:`如 revenue / buyers / refunds`})]}),(0,m.jsxs)(`label`,{children:[`商品ID(开启自动更新必填)`,(0,m.jsx)(`input`,{value:X,onChange:e=>re(e.target.value),placeholder:`如 100000000001`})]}),(0,m.jsxs)(`label`,{style:{flexDirection:`row`,alignItems:`center`,gap:6},children:[(0,m.jsx)(`input`,{type:`checkbox`,checked:Z,onChange:e=>ie(e.target.checked)}),`每日自动更新快照`]}),(0,m.jsxs)(`label`,{children:[`来源快照`,(0,m.jsxs)(`select`,{value:q,onChange:e=>ne(e.target.value),children:[(0,m.jsx)(`option`,{value:``,children:`选择 project-daily-review-v1 归档`}),e.files.filter(e=>e.name.endsWith(`.json`)).map(e=>(0,m.jsx)(`option`,{value:e.id,children:e.name},e.id))]})]})]}),(0,m.jsx)(`button`,{disabled:J||!K,onClick:()=>$(G,K,q,!0),children:`保存并启用此监控任务`})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`日检状态历史`}),e.acquisitionJobs.filter(e=>e.type===`monitor-event`).map(e=>(0,m.jsxs)(`p`,{children:[e.targetDay,` · `,e.state,` · `,e.created]},e.id))]})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`监控状态和复用边界`}),(0,m.jsx)(`p`,{children:`默认Asia/Shanghai;配置闭环、指标、范围、单位、起止日。仅分析本项目已归档或导入的快照,不抓平台,不创建调度。缺日、不完整、延迟退款更正需保留版本及理由。`}),(0,m.jsx)(`p`,{children:`方法记录适用商品/渠道/阶段/窗口、样本量、观察时长、成功与失败定义、限制与来源版本;只能形成候选。复用目标条件不匹配会提示,不生成高成功率,不自动执行店铺调整。`})]}),c&&(()=>{try{let e=JSON.parse(c),t=e.snapshots?.length||0,n=e.snapshots?.filter(e=>e.value==null).length||0;return(0,m.jsxs)(`div`,{style:{margin:`10px 0`,padding:10,border:`1px solid #294248`,borderRadius:6,background:`#101e25`},children:[(0,m.jsx)(`b`,{children:`当前证据`}),(0,m.jsxs)(`p`,{className:`muted`,style:{margin:`4px 0`},children:[`快照 `,t,` 天`,e.config?.start?` `+e.config.start+`~`+e.config.end:``,` · 指标 `,e.config?.metric||`-`,` · 时区 `,e.config?.timezone||`-`,` · 流程 `,e.workflow||`-`]}),n>0&&(0,m.jsxs)(`p`,{className:`muted`,style:{margin:0},children:[`有 `,n,` 天值为空 —— 缺日不能跳过,需补数据或调整窗口`]})]})}catch{return(0,m.jsx)(`p`,{className:`muted`,children:`资料格式无法读取,请检查 JSON 文件格式`})}})(),(0,m.jsxs)(`details`,{style:{margin:`10px 0`},children:[(0,m.jsx)(`summary`,{style:{cursor:`pointer`},children:`手动补充资料(历史数据、外部导出或模拟演示)`}),(0,m.jsx)(`p`,{className:`muted`,children:`自动取数盖不住这些情况时才用:补成本与利润、历史或外部导出数据、不碰真实店铺的模拟测试。`}),(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsx)(`button`,{disabled:!e.project.simulated||u,onClick:()=>{l(JSON.stringify(y(e.project.id),null,2)),h(`虚构账本已载入;没有执行记录,不会假称已执行`)},children:`载入缺日模拟快照`}),(0,m.jsx)(`button`,{disabled:!e.project.simulated||!c||u,onClick:()=>{l(JSON.stringify(y(e.project.id,!0),null,2)),h(`已载入明确标记的虚构执行与后窗。请选前次运行并填写反馈再保存。`)},children:`模拟补齐每日快照`})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`高级:查看或修改原始资料字段`}),(0,m.jsxs)(`label`,{children:[`商品与证据包`,(0,m.jsx)(`textarea`,{"aria-label":`每日复盘证据包`,rows:12,value:c,onChange:e=>l(e.target.value)})]})]})]}),(0,m.jsxs)(`label`,{children:[`本次反馈对应哪次检查`,(0,m.jsxs)(`select`,{value:x,onChange:e=>S(e.target.value),children:[(0,m.jsx)(`option`,{value:``,children:`首次诊断/计划`}),se.filter(e=>e.status===`done`).map(e=>(0,m.jsxs)(`option`,{value:e.id,children:[e.result?.conclusion,` · `,e.created]},e.id))]})]}),x&&(0,m.jsxs)(`label`,{children:[`本次实际变更、观察和判断理由`,(0,m.jsx)(`textarea`,{value:C,onChange:e=>w(e.target.value)})]}),(0,m.jsx)(`button`,{disabled:u||n||!c||!!x&&!C.trim(),onClick:ce,children:u?`校验与保存中…`:x?`保存反馈并重评`:`检查每日快照并保存`}),n&&(0,m.jsx)(`p`,{children:`先保存当前其他步骤的编辑。`}),(0,m.jsx)(`p`,{role:`status`,children:f}),T?.result&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`h3`,{children:T.result.conclusion}),(0,m.jsx)(`p`,{children:T.result.causality}),(0,m.jsx)(`pre`,{children:JSON.stringify(T.result,null,2)})]}),(0,m.jsx)(`h3`,{children:`监控历史与待复核`}),se.map(t=>(0,m.jsxs)(`details`,{children:[(0,m.jsxs)(`summary`,{children:[t.created,` · `,t.result?.conclusion||t.error,t.savedVersion===e.project.version?``:` · 上游/项目已变更,需复核`,t.skill_version===`1.0.0-local`?``:` · 旧规则需重评`]}),(0,m.jsxs)(`p`,{children:[`分析方法版本 `,t.skill_version,` · SHA256 `,t.input_sha]}),(0,m.jsx)(`pre`,{children:JSON.stringify(t.result,null,2)}),t.artifactIds?.map(t=>(0,m.jsx)(`p`,{children:(0,m.jsx)(`a`,{href:`/api/workbench/`+e.project.id+`/file/`+t,children:`读取证据或评审文件`})},t))]},t.id)),(0,m.jsx)(`p`,{children:`所有运行进入项目Wiki的“评审与下一步”版本;保留原件与哈希。建议保留/调整/回滚仅为建议,系统不执行真实变更。`})]})}var S=`1.0.0-local`;function C(e,t=!1){let n=(e,t)=>Array.from({length:7},(n,r)=>({date:`2026-10-${String(e+r).padStart(2,`0`)}`,impressions:1e3,clicks:t,visitors:100,buyers:10,revenue:500,refunds:20,spend:50,variableCost:200})),r={itemId:`fictional-listed-001`,currency:`CNY`,revenueBasis:`gross_paid`,refundBasis:`paid_order_cohort`,costBasis:`ex_ads_ex_refunds`,scope:`全量支付/订单队列退款;非广告归因`,channel:`手机搜索`,device:`mobile`,timezone:`Asia/Shanghai`};return{format:`listed-optimization-v1`,project_id:e,mode:`simulated`,itemId:r.itemId,goal:`ctr`,evidence:{source:`虚构在售商品演练,非平台数据`,collectedAt:`2026-10-29T00:00:00Z`,mode:`simulated`},pre:{...r,start:`2026-10-01`,end:`2026-10-07`,daily:n(1,30)},plan:{changes:[`主图利益点文案`],hypothesis:`虚构假设:明确容量表达可能增加点击`,reason:`仅验证工作流,不证明业务原因`,minDays:7,minDenominator:1e3,stopRule:`贡献减少或退款异常时人工评估停止`},execution:t?{mode:`simulated`,confirmed:!0,actor:`模拟测试角色`,date:`2026-10-08`,change:`主图利益点文案`,proof:`模拟执行记录,未操作店铺`}:null,post:t?{...r,start:`2026-10-09`,end:`2026-10-15`,daily:n(9,35)}:null,confounders:[],refundMature:t}}function w(e){let t=new Date;return t.setDate(t.getDate()+e),`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)}`}function T({data:e,api:t,dirty:n,onSaved:a,onDirty:o,initialItemId:s=``}){let[c,l]=(0,p.useState)(``),[u,d]=(0,p.useState)(!1),[f,h]=(0,p.useState)(``),[g,_]=(0,p.useState)(``),[v,y]=(0,p.useState)(``),[b,x]=(0,p.useState)(``),[T,E]=(0,p.useState)(null),[D,O]=(0,p.useState)(s),[k,A]=(0,p.useState)(()=>w(-30)),[j,M]=(0,p.useState)(()=>w(-1)),[N,P]=(0,p.useState)(``),[F,I]=(0,p.useState)(null),[L,R]=(0,p.useState)(!1),[z,B]=(0,p.useState)(`pre`);function V(t){let n={};try{n=c?JSON.parse(c):{}}catch{n={}}n.format!==`listed-optimization-v1`&&(n={format:`listed-optimization-v1`,project_id:e.project.id,mode:`manual`,itemId:t.itemId,goal:`cvr`,evidence:t.evidence,pre:null,plan:null,execution:null,post:null,confounders:[],refundMature:!1});let r={...t.sample,start:t.start,end:t.end,daily:t.daily};if(t.window===`post`){let e=n.pre?Object.fromEntries([`itemId`,`currency`,`revenueBasis`,`refundBasis`,`costBasis`,`scope`,`channel`,`device`,`timezone`].map(e=>[e,n.pre[e]])):t.sample;n.post={...e,itemId:t.itemId,start:t.start,end:t.end,daily:t.daily}}else n.pre=r;return n.collectionLast=t.collection,l(JSON.stringify(n,null,2)),t.daily.length}async function H(){R(!0),h(``);try{let n=await t(`/`+e.project.id+`/job`,{kind:`listed-collect`,step:5,version:e.project.version,input:{itemId:String(D).trim(),from:k,to:j,window:z},refs:[]});P(n.id),I({id:n.id,status:`pending`}),h(`取数任务已提交(${z===`post`?`调整后数据`:`调整前数据`}),等待处理,是否完成请查看实际任务记录。`)}catch(e){h(e.message)}finally{R(!1)}}(0,p.useEffect)(()=>{if(!N)return;let n=setInterval(async()=>{try{let r=await t(`/`+e.project.id+`/job/`+N);if(I(r),r.status!==`pending`&&(clearInterval(n),r.status===`done`&&r.result)){let e=V(r.result);h(`已取到 ${r.result.window===`post`?`调整后数据`:`调整前数据`} ${e} 天逐日数据并写入证据包。impressions 与 variableCost 平台无数据,需人工补齐后才能算贡献。`)}}catch{}},4e3);return()=>clearInterval(n)},[N]);let U=e.acquisitionJobs.filter(e=>e.type===`listed-optimization`),W=e=>{try{let t=JSON.parse(c);e(t),l(JSON.stringify(t,null,2))}catch{h(`请先载入或导入证据`)}};async function G(){d(!0);try{let n=await t(`/`+e.project.id+`/listed-optimization`,{run_id:crypto.randomUUID(),version:e.project.version,raw:c,previous_run_id:v||null,feedback:v?{action:`更新执行/观察证据`,observation:b,reason:b}:null});E(n),h(n.status===`done`?n.reused?`返回已有运行,不重复写入`:`证据、评审与Wiki新版本已保存`:n.error),await a()}catch(e){h(e.message)}finally{d(!1)}}return(0,m.jsxs)(`section`,{className:`card`,children:[(0,m.jsxs)(`h2`,{children:[`在售商品优化`,(0,m.jsx)(r,{label:`验证优化效果`,children:`先选择商品和调整前资料,每次明确一个主要改动。复盘时补充实际执行与调整后数据;计划不能当作已执行。`})]}),(0,m.jsx)(i,{data:e,raw:c,disabled:u,onLoad:e=>{l(e),o?.(!0)},format:`listed-optimization-v1`,source:`调整前后同口径数据`,question:`这次想改善点击还是转化?先准备同一商品的调整前数据,再说明只改了什么;执行后再补观察窗口,不能拿计划代替已执行。`},e.project.id),(0,m.jsx)(`p`,{children:`选择商品与目标 → 读取证据 → 诊断假设 → 单变量计划 → 执行记录 → 观察复盘`}),(0,m.jsxs)(`p`,{children:[`版本 `,S,` · `,e.project.simulated?`模拟项目,不能证明真实效果`:`人工资料项目`,`。平台取数已接入(生意参谋逐日);模型语义诊断、店铺执行未接入。`]}),(0,m.jsxs)(`div`,{style:{margin:`14px 0`,padding:12,border:`1px solid #294248`,borderRadius:8,background:`#101e25`},children:[(0,m.jsx)(`b`,{children:`平台取数 · 生意参谋`}),(0,m.jsx)(`p`,{className:`muted`,style:{margin:`4px 0 8px`},children:`填本店在售商品ID和前调整后数据日期,自动取逐日收入/访客/买家/退款/广告花费。只能取本店商品,不取竞品。`}),(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsxs)(`label`,{children:[`商品ID(本店在售,纯数字)`,(0,m.jsx)(`input`,{value:D,onChange:e=>O(e.target.value),placeholder:`如 100000000001`})]}),(0,m.jsxs)(`label`,{children:[`要读取哪个阶段的数据`,(0,m.jsxs)(`select`,{value:z,onChange:e=>B(e.target.value),children:[(0,m.jsx)(`option`,{value:`pre`,children:`调整前数据(变更前)`}),(0,m.jsx)(`option`,{value:`post`,children:`调整后数据(变更后)`})]})]}),(0,m.jsxs)(`label`,{children:[`统计区间(默认近30天)`,(0,m.jsx)(`input`,{type:`date`,value:k,onChange:e=>A(e.target.value)}),` 至 `,(0,m.jsx)(`input`,{type:`date`,value:j,onChange:e=>M(e.target.value)})]})]}),(0,m.jsxs)(`div`,{className:`exports`,children:[(0,m.jsx)(`button`,{disabled:L||!D||!k||!j,onClick:H,children:`从平台取数`}),F&&(0,m.jsxs)(`span`,{className:`muted`,children:[` `,F.id,` · `,F.status===`pending`?`等待执行`:F.status===`done`?`已返回`:F.error||`失败`]})]}),Array.isArray(F?.notes)&&F.notes.length>0&&(0,m.jsx)(`p`,{className:`muted`,children:F.notes.join(`;`)})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`字段、人工判断与观察门槛`}),(0,m.jsx)(`p`,{children:`输入商品ID、目标ctr/cvr/contribution、来源时间、前后逐日数据及渠道设备时区。收入为全量支付毛额,退款按支付订单队列,变动成本不含广告和退款;缺值不能填0。等长窗口、事件日单列。至少7日是资料观察门槛,不是显著性保证。`}),(0,m.jsx)(`p`,{children:`人工确认问题、假设、单一变更、停止条件。执行须有actor/date/change/proof/confirmed及与项目一致的mode;导入的确认只是提交者声明,不是系统验证。未执行保持execution:null,未观察保持post:null。`})]}),c&&(()=>{try{let e=JSON.parse(c),t=e.pre?.daily?.length||0,n=e.post?.daily?.length||0,r=!!e.execution;return(0,m.jsxs)(`div`,{style:{margin:`10px 0`,padding:10,border:`1px solid #294248`,borderRadius:6,background:`#101e25`},children:[(0,m.jsx)(`b`,{children:`当前证据`}),(0,m.jsxs)(`p`,{className:`muted`,style:{margin:`4px 0`},children:[`调整前数据 `,t,` 天`,e.pre?.start?` `+e.pre.start+`~`+e.pre.end:``,` · 调整后数据 `,n,` 天`,e.post?.start?` `+e.post.start+`~`+e.post.end:``,` · 执行记录:`,r?`已填`:`未填`,` · 目标 `,e.goal||`-`]}),t>0&&(e.pre.daily||[]).every(e=>e.variableCost==null)&&(0,m.jsx)(`p`,{className:`muted`,style:{margin:0},children:`变动成本全为空 —— 贡献类指标算不出来,需先补`})]})}catch{return(0,m.jsx)(`p`,{className:`muted`,children:`资料格式无法读取,请检查 JSON 文件格式`})}})(),(0,m.jsxs)(`details`,{style:{margin:`10px 0`},children:[(0,m.jsx)(`summary`,{style:{cursor:`pointer`},children:`手动补充资料(历史数据、外部导出或模拟演示)`}),(0,m.jsx)(`p`,{className:`muted`,children:`自动取数盖不住这些情况时才用:补变动成本、历史或外部导出数据、不碰真实店铺的模拟测试。`}),(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsx)(`button`,{disabled:!e.project.simulated||u,onClick:()=>{l(JSON.stringify(C(e.project.id),null,2)),h(`虚构调整前数据已载入;没有执行记录,不会假称已执行`)},children:`载入虚构调整前数据与计划`}),(0,m.jsx)(`button`,{disabled:!e.project.simulated||!c||u,onClick:()=>{l(JSON.stringify(C(e.project.id,!0),null,2)),h(`已载入明确标记的虚构执行与调整后数据。请选前次运行并填写反馈再保存。`)},children:`模拟补充执行与观察`})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`高级:查看或修改原始资料字段`}),(0,m.jsxs)(`label`,{children:[`商品与证据包`,(0,m.jsx)(`textarea`,{"aria-label":`在售优化证据包`,rows:12,value:c,onChange:e=>l(e.target.value)})]})]})]}),c&&(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsxs)(`label`,{children:[`优化目标`,(0,m.jsxs)(`select`,{onChange:e=>W(t=>{t.goal=e.target.value}),defaultValue:`ctr`,children:[(0,m.jsx)(`option`,{value:`ctr`,children:`点击率`}),(0,m.jsx)(`option`,{value:`cvr`,children:`支付转化率`}),(0,m.jsx)(`option`,{value:`contribution`,children:`期间贡献金额`})]})]}),(0,m.jsxs)(`label`,{children:[`单一变更(替换证据包计划变量)`,(0,m.jsx)(`input`,{placeholder:`例如:主图容量表达`,onBlur:e=>{e.target.value&&W(t=>{t.plan={...t.plan,changes:[e.target.value]}})}})]})]}),(0,m.jsxs)(`label`,{children:[`本次反馈对应哪次分析`,(0,m.jsxs)(`select`,{value:v,onChange:e=>y(e.target.value),children:[(0,m.jsx)(`option`,{value:``,children:`首次诊断/计划`}),U.filter(e=>e.status===`done`).map(e=>(0,m.jsxs)(`option`,{value:e.id,children:[e.result?.conclusion,` · `,e.created]},e.id))]})]}),v&&(0,m.jsxs)(`label`,{children:[`本次实际变更、观察和判断理由`,(0,m.jsx)(`textarea`,{value:b,onChange:e=>x(e.target.value)})]}),(0,m.jsx)(`button`,{disabled:u||n||!c||!!v&&!b.trim(),onClick:G,children:u?`校验与保存中…`:v?`保存反馈并重评`:`检查证据并保存计划`}),n&&(0,m.jsx)(`p`,{children:`先保存当前其他步骤的编辑。`}),(0,m.jsx)(`p`,{role:`status`,children:f}),T?.result&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`h3`,{children:T.result.conclusion}),(0,m.jsx)(`p`,{children:T.result.causality}),(0,m.jsx)(`pre`,{children:JSON.stringify(T.result,null,2)})]}),(0,m.jsx)(`h3`,{children:`优化历史与待复核`}),U.map(t=>(0,m.jsxs)(`details`,{children:[(0,m.jsxs)(`summary`,{children:[t.created,` · `,t.result?.conclusion||t.error,t.savedVersion===e.project.version?``:` · 上游/项目已变更,需复核`,t.skill_version===`1.0.0-local`?``:` · 旧规则需重评`]}),(0,m.jsxs)(`p`,{children:[`分析方法版本 `,t.skill_version,` · SHA256 `,t.input_sha]}),(0,m.jsx)(`pre`,{children:JSON.stringify(t.result,null,2)}),t.artifactIds?.map(t=>(0,m.jsx)(`p`,{children:(0,m.jsx)(`a`,{href:`/api/workbench/`+e.project.id+`/file/`+t,children:`读取证据或评审文件`})},t))]},t.id)),(0,m.jsx)(`p`,{children:`所有运行进入项目Wiki的“评审与下一步”版本;保留原件与哈希。建议保留/调整/回滚仅为建议,系统不执行真实变更。`})]})}var E=`1.0.0-local`;function D(e,t=!1){function n(e,t,n){return{start:e,end:t,currency:`CNY`,unit:`yuan`,timezone:`Asia/Shanghai`,scope:{type:`item`,id:`fictional-cup`},revenueBasis:`gross_paid`,refundBasis:`paid_order_cohort`,costPolicy:`六类费用互斥;不含退款及固定成本`,taxPolicy:`已提供本范围实际税费;不推算税率`,source:{name:`虚构商品账本,非真实账务`,at:`2026-10-29T00:00:00Z`,mode:`simulated`},complete:!0,refundMature:!0,orders:[{id:`order-`+e,date:e,gross:`10000.00`}],refunds:[{id:`refund-`+e,orderId:`order-`+e,date:t,amount:`1000.00`}],costs:[`product`,`fulfillment`,`platform`,`ads`,`tax`,`other`].map((r,i)=>({kind:r,amount:[`4000.00`,`500.00`,`300.00`,n,`200.00`,`0.00`][i],start:e,end:t,scopeId:`fictional-cup`,proof:`虚构凭证-`+r})),fixed:{method:`allocated_pool`,pool:`1000.00`,numerator:1,denominator:2,basis:`本商品占用工时/全店工时`,proof:`虚构分摊记录`,start:e,end:t},settlement:{basis:`same_order_cohort`,scopeId:`fictional-cup`,start:e,end:t,opening:`0.00`,withheld:`300.00`,received:`8000.00`,closing:`700.00`,proof:`虚构结算账单;扣留仅用于现金勾稽`}}}return{format:`operating-reconciliation-v1`,project_id:e,mode:`simulated`,evidence:{source:`本地模拟经营核算数据,所有金额虚构`,collectedAt:`2026-10-29T00:00:00Z`},before:n(`2026-10-01`,`2026-10-07`,`1500.00`),plan:{action:`收缩低效广告支出`,reason:`假设同等收入下减少广告费`,expected:`广告费用1500降至1000;不预设真实销量保持`,stopRule:`收入或贡献下降时人工复核停止`},execution:t?{mode:`simulated`,confirmed:!0,actor:`模拟测试角色`,date:`2026-10-08`,action:`收缩低效广告支出`,proof:`仅虚构执行记录,未操作投放`}:null,after:t?n(`2026-10-09`,`2026-10-15`,`1000.00`):null}}function O({data:e,api:t,dirty:n,onSaved:a,onDirty:o}){let[s,c]=(0,p.useState)(``),[l,u]=(0,p.useState)(!1),[d,f]=(0,p.useState)(``),[h,g]=(0,p.useState)(``),[_,v]=(0,p.useState)(``),[y,b]=(0,p.useState)(``),[x,S]=(0,p.useState)(null),C=e.acquisitionJobs.filter(e=>e.type===`operating-reconciliation`);async function w(){u(!0);try{let n=await t(`/`+e.project.id+`/operating-reconciliation`,{run_id:crypto.randomUUID(),version:e.project.version,raw:s,previous_run_id:_||null,feedback:_?{action:`更新执行/观察证据`,observation:y,reason:y}:null});S(n),f(n.status===`done`?n.reused?`返回已有运行,不重复写入`:`证据、评审与Wiki新版本已保存`:n.error),await a()}catch(e){f(e.message)}finally{u(!1)}}return(0,m.jsxs)(`section`,{className:`card`,children:[(0,m.jsxs)(`h2`,{children:[`经营核算与复盘`,(0,m.jsx)(r,{label:`核对经营账目`,children:`导入同一周期的收入、退款和成本资料,核对金额口径后保存。模拟账本只用于演示;未计入的费用需要单独说明。`})]}),(0,m.jsx)(i,{data:e,raw:s,disabled:l,onLoad:e=>{c(e),o?.(!0)},format:`operating-reconciliation-v1`,source:`财务账本或结算明细`,question:`核算哪个商品、哪个周期?请向财务确认收入、退款、货品成本、运费、广告、税费和固定分摊。金额缺失保留空值,不按零处理。`},e.project.id),(0,m.jsx)(`p`,{children:`确定核算范围 → 读取收入退款成本 → 核对账目并计算 → 调整计划 → 执行记录 → 同口径复盘`}),(0,m.jsxs)(`p`,{children:[`版本 `,E,` · `,e.project.simulated?`模拟项目,不能证明真实效果`:`人工资料项目`,`。本闭环仅本地归档分析;平台实时取数、模型语义诊断、店铺执行均未接入。`]}),(0,m.jsxs)(`div`,{className:`two`,children:[(0,m.jsx)(`button`,{disabled:!e.project.simulated||l,onClick:()=>{c(JSON.stringify(D(e.project.id),null,2)),f(`虚构账本已载入;没有执行记录,不会假称已执行`)},children:`载入虚构账本与计划`}),(0,m.jsx)(`button`,{disabled:!e.project.simulated||!s||l,onClick:()=>{c(JSON.stringify(D(e.project.id,!0),null,2)),f(`已载入明确标记的虚构执行与后窗。请选前次运行并填写反馈再保存。`)},children:`模拟补充执行与观察`})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`核算口径与金额说明`}),(0,m.jsx)(`p`,{children:`元字符串最多2位小数,缺项不补0。支付毛额与订单队列退款分开。成本明确货品、履约、平台、广告、税费及其他;固定成本单列分摊。成交不等于结算,结算只勾稽,不再次扣利润。`}),(0,m.jsx)(`p`,{children:`贡献=毛额−退款−非税变动成本;经营结余=贡献−税费−固定分摊。非财务净利润,税费及分摊仍需人工确认。`})]}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`高级:查看或修改原始资料字段`}),(0,m.jsxs)(`label`,{children:[`商品与证据包`,(0,m.jsx)(`textarea`,{"aria-label":`经营核算证据包`,rows:12,value:s,onChange:e=>c(e.target.value)})]})]}),(0,m.jsxs)(`label`,{children:[`本次反馈对应哪次核算`,(0,m.jsxs)(`select`,{value:_,onChange:e=>v(e.target.value),children:[(0,m.jsx)(`option`,{value:``,children:`首次诊断/计划`}),C.filter(e=>e.status===`done`).map(e=>(0,m.jsxs)(`option`,{value:e.id,children:[e.result?.conclusion,` · `,e.created]},e.id))]})]}),_&&(0,m.jsxs)(`label`,{children:[`本次实际变更、观察和判断理由`,(0,m.jsx)(`textarea`,{value:y,onChange:e=>b(e.target.value)})]}),(0,m.jsx)(`button`,{disabled:l||n||!s||!!_&&!y.trim(),onClick:w,children:l?`校验与保存中…`:_?`保存反馈并重评`:`核对账目并保存计划`}),n&&(0,m.jsx)(`p`,{children:`先保存当前其他步骤的编辑。`}),(0,m.jsx)(`p`,{role:`status`,children:d}),x?.result&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`h3`,{children:x.result.conclusion}),(0,m.jsx)(`p`,{children:x.result.causality}),(0,m.jsx)(`pre`,{children:JSON.stringify(x.result,null,2)})]}),(0,m.jsx)(`h3`,{children:`核算历史与待复核`}),C.map(t=>(0,m.jsxs)(`details`,{children:[(0,m.jsxs)(`summary`,{children:[t.created,` · `,t.result?.conclusion||t.error,t.savedVersion===e.project.version?``:` · 上游/项目已变更,需复核`,t.skill_version===`1.0.0-local`?``:` · 旧规则需重评`]}),(0,m.jsxs)(`p`,{children:[`分析方法版本 `,t.skill_version,` · SHA256 `,t.input_sha]}),(0,m.jsx)(`pre`,{children:JSON.stringify(t.result,null,2)}),t.artifactIds?.map(t=>(0,m.jsx)(`p`,{children:(0,m.jsx)(`a`,{href:`/api/workbench/`+e.project.id+`/file/`+t,children:`读取证据或评审文件`})},t))]},t.id)),(0,m.jsx)(`p`,{children:`所有运行进入项目Wiki的“评审与下一步”版本;保留原件与哈希。建议保留/调整/回滚仅为建议,系统不执行真实变更。`})]})}var k=`1.0.0-local`;function A(e,t=!1){return{format:`fulfillment-retention-v1`,project_id:e,run_id:null,mode:`simulated`,schema_version:`v1`,skill_version:k,timezone:`Asia/Shanghai`,as_of:`2026-11-01`,window_start:`2026-10-01`,window_end:`2026-10-31`,collected_at:`2026-11-01T00:00:00Z`,source_files:[],source_verification:`脱敏合成 fixture,仅规则验收,非真实经营`,inventory:{skus:[{sku_id:`A`,warehouse_id:`W1`,snapshot_at:`2026-10-31`,sellable_mode:`derived`,on_hand:100,reserved:30,unsellable:10,pending_inspection:4,inbound_qty:20,inbound_eta_known:t,batch_age:12,sellable_definition:`总在库-预占-不可售`}]},replenish:t?{units_sold:70,demand_window_days:7,lead_time:5,review_cycle:2,safety_stock:20,available:60,confirmed_inbound:20,pack_multiple:10,moq:10,budget_cap:5e3,unit_cost:12}:{units_sold:70,demand_window_days:7,lead_time:null,review_cycle:2,safety_stock:20,available:60,confirmed_inbound:null,pack_multiple:10},orders:t?{observed_at:`2026-11-01`,lines:[{line_id:`L1`,order_id:`O1`,sku_id:`A`,qty:5,promise_ship_at:`2026-10-28`,cancel_status:null,shipped_qty:5,shipped_at:`2026-10-27`},{line_id:`L2`,order_id:`O2`,sku_id:`A`,qty:3,promise_ship_at:`2026-10-29`,cancel_status:null,shipped_qty:0,shipped_at:null},{line_id:`L3`,order_id:`O3`,sku_id:`A`,qty:2,promise_ship_at:`2026-10-30`,cancel_status:`cancelled`,shipped_qty:0,shipped_at:null}]}:{observed_at:`2026-11-01`,lines:[]},refunds:t?{view:`success`,denominator:100,list:[{ticket_id:`T1`,order_id:`O10`,cohort_key:`C10`,reason_raw:`色差`,reason_std:`视觉描述不符`,reason_manual:`unknown`,applied_at:`2026-10-20`,success_at:`2026-10-25`,amount:88,currency:`CNY`,status:`success`},{ticket_id:`T2`,order_id:`O10`,cohort_key:`C10`,reason_raw:`色差补寄`,reason_std:`视觉描述不符`,reason_manual:`unknown`,applied_at:`2026-10-21`,success_at:`2026-10-25`,amount:0,currency:`CNY`,status:`success`}]}:{view:`success`,denominator:500,list:[]},retention:t?{eligible_count:200,repurchase_event_keys:[`C1`,`C2`,`C2`,`C3`],matured:!0,observed_deadline:`2026-11-30`}:{eligible_count:200,repurchase_event_keys:[],matured:!1,observed_deadline:null}}}function j(e){return A(e,!0)}function M({data:e,api:t,onSaved:n,dirty:a,onDirty:o}){let[s,c]=(0,p.useState)(``),[l,u]=(0,p.useState)(!1),[d,f]=(0,p.useState)(``),[h,g]=(0,p.useState)(null),[_,v]=(0,p.useState)(``),[y,b]=(0,p.useState)(``),[x,S]=(0,p.useState)(``),[C,w]=(0,p.useState)(``),T=(e.acquisitionJobs||[]).filter(e=>e.type===`fulfillment-retention`);async function E(){u(!0),f(`正在本地校验与情景计算`);try{let r=await t(`/`+e.project.id+`/fulfillment-retention`,{run_id:crypto.randomUUID(),version:e.project.version,raw:s,previous_run_id:_||null,feedback:_?{action:y,observation:x,reason:C}:null});g(r),f(r.status===`done`?r.reused?`相同输入已运行,返回原记录`:`证据、评审与Wiki新版本已保存`:r.error),await n()}catch(e){f(e.message)}finally{u(!1)}}let D=s?(()=>{try{let e=JSON.parse(s),t=e.inventory?.skus?.length||0,n=+!!e.replenish,r=e.orders?.lines?.length||0,i=e.refunds?.list?.length||0,a=+!!e.retention;return(0,m.jsxs)(`div`,{style:{margin:`10px 0`,padding:10,border:`1px solid #294248`,borderRadius:6,background:`#101e25`},children:[(0,m.jsx)(`b`,{children:`当前证据`}),(0,m.jsxs)(`p`,{className:`muted`,style:{margin:`4px 0`},children:[`库存 SKU `,t,` 个 · 补货参数 `,n?`已填`:`缺`,` · 订单行 `,r,` · 退款工单 `,i,` · 回流队列 `,a?`已填`:`缺`]}),(0,m.jsxs)(`p`,{className:`muted`,style:{margin:0},children:[`as_of `,e.as_of||`-`,` · 区间 `,e.window_start||`-`,` ~ `,e.window_end||`-`,` · 模式 `,e.mode]})]})}catch{return(0,m.jsx)(`p`,{className:`muted`,children:`资料格式无法读取,请检查 JSON 文件格式`})}})():null;return(0,m.jsxs)(`section`,{className:`card`,style:{marginBottom:20},children:[(0,m.jsxs)(`h2`,{children:[`库存、发货与售后复盘`,(0,m.jsx)(r,{label:`库存与售后分析`,children:`导入库存、订单和售后资料,查看缺项和预估结果。这里只分析和保存,不会采购、退款、发消息或修改库存。`})]}),(0,m.jsx)(i,{data:e,raw:s,disabled:l,onLoad:e=>{c(e),o?.(!0)},format:`fulfillment-retention-v1`,source:`ERP、订单、售后工单或 CRM 导出`,question:`要判断缺货、补货还是售后回流?请提供对应库存、订单或工单资料及统计日期。仅使用聚合或假名数据,不填写客户姓名、电话和地址。`},e.project.id),(0,m.jsxs)(`p`,{children:[`分析方法版本 `,k,` · `,e.project.simulated?`模拟项目`:`人工资料项目`,` · 两条并行分支,共用证据·计划·执行·观察·复盘。`]}),(0,m.jsx)(`p`,{children:`本地确定性校验与情景计算;不自动采购、不自动退款、不发消息、不改库存。`}),D,(0,m.jsx)(`div`,{className:`two`,children:(0,m.jsx)(`button`,{disabled:l||!e.project.simulated,onClick:()=>{c(JSON.stringify(j(e.project.id),null,2)),f(`已载入虚构演示资料:仅规则验收,非经营结果。`)},children:`载入虚构演示资料`})}),(0,m.jsxs)(`details`,{style:{margin:`10px 0`},children:[(0,m.jsx)(`summary`,{style:{cursor:`pointer`},children:`手工补充与兜底(ERP/工单导出、历史数据、直接改字段)`}),(0,m.jsx)(`p`,{className:`muted`,children:`库存、订单、退款、复购字段来自 ERP/工单/CRM 导出,平台没有;只收聚合或假名数据。散列≠匿名,仍按受限资料处理。`}),(0,m.jsxs)(`details`,{children:[(0,m.jsx)(`summary`,{children:`高级:查看或修改原始资料字段`}),(0,m.jsxs)(`label`,{children:[`证据包内容`,(0,m.jsx)(`textarea`,{"aria-label":`履约回流证据包`,rows:14,value:s,onChange:e=>c(e.target.value)})]})]})]}),(0,m.jsxs)(`label`,{children:[`本次反馈对应哪次分析`,(0,m.jsxs)(`select`,{value:_,onChange:e=>v(e.target.value),children:[(0,m.jsx)(`option`,{value:``,children:`首次评审`}),T.filter(e=>e.status===`done`).map(e=>(0,m.jsxs)(`option`,{value:e.id,children:[e.created,` · `,e.result?.conclusion]},e.id))]})]}),_&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(`label`,{children:[`本次实际变更、观察和判断理由`,(0,m.jsx)(`textarea`,{value:y,onChange:e=>b(e.target.value),placeholder:`动作(如:调整补货安全量)/观察(如:缺货天数)/理由`})]})}),(0,m.jsx)(`button`,{disabled:l||a||!s.trim(),onClick:E,children:l?`运行中…`:_?`保存反馈并重新评审`:`检查资料并计算预估结果`}),a&&(0,m.jsx)(`p`,{children:`先保存当前步骤修改,避免覆盖未保存内容。`}),(0,m.jsx)(`p`,{role:`status`,children:d}),h?.result&&(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`strong`,{children:h.result.conclusion}),Array.isArray(h.result.issues)&&h.result.issues.filter(e=>e.level===`block`||e.level===`missing`).map(e=>(0,m.jsxs)(`p`,{style:{color:`#ffabae`},children:[`⚠ `,e.key,`:`,e.message]},e.key+String(e.message))),(0,m.jsx)(`h4`,{children:`情景计算结果`}),h.result.inventory?.length>0&&(0,m.jsxs)(`p`,{className:`muted`,children:[`可售:`,h.result.inventory.map(e=>`${e.sku}=${e.available??`缺`}${e.negative?`(负!)`:``}`).join(`,`),h.result.inventory.some(e=>e.pendingInspection!=null)?` · 待检独立`:` · 无待检`]}),h.result.replenish&&(0,m.jsxs)(`p`,{className:`muted`,children:[`补货:需求率 `,h.result.replenish.rate??`—`,` · 净需求 `,h.result.replenish.net??`—`,` · 建议量 `,h.result.replenish.suggested??`未生成(缺参数)`]}),h.result.fulfillment&&(0,m.jsxs)(`p`,{className:`muted`,children:[`履约:分母 `,h.result.fulfillment.denominator,` · 超时 `,h.result.fulfillment.overdue,` · 超时率 `,h.result.fulfillment.rate==null?`—`:(h.result.fulfillment.rate*100).toFixed(1)+`%`]}),h.result.refunds&&(0,m.jsxs)(`p`,{className:`muted`,children:[`退款:`,h.result.refunds.view,` 口径 · 去重订单 `,h.result.refunds.distinctOrders,` · 发生率 `,h.result.refunds.rate==null?`—`:(h.result.refunds.rate*100).toFixed(2)+`%`]}),h.result.retention&&(0,m.jsxs)(`p`,{className:`muted`,children:[`复购:合格 `,h.result.retention.eligible,` · 复购 `,h.result.retention.repurchased,` · 率 `,h.result.retention.rate==null?`未成熟/不可算`:(h.result.retention.rate*100).toFixed(2)+`%`]}),Array.isArray(h.result.nextActions)&&h.result.nextActions.length>0&&(0,m.jsxs)(`p`,{className:`muted`,children:[`下一步:`,h.result.nextActions.join(`;`)]})]}),(0,m.jsx)(`h3`,{children:`本项目运行历史`}),T.map(t=>(0,m.jsxs)(`details`,{children:[(0,m.jsxs)(`summary`,{children:[t.created,` · `,t.status,` · `,t.result?.conclusion||t.error,t.skill_version===`1.0.0-local`?``:` · 旧规则版本,需重新评审`,t.savedVersion===e.project.version?``:` · 项目版本已变化,需复核`]}),(0,m.jsxs)(`p`,{children:[`运行 `,t.id,` · 分析方法版本 `,t.skill_version,` · 证据SHA256 `,t.input_sha]}),t.artifactIds?.map(t=>(0,m.jsx)(`p`,{children:(0,m.jsxs)(`a`,{href:`/api/workbench/`+e.project.id+`/file/`+t,children:[`读取原始证据/评审产物 `,t]})},t)),(0,m.jsx)(`pre`,{children:JSON.stringify({gates:t.result?.gates,issues:t.result?.issues?.slice(0,20),nextActions:t.result?.nextActions,feedback:t.feedback},null,2)})]},t.id)),(0,m.jsx)(`p`,{className:`muted`,children:`人工判断:库存口径与身份、承诺时点、退款责任证据、复购许可、采购审批。规则计算不证明真实经营改善。`})]})}var N={dashboard:_,monitor:x,optimization:T,finance:O,fulfillment:M};function P({section:e,project:t}){let n=N[e];return(0,m.jsx)(`div`,{className:`products-module wb-legacy-tools`,onChangeCapture:e=>{e.target.matches(`input:not([type=checkbox]),textarea`)&&t.onDirty(!0)},children:n&&(0,m.jsx)(n,{...t},t.projectId)})}export{_ as DashboardPanel,O as FinancePanel,M as FulfillmentPanel,x as MonitorPanel,T as OptimizationPanel,P as default};