dorkos 0.128.0 → 0.130.0

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 (375) hide show
  1. package/dist/bin/cli.js +766 -517
  2. package/dist/browser/native/package-manifest.json +1 -1
  3. package/dist/browser/source-manifest.json +1 -1
  4. package/dist/client/assets/{AboutPage-CmQERFxo.js → AboutPage-B2CzVj5W.js} +1 -1
  5. package/dist/client/assets/{ActivityErrorState-Dw231W2w.js → ActivityErrorState-Dl-P-e0R.js} +1 -1
  6. package/dist/client/assets/{ActivityPage-DVfeyA9u.js → ActivityPage-CW7tqLHb.js} +1 -1
  7. package/dist/client/assets/ActivityRow-Vy4aXWk-.js +1 -0
  8. package/dist/client/assets/{AdapterIcon-NqCDzgCI.js → AdapterIcon-aabKVZmM.js} +1 -1
  9. package/dist/client/assets/AdapterSetupWizard-C5Hs0xkG.js +2 -0
  10. package/dist/client/assets/{AgentOptionRow-BRJfZo2y.js → AgentOptionRow-CqIMxq9S.js} +1 -1
  11. package/dist/client/assets/{AgentPicker-B7upjYRk.js → AgentPicker-C6mbTDJJ.js} +1 -1
  12. package/dist/client/assets/{AgentRequestCard-DXJnLk6q.js → AgentRequestCard-C8GV5Sxn.js} +4 -4
  13. package/dist/client/assets/AppearancePage-C0JKrHsO.js +1 -0
  14. package/dist/client/assets/{ApplyToOverridesDialog-C_QQhNIf.js → ApplyToOverridesDialog-DWEi0MNt.js} +1 -1
  15. package/dist/client/assets/AttentionSignalRow-Cpu0lKYg.js +1 -0
  16. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-G7vrCqeA.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-_zVrHu5s.js} +3 -3
  17. package/dist/client/assets/BindingDialog-4UeaJfUu.js +1 -0
  18. package/dist/client/assets/BlintzCanvas-DCXIQZM_.js +1231 -0
  19. package/dist/client/assets/{CanvasCsvContent-CtLpZnTs.js → CanvasCsvContent-D-0TuvVs.js} +4 -4
  20. package/dist/client/assets/CanvasFileContent-DqSx7lz9.js +2 -0
  21. package/dist/client/assets/CanvasModel3dContent-zTx660yQ.js +2 -0
  22. package/dist/client/assets/ChannelComposer-D4TYVkvO.js +45 -0
  23. package/dist/client/assets/{ChatAppsOff-CCZUzDIH.js → ChatAppsOff-BzfyQc55.js} +2 -2
  24. package/dist/client/assets/{CodeMirrorDiff-BCpYdhgZ.js → CodeMirrorDiff-BLWBYGLp.js} +1 -1
  25. package/dist/client/assets/{CodeMirrorEditor-BeCubxHV.js → CodeMirrorEditor-D0q3ETxK.js} +1 -1
  26. package/dist/client/assets/{CommitmentList-BZtfTnwg.js → CommitmentList-BoMiLsRe.js} +1 -1
  27. package/dist/client/assets/{CommitmentsPage-DmurDgxV.js → CommitmentsPage-_7mNJVUZ.js} +1 -1
  28. package/dist/client/assets/{ComputerResourceView-Bik6GLKp.js → ComputerResourceView-Bo2LaCJf.js} +1 -1
  29. package/dist/client/assets/{ComputerViewer-CksBDqdu.js → ComputerViewer-a4VSdAw_.js} +1 -1
  30. package/dist/client/assets/ConnectionAccessLists-Dvv0YO31.js +1 -0
  31. package/dist/client/assets/{ConnectionsPage-Cgg36gDY.js → ConnectionsPage-oO8pNgbc.js} +2 -2
  32. package/dist/client/assets/{ConventionPage-CNhpF6Z1.js → ConventionPage-CFJjwhBd.js} +2 -2
  33. package/dist/client/assets/{ExtensionPageRoute-C2zue_Pw.js → ExtensionPageRoute-BqZN9q7M.js} +2 -2
  34. package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-3v1TfY1P.js → FloatingTanStackRouterDevtools-CqogiFob-CnSp2ZEM.js} +1 -1
  35. package/dist/client/assets/{ForwardConsentHost-Mbo0D-zk.js → ForwardConsentHost-4LhRvCdu.js} +1 -1
  36. package/dist/client/assets/HandlePage-BjoYPqme.js +1 -0
  37. package/dist/client/assets/HeartbeatPage-rJzICayy.js +1 -0
  38. package/dist/client/assets/{KeyEntry-C43vkwpA.js → KeyEntry-BTTuXleL.js} +1 -1
  39. package/dist/client/assets/{LexicalField-iAHcvRmI.js → LexicalField-Dk_SDrjk.js} +1 -1
  40. package/dist/client/assets/{ManagesPage-BUIJvLmv.js → ManagesPage-Cvu3CQDn.js} +1 -1
  41. package/dist/client/assets/Marketplace-DPjPPlZz.js +36 -0
  42. package/dist/client/assets/{MarketplaceSourcesView-BZODwhxu.js → MarketplaceSourcesView-ChCys0on.js} +1 -1
  43. package/dist/client/assets/{McpAppFrame-D15nxVaI.js → McpAppFrame-DNamtzOp.js} +2 -2
  44. package/dist/client/assets/{McpSigninBody-DmBxqgxN.js → McpSigninBody-DLw3ZdZE.js} +1 -1
  45. package/dist/client/assets/{Model3dViewer-RGXeJd6a.js → Model3dViewer-IwCBCPZ2.js} +1 -1
  46. package/dist/client/assets/NamePage-FY_D0eA2.js +1 -0
  47. package/dist/client/assets/NewDirectMessageMenu-BB0gvClR.js +1 -0
  48. package/dist/client/assets/{NotificationsPage-NRfyiinS.js → NotificationsPage-aCF0AtqL.js} +1 -1
  49. package/dist/client/assets/{OpenMeshSwitch-CgQ6uefo.js → OpenMeshSwitch-DjCWF2Vy.js} +2 -2
  50. package/dist/client/assets/OperatorIdentityForm-Bcveds6f.js +1 -0
  51. package/dist/client/assets/{PermissionHistory-DPEPq8D9.js → PermissionHistory-CYsxFYmV.js} +1 -1
  52. package/dist/client/assets/{PermissionsPage--k-xutbJ.js → PermissionsPage-sxHkY92V.js} +1 -1
  53. package/dist/client/assets/{PersonalityPopover-DMMptmPS.js → PersonalityPopover-BZ20JTnJ.js} +1 -1
  54. package/dist/client/assets/PhotoPage-KBzkb0sT.js +1 -0
  55. package/dist/client/assets/PreviewRefusedNotice-BFQPYcUG.js +1 -0
  56. package/dist/client/assets/{ProfileFields-DbPJ7fvN.js → ProfileFields-sp17IFo8.js} +1 -1
  57. package/dist/client/assets/{ProfilePanelContainer-CzwhrIlw.js → ProfilePanelContainer-mA44jh5A.js} +1 -1
  58. package/dist/client/assets/{ProfileRolePicker-CZEXvlJm.js → ProfileRolePicker-Chh4_ZMB.js} +1 -1
  59. package/dist/client/assets/PromptSuggestionChips-CEi_-fHF.js +1 -0
  60. package/dist/client/assets/{ReportsToPopover-YOwGLJy5.js → ReportsToPopover-D1uknwnk.js} +1 -1
  61. package/dist/client/assets/RoomSurface-Clf1yLrr.js +1 -0
  62. package/dist/client/assets/{RoomsPage-CoXjZMWL.js → RoomsPage-BtCNzvhQ.js} +1 -1
  63. package/dist/client/assets/RunsOnPopover-LCvBpe9J.js +1 -0
  64. package/dist/client/assets/RuntimeConnectFlow-C5UDeHUC.js +1 -0
  65. package/dist/client/assets/RuntimeSetupDialog-Bqh67Vqb.js +1 -0
  66. package/dist/client/assets/{SeenDevices-Bh2yh-PW.js → SeenDevices-DvCfdeDo.js} +3 -3
  67. package/dist/client/assets/{SessionsPage-CFvkbT9X.js → SessionsPage-DLByE-re.js} +1 -1
  68. package/dist/client/assets/SettingsDialog-Co-Oxtyw.js +12 -0
  69. package/dist/client/assets/SkillsPage-Cc79IstM.js +1 -0
  70. package/dist/client/assets/TaskDialogWrapper-DuYV7Zch.js +1 -0
  71. package/dist/client/assets/TasksEmptyState-CfmPtBra.js +3 -0
  72. package/dist/client/assets/{TasksPage-D0Zi6Mve.js → TasksPage-DGk0zUhO.js} +1 -1
  73. package/dist/client/assets/{TeamComputerEntry-CY9eLVad.js → TeamComputerEntry-CLHbeX5i.js} +1 -1
  74. package/dist/client/assets/{ToolsPage-0_vx5P-F.js → ToolsPage-CSkDE7rZ.js} +2 -2
  75. package/dist/client/assets/{TopologyGraph-DUZLZZrB.js → TopologyGraph-pBC37k5P.js} +14 -14
  76. package/dist/client/assets/TourHost-CS9RsLj_.js +1 -0
  77. package/dist/client/assets/{UnlinkDialog-ptZy3IN4.js → UnlinkDialog-CelhOUZ0.js} +1 -1
  78. package/dist/client/assets/{UnreadDivider-Ckey1IWn.js → UnreadDivider-B_OMR0mQ.js} +1 -1
  79. package/dist/client/assets/WidgetErrorCard-CsMqCyCb.js +108 -0
  80. package/dist/client/assets/{WithheldExtensionsNotice-7Vu1Jctn.js → WithheldExtensionsNotice-GiKb0iQu.js} +1 -1
  81. package/dist/client/assets/WorkQueuePage-Cu721KyM.js +1 -0
  82. package/dist/client/assets/WorkView-CpWEaxMr.js +51 -0
  83. package/dist/client/assets/_shell-CmGG8Ysk.js +80 -0
  84. package/dist/client/assets/{_shell._home-BRIXhYLg.js → _shell._home-BnKkAeSp.js} +1 -1
  85. package/dist/client/assets/_shell._home.activity-DaaLJbvO.js +1 -0
  86. package/dist/client/assets/_shell._home.index-CNPasFxP.js +3 -0
  87. package/dist/client/assets/_shell._home.tasks-DXEOJ5Nq.js +1 -0
  88. package/dist/client/assets/_shell._home.workspaces-UeSvmquR.js +1 -0
  89. package/dist/client/assets/{_shell.channels-Bx6q9xVH.js → _shell.channels-NUbf5mcb.js} +4 -4
  90. package/dist/client/assets/_shell.connections-BEns4DKb.js +1 -0
  91. package/dist/client/assets/{_shell.feedback-requests-DFznTGbN.js → _shell.feedback-requests-NyjHNdnj.js} +2 -2
  92. package/dist/client/assets/_shell.marketplace-BEYqsDKe.js +1 -0
  93. package/dist/client/assets/_shell.marketplace_.sources-D6Ls30FY.js +1 -0
  94. package/dist/client/assets/_shell.session-CVc6i3eN.js +1 -0
  95. package/dist/client/assets/{_shell.team-DmA09abY.js → _shell.team-CXeOt4XD.js} +6 -6
  96. package/dist/client/assets/_shell.threads-BYdN1UtZ.js +1 -0
  97. package/dist/client/assets/_shell.x._extensionId-DtJYSfvG.js +1 -0
  98. package/dist/client/assets/_shell.x._extensionId_._-DtJYSfvG.js +1 -0
  99. package/dist/client/assets/{abnfDiagram-WEYOIA3C-DxgtVd9I.js → abnfDiagram-WEYOIA3C-BLCVDt6M.js} +1 -1
  100. package/dist/client/assets/{access-copy-Dqct36mi.js → access-copy-BSQ3QECN.js} +1 -1
  101. package/dist/client/assets/{arc-C-67Ef0p.js → arc-t4OhsI5R.js} +1 -1
  102. package/dist/client/assets/{architectureDiagram-ZHVYKT53-B7TjdT-_.js → architectureDiagram-ZHVYKT53-BcIfbGZR.js} +1 -1
  103. package/dist/client/assets/{banner-C9qTs6-C.js → banner-B6xfuDA7.js} +2 -2
  104. package/dist/client/assets/{blockDiagram-RJAE7QA3-DNqxJ3Ww.js → blockDiagram-RJAE7QA3-DTOlrcEZ.js} +1 -1
  105. package/dist/client/assets/{c4Diagram-XDPPPE54-D3jNLV0j.js → c4Diagram-XDPPPE54-CHGqwaxa.js} +1 -1
  106. package/dist/client/assets/channel-CSk6LhO2.js +1 -0
  107. package/dist/client/assets/{chunk-2E7WHVMD-C6OKx0ty.js → chunk-2E7WHVMD-Bh4L_7yX.js} +1 -1
  108. package/dist/client/assets/{chunk-2Q5K7J3B-Dr_6hHrZ.js → chunk-2Q5K7J3B-BmouLl8r.js} +1 -1
  109. package/dist/client/assets/{chunk-4EMNKR2T-CSrZVDEt.js → chunk-4EMNKR2T-BVhtiAdG.js} +1 -1
  110. package/dist/client/assets/{chunk-55XCU76K-CIazeRXO.js → chunk-55XCU76K-BdbLnE56.js} +1 -1
  111. package/dist/client/assets/{chunk-5VM5RSS4-C8IJ3zTR.js → chunk-5VM5RSS4-Qg9lQpPO.js} +1 -1
  112. package/dist/client/assets/{chunk-JWPE2WC7-D9DGXb79.js → chunk-JWPE2WC7-CfIrQaMW.js} +1 -1
  113. package/dist/client/assets/{chunk-VQ5W62QI-B0LNYdif.js → chunk-VQ5W62QI-BP9oQzc0.js} +1 -1
  114. package/dist/client/assets/{chunk-XXDRQBXY-C7IAIbvZ.js → chunk-XXDRQBXY-DKzIjnsB.js} +1 -1
  115. package/dist/client/assets/{chunk-ZCHMQSOR-C79hvjlu.js → chunk-ZCHMQSOR-DsvG6BGY.js} +2 -2
  116. package/dist/client/assets/{classDiagram-v2-4MYWR3UA-0Di1C2ZB.js → classDiagram-v2-4MYWR3UA-BSiSmGgP.js} +1 -1
  117. package/dist/client/assets/{command-BVQb6I3_.js → command-B_FPXirc.js} +1 -1
  118. package/dist/client/assets/copy-button-Bp75zBSh.js +1 -0
  119. package/dist/client/assets/{cose-bilkent-JH36ORCC-rZumaV4b.js → cose-bilkent-JH36ORCC-CXgyrZix.js} +1 -1
  120. package/dist/client/assets/{cpu-DeRuDMl4.js → cpu-DpkNIYeK.js} +1 -1
  121. package/dist/client/assets/{cynefin-EF2NZ3EQ-CI9l9xhM.js → cynefin-EF2NZ3EQ-DkmPO3hK.js} +1 -1
  122. package/dist/client/assets/{cynefinDiagram-WF24UDRP-C8CdorJJ.js → cynefinDiagram-WF24UDRP-BDknJT17.js} +1 -1
  123. package/dist/client/assets/{dagre-NK4GIZVX-AHpsTq1O.js → dagre-NK4GIZVX-BR4J5E3b.js} +1 -1
  124. package/dist/client/assets/detail-row-C8zz6mAC.js +1 -0
  125. package/dist/client/assets/{diagram-CBK3MWTC-BpPLL30n.js → diagram-CBK3MWTC-CvLKqPry.js} +1 -1
  126. package/dist/client/assets/{diagram-I5XIIV2D-D6loMn3G.js → diagram-I5XIIV2D-CVtE60X9.js} +1 -1
  127. package/dist/client/assets/{diagram-ODIL2UCW-BaGNd5eN.js → diagram-ODIL2UCW-B--CpfLk.js} +1 -1
  128. package/dist/client/assets/{diagram-PFBEJUXE-BnDdKu_g.js → diagram-PFBEJUXE-08gch1t1.js} +1 -1
  129. package/dist/client/assets/{diagram-RJA3I4VV-UXagB0_c.js → diagram-RJA3I4VV-C2e-ubaD.js} +1 -1
  130. package/dist/client/assets/{diagram-TYUNFSNR-C-whBP-S.js → diagram-TYUNFSNR-DcpK4OXX.js} +1 -1
  131. package/dist/client/assets/{ebnfDiagram-V4P3TTPT-BbG481iS.js → ebnfDiagram-V4P3TTPT-DM44BkBt.js} +1 -1
  132. package/dist/client/assets/{elk-QONTBCTQ-FtssIxOc.js → elk-QONTBCTQ-maYS1Zzm.js} +1 -1
  133. package/dist/client/assets/{empty-state-CACt-76q.js → empty-state-HtOTBAoq.js} +1 -1
  134. package/dist/client/assets/{erDiagram-KYQIGQAA-PpFgUf4C.js → erDiagram-KYQIGQAA-BR7z9r2M.js} +1 -1
  135. package/dist/client/assets/{execution-config-CGL73sRn.js → execution-config-DYYeJyJh.js} +1 -1
  136. package/dist/client/assets/{file-D80JE_L0.js → file-VtGYNr9E.js} +1 -1
  137. package/dist/client/assets/{file-exclamation-point-CcJ_e4_m.js → file-exclamation-point-eBlQssyW.js} +1 -1
  138. package/dist/client/assets/{file-text-Ds9edaTZ.js → file-text-DvNAxTGZ.js} +1 -1
  139. package/dist/client/assets/{find-latest-widget-fence-BtqFMP_f.js → find-latest-widget-fence-C2qXvASs.js} +5 -5
  140. package/dist/client/assets/{flowDiagram-IUGLLWBU-BIva66g9.js → flowDiagram-IUGLLWBU-DiuMtMbj.js} +1 -1
  141. package/dist/client/assets/form-CGIIzr1u.js +1 -0
  142. package/dist/client/assets/{format-cron-BpGrgPLu.js → format-cron-BzJ6ekoo.js} +1 -1
  143. package/dist/client/assets/format-tokens-DymkROvy.js +1 -0
  144. package/dist/client/assets/{ganttDiagram-R7GPNTJY-CZqips_4.js → ganttDiagram-R7GPNTJY-Cf_z8Ri1.js} +1 -1
  145. package/dist/client/assets/{git-branch-B8JNwQ6q.js → git-branch-BVzjBPW-.js} +1 -1
  146. package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-DoIc3lda.js → gitGraphDiagram-PDYL7XHY-RZXACCBr.js} +1 -1
  147. package/dist/client/assets/{graph-yizM0vwL.js → graph-DfAV_ObD.js} +1 -1
  148. package/dist/client/assets/{heart-BavUIV45.js → heart-BMOCYMFT.js} +1 -1
  149. package/dist/client/assets/{highlighted-body-KPVGNVTW-CGr3AgaU.js → highlighted-body-KPVGNVTW-DrrsaKBc.js} +1 -1
  150. package/dist/client/assets/image-lightbox-tAwBNBhm.js +1 -0
  151. package/dist/client/assets/{image-off-C1uTDs9-.js → image-off-BpagBHk1.js} +1 -1
  152. package/dist/client/assets/{index-CrTmY12y.js → index-0uCJUW_h.js} +2 -2
  153. package/dist/client/assets/index-0y0K3rYv.js +1 -0
  154. package/dist/client/assets/{index-CJXMgnYp.js → index-2GjydAcS.js} +1 -1
  155. package/dist/client/assets/index-6dsaPQ7-.js +1 -0
  156. package/dist/client/assets/{index-X282DRZf.js → index-7-yzdcAx.js} +3 -3
  157. package/dist/client/assets/{index-C8ZpJXTQ.js → index-A7HgzxSw.js} +1 -1
  158. package/dist/client/assets/{index-DW4KUPHp.js → index-BEqKTiCR.js} +1 -1
  159. package/dist/client/assets/{index-56EOd-zy.js → index-BIN0yv4s.js} +1 -1
  160. package/dist/client/assets/{index-FhWMRBQP.js → index-BL5Vmq62.js} +1 -1
  161. package/dist/client/assets/index-BOvFXsF_.js +1 -0
  162. package/dist/client/assets/index-BbcfxnHC.js +1 -0
  163. package/dist/client/assets/{index-DqkFtcGQ.js → index-BdKIijqB.js} +1 -1
  164. package/dist/client/assets/{index-BOEPL6hN.js → index-BfAymWoj.js} +1 -1
  165. package/dist/client/assets/{index-BKWJiERs.js → index-Bgts5its.js} +1 -1
  166. package/dist/client/assets/{index-n_pnc-CO.js → index-BiL3chP7.js} +1 -1
  167. package/dist/client/assets/{index-FI_y_dND.js → index-Bu3PEVA_.js} +1 -1
  168. package/dist/client/assets/{index-BOhSPP-6.js → index-C6DTV4h3.js} +1 -1
  169. package/dist/client/assets/{index-Cdod8zEY.js → index-CCH9c-nB.js} +1 -1
  170. package/dist/client/assets/{index-BkJlIXqM.js → index-CH4NJ8dD.js} +1 -1
  171. package/dist/client/assets/{index-CiGYtR9O.js → index-CKGJp3Cm.js} +1 -1
  172. package/dist/client/assets/{index-DEiSJbvu.js → index-CeqI4FFw.js} +1 -1
  173. package/dist/client/assets/{index-C4t0UTU-.js → index-Cj9-XXKl.js} +1 -1
  174. package/dist/client/assets/{index-ZR5f82z2.js → index-Cu8tnfM_.js} +1 -1
  175. package/dist/client/assets/{index-Dcd4NqFB.js → index-D4OWRMsG.js} +1 -1
  176. package/dist/client/assets/{index-Br6xDNvu.js → index-D8SP73Xw.js} +1 -1
  177. package/dist/client/assets/{index-CoNMlH37.js → index-DEJXVqcY.js} +1 -1
  178. package/dist/client/assets/{index-CoKNU2F9.js → index-DEMZynQt.js} +1 -1
  179. package/dist/client/assets/index-DGzMwE1Z.js +1 -0
  180. package/dist/client/assets/{index-1QfQImuJ.js → index-DIJdZqg2.js} +3 -3
  181. package/dist/client/assets/{index-YSHcMqHa.js → index-DIRqrOEK.js} +1 -1
  182. package/dist/client/assets/{index-CeDn1Ak1.js → index-DNbdGvs9.js} +1 -1
  183. package/dist/client/assets/{index-7XeZCCDI.js → index-DOBjxRe9.js} +1 -1
  184. package/dist/client/assets/{index-BJEt9R_G.js → index-DcBlHsnC.js} +1 -1
  185. package/dist/client/assets/index-DdsaTuqO.js +1 -0
  186. package/dist/client/assets/index-Dt4H9Tms.js +17 -0
  187. package/dist/client/assets/{index-DYEmUa5t.js → index-HXC63Ry8.js} +1 -1
  188. package/dist/client/assets/index-MHIn2TC9.js +1063 -0
  189. package/dist/client/assets/{index-tgbcsB6H.js → index-OjJ_8uMM.js} +1 -1
  190. package/dist/client/assets/index-P4Wos1Gi.css +1 -0
  191. package/dist/client/assets/{index-QSXJR98z.js → index-U5jTIqzv.js} +1 -1
  192. package/dist/client/assets/{index-CXBYgGja.js → index-ZzPr9GUI.js} +1 -1
  193. package/dist/client/assets/index-d9cqTUAj.js +1 -0
  194. package/dist/client/assets/{index-LwL5BpE4.js → index-fcfCRITA.js} +1 -1
  195. package/dist/client/assets/{index-SOKlO1zZ.js → index-onQlu3UR.js} +1 -1
  196. package/dist/client/assets/{index.esm-CAeUe7uQ.js → index.esm-DSKTDEoH.js} +1 -1
  197. package/dist/client/assets/{infoDiagram-MVDRKAX5-DweUdYSy.js → infoDiagram-MVDRKAX5-B8dulOBe.js} +1 -1
  198. package/dist/client/assets/{inline-code-SYHTKcle.js → inline-code-B3qpjdZ2.js} +1 -1
  199. package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-DKNQIv7P.js → ishikawaDiagram-HPEHV2GE-Cy8aIg0O.js} +1 -1
  200. package/dist/client/assets/{journeyDiagram-BOSHW7O7-DPD7F4VO.js → journeyDiagram-BOSHW7O7-BZAlejG3.js} +1 -1
  201. package/dist/client/assets/{kanban-definition-FNSA4HC5-B_uPSwxC.js → kanban-definition-FNSA4HC5-BxS1edpe.js} +1 -1
  202. package/dist/client/assets/{layers-F4mvrI2l.js → layers-ByCM7XO5.js} +1 -1
  203. package/dist/client/assets/{lightbulb-a6nNsrzy.js → lightbulb-KjW8YTXH.js} +1 -1
  204. package/dist/client/assets/{link-2-yI2Tlm7Q.js → link-2-CtFfuMO5.js} +1 -1
  205. package/dist/client/assets/{list-runtime-types-CsGil5te.js → list-runtime-types-DrzHejZo.js} +1 -1
  206. package/dist/client/assets/{markdown-content-Cjhsscbn.js → markdown-content-DgiSdNwz.js} +1 -1
  207. package/dist/client/assets/mention-pill-CHPHlu-U.js +1 -0
  208. package/dist/client/assets/{mermaid.core-9PwG-9fN.js → mermaid.core-ovqlC4PC.js} +4 -4
  209. package/dist/client/assets/{message-square-off-aV4NMCjd.js → message-square-off-CEOyy4Pq.js} +1 -1
  210. package/dist/client/assets/{mindmap-definition-6OY57UG3-BRbWmQkj.js → mindmap-definition-6OY57UG3-CsngqLzI.js} +1 -1
  211. package/dist/client/assets/{more-details-CRLU2HN4.js → more-details-BW9mauVT.js} +1 -1
  212. package/dist/client/assets/{owner-notice-CTJbhUak.js → owner-notice-BRUVafHC.js} +1 -1
  213. package/dist/client/assets/{package-sPggO7Dr.js → package-Bbs99yqi.js} +1 -1
  214. package/dist/client/assets/{page-container-CnfDuiDC.js → page-container-BVfGgaaJ.js} +1 -1
  215. package/dist/client/assets/{pane-resize-handle-63OC5vfI.js → pane-resize-handle-BL7Meu5R.js} +1 -1
  216. package/dist/client/assets/{paperclip-WhPo3_WD.js → paperclip-QOWXs8-5.js} +1 -1
  217. package/dist/client/assets/path-input-BDRHmgzW.js +1 -0
  218. package/dist/client/assets/{pegDiagram-ECIUJNBX-Ct9Li_PA.js → pegDiagram-ECIUJNBX-DPsWmWqw.js} +1 -1
  219. package/dist/client/assets/{pieDiagram-GNMPY74T-BAB5RA5v.js → pieDiagram-GNMPY74T-BdOIDv4F.js} +1 -1
  220. package/dist/client/assets/{plug-_q5iqunq.js → plug-BrsPyUhu.js} +1 -1
  221. package/dist/client/assets/primer-trigger-C97fRm1v.js +3 -0
  222. package/dist/client/assets/{profile-errors-COcBx7w5.js → profile-errors-nPLX60ha.js} +1 -1
  223. package/dist/client/assets/{progress-77FCPL2y.js → progress-C9TALtIa.js} +1 -1
  224. package/dist/client/assets/{quadrantDiagram-D57K4MC3-BqPJVmMS.js → quadrantDiagram-D57K4MC3-MzMEunU7.js} +1 -1
  225. package/dist/client/assets/{query-error-state-5236P3z0.js → query-error-state-BJjgx-WC.js} +1 -1
  226. package/dist/client/assets/{radio-C8xmfoqO.js → radio-Biql29-B.js} +1 -1
  227. package/dist/client/assets/{railroadDiagram-Y72NRBL7-B8U11nT6.js → railroadDiagram-Y72NRBL7-Dzx_PYVW.js} +1 -1
  228. package/dist/client/assets/registry-B0HgbN69.js +1 -0
  229. package/dist/client/assets/registry-fiUD5cv6.js +39 -0
  230. package/dist/client/assets/{relay-trace-schemas-B80E4EUn.js → relay-trace-schemas-BJ4MfChd.js} +2 -2
  231. package/dist/client/assets/{repeat-CHmB_vD7.js → repeat-CKufDGoQ.js} +1 -1
  232. package/dist/client/assets/{requirementDiagram-EQYSW5RA-CzJ1gzTh.js → requirementDiagram-EQYSW5RA-J0pg6FEt.js} +1 -1
  233. package/dist/client/assets/{room-files-source-B0gc97Ri.js → room-files-source-iaYdshKo.js} +2 -2
  234. package/dist/client/assets/{rotate-ccw-clock-CCU6SVnv.js → rotate-ccw-clock-CnARSw5V.js} +1 -1
  235. package/dist/client/assets/{rotate-cw-B8WQa8O-.js → rotate-cw-BAn_5-Gq.js} +1 -1
  236. package/dist/client/assets/{sankeyDiagram-SY24JHO5-D4vQwyve.js → sankeyDiagram-SY24JHO5-6V_uy-zQ.js} +1 -1
  237. package/dist/client/assets/scroll-area-XDq7yL_d.js +1 -0
  238. package/dist/client/assets/{sequenceDiagram-BLEHNHQU-BVnIsPQe.js → sequenceDiagram-BLEHNHQU-C4jZi3N4.js} +1 -1
  239. package/dist/client/assets/{shield-x-ijIbRppV.js → shield-x-CpiXuMbN.js} +1 -1
  240. package/dist/client/assets/signed-in-Rv3Sjk8n.js +1 -0
  241. package/dist/client/assets/{sizeCapture-INFHLROL-DGb1rAJL.js → sizeCapture-INFHLROL-B7nxFreb.js} +1 -1
  242. package/dist/client/assets/{soul-file-CXgYs25S.js → soul-file-BQz4TtHo.js} +1 -1
  243. package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-DeX3IKTm.js → stateDiagram-v2-A6IESKWZ-B5rvc4n2.js} +1 -1
  244. package/dist/client/assets/{swimlanes-B3ENRKFQ-DN5ljYhG.js → swimlanes-B3ENRKFQ-DnElusDo.js} +1 -1
  245. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-DLpKz5fF.js +8 -0
  246. package/dist/client/assets/{table-D9ww_3Ij.js → table-NGiWzPO4.js} +1 -1
  247. package/dist/client/assets/{timeline-definition-JXYKGLGB-DpRthC3r.js → timeline-definition-JXYKGLGB-DMgyn3XX.js} +1 -1
  248. package/dist/client/assets/{trust-posture-Dn2ciEE0.js → trust-posture-BArJ9H4j.js} +1 -1
  249. package/dist/client/assets/{unplug-BZ8zSvfB.js → unplug-MSjeZ0tJ.js} +1 -1
  250. package/dist/client/assets/{unverified-catalog-notice-CGy05tAO.js → unverified-catalog-notice-DA96H8Df.js} +1 -1
  251. package/dist/client/assets/{use-bindings-BLAWQRpe.js → use-bindings-BojBqRJS.js} +1 -1
  252. package/dist/client/assets/{use-composer-prefs-ICOpilWK.js → use-composer-prefs-BDl8aMme.js} +1 -1
  253. package/dist/client/assets/{use-connector-management-DEMGZy9N.js → use-connector-management-FONU6FK8.js} +1 -1
  254. package/dist/client/assets/{use-deep-link-scroll-DxGYrks3.js → use-deep-link-scroll-CtbBPBgi.js} +1 -1
  255. package/dist/client/assets/{use-delete-binding-Bnv3J5Fu.js → use-delete-binding-COhBv6X3.js} +1 -1
  256. package/dist/client/assets/{use-dev-links-BOcktLiE.js → use-dev-links-Dh0MCiGY.js} +1 -1
  257. package/dist/client/assets/{use-direct-message-panel-D38tSozW.js → use-direct-message-panel-CYnWunqk.js} +1 -1
  258. package/dist/client/assets/{use-external-adapter-catalog-9qiNBqpc.js → use-external-adapter-catalog-RTDOW8Yi.js} +1 -1
  259. package/dist/client/assets/use-filter-state-CSFTDx7z.js +6 -0
  260. package/dist/client/assets/use-full-activity-feed-DlY_ZbRZ.js +1 -0
  261. package/dist/client/assets/use-is-below-desktop-ClzGXlRb.js +1 -0
  262. package/dist/client/assets/{use-local-browser-B1huJhdg.js → use-local-browser-WwZd-FOP.js} +1 -1
  263. package/dist/client/assets/{use-mesh-topology-BTYAy6zc.js → use-mesh-topology-WnFkjq41.js} +1 -1
  264. package/dist/client/assets/{use-mounted-ref-CaPc6Prv.js → use-mounted-ref-Dz1h70pz.js} +1 -1
  265. package/dist/client/assets/{use-notification-prefs-u76DPoP0.js → use-notification-prefs-IrF5_cko.js} +1 -1
  266. package/dist/client/assets/use-pending-read-CnAnzOt_.js +1 -0
  267. package/dist/client/assets/use-personality-commit-C4hYkSPy.js +1 -0
  268. package/dist/client/assets/use-promo-activation-CPVANFBh.js +6 -0
  269. package/dist/client/assets/{use-promo-dismissals-CO7-qhEl.js → use-promo-dismissals-B9m0HT6L.js} +1 -1
  270. package/dist/client/assets/{use-pulse-freshness-D07Mv-Sa.js → use-pulse-freshness-DMySxN8D.js} +1 -1
  271. package/dist/client/assets/{use-room-follow-claim-DRQBuAIe.js → use-room-follow-claim-ByaYVY0o.js} +1 -1
  272. package/dist/client/assets/{use-room-sessions-Bzk7rM40.js → use-room-sessions-DPB29acU.js} +1 -1
  273. package/dist/client/assets/{use-roving-tab-list-CcznVldj.js → use-roving-tab-list-BO8kbs-w.js} +1 -1
  274. package/dist/client/assets/{use-session-canvas-CpgE7tFb.js → use-session-canvas-Cunag2K7.js} +9 -9
  275. package/dist/client/assets/use-status-budget-jt-9aQR0.js +21 -0
  276. package/dist/client/assets/{use-transform-ByJGn3hq.js → use-transform-ydtuYUNp.js} +1 -1
  277. package/dist/client/assets/{use-unclaimed-chats-C-z5fstJ.js → use-unclaimed-chats-ClBWJgNm.js} +1 -1
  278. package/dist/client/assets/use-update-config-ZHtOtve0.js +1 -0
  279. package/dist/client/assets/{useMutationState-BF1EFtIZ.js → useMutationState-B8ArIqeH.js} +1 -1
  280. package/dist/client/assets/{usecaseDiagram-WPOLBNNX-efVKbRIX.js → usecaseDiagram-WPOLBNNX-C5JdAkG9.js} +1 -1
  281. package/dist/client/assets/{vennDiagram-Q3Y3IDCW-Bravmwce.js → vennDiagram-Q3Y3IDCW-CqLCy7LU.js} +1 -1
  282. package/dist/client/assets/{wardleyDiagram-IVAIDKWA-fR77zByv.js → wardleyDiagram-IVAIDKWA-C9FlHLTd.js} +1 -1
  283. package/dist/client/assets/{xychartDiagram-4URNHDU4-BphORSLh.js → xychartDiagram-4URNHDU4-BIm-RUWd.js} +1 -1
  284. package/dist/client/index.html +2 -2
  285. package/dist/drizzle/20261031012841_dor3309_file_turn_on_offer.sql +2 -0
  286. package/dist/drizzle/20261101122330_schedule_declined_content_key.sql +1 -0
  287. package/dist/drizzle/20261101195529_work_queue.sql +38 -0
  288. package/dist/drizzle/20261101233656_dor3644_session_launched_by.sql +1 -0
  289. package/dist/drizzle/20261102041558_dor3070_marketplace_summary.sql +2 -0
  290. package/dist/drizzle/20261102051715_dor3440_clear_origin_holds.sql +10 -0
  291. package/dist/drizzle/20261102135442_agent_browser_profiles.sql +15 -0
  292. package/dist/drizzle/meta/20261031012841_snapshot.json +14116 -0
  293. package/dist/drizzle/meta/20261101122330_snapshot.json +14123 -0
  294. package/dist/drizzle/meta/20261101195529_snapshot.json +14363 -0
  295. package/dist/drizzle/meta/20261101233656_snapshot.json +14370 -0
  296. package/dist/drizzle/meta/20261102041558_snapshot.json +14384 -0
  297. package/dist/drizzle/meta/20261102051715_snapshot.json +14384 -0
  298. package/dist/drizzle/meta/20261102135442_snapshot.json +14483 -0
  299. package/dist/drizzle/meta/_journal.json +49 -0
  300. package/dist/server/extension-child.cjs +1147 -572
  301. package/dist/server/index.js +45678 -38894
  302. package/dist/server/index.js.map +2 -2
  303. package/package.json +5 -5
  304. package/dist/client/assets/ActivityRow-DIBH4v9c.js +0 -1
  305. package/dist/client/assets/AdapterSetupWizard-Dle_b9qc.js +0 -2
  306. package/dist/client/assets/AppearancePage-DXbhUt2e.js +0 -1
  307. package/dist/client/assets/AttentionSignalRow-5E7TkG98.js +0 -1
  308. package/dist/client/assets/BindingDialog-q--8SDJF.js +0 -1
  309. package/dist/client/assets/BlintzCanvas-DruVZcDU.js +0 -1231
  310. package/dist/client/assets/CanvasFileContent-BThy5fjD.js +0 -2
  311. package/dist/client/assets/CanvasModel3dContent-BbgR73jh.js +0 -2
  312. package/dist/client/assets/ChannelComposer-qhk0KtW7.js +0 -44
  313. package/dist/client/assets/ConnectionAccessLists-DRwO1v0V.js +0 -1
  314. package/dist/client/assets/HandlePage-B4qbFi40.js +0 -1
  315. package/dist/client/assets/HeartbeatPage-BnNbQLCW.js +0 -1
  316. package/dist/client/assets/Marketplace-DbdLWz0-.js +0 -36
  317. package/dist/client/assets/NamePage-fhxyWDDY.js +0 -1
  318. package/dist/client/assets/NewDirectMessageMenu-DBAdvv5p.js +0 -1
  319. package/dist/client/assets/OperatorIdentityForm-Bls5Vo_u.js +0 -1
  320. package/dist/client/assets/PhotoPage-CNHcXbz4.js +0 -1
  321. package/dist/client/assets/PreviewRefusedNotice-Ds4IO32o.js +0 -1
  322. package/dist/client/assets/PromptSuggestionChips-BXxC799Q.js +0 -1
  323. package/dist/client/assets/RoomSurface-DgH3a_Fv.js +0 -1
  324. package/dist/client/assets/RunsOnPopover-CEkkjrGg.js +0 -1
  325. package/dist/client/assets/RuntimeConnectFlow-DXWGgvCW.js +0 -1
  326. package/dist/client/assets/RuntimeSetupDialog-D6L1QhMF.js +0 -1
  327. package/dist/client/assets/SettingsDialog-BOOqWKcj.js +0 -12
  328. package/dist/client/assets/SkillsPage-ntCEhUIM.js +0 -1
  329. package/dist/client/assets/TaskDialogWrapper-vBWAWwTY.js +0 -1
  330. package/dist/client/assets/TasksEmptyState-C_3UkAbA.js +0 -3
  331. package/dist/client/assets/TourHost-B69XAKpE.js +0 -1
  332. package/dist/client/assets/WidgetErrorCard-BlqaIsPK.js +0 -108
  333. package/dist/client/assets/WorkView-BekLkR4O.js +0 -51
  334. package/dist/client/assets/_shell-Du0F-5fK.js +0 -80
  335. package/dist/client/assets/_shell._home.activity-5rihXoYF.js +0 -1
  336. package/dist/client/assets/_shell._home.index-BsLNqt4f.js +0 -3
  337. package/dist/client/assets/_shell._home.tasks-Cxs5tLWA.js +0 -1
  338. package/dist/client/assets/_shell._home.workspaces-CEHDdfbP.js +0 -1
  339. package/dist/client/assets/_shell.connections-Bm0WmgXH.js +0 -1
  340. package/dist/client/assets/_shell.marketplace-CsQ60Mlc.js +0 -1
  341. package/dist/client/assets/_shell.marketplace_.sources-DNyShS1x.js +0 -1
  342. package/dist/client/assets/_shell.session-BN42bV3w.js +0 -1
  343. package/dist/client/assets/_shell.threads-HH4EvufJ.js +0 -1
  344. package/dist/client/assets/_shell.x._extensionId-3ZlJV1iu.js +0 -1
  345. package/dist/client/assets/_shell.x._extensionId_._-3ZlJV1iu.js +0 -1
  346. package/dist/client/assets/card-DUmTNXJJ.js +0 -1
  347. package/dist/client/assets/channel-B7zgJbnU.js +0 -1
  348. package/dist/client/assets/form-D93N5lrK.js +0 -1
  349. package/dist/client/assets/image-lightbox-vgPEvSCc.js +0 -1
  350. package/dist/client/assets/index-B36osK_S.js +0 -17
  351. package/dist/client/assets/index-B446r3dL.js +0 -1
  352. package/dist/client/assets/index-BGo1YiUE.js +0 -1
  353. package/dist/client/assets/index-BO3yPJt-.js +0 -1
  354. package/dist/client/assets/index-DE6uOpn4.js +0 -1
  355. package/dist/client/assets/index-Dag1qeZI.js +0 -1
  356. package/dist/client/assets/index-Dm0Tav7v.js +0 -1
  357. package/dist/client/assets/index-Dry_agqN.css +0 -1
  358. package/dist/client/assets/index-OQuvRZTD.js +0 -1058
  359. package/dist/client/assets/index-eVrGefuq.js +0 -1
  360. package/dist/client/assets/mention-pill-BsOeTJ2f.js +0 -1
  361. package/dist/client/assets/path-input-C2KIXdON.js +0 -1
  362. package/dist/client/assets/primer-trigger-B2tjuHBx.js +0 -3
  363. package/dist/client/assets/registry-BzXBOE9h.js +0 -34
  364. package/dist/client/assets/registry-sfhDu9q2.js +0 -1
  365. package/dist/client/assets/scroll-area-FwZwM74Q.js +0 -1
  366. package/dist/client/assets/search-x-Q18Wm-C5.js +0 -6
  367. package/dist/client/assets/signed-in-DEOMBWVX.js +0 -1
  368. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-D8kHFWtL.js +0 -8
  369. package/dist/client/assets/use-full-activity-feed-CtQquOBW.js +0 -1
  370. package/dist/client/assets/use-is-below-desktop-CAGEAsCC.js +0 -1
  371. package/dist/client/assets/use-pending-read-D0y6i7G9.js +0 -1
  372. package/dist/client/assets/use-personality-commit-C3h8upDo.js +0 -1
  373. package/dist/client/assets/use-promo-activation-5HG08FlB.js +0 -11
  374. package/dist/client/assets/use-status-budget-Xn2sIeM1.js +0 -16
  375. package/dist/client/assets/use-update-config-L5NCTj3t.js +0 -1
@@ -1,4 +1,4 @@
1
- import{O as e}from"./index-OQuvRZTD.js";/**
1
+ import{O as e}from"./index-MHIn2TC9.js";/**
2
2
  * @license lucide-react v1.48.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{I as he}from"./chunk-2Q5K7J3B-Dr_6hHrZ.js";import{p as $e}from"./chunk-JWPE2WC7-D9DGXb79.js";import{v as fe,t as ge,s as ue,g as ye,a as xe,b as me,_ as $,M as J,l as k,c as z,u as pe,N as be,A as we,k as L,O as ke,P as ve,Q as Ee}from"./mermaid.core-9PwG-9fN.js";import{p as Ce}from"./cynefin-EF2NZ3EQ-CI9l9xhM.js";import{s as Be}from"./transform-BqqRT-Iy.js";import"./index-OQuvRZTD.js";import"./BlintzCanvas-DruVZcDU.js";import"./index-QSXJR98z.js";import"./index-1QfQImuJ.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=ve.gitGraph,D=$(()=>ke({...Te,...J().gitGraph}),"getConfig"),i=new he(()=>{const e=D(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function K(){return Ee({length:7})}$(K,"getID");function ae(e,r){const t=Object.create(null);return e.reduce((o,s)=>{const d=r(s);return t[d]||(t[d]=!0,o.push(s)),o},[])}$(ae,"uniqBy");var Le=$(function(e){i.records.direction=e},"setDirection"),Me=$(function(e){k.debug("options str",e),e=e==null?void 0:e.trim(),e=e||"{}";try{i.records.options=JSON.parse(e)}catch(r){k.error("error while parsing gitGraph options",r.message)}},"setOptions"),Re=$(function(){return i.records.options},"getOptions"),Ie=$(function(e){let r=e.msg,t=e.id;const o=e.type;let s=e.tags;k.info("commit",r,t,o,s),k.debug("Entering commit:",r,t,o,s);const d=D();t=L.sanitizeText(t,d),r=L.sanitizeText(r,d),s=s==null?void 0:s.map(a=>L.sanitizeText(a,d));const n={id:t||i.records.seq+"-"+K(),message:r,seq:i.records.seq++,type:o??p.NORMAL,tags:s??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=n,k.info("main branch",d.mainBranchName),i.records.commits.has(n.id)&&k.warn(`Commit ID ${n.id} already exists`),i.records.commits.set(n.id,n),i.records.branches.set(i.records.currBranch,n.id),k.debug("in pushCommit "+n.id)},"commit"),Oe=$(function(e){let r=e.name;const t=e.order;if(r=L.sanitizeText(r,D()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:t}),ne(r),k.debug("in createBranch")},"branch"),_e=$(e=>{let r=e.branch,t=e.id;const o=e.type,s=e.tags,d=D();r=L.sanitizeText(r,d),t&&(t=L.sanitizeText(t,d));const n=i.records.branches.get(i.records.currBranch),a=i.records.branches.get(r),l=n?i.records.commits.get(n):void 0,h=a?i.records.commits.get(a):void 0;if(l&&h&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!i.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(h===void 0||!h){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===h){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&i.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,token:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${o} ${s==null?void 0:s.join(" ")}`]},c}const g=a||"",f={id:t||`${i.records.seq}-${K()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,g],branch:i.records.currBranch,type:p.MERGE,customType:o,customId:!!t,tags:s??[]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),k.debug(i.records.branches),k.debug("in mergeBranch")},"merge"),Ge=$(function(e){let r=e.id,t=e.targetId,o=e.tags,s=e.parent;k.debug("Entering cherryPick:",r,t,o);const d=D();if(r=L.sanitizeText(r,d),t=L.sanitizeText(t,d),o=o==null?void 0:o.map(l=>L.sanitizeText(l,d)),s=L.sanitizeText(s,d),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=i.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(s&&!(Array.isArray(n.parents)&&n.parents.includes(s)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===p.MERGE&&!s)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!i.records.commits.has(t)){if(a===i.records.currBranch){const f=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const h=i.records.commits.get(l);if(h===void 0||!h){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const g={id:i.records.seq+"-"+K(),message:`cherry-picked ${n==null?void 0:n.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,n.id],branch:i.records.currBranch,type:p.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${n.id}${n.type===p.MERGE?`|parent:${s}`:""}`]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),k.debug(i.records.branches),k.debug("in cherryPick")}},"cherryPick"),ne=$(function(e){if(e=L.sanitizeText(e,D()),i.records.branches.has(e)){i.records.currBranch=e;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function X(e,r,t){const o=e.indexOf(r);o===-1?e.push(t):e.splice(o,1,t)}$(X,"upsert");function Z(e){const r=e.reduce((s,d)=>s.seq>d.seq?s:d,e[0]);let t="";e.forEach(function(s){s===r?t+=" *":t+=" |"});const o=[t,r.id,r.seq];for(const s in i.records.branches)i.records.branches.get(s)===r.id&&o.push(s);if(k.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const s=i.records.commits.get(r.parents[0]);X(e,r,s),r.parents[1]&&e.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const s=i.records.commits.get(r.parents[0]);X(e,r,s)}}e=ae(e,s=>s.id),Z(e)}$(Z,"prettyPrintCommitHistory");var He=$(function(){k.debug(i.records.commits);const e=se()[0];Z([e])},"prettyPrint"),Ae=$(function(){i.reset(),we()},"clear"),Se=$(function(){return[...i.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=$(function(){return i.records.branches},"getBranches"),Pe=$(function(){return i.records.commits},"getCommits"),se=$(function(){const e=[...i.records.commits.values()];return e.forEach(function(r){k.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),We=$(function(){return i.records.currBranch},"getCurrentBranch"),qe=$(function(){return i.records.direction},"getDirection"),Ne=$(function(){return i.records.head},"getHead"),oe={commitType:p,getConfig:D,setDirection:Le,setOptions:Me,getOptions:Re,commit:Ie,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Ae,getBranchesAsObjArray:Se,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:We,getDirection:qe,getHead:Ne,setAccTitle:me,getAccTitle:xe,getAccDescription:ye,setAccDescription:ue,setDiagramTitle:ge,getDiagramTitle:fe},Fe=$((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=$((e,r)=>{const o={Commit:$(s=>r.commit(Ye(s)),"Commit"),Branch:$(s=>r.branch(je(s)),"Branch"),Merge:$(s=>r.merge(Ue(s)),"Merge"),Checkout:$(s=>r.checkout(Ke(s)),"Checkout"),CherryPicking:$(s=>r.cherryPick(Ve(s)),"CherryPicking")}[e.$type];o?o(e):k.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=$(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?p[e.type]:p.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=$(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ue=$(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?p[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ke=$(e=>e.branch,"parseCheckout"),Ve=$(e=>{var t;return{id:e.id,targetId:"",tags:((t=e.tags)==null?void 0:t.length)===0?void 0:e.tags,parent:e.parent}},"parseCherryPicking"),Xe={parse:$(async e=>{const r=await Ce("gitGraph",e);k.debug(r),Fe(r,oe)},"parse")},G=10,H=40,M=4,I=2,A=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Q=12,ee=new Set(["redux-color","redux-dark-color"]),Qe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),S=$((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),B=new Map,T=new Map,j=30,N=new Map,U=[],O=0,y="LR",Je=$(()=>{B.clear(),T.clear(),N.clear(),O=0,U=[],y="LR"},"clear"),ce=$(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(o=>{const s=document.createElementNS("http://www.w3.org/2000/svg","tspan");s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),s.setAttribute("dy","1em"),s.setAttribute("x","0"),s.setAttribute("class","row"),s.textContent=o.trim(),r.appendChild(s)}),r},"drawText"),ie=$(e=>{let r,t,o;return y==="BT"?(t=$((s,d)=>s<=d,"comparisonFunc"),o=1/0):(t=$((s,d)=>s>=d,"comparisonFunc"),o=0),e.forEach(s=>{var n,a;const d=y==="TB"||y=="BT"?(n=T.get(s))==null?void 0:n.y:(a=T.get(s))==null?void 0:a.x;d!==void 0&&t(d,o)&&(r=s,o=d)}),r},"findClosestParent"),Ze=$(e=>{let r="",t=1/0;return e.forEach(o=>{const s=T.get(o).y;s<=t&&(r=o,t=s)}),r||void 0},"findClosestParentBT"),er=$((e,r,t)=>{let o=t,s=t;const d=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(o=tr(a),s=Math.max(o,s)):d.push(a),ar(a,o)}),o=s,d.forEach(n=>{nr(n,o,t)}),e.forEach(n=>{const a=r.get(n);if(a!=null&&a.parents.length){const l=Ze(a.parents);o=T.get(l).y-H,o<=s&&(s=o);const h=B.get(a.branch).pos,g=o-G;T.set(a.id,{x:h,y:g})}})},"setParallelBTPos"),rr=$(e=>{var o;const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=(o=T.get(r))==null?void 0:o.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=$(e=>rr(e)+H,"calculateCommitPosition"),ar=$((e,r)=>{const t=B.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const o=t.pos,s=r+G;return T.set(e.id,{x:o,y:s}),{x:o,y:s}},"setCommitPosition"),nr=$((e,r,t)=>{const o=B.get(e.branch);if(!o)throw new Error(`Branch not found for commit ${e.id}`);const s=r+t,d=o.pos;T.set(e.id,{x:d,y:s})},"setRootPosition"),sr=$((e,r,t,o,s,d)=>{const{theme:n}=z(),a=V.has(n??""),l=ee.has(n??""),h=Qe.has(n??"");if(d===p.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${S(s,A,l)} ${o}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${S(s,A,l)} ${o}-inner`);else if(d===p.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${S(s,A,l)}`),d===p.MERGE){const f=e.append("circle");f.attr("cx",t.x),f.attr("cy",t.y),f.attr("r",a?5:6),f.attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}if(d===p.REVERSE){const f=e.append("path"),c=a?4:5;f.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}}},"drawCommitBullet"),or=$((e,r,t,o,s)=>{var d;if(r.type!==p.CHERRY_PICK&&(r.customId&&r.type===p.MERGE||r.type!==p.MERGE)&&s.showCommitLabel){const n=e.append("g"),a=n.insert("rect").attr("class","commit-label-bkg"),l=n.append("text").attr("x",o).attr("y",t.y+25).attr("class","commit-label").text(r.id),h=(d=l.node())==null?void 0:d.getBBox();if(h&&(a.attr("x",t.posWithOffset-h.width/2-I).attr("y",t.y+13.5).attr("width",h.width+2*I).attr("height",h.height+2*I),y==="TB"||y==="BT"?(a.attr("x",t.x-(h.width+4*M+5)).attr("y",t.y-12),l.attr("x",t.x-(h.width+4*M)).attr("y",t.y+h.height-12)):l.attr("x",t.posWithOffset-h.width/2),s.rotateCommitLabel))if(y==="TB"||y==="BT")l.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),a.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const g=-7.5-(h.width+10)/25*9.5,f=10+h.width/25*8.5;n.attr("transform","translate("+g+", "+f+") rotate(-45, "+o+", "+t.y+")")}}},"drawCommitLabel"),cr=$((e,r,t,o)=>{var s;if(r.tags.length>0){let d=0,n=0,a=0;const l=[];for(const h of r.tags.reverse()){const g=e.insert("polygon"),f=e.append("circle"),c=e.append("text").attr("y",t.y-16-d).attr("class","tag-label").text(h),x=(s=c.node())==null?void 0:s.getBBox();if(!x)throw new Error("Tag bbox not found");n=Math.max(n,x.width),a=Math.max(a,x.height),c.attr("x",t.posWithOffset-x.width/2),l.push({tag:c,hole:f,rect:g,yOffset:d}),d+=20}for(const{tag:h,hole:g,rect:f,yOffset:c}of l){const x=a/2,u=t.y-19.2-c;if(f.attr("class","tag-label-bkg").attr("points",`
1
+ import{I as he}from"./chunk-2Q5K7J3B-BmouLl8r.js";import{p as $e}from"./chunk-JWPE2WC7-CfIrQaMW.js";import{v as fe,t as ge,s as ue,g as ye,a as xe,b as me,_ as $,M as J,l as k,c as z,u as pe,N as be,A as we,k as L,O as ke,P as ve,Q as Ee}from"./mermaid.core-ovqlC4PC.js";import{p as Ce}from"./cynefin-EF2NZ3EQ-DkmPO3hK.js";import{s as Be}from"./transform-BqqRT-Iy.js";import"./index-MHIn2TC9.js";import"./BlintzCanvas-DCXIQZM_.js";import"./index-U5jTIqzv.js";import"./index-DIJdZqg2.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=ve.gitGraph,D=$(()=>ke({...Te,...J().gitGraph}),"getConfig"),i=new he(()=>{const e=D(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function K(){return Ee({length:7})}$(K,"getID");function ae(e,r){const t=Object.create(null);return e.reduce((o,s)=>{const d=r(s);return t[d]||(t[d]=!0,o.push(s)),o},[])}$(ae,"uniqBy");var Le=$(function(e){i.records.direction=e},"setDirection"),Me=$(function(e){k.debug("options str",e),e=e==null?void 0:e.trim(),e=e||"{}";try{i.records.options=JSON.parse(e)}catch(r){k.error("error while parsing gitGraph options",r.message)}},"setOptions"),Re=$(function(){return i.records.options},"getOptions"),Ie=$(function(e){let r=e.msg,t=e.id;const o=e.type;let s=e.tags;k.info("commit",r,t,o,s),k.debug("Entering commit:",r,t,o,s);const d=D();t=L.sanitizeText(t,d),r=L.sanitizeText(r,d),s=s==null?void 0:s.map(a=>L.sanitizeText(a,d));const n={id:t||i.records.seq+"-"+K(),message:r,seq:i.records.seq++,type:o??p.NORMAL,tags:s??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=n,k.info("main branch",d.mainBranchName),i.records.commits.has(n.id)&&k.warn(`Commit ID ${n.id} already exists`),i.records.commits.set(n.id,n),i.records.branches.set(i.records.currBranch,n.id),k.debug("in pushCommit "+n.id)},"commit"),Oe=$(function(e){let r=e.name;const t=e.order;if(r=L.sanitizeText(r,D()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:t}),ne(r),k.debug("in createBranch")},"branch"),_e=$(e=>{let r=e.branch,t=e.id;const o=e.type,s=e.tags,d=D();r=L.sanitizeText(r,d),t&&(t=L.sanitizeText(t,d));const n=i.records.branches.get(i.records.currBranch),a=i.records.branches.get(r),l=n?i.records.commits.get(n):void 0,h=a?i.records.commits.get(a):void 0;if(l&&h&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!i.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(h===void 0||!h){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===h){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&i.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,token:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${o} ${s==null?void 0:s.join(" ")}`]},c}const g=a||"",f={id:t||`${i.records.seq}-${K()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,g],branch:i.records.currBranch,type:p.MERGE,customType:o,customId:!!t,tags:s??[]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),k.debug(i.records.branches),k.debug("in mergeBranch")},"merge"),Ge=$(function(e){let r=e.id,t=e.targetId,o=e.tags,s=e.parent;k.debug("Entering cherryPick:",r,t,o);const d=D();if(r=L.sanitizeText(r,d),t=L.sanitizeText(t,d),o=o==null?void 0:o.map(l=>L.sanitizeText(l,d)),s=L.sanitizeText(s,d),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=i.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(s&&!(Array.isArray(n.parents)&&n.parents.includes(s)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===p.MERGE&&!s)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!i.records.commits.has(t)){if(a===i.records.currBranch){const f=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const h=i.records.commits.get(l);if(h===void 0||!h){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const g={id:i.records.seq+"-"+K(),message:`cherry-picked ${n==null?void 0:n.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,n.id],branch:i.records.currBranch,type:p.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${n.id}${n.type===p.MERGE?`|parent:${s}`:""}`]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),k.debug(i.records.branches),k.debug("in cherryPick")}},"cherryPick"),ne=$(function(e){if(e=L.sanitizeText(e,D()),i.records.branches.has(e)){i.records.currBranch=e;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function X(e,r,t){const o=e.indexOf(r);o===-1?e.push(t):e.splice(o,1,t)}$(X,"upsert");function Z(e){const r=e.reduce((s,d)=>s.seq>d.seq?s:d,e[0]);let t="";e.forEach(function(s){s===r?t+=" *":t+=" |"});const o=[t,r.id,r.seq];for(const s in i.records.branches)i.records.branches.get(s)===r.id&&o.push(s);if(k.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const s=i.records.commits.get(r.parents[0]);X(e,r,s),r.parents[1]&&e.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const s=i.records.commits.get(r.parents[0]);X(e,r,s)}}e=ae(e,s=>s.id),Z(e)}$(Z,"prettyPrintCommitHistory");var He=$(function(){k.debug(i.records.commits);const e=se()[0];Z([e])},"prettyPrint"),Ae=$(function(){i.reset(),we()},"clear"),Se=$(function(){return[...i.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=$(function(){return i.records.branches},"getBranches"),Pe=$(function(){return i.records.commits},"getCommits"),se=$(function(){const e=[...i.records.commits.values()];return e.forEach(function(r){k.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),We=$(function(){return i.records.currBranch},"getCurrentBranch"),qe=$(function(){return i.records.direction},"getDirection"),Ne=$(function(){return i.records.head},"getHead"),oe={commitType:p,getConfig:D,setDirection:Le,setOptions:Me,getOptions:Re,commit:Ie,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Ae,getBranchesAsObjArray:Se,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:We,getDirection:qe,getHead:Ne,setAccTitle:me,getAccTitle:xe,getAccDescription:ye,setAccDescription:ue,setDiagramTitle:ge,getDiagramTitle:fe},Fe=$((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=$((e,r)=>{const o={Commit:$(s=>r.commit(Ye(s)),"Commit"),Branch:$(s=>r.branch(je(s)),"Branch"),Merge:$(s=>r.merge(Ue(s)),"Merge"),Checkout:$(s=>r.checkout(Ke(s)),"Checkout"),CherryPicking:$(s=>r.cherryPick(Ve(s)),"CherryPicking")}[e.$type];o?o(e):k.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=$(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?p[e.type]:p.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=$(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ue=$(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?p[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ke=$(e=>e.branch,"parseCheckout"),Ve=$(e=>{var t;return{id:e.id,targetId:"",tags:((t=e.tags)==null?void 0:t.length)===0?void 0:e.tags,parent:e.parent}},"parseCherryPicking"),Xe={parse:$(async e=>{const r=await Ce("gitGraph",e);k.debug(r),Fe(r,oe)},"parse")},G=10,H=40,M=4,I=2,A=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Q=12,ee=new Set(["redux-color","redux-dark-color"]),Qe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),S=$((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),B=new Map,T=new Map,j=30,N=new Map,U=[],O=0,y="LR",Je=$(()=>{B.clear(),T.clear(),N.clear(),O=0,U=[],y="LR"},"clear"),ce=$(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(o=>{const s=document.createElementNS("http://www.w3.org/2000/svg","tspan");s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),s.setAttribute("dy","1em"),s.setAttribute("x","0"),s.setAttribute("class","row"),s.textContent=o.trim(),r.appendChild(s)}),r},"drawText"),ie=$(e=>{let r,t,o;return y==="BT"?(t=$((s,d)=>s<=d,"comparisonFunc"),o=1/0):(t=$((s,d)=>s>=d,"comparisonFunc"),o=0),e.forEach(s=>{var n,a;const d=y==="TB"||y=="BT"?(n=T.get(s))==null?void 0:n.y:(a=T.get(s))==null?void 0:a.x;d!==void 0&&t(d,o)&&(r=s,o=d)}),r},"findClosestParent"),Ze=$(e=>{let r="",t=1/0;return e.forEach(o=>{const s=T.get(o).y;s<=t&&(r=o,t=s)}),r||void 0},"findClosestParentBT"),er=$((e,r,t)=>{let o=t,s=t;const d=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(o=tr(a),s=Math.max(o,s)):d.push(a),ar(a,o)}),o=s,d.forEach(n=>{nr(n,o,t)}),e.forEach(n=>{const a=r.get(n);if(a!=null&&a.parents.length){const l=Ze(a.parents);o=T.get(l).y-H,o<=s&&(s=o);const h=B.get(a.branch).pos,g=o-G;T.set(a.id,{x:h,y:g})}})},"setParallelBTPos"),rr=$(e=>{var o;const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=(o=T.get(r))==null?void 0:o.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=$(e=>rr(e)+H,"calculateCommitPosition"),ar=$((e,r)=>{const t=B.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const o=t.pos,s=r+G;return T.set(e.id,{x:o,y:s}),{x:o,y:s}},"setCommitPosition"),nr=$((e,r,t)=>{const o=B.get(e.branch);if(!o)throw new Error(`Branch not found for commit ${e.id}`);const s=r+t,d=o.pos;T.set(e.id,{x:d,y:s})},"setRootPosition"),sr=$((e,r,t,o,s,d)=>{const{theme:n}=z(),a=V.has(n??""),l=ee.has(n??""),h=Qe.has(n??"");if(d===p.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${S(s,A,l)} ${o}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${S(s,A,l)} ${o}-inner`);else if(d===p.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${S(s,A,l)}`),d===p.MERGE){const f=e.append("circle");f.attr("cx",t.x),f.attr("cy",t.y),f.attr("r",a?5:6),f.attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}if(d===p.REVERSE){const f=e.append("path"),c=a?4:5;f.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}}},"drawCommitBullet"),or=$((e,r,t,o,s)=>{var d;if(r.type!==p.CHERRY_PICK&&(r.customId&&r.type===p.MERGE||r.type!==p.MERGE)&&s.showCommitLabel){const n=e.append("g"),a=n.insert("rect").attr("class","commit-label-bkg"),l=n.append("text").attr("x",o).attr("y",t.y+25).attr("class","commit-label").text(r.id),h=(d=l.node())==null?void 0:d.getBBox();if(h&&(a.attr("x",t.posWithOffset-h.width/2-I).attr("y",t.y+13.5).attr("width",h.width+2*I).attr("height",h.height+2*I),y==="TB"||y==="BT"?(a.attr("x",t.x-(h.width+4*M+5)).attr("y",t.y-12),l.attr("x",t.x-(h.width+4*M)).attr("y",t.y+h.height-12)):l.attr("x",t.posWithOffset-h.width/2),s.rotateCommitLabel))if(y==="TB"||y==="BT")l.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),a.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const g=-7.5-(h.width+10)/25*9.5,f=10+h.width/25*8.5;n.attr("transform","translate("+g+", "+f+") rotate(-45, "+o+", "+t.y+")")}}},"drawCommitLabel"),cr=$((e,r,t,o)=>{var s;if(r.tags.length>0){let d=0,n=0,a=0;const l=[];for(const h of r.tags.reverse()){const g=e.insert("polygon"),f=e.append("circle"),c=e.append("text").attr("y",t.y-16-d).attr("class","tag-label").text(h),x=(s=c.node())==null?void 0:s.getBBox();if(!x)throw new Error("Tag bbox not found");n=Math.max(n,x.width),a=Math.max(a,x.height),c.attr("x",t.posWithOffset-x.width/2),l.push({tag:c,hole:f,rect:g,yOffset:d}),d+=20}for(const{tag:h,hole:g,rect:f,yOffset:c}of l){const x=a/2,u=t.y-19.2-c;if(f.attr("class","tag-label-bkg").attr("points",`
2
2
  ${o-n/2-M/2},${u+I}
3
3
  ${o-n/2-M/2},${u-I}
4
4
  ${t.posWithOffset-n/2-M},${u-x-I}
@@ -1 +1 @@
1
- import{c as fe,S as M,i as he,b as H,r as E,a as N,f as dt}from"./BlintzCanvas-DruVZcDU.js";function Xe(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var p=Array.isArray,ve=M?M.prototype:void 0,Oe=ve?ve.toString:void 0;function Ye(e){if(typeof e=="string")return e;if(p(e))return Xe(e,Ye)+"";if(fe(e))return Oe?Oe.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function J(e){return e}var ct="[object AsyncFunction]",lt="[object Function]",pt="[object GeneratorFunction]",gt="[object Proxy]";function Y(e){if(!he(e))return!1;var t=H(e);return t==lt||t==pt||t==ct||t==gt}var te=E["__core-js_shared__"],me=(function(){var e=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function _t(e){return!!me&&me in e}var yt=Function.prototype,bt=yt.toString;function x(e){if(e!=null){try{return bt.call(e)}catch{}try{return e+""}catch{}}return""}var vt=/[\\^$.*+?()[\]{}|]/g,Ot=/^\[object .+?Constructor\]$/,mt=Function.prototype,wt=Object.prototype,At=mt.toString,Et=wt.hasOwnProperty,Tt=RegExp("^"+At.call(Et).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pt(e){if(!he(e)||_t(e))return!1;var t=Y(e)?Tt:Ot;return t.test(x(e))}function Ct(e,t){return e==null?void 0:e[t]}function I(e,t){var r=Ct(e,t);return Pt(r)?r:void 0}var ae=I(E,"WeakMap");function $t(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function St(){}var xt=800,It=16,Lt=Date.now;function Rt(e){var t=0,r=0;return function(){var n=Lt(),i=It-(n-r);if(r=n,i>0){if(++t>=xt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function D(e){return function(){return e}}var we=(function(){try{var e=I(Object,"defineProperty");return e({},"",{}),e}catch{}})(),Mt=we?function(e,t){return we(e,"toString",{configurable:!0,enumerable:!1,value:D(t),writable:!0})}:J,Nt=Rt(Mt);function Dt(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function jt(e,t,r,n){for(var i=e.length,s=r+-1;++s<i;)if(t(e[s],s,e))return s;return-1}function Ft(e){return e!==e}function Gt(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}function zt(e,t,r){return t===t?Gt(e,t,r):jt(e,Ft,r)}function Ut(e,t){var r=e==null?0:e.length;return!!r&&zt(e,t,0)>-1}var Ht=9007199254740991,Bt=/^(?:0|[1-9]\d*)$/;function Ze(e,t){var r=typeof e;return t=t??Ht,!!t&&(r=="number"||r!="symbol"&&Bt.test(e))&&e>-1&&e%1==0&&e<t}function Je(e,t){return e===t||e!==e&&t!==t}var Ae=Math.max;function Kt(e,t,r){return t=Ae(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=Ae(n.length-t,0),a=Array(s);++i<s;)a[i]=n[t+i];i=-1;for(var o=Array(t+1);++i<t;)o[i]=n[i];return o[t]=r(a),$t(e,this,o)}}function qt(e,t){return Nt(Kt(e,t,J),e+"")}var Xt=9007199254740991;function de(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xt}function W(e){return e!=null&&de(e.length)&&!Y(e)}var Yt=Object.prototype;function We(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Yt;return e===r}function Zt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Jt="[object Arguments]";function Ee(e){return N(e)&&H(e)==Jt}var Qe=Object.prototype,Wt=Qe.hasOwnProperty,Qt=Qe.propertyIsEnumerable,Q=Ee((function(){return arguments})())?Ee:function(e){return N(e)&&Wt.call(e,"callee")&&!Qt.call(e,"callee")};function Vt(){return!1}var Ve=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Te=Ve&&typeof module=="object"&&module&&!module.nodeType&&module,kt=Te&&Te.exports===Ve,Pe=kt?E.Buffer:void 0,er=Pe?Pe.isBuffer:void 0,Z=er||Vt,tr="[object Arguments]",rr="[object Array]",nr="[object Boolean]",ir="[object Date]",sr="[object Error]",ar="[object Function]",or="[object Map]",ur="[object Number]",fr="[object Object]",hr="[object RegExp]",dr="[object Set]",cr="[object String]",lr="[object WeakMap]",pr="[object ArrayBuffer]",gr="[object DataView]",_r="[object Float32Array]",yr="[object Float64Array]",br="[object Int8Array]",vr="[object Int16Array]",Or="[object Int32Array]",mr="[object Uint8Array]",wr="[object Uint8ClampedArray]",Ar="[object Uint16Array]",Er="[object Uint32Array]",h={};h[_r]=h[yr]=h[br]=h[vr]=h[Or]=h[mr]=h[wr]=h[Ar]=h[Er]=!0;h[tr]=h[rr]=h[pr]=h[nr]=h[gr]=h[ir]=h[sr]=h[ar]=h[or]=h[ur]=h[fr]=h[hr]=h[dr]=h[cr]=h[lr]=!1;function Tr(e){return N(e)&&de(e.length)&&!!h[H(e)]}function Pr(e){return function(t){return e(t)}}var ke=typeof exports=="object"&&exports&&!exports.nodeType&&exports,F=ke&&typeof module=="object"&&module&&!module.nodeType&&module,Cr=F&&F.exports===ke,re=Cr&&dt.process,Ce=(function(){try{var e=F&&F.require&&F.require("util").types;return e||re&&re.binding&&re.binding("util")}catch{}})(),$e=Ce&&Ce.isTypedArray,ce=$e?Pr($e):Tr,$r=Object.prototype,Sr=$r.hasOwnProperty;function xr(e,t){var r=p(e),n=!r&&Q(e),i=!r&&!n&&Z(e),s=!r&&!n&&!i&&ce(e),a=r||n||i||s,o=a?Zt(e.length,String):[],u=o.length;for(var f in e)(t||Sr.call(e,f))&&!(a&&(f=="length"||i&&(f=="offset"||f=="parent")||s&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Ze(f,u)))&&o.push(f);return o}function Ir(e,t){return function(r){return e(t(r))}}var Lr=Ir(Object.keys,Object),Rr=Object.prototype,Mr=Rr.hasOwnProperty;function et(e){if(!We(e))return Lr(e);var t=[];for(var r in Object(e))Mr.call(e,r)&&r!="constructor"&&t.push(r);return t}function y(e){return W(e)?xr(e):et(e)}var Nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dr=/^\w*$/;function le(e,t){if(p(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||fe(e)?!0:Dr.test(e)||!Nr.test(e)||t!=null&&e in Object(t)}var G=I(Object,"create");function jr(){this.__data__=G?G(null):{},this.size=0}function Fr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Gr="__lodash_hash_undefined__",zr=Object.prototype,Ur=zr.hasOwnProperty;function Hr(e){var t=this.__data__;if(G){var r=t[e];return r===Gr?void 0:r}return Ur.call(t,e)?t[e]:void 0}var Br=Object.prototype,Kr=Br.hasOwnProperty;function qr(e){var t=this.__data__;return G?t[e]!==void 0:Kr.call(t,e)}var Xr="__lodash_hash_undefined__";function Yr(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=G&&t===void 0?Xr:t,this}function S(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}S.prototype.clear=jr;S.prototype.delete=Fr;S.prototype.get=Hr;S.prototype.has=qr;S.prototype.set=Yr;function Zr(){this.__data__=[],this.size=0}function V(e,t){for(var r=e.length;r--;)if(Je(e[r][0],t))return r;return-1}var Jr=Array.prototype,Wr=Jr.splice;function Qr(e){var t=this.__data__,r=V(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Wr.call(t,r,1),--this.size,!0}function Vr(e){var t=this.__data__,r=V(t,e);return r<0?void 0:t[r][1]}function kr(e){return V(this.__data__,e)>-1}function en(e,t){var r=this.__data__,n=V(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function m(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}m.prototype.clear=Zr;m.prototype.delete=Qr;m.prototype.get=Vr;m.prototype.has=kr;m.prototype.set=en;var z=I(E,"Map");function tn(){this.size=0,this.__data__={hash:new S,map:new(z||m),string:new S}}function rn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function k(e,t){var r=e.__data__;return rn(t)?r[typeof t=="string"?"string":"hash"]:r.map}function nn(e){var t=k(this,e).delete(e);return this.size-=t?1:0,t}function sn(e){return k(this,e).get(e)}function an(e){return k(this,e).has(e)}function on(e,t){var r=k(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function w(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}w.prototype.clear=tn;w.prototype.delete=nn;w.prototype.get=sn;w.prototype.has=an;w.prototype.set=on;var un="Expected a function";function pe(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(un);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var a=e.apply(this,n);return r.cache=s.set(i,a)||s,a};return r.cache=new(pe.Cache||w),r}pe.Cache=w;var fn=500;function hn(e){var t=pe(e,function(n){return r.size===fn&&r.clear(),n}),r=t.cache;return t}var dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cn=/\\(\\)?/g,ln=hn(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dn,function(r,n,i,s){t.push(i?s.replace(cn,"$1"):n||r)}),t});function pn(e){return e==null?"":Ye(e)}function tt(e,t){return p(e)?e:le(e,t)?[e]:ln(pn(e))}function ee(e){if(typeof e=="string"||fe(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function rt(e,t){t=tt(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[ee(t[r++])];return r&&r==n?e:void 0}function gn(e,t,r){var n=e==null?void 0:rt(e,t);return n===void 0?r:n}function nt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Se=M?M.isConcatSpreadable:void 0;function _n(e){return p(e)||Q(e)||!!(Se&&e&&e[Se])}function yn(e,t,r,n,i){var s=-1,a=e.length;for(r||(r=_n),i||(i=[]);++s<a;){var o=e[s];r(o)?nt(i,o):n||(i[i.length]=o)}return i}function bn(e,t,r,n){var i=-1,s=e==null?0:e.length;for(n&&s&&(r=e[++i]);++i<s;)r=t(r,e[i],i,e);return r}function vn(){this.__data__=new m,this.size=0}function On(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function mn(e){return this.__data__.get(e)}function wn(e){return this.__data__.has(e)}var An=200;function En(e,t){var r=this.__data__;if(r instanceof m){var n=r.__data__;if(!z||n.length<An-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new w(n)}return r.set(e,t),this.size=r.size,this}function O(e){var t=this.__data__=new m(e);this.size=t.size}O.prototype.clear=vn;O.prototype.delete=On;O.prototype.get=mn;O.prototype.has=wn;O.prototype.set=En;function it(e,t){for(var r=-1,n=e==null?0:e.length,i=0,s=[];++r<n;){var a=e[r];t(a,r,e)&&(s[i++]=a)}return s}function Tn(){return[]}var Pn=Object.prototype,Cn=Pn.propertyIsEnumerable,xe=Object.getOwnPropertySymbols,$n=xe?function(e){return e==null?[]:(e=Object(e),it(xe(e),function(t){return Cn.call(e,t)}))}:Tn;function Sn(e,t,r){var n=t(e);return p(e)?n:nt(n,r(e))}function Ie(e){return Sn(e,y,$n)}var oe=I(E,"DataView"),ue=I(E,"Promise"),R=I(E,"Set"),Le="[object Map]",xn="[object Object]",Re="[object Promise]",Me="[object Set]",Ne="[object WeakMap]",De="[object DataView]",In=x(oe),Ln=x(z),Rn=x(ue),Mn=x(R),Nn=x(ae),v=H;(oe&&v(new oe(new ArrayBuffer(1)))!=De||z&&v(new z)!=Le||ue&&v(ue.resolve())!=Re||R&&v(new R)!=Me||ae&&v(new ae)!=Ne)&&(v=function(e){var t=H(e),r=t==xn?e.constructor:void 0,n=r?x(r):"";if(n)switch(n){case In:return De;case Ln:return Le;case Rn:return Re;case Mn:return Me;case Nn:return Ne}return t});var je=E.Uint8Array,Dn="__lodash_hash_undefined__";function jn(e){return this.__data__.set(e,Dn),this}function Fn(e){return this.__data__.has(e)}function U(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new w;++t<r;)this.add(e[t])}U.prototype.add=U.prototype.push=jn;U.prototype.has=Fn;function Gn(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function st(e,t){return e.has(t)}var zn=1,Un=2;function at(e,t,r,n,i,s){var a=r&zn,o=e.length,u=t.length;if(o!=u&&!(a&&u>o))return!1;var f=s.get(e),l=s.get(t);if(f&&l)return f==t&&l==e;var d=-1,c=!0,b=r&Un?new U:void 0;for(s.set(e,t),s.set(t,e);++d<o;){var g=e[d],_=t[d];if(n)var A=a?n(_,g,d,t,e,s):n(g,_,d,e,t,s);if(A!==void 0){if(A)continue;c=!1;break}if(b){if(!Gn(t,function(T,P){if(!st(b,P)&&(g===T||i(g,T,r,n,s)))return b.push(P)})){c=!1;break}}else if(!(g===_||i(g,_,r,n,s))){c=!1;break}}return s.delete(e),s.delete(t),c}function Hn(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function ge(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Bn=1,Kn=2,qn="[object Boolean]",Xn="[object Date]",Yn="[object Error]",Zn="[object Map]",Jn="[object Number]",Wn="[object RegExp]",Qn="[object Set]",Vn="[object String]",kn="[object Symbol]",ei="[object ArrayBuffer]",ti="[object DataView]",Fe=M?M.prototype:void 0,ne=Fe?Fe.valueOf:void 0;function ri(e,t,r,n,i,s,a){switch(r){case ti:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ei:return!(e.byteLength!=t.byteLength||!s(new je(e),new je(t)));case qn:case Xn:case Jn:return Je(+e,+t);case Yn:return e.name==t.name&&e.message==t.message;case Wn:case Vn:return e==t+"";case Zn:var o=Hn;case Qn:var u=n&Bn;if(o||(o=ge),e.size!=t.size&&!u)return!1;var f=a.get(e);if(f)return f==t;n|=Kn,a.set(e,t);var l=at(o(e),o(t),n,i,s,a);return a.delete(e),l;case kn:if(ne)return ne.call(e)==ne.call(t)}return!1}var ni=1,ii=Object.prototype,si=ii.hasOwnProperty;function ai(e,t,r,n,i,s){var a=r&ni,o=Ie(e),u=o.length,f=Ie(t),l=f.length;if(u!=l&&!a)return!1;for(var d=u;d--;){var c=o[d];if(!(a?c in t:si.call(t,c)))return!1}var b=s.get(e),g=s.get(t);if(b&&g)return b==t&&g==e;var _=!0;s.set(e,t),s.set(t,e);for(var A=a;++d<u;){c=o[d];var T=e[c],P=t[c];if(n)var be=a?n(P,T,c,t,e,s):n(T,P,c,e,t,s);if(!(be===void 0?T===P||i(T,P,r,n,s):be)){_=!1;break}A||(A=c=="constructor")}if(_&&!A){var B=e.constructor,K=t.constructor;B!=K&&"constructor"in e&&"constructor"in t&&!(typeof B=="function"&&B instanceof B&&typeof K=="function"&&K instanceof K)&&(_=!1)}return s.delete(e),s.delete(t),_}var oi=1,Ge="[object Arguments]",ze="[object Array]",q="[object Object]",ui=Object.prototype,Ue=ui.hasOwnProperty;function fi(e,t,r,n,i,s){var a=p(e),o=p(t),u=a?ze:v(e),f=o?ze:v(t);u=u==Ge?q:u,f=f==Ge?q:f;var l=u==q,d=f==q,c=u==f;if(c&&Z(e)){if(!Z(t))return!1;a=!0,l=!1}if(c&&!l)return s||(s=new O),a||ce(e)?at(e,t,r,n,i,s):ri(e,t,u,r,n,i,s);if(!(r&oi)){var b=l&&Ue.call(e,"__wrapped__"),g=d&&Ue.call(t,"__wrapped__");if(b||g){var _=b?e.value():e,A=g?t.value():t;return s||(s=new O),i(_,A,r,n,s)}}return c?(s||(s=new O),ai(e,t,r,n,i,s)):!1}function _e(e,t,r,n,i){return e===t?!0:e==null||t==null||!N(e)&&!N(t)?e!==e&&t!==t:fi(e,t,r,n,_e,i)}var hi=1,di=2;function ci(e,t,r,n){var i=r.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var a=r[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<s;){a=r[i];var o=a[0],u=e[o],f=a[1];if(a[2]){if(u===void 0&&!(o in e))return!1}else{var l=new O,d;if(!(d===void 0?_e(f,u,hi|di,n,l):d))return!1}}return!0}function ot(e){return e===e&&!he(e)}function li(e){for(var t=y(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,ot(i)]}return t}function ut(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function pi(e){var t=li(e);return t.length==1&&t[0][2]?ut(t[0][0],t[0][1]):function(r){return r===e||ci(r,e,t)}}function gi(e,t){return e!=null&&t in Object(e)}function _i(e,t,r){t=tt(t,e);for(var n=-1,i=t.length,s=!1;++n<i;){var a=ee(t[n]);if(!(s=e!=null&&r(e,a)))break;e=e[a]}return s||++n!=i?s:(i=e==null?0:e.length,!!i&&de(i)&&Ze(a,i)&&(p(e)||Q(e)))}function yi(e,t){return e!=null&&_i(e,t,gi)}var bi=1,vi=2;function Oi(e,t){return le(e)&&ot(t)?ut(ee(e),t):function(r){var n=gn(r,e);return n===void 0&&n===t?yi(r,e):_e(t,n,bi|vi)}}function mi(e){return function(t){return t==null?void 0:t[e]}}function wi(e){return function(t){return rt(t,e)}}function Ai(e){return le(e)?mi(ee(e)):wi(e)}function ft(e){return typeof e=="function"?e:e==null?J:typeof e=="object"?p(e)?Oi(e[0],e[1]):pi(e):Ai(e)}function Ei(e){return function(t,r,n){for(var i=-1,s=Object(t),a=n(t),o=a.length;o--;){var u=a[++i];if(r(s[u],u,s)===!1)break}return t}}var Ti=Ei();function Pi(e,t){return e&&Ti(e,t,y)}function Ci(e,t){return function(r,n){if(r==null)return r;if(!W(r))return e(r,n);for(var i=r.length,s=-1,a=Object(r);++s<i&&n(a[s],s,a)!==!1;);return r}}var ye=Ci(Pi);function $i(e){return N(e)&&W(e)}function Si(e){return typeof e=="function"?e:J}function C(e,t){var r=p(e)?Dt:ye;return r(e,Si(t))}function xi(e,t){var r=[];return ye(e,function(n,i,s){t(n,i,s)&&r.push(n)}),r}function X(e,t){var r=p(e)?it:xi;return r(e,ft(t))}function Ii(e,t){return Xe(t,function(r){return e[r]})}function ie(e){return e==null?[]:Ii(e,y(e))}var Li="[object Map]",Ri="[object Set]",Mi=Object.prototype,Ni=Mi.hasOwnProperty;function He(e){if(e==null)return!0;if(W(e)&&(p(e)||typeof e=="string"||typeof e.splice=="function"||Z(e)||ce(e)||Q(e)))return!e.length;var t=v(e);if(t==Li||t==Ri)return!e.size;if(We(e))return!et(e).length;for(var r in e)if(Ni.call(e,r))return!1;return!0}function L(e){return e===void 0}function Di(e,t,r,n,i){return i(e,function(s,a,o){r=n?(n=!1,s):t(r,s,a,o)}),r}function ji(e,t,r){var n=p(e)?bn:Di,i=arguments.length<3;return n(e,ft(t),r,i,ye)}var Fi=1/0,Gi=R&&1/ge(new R([,-0]))[1]==Fi?function(e){return new R(e)}:St,zi=200;function Ui(e,t,r){var n=-1,i=Ut,s=e.length,a=!0,o=[],u=o;if(s>=zi){var f=Gi(e);if(f)return ge(f);a=!1,i=st,u=new U}else u=o;e:for(;++n<s;){var l=e[n],d=l;if(l=l!==0?l:0,a&&d===d){for(var c=u.length;c--;)if(u[c]===d)continue e;o.push(l)}else i(u,d,r)||(u!==o&&u.push(d),o.push(l))}return o}var Hi=qt(function(e){return Ui(yn(e,1,$i,!0))}),Bi="\0",$="\0",Be="";class ht{constructor(t={}){this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=D(void 0),this._defaultEdgeLabelFn=D(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[$]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return Y(t)||(t=D(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return y(this._nodes)}sources(){var t=this;return X(this.nodes(),function(r){return He(t._in[r])})}sinks(){var t=this;return X(this.nodes(),function(r){return He(t._out[r])})}setNodes(t,r){var n=arguments,i=this;return C(t,function(s){n.length>1?i.setNode(s,r):i.setNode(s)}),this}setNode(t,r){return Object.prototype.hasOwnProperty.call(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=r),this):(this._nodes[t]=arguments.length>1?r:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=$,this._children[t]={},this._children[$][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var r=n=>this.removeEdge(this._edgeObjs[n]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],C(this.children(t),n=>{this.setParent(n)}),delete this._children[t]),C(y(this._in[t]),r),delete this._in[t],delete this._preds[t],C(y(this._out[t]),r),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(L(r))r=$;else{r+="";for(var n=r;!L(n);n=this.parent(n))if(n===t)throw new Error("Setting "+r+" as parent of "+t+" would create a cycle");this.setNode(r)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=r,this._children[r][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var r=this._parent[t];if(r!==$)return r}}children(t){if(L(t)&&(t=$),this._isCompound){var r=this._children[t];if(r)return y(r)}else{if(t===$)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var r=this._preds[t];if(r)return y(r)}successors(t){var r=this._sucs[t];if(r)return y(r)}neighbors(t){var r=this.predecessors(t);if(r)return Hi(r,this.successors(t))}isLeaf(t){var r;return this.isDirected()?r=this.successors(t):r=this.neighbors(t),r.length===0}filterNodes(t){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var n=this;C(this._nodes,function(a,o){t(o)&&r.setNode(o,a)}),C(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,n.edge(a))});var i={};function s(a){var o=n.parent(a);return o===void 0||r.hasNode(o)?(i[a]=o,o):o in i?i[o]:s(o)}return this._isCompound&&C(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(t){return Y(t)||(t=D(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return ie(this._edgeObjs)}setPath(t,r){var n=this,i=arguments;return ji(t,function(s,a){return i.length>1?n.setEdge(s,a,r):n.setEdge(s,a),a}),this}setEdge(){var t,r,n,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(t=a.v,r=a.w,n=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(t=a,r=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),t=""+t,r=""+r,L(n)||(n=""+n);var o=j(this._isDirected,t,r,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return s&&(this._edgeLabels[o]=i),this;if(!L(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(r),this._edgeLabels[o]=s?i:this._defaultEdgeLabelFn(t,r,n);var u=Ki(this._isDirected,t,r,n);return t=u.v,r=u.w,Object.freeze(u),this._edgeObjs[o]=u,Ke(this._preds[r],t),Ke(this._sucs[t],r),this._in[r][o]=u,this._out[t][o]=u,this._edgeCount++,this}edge(t,r,n){var i=arguments.length===1?se(this._isDirected,arguments[0]):j(this._isDirected,t,r,n);return this._edgeLabels[i]}hasEdge(t,r,n){var i=arguments.length===1?se(this._isDirected,arguments[0]):j(this._isDirected,t,r,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(t,r,n){var i=arguments.length===1?se(this._isDirected,arguments[0]):j(this._isDirected,t,r,n),s=this._edgeObjs[i];return s&&(t=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],qe(this._preds[r],t),qe(this._sucs[t],r),delete this._in[r][i],delete this._out[t][i],this._edgeCount--),this}inEdges(t,r){var n=this._in[t];if(n){var i=ie(n);return r?X(i,function(s){return s.v===r}):i}}outEdges(t,r){var n=this._out[t];if(n){var i=ie(n);return r?X(i,function(s){return s.w===r}):i}}nodeEdges(t,r){var n=this.inEdges(t,r);if(n)return n.concat(this.outEdges(t,r))}}ht.prototype._nodeCount=0;ht.prototype._edgeCount=0;function Ke(e,t){e[t]?e[t]++:e[t]=1}function qe(e,t){--e[t]||delete e[t]}function j(e,t,r,n){var i=""+t,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+Be+s+Be+(L(n)?Bi:n)}function Ki(e,t,r,n){var i=""+t,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var o={v:i,w:s};return n&&(o.name=n),o}function se(e,t){return j(e,t.v,t.w,t.name)}export{ye as A,Xe as B,Si as C,Pi as D,_i as E,J as F,ht as G,tt as H,ee as I,rt as J,yi as K,pn as L,C as M,D as N,L as O,X as P,ie as Q,ji as R,O as S,je as U,Ze as a,qt as b,We as c,we as d,Je as e,xr as f,yn as g,Ir as h,W as i,v as j,Pr as k,Z as l,Dt as m,Ce as n,Kt as o,p,Ie as q,ce as r,Nt as s,$i as t,Q as u,Y as v,Ti as w,ft as x,y,jt as z};
1
+ import{c as fe,S as M,i as he,b as H,r as E,a as N,f as dt}from"./BlintzCanvas-DCXIQZM_.js";function Xe(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var p=Array.isArray,ve=M?M.prototype:void 0,Oe=ve?ve.toString:void 0;function Ye(e){if(typeof e=="string")return e;if(p(e))return Xe(e,Ye)+"";if(fe(e))return Oe?Oe.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function J(e){return e}var ct="[object AsyncFunction]",lt="[object Function]",pt="[object GeneratorFunction]",gt="[object Proxy]";function Y(e){if(!he(e))return!1;var t=H(e);return t==lt||t==pt||t==ct||t==gt}var te=E["__core-js_shared__"],me=(function(){var e=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function _t(e){return!!me&&me in e}var yt=Function.prototype,bt=yt.toString;function x(e){if(e!=null){try{return bt.call(e)}catch{}try{return e+""}catch{}}return""}var vt=/[\\^$.*+?()[\]{}|]/g,Ot=/^\[object .+?Constructor\]$/,mt=Function.prototype,wt=Object.prototype,At=mt.toString,Et=wt.hasOwnProperty,Tt=RegExp("^"+At.call(Et).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pt(e){if(!he(e)||_t(e))return!1;var t=Y(e)?Tt:Ot;return t.test(x(e))}function Ct(e,t){return e==null?void 0:e[t]}function I(e,t){var r=Ct(e,t);return Pt(r)?r:void 0}var ae=I(E,"WeakMap");function $t(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function St(){}var xt=800,It=16,Lt=Date.now;function Rt(e){var t=0,r=0;return function(){var n=Lt(),i=It-(n-r);if(r=n,i>0){if(++t>=xt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function D(e){return function(){return e}}var we=(function(){try{var e=I(Object,"defineProperty");return e({},"",{}),e}catch{}})(),Mt=we?function(e,t){return we(e,"toString",{configurable:!0,enumerable:!1,value:D(t),writable:!0})}:J,Nt=Rt(Mt);function Dt(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function jt(e,t,r,n){for(var i=e.length,s=r+-1;++s<i;)if(t(e[s],s,e))return s;return-1}function Ft(e){return e!==e}function Gt(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}function zt(e,t,r){return t===t?Gt(e,t,r):jt(e,Ft,r)}function Ut(e,t){var r=e==null?0:e.length;return!!r&&zt(e,t,0)>-1}var Ht=9007199254740991,Bt=/^(?:0|[1-9]\d*)$/;function Ze(e,t){var r=typeof e;return t=t??Ht,!!t&&(r=="number"||r!="symbol"&&Bt.test(e))&&e>-1&&e%1==0&&e<t}function Je(e,t){return e===t||e!==e&&t!==t}var Ae=Math.max;function Kt(e,t,r){return t=Ae(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=Ae(n.length-t,0),a=Array(s);++i<s;)a[i]=n[t+i];i=-1;for(var o=Array(t+1);++i<t;)o[i]=n[i];return o[t]=r(a),$t(e,this,o)}}function qt(e,t){return Nt(Kt(e,t,J),e+"")}var Xt=9007199254740991;function de(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xt}function W(e){return e!=null&&de(e.length)&&!Y(e)}var Yt=Object.prototype;function We(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Yt;return e===r}function Zt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Jt="[object Arguments]";function Ee(e){return N(e)&&H(e)==Jt}var Qe=Object.prototype,Wt=Qe.hasOwnProperty,Qt=Qe.propertyIsEnumerable,Q=Ee((function(){return arguments})())?Ee:function(e){return N(e)&&Wt.call(e,"callee")&&!Qt.call(e,"callee")};function Vt(){return!1}var Ve=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Te=Ve&&typeof module=="object"&&module&&!module.nodeType&&module,kt=Te&&Te.exports===Ve,Pe=kt?E.Buffer:void 0,er=Pe?Pe.isBuffer:void 0,Z=er||Vt,tr="[object Arguments]",rr="[object Array]",nr="[object Boolean]",ir="[object Date]",sr="[object Error]",ar="[object Function]",or="[object Map]",ur="[object Number]",fr="[object Object]",hr="[object RegExp]",dr="[object Set]",cr="[object String]",lr="[object WeakMap]",pr="[object ArrayBuffer]",gr="[object DataView]",_r="[object Float32Array]",yr="[object Float64Array]",br="[object Int8Array]",vr="[object Int16Array]",Or="[object Int32Array]",mr="[object Uint8Array]",wr="[object Uint8ClampedArray]",Ar="[object Uint16Array]",Er="[object Uint32Array]",h={};h[_r]=h[yr]=h[br]=h[vr]=h[Or]=h[mr]=h[wr]=h[Ar]=h[Er]=!0;h[tr]=h[rr]=h[pr]=h[nr]=h[gr]=h[ir]=h[sr]=h[ar]=h[or]=h[ur]=h[fr]=h[hr]=h[dr]=h[cr]=h[lr]=!1;function Tr(e){return N(e)&&de(e.length)&&!!h[H(e)]}function Pr(e){return function(t){return e(t)}}var ke=typeof exports=="object"&&exports&&!exports.nodeType&&exports,F=ke&&typeof module=="object"&&module&&!module.nodeType&&module,Cr=F&&F.exports===ke,re=Cr&&dt.process,Ce=(function(){try{var e=F&&F.require&&F.require("util").types;return e||re&&re.binding&&re.binding("util")}catch{}})(),$e=Ce&&Ce.isTypedArray,ce=$e?Pr($e):Tr,$r=Object.prototype,Sr=$r.hasOwnProperty;function xr(e,t){var r=p(e),n=!r&&Q(e),i=!r&&!n&&Z(e),s=!r&&!n&&!i&&ce(e),a=r||n||i||s,o=a?Zt(e.length,String):[],u=o.length;for(var f in e)(t||Sr.call(e,f))&&!(a&&(f=="length"||i&&(f=="offset"||f=="parent")||s&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Ze(f,u)))&&o.push(f);return o}function Ir(e,t){return function(r){return e(t(r))}}var Lr=Ir(Object.keys,Object),Rr=Object.prototype,Mr=Rr.hasOwnProperty;function et(e){if(!We(e))return Lr(e);var t=[];for(var r in Object(e))Mr.call(e,r)&&r!="constructor"&&t.push(r);return t}function y(e){return W(e)?xr(e):et(e)}var Nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dr=/^\w*$/;function le(e,t){if(p(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||fe(e)?!0:Dr.test(e)||!Nr.test(e)||t!=null&&e in Object(t)}var G=I(Object,"create");function jr(){this.__data__=G?G(null):{},this.size=0}function Fr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Gr="__lodash_hash_undefined__",zr=Object.prototype,Ur=zr.hasOwnProperty;function Hr(e){var t=this.__data__;if(G){var r=t[e];return r===Gr?void 0:r}return Ur.call(t,e)?t[e]:void 0}var Br=Object.prototype,Kr=Br.hasOwnProperty;function qr(e){var t=this.__data__;return G?t[e]!==void 0:Kr.call(t,e)}var Xr="__lodash_hash_undefined__";function Yr(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=G&&t===void 0?Xr:t,this}function S(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}S.prototype.clear=jr;S.prototype.delete=Fr;S.prototype.get=Hr;S.prototype.has=qr;S.prototype.set=Yr;function Zr(){this.__data__=[],this.size=0}function V(e,t){for(var r=e.length;r--;)if(Je(e[r][0],t))return r;return-1}var Jr=Array.prototype,Wr=Jr.splice;function Qr(e){var t=this.__data__,r=V(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Wr.call(t,r,1),--this.size,!0}function Vr(e){var t=this.__data__,r=V(t,e);return r<0?void 0:t[r][1]}function kr(e){return V(this.__data__,e)>-1}function en(e,t){var r=this.__data__,n=V(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function m(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}m.prototype.clear=Zr;m.prototype.delete=Qr;m.prototype.get=Vr;m.prototype.has=kr;m.prototype.set=en;var z=I(E,"Map");function tn(){this.size=0,this.__data__={hash:new S,map:new(z||m),string:new S}}function rn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function k(e,t){var r=e.__data__;return rn(t)?r[typeof t=="string"?"string":"hash"]:r.map}function nn(e){var t=k(this,e).delete(e);return this.size-=t?1:0,t}function sn(e){return k(this,e).get(e)}function an(e){return k(this,e).has(e)}function on(e,t){var r=k(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function w(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}w.prototype.clear=tn;w.prototype.delete=nn;w.prototype.get=sn;w.prototype.has=an;w.prototype.set=on;var un="Expected a function";function pe(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(un);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var a=e.apply(this,n);return r.cache=s.set(i,a)||s,a};return r.cache=new(pe.Cache||w),r}pe.Cache=w;var fn=500;function hn(e){var t=pe(e,function(n){return r.size===fn&&r.clear(),n}),r=t.cache;return t}var dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cn=/\\(\\)?/g,ln=hn(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dn,function(r,n,i,s){t.push(i?s.replace(cn,"$1"):n||r)}),t});function pn(e){return e==null?"":Ye(e)}function tt(e,t){return p(e)?e:le(e,t)?[e]:ln(pn(e))}function ee(e){if(typeof e=="string"||fe(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function rt(e,t){t=tt(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[ee(t[r++])];return r&&r==n?e:void 0}function gn(e,t,r){var n=e==null?void 0:rt(e,t);return n===void 0?r:n}function nt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Se=M?M.isConcatSpreadable:void 0;function _n(e){return p(e)||Q(e)||!!(Se&&e&&e[Se])}function yn(e,t,r,n,i){var s=-1,a=e.length;for(r||(r=_n),i||(i=[]);++s<a;){var o=e[s];r(o)?nt(i,o):n||(i[i.length]=o)}return i}function bn(e,t,r,n){var i=-1,s=e==null?0:e.length;for(n&&s&&(r=e[++i]);++i<s;)r=t(r,e[i],i,e);return r}function vn(){this.__data__=new m,this.size=0}function On(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function mn(e){return this.__data__.get(e)}function wn(e){return this.__data__.has(e)}var An=200;function En(e,t){var r=this.__data__;if(r instanceof m){var n=r.__data__;if(!z||n.length<An-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new w(n)}return r.set(e,t),this.size=r.size,this}function O(e){var t=this.__data__=new m(e);this.size=t.size}O.prototype.clear=vn;O.prototype.delete=On;O.prototype.get=mn;O.prototype.has=wn;O.prototype.set=En;function it(e,t){for(var r=-1,n=e==null?0:e.length,i=0,s=[];++r<n;){var a=e[r];t(a,r,e)&&(s[i++]=a)}return s}function Tn(){return[]}var Pn=Object.prototype,Cn=Pn.propertyIsEnumerable,xe=Object.getOwnPropertySymbols,$n=xe?function(e){return e==null?[]:(e=Object(e),it(xe(e),function(t){return Cn.call(e,t)}))}:Tn;function Sn(e,t,r){var n=t(e);return p(e)?n:nt(n,r(e))}function Ie(e){return Sn(e,y,$n)}var oe=I(E,"DataView"),ue=I(E,"Promise"),R=I(E,"Set"),Le="[object Map]",xn="[object Object]",Re="[object Promise]",Me="[object Set]",Ne="[object WeakMap]",De="[object DataView]",In=x(oe),Ln=x(z),Rn=x(ue),Mn=x(R),Nn=x(ae),v=H;(oe&&v(new oe(new ArrayBuffer(1)))!=De||z&&v(new z)!=Le||ue&&v(ue.resolve())!=Re||R&&v(new R)!=Me||ae&&v(new ae)!=Ne)&&(v=function(e){var t=H(e),r=t==xn?e.constructor:void 0,n=r?x(r):"";if(n)switch(n){case In:return De;case Ln:return Le;case Rn:return Re;case Mn:return Me;case Nn:return Ne}return t});var je=E.Uint8Array,Dn="__lodash_hash_undefined__";function jn(e){return this.__data__.set(e,Dn),this}function Fn(e){return this.__data__.has(e)}function U(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new w;++t<r;)this.add(e[t])}U.prototype.add=U.prototype.push=jn;U.prototype.has=Fn;function Gn(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function st(e,t){return e.has(t)}var zn=1,Un=2;function at(e,t,r,n,i,s){var a=r&zn,o=e.length,u=t.length;if(o!=u&&!(a&&u>o))return!1;var f=s.get(e),l=s.get(t);if(f&&l)return f==t&&l==e;var d=-1,c=!0,b=r&Un?new U:void 0;for(s.set(e,t),s.set(t,e);++d<o;){var g=e[d],_=t[d];if(n)var A=a?n(_,g,d,t,e,s):n(g,_,d,e,t,s);if(A!==void 0){if(A)continue;c=!1;break}if(b){if(!Gn(t,function(T,P){if(!st(b,P)&&(g===T||i(g,T,r,n,s)))return b.push(P)})){c=!1;break}}else if(!(g===_||i(g,_,r,n,s))){c=!1;break}}return s.delete(e),s.delete(t),c}function Hn(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function ge(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Bn=1,Kn=2,qn="[object Boolean]",Xn="[object Date]",Yn="[object Error]",Zn="[object Map]",Jn="[object Number]",Wn="[object RegExp]",Qn="[object Set]",Vn="[object String]",kn="[object Symbol]",ei="[object ArrayBuffer]",ti="[object DataView]",Fe=M?M.prototype:void 0,ne=Fe?Fe.valueOf:void 0;function ri(e,t,r,n,i,s,a){switch(r){case ti:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ei:return!(e.byteLength!=t.byteLength||!s(new je(e),new je(t)));case qn:case Xn:case Jn:return Je(+e,+t);case Yn:return e.name==t.name&&e.message==t.message;case Wn:case Vn:return e==t+"";case Zn:var o=Hn;case Qn:var u=n&Bn;if(o||(o=ge),e.size!=t.size&&!u)return!1;var f=a.get(e);if(f)return f==t;n|=Kn,a.set(e,t);var l=at(o(e),o(t),n,i,s,a);return a.delete(e),l;case kn:if(ne)return ne.call(e)==ne.call(t)}return!1}var ni=1,ii=Object.prototype,si=ii.hasOwnProperty;function ai(e,t,r,n,i,s){var a=r&ni,o=Ie(e),u=o.length,f=Ie(t),l=f.length;if(u!=l&&!a)return!1;for(var d=u;d--;){var c=o[d];if(!(a?c in t:si.call(t,c)))return!1}var b=s.get(e),g=s.get(t);if(b&&g)return b==t&&g==e;var _=!0;s.set(e,t),s.set(t,e);for(var A=a;++d<u;){c=o[d];var T=e[c],P=t[c];if(n)var be=a?n(P,T,c,t,e,s):n(T,P,c,e,t,s);if(!(be===void 0?T===P||i(T,P,r,n,s):be)){_=!1;break}A||(A=c=="constructor")}if(_&&!A){var B=e.constructor,K=t.constructor;B!=K&&"constructor"in e&&"constructor"in t&&!(typeof B=="function"&&B instanceof B&&typeof K=="function"&&K instanceof K)&&(_=!1)}return s.delete(e),s.delete(t),_}var oi=1,Ge="[object Arguments]",ze="[object Array]",q="[object Object]",ui=Object.prototype,Ue=ui.hasOwnProperty;function fi(e,t,r,n,i,s){var a=p(e),o=p(t),u=a?ze:v(e),f=o?ze:v(t);u=u==Ge?q:u,f=f==Ge?q:f;var l=u==q,d=f==q,c=u==f;if(c&&Z(e)){if(!Z(t))return!1;a=!0,l=!1}if(c&&!l)return s||(s=new O),a||ce(e)?at(e,t,r,n,i,s):ri(e,t,u,r,n,i,s);if(!(r&oi)){var b=l&&Ue.call(e,"__wrapped__"),g=d&&Ue.call(t,"__wrapped__");if(b||g){var _=b?e.value():e,A=g?t.value():t;return s||(s=new O),i(_,A,r,n,s)}}return c?(s||(s=new O),ai(e,t,r,n,i,s)):!1}function _e(e,t,r,n,i){return e===t?!0:e==null||t==null||!N(e)&&!N(t)?e!==e&&t!==t:fi(e,t,r,n,_e,i)}var hi=1,di=2;function ci(e,t,r,n){var i=r.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var a=r[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<s;){a=r[i];var o=a[0],u=e[o],f=a[1];if(a[2]){if(u===void 0&&!(o in e))return!1}else{var l=new O,d;if(!(d===void 0?_e(f,u,hi|di,n,l):d))return!1}}return!0}function ot(e){return e===e&&!he(e)}function li(e){for(var t=y(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,ot(i)]}return t}function ut(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function pi(e){var t=li(e);return t.length==1&&t[0][2]?ut(t[0][0],t[0][1]):function(r){return r===e||ci(r,e,t)}}function gi(e,t){return e!=null&&t in Object(e)}function _i(e,t,r){t=tt(t,e);for(var n=-1,i=t.length,s=!1;++n<i;){var a=ee(t[n]);if(!(s=e!=null&&r(e,a)))break;e=e[a]}return s||++n!=i?s:(i=e==null?0:e.length,!!i&&de(i)&&Ze(a,i)&&(p(e)||Q(e)))}function yi(e,t){return e!=null&&_i(e,t,gi)}var bi=1,vi=2;function Oi(e,t){return le(e)&&ot(t)?ut(ee(e),t):function(r){var n=gn(r,e);return n===void 0&&n===t?yi(r,e):_e(t,n,bi|vi)}}function mi(e){return function(t){return t==null?void 0:t[e]}}function wi(e){return function(t){return rt(t,e)}}function Ai(e){return le(e)?mi(ee(e)):wi(e)}function ft(e){return typeof e=="function"?e:e==null?J:typeof e=="object"?p(e)?Oi(e[0],e[1]):pi(e):Ai(e)}function Ei(e){return function(t,r,n){for(var i=-1,s=Object(t),a=n(t),o=a.length;o--;){var u=a[++i];if(r(s[u],u,s)===!1)break}return t}}var Ti=Ei();function Pi(e,t){return e&&Ti(e,t,y)}function Ci(e,t){return function(r,n){if(r==null)return r;if(!W(r))return e(r,n);for(var i=r.length,s=-1,a=Object(r);++s<i&&n(a[s],s,a)!==!1;);return r}}var ye=Ci(Pi);function $i(e){return N(e)&&W(e)}function Si(e){return typeof e=="function"?e:J}function C(e,t){var r=p(e)?Dt:ye;return r(e,Si(t))}function xi(e,t){var r=[];return ye(e,function(n,i,s){t(n,i,s)&&r.push(n)}),r}function X(e,t){var r=p(e)?it:xi;return r(e,ft(t))}function Ii(e,t){return Xe(t,function(r){return e[r]})}function ie(e){return e==null?[]:Ii(e,y(e))}var Li="[object Map]",Ri="[object Set]",Mi=Object.prototype,Ni=Mi.hasOwnProperty;function He(e){if(e==null)return!0;if(W(e)&&(p(e)||typeof e=="string"||typeof e.splice=="function"||Z(e)||ce(e)||Q(e)))return!e.length;var t=v(e);if(t==Li||t==Ri)return!e.size;if(We(e))return!et(e).length;for(var r in e)if(Ni.call(e,r))return!1;return!0}function L(e){return e===void 0}function Di(e,t,r,n,i){return i(e,function(s,a,o){r=n?(n=!1,s):t(r,s,a,o)}),r}function ji(e,t,r){var n=p(e)?bn:Di,i=arguments.length<3;return n(e,ft(t),r,i,ye)}var Fi=1/0,Gi=R&&1/ge(new R([,-0]))[1]==Fi?function(e){return new R(e)}:St,zi=200;function Ui(e,t,r){var n=-1,i=Ut,s=e.length,a=!0,o=[],u=o;if(s>=zi){var f=Gi(e);if(f)return ge(f);a=!1,i=st,u=new U}else u=o;e:for(;++n<s;){var l=e[n],d=l;if(l=l!==0?l:0,a&&d===d){for(var c=u.length;c--;)if(u[c]===d)continue e;o.push(l)}else i(u,d,r)||(u!==o&&u.push(d),o.push(l))}return o}var Hi=qt(function(e){return Ui(yn(e,1,$i,!0))}),Bi="\0",$="\0",Be="";class ht{constructor(t={}){this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=D(void 0),this._defaultEdgeLabelFn=D(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[$]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return Y(t)||(t=D(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return y(this._nodes)}sources(){var t=this;return X(this.nodes(),function(r){return He(t._in[r])})}sinks(){var t=this;return X(this.nodes(),function(r){return He(t._out[r])})}setNodes(t,r){var n=arguments,i=this;return C(t,function(s){n.length>1?i.setNode(s,r):i.setNode(s)}),this}setNode(t,r){return Object.prototype.hasOwnProperty.call(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=r),this):(this._nodes[t]=arguments.length>1?r:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=$,this._children[t]={},this._children[$][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var r=n=>this.removeEdge(this._edgeObjs[n]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],C(this.children(t),n=>{this.setParent(n)}),delete this._children[t]),C(y(this._in[t]),r),delete this._in[t],delete this._preds[t],C(y(this._out[t]),r),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(L(r))r=$;else{r+="";for(var n=r;!L(n);n=this.parent(n))if(n===t)throw new Error("Setting "+r+" as parent of "+t+" would create a cycle");this.setNode(r)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=r,this._children[r][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var r=this._parent[t];if(r!==$)return r}}children(t){if(L(t)&&(t=$),this._isCompound){var r=this._children[t];if(r)return y(r)}else{if(t===$)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var r=this._preds[t];if(r)return y(r)}successors(t){var r=this._sucs[t];if(r)return y(r)}neighbors(t){var r=this.predecessors(t);if(r)return Hi(r,this.successors(t))}isLeaf(t){var r;return this.isDirected()?r=this.successors(t):r=this.neighbors(t),r.length===0}filterNodes(t){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var n=this;C(this._nodes,function(a,o){t(o)&&r.setNode(o,a)}),C(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,n.edge(a))});var i={};function s(a){var o=n.parent(a);return o===void 0||r.hasNode(o)?(i[a]=o,o):o in i?i[o]:s(o)}return this._isCompound&&C(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(t){return Y(t)||(t=D(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return ie(this._edgeObjs)}setPath(t,r){var n=this,i=arguments;return ji(t,function(s,a){return i.length>1?n.setEdge(s,a,r):n.setEdge(s,a),a}),this}setEdge(){var t,r,n,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(t=a.v,r=a.w,n=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(t=a,r=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),t=""+t,r=""+r,L(n)||(n=""+n);var o=j(this._isDirected,t,r,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return s&&(this._edgeLabels[o]=i),this;if(!L(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(r),this._edgeLabels[o]=s?i:this._defaultEdgeLabelFn(t,r,n);var u=Ki(this._isDirected,t,r,n);return t=u.v,r=u.w,Object.freeze(u),this._edgeObjs[o]=u,Ke(this._preds[r],t),Ke(this._sucs[t],r),this._in[r][o]=u,this._out[t][o]=u,this._edgeCount++,this}edge(t,r,n){var i=arguments.length===1?se(this._isDirected,arguments[0]):j(this._isDirected,t,r,n);return this._edgeLabels[i]}hasEdge(t,r,n){var i=arguments.length===1?se(this._isDirected,arguments[0]):j(this._isDirected,t,r,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(t,r,n){var i=arguments.length===1?se(this._isDirected,arguments[0]):j(this._isDirected,t,r,n),s=this._edgeObjs[i];return s&&(t=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],qe(this._preds[r],t),qe(this._sucs[t],r),delete this._in[r][i],delete this._out[t][i],this._edgeCount--),this}inEdges(t,r){var n=this._in[t];if(n){var i=ie(n);return r?X(i,function(s){return s.v===r}):i}}outEdges(t,r){var n=this._out[t];if(n){var i=ie(n);return r?X(i,function(s){return s.w===r}):i}}nodeEdges(t,r){var n=this.inEdges(t,r);if(n)return n.concat(this.outEdges(t,r))}}ht.prototype._nodeCount=0;ht.prototype._edgeCount=0;function Ke(e,t){e[t]?e[t]++:e[t]=1}function qe(e,t){--e[t]||delete e[t]}function j(e,t,r,n){var i=""+t,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+Be+s+Be+(L(n)?Bi:n)}function Ki(e,t,r,n){var i=""+t,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var o={v:i,w:s};return n&&(o.name=n),o}function se(e,t){return j(e,t.v,t.w,t.name)}export{ye as A,Xe as B,Si as C,Pi as D,_i as E,J as F,ht as G,tt as H,ee as I,rt as J,yi as K,pn as L,C as M,D as N,L as O,X as P,ie as Q,ji as R,O as S,je as U,Ze as a,qt as b,We as c,we as d,Je as e,xr as f,yn as g,Ir as h,W as i,v as j,Pr as k,Z as l,Dt as m,Ce as n,Kt as o,p,Ie as q,ce as r,Nt as s,$i as t,Q as u,Y as v,Ti as w,ft as x,y,jt as z};
@@ -1,4 +1,4 @@
1
- import{O as e}from"./index-OQuvRZTD.js";/**
1
+ import{O as e}from"./index-MHIn2TC9.js";/**
2
2
  * @license lucide-react v1.48.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{r,S as d,E as p,j as E,c as f}from"./index-OQuvRZTD.js";var j=({code:i,language:e,maxHeight:o,raw:a,className:u,startLine:m,lineNumbers:n,...h})=>{let{shikiTheme:l}=r.useContext(d),t=p(),[c,s]=r.useState(a);return r.useEffect(()=>{if(!t){s(a);return}let g=t.highlight({code:i,language:e,themes:l},x=>{s(x)});g&&s(g)},[i,e,l,t,a]),E.jsx(f,{className:u,language:e,lineNumbers:n,maxHeight:o,result:c,startLine:m,...h})};export{j as HighlightedCodeBlockBody};
1
+ import{r,S as d,E as p,j as E,c as f}from"./index-MHIn2TC9.js";var j=({code:i,language:e,maxHeight:o,raw:a,className:u,startLine:m,lineNumbers:n,...h})=>{let{shikiTheme:l}=r.useContext(d),t=p(),[c,s]=r.useState(a);return r.useEffect(()=>{if(!t){s(a);return}let g=t.highlight({code:i,language:e,themes:l},x=>{s(x)});g&&s(g)},[i,e,l,t,a]),E.jsx(f,{className:u,language:e,lineNumbers:n,maxHeight:o,result:c,startLine:m,...h})};export{j as HighlightedCodeBlockBody};
@@ -0,0 +1 @@
1
+ import{r as h,eb as te,j as i,dX as ne,dY as se,dZ as oe,_,d_ as re,ec as ie,G as Y,ed as ce,X as ae,x as le,C as ue,ee as de}from"./index-MHIn2TC9.js";import{T as fe,a as me}from"./index.esm-DSKTDEoH.js";import{a as d}from"./index-DEMZynQt.js";import{u as z,a as he}from"./use-transform-ydtuYUNp.js";import{I as pe}from"./image-off-BpagBHk1.js";const Q={"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/webp":"webp","image/avif":"avif","image/svg+xml":"svg"},xe=new Set(["png","jpg","jpeg","gif","webp","avif","svg"]);function G(n,s){var u;const o=/^(.*)\.([a-z0-9]{1,5})$/i.exec(n),e=(o?o[1]:n)||"image",c=(u=o==null?void 0:o[2])==null?void 0:u.toLowerCase(),a=(s?Q[s.split(";")[0].trim()]:void 0)??(c&&xe.has(c)?c:"png");return`${e}.${a}`}function ge(n){var s;if(n.downloadName)return n.downloadName;if(n.src.startsWith("data:")){const o=((s=/^data:([^;,]+)/.exec(n.src))==null?void 0:s[1])??"";return`image.${Q[o]??"png"}`}try{const o=new URL(n.src,"http://local").pathname.split("/").pop()??"",e=decodeURIComponent(o);return/\.[a-z0-9]{2,5}$/i.test(e)?e:"image"}catch{return"image"}}function $(n,s,o){const e=document.createElement("a");e.href=n,e.download=s,o&&(e.target="_blank",e.rel="noopener noreferrer"),document.body.append(e),e.click(),e.remove()}async function be(n){const s=ge(n);try{const o=await fetch(n.src);if(!o.ok)throw new Error(`HTTP ${o.status}`);const e=await o.blob(),c=URL.createObjectURL(e);$(c,G(s,e.type),!1),setTimeout(()=>URL.revokeObjectURL(c),1e3)}catch{$(n.src,G(s),!0)}}function H(n,s,o){const e=Math.min(s.width/n.width,s.height/n.height),c=o?e:Math.min(e,1),f=n.width*c,a=n.height*c;return{left:s.left+(s.width-f)/2,top:s.top+(s.height-a)/2,width:f,height:a}}function q(n,s,o){const e={width:n.naturalWidth,height:n.naturalHeight};if(e.width===0||e.height===0)return null;const c=n.getBoundingClientRect();if(c.width===0||c.height===0||!(c.bottom>0&&c.right>0&&c.top<o.height&&c.left<o.width))return null;const a=H(e,c,!0),u=H(e,s,!1);return{x:a.left+a.width/2-(s.left+s.width/2),y:a.top+a.height/2-(s.top+s.height/2),scale:a.width/u.width}}const ye=8,we=110,ve=70,V=.5,je=6,O={type:"spring",stiffness:520,damping:42};function Se(n){const s=h.useRef(n);h.useLayoutEffect(()=>{s.current=n});const o=h.useRef(new Set),e=h.useRef(null),c=h.useRef(null),f=h.useRef(!1),a=()=>{const{x:r,y:l,scale:x,backdrop:y}=s.current;d(r,0,O),d(l,0,O),d(x,1,O),d(y,1,O)},u=r=>{var l;if(c.current={x:r.clientX,y:r.clientY},f.current=!1,r.pointerType!=="mouse"){if(o.current.add(r.pointerId),o.current.size>1){(l=e.current)!=null&&l.axis&&a(),e.current=null;return}e.current=s.current.canGesture()?{id:r.pointerId,startX:r.clientX,startY:r.clientY,startTime:r.timeStamp,axis:null}:null}},j=r=>{c.current&&Math.hypot(r.clientX-c.current.x,r.clientY-c.current.y)>je&&(f.current=!0);const l=e.current;if(!l||l.id!==r.pointerId)return;const x=r.clientX-l.startX,y=r.clientY-l.startY;if(l.axis===null){if(Math.max(Math.abs(x),Math.abs(y))<ye)return;l.axis=Math.abs(y)>Math.abs(x)?"y":"x"}const{x:v,y:k,scale:C,backdrop:S,canStep:T}=s.current;if(l.axis==="y"){const N=Math.min(Math.abs(y)/320,1);k.set(y),C.set(1-N*.12),S.set(1-N*.7)}else v.set(T(x<0?1:-1)?x:x*.25)},p=r=>{o.current.delete(r.pointerId);const l=e.current;if(!l||l.id!==r.pointerId||(e.current=null,l.axis===null))return;const x=Math.max(r.timeStamp-l.startTime,1),{canStep:y,onDismiss:v,onStep:k}=s.current;if(r.type==="pointercancel"){a();return}if(l.axis==="y"){const N=r.clientY-l.startY;Math.abs(N)>we||Math.abs(N)/x>V?v():a();return}const C=r.clientX-l.startX,S=C<0?1:-1;(Math.abs(C)>ve||Math.abs(C)/x>V)&&y(S)?k(S):a()};return{handlers:{onPointerDown:u,onPointerMove:j,onPointerUp:p,onPointerCancel:p},endedDrag:()=>f.current}}const A={type:"spring",stiffness:360,damping:34,mass:.9},U={type:"spring",stiffness:420,damping:40},P={duration:.16,ease:"easeOut"},Z=72,w=n=>n.stopPropagation(),Ne={onClick:w,onDoubleClick:w,onContextMenu:w,onKeyDown:w,onKeyUp:w,onPointerDown:w,onPointerMove:w,onPointerUp:w,onPointerCancel:w,onTouchStart:w,onTouchMove:w,onTouchEnd:w,onWheel:w};function Ie({open:n,onOpenChange:s,images:o,index:e,onIndexChange:c,getTrigger:f}){const a=te()===!0,u=z(0),j=z(0),p=z(1),r=z(1),l=z(0),x=he(l,[.55,1],[0,1]),y=h.useRef(null),v=h.useRef("idle"),k=h.useRef(!1),C=h.useRef(async()=>{}),S=h.useRef(null),[T,N]=h.useState(null),[ee,F]=h.useState({}),g=o[e],E=o.length,B=g?ee[g.src]??"loading":"loading",D=g!==void 0&&T===g.src;h.useLayoutEffect(()=>{var L,R;if(!n)return;v.current="idle",k.current=!1,S.current=null,u.set(0),j.set(0),p.set(1),d(l,1,a?P:{duration:.24,ease:"easeOut"});const t=(L=f==null?void 0:f(e))==null?void 0:L.querySelector("img"),m=(R=y.current)==null?void 0:R.getBoundingClientRect(),b=!a&&t&&m?q(t,m,{width:window.innerWidth,height:window.innerHeight}):null;b?(u.set(b.x),j.set(b.y),p.set(b.scale),r.set(1),d(u,0,A),d(j,0,A),d(p,1,A)):(r.set(0),a||p.set(.96),d(r,1,P),d(p,1,P))},[n]),h.useLayoutEffect(()=>{const t=S.current;t!==null&&(S.current=null,j.set(0),p.set(1),u.set(a?0:t*Z),d(u,0,O),d(r,1,P).then(()=>{v.current="idle",k.current&&(k.current=!1,C.current())}))},[e,r,a,u,j,p]),h.useEffect(()=>{if(n)for(const t of[o[e-1],o[e+1]])t&&(new Image().src=t.src)},[n,o,e]);const I=h.useCallback(async()=>{var R,X;if(v.current==="closing")return;if(v.current==="stepping"){k.current=!0;return}v.current="closing",N(null);const t=(R=f==null?void 0:f(e))==null?void 0:R.querySelector("img"),m=(X=y.current)==null?void 0:X.getBoundingClientRect(),b=!a&&!D&&t&&m?q(t,m,{width:window.innerWidth,height:window.innerHeight}):null,L=d(l,0,a?P:{duration:.22,ease:"easeIn"});b?await Promise.all([d(u,b.x,U),d(j,b.y,U),d(p,b.scale,U),L]):await Promise.all([d(r,0,P),a?null:d(p,p.get()*.96,P),L]),s==null||s(!1)},[l,f,e,s,r,a,p,u,j,D]);h.useLayoutEffect(()=>{C.current=I},[I]);const M=h.useCallback(async t=>{const m=e+t;v.current!=="idle"||m<0||m>=E||(v.current="stepping",await Promise.all([a?null:d(u,-t*Z+u.get()*.5,P),d(r,0,{duration:.1})]),S.current=t,c(m))},[E,e,c,r,a,u]),K=Se({x:u,y:j,scale:p,backdrop:l,canGesture:()=>v.current==="idle"&&!D,canStep:t=>e+t>=0&&e+t<E,onDismiss:()=>void I(),onStep:t=>void M(t)});return g?i.jsx(ne,{open:n,onOpenChange:t=>{t||I()},children:i.jsx(se,{container:document.body,children:i.jsxs("div",{className:"contents",...Ne,children:[i.jsx(oe,{asChild:!0,children:i.jsx(_.div,{"data-slot":"image-lightbox-backdrop",style:{opacity:l},className:"bg-background/90 fixed inset-0 z-(--z-overlay) backdrop-blur-xl"})}),i.jsxs(re,{"data-slot":"image-lightbox","aria-describedby":void 0,onOpenAutoFocus:t=>{var m;t.preventDefault(),(m=t.currentTarget)==null||m.focus()},onFocusOutside:t=>t.preventDefault(),onCloseAutoFocus:t=>{const m=f==null?void 0:f(e);m&&(t.preventDefault(),m.focus({preventScroll:!0}))},onKeyDown:t=>{t.key==="ArrowRight"?M(1):t.key==="ArrowLeft"&&M(-1)},onClick:t=>{var R,X;const m=t.target;if(K.endedDrag()||m.closest("button"))return;const b=(X=(R=y.current)==null?void 0:R.querySelector("img"))==null?void 0:X.getBoundingClientRect();b!==void 0&&t.clientX>=b.left&&t.clientX<=b.right&&t.clientY>=b.top&&t.clientY<=b.bottom||I()},...K.handlers,className:"fixed inset-0 z-(--z-overlay) flex touch-none flex-col outline-none select-none",children:[i.jsx(ie,{className:"sr-only",children:g.alt||"Image"}),i.jsxs(_.div,{style:{opacity:x},className:"flex shrink-0 items-center justify-between gap-2 pt-[max(0.75rem,env(safe-area-inset-top))] pr-[max(0.75rem,env(safe-area-inset-right))] pb-2 pl-[max(0.75rem,env(safe-area-inset-left))]",children:[i.jsxs("p",{"aria-live":"polite",className:Y("text-muted-foreground px-2 text-sm tabular-nums",E<2&&"invisible"),children:[e+1," of ",E]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(W,{label:"Download image",onClick:()=>void be(g),children:i.jsx(ce,{className:"size-[18px]"})}),i.jsx(W,{label:"Close",onClick:()=>void I(),children:i.jsx(ae,{className:"size-5"})})]})]}),i.jsxs("div",{className:"relative min-h-0 flex-1 px-3 sm:px-20",children:[i.jsxs("div",{ref:y,className:"relative h-full w-full",children:[i.jsx(_.div,{style:{x:u,y:j,scale:p,opacity:r},className:"h-full w-full",children:i.jsx(fe,{centerOnInit:!0,minScale:1,maxScale:8,doubleClick:{mode:"toggle",step:1.2},wheel:{step:.15},panning:{disabled:!D,velocityDisabled:!0},onTransform:(t,m)=>N(m.scale>1.01?g.src:null),children:i.jsx(me,{wrapperClass:"!h-full !w-full",contentClass:"!h-full !w-full flex items-center justify-center",children:B==="error"?i.jsxs("p",{className:"text-muted-foreground flex items-center gap-2 text-sm",children:[i.jsx(pe,{"aria-hidden":!0,className:"size-4"}),"This image couldn’t be loaded."]}):i.jsx("img",{src:g.src,alt:g.alt,draggable:!1,onLoad:()=>F(t=>({...t,[g.src]:"loaded"})),onError:()=>F(t=>({...t,[g.src]:"error"})),className:Y("max-h-full max-w-full rounded-lg object-contain shadow-2xl shadow-black/25",D?"cursor-grab active:cursor-grabbing":"cursor-zoom-in")})})},g.src)}),B==="loading"&&i.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:i.jsx(le,{size:"md",label:"Loading image",className:"text-muted-foreground"})})]}),e>0&&i.jsx(J,{direction:-1,fade:x,onClick:()=>void M(-1)}),e<E-1&&i.jsx(J,{direction:1,fade:x,onClick:()=>void M(1)})]}),i.jsx(_.div,{style:{opacity:x},className:"flex min-h-12 shrink-0 items-center justify-center px-6 pt-2 pb-[max(0.75rem,env(safe-area-inset-bottom))]",children:g.alt&&i.jsx("p",{className:"text-muted-foreground line-clamp-2 max-w-prose text-center text-sm",children:g.alt})})]})]})})}):null}function W({label:n,onClick:s,fade:o,className:e,children:c}){return i.jsx(_.button,{type:"button","aria-label":n,title:n,onClick:s,style:o?{opacity:o}:void 0,className:Y("focus-ring bg-background/70 text-foreground border-border/60 hover:bg-background","flex size-10 items-center justify-center rounded-full border shadow-sm backdrop-blur-md","transition-colors duration-150 motion-reduce:transition-none",e),children:c})}function J({direction:n,fade:s,onClick:o}){return i.jsx(W,{label:n===1?"Next image":"Previous image",onClick:o,fade:s,className:Y("absolute top-1/2 hidden -translate-y-1/2 sm:flex",n===1?"right-4":"left-4"),children:n===1?i.jsx(ue,{className:"size-5"}):i.jsx(de,{className:"size-5"})})}export{Ie as ImageLightbox};
@@ -1,4 +1,4 @@
1
- import{O as a}from"./index-OQuvRZTD.js";/**
1
+ import{O as a}from"./index-MHIn2TC9.js";/**
2
2
  * @license lucide-react v1.48.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FloatingTanStackRouterDevtools-CqogiFob-3v1TfY1P.js","assets/BaseTanStackRouterDevtoolsPanel-B-iktbLX-G7vrCqeA.js","assets/index-OQuvRZTD.js","assets/index-Dry_agqN.css"])))=>i.map(i=>d[i]);
2
- var Fe=e=>{throw TypeError(e)};var Ve=(e,t,n)=>t.has(e)||Fe("Cannot "+n);var y=(e,t,n)=>(Ve(e,t,"read from private field"),n?n.call(e):t.get(e)),p=(e,t,n)=>t.has(e)?Fe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),m=(e,t,n,s)=>(Ve(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n);import{aX as Ye,as as ze,f5 as Qe,r as C,j as le}from"./index-OQuvRZTD.js";var d={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Be(this.context.count)},getNextContextId(){return Be(this.context.count++)}};function Be(e){const t=String(e),n=t.length-1;return d.context.id+(n?String.fromCharCode(96+n):"")+t}function ie(e){d.context=e}var dt=(e,t)=>e===t,be=Symbol("solid-proxy"),Je=typeof Proxy=="function",ht=Symbol("solid-track"),Se={equals:dt},Ze=rt,L=1,xe=2,et={owned:null,cleanups:null,context:null,owner:null},Re={},w=null,Ne=null,gt=null,v=null,E=null,$=null,Pe=0;function ve(e,t){const n=v,s=w,r=e.length===0,i=t===void 0?s:t,l=r?et:{owned:null,cleanups:null,context:i?i.context:null,owner:i},o=r?e:()=>e(()=>O(()=>ce(l)));w=l,v=null;try{return j(o,!0)}finally{v=n,w=s}}function D(e,t){t=t?Object.assign({},Se,t):Se;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=r=>(typeof r=="function"&&(r=r(n.value)),ot(n,r));return[st.bind(n),s]}function yt(e,t,n){const s=Ae(e,t,!0,L);se(s)}function V(e,t,n){const s=Ae(e,t,!1,L);se(s)}function yn(e,t,n){Ze=Ot;const s=Ae(e,t,!1,L);(!n||!n.render)&&(s.user=!0),$?$.push(s):se(s)}function x(e,t,n){n=n?Object.assign({},Se,n):Se;const s=Ae(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,se(s),st.bind(s)}function mt(e){return e&&typeof e=="object"&&"then"in e}function wt(e,t,n){let s,r,i;s=!0,r=e,i={};let l=null,o=Re,a=null,f=!1,u="initialValue"in i,c=typeof s=="function"&&x(s);const h=new Set,[g,R]=(i.storage||D)(i.initialValue),[M,U]=D(void 0),[oe,N]=D(void 0,{equals:!1}),[T,k]=D(u?"ready":"unresolved");d.context&&(a=d.getNextContextId(),i.ssrLoadFrom==="initial"?o=i.initialValue:d.load&&d.has(a)&&(o=d.load(a)));function A(S,b,I,P){return l===S&&(l=null,P!==void 0&&(u=!0),(S===o||b===o)&&i.onHydrated&&queueMicrotask(()=>i.onHydrated(P,{value:b})),o=Re,Te(b,I)),b}function Te(S,b){j(()=>{b===void 0&&R(()=>S),k(b!==void 0?"errored":u?"ready":"unresolved"),U(b);for(const I of h.keys())I.decrement();h.clear()},!1)}function Ce(){const S=St,b=g(),I=M();if(I!==void 0&&!l)throw I;return v&&v.user,b}function De(S=!0){if(S!==!1&&f)return;f=!1;const b=c?c():s;if(b==null||b===!1){A(l,O(g));return}let I;const P=o!==Re?o:O(()=>{try{return r(b,{value:g(),refetching:S})}catch(re){I=re}});if(I!==void 0){A(l,void 0,pe(I),b);return}else if(!mt(P))return A(l,P,void 0,b),P;return l=P,"v"in P?(P.s===1?A(l,P.v,void 0,b):A(l,void 0,pe(P.v),b),P):(f=!0,queueMicrotask(()=>f=!1),j(()=>{k(u?"refreshing":"pending"),N()},!1),P.then(re=>A(P,re,void 0,b),re=>A(P,void 0,pe(re),b)))}Object.defineProperties(Ce,{state:{get:()=>T()},error:{get:()=>M()},loading:{get(){const S=T();return S==="pending"||S==="refreshing"}},latest:{get(){if(!u)return Ce();const S=M();if(S&&!l)throw S;return g()}}});let _e=w;return c?yt(()=>(_e=w,De(!1))):De(!1),[Ce,{refetch:S=>pt(_e,()=>De(S)),mutate:R}]}function O(e){if(v===null)return e();const t=v;v=null;try{return e()}finally{v=t}}function vt(e){return w===null||(w.cleanups===null?w.cleanups=[e]:w.cleanups.push(e)),e}function pt(e,t){const n=w,s=v;w=e,v=null;try{return j(t,!0)}catch(r){je(r)}finally{w=n,v=s}}var[mn,wn]=D(!1);function tt(e,t){const n=Symbol("context");return{id:n,Provider:Pt(n),defaultValue:e}}function bt(e){let t;return w&&w.context&&(t=w.context[e.id])!==void 0?t:e.defaultValue}function nt(e){const t=x(e),n=x(()=>Me(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}var St;function st(){if(this.sources&&this.state)if(this.state===L)se(this);else{const e=E;E=null,j(()=>Oe(this),!1),E=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return this.value}function ot(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&j(()=>{for(let r=0;r<e.observers.length;r+=1){const i=e.observers[r],l=Ne&&Ne.running;l&&Ne.disposed.has(i),(l?!i.tState:!i.state)&&(i.pure?E.push(i):$.push(i),i.observers&&it(i)),l||(i.state=L)}if(E.length>1e6)throw E=[],new Error},!1)),t}function se(e){if(!e.fn)return;ce(e);const t=Pe;xt(e,e.value,t)}function xt(e,t,n){let s;const r=w,i=v;v=w=e;try{s=e.fn(t)}catch(l){return e.pure&&(e.state=L,e.owned&&e.owned.forEach(ce),e.owned=null),e.updatedAt=n+1,je(l)}finally{v=i,w=r}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?ot(e,s):e.value=s,e.updatedAt=n)}function Ae(e,t,n,s=L,r){const i={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:w,context:w?w.context:null,pure:n};return w===null||w!==et&&(w.owned?w.owned.push(i):w.owned=[i]),i}function Ee(e){if(e.state===0)return;if(e.state===xe)return Oe(e);if(e.suspense&&O(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Pe);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===L)se(e);else if(e.state===xe){const s=E;E=null,j(()=>Oe(e,t[0]),!1),E=s}}function j(e,t){if(E)return e();let n=!1;t||(E=[]),$?n=!0:$=[],Pe++;try{const s=e();return Et(n),s}catch(s){n||($=null),E=null,je(s)}}function Et(e){if(E&&(rt(E),E=null),e)return;const t=$;$=null,t.length&&j(()=>Ze(t),!1)}function rt(e){for(let t=0;t<e.length;t++)Ee(e[t])}function Ot(e){let t,n=0;for(t=0;t<e.length;t++){const s=e[t];s.user?e[n++]=s:Ee(s)}if(d.context){if(d.count){d.effects||(d.effects=[]),d.effects.push(...e.slice(0,n));return}ie()}for(d.effects&&(d.done||!d.count)&&(e=[...d.effects,...e],n+=d.effects.length,delete d.effects),t=0;t<n;t++)Ee(e[t])}function Oe(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const s=e.sources[n];if(s.sources){const r=s.state;r===L?s!==t&&(!s.updatedAt||s.updatedAt<Pe)&&Ee(s):r===xe&&Oe(s,t)}}}function it(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=xe,n.pure?E.push(n):$.push(n),n.observers&&it(n))}}function ce(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),s=e.sourceSlots.pop(),r=n.observers;if(r&&r.length){const i=r.pop(),l=n.observerSlots.pop();s<r.length&&(i.sourceSlots[l]=s,r[s]=i,n.observerSlots[s]=l)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ce(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)ce(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function pe(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function je(e,t=w){throw pe(e)}function Me(e){if(typeof e=="function"&&!e.length)return Me(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const s=Me(e[n]);Array.isArray(s)?t.push.apply(t,s):t.push(s)}return t}return e}function Pt(e,t){return function(s){let r;return V(()=>r=O(()=>(w.context={...w.context,[e]:s.value},nt(()=>s.children))),void 0),r}}var At=Symbol("fallback");function Ue(e){for(let t=0;t<e.length;t++)e[t]()}function Tt(e,t,n={}){let s=[],r=[],i=[],l=0,o=t.length>1?[]:null;return vt(()=>Ue(i)),()=>{let a=e()||[],f=a.length,u,c;return a[ht],O(()=>{let g,R,M,U,oe,N,T,k,A;if(f===0)l!==0&&(Ue(i),i=[],s=[],r=[],l=0,o&&(o=[])),n.fallback&&(s=[At],r[0]=ve(Te=>(i[0]=Te,n.fallback())),l=1);else if(l===0){for(r=new Array(f),c=0;c<f;c++)s[c]=a[c],r[c]=ve(h);l=f}else{for(M=new Array(f),U=new Array(f),o&&(oe=new Array(f)),N=0,T=Math.min(l,f);N<T&&s[N]===a[N];N++);for(T=l-1,k=f-1;T>=N&&k>=N&&s[T]===a[k];T--,k--)M[k]=r[T],U[k]=i[T],o&&(oe[k]=o[T]);for(g=new Map,R=new Array(k+1),c=k;c>=N;c--)A=a[c],u=g.get(A),R[c]=u===void 0?-1:u,g.set(A,c);for(u=N;u<=T;u++)A=s[u],c=g.get(A),c!==void 0&&c!==-1?(M[c]=r[u],U[c]=i[u],o&&(oe[c]=o[u]),c=R[c],g.set(A,c)):i[u]();for(c=N;c<f;c++)c in M?(r[c]=M[c],i[c]=U[c],o&&(o[c]=oe[c],o[c](c))):r[c]=ve(h);r=r.slice(0,l=f),s=a.slice(0)}return r});function h(g){if(i[c]=g,o){const[R,M]=D(c);return o[c]=M,t(a[c],R)}return t(a[c])}}}function ae(e,t){return O(()=>e(t||{}))}function we(){return!0}var Ie={get(e,t,n){return t===be?n:e.get(t)},has(e,t){return t===be?!0:e.has(t)},set:we,deleteProperty:we,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:we,deleteProperty:we}},ownKeys(e){return e.keys()}};function ke(e){return(e=typeof e=="function"?e():e)?e:{}}function Ct(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function vn(...e){let t=!1;for(let l=0;l<e.length;l++){const o=e[l];t=t||!!o&&be in o,e[l]=typeof o=="function"?(t=!0,x(o)):o}if(Je&&t)return new Proxy({get(l){for(let o=e.length-1;o>=0;o--){const a=ke(e[o])[l];if(a!==void 0)return a}},has(l){for(let o=e.length-1;o>=0;o--)if(l in ke(e[o]))return!0;return!1},keys(){const l=[];for(let o=0;o<e.length;o++)l.push(...Object.keys(ke(e[o])));return[...new Set(l)]}},Ie);const n={},s=Object.create(null);for(let l=e.length-1;l>=0;l--){const o=e[l];if(!o)continue;const a=Object.getOwnPropertyNames(o);for(let f=a.length-1;f>=0;f--){const u=a[f];if(u==="__proto__"||u==="constructor")continue;const c=Object.getOwnPropertyDescriptor(o,u);if(!s[u])s[u]=c.get?{enumerable:!0,configurable:!0,get:Ct.bind(n[u]=[c.get.bind(o)])}:c.value!==void 0?c:void 0;else{const h=n[u];h&&(c.get?h.push(c.get.bind(o)):c.value!==void 0&&h.push(()=>c.value))}}}const r={},i=Object.keys(s);for(let l=i.length-1;l>=0;l--){const o=i[l],a=s[o];a&&a.get?Object.defineProperty(r,o,a):r[o]=a?a.value:void 0}return r}function Dt(e,...t){const n=t.length;if(Je&&be in e){const r=n>1?t.flat():t[0],i=t.map(l=>new Proxy({get(o){return l.includes(o)?e[o]:void 0},has(o){return l.includes(o)&&o in e},keys(){return l.filter(o=>o in e)}},Ie));return i.push(new Proxy({get(l){return r.includes(l)?void 0:e[l]},has(l){return r.includes(l)?!1:l in e},keys(){return Object.keys(e).filter(l=>!r.includes(l))}},Ie)),i}const s=[];for(let r=0;r<=n;r++)s[r]={};for(const r of Object.getOwnPropertyNames(e)){let i=n;for(let o=0;o<t.length;o++)if(t[o].includes(r)){i=o;break}const l=Object.getOwnPropertyDescriptor(e,r);!l.get&&!l.set&&l.enumerable&&l.writable&&l.configurable?s[i][r]=l.value:Object.defineProperty(s[i],r,l)}return s}function lt(e){let t,n;const s=r=>{const i=d.context;if(i){const[o,a]=D();d.count||(d.count=0),d.count++,(n||(n=e())).then(f=>{!d.done&&ie(i),d.count--,a(()=>f.default),ie()}),t=o}else if(!t){const[o]=wt(()=>(n||(n=e())).then(a=>a.default));t=o}let l;return x(()=>(l=t())?O(()=>{if(!i||d.done)return l(r);const o=d.context;ie(i);const a=l(r);return ie(o),a}):"")};return s.preload=()=>n||((n=e()).then(r=>t=()=>r.default),n),s}var Rt=0;function pn(){return d.context?d.getNextContextId():`cl-${Rt++}`}var at=e=>`Stale read from <${e}>.`;function bn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(Tt(()=>e.each,e.children,t||void 0))}function Sn(e){const t=e.keyed,n=x(()=>e.when,void 0,void 0),s=t?n:x(n,void 0,{equals:(r,i)=>!r==!i});return x(()=>{const r=s();if(r){const i=e.children;return typeof i=="function"&&i.length>0?O(()=>i(t?r:()=>{if(!O(s))throw at("Show");return n()})):i}return e.fallback},void 0,void 0)}function xn(e){const t=nt(()=>e.children),n=x(()=>{const s=t(),r=Array.isArray(s)?s:[s];let i=()=>{};for(let l=0;l<r.length;l++){const o=l,a=r[l],f=i,u=x(()=>f()?void 0:a.when,void 0,void 0),c=a.keyed?u:x(u,void 0,{equals:(h,g)=>!h==!g});i=()=>f()||(c()?[o,u,a]:void 0)}return i});return x(()=>{const s=n()();if(!s)return e.fallback;const[r,i,l]=s,o=l.children;return typeof o=="function"&&o.length>0?O(()=>o(l.keyed?i():()=>{var a;if(((a=O(n)())==null?void 0:a[0])!==r)throw at("Match");return i()})):o},void 0,void 0)}function En(e){return e}var Nt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable","allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"]),kt=new Set(["innerHTML","textContent","innerText","children"]),Mt=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),It=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function $t(e,t){const n=It[e];return typeof n=="object"?n[t]?n.$:void 0:n}var Lt=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),jt=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),_t={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},On=e=>x(()=>e());function Ft(e,t,n){let s=n.length,r=t.length,i=s,l=0,o=0,a=t[r-1].nextSibling,f=null;for(;l<r||o<i;){if(t[l]===n[o]){l++,o++;continue}for(;t[r-1]===n[i-1];)r--,i--;if(r===l){const u=i<s?o?n[o-1].nextSibling:n[i-o]:a;for(;o<i;)e.insertBefore(n[o++],u)}else if(i===o)for(;l<r;)(!f||!f.has(t[l]))&&t[l].remove(),l++;else if(t[l]===n[i-1]&&n[o]===t[r-1]){const u=t[--r].nextSibling;e.insertBefore(n[o++],t[l++].nextSibling),e.insertBefore(n[--i],u),t[r]=n[i]}else{if(!f){f=new Map;let c=o;for(;c<i;)f.set(n[c],c++)}const u=f.get(t[l]);if(u!=null)if(o<u&&u<i){let c=l,h=1,g;for(;++c<r&&c<i&&!((g=f.get(t[c]))==null||g!==u+h);)h++;if(h>u-o){const R=t[l];for(;o<u;)e.insertBefore(n[o++],R)}else e.replaceChild(n[o++],t[l++])}else l++;else t[l++].remove()}}}var Ge="_$DX_DELEGATE";function ct(e,t,n,s={}){let r;return ve(i=>{r=i,t===document?e():Yt(t,e(),t.firstChild?null:void 0,n)},s.owner),()=>{r(),t.textContent=""}}function Pn(e,t,n,s){let r;const i=()=>{const o=document.createElement("template");return o.innerHTML=e,o.content.firstChild},l=t?()=>O(()=>document.importNode(r||(r=i()),!0)):()=>(r||(r=i())).cloneNode(!0);return l.cloneNode=l,l}function Vt(e,t=window.document){const n=t[Ge]||(t[Ge]=new Set);for(let s=0,r=e.length;s<r;s++){const i=e[s];n.has(i)||(n.add(i),t.addEventListener(i,Zt))}}function $e(e,t,n){B(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Bt(e,t,n,s){B(e)||(s==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,s))}function Ut(e,t,n){B(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Gt(e,t){B(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Ht(e,t,n,s){if(s)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=i=>r.call(e,n[1],i))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Kt(e,t,n={}){const s=Object.keys(t||{}),r=Object.keys(n);let i,l;for(i=0,l=r.length;i<l;i++){const o=r[i];!o||o==="undefined"||t[o]||(He(e,o,!1),delete n[o])}for(i=0,l=s.length;i<l;i++){const o=s[i],a=!!t[o];!o||o==="undefined"||n[o]===a||!a||(He(e,o,!0),n[o]=a)}return n}function qt(e,t,n){if(!t)return n?$e(e,"style"):t;const s=e.style;if(typeof t=="string")return s.cssText=t;typeof n=="string"&&(s.cssText=n=void 0),n||(n={}),t||(t={});let r,i;for(i in n)t[i]??s.removeProperty(i),delete n[i];for(i in t)r=t[i],r!==n[i]&&(s.setProperty(i,r),n[i]=r);return n}function Xt(e,t={},n,s){const r={};return s||V(()=>r.children=ue(e,t.children,r.children)),V(()=>typeof t.ref=="function"&&Wt(t.ref,e)),V(()=>zt(e,t,n,!0,r,!0)),r}function Wt(e,t,n){return O(()=>e(t,n))}function Yt(e,t,n,s){if(n!==void 0&&!s&&(s=[]),typeof t!="function")return ue(e,t,s,n);V(r=>ue(e,t(),r,n),s)}function zt(e,t,n,s,r={},i=!1){t||(t={});for(const l in r)if(!(l in t)){if(l==="children")continue;r[l]=Ke(e,l,null,r[l],n,i,t)}for(const l in t){if(l==="children")continue;const o=t[l];r[l]=Ke(e,l,o,r[l],n,i,t)}}function Qt(e){let t,n;return!B()||!(t=d.registry.get(n=en()))?e():(d.completed&&d.completed.add(t),d.registry.delete(n),t)}function B(e){return!!d.context&&!d.done&&(!e||e.isConnected)}function Jt(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function He(e,t,n){const s=t.trim().split(/\s+/);for(let r=0,i=s.length;r<i;r++)e.classList.toggle(s[r],n)}function Ke(e,t,n,s,r,i,l){let o,a,f,u,c;if(t==="style")return qt(e,n,s);if(t==="classList")return Kt(e,n,s);if(n===s)return s;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){const h=t.slice(3);s&&e.removeEventListener(h,s,typeof s!="function"&&s),n&&e.addEventListener(h,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const h=t.slice(10);s&&e.removeEventListener(h,s,!0),n&&e.addEventListener(h,n,!0)}else if(t.slice(0,2)==="on"){const h=t.slice(2).toLowerCase(),g=Lt.has(h);if(!g&&s){const R=Array.isArray(s)?s[0]:s;e.removeEventListener(h,R)}(g||n)&&(Ht(e,h,n,g),g&&Vt([h]))}else if(t.slice(0,5)==="attr:")$e(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Ut(e,t.slice(5),n);else if((c=t.slice(0,5)==="prop:")||(f=kt.has(t))||!r&&((u=$t(t,e.tagName))||(a=Nt.has(t)))||(o=e.nodeName.includes("-")||"is"in l)){if(c)t=t.slice(5),a=!0;else if(B(e))return n;t==="class"||t==="className"?Gt(e,n):o&&!a&&!f?e[Jt(t)]=n:e[u||t]=n}else{const h=r&&t.indexOf(":")>-1&&_t[t.split(":")[0]];h?Bt(e,h,t,n):$e(e,Mt[t]||t,n)}return n}function Zt(e){if(d.registry&&d.events&&d.events.find(([a,f])=>f===e))return;let t=e.target;const n=`$$${e.type}`,s=e.target,r=e.currentTarget,i=a=>Object.defineProperty(e,"target",{configurable:!0,value:a}),l=()=>{const a=t[n];if(a&&!t.disabled){const f=t[`${n}Data`];if(f!==void 0?a.call(t,f,e):a.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},o=()=>{for(;l()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),d.registry&&!d.done&&(d.done=_$HY.done=!0),e.composedPath){const a=e.composedPath();i(a[0]);for(let f=0;f<a.length-2&&(t=a[f],!!l());f++){if(t._$host){t=t._$host,o();break}if(t.parentNode===r)break}}else o();i(s)}function ue(e,t,n,s,r){const i=B(e);if(i){!n&&(n=[...e.childNodes]);let a=[];for(let f=0;f<n.length;f++){const u=n[f];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():a.push(u)}n=a}for(;typeof n=="function";)n=n();if(t===n)return n;const l=typeof t,o=s!==void 0;if(e=o&&n[0]&&n[0].parentNode||e,l==="string"||l==="number"){if(i||l==="number"&&(t=t.toString(),t===n))return n;if(o){let a=n[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),n=G(e,n,s,a)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||l==="boolean"){if(i)return n;n=G(e,n,s)}else{if(l==="function")return V(()=>{let a=t();for(;typeof a=="function";)a=a();n=ue(e,a,n,s)}),()=>n;if(Array.isArray(t)){const a=[],f=n&&Array.isArray(n);if(Le(a,t,n,r))return V(()=>n=ue(e,a,n,s,!0)),()=>n;if(i){if(!a.length)return n;if(s===void 0)return n=[...e.childNodes];let u=a[0];if(u.parentNode!==e)return n;const c=[u];for(;(u=u.nextSibling)!==s;)c.push(u);return n=c}if(a.length===0){if(n=G(e,n,s),o)return n}else f?n.length===0?qe(e,a,s):Ft(e,n,a):(n&&G(e),qe(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=o?[t]:t;if(Array.isArray(n)){if(o)return n=G(e,n,s,t);G(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Le(e,t,n,s){let r=!1;for(let i=0,l=t.length;i<l;i++){let o=t[i],a=n&&n[e.length],f;if(!(o==null||o===!0||o===!1))if((f=typeof o)=="object"&&o.nodeType)e.push(o);else if(Array.isArray(o))r=Le(e,o,a)||r;else if(f==="function")if(s){for(;typeof o=="function";)o=o();r=Le(e,Array.isArray(o)?o:[o],Array.isArray(a)?a:[a])||r}else e.push(o),r=!0;else{const u=String(o);a&&a.nodeType===3&&a.data===u?e.push(a):e.push(document.createTextNode(u))}}return r}function qe(e,t,n=null){for(let s=0,r=t.length;s<r;s++)e.insertBefore(t[s],n)}function G(e,t,n,s){if(n===void 0)return e.textContent="";const r=s||document.createTextNode("");if(t.length){let i=!1;for(let l=t.length-1;l>=0;l--){const o=t[l];if(r!==o){const a=o.parentNode===e;!i&&!l?a?e.replaceChild(r,o):e.insertBefore(r,n):a&&o.remove()}else i=!0}}else e.insertBefore(r,n);return[r]}function en(){return d.getNextContextId()}var tn="http://www.w3.org/2000/svg";function nn(e,t=!1,n=void 0){return t?document.createElementNS(tn,e):document.createElement(e,{is:n})}function sn(e,t){const n=x(e);return x(()=>{const s=n();switch(typeof s){case"function":return O(()=>s(t));case"string":const r=jt.has(s),i=d.context?Qt():nn(s,r,O(()=>t.is));return Xt(i,t,r),i}})}function An(e){const[,t]=Dt(e,["component"]);return sn(()=>e.component,t)}var ut=tt(void 0),ft=tt(void 0),Tn=()=>{const e=bt(ft);if(!e)throw new Error("useDevtoolsOnClose must be used within a TanStackRouterDevtools component");return e},H,K,q,X,W,fe,de,he,Y,_,z,ge,Xe,on=(Xe=class{constructor(e){p(this,H);p(this,K);p(this,q);p(this,X);p(this,W);p(this,fe);p(this,de);p(this,he);p(this,Y);p(this,_,!1);p(this,z);p(this,ge);m(this,H,D(e.router)),m(this,K,D(e.routerState)),m(this,q,e.position??"bottom-left"),m(this,X,e.initialIsOpen??!1),m(this,W,e.shadowDOMTarget),m(this,fe,e.panelProps),m(this,de,e.closeButtonProps),m(this,he,e.toggleButtonProps),m(this,Y,e.containerElement)}mount(e){if(y(this,_))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,H),[s]=y(this,K),r=y(this,q),i=y(this,X),l=y(this,W),o=y(this,fe),a=y(this,de),f=y(this,he),u=y(this,Y);let c;return y(this,z)?c=y(this,z):(c=lt(()=>Ye(()=>import("./FloatingTanStackRouterDevtools-CqogiFob-3v1TfY1P.js"),__vite__mapDeps([0,1,2,3]))),m(this,z,c)),ae(ut.Provider,{value:l,get children(){return ae(c,{position:r,initialIsOpen:i,router:n,routerState:s,shadowDOMTarget:l,panelProps:o,closeButtonProps:a,toggleButtonProps:f,containerElement:u})}})},e);m(this,_,!0),m(this,ge,t)}unmount(){var e;if(!y(this,_))throw new Error("Devtools is not mounted");(e=y(this,ge))==null||e.call(this),m(this,_,!1)}setRouter(e){y(this,H)[1](e)}setRouterState(e){y(this,K)[1](e)}setOptions(e){e.position!==void 0&&m(this,q,e.position),e.initialIsOpen!==void 0&&m(this,X,e.initialIsOpen),e.shadowDOMTarget!==void 0&&m(this,W,e.shadowDOMTarget),e.containerElement!==void 0&&m(this,Y,e.containerElement)}},H=new WeakMap,K=new WeakMap,q=new WeakMap,X=new WeakMap,W=new WeakMap,fe=new WeakMap,de=new WeakMap,he=new WeakMap,Y=new WeakMap,_=new WeakMap,z=new WeakMap,ge=new WeakMap,Xe),Q,J,Z,ee,te,F,ye,me,ne,We,rn=(We=class{constructor(e){p(this,Q);p(this,J);p(this,Z);p(this,ee);p(this,te);p(this,F,!1);p(this,ye);p(this,me);p(this,ne);const{router:t,routerState:n,shadowDOMTarget:s,setIsOpen:r,style:i,className:l}=e;m(this,Q,D(t)),m(this,J,D(n)),m(this,Z,D(i)),m(this,ee,D(l)),m(this,te,s),m(this,ye,r)}mount(e){if(y(this,F))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,Q),[s]=y(this,J),[r]=y(this,Z),[i]=y(this,ee),l=y(this,te),o=y(this,ye);let a;return y(this,ne)?a=y(this,ne):(a=lt(()=>Ye(()=>import("./BaseTanStackRouterDevtoolsPanel-B-iktbLX-G7vrCqeA.js"),__vite__mapDeps([1,2,3]))),m(this,ne,a)),ae(ut.Provider,{value:l,get children(){return ae(ft.Provider,{value:{onCloseClick:()=>{}},get children(){return ae(a,{router:n,routerState:s,shadowDOMTarget:l,setIsOpen:o,style:r,className:i})}})}})},e);m(this,F,!0),m(this,me,t)}unmount(){var e;if(!y(this,F))throw new Error("Devtools is not mounted");(e=y(this,me))==null||e.call(this),m(this,F,!1)}setRouter(e){y(this,Q)[1](e)}setRouterState(e){y(this,J)[1](e)}setStyle(e){y(this,Z)[1](e)}setClassName(e){y(this,ee)[1](e)}setOptions(e){e.shadowDOMTarget!==void 0&&m(this,te,e.shadowDOMTarget),e.router!==void 0&&this.setRouter(e.router),e.routerState!==void 0&&this.setRouterState(e.routerState),e.style!==void 0&&this.setStyle(e.style),e.className!==void 0&&this.setClassName(e.className)}},Q=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,F=new WeakMap,ye=new WeakMap,me=new WeakMap,ne=new WeakMap,We);function ln(e){const{initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:i,containerElement:l,shadowDOMTarget:o,router:a}=e,f=ze(),u=a??f,c=Qe({router:u}),h=C.useRef(null),[g]=C.useState(()=>new on({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:i,containerElement:l,shadowDOMTarget:o,router:u,routerState:c}));return C.useEffect(()=>{g.setRouter(u)},[g,u]),C.useEffect(()=>{g.setRouterState(c)},[g,c]),C.useEffect(()=>{g.setOptions({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:i,containerElement:l,shadowDOMTarget:o})},[g,t,n,s,r,i,l,o]),C.useEffect(()=>(h.current&&g.mount(h.current),()=>{g.unmount()}),[g]),le.jsx(C.Fragment,{children:le.jsx("div",{ref:h})})}var an=e=>{const{router:t,...n}=e,s=ze(),r=t??s,i=Qe({router:r}),l=C.useRef(null),[o]=C.useState(()=>new rn({...n,router:r,routerState:i}));return C.useEffect(()=>{o.setRouter(r)},[o,r]),C.useEffect(()=>{o.setRouterState(i)},[o,i]),C.useEffect(()=>{o.setOptions({className:e.className,style:e.style,shadowDOMTarget:e.shadowDOMTarget})},[o,e.className,e.style,e.shadowDOMTarget]),C.useEffect(()=>(l.current&&o.mount(l.current),()=>{o.unmount()}),[o]),le.jsx(le.Fragment,{children:le.jsx("div",{ref:l})})},cn=function(){return null},un=ln,fn=function(){return null},dn=an;const Cn=Object.freeze(Object.defineProperty({__proto__:null,TanStackRouterDevtools:cn,TanStackRouterDevtoolsInProd:un,TanStackRouterDevtoolsPanel:fn,TanStackRouterDevtoolsPanelInProd:dn},Symbol.toStringTag,{value:"Module"}));export{ft as D,bn as F,En as M,xn as S,yn as a,x as b,D as c,ae as d,V as e,Gt as f,An as g,pn as h,Yt as i,$e as j,Ht as k,On as l,vn as m,bt as n,Sn as o,vt as p,O as q,ut as r,Xt as s,Pn as t,Tn as u,Vt as v,Cn as w};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FloatingTanStackRouterDevtools-CqogiFob-CnSp2ZEM.js","assets/BaseTanStackRouterDevtoolsPanel-B-iktbLX-_zVrHu5s.js","assets/index-MHIn2TC9.js","assets/index-P4Wos1Gi.css"])))=>i.map(i=>d[i]);
2
+ var Fe=e=>{throw TypeError(e)};var Ve=(e,t,n)=>t.has(e)||Fe("Cannot "+n);var y=(e,t,n)=>(Ve(e,t,"read from private field"),n?n.call(e):t.get(e)),p=(e,t,n)=>t.has(e)?Fe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),m=(e,t,n,s)=>(Ve(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n);import{a_ as Ye,av as ze,fd as Qe,r as C,j as le}from"./index-MHIn2TC9.js";var d={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Be(this.context.count)},getNextContextId(){return Be(this.context.count++)}};function Be(e){const t=String(e),n=t.length-1;return d.context.id+(n?String.fromCharCode(96+n):"")+t}function ie(e){d.context=e}var dt=(e,t)=>e===t,be=Symbol("solid-proxy"),Je=typeof Proxy=="function",ht=Symbol("solid-track"),Se={equals:dt},Ze=rt,L=1,xe=2,et={owned:null,cleanups:null,context:null,owner:null},Re={},w=null,Ne=null,gt=null,v=null,E=null,$=null,Pe=0;function ve(e,t){const n=v,s=w,r=e.length===0,i=t===void 0?s:t,l=r?et:{owned:null,cleanups:null,context:i?i.context:null,owner:i},o=r?e:()=>e(()=>O(()=>ce(l)));w=l,v=null;try{return j(o,!0)}finally{v=n,w=s}}function D(e,t){t=t?Object.assign({},Se,t):Se;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=r=>(typeof r=="function"&&(r=r(n.value)),ot(n,r));return[st.bind(n),s]}function yt(e,t,n){const s=Ae(e,t,!0,L);se(s)}function V(e,t,n){const s=Ae(e,t,!1,L);se(s)}function yn(e,t,n){Ze=Ot;const s=Ae(e,t,!1,L);(!n||!n.render)&&(s.user=!0),$?$.push(s):se(s)}function x(e,t,n){n=n?Object.assign({},Se,n):Se;const s=Ae(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,se(s),st.bind(s)}function mt(e){return e&&typeof e=="object"&&"then"in e}function wt(e,t,n){let s,r,i;s=!0,r=e,i={};let l=null,o=Re,a=null,f=!1,u="initialValue"in i,c=typeof s=="function"&&x(s);const h=new Set,[g,R]=(i.storage||D)(i.initialValue),[M,U]=D(void 0),[oe,N]=D(void 0,{equals:!1}),[T,k]=D(u?"ready":"unresolved");d.context&&(a=d.getNextContextId(),i.ssrLoadFrom==="initial"?o=i.initialValue:d.load&&d.has(a)&&(o=d.load(a)));function A(S,b,I,P){return l===S&&(l=null,P!==void 0&&(u=!0),(S===o||b===o)&&i.onHydrated&&queueMicrotask(()=>i.onHydrated(P,{value:b})),o=Re,Te(b,I)),b}function Te(S,b){j(()=>{b===void 0&&R(()=>S),k(b!==void 0?"errored":u?"ready":"unresolved"),U(b);for(const I of h.keys())I.decrement();h.clear()},!1)}function Ce(){const S=St,b=g(),I=M();if(I!==void 0&&!l)throw I;return v&&v.user,b}function De(S=!0){if(S!==!1&&f)return;f=!1;const b=c?c():s;if(b==null||b===!1){A(l,O(g));return}let I;const P=o!==Re?o:O(()=>{try{return r(b,{value:g(),refetching:S})}catch(re){I=re}});if(I!==void 0){A(l,void 0,pe(I),b);return}else if(!mt(P))return A(l,P,void 0,b),P;return l=P,"v"in P?(P.s===1?A(l,P.v,void 0,b):A(l,void 0,pe(P.v),b),P):(f=!0,queueMicrotask(()=>f=!1),j(()=>{k(u?"refreshing":"pending"),N()},!1),P.then(re=>A(P,re,void 0,b),re=>A(P,void 0,pe(re),b)))}Object.defineProperties(Ce,{state:{get:()=>T()},error:{get:()=>M()},loading:{get(){const S=T();return S==="pending"||S==="refreshing"}},latest:{get(){if(!u)return Ce();const S=M();if(S&&!l)throw S;return g()}}});let _e=w;return c?yt(()=>(_e=w,De(!1))):De(!1),[Ce,{refetch:S=>pt(_e,()=>De(S)),mutate:R}]}function O(e){if(v===null)return e();const t=v;v=null;try{return e()}finally{v=t}}function vt(e){return w===null||(w.cleanups===null?w.cleanups=[e]:w.cleanups.push(e)),e}function pt(e,t){const n=w,s=v;w=e,v=null;try{return j(t,!0)}catch(r){je(r)}finally{w=n,v=s}}var[mn,wn]=D(!1);function tt(e,t){const n=Symbol("context");return{id:n,Provider:Pt(n),defaultValue:e}}function bt(e){let t;return w&&w.context&&(t=w.context[e.id])!==void 0?t:e.defaultValue}function nt(e){const t=x(e),n=x(()=>Me(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}var St;function st(){if(this.sources&&this.state)if(this.state===L)se(this);else{const e=E;E=null,j(()=>Oe(this),!1),E=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return this.value}function ot(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&j(()=>{for(let r=0;r<e.observers.length;r+=1){const i=e.observers[r],l=Ne&&Ne.running;l&&Ne.disposed.has(i),(l?!i.tState:!i.state)&&(i.pure?E.push(i):$.push(i),i.observers&&it(i)),l||(i.state=L)}if(E.length>1e6)throw E=[],new Error},!1)),t}function se(e){if(!e.fn)return;ce(e);const t=Pe;xt(e,e.value,t)}function xt(e,t,n){let s;const r=w,i=v;v=w=e;try{s=e.fn(t)}catch(l){return e.pure&&(e.state=L,e.owned&&e.owned.forEach(ce),e.owned=null),e.updatedAt=n+1,je(l)}finally{v=i,w=r}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?ot(e,s):e.value=s,e.updatedAt=n)}function Ae(e,t,n,s=L,r){const i={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:w,context:w?w.context:null,pure:n};return w===null||w!==et&&(w.owned?w.owned.push(i):w.owned=[i]),i}function Ee(e){if(e.state===0)return;if(e.state===xe)return Oe(e);if(e.suspense&&O(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Pe);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===L)se(e);else if(e.state===xe){const s=E;E=null,j(()=>Oe(e,t[0]),!1),E=s}}function j(e,t){if(E)return e();let n=!1;t||(E=[]),$?n=!0:$=[],Pe++;try{const s=e();return Et(n),s}catch(s){n||($=null),E=null,je(s)}}function Et(e){if(E&&(rt(E),E=null),e)return;const t=$;$=null,t.length&&j(()=>Ze(t),!1)}function rt(e){for(let t=0;t<e.length;t++)Ee(e[t])}function Ot(e){let t,n=0;for(t=0;t<e.length;t++){const s=e[t];s.user?e[n++]=s:Ee(s)}if(d.context){if(d.count){d.effects||(d.effects=[]),d.effects.push(...e.slice(0,n));return}ie()}for(d.effects&&(d.done||!d.count)&&(e=[...d.effects,...e],n+=d.effects.length,delete d.effects),t=0;t<n;t++)Ee(e[t])}function Oe(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const s=e.sources[n];if(s.sources){const r=s.state;r===L?s!==t&&(!s.updatedAt||s.updatedAt<Pe)&&Ee(s):r===xe&&Oe(s,t)}}}function it(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=xe,n.pure?E.push(n):$.push(n),n.observers&&it(n))}}function ce(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),s=e.sourceSlots.pop(),r=n.observers;if(r&&r.length){const i=r.pop(),l=n.observerSlots.pop();s<r.length&&(i.sourceSlots[l]=s,r[s]=i,n.observerSlots[s]=l)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ce(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)ce(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function pe(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function je(e,t=w){throw pe(e)}function Me(e){if(typeof e=="function"&&!e.length)return Me(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const s=Me(e[n]);Array.isArray(s)?t.push.apply(t,s):t.push(s)}return t}return e}function Pt(e,t){return function(s){let r;return V(()=>r=O(()=>(w.context={...w.context,[e]:s.value},nt(()=>s.children))),void 0),r}}var At=Symbol("fallback");function Ue(e){for(let t=0;t<e.length;t++)e[t]()}function Tt(e,t,n={}){let s=[],r=[],i=[],l=0,o=t.length>1?[]:null;return vt(()=>Ue(i)),()=>{let a=e()||[],f=a.length,u,c;return a[ht],O(()=>{let g,R,M,U,oe,N,T,k,A;if(f===0)l!==0&&(Ue(i),i=[],s=[],r=[],l=0,o&&(o=[])),n.fallback&&(s=[At],r[0]=ve(Te=>(i[0]=Te,n.fallback())),l=1);else if(l===0){for(r=new Array(f),c=0;c<f;c++)s[c]=a[c],r[c]=ve(h);l=f}else{for(M=new Array(f),U=new Array(f),o&&(oe=new Array(f)),N=0,T=Math.min(l,f);N<T&&s[N]===a[N];N++);for(T=l-1,k=f-1;T>=N&&k>=N&&s[T]===a[k];T--,k--)M[k]=r[T],U[k]=i[T],o&&(oe[k]=o[T]);for(g=new Map,R=new Array(k+1),c=k;c>=N;c--)A=a[c],u=g.get(A),R[c]=u===void 0?-1:u,g.set(A,c);for(u=N;u<=T;u++)A=s[u],c=g.get(A),c!==void 0&&c!==-1?(M[c]=r[u],U[c]=i[u],o&&(oe[c]=o[u]),c=R[c],g.set(A,c)):i[u]();for(c=N;c<f;c++)c in M?(r[c]=M[c],i[c]=U[c],o&&(o[c]=oe[c],o[c](c))):r[c]=ve(h);r=r.slice(0,l=f),s=a.slice(0)}return r});function h(g){if(i[c]=g,o){const[R,M]=D(c);return o[c]=M,t(a[c],R)}return t(a[c])}}}function ae(e,t){return O(()=>e(t||{}))}function we(){return!0}var Ie={get(e,t,n){return t===be?n:e.get(t)},has(e,t){return t===be?!0:e.has(t)},set:we,deleteProperty:we,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:we,deleteProperty:we}},ownKeys(e){return e.keys()}};function ke(e){return(e=typeof e=="function"?e():e)?e:{}}function Ct(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function vn(...e){let t=!1;for(let l=0;l<e.length;l++){const o=e[l];t=t||!!o&&be in o,e[l]=typeof o=="function"?(t=!0,x(o)):o}if(Je&&t)return new Proxy({get(l){for(let o=e.length-1;o>=0;o--){const a=ke(e[o])[l];if(a!==void 0)return a}},has(l){for(let o=e.length-1;o>=0;o--)if(l in ke(e[o]))return!0;return!1},keys(){const l=[];for(let o=0;o<e.length;o++)l.push(...Object.keys(ke(e[o])));return[...new Set(l)]}},Ie);const n={},s=Object.create(null);for(let l=e.length-1;l>=0;l--){const o=e[l];if(!o)continue;const a=Object.getOwnPropertyNames(o);for(let f=a.length-1;f>=0;f--){const u=a[f];if(u==="__proto__"||u==="constructor")continue;const c=Object.getOwnPropertyDescriptor(o,u);if(!s[u])s[u]=c.get?{enumerable:!0,configurable:!0,get:Ct.bind(n[u]=[c.get.bind(o)])}:c.value!==void 0?c:void 0;else{const h=n[u];h&&(c.get?h.push(c.get.bind(o)):c.value!==void 0&&h.push(()=>c.value))}}}const r={},i=Object.keys(s);for(let l=i.length-1;l>=0;l--){const o=i[l],a=s[o];a&&a.get?Object.defineProperty(r,o,a):r[o]=a?a.value:void 0}return r}function Dt(e,...t){const n=t.length;if(Je&&be in e){const r=n>1?t.flat():t[0],i=t.map(l=>new Proxy({get(o){return l.includes(o)?e[o]:void 0},has(o){return l.includes(o)&&o in e},keys(){return l.filter(o=>o in e)}},Ie));return i.push(new Proxy({get(l){return r.includes(l)?void 0:e[l]},has(l){return r.includes(l)?!1:l in e},keys(){return Object.keys(e).filter(l=>!r.includes(l))}},Ie)),i}const s=[];for(let r=0;r<=n;r++)s[r]={};for(const r of Object.getOwnPropertyNames(e)){let i=n;for(let o=0;o<t.length;o++)if(t[o].includes(r)){i=o;break}const l=Object.getOwnPropertyDescriptor(e,r);!l.get&&!l.set&&l.enumerable&&l.writable&&l.configurable?s[i][r]=l.value:Object.defineProperty(s[i],r,l)}return s}function lt(e){let t,n;const s=r=>{const i=d.context;if(i){const[o,a]=D();d.count||(d.count=0),d.count++,(n||(n=e())).then(f=>{!d.done&&ie(i),d.count--,a(()=>f.default),ie()}),t=o}else if(!t){const[o]=wt(()=>(n||(n=e())).then(a=>a.default));t=o}let l;return x(()=>(l=t())?O(()=>{if(!i||d.done)return l(r);const o=d.context;ie(i);const a=l(r);return ie(o),a}):"")};return s.preload=()=>n||((n=e()).then(r=>t=()=>r.default),n),s}var Rt=0;function pn(){return d.context?d.getNextContextId():`cl-${Rt++}`}var at=e=>`Stale read from <${e}>.`;function bn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(Tt(()=>e.each,e.children,t||void 0))}function Sn(e){const t=e.keyed,n=x(()=>e.when,void 0,void 0),s=t?n:x(n,void 0,{equals:(r,i)=>!r==!i});return x(()=>{const r=s();if(r){const i=e.children;return typeof i=="function"&&i.length>0?O(()=>i(t?r:()=>{if(!O(s))throw at("Show");return n()})):i}return e.fallback},void 0,void 0)}function xn(e){const t=nt(()=>e.children),n=x(()=>{const s=t(),r=Array.isArray(s)?s:[s];let i=()=>{};for(let l=0;l<r.length;l++){const o=l,a=r[l],f=i,u=x(()=>f()?void 0:a.when,void 0,void 0),c=a.keyed?u:x(u,void 0,{equals:(h,g)=>!h==!g});i=()=>f()||(c()?[o,u,a]:void 0)}return i});return x(()=>{const s=n()();if(!s)return e.fallback;const[r,i,l]=s,o=l.children;return typeof o=="function"&&o.length>0?O(()=>o(l.keyed?i():()=>{var a;if(((a=O(n)())==null?void 0:a[0])!==r)throw at("Match");return i()})):o},void 0,void 0)}function En(e){return e}var Nt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable","allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"]),kt=new Set(["innerHTML","textContent","innerText","children"]),Mt=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),It=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function $t(e,t){const n=It[e];return typeof n=="object"?n[t]?n.$:void 0:n}var Lt=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),jt=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),_t={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},On=e=>x(()=>e());function Ft(e,t,n){let s=n.length,r=t.length,i=s,l=0,o=0,a=t[r-1].nextSibling,f=null;for(;l<r||o<i;){if(t[l]===n[o]){l++,o++;continue}for(;t[r-1]===n[i-1];)r--,i--;if(r===l){const u=i<s?o?n[o-1].nextSibling:n[i-o]:a;for(;o<i;)e.insertBefore(n[o++],u)}else if(i===o)for(;l<r;)(!f||!f.has(t[l]))&&t[l].remove(),l++;else if(t[l]===n[i-1]&&n[o]===t[r-1]){const u=t[--r].nextSibling;e.insertBefore(n[o++],t[l++].nextSibling),e.insertBefore(n[--i],u),t[r]=n[i]}else{if(!f){f=new Map;let c=o;for(;c<i;)f.set(n[c],c++)}const u=f.get(t[l]);if(u!=null)if(o<u&&u<i){let c=l,h=1,g;for(;++c<r&&c<i&&!((g=f.get(t[c]))==null||g!==u+h);)h++;if(h>u-o){const R=t[l];for(;o<u;)e.insertBefore(n[o++],R)}else e.replaceChild(n[o++],t[l++])}else l++;else t[l++].remove()}}}var Ge="_$DX_DELEGATE";function ct(e,t,n,s={}){let r;return ve(i=>{r=i,t===document?e():Yt(t,e(),t.firstChild?null:void 0,n)},s.owner),()=>{r(),t.textContent=""}}function Pn(e,t,n,s){let r;const i=()=>{const o=document.createElement("template");return o.innerHTML=e,o.content.firstChild},l=t?()=>O(()=>document.importNode(r||(r=i()),!0)):()=>(r||(r=i())).cloneNode(!0);return l.cloneNode=l,l}function Vt(e,t=window.document){const n=t[Ge]||(t[Ge]=new Set);for(let s=0,r=e.length;s<r;s++){const i=e[s];n.has(i)||(n.add(i),t.addEventListener(i,Zt))}}function $e(e,t,n){B(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Bt(e,t,n,s){B(e)||(s==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,s))}function Ut(e,t,n){B(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Gt(e,t){B(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Ht(e,t,n,s){if(s)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=i=>r.call(e,n[1],i))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Kt(e,t,n={}){const s=Object.keys(t||{}),r=Object.keys(n);let i,l;for(i=0,l=r.length;i<l;i++){const o=r[i];!o||o==="undefined"||t[o]||(He(e,o,!1),delete n[o])}for(i=0,l=s.length;i<l;i++){const o=s[i],a=!!t[o];!o||o==="undefined"||n[o]===a||!a||(He(e,o,!0),n[o]=a)}return n}function qt(e,t,n){if(!t)return n?$e(e,"style"):t;const s=e.style;if(typeof t=="string")return s.cssText=t;typeof n=="string"&&(s.cssText=n=void 0),n||(n={}),t||(t={});let r,i;for(i in n)t[i]??s.removeProperty(i),delete n[i];for(i in t)r=t[i],r!==n[i]&&(s.setProperty(i,r),n[i]=r);return n}function Xt(e,t={},n,s){const r={};return s||V(()=>r.children=ue(e,t.children,r.children)),V(()=>typeof t.ref=="function"&&Wt(t.ref,e)),V(()=>zt(e,t,n,!0,r,!0)),r}function Wt(e,t,n){return O(()=>e(t,n))}function Yt(e,t,n,s){if(n!==void 0&&!s&&(s=[]),typeof t!="function")return ue(e,t,s,n);V(r=>ue(e,t(),r,n),s)}function zt(e,t,n,s,r={},i=!1){t||(t={});for(const l in r)if(!(l in t)){if(l==="children")continue;r[l]=Ke(e,l,null,r[l],n,i,t)}for(const l in t){if(l==="children")continue;const o=t[l];r[l]=Ke(e,l,o,r[l],n,i,t)}}function Qt(e){let t,n;return!B()||!(t=d.registry.get(n=en()))?e():(d.completed&&d.completed.add(t),d.registry.delete(n),t)}function B(e){return!!d.context&&!d.done&&(!e||e.isConnected)}function Jt(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function He(e,t,n){const s=t.trim().split(/\s+/);for(let r=0,i=s.length;r<i;r++)e.classList.toggle(s[r],n)}function Ke(e,t,n,s,r,i,l){let o,a,f,u,c;if(t==="style")return qt(e,n,s);if(t==="classList")return Kt(e,n,s);if(n===s)return s;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){const h=t.slice(3);s&&e.removeEventListener(h,s,typeof s!="function"&&s),n&&e.addEventListener(h,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const h=t.slice(10);s&&e.removeEventListener(h,s,!0),n&&e.addEventListener(h,n,!0)}else if(t.slice(0,2)==="on"){const h=t.slice(2).toLowerCase(),g=Lt.has(h);if(!g&&s){const R=Array.isArray(s)?s[0]:s;e.removeEventListener(h,R)}(g||n)&&(Ht(e,h,n,g),g&&Vt([h]))}else if(t.slice(0,5)==="attr:")$e(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Ut(e,t.slice(5),n);else if((c=t.slice(0,5)==="prop:")||(f=kt.has(t))||!r&&((u=$t(t,e.tagName))||(a=Nt.has(t)))||(o=e.nodeName.includes("-")||"is"in l)){if(c)t=t.slice(5),a=!0;else if(B(e))return n;t==="class"||t==="className"?Gt(e,n):o&&!a&&!f?e[Jt(t)]=n:e[u||t]=n}else{const h=r&&t.indexOf(":")>-1&&_t[t.split(":")[0]];h?Bt(e,h,t,n):$e(e,Mt[t]||t,n)}return n}function Zt(e){if(d.registry&&d.events&&d.events.find(([a,f])=>f===e))return;let t=e.target;const n=`$$${e.type}`,s=e.target,r=e.currentTarget,i=a=>Object.defineProperty(e,"target",{configurable:!0,value:a}),l=()=>{const a=t[n];if(a&&!t.disabled){const f=t[`${n}Data`];if(f!==void 0?a.call(t,f,e):a.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},o=()=>{for(;l()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),d.registry&&!d.done&&(d.done=_$HY.done=!0),e.composedPath){const a=e.composedPath();i(a[0]);for(let f=0;f<a.length-2&&(t=a[f],!!l());f++){if(t._$host){t=t._$host,o();break}if(t.parentNode===r)break}}else o();i(s)}function ue(e,t,n,s,r){const i=B(e);if(i){!n&&(n=[...e.childNodes]);let a=[];for(let f=0;f<n.length;f++){const u=n[f];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():a.push(u)}n=a}for(;typeof n=="function";)n=n();if(t===n)return n;const l=typeof t,o=s!==void 0;if(e=o&&n[0]&&n[0].parentNode||e,l==="string"||l==="number"){if(i||l==="number"&&(t=t.toString(),t===n))return n;if(o){let a=n[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),n=G(e,n,s,a)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||l==="boolean"){if(i)return n;n=G(e,n,s)}else{if(l==="function")return V(()=>{let a=t();for(;typeof a=="function";)a=a();n=ue(e,a,n,s)}),()=>n;if(Array.isArray(t)){const a=[],f=n&&Array.isArray(n);if(Le(a,t,n,r))return V(()=>n=ue(e,a,n,s,!0)),()=>n;if(i){if(!a.length)return n;if(s===void 0)return n=[...e.childNodes];let u=a[0];if(u.parentNode!==e)return n;const c=[u];for(;(u=u.nextSibling)!==s;)c.push(u);return n=c}if(a.length===0){if(n=G(e,n,s),o)return n}else f?n.length===0?qe(e,a,s):Ft(e,n,a):(n&&G(e),qe(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=o?[t]:t;if(Array.isArray(n)){if(o)return n=G(e,n,s,t);G(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Le(e,t,n,s){let r=!1;for(let i=0,l=t.length;i<l;i++){let o=t[i],a=n&&n[e.length],f;if(!(o==null||o===!0||o===!1))if((f=typeof o)=="object"&&o.nodeType)e.push(o);else if(Array.isArray(o))r=Le(e,o,a)||r;else if(f==="function")if(s){for(;typeof o=="function";)o=o();r=Le(e,Array.isArray(o)?o:[o],Array.isArray(a)?a:[a])||r}else e.push(o),r=!0;else{const u=String(o);a&&a.nodeType===3&&a.data===u?e.push(a):e.push(document.createTextNode(u))}}return r}function qe(e,t,n=null){for(let s=0,r=t.length;s<r;s++)e.insertBefore(t[s],n)}function G(e,t,n,s){if(n===void 0)return e.textContent="";const r=s||document.createTextNode("");if(t.length){let i=!1;for(let l=t.length-1;l>=0;l--){const o=t[l];if(r!==o){const a=o.parentNode===e;!i&&!l?a?e.replaceChild(r,o):e.insertBefore(r,n):a&&o.remove()}else i=!0}}else e.insertBefore(r,n);return[r]}function en(){return d.getNextContextId()}var tn="http://www.w3.org/2000/svg";function nn(e,t=!1,n=void 0){return t?document.createElementNS(tn,e):document.createElement(e,{is:n})}function sn(e,t){const n=x(e);return x(()=>{const s=n();switch(typeof s){case"function":return O(()=>s(t));case"string":const r=jt.has(s),i=d.context?Qt():nn(s,r,O(()=>t.is));return Xt(i,t,r),i}})}function An(e){const[,t]=Dt(e,["component"]);return sn(()=>e.component,t)}var ut=tt(void 0),ft=tt(void 0),Tn=()=>{const e=bt(ft);if(!e)throw new Error("useDevtoolsOnClose must be used within a TanStackRouterDevtools component");return e},H,K,q,X,W,fe,de,he,Y,_,z,ge,Xe,on=(Xe=class{constructor(e){p(this,H);p(this,K);p(this,q);p(this,X);p(this,W);p(this,fe);p(this,de);p(this,he);p(this,Y);p(this,_,!1);p(this,z);p(this,ge);m(this,H,D(e.router)),m(this,K,D(e.routerState)),m(this,q,e.position??"bottom-left"),m(this,X,e.initialIsOpen??!1),m(this,W,e.shadowDOMTarget),m(this,fe,e.panelProps),m(this,de,e.closeButtonProps),m(this,he,e.toggleButtonProps),m(this,Y,e.containerElement)}mount(e){if(y(this,_))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,H),[s]=y(this,K),r=y(this,q),i=y(this,X),l=y(this,W),o=y(this,fe),a=y(this,de),f=y(this,he),u=y(this,Y);let c;return y(this,z)?c=y(this,z):(c=lt(()=>Ye(()=>import("./FloatingTanStackRouterDevtools-CqogiFob-CnSp2ZEM.js"),__vite__mapDeps([0,1,2,3]))),m(this,z,c)),ae(ut.Provider,{value:l,get children(){return ae(c,{position:r,initialIsOpen:i,router:n,routerState:s,shadowDOMTarget:l,panelProps:o,closeButtonProps:a,toggleButtonProps:f,containerElement:u})}})},e);m(this,_,!0),m(this,ge,t)}unmount(){var e;if(!y(this,_))throw new Error("Devtools is not mounted");(e=y(this,ge))==null||e.call(this),m(this,_,!1)}setRouter(e){y(this,H)[1](e)}setRouterState(e){y(this,K)[1](e)}setOptions(e){e.position!==void 0&&m(this,q,e.position),e.initialIsOpen!==void 0&&m(this,X,e.initialIsOpen),e.shadowDOMTarget!==void 0&&m(this,W,e.shadowDOMTarget),e.containerElement!==void 0&&m(this,Y,e.containerElement)}},H=new WeakMap,K=new WeakMap,q=new WeakMap,X=new WeakMap,W=new WeakMap,fe=new WeakMap,de=new WeakMap,he=new WeakMap,Y=new WeakMap,_=new WeakMap,z=new WeakMap,ge=new WeakMap,Xe),Q,J,Z,ee,te,F,ye,me,ne,We,rn=(We=class{constructor(e){p(this,Q);p(this,J);p(this,Z);p(this,ee);p(this,te);p(this,F,!1);p(this,ye);p(this,me);p(this,ne);const{router:t,routerState:n,shadowDOMTarget:s,setIsOpen:r,style:i,className:l}=e;m(this,Q,D(t)),m(this,J,D(n)),m(this,Z,D(i)),m(this,ee,D(l)),m(this,te,s),m(this,ye,r)}mount(e){if(y(this,F))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,Q),[s]=y(this,J),[r]=y(this,Z),[i]=y(this,ee),l=y(this,te),o=y(this,ye);let a;return y(this,ne)?a=y(this,ne):(a=lt(()=>Ye(()=>import("./BaseTanStackRouterDevtoolsPanel-B-iktbLX-_zVrHu5s.js"),__vite__mapDeps([1,2,3]))),m(this,ne,a)),ae(ut.Provider,{value:l,get children(){return ae(ft.Provider,{value:{onCloseClick:()=>{}},get children(){return ae(a,{router:n,routerState:s,shadowDOMTarget:l,setIsOpen:o,style:r,className:i})}})}})},e);m(this,F,!0),m(this,me,t)}unmount(){var e;if(!y(this,F))throw new Error("Devtools is not mounted");(e=y(this,me))==null||e.call(this),m(this,F,!1)}setRouter(e){y(this,Q)[1](e)}setRouterState(e){y(this,J)[1](e)}setStyle(e){y(this,Z)[1](e)}setClassName(e){y(this,ee)[1](e)}setOptions(e){e.shadowDOMTarget!==void 0&&m(this,te,e.shadowDOMTarget),e.router!==void 0&&this.setRouter(e.router),e.routerState!==void 0&&this.setRouterState(e.routerState),e.style!==void 0&&this.setStyle(e.style),e.className!==void 0&&this.setClassName(e.className)}},Q=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,F=new WeakMap,ye=new WeakMap,me=new WeakMap,ne=new WeakMap,We);function ln(e){const{initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:i,containerElement:l,shadowDOMTarget:o,router:a}=e,f=ze(),u=a??f,c=Qe({router:u}),h=C.useRef(null),[g]=C.useState(()=>new on({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:i,containerElement:l,shadowDOMTarget:o,router:u,routerState:c}));return C.useEffect(()=>{g.setRouter(u)},[g,u]),C.useEffect(()=>{g.setRouterState(c)},[g,c]),C.useEffect(()=>{g.setOptions({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:i,containerElement:l,shadowDOMTarget:o})},[g,t,n,s,r,i,l,o]),C.useEffect(()=>(h.current&&g.mount(h.current),()=>{g.unmount()}),[g]),le.jsx(C.Fragment,{children:le.jsx("div",{ref:h})})}var an=e=>{const{router:t,...n}=e,s=ze(),r=t??s,i=Qe({router:r}),l=C.useRef(null),[o]=C.useState(()=>new rn({...n,router:r,routerState:i}));return C.useEffect(()=>{o.setRouter(r)},[o,r]),C.useEffect(()=>{o.setRouterState(i)},[o,i]),C.useEffect(()=>{o.setOptions({className:e.className,style:e.style,shadowDOMTarget:e.shadowDOMTarget})},[o,e.className,e.style,e.shadowDOMTarget]),C.useEffect(()=>(l.current&&o.mount(l.current),()=>{o.unmount()}),[o]),le.jsx(le.Fragment,{children:le.jsx("div",{ref:l})})},cn=function(){return null},un=ln,fn=function(){return null},dn=an;const Cn=Object.freeze(Object.defineProperty({__proto__:null,TanStackRouterDevtools:cn,TanStackRouterDevtoolsInProd:un,TanStackRouterDevtoolsPanel:fn,TanStackRouterDevtoolsPanelInProd:dn},Symbol.toStringTag,{value:"Module"}));export{ft as D,bn as F,En as M,xn as S,yn as a,x as b,D as c,ae as d,V as e,Gt as f,An as g,pn as h,Yt as i,$e as j,Ht as k,On as l,vn as m,bt as n,Sn as o,vt as p,O as q,ut as r,Xt as s,Pn as t,Tn as u,Vt as v,Cn as w};
@@ -0,0 +1 @@
1
+ import{ho as ve,j as e,hp as Ne,hq as ye,hr as R,hs as we,ht as Z,cV as re,cp as ie,r as S,am as D,gy as E,H as _,aW as O,X as q,hu as be,hv as Ce,gb as B,gc as H,B as $,f as K,gd as X,a6 as oe,a7 as de,a8 as le,hw as z,hx as ce,dL as C,hy as me,hz as Se,hA as ue,hB as ke,hC as he,fJ as Ee,a4 as $e,be as Ae,g1 as Pe,hD as Te,fX as Re,fY as De,hE as _e,hF as Oe,U as ze,G as F,ex as Ie,hG as ee,hH as Le,hI as Me,a2 as M,a3 as Fe,hJ as Ue,hK as qe,hL as Be,hM as He,hN as Ke,hO as Xe,hP as Ye,hQ as Ve,hR as se,eZ as Ge,hS as Qe,hT as te}from"./index-MHIn2TC9.js";import{hU as Ts,hV as Rs,hW as Ds,hX as _s,hY as Os,f$ as zs}from"./index-MHIn2TC9.js";import{u as Je}from"./use-deep-link-scroll-CtbBPBgi.js";import{M as xe}from"./more-details-BW9mauVT.js";import{u as We,a as Ze}from"./ForwardConsentHost-4LhRvCdu.js";import{F as Ls}from"./ForwardConsentHost-4LhRvCdu.js";import{C as Y,a as V,b as G,c as Q,d as A,e as P}from"./command-B_FPXirc.js";import{F as ge}from"./file-text-DvNAxTGZ.js";const es=["server_crashed","server_out_of_memory","server_unresponsive","isolation_unavailable","server_start_failed","server_start_timeout"],ss={server_crashed:s=>`${s} stopped unexpectedly 3 times. Reload it to try again.`,server_out_of_memory:s=>`${s} ran out of memory and stopped. Reload it to try again.`,server_unresponsive:s=>`${s} stopped responding, so DorkOS stopped it.`,isolation_unavailable:s=>`${s} can’t run with its limits on this computer.`,server_start_failed:s=>`${s} couldn’t start. Reload it to try again.`,server_start_timeout:s=>`${s} took too long to start. Reload it to try again.`};function U(s){return es.includes(s)}function ts(s,t){return U(s)?ss[s](t):null}function ns(s){return`Restarting ${s}…`}function as({extensionId:s}){const t=ve("right-panel").filter(n=>n.extensionId===s);return t.length===0?null:e.jsx("div",{className:"space-y-3 pt-1","data-testid":`panel-tab-placement-${s}`,children:t.map(n=>e.jsx(is,{tab:n,labelled:t.length>1},n.id))})}function rs(){var n;const s=(n=re().data)==null?void 0:n.agents,t=ie().data;return S.useMemo(()=>{const l=new Map((s??[]).map(a=>[a.id,D(a)])),i=new Map((t??[]).map(a=>[a.id,E(a)]));return{agents:s??[],rooms:t??[],agentNames:l,roomNames:i}},[s,t])}function is({tab:s,labelled:t}){const n=Ne(We(),s.id),{setPlacement:l}=Ze(),i=rs(),a=ye(n,s.declaredPlacement),h=a.show.pages.includes(R),u=d=>l(s.id,{show:d.show,hide:d.hide}),c=d=>d.kind==="agents"?i.agentNames.get(d.id)??"An agent that is gone":d.kind==="rooms"?i.roomNames.get(d.id)??"A channel that is gone":be(d.id),r=(d,f)=>["agents","rooms","pages"].flatMap(j=>d[j].filter(y=>f||y!==R).map(y=>({kind:j,id:y}))),o=(d,f)=>({...d,[f.kind]:d[f.kind].filter(j=>j!==f.id)}),v=r(a.show,!1),p=r(a.hide,!0);return e.jsxs("div",{className:"space-y-2","data-testid":`panel-tab-placement-${s.id}`,children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("span",{className:"text-sm",children:t?`${s.title} tab shows`:"Panel tab shows"}),e.jsxs(we,{value:h?"everywhere":"only",onValueChange:d=>u({hide:a.hide,show:d==="everywhere"?{...a.show,pages:[R]}:{...a.show,pages:a.show.pages.filter(f=>f!==R)}}),"aria-label":`Where the ${s.title} tab shows`,children:[e.jsx(Z,{value:"everywhere",children:"Everywhere"}),e.jsx(Z,{value:"only",children:"Only in…"})]}),n&&e.jsx("button",{type:"button",onClick:()=>l(s.id,null),className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm text-xs underline underline-offset-2",children:s.declaredPlacement?"Use its default":"Reset"})]}),!h&&e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[v.map(d=>e.jsx(ne,{place:d,name:c(d),removeLabel:`Remove ${c(d)}`,onRemove:()=>u({...a,show:o(a.show,d)})},`${d.kind}:${d.id}`)),e.jsx(ds,{tabTitle:s.title,names:i,taken:a.show,onAdd:d=>u({show:{...a.show,[d.kind]:[...a.show[d.kind],d.id]},hide:o(a.hide,d)})}),v.length===0&&e.jsx("span",{className:"text-muted-foreground text-xs",children:"Shows nowhere yet. Add a place."})]}),p.length>0&&e.jsxs("div",{role:"group","aria-labelledby":`${s.id}-hidden-in`,className:"flex flex-wrap items-center gap-1.5",children:[e.jsx("span",{id:`${s.id}-hidden-in`,className:"text-muted-foreground text-xs",children:"Hidden in"}),p.map(d=>e.jsx(ne,{place:d,name:c(d),removeLabel:`Show in ${c(d)} again`,onRemove:()=>u({...a,hide:o(a.hide,d)})},`${d.kind}:${d.id}`))]})]})}const os={agents:O,rooms:_,pages:ge};function ne({place:s,name:t,removeLabel:n,onRemove:l}){const i=os[s.kind];return e.jsxs("span",{className:"bg-muted inline-flex h-6 items-center gap-1 rounded-md pr-0.5 pl-1.5 text-xs",children:[e.jsx(i,{className:"text-muted-foreground size-3","aria-hidden":!0}),e.jsx("span",{className:"max-w-40 truncate",children:t}),e.jsx("button",{type:"button",onClick:l,"aria-label":n,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm p-0.5",children:e.jsx(q,{className:"size-3"})})]})}function ds({tabTitle:s,names:t,taken:n,onAdd:l}){const[i,a]=S.useState(!1),h=o=>{l(o),a(!1)},u=Ce.filter(o=>!n.pages.includes(o.key)),c=t.agents.filter(o=>!n.agents.includes(o.id)),r=t.rooms.filter(o=>!n.rooms.includes(o.id));return e.jsxs(B,{open:i,onOpenChange:a,children:[e.jsx(H,{asChild:!0,children:e.jsxs($,{variant:"ghost",size:"sm",className:"h-6 px-1.5 text-xs","aria-label":`Add a place for the ${s} tab`,children:[e.jsx(K,{className:"size-3"}),"Add"]})}),e.jsx(X,{align:"start",className:"w-64 p-0",children:e.jsxs(Y,{children:[e.jsx(V,{placeholder:"Find an agent, channel or page"}),e.jsxs(G,{className:"max-h-64",children:[e.jsx(Q,{children:"Nothing matches."}),c.length>0&&e.jsx(A,{heading:"Agents",children:c.map(o=>e.jsxs(P,{value:`agent ${D(o)} ${o.id}`,onSelect:()=>h({kind:"agents",id:o.id}),children:[e.jsx(O,{className:"size-3.5"}),D(o)]},o.id))}),r.length>0&&e.jsx(A,{heading:"Channels and DMs",children:r.map(o=>e.jsxs(P,{value:`room ${E(o)} ${o.id}`,onSelect:()=>h({kind:"rooms",id:o.id}),children:[e.jsx(_,{className:"size-3.5"}),E(o)]},o.id))}),u.length>0&&e.jsx(A,{heading:"Pages",children:u.map(o=>e.jsxs(P,{value:`page ${o.label}`,onSelect:()=>h({kind:"pages",id:o.key}),children:[e.jsx(ge,{className:"size-3.5"}),o.label]},o.key))})]})]})})]})}const pe=s=>[...ce.detail(s),"room-access"];function ls(s){return oe({queryKey:pe(s),queryFn:async()=>{const t=await fetch(z(`/extensions/${s}/room-access`));if(!t.ok)throw new Error(`Couldn’t load the rooms. The server answered ${t.status}.`);return(await t.json()).roomIds}})}function cs(s){const t=de();return le({mutationFn:async n=>{const l=await fetch(z(`/extensions/${s}/room-access`),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({roomIds:n})});if(!l.ok){const i=await l.json().catch(()=>({}));throw new Error(i.message??i.error??"Couldn’t save the rooms. Try again.")}return(await l.json()).roomIds},onSuccess:n=>{t.setQueryData(pe(s),n)}})}function ms({extensionId:s,name:t}){const n=ls(s).data??[],{mutate:l}=cs(s),i=ie().data,a=S.useMemo(()=>(i??[]).filter(r=>!r.bridge),[i]),h=S.useMemo(()=>new Map((i??[]).map(r=>[r.id,E(r)])),[i]),u=r=>l(r,{onError:o=>C.error(o.message)}),c=r=>h.get(r)??"A room that is gone";return e.jsxs("div",{className:"space-y-1.5 pt-1","data-testid":`room-access-${s}`,children:[e.jsx("p",{className:"text-sm",children:"Rooms it can use"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[n.map(r=>e.jsxs("span",{className:"bg-muted inline-flex h-6 items-center gap-1 rounded-md pr-0.5 pl-1.5 text-xs",children:[e.jsx(_,{className:"text-muted-foreground size-3","aria-hidden":!0}),e.jsx("span",{className:"max-w-40 truncate",children:c(r)}),e.jsx("button",{type:"button",onClick:()=>u(n.filter(o=>o!==r)),"aria-label":`Remove ${c(r)}`,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm p-0.5",children:e.jsx(q,{className:"size-3"})})]},r)),e.jsx(us,{name:t,rooms:a.filter(r=>!n.includes(r.id)),onAdd:r=>u([...n,r])})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:n.length===0?"None yet. It can’t read or reply anywhere.":"It reads and replies as you, only here."})]})}function us({name:s,rooms:t,onAdd:n}){const[l,i]=S.useState(!1);return e.jsxs(B,{open:l,onOpenChange:i,children:[e.jsx(H,{asChild:!0,children:e.jsxs($,{variant:"ghost",size:"sm",className:"h-6 px-1.5 text-xs","aria-label":`Add a room for ${s}`,children:[e.jsx(K,{className:"size-3"}),"Add"]})}),e.jsx(X,{align:"start",className:"w-64 p-0",children:e.jsxs(Y,{children:[e.jsx(V,{placeholder:"Find a channel or DM"}),e.jsxs(G,{className:"max-h-64",children:[e.jsx(Q,{children:"Nothing matches."}),t.length>0&&e.jsx(A,{heading:"Channels and DMs",children:t.map(a=>e.jsxs(P,{value:`room ${E(a)} ${a.id}`,onSelect:()=>{n(a.id),i(!1)},children:[e.jsx(_,{className:"size-3.5"}),E(a)]},a.id))})]})]})})]})}const fe=s=>[...ce.detail(s),"forward-agents"];function hs(s){return oe({queryKey:fe(s),queryFn:async()=>{const t=await fetch(z(`/extensions/${s}/forward-agents`),{headers:{"X-Client-Id":me()}});if(!t.ok)throw new Error(`Couldn’t load the agents. The server answered ${t.status}.`);return await t.json()}})}function xs(s){const t=de();return le({mutationFn:async n=>{const l=await fetch(z(`/extensions/${s}/forward-agents`),{method:"PUT",headers:{"Content-Type":"application/json","X-Client-Id":me()},body:JSON.stringify({agentIds:n})});if(!l.ok){const i=await l.json().catch(()=>({}));throw new Error(i.message??i.error??"Couldn’t save the agents. Try again.")}return await l.json()},onSuccess:n=>{t.setQueryData(fe(s),n)}})}function gs({extensionId:s,name:t}){var c;const n=hs(s).data,{mutate:l}=xs(s),i=((c=re().data)==null?void 0:c.agents)??[],a=[...(n==null?void 0:n.agents)??[],...((n==null?void 0:n.missing)??[]).map(r=>({id:r,name:"An agent that is gone"}))],h=a.map(r=>r.id),u=r=>l(r,{onError:o=>C.error(o.message)});return e.jsxs("div",{className:"space-y-1.5 pt-1","data-testid":`forward-agents-${s}`,children:[e.jsx("p",{className:"text-sm",children:"Sends your comments to"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[a.map(r=>e.jsxs("span",{className:"bg-muted inline-flex h-6 items-center gap-1 rounded-md pr-0.5 pl-1.5 text-xs",children:[e.jsx(O,{className:"text-muted-foreground size-3","aria-hidden":!0}),e.jsx("span",{className:"max-w-40 truncate",children:r.name}),e.jsx("button",{type:"button",onClick:()=>u(h.filter(o=>o!==r.id)),"aria-label":`Remove ${r.name}`,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm p-0.5",children:e.jsx(q,{className:"size-3"})})]},r.id)),e.jsx(ps,{name:t,agents:i.filter(r=>!h.includes(r.id)).map(r=>({id:r.id,name:D(r)})),onAdd:r=>u([...h,r])})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:a.length===0?"None yet. It asks you the first time you send a comment.":"Your comments reach these agents as your own words."})]})}function ps({name:s,agents:t,onAdd:n}){const[l,i]=S.useState(!1);return e.jsxs(B,{open:l,onOpenChange:i,children:[e.jsx(H,{asChild:!0,children:e.jsxs($,{variant:"ghost",size:"sm",className:"h-6 px-1.5 text-xs","aria-label":`Add an agent for ${s}`,children:[e.jsx(K,{className:"size-3"}),"Add"]})}),e.jsx(X,{align:"start",className:"w-64 p-0",children:e.jsxs(Y,{children:[e.jsx(V,{placeholder:"Find an agent"}),e.jsxs(G,{className:"max-h-64",children:[e.jsx(Q,{children:"Nothing matches."}),t.length>0&&e.jsx(A,{heading:"Agents",children:t.map(a=>e.jsxs(P,{value:`agent ${a.name} ${a.id}`,onSelect:()=>{n(a.id),i(!1)},children:[e.jsx(O,{className:"size-3.5"}),a.name]},a.id))})]})]})})]})}function fs({risk:s,id:t,name:n,onTurnOff:l,isToggling:i}){const a=Se(),h=s.agentName??"an agent",u=a.isPending||i;return e.jsxs("div",{className:"text-status-warning-fg flex flex-wrap items-center gap-x-2 gap-y-1 text-sm","data-testid":`extension-step-up-risk-${t}`,children:[e.jsx("p",{children:s.reason==="agent-folder"?`${h} can edit this, so confirming is off.`:"Changed since you approved it, so confirming is off."}),s.reason==="agent-folder"?e.jsxs("button",{type:"button",onClick:()=>a.mutate({id:t,name:n}),disabled:u,className:"text-muted-foreground hover:text-foreground focus-ring min-h-11 rounded-sm text-left text-xs underline underline-offset-2 disabled:opacity-50 sm:min-h-0",children:["Move out of ",h,"’s folder"]}):e.jsx("button",{type:"button",onClick:l,disabled:u,className:"text-muted-foreground hover:text-foreground focus-ring min-h-11 rounded-sm text-left text-xs underline underline-offset-2 disabled:opacity-50 sm:min-h-0",children:"Turn off"})]})}const js=new Set(["disabled","discovered","incompatible","invalid"]),vs="/marketplace?view=installed";function Ns({extension:s,onToggle:t,isToggling:n,onSetRunApproval:l,isSettingApproval:i,onReload:a,isReloading:h,stepUpRisk:u}){var J,W;const{manifest:c,status:r,scope:o,error:v,serverError:p,origin:d,approvedToRun:f}=s,[j,y]=S.useState(!1),m=!js.has(r),x=r==="incompatible",w=r==="invalid",g=r==="compile_error"||r==="activate_error",k=!x&&!w,N=!(d==="core"&&c.canDisable===!1),T=s.hasServerEntry||s.hasDataProxy,b=ue(s),je=ke(s.id,he(b)),I=g?"Not working":x?"Incompatible":w?"Can’t load":null;return e.jsx(Ee,{"data-slot":"extension-card","data-testid":`extension-card-${s.id}`,"data-section":s.id,radius:"lg",gap:"none",className:F(g&&"border-amber-500/50",(x||w)&&"opacity-70"),children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[g&&e.jsx($e,{className:"text-status-warning-dot size-4 shrink-0","aria-hidden":"true"}),(x||w)&&!g&&e.jsx(Ae,{className:"text-muted-foreground size-4 shrink-0","aria-hidden":"true"}),!g&&!x&&!w&&e.jsx(Pe,{className:"text-muted-foreground size-4 shrink-0","aria-hidden":"true"}),e.jsx("span",{className:"font-medium",children:c.name}),e.jsxs("span",{className:"text-muted-foreground text-sm",children:["v",c.version]}),s.devLink&&e.jsx(Te,{})]}),s.devLink&&e.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1","data-testid":`extension-dev-link-${s.id}`,children:[e.jsx(Re,{path:s.devLink.path,className:"min-w-0"}),e.jsx("button",{type:"button",onClick:()=>void De(vs),className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm text-xs underline underline-offset-2",children:"Unlink or switch"})]}),c.description&&e.jsx("p",{className:"text-muted-foreground text-sm",children:c.description}),e.jsx(_e,{gifts:Oe(s),"data-testid":`extension-agent-gifts-${s.id}`}),m&&e.jsx(as,{extensionId:s.id}),((J=c.capabilities)==null?void 0:J.rooms)===!0&&e.jsx(ms,{extensionId:s.id,name:c.name}),((W=c.capabilities)==null?void 0:W.forward)===!0&&e.jsx(gs,{extensionId:s.id,name:c.name}),x&&c.minHostVersion&&e.jsxs("p",{className:"text-muted-foreground text-sm",children:["Needs DorkOS ",c.minHostVersion," or newer"]}),g&&v&&e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"text-status-warning-fg text-sm",children:[r==="compile_error"?"Couldn’t build: ":"Couldn’t start: ",v.message]}),v.details&&e.jsxs("button",{type:"button",onClick:()=>y(L=>!L),className:"text-muted-foreground hover:text-foreground flex items-center gap-1 text-xs transition-colors","aria-expanded":j,children:[e.jsx(ze,{className:F("size-3 transition-transform",j&&"rotate-180")}),j?"Hide details":"Show details"]}),j&&v.details&&e.jsx("pre",{className:"bg-muted mt-1 max-h-32 overflow-auto rounded-md p-2 text-xs",children:v.details})]}),p&&U(p.code)&&e.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1","data-testid":`extension-server-status-${s.id}`,children:[e.jsx("p",{className:"text-status-warning-fg text-sm",children:p.message||ts(p.code,c.name)}),e.jsx("button",{type:"button",onClick:a,disabled:h,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm text-xs underline underline-offset-2 disabled:opacity-50",children:"Reload"})]}),s.restartingAt&&!p&&e.jsx("p",{className:"text-muted-foreground text-sm",role:"status",children:ns(c.name)}),p&&!U(p.code)&&e.jsxs("p",{className:"text-status-warning-fg text-sm",children:["Couldn’t rebuild its server part: ",p.message,". The last version still runs."]}),u&&e.jsx(fs,{risk:u,id:s.id,name:c.name,onTurnOff:()=>t(s.id,!1),isToggling:n}),d==="user"&&(f?e.jsxs("div",{className:"text-muted-foreground flex flex-wrap items-center gap-2 text-xs","data-testid":`extension-run-allowed-${s.id}`,children:[e.jsx(Ie,{className:"size-3.5 shrink-0","aria-hidden":"true"}),e.jsx("span",{children:"You allowed this to run."}),s.originProblem==="changed"&&e.jsx("span",{children:"You approved its changed files. Any further change asks again."}),e.jsx("button",{type:"button",onClick:()=>l(s.id,!1),disabled:i,className:"hover:text-foreground underline underline-offset-2 disabled:opacity-50",children:"Stop it"}),e.jsx(ee,{permissions:b,className:"basis-full","data-testid":`extension-permissions-${s.id}`})]}):e.jsxs("div",{className:"space-y-2 rounded-lg border border-amber-500/40 bg-amber-500/5 p-3","data-testid":`extension-needs-approval-${s.id}`,children:[e.jsx("p",{className:"text-sm font-medium",children:"This extension is waiting for you"}),s.originProblem&&e.jsx("p",{className:"text-status-warning-fg text-sm","data-testid":`extension-origin-problem-${s.id}`,children:s.originProblem==="changed"?"Its files changed after install, so DorkOS can’t vouch for it. Look it over first.":s.originProblem==="dev-link"?"It runs from your folder, so DorkOS can’t vouch for its source.":"Its plugin links to files elsewhere, so DorkOS can’t vouch for its source."}),e.jsx(ee,{permissions:b,added:je,"data-testid":`extension-permissions-${s.id}`}),e.jsx("p",{className:"text-muted-foreground text-sm",children:Le(T,(b==null?void 0:b.runtime)==="subprocess")}),e.jsx("p",{className:"text-muted-foreground text-sm",children:Me}),e.jsx($,{size:"sm",onClick:()=>l(s.id,!0),disabled:i,"data-testid":`extension-approve-run-${s.id}`,children:"Turn it on"})]})),e.jsxs("div",{className:"text-muted-foreground flex flex-wrap items-center gap-2 text-xs",children:[e.jsx(M,{variant:"outline",children:o}),I&&e.jsx(M,{variant:I==="Not working"?"destructive":"secondary","data-testid":`extension-health-${s.id}`,children:I}),c.author&&e.jsx("span",{children:c.author})]})]}),e.jsx("div",{className:"flex shrink-0 items-center pt-0.5",children:N?e.jsx(Fe,{checked:m,onCheckedChange:L=>t(s.id,L),disabled:!k||n,"aria-label":`${m?"Disable":"Enable"} ${c.name}`}):e.jsx(M,{variant:"secondary",title:"This extension is always on","data-testid":`extension-required-${s.id}`,children:"Required"})})]})})}function ae(s){const t=new Date(s);return Number.isNaN(t.getTime())?"":t.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}function ys(){const{data:s=[]}=Ue(),{stop:t,pendingSource:n}=qe();return s.length===0?null:e.jsxs("section",{className:"space-y-3","data-testid":"trusted-sources-section",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("h3",{className:"text-sm font-semibold",children:"Trusted sources"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Extensions from these sources turn on without asking."}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Stop trusting one, and extensions already on keep running."}),e.jsx(xe,{className:"text-muted-foreground text-sm",label:"If you stop trusting one",openLabel:"If you stop trusting one",children:e.jsx("p",{children:"Newer versions and new extensions from it wait for your yes."})})]}),e.jsx("ul",{className:"divide-y rounded-xl border",children:s.map(({source:l,trustedAt:i})=>e.jsxs("li",{className:"flex flex-wrap items-center justify-between gap-x-3 gap-y-1.5 px-3 py-2.5",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate font-mono text-sm",children:l}),ae(i)&&e.jsxs("p",{className:"text-muted-foreground text-xs",children:["Trusted ",ae(i)]})]}),e.jsx($,{type:"button",variant:"outline",size:"sm",disabled:n===l,onClick:()=>t(l),children:"Stop trusting"})]},l))})]})}function $s(){const{data:s=[],isLoading:t}=Be(),{data:n}=He(),{section:l}=Ke();Je(t?null:l);const i=Xe(),a=Ye(),h=Ve(),u=se(!0),c=se(!1),r=new Set([...i.variables?[i.variables]:[],...a.variables?[a.variables]:[]]),o=new Set([...u.isPending&&u.variables?[u.variables.id]:[],...c.isPending&&c.variables?[c.variables.id]:[]]);function v(m,x){const w=x?u:c,g=s.find(N=>N.id===m);if(!g)return;const k=x?he(ue(g)):void 0;w.mutate({id:m,version:g.manifest.version,plugin:g.sourcePlugin??null,...k?{permissions:k}:{},...x&&g.digest?{expectedDigest:g.digest}:{}},{onSuccess:N=>{x&&te.getState().forget(m);const T=N.extension.manifest.name,b=N.extension.isolation?"":" inside DorkOS";C.success(x?`${T} can now run${b}`:`${T} stopped running`)},onError:N=>{if(N instanceof Qe&&N.stale){k&&te.getState().remember(m,k),C.error(`${g.manifest.name} changed since you saw it. Check it again.`);return}C.error(x?"Couldn’t let it run.":"Couldn’t stop it running.",{description:N.message})}})}async function p(m,x){(x?i:a).mutate(m,{onError:g=>{C.error(x?"Couldn’t turn that on.":"Couldn’t turn that off.",{description:g.message})}})}function d(){h.mutate(void 0,{onSuccess:m=>{C.success(`Reloaded ${m.length} extension${m.length===1?"":"s"}`)},onError:m=>{C.error("Couldn’t reload your extensions.",{description:m.message})}})}if(t)return e.jsx("div",{className:"text-muted-foreground py-8 text-center text-sm",children:"Loading extensions…"});const f=s.filter(m=>m.origin==="core"),j=s.filter(m=>m.origin==="user"),y=m=>e.jsx(Ns,{extension:m,onToggle:p,isToggling:r.has(m.id),onSetRunApproval:v,isSettingApproval:o.has(m.id),onReload:d,isReloading:h.isPending,stepUpRisk:n==null?void 0:n.find(x=>x.id===m.id)},m.id);return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"text-muted-foreground space-y-1 text-sm",children:[e.jsx("p",{children:"Extensions add new screens and tools to DorkOS."}),e.jsxs(xe,{children:[e.jsx("p",{children:"Core extensions come with DorkOS."}),e.jsxs("p",{children:["Installed ones live in"," ",e.jsx("code",{className:"bg-muted rounded px-1",children:"~/.dork/extensions/"})," or your project’s"," ",e.jsx("code",{className:"bg-muted rounded px-1",children:".dork/extensions/"}),"."]})]})]}),s.length===0?e.jsx("div",{className:"text-muted-foreground py-8 text-center text-sm","data-testid":"no-extensions",children:e.jsx("p",{children:"No extensions installed."})}):e.jsxs(e.Fragment,{children:[f.length>0&&e.jsxs("section",{className:"space-y-3","data-testid":"core-extensions-section",children:[e.jsx("h3",{className:"text-sm font-semibold",children:"Core extensions"}),e.jsx("div",{className:"space-y-3",children:f.map(y)})]}),e.jsxs("section",{className:"space-y-3","data-testid":"installed-extensions-section",children:[e.jsx("h3",{className:"text-sm font-semibold",children:"Installed extensions"}),j.length>0?e.jsx("div",{className:"space-y-3",children:j.map(y)}):e.jsxs("div",{className:"text-muted-foreground rounded-xl border border-dashed p-4 text-sm","data-testid":"no-installed-extensions",children:["No extensions installed yet. Browse"," ",e.jsx("span",{className:"text-foreground font-medium",children:"Marketplace"})," to add some."]})]})]}),e.jsx(ys,{}),e.jsx("div",{className:"flex justify-end",children:e.jsxs($,{variant:"outline",size:"sm",onClick:d,disabled:h.isPending,"data-testid":"reload-extensions-button",children:[e.jsx(Ge,{className:F("mr-2 size-4",h.isPending&&"animate-spin")}),"Reload extensions"]})})]})}export{Ts as ExtensionEventBridge,Rs as ExtensionLoader,Ds as ExtensionProvider,$s as ExtensionsSettingsTab,Ls as ForwardConsentHost,_s as createExtensionAPI,Os as createExtensionEventBridge,zs as useExtensions};
@@ -1 +1 @@
1
- import{L as W,E as i,C as B}from"./index-CXBYgGja.js";import{s as U,t as n,a as b,p as E,L as C,i as u,k as v,f as M,l as N}from"./index-1QfQImuJ.js";import"./index-OQuvRZTD.js";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,p=1,g=2,d=3,m=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),p);if(e==z||e==Z)return new s(O,X(r,r.pos),g);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==m)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],m)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r<e.context.depth||r==e.context.depth&&e.context.type==p&&(O.next!=45||!l(O.peek(1))))&&O.next!=-1&&!P(O.next)&&O.next!=35&&O.acceptToken(c,-r)}},{contextual:!0}),XO=new i((O,e)=>{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==p&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(T(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function T(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!T(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(T(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==m?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),o<a))break;for(;;){if(O.next<0)break O;let Q=P(O.next);if(O.advance(),Q)continue O;r=O.pos}}O.acceptTokenTo(V,r)}),bO=U({DirectiveName:n.keyword,DirectiveContent:n.attributeValue,"DirectiveEnd DocEnd":n.meta,QuotedLiteral:n.string,BlockLiteralHeader:n.special(n.string),BlockLiteralContent:n.content,Literal:n.content,"Key/Literal Key/QuotedLiteral":n.definition(n.propertyName),"Anchor Alias":n.labelName,Tag:n.typeName,Comment:n.lineComment,": , -":n.separator,"?":n.punctuation,"[ ]":n.squareBracket,"{ }":n.brace}),gO=W.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[fO,XO,iO,kO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),mO=W.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:gO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.from<e.to)return O.baseIndentFor(e);if(e.name=="BlockLiteral")return O.baseIndentFor(e)+O.unit;if(e.name=="BlockSequence"||e.name=="BlockMapping")return O.column(e.firstChild.from,1);if(e.name=="QuotedLiteral")return null;if(e.name=="Literal"){let a=O.column(e.from,1);if(a==O.lineIndent(e.from,1))return a;if(e.to>O.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function vO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:mO.configure({props:[U({DashLine:n.meta})]})});function DO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{vO as yaml,DO as yamlFrontmatter,L as yamlLanguage};
1
+ import{L as W,E as i,C as B}from"./index-ZzPr9GUI.js";import{s as U,t as n,a as b,p as E,L as C,i as u,k as v,f as M,l as N}from"./index-DIJdZqg2.js";import"./index-MHIn2TC9.js";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,p=1,g=2,d=3,m=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),p);if(e==z||e==Z)return new s(O,X(r,r.pos),g);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==m)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],m)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r<e.context.depth||r==e.context.depth&&e.context.type==p&&(O.next!=45||!l(O.peek(1))))&&O.next!=-1&&!P(O.next)&&O.next!=35&&O.acceptToken(c,-r)}},{contextual:!0}),XO=new i((O,e)=>{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==p&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(T(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function T(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!T(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(T(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==m?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),o<a))break;for(;;){if(O.next<0)break O;let Q=P(O.next);if(O.advance(),Q)continue O;r=O.pos}}O.acceptTokenTo(V,r)}),bO=U({DirectiveName:n.keyword,DirectiveContent:n.attributeValue,"DirectiveEnd DocEnd":n.meta,QuotedLiteral:n.string,BlockLiteralHeader:n.special(n.string),BlockLiteralContent:n.content,Literal:n.content,"Key/Literal Key/QuotedLiteral":n.definition(n.propertyName),"Anchor Alias":n.labelName,Tag:n.typeName,Comment:n.lineComment,": , -":n.separator,"?":n.punctuation,"[ ]":n.squareBracket,"{ }":n.brace}),gO=W.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[fO,XO,iO,kO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),mO=W.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:gO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.from<e.to)return O.baseIndentFor(e);if(e.name=="BlockLiteral")return O.baseIndentFor(e)+O.unit;if(e.name=="BlockSequence"||e.name=="BlockMapping")return O.column(e.firstChild.from,1);if(e.name=="QuotedLiteral")return null;if(e.name=="Literal"){let a=O.column(e.from,1);if(a==O.lineIndent(e.from,1))return a;if(e.to>O.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function vO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:mO.configure({props:[U({DashLine:n.meta})]})});function DO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{vO as yaml,DO as yamlFrontmatter,L as yamlLanguage};
@@ -0,0 +1 @@
1
+ import{u as t,D as r}from"./TourHost-CS9RsLj_.js";import{T as h,a as g,b as j}from"./TourHost-CS9RsLj_.js";import{j as e,_ as l,B as a}from"./index-MHIn2TC9.js";import"./dorkbot-templates-8Yu9POWJ.js";import"./use-external-adapter-catalog-RTDOW8Yi.js";function p(){const{pendingOffer:s,pendingOfferId:i,acceptOffer:o,declineOffer:n}=t();return!s||i===null||!s.offerLine?null:e.jsxs(l.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},role:"group","aria-label":"DorkBot suggestion",className:"bg-secondary/60 mt-1.5 flex flex-col gap-2 rounded-lg border p-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsxs("span",{className:"mt-0.5 shrink-0",children:[e.jsx(r,{size:18,className:"dark:hidden"}),e.jsx(r,{variant:"white",size:18,className:"hidden dark:block"})]}),e.jsx("p",{className:"text-sm leading-relaxed",children:s.offerLine})]}),e.jsxs("div",{className:"flex items-center gap-2 pl-6",children:[e.jsx(a,{size:"sm",onClick:()=>o(i),children:"Show me"}),e.jsx(a,{size:"sm",variant:"ghost",onClick:()=>n(i),children:"Later"})]})]})}export{h as TOUR_DEFINITIONS,g as TourHost,p as TourOfferChips,j as useTourOccasions,t as useTours};