@alfadocs/ui-kit-debug 1.96.0 → 1.98.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 (314) hide show
  1. package/dist/_chunks/{address-autocomplete-DR4Xn23Z.js → address-autocomplete-DC-H-MZw.js} +2 -2
  2. package/dist/_chunks/{address-autocomplete-DR4Xn23Z.js.map → address-autocomplete-DC-H-MZw.js.map} +1 -1
  3. package/dist/_chunks/{address-fields-qxQkGwPf.js → address-fields-D5Ije0S2.js} +7 -7
  4. package/dist/_chunks/{address-fields-qxQkGwPf.js.map → address-fields-D5Ije0S2.js.map} +1 -1
  5. package/dist/_chunks/{agenda-card-BhY342MA.js → agenda-card-bRQ4j6U6.js} +2 -2
  6. package/dist/_chunks/{agenda-card-BhY342MA.js.map → agenda-card-bRQ4j6U6.js.map} +1 -1
  7. package/dist/_chunks/{agenda-tray-BmxBGEci.js → agenda-tray-CzE3E8GU.js} +2 -2
  8. package/dist/_chunks/{agenda-tray-BmxBGEci.js.map → agenda-tray-CzE3E8GU.js.map} +1 -1
  9. package/dist/_chunks/{alia-sidebar-ovRX_oti.js → alia-sidebar-B5mu44g2.js} +3 -3
  10. package/dist/_chunks/{alia-sidebar-ovRX_oti.js.map → alia-sidebar-B5mu44g2.js.map} +1 -1
  11. package/dist/_chunks/{anamnesis-summary-rows-CdRUXoaA.js → anamnesis-summary-rows-B9HqOGd7.js} +4 -4
  12. package/dist/_chunks/{anamnesis-summary-rows-CdRUXoaA.js.map → anamnesis-summary-rows-B9HqOGd7.js.map} +1 -1
  13. package/dist/_chunks/{appointment-card-Csx4544A.js → appointment-card-zPr0brha.js} +3 -3
  14. package/dist/_chunks/{appointment-card-Csx4544A.js.map → appointment-card-zPr0brha.js.map} +1 -1
  15. package/dist/_chunks/{appointment-peek-CcDCWb-F.js → appointment-peek-xFTBany4.js} +3 -3
  16. package/dist/_chunks/{appointment-peek-CcDCWb-F.js.map → appointment-peek-xFTBany4.js.map} +1 -1
  17. package/dist/_chunks/{appointment-timeline-DW6FN6u8.js → appointment-timeline-AKkVx9AN.js} +2 -2
  18. package/dist/_chunks/{appointment-timeline-DW6FN6u8.js.map → appointment-timeline-AKkVx9AN.js.map} +1 -1
  19. package/dist/_chunks/{appointment-tray-CZfXwHWz.js → appointment-tray-B8qQBW65.js} +2 -2
  20. package/dist/_chunks/{appointment-tray-CZfXwHWz.js.map → appointment-tray-B8qQBW65.js.map} +1 -1
  21. package/dist/_chunks/{aspect-ratio-DeSNzASA.js → aspect-ratio-B-6cyOpm.js} +13 -13
  22. package/dist/_chunks/aspect-ratio-B-6cyOpm.js.map +1 -0
  23. package/dist/_chunks/{autocomplete-BXMcNoa3.js → autocomplete-D10ydpgi.js} +2 -2
  24. package/dist/_chunks/{autocomplete-BXMcNoa3.js.map → autocomplete-D10ydpgi.js.map} +1 -1
  25. package/dist/_chunks/{avatar-a6042Ox2.js → avatar-BoqdWsNe.js} +2 -2
  26. package/dist/_chunks/avatar-BoqdWsNe.js.map +1 -0
  27. package/dist/_chunks/{balance-badge-cell-DcBmtijD.js → balance-badge-cell-C-Rz616n.js} +3 -3
  28. package/dist/_chunks/{balance-badge-cell-DcBmtijD.js.map → balance-badge-cell-C-Rz616n.js.map} +1 -1
  29. package/dist/_chunks/{breadcrumb-Bn29NCnf.js → breadcrumb-zxa_PNhF.js} +2 -2
  30. package/dist/_chunks/breadcrumb-zxa_PNhF.js.map +1 -0
  31. package/dist/_chunks/{calendar-CmiMS4FJ.js → calendar-DVe5eArk.js} +2 -2
  32. package/dist/_chunks/{calendar-CmiMS4FJ.js.map → calendar-DVe5eArk.js.map} +1 -1
  33. package/dist/_chunks/{calendar-appointment-editor-dialog-BOZ5wk96.js → calendar-appointment-editor-dialog-CUJMnFL7.js} +12 -12
  34. package/dist/_chunks/{calendar-appointment-editor-dialog-BOZ5wk96.js.map → calendar-appointment-editor-dialog-CUJMnFL7.js.map} +1 -1
  35. package/dist/_chunks/{chat-message-LRO_6Ee3.js → chat-message-CkBCAcwn.js} +2 -2
  36. package/dist/_chunks/{chat-message-LRO_6Ee3.js.map → chat-message-CkBCAcwn.js.map} +1 -1
  37. package/dist/_chunks/{city-input-CA59CjnV.js → city-input-DXipzTfZ.js} +3 -3
  38. package/dist/_chunks/{city-input-CA59CjnV.js.map → city-input-DXipzTfZ.js.map} +1 -1
  39. package/dist/_chunks/{clinical-note-card-CWHFnCmY.js → clinical-note-card--juv_ELr.js} +2 -2
  40. package/dist/_chunks/{clinical-note-card-CWHFnCmY.js.map → clinical-note-card--juv_ELr.js.map} +1 -1
  41. package/dist/_chunks/{combobox-D-gpgEDy.js → combobox-duuDRI1t.js} +2 -2
  42. package/dist/_chunks/{combobox-D-gpgEDy.js.map → combobox-duuDRI1t.js.map} +1 -1
  43. package/dist/_chunks/{command-palette-B3dVqm9D.js → command-palette-DxQBU4wH.js} +3 -3
  44. package/dist/_chunks/command-palette-DxQBU4wH.js.map +1 -0
  45. package/dist/_chunks/{contact-profile-card-jBf9U4At.js → contact-profile-card-QPUgGu-t.js} +57 -57
  46. package/dist/_chunks/contact-profile-card-QPUgGu-t.js.map +1 -0
  47. package/dist/_chunks/{copy-field-hgVSc51W.js → copy-field-BaYEDJ9f.js} +24 -24
  48. package/dist/_chunks/copy-field-BaYEDJ9f.js.map +1 -0
  49. package/dist/_chunks/{country-select-BfmX9y5i.js → country-select-CUuGOAoZ.js} +2 -2
  50. package/dist/_chunks/{country-select-BfmX9y5i.js.map → country-select-CUuGOAoZ.js.map} +1 -1
  51. package/dist/_chunks/{data-table-xUDjZS_O.js → data-table-C5uN4ato.js} +10 -8
  52. package/dist/_chunks/data-table-C5uN4ato.js.map +1 -0
  53. package/dist/_chunks/{data-table-tabs-CcgU2lr5.js → data-table-tabs-Db7zToFD.js} +2 -2
  54. package/dist/_chunks/{data-table-tabs-CcgU2lr5.js.map → data-table-tabs-Db7zToFD.js.map} +1 -1
  55. package/dist/_chunks/{dependent-selector-CyNi7M_f.js → dependent-selector-DRN0P0Kr.js} +2 -2
  56. package/dist/_chunks/{dependent-selector-CyNi7M_f.js.map → dependent-selector-DRN0P0Kr.js.map} +1 -1
  57. package/dist/_chunks/{document-preview-DWIQryMW.js → document-preview-U8H6tnDJ.js} +2 -2
  58. package/dist/_chunks/{document-preview-DWIQryMW.js.map → document-preview-U8H6tnDJ.js.map} +1 -1
  59. package/dist/_chunks/{document-scanner-BQP0Rqrt.js → document-scanner-Bf3VUp00.js} +24 -24
  60. package/dist/_chunks/document-scanner-Bf3VUp00.js.map +1 -0
  61. package/dist/_chunks/{editable-currency-cell-renderer-BEaj2NT_.js → editable-currency-cell-renderer-BUdFMh67.js} +2 -2
  62. package/dist/_chunks/{editable-currency-cell-renderer-BEaj2NT_.js.map → editable-currency-cell-renderer-BUdFMh67.js.map} +1 -1
  63. package/dist/_chunks/{email-input-C7THAwh2.js → email-input-BEO3vonE.js} +2 -2
  64. package/dist/_chunks/{email-input-C7THAwh2.js.map → email-input-BEO3vonE.js.map} +1 -1
  65. package/dist/_chunks/{entity-summary-BJdfIsk_.js → entity-summary-B4p8zP1J.js} +2 -2
  66. package/dist/_chunks/{entity-summary-BJdfIsk_.js.map → entity-summary-B4p8zP1J.js.map} +1 -1
  67. package/dist/_chunks/{face-scheme-BmygzbZr.js → face-scheme-DdVLQ5dP.js} +3 -3
  68. package/dist/_chunks/{face-scheme-BmygzbZr.js.map → face-scheme-DdVLQ5dP.js.map} +1 -1
  69. package/dist/_chunks/{file-manager-Ba_TcfCj.js → file-manager-CnGBVX_q.js} +4 -4
  70. package/dist/_chunks/{file-manager-Ba_TcfCj.js.map → file-manager-CnGBVX_q.js.map} +1 -1
  71. package/dist/_chunks/{fiscal-code-input-BzWmNDnl.js → fiscal-code-input-BBvU7sAo.js} +2 -2
  72. package/dist/_chunks/{fiscal-code-input-BzWmNDnl.js.map → fiscal-code-input-BBvU7sAo.js.map} +1 -1
  73. package/dist/_chunks/{forgot-password-form-BCk4rGIh.js → forgot-password-form-CeTb5p-x.js} +2 -2
  74. package/dist/_chunks/{forgot-password-form-BCk4rGIh.js.map → forgot-password-form-CeTb5p-x.js.map} +1 -1
  75. package/dist/_chunks/{header-settings-C2D74i4g.js → header-settings-Df9q1uHt.js} +2 -2
  76. package/dist/_chunks/{header-settings-C2D74i4g.js.map → header-settings-Df9q1uHt.js.map} +1 -1
  77. package/dist/_chunks/{heatmap-C9tEvqEm.js → heatmap-Cz0Krieg.js} +666 -650
  78. package/dist/_chunks/{heatmap-C9tEvqEm.js.map → heatmap-Cz0Krieg.js.map} +1 -1
  79. package/dist/_chunks/{help-me-write-templates-BJSf24xS.js → help-me-write-templates-ra5a__Yy.js} +2 -2
  80. package/dist/_chunks/{help-me-write-templates-BJSf24xS.js.map → help-me-write-templates-ra5a__Yy.js.map} +1 -1
  81. package/dist/_chunks/{iban-input-B9L2QDHh.js → iban-input-DuTwKok5.js} +2 -2
  82. package/dist/_chunks/{iban-input-B9L2QDHh.js.map → iban-input-DuTwKok5.js.map} +1 -1
  83. package/dist/_chunks/{icon-picker-DQMG9L6M.js → icon-picker-BmU6gpZT.js} +2 -2
  84. package/dist/_chunks/{icon-picker-DQMG9L6M.js.map → icon-picker-BmU6gpZT.js.map} +1 -1
  85. package/dist/_chunks/{info-tip-Do3RFt60.js → info-tip-CG-DEfkd.js} +106 -93
  86. package/dist/_chunks/info-tip-CG-DEfkd.js.map +1 -0
  87. package/dist/_chunks/{input-surface-iBmxVBfr.js → input-surface-BMffm2Vd.js} +4 -4
  88. package/dist/_chunks/{input-surface-iBmxVBfr.js.map → input-surface-BMffm2Vd.js.map} +1 -1
  89. package/dist/_chunks/{link-cell-renderer-OmvrkUeN.js → link-cell-renderer-DKMgD-2v.js} +4 -4
  90. package/dist/_chunks/{link-cell-renderer-OmvrkUeN.js.map → link-cell-renderer-DKMgD-2v.js.map} +1 -1
  91. package/dist/_chunks/{locale-picker-B1NAHW4U.js → locale-picker-C86h8Yt1.js} +2 -2
  92. package/dist/_chunks/{locale-picker-B1NAHW4U.js.map → locale-picker-C86h8Yt1.js.map} +1 -1
  93. package/dist/_chunks/{login-dev-card-DcfcFJrm.js → login-dev-card-D5BV5j1i.js} +4 -4
  94. package/dist/_chunks/{login-dev-card-DcfcFJrm.js.map → login-dev-card-D5BV5j1i.js.map} +1 -1
  95. package/dist/_chunks/{map-view--c9bJDRw.js → map-view-V7etHnyF.js} +2 -2
  96. package/dist/_chunks/map-view-V7etHnyF.js.map +1 -0
  97. package/dist/_chunks/{marketplace-app-shell-DDZI-uBl.js → marketplace-app-shell-D2qgIuXX.js} +4 -4
  98. package/dist/_chunks/{marketplace-app-shell-DDZI-uBl.js.map → marketplace-app-shell-D2qgIuXX.js.map} +1 -1
  99. package/dist/_chunks/{message-card-B6SduXJv.js → message-card-BzJEITml.js} +2 -2
  100. package/dist/_chunks/{message-card-B6SduXJv.js.map → message-card-BzJEITml.js.map} +1 -1
  101. package/dist/_chunks/{message-tray-18_TrLCy.js → message-tray-DiPgJbOb.js} +2 -2
  102. package/dist/_chunks/{message-tray-18_TrLCy.js.map → message-tray-DiPgJbOb.js.map} +1 -1
  103. package/dist/_chunks/{multi-select-i5MFRpXg.js → multi-select-Df3R8lv_.js} +30 -30
  104. package/dist/_chunks/multi-select-Df3R8lv_.js.map +1 -0
  105. package/dist/_chunks/{navigation-menu-DbaSlvdO.js → navigation-menu-1MrpIVkY.js} +3 -3
  106. package/dist/_chunks/navigation-menu-1MrpIVkY.js.map +1 -0
  107. package/dist/_chunks/{notes-panel-DfjF83IK.js → notes-panel-BbNLYcdv.js} +3 -3
  108. package/dist/_chunks/{notes-panel-DfjF83IK.js.map → notes-panel-BbNLYcdv.js.map} +1 -1
  109. package/dist/_chunks/{operator-hero-N_ziNGFF.js → operator-hero-BcuPTzS_.js} +2 -2
  110. package/dist/_chunks/{operator-hero-N_ziNGFF.js.map → operator-hero-BcuPTzS_.js.map} +1 -1
  111. package/dist/_chunks/{pagination-DvKGrsXu.js → pagination-C7N_NiRN.js} +2 -2
  112. package/dist/_chunks/{pagination-DvKGrsXu.js.map → pagination-C7N_NiRN.js.map} +1 -1
  113. package/dist/_chunks/{password-input-BokZ_rnT.js → password-input-SJGHFdOO.js} +2 -2
  114. package/dist/_chunks/{password-input-BokZ_rnT.js.map → password-input-SJGHFdOO.js.map} +1 -1
  115. package/dist/_chunks/{patient-details-DGHkAErB.js → patient-details-DoIOWP6j.js} +3 -3
  116. package/dist/_chunks/{patient-details-DGHkAErB.js.map → patient-details-DoIOWP6j.js.map} +1 -1
  117. package/dist/_chunks/{patient-field-row-BVK4y98C.js → patient-field-row--dCDO5oB.js} +9 -9
  118. package/dist/_chunks/{patient-field-row-BVK4y98C.js.map → patient-field-row--dCDO5oB.js.map} +1 -1
  119. package/dist/_chunks/{patient-search-CL6dtBIq.js → patient-search-DJy0IZSx.js} +2 -2
  120. package/dist/_chunks/{patient-search-CL6dtBIq.js.map → patient-search-DJy0IZSx.js.map} +1 -1
  121. package/dist/_chunks/{patient-summary-card-DXz07c2X.js → patient-summary-card-CL04aq8h.js} +3 -3
  122. package/dist/_chunks/{patient-summary-card-DXz07c2X.js.map → patient-summary-card-CL04aq8h.js.map} +1 -1
  123. package/dist/_chunks/{payment-automation-upsell-CZk6f8aK.js → payment-automation-upsell-BPF0c-5D.js} +2 -2
  124. package/dist/_chunks/{payment-automation-upsell-CZk6f8aK.js.map → payment-automation-upsell-BPF0c-5D.js.map} +1 -1
  125. package/dist/_chunks/{pdf-viewer-gAsNUsA8.js → pdf-viewer-DlceXkfW.js} +267 -286
  126. package/dist/_chunks/pdf-viewer-DlceXkfW.js.map +1 -0
  127. package/dist/_chunks/{phone-input-DJ4BN8tG.js → phone-input-BL8Sj6OG.js} +3 -3
  128. package/dist/_chunks/phone-input-BL8Sj6OG.js.map +1 -0
  129. package/dist/_chunks/{postal-code-input-CfZOnIkW.js → postal-code-input-dJdSAVkP.js} +2 -2
  130. package/dist/_chunks/{postal-code-input-CfZOnIkW.js.map → postal-code-input-dJdSAVkP.js.map} +1 -1
  131. package/dist/_chunks/{practice-profile-hero-DKmnB-M0.js → practice-profile-hero-B8vykoci.js} +2 -2
  132. package/dist/_chunks/{practice-profile-hero-DKmnB-M0.js.map → practice-profile-hero-B8vykoci.js.map} +1 -1
  133. package/dist/_chunks/{practice-results-ZOVlrb43.js → practice-results-U-5kpnJa.js} +3 -3
  134. package/dist/_chunks/{practice-results-ZOVlrb43.js.map → practice-results-U-5kpnJa.js.map} +1 -1
  135. package/dist/_chunks/{province-select-D64whw0m.js → province-select-cVOlwEc5.js} +2 -2
  136. package/dist/_chunks/{province-select-D64whw0m.js.map → province-select-cVOlwEc5.js.map} +1 -1
  137. package/dist/_chunks/{public-footer-BiPiU_lk.js → public-footer-t6gx6sjn.js} +163 -152
  138. package/dist/_chunks/public-footer-t6gx6sjn.js.map +1 -0
  139. package/dist/_chunks/{registration-form-K4j2tdLt.js → registration-form-JzzTomhd.js} +5 -5
  140. package/dist/_chunks/{registration-form-K4j2tdLt.js.map → registration-form-JzzTomhd.js.map} +1 -1
  141. package/dist/_chunks/{reserved.agent-TRbKB39d.js → reserved.agent-CB-92Vi9.js} +8 -8
  142. package/dist/_chunks/{reserved.agent-TRbKB39d.js.map → reserved.agent-CB-92Vi9.js.map} +1 -1
  143. package/dist/_chunks/{reset-password-form-C6XLV7SI.js → reset-password-form-DDdGEoIL.js} +3 -3
  144. package/dist/_chunks/{reset-password-form-C6XLV7SI.js.map → reset-password-form-DDdGEoIL.js.map} +1 -1
  145. package/dist/_chunks/{rich-text-editor-CJfT08It.js → rich-text-editor-F04przIt.js} +2 -2
  146. package/dist/_chunks/{rich-text-editor-CJfT08It.js.map → rich-text-editor-F04przIt.js.map} +1 -1
  147. package/dist/_chunks/{search-bar-mA4bPe3t.js → search-bar-CQ9_V3EJ.js} +2 -2
  148. package/dist/_chunks/{search-bar-mA4bPe3t.js.map → search-bar-CQ9_V3EJ.js.map} +1 -1
  149. package/dist/_chunks/{search-input-BAlDd05M.js → search-input-CRAMo1CA.js} +2 -2
  150. package/dist/_chunks/{search-input-BAlDd05M.js.map → search-input-CRAMo1CA.js.map} +1 -1
  151. package/dist/_chunks/{send-registration-link-form-yLSfcaPk.js → send-registration-link-form-DHCQpA4C.js} +3 -3
  152. package/dist/_chunks/{send-registration-link-form-yLSfcaPk.js.map → send-registration-link-form-DHCQpA4C.js.map} +1 -1
  153. package/dist/_chunks/{sidebar-BS24EnYd.js → sidebar-2VsPlNkZ.js} +3 -3
  154. package/dist/_chunks/sidebar-2VsPlNkZ.js.map +1 -0
  155. package/dist/_chunks/{sign-document-BiOTs1P4.js → sign-document-B5qZhthO.js} +10 -10
  156. package/dist/_chunks/sign-document-B5qZhthO.js.map +1 -0
  157. package/dist/_chunks/{signature-capture-Chqh62Pc.js → signature-capture-BJc7kfqi.js} +2 -2
  158. package/dist/_chunks/signature-capture-BJc7kfqi.js.map +1 -0
  159. package/dist/_chunks/{signature-field-Y01UB5DA.js → signature-field-DjabvRZm.js} +28 -34
  160. package/dist/_chunks/{signature-field-Y01UB5DA.js.map → signature-field-DjabvRZm.js.map} +1 -1
  161. package/dist/_chunks/{signature-request-CLtMgQKi.js → signature-request-CQ0torGq.js} +2 -2
  162. package/dist/_chunks/{signature-request-CLtMgQKi.js.map → signature-request-CQ0torGq.js.map} +1 -1
  163. package/dist/_chunks/{signed-out-frame-CRwVTCjY.js → signed-out-frame-BcQE00H1.js} +2 -2
  164. package/dist/_chunks/{signed-out-frame-CRwVTCjY.js.map → signed-out-frame-BcQE00H1.js.map} +1 -1
  165. package/dist/_chunks/{stat-Dno2ZihS.js → stat-BFKZV50y.js} +137 -117
  166. package/dist/_chunks/stat-BFKZV50y.js.map +1 -0
  167. package/dist/_chunks/{state-backed-text-input-Cgh4ms3p.js → state-backed-text-input-DVETOhSS.js} +2 -2
  168. package/dist/_chunks/{state-backed-text-input-Cgh4ms3p.js.map → state-backed-text-input-DVETOhSS.js.map} +1 -1
  169. package/dist/_chunks/{stepper-accordion-DDTSOUHc.js → stepper-accordion-CYjrmRte.js} +44 -44
  170. package/dist/_chunks/stepper-accordion-CYjrmRte.js.map +1 -0
  171. package/dist/_chunks/{task-editor-qXfMbHsy.js → task-editor-BiPGFXtB.js} +3 -3
  172. package/dist/_chunks/{task-editor-qXfMbHsy.js.map → task-editor-BiPGFXtB.js.map} +1 -1
  173. package/dist/_chunks/{text-input-CaG9ApoE.js → text-input-B6iAgCr3.js} +2 -2
  174. package/dist/_chunks/{text-input-CaG9ApoE.js.map → text-input-B6iAgCr3.js.map} +1 -1
  175. package/dist/_chunks/{timeline-B32dylRJ.js → timeline-tn5QQJdS.js} +2 -2
  176. package/dist/_chunks/{timeline-B32dylRJ.js.map → timeline-tn5QQJdS.js.map} +1 -1
  177. package/dist/_chunks/{transcript-panel-CoHHpcFg.js → transcript-panel-A781Pkzr.js} +2 -2
  178. package/dist/_chunks/{transcript-panel-CoHHpcFg.js.map → transcript-panel-A781Pkzr.js.map} +1 -1
  179. package/dist/_chunks/{use-appointment-details-read-UXXvBeGZ.js → use-appointment-details-read-BbIoPWO6.js} +5 -5
  180. package/dist/_chunks/{use-appointment-details-read-UXXvBeGZ.js.map → use-appointment-details-read-BbIoPWO6.js.map} +1 -1
  181. package/dist/_chunks/{widget-picker-B9HpT2Tb.js → widget-picker-DNYIqRT1.js} +2 -2
  182. package/dist/_chunks/{widget-picker-B9HpT2Tb.js.map → widget-picker-DNYIqRT1.js.map} +1 -1
  183. package/dist/_chunks/{workflow-map-flsvqQ3L.js → workflow-map-k-dQkpe7.js} +20 -20
  184. package/dist/_chunks/{workflow-map-flsvqQ3L.js.map → workflow-map-k-dQkpe7.js.map} +1 -1
  185. package/dist/_chunks/{workflow-status-HQ6ziE46.js → workflow-status-9wb7iWUd.js} +2 -2
  186. package/dist/_chunks/{workflow-status-HQ6ziE46.js.map → workflow-status-9wb7iWUd.js.map} +1 -1
  187. package/dist/_chunks/{workflow-webhook-action-BD-6UyOs.js → workflow-webhook-action-B_52rH7O.js} +3 -3
  188. package/dist/_chunks/{workflow-webhook-action-BD-6UyOs.js.map → workflow-webhook-action-B_52rH7O.js.map} +1 -1
  189. package/dist/ag-grid.css +4 -3
  190. package/dist/agent-catalog.json +1 -1
  191. package/dist/components/_shared/input-surface.d.ts +3 -3
  192. package/dist/components/address-autocomplete/index.js +1 -1
  193. package/dist/components/address-fields/index.js +1 -1
  194. package/dist/components/agenda-card/index.js +1 -1
  195. package/dist/components/agenda-tray/index.js +1 -1
  196. package/dist/components/appointment-card/index.js +2 -2
  197. package/dist/components/appointment-details-panel/index.js +1 -1
  198. package/dist/components/appointment-peek/index.js +1 -1
  199. package/dist/components/appointment-timeline/index.js +1 -1
  200. package/dist/components/aspect-ratio/index.js +1 -1
  201. package/dist/components/autocomplete/index.js +1 -1
  202. package/dist/components/avatar/index.js +1 -1
  203. package/dist/components/booking/index.js +1 -1
  204. package/dist/components/breadcrumb/index.js +1 -1
  205. package/dist/components/calendar/index.js +1 -1
  206. package/dist/components/chat-message/index.js +1 -1
  207. package/dist/components/city-input/index.js +1 -1
  208. package/dist/components/clinical-note-card/index.js +1 -1
  209. package/dist/components/combobox/index.js +1 -1
  210. package/dist/components/command-palette/index.js +1 -1
  211. package/dist/components/contact-profile-card/index.js +1 -1
  212. package/dist/components/copy-field/index.js +1 -1
  213. package/dist/components/country-select/index.js +1 -1
  214. package/dist/components/data-table/index.js +3 -3
  215. package/dist/components/data-table/toolbar.d.ts +1 -0
  216. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  217. package/dist/components/data-table-tabs/index.js +1 -1
  218. package/dist/components/dependent-selector/index.js +1 -1
  219. package/dist/components/document-preview/index.js +1 -1
  220. package/dist/components/document-scanner/index.js +1 -1
  221. package/dist/components/email-input/index.js +1 -1
  222. package/dist/components/entity-summary/index.js +1 -1
  223. package/dist/components/face-scheme/index.js +1 -1
  224. package/dist/components/file-manager/index.js +1 -1
  225. package/dist/components/fiscal-code-input/index.js +1 -1
  226. package/dist/components/header-settings/index.js +1 -1
  227. package/dist/components/heatmap/heatmap-table-view.d.ts.map +1 -1
  228. package/dist/components/heatmap/index.js +1 -1
  229. package/dist/components/iban-input/index.js +1 -1
  230. package/dist/components/icon-picker/index.js +1 -1
  231. package/dist/components/info-tip/index.js +1 -1
  232. package/dist/components/info-tip/info-tip.d.ts +2 -1
  233. package/dist/components/info-tip/info-tip.d.ts.map +1 -1
  234. package/dist/components/locale-picker/index.js +1 -1
  235. package/dist/components/map-view/index.js +1 -1
  236. package/dist/components/message-card/index.js +1 -1
  237. package/dist/components/message-tray/index.js +1 -1
  238. package/dist/components/multi-select/index.js +1 -1
  239. package/dist/components/navigation-menu/index.js +1 -1
  240. package/dist/components/notes-panel/index.js +1 -1
  241. package/dist/components/operator-hero/index.js +1 -1
  242. package/dist/components/pagination/index.js +1 -1
  243. package/dist/components/password-input/index.js +1 -1
  244. package/dist/components/patient-details/index.js +1 -1
  245. package/dist/components/patient-search/index.js +1 -1
  246. package/dist/components/patient-summary-card/index.js +1 -1
  247. package/dist/components/patient-table/index.js +1 -1
  248. package/dist/components/pdf-viewer/index.js +1 -1
  249. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  250. package/dist/components/phone-input/index.js +1 -1
  251. package/dist/components/postal-code-input/index.js +1 -1
  252. package/dist/components/practice-profile-hero/index.js +1 -1
  253. package/dist/components/practice-results/index.js +1 -1
  254. package/dist/components/province-select/index.js +1 -1
  255. package/dist/components/public-footer/index.js +1 -1
  256. package/dist/components/public-footer/public-footer.d.ts.map +1 -1
  257. package/dist/components/rich-text-editor/index.js +1 -1
  258. package/dist/components/search-bar/index.js +1 -1
  259. package/dist/components/search-input/index.js +1 -1
  260. package/dist/components/sidebar/index.js +1 -1
  261. package/dist/components/sign-document/index.js +1 -1
  262. package/dist/components/signature-capture/index.js +1 -1
  263. package/dist/components/signature-field/index.js +1 -1
  264. package/dist/components/signature-field/signature-field.d.ts.map +1 -1
  265. package/dist/components/stat/index.js +1 -1
  266. package/dist/components/stat/stat.d.ts +8 -0
  267. package/dist/components/stat/stat.d.ts.map +1 -1
  268. package/dist/components/stepper-accordion/index.js +1 -1
  269. package/dist/components/task-editor/index.js +1 -1
  270. package/dist/components/text-input/index.js +1 -1
  271. package/dist/components/timeline/index.js +1 -1
  272. package/dist/components/transcript-panel/index.js +1 -1
  273. package/dist/components/widget-picker/index.js +1 -1
  274. package/dist/components/workflow/index.js +1 -1
  275. package/dist/components/workflow-status/index.js +1 -1
  276. package/dist/core.css +1 -1
  277. package/dist/host-compat.css +13 -1
  278. package/dist/index.js +89 -89
  279. package/dist/patterns/alia-assistant/index.js +1 -1
  280. package/dist/patterns/anamnesis/index.js +1 -1
  281. package/dist/patterns/calendar/index.js +1 -1
  282. package/dist/patterns/forgot-password-form/index.js +1 -1
  283. package/dist/patterns/help-me-write-templates/index.js +1 -1
  284. package/dist/patterns/login-form/index.js +1 -1
  285. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  286. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  287. package/dist/patterns/registration-form/index.js +1 -1
  288. package/dist/patterns/reset-password-form/index.js +1 -1
  289. package/dist/patterns/send-registration-link-form/index.js +1 -1
  290. package/dist/patterns/signature-request/index.js +1 -1
  291. package/dist/patterns/signed-out-frame/index.js +1 -1
  292. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  293. package/dist/tokens.css +5 -4
  294. package/package.json +1 -1
  295. package/dist/_chunks/aspect-ratio-DeSNzASA.js.map +0 -1
  296. package/dist/_chunks/avatar-a6042Ox2.js.map +0 -1
  297. package/dist/_chunks/breadcrumb-Bn29NCnf.js.map +0 -1
  298. package/dist/_chunks/command-palette-B3dVqm9D.js.map +0 -1
  299. package/dist/_chunks/contact-profile-card-jBf9U4At.js.map +0 -1
  300. package/dist/_chunks/copy-field-hgVSc51W.js.map +0 -1
  301. package/dist/_chunks/data-table-xUDjZS_O.js.map +0 -1
  302. package/dist/_chunks/document-scanner-BQP0Rqrt.js.map +0 -1
  303. package/dist/_chunks/info-tip-Do3RFt60.js.map +0 -1
  304. package/dist/_chunks/map-view--c9bJDRw.js.map +0 -1
  305. package/dist/_chunks/multi-select-i5MFRpXg.js.map +0 -1
  306. package/dist/_chunks/navigation-menu-DbaSlvdO.js.map +0 -1
  307. package/dist/_chunks/pdf-viewer-gAsNUsA8.js.map +0 -1
  308. package/dist/_chunks/phone-input-DJ4BN8tG.js.map +0 -1
  309. package/dist/_chunks/public-footer-BiPiU_lk.js.map +0 -1
  310. package/dist/_chunks/sidebar-BS24EnYd.js.map +0 -1
  311. package/dist/_chunks/sign-document-BiOTs1P4.js.map +0 -1
  312. package/dist/_chunks/signature-capture-Chqh62Pc.js.map +0 -1
  313. package/dist/_chunks/stat-Dno2ZihS.js.map +0 -1
  314. package/dist/_chunks/stepper-accordion-DDTSOUHc.js.map +0 -1
@@ -1,21 +1,21 @@
1
- import { jsx as o, jsxs as K, Fragment as ke } from "react/jsx-runtime";
2
- import { forwardRef as Ze, useId as _e, useMemo as Pe, useState as b, useEffect as R, useRef as V, useCallback as W, useImperativeHandle as Le } from "react";
1
+ import { jsx as o, jsxs as K, Fragment as Ce } from "react/jsx-runtime";
2
+ import { forwardRef as Ke, useId as Ze, useMemo as ke, useState as b, useEffect as R, useRef as V, useCallback as W, useImperativeHandle as _e } from "react";
3
3
  import * as he from "pdfjs-dist/legacy/build/pdf.min.mjs";
4
- import { c as $ } from "./index-D2ZczOXr.js";
4
+ import { c as Q } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as me } from "react-i18next";
6
- import * as ae from "@radix-ui/react-popover";
7
- import { u as qe, f as Be } from "./non-modal-tab-exit-j3CPOuE3.js";
8
- import De from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url";
9
- import { S as He } from "./spinner-CoflYlEx.js";
10
- import { A as Ce } from "./alert-9kEwDza3.js";
11
- import { u as We } from "./registry-DvAUVLHh.js";
12
- import { X as Qe } from "./x-B5YnXwCz.js";
13
- import { C as Ue } from "./chevron-left-B8cOyH-V.js";
14
- import { C as Je } from "./chevron-right-I9AeSxH2.js";
15
- import { Z as Xe, a as $e } from "./zoom-out-Dnif4kJx.js";
16
- import { S as Ge } from "./search-QbWPlY5f.js";
17
- import { P as Ye } from "./printer-rkK0T1gi.js";
18
- const et = {
6
+ import * as ne from "@radix-ui/react-popover";
7
+ import { u as Le, f as qe } from "./non-modal-tab-exit-j3CPOuE3.js";
8
+ import Re from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url";
9
+ import { S as Be } from "./spinner-CoflYlEx.js";
10
+ import { A as Se } from "./alert-9kEwDza3.js";
11
+ import { u as He } from "./registry-DvAUVLHh.js";
12
+ import { X as We } from "./x-B5YnXwCz.js";
13
+ import { C as Qe } from "./chevron-left-B8cOyH-V.js";
14
+ import { C as Ue } from "./chevron-right-I9AeSxH2.js";
15
+ import { Z as Je, a as Xe } from "./zoom-out-Dnif4kJx.js";
16
+ import { S as $e } from "./search-QbWPlY5f.js";
17
+ import { P as Ge } from "./printer-rkK0T1gi.js";
18
+ const Ye = {
19
19
  id: "pdf-viewer",
20
20
  // `paginate` (go_to_page), `set_value` (zoom preset — ephemeral view state),
21
21
  // `filter` (in-document search/highlight). Zoom maps to `set_value` rather
@@ -33,31 +33,31 @@ const et = {
33
33
  type: "'loading' | 'ready' | 'error'",
34
34
  descriptionKey: "ui.agent.pdfViewer.state.status",
35
35
  description: "Whether the document has loaded. Read this first — every action is a silent no-op while the viewer is loading or has failed.",
36
- read: (a) => a.getStatus()
36
+ read: (n) => n.getStatus()
37
37
  },
38
38
  currentPage: {
39
39
  type: "number",
40
40
  descriptionKey: "ui.agent.pdfViewer.state.currentPage",
41
41
  description: "1-indexed page currently in view. The read-back for `go_to_page`, which clamps out-of-range requests silently.",
42
- read: (a) => a.getCurrentPage()
42
+ read: (n) => n.getCurrentPage()
43
43
  },
44
44
  pageCount: {
45
45
  type: "number",
46
46
  descriptionKey: "ui.agent.pdfViewer.state.pageCount",
47
47
  description: "Number of pages in the loaded document, or 0 before it loads. Range-check against this before calling `go_to_page` rather than discovering the clamp after the fact.",
48
- read: (a) => a.getPageCount()
48
+ read: (n) => n.getPageCount()
49
49
  },
50
50
  zoom: {
51
51
  type: "'fit-width' | 'fit-page' | 'actual-size' | number",
52
52
  descriptionKey: "ui.agent.pdfViewer.state.zoom",
53
53
  description: "Zoom preset or numeric scale factor currently applied. The read-back for `set_zoom`.",
54
- read: (a) => a.getZoom()
54
+ read: (n) => n.getZoom()
55
55
  },
56
56
  searchMatchCount: {
57
57
  type: "number",
58
58
  descriptionKey: "ui.agent.pdfViewer.state.searchMatchCount",
59
59
  description: "Number of matches for the active search query — 0 when nothing matched or no search is running. A count only; the matched text is never exposed.",
60
- read: (a) => a.getSearchMatchCount()
60
+ read: (n) => n.getSearchMatchCount()
61
61
  }
62
62
  },
63
63
  actions: {
@@ -83,8 +83,8 @@ const et = {
83
83
  examples: [{ args: { page: 2 } }],
84
84
  descriptionKey: "ui.agent.pdfViewer.actions.goToPage",
85
85
  description: 'Navigate to a specific 1-indexed page. Check `pageCount` first — an out-of-range page is clamped silently, and the call is a no-op until `status` is "ready".',
86
- invoke: (a, t) => {
87
- a.goToPage(t.page);
86
+ invoke: (n, t) => {
87
+ n.goToPage(t.page);
88
88
  }
89
89
  },
90
90
  set_zoom: {
@@ -107,8 +107,8 @@ const et = {
107
107
  examples: [{ args: { zoom: "fit-width" } }, { args: { zoom: 1.5 } }],
108
108
  descriptionKey: "ui.agent.pdfViewer.actions.setZoom",
109
109
  description: "Apply a zoom preset or numeric scale factor.",
110
- invoke: (a, t) => {
111
- a.setZoom(t.zoom);
110
+ invoke: (n, t) => {
111
+ n.setZoom(t.zoom);
112
112
  }
113
113
  },
114
114
  search: {
@@ -128,16 +128,16 @@ const et = {
128
128
  examples: [{ args: { query: "consent" } }],
129
129
  descriptionKey: "ui.agent.pdfViewer.actions.search",
130
130
  description: "Search the document for the given query and highlight matches. Read the `searchMatchCount` slot afterwards — the action itself returns nothing.",
131
- invoke: (a, t) => {
132
- a.search(t.query);
131
+ invoke: (n, t) => {
132
+ n.search(t.query);
133
133
  }
134
134
  },
135
135
  print: {
136
136
  safety: "read",
137
137
  descriptionKey: "ui.agent.pdfViewer.actions.print",
138
138
  description: "Open the browser print dialog for the document.",
139
- invoke: (a) => {
140
- a.print();
139
+ invoke: (n) => {
140
+ n.print();
141
141
  }
142
142
  }
143
143
  },
@@ -150,8 +150,8 @@ const et = {
150
150
  }
151
151
  }
152
152
  };
153
- he.GlobalWorkerOptions.workerSrc = De;
154
- const Se = $(
153
+ he.GlobalWorkerOptions.workerSrc = Re;
154
+ const ze = Q(
155
155
  [
156
156
  "ds:pdf-viewer-alfadocs ds:flex ds:flex-col",
157
157
  // Allow the viewer to shrink below its content's intrinsic width when it
@@ -168,7 +168,7 @@ const Se = $(
168
168
  "ds:focus-visible:outline-[var(--ring)]",
169
169
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
170
170
  ].join(" ")
171
- ), tt = $(
171
+ ), et = Q(
172
172
  [
173
173
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
174
174
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -176,7 +176,7 @@ const Se = $(
176
176
  "ds:bg-[var(--background)]",
177
177
  "ds:border-b ds:border-[color:var(--border)]"
178
178
  ].join(" ")
179
- ), Me = $(
179
+ ), Me = Q(
180
180
  [
181
181
  "ds:inline-flex ds:items-center ds:justify-center",
182
182
  "ds:[min-block-size:var(--min-target-size)]",
@@ -193,10 +193,10 @@ const Se = $(
193
193
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
194
194
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
195
195
  ].join(" ")
196
- ), Ne = $(
196
+ ), tt = Q(
197
197
  [
198
198
  "ds:[min-block-size:var(--min-target-size)]",
199
- "ds:inline-size-[4rem] ds:text-center",
199
+ "ds:w-[4rem] ds:text-center",
200
200
  "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
201
201
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)]",
202
202
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
@@ -205,7 +205,19 @@ const Se = $(
205
205
  "ds:focus-visible:outline-[var(--ring)]",
206
206
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
207
207
  ].join(" ")
208
- ), rt = $(
208
+ ), rt = Q(
209
+ [
210
+ "ds:[min-block-size:var(--min-target-size)]",
211
+ "ds:w-[16rem] ds:max-w-full ds:min-w-0 ds:text-start",
212
+ "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
213
+ "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)]",
214
+ "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
215
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
216
+ "ds:focus-visible:outline-solid",
217
+ "ds:focus-visible:outline-[var(--ring)]",
218
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
219
+ ].join(" ")
220
+ ), at = Q(
209
221
  [
210
222
  "ds:[min-block-size:var(--min-target-size)]",
211
223
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -216,7 +228,7 @@ const Se = $(
216
228
  "ds:focus-visible:outline-[var(--ring)]",
217
229
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
218
230
  ].join(" ")
219
- ), nt = $(
231
+ ), nt = Q(
220
232
  [
221
233
  "ds:relative ds:flex ds:flex-col ds:items-center",
222
234
  "ds:gap-[var(--spacing-md)]",
@@ -237,14 +249,14 @@ const Se = $(
237
249
  "ds:min-h-[30rem]",
238
250
  "ds:max-h-[80vh]"
239
251
  ].join(" ")
240
- ), at = $(
252
+ ), ot = Q(
241
253
  [
242
254
  "ds:relative ds:flex ds:items-center ds:justify-center",
243
255
  "ds:bg-[var(--background)]",
244
256
  "ds:shadow-[var(--shadow-md)]",
245
257
  "ds:rounded-[var(--radius-sm)]"
246
258
  ].join(" ")
247
- ), ot = [
259
+ ), st = [
248
260
  "fit-width",
249
261
  "fit-page",
250
262
  "actual-size",
@@ -255,64 +267,64 @@ const Se = $(
255
267
  1.5,
256
268
  2
257
269
  ];
258
- function te(a) {
259
- return typeof a == "number";
270
+ function te(n) {
271
+ return typeof n == "number";
260
272
  }
261
- function Te(a, t, m) {
262
- if (te(a)) return a;
263
- if (a === "actual-size" || !m) return 1;
264
- const f = window.getComputedStyle(m), g = parseFloat(f.paddingInlineStart || "0") + parseFloat(f.paddingInlineEnd || "0"), h = parseFloat(f.paddingBlockStart || "0") + parseFloat(f.paddingBlockEnd || "0"), y = Math.max(m.clientWidth - g, 1), w = Math.max(m.clientHeight - h, 1), x = t.width, z = t.height;
265
- return a === "fit-width" ? y / x : Math.min(y / x, w / z);
273
+ function Te(n, t, m) {
274
+ if (te(n)) return n;
275
+ if (n === "actual-size" || !m) return 1;
276
+ const f = window.getComputedStyle(m), g = parseFloat(f.paddingInlineStart || "0") + parseFloat(f.paddingInlineEnd || "0"), h = parseFloat(f.paddingBlockStart || "0") + parseFloat(f.paddingBlockEnd || "0"), w = Math.max(m.clientWidth - g, 1), y = Math.max(m.clientHeight - h, 1), x = t.width, P = t.height;
277
+ return n === "fit-width" ? w / x : Math.min(w / x, y / P);
266
278
  }
267
- const st = Ze(
279
+ const it = Ke(
268
280
  ({
269
- id: a,
281
+ id: n,
270
282
  src: t,
271
283
  initialPage: m = 1,
272
284
  initialZoom: f = "fit-width",
273
285
  pageRotation: g,
274
286
  renderPageOverlay: h,
275
- onPageChange: y,
276
- onLoadComplete: w,
287
+ onPageChange: w,
288
+ onLoadComplete: y,
277
289
  onError: x,
278
- toolbar: z = !0,
290
+ toolbar: P = !0,
279
291
  toolbarVariant: Z = "full",
280
- ariaLabel: C,
281
- className: S
292
+ ariaLabel: S,
293
+ className: z
282
294
  }, v) => {
283
- const { t: u } = me("ui"), P = _e(), M = Pe(
284
- () => `pdf-${P.replace(/[^a-zA-Z0-9-_]/g, "")}`,
285
- [P]
286
- ), [A, p] = b(!1), [L, Q] = b(!1);
295
+ const { t: u } = me("ui"), k = Ze(), M = ke(
296
+ () => `pdf-${k.replace(/[^a-zA-Z0-9-_]/g, "")}`,
297
+ [k]
298
+ ), [A, p] = b(!1), [L, U] = b(!1);
287
299
  R(() => {
288
300
  if (typeof document > "u") return;
289
301
  p(document.documentElement.dir === "rtl");
290
- const e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => Q(e.matches);
291
- return n(), e.addEventListener("change", n), () => e.removeEventListener("change", n);
302
+ const e = window.matchMedia("(prefers-reduced-motion: reduce)"), a = () => U(e.matches);
303
+ return a(), e.addEventListener("change", a), () => e.removeEventListener("change", a);
292
304
  }, []);
293
- const [s, U] = b(null), [i, N] = b(null), [l, D] = b(m), [k, T] = b(f), [_, q] = b({ start: Math.max(1, m - 1), end: m + 1 }), [G, B] = b(""), [I, r] = b(!1), [j, re] = b(""), [ve, Ae] = b({ current: 0, total: 0 }), oe = V(y), se = V(w), ie = V(x);
305
+ const [s, J] = b(null), [i, T] = b(null), [l, D] = b(m), [C, N] = b(f), [_, q] = b({ start: Math.max(1, m - 1), end: m + 1 }), [G, B] = b(""), [I, r] = b(!1), [j, re] = b(""), [ve, De] = b({ current: 0, total: 0 }), oe = V(w), se = V(y), ie = V(x);
294
306
  R(() => {
295
- oe.current = y, se.current = w, ie.current = x;
296
- }, [y, w, x]);
307
+ oe.current = w, se.current = y, ie.current = x;
308
+ }, [w, y, x]);
297
309
  const ue = V(null);
298
310
  R(() => {
299
311
  ue.current = s;
300
312
  }, [s]), R(() => {
301
313
  let e = !1;
302
- U(null), N(null);
303
- const n = {
314
+ J(null), T(null);
315
+ const a = {
304
316
  disableJavaScript: !0,
305
317
  isEvalSupported: !1
306
318
  }, c = he.getDocument(
307
- typeof t == "string" ? { url: t, ...n } : t instanceof Uint8Array ? { data: t, ...n } : { data: new Uint8Array(t), ...n }
319
+ typeof t == "string" ? { url: t, ...a } : t instanceof Uint8Array ? { data: t, ...a } : { data: new Uint8Array(t), ...a }
308
320
  );
309
321
  return c.promise.then(
310
322
  async (d) => {
311
- var J;
323
+ var X;
312
324
  if (e) return;
313
325
  let O;
314
326
  try {
315
- const X = await d.getMetadata(), E = X == null ? void 0 : X.info;
327
+ const $ = await d.getMetadata(), E = $ == null ? void 0 : $.info;
316
328
  O = E == null ? void 0 : E.Title;
317
329
  } catch {
318
330
  O = void 0;
@@ -325,13 +337,13 @@ const st = Ze(
325
337
  return;
326
338
  }
327
339
  const H = { doc: d, numPages: d.numPages, title: O };
328
- U(H), (J = se.current) == null || J.call(se, { numPages: d.numPages, title: O });
340
+ J(H), (X = se.current) == null || X.call(se, { numPages: d.numPages, title: O });
329
341
  },
330
342
  (d) => {
331
343
  var H;
332
344
  if (e) return;
333
345
  const O = d instanceof Error ? d : new Error(String(d));
334
- N(O), (H = ie.current) == null || H.call(ie, O);
346
+ T(O), (H = ie.current) == null || H.call(ie, O);
335
347
  }
336
348
  ), () => {
337
349
  e = !0, c.destroy();
@@ -353,9 +365,9 @@ const st = Ze(
353
365
  const de = V(null), pe = V([]), F = W(
354
366
  (e) => {
355
367
  if (!s) return;
356
- const n = Math.max(1, Math.min(e, s.numPages));
357
- D(n);
358
- const c = pe.current[n - 1];
368
+ const a = Math.max(1, Math.min(e, s.numPages));
369
+ D(a);
370
+ const c = pe.current[a - 1];
359
371
  c && c.scrollIntoView({
360
372
  behavior: "auto",
361
373
  block: "start"
@@ -363,44 +375,44 @@ const st = Ze(
363
375
  },
364
376
  [s, L]
365
377
  ), be = W((e) => {
366
- T(e);
367
- }, []), ne = W(() => {
378
+ N(e);
379
+ }, []), ae = W(() => {
368
380
  typeof window < "u" && window.print();
369
- }, []), ye = W((e) => {
381
+ }, []), we = W((e) => {
370
382
  re(e), r(e.length > 0);
371
383
  }, []), Y = V({
372
384
  currentPage: l,
373
385
  pageCount: 0,
374
- zoom: k,
386
+ zoom: C,
375
387
  status: "loading",
376
388
  searchMatchCount: 0
377
389
  });
378
390
  Y.current = {
379
391
  currentPage: l,
380
392
  pageCount: (s == null ? void 0 : s.numPages) ?? 0,
381
- zoom: k,
393
+ zoom: C,
382
394
  status: i ? "error" : s ? "ready" : "loading",
383
395
  searchMatchCount: ve.total
384
396
  };
385
- const fe = Pe(
397
+ const fe = ke(
386
398
  () => ({
387
399
  goToPage: F,
388
400
  setZoom: be,
389
- search: ye,
390
- print: ne,
401
+ search: we,
402
+ print: ae,
391
403
  getCurrentPage: () => Y.current.currentPage,
392
404
  getPageCount: () => Y.current.pageCount,
393
405
  getZoom: () => Y.current.zoom,
394
406
  getStatus: () => Y.current.status,
395
407
  getSearchMatchCount: () => Y.current.searchMatchCount
396
408
  }),
397
- [F, be, ye, ne]
409
+ [F, be, we, ae]
398
410
  );
399
- Le(v, () => fe, [fe]), We(et, fe, a);
400
- const Oe = W(
411
+ _e(v, () => fe, [fe]), He(Ye, fe, n);
412
+ const Ae = W(
401
413
  (e) => {
402
414
  if (!s) return;
403
- const n = e.metaKey || e.ctrlKey;
415
+ const a = e.metaKey || e.ctrlKey;
404
416
  if (e.key === "PageDown") {
405
417
  e.preventDefault(), F(l + 1);
406
418
  return;
@@ -417,27 +429,27 @@ const st = Ze(
417
429
  e.preventDefault(), F(s.numPages);
418
430
  return;
419
431
  }
420
- if (n && e.key.toLowerCase() === "f") {
432
+ if (a && e.key.toLowerCase() === "f") {
421
433
  e.preventDefault(), r(!0);
422
434
  return;
423
435
  }
424
- if (n && (e.key === "+" || e.key === "=")) {
425
- e.preventDefault(), T((c) => te(c) ? Math.min(c * 1.25, 4) : 1.25);
436
+ if (a && (e.key === "+" || e.key === "=")) {
437
+ e.preventDefault(), N((c) => te(c) ? Math.min(c * 1.25, 4) : 1.25);
426
438
  return;
427
439
  }
428
- if (n && e.key === "-") {
429
- e.preventDefault(), T(
440
+ if (a && e.key === "-") {
441
+ e.preventDefault(), N(
430
442
  (c) => te(c) ? Math.max(c / 1.25, 0.25) : 0.75
431
443
  );
432
444
  return;
433
445
  }
434
- if (n && e.key === "0") {
435
- e.preventDefault(), T("fit-width");
446
+ if (a && e.key === "0") {
447
+ e.preventDefault(), N("fit-width");
436
448
  return;
437
449
  }
438
- n && e.key.toLowerCase() === "p" && (e.preventDefault(), ne());
450
+ a && e.key.toLowerCase() === "p" && (e.preventDefault(), ae());
439
451
  },
440
- [l, F, ne, s]
452
+ [l, F, ae, s]
441
453
  ), ge = V(l);
442
454
  R(() => {
443
455
  ge.current = l;
@@ -445,20 +457,20 @@ const st = Ze(
445
457
  if (!s) return;
446
458
  const e = de.current;
447
459
  if (!e) return;
448
- const n = /* @__PURE__ */ new Map(), c = new IntersectionObserver(
460
+ const a = /* @__PURE__ */ new Map(), c = new IntersectionObserver(
449
461
  (d) => {
450
462
  for (const E of d) {
451
463
  const ee = E.target.dataset.pageNumber;
452
464
  if (!ee) continue;
453
- const Ke = Number(ee);
454
- n.set(Ke, E.intersectionRatio);
465
+ const Ee = Number(ee);
466
+ a.set(Ee, E.intersectionRatio);
455
467
  }
456
- let O = ge.current, H = 0, J = 1 / 0, X = -1 / 0;
457
- for (const [E, ee] of n.entries())
458
- ee > H && (O = E, H = ee), ee > 0 && (J = Math.min(J, E), X = Math.max(X, E));
459
- H > 0 && O !== ge.current && D(O), J !== 1 / 0 && q({
460
- start: Math.max(1, J - 1),
461
- end: Math.min(s.numPages, X + 1)
468
+ let O = ge.current, H = 0, X = 1 / 0, $ = -1 / 0;
469
+ for (const [E, ee] of a.entries())
470
+ ee > H && (O = E, H = ee), ee > 0 && (X = Math.min(X, E), $ = Math.max($, E));
471
+ H > 0 && O !== ge.current && D(O), X !== 1 / 0 && q({
472
+ start: Math.max(1, X - 1),
473
+ end: Math.min(s.numPages, $ + 1)
462
474
  });
463
475
  },
464
476
  { root: e, threshold: [0, 0.25, 0.5, 0.75, 1] }
@@ -467,37 +479,37 @@ const st = Ze(
467
479
  d && c.observe(d);
468
480
  }), () => c.disconnect();
469
481
  }, [s]);
470
- const [Ve, je] = b(0);
482
+ const [Oe, Ve] = b(0);
471
483
  R(() => {
472
484
  const e = de.current;
473
485
  if (!e || typeof ResizeObserver > "u") return;
474
- const n = new ResizeObserver(() => {
475
- (k === "fit-width" || k === "fit-page") && je((c) => c + 1);
486
+ const a = new ResizeObserver(() => {
487
+ (C === "fit-width" || C === "fit-page") && Ve((c) => c + 1);
476
488
  });
477
- return n.observe(e), () => n.disconnect();
478
- }, [k]);
479
- const we = V([]), [ce, xe] = b(0), Fe = W(
480
- (e) => (n) => {
481
- we.current[e] = n;
489
+ return a.observe(e), () => a.disconnect();
490
+ }, [C]);
491
+ const ye = V([]), [ce, xe] = b(0), je = W(
492
+ (e) => (a) => {
493
+ ye.current[e] = a;
482
494
  },
483
495
  []
484
- ), ze = W((e) => {
485
- const n = we.current[e];
486
- n && n.focus();
487
- }, []), le = Z === "minimal" ? 2 : 8, Ee = W(
496
+ ), Pe = W((e) => {
497
+ const a = ye.current[e];
498
+ a && a.focus();
499
+ }, []), le = Z === "minimal" ? 2 : 8, Fe = W(
488
500
  (e) => {
489
- const n = A ? "ArrowLeft" : "ArrowRight", c = A ? "ArrowRight" : "ArrowLeft";
501
+ const a = A ? "ArrowLeft" : "ArrowRight", c = A ? "ArrowRight" : "ArrowLeft";
490
502
  let d = null;
491
- e.key === n ? d = (ce + 1) % le : e.key === c ? d = (ce - 1 + le) % le : e.key === "Home" ? d = 0 : e.key === "End" && (d = le - 1), d !== null && (e.preventDefault(), xe(d), ze(d));
503
+ e.key === a ? d = (ce + 1) % le : e.key === c ? d = (ce - 1 + le) % le : e.key === "Home" ? d = 0 : e.key === "End" && (d = le - 1), d !== null && (e.preventDefault(), xe(d), Pe(d));
492
504
  },
493
- [ze, A, ce]
505
+ [Pe, A, ce]
494
506
  );
495
507
  return i ? /* @__PURE__ */ o(
496
508
  "div",
497
509
  {
498
- className: [Se(), S].filter(Boolean).join(" "),
499
- "aria-label": C ?? u("pdf.error"),
500
- children: /* @__PURE__ */ o("div", { className: "ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ o(Ce, { variant: "error", live: "polite", children: /* @__PURE__ */ K(Ce.Description, { children: [
510
+ className: [ze(), z].filter(Boolean).join(" "),
511
+ "aria-label": S ?? u("pdf.error"),
512
+ children: /* @__PURE__ */ o("div", { className: "ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ o(Se, { variant: "error", live: "polite", children: /* @__PURE__ */ K(Se.Description, { children: [
501
513
  u("pdf.error"),
502
514
  ": ",
503
515
  i.message
@@ -510,38 +522,38 @@ const st = Ze(
510
522
  {
511
523
  id: M,
512
524
  role: "region",
513
- "aria-label": C ?? u("pdf.toolbarLabel"),
514
- className: [Se(), S].filter(Boolean).join(" "),
525
+ "aria-label": S ?? u("pdf.toolbarLabel"),
526
+ className: [ze(), z].filter(Boolean).join(" "),
515
527
  dir: A ? "rtl" : void 0,
516
- onKeyDown: Oe,
528
+ onKeyDown: Ae,
517
529
  tabIndex: -1,
518
530
  "data-component": "pdf-viewer",
519
- "data-component-id": a,
520
- "data-pdfjs-worker-src": De,
531
+ "data-component-id": n,
532
+ "data-pdfjs-worker-src": Re,
521
533
  children: [
522
- z ? /* @__PURE__ */ o(
523
- it,
534
+ P ? /* @__PURE__ */ o(
535
+ dt,
524
536
  {
525
537
  variant: Z,
526
538
  currentPage: l,
527
539
  numPages: (s == null ? void 0 : s.numPages) ?? 0,
528
- zoom: k,
540
+ zoom: C,
529
541
  onPrev: () => F(l - 1),
530
542
  onNext: () => F(l + 1),
531
543
  onJump: (e) => F(e),
532
544
  onZoomIn: () => {
533
- T(
545
+ N(
534
546
  (e) => te(e) ? Math.min(e * 1.25, 4) : 1.25
535
547
  );
536
548
  },
537
549
  onZoomOut: () => {
538
- T(
550
+ N(
539
551
  (e) => te(e) ? Math.max(e / 1.25, 0.25) : 0.75
540
552
  );
541
553
  },
542
- onZoomPreset: (e) => T(e),
554
+ onZoomPreset: (e) => N(e),
543
555
  onOpenSearch: () => r(!0),
544
- onPrint: ne,
556
+ onPrint: ae,
545
557
  searchOpen: I,
546
558
  onSearchOpenChange: r,
547
559
  searchQuery: j,
@@ -549,10 +561,10 @@ const st = Ze(
549
561
  re(e);
550
562
  },
551
563
  searchMatches: ve,
552
- register: Fe,
564
+ register: je,
553
565
  focusIndex: ce,
554
566
  setFocusIndex: xe,
555
- onToolbarKeyDown: Ee,
567
+ onToolbarKeyDown: Fe,
556
568
  isRtl: A
557
569
  }
558
570
  ) : null,
@@ -565,34 +577,34 @@ const st = Ze(
565
577
  "data-testid": "pdf-pages-container",
566
578
  tabIndex: 0,
567
579
  "aria-label": u("pdf.pagesRegionLabel"),
568
- children: s ? Array.from({ length: s.numPages }, (e, n) => n + 1).map(
580
+ children: s ? Array.from({ length: s.numPages }, (e, a) => a + 1).map(
569
581
  (e) => /* @__PURE__ */ o(
570
- dt,
582
+ ct,
571
583
  {
572
584
  pageNumber: e,
573
585
  totalPages: s.numPages,
574
586
  doc: s.doc,
575
- zoom: k,
587
+ zoom: C,
576
588
  pageRotation: g,
577
589
  renderPageOverlay: h,
578
590
  container: de.current,
579
- resizeTick: Ve,
591
+ resizeTick: Oe,
580
592
  shouldRender: e >= _.start && e <= _.end,
581
- registerRef: (n) => {
582
- pe.current[e - 1] = n;
593
+ registerRef: (a) => {
594
+ pe.current[e - 1] = a;
583
595
  },
584
596
  searchQuery: j,
585
- onMatchCount: (n) => {
586
- Ae((c) => n === 0 && c.total === 0 ? c : {
587
- current: Math.min(c.current || 1, n || 1),
588
- total: Math.max(c.total, n)
597
+ onMatchCount: (a) => {
598
+ De((c) => a === 0 && c.total === 0 ? c : {
599
+ current: Math.min(c.current || 1, a || 1),
600
+ total: Math.max(c.total, a)
589
601
  });
590
602
  }
591
603
  },
592
604
  e
593
605
  )
594
606
  ) : /* @__PURE__ */ K("div", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:text-[var(--muted-foreground)] ds:p-[var(--spacing-lg)]", children: [
595
- /* @__PURE__ */ o(He, { variant: "pulse", size: "sm", label: u("pdf.loading") }),
607
+ /* @__PURE__ */ o(Be, { variant: "pulse", size: "sm", label: u("pdf.loading") }),
596
608
  /* @__PURE__ */ o("span", { children: u("pdf.loading") })
597
609
  ] })
598
610
  }
@@ -603,41 +615,41 @@ const st = Ze(
603
615
  );
604
616
  }
605
617
  );
606
- st.displayName = "PDFViewer";
607
- function it(a) {
618
+ it.displayName = "PDFViewer";
619
+ function dt(n) {
608
620
  const { t } = me("ui"), {
609
621
  variant: m,
610
622
  currentPage: f,
611
623
  numPages: g,
612
624
  zoom: h,
613
- onPrev: y,
614
- onNext: w,
625
+ onPrev: w,
626
+ onNext: y,
615
627
  onJump: x,
616
- onZoomIn: z,
628
+ onZoomIn: P,
617
629
  onZoomOut: Z,
618
- onZoomPreset: C,
619
- onOpenSearch: S,
630
+ onZoomPreset: S,
631
+ onOpenSearch: z,
620
632
  onPrint: v,
621
633
  searchOpen: u,
622
- onSearchOpenChange: P,
634
+ onSearchOpenChange: k,
623
635
  searchQuery: M,
624
636
  onSearchQueryChange: A,
625
637
  searchMatches: p,
626
638
  register: L,
627
- focusIndex: Q,
639
+ focusIndex: U,
628
640
  setFocusIndex: s,
629
- onToolbarKeyDown: U
630
- } = a, i = m === "minimal", N = i ? 0 : 3, l = i ? 1 : 4, D = 5, [k, T] = b(String(f));
641
+ onToolbarKeyDown: J
642
+ } = n, i = m === "minimal", T = i ? 0 : 3, l = i ? 1 : 4, D = 5, [C, N] = b(String(f));
631
643
  R(() => {
632
- T(String(f));
644
+ N(String(f));
633
645
  }, [f]);
634
- const _ = qe(!0, {
635
- getAnchor: Be,
636
- onReturnToTrigger: () => P(!1)
646
+ const _ = Le(!0, {
647
+ getAnchor: qe,
648
+ onReturnToTrigger: () => k(!1)
637
649
  }), q = f <= 1, G = f >= g;
638
650
  function B() {
639
- const r = Number(k);
640
- Number.isFinite(r) && r >= 1 ? x(Math.min(r, g)) : T(String(f));
651
+ const r = Number(C);
652
+ Number.isFinite(r) && r >= 1 ? x(Math.min(r, g)) : N(String(f));
641
653
  }
642
654
  function I(r) {
643
655
  return /* @__PURE__ */ o(
@@ -645,9 +657,9 @@ function it(a) {
645
657
  {
646
658
  type: "button",
647
659
  ref: L(r.index),
648
- tabIndex: r.index === Q ? 0 : -1,
660
+ tabIndex: r.index === U ? 0 : -1,
649
661
  onFocus: () => s(r.index),
650
- onKeyDown: U,
662
+ onKeyDown: J,
651
663
  "aria-label": r.label,
652
664
  "aria-disabled": r.disabled || void 0,
653
665
  title: r.label,
@@ -668,19 +680,19 @@ function it(a) {
668
680
  {
669
681
  role: "toolbar",
670
682
  "aria-label": t("pdf.toolbarLabel"),
671
- className: tt(),
683
+ className: et(),
672
684
  children: [
673
- !i && /* @__PURE__ */ K(ke, { children: [
685
+ !i && /* @__PURE__ */ K(Ce, { children: [
674
686
  I({
675
687
  index: 0,
676
688
  label: t("pdf.previousPage"),
677
689
  disabled: q,
678
- onActivate: y,
690
+ onActivate: w,
679
691
  icon: /* @__PURE__ */ o(
680
- Ue,
692
+ Qe,
681
693
  {
682
694
  "aria-hidden": "true",
683
- className: "ds:block-size-4 ds:inline-size-4 ds:rtl:rotate-180"
695
+ className: "ds:h-4 ds:w-4 ds:rtl:rotate-180"
684
696
  }
685
697
  )
686
698
  }),
@@ -688,12 +700,12 @@ function it(a) {
688
700
  index: 1,
689
701
  label: t("pdf.nextPage"),
690
702
  disabled: G,
691
- onActivate: w,
703
+ onActivate: y,
692
704
  icon: /* @__PURE__ */ o(
693
- Je,
705
+ Ue,
694
706
  {
695
707
  "aria-hidden": "true",
696
- className: "ds:block-size-4 ds:inline-size-4 ds:rtl:rotate-180"
708
+ className: "ds:h-4 ds:w-4 ds:rtl:rotate-180"
697
709
  }
698
710
  )
699
711
  }),
@@ -703,17 +715,17 @@ function it(a) {
703
715
  type: "number",
704
716
  min: 1,
705
717
  max: Math.max(g, 1),
706
- value: k,
707
- onChange: (r) => T(r.target.value),
718
+ value: C,
719
+ onChange: (r) => N(r.target.value),
708
720
  onKeyDown: (r) => {
709
721
  r.key === "Enter" && (r.preventDefault(), B());
710
722
  },
711
723
  onBlur: B,
712
724
  onFocus: () => s(2),
713
725
  ref: L(2),
714
- tabIndex: Q === 2 ? 0 : -1,
726
+ tabIndex: U === 2 ? 0 : -1,
715
727
  "aria-label": t("pdf.currentPageInput"),
716
- className: Ne()
728
+ className: tt()
717
729
  }
718
730
  ),
719
731
  /* @__PURE__ */ o(
@@ -728,33 +740,21 @@ function it(a) {
728
740
  "span",
729
741
  {
730
742
  "aria-hidden": "true",
731
- className: "ds:inline-block ds:block-size-6 ds:inline-size-px ds:bg-[var(--border)] ds:ms-[var(--spacing-xs)] ds:me-[var(--spacing-xs)]"
743
+ className: "ds:inline-block ds:h-6 ds:w-px ds:bg-[var(--border)] ds:ms-[var(--spacing-xs)] ds:me-[var(--spacing-xs)]"
732
744
  }
733
745
  )
734
746
  ] }),
735
747
  I({
736
- index: N,
748
+ index: T,
737
749
  label: t("pdf.zoom.out"),
738
750
  onActivate: Z,
739
- icon: /* @__PURE__ */ o(
740
- Xe,
741
- {
742
- "aria-hidden": "true",
743
- className: "ds:block-size-4 ds:inline-size-4"
744
- }
745
- )
751
+ icon: /* @__PURE__ */ o(Je, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
746
752
  }),
747
753
  I({
748
754
  index: l,
749
755
  label: t("pdf.zoom.in"),
750
- onActivate: z,
751
- icon: /* @__PURE__ */ o(
752
- $e,
753
- {
754
- "aria-hidden": "true",
755
- className: "ds:block-size-4 ds:inline-size-4"
756
- }
757
- )
756
+ onActivate: P,
757
+ icon: /* @__PURE__ */ o(Xe, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
758
758
  }),
759
759
  !i && /* @__PURE__ */ K(
760
760
  "select",
@@ -764,51 +764,46 @@ function it(a) {
764
764
  onChange: (r) => {
765
765
  const j = r.target.value;
766
766
  if (j === "fit-width" || j === "fit-page" || j === "actual-size")
767
- C(j);
767
+ S(j);
768
768
  else {
769
769
  const re = Number(j);
770
- Number.isFinite(re) && C(re);
770
+ Number.isFinite(re) && S(re);
771
771
  }
772
772
  },
773
773
  ref: L(D),
774
- tabIndex: Q === D ? 0 : -1,
774
+ tabIndex: U === D ? 0 : -1,
775
775
  onFocus: () => s(D),
776
- onKeyDown: U,
777
- className: rt(),
776
+ onKeyDown: J,
777
+ className: at(),
778
778
  children: [
779
779
  /* @__PURE__ */ o("option", { value: "fit-width", children: t("pdf.zoom.fitWidth") }),
780
780
  /* @__PURE__ */ o("option", { value: "fit-page", children: t("pdf.zoom.fitPage") }),
781
781
  /* @__PURE__ */ o("option", { value: "actual-size", children: t("pdf.zoom.actualSize") }),
782
- ot.filter(te).map((r) => /* @__PURE__ */ o("option", { value: String(r), children: `${Math.round(r * 100)}%` }, r))
782
+ st.filter(te).map((r) => /* @__PURE__ */ o("option", { value: String(r), children: `${Math.round(r * 100)}%` }, r))
783
783
  ]
784
784
  }
785
785
  ),
786
- !i && /* @__PURE__ */ K(ke, { children: [
786
+ !i && /* @__PURE__ */ K(Ce, { children: [
787
787
  /* @__PURE__ */ K(
788
- ae.Root,
788
+ ne.Root,
789
789
  {
790
790
  open: u,
791
- onOpenChange: P,
791
+ onOpenChange: k,
792
792
  children: [
793
- /* @__PURE__ */ o(ae.Trigger, { asChild: !0, children: I({
793
+ /* @__PURE__ */ o(ne.Trigger, { asChild: !0, children: I({
794
794
  index: 6,
795
795
  label: t("pdf.search.open"),
796
- onActivate: S,
797
- icon: /* @__PURE__ */ o(
798
- Ge,
799
- {
800
- "aria-hidden": "true",
801
- className: "ds:block-size-4 ds:inline-size-4"
802
- }
803
- )
796
+ onActivate: z,
797
+ icon: /* @__PURE__ */ o($e, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
804
798
  }) }),
805
- /* @__PURE__ */ o(ae.Portal, { children: /* @__PURE__ */ K(
806
- ae.Content,
799
+ /* @__PURE__ */ o(ne.Portal, { children: /* @__PURE__ */ K(
800
+ ne.Content,
807
801
  {
808
802
  sideOffset: 8,
809
803
  onKeyDown: _,
810
804
  className: [
811
805
  "ds:z-[var(--z-popover)]",
806
+ "ds:max-w-[var(--radix-popover-content-available-width)]",
812
807
  "ds:bg-[var(--popover)] ds:text-[var(--popover-foreground)]",
813
808
  "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
814
809
  "ds:shadow-[var(--shadow-lg)]",
@@ -825,9 +820,7 @@ function it(a) {
825
820
  onChange: (r) => A(r.target.value),
826
821
  placeholder: t("pdf.search.placeholder"),
827
822
  "aria-label": t("pdf.search.placeholder"),
828
- className: Ne({
829
- className: "ds:inline-size-[16rem] ds:text-start"
830
- })
823
+ className: rt()
831
824
  }
832
825
  ),
833
826
  /* @__PURE__ */ o(
@@ -841,19 +834,13 @@ function it(a) {
841
834
  }) : M ? t("pdf.search.noResults") : ""
842
835
  }
843
836
  ),
844
- /* @__PURE__ */ o(ae.Close, { asChild: !0, children: /* @__PURE__ */ o(
837
+ /* @__PURE__ */ o(ne.Close, { asChild: !0, children: /* @__PURE__ */ o(
845
838
  "button",
846
839
  {
847
840
  type: "button",
848
841
  "aria-label": t("pdf.search.close"),
849
842
  className: Me(),
850
- children: /* @__PURE__ */ o(
851
- Qe,
852
- {
853
- "aria-hidden": "true",
854
- className: "ds:block-size-4 ds:inline-size-4"
855
- }
856
- )
843
+ children: /* @__PURE__ */ o(We, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
857
844
  }
858
845
  ) })
859
846
  ]
@@ -866,64 +853,58 @@ function it(a) {
866
853
  index: 7,
867
854
  label: t("pdf.print"),
868
855
  onActivate: v,
869
- icon: /* @__PURE__ */ o(
870
- Ye,
871
- {
872
- "aria-hidden": "true",
873
- className: "ds:block-size-4 ds:inline-size-4"
874
- }
875
- )
856
+ icon: /* @__PURE__ */ o(Ge, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
876
857
  })
877
858
  ] })
878
859
  ]
879
860
  }
880
861
  );
881
862
  }
882
- function dt(a) {
863
+ function ct(n) {
883
864
  const {
884
865
  pageNumber: t,
885
866
  totalPages: m,
886
867
  doc: f,
887
868
  zoom: g,
888
869
  pageRotation: h,
889
- renderPageOverlay: y,
890
- container: w,
870
+ renderPageOverlay: w,
871
+ container: y,
891
872
  resizeTick: x,
892
- shouldRender: z,
873
+ shouldRender: P,
893
874
  registerRef: Z,
894
- searchQuery: C,
895
- onMatchCount: S
896
- } = a, { t: v } = me("ui"), u = V(null), P = V(null), [M, A] = b({
875
+ searchQuery: S,
876
+ onMatchCount: z
877
+ } = n, { t: v } = me("ui"), u = V(null), k = V(null), [M, A] = b({
897
878
  width: 612,
898
879
  height: 792
899
880
  }), [p, L] = b(null);
900
881
  R(() => {
901
882
  let i = !1;
902
- return f.getPage(t).then((N) => {
903
- i || L(N);
883
+ return f.getPage(t).then((T) => {
884
+ i || L(T);
904
885
  }), () => {
905
886
  i = !0;
906
887
  };
907
888
  }, [f, t]), R(() => {
908
889
  if (!p) return;
909
- const i = (k) => h === void 0 ? { scale: k } : { scale: k, rotation: h }, N = p.getViewport(i(1)), l = Te(g, N, w), D = p.getViewport(i(l));
890
+ const i = (C) => h === void 0 ? { scale: C } : { scale: C, rotation: h }, T = p.getViewport(i(1)), l = Te(g, T, y), D = p.getViewport(i(l));
910
891
  A({
911
892
  width: Math.floor(D.width),
912
893
  height: Math.floor(D.height)
913
894
  });
914
- }, [p, g, w, x, h]);
915
- const Q = h ?? (p == null ? void 0 : p.rotate) ?? 0;
895
+ }, [p, g, y, x, h]);
896
+ const U = h ?? (p == null ? void 0 : p.rotate) ?? 0;
916
897
  R(() => {
917
- if (!p || !z) {
898
+ if (!p || !P) {
918
899
  const r = u.current;
919
- r && !z && (r.width = 0);
900
+ r && !P && (r.width = 0);
920
901
  return;
921
902
  }
922
- const i = u.current, N = P.current;
903
+ const i = u.current, T = k.current;
923
904
  if (!i) return;
924
905
  const l = i.getContext("2d");
925
906
  if (!l) return;
926
- const D = (r) => h === void 0 ? { scale: r } : { scale: r, rotation: h }, k = p.getViewport(D(1)), T = Te(g, k, w), _ = p.getViewport(D(T)), q = Math.max(1, window.devicePixelRatio || 1);
907
+ const D = (r) => h === void 0 ? { scale: r } : { scale: r, rotation: h }, C = p.getViewport(D(1)), N = Te(g, C, y), _ = p.getViewport(D(N)), q = Math.max(1, window.devicePixelRatio || 1);
927
908
  i.width = Math.floor(_.width * q), i.height = Math.floor(_.height * q), l.setTransform(q, 0, 0, q, 0, 0);
928
909
  const G = p.render({
929
910
  canvas: i,
@@ -932,14 +913,14 @@ function dt(a) {
932
913
  });
933
914
  let B = !1, I = null;
934
915
  return G.promise.then(async () => {
935
- if (B || !N) return;
936
- N.textContent = "";
916
+ if (B || !T) return;
917
+ T.textContent = "";
937
918
  const r = await p.getTextContent();
938
919
  B || (I = new he.TextLayer({
939
920
  textContentSource: r,
940
- container: N,
921
+ container: T,
941
922
  viewport: _
942
- }), await I.render(), Re(N, C, S));
923
+ }), await I.render(), Ie(T, S, z));
943
924
  }).catch(() => {
944
925
  }), () => {
945
926
  B = !0;
@@ -955,22 +936,22 @@ function dt(a) {
955
936
  };
956
937
  }, [
957
938
  p,
958
- z,
939
+ P,
959
940
  g,
960
- w,
941
+ y,
961
942
  x,
962
- C,
963
943
  S,
944
+ z,
964
945
  h
965
946
  ]), R(() => {
966
- if (!z) return;
967
- const i = P.current;
968
- i && Re(i, C, S);
969
- }, [C, z, S]);
947
+ if (!P) return;
948
+ const i = k.current;
949
+ i && Ie(i, S, z);
950
+ }, [S, P, z]);
970
951
  const s = {
971
952
  width: M.width,
972
953
  height: M.height
973
- }, U = {
954
+ }, J = {
974
955
  width: M.width,
975
956
  height: M.height
976
957
  };
@@ -982,14 +963,14 @@ function dt(a) {
982
963
  },
983
964
  "data-page-number": t,
984
965
  "aria-label": v("pdf.pageOf", { current: t, total: m }),
985
- className: at(),
986
- style: U,
966
+ className: ot(),
967
+ style: J,
987
968
  children: [
988
969
  /* @__PURE__ */ o("canvas", { ref: u, style: s }),
989
970
  /* @__PURE__ */ o(
990
971
  "div",
991
972
  {
992
- ref: P,
973
+ ref: k,
993
974
  "aria-hidden": "false",
994
975
  className: [
995
976
  "ds:absolute ds:inset-0",
@@ -1003,7 +984,7 @@ function dt(a) {
1003
984
  ].join(" ")
1004
985
  }
1005
986
  ),
1006
- z && y ? /* @__PURE__ */ o(
987
+ P && w ? /* @__PURE__ */ o(
1007
988
  "div",
1008
989
  {
1009
990
  role: "group",
@@ -1011,11 +992,11 @@ function dt(a) {
1011
992
  className: "ds:absolute ds:inset-0 ds:pointer-events-auto",
1012
993
  "data-pdf-page-overlay": "",
1013
994
  "data-page-number": t,
1014
- children: y({
995
+ children: w({
1015
996
  pageNumber: t,
1016
997
  pageWidthCss: M.width,
1017
998
  pageHeightCss: M.height,
1018
- rotation: Q
999
+ rotation: U
1019
1000
  })
1020
1001
  }
1021
1002
  ) : null
@@ -1023,48 +1004,48 @@ function dt(a) {
1023
1004
  }
1024
1005
  );
1025
1006
  }
1026
- function Ie(a) {
1027
- return a.normalize("NFKD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
1007
+ function Ne(n) {
1008
+ return n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
1028
1009
  }
1029
- function Re(a, t, m) {
1030
- if (a.querySelectorAll("[data-match]").forEach((v) => {
1010
+ function Ie(n, t, m) {
1011
+ if (n.querySelectorAll("[data-match]").forEach((v) => {
1031
1012
  v.removeAttribute("data-match");
1032
1013
  }), !t) {
1033
1014
  m(0);
1034
1015
  return;
1035
1016
  }
1036
- const g = Ie(t);
1017
+ const g = Ne(t);
1037
1018
  if (!g) {
1038
1019
  m(0);
1039
1020
  return;
1040
1021
  }
1041
- const h = Array.from(a.querySelectorAll("span")), y = [], w = [];
1022
+ const h = Array.from(n.querySelectorAll("span")), w = [], y = [];
1042
1023
  let x = 0;
1043
1024
  for (const v of h) {
1044
- const u = Ie(v.textContent ?? "");
1045
- y.push({ start: x, end: x + u.length }), w.push(u), x += u.length;
1025
+ const u = Ne(v.textContent ?? "");
1026
+ w.push({ start: x, end: x + u.length }), y.push(u), x += u.length;
1046
1027
  }
1047
- const z = w.join("");
1028
+ const P = y.join("");
1048
1029
  let Z = 0;
1049
- const C = /* @__PURE__ */ new Set();
1050
- let S = 0;
1051
- for (; S <= z.length - g.length; ) {
1052
- const v = z.indexOf(g, S);
1030
+ const S = /* @__PURE__ */ new Set();
1031
+ let z = 0;
1032
+ for (; z <= P.length - g.length; ) {
1033
+ const v = P.indexOf(g, z);
1053
1034
  if (v === -1) break;
1054
1035
  Z += 1;
1055
1036
  const u = v + g.length;
1056
- for (let P = 0; P < y.length; P++) {
1057
- const { start: M, end: A } = y[P];
1058
- M < u && A > v && C.add(P);
1037
+ for (let k = 0; k < w.length; k++) {
1038
+ const { start: M, end: A } = w[k];
1039
+ M < u && A > v && S.add(k);
1059
1040
  }
1060
- S = u;
1041
+ z = u;
1061
1042
  }
1062
- C.forEach((v) => {
1043
+ S.forEach((v) => {
1063
1044
  h[v].setAttribute("data-match", "true");
1064
1045
  }), m(Z);
1065
1046
  }
1066
1047
  export {
1067
- st as P,
1068
- et as p
1048
+ it as P,
1049
+ Ye as p
1069
1050
  };
1070
- //# sourceMappingURL=pdf-viewer-gAsNUsA8.js.map
1051
+ //# sourceMappingURL=pdf-viewer-DlceXkfW.js.map