@alfadocs/ui-kit-debug 1.38.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js → actions-cell-renderer-BXBy9c0f.js} +3 -3
  2. package/dist/_chunks/{actions-cell-renderer-CUn1pqEq.js.map → actions-cell-renderer-BXBy9c0f.js.map} +1 -1
  3. package/dist/_chunks/{agenda-tray-CG6jUjKc.js → agenda-tray-CBaJASb5.js} +3 -3
  4. package/dist/_chunks/{agenda-tray-CG6jUjKc.js.map → agenda-tray-CBaJASb5.js.map} +1 -1
  5. package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js → ai-consent-banner-D7I2U-cz.js} +37 -36
  6. package/dist/_chunks/ai-consent-banner-D7I2U-cz.js.map +1 -0
  7. package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js → ai-prompt-input-DXknpQCB.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js.map → ai-prompt-input-DXknpQCB.js.map} +1 -1
  9. package/dist/_chunks/{alia-sidebar-B6bXlZZk.js → alia-sidebar-CUqaJNPQ.js} +7 -7
  10. package/dist/_chunks/{alia-sidebar-B6bXlZZk.js.map → alia-sidebar-CUqaJNPQ.js.map} +1 -1
  11. package/dist/_chunks/{anamnesis-card-DGwINeNn.js → anamnesis-card-xtEhyojD.js} +2 -2
  12. package/dist/_chunks/{anamnesis-card-DGwINeNn.js.map → anamnesis-card-xtEhyojD.js.map} +1 -1
  13. package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js → anamnesis-summary-rows-DQUqwWc1.js} +7 -7
  14. package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js.map → anamnesis-summary-rows-DQUqwWc1.js.map} +1 -1
  15. package/dist/_chunks/{appointment-card-WsDGBBut.js → appointment-card-TgR_2GKS.js} +134 -102
  16. package/dist/_chunks/appointment-card-TgR_2GKS.js.map +1 -0
  17. package/dist/_chunks/{appointment-peek-5S4O1VQP.js → appointment-peek-abiR0T9e.js} +3 -3
  18. package/dist/_chunks/{appointment-peek-5S4O1VQP.js.map → appointment-peek-abiR0T9e.js.map} +1 -1
  19. package/dist/_chunks/{appointment-timeline-D-rNwKpS.js → appointment-timeline-CCnyUYKz.js} +67 -63
  20. package/dist/_chunks/appointment-timeline-CCnyUYKz.js.map +1 -0
  21. package/dist/_chunks/{appointment-tray-CK2CULg_.js → appointment-tray-N0yEI8UF.js} +4 -4
  22. package/dist/_chunks/{appointment-tray-CK2CULg_.js.map → appointment-tray-N0yEI8UF.js.map} +1 -1
  23. package/dist/_chunks/{audio-recorder-BlQBC7N_.js → audio-recorder-B7dT-Y3v.js} +3 -3
  24. package/dist/_chunks/{audio-recorder-BlQBC7N_.js.map → audio-recorder-B7dT-Y3v.js.map} +1 -1
  25. package/dist/_chunks/{balance-badge-cell-DHs5p0bA.js → balance-badge-cell-o6LldMUA.js} +5 -5
  26. package/dist/_chunks/{balance-badge-cell-DHs5p0bA.js.map → balance-badge-cell-o6LldMUA.js.map} +1 -1
  27. package/dist/_chunks/{bishop-score-D5b8tktp.js → bishop-score-Cu70iv9C.js} +2 -2
  28. package/dist/_chunks/{bishop-score-D5b8tktp.js.map → bishop-score-Cu70iv9C.js.map} +1 -1
  29. package/dist/_chunks/{bmi-calculator-dOKP-vW4.js → bmi-calculator-C9N19aLX.js} +2 -2
  30. package/dist/_chunks/{bmi-calculator-dOKP-vW4.js.map → bmi-calculator-C9N19aLX.js.map} +1 -1
  31. package/dist/_chunks/{booking-x3J7sS2G.js → booking-D43ASl8y.js} +1110 -1104
  32. package/dist/_chunks/booking-D43ASl8y.js.map +1 -0
  33. package/dist/_chunks/{button-nJaPh_HC.js → button-CaUe1uyd.js} +11 -7
  34. package/dist/_chunks/button-CaUe1uyd.js.map +1 -0
  35. package/dist/_chunks/{button-group-QmN1VdUW.js → button-group-R32U7SyV.js} +2 -2
  36. package/dist/_chunks/{button-group-QmN1VdUW.js.map → button-group-R32U7SyV.js.map} +1 -1
  37. package/dist/_chunks/{calendar-7GAUlsNO.js → calendar-ChJQzRw-.js} +2 -2
  38. package/dist/_chunks/{calendar-7GAUlsNO.js.map → calendar-ChJQzRw-.js.map} +1 -1
  39. package/dist/_chunks/calendar-workspace-SN23GsXX.js +11378 -0
  40. package/dist/_chunks/calendar-workspace-SN23GsXX.js.map +1 -0
  41. package/dist/_chunks/{care-plan-card-COFOI-fI.js → care-plan-card-BOv0NRle.js} +3 -3
  42. package/dist/_chunks/{care-plan-card-COFOI-fI.js.map → care-plan-card-BOv0NRle.js.map} +1 -1
  43. package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js → care-plan-entry-card-d-rZD4li.js} +3 -3
  44. package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js.map → care-plan-entry-card-d-rZD4li.js.map} +1 -1
  45. package/dist/_chunks/{care-plan-header-CbuOuVBw.js → care-plan-header-CEmBXn6-.js} +2 -2
  46. package/dist/_chunks/{care-plan-header-CbuOuVBw.js.map → care-plan-header-CEmBXn6-.js.map} +1 -1
  47. package/dist/_chunks/{carousel.agent-Dv4a4M8L.js → carousel.agent-z1yLBpyC.js} +2 -2
  48. package/dist/_chunks/{carousel.agent-Dv4a4M8L.js.map → carousel.agent-z1yLBpyC.js.map} +1 -1
  49. package/dist/_chunks/{chart-iWl76PXv.js → chart-PF2krCZC.js} +3 -3
  50. package/dist/_chunks/{chart-iWl76PXv.js.map → chart-PF2krCZC.js.map} +1 -1
  51. package/dist/_chunks/{chat-input-qM5QpUSq.js → chat-input-Cj7ZYQr5.js} +2 -2
  52. package/dist/_chunks/{chat-input-qM5QpUSq.js.map → chat-input-Cj7ZYQr5.js.map} +1 -1
  53. package/dist/_chunks/{chat-message-RniXtrCH.js → chat-message-BMVxiUIX.js} +3 -3
  54. package/dist/_chunks/{chat-message-RniXtrCH.js.map → chat-message-BMVxiUIX.js.map} +1 -1
  55. package/dist/_chunks/{code-block-uVjNSI9g.js → code-block-BB-viuTn.js} +2 -2
  56. package/dist/_chunks/{code-block-uVjNSI9g.js.map → code-block-BB-viuTn.js.map} +1 -1
  57. package/dist/_chunks/{connection-status-OEsWjmRk.js → connection-status-BmA9T0UO.js} +3 -3
  58. package/dist/_chunks/{connection-status-OEsWjmRk.js.map → connection-status-BmA9T0UO.js.map} +1 -1
  59. package/dist/_chunks/{contact-profile-card--My1H2UD.js → contact-profile-card-Zt6WNg1u.js} +2 -2
  60. package/dist/_chunks/{contact-profile-card--My1H2UD.js.map → contact-profile-card-Zt6WNg1u.js.map} +1 -1
  61. package/dist/_chunks/{control-room-rail-DQoHdE1U.js → control-room-rail-CnNZusR5.js} +3 -3
  62. package/dist/_chunks/{control-room-rail-DQoHdE1U.js.map → control-room-rail-CnNZusR5.js.map} +1 -1
  63. package/dist/_chunks/{copy-field-fYKpl6aN.js → copy-field-B8XRVmQv.js} +2 -2
  64. package/dist/_chunks/{copy-field-fYKpl6aN.js.map → copy-field-B8XRVmQv.js.map} +1 -1
  65. package/dist/_chunks/credit-card-D9XZsHGA.js +15 -0
  66. package/dist/_chunks/credit-card-D9XZsHGA.js.map +1 -0
  67. package/dist/_chunks/{cycle-calculator-BJeaXiZv.js → cycle-calculator-BH2StWoT.js} +2 -2
  68. package/dist/_chunks/{cycle-calculator-BJeaXiZv.js.map → cycle-calculator-BH2StWoT.js.map} +1 -1
  69. package/dist/_chunks/{dashboard-grid-B23BFzRl.js → dashboard-grid-BcXWL5S9.js} +2 -2
  70. package/dist/_chunks/{dashboard-grid-B23BFzRl.js.map → dashboard-grid-BcXWL5S9.js.map} +1 -1
  71. package/dist/_chunks/{data-table-Dy1lyumT.js → data-table-CcAx_I1w.js} +6 -6
  72. package/dist/_chunks/{data-table-Dy1lyumT.js.map → data-table-CcAx_I1w.js.map} +1 -1
  73. package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js → data-table-tabs-B9SXA5VP.js} +3 -3
  74. package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js.map → data-table-tabs-B9SXA5VP.js.map} +1 -1
  75. package/dist/_chunks/{description-list-C1RXMDZ_.js → description-list-BsJ_6CQE.js} +2 -2
  76. package/dist/_chunks/{description-list-C1RXMDZ_.js.map → description-list-BsJ_6CQE.js.map} +1 -1
  77. package/dist/_chunks/{document-preview-DsEyRcNd.js → document-preview-COV0BC6n.js} +2 -2
  78. package/dist/_chunks/{document-preview-DsEyRcNd.js.map → document-preview-COV0BC6n.js.map} +1 -1
  79. package/dist/_chunks/{document-scanner-CbWVtm7u.js → document-scanner-B1abl-A4.js} +2 -2
  80. package/dist/_chunks/{document-scanner-CbWVtm7u.js.map → document-scanner-B1abl-A4.js.map} +1 -1
  81. package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js → due-date-calculator-Buh_mVHq.js} +2 -2
  82. package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js.map → due-date-calculator-Buh_mVHq.js.map} +1 -1
  83. package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js → editable-currency-cell-renderer-Psb6XKHR.js} +3 -3
  84. package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js.map → editable-currency-cell-renderer-Psb6XKHR.js.map} +1 -1
  85. package/dist/_chunks/{editable-description-7ptNpJEg.js → editable-description-ADMVFPUz.js} +3 -3
  86. package/dist/_chunks/{editable-description-7ptNpJEg.js.map → editable-description-ADMVFPUz.js.map} +1 -1
  87. package/dist/_chunks/{editor-overlay-8fKAcRsm.js → editor-overlay-9tcPXNWt.js} +2 -2
  88. package/dist/_chunks/{editor-overlay-8fKAcRsm.js.map → editor-overlay-9tcPXNWt.js.map} +1 -1
  89. package/dist/_chunks/{empty-state-X0sVPfVo.js → empty-state-BUN_UAWf.js} +2 -2
  90. package/dist/_chunks/{empty-state-X0sVPfVo.js.map → empty-state-BUN_UAWf.js.map} +1 -1
  91. package/dist/_chunks/{entity-summary-BbW0mIzU.js → entity-summary-DXejuQ8i.js} +3 -3
  92. package/dist/_chunks/{entity-summary-BbW0mIzU.js.map → entity-summary-DXejuQ8i.js.map} +1 -1
  93. package/dist/_chunks/{error-boundary-ayXFCcq4.js → error-boundary-BNT2iQ1w.js} +2 -2
  94. package/dist/_chunks/{error-boundary-ayXFCcq4.js.map → error-boundary-BNT2iQ1w.js.map} +1 -1
  95. package/dist/_chunks/{face-scheme-uFvhqz6h.js → face-scheme-Dg6ZyLKb.js} +5 -5
  96. package/dist/_chunks/{face-scheme-uFvhqz6h.js.map → face-scheme-Dg6ZyLKb.js.map} +1 -1
  97. package/dist/_chunks/{fetal-weight-C6SxchOv.js → fetal-weight-wx4ycKc6.js} +2 -2
  98. package/dist/_chunks/{fetal-weight-C6SxchOv.js.map → fetal-weight-wx4ycKc6.js.map} +1 -1
  99. package/dist/_chunks/{field-array-C9dmRaIM.js → field-array-BW9KeeXG.js} +3 -3
  100. package/dist/_chunks/{field-array-C9dmRaIM.js.map → field-array-BW9KeeXG.js.map} +1 -1
  101. package/dist/_chunks/{file-manager-UlcYQv8n.js → file-manager-BfLQxF5t.js} +136 -150
  102. package/dist/_chunks/file-manager-BfLQxF5t.js.map +1 -0
  103. package/dist/_chunks/{finished-terminal-Br61Ip4e.js → finished-terminal-DJd7Z_po.js} +2 -2
  104. package/dist/_chunks/{finished-terminal-Br61Ip4e.js.map → finished-terminal-DJd7Z_po.js.map} +1 -1
  105. package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js → fiscal-code-input-ODQRd_Sw.js} +2 -2
  106. package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js.map → fiscal-code-input-ODQRd_Sw.js.map} +1 -1
  107. package/dist/_chunks/folder-BghC8_S2.js +20 -0
  108. package/dist/_chunks/folder-BghC8_S2.js.map +1 -0
  109. package/dist/_chunks/{freemium-paywall-BqGk_SBU.js → freemium-paywall-Cz-O9lQD.js} +2 -2
  110. package/dist/_chunks/{freemium-paywall-BqGk_SBU.js.map → freemium-paywall-Cz-O9lQD.js.map} +1 -1
  111. package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js → gestational-age-calculator-CwbecTul.js} +2 -2
  112. package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js.map → gestational-age-calculator-CwbecTul.js.map} +1 -1
  113. package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js → hcg-doubling-BcXriXJe.js} +2 -2
  114. package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js.map → hcg-doubling-BcXriXJe.js.map} +1 -1
  115. package/dist/_chunks/{header-BZ4pZlJV.js → header-3o9o9v_T.js} +2 -2
  116. package/dist/_chunks/{header-BZ4pZlJV.js.map → header-3o9o9v_T.js.map} +1 -1
  117. package/dist/_chunks/{header-settings-B8mLc03Q.js → header-settings-CTe45iDy.js} +4 -4
  118. package/dist/_chunks/{header-settings-B8mLc03Q.js.map → header-settings-CTe45iDy.js.map} +1 -1
  119. package/dist/_chunks/{hover-card-Bcku1GQu.js → hover-card-BMJBVqIf.js} +2 -2
  120. package/dist/_chunks/{hover-card-Bcku1GQu.js.map → hover-card-BMJBVqIf.js.map} +1 -1
  121. package/dist/_chunks/{icon-button-8xqRnkdG.js → icon-button-CehAeZoP.js} +2 -2
  122. package/dist/_chunks/{icon-button-8xqRnkdG.js.map → icon-button-CehAeZoP.js.map} +1 -1
  123. package/dist/_chunks/{icon-button-group-Dj6CRoYR.js → icon-button-group-DkkdIygu.js} +2 -2
  124. package/dist/_chunks/{icon-button-group-Dj6CRoYR.js.map → icon-button-group-DkkdIygu.js.map} +1 -1
  125. package/dist/_chunks/{icon-picker-CTWzlHJr.js → icon-picker-DMEelg9v.js} +3 -3
  126. package/dist/_chunks/{icon-picker-CTWzlHJr.js.map → icon-picker-DMEelg9v.js.map} +1 -1
  127. package/dist/_chunks/{image-cropper-C84NDTB7.js → image-cropper-BjPjT7wU.js} +2 -2
  128. package/dist/_chunks/{image-cropper-C84NDTB7.js.map → image-cropper-BjPjT7wU.js.map} +1 -1
  129. package/dist/_chunks/{info-tip-ey_Pon2y.js → info-tip-iP2Pm9dh.js} +2 -2
  130. package/dist/_chunks/{info-tip-ey_Pon2y.js.map → info-tip-iP2Pm9dh.js.map} +1 -1
  131. package/dist/_chunks/{insert-result-LCNTskNJ.js → insert-result-DPnOBD85.js} +2 -2
  132. package/dist/_chunks/{insert-result-LCNTskNJ.js.map → insert-result-DPnOBD85.js.map} +1 -1
  133. package/dist/_chunks/{key-value-pair-DczGb4yz.js → key-value-pair-DaQI_LZB.js} +2 -2
  134. package/dist/_chunks/{key-value-pair-DczGb4yz.js.map → key-value-pair-DaQI_LZB.js.map} +1 -1
  135. package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js → link-cell-renderer-s3oHzOwi.js} +2 -2
  136. package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js.map → link-cell-renderer-s3oHzOwi.js.map} +1 -1
  137. package/dist/_chunks/{locale-picker-BLeHbFSc.js → locale-picker-CH3kfrIG.js} +3 -3
  138. package/dist/_chunks/{locale-picker-BLeHbFSc.js.map → locale-picker-CH3kfrIG.js.map} +1 -1
  139. package/dist/_chunks/{map-view-CCAlC9IL.js → map-view-CHw4RL6w.js} +2 -2
  140. package/dist/_chunks/{map-view-CCAlC9IL.js.map → map-view-CHw4RL6w.js.map} +1 -1
  141. package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js → marketplace-app-shell-d2EtcUbe.js} +4 -4
  142. package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js.map → marketplace-app-shell-d2EtcUbe.js.map} +1 -1
  143. package/dist/_chunks/{message-card-Dm5Xshup.js → message-card-V3sFPiQI.js} +3 -3
  144. package/dist/_chunks/{message-card-Dm5Xshup.js.map → message-card-V3sFPiQI.js.map} +1 -1
  145. package/dist/_chunks/{message-tray-CXjVsKqp.js → message-tray-CrRIHfiQ.js} +4 -4
  146. package/dist/_chunks/{message-tray-CXjVsKqp.js.map → message-tray-CrRIHfiQ.js.map} +1 -1
  147. package/dist/_chunks/{note-timeline-D2oPuQP6.js → note-timeline-Dn_XTo1s.js} +131 -90
  148. package/dist/_chunks/note-timeline-Dn_XTo1s.js.map +1 -0
  149. package/dist/_chunks/{notes-panel-CkbfDDzj.js → notes-panel-CmTqIWlS.js} +277 -241
  150. package/dist/_chunks/notes-panel-CmTqIWlS.js.map +1 -0
  151. package/dist/_chunks/{notification-card-ChcK9Wat.js → notification-card-B2gLO6dK.js} +3 -3
  152. package/dist/_chunks/{notification-card-ChcK9Wat.js.map → notification-card-B2gLO6dK.js.map} +1 -1
  153. package/dist/_chunks/{notification-tray-_NoChRKi.js → notification-tray-BOEKegVV.js} +4 -4
  154. package/dist/_chunks/{notification-tray-_NoChRKi.js.map → notification-tray-BOEKegVV.js.map} +1 -1
  155. package/dist/_chunks/{optical-prescription-cphK41eP.js → optical-prescription-LGgmtcST.js} +2 -2
  156. package/dist/_chunks/{optical-prescription-cphK41eP.js.map → optical-prescription-LGgmtcST.js.map} +1 -1
  157. package/dist/_chunks/{panel-subview-BNXN8OEL.js → panel-subview-Cc2Wtt7D.js} +52 -52
  158. package/dist/_chunks/panel-subview-Cc2Wtt7D.js.map +1 -0
  159. package/dist/_chunks/{patient-details-2cIaL-Zb.js → patient-details-C8ImUrVg.js} +3 -3
  160. package/dist/_chunks/{patient-details-2cIaL-Zb.js.map → patient-details-C8ImUrVg.js.map} +1 -1
  161. package/dist/_chunks/{patient-field-row-IHb2VFc2.js → patient-field-row-BRSOKvme.js} +7 -7
  162. package/dist/_chunks/{patient-field-row-IHb2VFc2.js.map → patient-field-row-BRSOKvme.js.map} +1 -1
  163. package/dist/_chunks/{patient-search-D08b6jgj.js → patient-search-5QcmQKJD.js} +2 -2
  164. package/dist/_chunks/{patient-search-D08b6jgj.js.map → patient-search-5QcmQKJD.js.map} +1 -1
  165. package/dist/_chunks/{patient-summary-card-B131Q7Bp.js → patient-summary-card-BhmKB2KR.js} +7 -7
  166. package/dist/_chunks/patient-summary-card-BhmKB2KR.js.map +1 -0
  167. package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js → payment-automation-upsell-BKmBXU4i.js} +17 -16
  168. package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js.map → payment-automation-upsell-BKmBXU4i.js.map} +1 -1
  169. package/dist/_chunks/{payment-request-card-BxcdvxKR.js → payment-request-card-Cer6XXCn.js} +6 -5
  170. package/dist/_chunks/{payment-request-card-BxcdvxKR.js.map → payment-request-card-Cer6XXCn.js.map} +1 -1
  171. package/dist/_chunks/{periodontal-chart-BF_e3wZp.js → periodontal-chart-DJoZS_o7.js} +2 -2
  172. package/dist/_chunks/{periodontal-chart-BF_e3wZp.js.map → periodontal-chart-DJoZS_o7.js.map} +1 -1
  173. package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js → periodontal-chart-card-Nd1ZoYWb.js} +2 -2
  174. package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js.map → periodontal-chart-card-Nd1ZoYWb.js.map} +1 -1
  175. package/dist/_chunks/{popover-DzR5QYxp.js → popover-DO-pssF3.js} +2 -2
  176. package/dist/_chunks/{popover-DzR5QYxp.js.map → popover-DO-pssF3.js.map} +1 -1
  177. package/dist/_chunks/{practice-results-CBNRJNnY.js → practice-results-D_jjzwgf.js} +5 -5
  178. package/dist/_chunks/{practice-results-CBNRJNnY.js.map → practice-results-D_jjzwgf.js.map} +1 -1
  179. package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js → pregnancy-dating-DcyV9ZRD.js} +2 -2
  180. package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js.map → pregnancy-dating-DcyV9ZRD.js.map} +1 -1
  181. package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js → pregnancy-weight-gain-Bfq4Kwt5.js} +2 -2
  182. package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js.map → pregnancy-weight-gain-Bfq4Kwt5.js.map} +1 -1
  183. package/dist/_chunks/{privacy-lock-Be39vQUN.js → privacy-lock-CbFCAMM3.js} +3 -3
  184. package/dist/_chunks/{privacy-lock-Be39vQUN.js.map → privacy-lock-CbFCAMM3.js.map} +1 -1
  185. package/dist/_chunks/{product-hub-panel-C3bMjscm.js → product-hub-panel-w40-_-1s.js} +3 -3
  186. package/dist/_chunks/{product-hub-panel-C3bMjscm.js.map → product-hub-panel-w40-_-1s.js.map} +1 -1
  187. package/dist/_chunks/{public-header.agent-Bl1KFwSE.js → public-header.agent-D-EBVskf.js} +3 -3
  188. package/dist/_chunks/{public-header.agent-Bl1KFwSE.js.map → public-header.agent-D-EBVskf.js.map} +1 -1
  189. package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js → radiograph-panel.agent-LrILY2lN.js} +4 -4
  190. package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js.map → radiograph-panel.agent-LrILY2lN.js.map} +1 -1
  191. package/dist/_chunks/{receipt-euro-C6k4Gzhr.js → receipt-euro-B1cLM_TN.js} +3 -14
  192. package/dist/_chunks/receipt-euro-B1cLM_TN.js.map +1 -0
  193. package/dist/_chunks/{reviews-panel-Cy969x7q.js → reviews-panel-2GVuxGeT.js} +4 -4
  194. package/dist/_chunks/{reviews-panel-Cy969x7q.js.map → reviews-panel-2GVuxGeT.js.map} +1 -1
  195. package/dist/_chunks/{rich-text-editor-BTXlorm5.js → rich-text-editor-BJ1-Lkao.js} +1024 -932
  196. package/dist/_chunks/rich-text-editor-BJ1-Lkao.js.map +1 -0
  197. package/dist/_chunks/{session-countdown-QMsnRa1x.js → session-countdown-BqppPrw6.js} +2 -2
  198. package/dist/_chunks/{session-countdown-QMsnRa1x.js.map → session-countdown-BqppPrw6.js.map} +1 -1
  199. package/dist/_chunks/{sheet-hm04DGFd.js → sheet-C8WIDFS8.js} +2 -2
  200. package/dist/_chunks/{sheet-hm04DGFd.js.map → sheet-C8WIDFS8.js.map} +1 -1
  201. package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js → sign-in-with-alfadocs-button-DWwBJtyE.js} +2 -2
  202. package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js.map → sign-in-with-alfadocs-button-DWwBJtyE.js.map} +1 -1
  203. package/dist/_chunks/{signature-request-b-86AGlT.js → signature-request-D_j2aQu1.js} +359 -370
  204. package/dist/_chunks/signature-request-D_j2aQu1.js.map +1 -0
  205. package/dist/_chunks/{slot-grid-Bk3GZL1p.js → slot-grid-B3eOPkKD.js} +4 -4
  206. package/dist/_chunks/{slot-grid-Bk3GZL1p.js.map → slot-grid-B3eOPkKD.js.map} +1 -1
  207. package/dist/_chunks/{streaming-text-DjFqLSt_.js → streaming-text-CE1u_oGa.js} +2 -2
  208. package/dist/_chunks/{streaming-text-DjFqLSt_.js.map → streaming-text-CE1u_oGa.js.map} +1 -1
  209. package/dist/_chunks/{task-tray-5co9Jr2L.js → task-tray-DIwjAIes.js} +3 -3
  210. package/dist/_chunks/{task-tray-5co9Jr2L.js.map → task-tray-DIwjAIes.js.map} +1 -1
  211. package/dist/_chunks/{tasks-panel-BpH-x7U3.js → tasks-panel-CpcikOeY.js} +5 -5
  212. package/dist/_chunks/{tasks-panel-BpH-x7U3.js.map → tasks-panel-CpcikOeY.js.map} +1 -1
  213. package/dist/_chunks/{theme-toggle-CMz8YfC1.js → theme-toggle-bI0pgDDv.js} +3 -3
  214. package/dist/_chunks/{theme-toggle-CMz8YfC1.js.map → theme-toggle-bI0pgDDv.js.map} +1 -1
  215. package/dist/_chunks/{toast-8jqtbfAB.js → toast-ZZfhA5u0.js} +2 -2
  216. package/dist/_chunks/{toast-8jqtbfAB.js.map → toast-ZZfhA5u0.js.map} +1 -1
  217. package/dist/_chunks/{token-insert-menu-9Um0JinI.js → token-insert-menu-A9B5AJw6.js} +2 -2
  218. package/dist/_chunks/{token-insert-menu-9Um0JinI.js.map → token-insert-menu-A9B5AJw6.js.map} +1 -1
  219. package/dist/_chunks/tool-rail-D89USYE6.js +799 -0
  220. package/dist/_chunks/tool-rail-D89USYE6.js.map +1 -0
  221. package/dist/_chunks/{tooth-scheme-BWkYxxjR.js → tooth-scheme-DPAq0vQK.js} +3 -3
  222. package/dist/_chunks/{tooth-scheme-BWkYxxjR.js.map → tooth-scheme-DPAq0vQK.js.map} +1 -1
  223. package/dist/_chunks/{transaction-chip-Dth1nThY.js → transaction-chip-CwgcJiqF.js} +47 -46
  224. package/dist/_chunks/{transaction-chip-Dth1nThY.js.map → transaction-chip-CwgcJiqF.js.map} +1 -1
  225. package/dist/_chunks/{unit-converter-BTgU50gk.js → unit-converter-C-LpGzrN.js} +2 -2
  226. package/dist/_chunks/{unit-converter-BTgU50gk.js.map → unit-converter-C-LpGzrN.js.map} +1 -1
  227. package/dist/_chunks/user-plus-BtcOLgNU.js +17 -0
  228. package/dist/_chunks/user-plus-BtcOLgNU.js.map +1 -0
  229. package/dist/_chunks/{warning-stack-BW5Dwb3z.js → warning-stack-C0glSB7p.js} +3 -3
  230. package/dist/_chunks/{warning-stack-BW5Dwb3z.js.map → warning-stack-C0glSB7p.js.map} +1 -1
  231. package/dist/_chunks/{workflow-map-CXdsxvUj.js → workflow-map-DhR_h5yw.js} +5 -5
  232. package/dist/_chunks/{workflow-map-CXdsxvUj.js.map → workflow-map-DhR_h5yw.js.map} +1 -1
  233. package/dist/agent-catalog.json +3 -418
  234. package/dist/agent-i18n/en.json +2 -18
  235. package/dist/components/agenda-tray/index.js +1 -1
  236. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +9 -0
  237. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -1
  238. package/dist/components/ai-consent-banner/index.d.ts +1 -1
  239. package/dist/components/ai-consent-banner/index.d.ts.map +1 -1
  240. package/dist/components/ai-consent-banner/index.js +1 -1
  241. package/dist/components/ai-prompt-input/index.js +1 -1
  242. package/dist/components/anamnesis-card/index.js +1 -1
  243. package/dist/components/appointment-card/appointment-card.d.ts +24 -0
  244. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  245. package/dist/components/appointment-card/index.js +2 -2
  246. package/dist/components/appointment-peek/index.js +1 -1
  247. package/dist/components/appointment-timeline/appointment-timeline.d.ts +15 -1
  248. package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -1
  249. package/dist/components/appointment-timeline/index.js +1 -1
  250. package/dist/components/audio-recorder/index.js +1 -1
  251. package/dist/components/bishop-score/index.js +1 -1
  252. package/dist/components/bmi-calculator/index.js +1 -1
  253. package/dist/components/booking/booking-types.d.ts +6 -0
  254. package/dist/components/booking/booking-types.d.ts.map +1 -1
  255. package/dist/components/booking/booking.d.ts.map +1 -1
  256. package/dist/components/booking/cascade.d.ts +6 -0
  257. package/dist/components/booking/cascade.d.ts.map +1 -1
  258. package/dist/components/booking/index.js +1 -1
  259. package/dist/components/button/button.d.ts +1 -1
  260. package/dist/components/button/button.d.ts.map +1 -1
  261. package/dist/components/button/index.js +2 -2
  262. package/dist/components/button-group/index.js +1 -1
  263. package/dist/components/calendar/index.js +1 -1
  264. package/dist/components/care-plan-card/index.js +1 -1
  265. package/dist/components/care-plan-entry-card/index.js +1 -1
  266. package/dist/components/care-plan-header/index.js +1 -1
  267. package/dist/components/carousel/index.js +1 -1
  268. package/dist/components/chart/index.js +1 -1
  269. package/dist/components/chat-input/index.js +1 -1
  270. package/dist/components/chat-message/index.js +1 -1
  271. package/dist/components/connection-status/index.js +1 -1
  272. package/dist/components/contact-profile-card/index.js +1 -1
  273. package/dist/components/control-room-rail/index.js +1 -1
  274. package/dist/components/copy-field/index.js +1 -1
  275. package/dist/components/cycle-calculator/index.js +1 -1
  276. package/dist/components/dashboard-grid/index.js +1 -1
  277. package/dist/components/data-table/index.js +4 -4
  278. package/dist/components/data-table-tabs/index.js +1 -1
  279. package/dist/components/description-list/index.js +1 -1
  280. package/dist/components/document-preview/index.js +1 -1
  281. package/dist/components/document-scanner/index.js +1 -1
  282. package/dist/components/due-date-calculator/index.js +1 -1
  283. package/dist/components/editable-description/index.js +1 -1
  284. package/dist/components/editor-overlay/index.js +1 -1
  285. package/dist/components/empty-state/index.js +1 -1
  286. package/dist/components/entity-summary/index.js +1 -1
  287. package/dist/components/error-boundary/index.js +1 -1
  288. package/dist/components/face-scheme/index.js +1 -1
  289. package/dist/components/fetal-weight/index.js +1 -1
  290. package/dist/components/field-array/index.js +1 -1
  291. package/dist/components/file-manager/index.js +1 -1
  292. package/dist/components/finished-terminal/index.js +1 -1
  293. package/dist/components/fiscal-code-input/index.js +1 -1
  294. package/dist/components/freemium-paywall/index.js +1 -1
  295. package/dist/components/gestational-age-calculator/index.js +1 -1
  296. package/dist/components/hcg-doubling/index.js +1 -1
  297. package/dist/components/header/index.js +1 -1
  298. package/dist/components/header-settings/index.js +1 -1
  299. package/dist/components/hover-card/index.js +1 -1
  300. package/dist/components/icon-button/index.js +1 -1
  301. package/dist/components/icon-button-group/index.js +1 -1
  302. package/dist/components/icon-picker/index.js +1 -1
  303. package/dist/components/image-cropper/index.js +1 -1
  304. package/dist/components/info-tip/index.js +1 -1
  305. package/dist/components/key-value-pair/index.js +1 -1
  306. package/dist/components/locale-picker/index.js +1 -1
  307. package/dist/components/map-view/index.js +1 -1
  308. package/dist/components/message-card/index.js +1 -1
  309. package/dist/components/message-tray/index.js +1 -1
  310. package/dist/components/note-timeline/index.js +1 -1
  311. package/dist/components/note-timeline/note-timeline.d.ts +9 -0
  312. package/dist/components/note-timeline/note-timeline.d.ts.map +1 -1
  313. package/dist/components/notes-panel/index.d.ts +1 -0
  314. package/dist/components/notes-panel/index.d.ts.map +1 -1
  315. package/dist/components/notes-panel/index.js +1 -1
  316. package/dist/components/notes-panel/notes-panel.d.ts +13 -5
  317. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -1
  318. package/dist/components/notification-card/index.js +1 -1
  319. package/dist/components/notification-tray/index.js +1 -1
  320. package/dist/components/optical-prescription/index.js +1 -1
  321. package/dist/components/panel-subview/index.js +1 -1
  322. package/dist/components/panel-subview/panel-subview.d.ts.map +1 -1
  323. package/dist/components/patient-details/index.js +1 -1
  324. package/dist/components/patient-search/index.js +1 -1
  325. package/dist/components/patient-summary-card/index.js +1 -1
  326. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  327. package/dist/components/patient-table/index.js +1 -1
  328. package/dist/components/payment-card/index.js +1 -1
  329. package/dist/components/periodontal-chart/index.js +1 -1
  330. package/dist/components/periodontal-chart-card/index.js +1 -1
  331. package/dist/components/popover/index.js +1 -1
  332. package/dist/components/practice-results/index.js +1 -1
  333. package/dist/components/pregnancy-dating/index.js +1 -1
  334. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  335. package/dist/components/privacy-lock/index.js +1 -1
  336. package/dist/components/product-hub-tray/index.js +1 -1
  337. package/dist/components/public-header/index.js +1 -1
  338. package/dist/components/radiograph-panel/index.js +1 -1
  339. package/dist/components/reviews-panel/index.js +1 -1
  340. package/dist/components/rich-text-editor/index.d.ts +1 -1
  341. package/dist/components/rich-text-editor/index.d.ts.map +1 -1
  342. package/dist/components/rich-text-editor/index.js +1 -1
  343. package/dist/components/rich-text-editor/rich-text-editor.d.ts +48 -0
  344. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  345. package/dist/components/session-countdown/index.js +1 -1
  346. package/dist/components/sheet/index.js +1 -1
  347. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  348. package/dist/components/slot-grid/index.js +1 -1
  349. package/dist/components/streaming-text/index.js +1 -1
  350. package/dist/components/task-tray/index.js +1 -1
  351. package/dist/components/tasks-panel/index.js +1 -1
  352. package/dist/components/theme-toggle/index.js +1 -1
  353. package/dist/components/toast/index.js +1 -1
  354. package/dist/components/token-insert-menu/index.js +1 -1
  355. package/dist/components/tool-rail/index.js +1 -1
  356. package/dist/components/tool-rail/tool-rail.d.ts.map +1 -1
  357. package/dist/components/tooth-scheme/index.js +1 -1
  358. package/dist/components/transaction-chip/index.js +1 -1
  359. package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
  360. package/dist/components/transaction-chip/transaction-chip.d.ts.map +1 -1
  361. package/dist/components/unit-converter/index.js +1 -1
  362. package/dist/components/warning-stack/index.js +1 -1
  363. package/dist/components/workflow/index.js +1 -1
  364. package/dist/host-compat.css +13 -4
  365. package/dist/i18n/locales/ar.d.ts +248 -194
  366. package/dist/i18n/locales/ar.d.ts.map +1 -1
  367. package/dist/i18n/locales/ar.js +253 -199
  368. package/dist/i18n/locales/ar.js.map +1 -1
  369. package/dist/i18n/locales/de.d.ts +232 -178
  370. package/dist/i18n/locales/de.d.ts.map +1 -1
  371. package/dist/i18n/locales/de.js +237 -183
  372. package/dist/i18n/locales/de.js.map +1 -1
  373. package/dist/i18n/locales/el.d.ts +247 -193
  374. package/dist/i18n/locales/el.d.ts.map +1 -1
  375. package/dist/i18n/locales/el.js +252 -198
  376. package/dist/i18n/locales/el.js.map +1 -1
  377. package/dist/i18n/locales/en.d.ts +54 -0
  378. package/dist/i18n/locales/en.d.ts.map +1 -1
  379. package/dist/i18n/locales/en.js +59 -5
  380. package/dist/i18n/locales/en.js.map +1 -1
  381. package/dist/i18n/locales/es.d.ts +240 -186
  382. package/dist/i18n/locales/es.d.ts.map +1 -1
  383. package/dist/i18n/locales/es.js +245 -191
  384. package/dist/i18n/locales/es.js.map +1 -1
  385. package/dist/i18n/locales/fr.d.ts +234 -180
  386. package/dist/i18n/locales/fr.d.ts.map +1 -1
  387. package/dist/i18n/locales/fr.js +239 -185
  388. package/dist/i18n/locales/fr.js.map +1 -1
  389. package/dist/i18n/locales/hi.d.ts +248 -194
  390. package/dist/i18n/locales/hi.d.ts.map +1 -1
  391. package/dist/i18n/locales/hi.js +257 -199
  392. package/dist/i18n/locales/hi.js.map +1 -1
  393. package/dist/i18n/locales/it.d.ts +192 -138
  394. package/dist/i18n/locales/it.d.ts.map +1 -1
  395. package/dist/i18n/locales/it.js +197 -143
  396. package/dist/i18n/locales/it.js.map +1 -1
  397. package/dist/i18n/locales/ja.d.ts +246 -192
  398. package/dist/i18n/locales/ja.d.ts.map +1 -1
  399. package/dist/i18n/locales/ja.js +251 -197
  400. package/dist/i18n/locales/ja.js.map +1 -1
  401. package/dist/i18n/locales/nl.d.ts +237 -183
  402. package/dist/i18n/locales/nl.d.ts.map +1 -1
  403. package/dist/i18n/locales/nl.js +242 -188
  404. package/dist/i18n/locales/nl.js.map +1 -1
  405. package/dist/i18n/locales/pl.d.ts +242 -188
  406. package/dist/i18n/locales/pl.d.ts.map +1 -1
  407. package/dist/i18n/locales/pl.js +247 -193
  408. package/dist/i18n/locales/pl.js.map +1 -1
  409. package/dist/i18n/locales/pt.d.ts +242 -188
  410. package/dist/i18n/locales/pt.d.ts.map +1 -1
  411. package/dist/i18n/locales/pt.js +247 -193
  412. package/dist/i18n/locales/pt.js.map +1 -1
  413. package/dist/i18n/locales/ro.d.ts +241 -187
  414. package/dist/i18n/locales/ro.d.ts.map +1 -1
  415. package/dist/i18n/locales/ro.js +246 -192
  416. package/dist/i18n/locales/ro.js.map +1 -1
  417. package/dist/i18n/locales/ru.d.ts +247 -193
  418. package/dist/i18n/locales/ru.d.ts.map +1 -1
  419. package/dist/i18n/locales/ru.js +252 -198
  420. package/dist/i18n/locales/ru.js.map +1 -1
  421. package/dist/i18n/locales/sq.d.ts +241 -187
  422. package/dist/i18n/locales/sq.d.ts.map +1 -1
  423. package/dist/i18n/locales/sq.js +246 -192
  424. package/dist/i18n/locales/sq.js.map +1 -1
  425. package/dist/i18n/locales/sv.d.ts +242 -188
  426. package/dist/i18n/locales/sv.d.ts.map +1 -1
  427. package/dist/i18n/locales/sv.js +247 -193
  428. package/dist/i18n/locales/sv.js.map +1 -1
  429. package/dist/i18n/locales/tr.d.ts +248 -194
  430. package/dist/i18n/locales/tr.d.ts.map +1 -1
  431. package/dist/i18n/locales/tr.js +253 -199
  432. package/dist/i18n/locales/tr.js.map +1 -1
  433. package/dist/i18n/locales/zh.d.ts +241 -187
  434. package/dist/i18n/locales/zh.d.ts.map +1 -1
  435. package/dist/i18n/locales/zh.js +246 -192
  436. package/dist/i18n/locales/zh.js.map +1 -1
  437. package/dist/index.js +107 -107
  438. package/dist/locales/ar.json +253 -199
  439. package/dist/locales/de.json +237 -183
  440. package/dist/locales/el.json +252 -198
  441. package/dist/locales/en.json +59 -5
  442. package/dist/locales/es.json +245 -191
  443. package/dist/locales/fr.json +239 -185
  444. package/dist/locales/hi.json +253 -199
  445. package/dist/locales/it.json +197 -143
  446. package/dist/locales/ja.json +251 -197
  447. package/dist/locales/nl.json +242 -188
  448. package/dist/locales/pl.json +247 -193
  449. package/dist/locales/pt.json +247 -193
  450. package/dist/locales/ro.json +246 -192
  451. package/dist/locales/ru.json +252 -198
  452. package/dist/locales/sq.json +246 -192
  453. package/dist/locales/sv.json +247 -193
  454. package/dist/locales/tr.json +253 -199
  455. package/dist/locales/zh.json +246 -192
  456. package/dist/patterns/alia-assistant/index.js +1 -1
  457. package/dist/patterns/anamnesis/index.js +1 -1
  458. package/dist/patterns/calendar/calendar-appointment-details.d.ts +7 -0
  459. package/dist/patterns/calendar/calendar-appointment-details.d.ts.map +1 -1
  460. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +10 -5
  461. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts.map +1 -1
  462. package/dist/patterns/calendar/calendar-bookings-panel.d.ts +31 -0
  463. package/dist/patterns/calendar/calendar-bookings-panel.d.ts.map +1 -0
  464. package/dist/patterns/calendar/calendar-info-hover.d.ts +15 -1
  465. package/dist/patterns/calendar/calendar-info-hover.d.ts.map +1 -1
  466. package/dist/patterns/calendar/calendar-privacy.d.ts +23 -0
  467. package/dist/patterns/calendar/calendar-privacy.d.ts.map +1 -0
  468. package/dist/patterns/calendar/calendar-rail-settle.d.ts +14 -0
  469. package/dist/patterns/calendar/calendar-rail-settle.d.ts.map +1 -0
  470. package/dist/patterns/calendar/calendar-upcoming-panel.d.ts +32 -0
  471. package/dist/patterns/calendar/calendar-upcoming-panel.d.ts.map +1 -0
  472. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +62 -0
  473. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts.map +1 -0
  474. package/dist/patterns/calendar/calendar-workspace.d.ts +14 -1
  475. package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
  476. package/dist/patterns/calendar/calendar-workspace.model.d.ts +37 -1
  477. package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
  478. package/dist/patterns/calendar/calendar.journey.d.ts +9 -1
  479. package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
  480. package/dist/patterns/calendar/calendar.model.d.ts +8 -2
  481. package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
  482. package/dist/patterns/calendar/calendar.sheets.d.ts +49 -28
  483. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  484. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  485. package/dist/patterns/calendar/calendar.types.d.ts +6 -0
  486. package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
  487. package/dist/patterns/calendar/index.d.ts +2 -2
  488. package/dist/patterns/calendar/index.d.ts.map +1 -1
  489. package/dist/patterns/calendar/index.js +1 -1
  490. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  491. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  492. package/dist/patterns/signature-request/index.js +1 -1
  493. package/dist/tokens.css +1 -1
  494. package/package.json +3 -1
  495. package/dist/_chunks/ai-consent-banner-De4gzSBZ.js.map +0 -1
  496. package/dist/_chunks/appointment-card-WsDGBBut.js.map +0 -1
  497. package/dist/_chunks/appointment-timeline-D-rNwKpS.js.map +0 -1
  498. package/dist/_chunks/booking-x3J7sS2G.js.map +0 -1
  499. package/dist/_chunks/button-nJaPh_HC.js.map +0 -1
  500. package/dist/_chunks/calendar-workspace-Cc1LRVWY.js +0 -9900
  501. package/dist/_chunks/calendar-workspace-Cc1LRVWY.js.map +0 -1
  502. package/dist/_chunks/file-manager-UlcYQv8n.js.map +0 -1
  503. package/dist/_chunks/note-timeline-D2oPuQP6.js.map +0 -1
  504. package/dist/_chunks/notes-panel-CkbfDDzj.js.map +0 -1
  505. package/dist/_chunks/panel-subview-BNXN8OEL.js.map +0 -1
  506. package/dist/_chunks/patient-summary-card-B131Q7Bp.js.map +0 -1
  507. package/dist/_chunks/receipt-euro-C6k4Gzhr.js.map +0 -1
  508. package/dist/_chunks/rich-text-editor-BTXlorm5.js.map +0 -1
  509. package/dist/_chunks/signature-request-b-86AGlT.js.map +0 -1
  510. package/dist/_chunks/tool-rail-BP8sjxCw.js +0 -667
  511. package/dist/_chunks/tool-rail-BP8sjxCw.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import { jsx as n, jsxs as h, Fragment as ye } from "react/jsx-runtime";
2
- import { useState as M, useRef as ge, useEffect as Ee, useId as j, forwardRef as ga } from "react";
1
+ import { jsx as n, jsxs as h, Fragment as we } from "react/jsx-runtime";
2
+ import { useState as L, useRef as ge, useEffect as Ee, useId as j, forwardRef as ga } from "react";
3
3
  import { useTranslation as fn } from "react-i18next";
4
4
  import { D as S } from "./dialog-BJiLqhx6.js";
5
5
  import { Q as fa } from "./qr-code-DOJs4suh.js";
6
6
  import { S as va } from "./spinner-hbwuKwMf.js";
7
- import { B as F } from "./button-nJaPh_HC.js";
8
- import { I as gn } from "./icon-button-8xqRnkdG.js";
7
+ import { B as F } from "./button-CaUe1uyd.js";
8
+ import { I as gn } from "./icon-button-CehAeZoP.js";
9
9
  import { s as ba, S as Ae } from "./select-CLSUnKjF.js";
10
10
  import { S as ct } from "./switch-OILsBLWo.js";
11
11
  import { A as K } from "./alert-CiQ5Pa3Q.js";
@@ -13,7 +13,7 @@ import { S as dt } from "./separator-CYU_bGFn.js";
13
13
  import { A as ut } from "./avatar-CkDeQOSI.js";
14
14
  import { a as St, T as It } from "./tooltip-Cp-PLePW.js";
15
15
  import { a as kt } from "./whatsapp-button-Ai4YAVkl.js";
16
- import { c as vn } from "./createLucideIcon-DhHxpK9K.js";
16
+ import { c as An } from "./createLucideIcon-DhHxpK9K.js";
17
17
  import { M as Ot } from "./mail-BqXVF2zH.js";
18
18
  import { M as xa } from "./message-square-Bye4ATvx.js";
19
19
  import { S as Pe } from "./skeleton-B1KTdJ4N.js";
@@ -25,8 +25,9 @@ import { D as ht } from "./download-CfYKJO_j.js";
25
25
  import { S as Ca } from "./share-2-B49jcW2I.js";
26
26
  import { T as mt } from "./trash-2-uumy3fy1.js";
27
27
  import { L as pt } from "./list-DgE1xWBM.js";
28
- import { T as ya } from "./triangle-alert-CBnO6nq_.js";
29
- import { C as wa } from "./circle-check-BN6rz4NV.js";
28
+ import { U as Tt } from "./user-plus-BtcOLgNU.js";
29
+ import { T as wa } from "./triangle-alert-CBnO6nq_.js";
30
+ import { C as ya } from "./circle-check-BN6rz4NV.js";
30
31
  import { P as gt } from "./plus-DzMQ_c6b.js";
31
32
  import { X as Sa } from "./x-B5YnXwCz.js";
32
33
  import { P as Ia } from "./pen-line-D0De5zdl.js";
@@ -40,7 +41,7 @@ const ka = [
40
41
  ["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
41
42
  ["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
42
43
  ["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
43
- ], Oa = vn("link-2", ka);
44
+ ], Oa = An("link-2", ka);
44
45
  /**
45
46
  * @license lucide-react v1.22.0 - ISC
46
47
  *
@@ -60,7 +61,7 @@ const Ta = [
60
61
  ["path", { d: "M16 12h1", key: "1slzba" }],
61
62
  ["path", { d: "M21 12v.01", key: "1lwtk9" }],
62
63
  ["path", { d: "M12 21v-1", key: "1880an" }]
63
- ], Ea = vn("qr-code", Ta);
64
+ ], Ea = An("qr-code", Ta);
64
65
  /**
65
66
  * @license lucide-react v1.22.0 - ISC
66
67
  *
@@ -77,84 +78,72 @@ const Aa = [
77
78
  key: "9zh506"
78
79
  }
79
80
  ]
80
- ], Pa = vn("shopping-cart", Aa);
81
+ ], Pa = An("shopping-cart", Aa);
81
82
  /**
82
83
  * @license lucide-react v1.22.0 - ISC
83
84
  *
84
85
  * This source code is licensed under the ISC license.
85
86
  * See the LICENSE file in the root directory of this source tree.
86
87
  */
87
- const _a = [
88
+ const Da = [
88
89
  ["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", ry: "2", key: "76otgf" }],
89
90
  ["line", { x1: "12", x2: "12.01", y1: "18", y2: "18", key: "1dp563" }]
90
- ], Da = vn("tablet", _a);
91
- /**
92
- * @license lucide-react v1.22.0 - ISC
93
- *
94
- * This source code is licensed under the ISC license.
95
- * See the LICENSE file in the root directory of this source tree.
96
- */
97
- const Ma = [
98
- ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
99
- ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
100
- ["line", { x1: "19", x2: "19", y1: "8", y2: "14", key: "1bvyxn" }],
101
- ["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
102
- ], Tt = vn("user-plus", Ma), En = [
91
+ ], _a = An("tablet", Da), Tn = [
103
92
  "sms",
104
93
  "email",
105
94
  "on-device"
106
95
  ];
107
96
  function cs() {
108
- const { t: i } = fn();
97
+ const { t: r } = fn();
109
98
  return {
110
99
  sms: {
111
- label: i("signatureRequest.viaSms"),
100
+ label: r("signatureRequest.viaSms"),
112
101
  icon: /* @__PURE__ */ n(xa, { className: "ds:size-4", "aria-hidden": !0 })
113
102
  },
114
103
  email: {
115
- label: i("signatureRequest.viaEmail"),
104
+ label: r("signatureRequest.viaEmail"),
116
105
  icon: /* @__PURE__ */ n(Ot, { className: "ds:size-4", "aria-hidden": !0 })
117
106
  },
118
107
  whatsapp: {
119
- label: i("signatureRequest.viaWhatsapp"),
108
+ label: r("signatureRequest.viaWhatsapp"),
120
109
  icon: /* @__PURE__ */ n(kt, { className: "ds:size-4", "aria-hidden": !0 })
121
110
  },
122
111
  "on-device": {
123
- label: i("signatureRequest.onThisDevice"),
124
- icon: /* @__PURE__ */ n(Da, { className: "ds:size-4", "aria-hidden": !0 })
112
+ label: r("signatureRequest.onThisDevice"),
113
+ icon: /* @__PURE__ */ n(_a, { className: "ds:size-4", "aria-hidden": !0 })
125
114
  },
126
115
  qr: {
127
- label: i("signatureRequest.viaQr"),
116
+ label: r("signatureRequest.viaQr"),
128
117
  icon: /* @__PURE__ */ n(Ea, { className: "ds:size-4", "aria-hidden": !0 })
129
118
  }
130
119
  };
131
120
  }
132
121
  function Et({
133
- loading: i,
134
- loadingText: r,
122
+ loading: r,
123
+ loadingText: i,
135
124
  loadedText: c,
136
125
  message: l
137
126
  }) {
138
- const [g, I] = M(""), _ = ge(!1);
127
+ const [g, I] = L(""), D = ge(!1);
139
128
  return Ee(() => {
140
- i ? I(r) : _.current && I(c), _.current = i;
141
- }, [i, r, c]), /* @__PURE__ */ n("span", { role: "status", className: "ds:sr-only", children: l !== void 0 && !i ? l : g });
129
+ r ? I(i) : D.current && I(c), D.current = r;
130
+ }, [r, i, c]), /* @__PURE__ */ n("span", { role: "status", className: "ds:sr-only", children: l !== void 0 && !r ? l : g });
142
131
  }
143
- const ue = "ds:grid ds:grid-cols-[var(--spacing-xl)_minmax(0,1fr)_var(--min-target-size)] ds:@[512px]/person:grid-cols-[var(--spacing-xl)_minmax(0,1fr)_max-content_var(--min-target-size)] ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", ft = "ds:col-start-1 ds:row-start-1 ds:flex ds:items-center ds:justify-center", vt = "ds:col-start-2 ds:row-start-1 ds:min-w-0", La = "ds:col-[2/-2] ds:row-start-1 ds:min-w-0", is = "ds:col-[-3/-2] ds:row-start-2 ds:min-w-0 ds:@[512px]/person:row-start-1", $a = "ds:col-[-2/-1] ds:row-start-1 ds:flex ds:items-center ds:justify-center", H = "ds:col-[2/-2] ds:min-w-0 ds:text-start", An = "ds:col-[1/-2] ds:row-start-1 ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", za = "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", pn = "ds:@container/person";
144
- function At({ meta: i }) {
132
+ const ue = "ds:grid ds:grid-cols-[var(--spacing-xl)_minmax(0,1fr)_var(--min-target-size)] ds:@[512px]/person:grid-cols-[var(--spacing-xl)_minmax(0,1fr)_max-content_var(--min-target-size)] ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", ft = "ds:col-start-1 ds:row-start-1 ds:flex ds:items-center ds:justify-center", vt = "ds:col-start-2 ds:row-start-1 ds:min-w-0", La = "ds:col-[2/-2] ds:row-start-1 ds:min-w-0", rs = "ds:col-[-3/-2] ds:row-start-2 ds:min-w-0 ds:@[512px]/person:row-start-1", Ma = "ds:col-[-2/-1] ds:row-start-1 ds:flex ds:items-center ds:justify-center", H = "ds:col-[2/-2] ds:min-w-0 ds:text-start", En = "ds:col-[1/-2] ds:row-start-1 ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", $a = "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", pn = "ds:@container/person";
133
+ function At({ meta: r }) {
145
134
  return /* @__PURE__ */ n(
146
135
  "span",
147
136
  {
148
137
  "aria-hidden": "true",
149
138
  "data-channel-sizer": "",
150
139
  className: "ds:invisible ds:block ds:h-0 ds:overflow-hidden",
151
- children: Object.entries(i).map(([r, { label: c, icon: l }]) => /* @__PURE__ */ n("span", { className: "ds:flex ds:w-max", children: /* @__PURE__ */ h("span", { className: ba({ size: "md" }), children: [
140
+ children: Object.entries(r).map(([i, { label: c, icon: l }]) => /* @__PURE__ */ n("span", { className: "ds:flex ds:w-max", children: /* @__PURE__ */ h("span", { className: ba({ size: "md" }), children: [
152
141
  /* @__PURE__ */ h("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
153
142
  /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:shrink-0", children: l }),
154
143
  /* @__PURE__ */ n("span", { className: "ds:whitespace-nowrap", children: c })
155
144
  ] }),
156
145
  /* @__PURE__ */ n(Na, { className: "ds:size-4 ds:shrink-0" })
157
- ] }) }, r))
146
+ ] }) }, i))
158
147
  }
159
148
  );
160
149
  }
@@ -162,62 +151,62 @@ const bt = [
162
151
  "link",
163
152
  "email",
164
153
  "whatsapp"
165
- ], Fa = [0, 1], Ha = "ds:flex ds:flex-col ds:@[512px]/person:grid ds:@[512px]/person:grid-cols-[max-content_minmax(0,1fr)_max-content] ds:@[512px]/person:gap-x-[var(--spacing-md)]", xt = "ds:flex ds:flex-col ds:@[512px]/person:col-span-full ds:@[512px]/person:grid ds:@[512px]/person:grid-cols-subgrid", rs = "ds:grid ds:grid-cols-[minmax(0,1fr)_max-content] ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)] ds:py-[var(--spacing-xs)] ds:@[512px]/person:col-span-full ds:@[512px]/person:grid-cols-subgrid ds:@[512px]/person:gap-x-[var(--spacing-md)]", Rt = "ds:col-start-1 ds:row-start-1 ds:min-w-0 ds:text-start ds:@[512px]/person:col-start-1 ds:@[512px]/person:whitespace-nowrap", Nt = "ds:col-span-full ds:row-start-2 ds:min-w-0 ds:text-start ds:@[512px]/person:col-span-1 ds:@[512px]/person:col-start-2 ds:@[512px]/person:row-start-1", qt = "ds:col-start-2 ds:row-start-1 ds:flex ds:justify-end ds:@[512px]/person:col-start-3";
166
- function Pt(i) {
167
- const r = (i instanceof Date ? i : new Date(i)).getTime();
168
- return Number.isNaN(r) ? null : r;
154
+ ], za = [0, 1], Fa = "ds:flex ds:flex-col ds:@[512px]/person:grid ds:@[512px]/person:grid-cols-[max-content_minmax(0,1fr)_max-content] ds:@[512px]/person:gap-x-[var(--spacing-md)]", xt = "ds:flex ds:flex-col ds:@[512px]/person:col-span-full ds:@[512px]/person:grid ds:@[512px]/person:grid-cols-subgrid", is = "ds:grid ds:grid-cols-[minmax(0,1fr)_max-content] ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)] ds:py-[var(--spacing-xs)] ds:@[512px]/person:col-span-full ds:@[512px]/person:grid-cols-subgrid ds:@[512px]/person:gap-x-[var(--spacing-md)]", Rt = "ds:col-start-1 ds:row-start-1 ds:min-w-0 ds:text-start ds:@[512px]/person:col-start-1 ds:@[512px]/person:whitespace-nowrap", Nt = "ds:col-span-full ds:row-start-2 ds:min-w-0 ds:text-start ds:@[512px]/person:col-span-1 ds:@[512px]/person:col-start-2 ds:@[512px]/person:row-start-1", qt = "ds:col-start-2 ds:row-start-1 ds:flex ds:justify-end ds:@[512px]/person:col-start-3";
155
+ function Pt(r) {
156
+ const i = (r instanceof Date ? r : new Date(r)).getTime();
157
+ return Number.isNaN(i) ? null : i;
169
158
  }
170
- function ja(i) {
171
- return i.map((r, c) => ({ record: r, index: c, ms: Pt(r.createdAt) })).sort((r, c) => r.ms === c.ms ? r.index - c.index : r.ms === null ? 1 : c.ms === null ? -1 : c.ms - r.ms).map(({ record: r }) => r);
159
+ function Ha(r) {
160
+ return r.map((i, c) => ({ record: i, index: c, ms: Pt(i.createdAt) })).sort((i, c) => i.ms === c.ms ? i.index - c.index : i.ms === null ? 1 : c.ms === null ? -1 : c.ms - i.ms).map(({ record: i }) => i);
172
161
  }
173
- function Ua({
174
- signatures: i,
175
- loading: r = !1,
162
+ function ja({
163
+ signatures: r,
164
+ loading: i = !1,
176
165
  showLegalLevel: c = !0,
177
166
  onView: l,
178
167
  onDownload: g,
179
168
  onShare: I,
180
- shareTargets: _ = bt,
169
+ shareTargets: D = bt,
181
170
  onDelete: $
182
171
  }) {
183
- const { t: b, i18n: X } = fn(), D = cs(), fe = j(), ve = {
172
+ const { t: b, i18n: X } = fn(), _ = cs(), fe = j(), ve = {
184
173
  link: { label: b("signatureRequest.shareLink"), icon: /* @__PURE__ */ n(Oa, {}) },
185
174
  email: { label: b("signatureRequest.viaEmail"), icon: /* @__PURE__ */ n(Ot, {}) },
186
175
  whatsapp: {
187
176
  label: b("signatureRequest.viaWhatsapp"),
188
177
  icon: /* @__PURE__ */ n(kt, {})
189
178
  }
190
- }, De = X.language || "en", k = De === "en" ? "en-GB" : De, re = new Intl.DateTimeFormat(k, {
179
+ }, _e = X.language || "en", k = _e === "en" ? "en-GB" : _e, ie = new Intl.DateTimeFormat(k, {
191
180
  weekday: "short"
192
- }), Me = new Intl.DateTimeFormat(k, {
181
+ }), Le = new Intl.DateTimeFormat(k, {
193
182
  day: "2-digit",
194
183
  month: "2-digit",
195
184
  year: "numeric"
196
- }), Le = new Intl.DateTimeFormat(k, {
185
+ }), Me = new Intl.DateTimeFormat(k, {
197
186
  hour: "2-digit",
198
187
  minute: "2-digit"
199
188
  }), be = (A) => {
200
- const v = re.format(A);
189
+ const v = ie.format(A);
201
190
  return b("signatureRequest.signedAt", {
202
191
  weekday: v.charAt(0).toLocaleUpperCase(k) + v.slice(1),
203
- date: Me.format(A),
204
- time: Le.format(A),
192
+ date: Le.format(A),
193
+ time: Me.format(A),
205
194
  interpolation: { escapeValue: !1 }
206
195
  });
207
- }, U = ge(null), $e = ge(null), he = ge(null), [xe, Re] = M();
196
+ }, U = ge(null), $e = ge(null), he = ge(null), [xe, Re] = L();
208
197
  Ee(() => {
209
198
  const A = he.current;
210
- if (!A || r) return;
211
- const v = new Set((i ?? []).map((f) => f.id));
199
+ if (!A || i) return;
200
+ const v = new Set((r ?? []).map((f) => f.id));
212
201
  if (v.has(A.id)) return;
213
202
  he.current = null, Re(b("signatureRequest.signatureDeleted"));
214
- const y = A.order.indexOf(A.id), W = A.order.slice(y + 1).find((f) => v.has(f)) ?? A.order.slice(0, y).reverse().find((f) => v.has(f));
203
+ const w = A.order.indexOf(A.id), W = A.order.slice(w + 1).find((f) => v.has(f)) ?? A.order.slice(0, w).reverse().find((f) => v.has(f));
215
204
  window.setTimeout(() => {
216
- var we, J, Se;
205
+ var ye, J, Se;
217
206
  const f = document.activeElement;
218
207
  if (!(!f || f === document.body || !f.isConnected || f.matches('[role="dialog"], [role="alertdialog"]'))) return;
219
208
  if (W === void 0) {
220
- (we = $e.current) == null || we.focus();
209
+ (ye = $e.current) == null || ye.focus();
221
210
  return;
222
211
  }
223
212
  const P = Array.from(
@@ -227,16 +216,16 @@ function Ua({
227
216
  ).find((Y) => Y.dataset.signatureId === W);
228
217
  (Se = P == null ? void 0 : P.querySelector('[role="group"] button')) == null || Se.focus();
229
218
  }, 0);
230
- }, [i, r, b]);
231
- const C = i ? ja(i) : [];
219
+ }, [r, i, b]);
220
+ const C = r ? Ha(r) : [];
232
221
  let me;
233
- if (r)
222
+ if (i)
234
223
  me = /* @__PURE__ */ n(
235
224
  "div",
236
225
  {
237
226
  "aria-busy": "true",
238
227
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
239
- children: Fa.map((A) => /* @__PURE__ */ h(
228
+ children: za.map((A) => /* @__PURE__ */ h(
240
229
  "div",
241
230
  {
242
231
  className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
@@ -275,7 +264,7 @@ function Ua({
275
264
  ref: U,
276
265
  role: "table",
277
266
  "aria-labelledby": fe,
278
- className: Ha,
267
+ className: Fa,
279
268
  children: [
280
269
  /* @__PURE__ */ n(
281
270
  "div",
@@ -286,7 +275,7 @@ function Ua({
286
275
  "div",
287
276
  {
288
277
  role: "row",
289
- className: `${rs} ds:border-b ds:border-[color:var(--border)]`,
278
+ className: `${is} ds:border-b ds:border-[color:var(--border)]`,
290
279
  children: [
291
280
  /* @__PURE__ */ n(
292
281
  "span",
@@ -317,16 +306,16 @@ function Ua({
317
306
  )
318
307
  }
319
308
  ),
320
- /* @__PURE__ */ n("div", { role: "rowgroup", className: xt, children: C.map((v, y) => {
321
- const W = Pt(v.createdAt), f = W === null ? String(v.createdAt) : be(W), ee = W === null ? void 0 : new Date(W).toISOString(), P = D[v.channel], we = v.shareTargets ?? _, J = I ? bt.filter(
322
- (Y) => we.includes(Y)
309
+ /* @__PURE__ */ n("div", { role: "rowgroup", className: xt, children: C.map((v, w) => {
310
+ const W = Pt(v.createdAt), f = W === null ? String(v.createdAt) : be(W), ee = W === null ? void 0 : new Date(W).toISOString(), P = _[v.channel], ye = v.shareTargets ?? D, J = I ? bt.filter(
311
+ (Y) => ye.includes(Y)
323
312
  ) : [], Se = l !== void 0 || g !== void 0 || J.length > 0 || $ !== void 0;
324
313
  return /* @__PURE__ */ h(
325
314
  "div",
326
315
  {
327
316
  role: "row",
328
317
  "data-signature-id": v.id,
329
- className: y === 0 ? rs : `${rs} ds:border-t ds:border-[color:var(--border)]`,
318
+ className: w === 0 ? is : `${is} ds:border-t ds:border-[color:var(--border)]`,
330
319
  children: [
331
320
  /* @__PURE__ */ n("div", { role: "cell", className: `${Rt} type-body`, children: /* @__PURE__ */ n("time", { dateTime: ee, children: f }) }),
332
321
  /* @__PURE__ */ n("div", { role: "cell", className: Nt, children: /* @__PURE__ */ h("span", { className: "type-body-sm ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: [
@@ -431,7 +420,7 @@ function Ua({
431
420
  }
432
421
  ) : null,
433
422
  $ ? /* @__PURE__ */ n(
434
- Wa,
423
+ Ua,
435
424
  {
436
425
  id: `signature-delete-${v.id}`,
437
426
  when: f,
@@ -463,7 +452,7 @@ function Ua({
463
452
  "data-section": "signed-versions",
464
453
  className: `${pn} ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:text-start`,
465
454
  children: [
466
- /* @__PURE__ */ n("div", { className: ue, children: /* @__PURE__ */ n("div", { className: An, children: /* @__PURE__ */ n(
455
+ /* @__PURE__ */ n("div", { className: ue, children: /* @__PURE__ */ n("div", { className: En, children: /* @__PURE__ */ n(
467
456
  "h3",
468
457
  {
469
458
  id: fe,
@@ -475,7 +464,7 @@ function Ua({
475
464
  /* @__PURE__ */ n(
476
465
  Et,
477
466
  {
478
- loading: r,
467
+ loading: i,
479
468
  loadingText: b("signatureRequest.signaturesLoading"),
480
469
  loadedText: b("signatureRequest.signaturesLoaded"),
481
470
  message: xe
@@ -487,13 +476,13 @@ function Ua({
487
476
  }
488
477
  );
489
478
  }
490
- function _t() {
491
- const [i, r] = M(!1), c = ge(!1);
479
+ function Dt() {
480
+ const [r, i] = L(!1), c = ge(!1);
492
481
  return {
493
482
  tooltipProps: {
494
- open: i,
483
+ open: r,
495
484
  onOpenChange: (l) => {
496
- l && c.current || r(l);
485
+ l && c.current || i(l);
497
486
  }
498
487
  },
499
488
  triggerProps: {
@@ -504,30 +493,30 @@ function _t() {
504
493
  c.current = !1;
505
494
  }
506
495
  },
507
- hideTip: () => r(!1),
496
+ hideTip: () => i(!1),
508
497
  /** Call just before focus returns to the trigger. */
509
498
  markReturning: () => {
510
499
  c.current = !0;
511
500
  }
512
501
  };
513
502
  }
514
- function Ct({ id: i, label: r, icon: c, children: l }) {
515
- const g = _t();
503
+ function Ct({ id: r, label: i, icon: c, children: l }) {
504
+ const g = Dt();
516
505
  return /* @__PURE__ */ h(
517
506
  tn.Root,
518
507
  {
519
- id: i,
508
+ id: r,
520
509
  onOpenChange: (I) => {
521
510
  I && g.hideTip();
522
511
  },
523
512
  children: [
524
- /* @__PURE__ */ n(It, { label: r, ...g.tooltipProps, children: /* @__PURE__ */ n(tn.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
513
+ /* @__PURE__ */ n(It, { label: i, ...g.tooltipProps, children: /* @__PURE__ */ n(tn.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
525
514
  gn,
526
515
  {
527
516
  intent: "ghost",
528
517
  size: "sm",
529
518
  icon: c,
530
- "aria-label": r,
519
+ "aria-label": i,
531
520
  ...g.triggerProps
532
521
  }
533
522
  ) }) }),
@@ -543,13 +532,13 @@ function Ct({ id: i, label: r, icon: c, children: l }) {
543
532
  }
544
533
  );
545
534
  }
546
- function Wa({ id: i, when: r, dateTime: c, onConfirm: l }) {
547
- const { t: g } = fn(), I = _t(), [_, $] = M(!1), b = g("signatureRequest.deleteSignature");
535
+ function Ua({ id: r, when: i, dateTime: c, onConfirm: l }) {
536
+ const { t: g } = fn(), I = Dt(), [D, $] = L(!1), b = g("signatureRequest.deleteSignature");
548
537
  return /* @__PURE__ */ h(
549
538
  S,
550
539
  {
551
- id: i,
552
- open: _,
540
+ id: r,
541
+ open: D,
553
542
  onOpenChange: (X) => {
554
543
  X && I.hideTip(), $(X);
555
544
  },
@@ -573,7 +562,7 @@ function Wa({ id: i, when: r, dateTime: c, onConfirm: l }) {
573
562
  children: [
574
563
  /* @__PURE__ */ h(S.Header, { children: [
575
564
  /* @__PURE__ */ n(S.Title, { children: g("signatureRequest.deleteSignatureConfirm") }),
576
- /* @__PURE__ */ n(S.Description, { children: /* @__PURE__ */ n("time", { dateTime: c, children: r }) })
565
+ /* @__PURE__ */ n(S.Description, { children: /* @__PURE__ */ n("time", { dateTime: c, children: i }) })
577
566
  ] }),
578
567
  /* @__PURE__ */ h(S.Footer, { children: [
579
568
  /* @__PURE__ */ n(S.Close, { asChild: !0, children: /* @__PURE__ */ n(F, { intent: "outline", children: g("common.cancel") }) }),
@@ -597,90 +586,90 @@ function Wa({ id: i, when: r, dateTime: c, onConfirm: l }) {
597
586
  );
598
587
  }
599
588
  const Q = "__assign-later__";
600
- function Ba(i) {
601
- return i.filter((r) => r.signed !== !0);
589
+ function Wa(r) {
590
+ return r.filter((i) => i.signed !== !0);
602
591
  }
603
- function Ga(i) {
604
- return i.length > 0 && i.every(
605
- (r) => r.kind === "document" && r.canCarrySecondary === !0
592
+ function Ba(r) {
593
+ return r.length > 0 && r.every(
594
+ (i) => i.kind === "document" && i.canCarrySecondary === !0
606
595
  );
607
596
  }
608
- function _e(i) {
609
- return i.requiresOperator;
597
+ function De(r) {
598
+ return r.requiresOperator;
610
599
  }
611
- function Dt(i, r) {
612
- return i.filter((c) => c.deleted !== !0 || c.value === r).map(({ deleted: c, ...l }) => l);
600
+ function _t(r, i) {
601
+ return r.filter((c) => c.deleted !== !0 || c.value === i).map(({ deleted: c, ...l }) => l);
613
602
  }
614
- function Mt(i, r) {
615
- return i.some(
616
- (c) => c.value === r && c.disabled !== !0 && c.deleted !== !0
603
+ function Lt(r, i) {
604
+ return r.some(
605
+ (c) => c.value === i && c.disabled !== !0 && c.deleted !== !0
617
606
  );
618
607
  }
619
- function Lt(i, r) {
620
- const c = i.filter((l) => l.disabled === !0 && l.deleted !== !0).map(
608
+ function Mt(r, i) {
609
+ const c = r.filter((l) => l.disabled === !0 && l.deleted !== !0).map(
621
610
  (l) => l.description ? `${l.label} (${l.description})` : l.label
622
611
  );
623
612
  if (c.length !== 0)
624
- return new Intl.ListFormat(r || "en", { type: "unit" }).format(c);
613
+ return new Intl.ListFormat(i || "en", { type: "unit" }).format(c);
625
614
  }
626
- function Tn({
627
- items: i,
628
- channel: r,
615
+ function On({
616
+ items: r,
617
+ channel: i,
629
618
  primaryIsPatient: c
630
619
  }) {
631
- return Ga(i) ? c ? "patient" : r !== "on-device" ? "channel" : null : i.some((l) => l.kind === "anamnesis") ? "anamnesis" : "documents";
620
+ return Ba(r) ? c ? "patient" : i !== "on-device" ? "channel" : null : r.some((l) => l.kind === "anamnesis") ? "anamnesis" : "documents";
632
621
  }
633
- function Va({
634
- primaryId: i,
635
- secondId: r,
622
+ function Ga({
623
+ primaryId: r,
624
+ secondId: i,
636
625
  channel: c,
637
626
  options: l
638
627
  }) {
639
- if (r === i) return "sameAsPrimary";
640
- const g = l.find((_) => _.value === r);
628
+ if (i === r) return "sameAsPrimary";
629
+ const g = l.find((D) => D.value === i);
641
630
  if (!g || g.isPatient === !0) return "unknownSignee";
642
- const I = (_) => {
631
+ const I = (D) => {
643
632
  var $;
644
- return (!g.availableChannels || g.availableChannels.length === 0 || g.availableChannels.includes(_)) && !(($ = g.unavailableChannels) != null && $.some((b) => b.channel === _));
633
+ return (!g.availableChannels || g.availableChannels.length === 0 || g.availableChannels.includes(D)) && !(($ = g.unavailableChannels) != null && $.some((b) => b.channel === D));
645
634
  };
646
635
  return (c === "sms" || c === "whatsapp") && !I(c) ? "missingPhone" : c === "email" && !I("email") ? "missingEmail" : null;
647
636
  }
648
- const Qa = [0, 1, 2], Ka = "ds:grid ds:grid-cols-1 ds:@[512px]/person:grid-cols-2 ds:items-center ds:gap-[var(--spacing-sm)] ds:font-normal", Xa = "ds:grid ds:grid-cols-1 ds:@[512px]/person:grid-cols-[minmax(0,1fr)_minmax(0,1fr)_max-content] ds:items-center ds:gap-[var(--spacing-sm)] ds:font-normal", Ya = "ds:min-w-0 ds:font-medium", Ja = "ds:col-span-full ds:min-w-0 ds:font-medium", ls = "ds:block ds:min-w-0", yt = "ds:!gap-[var(--spacing-sm)] ds:!p-[var(--spacing-sm)]";
649
- function Za({
650
- items: i,
651
- loading: r = !1,
637
+ const Va = [0, 1, 2], Qa = "ds:grid ds:grid-cols-1 ds:@[512px]/person:grid-cols-2 ds:items-center ds:gap-[var(--spacing-sm)] ds:font-normal", Ka = "ds:grid ds:grid-cols-1 ds:@[512px]/person:grid-cols-[minmax(0,1fr)_minmax(0,1fr)_max-content] ds:items-center ds:gap-[var(--spacing-sm)] ds:font-normal", Xa = "ds:min-w-0 ds:font-medium", Ya = "ds:col-span-full ds:min-w-0 ds:font-medium", ls = "ds:block ds:min-w-0", wt = "ds:!gap-[var(--spacing-sm)] ds:!p-[var(--spacing-sm)]";
638
+ function Ja({
639
+ items: r,
640
+ loading: i = !1,
652
641
  operatorOptions: c,
653
642
  assignments: l,
654
643
  onAssign: g,
655
644
  onAssignAllToMe: I,
656
- busy: _ = !1,
645
+ busy: D = !1,
657
646
  showOperatorChannels: $ = !1,
658
647
  operatorChannels: b = {},
659
648
  onOperatorChannel: X
660
649
  }) {
661
- const { t: D, i18n: fe } = fn(), ve = cs(), De = En.map(
650
+ const { t: _, i18n: fe } = fn(), ve = cs(), _e = Tn.map(
662
651
  (C) => ({
663
652
  value: C,
664
653
  label: ve[C].label,
665
654
  startAdornment: ve[C].icon
666
655
  })
667
- ), k = j(), re = j(), Me = j(), Le = /* @__PURE__ */ n(
656
+ ), k = j(), ie = j(), Le = j(), Me = /* @__PURE__ */ n(
668
657
  Et,
669
658
  {
670
- loading: r,
671
- loadingText: D("signatureRequest.requiredLoading"),
672
- loadedText: D("signatureRequest.requiredLoaded")
659
+ loading: i,
660
+ loadingText: _("signatureRequest.requiredLoading"),
661
+ loadedText: _("signatureRequest.requiredLoaded")
673
662
  }
674
663
  );
675
- if (r)
676
- return /* @__PURE__ */ h(ye, { children: [
677
- Le,
664
+ if (i)
665
+ return /* @__PURE__ */ h(we, { children: [
666
+ Me,
678
667
  /* @__PURE__ */ n(
679
668
  "div",
680
669
  {
681
670
  "aria-busy": "true",
682
671
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
683
- children: Qa.map((C) => /* @__PURE__ */ h(
672
+ children: Va.map((C) => /* @__PURE__ */ h(
684
673
  "div",
685
674
  {
686
675
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
@@ -694,11 +683,11 @@ function Za({
694
683
  }
695
684
  )
696
685
  ] });
697
- const be = i.filter((C) => C.kind === "document"), U = i.filter((C) => C.kind === "anamnesis"), $e = i.some(
698
- (C) => _e(C) && l[C.id] === Q
686
+ const be = r.filter((C) => C.kind === "document"), U = r.filter((C) => C.kind === "anamnesis"), $e = r.some(
687
+ (C) => De(C) && l[C.id] === Q
699
688
  ), he = [be, U].find(
700
- (C) => C.some(_e)
701
- ), xe = Lt(c, fe.language), Re = (C, me, A) => {
689
+ (C) => C.some(De)
690
+ ), xe = Mt(c, fe.language), Re = (C, me, A) => {
702
691
  if (C.length === 0) return null;
703
692
  const v = C === he;
704
693
  return /* @__PURE__ */ h(
@@ -707,7 +696,7 @@ function Za({
707
696
  className: `${pn} ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]`,
708
697
  children: [
709
698
  /* @__PURE__ */ h("div", { className: ue, children: [
710
- /* @__PURE__ */ h("div", { className: An, children: [
699
+ /* @__PURE__ */ h("div", { className: En, children: [
711
700
  /* @__PURE__ */ n(
712
701
  "p",
713
702
  {
@@ -722,9 +711,9 @@ function Za({
722
711
  intent: "outline",
723
712
  size: "sm",
724
713
  startIcon: /* @__PURE__ */ n(Tt, {}),
725
- disabled: _,
714
+ disabled: D,
726
715
  onClick: I,
727
- children: D("signatureRequest.assignAllToMe")
716
+ children: _("signatureRequest.assignAllToMe")
728
717
  }
729
718
  ) : null
730
719
  ] }),
@@ -733,8 +722,8 @@ function Za({
733
722
  {
734
723
  variant: "info",
735
724
  "data-note": "assign-later",
736
- className: `${H} ${yt}`,
737
- children: /* @__PURE__ */ n(K.Description, { children: D("signatureRequest.assignLaterNote") })
725
+ className: `${H} ${wt}`,
726
+ children: /* @__PURE__ */ n(K.Description, { children: _("signatureRequest.assignLaterNote") })
738
727
  }
739
728
  ) : null,
740
729
  v && !$ ? /* @__PURE__ */ n(
@@ -742,8 +731,8 @@ function Za({
742
731
  {
743
732
  variant: "info",
744
733
  "data-note": "operator-channel",
745
- className: `${H} ${yt}`,
746
- children: /* @__PURE__ */ n(K.Description, { children: D("signatureRequest.operatorChannelNote") })
734
+ className: `${H} ${wt}`,
735
+ children: /* @__PURE__ */ n(K.Description, { children: _("signatureRequest.operatorChannelNote") })
747
736
  }
748
737
  ) : null
749
738
  ] }),
@@ -753,42 +742,42 @@ function Za({
753
742
  density: "relaxed",
754
743
  "aria-labelledby": me,
755
744
  className: H,
756
- children: C.map((y) => {
757
- const W = _e(y), f = W && $, ee = W && l[y.id] !== void 0 && l[y.id] !== Q && l[y.id] !== "";
745
+ children: C.map((w) => {
746
+ const W = De(w), f = W && $, ee = W && l[w.id] !== void 0 && l[w.id] !== Q && l[w.id] !== "";
758
747
  return /* @__PURE__ */ n(
759
748
  pt.Item,
760
749
  {
761
- value: y.id,
762
- "data-required-item-id": y.id,
750
+ value: w.id,
751
+ "data-required-item-id": w.id,
763
752
  className: "ds:!p-[var(--spacing-none)]",
764
753
  title: /* @__PURE__ */ h(
765
754
  "span",
766
755
  {
767
- className: f ? Xa : Ka,
756
+ className: f ? Ka : Qa,
768
757
  children: [
769
- /* @__PURE__ */ n("span", { className: W ? Ya : Ja, children: y.name }),
758
+ /* @__PURE__ */ n("span", { className: W ? Xa : Ya, children: w.name }),
770
759
  W ? /* @__PURE__ */ n("span", { className: ls, children: /* @__PURE__ */ n(
771
760
  Ae,
772
761
  {
773
- id: `signature-request-item-operator-${y.id}`,
774
- options: Dt(
762
+ id: `signature-request-item-operator-${w.id}`,
763
+ options: _t(
775
764
  c,
776
- l[y.id]
765
+ l[w.id]
777
766
  ),
778
- value: l[y.id],
767
+ value: l[w.id],
779
768
  onValueChange: (P) => {
780
- P && Mt(c, P) && g(y.id, P);
769
+ P && Lt(c, P) && g(w.id, P);
781
770
  },
782
771
  showDescriptions: !0,
783
- "aria-describedby": xe ? Me : void 0,
772
+ "aria-describedby": xe ? Le : void 0,
784
773
  required: !0,
785
- disabled: _,
786
- placeholder: D(
774
+ disabled: D,
775
+ placeholder: _(
787
776
  "signatureRequest.operatorPlaceholder"
788
777
  ),
789
- "aria-label": D(
778
+ "aria-label": _(
790
779
  "signatureRequest.itemOperatorLabel",
791
- { name: y.name }
780
+ { name: w.name }
792
781
  )
793
782
  }
794
783
  ) }) : null,
@@ -804,20 +793,20 @@ function Za({
804
793
  ee ? /* @__PURE__ */ n(
805
794
  Ae,
806
795
  {
807
- id: `signature-request-item-operator-channel-${y.id}`,
808
- options: De,
809
- value: b[y.id],
796
+ id: `signature-request-item-operator-channel-${w.id}`,
797
+ options: _e,
798
+ value: b[w.id],
810
799
  adornmentInTrigger: !0,
811
- disabled: _,
812
- "aria-label": D(
800
+ disabled: D,
801
+ "aria-label": _(
813
802
  "signatureRequest.itemOperatorChannelLabel",
814
- { name: y.name }
803
+ { name: w.name }
815
804
  ),
816
805
  onValueChange: (P) => {
817
- En.includes(
806
+ Tn.includes(
818
807
  P
819
808
  ) && (X == null || X(
820
- y.id,
809
+ w.id,
821
810
  P
822
811
  ));
823
812
  }
@@ -832,7 +821,7 @@ function Za({
832
821
  }
833
822
  )
834
823
  },
835
- y.id
824
+ w.id
836
825
  );
837
826
  })
838
827
  }
@@ -841,64 +830,64 @@ function Za({
841
830
  }
842
831
  );
843
832
  };
844
- return /* @__PURE__ */ h(ye, { children: [
845
- Le,
846
- xe ? /* @__PURE__ */ n("span", { id: Me, className: "ds:sr-only", children: xe }) : null,
833
+ return /* @__PURE__ */ h(we, { children: [
834
+ Me,
835
+ xe ? /* @__PURE__ */ n("span", { id: Le, className: "ds:sr-only", children: xe }) : null,
847
836
  /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)] ds:text-start", children: [
848
837
  Re(
849
838
  be,
850
839
  k,
851
- D("signatureRequest.requiredDocumentsHeading", {
840
+ _("signatureRequest.requiredDocumentsHeading", {
852
841
  count: be.length
853
842
  })
854
843
  ),
855
844
  Re(
856
845
  U,
857
- re,
858
- D("signatureRequest.requiredAnamnesisHeading", {
846
+ ie,
847
+ _("signatureRequest.requiredAnamnesisHeading", {
859
848
  count: U.length
860
849
  })
861
850
  )
862
851
  ] })
863
852
  ] });
864
853
  }
865
- function ei(i, r, { required: c = !1 } = {}) {
866
- switch (i) {
854
+ function Za(r, i, { required: c = !1 } = {}) {
855
+ switch (r) {
867
856
  case "linkSent":
868
857
  return c ? {
869
- title: r("signatureRequest.requiredLinkSentTitle"),
870
- description: r("signatureRequest.requiredLinkSentDescription")
858
+ title: i("signatureRequest.requiredLinkSentTitle"),
859
+ description: i("signatureRequest.requiredLinkSentDescription")
871
860
  } : {
872
- title: r("signatureRequest.outcomeLinkSentTitle"),
873
- description: r("signatureRequest.outcomeLinkSentDescription")
861
+ title: i("signatureRequest.outcomeLinkSentTitle"),
862
+ description: i("signatureRequest.outcomeLinkSentDescription")
874
863
  };
875
864
  case "allSigned":
876
865
  return {
877
- title: r("signatureRequest.outcomeAllSignedTitle"),
878
- description: r("signatureRequest.outcomeAllSignedDescription")
866
+ title: i("signatureRequest.outcomeAllSignedTitle"),
867
+ description: i("signatureRequest.outcomeAllSignedDescription")
879
868
  };
880
869
  case "creditsExhausted":
881
870
  return {
882
- title: r("signatureRequest.outcomeCreditsTitle"),
883
- description: r("signatureRequest.outcomeCreditsDescription")
871
+ title: i("signatureRequest.outcomeCreditsTitle"),
872
+ description: i("signatureRequest.outcomeCreditsDescription")
884
873
  };
885
874
  }
886
875
  }
887
- function ni({
888
- outcome: i
876
+ function er({
877
+ outcome: r
889
878
  }) {
890
- const r = i === "creditsExhausted";
879
+ const i = r === "creditsExhausted";
891
880
  return /* @__PURE__ */ n(
892
881
  "div",
893
882
  {
894
- "data-outcome": i,
883
+ "data-outcome": r,
895
884
  className: "ds:flex ds:justify-center ds:py-[var(--spacing-md)]",
896
885
  children: /* @__PURE__ */ n(
897
886
  "span",
898
887
  {
899
888
  "aria-hidden": "true",
900
- className: r ? "ds:text-[color:var(--warning)]" : "ds:text-[color:var(--success)]",
901
- children: r ? /* @__PURE__ */ n(ya, { className: "ds:size-[var(--icon-size-lg)]" }) : /* @__PURE__ */ n(wa, { className: "ds:size-[var(--icon-size-lg)]" })
889
+ className: i ? "ds:text-[color:var(--warning)]" : "ds:text-[color:var(--success)]",
890
+ children: i ? /* @__PURE__ */ n(wa, { className: "ds:size-[var(--icon-size-lg)]" }) : /* @__PURE__ */ n(ya, { className: "ds:size-[var(--icon-size-lg)]" })
902
891
  }
903
892
  )
904
893
  }
@@ -910,25 +899,25 @@ const nn = [
910
899
  "whatsapp",
911
900
  "on-device",
912
901
  "qr"
913
- ], wt = "signature-request-batch-channel", os = {
902
+ ], yt = "signature-request-batch-channel", os = {
914
903
  anamnesis: "signatureRequest.secondSigneeUnavailableAnamnesis",
915
904
  documents: "signatureRequest.secondSigneeUnavailableDocuments",
916
905
  patient: "signatureRequest.secondSigneeUnavailablePatient",
917
906
  channel: "signatureRequest.secondSigneeUnavailableChannel"
918
- }, si = {
907
+ }, nr = {
919
908
  sameAsPrimary: "signatureRequest.secondSigneeSameAsPrimary",
920
909
  unknownSignee: "signatureRequest.secondSigneeUnknown",
921
910
  missingPhone: "signatureRequest.secondSigneeMissingPhone",
922
911
  missingEmail: "signatureRequest.secondSigneeMissingEmail"
923
912
  };
924
- function ti(i, r, c) {
925
- const l = i instanceof Date ? i : new Date(i);
913
+ function sr(r, i, c) {
914
+ const l = r instanceof Date ? r : new Date(r);
926
915
  if (Number.isNaN(l.getTime())) return null;
927
916
  const g = { hour: "2-digit", minute: "2-digit" };
928
917
  return l.toDateString() === (/* @__PURE__ */ new Date()).toDateString() ? c("signatureRequest.qrExpiresAt", {
929
- time: new Intl.DateTimeFormat(r, g).format(l)
918
+ time: new Intl.DateTimeFormat(i, g).format(l)
930
919
  }) : c("signatureRequest.qrExpiresOn", {
931
- dateTime: new Intl.DateTimeFormat(r, {
920
+ dateTime: new Intl.DateTimeFormat(i, {
932
921
  day: "numeric",
933
922
  month: "short",
934
923
  year: "numeric",
@@ -936,30 +925,30 @@ function ti(i, r, c) {
936
925
  }).format(l)
937
926
  });
938
927
  }
939
- function sn(i, r) {
928
+ function sn(r, i) {
940
929
  var c;
941
- return ((c = i.find((l) => l.value === r)) == null ? void 0 : c.label) ?? "";
930
+ return ((c = r.find((l) => l.value === i)) == null ? void 0 : c.label) ?? "";
942
931
  }
943
- const ai = ga(
932
+ const tr = ga(
944
933
  ({
945
- open: i,
946
- onOpenChange: r,
934
+ open: r,
935
+ onOpenChange: i,
947
936
  operators: c,
948
937
  signerOptions: l,
949
938
  currentOperatorId: g,
950
939
  allowAssignLater: I = !0,
951
- requireOperator: _ = !0,
940
+ requireOperator: D = !0,
952
941
  requirePatient: $ = !0,
953
942
  initialOperatorId: b,
954
943
  initialOperatorChannel: X,
955
- initialSigners: D,
944
+ initialSigners: _,
956
945
  maxSigners: fe = 2,
957
946
  channelMode: ve = "perSigner",
958
- initialBatchChannel: De,
947
+ initialBatchChannel: _e,
959
948
  busy: k = !1,
960
- error: re,
961
- title: Me,
962
- description: Le,
949
+ error: ie,
950
+ title: Le,
951
+ description: Me,
963
952
  onRequestSignature: be,
964
953
  qrCodes: U,
965
954
  qrPending: $e = !1,
@@ -970,37 +959,37 @@ const ai = ga(
970
959
  onViewSignature: me,
971
960
  onDownloadSignature: A,
972
961
  onShareSignature: v,
973
- signatureShareTargets: y,
962
+ signatureShareTargets: w,
974
963
  onDeleteSignature: W,
975
964
  resolveChannels: f,
976
965
  requiredItems: ee,
977
966
  requiredItemsLoading: P = !1,
978
- showOperatorChannels: we = !1,
967
+ showOperatorChannels: ye = !1,
979
968
  outcome: J,
980
969
  onBuyMoreSignatures: Se,
981
970
  onOutcomeCancel: Y,
982
971
  onAddSignee: ds,
983
972
  contentProps: $t
984
973
  }, zt) => {
985
- var et, nt, st, tt, at, it;
986
- const { t: d, i18n: Pn } = fn(), bn = ge(0), us = ge(null), ze = ge(null), _n = j(), hs = j(), ms = j(), ps = j(), gs = j(), Ft = j(), fs = j(), Ht = j(), vs = j(), xn = j(), x = ee !== void 0 || P, B = ee ? Ba(ee) : [], ne = _ && !x, Ne = $ || x, N = ve === "batch", Rn = (e) => {
974
+ var et, nt, st, tt, at, rt;
975
+ const { t: d, i18n: Pn } = fn(), vn = ge(0), us = ge(null), ze = ge(null), Dn = j(), hs = j(), ms = j(), ps = j(), gs = j(), Ft = j(), fs = j(), Ht = j(), vs = j(), bn = j(), x = ee !== void 0 || P, B = ee ? Wa(ee) : [], ne = D && !x, Ne = $ || x, N = ve === "batch", xn = (e) => {
987
976
  var s;
988
977
  return ((s = l.find((t) => t.value === e)) == null ? void 0 : s.isPatient) === !0;
989
978
  }, bs = (e, s) => {
990
979
  var a, u;
991
- return x ? Tn({
980
+ return x ? On({
992
981
  items: B,
993
982
  channel: N ? s : ((a = e[0]) == null ? void 0 : a.channel) ?? s,
994
- primaryIsPatient: Rn((u = e[0]) == null ? void 0 : u.signerId)
983
+ primaryIsPatient: xn((u = e[0]) == null ? void 0 : u.signerId)
995
984
  }) === null ? Math.min(fe, 2) : 1 : fe;
996
- }, [jt, Dn] = M(!1), [Ut, Wt] = M(J);
997
- J !== Ut && (Wt(J), Dn(!1));
998
- const le = (jt ? void 0 : J) ?? (ee !== void 0 && !P && B.length === 0 ? "allSigned" : void 0), an = le ? ei(le, d, { required: x }) : null, rn = (e) => {
985
+ }, [jt, _n] = L(!1), [Ut, Wt] = L(J);
986
+ J !== Ut && (Wt(J), _n(!1));
987
+ const le = (jt ? void 0 : J) ?? (ee !== void 0 && !P && B.length === 0 ? "allSigned" : void 0), an = le ? Za(le, d, { required: x }) : null, rn = (e) => {
999
988
  var s;
1000
989
  return new Map(
1001
990
  (((s = l.find((t) => t.value === e)) == null ? void 0 : s.unavailableChannels) ?? []).map(({ channel: t, reason: a }) => [t, a])
1002
991
  );
1003
- }, Mn = (e, s) => {
992
+ }, Ln = (e, s) => {
1004
993
  var p;
1005
994
  const t = (p = l.find(
1006
995
  (m) => m.value === e
@@ -1010,18 +999,18 @@ const ai = ga(
1010
999
  return o.some((m) => !u.has(m)) ? o : a;
1011
1000
  }, ln = (e, s) => {
1012
1001
  const t = rn(e);
1013
- return Mn(e, s).filter(
1002
+ return Ln(e, s).filter(
1014
1003
  (a) => !t.has(a)
1015
1004
  );
1016
1005
  }, xs = (e) => {
1017
1006
  const s = e == null ? void 0 : e.operatorAvailableChannels;
1018
- return s && s.length > 0 ? En.filter((t) => s.includes(t)) : En;
1019
- }, Nn = (e, s) => {
1007
+ return s && s.length > 0 ? Tn.filter((t) => s.includes(t)) : Tn;
1008
+ }, Rn = (e, s) => {
1020
1009
  const t = ln(e);
1021
1010
  return t.includes(s) ? s : t[0] ?? s;
1022
1011
  }, Fe = l.find(
1023
1012
  (e) => e.isPatient === !0
1024
- ), Rs = (e) => e === void 0 ? [] : Fe && Fe.value !== e ? [e, Fe.value] : [e], Ln = (e) => {
1013
+ ), Rs = (e) => e === void 0 ? [] : Fe && Fe.value !== e ? [e, Fe.value] : [e], Mn = (e) => {
1025
1014
  const s = Rs(e), t = /* @__PURE__ */ new Map();
1026
1015
  for (const a of nn) {
1027
1016
  if (a === "on-device" || s.some((o) => ln(o).includes(a))) continue;
@@ -1032,68 +1021,68 @@ const ai = ga(
1032
1021
  }, Ns = (e, s) => {
1033
1022
  if (e === void 0) return nn;
1034
1023
  const t = Rs(e), a = nn.filter(
1035
- (m) => t.some((R) => Mn(R).includes(m))
1036
- ), u = Ln(e), o = s ? a.filter((m) => s.includes(m)) : a, p = o.some((m) => !u.has(m)) ? o : a;
1024
+ (m) => t.some((R) => Ln(R).includes(m))
1025
+ ), u = Mn(e), o = s ? a.filter((m) => s.includes(m)) : a, p = o.some((m) => !u.has(m)) ? o : a;
1037
1026
  return nn.filter(
1038
1027
  (m) => m === "on-device" || p.includes(m)
1039
1028
  );
1040
1029
  }, on = (e, s) => {
1041
- const t = Ln(e);
1030
+ const t = Mn(e);
1042
1031
  return Ns(e, s).filter(
1043
1032
  (a) => !t.has(a)
1044
1033
  );
1045
1034
  }, qs = (e, s = !0) => {
1046
- const t = on(e), a = (s ? De : void 0) ?? (Rn(e) && t.includes("sms") ? "sms" : "email");
1035
+ const t = on(e), a = (s ? _e : void 0) ?? (xn(e) && t.includes("sms") ? "sms" : "email");
1047
1036
  return t.includes(a) ? a : t[0];
1048
1037
  }, Cs = (et = c.find(
1049
1038
  (e) => e.disabled !== !0 && e.deleted !== !0
1050
- )) == null ? void 0 : et.value, ys = (e) => e === null ? I ? Q : Cs ?? Q : e ?? Cs ?? (I ? Q : ""), Bt = () => ys(b), Gt = () => (D && D.length > 0 ? D : l.length > 0 ? [
1039
+ )) == null ? void 0 : et.value, ws = (e) => e === null ? I ? Q : Cs ?? Q : e ?? Cs ?? (I ? Q : ""), Bt = () => ws(b), Gt = () => (_ && _.length > 0 ? _ : l.length > 0 ? [
1051
1040
  {
1052
1041
  signerId: l[0].value,
1053
- channel: Nn(l[0].value, "on-device")
1042
+ channel: Rn(l[0].value, "on-device")
1054
1043
  }
1055
1044
  ] : []).map((s) => {
1056
- const t = Nn(s.signerId, s.channel), { skipOtp: a, ...u } = s;
1045
+ const t = Rn(s.signerId, s.channel), { skipOtp: a, ...u } = s;
1057
1046
  return {
1058
1047
  ...u,
1059
1048
  channel: t,
1060
1049
  ...t === "on-device" && a !== void 0 ? { skipOtp: a } : {},
1061
- rowId: bn.current++
1050
+ rowId: vn.current++
1062
1051
  };
1063
1052
  }), se = (e, s = !0) => {
1064
1053
  var a;
1065
1054
  const t = ((a = c.find((u) => u.value === e)) == null ? void 0 : a.defaultChannel) ?? "email";
1066
1055
  return t === "on-device" && !s ? "email" : t;
1067
- }, ws = (e, s) => X === "on-device" ? s ? "on-device" : se(e, !1) : X ?? se(e, s), Ss = (e, s, t) => {
1056
+ }, ys = (e, s) => X === "on-device" ? s ? "on-device" : se(e, !1) : X ?? se(e, s), Ss = (e, s, t) => {
1068
1057
  const a = xs(e), u = e.operatorChannel ?? t, o = se(s);
1069
1058
  return a.includes(u) ? u : a.includes(o) ? o : a[0];
1070
1059
  }, $n = (e, s, t, a, u = "on-device") => {
1071
1060
  const o = ne && e !== Q && e !== "", p = x ? t.slice(0, bs(t, u)) : t, m = {};
1072
1061
  if (Ne)
1073
1062
  for (const R of p) {
1074
- const L = [...rn(R.signerId).keys()];
1075
- L.length > 0 && (m[R.signerId] = L);
1063
+ const M = [...rn(R.signerId).keys()];
1064
+ M.length > 0 && (m[R.signerId] = M);
1076
1065
  }
1077
1066
  return {
1078
1067
  operatorId: o ? e : null,
1079
1068
  operatorChannel: o ? s : null,
1080
1069
  signers: Ne ? p.map(
1081
- ({ rowId: R, ...L }) => N ? { signerId: L.signerId, channel: u } : L
1070
+ ({ rowId: R, ...M }) => N ? { signerId: M.signerId, channel: u } : M
1082
1071
  ) : [],
1083
1072
  changed: a,
1084
1073
  ...Object.keys(m).length > 0 ? { signerUnavailableChannels: m } : {}
1085
1074
  };
1086
1075
  }, zn = (e, s, t, a, u) => {
1087
- const o = $n(s, t, a, u), p = e(o), m = o.operatorChannel === null ? t : Ss(p, s, t), R = o.signers.length, L = a.map((T, Ce) => {
1088
- var ie, Je;
1076
+ const o = $n(s, t, a, u), p = e(o), m = o.operatorChannel === null ? t : Ss(p, s, t), R = o.signers.length, M = a.map((T, Ce) => {
1077
+ var re, Je;
1089
1078
  if (Ce >= R) return T;
1090
1079
  const te = ln(
1091
1080
  T.signerId,
1092
- (ie = p.signerAvailableChannels) == null ? void 0 : ie[T.signerId]
1093
- ), G = ((Je = p.signers.find((On) => On.signerId === T.signerId)) == null ? void 0 : Je.channel) ?? T.channel, ae = te.includes(G) ? G : te[0] ?? T.channel;
1081
+ (re = p.signerAvailableChannels) == null ? void 0 : re[T.signerId]
1082
+ ), G = ((Je = p.signers.find((kn) => kn.signerId === T.signerId)) == null ? void 0 : Je.channel) ?? T.channel, ae = te.includes(G) ? G : te[0] ?? T.channel;
1094
1083
  return ae === T.channel ? T : { ...T, channel: ae, skipOtp: void 0 };
1095
1084
  });
1096
- return { operatorChannel: m, rows: L };
1085
+ return { operatorChannel: m, rows: M };
1097
1086
  }, Is = (e, s, t, a = "", u = "email") => {
1098
1087
  var T, Ce, te;
1099
1088
  const o = (T = e[0]) == null ? void 0 : T.signerId;
@@ -1107,9 +1096,9 @@ const ai = ga(
1107
1096
  const p = $n(a, u, e, t, s), m = f(p), R = on(
1108
1097
  o,
1109
1098
  o === void 0 || (Ce = m.signerAvailableChannels) == null ? void 0 : Ce[o]
1110
- ), L = ((te = m.signers.find((G) => G.signerId === o)) == null ? void 0 : te.channel) ?? s;
1099
+ ), M = ((te = m.signers.find((G) => G.signerId === o)) == null ? void 0 : te.channel) ?? s;
1111
1100
  return {
1112
- batch: R.includes(L) ? L : R.includes(s) ? s : R[0],
1101
+ batch: R.includes(M) ? M : R.includes(s) ? s : R[0],
1113
1102
  operatorChannel: p.operatorChannel === null ? u : Ss(m, a, u)
1114
1103
  };
1115
1104
  }, ks = () => {
@@ -1127,12 +1116,12 @@ const ai = ga(
1127
1116
  operator: e,
1128
1117
  rows: s,
1129
1118
  // Required documents mode has no operator row: nothing reads it.
1130
- operatorChannel: f ? p.operatorChannel : ws(
1119
+ operatorChannel: f ? p.operatorChannel : ys(
1131
1120
  e,
1132
1121
  s.length > 0 && p.batch === "on-device"
1133
1122
  ),
1134
1123
  batchChannel: p.batch,
1135
- otpOverride: ((o = D == null ? void 0 : D[0]) == null ? void 0 : o.skipOtp) ?? null
1124
+ otpOverride: ((o = _ == null ? void 0 : _[0]) == null ? void 0 : o.skipOtp) ?? null
1136
1125
  };
1137
1126
  }
1138
1127
  const t = { batchChannel: "on-device", otpOverride: null };
@@ -1140,7 +1129,7 @@ const ai = ga(
1140
1129
  return {
1141
1130
  operator: e,
1142
1131
  rows: s,
1143
- operatorChannel: ws(
1132
+ operatorChannel: ys(
1144
1133
  e,
1145
1134
  s.some((p) => p.channel === "on-device")
1146
1135
  ),
@@ -1159,18 +1148,18 @@ const ai = ga(
1159
1148
  operatorChannel: a.operatorChannel,
1160
1149
  ...t
1161
1150
  };
1162
- }, [cn] = M(ks), [z, Fn] = M(cn.operator), [q, pe] = M(cn.rows), [Z, qe] = M(
1151
+ }, [cn] = L(ks), [z, Fn] = L(cn.operator), [q, pe] = L(cn.rows), [Z, qe] = L(
1163
1152
  cn.operatorChannel
1164
- ), [O, Os] = M(
1153
+ ), [O, Os] = L(
1165
1154
  cn.batchChannel
1166
- ), [Vt, Hn] = M(
1155
+ ), [Vt, Hn] = L(
1167
1156
  cn.otpOverride
1168
- ), Ts = bs(q, O), w = x ? q.slice(0, Ts) : q, [Qt, jn] = M({}), He = {};
1157
+ ), Ts = bs(q, O), y = x ? q.slice(0, Ts) : q, [Qt, jn] = L({}), He = {};
1169
1158
  for (const e of B)
1170
- _e(e) && (He[e.id] = Qt[e.id] ?? ys(
1159
+ De(e) && (He[e.id] = Qt[e.id] ?? ws(
1171
1160
  e.initialOperatorId !== void 0 ? e.initialOperatorId : b
1172
1161
  ));
1173
- const [Kt, Un] = M({}), Wn = {};
1162
+ const [Kt, Un] = L({}), Wn = {};
1174
1163
  for (const e of B) {
1175
1164
  const s = He[e.id];
1176
1165
  s === void 0 || s === Q || s === "" || (Wn[e.id] = Kt[e.id] ?? se(s));
@@ -1186,43 +1175,43 @@ const ai = ga(
1186
1175
  }, Yt = () => {
1187
1176
  g !== void 0 && (Es(
1188
1177
  B.filter(
1189
- (e) => _e(e) && He[e.id] !== g
1178
+ (e) => De(e) && He[e.id] !== g
1190
1179
  ).map((e) => e.id)
1191
1180
  ), jn((e) => {
1192
1181
  const s = { ...e };
1193
1182
  for (const t of B)
1194
- _e(t) && (s[t.id] = g);
1183
+ De(t) && (s[t.id] = g);
1195
1184
  return s;
1196
1185
  }));
1197
- }, [As, oe] = M(null), [Jt, je] = M(
1186
+ }, [As, oe] = L(null), [Jt, je] = L(
1198
1187
  null
1199
- ), [Zt, Bn] = M(!1), [ea, qn] = M(0), Gn = !x && (xe !== void 0 || Re), [na, sa] = M(i);
1200
- i !== na && (sa(i), i && (Bn(!1), qn(0), Dn(!1)));
1201
- const Ps = ge(i);
1188
+ ), [Zt, Bn] = L(!1), [ea, Nn] = L(0), Gn = !x && (xe !== void 0 || Re), [na, sa] = L(r);
1189
+ r !== na && (sa(r), r && (Bn(!1), Nn(0), _n(!1)));
1190
+ const Ps = ge(r);
1202
1191
  Ee(() => {
1203
- if (i && !Ps.current) {
1192
+ if (r && !Ps.current) {
1204
1193
  const e = ks();
1205
1194
  Fn(e.operator), pe(e.rows), qe(e.operatorChannel), Os(e.batchChannel), Hn(e.otpOverride), oe(null), je(null), jn({}), Un({});
1206
1195
  }
1207
- Ps.current = i;
1208
- }, [i]);
1209
- const Vn = (e) => ln(e).length === 0, Ue = N ? w.length > 0 && O === "on-device" : w.some(
1196
+ Ps.current = r;
1197
+ }, [r]);
1198
+ const Vn = (e) => ln(e).length === 0, Ue = N ? y.length > 0 && O === "on-device" : y.some(
1210
1199
  (e) => e.channel === "on-device" && !Vn(e.signerId)
1211
- ), Cn = f !== void 0;
1200
+ ), qn = f !== void 0;
1212
1201
  Ee(() => {
1213
- if (!(Cn || !ne) && Z === "on-device" && !Ue) {
1202
+ if (!(qn || !ne) && Z === "on-device" && !Ue) {
1214
1203
  const e = se(z, !1);
1215
1204
  qe(e), oe(e);
1216
1205
  }
1217
- }, [Z, Ue, z, Cn, ne]);
1218
- const _s = I ? [{ value: Q, label: d("signatureRequest.assignLater") }] : [], Ds = c.map(
1206
+ }, [Z, Ue, z, qn, ne]);
1207
+ const Ds = I ? [{ value: Q, label: d("signatureRequest.assignLater") }] : [], _s = c.map(
1219
1208
  ({ value: e, label: s, disabled: t, reason: a, deleted: u }) => ({
1220
1209
  value: e,
1221
1210
  label: s,
1222
1211
  ...t === !0 ? { disabled: !0, ...a ? { description: a } : {} } : {},
1223
1212
  ...u === !0 ? { deleted: !0 } : {}
1224
1213
  })
1225
- ), yn = x ? [..._s, ...Ds] : [...Ds, ..._s], Qn = Lt(yn, Pn.language), Ms = j(), We = z === Q, ce = cs(), de = f ? f(
1214
+ ), Cn = x ? [...Ds, ..._s] : [..._s, ...Ds], Qn = Mt(Cn, Pn.language), Ls = j(), We = z === Q, ce = cs(), de = f ? f(
1226
1215
  $n(z, Z, q, null, O)
1227
1216
  ) : void 0, Ie = (e, s, t, a, u = []) => {
1228
1217
  if (!f) return;
@@ -1247,8 +1236,8 @@ const ai = ga(
1247
1236
  d("signatureRequest.operatorChannelChanged", {
1248
1237
  channel: ce[o.operatorChannel].label
1249
1238
  })
1250
- ), o.rows.forEach((R, L) => {
1251
- R.channel !== t[L].channel && p.push(
1239
+ ), o.rows.forEach((R, M) => {
1240
+ R.channel !== t[M].channel && p.push(
1252
1241
  d("signatureRequest.signerChannelChanged", {
1253
1242
  name: sn(l, R.signerId),
1254
1243
  channel: ce[R.channel].label
@@ -1269,7 +1258,7 @@ const ai = ga(
1269
1258
  p,
1270
1259
  u,
1271
1260
  o
1272
- ), R = m.batch, L = x && e.length > 1 && t, T = [];
1261
+ ), R = m.batch, M = x && e.length > 1 && t, T = [];
1273
1262
  if (ne && u !== Q && u !== "" && m.operatorChannel !== o && T.push(
1274
1263
  d("signatureRequest.operatorChannelChanged", {
1275
1264
  channel: ce[m.operatorChannel].label
@@ -1279,20 +1268,20 @@ const ai = ga(
1279
1268
  name: sn(l, ((G = e[0]) == null ? void 0 : G.signerId) ?? ""),
1280
1269
  channel: ce[R].label
1281
1270
  })
1282
- ), x && w.length > 1) {
1283
- const ie = Tn({
1271
+ ), x && y.length > 1) {
1272
+ const re = On({
1284
1273
  items: B,
1285
1274
  channel: R,
1286
- primaryIsPatient: Rn((ae = e[0]) == null ? void 0 : ae.signerId)
1275
+ primaryIsPatient: xn((ae = e[0]) == null ? void 0 : ae.signerId)
1287
1276
  });
1288
- L ? T.push(d("signatureRequest.secondSigneeCleared")) : ie !== null && e.length > 1 && T.push(d(os[ie]));
1277
+ M ? T.push(d("signatureRequest.secondSigneeCleared")) : re !== null && e.length > 1 && T.push(d(os[re]));
1289
1278
  }
1290
- pe(L ? e.slice(0, 1) : e), ne && qe(m.operatorChannel), R !== O && Hn(null), Os(R), oe(null), je(T.length > 0 ? T.join(" ") : null);
1291
- }, Ls = on(
1279
+ pe(M ? e.slice(0, 1) : e), ne && qe(m.operatorChannel), R !== O && Hn(null), Os(R), oe(null), je(T.length > 0 ? T.join(" ") : null);
1280
+ }, Ms = on(
1292
1281
  (nt = q[0]) == null ? void 0 : nt.signerId,
1293
1282
  q[0] === void 0 || (st = de == null ? void 0 : de.signerAvailableChannels) == null ? void 0 : st[q[0].signerId]
1294
1283
  );
1295
- N && !Ls.includes(O) && Be(q, Ls[0]);
1284
+ N && !Ms.includes(O) && Be(q, Ms[0]);
1296
1285
  const Kn = N ? q : q.map((e) => {
1297
1286
  const s = ln(e.signerId);
1298
1287
  return s.length === 0 || s.includes(e.channel) ? e : { ...e, channel: s[0], skipOtp: void 0 };
@@ -1318,7 +1307,7 @@ const ai = ga(
1318
1307
  value: e,
1319
1308
  label: ce[s].label,
1320
1309
  startAdornment: ce[s].icon
1321
- }), wn = Cn || Ue ? void 0 : d("signatureRequest.onDeviceUnavailableHint"), $s = Cn ? xs(de).map(
1310
+ }), wn = qn || Ue ? void 0 : d("signatureRequest.onDeviceUnavailableHint"), $s = qn ? xs(de).map(
1322
1311
  (e) => Ge(e, e)
1323
1312
  ) : [
1324
1313
  Ge("sms", "sms"),
@@ -1328,20 +1317,20 @@ const ai = ga(
1328
1317
  disabled: !Ue,
1329
1318
  description: wn
1330
1319
  }
1331
- ], zs = /* @__PURE__ */ n(At, { meta: ce }), Fs = w.map((e) => e.signerId), Ve = l.find(
1320
+ ], zs = /* @__PURE__ */ n(At, { meta: ce }), Fs = y.map((e) => e.signerId), Ve = l.find(
1332
1321
  (e) => !Fs.includes(e.value) && !(x && e.isPatient === !0)
1333
- ), ta = !k && w.length < Ts && Ve !== void 0, ke = x || N ? (tt = w[0]) == null ? void 0 : tt.signerId : void 0, Xn = Rn(ke), aa = N ? O : ((at = w[0]) == null ? void 0 : at.channel) ?? O, Hs = x ? Tn({
1322
+ ), ta = !k && y.length < Ts && Ve !== void 0, ke = x || N ? (tt = y[0]) == null ? void 0 : tt.signerId : void 0, Xn = xn(ke), aa = N ? O : ((at = y[0]) == null ? void 0 : at.channel) ?? O, Hs = x ? On({
1334
1323
  items: B,
1335
1324
  channel: aa,
1336
1325
  primaryIsPatient: Xn
1337
- }) : null, Yn = x && !P && B.length > 0 && Hs !== null && l.length > 1 ? d(os[Hs]) : null, Sn = x && w.length > 1 ? Va({
1326
+ }) : null, Yn = x && !P && B.length > 0 && Hs !== null && l.length > 1 ? d(os[Hs]) : null, yn = x && y.length > 1 ? Ga({
1338
1327
  primaryId: ke,
1339
- secondId: w[1].signerId,
1340
- channel: N ? O : w[1].channel,
1328
+ secondId: y[1].signerId,
1329
+ channel: N ? O : y[1].channel,
1341
1330
  options: l
1342
1331
  }) : null, Jn = on(
1343
1332
  (Fe == null ? void 0 : Fe.value) ?? ke
1344
- ).includes("sms"), Qe = (x || N) && Xn && !Jn, Zn = N && O === "on-device" && (Qe || (Vt ?? !Jn)), ia = N && w.length > 0 && (Qe || Zn), es = (e) => x && e === 0, ns = (e, s) => e.channel === "on-device" && (es(s) ? Qe || (e.skipOtp ?? !Jn) : e.skipOtp === !0), In = Ne && !(x && P), ra = (e, s) => {
1333
+ ).includes("sms"), Qe = (x || N) && Xn && !Jn, Zn = N && O === "on-device" && (Qe || (Vt ?? !Jn)), ra = N && y.length > 0 && (Qe || Zn), es = (e) => x && e === 0, ns = (e, s) => e.channel === "on-device" && (es(s) ? Qe || (e.skipOtp ?? !Jn) : e.skipOtp === !0), Sn = Ne && !(x && P), ia = (e, s) => {
1345
1334
  pe(
1346
1335
  (t) => t.map(
1347
1336
  (a) => a.rowId === e ? { ...a, ...s } : a
@@ -1356,14 +1345,14 @@ const ai = ga(
1356
1345
  {
1357
1346
  signerId: Ve.value,
1358
1347
  channel: O,
1359
- rowId: bn.current++
1348
+ rowId: vn.current++
1360
1349
  }
1361
1350
  ],
1362
1351
  O
1363
1352
  );
1364
1353
  return;
1365
1354
  }
1366
- const e = Nn(
1355
+ const e = Rn(
1367
1356
  Ve.value,
1368
1357
  x ? "on-device" : "sms"
1369
1358
  );
@@ -1376,7 +1365,7 @@ const ai = ga(
1376
1365
  {
1377
1366
  signerId: Ve.value,
1378
1367
  channel: e,
1379
- rowId: bn.current++
1368
+ rowId: vn.current++
1380
1369
  }
1381
1370
  ],
1382
1371
  "signers"
@@ -1388,7 +1377,7 @@ const ai = ga(
1388
1377
  {
1389
1378
  signerId: Ve.value,
1390
1379
  channel: e,
1391
- rowId: bn.current++
1380
+ rowId: vn.current++
1392
1381
  }
1393
1382
  ]);
1394
1383
  }, oa = (e) => {
@@ -1412,7 +1401,7 @@ const ai = ga(
1412
1401
  pe(
1413
1402
  (t) => t.filter((a) => a.rowId !== e)
1414
1403
  );
1415
- }, js = Ne && !N && w.some((e) => Vn(e.signerId)), Us = Ne && (N ? w.length > 0 && O === "qr" : w.some((e) => e.channel === "qr")), Ws = !N && w.some(
1404
+ }, js = Ne && !N && y.some((e) => Vn(e.signerId)), Us = Ne && (N ? y.length > 0 && O === "qr" : y.some((e) => e.channel === "qr")), Ws = !N && y.some(
1416
1405
  (e, s) => ns(e, s) && !Vn(e.signerId)
1417
1406
  ), ss = (e) => new Intl.ListFormat(Pn.language || "en", { type: "unit" }).format(
1418
1407
  e
@@ -1438,8 +1427,8 @@ const ai = ga(
1438
1427
  ));
1439
1428
  }, Vs = Ns(
1440
1429
  ke,
1441
- ke === void 0 || (it = de == null ? void 0 : de.signerAvailableChannels) == null ? void 0 : it[ke]
1442
- ), Qs = Ln(ke), Ks = Bs(
1430
+ ke === void 0 || (rt = de == null ? void 0 : de.signerAvailableChannels) == null ? void 0 : rt[ke]
1431
+ ), Qs = Mn(ke), Ks = Bs(
1443
1432
  Vs,
1444
1433
  Qs
1445
1434
  ), ts = Gs(
@@ -1448,9 +1437,9 @@ const ai = ga(
1448
1437
  !1
1449
1438
  ), ca = () => {
1450
1439
  var t;
1451
- if (js || Sn !== null) return;
1452
- Bn(Us), Us && ((t = ze.current) == null || t.focus(), qn(0));
1453
- const e = w.map(
1440
+ if (js || yn !== null) return;
1441
+ Bn(Us), Us && ((t = ze.current) == null || t.focus(), Nn(0));
1442
+ const e = y.map(
1454
1443
  ({ rowId: a, ...u }, o) => N ? {
1455
1444
  signerId: u.signerId,
1456
1445
  channel: O,
@@ -1462,7 +1451,7 @@ const ai = ga(
1462
1451
  const a = {};
1463
1452
  let u = null;
1464
1453
  for (const p of B) {
1465
- if (!_e(p)) continue;
1454
+ if (!De(p)) continue;
1466
1455
  const m = He[p.id], R = m === Q || m === "" || m === void 0 ? null : m;
1467
1456
  a[p.id] = R, u ?? (u = R);
1468
1457
  }
@@ -1477,32 +1466,32 @@ const ai = ga(
1477
1466
  signers: e,
1478
1467
  ...s,
1479
1468
  operatorAssignments: a,
1480
- ...we ? { operatorChannels: o } : {},
1469
+ ...ye ? { operatorChannels: o } : {},
1481
1470
  requiredItemIds: B.map((p) => p.id)
1482
1471
  });
1483
1472
  return;
1484
1473
  }
1485
1474
  be({
1486
- operatorId: !_ || We ? null : z,
1487
- operatorChannel: !_ || We ? null : Z,
1475
+ operatorId: !D || We ? null : z,
1476
+ operatorChannel: !D || We ? null : Z,
1488
1477
  signers: $ ? e : [],
1489
1478
  ...$ ? s : {}
1490
1479
  });
1491
1480
  };
1492
1481
  Ee(() => {
1493
- re && Bn(!1);
1494
- }, [re]);
1495
- const Ke = ((U == null ? void 0 : U.length) ?? 0) > 0, Xe = Ke || !re && ($e || Zt), kn = Ne ? w.filter(
1482
+ ie && Bn(!1);
1483
+ }, [ie]);
1484
+ const Ke = ((U == null ? void 0 : U.length) ?? 0) > 0, Xe = Ke || !ie && ($e || Zt), In = Ne ? y.filter(
1496
1485
  (e) => (N ? O : e.channel) === "qr"
1497
1486
  ).map((e) => e.signerId) : [];
1498
1487
  for (const e of U ?? [])
1499
- kn.includes(e.signerId) || kn.push(e.signerId);
1500
- const dn = kn.length, Oe = Math.min(ea, Math.max(dn - 1, 0)), Te = kn[Oe], Ye = Te === void 0 ? "" : sn(l, Te), un = U == null ? void 0 : U.find((e) => e.signerId === Te), Xs = un ? ti(un.expiresAt, Pn.language || "en", d) : null, da = Oe >= dn - 1, Ys = Ke && dn > 1, Js = i && Xe && !le ? `${Ke}:${Oe}` : null;
1488
+ In.includes(e.signerId) || In.push(e.signerId);
1489
+ const dn = In.length, Oe = Math.min(ea, Math.max(dn - 1, 0)), Te = In[Oe], Ye = Te === void 0 ? "" : sn(l, Te), un = U == null ? void 0 : U.find((e) => e.signerId === Te), Xs = un ? sr(un.expiresAt, Pn.language || "en", d) : null, da = Oe >= dn - 1, Ys = Ke && dn > 1, Js = r && Xe && !le ? `${Ke}:${Oe}` : null;
1501
1490
  Ee(() => {
1502
1491
  var e;
1503
1492
  Js !== null && ((e = ze.current) == null || e.focus());
1504
1493
  }, [Js]);
1505
- const Zs = i && le ? le : null;
1494
+ const Zs = r && le ? le : null;
1506
1495
  Ee(() => {
1507
1496
  var e;
1508
1497
  Zs !== null && ((e = ze.current) == null || e.focus());
@@ -1512,7 +1501,7 @@ const ai = ga(
1512
1501
  // itself); the description only names whose slot this is.
1513
1502
  Ye || Te
1514
1503
  ) : d("signatureRequest.qrPending");
1515
- return /* @__PURE__ */ n("div", { ref: zt, className: "ds:contents", "data-component": "signature-request", children: /* @__PURE__ */ n(St, { children: /* @__PURE__ */ n(S, { open: i, onOpenChange: r, children: /* @__PURE__ */ h(
1504
+ return /* @__PURE__ */ n("div", { ref: zt, className: "ds:contents", "data-component": "signature-request", children: /* @__PURE__ */ n(St, { children: /* @__PURE__ */ n(S, { open: r, onOpenChange: i, children: /* @__PURE__ */ h(
1516
1505
  S.Content,
1517
1506
  {
1518
1507
  size: "lg",
@@ -1530,9 +1519,9 @@ const ai = ga(
1530
1519
  {
1531
1520
  ref: ze,
1532
1521
  tabIndex: -1,
1533
- "aria-describedby": an ? ms : Xe ? Ys ? `${_n} ${hs}` : _n : void 0,
1522
+ "aria-describedby": an ? ms : Xe ? Ys ? `${Dn} ${hs}` : Dn : void 0,
1534
1523
  className: "ds:outline-none",
1535
- children: an ? an.title : Xe ? d("signatureRequest.qrTitle") : Me ?? d(
1524
+ children: an ? an.title : Xe ? d("signatureRequest.qrTitle") : Le ?? d(
1536
1525
  x ? "signatureRequest.requiredTitle" : "signatureRequest.title"
1537
1526
  )
1538
1527
  }
@@ -1540,14 +1529,14 @@ const ai = ga(
1540
1529
  an ? /* @__PURE__ */ n(S.Description, { asChild: !0, children: /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n("p", { id: ms, children: an.description }) }) }) : Xe ? /* @__PURE__ */ n(S.Description, { asChild: !0, children: /* @__PURE__ */ n("div", { children: /* @__PURE__ */ h(
1541
1530
  "div",
1542
1531
  {
1543
- id: _n,
1532
+ id: Dn,
1544
1533
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
1545
1534
  children: [
1546
1535
  /* @__PURE__ */ n("p", { children: ua }),
1547
1536
  Xs ? /* @__PURE__ */ n("p", { children: Xs }) : null
1548
1537
  ]
1549
1538
  }
1550
- ) }) }) : /* @__PURE__ */ n(S.Description, { children: Le ?? d(
1539
+ ) }) }) : /* @__PURE__ */ n(S.Description, { children: Me ?? d(
1551
1540
  x ? "signatureRequest.requiredDescription" : Gn ? (
1552
1541
  // The table says whether there are signed
1553
1542
  // versions, so the header describes the form.
@@ -1555,8 +1544,8 @@ const ai = ga(
1555
1544
  ) : "signatureRequest.noSignedVersions"
1556
1545
  ) })
1557
1546
  ] }),
1558
- le ? /* @__PURE__ */ h(ye, { children: [
1559
- /* @__PURE__ */ n(S.Body, { children: /* @__PURE__ */ n(ni, { outcome: le }) }),
1547
+ le ? /* @__PURE__ */ h(we, { children: [
1548
+ /* @__PURE__ */ n(S.Body, { children: /* @__PURE__ */ n(er, { outcome: le }) }),
1560
1549
  /* @__PURE__ */ h(S.Footer, { children: [
1561
1550
  le === "creditsExhausted" && Se ? /* @__PURE__ */ n(
1562
1551
  F,
@@ -1573,15 +1562,15 @@ const ai = ga(
1573
1562
  intent: "ghost",
1574
1563
  onClick: () => {
1575
1564
  var e;
1576
- (e = ze.current) == null || e.focus(), Dn(!0), Y();
1565
+ (e = ze.current) == null || e.focus(), _n(!0), Y();
1577
1566
  },
1578
1567
  children: d("signatureRequest.outcomeCancel")
1579
1568
  }
1580
1569
  ) : null,
1581
1570
  /* @__PURE__ */ n(S.Close, { asChild: !0, children: /* @__PURE__ */ n(F, { intent: "outline", children: d("signatureRequest.close") }) })
1582
1571
  ] })
1583
- ] }) : Xe ? /* @__PURE__ */ h(ye, { children: [
1584
- /* @__PURE__ */ n(S.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)] ds:text-center", children: Ke ? /* @__PURE__ */ h(ye, { children: [
1572
+ ] }) : Xe ? /* @__PURE__ */ h(we, { children: [
1573
+ /* @__PURE__ */ n(S.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)] ds:text-center", children: Ke ? /* @__PURE__ */ h(we, { children: [
1585
1574
  Ys ? (
1586
1575
  // Also describes the heading, so screen readers hear
1587
1576
  // the position when Previous or Next moves focus there.
@@ -1642,13 +1631,13 @@ const ai = ga(
1642
1631
  }
1643
1632
  ) })
1644
1633
  ) }),
1645
- /* @__PURE__ */ n(S.Footer, { children: Ke ? /* @__PURE__ */ h(ye, { children: [
1634
+ /* @__PURE__ */ n(S.Footer, { children: Ke ? /* @__PURE__ */ h(we, { children: [
1646
1635
  dn > 1 ? /* @__PURE__ */ n(
1647
1636
  F,
1648
1637
  {
1649
1638
  intent: "outline",
1650
1639
  disabled: Oe === 0,
1651
- onClick: () => qn(Oe - 1),
1640
+ onClick: () => Nn(Oe - 1),
1652
1641
  children: d("signatureRequest.qrPrevious")
1653
1642
  }
1654
1643
  ) : null,
@@ -1657,7 +1646,7 @@ const ai = ga(
1657
1646
  {
1658
1647
  intent: "primary",
1659
1648
  onClick: () => {
1660
- he == null || he(), r(!1);
1649
+ he == null || he(), i(!1);
1661
1650
  },
1662
1651
  children: d("signatureRequest.qrDone")
1663
1652
  }
@@ -1665,16 +1654,16 @@ const ai = ga(
1665
1654
  F,
1666
1655
  {
1667
1656
  intent: "primary",
1668
- onClick: () => qn(Oe + 1),
1657
+ onClick: () => Nn(Oe + 1),
1669
1658
  children: d("signatureRequest.qrNext")
1670
1659
  }
1671
1660
  )
1672
1661
  ] }) : /* @__PURE__ */ n(S.Close, { asChild: !0, children: /* @__PURE__ */ n(F, { intent: "outline", children: d("signatureRequest.close") }) }) })
1673
- ] }) : /* @__PURE__ */ h(ye, { children: [
1662
+ ] }) : /* @__PURE__ */ h(we, { children: [
1674
1663
  /* @__PURE__ */ h(S.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
1675
- Gn ? /* @__PURE__ */ h(ye, { children: [
1664
+ Gn ? /* @__PURE__ */ h(we, { children: [
1676
1665
  /* @__PURE__ */ n(
1677
- Ua,
1666
+ ja,
1678
1667
  {
1679
1668
  signatures: xe,
1680
1669
  loading: Re,
@@ -1682,21 +1671,21 @@ const ai = ga(
1682
1671
  onView: me,
1683
1672
  onDownload: A,
1684
1673
  onShare: v,
1685
- shareTargets: y,
1674
+ shareTargets: w,
1686
1675
  onDelete: W
1687
1676
  }
1688
1677
  ),
1689
- ne || In ? /* @__PURE__ */ n(dt, { decorative: !0 }) : null
1678
+ ne || Sn ? /* @__PURE__ */ n(dt, { decorative: !0 }) : null
1690
1679
  ] }) : null,
1691
1680
  x ? /* @__PURE__ */ n(
1692
- Za,
1681
+ Ja,
1693
1682
  {
1694
1683
  items: B,
1695
1684
  loading: P,
1696
- operatorOptions: yn,
1685
+ operatorOptions: Cn,
1697
1686
  assignments: He,
1698
1687
  onAssign: Xt,
1699
- showOperatorChannels: we,
1688
+ showOperatorChannels: ye,
1700
1689
  operatorChannels: Wn,
1701
1690
  onOperatorChannel: (e, s) => Un((t) => ({
1702
1691
  ...t,
@@ -1711,7 +1700,7 @@ const ai = ga(
1711
1700
  {
1712
1701
  className: `${pn} ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:text-start`,
1713
1702
  children: [
1714
- /* @__PURE__ */ n("div", { className: ue, children: /* @__PURE__ */ h("div", { className: An, children: [
1703
+ /* @__PURE__ */ n("div", { className: ue, children: /* @__PURE__ */ h("div", { className: En, children: [
1715
1704
  /* @__PURE__ */ n("p", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: d("signatureRequest.operatorSection") }),
1716
1705
  g !== void 0 ? /* @__PURE__ */ n(
1717
1706
  F,
@@ -1754,15 +1743,15 @@ const ai = ga(
1754
1743
  /* @__PURE__ */ n(
1755
1744
  Ae,
1756
1745
  {
1757
- options: Dt(
1758
- yn,
1746
+ options: _t(
1747
+ Cn,
1759
1748
  z
1760
1749
  ),
1761
1750
  value: z,
1762
1751
  showDescriptions: !0,
1763
- "aria-describedby": Qn ? Ms : void 0,
1752
+ "aria-describedby": Qn ? Ls : void 0,
1764
1753
  onValueChange: (e) => {
1765
- if (!(!e || !Mt(yn, e))) {
1754
+ if (!(!e || !Lt(Cn, e))) {
1766
1755
  if (Fn(e), f) {
1767
1756
  Ie(
1768
1757
  e,
@@ -1791,7 +1780,7 @@ const ai = ga(
1791
1780
  Qn ? /* @__PURE__ */ n(
1792
1781
  "span",
1793
1782
  {
1794
- id: Ms,
1783
+ id: Ls,
1795
1784
  className: "ds:sr-only",
1796
1785
  children: Qn
1797
1786
  }
@@ -1800,7 +1789,7 @@ const ai = ga(
1800
1789
  /* @__PURE__ */ h(
1801
1790
  "div",
1802
1791
  {
1803
- className: We ? `${is} ds:hidden ds:@[512px]/person:block` : is,
1792
+ className: We ? `${rs} ds:hidden ds:@[512px]/person:block` : rs,
1804
1793
  children: [
1805
1794
  We ? null : /* @__PURE__ */ n(
1806
1795
  Ae,
@@ -1842,17 +1831,17 @@ const ai = ga(
1842
1831
  ]
1843
1832
  }
1844
1833
  ) : null,
1845
- ne || In ? /* @__PURE__ */ n("span", { role: "status", className: "ds:sr-only", children: As ? d("signatureRequest.operatorChannelReverted", {
1834
+ ne || Sn ? /* @__PURE__ */ n("span", { role: "status", className: "ds:sr-only", children: As ? d("signatureRequest.operatorChannelReverted", {
1846
1835
  channel: ce[As].label
1847
1836
  }) : Jt }) : null,
1848
- (ne || x) && In ? /* @__PURE__ */ n(dt, { decorative: !0 }) : null,
1849
- In ? /* @__PURE__ */ h(
1837
+ (ne || x) && Sn ? /* @__PURE__ */ n(dt, { decorative: !0 }) : null,
1838
+ Sn ? /* @__PURE__ */ h(
1850
1839
  "section",
1851
1840
  {
1852
1841
  className: `${pn} ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:text-start`,
1853
1842
  children: [
1854
1843
  /* @__PURE__ */ h("div", { className: ue, children: [
1855
- /* @__PURE__ */ h("div", { className: An, children: [
1844
+ /* @__PURE__ */ h("div", { className: En, children: [
1856
1845
  /* @__PURE__ */ n("p", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: d("signatureRequest.signersSection") }),
1857
1846
  l.length > 1 ? /* @__PURE__ */ n(
1858
1847
  F,
@@ -1889,7 +1878,7 @@ const ai = ga(
1889
1878
  /* @__PURE__ */ n(
1890
1879
  "label",
1891
1880
  {
1892
- htmlFor: wt,
1881
+ htmlFor: yt,
1893
1882
  className: "type-label ds:text-foreground",
1894
1883
  children: d("signatureRequest.channelLabel")
1895
1884
  }
@@ -1897,7 +1886,7 @@ const ai = ga(
1897
1886
  /* @__PURE__ */ n(
1898
1887
  Ae,
1899
1888
  {
1900
- id: wt,
1889
+ id: yt,
1901
1890
  options: Ks,
1902
1891
  value: O,
1903
1892
  adornmentInTrigger: !0,
@@ -1933,15 +1922,15 @@ const ai = ga(
1933
1922
  label: d("signatureRequest.noOtp"),
1934
1923
  checked: Zn,
1935
1924
  disabled: k || Qe,
1936
- "aria-describedby": Qe ? xn : void 0,
1925
+ "aria-describedby": Qe ? bn : void 0,
1937
1926
  onCheckedChange: (e) => Hn(e)
1938
1927
  }
1939
1928
  ) }) : null,
1940
- ia ? /* @__PURE__ */ n(
1929
+ ra ? /* @__PURE__ */ n(
1941
1930
  K,
1942
1931
  {
1943
1932
  variant: "warning",
1944
- id: xn,
1933
+ id: bn,
1945
1934
  className: H,
1946
1935
  children: /* @__PURE__ */ n(K.Description, { children: d("signatureRequest.noOtpWarning") })
1947
1936
  }
@@ -1955,7 +1944,7 @@ const ai = ga(
1955
1944
  }
1956
1945
  ) : null
1957
1946
  ] }),
1958
- /* @__PURE__ */ n("div", { className: za, children: w.map((e, s) => {
1947
+ /* @__PURE__ */ n("div", { className: $a, children: y.map((e, s) => {
1959
1948
  var lt, ot;
1960
1949
  const t = l.filter(
1961
1950
  (E) => E.value === e.signerId || !Fs.includes(E.value)
@@ -1968,9 +1957,9 @@ const ai = ga(
1968
1957
  (E) => E.isPatient !== !0
1969
1958
  ) : t, m = p.some(
1970
1959
  (E) => E.value === e.signerId
1971
- ), R = o ? Sn : null, L = `${vs}-${e.rowId}`, T = `${Ht}-${e.rowId}`, Ce = rn(
1960
+ ), R = o ? yn : null, M = `${vs}-${e.rowId}`, T = `${Ht}-${e.rowId}`, Ce = rn(
1972
1961
  e.signerId
1973
- ), te = Mn(
1962
+ ), te = Ln(
1974
1963
  e.signerId,
1975
1964
  (ot = de == null ? void 0 : de.signerAvailableChannels) == null ? void 0 : ot[e.signerId]
1976
1965
  ), G = Bs(
@@ -1978,11 +1967,11 @@ const ai = ga(
1978
1967
  Ce
1979
1968
  ), ae = !N && G.every(
1980
1969
  (E) => E.disabled
1981
- ), ie = N ? void 0 : Gs(
1970
+ ), re = N ? void 0 : Gs(
1982
1971
  te,
1983
1972
  Ce,
1984
1973
  ae
1985
- ), Je = `${Ft}-${e.rowId}`, On = es(s) && Qe, ha = x ? o : w.length > 1, ma = (E) => {
1974
+ ), Je = `${Ft}-${e.rowId}`, kn = es(s) && Qe, ha = x ? o : y.length > 1, ma = (E) => {
1986
1975
  if (!E || !p.some(
1987
1976
  (V) => V.value === E
1988
1977
  ))
@@ -1997,7 +1986,7 @@ const ai = ga(
1997
1986
  );
1998
1987
  return;
1999
1988
  }
2000
- const as = Nn(
1989
+ const as = Rn(
2001
1990
  E,
2002
1991
  e.channel
2003
1992
  ), hn = x && !o && q.length > 1, mn = (hn ? q.slice(0, 1) : q).map(
@@ -2007,7 +1996,7 @@ const ai = ga(
2007
1996
  channel: as,
2008
1997
  skipOtp: as === "on-device" ? V.skipOtp : void 0
2009
1998
  } : V
2010
- ), Ze = hn && w.length > 1 ? [d("signatureRequest.secondSigneeCleared")] : [];
1999
+ ), Ze = hn && y.length > 1 ? [d("signatureRequest.secondSigneeCleared")] : [];
2011
2000
  if (f) {
2012
2001
  Ie(
2013
2002
  z,
@@ -2025,7 +2014,7 @@ const ai = ga(
2025
2014
  )) return;
2026
2015
  const hn = E, mn = q.map(
2027
2016
  (en) => en.rowId === e.rowId ? { ...en, channel: hn, skipOtp: void 0 } : en
2028
- ), Ze = x && !o && w.length > 1 ? Tn({
2017
+ ), Ze = x && !o && y.length > 1 ? On({
2029
2018
  items: B,
2030
2019
  channel: hn,
2031
2020
  primaryIsPatient: Xn
@@ -2041,7 +2030,7 @@ const ai = ga(
2041
2030
  return;
2042
2031
  }
2043
2032
  pe(mn), V.length > 0 && (oe(null), je(V.join(" ")));
2044
- }, rt = /* @__PURE__ */ h(
2033
+ }, it = /* @__PURE__ */ h(
2045
2034
  "div",
2046
2035
  {
2047
2036
  role: "group",
@@ -2069,7 +2058,7 @@ const ai = ga(
2069
2058
  options: p,
2070
2059
  value: x && !m ? "" : e.signerId,
2071
2060
  tone: R ? "error" : "default",
2072
- "aria-describedby": R ? L : void 0,
2061
+ "aria-describedby": R ? M : void 0,
2073
2062
  onValueChange: ma,
2074
2063
  required: !0,
2075
2064
  disabled: k,
@@ -2083,7 +2072,7 @@ const ai = ga(
2083
2072
  )
2084
2073
  }
2085
2074
  ),
2086
- N ? null : /* @__PURE__ */ h("div", { className: is, children: [
2075
+ N ? null : /* @__PURE__ */ h("div", { className: rs, children: [
2087
2076
  /* @__PURE__ */ n(
2088
2077
  Ae,
2089
2078
  {
@@ -2096,21 +2085,21 @@ const ai = ga(
2096
2085
  "aria-label": d(
2097
2086
  "signatureRequest.channelLabel"
2098
2087
  ),
2099
- "aria-describedby": ie ? Je : void 0,
2088
+ "aria-describedby": re ? Je : void 0,
2100
2089
  onValueChange: pa
2101
2090
  }
2102
2091
  ),
2103
2092
  zs
2104
2093
  ] }),
2105
- ie && !ae ? /* @__PURE__ */ n(
2094
+ re && !ae ? /* @__PURE__ */ n(
2106
2095
  "span",
2107
2096
  {
2108
2097
  id: Je,
2109
2098
  className: "ds:sr-only",
2110
- children: ie
2099
+ children: re
2111
2100
  }
2112
2101
  ) : null,
2113
- ha ? /* @__PURE__ */ n("div", { className: $a, children: /* @__PURE__ */ n(
2102
+ ha ? /* @__PURE__ */ n("div", { className: Ma, children: /* @__PURE__ */ n(
2114
2103
  gn,
2115
2104
  {
2116
2105
  intent: "ghost",
@@ -2136,21 +2125,21 @@ const ai = ga(
2136
2125
  R ? /* @__PURE__ */ n(
2137
2126
  "p",
2138
2127
  {
2139
- id: L,
2128
+ id: M,
2140
2129
  role: "status",
2141
2130
  "data-note": "second-signee-issue",
2142
2131
  "data-issue": R,
2143
2132
  className: `${H} type-body-sm ds:text-[color:var(--destructive)]`,
2144
- children: d(si[R])
2133
+ children: d(nr[R])
2145
2134
  }
2146
2135
  ) : null,
2147
- ae && ie ? /* @__PURE__ */ n(
2136
+ ae && re ? /* @__PURE__ */ n(
2148
2137
  "p",
2149
2138
  {
2150
2139
  id: Je,
2151
2140
  "data-note": "no-channel",
2152
2141
  className: `${H} type-body-sm ds:text-[color:var(--muted-foreground)]`,
2153
- children: ie
2142
+ children: re
2154
2143
  }
2155
2144
  ) : null,
2156
2145
  !N && e.channel === "on-device" && !ae ? /* @__PURE__ */ n("div", { className: H, children: /* @__PURE__ */ n(
@@ -2158,9 +2147,9 @@ const ai = ga(
2158
2147
  {
2159
2148
  label: d("signatureRequest.noOtp"),
2160
2149
  checked: ns(e, s),
2161
- disabled: k || On,
2162
- "aria-describedby": On ? xn : void 0,
2163
- onCheckedChange: (E) => ra(e.rowId, {
2150
+ disabled: k || kn,
2151
+ "aria-describedby": kn ? bn : void 0,
2152
+ onCheckedChange: (E) => ia(e.rowId, {
2164
2153
  skipOtp: E
2165
2154
  })
2166
2155
  }
@@ -2182,26 +2171,26 @@ const ai = ga(
2182
2171
  children: d("signatureRequest.secondSigneeLabel")
2183
2172
  }
2184
2173
  ) }),
2185
- rt
2174
+ it
2186
2175
  ]
2187
2176
  },
2188
2177
  e.rowId
2189
- ) : rt;
2178
+ ) : it;
2190
2179
  }) })
2191
2180
  ]
2192
2181
  }
2193
2182
  ) : null,
2194
- Ws || re ? /* @__PURE__ */ n("div", { className: pn, children: /* @__PURE__ */ h("div", { className: ue, children: [
2183
+ Ws || ie ? /* @__PURE__ */ n("div", { className: pn, children: /* @__PURE__ */ h("div", { className: ue, children: [
2195
2184
  Ws ? /* @__PURE__ */ n(
2196
2185
  K,
2197
2186
  {
2198
2187
  variant: "warning",
2199
- id: xn,
2188
+ id: bn,
2200
2189
  className: H,
2201
2190
  children: /* @__PURE__ */ n(K.Description, { children: d("signatureRequest.noOtpWarning") })
2202
2191
  }
2203
2192
  ) : null,
2204
- re ? /* @__PURE__ */ n(K, { variant: "error", className: H, children: /* @__PURE__ */ n(K.Description, { children: re }) }) : null
2193
+ ie ? /* @__PURE__ */ n(K, { variant: "error", className: H, children: /* @__PURE__ */ n(K.Description, { children: ie }) }) : null
2205
2194
  ] }) }) : null
2206
2195
  ] }),
2207
2196
  /* @__PURE__ */ h(S.Footer, { children: [
@@ -2211,8 +2200,8 @@ const ai = ga(
2211
2200
  intent: "primary",
2212
2201
  startIcon: /* @__PURE__ */ n(Ia, {}),
2213
2202
  onClick: ca,
2214
- "aria-describedby": Sn !== null && w[1] ? `${vs}-${w[1].rowId}` : void 0,
2215
- disabled: k || Ne && w.length === 0 || js || Sn !== null || !Ne && !ne || x && (P || B.length === 0),
2203
+ "aria-describedby": yn !== null && y[1] ? `${vs}-${y[1].rowId}` : void 0,
2204
+ disabled: k || Ne && y.length === 0 || js || yn !== null || !Ne && !ne || x && (P || B.length === 0),
2216
2205
  loading: k,
2217
2206
  children: d("signatureRequest.requestSignature")
2218
2207
  }
@@ -2225,8 +2214,8 @@ const ai = ga(
2225
2214
  ) }) }) });
2226
2215
  }
2227
2216
  );
2228
- ai.displayName = "SignatureRequestModal";
2217
+ tr.displayName = "SignatureRequestModal";
2229
2218
  export {
2230
- ai as S
2219
+ tr as S
2231
2220
  };
2232
- //# sourceMappingURL=signature-request-b-86AGlT.js.map
2221
+ //# sourceMappingURL=signature-request-D_j2aQu1.js.map