@inkeep/open-knowledge 0.59.0-beta.38 → 0.59.0-beta.39

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 (192) hide show
  1. package/dist/{acp-harness-probe-CvAHwZXO.mjs → acp-harness-probe-D59aD_3r.mjs} +2 -2
  2. package/dist/cli.mjs +6 -6
  3. package/dist/constants-7Yv6cluF.mjs +2 -0
  4. package/dist/index.mjs +1 -1
  5. package/dist/{init-C2-bFChM.mjs → init-CG7engaW.mjs} +4 -4
  6. package/dist/init-t3l5wfTC.mjs +1 -0
  7. package/dist/{launch-json-removal-CNKc2n7a.mjs → launch-json-removal-DUSkPnTb.mjs} +2 -2
  8. package/dist/loader-BKsQl7ds.mjs +1 -0
  9. package/dist/{loader-vdQFqYRR.mjs → loader-DsdBuJPZ.mjs} +2 -2
  10. package/dist/preview-BWDZYPz4.mjs +1 -0
  11. package/dist/{preview-CIPpoywO.mjs → preview-DrsokgLX.mjs} +2 -2
  12. package/dist/public/assets/{ActivityModeContent-CPVWFbUj.js → ActivityModeContent-96IBIdRC.js} +1 -1
  13. package/dist/public/assets/{AgentDiffPane-vKHDjrFP.js → AgentDiffPane-CU7Jd7Re.js} +1 -1
  14. package/dist/public/assets/{AgentThreadClientBinder-DuflAOYp.js → AgentThreadClientBinder-DXqc9G_d.js} +1 -1
  15. package/dist/public/assets/{AppMenubar-DyQIJHsv.js → AppMenubar-BQq-UxnW.js} +1 -1
  16. package/dist/public/assets/{BugReportHistory-S9E6kj8a.js → BugReportHistory-BO998Mhx.js} +1 -1
  17. package/dist/public/assets/{BugReportHistoryDialog-DwoT3Jcu.js → BugReportHistoryDialog-BHjNOMRo.js} +1 -1
  18. package/dist/public/assets/{CodeMirrorPropInput-zWNXj-An.js → CodeMirrorPropInput-ONJdKGBm.js} +3 -3
  19. package/dist/public/assets/ConsentDialogBody-CXzAceMk.js +2 -0
  20. package/dist/public/assets/DiffView-CBq_d252.js +3 -0
  21. package/dist/public/assets/{DocumentContext-DZbxXv6H.js → DocumentContext-BLI58wnU.js} +6 -6
  22. package/dist/public/assets/EditorModeToggle-Cvt1TW83.js +1 -0
  23. package/dist/public/assets/{EnableSyncConfirmDialog-BqkxgRaX.js → EnableSyncConfirmDialog-CAa7STLG.js} +1 -1
  24. package/dist/public/assets/{ExcalidrawDocEditor-CIIPYb0V.js → ExcalidrawDocEditor-CCpdsWAK.js} +1 -1
  25. package/dist/public/assets/FeedbackForm-B1G5woOI.js +1 -0
  26. package/dist/public/assets/{GraphPanel-CDq6Cn96.js → GraphPanel-BlECW8ck.js} +1 -1
  27. package/dist/public/assets/{ImportSkillDialog-6I-tdfnK.js → ImportSkillDialog-D23hWjz6.js} +1 -1
  28. package/dist/public/assets/{LintConfigEditor-iIARYye7.js → LintConfigEditor-DeQ2Zl6N.js} +1 -1
  29. package/dist/public/assets/{ManagedArtifactProperties-BPyzZkdV.js → ManagedArtifactProperties-DPG7IerN.js} +1 -1
  30. package/dist/public/assets/ManagedArtifactProperties-PfK1FiEA.js +1 -0
  31. package/dist/public/assets/McpConsentDialogBody-sqWpWPQc.js +1 -0
  32. package/dist/public/assets/MermaidDocEditor-CvfQvpde.js +1 -0
  33. package/dist/public/assets/{PropertyDisplayRow-fMZKhF3_.js → PropertyDisplayRow-zG_LjEst.js} +2 -2
  34. package/dist/public/assets/{RegisteredAgentIcon-D_jDwJpu.js → RegisteredAgentIcon-aLfYhnMx.js} +1 -1
  35. package/dist/public/assets/{ReportBugDialogBody-Bkfnn8Pd.js → ReportBugDialogBody-DWqo1U59.js} +1 -1
  36. package/dist/public/assets/{SchemaConfigEditor-fFuUGFGN.js → SchemaConfigEditor-C1OVUId-.js} +1 -1
  37. package/dist/public/assets/{SessionsHost-pFFD0VSW.js → SessionsHost-B-xkCGBA.js} +2 -2
  38. package/dist/public/assets/{SettingsDialogBody-CqJssURh.js → SettingsDialogBody-B5mFyUqf.js} +5 -5
  39. package/dist/public/assets/{ShareBranchSwitchDialog-t6-lKq1l.js → ShareBranchSwitchDialog-CBmdqKT1.js} +1 -1
  40. package/dist/public/assets/{ShareReceiveDialog-LuA8x7YC.js → ShareReceiveDialog-C-wAbnFt.js} +1 -1
  41. package/dist/public/assets/{ShareReceiveMissDialog-D8ADRN91.js → ShareReceiveMissDialog-Dv1AenCZ.js} +1 -1
  42. package/dist/public/assets/{SkillEditBanner-CNTikXwl.js → SkillEditBanner-BjXJVocR.js} +1 -1
  43. package/dist/public/assets/{SkillInstallMenu-Cpjl7OIH.js → SkillInstallMenu-DJCBHOGq.js} +1 -1
  44. package/dist/public/assets/{SkillOriginInline-CXj10KzG.js → SkillOriginInline-CPZjGTvu.js} +1 -1
  45. package/dist/public/assets/{SkillToolbarControls-Cfi6OPhq.js → SkillToolbarControls-3QVKeJw1.js} +1 -1
  46. package/dist/public/assets/{SourceEditor-CqiFwBMC.js → SourceEditor-Dwb1Q9s3.js} +1 -1
  47. package/dist/public/assets/{TerminalPanel-BqbCRTNn.js → TerminalPanel-03FSZaXv.js} +1 -1
  48. package/dist/public/assets/{TerminalWindowApp-Pv-VOJ0w.js → TerminalWindowApp-FZtG9s0t.js} +1 -1
  49. package/dist/public/assets/TextDocEditor-CKfjEUc-.js +1 -0
  50. package/dist/public/assets/{ThreadView-CLESX5dJ.js → ThreadView-Cgw8IAzE.js} +3 -3
  51. package/dist/public/assets/{TimelineDiffPane-NUKr4hbw.js → TimelineDiffPane-CMyr13re.js} +1 -1
  52. package/dist/public/assets/{agent-diff-store-sEwMOwXy.js → agent-diff-store-D4xji3u-.js} +1 -1
  53. package/dist/public/assets/{auth-state-cache-Cb7mdO-H.js → auth-state-cache-BnzO4Iie.js} +5 -5
  54. package/dist/public/assets/{calendar-BSuNn-fr.js → calendar-DlsdWF5c.js} +1 -1
  55. package/dist/public/assets/{cm-theme-Cv1HvKYn.js → cm-theme-DR0DsVFd.js} +1 -1
  56. package/dist/public/assets/{comment-chips-C8RgEJKK.js → comment-chips-DBkvmOTk.js} +1 -1
  57. package/dist/public/assets/{config-provider-Cm5WhzR7.js → config-provider-BEy0uWv0.js} +3 -3
  58. package/dist/public/assets/{dist-CZp4Rvlf.js → dist-B2cnPina.js} +1 -1
  59. package/dist/public/assets/{dist-B06p9eoe.js → dist-B6-lGe3v.js} +1 -1
  60. package/dist/public/assets/{dist-eFrrX_Hg.js → dist-B7D29Alr.js} +1 -1
  61. package/dist/public/assets/{dist-CFiTpOJs.js → dist-BCsX1IX1.js} +1 -1
  62. package/dist/public/assets/{dist-CSBwCzP3.js → dist-BmUQ27ns.js} +1 -1
  63. package/dist/public/assets/{dist-Cj14vWds.js → dist-Bupb8oYY.js} +1 -1
  64. package/dist/public/assets/{dist-BmEWZ9WX.js → dist-CBNvtE_Z.js} +1 -1
  65. package/dist/public/assets/{dist-ChGC604M.js → dist-CkBzJA43.js} +1 -1
  66. package/dist/public/assets/{dist-DwHSSQIa2.js → dist-D0VBJbTX.js} +1 -1
  67. package/dist/public/assets/{dist-D_TqJyuw.js → dist-D1tMwBQk.js} +1 -1
  68. package/dist/public/assets/{dist-BME7Brcv.js → dist-Ej4WxQRm.js} +1 -1
  69. package/dist/public/assets/{dist-X2hz3uhA.js → dist-ln6t9XST.js} +1 -1
  70. package/dist/public/assets/{file-tree-adapter-BcQxnXAE.js → file-tree-adapter-3AkzYElW.js} +1 -1
  71. package/dist/public/assets/globals-DDJG0To9.css +1 -0
  72. package/dist/public/assets/i18n-DgDGD96k.js +1 -0
  73. package/dist/public/assets/index-BuQhICuW.js +2098 -0
  74. package/dist/public/assets/{input-group-DroArAL7.js → input-group-C2iHh4MW.js} +1 -1
  75. package/dist/public/assets/{markdownlint-rule-browser-r1KXGJzZ.js → markdownlint-rule-browser-CLw-YP30.js} +1 -1
  76. package/dist/public/assets/messages-CUxjY1bg.js +1 -0
  77. package/dist/public/assets/messages-CbJcA1a-.js +1 -0
  78. package/dist/public/assets/messages-CcamDXr_.js +1 -0
  79. package/dist/public/assets/messages-CoC8VCIg.js +1 -0
  80. package/dist/public/assets/messages-DBHRMUAC.js +1 -0
  81. package/dist/public/assets/messages-DayldphK.js +1 -0
  82. package/dist/public/assets/messages-NxV5iFe4.js +1 -0
  83. package/dist/public/assets/messages-TD09LIiN.js +1 -0
  84. package/dist/public/assets/messages-_8bTGBiH.js +1 -0
  85. package/dist/public/assets/messages-eTs_IzNw.js +1 -0
  86. package/dist/public/assets/messages-j2csGD4E.js +1 -0
  87. package/dist/public/assets/messages-lFIWwgmW.js +1 -0
  88. package/dist/public/assets/{navigation-targets-D-ukZJM0.js → navigation-targets-F5rmiq0j.js} +1 -1
  89. package/dist/public/assets/ok-CVy0jrrS.js +1 -0
  90. package/dist/public/assets/{pending-receive-nav-store-BIWb4fW2.js → pending-receive-nav-store-BmPJ0hig.js} +1 -1
  91. package/dist/public/assets/{progress-DN5ZVmeh.js → progress-DDYMamfx.js} +1 -1
  92. package/dist/public/assets/project-paths-DWlEO-Gh.js +1 -0
  93. package/dist/public/assets/{prop-types-CYiFLB9V.js → prop-types-BizcKfNc.js} +1 -1
  94. package/dist/public/assets/{selection-context-GAipzi1C.js → selection-context-BA_Aj-pX.js} +1 -1
  95. package/dist/public/assets/{skill-actions-CwEwwoQa.js → skill-actions-C552b7L2.js} +1 -1
  96. package/dist/public/assets/{skills-api-DSiZ01ML.js → skills-api-BWpKRKq_.js} +1 -1
  97. package/dist/public/assets/{src-Cxbc-uJu.js → src-7zCAXVHf.js} +1 -1
  98. package/dist/public/assets/{tag-pill-input-DLu1afux.js → tag-pill-input-fQN0Ol17.js} +1 -1
  99. package/dist/public/assets/{target-navigation-intent-6yA5JFaJ.js → target-navigation-intent-Bec1VoOw.js} +1 -1
  100. package/dist/public/assets/{telemetry-startup-CSHPwDgJ.js → telemetry-startup-DK0qkTAo.js} +1 -1
  101. package/dist/public/assets/{terminal-cli-display-BYsImxHL.js → terminal-cli-display-B9sWpd0J.js} +1 -1
  102. package/dist/public/assets/{terminal-launch-events-weVUvN2D.js → terminal-launch-events-DZoRkSx-.js} +1 -1
  103. package/dist/public/assets/{terminal-telemetry-BdGxgj0Q.js → terminal-telemetry-BJr2Y6UK.js} +1 -1
  104. package/dist/public/assets/{text-viewer-languages-DvQwv9NL.js → text-viewer-languages-CnJ46eYl.js} +2 -2
  105. package/dist/public/assets/{typing-burst-detector-CnrmNGX4.js → typing-burst-detector-WE1xusfq.js} +1 -1
  106. package/dist/public/assets/{uninstall-DB1pYf9F.js → uninstall-nSAdScfe.js} +1 -1
  107. package/dist/public/assets/{use-activity-panel-BOZG8akM.js → use-activity-panel-BNl2lYxr.js} +1 -1
  108. package/dist/public/assets/{use-live-xterm-theme-aATfBST5.js → use-live-xterm-theme-DuH9FKgs.js} +1 -1
  109. package/dist/public/assets/{use-open-skill-CRdMHw50.js → use-open-skill-BCb_9q15.js} +1 -1
  110. package/dist/public/assets/{use-popular-skills-BSlbkBjx.js → use-popular-skills-BmFzLBrW.js} +1 -1
  111. package/dist/public/assets/{use-skill-origin-QuR6e3Vu.js → use-skill-origin-QRzNbapf.js} +1 -1
  112. package/dist/public/assets/{use-terminal-enabled-Cwmb5Ljb.js → use-terminal-enabled-UtVaQQM1.js} +1 -1
  113. package/dist/public/assets/{use-timeline-entry-diff-DnoIkq-D.js → use-timeline-entry-diff-xKE8VsRE.js} +1 -1
  114. package/dist/public/index.html +88 -88
  115. package/dist/public/uninstall.html +8 -8
  116. package/dist/{repair-launch-json-CPKlwJTy.mjs → repair-launch-json-D6I6Lrxq.mjs} +2 -2
  117. package/dist/{repair-mcp-configs-mNS_KTre.mjs → repair-mcp-configs-8cYVOomh.mjs} +2 -2
  118. package/dist/{src-DnU-D172.mjs → src-3kDLkvlY.mjs} +2 -2
  119. package/dist/src-BUmN_cvz.mjs +1 -0
  120. package/dist/start-C7Y6T9s7.mjs +1 -0
  121. package/dist/{start-3jN-5EdI.mjs → start-DIHe19JI.mjs} +2 -2
  122. package/package.json +4 -4
  123. package/dist/constants-CXxhlOTh.mjs +0 -2
  124. package/dist/init-CS6EurkD.mjs +0 -1
  125. package/dist/loader-Dc2JUt9u.mjs +0 -1
  126. package/dist/preview-DbcUTKZa.mjs +0 -1
  127. package/dist/public/assets/ConsentDialogBody-BfCsFhH5.js +0 -2
  128. package/dist/public/assets/DiffView-DrIxcON3.js +0 -3
  129. package/dist/public/assets/EditorModeToggle-DabSiY81.js +0 -1
  130. package/dist/public/assets/FeedbackForm-DTsymupO.js +0 -1
  131. package/dist/public/assets/ManagedArtifactProperties-3se1RZmj.js +0 -1
  132. package/dist/public/assets/McpConsentDialogBody-BSiShHJk.js +0 -1
  133. package/dist/public/assets/MermaidDocEditor-DxoJLmGh.js +0 -1
  134. package/dist/public/assets/TextDocEditor-Bw-f5mNN.js +0 -1
  135. package/dist/public/assets/globals-Dqd6Xrm5.css +0 -1
  136. package/dist/public/assets/i18n-BaCTU6Zh.js +0 -1
  137. package/dist/public/assets/index-Cn_Zo_-J.js +0 -2098
  138. package/dist/public/assets/messages-1FEsSIIj.js +0 -1
  139. package/dist/public/assets/messages-41bTs04W.js +0 -1
  140. package/dist/public/assets/messages-5S8je5LW.js +0 -1
  141. package/dist/public/assets/messages-BaIuOlWR.js +0 -1
  142. package/dist/public/assets/messages-BqArTNvV.js +0 -1
  143. package/dist/public/assets/messages-CMcVg4Ix.js +0 -1
  144. package/dist/public/assets/messages-DFzZnRi7.js +0 -1
  145. package/dist/public/assets/messages-DOht_ZsB.js +0 -1
  146. package/dist/public/assets/messages-DQN4o7er.js +0 -1
  147. package/dist/public/assets/messages-Dhio81WF.js +0 -1
  148. package/dist/public/assets/messages-DyPdsAJb.js +0 -1
  149. package/dist/public/assets/messages-Vv0nGwDC.js +0 -1
  150. package/dist/public/assets/ok-Bg0dAnDm.js +0 -1
  151. package/dist/public/assets/project-paths-BLMG_Bwq.js +0 -1
  152. package/dist/src-BJLyMr2e.mjs +0 -1
  153. package/dist/start-Bo-7TLtz.mjs +0 -1
  154. /package/dist/public/assets/{ConfigSharingInfoTooltip-CoNRTCRq.js → ConfigSharingInfoTooltip-DBL_oQN-.js} +0 -0
  155. /package/dist/public/assets/{SkillCostValue-CGcui9JR.js → SkillCostValue-DhbH1CJo.js} +0 -0
  156. /package/dist/public/assets/{SkillModeBanner-BRFTW7Zd.js → SkillModeBanner-Digtu_YG.js} +0 -0
  157. /package/dist/public/assets/{agent-presence-B4IC4MV9.js → agent-presence-rHHDN2sa.js} +0 -0
  158. /package/dist/public/assets/{app-menubar-gate-Dyq1r1xM.js → app-menubar-gate-BTnubpt0.js} +0 -0
  159. /package/dist/public/assets/{asset-dispatch-BxzFY-y9.js → asset-dispatch-CUbn3YXS.js} +0 -0
  160. /package/dist/public/assets/{auth-prompt-store-vAFATIFt.js → auth-prompt-store-3WR-Jv7J.js} +0 -0
  161. /package/dist/public/assets/{badge-Cl2jI51n.js → badge-8D3yWFye.js} +0 -0
  162. /package/dist/public/assets/{client-version-BSiKYSme.js → client-version-Cc6SQUyr.js} +0 -0
  163. /package/dist/public/assets/{copilot-DMpTxujg.js → copilot-CKvt1gXh.js} +0 -0
  164. /package/dist/public/assets/{cursor-2VSK5BUh.js → cursor-CdoCz5se.js} +0 -0
  165. /package/dist/public/assets/{dialog-DD-GTVf9.js → dialog-Cc8i13PJ.js} +0 -0
  166. /package/dist/public/assets/{dist-SEJoL7zW.js → dist-DcC48PoS.js} +0 -0
  167. /package/dist/public/assets/{documents-fetch-mA-Z25Lh.js → documents-fetch-CM9yjwOc.js} +0 -0
  168. /package/dist/public/assets/{external-link-Dzk3biRr.js → external-link-CIs3ZL0b.js} +0 -0
  169. /package/dist/public/assets/{field-C1cHfxiy.js → field-BnGNvs-N.js} +0 -0
  170. /package/dist/public/assets/{file-tree-rename-validation-CKWI2fGj.js → file-tree-rename-validation-CZ-N89tZ.js} +0 -0
  171. /package/dist/public/assets/{file-tree-utils-DaZREteD.js → file-tree-utils-gFdyQRo9.js} +0 -0
  172. /package/dist/public/assets/{form-L2L52iP2.js → form-vzV5yHfl.js} +0 -0
  173. /package/dist/public/assets/{format-CyaLi0or.js → format-BxicnlGz.js} +0 -0
  174. /package/dist/public/assets/{globals-C_qEGi7B.js → globals-DYJX1YzM.js} +0 -0
  175. /package/dist/public/assets/{input-DikXDeKw.js → input-a0WHtxX3.js} +0 -0
  176. /package/dist/public/assets/{known-skill-dirs-HlTud59O.js → known-skill-dirs-6YGi-6EV.js} +0 -0
  177. /package/dist/public/assets/{lint-config-client-DKa5fmfG.js → lint-config-client-C3CAQ-EN.js} +0 -0
  178. /package/dist/public/assets/{open-managed-artifact-tab-Dz-XpKZV.js → open-managed-artifact-tab-CHDncIVf.js} +0 -0
  179. /package/dist/public/assets/{panel-DNPki55m.js → panel-CZuoQmmu.js} +0 -0
  180. /package/dist/public/assets/{platform-labels-DLZgi41O.js → platform-labels-CLcjUBK6.js} +0 -0
  181. /package/dist/public/assets/{popover-C7NTz6uK.js → popover-MKPgXNPk.js} +0 -0
  182. /package/dist/public/assets/{skeleton-BZIHOzZH.js → skeleton-BR4i6Fy5.js} +0 -0
  183. /package/dist/public/assets/{sortable.esm-DK-jMveF.js → sortable.esm-CA36QY01.js} +0 -0
  184. /package/dist/public/assets/{startup-marks-C5Xa1Jli.js → startup-marks-dhMG98NA.js} +0 -0
  185. /package/dist/public/assets/{stex-D2L90EPe.js → stex-VozxHPmv.js} +0 -0
  186. /package/dist/public/assets/{terminal-command-events-z-N381nZ.js → terminal-command-events-CpkInJtp.js} +0 -0
  187. /package/dist/public/assets/{textarea-BoMa_3jF.js → textarea-WVtoklh9.js} +0 -0
  188. /package/dist/public/assets/{timeline-diff-store-ym5Oz1UF.js → timeline-diff-store-uF9sqThh.js} +0 -0
  189. /package/dist/public/assets/{tool-list-format-ClHRkCD9.js → tool-list-format-ltxayE_z.js} +0 -0
  190. /package/dist/public/assets/{use-apply-config-color-theme-Kky-EB37.js → use-apply-config-color-theme-DPzjfJfO.js} +0 -0
  191. /package/dist/public/assets/{use-collab-url-B8CCNpkf.js → use-collab-url-3E8FBfyE.js} +0 -0
  192. /package/dist/public/assets/{use-installed-clis-t29XGX_x.js → use-installed-clis-CpbeDgpN.js} +0 -0
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{n as r,r as i}from"./dist-Nvb76hAm.js";import{t as a}from"./compiler-runtime-BfE3aGVn.js";import{t as o}from"./button-CA0dewJJ.js";import{n as s,r as c,t as l}from"./collapsible-COrqeoHr.js";import{t as u}from"./createLucideIcon-CAkY8Blx.js";import{t as d}from"./chevron-down-xENV92Te.js";import{t as f}from"./folder-open-5aQb9yif.js";import{t as p}from"./spinner-DmibE6UV.js";import{a as m,n as h,r as g,t as _}from"./bug-report-send-manager-BSek0xNK.js";import{t as v}from"./trash-2-BVoWHmfV.js";import{t as y}from"./badge-Cl2jI51n.js";import{n as b}from"./platform-labels-DLZgi41O.js";var x=u(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),S=a(),C=e(n(),1),w=t();function T(){let e=new Map;for(let t of _.getSnapshot())t.status!==`sending`&&e.set(t.operationId,t.requestSeq);return e}function E(){let e=(0,S.c)(16),{_:t}=i(),[n,r]=(0,C.useState)(`loading`),a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=[],e[0]=a):a=e[0];let[o,s]=(0,C.useState)(a),c;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(c={},e[1]=c):c=e[1];let[l,u]=(0,C.useState)(c),d=(0,C.useRef)(0),f;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=async function(){d.current+=1;let e=d.current,t=window.okDesktop?.bugReport;if(!t){r(`error`);return}try{let n=await t.list();if(d.current!==e)return;n.ok?(s(n.reports),r(`ready`)):r(`error`)}catch{d.current===e&&r(`error`)}},e[2]=f):f=e[2];let p=f,m;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=function(e){u(t=>{if(!e.some(e=>e in t))return t;let n={...t};for(let t of e)delete n[t];return n})},e[3]=m):m=e[3];let h=m,v,y;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(v=()=>{p();let e=T(),t=_.subscribe(()=>{let t=T(),n=[...t].filter(t=>{let[n,r]=t;return e.get(n)!==r}).map(O);e=t,n.length!==0&&(h(n),p())});return()=>{t(),d.current+=1}},y=[],e[4]=v,e[5]=y):(v=e[4],y=e[5]),(0,C.useEffect)(v,y);let b;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(b=function(e){e.retryable&&(_.startBugReportSend({kind:`history-row`,row:e}),u(t=>({...t,[e.id]:`retrying`})))},e[6]=b):b=e[6];let x=b,w;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(w=async function(e){let t=window.okDesktop?.bugReport;t&&(u(t=>({...t,[e.id]:`deleting`})),await t.delete(e.id).catch(D),await p(),h([e.id]))},e[7]=w):w=e[7];let E=w,k;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(k=function(e){window.okDesktop?.shell.showItemInFolder(e.zipPath)},e[8]=k):k=e[8];let A=k,j;e[9]===t?j=e[10]:(j=function(e){e.reference!==void 0&&window.okDesktop?.shell.openExternal(g(t({id:`qEEfPk`,values:{0:e.reference}})))},e[9]=t,e[10]=j);let M=j,N;return e[11]!==M||e[12]!==l||e[13]!==o||e[14]!==n?(N={status:n,reports:o,pending:l,retry:x,remove:E,reveal:A,contactSupport:M},e[11]=M,e[12]=l,e[13]=o,e[14]=n,e[15]=N):N=e[15],N}function D(){}function O(e){let[t]=e;return t}function k(e){let t=(0,S.c)(6),{state:n}=e;switch(n){case`sent`:{let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`primary`,children:(0,w.jsx)(r,{id:`h69WC6`})}),t[0]=e):e=t[0],e}case`upload-failed`:{let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`destructive`,children:(0,w.jsx)(r,{id:`7Bj3x9`})}),t[1]=e):e=t[1],e}case`uploading`:{let e;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`warning`,children:(0,w.jsx)(r,{id:`9bG48P`})}),t[2]=e):e=t[2],e}case`email-drafted`:{let e;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`secondary`,children:(0,w.jsx)(r,{id:`cPAWbl`})}),t[3]=e):e=t[3],e}case`generated`:{let e;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`gray`,children:(0,w.jsx)(r,{id:`2C-6zf`})}),t[4]=e):e=t[4],e}default:{let e;return t[5]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`outline`,children:(0,w.jsx)(r,{id:`Ef7StM`})}),t[5]=e):e=t[5],e}}}function A(e){let t=(0,S.c)(56),{row:n,pending:a,onRetry:s,onContactSupport:c,onReveal:l,onDelete:u}=e,{_:d,i18n:g}=i(),_=a!==void 0,C;t[0]!==d||t[1]!==g||t[2]!==n.createdAt?(C=n.createdAt===``?d({id:`wF2wqQ`}):new Intl.DateTimeFormat(g.locale||void 0,{dateStyle:`medium`,timeStyle:`short`}).format(new Date(n.createdAt)),t[0]=d,t[1]=g,t[2]=n.createdAt,t[3]=C):C=t[3];let T=C,E;t[4]===n.state?E=t[5]:(E=(0,w.jsx)(k,{state:n.state}),t[4]=n.state,t[5]=E);let D;t[6]===n.bundleLevel?D=t[7]:(D=n.bundleLevel===`unknown`?null:(0,w.jsx)(y,{variant:`gray`,children:n.bundleLevel}),t[6]=n.bundleLevel,t[7]=D);let O;t[8]===T?O=t[9]:(O=(0,w.jsx)(`span`,{className:`truncate text-1sm text-muted-foreground`,children:T}),t[8]=T,t[9]=O);let A;t[10]!==E||t[11]!==D||t[12]!==O?(A=(0,w.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[E,D,O]}),t[10]=E,t[11]=D,t[12]=O,t[13]=A):A=t[13];let j;t[14]!==n.lastError||t[15]!==n.reference||t[16]!==n.state||t[17]!==n.zipBytes?(j=(0,w.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n.state===`sent`&&n.reference!==void 0?(0,w.jsx)(r,{id:`SInSnF`,values:{0:n.reference},components:{0:(0,w.jsx)(`span`,{className:`font-mono text-foreground`})}}):n.state===`upload-failed`&&n.lastError!==void 0?(0,w.jsx)(`span`,{className:`text-destructive`,children:n.lastError.reason}):(0,w.jsx)(`span`,{children:h(n.zipBytes)})}),t[14]=n.lastError,t[15]=n.reference,t[16]=n.state,t[17]=n.zipBytes,t[18]=j):j=t[18];let M;t[19]!==A||t[20]!==j?(M=(0,w.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[A,j]}),t[19]=A,t[20]=j,t[21]=M):M=t[21];let N;t[22]!==_||t[23]!==s||t[24]!==a||t[25]!==n?(N=n.retryable?(0,w.jsxs)(o,{variant:`outline`,size:`xs`,disabled:_,onClick:()=>s(n),children:[a===`retrying`?(0,w.jsx)(p,{"aria-hidden":`true`}):(0,w.jsx)(x,{"aria-hidden":`true`}),(0,w.jsx)(r,{id:`6gRgw8`})]}):null,t[22]=_,t[23]=s,t[24]=a,t[25]=n,t[26]=N):N=t[26];let P;t[27]!==d||t[28]!==_||t[29]!==c||t[30]!==n?(P=n.state===`sent`&&n.reference!==void 0?(0,w.jsx)(o,{variant:`ghost`,size:`icon-xs`,disabled:_,"aria-label":d({id:`32TTpa`}),onClick:()=>c(n),children:(0,w.jsx)(m,{"aria-hidden":`true`})}):null,t[27]=d,t[28]=_,t[29]=c,t[30]=n,t[31]=P):P=t[31];let F;t[32]!==_||t[33]!==l||t[34]!==n?(F=n.zipExists?(0,w.jsx)(o,{variant:`ghost`,size:`icon-xs`,disabled:_,"aria-label":b(typeof window<`u`?window.okDesktop?.platform:void 0),onClick:()=>l(n),children:(0,w.jsx)(f,{"aria-hidden":`true`})}):null,t[32]=_,t[33]=l,t[34]=n,t[35]=F):F=t[35];let I;t[36]===d?I=t[37]:(I=d({id:`rUWrSE`}),t[36]=d,t[37]=I);let L;t[38]!==u||t[39]!==n?(L=()=>u(n),t[38]=u,t[39]=n,t[40]=L):L=t[40];let R;t[41]===a?R=t[42]:(R=a===`deleting`?(0,w.jsx)(p,{"aria-hidden":`true`}):(0,w.jsx)(v,{"aria-hidden":`true`}),t[41]=a,t[42]=R);let z;t[43]!==_||t[44]!==I||t[45]!==L||t[46]!==R?(z=(0,w.jsx)(o,{variant:`ghost`,size:`icon-xs`,disabled:_,"aria-label":I,onClick:L,children:R}),t[43]=_,t[44]=I,t[45]=L,t[46]=R,t[47]=z):z=t[47];let B;t[48]!==F||t[49]!==z||t[50]!==N||t[51]!==P?(B=(0,w.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[N,P,F,z]}),t[48]=F,t[49]=z,t[50]=N,t[51]=P,t[52]=B):B=t[52];let V;return t[53]!==B||t[54]!==M?(V=(0,w.jsxs)(`div`,{className:`flex items-start gap-2.5 rounded-md border px-3 py-2.5`,children:[M,B]}),t[53]=B,t[54]=M,t[55]=V):V=t[55],V}function j(e){let t=(0,S.c)(15),{reports:n,pending:r,retry:i,remove:a,reveal:o,contactSupport:s}=e,c;if(t[0]!==s||t[1]!==r||t[2]!==a||t[3]!==n||t[4]!==i||t[5]!==o){let e;t[7]!==s||t[8]!==r||t[9]!==a||t[10]!==i||t[11]!==o?(e=e=>(0,w.jsx)(A,{row:e,pending:r[e.id],onRetry:i,onContactSupport:s,onReveal:o,onDelete:a},e.id),t[7]=s,t[8]=r,t[9]=a,t[10]=i,t[11]=o,t[12]=e):e=t[12],c=n.map(e),t[0]=s,t[1]=r,t[2]=a,t[3]=n,t[4]=i,t[5]=o,t[6]=c}else c=t[6];let l;return t[13]===c?l=t[14]:(l=(0,w.jsx)(`div`,{className:`flex flex-col gap-2`,children:c}),t[13]=c,t[14]=l),l}function M(e){let t=(0,S.c)(9),{onReportABug:n}=e,i=E();if(i.status===`loading`){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsxs)(`div`,{role:`status`,className:`flex items-center gap-2.5 py-6 text-sm text-muted-foreground`,children:[(0,w.jsx)(p,{className:`size-4`,"aria-hidden":`true`}),(0,w.jsx)(r,{id:`VmJT51`})]}),t[0]=e):e=t[0],e}if(i.status===`error`){let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(`p`,{className:`py-6 text-sm text-muted-foreground`,children:(0,w.jsx)(r,{id:`FgQ7XZ`})}),t[1]=e):e=t[1],e}if(i.reports.length===0){let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:(0,w.jsx)(r,{id:`wcfO9r`})}),t[2]=e):e=t[2];let i;t[3]===n?i=t[4]:(i=n?(0,w.jsx)(o,{onClick:n,children:(0,w.jsx)(r,{id:`cd5EXh`})}):null,t[3]=n,t[4]=i);let a;return t[5]===i?a=t[6]:(a=(0,w.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-6 text-center`,children:[e,i]}),t[5]=i,t[6]=a),a}let a;return t[7]===i?a=t[8]:(a=(0,w.jsx)(j,{...i}),t[7]=i,t[8]=a),a}function N(){let e=(0,S.c)(14),[t,n]=(0,C.useState)(!1),i=E();if(i.status!==`ready`||i.reports.length===0)return null;let a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,w.jsx)(r,{id:`c2ktXL`}),e[0]=a):a=e[0];let u;e[1]===i.reports.length?u=e[2]:(u=(0,w.jsxs)(`span`,{className:`text-sm font-medium`,children:[a,` `,(0,w.jsxs)(`span`,{className:`font-normal text-muted-foreground`,children:[`(`,i.reports.length,`)`]})]}),e[1]=i.reports.length,e[2]=u);let f=`transition-transform motion-reduce:transition-none ${t?`rotate-180`:``}`,p;e[3]===f?p=e[4]:(p=(0,w.jsx)(d,{className:f,"aria-hidden":`true`}),e[3]=f,e[4]=p);let m;e[5]!==u||e[6]!==p?(m=(0,w.jsx)(c,{asChild:!0,children:(0,w.jsxs)(o,{variant:`ghost`,size:`sm`,className:`-mx-2 -my-0.5 h-auto w-[calc(100%+1rem)] justify-between px-2 py-1.5 data-[state=open]:bg-transparent data-[state=open]:hover:bg-muted`,children:[u,p]})}),e[5]=u,e[6]=p,e[7]=m):m=e[7];let h;e[8]===i?h=e[9]:(h=(0,w.jsx)(s,{className:`pt-2`,children:(0,w.jsx)(j,{...i})}),e[8]=i,e[9]=h);let g;return e[10]!==t||e[11]!==m||e[12]!==h?(g=(0,w.jsxs)(l,{open:t,onOpenChange:n,children:[m,h]}),e[10]=t,e[11]=m,e[12]=h,e[13]=g):g=e[13],g}export{N as n,M as t};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{n as r,r as i}from"./dist-Nvb76hAm.js";import{t as a}from"./compiler-runtime-BfE3aGVn.js";import{t as o}from"./button-CA0dewJJ.js";import{n as s,r as c,t as l}from"./collapsible-COrqeoHr.js";import{t as u}from"./createLucideIcon-CAkY8Blx.js";import{t as d}from"./chevron-down-xENV92Te.js";import{t as f}from"./folder-open-5aQb9yif.js";import{t as p}from"./spinner-DmibE6UV.js";import{a as m,n as h,r as g,t as _}from"./bug-report-send-manager-BSek0xNK.js";import{t as v}from"./trash-2-BVoWHmfV.js";import{t as y}from"./badge-8D3yWFye.js";import{n as b}from"./platform-labels-CLcjUBK6.js";var x=u(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),S=a(),C=e(n(),1),w=t();function T(){let e=new Map;for(let t of _.getSnapshot())t.status!==`sending`&&e.set(t.operationId,t.requestSeq);return e}function E(){let e=(0,S.c)(16),{_:t}=i(),[n,r]=(0,C.useState)(`loading`),a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=[],e[0]=a):a=e[0];let[o,s]=(0,C.useState)(a),c;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(c={},e[1]=c):c=e[1];let[l,u]=(0,C.useState)(c),d=(0,C.useRef)(0),f;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=async function(){d.current+=1;let e=d.current,t=window.okDesktop?.bugReport;if(!t){r(`error`);return}try{let n=await t.list();if(d.current!==e)return;n.ok?(s(n.reports),r(`ready`)):r(`error`)}catch{d.current===e&&r(`error`)}},e[2]=f):f=e[2];let p=f,m;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=function(e){u(t=>{if(!e.some(e=>e in t))return t;let n={...t};for(let t of e)delete n[t];return n})},e[3]=m):m=e[3];let h=m,v,y;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(v=()=>{p();let e=T(),t=_.subscribe(()=>{let t=T(),n=[...t].filter(t=>{let[n,r]=t;return e.get(n)!==r}).map(O);e=t,n.length!==0&&(h(n),p())});return()=>{t(),d.current+=1}},y=[],e[4]=v,e[5]=y):(v=e[4],y=e[5]),(0,C.useEffect)(v,y);let b;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(b=function(e){e.retryable&&(_.startBugReportSend({kind:`history-row`,row:e}),u(t=>({...t,[e.id]:`retrying`})))},e[6]=b):b=e[6];let x=b,w;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(w=async function(e){let t=window.okDesktop?.bugReport;t&&(u(t=>({...t,[e.id]:`deleting`})),await t.delete(e.id).catch(D),await p(),h([e.id]))},e[7]=w):w=e[7];let E=w,k;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(k=function(e){window.okDesktop?.shell.showItemInFolder(e.zipPath)},e[8]=k):k=e[8];let A=k,j;e[9]===t?j=e[10]:(j=function(e){e.reference!==void 0&&window.okDesktop?.shell.openExternal(g(t({id:`qEEfPk`,values:{0:e.reference}})))},e[9]=t,e[10]=j);let M=j,N;return e[11]!==M||e[12]!==l||e[13]!==o||e[14]!==n?(N={status:n,reports:o,pending:l,retry:x,remove:E,reveal:A,contactSupport:M},e[11]=M,e[12]=l,e[13]=o,e[14]=n,e[15]=N):N=e[15],N}function D(){}function O(e){let[t]=e;return t}function k(e){let t=(0,S.c)(6),{state:n}=e;switch(n){case`sent`:{let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`primary`,children:(0,w.jsx)(r,{id:`h69WC6`})}),t[0]=e):e=t[0],e}case`upload-failed`:{let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`destructive`,children:(0,w.jsx)(r,{id:`7Bj3x9`})}),t[1]=e):e=t[1],e}case`uploading`:{let e;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`warning`,children:(0,w.jsx)(r,{id:`9bG48P`})}),t[2]=e):e=t[2],e}case`email-drafted`:{let e;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`secondary`,children:(0,w.jsx)(r,{id:`cPAWbl`})}),t[3]=e):e=t[3],e}case`generated`:{let e;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`gray`,children:(0,w.jsx)(r,{id:`2C-6zf`})}),t[4]=e):e=t[4],e}default:{let e;return t[5]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{variant:`outline`,children:(0,w.jsx)(r,{id:`Ef7StM`})}),t[5]=e):e=t[5],e}}}function A(e){let t=(0,S.c)(56),{row:n,pending:a,onRetry:s,onContactSupport:c,onReveal:l,onDelete:u}=e,{_:d,i18n:g}=i(),_=a!==void 0,C;t[0]!==d||t[1]!==g||t[2]!==n.createdAt?(C=n.createdAt===``?d({id:`wF2wqQ`}):new Intl.DateTimeFormat(g.locale||void 0,{dateStyle:`medium`,timeStyle:`short`}).format(new Date(n.createdAt)),t[0]=d,t[1]=g,t[2]=n.createdAt,t[3]=C):C=t[3];let T=C,E;t[4]===n.state?E=t[5]:(E=(0,w.jsx)(k,{state:n.state}),t[4]=n.state,t[5]=E);let D;t[6]===n.bundleLevel?D=t[7]:(D=n.bundleLevel===`unknown`?null:(0,w.jsx)(y,{variant:`gray`,children:n.bundleLevel}),t[6]=n.bundleLevel,t[7]=D);let O;t[8]===T?O=t[9]:(O=(0,w.jsx)(`span`,{className:`truncate text-1sm text-muted-foreground`,children:T}),t[8]=T,t[9]=O);let A;t[10]!==E||t[11]!==D||t[12]!==O?(A=(0,w.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[E,D,O]}),t[10]=E,t[11]=D,t[12]=O,t[13]=A):A=t[13];let j;t[14]!==n.lastError||t[15]!==n.reference||t[16]!==n.state||t[17]!==n.zipBytes?(j=(0,w.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n.state===`sent`&&n.reference!==void 0?(0,w.jsx)(r,{id:`SInSnF`,values:{0:n.reference},components:{0:(0,w.jsx)(`span`,{className:`font-mono text-foreground`})}}):n.state===`upload-failed`&&n.lastError!==void 0?(0,w.jsx)(`span`,{className:`text-destructive`,children:n.lastError.reason}):(0,w.jsx)(`span`,{children:h(n.zipBytes)})}),t[14]=n.lastError,t[15]=n.reference,t[16]=n.state,t[17]=n.zipBytes,t[18]=j):j=t[18];let M;t[19]!==A||t[20]!==j?(M=(0,w.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[A,j]}),t[19]=A,t[20]=j,t[21]=M):M=t[21];let N;t[22]!==_||t[23]!==s||t[24]!==a||t[25]!==n?(N=n.retryable?(0,w.jsxs)(o,{variant:`outline`,size:`xs`,disabled:_,onClick:()=>s(n),children:[a===`retrying`?(0,w.jsx)(p,{"aria-hidden":`true`}):(0,w.jsx)(x,{"aria-hidden":`true`}),(0,w.jsx)(r,{id:`6gRgw8`})]}):null,t[22]=_,t[23]=s,t[24]=a,t[25]=n,t[26]=N):N=t[26];let P;t[27]!==d||t[28]!==_||t[29]!==c||t[30]!==n?(P=n.state===`sent`&&n.reference!==void 0?(0,w.jsx)(o,{variant:`ghost`,size:`icon-xs`,disabled:_,"aria-label":d({id:`32TTpa`}),onClick:()=>c(n),children:(0,w.jsx)(m,{"aria-hidden":`true`})}):null,t[27]=d,t[28]=_,t[29]=c,t[30]=n,t[31]=P):P=t[31];let F;t[32]!==_||t[33]!==l||t[34]!==n?(F=n.zipExists?(0,w.jsx)(o,{variant:`ghost`,size:`icon-xs`,disabled:_,"aria-label":b(typeof window<`u`?window.okDesktop?.platform:void 0),onClick:()=>l(n),children:(0,w.jsx)(f,{"aria-hidden":`true`})}):null,t[32]=_,t[33]=l,t[34]=n,t[35]=F):F=t[35];let I;t[36]===d?I=t[37]:(I=d({id:`rUWrSE`}),t[36]=d,t[37]=I);let L;t[38]!==u||t[39]!==n?(L=()=>u(n),t[38]=u,t[39]=n,t[40]=L):L=t[40];let R;t[41]===a?R=t[42]:(R=a===`deleting`?(0,w.jsx)(p,{"aria-hidden":`true`}):(0,w.jsx)(v,{"aria-hidden":`true`}),t[41]=a,t[42]=R);let z;t[43]!==_||t[44]!==I||t[45]!==L||t[46]!==R?(z=(0,w.jsx)(o,{variant:`ghost`,size:`icon-xs`,disabled:_,"aria-label":I,onClick:L,children:R}),t[43]=_,t[44]=I,t[45]=L,t[46]=R,t[47]=z):z=t[47];let B;t[48]!==F||t[49]!==z||t[50]!==N||t[51]!==P?(B=(0,w.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[N,P,F,z]}),t[48]=F,t[49]=z,t[50]=N,t[51]=P,t[52]=B):B=t[52];let V;return t[53]!==B||t[54]!==M?(V=(0,w.jsxs)(`div`,{className:`flex items-start gap-2.5 rounded-md border px-3 py-2.5`,children:[M,B]}),t[53]=B,t[54]=M,t[55]=V):V=t[55],V}function j(e){let t=(0,S.c)(15),{reports:n,pending:r,retry:i,remove:a,reveal:o,contactSupport:s}=e,c;if(t[0]!==s||t[1]!==r||t[2]!==a||t[3]!==n||t[4]!==i||t[5]!==o){let e;t[7]!==s||t[8]!==r||t[9]!==a||t[10]!==i||t[11]!==o?(e=e=>(0,w.jsx)(A,{row:e,pending:r[e.id],onRetry:i,onContactSupport:s,onReveal:o,onDelete:a},e.id),t[7]=s,t[8]=r,t[9]=a,t[10]=i,t[11]=o,t[12]=e):e=t[12],c=n.map(e),t[0]=s,t[1]=r,t[2]=a,t[3]=n,t[4]=i,t[5]=o,t[6]=c}else c=t[6];let l;return t[13]===c?l=t[14]:(l=(0,w.jsx)(`div`,{className:`flex flex-col gap-2`,children:c}),t[13]=c,t[14]=l),l}function M(e){let t=(0,S.c)(9),{onReportABug:n}=e,i=E();if(i.status===`loading`){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsxs)(`div`,{role:`status`,className:`flex items-center gap-2.5 py-6 text-sm text-muted-foreground`,children:[(0,w.jsx)(p,{className:`size-4`,"aria-hidden":`true`}),(0,w.jsx)(r,{id:`VmJT51`})]}),t[0]=e):e=t[0],e}if(i.status===`error`){let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(`p`,{className:`py-6 text-sm text-muted-foreground`,children:(0,w.jsx)(r,{id:`FgQ7XZ`})}),t[1]=e):e=t[1],e}if(i.reports.length===0){let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:(0,w.jsx)(r,{id:`wcfO9r`})}),t[2]=e):e=t[2];let i;t[3]===n?i=t[4]:(i=n?(0,w.jsx)(o,{onClick:n,children:(0,w.jsx)(r,{id:`cd5EXh`})}):null,t[3]=n,t[4]=i);let a;return t[5]===i?a=t[6]:(a=(0,w.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-6 text-center`,children:[e,i]}),t[5]=i,t[6]=a),a}let a;return t[7]===i?a=t[8]:(a=(0,w.jsx)(j,{...i}),t[7]=i,t[8]=a),a}function N(){let e=(0,S.c)(14),[t,n]=(0,C.useState)(!1),i=E();if(i.status!==`ready`||i.reports.length===0)return null;let a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,w.jsx)(r,{id:`c2ktXL`}),e[0]=a):a=e[0];let u;e[1]===i.reports.length?u=e[2]:(u=(0,w.jsxs)(`span`,{className:`text-sm font-medium`,children:[a,` `,(0,w.jsxs)(`span`,{className:`font-normal text-muted-foreground`,children:[`(`,i.reports.length,`)`]})]}),e[1]=i.reports.length,e[2]=u);let f=`transition-transform motion-reduce:transition-none ${t?`rotate-180`:``}`,p;e[3]===f?p=e[4]:(p=(0,w.jsx)(d,{className:f,"aria-hidden":`true`}),e[3]=f,e[4]=p);let m;e[5]!==u||e[6]!==p?(m=(0,w.jsx)(c,{asChild:!0,children:(0,w.jsxs)(o,{variant:`ghost`,size:`sm`,className:`-mx-2 -my-0.5 h-auto w-[calc(100%+1rem)] justify-between px-2 py-1.5 data-[state=open]:bg-transparent data-[state=open]:hover:bg-muted`,children:[u,p]})}),e[5]=u,e[6]=p,e[7]=m):m=e[7];let h;e[8]===i?h=e[9]:(h=(0,w.jsx)(s,{className:`pt-2`,children:(0,w.jsx)(j,{...i})}),e[8]=i,e[9]=h);let g;return e[10]!==t||e[11]!==m||e[12]!==h?(g=(0,w.jsxs)(l,{open:t,onOpenChange:n,children:[m,h]}),e[10]=t,e[11]=m,e[12]=h,e[13]=g):g=e[13],g}export{N as n,M as t};
@@ -1 +1 @@
1
- import{t as e}from"./jsx-runtime-BUgB2tll.js";import{n as t}from"./dist-Nvb76hAm.js";import{t as n}from"./compiler-runtime-BfE3aGVn.js";import{t as r}from"./BugReportHistory-S9E6kj8a.js";import{a as i,c as a,i as o,n as s,s as c,t as l}from"./dialog-DD-GTVf9.js";var u=n(),d=e();function f(e){let n=(0,u.c)(11),{open:f,onOpenChange:p,onReportABug:m}=e,h;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(a,{children:(0,d.jsx)(t,{id:`QHCx0c`})}),n[0]=h):h=n[0];let g;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,d.jsxs)(c,{children:[h,(0,d.jsx)(i,{children:(0,d.jsx)(t,{id:`5ss1kT`})})]}),n[1]=g):g=n[1];let _;n[2]!==m||n[3]!==f?(_=f?(0,d.jsx)(r,{onReportABug:m}):null,n[2]=m,n[3]=f,n[4]=_):_=n[4];let v;n[5]===_?v=n[6]:(v=(0,d.jsxs)(o,{className:`sm:max-w-md`,children:[g,(0,d.jsx)(s,{className:`max-h-[60vh] overflow-y-auto`,children:_})]}),n[5]=_,n[6]=v);let y;return n[7]!==p||n[8]!==f||n[9]!==v?(y=(0,d.jsx)(l,{open:f,onOpenChange:p,children:v}),n[7]=p,n[8]=f,n[9]=v,n[10]=y):y=n[10],y}export{f as default};
1
+ import{t as e}from"./jsx-runtime-BUgB2tll.js";import{n as t}from"./dist-Nvb76hAm.js";import{t as n}from"./compiler-runtime-BfE3aGVn.js";import{t as r}from"./BugReportHistory-BO998Mhx.js";import{a as i,c as a,i as o,n as s,s as c,t as l}from"./dialog-Cc8i13PJ.js";var u=n(),d=e();function f(e){let n=(0,u.c)(11),{open:f,onOpenChange:p,onReportABug:m}=e,h;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(a,{children:(0,d.jsx)(t,{id:`QHCx0c`})}),n[0]=h):h=n[0];let g;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,d.jsxs)(c,{children:[h,(0,d.jsx)(i,{children:(0,d.jsx)(t,{id:`5ss1kT`})})]}),n[1]=g):g=n[1];let _;n[2]!==m||n[3]!==f?(_=f?(0,d.jsx)(r,{onReportABug:m}):null,n[2]=m,n[3]=f,n[4]=_):_=n[4];let v;n[5]===_?v=n[6]:(v=(0,d.jsxs)(o,{className:`sm:max-w-md`,children:[g,(0,d.jsx)(s,{className:`max-h-[60vh] overflow-y-auto`,children:_})]}),n[5]=_,n[6]=v);let y;return n[7]!==p||n[8]!==f||n[9]!==v?(y=(0,d.jsx)(l,{open:f,onOpenChange:p,children:v}),n[7]=p,n[8]=f,n[9]=v,n[10]=y):y=n[10],y}export{f as default};