@knpkv/control-center 0.10.3 → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/client/.vite/manifest.json +406 -406
  2. package/dist/client/assets/{ActiveWorkPage-DJbMyFnV.js → ActiveWorkPage-DK9ucRgq.js} +2 -2
  3. package/dist/client/assets/{ActiveWorkPage-DJbMyFnV.js.map → ActiveWorkPage-DK9ucRgq.js.map} +1 -1
  4. package/dist/client/assets/{AgentPage-CkoowYNN.js → AgentPage-DiaRhWH4.js} +2 -2
  5. package/dist/client/assets/{AgentPage-CkoowYNN.js.map → AgentPage-DiaRhWH4.js.map} +1 -1
  6. package/dist/client/assets/{AtlassianOAuthCallbackPage-i2zdrAW9.js → AtlassianOAuthCallbackPage-B00yNx-2.js} +2 -2
  7. package/dist/client/assets/{AtlassianOAuthCallbackPage-i2zdrAW9.js.map → AtlassianOAuthCallbackPage-B00yNx-2.js.map} +1 -1
  8. package/dist/client/assets/{AuthorizedSharePage-BKRFQEW5.js → AuthorizedSharePage-BJM10BAd.js} +2 -2
  9. package/dist/client/assets/{AuthorizedSharePage-BKRFQEW5.js.map → AuthorizedSharePage-BJM10BAd.js.map} +1 -1
  10. package/dist/client/assets/{BrowserSessionHydrator-DsrYOye8.js → BrowserSessionHydrator-Bm8F4Ctu.js} +2 -2
  11. package/dist/client/assets/{BrowserSessionHydrator-DsrYOye8.js.map → BrowserSessionHydrator-Bm8F4Ctu.js.map} +1 -1
  12. package/dist/client/assets/{CommandSearch-B3ogcxH6.js → CommandSearch-BxAJW0LJ.js} +2 -2
  13. package/dist/client/assets/{CommandSearch-B3ogcxH6.js.map → CommandSearch-BxAJW0LJ.js.map} +1 -1
  14. package/dist/client/assets/{ItemsPage-C8Kvj_hC.js → ItemsPage-DkKQR0qC.js} +2 -2
  15. package/dist/client/assets/{ItemsPage-C8Kvj_hC.js.map → ItemsPage-DkKQR0qC.js.map} +1 -1
  16. package/dist/client/assets/{OpenPullRequestPage-CdKHYk5U.js → OpenPullRequestPage-BXQFgiq0.js} +2 -2
  17. package/dist/client/assets/{OpenPullRequestPage-CdKHYk5U.js.map → OpenPullRequestPage-BXQFgiq0.js.map} +1 -1
  18. package/dist/client/assets/{Pages-_Z_n1J6R.js → Pages-DlF3u5xB.js} +2 -2
  19. package/dist/client/assets/{Pages-_Z_n1J6R.js.map → Pages-DlF3u5xB.js.map} +1 -1
  20. package/dist/client/assets/{PairPage-BEMXhRqa.js → PairPage-CKINCdoy.js} +2 -2
  21. package/dist/client/assets/{PairPage-BEMXhRqa.js.map → PairPage-CKINCdoy.js.map} +1 -1
  22. package/dist/client/assets/{PortfolioOverview-k2woweJX.js → PortfolioOverview-ajQK-ZVn.js} +2 -2
  23. package/dist/client/assets/{PortfolioOverview-k2woweJX.js.map → PortfolioOverview-ajQK-ZVn.js.map} +1 -1
  24. package/dist/client/assets/{PullRequestReviewPanel-BZ9gJ9do.js → PullRequestReviewPanel-CUiPHp33.js} +4 -4
  25. package/dist/client/assets/{PullRequestReviewPanel-BZ9gJ9do.js.map → PullRequestReviewPanel-CUiPHp33.js.map} +1 -1
  26. package/dist/client/assets/{ReleaseRoute-D5Mrpp8w.js → ReleaseRoute-Dccsofss.js} +2 -2
  27. package/dist/client/assets/ReleaseRoute-Dccsofss.js.map +1 -0
  28. package/dist/client/assets/{ReleaseWorkset-idMU3iUy.js → ReleaseWorkset-CpploDSa.js} +2 -2
  29. package/dist/client/assets/{ReleaseWorkset-idMU3iUy.js.map → ReleaseWorkset-CpploDSa.js.map} +1 -1
  30. package/dist/client/assets/{ReviewSuggestionOverview-sS1HGbOF.js → ReviewSuggestionOverview-C0gKrq0N.js} +2 -2
  31. package/dist/client/assets/{ReviewSuggestionOverview-sS1HGbOF.js.map → ReviewSuggestionOverview-C0gKrq0N.js.map} +1 -1
  32. package/dist/client/assets/{ReviewSuggestionPublicationSurface-CIUTjuOD.js → ReviewSuggestionPublicationSurface-B485cO3v.js} +2 -2
  33. package/dist/client/assets/{ReviewSuggestionPublicationSurface-CIUTjuOD.js.map → ReviewSuggestionPublicationSurface-B485cO3v.js.map} +1 -1
  34. package/dist/client/assets/{ServicesPage-C2sELVLy.js → ServicesPage-DxMDCBRr.js} +2 -2
  35. package/dist/client/assets/{ServicesPage-C2sELVLy.js.map → ServicesPage-DxMDCBRr.js.map} +1 -1
  36. package/dist/client/assets/{TimelinePage-5BEpQPra.js → TimelinePage-BzvR1pQi.js} +2 -2
  37. package/dist/client/assets/{TimelinePage-5BEpQPra.js.map → TimelinePage-BzvR1pQi.js.map} +1 -1
  38. package/dist/client/assets/{WorkspaceEntityLink-w0WA7xRO.js → WorkspaceEntityLink-DOOjBPKo.js} +2 -2
  39. package/dist/client/assets/{WorkspaceEntityLink-w0WA7xRO.js.map → WorkspaceEntityLink-DOOjBPKo.js.map} +1 -1
  40. package/dist/client/assets/{WorkspaceEntityRoute-BpO38Ge1.js → WorkspaceEntityRoute-HkedzU2L.js} +4 -4
  41. package/dist/client/assets/{WorkspaceEntityRoute-BpO38Ge1.js.map → WorkspaceEntityRoute-HkedzU2L.js.map} +1 -1
  42. package/dist/client/assets/{WorkspaceHomeLink-Xl8GvzFw.js → WorkspaceHomeLink-Dn-m2Xhv.js} +2 -2
  43. package/dist/client/assets/{WorkspaceHomeLink-Xl8GvzFw.js.map → WorkspaceHomeLink-Dn-m2Xhv.js.map} +1 -1
  44. package/dist/client/assets/{WorkspacePullRequestDetails-COZdOIOb.js → WorkspacePullRequestDetails-DuIuN53U.js} +3 -3
  45. package/dist/client/assets/{WorkspacePullRequestDetails-COZdOIOb.js.map → WorkspacePullRequestDetails-DuIuN53U.js.map} +1 -1
  46. package/dist/client/assets/{WorkspaceReleaseLayout-D__SEsHt.js → WorkspaceReleaseLayout-CmOYomjP.js} +2 -2
  47. package/dist/client/assets/{WorkspaceReleaseLayout-D__SEsHt.js.map → WorkspaceReleaseLayout-CmOYomjP.js.map} +1 -1
  48. package/dist/client/assets/{WorkspaceSettingsPage-D-0O9-41.js → WorkspaceSettingsPage-Co6JSDzD.js} +2 -2
  49. package/dist/client/assets/{WorkspaceSettingsPage-D-0O9-41.js.map → WorkspaceSettingsPage-Co6JSDzD.js.map} +1 -1
  50. package/dist/client/assets/{angular-html-B-gwpVlh-BRbhVJ6Y.js → angular-html-B-gwpVlh-Bgrt633l.js} +2 -2
  51. package/dist/client/assets/{angular-html-B-gwpVlh-BRbhVJ6Y.js.map → angular-html-B-gwpVlh-Bgrt633l.js.map} +1 -1
  52. package/dist/client/assets/{angular-ts-BdaH9qH_-CreuaMKb.js → angular-ts-BdaH9qH_-BkPrletd.js} +2 -2
  53. package/dist/client/assets/{angular-ts-BdaH9qH_-CreuaMKb.js.map → angular-ts-BdaH9qH_-BkPrletd.js.map} +1 -1
  54. package/dist/client/assets/{apl-BLTDDucx-E9crm-GK.js → apl-BLTDDucx-wY4O_74Y.js} +2 -2
  55. package/dist/client/assets/{apl-BLTDDucx-E9crm-GK.js.map → apl-BLTDDucx-wY4O_74Y.js.map} +1 -1
  56. package/dist/client/assets/{astro-CM3EIsEH-DpNG08M6.js → astro-CM3EIsEH-D7flgJwH.js} +2 -2
  57. package/dist/client/assets/{astro-CM3EIsEH-DpNG08M6.js.map → astro-CM3EIsEH-D7flgJwH.js.map} +1 -1
  58. package/dist/client/assets/{blade-BuLZ1b4i-s07PULYH.js → blade-BuLZ1b4i-qswDnG1D.js} +2 -2
  59. package/dist/client/assets/{blade-BuLZ1b4i-s07PULYH.js.map → blade-BuLZ1b4i-qswDnG1D.js.map} +1 -1
  60. package/dist/client/assets/{c-BOe7FNWg-PrQjeFQ3.js → c-BOe7FNWg-9K6ZU3yU.js} +2 -2
  61. package/dist/client/assets/{c-BOe7FNWg-PrQjeFQ3.js.map → c-BOe7FNWg-9K6ZU3yU.js.map} +1 -1
  62. package/dist/client/assets/{chapel-DS426I0C-DB9jZ2L5.js → chapel-DS426I0C-D7P1_fn5.js} +2 -2
  63. package/dist/client/assets/{chapel-DS426I0C-DB9jZ2L5.js.map → chapel-DS426I0C-D7P1_fn5.js.map} +1 -1
  64. package/dist/client/assets/{cobol-D88xw2SU-C4G8uiv_.js → cobol-D88xw2SU-BeZ5JZSl.js} +2 -2
  65. package/dist/client/assets/{cobol-D88xw2SU-C4G8uiv_.js.map → cobol-D88xw2SU-BeZ5JZSl.js.map} +1 -1
  66. package/dist/client/assets/{coffee-9O-pYXz5-BZexwMqx.js → coffee-9O-pYXz5-CB0EJ1nc.js} +2 -2
  67. package/dist/client/assets/{coffee-9O-pYXz5-BZexwMqx.js.map → coffee-9O-pYXz5-CB0EJ1nc.js.map} +1 -1
  68. package/dist/client/assets/{controlCenterRelayDock-CyvFJBSX.js → controlCenterRelayDock-Duxhij28.js} +3 -3
  69. package/dist/client/assets/{controlCenterRelayDock-CyvFJBSX.js.map → controlCenterRelayDock-Duxhij28.js.map} +1 -1
  70. package/dist/client/assets/{controlCenterRelayDockChrome-LsVvlXRh.js → controlCenterRelayDockChrome-8SmLWAq4.js} +2 -2
  71. package/dist/client/assets/{controlCenterRelayDockChrome-LsVvlXRh.js.map → controlCenterRelayDockChrome-8SmLWAq4.js.map} +1 -1
  72. package/dist/client/assets/{cpp-CPk7VU6o-lNmTk_pG.js → cpp-CPk7VU6o-hQ9MAV3y.js} +2 -2
  73. package/dist/client/assets/{cpp-CPk7VU6o-lNmTk_pG.js.map → cpp-CPk7VU6o-hQ9MAV3y.js.map} +1 -1
  74. package/dist/client/assets/{crystal-CRftOMVe-BSooBDgS.js → crystal-CRftOMVe-DN_g4Upk.js} +2 -2
  75. package/dist/client/assets/{crystal-CRftOMVe-BSooBDgS.js.map → crystal-CRftOMVe-DN_g4Upk.js.map} +1 -1
  76. package/dist/client/assets/{css-DKjIhbA_-kkwCxkks.js → css-DKjIhbA_-CUnFG3ES.js} +2 -2
  77. package/dist/client/assets/{css-DKjIhbA_-kkwCxkks.js.map → css-DKjIhbA_-CUnFG3ES.js.map} +1 -1
  78. package/dist/client/assets/{diff-BvynzM0a.js → diff-Ci0yCkTU.js} +3 -3
  79. package/dist/client/assets/{diff-BvynzM0a.js.map → diff-Ci0yCkTU.js.map} +1 -1
  80. package/dist/client/assets/{edge-CZci3foK-DbjelmsF.js → edge-CZci3foK-Ctlg1YxQ.js} +2 -2
  81. package/dist/client/assets/{edge-CZci3foK-DbjelmsF.js.map → edge-CZci3foK-Ctlg1YxQ.js.map} +1 -1
  82. package/dist/client/assets/{elixir-BFbWRTPN-DGdecMQe.js → elixir-BFbWRTPN-cC1K9Ezq.js} +2 -2
  83. package/dist/client/assets/{elixir-BFbWRTPN-DGdecMQe.js.map → elixir-BFbWRTPN-cC1K9Ezq.js.map} +1 -1
  84. package/dist/client/assets/{elm-BFCSOEGh-B9BWZIGp.js → elm-BFCSOEGh-XnRYfTO2.js} +2 -2
  85. package/dist/client/assets/{elm-BFCSOEGh-B9BWZIGp.js.map → elm-BFCSOEGh-XnRYfTO2.js.map} +1 -1
  86. package/dist/client/assets/{erb-C0EkZJvn-BQCINe4O.js → erb-C0EkZJvn-Dzi6SH3N.js} +2 -2
  87. package/dist/client/assets/{erb-C0EkZJvn-BQCINe4O.js.map → erb-C0EkZJvn-Dzi6SH3N.js.map} +1 -1
  88. package/dist/client/assets/{git-rebase-DBDs07B2-BsUn_6wp.js → git-rebase-DBDs07B2-CPonOskG.js} +2 -2
  89. package/dist/client/assets/{git-rebase-DBDs07B2-BsUn_6wp.js.map → git-rebase-DBDs07B2-CPonOskG.js.map} +1 -1
  90. package/dist/client/assets/{glimmer-js-oqYt1Bty-DhwIdeuV.js → glimmer-js-oqYt1Bty-8uN_RGfs.js} +2 -2
  91. package/dist/client/assets/{glimmer-js-oqYt1Bty-DhwIdeuV.js.map → glimmer-js-oqYt1Bty-8uN_RGfs.js.map} +1 -1
  92. package/dist/client/assets/{glimmer-ts-CjmgbZTn-D--4KEri.js → glimmer-ts-CjmgbZTn-BbhdlUs3.js} +2 -2
  93. package/dist/client/assets/{glimmer-ts-CjmgbZTn-D--4KEri.js.map → glimmer-ts-CjmgbZTn-BbhdlUs3.js.map} +1 -1
  94. package/dist/client/assets/{glsl-BqUMGrwT-BugoDbsL.js → glsl-BqUMGrwT-BdC4EsWs.js} +2 -2
  95. package/dist/client/assets/{glsl-BqUMGrwT-BugoDbsL.js.map → glsl-BqUMGrwT-BdC4EsWs.js.map} +1 -1
  96. package/dist/client/assets/{graphql-CEJryLGF-CK33Sd2D.js → graphql-CEJryLGF-BRAA6O06.js} +2 -2
  97. package/dist/client/assets/{graphql-CEJryLGF-CK33Sd2D.js.map → graphql-CEJryLGF-BRAA6O06.js.map} +1 -1
  98. package/dist/client/assets/{hack-DwBIwaGr-BlHtHO90.js → hack-DwBIwaGr-BAtB0Umc.js} +2 -2
  99. package/dist/client/assets/{hack-DwBIwaGr-BlHtHO90.js.map → hack-DwBIwaGr-BAtB0Umc.js.map} +1 -1
  100. package/dist/client/assets/{haml-BgD6GFV2-Cn_7eMhf.js → haml-BgD6GFV2-Cc0uNVUI.js} +2 -2
  101. package/dist/client/assets/{haml-BgD6GFV2-Cn_7eMhf.js.map → haml-BgD6GFV2-Cc0uNVUI.js.map} +1 -1
  102. package/dist/client/assets/{handlebars-DAEAtsmp-Ddwvn7SX.js → handlebars-DAEAtsmp-DLsK2kOk.js} +2 -2
  103. package/dist/client/assets/{handlebars-DAEAtsmp-Ddwvn7SX.js.map → handlebars-DAEAtsmp-DLsK2kOk.js.map} +1 -1
  104. package/dist/client/assets/{html-B63qAdeQ-C8grXLcX.js → html-B63qAdeQ-BI2TthmT.js} +2 -2
  105. package/dist/client/assets/{html-B63qAdeQ-C8grXLcX.js.map → html-B63qAdeQ-BI2TthmT.js.map} +1 -1
  106. package/dist/client/assets/{html-derivative-DliF0Izh-eHtyKN9s.js → html-derivative-DliF0Izh-CMfd68Cg.js} +2 -2
  107. package/dist/client/assets/{html-derivative-DliF0Izh-eHtyKN9s.js.map → html-derivative-DliF0Izh-CMfd68Cg.js.map} +1 -1
  108. package/dist/client/assets/{http-BPdteiK2-tAvZYLK6.js → http-BPdteiK2-CX-IhbOk.js} +2 -2
  109. package/dist/client/assets/{http-BPdteiK2-tAvZYLK6.js.map → http-BPdteiK2-CX-IhbOk.js.map} +1 -1
  110. package/dist/client/assets/{hurl-y6bQoMbn-BGQBtGLU.js → hurl-y6bQoMbn-7mwJ2k07.js} +2 -2
  111. package/dist/client/assets/{hurl-y6bQoMbn-BGQBtGLU.js.map → hurl-y6bQoMbn-7mwJ2k07.js.map} +1 -1
  112. package/dist/client/assets/{index-BDOFEVxB.js → index-CyCO7dDM.js} +3 -3
  113. package/dist/client/assets/{index-BDOFEVxB.js.map → index-CyCO7dDM.js.map} +1 -1
  114. package/dist/client/assets/{index-DBsf6vDR.css → index-Dn0IKu62.css} +1 -1
  115. package/dist/client/assets/{java-HDTZqoJ--BjrQmsMC.js → java-HDTZqoJ--B9p-6FTD.js} +2 -2
  116. package/dist/client/assets/{java-HDTZqoJ--BjrQmsMC.js.map → java-HDTZqoJ--B9p-6FTD.js.map} +1 -1
  117. package/dist/client/assets/{javascript-B8-PXjxO-Bq-MMO25.js → javascript-B8-PXjxO-CxKVIkrE.js} +2 -2
  118. package/dist/client/assets/{javascript-B8-PXjxO-Bq-MMO25.js.map → javascript-B8-PXjxO-CxKVIkrE.js.map} +1 -1
  119. package/dist/client/assets/{jinja-Li2helwk-l0WFvHGY.js → jinja-Li2helwk-wiEfSEKd.js} +2 -2
  120. package/dist/client/assets/{jinja-Li2helwk-l0WFvHGY.js.map → jinja-Li2helwk-wiEfSEKd.js.map} +1 -1
  121. package/dist/client/assets/{jison-D4pd2L4r-DfaKq-VY.js → jison-D4pd2L4r-CdTHAA5K.js} +2 -2
  122. package/dist/client/assets/{jison-D4pd2L4r-DfaKq-VY.js.map → jison-D4pd2L4r-CdTHAA5K.js.map} +1 -1
  123. package/dist/client/assets/{json-CHeq_08V-DZfpiOP9.js → json-CHeq_08V-BaAxXEpC.js} +2 -2
  124. package/dist/client/assets/{json-CHeq_08V-DZfpiOP9.js.map → json-CHeq_08V-BaAxXEpC.js.map} +1 -1
  125. package/dist/client/assets/{jsx-CTDAtxCE-Zsgbxq22.js → jsx-CTDAtxCE-DqkBvJVQ.js} +2 -2
  126. package/dist/client/assets/{jsx-CTDAtxCE-Zsgbxq22.js.map → jsx-CTDAtxCE-DqkBvJVQ.js.map} +1 -1
  127. package/dist/client/assets/{julia-B8HGxjvO-LAG3JTya.js → julia-B8HGxjvO-BViJH-3Z.js} +2 -2
  128. package/dist/client/assets/{julia-B8HGxjvO-LAG3JTya.js.map → julia-B8HGxjvO-BViJH-3Z.js.map} +1 -1
  129. package/dist/client/assets/{just-C1IY8eCo-BbIdo5MA.js → just-C1IY8eCo-DyJ_BTeb.js} +2 -2
  130. package/dist/client/assets/{just-C1IY8eCo-BbIdo5MA.js.map → just-C1IY8eCo-DyJ_BTeb.js.map} +1 -1
  131. package/dist/client/assets/{latex-CWjLpLhK-46pD4fMG.js → latex-CWjLpLhK-DpCuHsze.js} +2 -2
  132. package/dist/client/assets/{latex-CWjLpLhK-46pD4fMG.js.map → latex-CWjLpLhK-DpCuHsze.js.map} +1 -1
  133. package/dist/client/assets/{liquid-DO0vm52w-Cy8GQMCW.js → liquid-DO0vm52w-CEF5fJp5.js} +2 -2
  134. package/dist/client/assets/{liquid-DO0vm52w-Cy8GQMCW.js.map → liquid-DO0vm52w-CEF5fJp5.js.map} +1 -1
  135. package/dist/client/assets/{lua-rOZn354j-Cbcfon72.js → lua-rOZn354j-CaHUiAfq.js} +2 -2
  136. package/dist/client/assets/{lua-rOZn354j-Cbcfon72.js.map → lua-rOZn354j-CaHUiAfq.js.map} +1 -1
  137. package/dist/client/assets/{marko-CiZdnOV9-CcFVdIL7.js → marko-CiZdnOV9-Brrk-_VN.js} +2 -2
  138. package/dist/client/assets/{marko-CiZdnOV9-CcFVdIL7.js.map → marko-CiZdnOV9-Brrk-_VN.js.map} +1 -1
  139. package/dist/client/assets/{mdc-D1ADfxGi-YqDuYoZm.js → mdc-D1ADfxGi-Co8KdHkR.js} +2 -2
  140. package/dist/client/assets/{mdc-D1ADfxGi-YqDuYoZm.js.map → mdc-D1ADfxGi-Co8KdHkR.js.map} +1 -1
  141. package/dist/client/assets/{nginx-8KXIzHX2-Bic9RPc2.js → nginx-8KXIzHX2-CEzGaPe_.js} +2 -2
  142. package/dist/client/assets/{nginx-8KXIzHX2-Bic9RPc2.js.map → nginx-8KXIzHX2-CEzGaPe_.js.map} +1 -1
  143. package/dist/client/assets/{nim-CbBDSJf5-BQ6kTMUg.js → nim-CbBDSJf5-whZa9TGm.js} +2 -2
  144. package/dist/client/assets/{nim-CbBDSJf5-BQ6kTMUg.js.map → nim-CbBDSJf5-whZa9TGm.js.map} +1 -1
  145. package/dist/client/assets/{org-BlnOvN6p-B_-wxUCO.js → org-BlnOvN6p-C-HBqFDh.js} +2 -2
  146. package/dist/client/assets/{org-BlnOvN6p-B_-wxUCO.js.map → org-BlnOvN6p-C-HBqFDh.js.map} +1 -1
  147. package/dist/client/assets/{patterns-Nc-ycn7Y.js → patterns-DsePY14f.js} +2 -2
  148. package/dist/client/assets/{patterns-Nc-ycn7Y.js.map → patterns-DsePY14f.js.map} +1 -1
  149. package/dist/client/assets/{perl-CntHWu4k-BuEQuG7U.js → perl-CntHWu4k-DLNYobup.js} +2 -2
  150. package/dist/client/assets/{perl-CntHWu4k-BuEQuG7U.js.map → perl-CntHWu4k-DLNYobup.js.map} +1 -1
  151. package/dist/client/assets/{php-VF06KE26-BliObRgA.js → php-VF06KE26-Dp4fuXKl.js} +2 -2
  152. package/dist/client/assets/{php-VF06KE26-BliObRgA.js.map → php-VF06KE26-Dp4fuXKl.js.map} +1 -1
  153. package/dist/client/assets/{primitives-CgvvYKjR-BnO9EmQf.js → primitives-Bd6WhE78-DyJtZKnH.js} +2 -2
  154. package/dist/client/assets/primitives-Bd6WhE78-DyJtZKnH.js.map +1 -0
  155. package/dist/client/assets/{pug-DeZwH1tK-DpL6DGEh.js → pug-DeZwH1tK-Bho3PjIQ.js} +2 -2
  156. package/dist/client/assets/{pug-DeZwH1tK-DpL6DGEh.js.map → pug-DeZwH1tK-Bho3PjIQ.js.map} +1 -1
  157. package/dist/client/assets/{pullRequestReviewThreadReplay-FCMFIIPG.js → pullRequestReviewThreadReplay-D-Gd3hoP.js} +2 -2
  158. package/dist/client/assets/{pullRequestReviewThreadReplay-FCMFIIPG.js.map → pullRequestReviewThreadReplay-D-Gd3hoP.js.map} +1 -1
  159. package/dist/client/assets/{qml-CQhAR2tt-Cjst7VAs.js → qml-CQhAR2tt-D1c_pknn.js} +2 -2
  160. package/dist/client/assets/{qml-CQhAR2tt-Cjst7VAs.js.map → qml-CQhAR2tt-D1c_pknn.js.map} +1 -1
  161. package/dist/client/assets/{r-CGShpgkr-BVeckCHF.js → r-CGShpgkr-C7bXpPjk.js} +2 -2
  162. package/dist/client/assets/{r-CGShpgkr-BVeckCHF.js.map → r-CGShpgkr-C7bXpPjk.js.map} +1 -1
  163. package/dist/client/assets/{razor-CgB2QCs6-Cd3_piVw.js → razor-CgB2QCs6-DhGc3RMt.js} +2 -2
  164. package/dist/client/assets/{razor-CgB2QCs6-Cd3_piVw.js.map → razor-CgB2QCs6-DhGc3RMt.js.map} +1 -1
  165. package/dist/client/assets/{regexp-go_CdRjx-CR2YSHZ1.js → regexp-go_CdRjx-CJ0kv0kL.js} +2 -2
  166. package/dist/client/assets/{regexp-go_CdRjx-CR2YSHZ1.js.map → regexp-go_CdRjx-CJ0kv0kL.js.map} +1 -1
  167. package/dist/client/assets/{releaseRoutes-DPwinWrO.js → releaseRoutes-cNpu7gsD.js} +2 -2
  168. package/dist/client/assets/{releaseRoutes-DPwinWrO.js.map → releaseRoutes-cNpu7gsD.js.map} +1 -1
  169. package/dist/client/assets/{rst-CbWMI8ou-DAnUZELh.js → rst-CbWMI8ou-QeegT2a0.js} +2 -2
  170. package/dist/client/assets/{rst-CbWMI8ou-DAnUZELh.js.map → rst-CbWMI8ou-QeegT2a0.js.map} +1 -1
  171. package/dist/client/assets/{ruby-DsGwIs06--OWGrZzF.js → ruby-DsGwIs06-zfezgkhT.js} +2 -2
  172. package/dist/client/assets/{ruby-DsGwIs06--OWGrZzF.js.map → ruby-DsGwIs06-zfezgkhT.js.map} +1 -1
  173. package/dist/client/assets/{sas-DjxN8J4Z-jVfbDYqr.js → sas-DjxN8J4Z-CnTs8n2C.js} +2 -2
  174. package/dist/client/assets/{sas-DjxN8J4Z-jVfbDYqr.js.map → sas-DjxN8J4Z-CnTs8n2C.js.map} +1 -1
  175. package/dist/client/assets/{scss-bkiiULjK-D2AbGytL.js → scss-bkiiULjK-XMjkwalx.js} +2 -2
  176. package/dist/client/assets/{scss-bkiiULjK-D2AbGytL.js.map → scss-bkiiULjK-XMjkwalx.js.map} +1 -1
  177. package/dist/client/assets/{shellscript-Cuh1SIPr-BiNPTO6b.js → shellscript-Cuh1SIPr-46XCCu2F.js} +2 -2
  178. package/dist/client/assets/{shellscript-Cuh1SIPr-BiNPTO6b.js.map → shellscript-Cuh1SIPr-46XCCu2F.js.map} +1 -1
  179. package/dist/client/assets/{shellsession-C4UOwxb7-kRylcT_R.js → shellsession-C4UOwxb7-BKA80XTI.js} +2 -2
  180. package/dist/client/assets/{shellsession-C4UOwxb7-kRylcT_R.js.map → shellsession-C4UOwxb7-BKA80XTI.js.map} +1 -1
  181. package/dist/client/assets/{soy-CeGFXpLT-C8n-t50V.js → soy-CeGFXpLT-Nlu0Kd5l.js} +2 -2
  182. package/dist/client/assets/{soy-CeGFXpLT-C8n-t50V.js.map → soy-CeGFXpLT-Nlu0Kd5l.js.map} +1 -1
  183. package/dist/client/assets/{sql-qDYmMTO1-CMujL9b5.js → sql-qDYmMTO1-D24X-mUh.js} +2 -2
  184. package/dist/client/assets/{sql-qDYmMTO1-CMujL9b5.js.map → sql-qDYmMTO1-D24X-mUh.js.map} +1 -1
  185. package/dist/client/assets/{stata-Dzus_rwP-xpTbStns.js → stata-Dzus_rwP-DJ7CmNSn.js} +2 -2
  186. package/dist/client/assets/{stata-Dzus_rwP-xpTbStns.js.map → stata-Dzus_rwP-DJ7CmNSn.js.map} +1 -1
  187. package/dist/client/assets/{surrealql-DmTrf8uR-C71726g6.js → surrealql-DmTrf8uR-C3LuBr-Y.js} +2 -2
  188. package/dist/client/assets/{surrealql-DmTrf8uR-C71726g6.js.map → surrealql-DmTrf8uR-C3LuBr-Y.js.map} +1 -1
  189. package/dist/client/assets/{svelte-CWlRonoS-Dsmgsl3p.js → svelte-CWlRonoS-B_ECcTzN.js} +2 -2
  190. package/dist/client/assets/{svelte-CWlRonoS-Dsmgsl3p.js.map → svelte-CWlRonoS-B_ECcTzN.js.map} +1 -1
  191. package/dist/client/assets/{templ-EuFg1gKs-Dlt8LDbj.js → templ-EuFg1gKs-ByAnUgBM.js} +2 -2
  192. package/dist/client/assets/{templ-EuFg1gKs-Dlt8LDbj.js.map → templ-EuFg1gKs-ByAnUgBM.js.map} +1 -1
  193. package/dist/client/assets/{tex-Cbbx1SXS-CGW7lVtU.js → tex-Cbbx1SXS-0Ywa__H_.js} +2 -2
  194. package/dist/client/assets/{tex-Cbbx1SXS-CGW7lVtU.js.map → tex-Cbbx1SXS-0Ywa__H_.js.map} +1 -1
  195. package/dist/client/assets/{ts-tags-DOHpIWV2-Cs4BupLU.js → ts-tags-DOHpIWV2-CuulTIKM.js} +2 -2
  196. package/dist/client/assets/{ts-tags-DOHpIWV2-Cs4BupLU.js.map → ts-tags-DOHpIWV2-CuulTIKM.js.map} +1 -1
  197. package/dist/client/assets/{tsx-DmRL3u_2-Br3tQc1n.js → tsx-DmRL3u_2-GCLpfMRQ.js} +2 -2
  198. package/dist/client/assets/{tsx-DmRL3u_2-Br3tQc1n.js.map → tsx-DmRL3u_2-GCLpfMRQ.js.map} +1 -1
  199. package/dist/client/assets/{twig-BzcHspK1-DTeHZkzh.js → twig-BzcHspK1-BaXWhuif.js} +2 -2
  200. package/dist/client/assets/{twig-BzcHspK1-DTeHZkzh.js.map → twig-BzcHspK1-BaXWhuif.js.map} +1 -1
  201. package/dist/client/assets/{typescript-BYTx4UxO-Ckgqgf_6.js → typescript-BYTx4UxO-D62Ug8gp.js} +2 -2
  202. package/dist/client/assets/{typescript-BYTx4UxO-Ckgqgf_6.js.map → typescript-BYTx4UxO-D62Ug8gp.js.map} +1 -1
  203. package/dist/client/assets/{typst-BrfC91e7-C5LPu314.js → typst-BrfC91e7-BqtmZjA2.js} +2 -2
  204. package/dist/client/assets/{typst-BrfC91e7-C5LPu314.js.map → typst-BrfC91e7-BqtmZjA2.js.map} +1 -1
  205. package/dist/client/assets/{useWorkspaceDefaultLanding-DwCv_p0F.js → useWorkspaceDefaultLanding-CNq5BmMV.js} +2 -2
  206. package/dist/client/assets/{useWorkspaceDefaultLanding-DwCv_p0F.js.map → useWorkspaceDefaultLanding-CNq5BmMV.js.map} +1 -1
  207. package/dist/client/assets/{vue-B92PIQFm-D2EcIWyt.js → vue-B92PIQFm-C54gWdwm.js} +2 -2
  208. package/dist/client/assets/{vue-B92PIQFm-D2EcIWyt.js.map → vue-B92PIQFm-C54gWdwm.js.map} +1 -1
  209. package/dist/client/assets/{vue-html-EDHI-aeE-Cu1z77i2.js → vue-html-EDHI-aeE-Cw2PnKOb.js} +2 -2
  210. package/dist/client/assets/{vue-html-EDHI-aeE-Cu1z77i2.js.map → vue-html-EDHI-aeE-Cw2PnKOb.js.map} +1 -1
  211. package/dist/client/assets/{vue-vine-CmMdgoEY-xSl0fRHe.js → vue-vine-CmMdgoEY-C9ayJcHX.js} +2 -2
  212. package/dist/client/assets/{vue-vine-CmMdgoEY-xSl0fRHe.js.map → vue-vine-CmMdgoEY-C9ayJcHX.js.map} +1 -1
  213. package/dist/client/assets/{workspaceEntityRoutes-DY6gXtOy.js → workspaceEntityRoutes-BYPBqjUZ.js} +2 -2
  214. package/dist/client/assets/{workspaceEntityRoutes-DY6gXtOy.js.map → workspaceEntityRoutes-BYPBqjUZ.js.map} +1 -1
  215. package/dist/client/assets/{workspaceScrollCapture-B4_xSwNQ.js → workspaceScrollCapture-u6lJbYGL.js} +2 -2
  216. package/dist/client/assets/{workspaceScrollCapture-B4_xSwNQ.js.map → workspaceScrollCapture-u6lJbYGL.js.map} +1 -1
  217. package/dist/client/assets/{xml-Bz9Nzp99-Dci4Wxub.js → xml-Bz9Nzp99-q2auRtdj.js} +2 -2
  218. package/dist/client/assets/{xml-Bz9Nzp99-Dci4Wxub.js.map → xml-Bz9Nzp99-q2auRtdj.js.map} +1 -1
  219. package/dist/client/assets/{xsl-D0pOnfMq-BJ-ZDrUM.js → xsl-D0pOnfMq-DV7XsD_5.js} +2 -2
  220. package/dist/client/assets/{xsl-D0pOnfMq-BJ-ZDrUM.js.map → xsl-D0pOnfMq-DV7XsD_5.js.map} +1 -1
  221. package/dist/client/assets/{yaml-DKDHNCIP-DhiHdxcC.js → yaml-DKDHNCIP-DSSGln5p.js} +2 -2
  222. package/dist/client/assets/{yaml-DKDHNCIP-DhiHdxcC.js.map → yaml-DKDHNCIP-DSSGln5p.js.map} +1 -1
  223. package/dist/client/index.html +2 -2
  224. package/package.json +9 -9
  225. package/dist/client/assets/ReleaseRoute-D5Mrpp8w.js.map +0 -1
  226. package/dist/client/assets/primitives-CgvvYKjR-BnO9EmQf.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{n as e,r as t}from"./rolldown-runtime-hePW80VL.js";import{t as n}from"./react-Cvdyeg_0.js";import{C as r,D as i,E as a,O as o,S as s,T as c,_ as l,a as u,b as d,c as f,d as p,f as m,g as h,h as g,i as _,l as v,m as y,n as b,o as x,p as S,r as ee,s as te,t as C,u as w,v as T,w as E,x as ne,y as re}from"./Dialog-B9Ub_gMT-D8Er5PRs.js";import{i as ie,n as ae,t as oe}from"./PortalProvider-CN_81Fy3-Cu7FMqdg.js";import{t as se}from"./jsx-runtime-NZYk81nU.js";import{S as ce}from"./index-BDOFEVxB.js";var D=t(n(),1),O=se(),le={root:`rly_AgentContextButton-module__root`,mark:`rly_AgentContextButton-module__mark`,glyph:`rly_AgentContextButton-module__glyph`,copy:`rly_AgentContextButton-module__copy`,contextRow:`rly_AgentContextButton-module__contextRow`,action:`rly_AgentContextButton-module__action`,agent:`rly_AgentContextButton-module__agent`,contextLabel:`rly_AgentContextButton-module__contextLabel`,context:`rly_AgentContextButton-module__context`,job:`rly_AgentContextButton-module__job`,count:`rly_AgentContextButton-module__count`},k=e=>i(le,e),ue=()=>(0,O.jsx)(`span`,{"aria-hidden":`true`,className:k(`mark`),children:(0,O.jsx)(`svg`,{className:k(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})}),de=({actionLabel:e=`Ask agent`,agentName:t,className:n,context:r,contextLabel:i=`Context`,job:a,type:o,...c})=>{let l=E(e,`AgentContextButton actionLabel`),u=E(t,`AgentContextButton agentName`),d=E(r,`AgentContextButton context`),f=E(i,`AgentContextButton contextLabel`),p=a===void 0?void 0:E(a.status,`AgentContextButton job status`);if(a?.count!==void 0&&(!Number.isInteger(a.count)||a.count<0))throw Error(`AgentContextButton job count must be a non-negative integer`);return(0,O.jsxs)(`button`,{...c,className:s(k(`root`),n),"data-rly-agent-context-button":``,type:o??`button`,children:[(0,O.jsx)(ue,{}),(0,O.jsxs)(`span`,{className:k(`copy`),children:[(0,O.jsx)(`span`,{className:k(`action`),children:l}),(0,O.jsx)(`span`,{className:k(`agent`),children:u}),(0,O.jsxs)(`span`,{className:k(`contextRow`),children:[(0,O.jsx)(`span`,{className:k(`contextLabel`),children:f}),(0,O.jsx)(`span`,{className:k(`context`),children:d})]})]}),p===void 0?null:(0,O.jsxs)(`span`,{className:k(`job`),"data-rly-agent-job":``,children:[p,a?.count===void 0?null:(0,O.jsx)(`span`,{className:k(`count`),children:a.count})]})]})},fe={drawer:`rly_AgentDrawer-module__drawer`,body:`rly_AgentDrawer-module__body`,slot:`rly_AgentDrawer-module__slot`,slotContent:`rly_AgentDrawer-module__slotContent`,identityCopy:`rly_AgentDrawer-module__identityCopy`,contextSlot:`rly_AgentDrawer-module__contextSlot`,identity:`rly_AgentDrawer-module__identity`,mark:`rly_AgentDrawer-module__mark`,glyph:`rly_AgentDrawer-module__glyph`,eyebrow:`rly_AgentDrawer-module__eyebrow`,slotTitle:`rly_AgentDrawer-module__slotTitle`,contextSummary:`rly_AgentDrawer-module__contextSummary`},A=e=>i(fe,e),pe=()=>(0,O.jsx)(`span`,{"aria-hidden":`true`,className:A(`mark`),children:(0,O.jsx)(`svg`,{className:A(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})}),me=({children:e,label:t,name:n})=>(0,O.jsxs)(`section`,{className:A(`slot`),"data-rly-agent-drawer-slot":n,children:[(0,O.jsx)(`h2`,{className:A(`slotTitle`),children:t}),(0,O.jsx)(`div`,{className:A(`slotContent`),children:e})]}),he=({agentName:e,capabilities:t,className:n,composer:r,context:i,contextSummary:a,evidence:o,onOpenChange:c,open:l,thread:u,title:d,...f})=>{let p=E(e,`AgentDrawer agentName`),h=E(a,`AgentDrawer contextSummary`),g=E(d,`AgentDrawer title`),_=(0,D.useRef)(null);return(0,O.jsx)(m.Root,{onOpenChange:c,open:l,children:(0,O.jsx)(m.Content,{className:s(A(`drawer`),n),description:`Context-aware session with ${p}`,initialFocusRef:_,title:g,children:(0,O.jsxs)(m.Body,{...f,className:A(`body`),children:[(0,O.jsxs)(`section`,{className:s(A(`slot`),A(`contextSlot`)),"data-rly-agent-drawer-slot":`context`,ref:_,tabIndex:-1,children:[(0,O.jsxs)(`div`,{className:A(`identity`),children:[(0,O.jsx)(pe,{}),(0,O.jsxs)(`div`,{className:A(`identityCopy`),children:[(0,O.jsx)(`span`,{className:A(`eyebrow`),children:p}),(0,O.jsx)(`h2`,{className:A(`contextSummary`),children:h})]})]}),(0,O.jsx)(`div`,{className:A(`slotContent`),children:i})]}),(0,O.jsx)(me,{label:`Evidence`,name:`evidence`,children:o}),(0,O.jsx)(me,{label:`Capabilities`,name:`capabilities`,children:t}),(0,O.jsxs)(`section`,{"aria-live":`polite`,"aria-relevant":`additions text`,className:A(`slot`),"data-rly-agent-drawer-slot":`thread`,children:[(0,O.jsx)(`h2`,{className:A(`slotTitle`),children:`Thread`}),(0,O.jsx)(`div`,{className:A(`slotContent`),children:u})]}),(0,O.jsx)(me,{label:`Message`,name:`composer`,children:r})]})})})},ge={root:`rly_AgentJob-module__root`,header:`rly_AgentJob-module__header`,agentGlyph:`rly_AgentJob-module__agentGlyph`,titleBlock:`rly_AgentJob-module__titleBlock`,eyebrow:`rly_AgentJob-module__eyebrow`,progressLabel:`rly_AgentJob-module__progressLabel`,metadata:`rly_AgentJob-module__metadata`,progressBlock:`rly_AgentJob-module__progressBlock`,slot:`rly_AgentJob-module__slot`,footer:`rly_AgentJob-module__footer`,outcome:`rly_AgentJob-module__outcome`},j=e=>i(ge,e),_e=(e,t)=>{if(e==null||o(e))throw Error(`${t} must contain renderable content`);ne(e)&&E(e,t)},ve={queued:{label:`Queued`,tone:`neutral`},running:{label:`Running`,tone:`progress`},"cancel-requested":{label:`Cancel requested`,tone:`caution`},succeeded:{label:`Succeeded`,tone:`positive`},failed:{label:`Failed`,tone:`critical`},cancelled:{label:`Cancelled`,tone:`neutral`}},ye=e=>{if(e!==void 0&&(!Number.isFinite(e)||e<0||e>100))throw Error(`AgentJob progress must be between 0 and 100`)},be=({cancelLabel:e=`Request cancellation`,capability:t,className:n,context:r,evidence:i,heading:a,onCancel:o,outcome:c,progress:l,provider:u,revision:d,sandbox:f,state:m,...h})=>{let g=E(a,`AgentJob heading`),_=E(u,`AgentJob provider`),v=E(t,`AgentJob capability`),y=E(e,`AgentJob cancelLabel`);_e(r,`AgentJob context`),_e(i,`AgentJob evidence`),(m===`succeeded`||m===`failed`||m===`cancelled`)&&_e(c,`AgentJob terminal outcome`),f!==void 0&&E(f,`AgentJob sandbox`),d!==void 0&&E(d,`AgentJob revision`),ye(l);let b=ve[m],x=m===`queued`||m===`running`,S=`rly-agent-job-progress-${(0,D.useId)()}`;return(0,O.jsxs)(`article`,{...h,"aria-busy":m===`queued`||m===`running`||m===`cancel-requested`,className:s(j(`root`),n),"data-rly-agent-job-state":m,children:[(0,O.jsxs)(`header`,{className:j(`header`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:j(`agentGlyph`),children:`AI`}),(0,O.jsxs)(`span`,{className:j(`titleBlock`),children:[(0,O.jsxs)(`span`,{className:j(`eyebrow`),children:[_,`, `,v]}),(0,O.jsx)(`h2`,{children:g})]}),(0,O.jsx)(T,{label:b.label,size:`compact`,tone:b.tone})]}),l===void 0?null:(0,O.jsxs)(`div`,{className:j(`progressBlock`),children:[(0,O.jsxs)(`span`,{className:j(`progressLabel`),id:S,children:[`Progress `,(0,O.jsxs)(`strong`,{children:[Math.round(l),`%`]})]}),(0,O.jsx)(`progress`,{"aria-labelledby":S,max:100,value:l})]}),(0,O.jsxs)(`dl`,{className:j(`metadata`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Provider`}),(0,O.jsx)(`dd`,{children:_})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Capability`}),(0,O.jsx)(`dd`,{children:v})]}),f===void 0?null:(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Sandbox`}),(0,O.jsx)(`dd`,{children:(0,O.jsx)(`code`,{children:f})})]}),d===void 0?null:(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Revision`}),(0,O.jsx)(`dd`,{children:(0,O.jsx)(`code`,{children:d})})]})]}),(0,O.jsxs)(`section`,{className:j(`slot`),"data-rly-agent-job-context":``,children:[(0,O.jsx)(`h3`,{children:`Exact context`}),r]}),(0,O.jsxs)(`section`,{className:j(`slot`),"data-rly-agent-job-evidence":``,children:[(0,O.jsx)(`h3`,{children:`Evidence`}),i]}),c===void 0?null:(0,O.jsxs)(`section`,{className:s(j(`slot`),j(`outcome`)),"data-rly-agent-job-outcome":m,children:[(0,O.jsx)(`h3`,{children:`Terminal outcome`}),c]}),x&&o!==void 0?(0,O.jsx)(`footer`,{className:j(`footer`),children:(0,O.jsx)(p,{onClick:o,variant:`quiet`,children:y})}):null]})},xe={root:`rly_AgentProposal-module__root`,header:`rly_AgentProposal-module__header`,agentIdentity:`rly_AgentProposal-module__agentIdentity`,agentText:`rly_AgentProposal-module__agentText`,eyebrow:`rly_AgentProposal-module__eyebrow`,heading:`rly_AgentProposal-module__heading`,agentRole:`rly_AgentProposal-module__agentRole`,proposalReference:`rly_AgentProposal-module__proposalReference`,context:`rly_AgentProposal-module__context`,boundary:`rly_AgentProposal-module__boundary`,evidence:`rly_AgentProposal-module__evidence`,outcome:`rly_AgentProposal-module__outcome`,state:`rly_AgentProposal-module__state`,facts:`rly_AgentProposal-module__facts`},M=e=>i(xe,e),Se=e=>{E(e.id,`AgentProposal agent id`),E(e.name,`AgentProposal agent name`),E(e.role,`AgentProposal agent role`),E(e.avatarFallback,`AgentProposal agent avatarFallback`),e.avatarSrc!==void 0&&E(e.avatarSrc,`AgentProposal agent avatarSrc`)},Ce=e=>{if(E(e.id,`AgentProposal id`),Se(e.agent),E(e.capability,`AgentProposal capability`),E(e.context,`AgentProposal context`),E(e.expectedRevision,`AgentProposal expectedRevision`),E(e.impact,`AgentProposal impact`),E(e.target,`AgentProposal target`),e.evidence.length===0)throw Error(`AgentProposal evidence must contain at least one reference`);let t=new Set;for(let n of e.evidence){let e=E(n.id,`AgentProposal evidence id`);if(t.has(e))throw Error(`AgentProposal evidence ids must be unique: ${e}`);t.add(e),E(n.label,`AgentProposal evidence label for ${e}`),E(n.reference,`AgentProposal evidence reference for ${e}`)}return e},we=({className:e,outcome:t,proposal:n,state:r,...i})=>{let a=Ce(n),o=`rly-agent-proposal-${(0,D.useId)()}`,c=`rly-agent-proposal-reference-${(0,D.useId)()}`;return(0,O.jsxs)(`section`,{...i,"aria-labelledby":`${o} ${c}`,className:s(M(`root`),e),"data-rly-agent-proposal-id":a.id,children:[(0,O.jsxs)(`header`,{className:M(`header`),children:[(0,O.jsxs)(`div`,{className:M(`agentIdentity`),children:[(0,O.jsx)(re,{decorative:!0,fallback:a.agent.avatarFallback,form:`rounded-square`,...a.agent.avatarSrc===void 0?{}:{src:a.agent.avatarSrc}}),(0,O.jsxs)(`div`,{className:M(`agentText`),children:[(0,O.jsx)(`p`,{className:M(`eyebrow`),children:`Agent proposal`}),(0,O.jsx)(`h2`,{className:M(`heading`),id:o,children:a.agent.name}),(0,O.jsx)(`p`,{className:M(`agentRole`),children:a.agent.role}),(0,O.jsx)(`code`,{className:M(`proposalReference`),id:c,children:a.id})]})]}),(0,O.jsx)(`div`,{className:M(`state`),"data-rly-agent-proposal-slot":`state`,children:r})]}),(0,O.jsx)(`p`,{className:M(`boundary`),children:`This is an agent proposal. It is not human authorization.`}),(0,O.jsxs)(`p`,{className:M(`context`),children:[(0,O.jsx)(`span`,{children:`Context`}),a.context]}),(0,O.jsxs)(`dl`,{className:M(`facts`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Capability`}),(0,O.jsx)(`dd`,{children:a.capability})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Target`}),(0,O.jsx)(`dd`,{children:a.target})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Expected revision`}),(0,O.jsx)(`dd`,{children:a.expectedRevision})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Impact`}),(0,O.jsx)(`dd`,{children:a.impact})]})]}),(0,O.jsxs)(`div`,{className:M(`evidence`),"data-rly-agent-proposal-evidence":``,children:[(0,O.jsx)(`h3`,{children:`Evidence`}),(0,O.jsx)(`ul`,{children:a.evidence.map(e=>(0,O.jsxs)(`li`,{children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(`code`,{children:e.reference})]},e.id))})]}),(0,O.jsxs)(`div`,{className:M(`outcome`),"data-rly-agent-proposal-slot":`outcome`,children:[(0,O.jsx)(`h3`,{children:`Outcome`}),t]})]})},Te={root:`rly_AgentThread-module__root`,header:`rly_AgentThread-module__header`,messageHead:`rly_AgentThread-module__messageHead`,actor:`rly_AgentThread-module__actor`,actions:`rly_AgentThread-module__actions`,agentGlyph:`rly_AgentThread-module__agentGlyph`,avatar:`rly_AgentThread-module__avatar`,context:`rly_AgentThread-module__context`,composer:`rly_AgentThread-module__composer`,conceptLabel:`rly_AgentThread-module__conceptLabel`,messages:`rly_AgentThread-module__messages`,message:`rly_AgentThread-module__message`,agent:`rly_AgentThread-module__agent`,human:`rly_AgentThread-module__human`,system:`rly_AgentThread-module__system`,actorText:`rly_AgentThread-module__actorText`,empty:`rly_AgentThread-module__empty`,content:`rly_AgentThread-module__content`,evidence:`rly_AgentThread-module__evidence`,visuallyHidden:`rly_AgentThread-module__visuallyHidden`},N=e=>i(Te,e),Ee=(e,t)=>{if(e==null||o(e))throw Error(`${t} must contain renderable content`);ne(e)&&E(e,t)},De=e=>{let t=e.trim().split(/\s+/u),n=Array.from(t[0]??``)[0]??``,r=Array.from(t[t.length-1]??``)[0]??``;return E(`${n}${t.length>1?r:``}`,`AgentThread actor fallback`)},Oe=e=>{if(e.kind===`human`){E(e.person.id,`AgentThread human id`),E(e.person.name,`AgentThread human name`),E(e.person.role,`AgentThread human role`),e.person.avatarFallback!==void 0&&E(e.person.avatarFallback,`AgentThread human avatarFallback`),e.person.avatarSrc!==void 0&&E(e.person.avatarSrc,`AgentThread human avatarSrc`);return}E(e.id,`AgentThread ${e.kind} id`),E(e.name,`AgentThread ${e.kind} name`),e.kind===`agent`&&(E(e.role,`AgentThread agent role`),e.avatarFallback!==void 0&&E(e.avatarFallback,`AgentThread agent avatarFallback`))},ke=e=>{let t=e.kind===`human`?e.person.name:e.name,n=e.kind===`human`?e.person.role:e.kind===`agent`?e.role:`System event`,r=e.kind===`human`?e.person.avatarFallback??De(t):e.kind===`agent`?e.avatarFallback??De(t):De(t),i=e.kind===`human`?e.person.avatarSrc:void 0;return(0,O.jsxs)(`div`,{className:s(N(`actor`),N(e.kind)),"data-rly-agent-thread-actor":e.kind,children:[(0,O.jsx)(re,{className:N(`avatar`),"data-rly-agent-thread-avatar-form":e.kind===`human`?`circle`:`rounded-square`,decorative:!0,fallback:r,form:e.kind===`human`?`circle`:`rounded-square`,size:`default`,...i===void 0?{}:{src:i}}),(0,O.jsxs)(`span`,{className:N(`actorText`),children:[(0,O.jsx)(`strong`,{children:t}),(0,O.jsx)(`span`,{children:n})]})]})},Ae=({announcement:e,className:t,composer:n,context:r,emptyLabel:i=`No messages yet.`,heading:a,messages:o,...c})=>{let l=E(a,`AgentThread heading`),u=E(i,`AgentThread emptyLabel`);Ee(r,`AgentThread context`),Ee(n,`AgentThread composer`),e!==void 0&&E(e,`AgentThread announcement`);let d=new Set;for(let e of o){let t=E(e.id,`AgentThread message id`);if(d.has(t))throw Error(`AgentThread message ids must be unique: ${t}`);d.add(t),Oe(e.actor),Ee(e.content,`AgentThread message content for ${t}`),E(e.dateTime,`AgentThread message dateTime for ${t}`),E(e.time,`AgentThread message time for ${t}`)}return(0,O.jsxs)(`section`,{...c,className:s(N(`root`),t),"data-rly-agent-thread":``,children:[(0,O.jsxs)(`header`,{className:N(`header`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:N(`agentGlyph`),children:`AI`}),(0,O.jsx)(`h2`,{children:l})]}),(0,O.jsxs)(`div`,{className:N(`context`),"data-rly-agent-thread-context":``,children:[(0,O.jsx)(`span`,{className:N(`conceptLabel`),children:`Exact context`}),r]}),o.length===0?(0,O.jsx)(`p`,{className:N(`empty`),children:u}):(0,O.jsx)(`ol`,{"aria-label":`${l} messages`,className:N(`messages`),children:o.map(e=>(0,O.jsxs)(`li`,{className:N(`message`),"data-rly-agent-thread-message":e.id,children:[(0,O.jsxs)(`div`,{className:N(`messageHead`),children:[ke(e.actor),(0,O.jsx)(`time`,{dateTime:e.dateTime,children:e.time})]}),(0,O.jsx)(`div`,{className:N(`content`),children:e.content}),e.evidence===void 0?null:(0,O.jsx)(`div`,{className:N(`evidence`),"data-rly-agent-thread-evidence":``,children:e.evidence}),e.actions===void 0?null:(0,O.jsx)(`div`,{className:N(`actions`),"data-rly-agent-thread-actions":``,children:e.actions})]},e.id))}),(0,O.jsx)(`p`,{"aria-atomic":`true`,"aria-live":`polite`,className:N(`visuallyHidden`),children:e}),(0,O.jsx)(`div`,{className:N(`composer`),"data-rly-agent-thread-composer":``,children:n})]})},je={root:`rly_Person-module__root`,compact:`rly_Person-module__compact`,defaultSize:`rly_Person-module__defaultSize`,identity:`rly_Person-module__identity`,name:`rly_Person-module__name`,role:`rly_Person-module__role`},Me=e=>i(je,e),Ne=c({size:{compact:{className:Me(`compact`),purpose:`Dense identity row with complete attribution`,tokens:[`space-24`,`type-meta`]},default:{className:Me(`defaultSize`),purpose:`Standard identity row with complete attribution`,tokens:[`space-32`,`type-label`,`type-meta`]}}}),Pe=c({size:`default`}),Fe=e=>{let t=e.trim().split(/\s+/u),n=t[0]??``,r=t[t.length-1]??n,i=Array.from(n),a=i[0]??``,o=t.length>1?Array.from(r)[0]??``:i[1]??``;return E(`${a}${o}`,`Person avatar fallback`)},Ie=e=>(E(e.id,`Person id`),E(e.name,`Person name`),E(e.role,`Person role`),e.avatarFallback!==void 0&&E(e.avatarFallback,`Person avatarFallback`),e.avatarSrc!==void 0&&E(e.avatarSrc,`Person avatarSrc`),e),P=({className:e,person:t,size:n=`default`,...r})=>{let i=Ie(t),a=i.avatarFallback??Fe(i.name);return(0,O.jsxs)(`div`,{...r,className:s(Me(`root`),Ne.size[n].className,e),"data-rly-person-size":n,children:[(0,O.jsx)(re,{decorative:!0,fallback:a,size:n===`compact`?`small`:`default`,...i.avatarSrc===void 0?{}:{src:i.avatarSrc}}),(0,O.jsxs)(`span`,{className:Me(`identity`),children:[(0,O.jsx)(`span`,{className:Me(`name`),children:i.name}),(0,O.jsx)(`span`,{className:Me(`role`),children:i.role})]})]})},Le={root:`rly_PeopleStrip-module__root`,compact:`rly_PeopleStrip-module__compact`,defaultSize:`rly_PeopleStrip-module__defaultSize`,personItem:`rly_PeopleStrip-module__personItem`,controlItem:`rly_PeopleStrip-module__controlItem`,overflow:`rly_PeopleStrip-module__overflow`},Re=e=>i(Le,e),ze=c({size:{compact:{className:Re(`compact`),purpose:`Dense attributed people list for narrow surfaces`,tokens:[`space-8`,`space-40`]},default:{className:Re(`defaultSize`),purpose:`Standard attributed people list`,tokens:[`space-12`,`space-40`]}}}),Be=c({size:`default`}),Ve=e=>{if(!Number.isInteger(e)||e<1)throw Error(`PeopleStrip limit must be a positive integer`);return e},He=e=>{let t=new Set;for(let n of e){let e=E(n.id,`PeopleStrip person id`);if(E(n.name,`PeopleStrip name for ${e}`),E(n.role,`PeopleStrip role for ${e}`),t.has(e))throw Error(`PeopleStrip person ids must be unique: ${e}`);t.add(e)}},Ue=({"aria-label":e,className:t,expanded:n,limit:r=3,onExpandedChange:i,people:a,size:o=`default`,...c})=>{let l=E(e,`PeopleStrip aria-label`),u=Ve(r);He(a);let d=Math.max(a.length-u,0),f=n?a:a.slice(0,u);return(0,O.jsxs)(`ul`,{...c,"aria-label":l,className:s(Re(`root`),ze.size[o].className,t),"data-rly-people-strip-size":o,children:[f.map(e=>(0,O.jsx)(`li`,{className:Re(`personItem`),children:(0,O.jsx)(P,{person:e,size:o})},e.id)),d===0?null:(0,O.jsx)(`li`,{className:Re(`controlItem`),children:(0,O.jsx)(`button`,{"aria-expanded":n,"aria-label":n?`Show fewer people`:`Show ${d} more people`,className:Re(`overflow`),onClick:()=>i(!n),type:`button`,children:n?`Show fewer`:`+${d} people`})})]})},We={root:`rly_CollaboratorGroup-module__root`,compact:`rly_CollaboratorGroup-module__compact`,defaultSize:`rly_CollaboratorGroup-module__defaultSize`,heading:`rly_CollaboratorGroup-module__heading`,lanes:`rly_CollaboratorGroup-module__lanes`,lane:`rly_CollaboratorGroup-module__lane`,laneHeading:`rly_CollaboratorGroup-module__laneHeading`,empty:`rly_CollaboratorGroup-module__empty`},Ge=e=>i(We,e),Ke=c({size:{compact:{className:Ge(`compact`),purpose:`Narrow entity attribution with explicit role lanes`,tokens:[`space-12`,`type-label`]},default:{className:Ge(`defaultSize`),purpose:`Standard entity attribution with explicit role lanes`,tokens:[`space-20`,`type-card-title`]}}}),qe=c({size:`default`}),Je=({approvers:e=[],authors:t=[],className:n,emptyLabel:r=`No collaborators assigned.`,expandedCategories:i,heading:a,limit:o=3,onCategoryExpandedChange:c,operators:l=[],owners:u=[],reviewers:d=[],size:f=`default`,...p})=>{let m=E(a,`CollaboratorGroup heading`),h=E(r,`CollaboratorGroup emptyLabel`),g=`rly-collaborators-${(0,D.useId)()}`,_=new Set(i),v=[{category:`authors`,label:`Authors`,people:t},{category:`owners`,label:`Owners`,people:u},{category:`reviewers`,label:`Reviewers`,people:d},{category:`operators`,label:`Operators`,people:l},{category:`approvers`,label:`Approvers`,people:e}].filter(e=>e.people.length>0);return(0,O.jsxs)(`section`,{...p,"aria-labelledby":g,className:s(Ge(`root`),Ke.size[f].className,n),"data-rly-collaborator-group-size":f,children:[(0,O.jsx)(`h2`,{className:Ge(`heading`),id:g,children:m}),v.length===0?(0,O.jsx)(`p`,{className:Ge(`empty`),children:h}):(0,O.jsx)(`div`,{className:Ge(`lanes`),children:v.map(e=>(0,O.jsxs)(`section`,{className:Ge(`lane`),children:[(0,O.jsx)(`h3`,{className:Ge(`laneHeading`),children:e.label}),(0,O.jsx)(Ue,{"aria-label":`${m}: ${e.label}`,expanded:_.has(e.category),limit:o,onExpandedChange:t=>c(e.category,t),people:e.people,size:f})]},e.category))})]})},Ye={root:`rly_DecisionBar-module__root`,inline:`rly_DecisionBar-module__inline`,sticky:`rly_DecisionBar-module__sticky`,target:`rly_DecisionBar-module__target`,clock:`rly_DecisionBar-module__clock`,actions:`rly_DecisionBar-module__actions`,status:`rly_DecisionBar-module__status`,reason:`rly_DecisionBar-module__reason`,note:`rly_DecisionBar-module__note`},F=e=>i(Ye,e),Xe=c({placement:{inline:{className:F(`inline`),purpose:`In the flow of the detail it decides`,tokens:[`color-text-1`,`color-text-2`]},sticky:{className:F(`sticky`),purpose:`Pinned to the bottom of a phone viewport while its target is open, at thumb reach`,tokens:[`color-canvas`,`color-border-1`]}}}),Ze=c({placement:`inline`}),Qe=({approveLabel:e=`Approve`,className:t,clock:n,note:r,onApprove:i,onReject:a,placement:o=Ze.placement,rejectLabel:c=`Reject`,state:l,status:u,target:d,...f})=>{let m=E(d,`DecisionBar target`),h=(0,D.useId)(),g=`rly-decision-bar-reason-${h}`,_=`rly-decision-bar-status-${h}`,v=l._tag!==`ready`,y=l._tag===`off`?l.reason:void 0,b=l._tag===`sending`?`${l.action===`approve`?e:c} sent; waiting for the server's answer.`:u??``,x=y===void 0?l._tag===`sending`?_:void 0:g,S=e=>()=>{v||e()};return(0,O.jsxs)(`div`,{...f,"aria-busy":l._tag===`sending`?`true`:void 0,className:s(F(`root`),Xe.placement[o].className,t),"data-rly-decision-bar":``,"data-state":l._tag,children:[(0,O.jsxs)(`p`,{className:F(`target`),children:[m,n===void 0?null:(0,O.jsxs)(O.Fragment,{children:[`, `,(0,O.jsx)(`span`,{className:F(`clock`),children:n})]})]}),(0,O.jsxs)(`div`,{className:F(`actions`),children:[(0,O.jsx)(p,{"aria-describedby":x,"aria-disabled":v?!0:void 0,"aria-label":`${e}: ${m}`,onClick:S(i),variant:v?`secondary`:`primary`,children:e}),(0,O.jsx)(p,{"aria-describedby":x,"aria-disabled":v?!0:void 0,"aria-label":`${c}: ${m}`,onClick:S(a),variant:`secondary`,children:c})]}),y===void 0?null:(0,O.jsx)(`p`,{className:F(`reason`),id:g,children:y}),(0,O.jsx)(`p`,{className:F(`status`),id:_,role:`status`,children:b}),r===void 0?null:(0,O.jsx)(`p`,{className:F(`note`),children:r})]})},$e={root:`rly_FreshnessStamp-module__root`,stateWord:`rly_FreshnessStamp-module__stateWord`,time:`rly_FreshnessStamp-module__time`,compact:`rly_FreshnessStamp-module__compact`,defaultSize:`rly_FreshnessStamp-module__defaultSize`,current:`rly_FreshnessStamp-module__current`,cached:`rly_FreshnessStamp-module__cached`,missing:`rly_FreshnessStamp-module__missing`,stale:`rly_FreshnessStamp-module__stale`,unavailable:`rly_FreshnessStamp-module__unavailable`},I=e=>i($e,e),et=c({state:{current:{className:I(`current`),purpose:`Current source observation`,tokens:[`color-success-ink`,`color-success-tint`]},cached:{className:I(`cached`),purpose:`Valid cached source observation`,tokens:[`color-text-2`,`color-surface-2`]},stale:{className:I(`stale`),purpose:`Source observation beyond its supplied freshness threshold`,tokens:[`color-held-ink`,`color-held-tint`]},missing:{className:I(`missing`),purpose:`Provider authoritatively reported no object`,tokens:[`color-text-2`,`color-surface-2`]},unavailable:{className:I(`unavailable`),purpose:`No valid source observation is available`,tokens:[`color-blocked-ink`,`color-blocked-tint`]}},size:{compact:{className:I(`compact`),purpose:`Dense freshness metadata`,tokens:[`type-meta`]},default:{className:I(`defaultSize`),purpose:`Standard freshness metadata`,tokens:[`type-label`,`type-meta`]}}}),tt=c({size:`default`}),nt={current:`Current`,cached:`Cached`,stale:`Stale`,missing:`Missing`,unavailable:`Unavailable`},rt={current:`check`,cached:`clock`,stale:`clock`,missing:`minus`,unavailable:`alert`},L=({className:e,dateTime:t,size:n=`default`,state:r,time:i,...a})=>{let o=i===void 0?void 0:E(i,`FreshnessStamp time`),c=t===void 0?void 0:E(t,`FreshnessStamp dateTime`);return(0,O.jsxs)(`span`,{...a,className:s(I(`root`),et.state[r].className,et.size[n].className,e),"data-rly-freshness-state":r,children:[(0,O.jsxs)(`span`,{className:I(`stateWord`),children:[(0,O.jsx)(ie,{decorative:!0,name:rt[r],size:`small`}),(0,O.jsxs)(`span`,{children:[nt[r],o===void 0||c===void 0?null:`,`]})]}),o===void 0||c===void 0?null:(0,O.jsx)(`time`,{className:I(`time`),dateTime:c,children:o})]})},it={root:`rly_ServiceMark-module__root`,glyph:`rly_ServiceMark-module__glyph`,nameVisible:`rly_ServiceMark-module__nameVisible`,nameHidden:`rly_ServiceMark-module__nameHidden`,name:`rly_ServiceMark-module__name`,compact:`rly_ServiceMark-module__compact`,defaultSize:`rly_ServiceMark-module__defaultSize`,codecommit:`rly_ServiceMark-module__codecommit`,codepipeline:`rly_ServiceMark-module__codepipeline`,jira:`rly_ServiceMark-module__jira`,confluence:`rly_ServiceMark-module__confluence`,clockify:`rly_ServiceMark-module__clockify`},R=e=>i(it,e),at=c({service:{codecommit:{className:R(`codecommit`),purpose:`CodeCommit provenance`,tokens:[`color-service-codecommit`]},codepipeline:{className:R(`codepipeline`),purpose:`CodePipeline provenance`,tokens:[`color-service-codepipeline`]},jira:{className:R(`jira`),purpose:`Jira provenance`,tokens:[`color-service-jira`]},confluence:{className:R(`confluence`),purpose:`Confluence provenance`,tokens:[`color-service-confluence`]},clockify:{className:R(`clockify`),purpose:`Clockify provenance`,tokens:[`color-service-clockify`]}},name:{visible:{className:R(`nameVisible`),purpose:`Provider name printed beside the glyph`,tokens:[`color-text-1`]},hidden:{className:R(`nameHidden`),purpose:`Glyph only, where adjacent text already names the provider; the accessible name stays`,tokens:[]}},size:{compact:{className:R(`compact`),purpose:`Dense provenance metadata`,tokens:[`space-24`,`type-meta`]},default:{className:R(`defaultSize`),purpose:`Standard provenance identity`,tokens:[`space-32`,`type-label`]}}}),ot=c({name:`visible`,size:`default`}),st={codecommit:`CodeCommit`,codepipeline:`CodePipeline`,jira:`Jira`,confluence:`Confluence`,clockify:`Clockify`},ct={codecommit:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`path`,{d:`M6 5.5h7.5a3 3 0 0 1 3 3v7`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`}),(0,O.jsx)(`circle`,{cx:`6`,cy:`5.5`,fill:`currentColor`,r:`2`}),(0,O.jsx)(`circle`,{cx:`16.5`,cy:`17.5`,fill:`currentColor`,r:`2`}),(0,O.jsx)(`path`,{d:`m10 12 2-2 2 2-2 2Z`,fill:`none`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.6`})]}),codepipeline:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`2.5`,y:`9.5`}),(0,O.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`16.5`,y:`9.5`}),(0,O.jsx)(`path`,{d:`M8 12h7m-2.5-2.5L15 12l-2.5 2.5`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`})]}),jira:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`path`,{d:`m12 2.8 8.8 8.8a.6.6 0 0 1 0 .8L12 21.2l-8.8-8.8a.6.6 0 0 1 0-.8Z`,fill:`currentColor`}),(0,O.jsx)(`path`,{d:`m12 7.2 4.8 4.8-4.8 4.8L7.2 12Z`,fill:`var(--rly-color-surface-1)`}),(0,O.jsx)(`path`,{d:`m12 9.8 2.2 2.2-2.2 2.2L9.8 12Z`,fill:`currentColor`})]}),confluence:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`path`,{d:`M4 7.2c3.6 2.1 6.8 2.4 9.6.9L17 6.3l2.7 4.3-3.4 1.8c-4.6 2.4-9.5 1.8-14-1.5Z`,fill:`currentColor`}),(0,O.jsx)(`path`,{d:`M20 16.8c-3.6-2.1-6.8-2.4-9.6-.9L7 17.7l-2.7-4.3 3.4-1.8c4.6-2.4 9.5-1.8 14 1.5Z`,fill:`currentColor`})]}),clockify:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`circle`,{cx:`11`,cy:`13`,fill:`none`,r:`7`,stroke:`currentColor`,strokeWidth:`1.8`}),(0,O.jsx)(`path`,{d:`M11 9v4l3 2m1.5-10.7 1.8-1.8M18 7l2-2`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`})]})},z=({className:e,name:t=`visible`,service:n,size:r=`default`,...i})=>{let a=ct[n],o=st[n];return(0,O.jsxs)(`span`,{...i,"aria-label":o,className:s(R(`root`),at.service[n].className,at.name[t].className,at.size[r].className,e),"data-rly-service":n,role:`img`,children:[(0,O.jsx)(a,{}),t===`visible`?(0,O.jsx)(`span`,{"aria-hidden":`true`,className:R(`name`),children:o}):null]})},lt={root:`rly_Verdict-module__root`,verdict:`rly_Verdict-module__verdict`,caution:`rly_Verdict-module__caution`,critical:`rly_Verdict-module__critical`,neutral:`rly_Verdict-module__neutral`,positive:`rly_Verdict-module__positive`,progress:`rly_Verdict-module__progress`,reasonPanel:`rly_Verdict-module__reasonPanel`,icon:`rly_Verdict-module__icon`,reason:`rly_Verdict-module__reason`},B=e=>i(lt,e),ut=c({tone:{caution:{className:B(`caution`),purpose:`Intentional hold or caution requiring attention`,tokens:[`color-held-ink`,`color-held-tint`]},critical:{className:B(`critical`),purpose:`Explicit blocker or failed prerequisite`,tokens:[`color-blocked-ink`,`color-blocked-tint`]},neutral:{className:B(`neutral`),purpose:`Neutral, missing, or unavailable outcome`,tokens:[`color-text-2`,`color-surface-2`]},positive:{className:B(`positive`),purpose:`Satisfied readiness or successful outcome`,tokens:[`color-success-ink`,`color-success-tint`]},progress:{className:B(`progress`),purpose:`Active work or delivery progress`,tokens:[`color-deploying-ink`,`color-deploying-tint`]}}}),dt={caution:`clock`,critical:`alert`,neutral:`minus`,positive:`check`,progress:`loader`},ft=({className:e,reason:t,tone:n,verdict:r,...i})=>{let a=E(t,`Verdict reason`),o=E(r,`Verdict verdict`);return(0,O.jsxs)(`section`,{...i,className:s(B(`root`),ut.tone[n].className,e),"data-rly-verdict-tone":n,children:[(0,O.jsx)(`h2`,{className:B(`verdict`),children:o}),(0,O.jsxs)(`div`,{className:B(`reasonPanel`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:B(`icon`),children:(0,O.jsx)(ie,{decorative:!0,name:dt[n],size:`large`})}),(0,O.jsx)(`p`,{className:B(`reason`),children:a})]})]})},pt={root:`rly_EntityShell-module__root`,navigation:`rly_EntityShell-module__navigation`,header:`rly_EntityShell-module__header`,identity:`rly_EntityShell-module__identity`,title:`rly_EntityShell-module__title`,hero:`rly_EntityShell-module__hero`,body:`rly_EntityShell-module__body`,headerAside:`rly_EntityShell-module__headerAside`,freshness:`rly_EntityShell-module__freshness`,headerSlot:`rly_EntityShell-module__headerSlot`,slotLabel:`rly_EntityShell-module__slotLabel`,content:`rly_EntityShell-module__content`,relationships:`rly_EntityShell-module__relationships`,activity:`rly_EntityShell-module__activity`,asideSlot:`rly_EntityShell-module__asideSlot`,aside:`rly_EntityShell-module__aside`},V=e=>i(pt,e),mt=({actions:e,activity:t,agentEntry:n,className:r,collaborators:i,content:a,evidence:o,facts:c,freshness:l,freshnessDateTime:u,freshnessTime:d,navigation:f,reason:p,relationships:m,service:h,title:g,tone:_,verdict:v,...y})=>{let b=E(g,`EntityShell title`);if(u===void 0!=(d===void 0))throw Error(`EntityShell freshnessDateTime and freshnessTime must be supplied together`);let x=`rly-entity-shell-${(0,D.useId)()}`;return(0,O.jsxs)(`article`,{...y,"aria-labelledby":x,className:s(V(`root`),r),"data-rly-entity-shell":``,children:[f===void 0?null:(0,O.jsx)(`nav`,{"aria-label":`${b} navigation`,className:V(`navigation`),"data-rly-entity-shell-slot":`navigation`,children:f}),(0,O.jsxs)(`header`,{className:V(`header`),children:[(0,O.jsxs)(`div`,{className:V(`identity`),children:[(0,O.jsx)(z,{service:h}),(0,O.jsx)(`h1`,{className:V(`title`),id:x,children:b})]}),(0,O.jsxs)(`div`,{className:V(`hero`),children:[(0,O.jsx)(ft,{reason:p,tone:_,verdict:v}),(0,O.jsxs)(`div`,{className:V(`headerAside`),children:[(0,O.jsxs)(`div`,{className:V(`freshness`),"data-rly-entity-shell-slot":`freshness`,children:[(0,O.jsx)(`span`,{className:V(`slotLabel`),children:`Freshness`}),u===void 0||d===void 0?(0,O.jsx)(L,{state:l}):(0,O.jsx)(L,{dateTime:u,state:l,time:d})]}),(0,O.jsx)(`div`,{className:V(`headerSlot`),"data-rly-entity-shell-slot":`actions`,children:e}),(0,O.jsx)(`div`,{className:V(`headerSlot`),"data-rly-entity-shell-slot":`agent-entry`,children:n})]})]})]}),(0,O.jsxs)(`div`,{className:V(`body`),children:[(0,O.jsx)(`section`,{className:V(`content`),"data-rly-entity-shell-slot":`content`,children:a}),(0,O.jsxs)(`aside`,{className:V(`aside`),children:[c===void 0?null:(0,O.jsx)(`section`,{className:V(`asideSlot`),"data-rly-entity-shell-slot":`facts`,children:c}),o===void 0?null:(0,O.jsx)(`section`,{className:V(`asideSlot`),"data-rly-entity-shell-slot":`evidence`,children:o}),(0,O.jsx)(`section`,{className:V(`asideSlot`),"data-rly-entity-shell-slot":`collaborators`,children:i})]})]}),(0,O.jsx)(`section`,{className:V(`relationships`),"data-rly-entity-shell-slot":`relationships`,children:m}),t===void 0?null:(0,O.jsx)(`section`,{className:V(`activity`),"data-rly-entity-shell-slot":`activity`,children:t})]})},ht={root:`rly_EntityTable-module__root`,defaultDensity:`rly_EntityTable-module__defaultDensity`,compact:`rly_EntityTable-module__compact`,heading:`rly_EntityTable-module__heading`,sectionHeading:`rly_EntityTable-module__sectionHeading`,cardHeading:`rly_EntityTable-module__cardHeading`,headerLabel:`rly_EntityTable-module__headerLabel`,headerSort:`rly_EntityTable-module__headerSort`,sortSelect:`rly_EntityTable-module__sortSelect`,loading:`rly_EntityTable-module__loading`,stateLabel:`rly_EntityTable-module__stateLabel`,table:`rly_EntityTable-module__table`,head:`rly_EntityTable-module__head`,sortControls:`rly_EntityTable-module__sortControls`,sortLabel:`rly_EntityTable-module__sortLabel`,sortButton:`rly_EntityTable-module__sortButton`,cell:`rly_EntityTable-module__cell`,row:`rly_EntityTable-module__row`,body:`rly_EntityTable-module__body`},H=e=>i(ht,e),gt=c({density:{default:{className:H(`defaultDensity`),purpose:`One labelled line per field when the table narrows to cards`,tokens:[`space-12`]},compact:{className:H(`compact`),purpose:`Narrow cards led by the first column, the rest as a two-column label and value grid`,tokens:[`space-8`,`space-2`]}},headingSize:{section:{className:H(`sectionHeading`),purpose:`The table is a page section of its own`,tokens:[`type-section-title`]},card:{className:H(`cardHeading`),purpose:`The table sits in a panel beside other card-titled panels`,tokens:[`type-card-title`]}}}),_t=c({density:`default`,headingSize:`section`}),vt=e=>{let t=new Set;for(let n of e){let e=E(n.id,`EntityTable column id`);if(t.has(e))throw Error(`EntityTable column ids must be unique: ${e}`);t.add(e),E(n.label,`EntityTable column label for ${e}`)}return t},yt=(e,t)=>{let n=new Set;for(let r of e){let e=E(r.id,`EntityTable row id`);if(n.has(e))throw Error(`EntityTable row ids must be unique: ${e}`);n.add(e);let i=new Set;for(let n of r.cells){let r=E(n.columnId,`EntityTable cell column id for ${e}`);if(!t.has(r))throw Error(`EntityTable row ${e} has an unknown column: ${r}`);if(i.has(r))throw Error(`EntityTable row ${e} repeats column: ${r}`);i.add(r)}for(let n of t)if(!i.has(n))throw Error(`EntityTable row ${e} is missing column: ${n}`)}},bt=e=>e.state===`ready`||e.state===`stale`||e.state===`partial`||e.state===`error`||e.state===`unavailable`?e.rows:[],xt=({direction:e})=>e===`none`?null:(0,O.jsx)(ie,{decorative:!0,name:e===`ascending`?`arrow-up`:`arrow-down`,size:`small`}),St=({className:e,columns:t,data:n,density:r=`default`,heading:i,headingSize:a=`section`,onSortChange:o,...c})=>{let l=E(i,`EntityTable heading`),d=vt(t),p=bt(n);if(yt(p,d),n.state===`ready`&&p.length===0)throw Error(`EntityTable ready state must contain at least one row; use the empty state instead`);if(n.state===`loading`){E(n.label,`EntityTable loading label`);let e=n.skeletonRows??3;if(!Number.isInteger(e)||e<1||e>20)throw Error(`EntityTable skeletonRows must be an integer from 1 to 20`)}if((n.state===`empty`||n.state===`not-found`)&&(E(n.title,`EntityTable state title`),n.description!==void 0&&E(n.description,`EntityTable state description`)),(n.state===`stale`||n.state===`partial`||n.state===`error`||n.state===`unavailable`)&&(E(n.title,`EntityTable cached state title`),E(n.description,`EntityTable cached state description`),p.length===0))throw Error(`EntityTable ${n.state} state must retain at least one cached row`);let m=`rly-entity-table-${(0,D.useId)()}`,h=t.filter(e=>e.sortable===!0),g=h.find(e=>e.sortDirection!==`none`),_=new Map(t.map(e=>[e.id,e])),v=n.state===`stale`||n.state===`partial`||n.state===`error`||n.state===`unavailable`?(0,O.jsx)(ee,{description:n.description,title:n.title,tone:n.tone}):null;return(0,O.jsxs)(`section`,{...c,"aria-busy":n.state===`loading`?`true`:void 0,"aria-labelledby":m,className:s(H(`root`),gt.density[r].className,gt.headingSize[a].className,e),"data-rly-entity-table-density":r,"data-rly-entity-table-state":n.state,children:[(0,O.jsx)(`h2`,{className:H(`heading`),id:m,children:l}),n.state===`loading`?(0,O.jsxs)(`div`,{"aria-label":n.label,className:H(`loading`),role:`status`,children:[(0,O.jsx)(`span`,{className:H(`stateLabel`),children:n.label}),Array.from({length:n.skeletonRows??3},(e,t)=>(0,O.jsx)(u,{height:`48px`,variant:`block`},t))]}):n.state===`empty`||n.state===`not-found`?(0,O.jsx)(ee,{description:n.description,title:n.title}):(0,O.jsxs)(O.Fragment,{children:[v,r===`compact`?h.length===0?null:(0,O.jsxs)(`div`,{className:H(`sortSelect`),children:[(0,O.jsx)(f,{"aria-label":`Sort by`,onValueChange:e=>{e!==g?.id&&o(e)},options:h.map(e=>({label:e.sortDirection===`ascending`?`${e.label} ↑`:e.sortDirection===`descending`?`${e.label} ↓`:e.label,value:e.id})),placeholder:`Sort by`,value:g?.id}),g===void 0?null:(0,O.jsx)(w,{icon:g.sortDirection===`ascending`?`arrow-up`:`arrow-down`,label:`Reverse order, currently ${g.sortDirection}`,onClick:()=>o(g.id),variant:`secondary`})]}):(0,O.jsxs)(`div`,{"aria-label":`${l} sorting`,className:H(`sortControls`),role:`group`,children:[(0,O.jsx)(`span`,{className:H(`sortLabel`),children:`Sort`}),h.map(e=>(0,O.jsxs)(`button`,{"aria-label":`Sort by ${e.label}, currently ${e.sortDirection}`,className:H(`sortButton`),onClick:()=>o(e.id),type:`button`,children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(xt,{direction:e.sortDirection})]},e.id))]}),(0,O.jsxs)(`table`,{"aria-labelledby":m,className:H(`table`),children:[(0,O.jsx)(`thead`,{className:H(`head`),children:(0,O.jsx)(`tr`,{children:t.map(e=>(0,O.jsx)(`th`,{"aria-label":e.label,"aria-sort":e.sortable===!0?e.sortDirection:void 0,scope:`col`,children:e.sortable===!0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`span`,{className:H(`headerLabel`),children:e.label}),(0,O.jsxs)(`button`,{"aria-label":`Sort by ${e.label}, currently ${e.sortDirection}`,className:H(`headerSort`),onClick:()=>o(e.id),type:`button`,children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(xt,{direction:e.sortDirection})]})]}):e.label},e.id))})}),(0,O.jsx)(`tbody`,{className:H(`body`),children:p.map(e=>{let n=new Map(e.cells.map(e=>[e.columnId,e.content]));return(0,O.jsx)(`tr`,{className:H(`row`),"data-rly-entity-row-id":e.id,children:t.map(e=>(0,O.jsx)(`td`,{className:H(`cell`),"data-label":_.get(e.id)?.label,children:n.get(e.id)},e.id))},e.id)})})]})]})]})},Ct={root:`rly_EvidenceStamp-module__root`,source:`rly_EvidenceStamp-module__source`,freshness:`rly_EvidenceStamp-module__freshness`,conceptLabel:`rly_EvidenceStamp-module__conceptLabel`,sourceDetail:`rly_EvidenceStamp-module__sourceDetail`,reference:`rly_EvidenceStamp-module__reference`},wt=e=>i(Ct,e),Tt=({className:e,freshness:t,freshnessDateTime:n,freshnessTime:r,reference:i,service:a,...o})=>{let c=E(i,`EvidenceStamp reference`),l=n===void 0||r===void 0?(0,O.jsx)(L,{size:`compact`,state:t}):(0,O.jsx)(L,{dateTime:n,size:`compact`,state:t,time:r});return(0,O.jsxs)(`div`,{...o,className:s(wt(`root`),e),"data-rly-evidence-stamp":``,children:[(0,O.jsxs)(`div`,{className:wt(`source`),"data-rly-evidence-source":a,children:[(0,O.jsx)(`span`,{className:wt(`conceptLabel`),children:`Evidence source`}),(0,O.jsxs)(`div`,{className:wt(`sourceDetail`),children:[(0,O.jsx)(z,{service:a,size:`compact`}),(0,O.jsx)(`code`,{className:wt(`reference`),children:c})]})]}),(0,O.jsxs)(`div`,{className:wt(`freshness`),"data-rly-evidence-freshness":t,children:[(0,O.jsx)(`span`,{className:wt(`conceptLabel`),children:`Freshness`}),l]})]})},Et={root:`rly_GovernedActionReview-module__root`,header:`rly_GovernedActionReview-module__header`,eyebrow:`rly_GovernedActionReview-module__eyebrow`,heading:`rly_GovernedActionReview-module__heading`,boundary:`rly_GovernedActionReview-module__boundary`,confirmationHelp:`rly_GovernedActionReview-module__confirmationHelp`,reviewer:`rly_GovernedActionReview-module__reviewer`,facts:`rly_GovernedActionReview-module__facts`,evidence:`rly_GovernedActionReview-module__evidence`,outcome:`rly_GovernedActionReview-module__outcome`,proposalReference:`rly_GovernedActionReview-module__proposalReference`,decision:`rly_GovernedActionReview-module__decision`,confirmation:`rly_GovernedActionReview-module__confirmation`,actions:`rly_GovernedActionReview-module__actions`},U=e=>i(Et,e),Dt={pending:{label:`Awaiting human decision`,tone:`caution`},rejected:{label:`Rejected by human reviewer`,tone:`critical`},authorized:{label:`Authorized by human reviewer`,tone:`positive`},executing:{label:`Authorized action executing`,tone:`progress`},succeeded:{label:`Authorized action succeeded`,tone:`positive`},failed:{label:`Authorized action failed`,tone:`critical`},cancelled:{label:`Authorized action cancelled`,tone:`neutral`}},Ot=({authorizeLabel:e=`Authorize exact action`,className:t,confirmationLabel:n,isConfirmed:r,onAuthorize:i,onConfirmationChange:a,onReject:o,outcome:c,proposal:l,rejectLabel:u=`Reject proposal`,reviewer:d,state:f,...m})=>{let h=Ce(l),g=E(e,`GovernedActionReview authorizeLabel`),_=E(n,`GovernedActionReview confirmationLabel`),v=E(u,`GovernedActionReview rejectLabel`);E(d.id,`GovernedActionReview reviewer id`),E(d.name,`GovernedActionReview reviewer name`),E(d.role,`GovernedActionReview reviewer role`);let y=`rly-governed-action-${(0,D.useId)()}`,b=`rly-governed-action-reference-${(0,D.useId)()}`,x=`rly-governed-confirmation-${(0,D.useId)()}`,S=Dt[f],ee=()=>{f===`pending`&&r&&i()};return(0,O.jsxs)(`section`,{...m,"aria-labelledby":`${y} ${b}`,className:s(U(`root`),t),"data-rly-governed-action-state":f,children:[(0,O.jsxs)(`header`,{className:U(`header`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`p`,{className:U(`eyebrow`),children:`Human authorization`}),(0,O.jsx)(`h2`,{className:U(`heading`),id:y,children:`Review exact proposed action`}),(0,O.jsx)(`code`,{className:U(`proposalReference`),id:b,children:h.id})]}),(0,O.jsx)(T,{label:S.label,tone:S.tone})]}),(0,O.jsx)(`p`,{className:U(`boundary`),children:`The agent proposed this action. Only the named human reviewer can authorize it.`}),(0,O.jsxs)(`div`,{className:U(`reviewer`),children:[(0,O.jsx)(`span`,{children:`Human reviewer`}),(0,O.jsx)(P,{person:d})]}),(0,O.jsxs)(`dl`,{className:U(`facts`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Proposal`}),(0,O.jsx)(`dd`,{children:h.capability})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Target`}),(0,O.jsx)(`dd`,{children:h.target})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Expected revision`}),(0,O.jsx)(`dd`,{children:h.expectedRevision})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Impact`}),(0,O.jsx)(`dd`,{children:h.impact})]})]}),(0,O.jsxs)(`div`,{className:U(`evidence`),"data-rly-governed-action-evidence":``,children:[(0,O.jsx)(`h3`,{children:`Evidence reviewed before decision`}),(0,O.jsx)(`ul`,{children:h.evidence.map(e=>(0,O.jsxs)(`li`,{children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(`code`,{children:e.reference})]},e.id))})]}),f===`pending`?(0,O.jsxs)(`form`,{className:U(`decision`),onSubmit:e=>e.preventDefault(),children:[(0,O.jsxs)(`label`,{className:U(`confirmation`),htmlFor:x,children:[(0,O.jsx)(`input`,{checked:r,id:x,onChange:e=>a(e.currentTarget.checked),type:`checkbox`}),(0,O.jsx)(`span`,{children:_})]}),(0,O.jsx)(`p`,{className:U(`confirmationHelp`),children:`Confirm the exact proposal, target, revision, impact, and evidence above.`}),(0,O.jsxs)(`div`,{className:U(`actions`),children:[(0,O.jsx)(p,{onClick:o,variant:`secondary`,children:v}),(0,O.jsx)(p,{disabled:!r,onClick:ee,variant:`primary`,children:g})]})]}):null,(0,O.jsxs)(`div`,{className:U(`outcome`),"data-rly-governed-action-outcome":``,children:[(0,O.jsx)(`h3`,{children:`Recorded outcome`}),c]})]})},kt={root:`rly_Hero-module__root`,fact:`rly_Hero-module__fact`,caption:`rly_Hero-module__caption`,heading:`rly_Hero-module__heading`,line:`rly_Hero-module__line`,text:`rly_Hero-module__text`,display:`rly_Hero-module__display`,word:`rly_Hero-module__word`,blocked:`rly_Hero-module__blocked`,held:`rly_Hero-module__held`},W=e=>i(kt,e),At=c({size:{heading:{className:W(`heading`),purpose:`The page's one fact as a sentence at heading size, with its caption below`,tokens:[`type-card-title-size`,`color-text-1`,`color-text-2`]},line:{className:W(`line`),purpose:`The same fact folded to one line, when a detail with its own figure sits beside the list`,tokens:[`type-body-size`,`color-text-1`,`color-text-2`]},display:{className:W(`display`),purpose:`Read from across a room (a wall or desk board); not for ordinary screens`,tokens:[`type-page-title-size`,`color-text-1`,`color-text-2`]}}}),jt=c({size:`heading`}),Mt=c({tone:{blocked:{className:W(`blocked`),purpose:`Can't proceed, failed, or can't decide`,tokens:[`color-blocked-ink`]},held:{className:W(`held`),purpose:`Degraded or waiting, but still working`,tokens:[`color-held-ink`]}}}),Nt=({caption:e,className:t,fact:n,label:r=`Summary`,size:i=jt.size,...a})=>{let o=s(W(`root`),At.size[i].className,t);return i===`line`?(0,O.jsx)(`section`,{...a,"aria-label":r,className:o,"data-rly-hero":``,children:(0,O.jsxs)(`p`,{className:W(`text`),children:[(0,O.jsx)(`strong`,{className:W(`fact`),children:n}),e===void 0?null:(0,O.jsxs)(O.Fragment,{children:[` `,(0,O.jsx)(`span`,{className:W(`caption`),children:e})]})]})}):(0,O.jsxs)(`section`,{...a,"aria-label":r,className:o,"data-rly-hero":``,children:[(0,O.jsx)(`p`,{className:W(`fact`),children:n}),e===void 0?null:(0,O.jsx)(`p`,{className:W(`caption`),children:e})]})},Pt=({children:e,className:t,tone:n,...r})=>(0,O.jsx)(`span`,{...r,className:s(W(`word`),Mt.tone[n].className,t),children:e}),Ft={root:`rly_Region-module__root`,default:`rly_Region-module__default`,tray:`rly_Region-module__tray`,header:`rly_Region-module__header`,title:`rly_Region-module__title`,count:`rly_Region-module__count`,actions:`rly_Region-module__actions`,body:`rly_Region-module__body`},It=e=>i(Ft,e),Lt=c({tone:{default:{className:It(`default`),purpose:`A main page region: list, detail or chart`,tokens:[`color-surface-1`,`color-border-1`]},tray:{className:It(`tray`),purpose:`A region holding individually actionable cards, one surface step down so the cards stand out`,tokens:[`color-surface-2`,`color-border-1`]}}}),Rt=c({tone:`default`}),zt=({actions:e,children:t,className:n,count:r,headingId:i,headingLevel:a=2,title:o,tone:c=Rt.tone,...l})=>{let u=E(o,`Region title`),d=`rly-region-${(0,D.useId)()}`,f=i??d,p=a===3?`h3`:`h2`;return(0,O.jsxs)(`section`,{...l,"aria-labelledby":f,className:s(It(`root`),Lt.tone[c].className,n),"data-rly-region":``,children:[(0,O.jsxs)(`header`,{className:It(`header`),children:[(0,O.jsxs)(p,{className:It(`title`),id:f,tabIndex:-1,children:[u,r===void 0?null:(0,O.jsxs)(O.Fragment,{children:[` `,(0,O.jsx)(`span`,{className:It(`count`),children:r})]})]}),e===void 0?null:(0,O.jsx)(`div`,{className:It(`actions`),children:e})]}),(0,O.jsx)(`div`,{className:It(`body`),children:t})]})},Bt={missing:{icon:`alert`,label:`Missing`},inferred:{icon:`search`,label:`Inferred`},proposed:{icon:`plus`,label:`Proposed`},verified:{icon:`check`,label:`Verified`},governed:{icon:`link`,label:`Governed`},rejected:{icon:`close`,label:`Rejected`},superseded:{icon:`arrow-right`,label:`Superseded`}},Vt={forward:{arrow:`→`,label:`Forward`},reverse:{arrow:`←`,label:`Reverse`},bidirectional:{arrow:`↔`,label:`Bidirectional`}},Ht=(e,t)=>{E(e.id,`${t} person id`),E(e.name,`${t} person name`),E(e.role,`${t} person role`),e.avatarFallback!==void 0&&E(e.avatarFallback,`${t} person avatarFallback`),e.avatarSrc!==void 0&&E(e.avatarSrc,`${t} person avatarSrc`)},Ut=(e,t)=>{if(!Object.hasOwn(at.service,e))throw Error(`${t} service must be a supported rly service`)},Wt=(e,t)=>{if(e.state===`present`){E(e.id,`${t} id`),E(e.title,`${t} title`),E(e.reference,`${t} reference`),Ut(e.service,t),e.href!==void 0&&E(e.href,`${t} href`),e.person!==void 0&&Ht(e.person,t);return}if(e.state===`missing`){E(e.label,`${t} missing label`),E(e.reason,`${t} missing reason`),e.service!==void 0&&Ut(e.service,t);return}throw Error(`${t} state must be present or missing`)},Gt=e=>{let t=new Set;for(let n of e){let e=E(n.id,`Relationship id`);if(t.has(e))throw Error(`Relationship ids must be unique: ${e}`);if(t.add(e),E(n.kind,`Relationship kind for ${e}`),!Object.hasOwn(Vt,n.direction))throw Error(`Relationship direction for ${e} must be supported`);if(!Object.hasOwn(Bt,n.lifecycle))throw Error(`Relationship lifecycle for ${e} must be supported`);Wt(n.source,`Relationship ${e} source`),Wt(n.target,`Relationship ${e} target`),n.evidence!==void 0&&E(n.evidence,`Relationship evidence for ${e}`),n.actor!==void 0&&Ht(n.actor,`Relationship ${e} actor`)}},Kt={root:`rly_RelationshipChain-module__root`,heading:`rly_RelationshipChain-module__heading`,empty:`rly_RelationshipChain-module__empty`,list:`rly_RelationshipChain-module__list`,item:`rly_RelationshipChain-module__item`,endpoint:`rly_RelationshipChain-module__endpoint`,endpointLink:`rly_RelationshipChain-module__endpointLink`,identity:`rly_RelationshipChain-module__identity`,missingIdentity:`rly_RelationshipChain-module__missingIdentity`,title:`rly_RelationshipChain-module__title`,missingLabel:`rly_RelationshipChain-module__missingLabel`,kind:`rly_RelationshipChain-module__kind`,reference:`rly_RelationshipChain-module__reference`,direction:`rly_RelationshipChain-module__direction`,evidence:`rly_RelationshipChain-module__evidence`,fieldLabel:`rly_RelationshipChain-module__fieldLabel`,missingEndpoint:`rly_RelationshipChain-module__missingEndpoint`,relationship:`rly_RelationshipChain-module__relationship`,arrow:`rly_RelationshipChain-module__arrow`,actor:`rly_RelationshipChain-module__actor`},G=e=>i(Kt,e),qt=({endpoint:e})=>{if(e.state===`missing`)return(0,O.jsxs)(`div`,{className:s(G(`endpoint`),G(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,O.jsx)(z,{service:e.service,size:`compact`}),(0,O.jsxs)(`span`,{className:G(`missingIdentity`),children:[(0,O.jsxs)(`span`,{className:G(`missingLabel`),children:[(0,O.jsx)(ie,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,O.jsx)(`span`,{className:G(`reference`),children:e.reason})]})]});let t=(0,O.jsxs)(`span`,{className:G(`identity`),children:[(0,O.jsx)(`span`,{className:G(`title`),children:e.title}),(0,O.jsx)(`span`,{className:G(`reference`),children:e.reference})]});return(0,O.jsxs)(`div`,{className:G(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,O.jsx)(z,{service:e.service,size:`compact`}),e.href===void 0?t:(0,O.jsx)(ce,{className:G(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,O.jsx)(P,{person:e.person,size:`compact`})]})},Jt=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=E(n,`RelationshipChain heading`),o=E(t,`RelationshipChain emptyLabel`);Gt(r);let c=`${(0,D.useId)()}-heading`;return(0,O.jsxs)(`section`,{...i,"aria-labelledby":c,className:s(G(`root`),e),children:[(0,O.jsx)(`h2`,{className:G(`heading`),id:c,children:a}),r.length===0?(0,O.jsx)(`p`,{className:G(`empty`),children:o}):(0,O.jsx)(`ol`,{className:G(`list`),children:r.map(e=>{let t=Vt[e.direction],n=Bt[e.lifecycle];return(0,O.jsxs)(`li`,{className:G(`item`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,O.jsx)(qt,{endpoint:e.source}),(0,O.jsxs)(`div`,{className:G(`relationship`),"data-rly-relationship-detail":``,children:[(0,O.jsxs)(`span`,{className:G(`direction`),children:[(0,O.jsx)(`span`,{children:t.label}),(0,O.jsx)(`span`,{"aria-hidden":`true`,className:G(`arrow`),children:t.arrow})]}),(0,O.jsx)(`span`,{className:G(`kind`),children:e.kind}),(0,O.jsx)(T,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,O.jsxs)(`div`,{className:G(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,O.jsx)(`span`,{className:G(`fieldLabel`),children:`Actor`}),(0,O.jsx)(P,{person:e.actor,size:`compact`})]})]}),(0,O.jsx)(qt,{endpoint:e.target}),(0,O.jsxs)(`p`,{className:G(`evidence`),children:[(0,O.jsx)(`span`,{className:G(`fieldLabel`),children:`Evidence`}),(0,O.jsx)(`span`,{"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})]})]},e.id)})})]})},Yt={root:`rly_RelationshipTable-module__root`,heading:`rly_RelationshipTable-module__heading`,empty:`rly_RelationshipTable-module__empty`,table:`rly_RelationshipTable-module__table`,head:`rly_RelationshipTable-module__head`,cell:`rly_RelationshipTable-module__cell`,endpoint:`rly_RelationshipTable-module__endpoint`,identity:`rly_RelationshipTable-module__identity`,relationship:`rly_RelationshipTable-module__relationship`,actor:`rly_RelationshipTable-module__actor`,endpointLink:`rly_RelationshipTable-module__endpointLink`,title:`rly_RelationshipTable-module__title`,missingLabel:`rly_RelationshipTable-module__missingLabel`,kind:`rly_RelationshipTable-module__kind`,reference:`rly_RelationshipTable-module__reference`,direction:`rly_RelationshipTable-module__direction`,evidence:`rly_RelationshipTable-module__evidence`,fieldLabel:`rly_RelationshipTable-module__fieldLabel`,missingEndpoint:`rly_RelationshipTable-module__missingEndpoint`,arrow:`rly_RelationshipTable-module__arrow`,body:`rly_RelationshipTable-module__body`,row:`rly_RelationshipTable-module__row`},K=e=>i(Yt,e),Xt=({endpoint:e})=>{if(e.state===`missing`)return(0,O.jsxs)(`div`,{className:s(K(`endpoint`),K(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,O.jsx)(z,{service:e.service,size:`compact`}),(0,O.jsxs)(`span`,{className:K(`identity`),children:[(0,O.jsxs)(`span`,{className:K(`missingLabel`),children:[(0,O.jsx)(ie,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,O.jsx)(`span`,{className:K(`reference`),children:e.reason})]})]});let t=(0,O.jsxs)(`span`,{className:K(`identity`),children:[(0,O.jsx)(`span`,{className:K(`title`),children:e.title}),(0,O.jsx)(`span`,{className:K(`reference`),children:e.reference})]});return(0,O.jsxs)(`div`,{className:K(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,O.jsx)(z,{service:e.service,size:`compact`}),e.href===void 0?t:(0,O.jsx)(ce,{className:K(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,O.jsx)(P,{person:e.person,size:`compact`})]})},Zt=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=E(n,`RelationshipTable heading`),o=E(t,`RelationshipTable emptyLabel`);Gt(r);let c=`${(0,D.useId)()}-heading`;return(0,O.jsxs)(`section`,{...i,"aria-labelledby":c,className:s(K(`root`),e),children:[(0,O.jsx)(`h2`,{className:K(`heading`),id:c,children:a}),r.length===0?(0,O.jsx)(`p`,{className:K(`empty`),children:o}):(0,O.jsxs)(`table`,{"aria-labelledby":c,className:K(`table`),children:[(0,O.jsx)(`thead`,{className:K(`head`),children:(0,O.jsxs)(`tr`,{children:[(0,O.jsx)(`th`,{scope:`col`,children:`Source`}),(0,O.jsx)(`th`,{scope:`col`,children:`Relationship`}),(0,O.jsx)(`th`,{scope:`col`,children:`Target`}),(0,O.jsx)(`th`,{scope:`col`,children:`Evidence`})]})}),(0,O.jsx)(`tbody`,{className:K(`body`),children:r.map(e=>{let t=Vt[e.direction],n=Bt[e.lifecycle];return(0,O.jsxs)(`tr`,{className:K(`row`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Source`,children:(0,O.jsx)(Xt,{endpoint:e.source})}),(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Relationship`,children:(0,O.jsxs)(`div`,{className:K(`relationship`),"data-rly-relationship-detail":``,children:[(0,O.jsxs)(`span`,{className:K(`direction`),children:[(0,O.jsx)(`span`,{children:t.label}),(0,O.jsx)(`span`,{"aria-hidden":`true`,className:K(`arrow`),children:t.arrow})]}),(0,O.jsx)(`span`,{className:K(`kind`),children:e.kind}),(0,O.jsx)(T,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,O.jsxs)(`div`,{className:K(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,O.jsx)(`span`,{className:K(`fieldLabel`),children:`Actor`}),(0,O.jsx)(P,{person:e.actor,size:`compact`})]})]})}),(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Target`,children:(0,O.jsx)(Xt,{endpoint:e.target})}),(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Evidence`,children:(0,O.jsx)(`span`,{className:K(`evidence`),"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})})]},e.id)})})]})]})},Qt={root:`rly_RelayDock-module__root`,trigger:`rly_RelayDock-module__trigger`,close:`rly_RelayDock-module__close`,mark:`rly_RelayDock-module__mark`,markLine:`rly_RelayDock-module__markLine`,markGlyph:`rly_RelayDock-module__markGlyph`,layer:`rly_RelayDock-module__layer`,overlay:`rly_RelayDock-module__overlay`,panel:`rly_RelayDock-module__panel`,sheet:`rly_RelayDock-module__sheet`,rail:`rly_RelayDock-module__rail`,railHeader:`rly_RelayDock-module__railHeader`,railHeading:`rly_RelayDock-module__railHeading`,title:`rly_RelayDock-module__title`,description:`rly_RelayDock-module__description`,fixedContext:`rly_RelayDock-module__fixedContext`,contents:`rly_RelayDock-module__contents`,context:`rly_RelayDock-module__context`,selection:`rly_RelayDock-module__selection`,sectionLabel:`rly_RelayDock-module__sectionLabel`,chipList:`rly_RelayDock-module__chipList`,chip:`rly_RelayDock-module__chip`,chipLabel:`rly_RelayDock-module__chipLabel`,chipValue:`rly_RelayDock-module__chipValue`,selectionGrid:`rly_RelayDock-module__selectionGrid`,body:`rly_RelayDock-module__body`,ready:`rly_RelayDock-module__ready`,state:`rly_RelayDock-module__state`,footer:`rly_RelayDock-module__footer`},q=e=>i(Qt,e),$t=`(max-width: 40rem), (max-height: 40rem) and (pointer: coarse)`,en=[`a[href]`,`button:not([disabled])`,`iframe:not([tabindex="-1"])`,`input:not([disabled])`,`select:not([disabled])`,`details > summary:first-of-type`,`textarea:not([disabled])`,`[contenteditable]:not([contenteditable="false"])`,`[tabindex]:not([tabindex="-1"])`].join(`,`),tn=`button, fieldset, input, object, optgroup, option, output, select, textarea`,nn=e=>`activeElement`in e,rn=e=>`host`in e&&r(e.host),an=e=>{let t=e.activeElement;return t===null?null:t.shadowRoot===null?t:an(t.shadowRoot)??t},on=e=>{let t=e.getRootNode();return nn(t)?an(t):e.ownerDocument.activeElement},sn=e=>{let t=e.getRootNode();return rn(t)&&C(t.host)?t.host:null},cn=e=>`assignedSlot`in e,ln=e=>e.nodeType===1,un=(e,t)=>{if(t!==void 0&&t.has(e)){let n=t.get(e);return n!=null&&ln(n)?n:null}return(cn(e)?e.assignedSlot:null)??e.parentElement??sn(e)},dn=(e,t,n)=>{if(t===null)return!1;if(e.contains(t))return!0;let r=new Set,i=t;for(;!r.has(i);){r.add(i);let t=un(i,n);if(t===null)return!1;if(t===e||e.contains(t))return!0;i=t}return!1},fn=(e,t)=>dn(e,t),pn=e=>{let t=e.activeElement;return C(t)?t.shadowRoot===null?t:pn(t.shadowRoot)??t:null},mn=e=>{let t=pn(e);return t===e.body||t===e.documentElement?null:t},hn=(e,t)=>{if(e.matches(`:disabled`))return!1;let n=e.ownerDocument.defaultView;if(n===null)return!C(e)||e.hidden===!1;let r=n.getComputedStyle(e).visibility;if(r===`hidden`||r===`collapse`)return!1;let i=e;for(;i!==null;){if(C(i)&&i.inert)return!1;if(i.tagName===`DETAILS`&&!i.hasAttribute(`open`)){let n=i.querySelector(`:scope > summary:first-of-type`);if(n===null||!dn(n,e,t))return!1}if(i!==e&&i.tagName===`FIELDSET`&&i.hasAttribute(`disabled`)&&e.matches(tn)){let n=i.querySelector(`:scope > legend:first-of-type`);if(n===null||!dn(n,e,t))return!1}let r=n.getComputedStyle(i);if(C(i)&&i.hidden!==!1||r.display===`none`||i===e&&r.display===`contents`||i!==e&&r.contentVisibility===`hidden`)return!1;i=un(i,t)}return!0},gn=(e,t)=>{let n=e.getRootNode(),r=new Set,i=un(e,t);for(;i!==null&&!r.has(i);){if(r.add(i),i.getRootNode()!==n)return!1;if(C(i)&&i.isContentEditable)return!0;i=un(i,t)}return!1},_n=e=>C(e)&&e.tagName===`INPUT`&&e.getAttribute(`type`)?.toLowerCase()===`radio`,vn=e=>`tabIndex`in e&&a(e.tabIndex),yn=`http://www.w3.org/2000/svg`,bn=e=>{if(e.namespaceURI===yn&&e.localName===`a`&&e.hasAttribute(`href`)){let t=e.getAttribute(`tabindex`);if(t===null)return 0;let n=Number.parseInt(t,10);return Number.isNaN(n)?0:n}return vn(e)?e.tabIndex:null},xn=e=>e.tagName===`SLOT`&&`assignedElements`in e,Sn=e=>xn(e)&&rn(e.getRootNode()),Cn=(e,t)=>{let n=bn(e)??-1,r=bn(t)??-1,i=n>0,a=r>0;return i===a?i&&a&&n!==r?n-r:0:i?-1:1},wn=e=>{let t=bn(e);return t!==null&&e.hasAttribute(`tabindex`)&&t<0},Tn=e=>wn(e)&&(xn(e)||C(e)&&e.shadowRoot?.delegatesFocus===!0),En=(e,t,n,r)=>{if(e.name.length===0)return!0;let i=n.filter(({element:n,nativeRoot:i})=>i===t&&_n(n)&&n.name===e.name&&n.form===e.form&&hn(n,r)).map(({element:e})=>e).filter(_n).find(e=>e.checked);return i===void 0?e.tabIndex>=0:i===e},Dn=e=>{let t=(e,r,i)=>{let a=[],o=new Map,s=(e,i)=>{if(a.push({composedParent:i,element:e,focusScope:r,nativeRoot:e.getRootNode()}),Sn(e)){let n=e.assignedNodes({flatten:!1}),r=e.assignedElements({flatten:!1}),i=[...e.children];o.set(e,t(n.length>0?r:i,e,e));return}if(xn(e)){o.set(e,t([...e.children],e,e));return}if(e.shadowRoot!==null&&(!wn(e)||e.shadowRoot.delegatesFocus===!0))o.set(e,n(e.shadowRoot,e.shadowRoot,e));else if(e.shadowRoot===null)for(let t of e.children)s(t,e)};for(let t of e)s(t,i);return{entries:a,nested:o}},n=(e,n,r)=>t([...e.children],n,r),r=e=>{let t=[...e.entries].sort((e,t)=>Cn(e.element,t.element)),n=[];for(let i of t){n.push(i);let t=e.nested.get(i.element);if(t!==void 0)for(let e of r(t))n.push(e)}return n};return r(n(e,e,e))},On=(e,t,n)=>t.filter(r=>{let{element:i,nativeRoot:a}=r;if(i.tagName===`SLOT`)return!1;let o=bn(i);if(o===null)return!1;let s=i,c=new Set;for(;!c.has(s);){c.add(s);let t=un(s,n);if(t===null||t===e)break;if(Tn(t))return!1;s=t}return!i.matches(en)||i.shadowRoot?.delegatesFocus===!0||!hn(i,n)||_n(i)&&!En(i,a,t,n)?!1:o>=0||C(i)&&i.isContentEditable&&!i.hasAttribute(`tabindex`)&&!gn(i,n)||i.matches(`details > summary:first-of-type`)&&!wn(i)}).map(({element:e})=>e),kn=e=>r(e)&&`tagName`in e&&e.tagName===`IFRAME`&&`contentDocument`in e,An=e=>r(e)&&`nodeType`in e&&e.nodeType===1,jn=e=>[...e.querySelectorAll(en)].filter(e=>{let t=bn(e);return t!==null&&t>=0||C(e)&&e.isContentEditable&&!e.hasAttribute(`tabindex`)&&!gn(e,new Map)}),Mn=e=>{let t=e.ownerDocument,n=new Map,r=(t,n)=>{let r=Dn(e),i=On(e,r,new Map(r.map(({composedParent:e,element:t})=>[t,e]))),a=i.findIndex(e=>e===t),o=n?i[i.length-1]:i[0];((a<0?void 0:i[a+(n?-1:1)])??o)?.focus()},i=e=>{let t=n.get(e),i=e.contentDocument;if(t?.frameDocument!==null&&t?.frameDocument!==void 0&&t.frameDocument.removeEventListener(`keydown`,t.onKeyDown,!0),t===void 0)return;if(i===null){n.set(e,{...t,frameDocument:null});return}let a=t=>{if(t.defaultPrevented||t.key!==`Tab`)return;let n=jn(i),a=An(t.target)?t.target:i.activeElement,o=n[0],s=n[n.length-1];(t.shiftKey?a===o:a===s)&&(t.preventDefault(),r(e,t.shiftKey))};i.addEventListener(`keydown`,a,!0),n.set(e,{...t,frameDocument:i,onKeyDown:a})},a=e=>{if(n.has(e)){i(e);return}let t=()=>i(e);n.set(e,{frameDocument:null,onKeyDown:()=>void 0,onLoad:t}),e.addEventListener(`load`,t),i(e)},o=()=>{for(let{element:t}of Dn(e))t.tagName===`IFRAME`&&kn(t)&&a(t)},s=e=>{kn(e.target)&&a(e.target)};t.addEventListener(`focusin`,s,!0),o();let c=t.defaultView?.MutationObserver,l=c===void 0?null:new c(o);return l?.observe(e,{childList:!0,subtree:!0}),()=>{t.removeEventListener(`focusin`,s,!0),l?.disconnect();for(let[e,t]of n)e.removeEventListener(`load`,t.onLoad),t.frameDocument!==null&&t.frameDocument.removeEventListener(`keydown`,t.onKeyDown,!0)}},Nn=(e,t)=>{if(e===null||!(`matchMedia`in e))return()=>void 0;let n=e.matchMedia($t);return n.addEventListener(`change`,t),()=>n.removeEventListener(`change`,t)},Pn=e=>e!==null&&`matchMedia`in e&&e.matchMedia($t).matches,Fn=()=>!1,In=e=>{let t=(0,D.useCallback)(t=>Nn(e,t),[e]),n=(0,D.useCallback)(()=>Pn(e),[e]);return(0,D.useSyncExternalStore)(t,n,Fn)},Ln=()=>(0,O.jsxs)(`span`,{"aria-hidden":`true`,className:q(`mark`),children:[(0,O.jsx)(`span`,{className:q(`markLine`)}),(0,O.jsx)(`svg`,{className:q(`markGlyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})]}),Rn=({context:e,labelId:t})=>{if(e.length===0)throw Error(`RelayDock context must contain at least one chip`);let n=new Set;return(0,O.jsxs)(`section`,{"aria-labelledby":t,className:q(`context`),children:[(0,O.jsx)(`h2`,{className:q(`sectionLabel`),id:t,children:`Context`}),(0,O.jsx)(`ul`,{className:q(`chipList`),children:e.map(e=>{let t=E(e.id,`RelayDock context chip id`);if(n.has(t))throw Error(`Duplicate RelayDock context chip id: ${t}`);return n.add(t),(0,O.jsxs)(`li`,{className:q(`chip`),"data-rly-relay-dock-context":t,children:[(0,O.jsx)(`span`,{className:q(`chipLabel`),children:E(e.label,`RelayDock context chip label`)}),(0,O.jsx)(`span`,{className:q(`chipValue`),children:E(e.value,`RelayDock context chip value`)})]},t)})})]})},zn=({labelId:e,selection:t})=>{let n=(0,D.useId)(),r=(0,D.useId)();return(0,O.jsxs)(`section`,{"aria-labelledby":e,className:q(`selection`),children:[(0,O.jsx)(`h2`,{className:q(`sectionLabel`),id:e,children:`Run with`}),(0,O.jsxs)(`div`,{className:q(`selectionGrid`),children:[(0,O.jsx)(_,{controlId:`rly-relay-dock-profile-${n}`,label:`Profile`,size:`compact`,children:e=>(0,O.jsx)(f,{...e,...t.profile.disabled===void 0?{}:{disabled:t.profile.disabled},onValueChange:t.profile.onValueChange,options:t.profile.options,size:`compact`,value:t.profile.value})}),(0,O.jsx)(_,{controlId:`rly-relay-dock-model-${r}`,label:`Model`,size:`compact`,children:e=>(0,O.jsx)(f,{...e,...t.model.disabled===void 0?{}:{disabled:t.model.disabled},onValueChange:t.model.onValueChange,options:t.model.options,size:`compact`,value:t.model.value})})]})]})},Bn=({state:e})=>{if(e.status===`ready`)return(0,O.jsx)(`section`,{"aria-live":`polite`,className:q(`ready`),"data-rly-relay-dock-state":`ready`,children:e.content});let t=e.status===`error`?`assertive`:`polite`,n=e.status===`loading`?`progress`:e.status===`error`?`critical`:`neutral`;return(0,O.jsx)(ee,{action:`action`in e?e.action:void 0,announce:t,className:q(`state`),"data-rly-relay-dock-state":e.status,description:e.description,title:E(e.title,`RelayDock ${e.status} title`),tone:n})},Vn=({context:e,footer:t,selection:n,state:r})=>{let i=(0,D.useId)(),a=(0,D.useId)();return(0,O.jsxs)(`div`,{className:q(`contents`),"data-rly-relay-dock-scroll":``,children:[(0,O.jsxs)(`div`,{className:q(`fixedContext`),children:[(0,O.jsx)(Rn,{context:e,labelId:i}),(0,O.jsx)(zn,{labelId:a,selection:n})]}),(0,O.jsx)(`section`,{"aria-label":`Relay thread`,className:q(`body`),tabIndex:0,children:(0,O.jsx)(Bn,{state:r})}),t==null?null:(0,O.jsx)(`footer`,{className:q(`footer`),children:t})]})},Hn=({restoreDocument:e,restoreTarget:t,target:n})=>{let r=(0,D.useRef)(!1);return(0,D.useLayoutEffect)(()=>{let i=n.current;i!==null&&(r.current||=(t.current=mn(e??i.ownerDocument),!0),i.focus())},[e,t,n]),null},Un=({children:e,modal:t,modalLayer:n})=>{let r=(0,D.useRef)(null);return v(),b(r,t),g(r,t),(0,O.jsx)(`div`,{className:q(`layer`),"data-rly-modal-layer":n?``:void 0,"data-rly-relay-dock-modal":t?`true`:`false`,ref:r,children:e})},Wn=({closeRef:e,compactViewport:t,context:n,description:r,footer:i,headingId:a,modal:o,onClose:c,parentModalPresent:l,restoreDocument:u,restoreTargetRef:f,selection:p,state:m,title:h})=>{let g=`${a}-description`,_=(0,D.useRef)(null);(0,D.useLayoutEffect)(()=>{let e=_.current;if(o&&e!==null)return Mn(e)},[o]);let v=e=>{let t=e.currentTarget;if(!e.nativeEvent.composedPath().includes(t)||e.defaultPrevented)return;if(e.key===`Escape`){if(e.nativeEvent.isComposing)return;e.stopPropagation(),c();return}if(!o||e.key!==`Tab`)return;let n=Dn(t),r=new Map(n.map(({composedParent:e,element:t})=>[t,e])),i=e=>{let t=new Set,n=e;for(;!t.has(n);){t.add(n);let e=un(n,r);if(e===null)return null;if(C(e)&&e.shadowRoot?.delegatesFocus===!0)return e;n=e}return null},a=On(t,n,r),s=a[0]??t,l=a[a.length-1]??t,u=on(t),d=new Set(a),f=u!==null&&fn(t,u)&&!a.some(e=>e===u),p=e=>{let t=new Set,i=e;for(;!t.has(i);){t.add(i);let e=n.findIndex(({element:e})=>e===i);if(e>=0)return e;let a=un(i,r);if(a===null)return-1;i=a}return-1},m=f&&u!==null?i(u):null,h=f&&u!==null?p(u):-1,g=f?(e=>{if(h<0)return null;for(let t=h+e;t>=0&&t<n.length;t+=e){let e=n[t]?.element;if(e!==void 0&&d.has(e)&&vn(e))return e}return null})(e.shiftKey?-1:1):null,_=m!==null&&g!==null&&dn(m,g,r),v=f&&!_&&(g===null||!fn(t,g)),y=e.shiftKey&&(u===s||!fn(t,u)||_||v),b=!e.shiftKey&&(u===l||!fn(t,u)||_||v);(y||b)&&(e.preventDefault(),(_&&g!==null?g:e.shiftKey?l:s).focus())};return(0,O.jsx)(ae,{children:y=>(0,O.jsx)(d,{container:y,children:(0,O.jsxs)(Un,{modal:o,modalLayer:o||l,children:[o?(0,O.jsx)(`div`,{"aria-hidden":`true`,className:q(`overlay`),"data-rly-relay-dock-overlay":``,onPointerDown:c}):null,(0,O.jsxs)(`section`,{"aria-describedby":g,"aria-labelledby":a,"aria-modal":o?!0:void 0,className:s(q(`panel`),q(o?`sheet`:`rail`)),"data-rly-relay-dock-presentation":t?`mobile-sheet`:o?`overlay`:`rail`,onKeyDown:v,ref:_,role:o?`dialog`:`complementary`,tabIndex:-1,children:[(0,O.jsxs)(`header`,{className:q(`railHeader`),children:[(0,O.jsxs)(`div`,{className:q(`railHeading`),children:[(0,O.jsx)(`h1`,{className:q(`title`),id:a,children:h}),(0,O.jsx)(`p`,{className:q(`description`),id:g,children:r})]}),(0,O.jsx)(`button`,{"aria-label":`Close ${h}`,className:q(`close`),onClick:c,ref:e,type:`button`,children:(0,O.jsx)(ie,{decorative:!0,name:`close`})})]}),(0,O.jsx)(Hn,{restoreDocument:u,restoreTarget:f,target:e}),(0,O.jsx)(Vn,{context:n,footer:i,selection:p,state:m})]})]})})})},Gn=e=>{let{className:t,context:n,defaultOpen:r=!1,description:i=`Ask in this context or prepare approval-bound work.`,desktopPresentation:a=`overlay`,footer:o,onOpenChange:c,open:l,ref:u,selection:d,state:f,title:p=`Relay`,triggerLabel:m=`Open Relay`,...g}=e,[_,v]=(0,D.useState)(r),b=te(),ee=x(),C=oe(),w=(l??_)&&ee&&C.available,T=In(C.available?C.container.ownerDocument.defaultView:null),ne=T||a===`overlay`,re=(0,D.useRef)(null),ie=(0,D.useRef)(null),ae=(0,D.useRef)(null),se=(0,D.useRef)({modal:ne,open:!1}),ce=(0,D.useId)(),le=E(i,`RelayDock description`),k=E(p,`RelayDock title`),ue=E(m,`RelayDock triggerLabel`),de=e=>{l===void 0&&v(e),c?.(e)};return(0,D.useLayoutEffect)(()=>{let e=se.current;se.current={modal:ne,open:w},!e.open&&w?(h(),ie.current?.focus()):e.open&&w&&e.modal!==ne?ie.current?.focus():e.open&&!w&&(S(ae.current??re.current),ae.current=null)},[ne,w]),(0,O.jsxs)(`div`,{...g,className:s(q(`root`),t),"data-rly-relay-dock":``,"data-rly-relay-dock-open":w?`true`:`false`,ref:u,children:[(0,O.jsxs)(`button`,{"aria-expanded":w,"aria-haspopup":ne?`dialog`:void 0,className:q(`trigger`),"data-rly-relay-dock-trigger":``,inert:w,onClick:e=>{e.currentTarget.focus(),de(!0)},ref:re,type:`button`,children:[(0,O.jsx)(Ln,{}),(0,O.jsx)(`span`,{children:ue})]}),w?(0,O.jsx)(y,{children:(0,O.jsx)(Wn,{closeRef:ie,compactViewport:T,context:n,description:le,footer:o,headingId:ce,modal:ne,onClose:()=>de(!1),parentModalPresent:b,restoreDocument:re.current?.ownerDocument??null,restoreTargetRef:ae,selection:d,state:f,title:k})}):null]})},Kn=/^(?:--[A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*|-?[A-Za-z_\u0080-\uD7FF\uE000-\u{10ffff}][A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*)$/u,qn=new Set([`auto`,`default`,`inherit`,`initial`,`match-element`,`none`,`revert`,`revert-layer`,`unset`]),Jn=e=>{if(e===void 0)return;let t={relay:e.relay,verdict:e.verdict,version:e.version},n=[[`relay`,t.relay],[`verdict`,t.verdict],[`version`,t.version]],r=new Set;for(let[e,t]of n){let n=E(t,`Release transition ${e} name`);if(n===`root`||qn.has(n.toLowerCase()))throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);if(!Kn.test(n))throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);if(r.has(n))throw Error(`Release transition names must be unique: ${n}`);r.add(n)}return Object.freeze(t)},Yn={blocked:!0,ready:!0,deploying:!0,building:!0,shipped:!0,held:!0,unknown:!0},Xn=e=>{if(E(e.id,`Release presentation id`),E(e.version,`Release presentation version`),E(e.codename,`Release presentation codename`),E(e.algorithm,`Release presentation algorithm`),E(e.verdict,`Release presentation verdict`),E(e.reason,`Release presentation reason`),!Object.hasOwn(Yn,e.state))throw Error(`Release presentation state must be supported`);e.freshnessDateTime!==void 0&&(E(e.freshnessDateTime,`Release presentation freshnessDateTime`),E(e.freshnessTime,`Release presentation freshnessTime`));let t=new Set;for(let n of e.facts){let e=E(n.id,`Release presentation fact id`);if(t.has(e))throw Error(`Release presentation fact ids must be unique: ${e}`);t.add(e),E(n.label,`Release presentation fact label for ${e}`),E(n.value,`Release presentation fact value for ${e}`)}return e},Zn={root:`rly_ReleaseRelay-module__root`,tiles:`rly_ReleaseRelay-module__tiles`,handoff:`rly_ReleaseRelay-module__handoff`,tile:`rly_ReleaseRelay-module__tile`,glyph:`rly_ReleaseRelay-module__glyph`,identity:`rly_ReleaseRelay-module__identity`,codename:`rly_ReleaseRelay-module__codename`,algorithm:`rly_ReleaseRelay-module__algorithm`,algorithmValue:`rly_ReleaseRelay-module__algorithmValue`,compact:`rly_ReleaseRelay-module__compact`,hero:`rly_ReleaseRelay-module__hero`},J=e=>i(Zn,e),Qn=c({0:{name:`orbit`},1:{name:`split`},2:{name:`brace`},3:{name:`wave`},4:{name:`gate`},5:{name:`fork`},6:{name:`bridge`},7:{name:`beacon`},8:{name:`loop`},9:{name:`pulse`},10:{name:`anchor`},11:{name:`ladder`},12:{name:`knot`},13:{name:`spark`},14:{name:`stack`},15:{name:`compass`}}),$n=c({size:{compact:{className:J(`compact`),purpose:`Release rows and compact previews`,tokens:[`space-32`,`space-8`,`type-label`]},hero:{className:J(`hero`),purpose:`Page-level release identity`,tokens:[`space-48`,`space-4`,`space-8`,`type-card-title`]}}}),er=c({size:`compact`}),tr={0:`M12 4a8 8 0 1 1-6.9 4M5.1 8H9V4.1`,1:`M5 5v4c0 2 1 3 3 3h8c2 0 3 1 3 3v4M12 12V5`,2:`M9 4H7v5l-3 3 3 3v5h2M15 4h2v5l3 3-3 3v5h-2`,3:`M3 9c3-4 6-4 9 0s6 4 9 0M3 15c3-4 6-4 9 0s6 4 9 0`,4:`M5 19V8l7-4 7 4v11M9 19v-7h6v7`,5:`M12 20V9M12 12 6 6M12 12l6-6M6 6v4M18 6v4`,6:`M3 17h18M5 17v-5c4-5 10-5 14 0v5M8 17v-3M16 17v-3`,7:`M12 3v3M5.6 5.6l2.1 2.1M18.4 5.6l-2.1 2.1M6 20h12l-2-9H8Z`,8:`M8 8a4 4 0 0 1 8 0v8a4 4 0 0 1-8 0V8Zm0 4h8`,9:`M3 13h4l2-6 4 12 2-6h6`,10:`M12 3v15M8 7h8M5 14c0 4 3 7 7 7s7-3 7-7M5 14l-2 2M19 14l2 2`,11:`M7 3v18M17 3v18M7 7h10M7 12h10M7 17h10`,12:`M8 5a4 4 0 0 1 4 4v6a4 4 0 1 0 4-4H8a4 4 0 1 0 4 4V9a4 4 0 0 1 4-4`,13:`M12 3v5M12 16v5M3 12h5M16 12h5M5.6 5.6l3.5 3.5M14.9 14.9l3.5 3.5M18.4 5.6l-3.5 3.5M9.1 14.9l-3.5 3.5`,14:`m4 8 8-4 8 4-8 4Zm0 4 8 4 8-4M4 16l8 4 8-4`,15:`m12 3 3 6 6 3-6 3-3 6-3-6-6-3 6-3Zm0 6v6M9 12h6`},nr=e=>{if(e.length!==3)throw Error(`ReleaseRelay symbolIndices must contain exactly three indices`);let t=new Set;for(let n of e){if(!Number.isInteger(n)||n<0||n>15)throw Error(`ReleaseRelay symbol indices must be integers from 0 through 15`);if(t.has(n))throw Error(`ReleaseRelay symbol indices must be distinct`);t.add(n)}return e},rr=({algorithm:e,className:t,codename:n,size:r=`compact`,symbolIndices:i,...a})=>{let o=E(e,`ReleaseRelay algorithm`),c=E(n,`ReleaseRelay codename`),l=nr(i),u=`Release relay, ${c}, symbols ${l.map(e=>Qn[e].name).join(`, `)}.`;return(0,O.jsxs)(`figure`,{...a,className:s(J(`root`),$n.size[r].className,t),"data-rly-release-relay-size":r,children:[(0,O.jsxs)(`span`,{"aria-label":u,className:J(`tiles`),role:`img`,children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:J(`handoff`),"data-rly-release-relay-handoff":``}),l.map((e,t)=>(0,O.jsx)(`span`,{"aria-hidden":`true`,className:J(`tile`),"data-rly-release-relay-position":t,"data-rly-release-symbol-index":e,"data-rly-release-symbol-name":Qn[e].name,children:(0,O.jsx)(`svg`,{className:J(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:tr[e],fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.7`,vectorEffect:`non-scaling-stroke`})})},e))]}),(0,O.jsxs)(`figcaption`,{className:J(`identity`),children:[(0,O.jsx)(`span`,{className:J(`codename`),children:c}),(0,O.jsxs)(`span`,{className:J(`algorithm`),children:[`Identity algorithm: `,(0,O.jsx)(`code`,{className:J(`algorithmValue`),children:o})]})]})]})},ir={body:`rly_ReleasePreview-module__body`,summary:`rly_ReleasePreview-module__summary`,releaseMeta:`rly_ReleasePreview-module__releaseMeta`,personGroup:`rly_ReleasePreview-module__personGroup`,fact:`rly_ReleasePreview-module__fact`,dialogSurface:`rly_ReleasePreview-module__dialogSurface`,dialogFrame:`rly_ReleasePreview-module__dialogFrame`,dialogScroll:`rly_ReleasePreview-module__dialogScroll`,identityRow:`rly_ReleasePreview-module__identityRow`,version:`rly_ReleasePreview-module__version`,people:`rly_ReleasePreview-module__people`,eyebrow:`rly_ReleasePreview-module__eyebrow`,unassigned:`rly_ReleasePreview-module__unassigned`,facts:`rly_ReleasePreview-module__facts`,slot:`rly_ReleasePreview-module__slot`,dialogFooter:`rly_ReleasePreview-module__dialogFooter`,sheetFooter:`rly_ReleasePreview-module__sheetFooter`,dialogClose:`rly_ReleasePreview-module__dialogClose`,fullViewButton:`rly_ReleasePreview-module__fullViewButton`},Y=e=>i(ir,e),ar=({agentEntry:e,collaborators:t,entryMotion:n=`intrinsic`,evidence:r,onOpenChange:i,onOpenFullView:a,open:o,openFullViewLabel:s=`Open full view`,presentation:c=`dialog`,primaryAction:u,release:d,stages:f,transitionNames:h,workset:g})=>{let _=Xn(d),v=Jn(h),y=E(s,`ReleasePreview openFullViewLabel`),b=(0,D.useRef)(null),x=_.freshnessDateTime===void 0?(0,O.jsx)(L,{state:_.freshness}):(0,O.jsx)(L,{dateTime:_.freshnessDateTime,state:_.freshness,time:_.freshnessTime}),S=`Release preview: ${_.version} ${_.codename}`,ee=(0,O.jsxs)(`div`,{className:Y(`body`),"data-rly-release-preview-presentation":c,"data-rly-release-state":_.state,children:[(0,O.jsxs)(`section`,{"aria-label":`Release summary`,className:Y(`summary`),"data-rly-release-preview-summary":``,ref:b,tabIndex:-1,children:[(0,O.jsxs)(`div`,{className:Y(`identityRow`),children:[(0,O.jsx)(rr,{algorithm:_.algorithm,codename:_.codename,"data-rly-release-transition-name":v?.relay,"data-rly-release-transition-part":`relay`,size:`hero`,style:v===void 0?void 0:{viewTransitionName:v.relay},symbolIndices:_.symbolIndices}),(0,O.jsxs)(`div`,{className:Y(`releaseMeta`),children:[(0,O.jsx)(`p`,{className:Y(`version`),"data-rly-release-transition-name":v?.version,"data-rly-release-transition-part":`version`,style:v===void 0?void 0:{viewTransitionName:v.version},children:_.version}),x]})]}),(0,O.jsxs)(`div`,{className:Y(`people`),children:[(0,O.jsxs)(`div`,{className:Y(`personGroup`),children:[(0,O.jsx)(`span`,{className:Y(`eyebrow`),children:`Owner`}),_.owner===void 0?(0,O.jsx)(`span`,{className:Y(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,O.jsx)(P,{person:_.owner})]}),(0,O.jsxs)(`div`,{className:Y(`personGroup`),children:[(0,O.jsx)(`span`,{className:Y(`eyebrow`),children:`Approver`}),_.approver===void 0?(0,O.jsx)(`span`,{className:Y(`unassigned`),"data-rly-release-approver":`unassigned`,children:`Unassigned`}):(0,O.jsx)(P,{person:_.approver})]})]}),(0,O.jsx)(ft,{"data-rly-release-transition-name":v?.verdict,"data-rly-release-transition-part":`verdict`,reason:_.reason,style:v===void 0?void 0:{viewTransitionName:v.verdict},tone:_.tone,verdict:_.verdict}),(0,O.jsx)(`dl`,{className:Y(`facts`),children:_.facts.map(e=>(0,O.jsxs)(`div`,{className:Y(`fact`),children:[(0,O.jsx)(`dt`,{children:e.label}),(0,O.jsx)(`dd`,{children:e.value})]},e.id))})]}),t===void 0?null:(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`collaborators`,children:t}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`primary-action`,children:u}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`stages`,children:f}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`workset`,children:g}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`evidence`,children:r}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`agent-entry`,children:e})]}),te=(0,O.jsx)(p,{className:Y(`fullViewButton`),onClick:a,size:`default`,variant:`secondary`,children:y});return c===`sheet`?(0,O.jsx)(m.Root,{onOpenChange:i,open:o,children:(0,O.jsxs)(m.Content,{entryMotion:n,initialFocusRef:b,title:S,children:[(0,O.jsx)(m.Body,{"data-rly-release-preview-scroll":`sheet`,children:ee}),(0,O.jsx)(m.Footer,{className:Y(`sheetFooter`),"data-rly-release-preview-footer":`sheet`,children:te})]})}):(0,O.jsx)(l.Root,{onOpenChange:i,open:o,children:(0,O.jsx)(l.Content,{className:Y(`dialogSurface`),entryMotion:n,initialFocusRef:b,size:`wide`,title:S,children:(0,O.jsxs)(`div`,{className:Y(`dialogFrame`),children:[(0,O.jsx)(`div`,{className:Y(`dialogClose`),children:(0,O.jsx)(l.Close,{size:`compact`,variant:`quiet`,children:`Close preview`})}),(0,O.jsx)(`div`,{className:Y(`dialogScroll`),"data-rly-release-preview-scroll":`dialog`,children:ee}),(0,O.jsx)(`footer`,{className:Y(`dialogFooter`),"data-rly-release-preview-footer":`dialog`,children:te})]})})})},or={root:`rly_ReleaseRow-module__root`,identity:`rly_ReleaseRow-module__identity`,verdictBlock:`rly_ReleaseRow-module__verdictBlock`,people:`rly_ReleaseRow-module__people`,actions:`rly_ReleaseRow-module__actions`,personGroup:`rly_ReleaseRow-module__personGroup`,fact:`rly_ReleaseRow-module__fact`,version:`rly_ReleaseRow-module__version`,verdict:`rly_ReleaseRow-module__verdict`,reason:`rly_ReleaseRow-module__reason`,eyebrow:`rly_ReleaseRow-module__eyebrow`,unassigned:`rly_ReleaseRow-module__unassigned`,facts:`rly_ReleaseRow-module__facts`,agentEntry:`rly_ReleaseRow-module__agentEntry`,previewButton:`rly_ReleaseRow-module__previewButton`},X=e=>i(or,e),sr=({agentEntry:e,className:t,onPreview:n,previewLabel:r=`Preview release`,release:i,transitionNames:a,...o})=>{let c=Xn(i),l=Jn(a),u=E(r,`ReleaseRow previewLabel`),d=`rly-release-row-verdict-${(0,D.useId)()}`,f=c.freshnessDateTime===void 0?(0,O.jsx)(L,{size:`compact`,state:c.freshness}):(0,O.jsx)(L,{dateTime:c.freshnessDateTime,size:`compact`,state:c.freshness,time:c.freshnessTime});return(0,O.jsxs)(`article`,{...o,className:s(X(`root`),t),"data-rly-release-id":c.id,"data-rly-release-state":c.state,children:[(0,O.jsxs)(`div`,{className:X(`identity`),children:[(0,O.jsx)(rr,{algorithm:c.algorithm,codename:c.codename,"data-rly-release-transition-name":l?.relay,"data-rly-release-transition-part":`relay`,size:`compact`,style:l===void 0?void 0:{viewTransitionName:l.relay},symbolIndices:c.symbolIndices}),(0,O.jsx)(`p`,{className:X(`version`),"data-rly-release-transition-name":l?.version,"data-rly-release-transition-part":`version`,style:l===void 0?void 0:{viewTransitionName:l.version},children:c.version}),f]}),(0,O.jsxs)(`section`,{"aria-labelledby":d,className:X(`verdictBlock`),"data-rly-release-transition-name":l?.verdict,"data-rly-release-transition-part":`verdict`,style:l===void 0?void 0:{viewTransitionName:l.verdict},children:[(0,O.jsx)(`h2`,{className:X(`verdict`),id:d,children:c.verdict}),(0,O.jsx)(`p`,{className:X(`reason`),children:c.reason})]}),(0,O.jsxs)(`div`,{className:X(`people`),children:[(0,O.jsxs)(`div`,{className:X(`personGroup`),children:[(0,O.jsx)(`span`,{className:X(`eyebrow`),children:`Owner`}),c.owner===void 0?(0,O.jsx)(`span`,{className:X(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,O.jsx)(P,{person:c.owner,size:`compact`})]}),c.approver===void 0?null:(0,O.jsxs)(`div`,{className:X(`personGroup`),children:[(0,O.jsx)(`span`,{className:X(`eyebrow`),children:`Approver`}),(0,O.jsx)(P,{person:c.approver,size:`compact`})]})]}),(0,O.jsx)(`dl`,{className:X(`facts`),children:c.facts.map(e=>(0,O.jsxs)(`div`,{className:X(`fact`),"data-rly-release-fact":e.id,children:[(0,O.jsx)(`dt`,{children:e.label}),(0,O.jsx)(`dd`,{children:e.value})]},e.id))}),(0,O.jsxs)(`div`,{className:X(`actions`),children:[(0,O.jsx)(p,{className:X(`previewButton`),onClick:n,size:`default`,children:u}),e===void 0?null:(0,O.jsx)(`div`,{className:X(`agentEntry`),children:e})]})]})},cr={root:`rly_StageRail-module__root`,heading:`rly_StageRail-module__heading`,list:`rly_StageRail-module__list`,item:`rly_StageRail-module__item`,marker:`rly_StageRail-module__marker`,connector:`rly_StageRail-module__connector`,content:`rly_StageRail-module__content`,name:`rly_StageRail-module__name`,reason:`rly_StageRail-module__reason`,empty:`rly_StageRail-module__empty`,compact:`rly_StageRail-module__compact`,defaultSize:`rly_StageRail-module__defaultSize`,long:`rly_StageRail-module__long`,words:`rly_StageRail-module__words`,wordList:`rly_StageRail-module__wordList`,word:`rly_StageRail-module__word`,wordState:`rly_StageRail-module__wordState`,wordReason:`rly_StageRail-module__wordReason`},Z=e=>i(cr,e),lr=c({size:{compact:{className:Z(`compact`),purpose:`Dense release and entity stage summaries`,tokens:[`space-24`,`space-8`,`type-label`,`type-meta`]},default:{className:Z(`defaultSize`),purpose:`Standard stage progression with supporting context`,tokens:[`space-24`,`space-12`,`type-card-title`,`type-body`]},words:{className:Z(`words`),purpose:`Stages as one line of words inside a row or fact (no markers, chips or owners); only blocking and held states take ink`,tokens:[`type-meta`,`color-text-1`,`color-text-2`,`color-blocked-ink`,`color-held-ink`]}}}),ur=c({size:`default`}),dr=e=>{let t=new Set;for(let n of e){let e=E(n.id,`StageRail stage id`);if(E(n.name,`StageRail name for ${e}`),E(n.state,`StageRail state for ${e}`),n.reason!==void 0&&E(n.reason,`StageRail reason for ${e}`),t.has(e))throw Error(`StageRail stage ids must be unique: ${e}`);t.add(e)}return e},fr=e=>e===`critical`?`blocked`:e===`caution`?`held`:`quiet`,pr=({className:e,emptyLabel:t=`No stages recorded.`,heading:n,size:r=`default`,stages:i,...a})=>{let o=E(n,`StageRail heading`),c=E(t,`StageRail emptyLabel`),l=dr(i),u=`rly-stage-rail-${(0,D.useId)()}`;return(0,O.jsxs)(`section`,{...a,"aria-labelledby":r===`words`?void 0:u,className:s(Z(`root`),lr.size[r].className,l.length>6&&Z(`long`),e),"data-rly-stage-rail-size":r,children:[r===`words`?null:(0,O.jsx)(`h2`,{className:Z(`heading`),id:u,children:o}),l.length===0?(0,O.jsx)(`p`,{className:Z(`empty`),children:c}):r===`words`?(0,O.jsx)(`ol`,{"aria-label":o,className:Z(`wordList`),children:l.map((e,t)=>(0,O.jsxs)(`li`,{className:Z(`word`),"data-rly-stage-id":e.id,children:[e.name,` `,(0,O.jsx)(`span`,{className:Z(`wordState`),"data-rly-stage-word":fr(e.tone),children:e.state}),e.reason===void 0?null:(0,O.jsxs)(`span`,{className:Z(`wordReason`),children:[`: `,e.reason]}),t===l.length-1?null:`,`]},e.id))}):(0,O.jsx)(`ol`,{className:Z(`list`),children:l.map((e,t)=>(0,O.jsxs)(`li`,{className:Z(`item`),"data-rly-stage-id":e.id,children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:Z(`marker`),"data-rly-stage-marker":``,children:t+1}),t===l.length-1?null:(0,O.jsx)(`span`,{"aria-hidden":`true`,className:Z(`connector`),"data-rly-stage-connector":``}),(0,O.jsxs)(`div`,{className:Z(`content`),children:[(0,O.jsx)(`h3`,{className:Z(`name`),children:e.name}),(0,O.jsx)(T,{label:e.state,size:r==="default"?`default`:`compact`,tone:e.tone}),e.reason===void 0?null:(0,O.jsx)(`p`,{className:Z(`reason`),children:e.reason}),e.owner===void 0?null:(0,O.jsx)(P,{person:e.owner,size:r})]})]},e.id))})]})},mr={root:`rly_TimelineRow-module__root`,time:`rly_TimelineRow-module__time`,marker:`rly_TimelineRow-module__marker`,dot:`rly_TimelineRow-module__dot`,connector:`rly_TimelineRow-module__connector`,content:`rly_TimelineRow-module__content`,meta:`rly_TimelineRow-module__meta`,title:`rly_TimelineRow-module__title`,link:`rly_TimelineRow-module__link`,detail:`rly_TimelineRow-module__detail`,actorKind:`rly_TimelineRow-module__actorKind`,actor:`rly_TimelineRow-module__actor`,markAuto:`rly_TimelineRow-module__markAuto`,markApproved:`rly_TimelineRow-module__markApproved`,markPending:`rly_TimelineRow-module__markPending`,markUnknown:`rly_TimelineRow-module__markUnknown`,markFlag:`rly_TimelineRow-module__markFlag`,provenance:`rly_TimelineRow-module__provenance`,key:`rly_TimelineRow-module__key`,keyItem:`rly_TimelineRow-module__keyItem`},Q=e=>i(mr,e),hr={human:`Human`,agent:`Agent`,plugin:`Plugin`,system:`System`},gr={auto:`markAuto`,approved:`markApproved`,pending:`markPending`,unknown:`markUnknown`,flag:`markFlag`},_r=e=>{if(E(e.id,`TimelineRow event id`),E(e.title,`TimelineRow event title`),E(e.detail,`TimelineRow event detail`),E(e.dateTime,`TimelineRow event dateTime`),E(e.time,`TimelineRow event time`),e.href!==void 0&&E(e.href,`TimelineRow event href`),e.provenance!==void 0){if(!Object.hasOwn(gr,e.provenance.kind))throw Error(`TimelineRow provenance kind must be auto, approved, pending, unknown, or flag`);E(e.provenance.label,`TimelineRow provenance label`)}if(!Object.hasOwn(hr,e.actorKind))throw Error(`TimelineRow event actorKind must be human, agent, plugin, or system`);return e},vr=({className:e,continued:t,event:n,...r})=>{let i=_r(n),a=`rly-timeline-row-${(0,D.useId)()}`,o=(0,O.jsx)(`h2`,{className:Q(`title`),id:a,children:i.title});return(0,O.jsxs)(`li`,{...r,className:s(Q(`root`),e),"data-rly-timeline-actor":i.actorKind,"data-rly-timeline-event-id":i.id,children:[(0,O.jsx)(`time`,{className:Q(`time`),dateTime:i.dateTime,children:i.time}),(0,O.jsxs)(`span`,{"aria-hidden":`true`,className:Q(`marker`),children:[(0,O.jsx)(`span`,{className:i.provenance===void 0?Q(`dot`):Q(gr[i.provenance.kind]),"data-rly-timeline-provenance":i.provenance?.kind}),t?(0,O.jsx)(`span`,{className:Q(`connector`),"data-rly-timeline-connector":``}):null]}),(0,O.jsxs)(`article`,{"aria-labelledby":a,className:Q(`content`),children:[i.href===void 0?o:(0,O.jsx)(ce,{className:Q(`link`),href:i.href,children:o}),(0,O.jsx)(`p`,{className:Q(`detail`),children:i.detail}),i.provenance===void 0?null:(0,O.jsx)(`p`,{className:Q(`provenance`),"data-rly-timeline-provenance-label":i.provenance.kind,children:i.provenance.label})]}),(0,O.jsxs)(`div`,{className:Q(`meta`),children:[(0,O.jsx)(`span`,{className:Q(`actorKind`),children:hr[i.actorKind]}),i.service===void 0?null:(0,O.jsx)(z,{service:i.service,size:`compact`}),i.actor===void 0?null:(0,O.jsx)(`div`,{className:Q(`actor`),children:i.actor})]})]})},yr={auto:`applied automatically`,approved:`approved`,pending:`waiting for approval`,unknown:`couldn't read`,flag:`flag only`},br=({className:e,kinds:t=[`auto`,`approved`,`pending`,`unknown`,`flag`],label:n,labels:r={},...i})=>(0,O.jsx)(`ul`,{...i,"aria-label":E(n,`TimelineProvenanceKey label`),className:s(Q(`key`),e),role:`list`,children:t.map(e=>(0,O.jsxs)(`li`,{className:Q(`keyItem`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:Q(gr[e]),"data-rly-timeline-provenance":e}),` `,r[e]??yr[e]]},e))}),xr={root:`rly_WorksetCard-module__root`,heading:`rly_WorksetCard-module__heading`,dimensions:`rly_WorksetCard-module__dimensions`,dimension:`rly_WorksetCard-module__dimension`,dimensionHeading:`rly_WorksetCard-module__dimensionHeading`,gaps:`rly_WorksetCard-module__gaps`,list:`rly_WorksetCard-module__list`,gapList:`rly_WorksetCard-module__gapList`,keyList:`rly_WorksetCard-module__keyList`,item:`rly_WorksetCard-module__item`,gap:`rly_WorksetCard-module__gap`,identity:`rly_WorksetCard-module__identity`,link:`rly_WorksetCard-module__link`,itemTitle:`rly_WorksetCard-module__itemTitle`,reference:`rly_WorksetCard-module__reference`,empty:`rly_WorksetCard-module__empty`,conceptLabel:`rly_WorksetCard-module__conceptLabel`,emptyLink:`rly_WorksetCard-module__emptyLink`,linkedWork:`rly_WorksetCard-module__linkedWork`},$=e=>i(xr,e),Sr=(e,t)=>{e!==void 0&&E(e,`${t} href`)},Cr=(e,t,n)=>{let r=E(e,`${n} id`);if(t.has(r))throw Error(`${n} ids must be unique: ${r}`);return t.add(r),r},wr=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard Jira item`);E(n.key,`WorksetCard Jira key for ${e}`),E(n.title,`WorksetCard Jira title for ${e}`),E(n.state,`WorksetCard Jira state for ${e}`),Sr(n.href,`WorksetCard Jira item ${e}`)}},Tr=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard pull request group`);E(n.title,`WorksetCard pull request title for ${e}`),E(n.reference,`WorksetCard pull request reference for ${e}`),E(n.state,`WorksetCard pull request state for ${e}`),Sr(n.href,`WorksetCard pull request group ${e}`);for(let t of n.linkedJiraKeys)E(t,`WorksetCard linked Jira key for ${e}`)}},Er=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard gap`);if(E(n.label,`WorksetCard gap label for ${e}`),E(n.reason,`WorksetCard gap reason for ${e}`),!Object.hasOwn(at.service,n.service))throw Error(`WorksetCard gap service for ${e} must be supported`)}},Dr=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard pipeline`);E(n.title,`WorksetCard pipeline title for ${e}`),E(n.reference,`WorksetCard pipeline reference for ${e}`),E(n.state,`WorksetCard pipeline state for ${e}`),Sr(n.href,`WorksetCard pipeline ${e}`)}},Or=({href:e,reference:t,title:n})=>{let r=(0,O.jsxs)(`span`,{className:$(`identity`),children:[(0,O.jsx)(`span`,{className:$(`itemTitle`),children:n}),(0,O.jsx)(`span`,{className:$(`reference`),children:t})]});return e===void 0?r:(0,O.jsx)(ce,{className:$(`link`),href:e,children:r})},kr=({className:e,gapEmptyLabel:t=`No relationship gaps recorded.`,gaps:n,heading:r,jiraEmptyLabel:i=`No Jira work recorded.`,jiraItems:a,pipelineEmptyLabel:o=`No pipeline delivery recorded.`,pipelines:c,pullRequestEmptyLabel:l=`No pull request groups recorded.`,pullRequestGroups:u,...d})=>{let f=E(r,`WorksetCard heading`),p=E(i,`WorksetCard jiraEmptyLabel`),m=E(l,`WorksetCard pullRequestEmptyLabel`),h=E(t,`WorksetCard gapEmptyLabel`),g=E(o,`WorksetCard pipelineEmptyLabel`);wr(a),Tr(u),Er(n),Dr(c);let _=`rly-workset-${(0,D.useId)()}`;return(0,O.jsxs)(`section`,{...d,"aria-labelledby":_,className:s($(`root`),e),children:[(0,O.jsx)(`h2`,{className:$(`heading`),id:_,children:f}),(0,O.jsxs)(`div`,{className:$(`dimensions`),children:[(0,O.jsxs)(`section`,{className:$(`dimension`),"data-rly-workset-dimension":`jira`,children:[(0,O.jsxs)(`div`,{className:$(`dimensionHeading`),children:[(0,O.jsx)(z,{service:`jira`,size:`compact`}),(0,O.jsx)(`h3`,{children:`Jira work`})]}),a.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:p}):(0,O.jsx)(`ul`,{className:$(`list`),children:a.map(e=>(0,O.jsxs)(`li`,{className:$(`item`),"data-rly-workset-jira-id":e.id,children:[(0,O.jsx)(Or,{...e.href===void 0?{}:{href:e.href},reference:e.key,title:e.title}),(0,O.jsx)(T,{label:e.state,size:`compact`,tone:e.tone}),e.owner===void 0?null:(0,O.jsx)(P,{person:e.owner,size:`compact`})]},e.id))})]}),(0,O.jsxs)(`section`,{className:$(`dimension`),"data-rly-workset-dimension":`pull-requests`,children:[(0,O.jsxs)(`div`,{className:$(`dimensionHeading`),children:[(0,O.jsx)(z,{service:`codecommit`,size:`compact`}),(0,O.jsx)(`h3`,{children:`Pull request groups`})]}),u.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:m}):(0,O.jsx)(`ul`,{className:$(`list`),children:u.map(e=>(0,O.jsxs)(`li`,{className:$(`item`),"data-rly-workset-pr-id":e.id,children:[(0,O.jsx)(Or,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,O.jsx)(T,{label:e.state,size:`compact`,tone:e.tone}),(0,O.jsxs)(`div`,{className:$(`linkedWork`),children:[(0,O.jsx)(`span`,{className:$(`conceptLabel`),children:`Linked Jira work`}),e.linkedJiraKeys.length===0?(0,O.jsx)(`span`,{className:$(`emptyLink`),children:`No Jira links recorded.`}):(0,O.jsx)(`ul`,{className:$(`keyList`),children:e.linkedJiraKeys.map((e,t)=>(0,O.jsx)(`li`,{"data-rly-linked-jira-key":e,children:e},`${e}-${t}`))})]}),e.author===void 0?null:(0,O.jsx)(P,{person:e.author,size:`compact`})]},e.id))}),(0,O.jsxs)(`div`,{className:$(`gaps`),children:[(0,O.jsx)(`h4`,{children:`Relationship gaps`}),n.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:h}):(0,O.jsx)(`ul`,{className:$(`gapList`),children:n.map(e=>(0,O.jsxs)(`li`,{className:$(`gap`),"data-rly-workset-gap-id":e.id,children:[(0,O.jsx)(z,{service:e.service,size:`compact`}),(0,O.jsx)(`strong`,{children:e.label}),(0,O.jsx)(`span`,{children:e.reason})]},e.id))})]})]}),(0,O.jsxs)(`section`,{className:$(`dimension`),"data-rly-workset-dimension":`pipelines`,children:[(0,O.jsxs)(`div`,{className:$(`dimensionHeading`),children:[(0,O.jsx)(z,{service:`codepipeline`,size:`compact`}),(0,O.jsx)(`h3`,{children:`Pipeline delivery`})]}),c.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:g}):(0,O.jsx)(`ul`,{className:$(`list`),children:c.map(e=>(0,O.jsxs)(`li`,{className:$(`item`),"data-rly-workset-pipeline-id":e.id,children:[(0,O.jsx)(Or,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,O.jsx)(T,{label:e.state,size:`compact`,tone:e.tone}),e.operator===void 0?null:(0,O.jsx)(P,{person:e.operator,size:`compact`}),e.approver===void 0?null:(0,O.jsx)(P,{person:e.approver,size:`compact`}),(0,O.jsx)(pr,{heading:`${e.reference} stages`,size:`compact`,stages:e.stages})]},e.id))})]})]})]})},Ar=e({AgentContextButton:()=>de,AgentDrawer:()=>he,AgentJob:()=>be,AgentProposal:()=>we,AgentThread:()=>Ae,CollaboratorGroup:()=>Je,DecisionBar:()=>Qe,EntityShell:()=>mt,EntityTable:()=>St,EvidenceStamp:()=>Tt,FreshnessStamp:()=>L,GovernedActionReview:()=>Ot,Hero:()=>Nt,HeroWord:()=>Pt,PeopleStrip:()=>Ue,Person:()=>P,RLY_COLLABORATOR_GROUP_DEFAULT_VARIANTS:()=>qe,RLY_COLLABORATOR_GROUP_VARIANTS:()=>Ke,RLY_DECISION_BAR_DEFAULT_VARIANTS:()=>Ze,RLY_DECISION_BAR_VARIANTS:()=>Xe,RLY_ENTITY_TABLE_DEFAULT_VARIANTS:()=>_t,RLY_ENTITY_TABLE_VARIANTS:()=>gt,RLY_FRESHNESS_STAMP_DEFAULT_VARIANTS:()=>tt,RLY_FRESHNESS_STAMP_VARIANTS:()=>et,RLY_HERO_DEFAULT_VARIANTS:()=>jt,RLY_HERO_VARIANTS:()=>At,RLY_HERO_WORD_VARIANTS:()=>Mt,RLY_PEOPLE_STRIP_DEFAULT_VARIANTS:()=>Be,RLY_PEOPLE_STRIP_VARIANTS:()=>ze,RLY_PERSON_DEFAULT_VARIANTS:()=>Pe,RLY_PERSON_VARIANTS:()=>Ne,RLY_REGION_DEFAULT_VARIANTS:()=>Rt,RLY_REGION_VARIANTS:()=>Lt,RLY_RELATIONSHIP_DIRECTION_PRESENTATION:()=>Vt,RLY_RELATIONSHIP_LIFECYCLE_PRESENTATION:()=>Bt,RLY_RELEASE_RELAY_DEFAULT_VARIANTS:()=>er,RLY_RELEASE_RELAY_SYMBOLS:()=>Qn,RLY_RELEASE_RELAY_VARIANTS:()=>$n,RLY_SERVICE_MARK_DEFAULT_VARIANTS:()=>ot,RLY_SERVICE_MARK_VARIANTS:()=>at,RLY_STAGE_RAIL_DEFAULT_VARIANTS:()=>ur,RLY_STAGE_RAIL_VARIANTS:()=>lr,RLY_VERDICT_VARIANTS:()=>ut,Region:()=>zt,RelationshipChain:()=>Jt,RelationshipTable:()=>Zt,RelayDock:()=>Gn,ReleasePreview:()=>ar,ReleaseRelay:()=>rr,ReleaseRow:()=>sr,ServiceMark:()=>z,StageRail:()=>pr,TimelineProvenanceKey:()=>br,TimelineRow:()=>vr,Verdict:()=>ft,WorksetCard:()=>kr});export{sr as _,Ae as a,Je as c,ar as d,Zt as f,rr as g,de as h,kr as i,Jt as l,ft as m,Ue as n,Tt as o,pr as p,L as r,P as s,Ar as t,mt as u,vr as v,z as y};
2
- //# sourceMappingURL=patterns-Nc-ycn7Y.js.map
1
+ import{n as e,r as t}from"./rolldown-runtime-hePW80VL.js";import{t as n}from"./react-Cvdyeg_0.js";import{C as r,D as i,E as a,O as o,S as s,T as c,_ as l,a as u,b as d,c as f,d as p,f as m,g as h,h as g,i as _,l as v,m as y,n as b,o as x,p as S,r as ee,s as te,t as C,u as w,v as T,w as E,x as ne,y as re}from"./Dialog-B9Ub_gMT-D8Er5PRs.js";import{i as ie,n as ae,t as oe}from"./PortalProvider-CN_81Fy3-Cu7FMqdg.js";import{t as se}from"./jsx-runtime-NZYk81nU.js";import{S as ce}from"./index-CyCO7dDM.js";var D=t(n(),1),O=se(),le={root:`rly_AgentContextButton-module__root`,mark:`rly_AgentContextButton-module__mark`,glyph:`rly_AgentContextButton-module__glyph`,copy:`rly_AgentContextButton-module__copy`,contextRow:`rly_AgentContextButton-module__contextRow`,action:`rly_AgentContextButton-module__action`,agent:`rly_AgentContextButton-module__agent`,contextLabel:`rly_AgentContextButton-module__contextLabel`,context:`rly_AgentContextButton-module__context`,job:`rly_AgentContextButton-module__job`,count:`rly_AgentContextButton-module__count`},k=e=>i(le,e),ue=()=>(0,O.jsx)(`span`,{"aria-hidden":`true`,className:k(`mark`),children:(0,O.jsx)(`svg`,{className:k(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})}),de=({actionLabel:e=`Ask agent`,agentName:t,className:n,context:r,contextLabel:i=`Context`,job:a,type:o,...c})=>{let l=E(e,`AgentContextButton actionLabel`),u=E(t,`AgentContextButton agentName`),d=E(r,`AgentContextButton context`),f=E(i,`AgentContextButton contextLabel`),p=a===void 0?void 0:E(a.status,`AgentContextButton job status`);if(a?.count!==void 0&&(!Number.isInteger(a.count)||a.count<0))throw Error(`AgentContextButton job count must be a non-negative integer`);return(0,O.jsxs)(`button`,{...c,className:s(k(`root`),n),"data-rly-agent-context-button":``,type:o??`button`,children:[(0,O.jsx)(ue,{}),(0,O.jsxs)(`span`,{className:k(`copy`),children:[(0,O.jsx)(`span`,{className:k(`action`),children:l}),(0,O.jsx)(`span`,{className:k(`agent`),children:u}),(0,O.jsxs)(`span`,{className:k(`contextRow`),children:[(0,O.jsx)(`span`,{className:k(`contextLabel`),children:f}),(0,O.jsx)(`span`,{className:k(`context`),children:d})]})]}),p===void 0?null:(0,O.jsxs)(`span`,{className:k(`job`),"data-rly-agent-job":``,children:[p,a?.count===void 0?null:(0,O.jsx)(`span`,{className:k(`count`),children:a.count})]})]})},fe={drawer:`rly_AgentDrawer-module__drawer`,body:`rly_AgentDrawer-module__body`,slot:`rly_AgentDrawer-module__slot`,slotContent:`rly_AgentDrawer-module__slotContent`,identityCopy:`rly_AgentDrawer-module__identityCopy`,contextSlot:`rly_AgentDrawer-module__contextSlot`,identity:`rly_AgentDrawer-module__identity`,mark:`rly_AgentDrawer-module__mark`,glyph:`rly_AgentDrawer-module__glyph`,eyebrow:`rly_AgentDrawer-module__eyebrow`,slotTitle:`rly_AgentDrawer-module__slotTitle`,contextSummary:`rly_AgentDrawer-module__contextSummary`},A=e=>i(fe,e),pe=()=>(0,O.jsx)(`span`,{"aria-hidden":`true`,className:A(`mark`),children:(0,O.jsx)(`svg`,{className:A(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})}),me=({children:e,label:t,name:n})=>(0,O.jsxs)(`section`,{className:A(`slot`),"data-rly-agent-drawer-slot":n,children:[(0,O.jsx)(`h2`,{className:A(`slotTitle`),children:t}),(0,O.jsx)(`div`,{className:A(`slotContent`),children:e})]}),he=({agentName:e,capabilities:t,className:n,composer:r,context:i,contextSummary:a,evidence:o,onOpenChange:c,open:l,thread:u,title:d,...f})=>{let p=E(e,`AgentDrawer agentName`),h=E(a,`AgentDrawer contextSummary`),g=E(d,`AgentDrawer title`),_=(0,D.useRef)(null);return(0,O.jsx)(m.Root,{onOpenChange:c,open:l,children:(0,O.jsx)(m.Content,{className:s(A(`drawer`),n),description:`Context-aware session with ${p}`,initialFocusRef:_,title:g,children:(0,O.jsxs)(m.Body,{...f,className:A(`body`),children:[(0,O.jsxs)(`section`,{className:s(A(`slot`),A(`contextSlot`)),"data-rly-agent-drawer-slot":`context`,ref:_,tabIndex:-1,children:[(0,O.jsxs)(`div`,{className:A(`identity`),children:[(0,O.jsx)(pe,{}),(0,O.jsxs)(`div`,{className:A(`identityCopy`),children:[(0,O.jsx)(`span`,{className:A(`eyebrow`),children:p}),(0,O.jsx)(`h2`,{className:A(`contextSummary`),children:h})]})]}),(0,O.jsx)(`div`,{className:A(`slotContent`),children:i})]}),(0,O.jsx)(me,{label:`Evidence`,name:`evidence`,children:o}),(0,O.jsx)(me,{label:`Capabilities`,name:`capabilities`,children:t}),(0,O.jsxs)(`section`,{"aria-live":`polite`,"aria-relevant":`additions text`,className:A(`slot`),"data-rly-agent-drawer-slot":`thread`,children:[(0,O.jsx)(`h2`,{className:A(`slotTitle`),children:`Thread`}),(0,O.jsx)(`div`,{className:A(`slotContent`),children:u})]}),(0,O.jsx)(me,{label:`Message`,name:`composer`,children:r})]})})})},ge={root:`rly_AgentJob-module__root`,header:`rly_AgentJob-module__header`,agentGlyph:`rly_AgentJob-module__agentGlyph`,titleBlock:`rly_AgentJob-module__titleBlock`,eyebrow:`rly_AgentJob-module__eyebrow`,progressLabel:`rly_AgentJob-module__progressLabel`,metadata:`rly_AgentJob-module__metadata`,progressBlock:`rly_AgentJob-module__progressBlock`,slot:`rly_AgentJob-module__slot`,footer:`rly_AgentJob-module__footer`,outcome:`rly_AgentJob-module__outcome`},j=e=>i(ge,e),_e=(e,t)=>{if(e==null||o(e))throw Error(`${t} must contain renderable content`);ne(e)&&E(e,t)},ve={queued:{label:`Queued`,tone:`neutral`},running:{label:`Running`,tone:`progress`},"cancel-requested":{label:`Cancel requested`,tone:`caution`},succeeded:{label:`Succeeded`,tone:`positive`},failed:{label:`Failed`,tone:`critical`},cancelled:{label:`Cancelled`,tone:`neutral`}},ye=e=>{if(e!==void 0&&(!Number.isFinite(e)||e<0||e>100))throw Error(`AgentJob progress must be between 0 and 100`)},be=({cancelLabel:e=`Request cancellation`,capability:t,className:n,context:r,evidence:i,heading:a,onCancel:o,outcome:c,progress:l,provider:u,revision:d,sandbox:f,state:m,...h})=>{let g=E(a,`AgentJob heading`),_=E(u,`AgentJob provider`),v=E(t,`AgentJob capability`),y=E(e,`AgentJob cancelLabel`);_e(r,`AgentJob context`),_e(i,`AgentJob evidence`),(m===`succeeded`||m===`failed`||m===`cancelled`)&&_e(c,`AgentJob terminal outcome`),f!==void 0&&E(f,`AgentJob sandbox`),d!==void 0&&E(d,`AgentJob revision`),ye(l);let b=ve[m],x=m===`queued`||m===`running`,S=`rly-agent-job-progress-${(0,D.useId)()}`;return(0,O.jsxs)(`article`,{...h,"aria-busy":m===`queued`||m===`running`||m===`cancel-requested`,className:s(j(`root`),n),"data-rly-agent-job-state":m,children:[(0,O.jsxs)(`header`,{className:j(`header`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:j(`agentGlyph`),children:`AI`}),(0,O.jsxs)(`span`,{className:j(`titleBlock`),children:[(0,O.jsxs)(`span`,{className:j(`eyebrow`),children:[_,`, `,v]}),(0,O.jsx)(`h2`,{children:g})]}),(0,O.jsx)(T,{label:b.label,size:`compact`,tone:b.tone})]}),l===void 0?null:(0,O.jsxs)(`div`,{className:j(`progressBlock`),children:[(0,O.jsxs)(`span`,{className:j(`progressLabel`),id:S,children:[`Progress `,(0,O.jsxs)(`strong`,{children:[Math.round(l),`%`]})]}),(0,O.jsx)(`progress`,{"aria-labelledby":S,max:100,value:l})]}),(0,O.jsxs)(`dl`,{className:j(`metadata`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Provider`}),(0,O.jsx)(`dd`,{children:_})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Capability`}),(0,O.jsx)(`dd`,{children:v})]}),f===void 0?null:(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Sandbox`}),(0,O.jsx)(`dd`,{children:(0,O.jsx)(`code`,{children:f})})]}),d===void 0?null:(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Revision`}),(0,O.jsx)(`dd`,{children:(0,O.jsx)(`code`,{children:d})})]})]}),(0,O.jsxs)(`section`,{className:j(`slot`),"data-rly-agent-job-context":``,children:[(0,O.jsx)(`h3`,{children:`Exact context`}),r]}),(0,O.jsxs)(`section`,{className:j(`slot`),"data-rly-agent-job-evidence":``,children:[(0,O.jsx)(`h3`,{children:`Evidence`}),i]}),c===void 0?null:(0,O.jsxs)(`section`,{className:s(j(`slot`),j(`outcome`)),"data-rly-agent-job-outcome":m,children:[(0,O.jsx)(`h3`,{children:`Terminal outcome`}),c]}),x&&o!==void 0?(0,O.jsx)(`footer`,{className:j(`footer`),children:(0,O.jsx)(p,{onClick:o,variant:`quiet`,children:y})}):null]})},xe={root:`rly_AgentProposal-module__root`,header:`rly_AgentProposal-module__header`,agentIdentity:`rly_AgentProposal-module__agentIdentity`,agentText:`rly_AgentProposal-module__agentText`,eyebrow:`rly_AgentProposal-module__eyebrow`,heading:`rly_AgentProposal-module__heading`,agentRole:`rly_AgentProposal-module__agentRole`,proposalReference:`rly_AgentProposal-module__proposalReference`,context:`rly_AgentProposal-module__context`,boundary:`rly_AgentProposal-module__boundary`,evidence:`rly_AgentProposal-module__evidence`,outcome:`rly_AgentProposal-module__outcome`,state:`rly_AgentProposal-module__state`,facts:`rly_AgentProposal-module__facts`},M=e=>i(xe,e),Se=e=>{E(e.id,`AgentProposal agent id`),E(e.name,`AgentProposal agent name`),E(e.role,`AgentProposal agent role`),E(e.avatarFallback,`AgentProposal agent avatarFallback`),e.avatarSrc!==void 0&&E(e.avatarSrc,`AgentProposal agent avatarSrc`)},Ce=e=>{if(E(e.id,`AgentProposal id`),Se(e.agent),E(e.capability,`AgentProposal capability`),E(e.context,`AgentProposal context`),E(e.expectedRevision,`AgentProposal expectedRevision`),E(e.impact,`AgentProposal impact`),E(e.target,`AgentProposal target`),e.evidence.length===0)throw Error(`AgentProposal evidence must contain at least one reference`);let t=new Set;for(let n of e.evidence){let e=E(n.id,`AgentProposal evidence id`);if(t.has(e))throw Error(`AgentProposal evidence ids must be unique: ${e}`);t.add(e),E(n.label,`AgentProposal evidence label for ${e}`),E(n.reference,`AgentProposal evidence reference for ${e}`)}return e},we=({className:e,outcome:t,proposal:n,state:r,...i})=>{let a=Ce(n),o=`rly-agent-proposal-${(0,D.useId)()}`,c=`rly-agent-proposal-reference-${(0,D.useId)()}`;return(0,O.jsxs)(`section`,{...i,"aria-labelledby":`${o} ${c}`,className:s(M(`root`),e),"data-rly-agent-proposal-id":a.id,children:[(0,O.jsxs)(`header`,{className:M(`header`),children:[(0,O.jsxs)(`div`,{className:M(`agentIdentity`),children:[(0,O.jsx)(re,{decorative:!0,fallback:a.agent.avatarFallback,form:`rounded-square`,...a.agent.avatarSrc===void 0?{}:{src:a.agent.avatarSrc}}),(0,O.jsxs)(`div`,{className:M(`agentText`),children:[(0,O.jsx)(`p`,{className:M(`eyebrow`),children:`Agent proposal`}),(0,O.jsx)(`h2`,{className:M(`heading`),id:o,children:a.agent.name}),(0,O.jsx)(`p`,{className:M(`agentRole`),children:a.agent.role}),(0,O.jsx)(`code`,{className:M(`proposalReference`),id:c,children:a.id})]})]}),(0,O.jsx)(`div`,{className:M(`state`),"data-rly-agent-proposal-slot":`state`,children:r})]}),(0,O.jsx)(`p`,{className:M(`boundary`),children:`This is an agent proposal. It is not human authorization.`}),(0,O.jsxs)(`p`,{className:M(`context`),children:[(0,O.jsx)(`span`,{children:`Context`}),a.context]}),(0,O.jsxs)(`dl`,{className:M(`facts`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Capability`}),(0,O.jsx)(`dd`,{children:a.capability})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Target`}),(0,O.jsx)(`dd`,{children:a.target})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Expected revision`}),(0,O.jsx)(`dd`,{children:a.expectedRevision})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Impact`}),(0,O.jsx)(`dd`,{children:a.impact})]})]}),(0,O.jsxs)(`div`,{className:M(`evidence`),"data-rly-agent-proposal-evidence":``,children:[(0,O.jsx)(`h3`,{children:`Evidence`}),(0,O.jsx)(`ul`,{children:a.evidence.map(e=>(0,O.jsxs)(`li`,{children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(`code`,{children:e.reference})]},e.id))})]}),(0,O.jsxs)(`div`,{className:M(`outcome`),"data-rly-agent-proposal-slot":`outcome`,children:[(0,O.jsx)(`h3`,{children:`Outcome`}),t]})]})},Te={root:`rly_AgentThread-module__root`,header:`rly_AgentThread-module__header`,messageHead:`rly_AgentThread-module__messageHead`,actor:`rly_AgentThread-module__actor`,actions:`rly_AgentThread-module__actions`,agentGlyph:`rly_AgentThread-module__agentGlyph`,avatar:`rly_AgentThread-module__avatar`,context:`rly_AgentThread-module__context`,composer:`rly_AgentThread-module__composer`,conceptLabel:`rly_AgentThread-module__conceptLabel`,messages:`rly_AgentThread-module__messages`,message:`rly_AgentThread-module__message`,agent:`rly_AgentThread-module__agent`,human:`rly_AgentThread-module__human`,system:`rly_AgentThread-module__system`,actorText:`rly_AgentThread-module__actorText`,empty:`rly_AgentThread-module__empty`,content:`rly_AgentThread-module__content`,evidence:`rly_AgentThread-module__evidence`,visuallyHidden:`rly_AgentThread-module__visuallyHidden`},N=e=>i(Te,e),Ee=(e,t)=>{if(e==null||o(e))throw Error(`${t} must contain renderable content`);ne(e)&&E(e,t)},De=e=>{let t=e.trim().split(/\s+/u),n=Array.from(t[0]??``)[0]??``,r=Array.from(t[t.length-1]??``)[0]??``;return E(`${n}${t.length>1?r:``}`,`AgentThread actor fallback`)},Oe=e=>{if(e.kind===`human`){E(e.person.id,`AgentThread human id`),E(e.person.name,`AgentThread human name`),E(e.person.role,`AgentThread human role`),e.person.avatarFallback!==void 0&&E(e.person.avatarFallback,`AgentThread human avatarFallback`),e.person.avatarSrc!==void 0&&E(e.person.avatarSrc,`AgentThread human avatarSrc`);return}E(e.id,`AgentThread ${e.kind} id`),E(e.name,`AgentThread ${e.kind} name`),e.kind===`agent`&&(E(e.role,`AgentThread agent role`),e.avatarFallback!==void 0&&E(e.avatarFallback,`AgentThread agent avatarFallback`))},ke=e=>{let t=e.kind===`human`?e.person.name:e.name,n=e.kind===`human`?e.person.role:e.kind===`agent`?e.role:`System event`,r=e.kind===`human`?e.person.avatarFallback??De(t):e.kind===`agent`?e.avatarFallback??De(t):De(t),i=e.kind===`human`?e.person.avatarSrc:void 0;return(0,O.jsxs)(`div`,{className:s(N(`actor`),N(e.kind)),"data-rly-agent-thread-actor":e.kind,children:[(0,O.jsx)(re,{className:N(`avatar`),"data-rly-agent-thread-avatar-form":e.kind===`human`?`circle`:`rounded-square`,decorative:!0,fallback:r,form:e.kind===`human`?`circle`:`rounded-square`,size:`default`,...i===void 0?{}:{src:i}}),(0,O.jsxs)(`span`,{className:N(`actorText`),children:[(0,O.jsx)(`strong`,{children:t}),(0,O.jsx)(`span`,{children:n})]})]})},Ae=({announcement:e,className:t,composer:n,context:r,emptyLabel:i=`No messages yet.`,heading:a,messages:o,...c})=>{let l=E(a,`AgentThread heading`),u=E(i,`AgentThread emptyLabel`);Ee(r,`AgentThread context`),Ee(n,`AgentThread composer`),e!==void 0&&E(e,`AgentThread announcement`);let d=new Set;for(let e of o){let t=E(e.id,`AgentThread message id`);if(d.has(t))throw Error(`AgentThread message ids must be unique: ${t}`);d.add(t),Oe(e.actor),Ee(e.content,`AgentThread message content for ${t}`),E(e.dateTime,`AgentThread message dateTime for ${t}`),E(e.time,`AgentThread message time for ${t}`)}return(0,O.jsxs)(`section`,{...c,className:s(N(`root`),t),"data-rly-agent-thread":``,children:[(0,O.jsxs)(`header`,{className:N(`header`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:N(`agentGlyph`),children:`AI`}),(0,O.jsx)(`h2`,{children:l})]}),(0,O.jsxs)(`div`,{className:N(`context`),"data-rly-agent-thread-context":``,children:[(0,O.jsx)(`span`,{className:N(`conceptLabel`),children:`Exact context`}),r]}),o.length===0?(0,O.jsx)(`p`,{className:N(`empty`),children:u}):(0,O.jsx)(`ol`,{"aria-label":`${l} messages`,className:N(`messages`),children:o.map(e=>(0,O.jsxs)(`li`,{className:N(`message`),"data-rly-agent-thread-message":e.id,children:[(0,O.jsxs)(`div`,{className:N(`messageHead`),children:[ke(e.actor),(0,O.jsx)(`time`,{dateTime:e.dateTime,children:e.time})]}),(0,O.jsx)(`div`,{className:N(`content`),children:e.content}),e.evidence===void 0?null:(0,O.jsx)(`div`,{className:N(`evidence`),"data-rly-agent-thread-evidence":``,children:e.evidence}),e.actions===void 0?null:(0,O.jsx)(`div`,{className:N(`actions`),"data-rly-agent-thread-actions":``,children:e.actions})]},e.id))}),(0,O.jsx)(`p`,{"aria-atomic":`true`,"aria-live":`polite`,className:N(`visuallyHidden`),children:e}),(0,O.jsx)(`div`,{className:N(`composer`),"data-rly-agent-thread-composer":``,children:n})]})},je={root:`rly_Person-module__root`,compact:`rly_Person-module__compact`,defaultSize:`rly_Person-module__defaultSize`,identity:`rly_Person-module__identity`,name:`rly_Person-module__name`,role:`rly_Person-module__role`},Me=e=>i(je,e),Ne=c({size:{compact:{className:Me(`compact`),purpose:`Dense identity row with complete attribution`,tokens:[`space-24`,`type-meta`]},default:{className:Me(`defaultSize`),purpose:`Standard identity row with complete attribution`,tokens:[`space-32`,`type-label`,`type-meta`]}}}),Pe=c({size:`default`}),Fe=e=>{let t=e.trim().split(/\s+/u),n=t[0]??``,r=t[t.length-1]??n,i=Array.from(n),a=i[0]??``,o=t.length>1?Array.from(r)[0]??``:i[1]??``;return E(`${a}${o}`,`Person avatar fallback`)},Ie=e=>(E(e.id,`Person id`),E(e.name,`Person name`),E(e.role,`Person role`),e.avatarFallback!==void 0&&E(e.avatarFallback,`Person avatarFallback`),e.avatarSrc!==void 0&&E(e.avatarSrc,`Person avatarSrc`),e),P=({className:e,person:t,size:n=`default`,...r})=>{let i=Ie(t),a=i.avatarFallback??Fe(i.name);return(0,O.jsxs)(`div`,{...r,className:s(Me(`root`),Ne.size[n].className,e),"data-rly-person-size":n,children:[(0,O.jsx)(re,{decorative:!0,fallback:a,size:n===`compact`?`small`:`default`,...i.avatarSrc===void 0?{}:{src:i.avatarSrc}}),(0,O.jsxs)(`span`,{className:Me(`identity`),children:[(0,O.jsx)(`span`,{className:Me(`name`),children:i.name}),(0,O.jsx)(`span`,{className:Me(`role`),children:i.role})]})]})},Le={root:`rly_PeopleStrip-module__root`,compact:`rly_PeopleStrip-module__compact`,defaultSize:`rly_PeopleStrip-module__defaultSize`,personItem:`rly_PeopleStrip-module__personItem`,controlItem:`rly_PeopleStrip-module__controlItem`,overflow:`rly_PeopleStrip-module__overflow`},Re=e=>i(Le,e),ze=c({size:{compact:{className:Re(`compact`),purpose:`Dense attributed people list for narrow surfaces`,tokens:[`space-8`,`space-40`]},default:{className:Re(`defaultSize`),purpose:`Standard attributed people list`,tokens:[`space-12`,`space-40`]}}}),Be=c({size:`default`}),Ve=e=>{if(!Number.isInteger(e)||e<1)throw Error(`PeopleStrip limit must be a positive integer`);return e},He=e=>{let t=new Set;for(let n of e){let e=E(n.id,`PeopleStrip person id`);if(E(n.name,`PeopleStrip name for ${e}`),E(n.role,`PeopleStrip role for ${e}`),t.has(e))throw Error(`PeopleStrip person ids must be unique: ${e}`);t.add(e)}},Ue=({"aria-label":e,className:t,expanded:n,limit:r=3,onExpandedChange:i,people:a,size:o=`default`,...c})=>{let l=E(e,`PeopleStrip aria-label`),u=Ve(r);He(a);let d=Math.max(a.length-u,0),f=n?a:a.slice(0,u);return(0,O.jsxs)(`ul`,{...c,"aria-label":l,className:s(Re(`root`),ze.size[o].className,t),"data-rly-people-strip-size":o,children:[f.map(e=>(0,O.jsx)(`li`,{className:Re(`personItem`),children:(0,O.jsx)(P,{person:e,size:o})},e.id)),d===0?null:(0,O.jsx)(`li`,{className:Re(`controlItem`),children:(0,O.jsx)(`button`,{"aria-expanded":n,"aria-label":n?`Show fewer people`:`Show ${d} more people`,className:Re(`overflow`),onClick:()=>i(!n),type:`button`,children:n?`Show fewer`:`+${d} people`})})]})},We={root:`rly_CollaboratorGroup-module__root`,compact:`rly_CollaboratorGroup-module__compact`,defaultSize:`rly_CollaboratorGroup-module__defaultSize`,heading:`rly_CollaboratorGroup-module__heading`,lanes:`rly_CollaboratorGroup-module__lanes`,lane:`rly_CollaboratorGroup-module__lane`,laneHeading:`rly_CollaboratorGroup-module__laneHeading`,empty:`rly_CollaboratorGroup-module__empty`},Ge=e=>i(We,e),Ke=c({size:{compact:{className:Ge(`compact`),purpose:`Narrow entity attribution with explicit role lanes`,tokens:[`space-12`,`type-label`]},default:{className:Ge(`defaultSize`),purpose:`Standard entity attribution with explicit role lanes`,tokens:[`space-20`,`type-card-title`]}}}),qe=c({size:`default`}),Je=({approvers:e=[],authors:t=[],className:n,emptyLabel:r=`No collaborators assigned.`,expandedCategories:i,heading:a,limit:o=3,onCategoryExpandedChange:c,operators:l=[],owners:u=[],reviewers:d=[],size:f=`default`,...p})=>{let m=E(a,`CollaboratorGroup heading`),h=E(r,`CollaboratorGroup emptyLabel`),g=`rly-collaborators-${(0,D.useId)()}`,_=new Set(i),v=[{category:`authors`,label:`Authors`,people:t},{category:`owners`,label:`Owners`,people:u},{category:`reviewers`,label:`Reviewers`,people:d},{category:`operators`,label:`Operators`,people:l},{category:`approvers`,label:`Approvers`,people:e}].filter(e=>e.people.length>0);return(0,O.jsxs)(`section`,{...p,"aria-labelledby":g,className:s(Ge(`root`),Ke.size[f].className,n),"data-rly-collaborator-group-size":f,children:[(0,O.jsx)(`h2`,{className:Ge(`heading`),id:g,children:m}),v.length===0?(0,O.jsx)(`p`,{className:Ge(`empty`),children:h}):(0,O.jsx)(`div`,{className:Ge(`lanes`),children:v.map(e=>(0,O.jsxs)(`section`,{className:Ge(`lane`),children:[(0,O.jsx)(`h3`,{className:Ge(`laneHeading`),children:e.label}),(0,O.jsx)(Ue,{"aria-label":`${m}: ${e.label}`,expanded:_.has(e.category),limit:o,onExpandedChange:t=>c(e.category,t),people:e.people,size:f})]},e.category))})]})},Ye={root:`rly_DecisionBar-module__root`,inline:`rly_DecisionBar-module__inline`,sticky:`rly_DecisionBar-module__sticky`,target:`rly_DecisionBar-module__target`,clock:`rly_DecisionBar-module__clock`,actions:`rly_DecisionBar-module__actions`,status:`rly_DecisionBar-module__status`,reason:`rly_DecisionBar-module__reason`,note:`rly_DecisionBar-module__note`},F=e=>i(Ye,e),Xe=c({placement:{inline:{className:F(`inline`),purpose:`In the flow of the detail it decides`,tokens:[`color-text-1`,`color-text-2`]},sticky:{className:F(`sticky`),purpose:`Pinned to the bottom of a phone viewport while its target is open, at thumb reach`,tokens:[`color-canvas`,`color-border-1`]}}}),Ze=c({placement:`inline`}),Qe=({approveLabel:e=`Approve`,className:t,clock:n,note:r,onApprove:i,onReject:a,placement:o=Ze.placement,rejectLabel:c=`Reject`,state:l,status:u,target:d,...f})=>{let m=E(d,`DecisionBar target`),h=(0,D.useId)(),g=`rly-decision-bar-reason-${h}`,_=`rly-decision-bar-status-${h}`,v=l._tag!==`ready`,y=l._tag===`off`?l.reason:void 0,b=l._tag===`sending`?`${l.action===`approve`?e:c} sent; waiting for the server's answer.`:u??``,x=y===void 0?l._tag===`sending`?_:void 0:g,S=e=>()=>{v||e()};return(0,O.jsxs)(`div`,{...f,"aria-busy":l._tag===`sending`?`true`:void 0,className:s(F(`root`),Xe.placement[o].className,t),"data-rly-decision-bar":``,"data-state":l._tag,children:[(0,O.jsxs)(`p`,{className:F(`target`),children:[m,n===void 0?null:(0,O.jsxs)(O.Fragment,{children:[`, `,(0,O.jsx)(`span`,{className:F(`clock`),children:n})]})]}),(0,O.jsxs)(`div`,{className:F(`actions`),children:[(0,O.jsx)(p,{"aria-describedby":x,"aria-disabled":v?!0:void 0,"aria-label":`${e}: ${m}`,onClick:S(i),variant:v?`secondary`:`primary`,children:e}),(0,O.jsx)(p,{"aria-describedby":x,"aria-disabled":v?!0:void 0,"aria-label":`${c}: ${m}`,onClick:S(a),variant:`secondary`,children:c})]}),y===void 0?null:(0,O.jsx)(`p`,{className:F(`reason`),id:g,children:y}),(0,O.jsx)(`p`,{className:F(`status`),id:_,role:`status`,children:b}),r===void 0?null:(0,O.jsx)(`p`,{className:F(`note`),children:r})]})},$e={root:`rly_FreshnessStamp-module__root`,stateWord:`rly_FreshnessStamp-module__stateWord`,time:`rly_FreshnessStamp-module__time`,compact:`rly_FreshnessStamp-module__compact`,defaultSize:`rly_FreshnessStamp-module__defaultSize`,current:`rly_FreshnessStamp-module__current`,cached:`rly_FreshnessStamp-module__cached`,missing:`rly_FreshnessStamp-module__missing`,stale:`rly_FreshnessStamp-module__stale`,unavailable:`rly_FreshnessStamp-module__unavailable`},I=e=>i($e,e),et=c({state:{current:{className:I(`current`),purpose:`Current source observation`,tokens:[`color-success-ink`,`color-success-tint`]},cached:{className:I(`cached`),purpose:`Valid cached source observation`,tokens:[`color-text-2`,`color-surface-2`]},stale:{className:I(`stale`),purpose:`Source observation beyond its supplied freshness threshold`,tokens:[`color-held-ink`,`color-held-tint`]},missing:{className:I(`missing`),purpose:`Provider authoritatively reported no object`,tokens:[`color-text-2`,`color-surface-2`]},unavailable:{className:I(`unavailable`),purpose:`No valid source observation is available`,tokens:[`color-blocked-ink`,`color-blocked-tint`]}},size:{compact:{className:I(`compact`),purpose:`Dense freshness metadata`,tokens:[`type-meta`]},default:{className:I(`defaultSize`),purpose:`Standard freshness metadata`,tokens:[`type-label`,`type-meta`]}}}),tt=c({size:`default`}),nt={current:`Current`,cached:`Cached`,stale:`Stale`,missing:`Missing`,unavailable:`Unavailable`},rt={current:`check`,cached:`clock`,stale:`clock`,missing:`minus`,unavailable:`alert`},L=({className:e,dateTime:t,size:n=`default`,state:r,time:i,...a})=>{let o=i===void 0?void 0:E(i,`FreshnessStamp time`),c=t===void 0?void 0:E(t,`FreshnessStamp dateTime`);return(0,O.jsxs)(`span`,{...a,className:s(I(`root`),et.state[r].className,et.size[n].className,e),"data-rly-freshness-state":r,children:[(0,O.jsxs)(`span`,{className:I(`stateWord`),children:[(0,O.jsx)(ie,{decorative:!0,name:rt[r],size:`small`}),(0,O.jsxs)(`span`,{children:[nt[r],o===void 0||c===void 0?null:`,`]})]}),o===void 0||c===void 0?null:(0,O.jsx)(`time`,{className:I(`time`),dateTime:c,children:o})]})},it={root:`rly_ServiceMark-module__root`,glyph:`rly_ServiceMark-module__glyph`,nameVisible:`rly_ServiceMark-module__nameVisible`,nameHidden:`rly_ServiceMark-module__nameHidden`,name:`rly_ServiceMark-module__name`,compact:`rly_ServiceMark-module__compact`,defaultSize:`rly_ServiceMark-module__defaultSize`,codecommit:`rly_ServiceMark-module__codecommit`,codepipeline:`rly_ServiceMark-module__codepipeline`,jira:`rly_ServiceMark-module__jira`,confluence:`rly_ServiceMark-module__confluence`,clockify:`rly_ServiceMark-module__clockify`},R=e=>i(it,e),at=c({service:{codecommit:{className:R(`codecommit`),purpose:`CodeCommit provenance`,tokens:[`color-service-codecommit`]},codepipeline:{className:R(`codepipeline`),purpose:`CodePipeline provenance`,tokens:[`color-service-codepipeline`]},jira:{className:R(`jira`),purpose:`Jira provenance`,tokens:[`color-service-jira`]},confluence:{className:R(`confluence`),purpose:`Confluence provenance`,tokens:[`color-service-confluence`]},clockify:{className:R(`clockify`),purpose:`Clockify provenance`,tokens:[`color-service-clockify`]}},name:{visible:{className:R(`nameVisible`),purpose:`Provider name printed beside the glyph`,tokens:[`color-text-1`]},hidden:{className:R(`nameHidden`),purpose:`Glyph only, where adjacent text already names the provider; the accessible name stays`,tokens:[]}},size:{compact:{className:R(`compact`),purpose:`Dense provenance metadata`,tokens:[`space-24`,`type-meta`]},default:{className:R(`defaultSize`),purpose:`Standard provenance identity`,tokens:[`space-32`,`type-label`]}}}),ot=c({name:`visible`,size:`default`}),st={codecommit:`CodeCommit`,codepipeline:`CodePipeline`,jira:`Jira`,confluence:`Confluence`,clockify:`Clockify`},ct={codecommit:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`path`,{d:`M6 5.5h7.5a3 3 0 0 1 3 3v7`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`}),(0,O.jsx)(`circle`,{cx:`6`,cy:`5.5`,fill:`currentColor`,r:`2`}),(0,O.jsx)(`circle`,{cx:`16.5`,cy:`17.5`,fill:`currentColor`,r:`2`}),(0,O.jsx)(`path`,{d:`m10 12 2-2 2 2-2 2Z`,fill:`none`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.6`})]}),codepipeline:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`2.5`,y:`9.5`}),(0,O.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`16.5`,y:`9.5`}),(0,O.jsx)(`path`,{d:`M8 12h7m-2.5-2.5L15 12l-2.5 2.5`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`})]}),jira:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`path`,{d:`m12 2.8 8.8 8.8a.6.6 0 0 1 0 .8L12 21.2l-8.8-8.8a.6.6 0 0 1 0-.8Z`,fill:`currentColor`}),(0,O.jsx)(`path`,{d:`m12 7.2 4.8 4.8-4.8 4.8L7.2 12Z`,fill:`var(--rly-color-surface-1)`}),(0,O.jsx)(`path`,{d:`m12 9.8 2.2 2.2-2.2 2.2L9.8 12Z`,fill:`currentColor`})]}),confluence:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`path`,{d:`M4 7.2c3.6 2.1 6.8 2.4 9.6.9L17 6.3l2.7 4.3-3.4 1.8c-4.6 2.4-9.5 1.8-14-1.5Z`,fill:`currentColor`}),(0,O.jsx)(`path`,{d:`M20 16.8c-3.6-2.1-6.8-2.4-9.6-.9L7 17.7l-2.7-4.3 3.4-1.8c4.6-2.4 9.5-1.8 14 1.5Z`,fill:`currentColor`})]}),clockify:()=>(0,O.jsxs)(`svg`,{"aria-hidden":`true`,className:R(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,O.jsx)(`circle`,{cx:`11`,cy:`13`,fill:`none`,r:`7`,stroke:`currentColor`,strokeWidth:`1.8`}),(0,O.jsx)(`path`,{d:`M11 9v4l3 2m1.5-10.7 1.8-1.8M18 7l2-2`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`})]})},z=({className:e,name:t=`visible`,service:n,size:r=`default`,...i})=>{let a=ct[n],o=st[n];return(0,O.jsxs)(`span`,{...i,"aria-label":o,className:s(R(`root`),at.service[n].className,at.name[t].className,at.size[r].className,e),"data-rly-service":n,role:`img`,children:[(0,O.jsx)(a,{}),t===`visible`?(0,O.jsx)(`span`,{"aria-hidden":`true`,className:R(`name`),children:o}):null]})},lt={root:`rly_Verdict-module__root`,verdict:`rly_Verdict-module__verdict`,caution:`rly_Verdict-module__caution`,critical:`rly_Verdict-module__critical`,neutral:`rly_Verdict-module__neutral`,positive:`rly_Verdict-module__positive`,progress:`rly_Verdict-module__progress`,reasonPanel:`rly_Verdict-module__reasonPanel`,icon:`rly_Verdict-module__icon`,reason:`rly_Verdict-module__reason`},B=e=>i(lt,e),ut=c({tone:{caution:{className:B(`caution`),purpose:`Intentional hold or caution requiring attention`,tokens:[`color-held-ink`,`color-held-tint`]},critical:{className:B(`critical`),purpose:`Explicit blocker or failed prerequisite`,tokens:[`color-blocked-ink`,`color-blocked-tint`]},neutral:{className:B(`neutral`),purpose:`Neutral, missing, or unavailable outcome`,tokens:[`color-text-2`,`color-surface-2`]},positive:{className:B(`positive`),purpose:`Satisfied readiness or successful outcome`,tokens:[`color-success-ink`,`color-success-tint`]},progress:{className:B(`progress`),purpose:`Active work or delivery progress`,tokens:[`color-deploying-ink`,`color-deploying-tint`]}}}),dt={caution:`clock`,critical:`alert`,neutral:`minus`,positive:`check`,progress:`loader`},ft=({className:e,reason:t,tone:n,verdict:r,...i})=>{let a=E(t,`Verdict reason`),o=E(r,`Verdict verdict`);return(0,O.jsxs)(`section`,{...i,className:s(B(`root`),ut.tone[n].className,e),"data-rly-verdict-tone":n,children:[(0,O.jsx)(`h2`,{className:B(`verdict`),children:o}),(0,O.jsxs)(`div`,{className:B(`reasonPanel`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:B(`icon`),children:(0,O.jsx)(ie,{decorative:!0,name:dt[n],size:`large`})}),(0,O.jsx)(`p`,{className:B(`reason`),children:a})]})]})},pt={root:`rly_EntityShell-module__root`,navigation:`rly_EntityShell-module__navigation`,header:`rly_EntityShell-module__header`,identity:`rly_EntityShell-module__identity`,title:`rly_EntityShell-module__title`,hero:`rly_EntityShell-module__hero`,body:`rly_EntityShell-module__body`,headerAside:`rly_EntityShell-module__headerAside`,freshness:`rly_EntityShell-module__freshness`,headerSlot:`rly_EntityShell-module__headerSlot`,slotLabel:`rly_EntityShell-module__slotLabel`,content:`rly_EntityShell-module__content`,relationships:`rly_EntityShell-module__relationships`,activity:`rly_EntityShell-module__activity`,asideSlot:`rly_EntityShell-module__asideSlot`,aside:`rly_EntityShell-module__aside`},V=e=>i(pt,e),mt=({actions:e,activity:t,agentEntry:n,className:r,collaborators:i,content:a,evidence:o,facts:c,freshness:l,freshnessDateTime:u,freshnessTime:d,navigation:f,reason:p,relationships:m,service:h,title:g,tone:_,verdict:v,...y})=>{let b=E(g,`EntityShell title`);if(u===void 0!=(d===void 0))throw Error(`EntityShell freshnessDateTime and freshnessTime must be supplied together`);let x=`rly-entity-shell-${(0,D.useId)()}`;return(0,O.jsxs)(`article`,{...y,"aria-labelledby":x,className:s(V(`root`),r),"data-rly-entity-shell":``,children:[f===void 0?null:(0,O.jsx)(`nav`,{"aria-label":`${b} navigation`,className:V(`navigation`),"data-rly-entity-shell-slot":`navigation`,children:f}),(0,O.jsxs)(`header`,{className:V(`header`),children:[(0,O.jsxs)(`div`,{className:V(`identity`),children:[(0,O.jsx)(z,{service:h}),(0,O.jsx)(`h1`,{className:V(`title`),id:x,children:b})]}),(0,O.jsxs)(`div`,{className:V(`hero`),children:[(0,O.jsx)(ft,{reason:p,tone:_,verdict:v}),(0,O.jsxs)(`div`,{className:V(`headerAside`),children:[(0,O.jsxs)(`div`,{className:V(`freshness`),"data-rly-entity-shell-slot":`freshness`,children:[(0,O.jsx)(`span`,{className:V(`slotLabel`),children:`Freshness`}),u===void 0||d===void 0?(0,O.jsx)(L,{state:l}):(0,O.jsx)(L,{dateTime:u,state:l,time:d})]}),(0,O.jsx)(`div`,{className:V(`headerSlot`),"data-rly-entity-shell-slot":`actions`,children:e}),(0,O.jsx)(`div`,{className:V(`headerSlot`),"data-rly-entity-shell-slot":`agent-entry`,children:n})]})]})]}),(0,O.jsxs)(`div`,{className:V(`body`),children:[(0,O.jsx)(`section`,{className:V(`content`),"data-rly-entity-shell-slot":`content`,children:a}),(0,O.jsxs)(`aside`,{className:V(`aside`),children:[c===void 0?null:(0,O.jsx)(`section`,{className:V(`asideSlot`),"data-rly-entity-shell-slot":`facts`,children:c}),o===void 0?null:(0,O.jsx)(`section`,{className:V(`asideSlot`),"data-rly-entity-shell-slot":`evidence`,children:o}),(0,O.jsx)(`section`,{className:V(`asideSlot`),"data-rly-entity-shell-slot":`collaborators`,children:i})]})]}),(0,O.jsx)(`section`,{className:V(`relationships`),"data-rly-entity-shell-slot":`relationships`,children:m}),t===void 0?null:(0,O.jsx)(`section`,{className:V(`activity`),"data-rly-entity-shell-slot":`activity`,children:t})]})},ht={root:`rly_EntityTable-module__root`,defaultDensity:`rly_EntityTable-module__defaultDensity`,compact:`rly_EntityTable-module__compact`,heading:`rly_EntityTable-module__heading`,sectionHeading:`rly_EntityTable-module__sectionHeading`,cardHeading:`rly_EntityTable-module__cardHeading`,headerLabel:`rly_EntityTable-module__headerLabel`,headerSort:`rly_EntityTable-module__headerSort`,sortSelect:`rly_EntityTable-module__sortSelect`,loading:`rly_EntityTable-module__loading`,stateLabel:`rly_EntityTable-module__stateLabel`,table:`rly_EntityTable-module__table`,head:`rly_EntityTable-module__head`,sortControls:`rly_EntityTable-module__sortControls`,sortLabel:`rly_EntityTable-module__sortLabel`,sortButton:`rly_EntityTable-module__sortButton`,cell:`rly_EntityTable-module__cell`,row:`rly_EntityTable-module__row`,body:`rly_EntityTable-module__body`},H=e=>i(ht,e),gt=c({density:{default:{className:H(`defaultDensity`),purpose:`One labelled line per field when the table narrows to cards`,tokens:[`space-12`]},compact:{className:H(`compact`),purpose:`Narrow cards led by the first column, the rest as a two-column label and value grid`,tokens:[`space-8`,`space-2`]}},headingSize:{section:{className:H(`sectionHeading`),purpose:`The table is a page section of its own`,tokens:[`type-section-title`]},card:{className:H(`cardHeading`),purpose:`The table sits in a panel beside other card-titled panels`,tokens:[`type-card-title`]}}}),_t=c({density:`default`,headingSize:`section`}),vt=e=>{let t=new Set;for(let n of e){let e=E(n.id,`EntityTable column id`);if(t.has(e))throw Error(`EntityTable column ids must be unique: ${e}`);t.add(e),E(n.label,`EntityTable column label for ${e}`)}return t},yt=(e,t)=>{let n=new Set;for(let r of e){let e=E(r.id,`EntityTable row id`);if(n.has(e))throw Error(`EntityTable row ids must be unique: ${e}`);n.add(e);let i=new Set;for(let n of r.cells){let r=E(n.columnId,`EntityTable cell column id for ${e}`);if(!t.has(r))throw Error(`EntityTable row ${e} has an unknown column: ${r}`);if(i.has(r))throw Error(`EntityTable row ${e} repeats column: ${r}`);i.add(r)}for(let n of t)if(!i.has(n))throw Error(`EntityTable row ${e} is missing column: ${n}`)}},bt=e=>e.state===`ready`||e.state===`stale`||e.state===`partial`||e.state===`error`||e.state===`unavailable`?e.rows:[],xt=({direction:e})=>e===`none`?null:(0,O.jsx)(ie,{decorative:!0,name:e===`ascending`?`arrow-up`:`arrow-down`,size:`small`}),St=({className:e,columns:t,data:n,density:r=`default`,heading:i,headingSize:a=`section`,onSortChange:o,...c})=>{let l=E(i,`EntityTable heading`),d=vt(t),p=bt(n);if(yt(p,d),n.state===`ready`&&p.length===0)throw Error(`EntityTable ready state must contain at least one row; use the empty state instead`);if(n.state===`loading`){E(n.label,`EntityTable loading label`);let e=n.skeletonRows??3;if(!Number.isInteger(e)||e<1||e>20)throw Error(`EntityTable skeletonRows must be an integer from 1 to 20`)}if((n.state===`empty`||n.state===`not-found`)&&(E(n.title,`EntityTable state title`),n.description!==void 0&&E(n.description,`EntityTable state description`)),(n.state===`stale`||n.state===`partial`||n.state===`error`||n.state===`unavailable`)&&(E(n.title,`EntityTable cached state title`),E(n.description,`EntityTable cached state description`),p.length===0))throw Error(`EntityTable ${n.state} state must retain at least one cached row`);let m=`rly-entity-table-${(0,D.useId)()}`,h=t.filter(e=>e.sortable===!0),g=h.find(e=>e.sortDirection!==`none`),_=new Map(t.map(e=>[e.id,e])),v=n.state===`stale`||n.state===`partial`||n.state===`error`||n.state===`unavailable`?(0,O.jsx)(ee,{description:n.description,title:n.title,tone:n.tone}):null;return(0,O.jsxs)(`section`,{...c,"aria-busy":n.state===`loading`?`true`:void 0,"aria-labelledby":m,className:s(H(`root`),gt.density[r].className,gt.headingSize[a].className,e),"data-rly-entity-table-density":r,"data-rly-entity-table-state":n.state,children:[(0,O.jsx)(`h2`,{className:H(`heading`),id:m,children:l}),n.state===`loading`?(0,O.jsxs)(`div`,{"aria-label":n.label,className:H(`loading`),role:`status`,children:[(0,O.jsx)(`span`,{className:H(`stateLabel`),children:n.label}),Array.from({length:n.skeletonRows??3},(e,t)=>(0,O.jsx)(u,{height:`48px`,variant:`block`},t))]}):n.state===`empty`||n.state===`not-found`?(0,O.jsx)(ee,{description:n.description,title:n.title}):(0,O.jsxs)(O.Fragment,{children:[v,r===`compact`?h.length===0?null:(0,O.jsxs)(`div`,{className:H(`sortSelect`),children:[(0,O.jsx)(f,{"aria-label":`Sort by`,onValueChange:e=>{e!==g?.id&&o(e)},options:h.map(e=>({label:e.sortDirection===`ascending`?`${e.label} ↑`:e.sortDirection===`descending`?`${e.label} ↓`:e.label,value:e.id})),placeholder:`Sort by`,value:g?.id}),g===void 0?null:(0,O.jsx)(w,{icon:g.sortDirection===`ascending`?`arrow-up`:`arrow-down`,label:`Reverse order, currently ${g.sortDirection}`,onClick:()=>o(g.id),variant:`secondary`})]}):(0,O.jsxs)(`div`,{"aria-label":`${l} sorting`,className:H(`sortControls`),role:`group`,children:[(0,O.jsx)(`span`,{className:H(`sortLabel`),children:`Sort`}),h.map(e=>(0,O.jsxs)(`button`,{"aria-label":`Sort by ${e.label}, currently ${e.sortDirection}`,className:H(`sortButton`),onClick:()=>o(e.id),type:`button`,children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(xt,{direction:e.sortDirection})]},e.id))]}),(0,O.jsxs)(`table`,{"aria-labelledby":m,className:H(`table`),children:[(0,O.jsx)(`thead`,{className:H(`head`),children:(0,O.jsx)(`tr`,{children:t.map(e=>(0,O.jsx)(`th`,{"aria-label":e.label,"aria-sort":e.sortable===!0?e.sortDirection:void 0,scope:`col`,children:e.sortable===!0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(`span`,{className:H(`headerLabel`),children:e.label}),(0,O.jsxs)(`button`,{"aria-label":`Sort by ${e.label}, currently ${e.sortDirection}`,className:H(`headerSort`),onClick:()=>o(e.id),type:`button`,children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(xt,{direction:e.sortDirection})]})]}):e.label},e.id))})}),(0,O.jsx)(`tbody`,{className:H(`body`),children:p.map(e=>{let n=new Map(e.cells.map(e=>[e.columnId,e.content]));return(0,O.jsx)(`tr`,{className:H(`row`),"data-rly-entity-row-id":e.id,children:t.map(e=>(0,O.jsx)(`td`,{className:H(`cell`),"data-label":_.get(e.id)?.label,children:n.get(e.id)},e.id))},e.id)})})]})]})]})},Ct={root:`rly_EvidenceStamp-module__root`,source:`rly_EvidenceStamp-module__source`,freshness:`rly_EvidenceStamp-module__freshness`,conceptLabel:`rly_EvidenceStamp-module__conceptLabel`,sourceDetail:`rly_EvidenceStamp-module__sourceDetail`,reference:`rly_EvidenceStamp-module__reference`},wt=e=>i(Ct,e),Tt=({className:e,freshness:t,freshnessDateTime:n,freshnessTime:r,reference:i,service:a,...o})=>{let c=E(i,`EvidenceStamp reference`),l=n===void 0||r===void 0?(0,O.jsx)(L,{size:`compact`,state:t}):(0,O.jsx)(L,{dateTime:n,size:`compact`,state:t,time:r});return(0,O.jsxs)(`div`,{...o,className:s(wt(`root`),e),"data-rly-evidence-stamp":``,children:[(0,O.jsxs)(`div`,{className:wt(`source`),"data-rly-evidence-source":a,children:[(0,O.jsx)(`span`,{className:wt(`conceptLabel`),children:`Evidence source`}),(0,O.jsxs)(`div`,{className:wt(`sourceDetail`),children:[(0,O.jsx)(z,{service:a,size:`compact`}),(0,O.jsx)(`code`,{className:wt(`reference`),children:c})]})]}),(0,O.jsxs)(`div`,{className:wt(`freshness`),"data-rly-evidence-freshness":t,children:[(0,O.jsx)(`span`,{className:wt(`conceptLabel`),children:`Freshness`}),l]})]})},Et={root:`rly_GovernedActionReview-module__root`,header:`rly_GovernedActionReview-module__header`,eyebrow:`rly_GovernedActionReview-module__eyebrow`,heading:`rly_GovernedActionReview-module__heading`,boundary:`rly_GovernedActionReview-module__boundary`,confirmationHelp:`rly_GovernedActionReview-module__confirmationHelp`,reviewer:`rly_GovernedActionReview-module__reviewer`,facts:`rly_GovernedActionReview-module__facts`,evidence:`rly_GovernedActionReview-module__evidence`,outcome:`rly_GovernedActionReview-module__outcome`,proposalReference:`rly_GovernedActionReview-module__proposalReference`,decision:`rly_GovernedActionReview-module__decision`,confirmation:`rly_GovernedActionReview-module__confirmation`,actions:`rly_GovernedActionReview-module__actions`},U=e=>i(Et,e),Dt={pending:{label:`Awaiting human decision`,tone:`caution`},rejected:{label:`Rejected by human reviewer`,tone:`critical`},authorized:{label:`Authorized by human reviewer`,tone:`positive`},executing:{label:`Authorized action executing`,tone:`progress`},succeeded:{label:`Authorized action succeeded`,tone:`positive`},failed:{label:`Authorized action failed`,tone:`critical`},cancelled:{label:`Authorized action cancelled`,tone:`neutral`}},Ot=({authorizeLabel:e=`Authorize exact action`,className:t,confirmationLabel:n,isConfirmed:r,onAuthorize:i,onConfirmationChange:a,onReject:o,outcome:c,proposal:l,rejectLabel:u=`Reject proposal`,reviewer:d,state:f,...m})=>{let h=Ce(l),g=E(e,`GovernedActionReview authorizeLabel`),_=E(n,`GovernedActionReview confirmationLabel`),v=E(u,`GovernedActionReview rejectLabel`);E(d.id,`GovernedActionReview reviewer id`),E(d.name,`GovernedActionReview reviewer name`),E(d.role,`GovernedActionReview reviewer role`);let y=`rly-governed-action-${(0,D.useId)()}`,b=`rly-governed-action-reference-${(0,D.useId)()}`,x=`rly-governed-confirmation-${(0,D.useId)()}`,S=Dt[f],ee=()=>{f===`pending`&&r&&i()};return(0,O.jsxs)(`section`,{...m,"aria-labelledby":`${y} ${b}`,className:s(U(`root`),t),"data-rly-governed-action-state":f,children:[(0,O.jsxs)(`header`,{className:U(`header`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`p`,{className:U(`eyebrow`),children:`Human authorization`}),(0,O.jsx)(`h2`,{className:U(`heading`),id:y,children:`Review exact proposed action`}),(0,O.jsx)(`code`,{className:U(`proposalReference`),id:b,children:h.id})]}),(0,O.jsx)(T,{label:S.label,tone:S.tone})]}),(0,O.jsx)(`p`,{className:U(`boundary`),children:`The agent proposed this action. Only the named human reviewer can authorize it.`}),(0,O.jsxs)(`div`,{className:U(`reviewer`),children:[(0,O.jsx)(`span`,{children:`Human reviewer`}),(0,O.jsx)(P,{person:d})]}),(0,O.jsxs)(`dl`,{className:U(`facts`),children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Proposal`}),(0,O.jsx)(`dd`,{children:h.capability})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Target`}),(0,O.jsx)(`dd`,{children:h.target})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Expected revision`}),(0,O.jsx)(`dd`,{children:h.expectedRevision})]}),(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{children:`Impact`}),(0,O.jsx)(`dd`,{children:h.impact})]})]}),(0,O.jsxs)(`div`,{className:U(`evidence`),"data-rly-governed-action-evidence":``,children:[(0,O.jsx)(`h3`,{children:`Evidence reviewed before decision`}),(0,O.jsx)(`ul`,{children:h.evidence.map(e=>(0,O.jsxs)(`li`,{children:[(0,O.jsx)(`span`,{children:e.label}),(0,O.jsx)(`code`,{children:e.reference})]},e.id))})]}),f===`pending`?(0,O.jsxs)(`form`,{className:U(`decision`),onSubmit:e=>e.preventDefault(),children:[(0,O.jsxs)(`label`,{className:U(`confirmation`),htmlFor:x,children:[(0,O.jsx)(`input`,{checked:r,id:x,onChange:e=>a(e.currentTarget.checked),type:`checkbox`}),(0,O.jsx)(`span`,{children:_})]}),(0,O.jsx)(`p`,{className:U(`confirmationHelp`),children:`Confirm the exact proposal, target, revision, impact, and evidence above.`}),(0,O.jsxs)(`div`,{className:U(`actions`),children:[(0,O.jsx)(p,{onClick:o,variant:`secondary`,children:v}),(0,O.jsx)(p,{disabled:!r,onClick:ee,variant:`primary`,children:g})]})]}):null,(0,O.jsxs)(`div`,{className:U(`outcome`),"data-rly-governed-action-outcome":``,children:[(0,O.jsx)(`h3`,{children:`Recorded outcome`}),c]})]})},kt={root:`rly_Hero-module__root`,fact:`rly_Hero-module__fact`,caption:`rly_Hero-module__caption`,heading:`rly_Hero-module__heading`,line:`rly_Hero-module__line`,text:`rly_Hero-module__text`,display:`rly_Hero-module__display`,word:`rly_Hero-module__word`,blocked:`rly_Hero-module__blocked`,held:`rly_Hero-module__held`},W=e=>i(kt,e),At=c({size:{heading:{className:W(`heading`),purpose:`The page's one fact as a sentence at heading size, with its caption below`,tokens:[`type-card-title-size`,`color-text-1`,`color-text-2`]},line:{className:W(`line`),purpose:`The same fact folded to one line, when a detail with its own figure sits beside the list`,tokens:[`type-body-size`,`color-text-1`,`color-text-2`]},display:{className:W(`display`),purpose:`Read from across a room (a wall or desk board); not for ordinary screens`,tokens:[`type-page-title-size`,`color-text-1`,`color-text-2`]}}}),jt=c({size:`heading`}),Mt=c({tone:{blocked:{className:W(`blocked`),purpose:`Can't proceed, failed, or can't decide`,tokens:[`color-blocked-ink`]},held:{className:W(`held`),purpose:`Degraded or waiting, but still working`,tokens:[`color-held-ink`]}}}),Nt=({caption:e,className:t,fact:n,label:r=`Summary`,size:i=jt.size,...a})=>{let o=s(W(`root`),At.size[i].className,t);return i===`line`?(0,O.jsx)(`section`,{...a,"aria-label":r,className:o,"data-rly-hero":``,children:(0,O.jsxs)(`p`,{className:W(`text`),children:[(0,O.jsx)(`strong`,{className:W(`fact`),children:n}),e===void 0?null:(0,O.jsxs)(O.Fragment,{children:[` `,(0,O.jsx)(`span`,{className:W(`caption`),children:e})]})]})}):(0,O.jsxs)(`section`,{...a,"aria-label":r,className:o,"data-rly-hero":``,children:[(0,O.jsx)(`p`,{className:W(`fact`),children:n}),e===void 0?null:(0,O.jsx)(`p`,{className:W(`caption`),children:e})]})},Pt=({children:e,className:t,tone:n,...r})=>(0,O.jsx)(`span`,{...r,className:s(W(`word`),Mt.tone[n].className,t),children:e}),Ft={root:`rly_Region-module__root`,default:`rly_Region-module__default`,tray:`rly_Region-module__tray`,header:`rly_Region-module__header`,title:`rly_Region-module__title`,count:`rly_Region-module__count`,actions:`rly_Region-module__actions`,body:`rly_Region-module__body`},It=e=>i(Ft,e),Lt=c({tone:{default:{className:It(`default`),purpose:`A main page region: list, detail or chart`,tokens:[`color-surface-1`,`color-border-1`]},tray:{className:It(`tray`),purpose:`A region holding individually actionable cards, one surface step down so the cards stand out`,tokens:[`color-surface-2`,`color-border-1`]}}}),Rt=c({tone:`default`}),zt=({actions:e,children:t,className:n,count:r,headingId:i,headingLevel:a=2,title:o,tone:c=Rt.tone,...l})=>{let u=E(o,`Region title`),d=`rly-region-${(0,D.useId)()}`,f=i??d,p=a===3?`h3`:`h2`;return(0,O.jsxs)(`section`,{...l,"aria-labelledby":f,className:s(It(`root`),Lt.tone[c].className,n),"data-rly-region":``,children:[(0,O.jsxs)(`header`,{className:It(`header`),children:[(0,O.jsxs)(p,{className:It(`title`),id:f,tabIndex:-1,children:[u,r===void 0?null:(0,O.jsxs)(O.Fragment,{children:[` `,(0,O.jsx)(`span`,{className:It(`count`),children:r})]})]}),e===void 0?null:(0,O.jsx)(`div`,{className:It(`actions`),children:e})]}),(0,O.jsx)(`div`,{className:It(`body`),children:t})]})},Bt={missing:{icon:`alert`,label:`Missing`},inferred:{icon:`search`,label:`Inferred`},proposed:{icon:`plus`,label:`Proposed`},verified:{icon:`check`,label:`Verified`},governed:{icon:`link`,label:`Governed`},rejected:{icon:`close`,label:`Rejected`},superseded:{icon:`arrow-right`,label:`Superseded`}},Vt={forward:{arrow:`→`,label:`Forward`},reverse:{arrow:`←`,label:`Reverse`},bidirectional:{arrow:`↔`,label:`Bidirectional`}},Ht=(e,t)=>{E(e.id,`${t} person id`),E(e.name,`${t} person name`),E(e.role,`${t} person role`),e.avatarFallback!==void 0&&E(e.avatarFallback,`${t} person avatarFallback`),e.avatarSrc!==void 0&&E(e.avatarSrc,`${t} person avatarSrc`)},Ut=(e,t)=>{if(!Object.hasOwn(at.service,e))throw Error(`${t} service must be a supported rly service`)},Wt=(e,t)=>{if(e.state===`present`){E(e.id,`${t} id`),E(e.title,`${t} title`),E(e.reference,`${t} reference`),Ut(e.service,t),e.href!==void 0&&E(e.href,`${t} href`),e.person!==void 0&&Ht(e.person,t);return}if(e.state===`missing`){E(e.label,`${t} missing label`),E(e.reason,`${t} missing reason`),e.service!==void 0&&Ut(e.service,t);return}throw Error(`${t} state must be present or missing`)},Gt=e=>{let t=new Set;for(let n of e){let e=E(n.id,`Relationship id`);if(t.has(e))throw Error(`Relationship ids must be unique: ${e}`);if(t.add(e),E(n.kind,`Relationship kind for ${e}`),!Object.hasOwn(Vt,n.direction))throw Error(`Relationship direction for ${e} must be supported`);if(!Object.hasOwn(Bt,n.lifecycle))throw Error(`Relationship lifecycle for ${e} must be supported`);Wt(n.source,`Relationship ${e} source`),Wt(n.target,`Relationship ${e} target`),n.evidence!==void 0&&E(n.evidence,`Relationship evidence for ${e}`),n.actor!==void 0&&Ht(n.actor,`Relationship ${e} actor`)}},Kt={root:`rly_RelationshipChain-module__root`,heading:`rly_RelationshipChain-module__heading`,empty:`rly_RelationshipChain-module__empty`,list:`rly_RelationshipChain-module__list`,item:`rly_RelationshipChain-module__item`,endpoint:`rly_RelationshipChain-module__endpoint`,endpointLink:`rly_RelationshipChain-module__endpointLink`,identity:`rly_RelationshipChain-module__identity`,missingIdentity:`rly_RelationshipChain-module__missingIdentity`,title:`rly_RelationshipChain-module__title`,missingLabel:`rly_RelationshipChain-module__missingLabel`,kind:`rly_RelationshipChain-module__kind`,reference:`rly_RelationshipChain-module__reference`,direction:`rly_RelationshipChain-module__direction`,evidence:`rly_RelationshipChain-module__evidence`,fieldLabel:`rly_RelationshipChain-module__fieldLabel`,missingEndpoint:`rly_RelationshipChain-module__missingEndpoint`,relationship:`rly_RelationshipChain-module__relationship`,arrow:`rly_RelationshipChain-module__arrow`,actor:`rly_RelationshipChain-module__actor`},G=e=>i(Kt,e),qt=({endpoint:e})=>{if(e.state===`missing`)return(0,O.jsxs)(`div`,{className:s(G(`endpoint`),G(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,O.jsx)(z,{service:e.service,size:`compact`}),(0,O.jsxs)(`span`,{className:G(`missingIdentity`),children:[(0,O.jsxs)(`span`,{className:G(`missingLabel`),children:[(0,O.jsx)(ie,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,O.jsx)(`span`,{className:G(`reference`),children:e.reason})]})]});let t=(0,O.jsxs)(`span`,{className:G(`identity`),children:[(0,O.jsx)(`span`,{className:G(`title`),children:e.title}),(0,O.jsx)(`span`,{className:G(`reference`),children:e.reference})]});return(0,O.jsxs)(`div`,{className:G(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,O.jsx)(z,{service:e.service,size:`compact`}),e.href===void 0?t:(0,O.jsx)(ce,{className:G(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,O.jsx)(P,{person:e.person,size:`compact`})]})},Jt=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=E(n,`RelationshipChain heading`),o=E(t,`RelationshipChain emptyLabel`);Gt(r);let c=`${(0,D.useId)()}-heading`;return(0,O.jsxs)(`section`,{...i,"aria-labelledby":c,className:s(G(`root`),e),children:[(0,O.jsx)(`h2`,{className:G(`heading`),id:c,children:a}),r.length===0?(0,O.jsx)(`p`,{className:G(`empty`),children:o}):(0,O.jsx)(`ol`,{className:G(`list`),children:r.map(e=>{let t=Vt[e.direction],n=Bt[e.lifecycle];return(0,O.jsxs)(`li`,{className:G(`item`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,O.jsx)(qt,{endpoint:e.source}),(0,O.jsxs)(`div`,{className:G(`relationship`),"data-rly-relationship-detail":``,children:[(0,O.jsxs)(`span`,{className:G(`direction`),children:[(0,O.jsx)(`span`,{children:t.label}),(0,O.jsx)(`span`,{"aria-hidden":`true`,className:G(`arrow`),children:t.arrow})]}),(0,O.jsx)(`span`,{className:G(`kind`),children:e.kind}),(0,O.jsx)(T,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,O.jsxs)(`div`,{className:G(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,O.jsx)(`span`,{className:G(`fieldLabel`),children:`Actor`}),(0,O.jsx)(P,{person:e.actor,size:`compact`})]})]}),(0,O.jsx)(qt,{endpoint:e.target}),(0,O.jsxs)(`p`,{className:G(`evidence`),children:[(0,O.jsx)(`span`,{className:G(`fieldLabel`),children:`Evidence`}),(0,O.jsx)(`span`,{"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})]})]},e.id)})})]})},Yt={root:`rly_RelationshipTable-module__root`,heading:`rly_RelationshipTable-module__heading`,empty:`rly_RelationshipTable-module__empty`,table:`rly_RelationshipTable-module__table`,head:`rly_RelationshipTable-module__head`,cell:`rly_RelationshipTable-module__cell`,endpoint:`rly_RelationshipTable-module__endpoint`,identity:`rly_RelationshipTable-module__identity`,relationship:`rly_RelationshipTable-module__relationship`,actor:`rly_RelationshipTable-module__actor`,endpointLink:`rly_RelationshipTable-module__endpointLink`,title:`rly_RelationshipTable-module__title`,missingLabel:`rly_RelationshipTable-module__missingLabel`,kind:`rly_RelationshipTable-module__kind`,reference:`rly_RelationshipTable-module__reference`,direction:`rly_RelationshipTable-module__direction`,evidence:`rly_RelationshipTable-module__evidence`,fieldLabel:`rly_RelationshipTable-module__fieldLabel`,missingEndpoint:`rly_RelationshipTable-module__missingEndpoint`,arrow:`rly_RelationshipTable-module__arrow`,body:`rly_RelationshipTable-module__body`,row:`rly_RelationshipTable-module__row`},K=e=>i(Yt,e),Xt=({endpoint:e})=>{if(e.state===`missing`)return(0,O.jsxs)(`div`,{className:s(K(`endpoint`),K(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,O.jsx)(z,{service:e.service,size:`compact`}),(0,O.jsxs)(`span`,{className:K(`identity`),children:[(0,O.jsxs)(`span`,{className:K(`missingLabel`),children:[(0,O.jsx)(ie,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,O.jsx)(`span`,{className:K(`reference`),children:e.reason})]})]});let t=(0,O.jsxs)(`span`,{className:K(`identity`),children:[(0,O.jsx)(`span`,{className:K(`title`),children:e.title}),(0,O.jsx)(`span`,{className:K(`reference`),children:e.reference})]});return(0,O.jsxs)(`div`,{className:K(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,O.jsx)(z,{service:e.service,size:`compact`}),e.href===void 0?t:(0,O.jsx)(ce,{className:K(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,O.jsx)(P,{person:e.person,size:`compact`})]})},Zt=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=E(n,`RelationshipTable heading`),o=E(t,`RelationshipTable emptyLabel`);Gt(r);let c=`${(0,D.useId)()}-heading`;return(0,O.jsxs)(`section`,{...i,"aria-labelledby":c,className:s(K(`root`),e),children:[(0,O.jsx)(`h2`,{className:K(`heading`),id:c,children:a}),r.length===0?(0,O.jsx)(`p`,{className:K(`empty`),children:o}):(0,O.jsxs)(`table`,{"aria-labelledby":c,className:K(`table`),children:[(0,O.jsx)(`thead`,{className:K(`head`),children:(0,O.jsxs)(`tr`,{children:[(0,O.jsx)(`th`,{scope:`col`,children:`Source`}),(0,O.jsx)(`th`,{scope:`col`,children:`Relationship`}),(0,O.jsx)(`th`,{scope:`col`,children:`Target`}),(0,O.jsx)(`th`,{scope:`col`,children:`Evidence`})]})}),(0,O.jsx)(`tbody`,{className:K(`body`),children:r.map(e=>{let t=Vt[e.direction],n=Bt[e.lifecycle];return(0,O.jsxs)(`tr`,{className:K(`row`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Source`,children:(0,O.jsx)(Xt,{endpoint:e.source})}),(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Relationship`,children:(0,O.jsxs)(`div`,{className:K(`relationship`),"data-rly-relationship-detail":``,children:[(0,O.jsxs)(`span`,{className:K(`direction`),children:[(0,O.jsx)(`span`,{children:t.label}),(0,O.jsx)(`span`,{"aria-hidden":`true`,className:K(`arrow`),children:t.arrow})]}),(0,O.jsx)(`span`,{className:K(`kind`),children:e.kind}),(0,O.jsx)(T,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,O.jsxs)(`div`,{className:K(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,O.jsx)(`span`,{className:K(`fieldLabel`),children:`Actor`}),(0,O.jsx)(P,{person:e.actor,size:`compact`})]})]})}),(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Target`,children:(0,O.jsx)(Xt,{endpoint:e.target})}),(0,O.jsx)(`td`,{className:K(`cell`),"data-label":`Evidence`,children:(0,O.jsx)(`span`,{className:K(`evidence`),"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})})]},e.id)})})]})]})},Qt={root:`rly_RelayDock-module__root`,trigger:`rly_RelayDock-module__trigger`,close:`rly_RelayDock-module__close`,mark:`rly_RelayDock-module__mark`,markLine:`rly_RelayDock-module__markLine`,markGlyph:`rly_RelayDock-module__markGlyph`,layer:`rly_RelayDock-module__layer`,overlay:`rly_RelayDock-module__overlay`,panel:`rly_RelayDock-module__panel`,sheet:`rly_RelayDock-module__sheet`,rail:`rly_RelayDock-module__rail`,railHeader:`rly_RelayDock-module__railHeader`,railHeading:`rly_RelayDock-module__railHeading`,title:`rly_RelayDock-module__title`,description:`rly_RelayDock-module__description`,fixedContext:`rly_RelayDock-module__fixedContext`,contents:`rly_RelayDock-module__contents`,context:`rly_RelayDock-module__context`,selection:`rly_RelayDock-module__selection`,sectionLabel:`rly_RelayDock-module__sectionLabel`,chipList:`rly_RelayDock-module__chipList`,chip:`rly_RelayDock-module__chip`,chipLabel:`rly_RelayDock-module__chipLabel`,chipValue:`rly_RelayDock-module__chipValue`,selectionGrid:`rly_RelayDock-module__selectionGrid`,body:`rly_RelayDock-module__body`,ready:`rly_RelayDock-module__ready`,state:`rly_RelayDock-module__state`,footer:`rly_RelayDock-module__footer`},q=e=>i(Qt,e),$t=`(max-width: 40rem), (max-height: 40rem) and (pointer: coarse)`,en=[`a[href]`,`button:not([disabled])`,`iframe:not([tabindex="-1"])`,`input:not([disabled])`,`select:not([disabled])`,`details > summary:first-of-type`,`textarea:not([disabled])`,`[contenteditable]:not([contenteditable="false"])`,`[tabindex]:not([tabindex="-1"])`].join(`,`),tn=`button, fieldset, input, object, optgroup, option, output, select, textarea`,nn=e=>`activeElement`in e,rn=e=>`host`in e&&r(e.host),an=e=>{let t=e.activeElement;return t===null?null:t.shadowRoot===null?t:an(t.shadowRoot)??t},on=e=>{let t=e.getRootNode();return nn(t)?an(t):e.ownerDocument.activeElement},sn=e=>{let t=e.getRootNode();return rn(t)&&C(t.host)?t.host:null},cn=e=>`assignedSlot`in e,ln=e=>e.nodeType===1,un=(e,t)=>{if(t!==void 0&&t.has(e)){let n=t.get(e);return n!=null&&ln(n)?n:null}return(cn(e)?e.assignedSlot:null)??e.parentElement??sn(e)},dn=(e,t,n)=>{if(t===null)return!1;if(e.contains(t))return!0;let r=new Set,i=t;for(;!r.has(i);){r.add(i);let t=un(i,n);if(t===null)return!1;if(t===e||e.contains(t))return!0;i=t}return!1},fn=(e,t)=>dn(e,t),pn=e=>{let t=e.activeElement;return C(t)?t.shadowRoot===null?t:pn(t.shadowRoot)??t:null},mn=e=>{let t=pn(e);return t===e.body||t===e.documentElement?null:t},hn=(e,t)=>{if(e.matches(`:disabled`))return!1;let n=e.ownerDocument.defaultView;if(n===null)return!C(e)||e.hidden===!1;let r=n.getComputedStyle(e).visibility;if(r===`hidden`||r===`collapse`)return!1;let i=e;for(;i!==null;){if(C(i)&&i.inert)return!1;if(i.tagName===`DETAILS`&&!i.hasAttribute(`open`)){let n=i.querySelector(`:scope > summary:first-of-type`);if(n===null||!dn(n,e,t))return!1}if(i!==e&&i.tagName===`FIELDSET`&&i.hasAttribute(`disabled`)&&e.matches(tn)){let n=i.querySelector(`:scope > legend:first-of-type`);if(n===null||!dn(n,e,t))return!1}let r=n.getComputedStyle(i);if(C(i)&&i.hidden!==!1||r.display===`none`||i===e&&r.display===`contents`||i!==e&&r.contentVisibility===`hidden`)return!1;i=un(i,t)}return!0},gn=(e,t)=>{let n=e.getRootNode(),r=new Set,i=un(e,t);for(;i!==null&&!r.has(i);){if(r.add(i),i.getRootNode()!==n)return!1;if(C(i)&&i.isContentEditable)return!0;i=un(i,t)}return!1},_n=e=>C(e)&&e.tagName===`INPUT`&&e.getAttribute(`type`)?.toLowerCase()===`radio`,vn=e=>`tabIndex`in e&&a(e.tabIndex),yn=`http://www.w3.org/2000/svg`,bn=e=>{if(e.namespaceURI===yn&&e.localName===`a`&&e.hasAttribute(`href`)){let t=e.getAttribute(`tabindex`);if(t===null)return 0;let n=Number.parseInt(t,10);return Number.isNaN(n)?0:n}return vn(e)?e.tabIndex:null},xn=e=>e.tagName===`SLOT`&&`assignedElements`in e,Sn=e=>xn(e)&&rn(e.getRootNode()),Cn=(e,t)=>{let n=bn(e)??-1,r=bn(t)??-1,i=n>0,a=r>0;return i===a?i&&a&&n!==r?n-r:0:i?-1:1},wn=e=>{let t=bn(e);return t!==null&&e.hasAttribute(`tabindex`)&&t<0},Tn=e=>wn(e)&&(xn(e)||C(e)&&e.shadowRoot?.delegatesFocus===!0),En=(e,t,n,r)=>{if(e.name.length===0)return!0;let i=n.filter(({element:n,nativeRoot:i})=>i===t&&_n(n)&&n.name===e.name&&n.form===e.form&&hn(n,r)).map(({element:e})=>e).filter(_n).find(e=>e.checked);return i===void 0?e.tabIndex>=0:i===e},Dn=e=>{let t=(e,r,i)=>{let a=[],o=new Map,s=(e,i)=>{if(a.push({composedParent:i,element:e,focusScope:r,nativeRoot:e.getRootNode()}),Sn(e)){let n=e.assignedNodes({flatten:!1}),r=e.assignedElements({flatten:!1}),i=[...e.children];o.set(e,t(n.length>0?r:i,e,e));return}if(xn(e)){o.set(e,t([...e.children],e,e));return}if(e.shadowRoot!==null&&(!wn(e)||e.shadowRoot.delegatesFocus===!0))o.set(e,n(e.shadowRoot,e.shadowRoot,e));else if(e.shadowRoot===null)for(let t of e.children)s(t,e)};for(let t of e)s(t,i);return{entries:a,nested:o}},n=(e,n,r)=>t([...e.children],n,r),r=e=>{let t=[...e.entries].sort((e,t)=>Cn(e.element,t.element)),n=[];for(let i of t){n.push(i);let t=e.nested.get(i.element);if(t!==void 0)for(let e of r(t))n.push(e)}return n};return r(n(e,e,e))},On=(e,t,n)=>t.filter(r=>{let{element:i,nativeRoot:a}=r;if(i.tagName===`SLOT`)return!1;let o=bn(i);if(o===null)return!1;let s=i,c=new Set;for(;!c.has(s);){c.add(s);let t=un(s,n);if(t===null||t===e)break;if(Tn(t))return!1;s=t}return!i.matches(en)||i.shadowRoot?.delegatesFocus===!0||!hn(i,n)||_n(i)&&!En(i,a,t,n)?!1:o>=0||C(i)&&i.isContentEditable&&!i.hasAttribute(`tabindex`)&&!gn(i,n)||i.matches(`details > summary:first-of-type`)&&!wn(i)}).map(({element:e})=>e),kn=e=>r(e)&&`tagName`in e&&e.tagName===`IFRAME`&&`contentDocument`in e,An=e=>r(e)&&`nodeType`in e&&e.nodeType===1,jn=e=>[...e.querySelectorAll(en)].filter(e=>{let t=bn(e);return t!==null&&t>=0||C(e)&&e.isContentEditable&&!e.hasAttribute(`tabindex`)&&!gn(e,new Map)}),Mn=e=>{let t=e.ownerDocument,n=new Map,r=(t,n)=>{let r=Dn(e),i=On(e,r,new Map(r.map(({composedParent:e,element:t})=>[t,e]))),a=i.findIndex(e=>e===t),o=n?i[i.length-1]:i[0];((a<0?void 0:i[a+(n?-1:1)])??o)?.focus()},i=e=>{let t=n.get(e),i=e.contentDocument;if(t?.frameDocument!==null&&t?.frameDocument!==void 0&&t.frameDocument.removeEventListener(`keydown`,t.onKeyDown,!0),t===void 0)return;if(i===null){n.set(e,{...t,frameDocument:null});return}let a=t=>{if(t.defaultPrevented||t.key!==`Tab`)return;let n=jn(i),a=An(t.target)?t.target:i.activeElement,o=n[0],s=n[n.length-1];(t.shiftKey?a===o:a===s)&&(t.preventDefault(),r(e,t.shiftKey))};i.addEventListener(`keydown`,a,!0),n.set(e,{...t,frameDocument:i,onKeyDown:a})},a=e=>{if(n.has(e)){i(e);return}let t=()=>i(e);n.set(e,{frameDocument:null,onKeyDown:()=>void 0,onLoad:t}),e.addEventListener(`load`,t),i(e)},o=()=>{for(let{element:t}of Dn(e))t.tagName===`IFRAME`&&kn(t)&&a(t)},s=e=>{kn(e.target)&&a(e.target)};t.addEventListener(`focusin`,s,!0),o();let c=t.defaultView?.MutationObserver,l=c===void 0?null:new c(o);return l?.observe(e,{childList:!0,subtree:!0}),()=>{t.removeEventListener(`focusin`,s,!0),l?.disconnect();for(let[e,t]of n)e.removeEventListener(`load`,t.onLoad),t.frameDocument!==null&&t.frameDocument.removeEventListener(`keydown`,t.onKeyDown,!0)}},Nn=(e,t)=>{if(e===null||!(`matchMedia`in e))return()=>void 0;let n=e.matchMedia($t);return n.addEventListener(`change`,t),()=>n.removeEventListener(`change`,t)},Pn=e=>e!==null&&`matchMedia`in e&&e.matchMedia($t).matches,Fn=()=>!1,In=e=>{let t=(0,D.useCallback)(t=>Nn(e,t),[e]),n=(0,D.useCallback)(()=>Pn(e),[e]);return(0,D.useSyncExternalStore)(t,n,Fn)},Ln=()=>(0,O.jsxs)(`span`,{"aria-hidden":`true`,className:q(`mark`),children:[(0,O.jsx)(`span`,{className:q(`markLine`)}),(0,O.jsx)(`svg`,{className:q(`markGlyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})]}),Rn=({context:e,labelId:t})=>{if(e.length===0)throw Error(`RelayDock context must contain at least one chip`);let n=new Set;return(0,O.jsxs)(`section`,{"aria-labelledby":t,className:q(`context`),children:[(0,O.jsx)(`h2`,{className:q(`sectionLabel`),id:t,children:`Context`}),(0,O.jsx)(`ul`,{className:q(`chipList`),children:e.map(e=>{let t=E(e.id,`RelayDock context chip id`);if(n.has(t))throw Error(`Duplicate RelayDock context chip id: ${t}`);return n.add(t),(0,O.jsxs)(`li`,{className:q(`chip`),"data-rly-relay-dock-context":t,children:[(0,O.jsx)(`span`,{className:q(`chipLabel`),children:E(e.label,`RelayDock context chip label`)}),(0,O.jsx)(`span`,{className:q(`chipValue`),children:E(e.value,`RelayDock context chip value`)})]},t)})})]})},zn=({labelId:e,selection:t})=>{let n=(0,D.useId)(),r=(0,D.useId)();return(0,O.jsxs)(`section`,{"aria-labelledby":e,className:q(`selection`),children:[(0,O.jsx)(`h2`,{className:q(`sectionLabel`),id:e,children:`Run with`}),(0,O.jsxs)(`div`,{className:q(`selectionGrid`),children:[(0,O.jsx)(_,{controlId:`rly-relay-dock-profile-${n}`,label:`Profile`,size:`compact`,children:e=>(0,O.jsx)(f,{...e,...t.profile.disabled===void 0?{}:{disabled:t.profile.disabled},onValueChange:t.profile.onValueChange,options:t.profile.options,size:`compact`,value:t.profile.value})}),(0,O.jsx)(_,{controlId:`rly-relay-dock-model-${r}`,label:`Model`,size:`compact`,children:e=>(0,O.jsx)(f,{...e,...t.model.disabled===void 0?{}:{disabled:t.model.disabled},onValueChange:t.model.onValueChange,options:t.model.options,size:`compact`,value:t.model.value})})]})]})},Bn=({state:e})=>{if(e.status===`ready`)return(0,O.jsx)(`section`,{"aria-live":`polite`,className:q(`ready`),"data-rly-relay-dock-state":`ready`,children:e.content});let t=e.status===`error`?`assertive`:`polite`,n=e.status===`loading`?`progress`:e.status===`error`?`critical`:`neutral`;return(0,O.jsx)(ee,{action:`action`in e?e.action:void 0,announce:t,className:q(`state`),"data-rly-relay-dock-state":e.status,description:e.description,title:E(e.title,`RelayDock ${e.status} title`),tone:n})},Vn=({context:e,footer:t,selection:n,state:r})=>{let i=(0,D.useId)(),a=(0,D.useId)();return(0,O.jsxs)(`div`,{className:q(`contents`),"data-rly-relay-dock-scroll":``,children:[(0,O.jsxs)(`div`,{className:q(`fixedContext`),children:[(0,O.jsx)(Rn,{context:e,labelId:i}),(0,O.jsx)(zn,{labelId:a,selection:n})]}),(0,O.jsx)(`section`,{"aria-label":`Relay thread`,className:q(`body`),tabIndex:0,children:(0,O.jsx)(Bn,{state:r})}),t==null?null:(0,O.jsx)(`footer`,{className:q(`footer`),children:t})]})},Hn=({restoreDocument:e,restoreTarget:t,target:n})=>{let r=(0,D.useRef)(!1);return(0,D.useLayoutEffect)(()=>{let i=n.current;i!==null&&(r.current||=(t.current=mn(e??i.ownerDocument),!0),i.focus())},[e,t,n]),null},Un=({children:e,modal:t,modalLayer:n})=>{let r=(0,D.useRef)(null);return v(),b(r,t),g(r,t),(0,O.jsx)(`div`,{className:q(`layer`),"data-rly-modal-layer":n?``:void 0,"data-rly-relay-dock-modal":t?`true`:`false`,ref:r,children:e})},Wn=({closeRef:e,compactViewport:t,context:n,description:r,footer:i,headingId:a,modal:o,onClose:c,parentModalPresent:l,restoreDocument:u,restoreTargetRef:f,selection:p,state:m,title:h})=>{let g=`${a}-description`,_=(0,D.useRef)(null);(0,D.useLayoutEffect)(()=>{let e=_.current;if(o&&e!==null)return Mn(e)},[o]);let v=e=>{let t=e.currentTarget;if(!e.nativeEvent.composedPath().includes(t)||e.defaultPrevented)return;if(e.key===`Escape`){if(e.nativeEvent.isComposing)return;e.stopPropagation(),c();return}if(!o||e.key!==`Tab`)return;let n=Dn(t),r=new Map(n.map(({composedParent:e,element:t})=>[t,e])),i=e=>{let t=new Set,n=e;for(;!t.has(n);){t.add(n);let e=un(n,r);if(e===null)return null;if(C(e)&&e.shadowRoot?.delegatesFocus===!0)return e;n=e}return null},a=On(t,n,r),s=a[0]??t,l=a[a.length-1]??t,u=on(t),d=new Set(a),f=u!==null&&fn(t,u)&&!a.some(e=>e===u),p=e=>{let t=new Set,i=e;for(;!t.has(i);){t.add(i);let e=n.findIndex(({element:e})=>e===i);if(e>=0)return e;let a=un(i,r);if(a===null)return-1;i=a}return-1},m=f&&u!==null?i(u):null,h=f&&u!==null?p(u):-1,g=f?(e=>{if(h<0)return null;for(let t=h+e;t>=0&&t<n.length;t+=e){let e=n[t]?.element;if(e!==void 0&&d.has(e)&&vn(e))return e}return null})(e.shiftKey?-1:1):null,_=m!==null&&g!==null&&dn(m,g,r),v=f&&!_&&(g===null||!fn(t,g)),y=e.shiftKey&&(u===s||!fn(t,u)||_||v),b=!e.shiftKey&&(u===l||!fn(t,u)||_||v);(y||b)&&(e.preventDefault(),(_&&g!==null?g:e.shiftKey?l:s).focus())};return(0,O.jsx)(ae,{children:y=>(0,O.jsx)(d,{container:y,children:(0,O.jsxs)(Un,{modal:o,modalLayer:o||l,children:[o?(0,O.jsx)(`div`,{"aria-hidden":`true`,className:q(`overlay`),"data-rly-relay-dock-overlay":``,onPointerDown:c}):null,(0,O.jsxs)(`section`,{"aria-describedby":g,"aria-labelledby":a,"aria-modal":o?!0:void 0,className:s(q(`panel`),q(o?`sheet`:`rail`)),"data-rly-relay-dock-presentation":t?`mobile-sheet`:o?`overlay`:`rail`,onKeyDown:v,ref:_,role:o?`dialog`:`complementary`,tabIndex:-1,children:[(0,O.jsxs)(`header`,{className:q(`railHeader`),children:[(0,O.jsxs)(`div`,{className:q(`railHeading`),children:[(0,O.jsx)(`h1`,{className:q(`title`),id:a,children:h}),(0,O.jsx)(`p`,{className:q(`description`),id:g,children:r})]}),(0,O.jsx)(`button`,{"aria-label":`Close ${h}`,className:q(`close`),onClick:c,ref:e,type:`button`,children:(0,O.jsx)(ie,{decorative:!0,name:`close`})})]}),(0,O.jsx)(Hn,{restoreDocument:u,restoreTarget:f,target:e}),(0,O.jsx)(Vn,{context:n,footer:i,selection:p,state:m})]})]})})})},Gn=e=>{let{className:t,context:n,defaultOpen:r=!1,description:i=`Ask in this context or prepare approval-bound work.`,desktopPresentation:a=`overlay`,footer:o,onOpenChange:c,open:l,ref:u,selection:d,state:f,title:p=`Relay`,triggerLabel:m=`Open Relay`,...g}=e,[_,v]=(0,D.useState)(r),b=te(),ee=x(),C=oe(),w=(l??_)&&ee&&C.available,T=In(C.available?C.container.ownerDocument.defaultView:null),ne=T||a===`overlay`,re=(0,D.useRef)(null),ie=(0,D.useRef)(null),ae=(0,D.useRef)(null),se=(0,D.useRef)({modal:ne,open:!1}),ce=(0,D.useId)(),le=E(i,`RelayDock description`),k=E(p,`RelayDock title`),ue=E(m,`RelayDock triggerLabel`),de=e=>{l===void 0&&v(e),c?.(e)};return(0,D.useLayoutEffect)(()=>{let e=se.current;se.current={modal:ne,open:w},!e.open&&w?(h(),ie.current?.focus()):e.open&&w&&e.modal!==ne?ie.current?.focus():e.open&&!w&&(S(ae.current??re.current),ae.current=null)},[ne,w]),(0,O.jsxs)(`div`,{...g,className:s(q(`root`),t),"data-rly-relay-dock":``,"data-rly-relay-dock-open":w?`true`:`false`,ref:u,children:[(0,O.jsxs)(`button`,{"aria-expanded":w,"aria-haspopup":ne?`dialog`:void 0,className:q(`trigger`),"data-rly-relay-dock-trigger":``,inert:w,onClick:e=>{e.currentTarget.focus(),de(!0)},ref:re,type:`button`,children:[(0,O.jsx)(Ln,{}),(0,O.jsx)(`span`,{children:ue})]}),w?(0,O.jsx)(y,{children:(0,O.jsx)(Wn,{closeRef:ie,compactViewport:T,context:n,description:le,footer:o,headingId:ce,modal:ne,onClose:()=>de(!1),parentModalPresent:b,restoreDocument:re.current?.ownerDocument??null,restoreTargetRef:ae,selection:d,state:f,title:k})}):null]})},Kn=/^(?:--[A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*|-?[A-Za-z_\u0080-\uD7FF\uE000-\u{10ffff}][A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*)$/u,qn=new Set([`auto`,`default`,`inherit`,`initial`,`match-element`,`none`,`revert`,`revert-layer`,`unset`]),Jn=e=>{if(e===void 0)return;let t={relay:e.relay,verdict:e.verdict,version:e.version},n=[[`relay`,t.relay],[`verdict`,t.verdict],[`version`,t.version]],r=new Set;for(let[e,t]of n){let n=E(t,`Release transition ${e} name`);if(n===`root`||qn.has(n.toLowerCase()))throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);if(!Kn.test(n))throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);if(r.has(n))throw Error(`Release transition names must be unique: ${n}`);r.add(n)}return Object.freeze(t)},Yn={blocked:!0,ready:!0,deploying:!0,building:!0,shipped:!0,held:!0,unknown:!0},Xn=e=>{if(E(e.id,`Release presentation id`),E(e.version,`Release presentation version`),E(e.codename,`Release presentation codename`),E(e.algorithm,`Release presentation algorithm`),E(e.verdict,`Release presentation verdict`),E(e.reason,`Release presentation reason`),!Object.hasOwn(Yn,e.state))throw Error(`Release presentation state must be supported`);e.freshnessDateTime!==void 0&&(E(e.freshnessDateTime,`Release presentation freshnessDateTime`),E(e.freshnessTime,`Release presentation freshnessTime`));let t=new Set;for(let n of e.facts){let e=E(n.id,`Release presentation fact id`);if(t.has(e))throw Error(`Release presentation fact ids must be unique: ${e}`);t.add(e),E(n.label,`Release presentation fact label for ${e}`),E(n.value,`Release presentation fact value for ${e}`)}return e},Zn={root:`rly_ReleaseRelay-module__root`,tiles:`rly_ReleaseRelay-module__tiles`,handoff:`rly_ReleaseRelay-module__handoff`,tile:`rly_ReleaseRelay-module__tile`,glyph:`rly_ReleaseRelay-module__glyph`,identity:`rly_ReleaseRelay-module__identity`,codename:`rly_ReleaseRelay-module__codename`,algorithm:`rly_ReleaseRelay-module__algorithm`,algorithmValue:`rly_ReleaseRelay-module__algorithmValue`,compact:`rly_ReleaseRelay-module__compact`,hero:`rly_ReleaseRelay-module__hero`},J=e=>i(Zn,e),Qn=c({0:{name:`orbit`},1:{name:`split`},2:{name:`brace`},3:{name:`wave`},4:{name:`gate`},5:{name:`fork`},6:{name:`bridge`},7:{name:`beacon`},8:{name:`loop`},9:{name:`pulse`},10:{name:`anchor`},11:{name:`ladder`},12:{name:`knot`},13:{name:`spark`},14:{name:`stack`},15:{name:`compass`}}),$n=c({size:{compact:{className:J(`compact`),purpose:`Release rows and compact previews`,tokens:[`space-32`,`space-8`,`type-label`]},hero:{className:J(`hero`),purpose:`Page-level release identity`,tokens:[`space-48`,`space-4`,`space-8`,`type-card-title`]}}}),er=c({size:`compact`}),tr={0:`M12 4a8 8 0 1 1-6.9 4M5.1 8H9V4.1`,1:`M5 5v4c0 2 1 3 3 3h8c2 0 3 1 3 3v4M12 12V5`,2:`M9 4H7v5l-3 3 3 3v5h2M15 4h2v5l3 3-3 3v5h-2`,3:`M3 9c3-4 6-4 9 0s6 4 9 0M3 15c3-4 6-4 9 0s6 4 9 0`,4:`M5 19V8l7-4 7 4v11M9 19v-7h6v7`,5:`M12 20V9M12 12 6 6M12 12l6-6M6 6v4M18 6v4`,6:`M3 17h18M5 17v-5c4-5 10-5 14 0v5M8 17v-3M16 17v-3`,7:`M12 3v3M5.6 5.6l2.1 2.1M18.4 5.6l-2.1 2.1M6 20h12l-2-9H8Z`,8:`M8 8a4 4 0 0 1 8 0v8a4 4 0 0 1-8 0V8Zm0 4h8`,9:`M3 13h4l2-6 4 12 2-6h6`,10:`M12 3v15M8 7h8M5 14c0 4 3 7 7 7s7-3 7-7M5 14l-2 2M19 14l2 2`,11:`M7 3v18M17 3v18M7 7h10M7 12h10M7 17h10`,12:`M8 5a4 4 0 0 1 4 4v6a4 4 0 1 0 4-4H8a4 4 0 1 0 4 4V9a4 4 0 0 1 4-4`,13:`M12 3v5M12 16v5M3 12h5M16 12h5M5.6 5.6l3.5 3.5M14.9 14.9l3.5 3.5M18.4 5.6l-3.5 3.5M9.1 14.9l-3.5 3.5`,14:`m4 8 8-4 8 4-8 4Zm0 4 8 4 8-4M4 16l8 4 8-4`,15:`m12 3 3 6 6 3-6 3-3 6-3-6-6-3 6-3Zm0 6v6M9 12h6`},nr=e=>{if(e.length!==3)throw Error(`ReleaseRelay symbolIndices must contain exactly three indices`);let t=new Set;for(let n of e){if(!Number.isInteger(n)||n<0||n>15)throw Error(`ReleaseRelay symbol indices must be integers from 0 through 15`);if(t.has(n))throw Error(`ReleaseRelay symbol indices must be distinct`);t.add(n)}return e},rr=({algorithm:e,className:t,codename:n,size:r=`compact`,symbolIndices:i,...a})=>{let o=E(e,`ReleaseRelay algorithm`),c=E(n,`ReleaseRelay codename`),l=nr(i),u=`Release relay, ${c}, symbols ${l.map(e=>Qn[e].name).join(`, `)}.`;return(0,O.jsxs)(`figure`,{...a,className:s(J(`root`),$n.size[r].className,t),"data-rly-release-relay-size":r,children:[(0,O.jsxs)(`span`,{"aria-label":u,className:J(`tiles`),role:`img`,children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:J(`handoff`),"data-rly-release-relay-handoff":``}),l.map((e,t)=>(0,O.jsx)(`span`,{"aria-hidden":`true`,className:J(`tile`),"data-rly-release-relay-position":t,"data-rly-release-symbol-index":e,"data-rly-release-symbol-name":Qn[e].name,children:(0,O.jsx)(`svg`,{className:J(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,O.jsx)(`path`,{d:tr[e],fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.7`,vectorEffect:`non-scaling-stroke`})})},e))]}),(0,O.jsxs)(`figcaption`,{className:J(`identity`),children:[(0,O.jsx)(`span`,{className:J(`codename`),children:c}),(0,O.jsxs)(`span`,{className:J(`algorithm`),children:[`Identity algorithm: `,(0,O.jsx)(`code`,{className:J(`algorithmValue`),children:o})]})]})]})},ir={body:`rly_ReleasePreview-module__body`,summary:`rly_ReleasePreview-module__summary`,releaseMeta:`rly_ReleasePreview-module__releaseMeta`,personGroup:`rly_ReleasePreview-module__personGroup`,fact:`rly_ReleasePreview-module__fact`,dialogSurface:`rly_ReleasePreview-module__dialogSurface`,dialogFrame:`rly_ReleasePreview-module__dialogFrame`,dialogScroll:`rly_ReleasePreview-module__dialogScroll`,identityRow:`rly_ReleasePreview-module__identityRow`,version:`rly_ReleasePreview-module__version`,people:`rly_ReleasePreview-module__people`,eyebrow:`rly_ReleasePreview-module__eyebrow`,unassigned:`rly_ReleasePreview-module__unassigned`,facts:`rly_ReleasePreview-module__facts`,slot:`rly_ReleasePreview-module__slot`,dialogFooter:`rly_ReleasePreview-module__dialogFooter`,sheetFooter:`rly_ReleasePreview-module__sheetFooter`,dialogClose:`rly_ReleasePreview-module__dialogClose`,fullViewButton:`rly_ReleasePreview-module__fullViewButton`},Y=e=>i(ir,e),ar=({agentEntry:e,collaborators:t,entryMotion:n=`intrinsic`,evidence:r,onOpenChange:i,onOpenFullView:a,open:o,openFullViewLabel:s=`Open full view`,presentation:c=`dialog`,primaryAction:u,release:d,stages:f,transitionNames:h,workset:g})=>{let _=Xn(d),v=Jn(h),y=E(s,`ReleasePreview openFullViewLabel`),b=(0,D.useRef)(null),x=_.freshnessDateTime===void 0?(0,O.jsx)(L,{state:_.freshness}):(0,O.jsx)(L,{dateTime:_.freshnessDateTime,state:_.freshness,time:_.freshnessTime}),S=`Release preview: ${_.version} ${_.codename}`,ee=(0,O.jsxs)(`div`,{className:Y(`body`),"data-rly-release-preview-presentation":c,"data-rly-release-state":_.state,children:[(0,O.jsxs)(`section`,{"aria-label":`Release summary`,className:Y(`summary`),"data-rly-release-preview-summary":``,ref:b,tabIndex:-1,children:[(0,O.jsxs)(`div`,{className:Y(`identityRow`),children:[(0,O.jsx)(rr,{algorithm:_.algorithm,codename:_.codename,"data-rly-release-transition-name":v?.relay,"data-rly-release-transition-part":`relay`,size:`hero`,style:v===void 0?void 0:{viewTransitionName:v.relay},symbolIndices:_.symbolIndices}),(0,O.jsxs)(`div`,{className:Y(`releaseMeta`),children:[(0,O.jsx)(`p`,{className:Y(`version`),"data-rly-release-transition-name":v?.version,"data-rly-release-transition-part":`version`,style:v===void 0?void 0:{viewTransitionName:v.version},children:_.version}),x]})]}),(0,O.jsxs)(`div`,{className:Y(`people`),children:[(0,O.jsxs)(`div`,{className:Y(`personGroup`),children:[(0,O.jsx)(`span`,{className:Y(`eyebrow`),children:`Owner`}),_.owner===void 0?(0,O.jsx)(`span`,{className:Y(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,O.jsx)(P,{person:_.owner})]}),(0,O.jsxs)(`div`,{className:Y(`personGroup`),children:[(0,O.jsx)(`span`,{className:Y(`eyebrow`),children:`Approver`}),_.approver===void 0?(0,O.jsx)(`span`,{className:Y(`unassigned`),"data-rly-release-approver":`unassigned`,children:`Unassigned`}):(0,O.jsx)(P,{person:_.approver})]})]}),(0,O.jsx)(ft,{"data-rly-release-transition-name":v?.verdict,"data-rly-release-transition-part":`verdict`,reason:_.reason,style:v===void 0?void 0:{viewTransitionName:v.verdict},tone:_.tone,verdict:_.verdict}),(0,O.jsx)(`dl`,{className:Y(`facts`),children:_.facts.map(e=>(0,O.jsxs)(`div`,{className:Y(`fact`),children:[(0,O.jsx)(`dt`,{children:e.label}),(0,O.jsx)(`dd`,{children:e.value})]},e.id))})]}),t===void 0?null:(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`collaborators`,children:t}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`primary-action`,children:u}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`stages`,children:f}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`workset`,children:g}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`evidence`,children:r}),(0,O.jsx)(`div`,{className:Y(`slot`),"data-rly-release-preview-slot":`agent-entry`,children:e})]}),te=(0,O.jsx)(p,{className:Y(`fullViewButton`),onClick:a,size:`default`,variant:`secondary`,children:y});return c===`sheet`?(0,O.jsx)(m.Root,{onOpenChange:i,open:o,children:(0,O.jsxs)(m.Content,{entryMotion:n,initialFocusRef:b,title:S,children:[(0,O.jsx)(m.Body,{"data-rly-release-preview-scroll":`sheet`,children:ee}),(0,O.jsx)(m.Footer,{className:Y(`sheetFooter`),"data-rly-release-preview-footer":`sheet`,children:te})]})}):(0,O.jsx)(l.Root,{onOpenChange:i,open:o,children:(0,O.jsx)(l.Content,{className:Y(`dialogSurface`),entryMotion:n,initialFocusRef:b,size:`wide`,title:S,children:(0,O.jsxs)(`div`,{className:Y(`dialogFrame`),children:[(0,O.jsx)(`div`,{className:Y(`dialogClose`),children:(0,O.jsx)(l.Close,{size:`compact`,variant:`quiet`,children:`Close preview`})}),(0,O.jsx)(`div`,{className:Y(`dialogScroll`),"data-rly-release-preview-scroll":`dialog`,children:ee}),(0,O.jsx)(`footer`,{className:Y(`dialogFooter`),"data-rly-release-preview-footer":`dialog`,children:te})]})})})},or={root:`rly_ReleaseRow-module__root`,identity:`rly_ReleaseRow-module__identity`,verdictBlock:`rly_ReleaseRow-module__verdictBlock`,people:`rly_ReleaseRow-module__people`,actions:`rly_ReleaseRow-module__actions`,personGroup:`rly_ReleaseRow-module__personGroup`,fact:`rly_ReleaseRow-module__fact`,version:`rly_ReleaseRow-module__version`,verdict:`rly_ReleaseRow-module__verdict`,reason:`rly_ReleaseRow-module__reason`,eyebrow:`rly_ReleaseRow-module__eyebrow`,unassigned:`rly_ReleaseRow-module__unassigned`,facts:`rly_ReleaseRow-module__facts`,agentEntry:`rly_ReleaseRow-module__agentEntry`,previewButton:`rly_ReleaseRow-module__previewButton`},X=e=>i(or,e),sr=({agentEntry:e,className:t,onPreview:n,previewLabel:r=`Preview release`,release:i,transitionNames:a,...o})=>{let c=Xn(i),l=Jn(a),u=E(r,`ReleaseRow previewLabel`),d=`rly-release-row-verdict-${(0,D.useId)()}`,f=c.freshnessDateTime===void 0?(0,O.jsx)(L,{size:`compact`,state:c.freshness}):(0,O.jsx)(L,{dateTime:c.freshnessDateTime,size:`compact`,state:c.freshness,time:c.freshnessTime});return(0,O.jsxs)(`article`,{...o,className:s(X(`root`),t),"data-rly-release-id":c.id,"data-rly-release-state":c.state,children:[(0,O.jsxs)(`div`,{className:X(`identity`),children:[(0,O.jsx)(rr,{algorithm:c.algorithm,codename:c.codename,"data-rly-release-transition-name":l?.relay,"data-rly-release-transition-part":`relay`,size:`compact`,style:l===void 0?void 0:{viewTransitionName:l.relay},symbolIndices:c.symbolIndices}),(0,O.jsx)(`p`,{className:X(`version`),"data-rly-release-transition-name":l?.version,"data-rly-release-transition-part":`version`,style:l===void 0?void 0:{viewTransitionName:l.version},children:c.version}),f]}),(0,O.jsxs)(`section`,{"aria-labelledby":d,className:X(`verdictBlock`),"data-rly-release-transition-name":l?.verdict,"data-rly-release-transition-part":`verdict`,style:l===void 0?void 0:{viewTransitionName:l.verdict},children:[(0,O.jsx)(`h2`,{className:X(`verdict`),id:d,children:c.verdict}),(0,O.jsx)(`p`,{className:X(`reason`),children:c.reason})]}),(0,O.jsxs)(`div`,{className:X(`people`),children:[(0,O.jsxs)(`div`,{className:X(`personGroup`),children:[(0,O.jsx)(`span`,{className:X(`eyebrow`),children:`Owner`}),c.owner===void 0?(0,O.jsx)(`span`,{className:X(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,O.jsx)(P,{person:c.owner,size:`compact`})]}),c.approver===void 0?null:(0,O.jsxs)(`div`,{className:X(`personGroup`),children:[(0,O.jsx)(`span`,{className:X(`eyebrow`),children:`Approver`}),(0,O.jsx)(P,{person:c.approver,size:`compact`})]})]}),(0,O.jsx)(`dl`,{className:X(`facts`),children:c.facts.map(e=>(0,O.jsxs)(`div`,{className:X(`fact`),"data-rly-release-fact":e.id,children:[(0,O.jsx)(`dt`,{children:e.label}),(0,O.jsx)(`dd`,{children:e.value})]},e.id))}),(0,O.jsxs)(`div`,{className:X(`actions`),children:[(0,O.jsx)(p,{className:X(`previewButton`),onClick:n,size:`default`,children:u}),e===void 0?null:(0,O.jsx)(`div`,{className:X(`agentEntry`),children:e})]})]})},cr={root:`rly_StageRail-module__root`,heading:`rly_StageRail-module__heading`,list:`rly_StageRail-module__list`,item:`rly_StageRail-module__item`,marker:`rly_StageRail-module__marker`,connector:`rly_StageRail-module__connector`,content:`rly_StageRail-module__content`,name:`rly_StageRail-module__name`,reason:`rly_StageRail-module__reason`,empty:`rly_StageRail-module__empty`,compact:`rly_StageRail-module__compact`,defaultSize:`rly_StageRail-module__defaultSize`,long:`rly_StageRail-module__long`,words:`rly_StageRail-module__words`,wordList:`rly_StageRail-module__wordList`,word:`rly_StageRail-module__word`,wordState:`rly_StageRail-module__wordState`,wordReason:`rly_StageRail-module__wordReason`},Z=e=>i(cr,e),lr=c({size:{compact:{className:Z(`compact`),purpose:`Dense release and entity stage summaries`,tokens:[`space-24`,`space-8`,`type-label`,`type-meta`]},default:{className:Z(`defaultSize`),purpose:`Standard stage progression with supporting context`,tokens:[`space-24`,`space-12`,`type-card-title`,`type-body`]},words:{className:Z(`words`),purpose:`Stages as one line of words inside a row or fact (no markers, chips or owners); only blocking and held states take ink`,tokens:[`type-meta`,`color-text-1`,`color-text-2`,`color-blocked-ink`,`color-held-ink`]}}}),ur=c({size:`default`}),dr=e=>{let t=new Set;for(let n of e){let e=E(n.id,`StageRail stage id`);if(E(n.name,`StageRail name for ${e}`),E(n.state,`StageRail state for ${e}`),n.reason!==void 0&&E(n.reason,`StageRail reason for ${e}`),t.has(e))throw Error(`StageRail stage ids must be unique: ${e}`);t.add(e)}return e},fr=e=>e===`critical`?`blocked`:e===`caution`?`held`:`quiet`,pr=({className:e,emptyLabel:t=`No stages recorded.`,heading:n,size:r=`default`,stages:i,...a})=>{let o=E(n,`StageRail heading`),c=E(t,`StageRail emptyLabel`),l=dr(i),u=`rly-stage-rail-${(0,D.useId)()}`;return(0,O.jsxs)(`section`,{...a,"aria-labelledby":r===`words`?void 0:u,className:s(Z(`root`),lr.size[r].className,l.length>6&&Z(`long`),e),"data-rly-stage-rail-size":r,children:[r===`words`?null:(0,O.jsx)(`h2`,{className:Z(`heading`),id:u,children:o}),l.length===0?(0,O.jsx)(`p`,{className:Z(`empty`),children:c}):r===`words`?(0,O.jsx)(`ol`,{"aria-label":o,className:Z(`wordList`),children:l.map((e,t)=>(0,O.jsxs)(`li`,{className:Z(`word`),"data-rly-stage-id":e.id,children:[e.name,` `,(0,O.jsx)(`span`,{className:Z(`wordState`),"data-rly-stage-word":fr(e.tone),children:e.state}),e.reason===void 0?null:(0,O.jsxs)(`span`,{className:Z(`wordReason`),children:[`: `,e.reason]}),t===l.length-1?null:`,`]},e.id))}):(0,O.jsx)(`ol`,{className:Z(`list`),children:l.map((e,t)=>(0,O.jsxs)(`li`,{className:Z(`item`),"data-rly-stage-id":e.id,children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:Z(`marker`),"data-rly-stage-marker":``,children:t+1}),t===l.length-1?null:(0,O.jsx)(`span`,{"aria-hidden":`true`,className:Z(`connector`),"data-rly-stage-connector":``}),(0,O.jsxs)(`div`,{className:Z(`content`),children:[(0,O.jsx)(`h3`,{className:Z(`name`),children:e.name}),(0,O.jsx)(T,{label:e.state,size:r==="default"?`default`:`compact`,tone:e.tone}),e.reason===void 0?null:(0,O.jsx)(`p`,{className:Z(`reason`),children:e.reason}),e.owner===void 0?null:(0,O.jsx)(P,{person:e.owner,size:r})]})]},e.id))})]})},mr={root:`rly_TimelineRow-module__root`,time:`rly_TimelineRow-module__time`,marker:`rly_TimelineRow-module__marker`,dot:`rly_TimelineRow-module__dot`,connector:`rly_TimelineRow-module__connector`,content:`rly_TimelineRow-module__content`,meta:`rly_TimelineRow-module__meta`,title:`rly_TimelineRow-module__title`,link:`rly_TimelineRow-module__link`,detail:`rly_TimelineRow-module__detail`,actorKind:`rly_TimelineRow-module__actorKind`,actor:`rly_TimelineRow-module__actor`,markAuto:`rly_TimelineRow-module__markAuto`,markApproved:`rly_TimelineRow-module__markApproved`,markPending:`rly_TimelineRow-module__markPending`,markUnknown:`rly_TimelineRow-module__markUnknown`,markFlag:`rly_TimelineRow-module__markFlag`,provenance:`rly_TimelineRow-module__provenance`,key:`rly_TimelineRow-module__key`,keyItem:`rly_TimelineRow-module__keyItem`},Q=e=>i(mr,e),hr={human:`Human`,agent:`Agent`,plugin:`Plugin`,system:`System`},gr={auto:`markAuto`,approved:`markApproved`,pending:`markPending`,unknown:`markUnknown`,flag:`markFlag`},_r=e=>{if(E(e.id,`TimelineRow event id`),E(e.title,`TimelineRow event title`),E(e.detail,`TimelineRow event detail`),E(e.dateTime,`TimelineRow event dateTime`),E(e.time,`TimelineRow event time`),e.href!==void 0&&E(e.href,`TimelineRow event href`),e.provenance!==void 0){if(!Object.hasOwn(gr,e.provenance.kind))throw Error(`TimelineRow provenance kind must be auto, approved, pending, unknown, or flag`);E(e.provenance.label,`TimelineRow provenance label`)}if(!Object.hasOwn(hr,e.actorKind))throw Error(`TimelineRow event actorKind must be human, agent, plugin, or system`);return e},vr=({className:e,continued:t,event:n,...r})=>{let i=_r(n),a=`rly-timeline-row-${(0,D.useId)()}`,o=(0,O.jsx)(`h2`,{className:Q(`title`),id:a,children:i.title});return(0,O.jsxs)(`li`,{...r,className:s(Q(`root`),e),"data-rly-timeline-actor":i.actorKind,"data-rly-timeline-event-id":i.id,children:[(0,O.jsx)(`time`,{className:Q(`time`),dateTime:i.dateTime,children:i.time}),(0,O.jsxs)(`span`,{"aria-hidden":`true`,className:Q(`marker`),children:[(0,O.jsx)(`span`,{className:i.provenance===void 0?Q(`dot`):Q(gr[i.provenance.kind]),"data-rly-timeline-provenance":i.provenance?.kind}),t?(0,O.jsx)(`span`,{className:Q(`connector`),"data-rly-timeline-connector":``}):null]}),(0,O.jsxs)(`article`,{"aria-labelledby":a,className:Q(`content`),children:[i.href===void 0?o:(0,O.jsx)(ce,{className:Q(`link`),href:i.href,children:o}),(0,O.jsx)(`p`,{className:Q(`detail`),children:i.detail}),i.provenance===void 0?null:(0,O.jsx)(`p`,{className:Q(`provenance`),"data-rly-timeline-provenance-label":i.provenance.kind,children:i.provenance.label})]}),(0,O.jsxs)(`div`,{className:Q(`meta`),children:[(0,O.jsx)(`span`,{className:Q(`actorKind`),children:hr[i.actorKind]}),i.service===void 0?null:(0,O.jsx)(z,{service:i.service,size:`compact`}),i.actor===void 0?null:(0,O.jsx)(`div`,{className:Q(`actor`),children:i.actor})]})]})},yr={auto:`applied automatically`,approved:`approved`,pending:`waiting for approval`,unknown:`couldn't read`,flag:`flag only`},br=({className:e,kinds:t=[`auto`,`approved`,`pending`,`unknown`,`flag`],label:n,labels:r={},...i})=>(0,O.jsx)(`ul`,{...i,"aria-label":E(n,`TimelineProvenanceKey label`),className:s(Q(`key`),e),role:`list`,children:t.map(e=>(0,O.jsxs)(`li`,{className:Q(`keyItem`),children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:Q(gr[e]),"data-rly-timeline-provenance":e}),` `,r[e]??yr[e]]},e))}),xr={root:`rly_WorksetCard-module__root`,heading:`rly_WorksetCard-module__heading`,dimensions:`rly_WorksetCard-module__dimensions`,dimension:`rly_WorksetCard-module__dimension`,dimensionHeading:`rly_WorksetCard-module__dimensionHeading`,gaps:`rly_WorksetCard-module__gaps`,list:`rly_WorksetCard-module__list`,gapList:`rly_WorksetCard-module__gapList`,keyList:`rly_WorksetCard-module__keyList`,item:`rly_WorksetCard-module__item`,gap:`rly_WorksetCard-module__gap`,identity:`rly_WorksetCard-module__identity`,link:`rly_WorksetCard-module__link`,itemTitle:`rly_WorksetCard-module__itemTitle`,reference:`rly_WorksetCard-module__reference`,empty:`rly_WorksetCard-module__empty`,conceptLabel:`rly_WorksetCard-module__conceptLabel`,emptyLink:`rly_WorksetCard-module__emptyLink`,linkedWork:`rly_WorksetCard-module__linkedWork`},$=e=>i(xr,e),Sr=(e,t)=>{e!==void 0&&E(e,`${t} href`)},Cr=(e,t,n)=>{let r=E(e,`${n} id`);if(t.has(r))throw Error(`${n} ids must be unique: ${r}`);return t.add(r),r},wr=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard Jira item`);E(n.key,`WorksetCard Jira key for ${e}`),E(n.title,`WorksetCard Jira title for ${e}`),E(n.state,`WorksetCard Jira state for ${e}`),Sr(n.href,`WorksetCard Jira item ${e}`)}},Tr=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard pull request group`);E(n.title,`WorksetCard pull request title for ${e}`),E(n.reference,`WorksetCard pull request reference for ${e}`),E(n.state,`WorksetCard pull request state for ${e}`),Sr(n.href,`WorksetCard pull request group ${e}`);for(let t of n.linkedJiraKeys)E(t,`WorksetCard linked Jira key for ${e}`)}},Er=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard gap`);if(E(n.label,`WorksetCard gap label for ${e}`),E(n.reason,`WorksetCard gap reason for ${e}`),!Object.hasOwn(at.service,n.service))throw Error(`WorksetCard gap service for ${e} must be supported`)}},Dr=e=>{let t=new Set;for(let n of e){let e=Cr(n.id,t,`WorksetCard pipeline`);E(n.title,`WorksetCard pipeline title for ${e}`),E(n.reference,`WorksetCard pipeline reference for ${e}`),E(n.state,`WorksetCard pipeline state for ${e}`),Sr(n.href,`WorksetCard pipeline ${e}`)}},Or=({href:e,reference:t,title:n})=>{let r=(0,O.jsxs)(`span`,{className:$(`identity`),children:[(0,O.jsx)(`span`,{className:$(`itemTitle`),children:n}),(0,O.jsx)(`span`,{className:$(`reference`),children:t})]});return e===void 0?r:(0,O.jsx)(ce,{className:$(`link`),href:e,children:r})},kr=({className:e,gapEmptyLabel:t=`No relationship gaps recorded.`,gaps:n,heading:r,jiraEmptyLabel:i=`No Jira work recorded.`,jiraItems:a,pipelineEmptyLabel:o=`No pipeline delivery recorded.`,pipelines:c,pullRequestEmptyLabel:l=`No pull request groups recorded.`,pullRequestGroups:u,...d})=>{let f=E(r,`WorksetCard heading`),p=E(i,`WorksetCard jiraEmptyLabel`),m=E(l,`WorksetCard pullRequestEmptyLabel`),h=E(t,`WorksetCard gapEmptyLabel`),g=E(o,`WorksetCard pipelineEmptyLabel`);wr(a),Tr(u),Er(n),Dr(c);let _=`rly-workset-${(0,D.useId)()}`;return(0,O.jsxs)(`section`,{...d,"aria-labelledby":_,className:s($(`root`),e),children:[(0,O.jsx)(`h2`,{className:$(`heading`),id:_,children:f}),(0,O.jsxs)(`div`,{className:$(`dimensions`),children:[(0,O.jsxs)(`section`,{className:$(`dimension`),"data-rly-workset-dimension":`jira`,children:[(0,O.jsxs)(`div`,{className:$(`dimensionHeading`),children:[(0,O.jsx)(z,{service:`jira`,size:`compact`}),(0,O.jsx)(`h3`,{children:`Jira work`})]}),a.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:p}):(0,O.jsx)(`ul`,{className:$(`list`),children:a.map(e=>(0,O.jsxs)(`li`,{className:$(`item`),"data-rly-workset-jira-id":e.id,children:[(0,O.jsx)(Or,{...e.href===void 0?{}:{href:e.href},reference:e.key,title:e.title}),(0,O.jsx)(T,{label:e.state,size:`compact`,tone:e.tone}),e.owner===void 0?null:(0,O.jsx)(P,{person:e.owner,size:`compact`})]},e.id))})]}),(0,O.jsxs)(`section`,{className:$(`dimension`),"data-rly-workset-dimension":`pull-requests`,children:[(0,O.jsxs)(`div`,{className:$(`dimensionHeading`),children:[(0,O.jsx)(z,{service:`codecommit`,size:`compact`}),(0,O.jsx)(`h3`,{children:`Pull request groups`})]}),u.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:m}):(0,O.jsx)(`ul`,{className:$(`list`),children:u.map(e=>(0,O.jsxs)(`li`,{className:$(`item`),"data-rly-workset-pr-id":e.id,children:[(0,O.jsx)(Or,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,O.jsx)(T,{label:e.state,size:`compact`,tone:e.tone}),(0,O.jsxs)(`div`,{className:$(`linkedWork`),children:[(0,O.jsx)(`span`,{className:$(`conceptLabel`),children:`Linked Jira work`}),e.linkedJiraKeys.length===0?(0,O.jsx)(`span`,{className:$(`emptyLink`),children:`No Jira links recorded.`}):(0,O.jsx)(`ul`,{className:$(`keyList`),children:e.linkedJiraKeys.map((e,t)=>(0,O.jsx)(`li`,{"data-rly-linked-jira-key":e,children:e},`${e}-${t}`))})]}),e.author===void 0?null:(0,O.jsx)(P,{person:e.author,size:`compact`})]},e.id))}),(0,O.jsxs)(`div`,{className:$(`gaps`),children:[(0,O.jsx)(`h4`,{children:`Relationship gaps`}),n.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:h}):(0,O.jsx)(`ul`,{className:$(`gapList`),children:n.map(e=>(0,O.jsxs)(`li`,{className:$(`gap`),"data-rly-workset-gap-id":e.id,children:[(0,O.jsx)(z,{service:e.service,size:`compact`}),(0,O.jsx)(`strong`,{children:e.label}),(0,O.jsx)(`span`,{children:e.reason})]},e.id))})]})]}),(0,O.jsxs)(`section`,{className:$(`dimension`),"data-rly-workset-dimension":`pipelines`,children:[(0,O.jsxs)(`div`,{className:$(`dimensionHeading`),children:[(0,O.jsx)(z,{service:`codepipeline`,size:`compact`}),(0,O.jsx)(`h3`,{children:`Pipeline delivery`})]}),c.length===0?(0,O.jsx)(`p`,{className:$(`empty`),children:g}):(0,O.jsx)(`ul`,{className:$(`list`),children:c.map(e=>(0,O.jsxs)(`li`,{className:$(`item`),"data-rly-workset-pipeline-id":e.id,children:[(0,O.jsx)(Or,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,O.jsx)(T,{label:e.state,size:`compact`,tone:e.tone}),e.operator===void 0?null:(0,O.jsx)(P,{person:e.operator,size:`compact`}),e.approver===void 0?null:(0,O.jsx)(P,{person:e.approver,size:`compact`}),(0,O.jsx)(pr,{heading:`${e.reference} stages`,size:`compact`,stages:e.stages})]},e.id))})]})]})]})},Ar=e({AgentContextButton:()=>de,AgentDrawer:()=>he,AgentJob:()=>be,AgentProposal:()=>we,AgentThread:()=>Ae,CollaboratorGroup:()=>Je,DecisionBar:()=>Qe,EntityShell:()=>mt,EntityTable:()=>St,EvidenceStamp:()=>Tt,FreshnessStamp:()=>L,GovernedActionReview:()=>Ot,Hero:()=>Nt,HeroWord:()=>Pt,PeopleStrip:()=>Ue,Person:()=>P,RLY_COLLABORATOR_GROUP_DEFAULT_VARIANTS:()=>qe,RLY_COLLABORATOR_GROUP_VARIANTS:()=>Ke,RLY_DECISION_BAR_DEFAULT_VARIANTS:()=>Ze,RLY_DECISION_BAR_VARIANTS:()=>Xe,RLY_ENTITY_TABLE_DEFAULT_VARIANTS:()=>_t,RLY_ENTITY_TABLE_VARIANTS:()=>gt,RLY_FRESHNESS_STAMP_DEFAULT_VARIANTS:()=>tt,RLY_FRESHNESS_STAMP_VARIANTS:()=>et,RLY_HERO_DEFAULT_VARIANTS:()=>jt,RLY_HERO_VARIANTS:()=>At,RLY_HERO_WORD_VARIANTS:()=>Mt,RLY_PEOPLE_STRIP_DEFAULT_VARIANTS:()=>Be,RLY_PEOPLE_STRIP_VARIANTS:()=>ze,RLY_PERSON_DEFAULT_VARIANTS:()=>Pe,RLY_PERSON_VARIANTS:()=>Ne,RLY_REGION_DEFAULT_VARIANTS:()=>Rt,RLY_REGION_VARIANTS:()=>Lt,RLY_RELATIONSHIP_DIRECTION_PRESENTATION:()=>Vt,RLY_RELATIONSHIP_LIFECYCLE_PRESENTATION:()=>Bt,RLY_RELEASE_RELAY_DEFAULT_VARIANTS:()=>er,RLY_RELEASE_RELAY_SYMBOLS:()=>Qn,RLY_RELEASE_RELAY_VARIANTS:()=>$n,RLY_SERVICE_MARK_DEFAULT_VARIANTS:()=>ot,RLY_SERVICE_MARK_VARIANTS:()=>at,RLY_STAGE_RAIL_DEFAULT_VARIANTS:()=>ur,RLY_STAGE_RAIL_VARIANTS:()=>lr,RLY_VERDICT_VARIANTS:()=>ut,Region:()=>zt,RelationshipChain:()=>Jt,RelationshipTable:()=>Zt,RelayDock:()=>Gn,ReleasePreview:()=>ar,ReleaseRelay:()=>rr,ReleaseRow:()=>sr,ServiceMark:()=>z,StageRail:()=>pr,TimelineProvenanceKey:()=>br,TimelineRow:()=>vr,Verdict:()=>ft,WorksetCard:()=>kr});export{sr as _,Ae as a,Je as c,ar as d,Zt as f,rr as g,de as h,kr as i,Jt as l,ft as m,Ue as n,Tt as o,pr as p,L as r,P as s,Ar as t,mt as u,vr as v,z as y};
2
+ //# sourceMappingURL=patterns-DsePY14f.js.map