@aeolus-fleet/console 0.27.0 → 0.27.1

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 (133) hide show
  1. package/.next/standalone/packages/console/.next/BUILD_ID +1 -1
  2. package/.next/standalone/packages/console/.next/build-manifest.json +3 -3
  3. package/.next/standalone/packages/console/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page/server-reference-manifest.json +16 -16
  5. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page.js.nft.json +1 -1
  6. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page_client-reference-manifest.js +1 -1
  7. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page/server-reference-manifest.json +16 -16
  8. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page.js.nft.json +1 -1
  9. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page_client-reference-manifest.js +1 -1
  10. package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page/server-reference-manifest.json +16 -16
  11. package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page.js.nft.json +1 -1
  12. package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page_client-reference-manifest.js +1 -1
  13. package/.next/standalone/packages/console/.next/server/app/(console)/labels/page/server-reference-manifest.json +16 -16
  14. package/.next/standalone/packages/console/.next/server/app/(console)/labels/page.js.nft.json +1 -1
  15. package/.next/standalone/packages/console/.next/server/app/(console)/labels/page_client-reference-manifest.js +1 -1
  16. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page/server-reference-manifest.json +16 -16
  17. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page.js.nft.json +1 -1
  18. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page/server-reference-manifest.json +16 -16
  20. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page.js.nft.json +1 -1
  21. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/packages/console/.next/server/app/(console)/network/page/server-reference-manifest.json +16 -16
  23. package/.next/standalone/packages/console/.next/server/app/(console)/network/page.js.nft.json +1 -1
  24. package/.next/standalone/packages/console/.next/server/app/(console)/network/page_client-reference-manifest.js +1 -1
  25. package/.next/standalone/packages/console/.next/server/app/(console)/page/react-loadable-manifest.json +1 -1
  26. package/.next/standalone/packages/console/.next/server/app/(console)/page/server-reference-manifest.json +16 -16
  27. package/.next/standalone/packages/console/.next/server/app/(console)/page.js.nft.json +1 -1
  28. package/.next/standalone/packages/console/.next/server/app/(console)/page_client-reference-manifest.js +1 -1
  29. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page/server-reference-manifest.json +16 -16
  30. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page.js.nft.json +1 -1
  31. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page_client-reference-manifest.js +1 -1
  32. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page/react-loadable-manifest.json +1 -1
  33. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page/server-reference-manifest.json +16 -16
  34. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page.js.nft.json +1 -1
  35. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page/server-reference-manifest.json +16 -16
  37. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page.js.nft.json +1 -1
  38. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page/react-loadable-manifest.json +1 -1
  40. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page/server-reference-manifest.json +16 -16
  41. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page.js.nft.json +1 -1
  42. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page_client-reference-manifest.js +1 -1
  43. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page/react-loadable-manifest.json +1 -1
  44. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page/server-reference-manifest.json +16 -16
  45. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page.js.nft.json +1 -1
  46. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page_client-reference-manifest.js +1 -1
  47. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page/server-reference-manifest.json +16 -16
  48. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page.js.nft.json +1 -1
  49. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page_client-reference-manifest.js +1 -1
  50. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page/server-reference-manifest.json +16 -16
  51. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page.js.nft.json +1 -1
  52. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page_client-reference-manifest.js +1 -1
  53. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page/server-reference-manifest.json +16 -16
  54. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page.js.nft.json +1 -1
  55. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page_client-reference-manifest.js +1 -1
  56. package/.next/standalone/packages/console/.next/server/app/_global-error.html +1 -1
  57. package/.next/standalone/packages/console/.next/server/app/_global-error.rsc +1 -1
  58. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  59. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  60. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  61. package/.next/standalone/packages/console/.next/server/app/_not-found/page.js.nft.json +1 -1
  62. package/.next/standalone/packages/console/.next/server/app/api/reads/[read]/route.js.nft.json +1 -1
  63. package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page.js.nft.json +1 -1
  64. package/.next/standalone/packages/console/.next/server/app/sign-in/page.js.nft.json +1 -1
  65. package/.next/standalone/packages/console/.next/server/app/version/route.js.nft.json +1 -1
  66. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__06f_104._.js +1 -1
  67. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__1cfwaji._.js +1 -1
  68. package/.next/standalone/packages/console/.next/server/chunks/_1uqphll._.js +1 -1
  69. package/.next/standalone/packages/console/.next/server/chunks/ssr/0mxb_server_app_(console)_squadrons_blueprints_[name]_page_actions_170owr_.js +1 -1
  70. package/.next/standalone/packages/console/.next/server/chunks/ssr/0mxb_server_app_(console)_squadrons_templates_[name]_page_actions_09abrr0.js +1 -1
  71. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_fleet-health_page_actions_1gb6-fk.js +1 -1
  72. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_needs-crew_page_actions_08gu8-f.js +1 -1
  73. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_network_page_actions_1muuv-j.js +1 -1
  74. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_settings_page_actions_0b6qztr.js +1 -1
  75. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_ships_[shipId]_page_actions_0g2nd1p.js +1 -1
  76. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_squadrons_page_actions_1x3afts.js +1 -1
  77. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_(console)_trierarchs_page_actions_1ow37mz.js +1 -1
  78. package/.next/standalone/packages/console/.next/server/chunks/ssr/1eui__next-internal_server_app_(console)_fleet-health_[cause]_page_actions_1kltvcl.js +1 -1
  79. package/.next/standalone/packages/console/.next/server/chunks/ssr/1eui__next-internal_server_app_(console)_needs-attention_page_actions_1jfgclw.js +1 -1
  80. package/.next/standalone/packages/console/.next/server/chunks/ssr/1eui__next-internal_server_app_(console)_squadrons_[squadronId]_page_actions_1lzqlye.js +1 -1
  81. package/.next/standalone/packages/console/.next/server/chunks/ssr/1eui__next-internal_server_app_(console)_trierarchs_[shipId]_page_actions_0l7bxva.js +1 -1
  82. package/.next/standalone/packages/console/.next/server/chunks/ssr/_065633k._.js +1 -1
  83. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_050ulkd._.js → _0dgwyy6._.js} +1 -1
  84. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0eeox-9._.js +1 -1
  85. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_1vc4auf._.js → _0ljoc6_._.js} +1 -1
  86. package/.next/standalone/packages/console/.next/server/chunks/ssr/_15_xzod._.js +1 -1
  87. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1_9jlty._.js +1 -1
  88. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_1j1ejbw._.js → _1calzjj._.js} +1 -1
  89. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1u0h4gj._.js +1 -1
  90. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_common_dist_1_gq_cl._.js +1 -1
  91. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_18f93ie._.js → packages_console_095mmim._.js} +1 -1
  92. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_2004f3v._.js → packages_console_13ry5_2._.js} +1 -1
  93. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_0969g9_._.js → packages_console_1myu9eb._.js} +2 -2
  94. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_1clix79._.js → packages_console_1pds_ub._.js} +1 -1
  95. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console__next-internal_server_app_(console)_inbox_page_actions_0q9_xye.js +1 -1
  96. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console__next-internal_server_app_(console)_labels_page_actions_0tk7mqs.js +1 -1
  97. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console__next-internal_server_app_(console)_page_actions_1ftjjyq.js +1 -1
  98. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_network_network-page_tsx_0qc3h-9._.js +1 -1
  99. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_ships_[shipId]_ship-page_tsx_0oahz0r._.js +1 -1
  100. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_organisms_crew-line-dialog_tsx_1qorkk0._.js → packages_console_components_organisms_crew-line-dialog_tsx_1tmwb3z._.js} +1 -1
  101. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_ship_ui_organisms_message-sheet_tsx_08bg9ly._.js +1 -1
  102. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_squadrons_organisms_form-squadron-dialog_tsx_0ditu5u._.js → packages_console_features_squadrons_organisms_form-squadron-dialog_tsx_11piudw._.js} +1 -1
  103. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_squadrons_organisms_form-squadron-dialog_tsx_13oketj._.js → packages_console_features_squadrons_organisms_form-squadron-dialog_tsx_1_2jov8._.js} +1 -1
  104. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_trierarchs_organisms_clear-worktree-dialog_tsx_1vigea_._.js → packages_console_features_trierarchs_organisms_clear-worktree-dialog_tsx_0dogayz._.js} +1 -1
  105. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_lib_1b-azvo._.js +1 -1
  106. package/.next/standalone/packages/console/.next/server/middleware-build-manifest.js +3 -3
  107. package/.next/standalone/packages/console/.next/server/pages/500.html +1 -1
  108. package/.next/standalone/packages/console/.next/server/server-reference-manifest.js +1 -1
  109. package/.next/standalone/packages/console/.next/server/server-reference-manifest.json +17 -17
  110. package/.next/standalone/packages/console/.next/static/chunks/0k_f9ghdbhdlh.js +1 -0
  111. package/.next/standalone/packages/console/.next/static/chunks/{40js517zsadm9.js → 1gmxwgg3tuq9j.js} +1 -1
  112. package/.next/standalone/packages/console/.next/static/chunks/{323r-smxvi-fc.js → 1l5d_-f5_4n13.js} +1 -1
  113. package/.next/standalone/packages/console/.next/static/chunks/{2600yzum9pa4e.js → 1lu3lt0jl2qe-.js} +1 -1
  114. package/.next/standalone/packages/console/.next/static/chunks/{2qc_m8dbgxc8w.js → 2chqk2x196ti0.js} +1 -1
  115. package/.next/standalone/packages/console/.next/static/chunks/2j2d4nw9_nas6.js +1 -0
  116. package/.next/standalone/packages/console/.next/static/chunks/{38klmgk3bgj3s.js → 2l7g6epwsx9wf.js} +1 -1
  117. package/.next/standalone/packages/console/.next/static/chunks/{25l_2rj6pvegd.js → 2y5xx24gswylp.js} +1 -1
  118. package/.next/standalone/packages/console/.next/static/chunks/{41ur4zm093e1l.js → 318sjnwsspety.js} +1 -1
  119. package/.next/standalone/packages/console/.next/static/chunks/{2fkwzi80oyuv-.js → 36n7fei4v2kye.js} +1 -1
  120. package/.next/standalone/packages/console/.next/static/chunks/{2n_dccp7oi2ad.js → 3f5v4p3jz0k1g.js} +1 -1
  121. package/.next/standalone/packages/console/.next/static/chunks/3n6d3yt_vtnne.js +1 -0
  122. package/.next/standalone/packages/console/.next/static/chunks/{3kvklsjp8y-7e.js → 3o8213x94m4o3.js} +1 -1
  123. package/.next/standalone/packages/console/.next/static/chunks/{0o8q0d16-yt3a.js → 3qrq-wd28w60w.js} +1 -1
  124. package/.next/standalone/packages/console/.next/static/chunks/{20l4-ecv_oo2h.js → 420usygo4rcxp.js} +1 -1
  125. package/.next/standalone/packages/console/package.json +3 -3
  126. package/README.md +2 -2
  127. package/package.json +3 -3
  128. package/.next/standalone/packages/console/.next/static/chunks/061rac_vo9o5d.js +0 -1
  129. package/.next/standalone/packages/console/.next/static/chunks/0sagpcmh6omoj.js +0 -1
  130. package/.next/standalone/packages/console/.next/static/chunks/18rsibme2venq.js +0 -1
  131. /package/.next/standalone/packages/console/.next/static/{ZV7FLBaZ7IVExYMj-OJbA → Idv688KqeLyROC1itAuuQ}/_buildManifest.js +0 -0
  132. /package/.next/standalone/packages/console/.next/static/{ZV7FLBaZ7IVExYMj-OJbA → Idv688KqeLyROC1itAuuQ}/_clientMiddlewareManifest.js +0 -0
  133. /package/.next/standalone/packages/console/.next/static/{ZV7FLBaZ7IVExYMj-OJbA → Idv688KqeLyROC1itAuuQ}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71567,e=>{"use strict";var t=e.i(56420);let a={name:"bot",size:24,node:[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]};a.node;let s=(0,t.default)(a);e.s(["Bot",0,s],71567)},92150,e=>{"use strict";var t=e.i(56420);let a={name:"boxes",size:24,node:[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]};a.node;let s=(0,t.default)(a);e.s(["Boxes",0,s],92150)},16327,e=>{"use strict";var t=e.i(56420);let a={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};a.node;let s=(0,t.default)(a);e.s(["ChevronDown",0,s],16327)},24071,e=>{"use strict";var t=e.i(56420);let a={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};a.node;let s=(0,t.default)(a);e.s(["ChevronLeft",0,s],24071)},67927,e=>{"use strict";var t=e.i(56420);let a={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};a.node;let s=(0,t.default)(a);e.s(["ChevronRight",0,s],67927)},75043,e=>{"use strict";var t=e.i(56420);let a={name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["help-circle","circle-help"]};a.node;let s=(0,t.default)(a);e.s(["default",0,s])},8734,e=>{"use strict";var t=e.i(56420);let a={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};a.node;let s=(0,t.default)(a);e.s(["Copy",0,s],8734)},72382,e=>{"use strict";var t=e.i(56420);let a={name:"eye",size:24,node:[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};a.node;let s=(0,t.default)(a);e.s(["Eye",0,s],72382)},31458,e=>{"use strict";var t=e.i(56420);let a={name:"flag",size:24,node:[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]};a.node;let s=(0,t.default)(a);e.s(["Flag",0,s],31458)},11147,e=>{"use strict";var t=e.i(56420);let a={name:"octagon-pause",size:24,node:[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],aliases:["pause-octagon"]};a.node;let s=(0,t.default)(a);e.s(["OctagonPause",0,s],11147)},69309,e=>{"use strict";var t=e.i(56420);let a={name:"plug",size:24,node:[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]};a.node;let s=(0,t.default)(a);e.s(["Plug",0,s],69309)},77071,e=>{"use strict";var t=e.i(56420);let a={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};a.node;let s=(0,t.default)(a);e.s(["Plus",0,s],77071)},15331,e=>{"use strict";var t=e.i(56420);let a={name:"radio",size:24,node:[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};a.node;let s=(0,t.default)(a);e.s(["Radio",0,s],15331)},66595,e=>{"use strict";var t=e.i(56420);let a={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};a.node;let s=(0,t.default)(a);e.s(["Search",0,s],66595)},41220,e=>{"use strict";var t=e.i(56420);let a={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};a.node;let s=(0,t.default)(a);e.s(["Server",0,s],41220)},19759,e=>{"use strict";var t=e.i(56420);let a={name:"square-pen",size:24,node:[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],aliases:["pen-box","edit","pen-square"]};a.node;let s=(0,t.default)(a);e.s(["SquarePen",0,s],19759)},83035,e=>{"use strict";var t=e.i(56420);let a={name:"square-terminal",size:24,node:[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],aliases:["terminal-square"]};a.node;let s=(0,t.default)(a);e.s(["SquareTerminal",0,s],83035)},37817,e=>{"use strict";var t=e.i(56420);let a={name:"undo-2",size:24,node:[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]};a.node;let s=(0,t.default)(a);e.s(["Undo2",0,s],37817)},94831,e=>{"use strict";var t=e.i(56420);let a={name:"unplug",size:24,node:[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]]};a.node;let s=(0,t.default)(a);e.s(["Unplug",0,s],94831)},64790,e=>{"use strict";var t=e.i(56420);let a={name:"wifi-off",size:24,node:[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};a.node;let s=(0,t.default)(a);e.s(["WifiOff",0,s],64790)},53341,e=>{"use strict";var t=e.i(81307),a=e.i(83615);t.z.object({shipId:(0,a.idSchema)("ship")}),t.z.object({messageId:(0,a.idSchema)("message"),sentAt:t.z.iso.datetime(),isNew:t.z.boolean()}),t.z.object({deliveryId:(0,a.idSchema)("delivery")}),t.z.strictObject({}),e.s(["isPingContentType",0,function(e){let[t=""]=e.split(";");return"application/vnd.aeolus.ping"===t.trim().toLowerCase()}])},91703,e=>{"use strict";var t=e.i(43476),a=e.i(83035),s=e.i(90063),n=e.i(61966);e.s(["CodeBlock",0,function({label:e,code:i,isWrapped:r=!1,copyValue:l,copyLabel:d=`Copy ${e.toLowerCase()}`,onCopied:o,onCopyFailed:c,codeTestId:u,copyTestId:h}){return(0,t.jsxs)("div",{"data-slot":"code-block",className:"overflow-hidden rounded-lg border border-border bg-muted",children:[(0,t.jsxs)("div",{className:"flex h-9 items-center justify-between gap-2 border-b border-border pr-1.5 pl-3",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)(a.SquareTerminal,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e})]}),(0,t.jsx)(n.CopyButton,{value:l??i,label:d,isLabeled:!0,onCopied:o,onCopyFailed:c,"data-testid":h})]}),(0,t.jsx)("pre",{"data-testid":u,className:(0,s.classNames)("overflow-x-auto px-3 py-3 font-mono text-code text-foreground",r?"break-all whitespace-pre-wrap":"whitespace-pre"),children:i})]})}])},61966,e=>{"use strict";var t=e.i(43476),a=e.i(89664),s=e.i(8734),n=e.i(71645),i=e.i(15905);e.s(["CopyButton",0,function({value:e,label:r,size:l="xs",isLabeled:d=!1,onCopied:o,onCopyFailed:c,className:u,"data-testid":h}){let[m,p]=(0,n.useState)(!1);async function f(){try{await navigator.clipboard.writeText(e)}catch{c?.();return}p(!0),o?.(),setTimeout(()=>{p(!1)},1500)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Button,{variant:"ghost",size:l,isIconOnly:!d,"aria-label":r,title:d?void 0:r,icon:m?(0,t.jsx)(a.Check,{"aria-hidden":!0}):(0,t.jsx)(s.Copy,{"aria-hidden":!0}),className:u,"data-testid":h,onClick:()=>{f()},children:d?m?"Copied":"Copy":null}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:m?"Copied.":""})]})}])},36651,e=>{"use strict";var t=e.i(43476),a=e.i(90063);e.s(["Kbd",0,function({className:e,...s}){return(0,t.jsx)("kbd",{"data-slot":"kbd",className:(0,a.classNames)("inline-flex h-5 min-w-5 shrink-0 items-center justify-center rounded-xs border border-border bg-muted px-1.25 font-sans text-micro font-medium text-muted-foreground max-sm:hidden",e),...s})}])},19321,e=>{"use strict";var t=e.i(43476),a=e.i(90063);e.s(["Skeleton",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"skeleton","aria-hidden":!0,className:(0,a.classNames)("animate-pulse rounded-sm bg-secondary [animation-duration:var(--duration-pulse)] motion-reduce:animate-none",e),...s})}])},14732,e=>{"use strict";var t=e.i(43476),a=e.i(56420);let s={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};s.node;let n=(0,a.default)(s),i={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};i.node;let r=(0,a.default)(i);var l=e.i(63707),d=e.i(90063);function o({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,d.classNames)("px-4 text-left align-middle text-caption font-medium whitespace-nowrap text-muted-foreground",e),...a})}e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto rounded-lg border border-border bg-card shadow-sm",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,d.classNames)("w-full caption-bottom text-body",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,d.classNames)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,d.classNames)("px-4 align-middle",e),...a})},"TableHead",0,o,"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,d.classNames)("bg-muted [&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,d.classNames)("h-(--size-row) border-b border-border transition-colors duration-(--duration-fast) hover:bg-muted has-focus-visible:outline-2 has-focus-visible:-outline-offset-2 has-focus-visible:outline-ring data-new:animate-highlight [thead_&]:h-(--size-row-header) [thead_&]:hover:bg-transparent",e),...a})},"TableSortHead",0,function({direction:e,onSort:a,children:s,className:i,...c}){let u="ascending"===e?r:"descending"===e?n:l.ChevronsUpDown;return(0,t.jsx)(o,{"aria-sort":e??"none",className:(0,d.classNames)("px-2",i),...c,children:(0,t.jsxs)("button",{type:"button",onClick:a,className:"inline-flex h-7 items-center gap-1 rounded-sm px-2 font-medium hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring data-sorted:text-foreground","data-sorted":null===e?void 0:"",children:[s,(0,t.jsx)(u,{"aria-hidden":!0,className:(0,d.classNames)("size-3.5 shrink-0",null===e?"opacity-50":void 0)})]})})}],14732)},67874,e=>{"use strict";var t=e.i(43476),a=e.i(90063);e.s(["EmptyState",0,function({title:e,description:s,icon:n,action:i,variant:r="page",className:l}){return"section"===r?(0,t.jsxs)("p",{"data-slot":"empty-state","data-variant":r,className:(0,a.classNames)("rounded-lg border border-border px-4 py-3 text-center text-meta text-muted-foreground",l),children:[e,s?(0,t.jsxs)(t.Fragment,{children:[" ",s]}):null]}):"no-results"===r?(0,t.jsxs)("div",{"data-slot":"empty-state","data-variant":r,className:(0,a.classNames)("flex flex-col items-center gap-2.5 rounded-lg border border-border bg-card px-4 py-6 text-center",l),children:[(0,t.jsx)("p",{className:"text-meta text-muted-foreground",children:e}),i]}):(0,t.jsxs)("div",{"data-slot":"empty-state","data-variant":r,className:(0,a.classNames)("flex flex-col items-center gap-3 rounded-lg border border-dashed border-border bg-card px-6 py-10 text-center",l),children:[n?(0,t.jsx)("span",{"aria-hidden":!0,className:"flex size-10 items-center justify-center rounded-lg border border-border bg-muted text-muted-foreground [&_svg]:size-(--size-icon-xl)",children:n}):null,(0,t.jsx)("h2",{className:"text-heading font-semibold text-foreground max-sm:text-heading-touch",children:e}),s?(0,t.jsx)("p",{className:"max-w-96 text-meta text-muted-foreground max-sm:text-body-touch",children:s}):null,i?(0,t.jsx)("div",{className:"mt-1 max-sm:w-full max-sm:[&>*]:w-full",children:i}):null]})}])},19249,e=>{"use strict";var t=e.i(43476),a=e.i(90063);let s={"on-time":{label:"On time",dot:"bg-tone-ok-fg",text:"text-tone-ok-fg"},late:{label:"Late",dot:"bg-tone-waiting-fg",text:"text-tone-waiting-fg"},silent:{label:"Silent",dot:"bg-tone-attention-fg",text:"text-tone-attention-fg"},"standing-down":{label:"Standing down",dot:"bg-tone-active-fg",text:"text-tone-active-fg"},"not-on-station":{label:"Not on station",dot:"border border-dashed border-muted-foreground",text:"text-foreground"}};function n({health:e}){return(0,t.jsx)("span",{"aria-hidden":!0,className:(0,a.classNames)("size-2 shrink-0 rounded-full",s[e].dot)})}e.s(["HealthIndicator",0,function({health:e,detail:i,className:r}){return(0,t.jsxs)("span",{"data-slot":"health-indicator","data-health":e,className:(0,a.classNames)("inline-flex items-center gap-1.5 text-meta",r),children:[(0,t.jsx)(n,{health:e}),(0,t.jsx)("span",{className:(0,a.classNames)("font-medium",s[e].text),children:s[e].label}),void 0!==i&&(0,t.jsx)("span",{className:"text-muted-foreground",children:i})]})},"HealthSummary",0,function({counts:e,className:i}){return(0,t.jsx)("span",{"data-slot":"health-summary",className:(0,a.classNames)("inline-flex flex-wrap items-center gap-x-3 gap-y-1 text-meta",i),children:e.map(({health:e,count:a})=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(n,{health:e}),(0,t.jsxs)("span",{children:[a," ",s[e].label.toLowerCase()]})]},e))})}])},95960,e=>{"use strict";var t=e.i(43476),a=e.i(92150),s=e.i(49287),n=e.i(86875),i=e.i(56420);let r={name:"tag-x",size:24,node:[["path",{d:"m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.43 2.43 0 0 0 3.42 0l1.79-1.79",key:"hu94c9"}],["path",{d:"m16.5 10.5 5 5",key:"1jo8bf"}],["path",{d:"m21.5 10.5-5 5",key:"jzei60"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};r.node;let l=(0,i.default)(r);var d=e.i(63676),o=e.i(90063),c=e.i(80581);let u={"trierarch-plugin":n.ShipWheel,squadrons:a.Boxes,ship:s.Ship,gone:l};e.s(["LabelChip",0,function({chip:e,onRemove:a,testId:s,className:n,trailing:i,meaning:r}){let l="none"===e.mark?null:u[e.mark],h=`${e.key}=${e.value}`,m=void 0===r?(0,c.chipTitleOf)(e):`${(0,c.chipTitleOf)(e)}. ${r}`;return(0,t.jsxs)("span",{role:"group","aria-label":m,"data-slot":"label-chip","data-testid":s,title:m,className:(0,o.classNames)("inline-flex h-5.5 max-w-full min-w-0 shrink-0 items-center gap-1 rounded-sm border border-border bg-secondary px-1.5 font-mono text-id whitespace-nowrap text-foreground [&_svg]:size-3 [&_svg]:shrink-0 [&_svg]:text-muted-foreground","gone"===e.mark?"border-dashed":null,n),children:[null===l?null:(0,t.jsx)(l,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[e.key,"="]}),(0,t.jsx)("span",{className:"font-medium",children:e.value})]}),i,void 0===a?null:(0,t.jsx)("button",{type:"button","aria-label":`Remove ${h}`,onClick:a,className:"-mr-1 ml-0.5 inline-flex size-4 items-center justify-center rounded-xs text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring",children:(0,t.jsx)(d.X,{"aria-hidden":!0})})]})}],95960)},88393,e=>{"use strict";var t=e.i(43476),a=e.i(90063),s=e.i(19321);function n(e){return Array.from({length:e},(e,t)=>`row-${String(t)}`)}e.s(["LoadingSkeleton",0,function({variant:e,rows:i=4,label:r="Loading",className:l}){return(0,t.jsxs)("div",{role:"status","data-slot":"loading-skeleton","data-variant":e,className:(0,a.classNames)("w-full",l),children:[(0,t.jsx)("span",{className:"sr-only",children:r}),"table"===e?(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg border border-border bg-card shadow-sm",children:[(0,t.jsx)("div",{className:"h-(--size-row-header) border-b border-border bg-muted"}),n(i).map(e=>(0,t.jsxs)("div",{className:"flex h-(--size-row) items-center gap-8 border-b border-border px-4 last:border-0",children:[(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-24"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-16"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-20"}),(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-28"})]},e))]}):null,"cards"===e?(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 lg:grid-cols-4",children:n(4).map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-3 rounded-lg border border-border bg-card p-4",children:[(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-20"}),(0,t.jsx)(s.Skeleton,{className:"h-6 w-10"}),(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-28"})]},e))}):null,"detail"===e?(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)(s.Skeleton,{className:"h-7 w-48"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(s.Skeleton,{className:"h-5 w-20"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-16"})]}),(0,t.jsx)(s.Skeleton,{className:"h-16 w-full rounded-lg"})]}):null,"list"===e?(0,t.jsx)("div",{className:"overflow-hidden rounded-lg border border-border bg-card",children:n(i).map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-2.5 border-b border-border px-3.5 py-3 last:border-0",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)(s.Skeleton,{className:"h-3 w-28"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-16"})]}),(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-44"})]},e))}):null]})}])},63481,e=>{"use strict";var t=e.i(43476),a=e.i(56420);let s={name:"app-window",size:24,node:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]};s.node;let n=(0,a.default)(s);var i=e.i(71567);let r={name:"cloud",size:24,node:[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]};r.node;let l=(0,a.default)(r),d={name:"laptop",size:24,node:[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]};d.node;let o=(0,a.default)(d),c={name:"map-pin",size:24,node:[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]};c.node;let u=(0,a.default)(c),h={name:"message-circle",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]};h.node;let m=(0,a.default)(h);var p=e.i(41220),f=e.i(83035),x=e.i(94831),g=e.i(90063),y=e.i(66616),b=e.i(40798);let v={DEVICE:o,CLOUD:l,SERVER:p.Server,OTHER:u},k={coding:f.SquareTerminal,chat:m,bot:i.Bot,console:n},w={md:"text-body",sm:"text-meta"};e.s(["LocationTag",0,function({kind:e,description:a=null,harness:s=null,isCompact:n=!1,size:i="md",className:r}){let l=(0,g.classNames)("inline-flex min-w-0 items-center gap-1.5 text-muted-foreground [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0",w[i],r);if(null===e)return(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,children:[(0,t.jsx)(x.Unplug,{"aria-hidden":!0}),"No session"]});let d=v[e],o=(0,b.locationKindWord)(e),c=null===a?o:`${o} \xb7 ${a}`;if(null!==s){let e=(0,y.harnessKind)(s),n=void 0===e?void 0:k[e],i=(0,y.harnessWord)(s);return(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,title:null===a?`${i} \xb7 ${o}`:`${i} \xb7 ${o}: ${a}`,children:[void 0===n?null:(0,t.jsx)(n,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate text-foreground",children:i}),(0,t.jsx)("span",{"aria-hidden":!0,children:"·"}),(0,t.jsx)(d,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate",children:o}),null===a?null:(0,t.jsxs)("span",{className:"sr-only",children:[": ",a]})]})}return n?(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,title:c,children:[(0,t.jsx)(d,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"sr-only",children:[o,": "]}),(0,t.jsx)("span",{className:"truncate text-foreground",children:a??o})]}):(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,children:[(0,t.jsx)(d,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[o,null===a?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":!0,children:" · "}),(0,t.jsx)("span",{className:"sr-only",children:", "}),(0,t.jsx)("span",{className:"text-foreground",children:a})]})]})]})}],63481)},81830,e=>{"use strict";var t=e.i(43476),a=e.i(79432),s=e.i(19002),n=e.i(11147),i=e.i(90063),r=e.i(49635),l=e.i(93361);let d={working:a.Activity,blocked:n.OctagonPause,idle:s.CirclePause},o={active:"text-tone-active-fg",waiting:"text-tone-waiting-fg",ended:"text-tone-ended-fg"};e.s(["ReportLine",0,function({report:e,now:a,variant:s,isTimeInTitle:n=!1,testId:c}){let u="full"===s,h=(0,i.classNames)("flex min-w-0 items-center gap-1.5",u?"text-body":"text-meta");if(null===e)return(0,t.jsx)("span",{"data-testid":c,"data-state":"none",className:(0,i.classNames)(h,"text-muted-foreground"),children:"No report yet"});let m=d[e.state],p=o[l.REPORT_TONES[e.state]],f=new Date(e.reportedAt);return(0,t.jsxs)("span",{"data-testid":c,"data-state":e.state,title:n?`${(0,l.reportText)(e)} \xb7 ${(0,l.reportedWhen)(f,a)}`:(0,l.reportText)(e),className:h,children:[(0,t.jsx)(m,{"aria-hidden":!0,className:(0,i.classNames)("size-(--size-icon-sm) shrink-0",p)}),(0,t.jsx)("span",{className:(0,i.classNames)("shrink-0 font-medium",p),children:l.REPORT_STATE_WORDS[e.state]}),null===e.note?null:(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground",children:e.note}),n?null:(0,t.jsx)("time",{dateTime:e.reportedAt,title:(0,r.fullDateTime)(f),className:"shrink-0 text-muted-foreground tabular-nums",children:u?`\xb7 ${(0,l.reportedWhen)(f,a)}`:(0,l.reportAge)(f,a)})]})}])},99261,56539,e=>{"use strict";var t=e.i(43476),a=e.i(56420);let s={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};s.node;let n=(0,a.default)(s);e.s(["ChevronUp",0,n],56539);var i=e.i(71645),r=e.i(95960);e.s(["ShipLabels",0,function({chips:e}){let[a,s]=(0,i.useState)(!1);return 0===e.length?(0,t.jsx)("span",{className:"text-meta text-muted-foreground",children:"No labels"}):!a&&e.length>2?(0,t.jsxs)("span",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[e.slice(0,2).map(e=>(0,t.jsx)(r.LabelChip,{chip:e,testId:"ship-label"},e.valueId)),(0,t.jsxs)("button",{type:"button","aria-label":`Show all ${String(e.length)} labels`,"data-testid":"ship-labels-more",className:"inline-flex h-5.5 items-center rounded-sm bg-secondary px-1.5 text-caption font-medium tabular-nums hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring",onClick:()=>{s(!0)},children:["+",e.length-2]})]}):(0,t.jsxs)("span",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[(function(e){let t=[];for(let a of e){let e="none"===a.mark?null:a.ownerName,s=t.find(t=>t.owner===e);void 0===s?t.push({owner:e,chips:[a]}):s.chips.push(a)}return t})(e).map(e=>(0,t.jsxs)("span",{className:"inline-flex flex-wrap items-center gap-1.5",children:[null===e.owner?null:(0,t.jsxs)("span",{className:"text-meta text-muted-foreground",children:["by ",e.owner]}),e.chips.map(e=>(0,t.jsx)(r.LabelChip,{chip:e,testId:"ship-label"},e.valueId))]},e.owner??"")),e.length>2?(0,t.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1 rounded-sm px-1 text-meta hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring [&_svg]:size-(--size-icon-sm)",onClick:()=>{s(!1)},children:[(0,t.jsx)(n,{"aria-hidden":!0}),"Show fewer"]}):null]})}],99261)},39448,e=>{"use strict";var t=e.i(43476),a=e.i(25913),s=e.i(22016),n=e.i(90063);let i=(0,a.cva)("min-w-0 truncate font-sans font-medium",{variants:{size:{body:"text-body text-foreground",meta:"text-meta text-muted-foreground",title:"text-title font-semibold tracking-tight text-foreground max-sm:text-title-touch"}},defaultVariants:{size:"body"}});e.s(["ShipName",0,function({name:e,shipId:a,size:r,isSuffixShown:l=!1,isOperator:d=!1,href:o,className:c}){let u=o?(0,t.jsx)(s.default,{href:o,className:(0,n.classNames)(i({size:r}),"rounded-xs underline-offset-3 hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"),title:e,children:e}):(0,t.jsx)("span",{className:i({size:r}),title:e,children:e});return(0,t.jsxs)("span",{"data-slot":"ship-name",className:(0,n.classNames)("inline-flex min-w-0 items-baseline gap-1.5",c),children:[u,d?(0,t.jsx)("span",{className:"shrink-0 font-normal text-muted-foreground",children:"(you)"}):null,l&&!d?(0,t.jsxs)("span",{className:"shrink-0 font-mono text-id text-muted-foreground uppercase",children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"· "}),a.slice(-4)]}):null]})}])},37631,e=>{"use strict";var t=e.i(43476),a=e.i(77880),s=e.i(85538);e.s(["DetailPage",0,function({title:e,parents:n,header:i,children:r,sheet:l,live:d,onCompose:o,onSearch:c,banner:u}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Header,{breadcrumb:e,parents:n,live:d,onCompose:o,onSearch:c}),u,(0,t.jsx)(s.TopBar,{title:e,live:d,back:n[n.length-1]??n[0]}),(0,t.jsxs)("main",{className:"flex grow flex-col gap-5 px-8 py-6 max-sm:gap-3.5 max-sm:px-4 max-sm:pt-3.5 max-sm:pb-[calc(var(--size-tabbar)+var(--spacing)*4)]",children:[i,r]}),l]})}])},77880,85538,e=>{"use strict";var t=e.i(43476),a=e.i(67927),s=e.i(66595),n=e.i(19759),i=e.i(22016),r=e.i(15905),l=e.i(36651),d=e.i(90063);let o={live:{label:"Live",dot:"bg-tone-ok-fg"},reconnecting:{label:"Reconnecting",dot:"bg-tone-waiting-fg"},offline:{label:"Offline",dot:"bg-tone-attention-fg"}};function c({state:e,className:a}){let{label:s,dot:n}=o[e];return(0,t.jsxs)("span",{"data-slot":"live-status","data-state":e,"aria-live":"polite",className:(0,d.classNames)("inline-flex items-center gap-1.5 text-meta text-muted-foreground",a),children:[(0,t.jsx)("span",{"aria-hidden":!0,className:(0,d.classNames)("size-2 shrink-0 rounded-full",n)}),s]})}e.s(["Header",0,function({breadcrumb:e,parents:d=[],live:o,onCompose:u,onSearch:h}){return(0,t.jsxs)("header",{"data-slot":"header",className:"sticky top-0 z-30 hidden h-(--size-header) shrink-0 items-center justify-between gap-4 border-b border-border bg-background px-6 sm:flex",children:[(0,t.jsx)("nav",{"aria-label":"Breadcrumb","data-testid":"header-breadcrumb",className:"min-w-0 text-body",children:(0,t.jsxs)("ol",{className:"flex min-w-0 items-center gap-1.5",children:[d.map(e=>(0,t.jsxs)("li",{className:"flex shrink-0 items-center gap-1.5",children:[(0,t.jsx)(i.default,{href:e.href,className:"text-muted-foreground hover:text-foreground hover:underline",children:e.label}),(0,t.jsx)(a.ChevronRight,{"aria-hidden":!0,className:"size-3.5 text-muted-foreground"})]},e.href)),(0,t.jsx)("li",{"aria-current":"page",className:"truncate font-medium text-foreground",children:e})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(c,{state:o}),h?(0,t.jsxs)(r.Button,{size:"sm",icon:(0,t.jsx)(s.Search,{"aria-hidden":!0}),"data-testid":"header-search",className:"w-60 justify-start font-normal text-muted-foreground",onClick:h,children:[(0,t.jsx)("span",{className:"grow text-left",children:"Search ships or jump to"}),(0,t.jsx)(l.Kbd,{children:"⌘K"})]}):null,u?(0,t.jsx)(r.Button,{size:"sm",icon:(0,t.jsx)(n.SquarePen,{"aria-hidden":!0}),"data-testid":"header-compose",onClick:u,children:"Compose"}):null]})]})}],77880);var u=e.i(24071),h=e.i(57957);e.s(["TopBar",0,function({title:e,live:a,actions:n,back:l,account:d,onSearch:o}){let m=o&&!l?o:void 0;return(0,t.jsxs)("header",{"data-slot":"top-bar","data-mode":l?"detail":"root",className:"sticky top-0 z-30 flex h-(--size-header) items-center gap-2.5 border-b border-border bg-background px-4 sm:hidden",children:[l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.default,{href:l.href,className:"-ml-1.5 inline-flex h-(--size-control-touch) shrink-0 items-center gap-0.5 rounded-md pr-2 text-body-touch text-foreground focus-visible:outline-2 focus-visible:outline-ring [&_svg]:size-(--size-icon)",children:[(0,t.jsx)(u.ChevronLeft,{"aria-hidden":!0}),l.label]}),(0,t.jsx)("p",{className:"min-w-0 flex-1 truncate text-center text-body-touch font-semibold text-foreground",children:e})]}):(0,t.jsx)("h1",{className:"truncate text-title-touch font-semibold tracking-tight text-foreground",children:e}),(0,t.jsx)(c,{state:a}),n||m||d&&!l?(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[m?(0,t.jsx)(r.Button,{variant:"ghost",size:"touch",isIconOnly:!0,"aria-label":"Search ships or jump to","data-testid":"top-bar-search",onClick:m,children:(0,t.jsx)(s.Search,{"aria-hidden":!0})}):null,n,d&&!l?(0,t.jsx)(h.AccountMenuSheet,{...d}):null]}):null]})}],85538)},79369,e=>{"use strict";var t=e.i(53341),a=e.i(49635);function s(e,t){return{icon:e,...t}}function n(e){switch(e.kind){case"fleet":return{icon:"fleet",words:"Fleet"};case"trierarch":return{icon:"computer",words:`Trierarch on ${e.trierarch.name}`};case"pluginWatcher":return{icon:"watcher",words:"Plugin watcher"};case"agent":return{icon:"agent",words:"Agent"}}}function i(e){return"handed"!==e.state||e.isPulled?e.state:"handedPushed"}e.s(["deliveryStatus",0,i,"messageWay",0,function(e,r){let{now:l,machines:d=[]}=r,o=(0,t.isPingContentType)(e.contentType),c=o&&("pending"===e.delivery.state||"received"===e.delivery.state||"handed"===e.delivery.state),u=o&&(c||"acknowledged"===e.delivery.state)?function(e,t){let{history:n}=e.delivery,i=n.find(e=>"DeliveryHanded"===e.type),r=n.find(e=>"DeliveryAcknowledged"===e.type);if(r&&i){let e=new Date(r.occurredAt).getTime()-new Date(i.occurredAt).getTime(),t=e<6e4?`${String(Math.floor(Math.max(0,e)/1e3))} s`:(0,a.duration)(new Date(i.occurredAt),new Date(r.occurredAt));return s("ping",{tone:"neutral",text:`Answered ping in ${t} after hand-over`})}let l=`Pinged ${(0,a.relativeTime)(new Date(e.sentAt),t).toLowerCase()}`,d=i?` \xb7 handed ${(0,a.relativeTime)(new Date(i.occurredAt),t).toLowerCase()}`:"";return s("ping",{tone:"waiting",text:`${l}${d} \xb7 no answer yet`})}(e,l):function(e,t){let{state:i,attempts:r,way:l}=e.delivery,d=(0,a.relativeTime)(new Date(l.since),t);if(null===l.holder)return s("time",{tone:"neutral",text:d});let{icon:o,words:c}=n(l.holder);if("handed"!==i)return s(o,{tone:"acknowledged"===i?"neutral":"waiting",text:`${c} \xb7 ${d}`});if(l.isPulled){let e=r>1?` \xb7 handed (pulled) ${String(r)} times`:"";return s(o,{tone:"waiting",text:`${c} (pulled) \xb7 ${d} \xb7 not acknowledged${e}`})}let u=r>1?` \xb7 attempt ${String(r)} of ${String(5)}`:"";return s(o,{tone:"waiting",text:`${c} \xb7 ${d} \xb7 not confirmed${u}`})}(e,l);return{status:function(e){let{state:t,way:a}=e.delivery;return i({state:t,isPulled:a.isPulled})}(e),lines:[u,...o?[]:function(e){let{state:t,way:a}=e.delivery;return"acknowledged"!==t?[]:a.isPulled?[s("unknown",{tone:"neutral",text:"Handled: not reported (pull ship)"})]:a.lease?.isEnded?[s("unknown",{tone:"waiting",text:"Handled unknown: lease ended"})]:[]}(e),...function(e,t){let{now:i,machines:r}=t,{state:l,way:d}=e.delivery,o=[],c="pending"===l||"received"===l,u=d.lease?.turn;c&&u?.turn==="busy"&&o.push(s("busy",{tone:"active",text:`Session busy since ${(0,a.sinceTime)(new Date(u.at),i)}`}));let h="received"===l||"handed"===l;h&&d.crew?.status==="restarting"&&o.push(s("restart",{tone:"waiting",text:`Session restarting (restart ${String(d.crew.attempt)})`})),h&&d.crew?.status==="crashed"&&o.push(s("died",{tone:"attention",text:"Session crashed"})),h&&d.crew?.status==="running"&&d.crew.attempt>0&&null!==d.crew.startedAt&&o.push(s("restart",{tone:"neutral",text:`Session restarted ${(0,a.sinceTime)(new Date(d.crew.startedAt),i)}`}));let m=d.lease?.by,p=m?.kind==="trierarch"?r.find(e=>e.shipId===m.trierarch.id):void 0;if(m&&c&&p?.isSilent){let e=null===p.lastSeenAt?"":` since ${(0,a.sinceTime)(new Date(p.lastSeenAt),i)}`;o.push(s("silent",{tone:"attention",text:`${n(m).words} silent${e}`}))}return d.overdue&&o.push(s("clock",{tone:"attention",text:`argo told at ${String(d.overdue.minutes)} min`})),"notHandled"===l&&o.push(s("died",{tone:"attention",text:`Session died twice \xb7 argo told ${(0,a.sinceTime)(new Date(d.since),i)}`})),o}(e,{now:l,machines:d})]}}])},39124,e=>{"use strict";var t=e.i(43476),a=e.i(46150),s=e.i(39448);e.s(["Sentence",0,function({parts:e,className:n}){let i;return(0,t.jsx)("span",{className:n,children:(i=new Map,e.map(e=>{let t="text"===e.kind?`text:${e.text}`:`ship:${e.party.id}`,a=i.get(t)??0;return i.set(t,a+1),{key:`${t}#${String(a)}`,part:e}})).map(({key:e,part:n})=>"text"===n.kind?(0,t.jsx)("span",{children:n.text},e):(0,t.jsx)(s.ShipName,{name:n.party.name,shipId:n.party.id,isSuffixShown:n.party.name!==a.OPERATOR_NAME,className:"align-baseline"},e))})}])},46157,e=>{"use strict";var t=e.i(43476),a=e.i(49655),s=e.i(56420);let n={name:"arrow-down-to-line",size:24,node:[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]};n.node;let i=(0,s.default)(n);var r=e.i(71567),l=e.i(19002),d=e.i(75043),d=d,o=e.i(74544),c=e.i(72382);let u={name:"heart-crack",size:24,node:[["path",{d:"M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15",key:"idzbju"}],["path",{d:"M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z",key:"1su70f"}]]};u.node;let h=(0,s.default)(u),m={name:"loader",size:24,node:[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]};m.node;let p=(0,s.default)(m);var f=e.i(46513),x=e.i(15331),g=e.i(95925),y=e.i(41220),b=e.i(64790),v=e.i(90063),k=e.i(78865);let w={fleet:y.Server,computer:f.Monitor,watcher:c.Eye,pull:i,agent:r.Bot,time:o.Clock,clock:a.AlarmClock,busy:p,idle:l.CirclePause,restart:g.RotateCcw,silent:b.WifiOff,died:h,ping:x.Radio,unknown:d.default},j={neutral:"text-muted-foreground",waiting:"text-tone-waiting-fg",active:"text-tone-active-fg",attention:"text-tone-attention-fg"};function N({line:e,testId:a}){let s=w[e.icon];return(0,t.jsxs)("li",{"data-testid":a,className:(0,v.classNames)("flex items-center gap-1.5 text-meta max-sm:text-body-touch",j[e.tone]),children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{children:e.text})]})}e.s(["WayLineItem",0,N,"WayLines",0,function({status:e,lines:a}){return(0,t.jsxs)("div",{"data-testid":"message-way",className:"flex flex-col gap-1.5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(k.StatusBadge,{status:e})}),(0,t.jsx)("ul",{"aria-label":"Where it stands",className:"flex flex-col gap-1",children:a.map(e=>(0,t.jsx)(N,{line:e,testId:"message-way-line"},e.text))})]})}],46157)},8041,e=>{"use strict";var t=e.i(14695);function a(e,t){for(let a of t)e.includes(a)||e.push(a)}function s(e){return Object.fromEntries((e?.options??[]).flatMap(e=>{let t=e.defaultValue??e.values[0];return void 0===t?[]:[[e.name,t]]}))}function n(e){let[t]=e?.repositories??[];if(void 0!==t)return{kind:"worktree",repository:t};let[a]=e?.folders??[];return void 0===a?void 0:{kind:"folder",name:a}}function i(e){let[t]=e;return{harness:t?.harness??"",workspace:n(t),options:s(t),firstPrompt:"",squadron:"",machineLabels:[]}}let r=new TextEncoder;function l(e){return r.encode(e).byteLength}function d(e){return e<1024?`${String(e)} B`:`${(e/1024).toFixed(1).replace(/\.0$/,"")} KB`}e.s(["byteSize",0,d,"defaultValues",0,i,"offersOf",0,function(e){let s=[];for(let n of e)if(!n.isSilent&&null!==n.details)for(let e of n.details.harnesses){let i=s.find(t=>t.harness===e.harness);for(let r of(void 0===i&&(i={harness:e.harness,repositories:[],folders:[],options:[]},s.push(i)),a(i.repositories,n.details.workspaces.repositories),a(i.folders,n.details.workspaces.folders),(0,t.harnessOptions)(e.options))){let e=i.options.find(e=>e.name===r.name);void 0===e?i.options.push({...r,values:[...r.values]}):(a(e.values,r.values),e.defaultValue??=r.defaultValue)}}return s},"promptBytes",0,l,"settingsOf",0,function(e){if(""!==e.harness&&void 0!==e.workspace)return{harness:e.harness,workspace:e.workspace,options:e.options,...""===e.firstPrompt?{}:{firstPrompt:e.firstPrompt},...""===e.squadron?{}:{squadron:e.squadron},...0===e.machineLabels.length?{}:{machineLabels:e.machineLabels}}},"settingsRows",0,function(e){if(null==e)return;let{harness:t,workspace:a,options:s,firstPrompt:n,squadron:i}=e;return[{label:"Harness",value:t??"Trierarch default"},"worktree"===a.kind?{label:"Workspace",value:a.repository,meta:"New worktree"}:{label:"Workspace",value:a.name,meta:"Folder, as it is"},...Object.entries(s).map(([e,t])=>({label:e,value:"string"==typeof t?t:JSON.stringify(t),isMono:!0})),{label:"First prompt",value:void 0===n?null:d(l(n))},{label:"Squadron",value:i??null,isMono:!0}]},"valuesOf",0,function(e,t){if(null==e)return i(t);let{harness:a,workspace:s,options:n,firstPrompt:r,squadron:l,machineLabels:d}=e;return{harness:a??i(t).harness,workspace:"worktree"===s.kind?{kind:"worktree",repository:s.repository}:{kind:"folder",name:s.name},options:Object.fromEntries(Object.entries(n).flatMap(([e,t])=>"string"==typeof t?[[e,t]]:[])),firstPrompt:r??"",squadron:l??"",machineLabels:[...d??[]]}},"withHarness",0,function(e,t){let{harness:a,offers:i}=t,r=i.find(e=>e.harness===a),l=e.workspace,d=void 0!==l&&("worktree"===l.kind?r?.repositories.includes(l.repository)??!1:r?.folders.includes(l.name)??!1);return{...e,harness:a,workspace:d?l:n(r),options:s(r)}}])},10921,e=>{"use strict";var t=e.i(76580),a=e.i(94070);e.s(["useCrewSettings",0,function(e){let s=(0,t.useConsoleRead)({queryKey:["crew-settings",JSON.stringify(e)],queryFn:()=>(0,a.fetchConsoleRead)({read:"crew-settings",input:{settings:[...e]}}),enabled:e.length>0,staleTime:1/0});return 0===e.length?[]:s.data}])},66616,e=>{"use strict";var t=e.i(49635);let a={"claude-code":{word:"Claude Code",kind:"coding"},codex:{word:"Codex",kind:"coding"},"claude-chat":{word:"Claude chat",kind:"chat"},chatgpt:{word:"ChatGPT",kind:"chat"},grok:{word:"Grok",kind:"chat"},grokbot:{word:"Grokbot",kind:"bot"},console:{word:"Console",kind:"console"}};function s(e){return a[e]?.word??e}e.s(["crewLineHarnessWord",0,function(e){return"chat"===e?"Chat":s(e)},"harnessDetection",0,function(e,a){if(void 0===e.version)return;if(void 0===e.modelsConfirmedAt||null===e.modelsConfirmedAt)return`${e.version} \xb7 no model confirmed`;let s=(0,t.relativeTime)(new Date(e.modelsConfirmedAt),a);return`${e.version} \xb7 models confirmed ${"Just now"===s?"just now":s}`},"harnessKind",0,function(e){return a[e]?.kind},"harnessWord",0,s])},18423,e=>{"use strict";var t=e.i(12598),a=e.i(5861),s=e.i(71645),n=e.i(86413),i=e.i(27702);let r=new Set(["FleetInitialised","ShipCommissioned","ShipClaimed","LeaseRevoked","CredentialRevoked","StartingPromptIssued","ShipRetired","DeliveryAcknowledged","DeliveryUndeliverable","ShipReported","CrewRequested","CrewRequestRemoved","CrewAssigned","CrewStatusChanged","CrewRequestExplained","CrewRequestGivenBack","LabelAssigned","LabelUnassigned","LabelRetired"]);async function l(e,t){await e.cancelQueries({queryKey:t,predicate:e=>void 0===e.state.data&&"fetching"===e.state.fetchStatus}),await e.invalidateQueries({queryKey:t})}let d=new Set(["LabelDefined","LabelValuesChanged","LabelRetired","LabelAssigned","LabelUnassigned","LabelDeleted"]),o=new Set(["DeliveryUndeliverable","DeliveryNotHandled","DeliveryDismissed"]);e.s(["useLiveFleet",0,function(){let e=(0,i.useTRPC)(),c=(0,t.useQueryClient)(),[u,h]=(0,s.useState)(new Set),m=e=>{l(c,e)},p=(0,a.useSubscription)(e.fleet.events.subscriptionOptions({lastEventId:null},{onData:({data:t})=>{var a,s,i,l;if("resync"===t.kind){m(e.fleet.pathKey()),m(n.INBOX_KEY);return}let{event:c}=t;for(let t of new Set([c.shipId,c.actorShipId]))null!==t&&(m(e.fleet.ship.queryKey({shipId:t})),m(e.fleet.shipTimeline.queryKey({shipId:t})),m(e.fleet.shipWay.queryKey({shipId:t})));if(null!==c.messageId&&(m(e.fleet.shipMessages.pathKey()),m(e.fleet.shipWay.pathKey()),m(e.fleet.message.queryKey({messageId:c.messageId})),m(e.fleet.inbox.pathKey()),m(n.INBOX_KEY),m(e.fleet.health.queryKey())),a=c.type,o.has(a)&&m(e.fleet.needsAttention.queryKey()),s=c.type,d.has(s)&&m(e.fleet.labels.queryKey()),"NetworkRulesDeclared"===c.type&&m(e.fleet.declaredNetworkRules.queryKey()),("BuiltInRuleChanged"===(i=c.type)||"NetworkPluginUnregistered"===i)&&m(e.fleet.builtInRules.queryKey()),l=c.type,!r.has(l))return;m(e.fleet.list.queryKey()),m(e.fleet.health.queryKey());let{shipId:u}=c;"ShipCommissioned"===c.type&&null!==u&&h(e=>new Set([...e,u]))}}));return{live:function(e){switch(e){case"pending":return"live";case"connecting":return"reconnecting";case"idle":case"error":return"offline"}}(p.status),newShipIds:u,error:p.error}}])},40798,e=>{"use strict";let t={DEVICE:"Device",CLOUD:"Cloud",SERVER:"Server",OTHER:"Other"};e.s(["locationKindWord",0,function(e){return t[e]}])},78608,e=>{"use strict";var t=e.i(80581);function a(e,t){return e.ships.find(e=>e.id===t.shipId)?.labels.map(e=>e.valueId)??[]}e.s(["machineLabelIdsOf",0,function(e){return[...e?.machineLabels??[]]},"machineLabelsInputOf",0,function(e,s){let{machines:n,shipLabelsMax:i}=s;return{groups:function(e,t){let s=t.map(t=>a(e,t)),n=[],i=[];for(let t of e.labels){let a=t.values.map(e=>({valueId:e.id,value:e.value,shipCount:s.filter(t=>t.includes(e.id)).length})),r={labelId:t.id,key:t.key,mark:e.ownerOf.get(t.id)?.mark??"ship",values:a};(a.some(e=>e.shipCount>0)?n:i).push(r)}let r=(e,t)=>e.key.localeCompare(t.key);return[{title:"On machines",keys:n.toSorted(r)},{title:"On no machine yet",keys:i.toSorted(r)}].filter(e=>e.keys.length>0)}(e,n),max:i,chipsOf:a=>(0,t.pickedChips)(a,e),matchOf:t=>{var s;return{matching:(s={machines:n,valueIds:t}).machines.filter(t=>{let n=a(e,t);return s.valueIds.every(e=>n.includes(e))}).map(e=>e.name),total:s.machines.length}}}},"machineLabelsText",0,function(e){let t=e.map(e=>`${e.key}=${e.value}`);return t.length<=2?t.join(" and "):`${t.slice(0,-1).join(", ")} and ${t.at(-1)??""}`},"noMatchWords",0,function(e){return 1===e?{these:"this label",carries:"carries it"}:2===e?{these:"both",carries:"carries both"}:{these:"these labels",carries:"carries them all"}}])},28459,e=>{"use strict";var t=e.i(54616),a=e.i(66027),s=e.i(12598),n=e.i(27702);function i(e){let t=String(e.attempts-1);return e.isPushed?`Handed ${t} times, never confirmed; fifth refused: undeliverable.`:`Handed (pulled) ${t} times, never acknowledged; fifth receive refused: undeliverable.`}let r="Acknowledged, then its turn died; handed once more, and that turn died too: not handled.";function l(){let e=(0,n.useTRPC)(),t=(0,s.useQueryClient)();return()=>t.invalidateQueries({queryKey:e.fleet.pathKey()})}e.s(["DISMISSED_TOAST",0,{title:"Delivery dismissed",description:"It stays in the timelines as dismissed."},"attentionReason",0,function(e){switch(e.state){case"undeliverable":return i(e);case"notHandled":return null===e.reason?r:`${r} Its crew said: ${e.reason}.`}},"canResend",0,function(e){return!e.message.isPing},"deliveryWithId",0,function(e,t){return e?.find(e=>e.deliveryId===t)},"resentToast",0,function(e){return{title:"Message resent",description:`A new message went to ${function(e){let{recipient:t}=e.message;return"ship"===t.kind?t.ship.name:`any ship of type ${t.type}`}(e)}. The original is dismissed.`}},"undeliverableReason",0,i,"useDismissDelivery",0,function(){let e=(0,n.useTRPC)(),a=l();return(0,t.useMutation)(e.fleet.dismiss.mutationOptions({onSuccess:a}))},"useNeedsAttention",0,function(){let e=(0,n.useTRPC)();return(0,a.useQuery)(e.fleet.needsAttention.queryOptions())},"useResendDelivery",0,function(){let e=(0,n.useTRPC)(),a=l();return(0,t.useMutation)(e.fleet.resend.mutationOptions({onSuccess:a}))}])},69693,e=>{"use strict";var t=e.i(46150);function a(e){let t=e.split(";")[0]?.trim().toLowerCase()??"";return"application/json"===t||t.endsWith("+json")}e.s(["formattedPayload",0,function(e,t){if(a(t))try{return JSON.stringify(JSON.parse(e),null,2)}catch{return}},"isJson",0,a,"payloadLabel",0,function(e,s){let n=a(s)?"JSON":s.split(";")[0]?.trim()??s,i=new TextEncoder().encode(e).byteLength;return`${n} \xb7 ${(0,t.counted)(i,{one:"byte",many:"bytes"})}`}])},9176,e=>{"use strict";var t=e.i(46806),a=e.i(86165),s=e.i(265);e.s(["usePluginShipIds",0,function(){let e=(0,a.useSquadronsSettings)(),n=(0,s.useTrierarchPluginSettings)(),i=(0,t.useNetworkingPluginSettings)();return new Set([e.data,n.data,i.data].flatMap(e=>{if(void 0===e||"none"===e.state)return[];let t=e.ship?.shipId??e.lastShipId;return null===t?[]:[t]}))}])},93361,e=>{"use strict";var t=e.i(49635);let a={working:"Working",blocked:"Blocked",idle:"Idle"};e.s(["REPORT_STATE_WORDS",0,a,"REPORT_TONES",0,{working:"active",blocked:"waiting",idle:"ended"},"reportAge",0,function(e,a){let s=Math.max(0,a.getTime()-e.getTime());return s<6e4?`${String(Math.floor(s/1e3))} s`:s<36e5?`${String(Math.floor(s/6e4))} min`:s<864e5?`${String(Math.floor(s/36e5))} h`:(0,t.relativeTime)(e,a)},"reportDetailsJson",0,function(e){return JSON.stringify(e,null,2)},"reportDetailsLabel",0,function(e){return`JSON \xb7 ${String(e)} bytes`},"reportText",0,function(e){let t=a[e.state];return null===e.note?t:`${t}: ${e.note}`},"reportedWhen",0,function(e,a){let s=(0,t.relativeTime)(e,a);return`reported ${"Just now"===s?"just now":s}`}])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71567,e=>{"use strict";var t=e.i(56420);let a={name:"bot",size:24,node:[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]};a.node;let s=(0,t.default)(a);e.s(["Bot",0,s],71567)},92150,e=>{"use strict";var t=e.i(56420);let a={name:"boxes",size:24,node:[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]};a.node;let s=(0,t.default)(a);e.s(["Boxes",0,s],92150)},16327,e=>{"use strict";var t=e.i(56420);let a={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};a.node;let s=(0,t.default)(a);e.s(["ChevronDown",0,s],16327)},24071,e=>{"use strict";var t=e.i(56420);let a={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};a.node;let s=(0,t.default)(a);e.s(["ChevronLeft",0,s],24071)},67927,e=>{"use strict";var t=e.i(56420);let a={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};a.node;let s=(0,t.default)(a);e.s(["ChevronRight",0,s],67927)},75043,e=>{"use strict";var t=e.i(56420);let a={name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["help-circle","circle-help"]};a.node;let s=(0,t.default)(a);e.s(["default",0,s])},8734,e=>{"use strict";var t=e.i(56420);let a={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};a.node;let s=(0,t.default)(a);e.s(["Copy",0,s],8734)},72382,e=>{"use strict";var t=e.i(56420);let a={name:"eye",size:24,node:[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};a.node;let s=(0,t.default)(a);e.s(["Eye",0,s],72382)},31458,e=>{"use strict";var t=e.i(56420);let a={name:"flag",size:24,node:[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]};a.node;let s=(0,t.default)(a);e.s(["Flag",0,s],31458)},11147,e=>{"use strict";var t=e.i(56420);let a={name:"octagon-pause",size:24,node:[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],aliases:["pause-octagon"]};a.node;let s=(0,t.default)(a);e.s(["OctagonPause",0,s],11147)},69309,e=>{"use strict";var t=e.i(56420);let a={name:"plug",size:24,node:[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]};a.node;let s=(0,t.default)(a);e.s(["Plug",0,s],69309)},77071,e=>{"use strict";var t=e.i(56420);let a={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};a.node;let s=(0,t.default)(a);e.s(["Plus",0,s],77071)},15331,e=>{"use strict";var t=e.i(56420);let a={name:"radio",size:24,node:[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};a.node;let s=(0,t.default)(a);e.s(["Radio",0,s],15331)},66595,e=>{"use strict";var t=e.i(56420);let a={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};a.node;let s=(0,t.default)(a);e.s(["Search",0,s],66595)},41220,e=>{"use strict";var t=e.i(56420);let a={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};a.node;let s=(0,t.default)(a);e.s(["Server",0,s],41220)},19759,e=>{"use strict";var t=e.i(56420);let a={name:"square-pen",size:24,node:[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],aliases:["pen-box","edit","pen-square"]};a.node;let s=(0,t.default)(a);e.s(["SquarePen",0,s],19759)},83035,e=>{"use strict";var t=e.i(56420);let a={name:"square-terminal",size:24,node:[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],aliases:["terminal-square"]};a.node;let s=(0,t.default)(a);e.s(["SquareTerminal",0,s],83035)},37817,e=>{"use strict";var t=e.i(56420);let a={name:"undo-2",size:24,node:[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]};a.node;let s=(0,t.default)(a);e.s(["Undo2",0,s],37817)},94831,e=>{"use strict";var t=e.i(56420);let a={name:"unplug",size:24,node:[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]]};a.node;let s=(0,t.default)(a);e.s(["Unplug",0,s],94831)},64790,e=>{"use strict";var t=e.i(56420);let a={name:"wifi-off",size:24,node:[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};a.node;let s=(0,t.default)(a);e.s(["WifiOff",0,s],64790)},53341,e=>{"use strict";var t=e.i(81307),a=e.i(83615);t.z.object({shipId:(0,a.idSchema)("ship")}),t.z.object({messageId:(0,a.idSchema)("message"),sentAt:t.z.iso.datetime(),isNew:t.z.boolean()}),t.z.object({deliveryId:(0,a.idSchema)("delivery")}),t.z.strictObject({}),e.s(["isPingContentType",0,function(e){let[t=""]=e.split(";");return"application/vnd.aeolus.ping"===t.trim().toLowerCase()}])},91703,e=>{"use strict";var t=e.i(43476),a=e.i(83035),s=e.i(90063),n=e.i(61966);e.s(["CodeBlock",0,function({label:e,code:i,isWrapped:r=!1,copyValue:l,copyLabel:o=`Copy ${e.toLowerCase()}`,onCopied:d,onCopyFailed:c,codeTestId:u,copyTestId:h}){return(0,t.jsxs)("div",{"data-slot":"code-block",className:"overflow-hidden rounded-lg border border-border bg-muted",children:[(0,t.jsxs)("div",{className:"flex h-9 items-center justify-between gap-2 border-b border-border pr-1.5 pl-3",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)(a.SquareTerminal,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e})]}),(0,t.jsx)(n.CopyButton,{value:l??i,label:o,isLabeled:!0,onCopied:d,onCopyFailed:c,"data-testid":h})]}),(0,t.jsx)("pre",{"data-testid":u,className:(0,s.classNames)("overflow-x-auto px-3 py-3 font-mono text-code text-foreground",r?"break-all whitespace-pre-wrap":"whitespace-pre"),children:i})]})}])},61966,e=>{"use strict";var t=e.i(43476),a=e.i(89664),s=e.i(8734),n=e.i(71645),i=e.i(15905);e.s(["CopyButton",0,function({value:e,label:r,size:l="xs",isLabeled:o=!1,onCopied:d,onCopyFailed:c,className:u,"data-testid":h}){let[m,p]=(0,n.useState)(!1);async function f(){try{await navigator.clipboard.writeText(e)}catch{c?.();return}p(!0),d?.(),setTimeout(()=>{p(!1)},1500)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Button,{variant:"ghost",size:l,isIconOnly:!o,"aria-label":r,title:o?void 0:r,icon:m?(0,t.jsx)(a.Check,{"aria-hidden":!0}):(0,t.jsx)(s.Copy,{"aria-hidden":!0}),className:u,"data-testid":h,onClick:()=>{f()},children:o?m?"Copied":"Copy":null}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:m?"Copied.":""})]})}])},36651,e=>{"use strict";var t=e.i(43476),a=e.i(90063);e.s(["Kbd",0,function({className:e,...s}){return(0,t.jsx)("kbd",{"data-slot":"kbd",className:(0,a.classNames)("inline-flex h-5 min-w-5 shrink-0 items-center justify-center rounded-xs border border-border bg-muted px-1.25 font-sans text-micro font-medium text-muted-foreground max-sm:hidden",e),...s})}])},19321,e=>{"use strict";var t=e.i(43476),a=e.i(90063);e.s(["Skeleton",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"skeleton","aria-hidden":!0,className:(0,a.classNames)("animate-pulse rounded-sm bg-secondary [animation-duration:var(--duration-pulse)] motion-reduce:animate-none",e),...s})}])},14732,e=>{"use strict";var t=e.i(43476),a=e.i(56420);let s={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};s.node;let n=(0,a.default)(s),i={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};i.node;let r=(0,a.default)(i);var l=e.i(63707),o=e.i(90063);function d({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,o.classNames)("px-4 text-left align-middle text-caption font-medium whitespace-nowrap text-muted-foreground",e),...a})}e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto rounded-lg border border-border bg-card shadow-sm",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,o.classNames)("w-full caption-bottom text-body",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,o.classNames)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,o.classNames)("px-4 align-middle",e),...a})},"TableHead",0,d,"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,o.classNames)("bg-muted [&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,o.classNames)("h-(--size-row) border-b border-border transition-colors duration-(--duration-fast) hover:bg-muted has-focus-visible:outline-2 has-focus-visible:-outline-offset-2 has-focus-visible:outline-ring data-new:animate-highlight [thead_&]:h-(--size-row-header) [thead_&]:hover:bg-transparent",e),...a})},"TableSortHead",0,function({direction:e,onSort:a,children:s,className:i,...c}){let u="ascending"===e?r:"descending"===e?n:l.ChevronsUpDown;return(0,t.jsx)(d,{"aria-sort":e??"none",className:(0,o.classNames)("px-2",i),...c,children:(0,t.jsxs)("button",{type:"button",onClick:a,className:"inline-flex h-7 items-center gap-1 rounded-sm px-2 font-medium hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring data-sorted:text-foreground","data-sorted":null===e?void 0:"",children:[s,(0,t.jsx)(u,{"aria-hidden":!0,className:(0,o.classNames)("size-3.5 shrink-0",null===e?"opacity-50":void 0)})]})})}],14732)},67874,e=>{"use strict";var t=e.i(43476),a=e.i(90063);e.s(["EmptyState",0,function({title:e,description:s,icon:n,action:i,variant:r="page",className:l}){return"section"===r?(0,t.jsxs)("p",{"data-slot":"empty-state","data-variant":r,className:(0,a.classNames)("rounded-lg border border-border px-4 py-3 text-center text-meta text-muted-foreground",l),children:[e,s?(0,t.jsxs)(t.Fragment,{children:[" ",s]}):null]}):"no-results"===r?(0,t.jsxs)("div",{"data-slot":"empty-state","data-variant":r,className:(0,a.classNames)("flex flex-col items-center gap-2.5 rounded-lg border border-border bg-card px-4 py-6 text-center",l),children:[(0,t.jsx)("p",{className:"text-meta text-muted-foreground",children:e}),i]}):(0,t.jsxs)("div",{"data-slot":"empty-state","data-variant":r,className:(0,a.classNames)("flex flex-col items-center gap-3 rounded-lg border border-dashed border-border bg-card px-6 py-10 text-center",l),children:[n?(0,t.jsx)("span",{"aria-hidden":!0,className:"flex size-10 items-center justify-center rounded-lg border border-border bg-muted text-muted-foreground [&_svg]:size-(--size-icon-xl)",children:n}):null,(0,t.jsx)("h2",{className:"text-heading font-semibold text-foreground max-sm:text-heading-touch",children:e}),s?(0,t.jsx)("p",{className:"max-w-96 text-meta text-muted-foreground max-sm:text-body-touch",children:s}):null,i?(0,t.jsx)("div",{className:"mt-1 max-sm:w-full max-sm:[&>*]:w-full",children:i}):null]})}])},19249,e=>{"use strict";var t=e.i(43476),a=e.i(90063);let s={"on-time":{label:"On time",dot:"bg-tone-ok-fg",text:"text-tone-ok-fg"},late:{label:"Late",dot:"bg-tone-waiting-fg",text:"text-tone-waiting-fg"},silent:{label:"Silent",dot:"bg-tone-attention-fg",text:"text-tone-attention-fg"},"standing-down":{label:"Standing down",dot:"bg-tone-active-fg",text:"text-tone-active-fg"},"not-on-station":{label:"Not on station",dot:"border border-dashed border-muted-foreground",text:"text-foreground"}};function n({health:e}){return(0,t.jsx)("span",{"aria-hidden":!0,className:(0,a.classNames)("size-2 shrink-0 rounded-full",s[e].dot)})}e.s(["HealthIndicator",0,function({health:e,detail:i,className:r}){return(0,t.jsxs)("span",{"data-slot":"health-indicator","data-health":e,className:(0,a.classNames)("inline-flex items-center gap-1.5 text-meta",r),children:[(0,t.jsx)(n,{health:e}),(0,t.jsx)("span",{className:(0,a.classNames)("font-medium",s[e].text),children:s[e].label}),void 0!==i&&(0,t.jsx)("span",{className:"text-muted-foreground",children:i})]})},"HealthSummary",0,function({counts:e,className:i}){return(0,t.jsx)("span",{"data-slot":"health-summary",className:(0,a.classNames)("inline-flex flex-wrap items-center gap-x-3 gap-y-1 text-meta",i),children:e.map(({health:e,count:a})=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,t.jsx)(n,{health:e}),(0,t.jsxs)("span",{children:[a," ",s[e].label.toLowerCase()]})]},e))})}])},95960,e=>{"use strict";var t=e.i(43476),a=e.i(92150),s=e.i(49287),n=e.i(86875),i=e.i(56420);let r={name:"tag-x",size:24,node:[["path",{d:"m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.43 2.43 0 0 0 3.42 0l1.79-1.79",key:"hu94c9"}],["path",{d:"m16.5 10.5 5 5",key:"1jo8bf"}],["path",{d:"m21.5 10.5-5 5",key:"jzei60"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};r.node;let l=(0,i.default)(r);var o=e.i(63676),d=e.i(90063),c=e.i(80581);let u={"trierarch-plugin":n.ShipWheel,squadrons:a.Boxes,ship:s.Ship,gone:l};e.s(["LabelChip",0,function({chip:e,onRemove:a,testId:s,className:n,trailing:i,meaning:r}){let l="none"===e.mark?null:u[e.mark],h=`${e.key}=${e.value}`,m=void 0===r?(0,c.chipTitleOf)(e):`${(0,c.chipTitleOf)(e)}. ${r}`;return(0,t.jsxs)("span",{role:"group","aria-label":m,"data-slot":"label-chip","data-testid":s,title:m,className:(0,d.classNames)("inline-flex h-5.5 max-w-full min-w-0 shrink-0 items-center gap-1 rounded-sm border border-border bg-secondary px-1.5 font-mono text-id whitespace-nowrap text-foreground [&_svg]:size-3 [&_svg]:shrink-0 [&_svg]:text-muted-foreground","gone"===e.mark?"border-dashed":null,n),children:[null===l?null:(0,t.jsx)(l,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[e.key,"="]}),(0,t.jsx)("span",{className:"font-medium",children:e.value})]}),i,void 0===a?null:(0,t.jsx)("button",{type:"button","aria-label":`Remove ${h}`,onClick:a,className:"-mr-1 ml-0.5 inline-flex size-4 items-center justify-center rounded-xs text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring",children:(0,t.jsx)(o.X,{"aria-hidden":!0})})]})}],95960)},88393,e=>{"use strict";var t=e.i(43476),a=e.i(90063),s=e.i(19321);function n(e){return Array.from({length:e},(e,t)=>`row-${String(t)}`)}e.s(["LoadingSkeleton",0,function({variant:e,rows:i=4,label:r="Loading",className:l}){return(0,t.jsxs)("div",{role:"status","data-slot":"loading-skeleton","data-variant":e,className:(0,a.classNames)("w-full",l),children:[(0,t.jsx)("span",{className:"sr-only",children:r}),"table"===e?(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg border border-border bg-card shadow-sm",children:[(0,t.jsx)("div",{className:"h-(--size-row-header) border-b border-border bg-muted"}),n(i).map(e=>(0,t.jsxs)("div",{className:"flex h-(--size-row) items-center gap-8 border-b border-border px-4 last:border-0",children:[(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-24"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-16"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-20"}),(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-28"})]},e))]}):null,"cards"===e?(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 lg:grid-cols-4",children:n(4).map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-3 rounded-lg border border-border bg-card p-4",children:[(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-20"}),(0,t.jsx)(s.Skeleton,{className:"h-6 w-10"}),(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-28"})]},e))}):null,"detail"===e?(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)(s.Skeleton,{className:"h-7 w-48"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(s.Skeleton,{className:"h-5 w-20"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-16"})]}),(0,t.jsx)(s.Skeleton,{className:"h-16 w-full rounded-lg"})]}):null,"list"===e?(0,t.jsx)("div",{className:"overflow-hidden rounded-lg border border-border bg-card",children:n(i).map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-2.5 border-b border-border px-3.5 py-3 last:border-0",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)(s.Skeleton,{className:"h-3 w-28"}),(0,t.jsx)(s.Skeleton,{className:"h-5 w-16"})]}),(0,t.jsx)(s.Skeleton,{className:"h-2.5 w-44"})]},e))}):null]})}])},63481,e=>{"use strict";var t=e.i(43476),a=e.i(56420);let s={name:"app-window",size:24,node:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]};s.node;let n=(0,a.default)(s);var i=e.i(71567);let r={name:"cloud",size:24,node:[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]};r.node;let l=(0,a.default)(r),o={name:"laptop",size:24,node:[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]};o.node;let d=(0,a.default)(o),c={name:"map-pin",size:24,node:[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]};c.node;let u=(0,a.default)(c),h={name:"message-circle",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]};h.node;let m=(0,a.default)(h);var p=e.i(41220),f=e.i(83035),x=e.i(94831),g=e.i(90063),y=e.i(66616),b=e.i(40798);let v={DEVICE:d,CLOUD:l,SERVER:p.Server,OTHER:u},k={coding:f.SquareTerminal,chat:m,bot:i.Bot,console:n},w={md:"text-body",sm:"text-meta"};e.s(["LocationTag",0,function({kind:e,description:a=null,harness:s=null,isCompact:n=!1,size:i="md",className:r}){let l=(0,g.classNames)("inline-flex min-w-0 items-center gap-1.5 text-muted-foreground [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0",w[i],r);if(null===e)return(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,children:[(0,t.jsx)(x.Unplug,{"aria-hidden":!0}),"No session"]});let o=v[e],d=(0,b.locationKindWord)(e),c=null===a?d:`${d} \xb7 ${a}`;if(null!==s){let e=(0,y.harnessKind)(s),n=void 0===e?void 0:k[e],i=(0,y.harnessWord)(s);return(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,title:null===a?`${i} \xb7 ${d}`:`${i} \xb7 ${d}: ${a}`,children:[void 0===n?null:(0,t.jsx)(n,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate text-foreground",children:i}),(0,t.jsx)("span",{"aria-hidden":!0,children:"·"}),(0,t.jsx)(o,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate",children:d}),null===a?null:(0,t.jsxs)("span",{className:"sr-only",children:[": ",a]})]})}return n?(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,title:c,children:[(0,t.jsx)(o,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"sr-only",children:[d,": "]}),(0,t.jsx)("span",{className:"truncate text-foreground",children:a??d})]}):(0,t.jsxs)("span",{"data-slot":"location-tag",className:l,children:[(0,t.jsx)(o,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[d,null===a?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":!0,children:" · "}),(0,t.jsx)("span",{className:"sr-only",children:", "}),(0,t.jsx)("span",{className:"text-foreground",children:a})]})]})]})}],63481)},81830,e=>{"use strict";var t=e.i(43476),a=e.i(79432),s=e.i(19002),n=e.i(11147),i=e.i(90063),r=e.i(49635),l=e.i(93361);let o={working:a.Activity,blocked:n.OctagonPause,idle:s.CirclePause},d={active:"text-tone-active-fg",waiting:"text-tone-waiting-fg",ended:"text-tone-ended-fg"};e.s(["ReportLine",0,function({report:e,now:a,variant:s,isTimeInTitle:n=!1,testId:c}){let u="full"===s,h=(0,i.classNames)("flex min-w-0 items-center gap-1.5",u?"text-body":"text-meta");if(null===e)return(0,t.jsx)("span",{"data-testid":c,"data-state":"none",className:(0,i.classNames)(h,"text-muted-foreground"),children:"No report yet"});let m=o[e.state],p=d[l.REPORT_TONES[e.state]],f=new Date(e.reportedAt);return(0,t.jsxs)("span",{"data-testid":c,"data-state":e.state,title:n?`${(0,l.reportText)(e)} \xb7 ${(0,l.reportedWhen)(f,a)}`:(0,l.reportText)(e),className:h,children:[(0,t.jsx)(m,{"aria-hidden":!0,className:(0,i.classNames)("size-(--size-icon-sm) shrink-0",p)}),(0,t.jsx)("span",{className:(0,i.classNames)("shrink-0 font-medium",p),children:l.REPORT_STATE_WORDS[e.state]}),null===e.note?null:(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground",children:e.note}),n?null:(0,t.jsx)("time",{dateTime:e.reportedAt,title:(0,r.fullDateTime)(f),className:"shrink-0 text-muted-foreground tabular-nums",children:u?`\xb7 ${(0,l.reportedWhen)(f,a)}`:(0,l.reportAge)(f,a)})]})}])},99261,56539,e=>{"use strict";var t=e.i(43476),a=e.i(56420);let s={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};s.node;let n=(0,a.default)(s);e.s(["ChevronUp",0,n],56539);var i=e.i(71645),r=e.i(95960);e.s(["ShipLabels",0,function({chips:e}){let[a,s]=(0,i.useState)(!1);return 0===e.length?(0,t.jsx)("span",{className:"text-meta text-muted-foreground",children:"No labels"}):!a&&e.length>2?(0,t.jsxs)("span",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[e.slice(0,2).map(e=>(0,t.jsx)(r.LabelChip,{chip:e,testId:"ship-label"},e.valueId)),(0,t.jsxs)("button",{type:"button","aria-label":`Show all ${String(e.length)} labels`,"data-testid":"ship-labels-more",className:"inline-flex h-5.5 items-center rounded-sm bg-secondary px-1.5 text-caption font-medium tabular-nums hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring",onClick:()=>{s(!0)},children:["+",e.length-2]})]}):(0,t.jsxs)("span",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[(function(e){let t=[];for(let a of e){let e="none"===a.mark?null:a.ownerName,s=t.find(t=>t.owner===e);void 0===s?t.push({owner:e,chips:[a]}):s.chips.push(a)}return t})(e).map(e=>(0,t.jsxs)("span",{className:"inline-flex flex-wrap items-center gap-1.5",children:[null===e.owner?null:(0,t.jsxs)("span",{className:"text-meta text-muted-foreground",children:["by ",e.owner]}),e.chips.map(e=>(0,t.jsx)(r.LabelChip,{chip:e,testId:"ship-label"},e.valueId))]},e.owner??"")),e.length>2?(0,t.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1 rounded-sm px-1 text-meta hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring [&_svg]:size-(--size-icon-sm)",onClick:()=>{s(!1)},children:[(0,t.jsx)(n,{"aria-hidden":!0}),"Show fewer"]}):null]})}],99261)},39448,e=>{"use strict";var t=e.i(43476),a=e.i(25913),s=e.i(22016),n=e.i(90063);let i=(0,a.cva)("min-w-0 truncate font-sans font-medium",{variants:{size:{body:"text-body text-foreground",meta:"text-meta text-muted-foreground",title:"text-title font-semibold tracking-tight text-foreground max-sm:text-title-touch"}},defaultVariants:{size:"body"}});e.s(["ShipName",0,function({name:e,shipId:a,size:r,isSuffixShown:l=!1,isOperator:o=!1,href:d,className:c}){let u=d?(0,t.jsx)(s.default,{href:d,className:(0,n.classNames)(i({size:r}),"rounded-xs underline-offset-3 hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"),title:e,children:e}):(0,t.jsx)("span",{className:i({size:r}),title:e,children:e});return(0,t.jsxs)("span",{"data-slot":"ship-name",className:(0,n.classNames)("inline-flex min-w-0 items-baseline gap-1.5",c),children:[u,o?(0,t.jsx)("span",{className:"shrink-0 font-normal text-muted-foreground",children:"(you)"}):null,l&&!o?(0,t.jsxs)("span",{className:"shrink-0 font-mono text-id text-muted-foreground uppercase",children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"· "}),a.slice(-4)]}):null]})}])},37631,e=>{"use strict";var t=e.i(43476),a=e.i(77880),s=e.i(85538);e.s(["DetailPage",0,function({title:e,parents:n,header:i,children:r,sheet:l,live:o,onCompose:d,onSearch:c,banner:u}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Header,{breadcrumb:e,parents:n,live:o,onCompose:d,onSearch:c}),u,(0,t.jsx)(s.TopBar,{title:e,live:o,back:n[n.length-1]??n[0]}),(0,t.jsxs)("main",{className:"flex grow flex-col gap-5 px-8 py-6 max-sm:gap-3.5 max-sm:px-4 max-sm:pt-3.5 max-sm:pb-[calc(var(--size-tabbar)+var(--spacing)*4)]",children:[i,r]}),l]})}])},77880,85538,e=>{"use strict";var t=e.i(43476),a=e.i(67927),s=e.i(66595),n=e.i(19759),i=e.i(22016),r=e.i(15905),l=e.i(36651),o=e.i(90063);let d={live:{label:"Live",dot:"bg-tone-ok-fg"},reconnecting:{label:"Reconnecting",dot:"bg-tone-waiting-fg"},offline:{label:"Offline",dot:"bg-tone-attention-fg"}};function c({state:e,className:a}){let{label:s,dot:n}=d[e];return(0,t.jsxs)("span",{"data-slot":"live-status","data-state":e,"aria-live":"polite",className:(0,o.classNames)("inline-flex items-center gap-1.5 text-meta text-muted-foreground",a),children:[(0,t.jsx)("span",{"aria-hidden":!0,className:(0,o.classNames)("size-2 shrink-0 rounded-full",n)}),s]})}e.s(["Header",0,function({breadcrumb:e,parents:o=[],live:d,onCompose:u,onSearch:h}){return(0,t.jsxs)("header",{"data-slot":"header",className:"sticky top-0 z-30 hidden h-(--size-header) shrink-0 items-center justify-between gap-4 border-b border-border bg-background px-6 sm:flex",children:[(0,t.jsx)("nav",{"aria-label":"Breadcrumb","data-testid":"header-breadcrumb",className:"min-w-0 text-body",children:(0,t.jsxs)("ol",{className:"flex min-w-0 items-center gap-1.5",children:[o.map(e=>(0,t.jsxs)("li",{className:"flex shrink-0 items-center gap-1.5",children:[(0,t.jsx)(i.default,{href:e.href,className:"text-muted-foreground hover:text-foreground hover:underline",children:e.label}),(0,t.jsx)(a.ChevronRight,{"aria-hidden":!0,className:"size-3.5 text-muted-foreground"})]},e.href)),(0,t.jsx)("li",{"aria-current":"page",className:"truncate font-medium text-foreground",children:e})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(c,{state:d}),h?(0,t.jsxs)(r.Button,{size:"sm",icon:(0,t.jsx)(s.Search,{"aria-hidden":!0}),"data-testid":"header-search",className:"w-60 justify-start font-normal text-muted-foreground",onClick:h,children:[(0,t.jsx)("span",{className:"grow text-left",children:"Search ships or jump to"}),(0,t.jsx)(l.Kbd,{children:"⌘K"})]}):null,u?(0,t.jsx)(r.Button,{size:"sm",icon:(0,t.jsx)(n.SquarePen,{"aria-hidden":!0}),"data-testid":"header-compose",onClick:u,children:"Compose"}):null]})]})}],77880);var u=e.i(24071),h=e.i(57957);e.s(["TopBar",0,function({title:e,live:a,actions:n,back:l,account:o,onSearch:d}){let m=d&&!l?d:void 0;return(0,t.jsxs)("header",{"data-slot":"top-bar","data-mode":l?"detail":"root",className:"sticky top-0 z-30 flex h-(--size-header) items-center gap-2.5 border-b border-border bg-background px-4 sm:hidden",children:[l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.default,{href:l.href,className:"-ml-1.5 inline-flex h-(--size-control-touch) shrink-0 items-center gap-0.5 rounded-md pr-2 text-body-touch text-foreground focus-visible:outline-2 focus-visible:outline-ring [&_svg]:size-(--size-icon)",children:[(0,t.jsx)(u.ChevronLeft,{"aria-hidden":!0}),l.label]}),(0,t.jsx)("p",{className:"min-w-0 flex-1 truncate text-center text-body-touch font-semibold text-foreground",children:e})]}):(0,t.jsx)("h1",{className:"truncate text-title-touch font-semibold tracking-tight text-foreground",children:e}),(0,t.jsx)(c,{state:a}),n||m||o&&!l?(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[m?(0,t.jsx)(r.Button,{variant:"ghost",size:"touch",isIconOnly:!0,"aria-label":"Search ships or jump to","data-testid":"top-bar-search",onClick:m,children:(0,t.jsx)(s.Search,{"aria-hidden":!0})}):null,n,o&&!l?(0,t.jsx)(h.AccountMenuSheet,{...o}):null]}):null]})}],85538)},79369,e=>{"use strict";var t=e.i(53341),a=e.i(49635);function s(e,t){return{icon:e,...t}}function n(e){switch(e.kind){case"fleet":return{icon:"fleet",words:"Fleet"};case"agent":return{icon:"agent",words:"Agent"};case"trierarch":case"pluginWatcher":case"personApp":case"gateway":case"adapter":{let{icon:t,text:a}=i(e);return{icon:t,words:a}}}}function i(e){switch(e.kind){case"trierarch":return{icon:"computer",text:`Trierarch on ${e.trierarch.name}`};case"pluginWatcher":return{icon:"watcher",text:"Plugin watcher"};case"personApp":return{icon:"computer",text:"Person's app"};case"gateway":return{icon:"computer",text:"Gateway"};case"adapter":return{icon:"computer",text:"Adapter"}}}function r(e){return"handed"!==e.state||e.isPulled?e.state:"handedPushed"}e.s(["deliveryStatus",0,r,"holderWordsOf",0,i,"messageWay",0,function(e,i){let{now:l,machines:o=[]}=i,d=(0,t.isPingContentType)(e.contentType),c=d&&("pending"===e.delivery.state||"received"===e.delivery.state||"handed"===e.delivery.state),u=d&&(c||"acknowledged"===e.delivery.state)?function(e,t){let{history:n}=e.delivery,i=n.find(e=>"DeliveryHanded"===e.type),r=n.find(e=>"DeliveryAcknowledged"===e.type);if(r&&i){let e=new Date(r.occurredAt).getTime()-new Date(i.occurredAt).getTime(),t=e<6e4?`${String(Math.floor(Math.max(0,e)/1e3))} s`:(0,a.duration)(new Date(i.occurredAt),new Date(r.occurredAt));return s("ping",{tone:"neutral",text:`Answered ping in ${t} after hand-over`})}let l=`Pinged ${(0,a.relativeTime)(new Date(e.sentAt),t).toLowerCase()}`,o=i?` \xb7 handed ${(0,a.relativeTime)(new Date(i.occurredAt),t).toLowerCase()}`:"";return s("ping",{tone:"waiting",text:`${l}${o} \xb7 no answer yet`})}(e,l):function(e,t){let{state:i,attempts:r,way:l}=e.delivery,o=(0,a.relativeTime)(new Date(l.since),t);if(null===l.holder)return s("time",{tone:"neutral",text:o});let{icon:d,words:c}=n(l.holder);if("handed"!==i)return s(d,{tone:"acknowledged"===i?"neutral":"waiting",text:`${c} \xb7 ${o}`});if(l.isPulled){let e=r>1?` \xb7 handed (pulled) ${String(r)} times`:"";return s(d,{tone:"waiting",text:`${c} (pulled) \xb7 ${o} \xb7 not acknowledged${e}`})}let u=r>1?` \xb7 attempt ${String(r)} of ${String(5)}`:"";return s(d,{tone:"waiting",text:`${c} \xb7 ${o} \xb7 not confirmed${u}`})}(e,l);return{status:function(e){let{state:t,way:a}=e.delivery;return r({state:t,isPulled:a.isPulled})}(e),lines:[u,...d?[]:function(e){let{state:t,way:a}=e.delivery;return"acknowledged"!==t?[]:a.isPulled?[s("unknown",{tone:"neutral",text:"Handled: not reported (pull ship)"})]:a.lease?.isEnded?[s("unknown",{tone:"waiting",text:"Handled unknown: lease ended"})]:[]}(e),...function(e,t){let{now:i,machines:r}=t,{state:l,way:o}=e.delivery,d=[],c="pending"===l||"received"===l,u=o.lease?.turn;c&&u?.turn==="busy"&&d.push(s("busy",{tone:"active",text:`Session busy since ${(0,a.sinceTime)(new Date(u.at),i)}`}));let h="received"===l||"handed"===l;h&&o.crew?.status==="restarting"&&d.push(s("restart",{tone:"waiting",text:`Session restarting (restart ${String(o.crew.attempt)})`})),h&&o.crew?.status==="crashed"&&d.push(s("died",{tone:"attention",text:"Session crashed"})),h&&o.crew?.status==="running"&&o.crew.attempt>0&&null!==o.crew.startedAt&&d.push(s("restart",{tone:"neutral",text:`Session restarted ${(0,a.sinceTime)(new Date(o.crew.startedAt),i)}`}));let m=o.lease?.by,p=m?.kind==="trierarch"?r.find(e=>e.shipId===m.trierarch.id):void 0;if(m&&c&&p?.isSilent){let e=null===p.lastSeenAt?"":` since ${(0,a.sinceTime)(new Date(p.lastSeenAt),i)}`;d.push(s("silent",{tone:"attention",text:`${n(m).words} silent${e}`}))}return o.overdue&&d.push(s("clock",{tone:"attention",text:`argo told at ${String(o.overdue.minutes)} min`})),"notHandled"===l&&d.push(s("died",{tone:"attention",text:`Session died twice \xb7 argo told ${(0,a.sinceTime)(new Date(o.since),i)}`})),d}(e,{now:l,machines:o})]}}])},39124,e=>{"use strict";var t=e.i(43476),a=e.i(46150),s=e.i(39448);e.s(["Sentence",0,function({parts:e,className:n}){let i;return(0,t.jsx)("span",{className:n,children:(i=new Map,e.map(e=>{let t="text"===e.kind?`text:${e.text}`:`ship:${e.party.id}`,a=i.get(t)??0;return i.set(t,a+1),{key:`${t}#${String(a)}`,part:e}})).map(({key:e,part:n})=>"text"===n.kind?(0,t.jsx)("span",{children:n.text},e):(0,t.jsx)(s.ShipName,{name:n.party.name,shipId:n.party.id,isSuffixShown:n.party.name!==a.OPERATOR_NAME,className:"align-baseline"},e))})}])},46157,e=>{"use strict";var t=e.i(43476),a=e.i(49655),s=e.i(56420);let n={name:"arrow-down-to-line",size:24,node:[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]};n.node;let i=(0,s.default)(n);var r=e.i(71567),l=e.i(19002),o=e.i(75043),o=o,d=e.i(74544),c=e.i(72382);let u={name:"heart-crack",size:24,node:[["path",{d:"M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15",key:"idzbju"}],["path",{d:"M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z",key:"1su70f"}]]};u.node;let h=(0,s.default)(u),m={name:"loader",size:24,node:[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]};m.node;let p=(0,s.default)(m);var f=e.i(46513),x=e.i(15331),g=e.i(95925),y=e.i(41220),b=e.i(64790),v=e.i(90063),k=e.i(78865);let w={fleet:y.Server,computer:f.Monitor,watcher:c.Eye,pull:i,agent:r.Bot,time:d.Clock,clock:a.AlarmClock,busy:p,idle:l.CirclePause,restart:g.RotateCcw,silent:b.WifiOff,died:h,ping:x.Radio,unknown:o.default},j={neutral:"text-muted-foreground",waiting:"text-tone-waiting-fg",active:"text-tone-active-fg",attention:"text-tone-attention-fg"};function N({line:e,testId:a}){let s=w[e.icon];return(0,t.jsxs)("li",{"data-testid":a,className:(0,v.classNames)("flex items-center gap-1.5 text-meta max-sm:text-body-touch",j[e.tone]),children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{children:e.text})]})}e.s(["WayLineItem",0,N,"WayLines",0,function({status:e,lines:a}){return(0,t.jsxs)("div",{"data-testid":"message-way",className:"flex flex-col gap-1.5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(k.StatusBadge,{status:e})}),(0,t.jsx)("ul",{"aria-label":"Where it stands",className:"flex flex-col gap-1",children:a.map(e=>(0,t.jsx)(N,{line:e,testId:"message-way-line"},e.text))})]})}],46157)},8041,e=>{"use strict";var t=e.i(14695);function a(e,t){for(let a of t)e.includes(a)||e.push(a)}function s(e){return Object.fromEntries((e?.options??[]).flatMap(e=>{let t=e.defaultValue??e.values[0];return void 0===t?[]:[[e.name,t]]}))}function n(e){let[t]=e?.repositories??[];if(void 0!==t)return{kind:"worktree",repository:t};let[a]=e?.folders??[];return void 0===a?void 0:{kind:"folder",name:a}}function i(e){let[t]=e;return{harness:t?.harness??"",workspace:n(t),options:s(t),firstPrompt:"",squadron:"",machineLabels:[]}}let r=new TextEncoder;function l(e){return r.encode(e).byteLength}function o(e){return e<1024?`${String(e)} B`:`${(e/1024).toFixed(1).replace(/\.0$/,"")} KB`}e.s(["byteSize",0,o,"defaultValues",0,i,"offersOf",0,function(e){let s=[];for(let n of e)if(!n.isSilent&&null!==n.details)for(let e of n.details.harnesses){let i=s.find(t=>t.harness===e.harness);for(let r of(void 0===i&&(i={harness:e.harness,repositories:[],folders:[],options:[]},s.push(i)),a(i.repositories,n.details.workspaces.repositories),a(i.folders,n.details.workspaces.folders),(0,t.harnessOptions)(e.options))){let e=i.options.find(e=>e.name===r.name);void 0===e?i.options.push({...r,values:[...r.values]}):(a(e.values,r.values),e.defaultValue??=r.defaultValue)}}return s},"promptBytes",0,l,"settingsOf",0,function(e){if(""!==e.harness&&void 0!==e.workspace)return{harness:e.harness,workspace:e.workspace,options:e.options,...""===e.firstPrompt?{}:{firstPrompt:e.firstPrompt},...""===e.squadron?{}:{squadron:e.squadron},...0===e.machineLabels.length?{}:{machineLabels:e.machineLabels}}},"settingsRows",0,function(e){if(null==e)return;let{harness:t,workspace:a,options:s,firstPrompt:n,squadron:i}=e;return[{label:"Harness",value:t??"Trierarch default"},"worktree"===a.kind?{label:"Workspace",value:a.repository,meta:"New worktree"}:{label:"Workspace",value:a.name,meta:"Folder, as it is"},...Object.entries(s).map(([e,t])=>({label:e,value:"string"==typeof t?t:JSON.stringify(t),isMono:!0})),{label:"First prompt",value:void 0===n?null:o(l(n))},{label:"Squadron",value:i??null,isMono:!0}]},"valuesOf",0,function(e,t){if(null==e)return i(t);let{harness:a,workspace:s,options:n,firstPrompt:r,squadron:l,machineLabels:o}=e;return{harness:a??i(t).harness,workspace:"worktree"===s.kind?{kind:"worktree",repository:s.repository}:{kind:"folder",name:s.name},options:Object.fromEntries(Object.entries(n).flatMap(([e,t])=>"string"==typeof t?[[e,t]]:[])),firstPrompt:r??"",squadron:l??"",machineLabels:[...o??[]]}},"withHarness",0,function(e,t){let{harness:a,offers:i}=t,r=i.find(e=>e.harness===a),l=e.workspace,o=void 0!==l&&("worktree"===l.kind?r?.repositories.includes(l.repository)??!1:r?.folders.includes(l.name)??!1);return{...e,harness:a,workspace:o?l:n(r),options:s(r)}}])},10921,e=>{"use strict";var t=e.i(76580),a=e.i(94070);e.s(["useCrewSettings",0,function(e){let s=(0,t.useConsoleRead)({queryKey:["crew-settings",JSON.stringify(e)],queryFn:()=>(0,a.fetchConsoleRead)({read:"crew-settings",input:{settings:[...e]}}),enabled:e.length>0,staleTime:1/0});return 0===e.length?[]:s.data}])},66616,e=>{"use strict";var t=e.i(49635);let a={"claude-code":{word:"Claude Code",kind:"coding"},codex:{word:"Codex",kind:"coding"},"claude-chat":{word:"Claude chat",kind:"chat"},chatgpt:{word:"ChatGPT",kind:"chat"},grok:{word:"Grok",kind:"chat"},grokbot:{word:"Grokbot",kind:"bot"},console:{word:"Console",kind:"console"}};function s(e){return a[e]?.word??e}e.s(["crewLineHarnessWord",0,function(e){return"chat"===e?"Chat":s(e)},"harnessDetection",0,function(e,a){if(void 0===e.version)return;if(void 0===e.modelsConfirmedAt||null===e.modelsConfirmedAt)return`${e.version} \xb7 no model confirmed`;let s=(0,t.relativeTime)(new Date(e.modelsConfirmedAt),a);return`${e.version} \xb7 models confirmed ${"Just now"===s?"just now":s}`},"harnessKind",0,function(e){return a[e]?.kind},"harnessWord",0,s])},18423,e=>{"use strict";var t=e.i(12598),a=e.i(5861),s=e.i(71645),n=e.i(86413),i=e.i(27702);let r=new Set(["FleetInitialised","ShipCommissioned","ShipClaimed","LeaseRevoked","CredentialRevoked","StartingPromptIssued","ShipRetired","DeliveryAcknowledged","DeliveryUndeliverable","ShipReported","CrewRequested","CrewRequestRemoved","CrewAssigned","CrewStatusChanged","CrewRequestExplained","CrewRequestGivenBack","LabelAssigned","LabelUnassigned","LabelRetired"]);async function l(e,t){await e.cancelQueries({queryKey:t,predicate:e=>void 0===e.state.data&&"fetching"===e.state.fetchStatus}),await e.invalidateQueries({queryKey:t})}let o=new Set(["LabelDefined","LabelValuesChanged","LabelRetired","LabelAssigned","LabelUnassigned","LabelDeleted"]),d=new Set(["DeliveryUndeliverable","DeliveryNotHandled","DeliveryDismissed"]);e.s(["useLiveFleet",0,function(){let e=(0,i.useTRPC)(),c=(0,t.useQueryClient)(),[u,h]=(0,s.useState)(new Set),m=e=>{l(c,e)},p=(0,a.useSubscription)(e.fleet.events.subscriptionOptions({lastEventId:null},{onData:({data:t})=>{var a,s,i,l;if("resync"===t.kind){m(e.fleet.pathKey()),m(n.INBOX_KEY);return}let{event:c}=t;for(let t of new Set([c.shipId,c.actorShipId]))null!==t&&(m(e.fleet.ship.queryKey({shipId:t})),m(e.fleet.shipTimeline.queryKey({shipId:t})),m(e.fleet.shipWay.queryKey({shipId:t})));if(null!==c.messageId&&(m(e.fleet.shipMessages.pathKey()),m(e.fleet.shipWay.pathKey()),m(e.fleet.message.queryKey({messageId:c.messageId})),m(e.fleet.inbox.pathKey()),m(n.INBOX_KEY),m(e.fleet.health.queryKey())),a=c.type,d.has(a)&&m(e.fleet.needsAttention.queryKey()),s=c.type,o.has(s)&&m(e.fleet.labels.queryKey()),"NetworkRulesDeclared"===c.type&&m(e.fleet.declaredNetworkRules.queryKey()),("BuiltInRuleChanged"===(i=c.type)||"NetworkPluginUnregistered"===i)&&m(e.fleet.builtInRules.queryKey()),l=c.type,!r.has(l))return;m(e.fleet.list.queryKey()),m(e.fleet.health.queryKey());let{shipId:u}=c;"ShipCommissioned"===c.type&&null!==u&&h(e=>new Set([...e,u]))}}));return{live:function(e){switch(e){case"pending":return"live";case"connecting":return"reconnecting";case"idle":case"error":return"offline"}}(p.status),newShipIds:u,error:p.error}}])},40798,e=>{"use strict";let t={DEVICE:"Device",CLOUD:"Cloud",SERVER:"Server",OTHER:"Other"};e.s(["locationKindWord",0,function(e){return t[e]}])},78608,e=>{"use strict";var t=e.i(80581);function a(e,t){return e.ships.find(e=>e.id===t.shipId)?.labels.map(e=>e.valueId)??[]}e.s(["machineLabelIdsOf",0,function(e){return[...e?.machineLabels??[]]},"machineLabelsInputOf",0,function(e,s){let{machines:n,shipLabelsMax:i}=s;return{groups:function(e,t){let s=t.map(t=>a(e,t)),n=[],i=[];for(let t of e.labels){let a=t.values.map(e=>({valueId:e.id,value:e.value,shipCount:s.filter(t=>t.includes(e.id)).length})),r={labelId:t.id,key:t.key,mark:e.ownerOf.get(t.id)?.mark??"ship",values:a};(a.some(e=>e.shipCount>0)?n:i).push(r)}let r=(e,t)=>e.key.localeCompare(t.key);return[{title:"On machines",keys:n.toSorted(r)},{title:"On no machine yet",keys:i.toSorted(r)}].filter(e=>e.keys.length>0)}(e,n),max:i,chipsOf:a=>(0,t.pickedChips)(a,e),matchOf:t=>{var s;return{matching:(s={machines:n,valueIds:t}).machines.filter(t=>{let n=a(e,t);return s.valueIds.every(e=>n.includes(e))}).map(e=>e.name),total:s.machines.length}}}},"machineLabelsText",0,function(e){let t=e.map(e=>`${e.key}=${e.value}`);return t.length<=2?t.join(" and "):`${t.slice(0,-1).join(", ")} and ${t.at(-1)??""}`},"noMatchWords",0,function(e){return 1===e?{these:"this label",carries:"carries it"}:2===e?{these:"both",carries:"carries both"}:{these:"these labels",carries:"carries them all"}}])},28459,e=>{"use strict";var t=e.i(54616),a=e.i(66027),s=e.i(12598),n=e.i(27702);function i(e){let t=String(e.attempts-1);return e.isPushed?`Handed ${t} times, never confirmed; fifth refused: undeliverable.`:`Handed (pulled) ${t} times, never acknowledged; fifth receive refused: undeliverable.`}let r="Acknowledged, then its turn died; handed once more, and that turn died too: not handled.";function l(){let e=(0,n.useTRPC)(),t=(0,s.useQueryClient)();return()=>t.invalidateQueries({queryKey:e.fleet.pathKey()})}e.s(["DISMISSED_TOAST",0,{title:"Delivery dismissed",description:"It stays in the timelines as dismissed."},"attentionReason",0,function(e){switch(e.state){case"undeliverable":return i(e);case"notHandled":return null===e.reason?r:`${r} Its crew said: ${e.reason}.`}},"canResend",0,function(e){return!e.message.isPing},"deliveryWithId",0,function(e,t){return e?.find(e=>e.deliveryId===t)},"resentToast",0,function(e){return{title:"Message resent",description:`A new message went to ${function(e){let{recipient:t}=e.message;return"ship"===t.kind?t.ship.name:`any ship of type ${t.type}`}(e)}. The original is dismissed.`}},"undeliverableReason",0,i,"useDismissDelivery",0,function(){let e=(0,n.useTRPC)(),a=l();return(0,t.useMutation)(e.fleet.dismiss.mutationOptions({onSuccess:a}))},"useNeedsAttention",0,function(){let e=(0,n.useTRPC)();return(0,a.useQuery)(e.fleet.needsAttention.queryOptions())},"useResendDelivery",0,function(){let e=(0,n.useTRPC)(),a=l();return(0,t.useMutation)(e.fleet.resend.mutationOptions({onSuccess:a}))}])},69693,e=>{"use strict";var t=e.i(46150);function a(e){let t=e.split(";")[0]?.trim().toLowerCase()??"";return"application/json"===t||t.endsWith("+json")}e.s(["formattedPayload",0,function(e,t){if(a(t))try{return JSON.stringify(JSON.parse(e),null,2)}catch{return}},"isJson",0,a,"payloadLabel",0,function(e,s){let n=a(s)?"JSON":s.split(";")[0]?.trim()??s,i=new TextEncoder().encode(e).byteLength;return`${n} \xb7 ${(0,t.counted)(i,{one:"byte",many:"bytes"})}`}])},9176,e=>{"use strict";var t=e.i(46806),a=e.i(86165),s=e.i(265);e.s(["usePluginShipIds",0,function(){let e=(0,a.useSquadronsSettings)(),n=(0,s.useTrierarchPluginSettings)(),i=(0,t.useNetworkingPluginSettings)();return new Set([e.data,n.data,i.data].flatMap(e=>{if(void 0===e||"none"===e.state)return[];let t=e.ship?.shipId??e.lastShipId;return null===t?[]:[t]}))}])},93361,e=>{"use strict";var t=e.i(49635);let a={working:"Working",blocked:"Blocked",idle:"Idle"};e.s(["REPORT_STATE_WORDS",0,a,"REPORT_TONES",0,{working:"active",blocked:"waiting",idle:"ended"},"reportAge",0,function(e,a){let s=Math.max(0,a.getTime()-e.getTime());return s<6e4?`${String(Math.floor(s/1e3))} s`:s<36e5?`${String(Math.floor(s/6e4))} min`:s<864e5?`${String(Math.floor(s/36e5))} h`:(0,t.relativeTime)(e,a)},"reportDetailsJson",0,function(e){return JSON.stringify(e,null,2)},"reportDetailsLabel",0,function(e){return`JSON \xb7 ${String(e)} bytes`},"reportText",0,function(e){let t=a[e.state];return null===e.note?t:`${t}: ${e.note}`},"reportedWhen",0,function(e,a){let s=(0,t.relativeTime)(e,a);return`reported ${"Just now"===s?"just now":s}`}])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31421,e=>{"use strict";var t=e.i(71645),n=e.i(46376),i=e.i(88015);e.s(["useAriaLabelledBy",0,function(e,r,a,l=!0,s){let[o,u]=t.useState(),d=(0,i.useBaseUiId)(s?`${s}-label`:void 0),c=e??r??o;return(0,n.useIsoLayoutEffect)(()=>{let t=e||r||!l?void 0:function(e,t){let n=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let n=e.id;if(n){let t=e.nextElementSibling;if(t&&t.htmlFor===n)return t}let i=e.labels;return i&&i[0]}(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}(a.current,d);o!==t&&u(t)}),c}])},86698,e=>{"use strict";e.s(["serializeValue",0,function(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}])},13203,65858,84325,42191,50001,18438,e=>{"use strict";var t=e.i(71645);e.s(["useOnFirstRender",0,function(e){let n=t.useRef(!0);n.current&&(n.current=!1,e())}],13203);var n=e.i(29315),i=e.i(83977),r=e.i(46376),a=e.i(88940),l=e.i(90627),s=e.i(46420),o=e.i(56341);e.s(["useFloatingRootContext",0,function(e){let{open:t=!1,onOpenChange:u,elements:d={}}=e,c=(0,i.useId)(),f=null!=(0,s.useFloatingParentNodeId)(),m=(0,a.useRefWithInit)(()=>new o.FloatingRootStore({open:t,transitionStatus:void 0,onOpenChange:u,referenceElement:d.reference??null,floatingElement:d.floating??null,triggerElements:new l.PopupTriggerMap,floatingId:c,syncOnly:!1,nested:f})).current;return(0,r.useIsoLayoutEffect)(()=>{let e={open:t,floatingId:c};void 0!==d.reference&&(e.referenceElement=d.reference,e.domReferenceElement=(0,n.isElement)(d.reference)?d.reference:null),void 0!==d.floating&&(e.floatingElement=d.floating),m.update(e)},[t,c,d.reference,d.floating,m]),m.context.onOpenChange=u,m.context.nested=f,m}],65858);let u=(e,t)=>Object.is(e,t);function d(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function c(e,t,n){return!!e&&e.some(e=>void 0!==e&&d(t,e,n))}function f(e,t,n){return e?e.findIndex(e=>void 0!==e&&d(e,t,n)):-1}function m(e,t,n,i){let r=i&&Array.isArray(t)?e.findIndex(function(e,t){if(t!==u)return n=>c(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(0!==t||e.some(e=>Object.is(t,e)))}(t,n)):f(e,t,n);return -1===r?null:r}e.s(["compareItemEquality",0,d,"defaultItemEquality",0,u,"findItemIndex",0,f,"findSelectionIndex",0,m,"isSelectedValueDirty",0,function(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!function(e,t,n=Object.is){let{length:i}=e;if(i!==t.length)return!1;for(let r=0;r<i;r+=1)if(!n(e[r],t[r]))return!1;return!0}(e,t,(e,t)=>d(e,t,n)):e!==t},"removeItem",0,function(e,t,n){return e.filter(e=>!d(t,e,n))},"resolveSelectedIndex",0,function(e,t,n,i,r,a){return c(i,t,r)?null!=a&&e>a&&c(i,n[a],r)?a:e:e===a?m(n,i,r,!0):a},"selectedValueIncludes",0,c],84325);var h=e.i(86698),p=e.i(43476);function v(e){var t;return"object"==typeof(t=e?.[0])&&null!=t&&Array.isArray(t.items)}function x(e){return v(e)?e.flatMap(e=>e.items):e}function g(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return(0,h.serializeValue)(e)}function b(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??g(e,n);if(Array.isArray(t)){let i=x(t);if(null==e||"object"!=typeof e){let t=i.find(t=>t.value===e);return t&&null!=t.label?t.label:g(e,n)}if("value"in e){let t=i.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return g(e,n)}e.s(["flattenLeafItems",0,x,"hasNullItemLabel",0,function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(v(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1},"isGroupedItems",0,v,"resolveMultipleLabels",0,function(e,n,i){return e.reduce((e,r,a)=>(a>0&&e.push(", "),e.push((0,p.jsx)(t.Fragment,{children:b(r,n,i)},a)),e),[])},"resolveSelectedLabel",0,b,"stringifyAsLabel",0,g,"stringifyAsValue",0,function(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?(0,h.serializeValue)(e.value):(0,h.serializeValue)(e)}],42191),e.s(["getDefaultLabelId",0,function(e){return null==e?void 0:`${e}-label`},"resolveAriaLabelledBy",0,function(e,t){return e??t}],50001);var y=e.i(52245);let k=t.forwardRef(function(e,t){let{className:n,render:i,orientation:r="horizontal",style:a,...l}=e;return(0,y.useRenderElement)("div",e,{state:{orientation:r},ref:t,props:[{role:"presentation"},l]})});e.s(["ListboxSeparator",0,k],18438)},92150,e=>{"use strict";var t=e.i(56420);let n={name:"boxes",size:24,node:[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]};n.node;let i=(0,t.default)(n);e.s(["Boxes",0,i],92150)},16327,e=>{"use strict";var t=e.i(56420);let n={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};n.node;let i=(0,t.default)(n);e.s(["ChevronDown",0,i],16327)},30274,e=>{"use strict";var t=e.i(56420);let n={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};n.node;let i=(0,t.default)(n);e.s(["Send",0,i],30274)},80799,e=>{"use strict";var t=e.i(56420);let n={name:"tag",size:24,node:[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};n.node;let i=(0,t.default)(n);e.s(["Tag",0,i],80799)},68401,e=>{"use strict";var t=e.i(56420);let n={name:"tags",size:24,node:[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]};n.node;let i=(0,t.default)(n);e.s(["Tags",0,i],68401)},91727,e=>{"use strict";var t=e.i(43476),n=e.i(90063);e.s(["Label",0,function({className:e,htmlFor:i,...r}){return(0,t.jsx)("label",{"data-slot":"label",htmlFor:i,className:(0,n.classNames)("text-body font-medium text-foreground select-none",e),...r})}])},75867,e=>{"use strict";var t=e.i(43476);e.s([],24305),e.i(24305);var n=e.i(71645),i=e.i(51437),r=e.i(28918),a=e.i(46376),l=e.i(2077),s=e.i(56789),o=e.i(52245),u=e.i(88015),d=e.i(40886),c=e.i(33332);let f=n.createContext(void 0),m={...e.i(75812).fieldValidityMapping,checked:e=>e?{"data-checked":""}:{"data-unchecked":""}};var h=e.i(64350),p=e.i(69690),v=e.i(81104),x=e.i(84708),g=e.i(47778),b=e.i(31421),y=e.i(38489),k=e.i(75606),j=e.i(56434),w=e.i(6039);let N=n.forwardRef(function(e,c){let{checked:N,className:A,defaultChecked:z,"aria-labelledby":S,form:C,id:I,inputRef:E,name:R,nativeButton:L=!1,onCheckedChange:M,readOnly:P=!1,required:O=!1,disabled:V=!1,render:B,uncheckedValue:T,value:q,style:F,...$}=e,{clearErrors:_}=(0,x.useFormContext)(),{state:D,setTouched:H,setDirty:U,validityData:W,setFilled:Z,setFocused:G,validationMode:J,disabled:K,name:X,validation:Y}=(0,p.useFieldRootContext)(),{labelId:Q}=(0,g.useLabelableContext)(),ee=K||V,et=X??R,en=n.useRef(null),ei=(0,r.useMergedRefs)(en,E,Y.inputRef),er=n.useRef(null),ea=(0,u.useBaseUiId)(),el=(0,y.useLabelableId)({id:I}),es=L?void 0:el,[eo,eu]=(0,i.useControlled)({controlled:N,default:!!z,name:"Switch",state:"checked"});(0,v.useRegisterFieldControl)(er,ea,eo,void 0,!ee,R),(0,a.useIsoLayoutEffect)(()=>{Z(eo)},[eo,Z]),(0,w.useValueChanged)(eo,()=>{_(et),U(eo!==W.initialValue),Y.change(eo)});let{getButtonProps:ed,buttonRef:ec}=(0,d.useButton)({disabled:ee,native:L}),ef=(0,b.useAriaLabelledBy)(S,Q,en,!L,es),em={...Y.getValidationProps(ee),checked:eo,disabled:ee,form:C,id:es,name:et,required:O,style:et?l.visuallyHiddenInput:l.visuallyHidden,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:ei,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(P)return void e.preventDefault();let t=e.currentTarget.checked,n=(0,k.createChangeEventDetails)(j.REASONS.none,e.nativeEvent);M?.(t,n),n.isCanceled||eu(t)},onClick(e){e.stopPropagation()},onFocus(){er.current?.focus()},...void 0!==q?{value:q}:s.EMPTY_OBJECT},eh=n.useMemo(()=>({...D,checked:eo,disabled:ee,readOnly:P,required:O}),[D,eo,ee,P,O]),ep=(0,o.useRenderElement)("span",e,{state:eh,ref:[c,er,ec],props:[{id:L?el:ea,role:"switch","aria-checked":eo,"aria-readonly":P||void 0,"aria-required":O||void 0,"aria-labelledby":ef,onFocus(){ee||G(!0)},onBlur(){let e=en.current;e&&!ee&&(H(!0),G(!1),"onBlur"===J&&Y.commit(e.checked))},onClick(e){if(P||ee)return;e.preventDefault();let t=en.current;t&&(0,h.dispatchClickWithModifiers)(t,e)}},$,ed,e=>Y.getValidationProps(ee,e)],stateAttributesMapping:m});return(0,t.jsxs)(f.Provider,{value:eh,children:[ep,!eo&&et&&void 0!==T&&(0,t.jsx)("input",{type:"hidden",form:C,name:et,value:T,disabled:ee}),(0,t.jsx)("input",{...em,suppressHydrationWarning:!0})]})}),A=n.forwardRef(function(e,t){let{render:i,className:r,style:a,...l}=e,s=function(){let e=n.useContext(f);if(void 0===e)throw Error((0,c.default)(63));return e}();return(0,o.useRenderElement)("span",e,{state:s,ref:t,stateAttributesMapping:m,props:l})});e.s(["Root",0,N,"Thumb",0,A],50994);var z=e.i(50994),z=z,S=e.i(90063);e.s(["Switch",0,function({className:e,...n}){return(0,t.jsx)(z.Root,{"data-slot":"switch",className:(0,S.classNames)("peer inline-flex h-5 w-8.5 shrink-0 items-center rounded-full border border-transparent bg-input p-0.5 transition-colors duration-(--duration-fast) outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring data-checked:bg-primary data-disabled:opacity-45",e),...n,children:(0,t.jsx)(z.Thumb,{"data-slot":"switch-thumb",className:"pointer-events-none block size-4 rounded-full bg-card shadow-sm transition-transform duration-(--duration-fast) data-checked:translate-x-3.5"})})}],75867)},62687,e=>{"use strict";var t=e.i(43476),n=e.i(22016),i=e.i(90063);e.s(["FleetSegments",0,function({active:e,needsCrewCount:r}){let a=e=>(0,i.classNames)("flex h-(--size-control-touch) grow items-center justify-center gap-1.5 rounded-md text-body-touch font-medium",e?"bg-card text-foreground shadow-sm":"text-muted-foreground");return(0,t.jsxs)("nav",{"aria-label":"Fleet views",className:"flex gap-0.5 rounded-lg border border-border bg-muted p-0.5 sm:hidden","data-testid":"fleet-segments",children:[(0,t.jsx)(n.default,{href:"/","aria-current":"ships"===e?"page":void 0,className:a("ships"===e),"data-testid":"fleet-segment-ships",children:"Ships"}),(0,t.jsxs)(n.default,{href:"/needs-crew","aria-current":"needs-crew"===e?"page":void 0,className:a("needs-crew"===e),"data-testid":"fleet-segment-needs-crew",children:["Needs crew",void 0===r||0===r?null:(0,t.jsx)("span",{className:"text-micro tabular-nums",children:r})]})]})}])},95960,e=>{"use strict";var t=e.i(43476),n=e.i(92150),i=e.i(49287),r=e.i(86875),a=e.i(56420);let l={name:"tag-x",size:24,node:[["path",{d:"m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.43 2.43 0 0 0 3.42 0l1.79-1.79",key:"hu94c9"}],["path",{d:"m16.5 10.5 5 5",key:"1jo8bf"}],["path",{d:"m21.5 10.5-5 5",key:"jzei60"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};l.node;let s=(0,a.default)(l);var o=e.i(63676),u=e.i(90063),d=e.i(80581);let c={"trierarch-plugin":r.ShipWheel,squadrons:n.Boxes,ship:i.Ship,gone:s};e.s(["LabelChip",0,function({chip:e,onRemove:n,testId:i,className:r,trailing:a,meaning:l}){let s="none"===e.mark?null:c[e.mark],f=`${e.key}=${e.value}`,m=void 0===l?(0,d.chipTitleOf)(e):`${(0,d.chipTitleOf)(e)}. ${l}`;return(0,t.jsxs)("span",{role:"group","aria-label":m,"data-slot":"label-chip","data-testid":i,title:m,className:(0,u.classNames)("inline-flex h-5.5 max-w-full min-w-0 shrink-0 items-center gap-1 rounded-sm border border-border bg-secondary px-1.5 font-mono text-id whitespace-nowrap text-foreground [&_svg]:size-3 [&_svg]:shrink-0 [&_svg]:text-muted-foreground","gone"===e.mark?"border-dashed":null,r),children:[null===s?null:(0,t.jsx)(s,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[e.key,"="]}),(0,t.jsx)("span",{className:"font-medium",children:e.value})]}),a,void 0===n?null:(0,t.jsx)("button",{type:"button","aria-label":`Remove ${f}`,onClick:n,className:"-mr-1 ml-0.5 inline-flex size-4 items-center justify-center rounded-xs text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring",children:(0,t.jsx)(o.X,{"aria-hidden":!0})})]})}],95960)},67858,e=>{e.v(t=>Promise.all(["static/chunks/20l4-ecv_oo2h.js","static/chunks/3vr80dn3nyqqi.js"].map(t=>e.l(t))).then(()=>t(59068)))},77435,e=>{"use strict";var t=e.i(43476),n=e.i(71028);e.s(["LimitNotice",0,function({title:e,description:i,accountUrl:r,testId:a}){return(0,t.jsxs)("div",{role:"status","data-testid":a,className:"flex gap-2 rounded-lg border border-tone-attention-border bg-tone-attention-bg p-3 text-tone-attention-fg",children:[(0,t.jsx)(n.Gauge,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon) shrink-0"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:"text-body font-medium",children:e}),(0,t.jsx)("p",{className:"text-meta text-foreground",children:i}),void 0===r?null:(0,t.jsx)("a",{href:r,className:"self-start text-meta font-medium text-tone-attention-fg underline underline-offset-2","data-testid":void 0===a?void 0:`${a}-view`,children:"View limits"})]})]})}])},1935,e=>{"use strict";var t=e.i(43476),n=e.i(60011),i=e.i(22016),r=e.i(90063);e.s(["SquadronTag",0,function({squadronId:e,role:a,size:l="md",className:s}){return(0,t.jsxs)(i.default,{href:`/squadrons/${e}`,"data-slot":"squadron-tag",className:(0,r.classNames)("inline-flex max-w-full items-center gap-1 rounded-sm bg-secondary px-1.5 text-secondary-foreground hover:underline [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0","sm"===l?"h-5.5 text-meta":"h-6 text-body",s),children:[(0,t.jsx)(n.Shapes,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate font-medium",children:e}),void 0!==a&&(0,t.jsxs)("span",{className:"shrink-0 text-muted-foreground",children:["· ",a]})]})}])},88207,e=>{e.v(t=>Promise.all(["static/chunks/2jf-hefdqyy1k.js"].map(t=>e.l(t))).then(()=>t(42211)))},77821,e=>{"use strict";var t=e.i(43476),n=e.i(19759),i=e.i(15905),r=e.i(77880),a=e.i(85538);e.s(["ListPage",0,function({title:e,description:l,titleMeta:s,primaryAction:o,toolbar:u,live:d,onCompose:c,onSearch:f,account:m,banner:h,phoneTopBar:p,children:v}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Header,{breadcrumb:e,live:d,onCompose:c,onSearch:f}),h,p??(0,t.jsx)(a.TopBar,{title:e,live:d,account:m,onSearch:f,actions:c?(0,t.jsx)(i.Button,{variant:"ghost",size:"touch",isIconOnly:!0,"aria-label":"Compose","data-testid":"top-bar-compose",onClick:c,children:(0,t.jsx)(n.SquarePen,{"aria-hidden":!0})}):void 0}),(0,t.jsxs)("main",{className:"flex grow flex-col gap-5 px-8 py-6 max-sm:gap-3.5 max-sm:px-4 max-sm:pt-3.5 max-sm:pb-[calc(var(--size-tabbar)+var(--spacing)*4)]",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4 max-sm:gap-3",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-1",children:[(0,t.jsx)("h1",{className:"text-title font-semibold tracking-tight text-foreground max-sm:hidden",children:e}),s]}),l?(0,t.jsx)("p",{className:"text-meta text-muted-foreground max-sm:text-body-touch",children:l}):null]}),o?(0,t.jsx)("div",{className:"shrink-0 max-sm:w-full max-sm:[&>*]:w-full",children:o}):null]}),u,v]})]})}])},88138,e=>{e.v(t=>Promise.all(["static/chunks/3yue418t7-gne.js"].map(t=>e.l(t))).then(()=>t(48287)))},95953,e=>{e.v(t=>Promise.all(["static/chunks/0yi6kd19bc8bq.js"].map(t=>e.l(t))).then(()=>t(82532)))},38801,e=>{e.v(t=>Promise.all(["static/chunks/28pbrg59hx8sb.js","static/chunks/3gw93hpgh57gl.js"].map(t=>e.l(t))).then(()=>t(2527)))},26403,e=>{e.v(t=>Promise.all(["static/chunks/3ratrwsbommzd.js"].map(t=>e.l(t))).then(()=>t(54988)))},57993,e=>{e.v(t=>Promise.all(["static/chunks/1t5lh13vevgx4.js"].map(t=>e.l(t))).then(()=>t(75027)))},41585,e=>{e.v(t=>Promise.all(["static/chunks/25lpj_dr-j9wk.js"].map(t=>e.l(t))).then(()=>t(11896)))}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31421,e=>{"use strict";var t=e.i(71645),n=e.i(46376),r=e.i(88015);e.s(["useAriaLabelledBy",0,function(e,i,a,l=!0,s){let[o,u]=t.useState(),d=(0,r.useBaseUiId)(s?`${s}-label`:void 0),c=e??i??o;return(0,n.useIsoLayoutEffect)(()=>{let t=e||i||!l?void 0:function(e,t){let n=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let n=e.id;if(n){let t=e.nextElementSibling;if(t&&t.htmlFor===n)return t}let r=e.labels;return r&&r[0]}(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}(a.current,d);o!==t&&u(t)}),c}])},86698,e=>{"use strict";e.s(["serializeValue",0,function(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}])},13203,65858,84325,42191,50001,18438,e=>{"use strict";var t=e.i(71645);e.s(["useOnFirstRender",0,function(e){let n=t.useRef(!0);n.current&&(n.current=!1,e())}],13203);var n=e.i(29315),r=e.i(83977),i=e.i(46376),a=e.i(88940),l=e.i(90627),s=e.i(46420),o=e.i(56341);e.s(["useFloatingRootContext",0,function(e){let{open:t=!1,onOpenChange:u,elements:d={}}=e,c=(0,r.useId)(),f=null!=(0,s.useFloatingParentNodeId)(),m=(0,a.useRefWithInit)(()=>new o.FloatingRootStore({open:t,transitionStatus:void 0,onOpenChange:u,referenceElement:d.reference??null,floatingElement:d.floating??null,triggerElements:new l.PopupTriggerMap,floatingId:c,syncOnly:!1,nested:f})).current;return(0,i.useIsoLayoutEffect)(()=>{let e={open:t,floatingId:c};void 0!==d.reference&&(e.referenceElement=d.reference,e.domReferenceElement=(0,n.isElement)(d.reference)?d.reference:null),void 0!==d.floating&&(e.floatingElement=d.floating),m.update(e)},[t,c,d.reference,d.floating,m]),m.context.onOpenChange=u,m.context.nested=f,m}],65858);let u=(e,t)=>Object.is(e,t);function d(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function c(e,t,n){return!!e&&e.some(e=>void 0!==e&&d(t,e,n))}function f(e,t,n){return e?e.findIndex(e=>void 0!==e&&d(e,t,n)):-1}function m(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(function(e,t){if(t!==u)return n=>c(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(0!==t||e.some(e=>Object.is(t,e)))}(t,n)):f(e,t,n);return -1===i?null:i}e.s(["compareItemEquality",0,d,"defaultItemEquality",0,u,"findItemIndex",0,f,"findSelectionIndex",0,m,"isSelectedValueDirty",0,function(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!function(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}(e,t,(e,t)=>d(e,t,n)):e!==t},"removeItem",0,function(e,t,n){return e.filter(e=>!d(t,e,n))},"resolveSelectedIndex",0,function(e,t,n,r,i,a){return c(r,t,i)?null!=a&&e>a&&c(r,n[a],i)?a:e:e===a?m(n,r,i,!0):a},"selectedValueIncludes",0,c],84325);var h=e.i(86698),p=e.i(43476);function v(e){var t;return"object"==typeof(t=e?.[0])&&null!=t&&Array.isArray(t.items)}function x(e){return v(e)?e.flatMap(e=>e.items):e}function g(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return(0,h.serializeValue)(e)}function b(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??g(e,n);if(Array.isArray(t)){let r=x(t);if(null==e||"object"!=typeof e){let t=r.find(t=>t.value===e);return t&&null!=t.label?t.label:g(e,n)}if("value"in e){let t=r.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return g(e,n)}e.s(["flattenLeafItems",0,x,"hasNullItemLabel",0,function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(v(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1},"isGroupedItems",0,v,"resolveMultipleLabels",0,function(e,n,r){return e.reduce((e,i,a)=>(a>0&&e.push(", "),e.push((0,p.jsx)(t.Fragment,{children:b(i,n,r)},a)),e),[])},"resolveSelectedLabel",0,b,"stringifyAsLabel",0,g,"stringifyAsValue",0,function(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?(0,h.serializeValue)(e.value):(0,h.serializeValue)(e)}],42191),e.s(["getDefaultLabelId",0,function(e){return null==e?void 0:`${e}-label`},"resolveAriaLabelledBy",0,function(e,t){return e??t}],50001);var y=e.i(52245);let k=t.forwardRef(function(e,t){let{className:n,render:r,orientation:i="horizontal",style:a,...l}=e;return(0,y.useRenderElement)("div",e,{state:{orientation:i},ref:t,props:[{role:"presentation"},l]})});e.s(["ListboxSeparator",0,k],18438)},92150,e=>{"use strict";var t=e.i(56420);let n={name:"boxes",size:24,node:[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]};n.node;let r=(0,t.default)(n);e.s(["Boxes",0,r],92150)},16327,e=>{"use strict";var t=e.i(56420);let n={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};n.node;let r=(0,t.default)(n);e.s(["ChevronDown",0,r],16327)},30274,e=>{"use strict";var t=e.i(56420);let n={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};n.node;let r=(0,t.default)(n);e.s(["Send",0,r],30274)},80799,e=>{"use strict";var t=e.i(56420);let n={name:"tag",size:24,node:[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};n.node;let r=(0,t.default)(n);e.s(["Tag",0,r],80799)},68401,e=>{"use strict";var t=e.i(56420);let n={name:"tags",size:24,node:[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]};n.node;let r=(0,t.default)(n);e.s(["Tags",0,r],68401)},91727,e=>{"use strict";var t=e.i(43476),n=e.i(90063);e.s(["Label",0,function({className:e,htmlFor:r,...i}){return(0,t.jsx)("label",{"data-slot":"label",htmlFor:r,className:(0,n.classNames)("text-body font-medium text-foreground select-none",e),...i})}])},75867,e=>{"use strict";var t=e.i(43476);e.s([],24305),e.i(24305);var n=e.i(71645),r=e.i(51437),i=e.i(28918),a=e.i(46376),l=e.i(2077),s=e.i(56789),o=e.i(52245),u=e.i(88015),d=e.i(40886),c=e.i(33332);let f=n.createContext(void 0),m={...e.i(75812).fieldValidityMapping,checked:e=>e?{"data-checked":""}:{"data-unchecked":""}};var h=e.i(64350),p=e.i(69690),v=e.i(81104),x=e.i(84708),g=e.i(47778),b=e.i(31421),y=e.i(38489),k=e.i(75606),j=e.i(56434),w=e.i(6039);let N=n.forwardRef(function(e,c){let{checked:N,className:A,defaultChecked:z,"aria-labelledby":S,form:C,id:I,inputRef:E,name:R,nativeButton:L=!1,onCheckedChange:M,readOnly:P=!1,required:O=!1,disabled:V=!1,render:B,uncheckedValue:T,value:q,style:F,...$}=e,{clearErrors:_}=(0,x.useFormContext)(),{state:D,setTouched:H,setDirty:U,validityData:W,setFilled:Z,setFocused:G,validationMode:J,disabled:K,name:X,validation:Y}=(0,p.useFieldRootContext)(),{labelId:Q}=(0,g.useLabelableContext)(),ee=K||V,et=X??R,en=n.useRef(null),er=(0,i.useMergedRefs)(en,E,Y.inputRef),ei=n.useRef(null),ea=(0,u.useBaseUiId)(),el=(0,y.useLabelableId)({id:I}),es=L?void 0:el,[eo,eu]=(0,r.useControlled)({controlled:N,default:!!z,name:"Switch",state:"checked"});(0,v.useRegisterFieldControl)(ei,ea,eo,void 0,!ee,R),(0,a.useIsoLayoutEffect)(()=>{Z(eo)},[eo,Z]),(0,w.useValueChanged)(eo,()=>{_(et),U(eo!==W.initialValue),Y.change(eo)});let{getButtonProps:ed,buttonRef:ec}=(0,d.useButton)({disabled:ee,native:L}),ef=(0,b.useAriaLabelledBy)(S,Q,en,!L,es),em={...Y.getValidationProps(ee),checked:eo,disabled:ee,form:C,id:es,name:et,required:O,style:et?l.visuallyHiddenInput:l.visuallyHidden,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:er,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(P)return void e.preventDefault();let t=e.currentTarget.checked,n=(0,k.createChangeEventDetails)(j.REASONS.none,e.nativeEvent);M?.(t,n),n.isCanceled||eu(t)},onClick(e){e.stopPropagation()},onFocus(){ei.current?.focus()},...void 0!==q?{value:q}:s.EMPTY_OBJECT},eh=n.useMemo(()=>({...D,checked:eo,disabled:ee,readOnly:P,required:O}),[D,eo,ee,P,O]),ep=(0,o.useRenderElement)("span",e,{state:eh,ref:[c,ei,ec],props:[{id:L?el:ea,role:"switch","aria-checked":eo,"aria-readonly":P||void 0,"aria-required":O||void 0,"aria-labelledby":ef,onFocus(){ee||G(!0)},onBlur(){let e=en.current;e&&!ee&&(H(!0),G(!1),"onBlur"===J&&Y.commit(e.checked))},onClick(e){if(P||ee)return;e.preventDefault();let t=en.current;t&&(0,h.dispatchClickWithModifiers)(t,e)}},$,ed,e=>Y.getValidationProps(ee,e)],stateAttributesMapping:m});return(0,t.jsxs)(f.Provider,{value:eh,children:[ep,!eo&&et&&void 0!==T&&(0,t.jsx)("input",{type:"hidden",form:C,name:et,value:T,disabled:ee}),(0,t.jsx)("input",{...em,suppressHydrationWarning:!0})]})}),A=n.forwardRef(function(e,t){let{render:r,className:i,style:a,...l}=e,s=function(){let e=n.useContext(f);if(void 0===e)throw Error((0,c.default)(63));return e}();return(0,o.useRenderElement)("span",e,{state:s,ref:t,stateAttributesMapping:m,props:l})});e.s(["Root",0,N,"Thumb",0,A],50994);var z=e.i(50994),z=z,S=e.i(90063);e.s(["Switch",0,function({className:e,...n}){return(0,t.jsx)(z.Root,{"data-slot":"switch",className:(0,S.classNames)("peer inline-flex h-5 w-8.5 shrink-0 items-center rounded-full border border-transparent bg-input p-0.5 transition-colors duration-(--duration-fast) outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring data-checked:bg-primary data-disabled:opacity-45",e),...n,children:(0,t.jsx)(z.Thumb,{"data-slot":"switch-thumb",className:"pointer-events-none block size-4 rounded-full bg-card shadow-sm transition-transform duration-(--duration-fast) data-checked:translate-x-3.5"})})}],75867)},62687,e=>{"use strict";var t=e.i(43476),n=e.i(22016),r=e.i(90063);e.s(["FleetSegments",0,function({active:e,needsCrewCount:i}){let a=e=>(0,r.classNames)("flex h-(--size-control-touch) grow items-center justify-center gap-1.5 rounded-md text-body-touch font-medium",e?"bg-card text-foreground shadow-sm":"text-muted-foreground");return(0,t.jsxs)("nav",{"aria-label":"Fleet views",className:"flex gap-0.5 rounded-lg border border-border bg-muted p-0.5 sm:hidden","data-testid":"fleet-segments",children:[(0,t.jsx)(n.default,{href:"/","aria-current":"ships"===e?"page":void 0,className:a("ships"===e),"data-testid":"fleet-segment-ships",children:"Ships"}),(0,t.jsxs)(n.default,{href:"/needs-crew","aria-current":"needs-crew"===e?"page":void 0,className:a("needs-crew"===e),"data-testid":"fleet-segment-needs-crew",children:["Needs crew",void 0===i||0===i?null:(0,t.jsx)("span",{className:"text-micro tabular-nums",children:i})]})]})}])},95960,e=>{"use strict";var t=e.i(43476),n=e.i(92150),r=e.i(49287),i=e.i(86875),a=e.i(56420);let l={name:"tag-x",size:24,node:[["path",{d:"m16.5 6.5-3.914-3.914A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.43 2.43 0 0 0 3.42 0l1.79-1.79",key:"hu94c9"}],["path",{d:"m16.5 10.5 5 5",key:"1jo8bf"}],["path",{d:"m21.5 10.5-5 5",key:"jzei60"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};l.node;let s=(0,a.default)(l);var o=e.i(63676),u=e.i(90063),d=e.i(80581);let c={"trierarch-plugin":i.ShipWheel,squadrons:n.Boxes,ship:r.Ship,gone:s};e.s(["LabelChip",0,function({chip:e,onRemove:n,testId:r,className:i,trailing:a,meaning:l}){let s="none"===e.mark?null:c[e.mark],f=`${e.key}=${e.value}`,m=void 0===l?(0,d.chipTitleOf)(e):`${(0,d.chipTitleOf)(e)}. ${l}`;return(0,t.jsxs)("span",{role:"group","aria-label":m,"data-slot":"label-chip","data-testid":r,title:m,className:(0,u.classNames)("inline-flex h-5.5 max-w-full min-w-0 shrink-0 items-center gap-1 rounded-sm border border-border bg-secondary px-1.5 font-mono text-id whitespace-nowrap text-foreground [&_svg]:size-3 [&_svg]:shrink-0 [&_svg]:text-muted-foreground","gone"===e.mark?"border-dashed":null,i),children:[null===s?null:(0,t.jsx)(s,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[e.key,"="]}),(0,t.jsx)("span",{className:"font-medium",children:e.value})]}),a,void 0===n?null:(0,t.jsx)("button",{type:"button","aria-label":`Remove ${f}`,onClick:n,className:"-mr-1 ml-0.5 inline-flex size-4 items-center justify-center rounded-xs text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring",children:(0,t.jsx)(o.X,{"aria-hidden":!0})})]})}],95960)},67858,e=>{e.v(t=>Promise.all(["static/chunks/420usygo4rcxp.js","static/chunks/3vr80dn3nyqqi.js"].map(t=>e.l(t))).then(()=>t(59068)))},77435,e=>{"use strict";var t=e.i(43476),n=e.i(71028);e.s(["LimitNotice",0,function({title:e,description:r,accountUrl:i,testId:a}){return(0,t.jsxs)("div",{role:"status","data-testid":a,className:"flex gap-2 rounded-lg border border-tone-attention-border bg-tone-attention-bg p-3 text-tone-attention-fg",children:[(0,t.jsx)(n.Gauge,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon) shrink-0"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:"text-body font-medium",children:e}),(0,t.jsx)("p",{className:"text-meta text-foreground",children:r}),void 0===i?null:(0,t.jsx)("a",{href:i,className:"self-start text-meta font-medium text-tone-attention-fg underline underline-offset-2","data-testid":void 0===a?void 0:`${a}-view`,children:"View limits"})]})]})}])},1935,e=>{"use strict";var t=e.i(43476),n=e.i(60011),r=e.i(22016),i=e.i(90063);e.s(["SquadronTag",0,function({squadronId:e,role:a,size:l="md",className:s}){return(0,t.jsxs)(r.default,{href:`/squadrons/${e}`,"data-slot":"squadron-tag",className:(0,i.classNames)("inline-flex max-w-full items-center gap-1 rounded-sm bg-secondary px-1.5 text-secondary-foreground hover:underline [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0","sm"===l?"h-5.5 text-meta":"h-6 text-body",s),children:[(0,t.jsx)(n.Shapes,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate font-medium",children:e}),void 0!==a&&(0,t.jsxs)("span",{className:"shrink-0 text-muted-foreground",children:["· ",a]})]})}])},88207,e=>{e.v(t=>Promise.all(["static/chunks/2jf-hefdqyy1k.js"].map(t=>e.l(t))).then(()=>t(42211)))},77821,e=>{"use strict";var t=e.i(43476),n=e.i(19759),r=e.i(15905),i=e.i(77880),a=e.i(85538);e.s(["ListPage",0,function({title:e,description:l,titleMeta:s,primaryAction:o,toolbar:u,live:d,onCompose:c,onSearch:f,account:m,banner:h,phoneTopBar:p,children:v}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Header,{breadcrumb:e,live:d,onCompose:c,onSearch:f}),h,p??(0,t.jsx)(a.TopBar,{title:e,live:d,account:m,onSearch:f,actions:c?(0,t.jsx)(r.Button,{variant:"ghost",size:"touch",isIconOnly:!0,"aria-label":"Compose","data-testid":"top-bar-compose",onClick:c,children:(0,t.jsx)(n.SquarePen,{"aria-hidden":!0})}):void 0}),(0,t.jsxs)("main",{className:"flex grow flex-col gap-5 px-8 py-6 max-sm:gap-3.5 max-sm:px-4 max-sm:pt-3.5 max-sm:pb-[calc(var(--size-tabbar)+var(--spacing)*4)]",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4 max-sm:gap-3",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-1",children:[(0,t.jsx)("h1",{className:"text-title font-semibold tracking-tight text-foreground max-sm:hidden",children:e}),s]}),l?(0,t.jsx)("p",{className:"text-meta text-muted-foreground max-sm:text-body-touch",children:l}):null]}),o?(0,t.jsx)("div",{className:"shrink-0 max-sm:w-full max-sm:[&>*]:w-full",children:o}):null]}),u,v]})]})}])},88138,e=>{e.v(t=>Promise.all(["static/chunks/3yue418t7-gne.js"].map(t=>e.l(t))).then(()=>t(48287)))},95953,e=>{e.v(t=>Promise.all(["static/chunks/0yi6kd19bc8bq.js"].map(t=>e.l(t))).then(()=>t(82532)))},38801,e=>{e.v(t=>Promise.all(["static/chunks/28pbrg59hx8sb.js","static/chunks/3gw93hpgh57gl.js"].map(t=>e.l(t))).then(()=>t(2527)))},26403,e=>{e.v(t=>Promise.all(["static/chunks/3ratrwsbommzd.js"].map(t=>e.l(t))).then(()=>t(54988)))},57993,e=>{e.v(t=>Promise.all(["static/chunks/1t5lh13vevgx4.js"].map(t=>e.l(t))).then(()=>t(75027)))},41585,e=>{e.v(t=>Promise.all(["static/chunks/25lpj_dr-j9wk.js"].map(t=>e.l(t))).then(()=>t(11896)))}]);