@alfadocs/ui-kit-debug 0.67.1 → 0.69.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 (745) hide show
  1. package/dist/_chunks/{accordion-9lJSMMsZ.js → accordion-DnIa7OHX.js} +69 -47
  2. package/dist/_chunks/accordion-DnIa7OHX.js.map +1 -0
  3. package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js +2061 -0
  4. package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js.map +1 -0
  5. package/dist/_chunks/address-autocomplete-BEX9PXty.js +496 -0
  6. package/dist/_chunks/address-autocomplete-BEX9PXty.js.map +1 -0
  7. package/dist/_chunks/{agenda-card.agent-B_R47-c9.js → agenda-card.agent-mTCrkKSZ.js} +6 -1
  8. package/dist/_chunks/{agenda-card.agent-B_R47-c9.js.map → agenda-card.agent-mTCrkKSZ.js.map} +1 -1
  9. package/dist/_chunks/{agenda-tray-T-BumlGZ.js → agenda-tray-g0kg7HwB.js} +36 -24
  10. package/dist/_chunks/agenda-tray-g0kg7HwB.js.map +1 -0
  11. package/dist/_chunks/{ai-consent-banner-Dxtx_WAh.js → ai-consent-banner-CXlsNX1c.js} +3 -3
  12. package/dist/_chunks/{ai-consent-banner-Dxtx_WAh.js.map → ai-consent-banner-CXlsNX1c.js.map} +1 -1
  13. package/dist/_chunks/{ai-prompt-input-BwEACCPm.js → ai-prompt-input-CuhTo9mh.js} +80 -61
  14. package/dist/_chunks/ai-prompt-input-CuhTo9mh.js.map +1 -0
  15. package/dist/_chunks/{ai-tools-rail-CInA_1-E.js → ai-tools-rail-BA_sqy1A.js} +87 -70
  16. package/dist/_chunks/ai-tools-rail-BA_sqy1A.js.map +1 -0
  17. package/dist/_chunks/{alia-sidebar-Ckv0yCKi.js → alia-sidebar-B47qRQb5.js} +5 -5
  18. package/dist/_chunks/{alia-sidebar-Ckv0yCKi.js.map → alia-sidebar-B47qRQb5.js.map} +1 -1
  19. package/dist/_chunks/{anamnesis-card-N8pIKWuS.js → anamnesis-card-DRmE24OQ.js} +2 -2
  20. package/dist/_chunks/{anamnesis-card-N8pIKWuS.js.map → anamnesis-card-DRmE24OQ.js.map} +1 -1
  21. package/dist/_chunks/{appointment-tray-BMl89NPW.js → appointment-tray-CZtvtaH-.js} +32 -20
  22. package/dist/_chunks/appointment-tray-CZtvtaH-.js.map +1 -0
  23. package/dist/_chunks/{audio-recorder-DjXLP4aF.js → audio-recorder-DYXXnGug.js} +59 -56
  24. package/dist/_chunks/audio-recorder-DYXXnGug.js.map +1 -0
  25. package/dist/_chunks/{autocomplete-CcCFlVf-.js → autocomplete-DOeGouCL.js} +157 -132
  26. package/dist/_chunks/autocomplete-DOeGouCL.js.map +1 -0
  27. package/dist/_chunks/bishop-score-PJI3AXzA.js +304 -0
  28. package/dist/_chunks/bishop-score-PJI3AXzA.js.map +1 -0
  29. package/dist/_chunks/bmi-calculator-BZtIJ53x.js +434 -0
  30. package/dist/_chunks/bmi-calculator-BZtIJ53x.js.map +1 -0
  31. package/dist/_chunks/{booking-L8-YP8BJ.js → booking-C3VqFReX.js} +420 -397
  32. package/dist/_chunks/booking-C3VqFReX.js.map +1 -0
  33. package/dist/_chunks/{breadcrumb-OTbaY70e.js → breadcrumb-CchdeG7d.js} +42 -28
  34. package/dist/_chunks/breadcrumb-CchdeG7d.js.map +1 -0
  35. package/dist/_chunks/{calculator-dialog-CFk4I91b.js → calculator-dialog-BR5iU0kf.js} +2 -2
  36. package/dist/_chunks/{calculator-dialog-CFk4I91b.js.map → calculator-dialog-BR5iU0kf.js.map} +1 -1
  37. package/dist/_chunks/{calendar-oYWOCrnf.js → calendar-CZUjL8SZ.js} +258 -201
  38. package/dist/_chunks/calendar-CZUjL8SZ.js.map +1 -0
  39. package/dist/_chunks/{care-plan-card-BwVUyUBb.js → care-plan-card-CvFGXa2z.js} +10 -6
  40. package/dist/_chunks/care-plan-card-CvFGXa2z.js.map +1 -0
  41. package/dist/_chunks/{care-plan-entry-card-VzdQHcOL.js → care-plan-entry-card-C3E_gClk.js} +17 -13
  42. package/dist/_chunks/care-plan-entry-card-C3E_gClk.js.map +1 -0
  43. package/dist/_chunks/{carousel.agent-vt21A_el.js → carousel.agent-4v8Emr9E.js} +219 -198
  44. package/dist/_chunks/{carousel.agent-vt21A_el.js.map → carousel.agent-4v8Emr9E.js.map} +1 -1
  45. package/dist/_chunks/{chart-Cg3e9EH9.js → chart-CMr3eW62.js} +150 -109
  46. package/dist/_chunks/chart-CMr3eW62.js.map +1 -0
  47. package/dist/_chunks/{chat-container-ogB4OskO.js → chat-container-DWho5hPR.js} +47 -34
  48. package/dist/_chunks/chat-container-DWho5hPR.js.map +1 -0
  49. package/dist/_chunks/{chat-input-B5zjNEUN.js → chat-input-BcXTetgM.js} +57 -41
  50. package/dist/_chunks/chat-input-BcXTetgM.js.map +1 -0
  51. package/dist/_chunks/{checkbox-DRcOdmXv.js → checkbox-BuZ1u__2.js} +41 -27
  52. package/dist/_chunks/checkbox-BuZ1u__2.js.map +1 -0
  53. package/dist/_chunks/{checkbox-group-CpUwlHug.js → checkbox-group-PqNmQ-cE.js} +3 -3
  54. package/dist/_chunks/{checkbox-group-CpUwlHug.js.map → checkbox-group-PqNmQ-cE.js.map} +1 -1
  55. package/dist/_chunks/{clinical-note-card-gtrxv6zn.js → clinical-note-card-DqQYf_D4.js} +2 -2
  56. package/dist/_chunks/{clinical-note-card-gtrxv6zn.js.map → clinical-note-card-DqQYf_D4.js.map} +1 -1
  57. package/dist/_chunks/{collapsible-X3oaLPU3.js → collapsible-BrnRiCC6.js} +26 -23
  58. package/dist/_chunks/collapsible-BrnRiCC6.js.map +1 -0
  59. package/dist/_chunks/{color-picker-FXpItIaF.js → color-picker-C_fZl6sA.js} +124 -112
  60. package/dist/_chunks/color-picker-C_fZl6sA.js.map +1 -0
  61. package/dist/_chunks/{combobox-BC-DFx8G.js → combobox-Clum7gJ1.js} +165 -128
  62. package/dist/_chunks/combobox-Clum7gJ1.js.map +1 -0
  63. package/dist/_chunks/{command-palette-BiPAAno-.js → command-palette-CJzmc5pC.js} +87 -64
  64. package/dist/_chunks/command-palette-CJzmc5pC.js.map +1 -0
  65. package/dist/_chunks/{contact-profile-card-7BMB85T6.js → contact-profile-card-Dramqa9C.js} +13 -11
  66. package/dist/_chunks/contact-profile-card-Dramqa9C.js.map +1 -0
  67. package/dist/_chunks/{copy-field-CCq7j6Zc.js → copy-field-Bjw9u2cV.js} +42 -35
  68. package/dist/_chunks/copy-field-Bjw9u2cV.js.map +1 -0
  69. package/dist/_chunks/counter-dRlTNC_y.js +55 -0
  70. package/dist/_chunks/counter-dRlTNC_y.js.map +1 -0
  71. package/dist/_chunks/{cycle-calculator-BF0ointe.js → cycle-calculator-DmRGJNaT.js} +3 -3
  72. package/dist/_chunks/{cycle-calculator-BF0ointe.js.map → cycle-calculator-DmRGJNaT.js.map} +1 -1
  73. package/dist/_chunks/{date-picker-oGg5BnXL.js → date-picker-Dl9RKxaV.js} +76 -57
  74. package/dist/_chunks/{date-picker-oGg5BnXL.js.map → date-picker-Dl9RKxaV.js.map} +1 -1
  75. package/dist/_chunks/{date-range-picker-C5BWfH_T.js → date-range-picker-CTUeR6Bj.js} +73 -46
  76. package/dist/_chunks/date-range-picker-CTUeR6Bj.js.map +1 -0
  77. package/dist/_chunks/{date-time-picker-Ze1My59T.js → date-time-picker-BhoogS5Q.js} +64 -40
  78. package/dist/_chunks/date-time-picker-BhoogS5Q.js.map +1 -0
  79. package/dist/_chunks/{dependent-selector-DpzGtr_J.js → dependent-selector-CG_FOHya.js} +44 -30
  80. package/dist/_chunks/dependent-selector-CG_FOHya.js.map +1 -0
  81. package/dist/_chunks/{dialog-DMGnSelc.js → dialog-ZNuboNmy.js} +35 -28
  82. package/dist/_chunks/dialog-ZNuboNmy.js.map +1 -0
  83. package/dist/_chunks/{document-scanner-D2qehl3-.js → document-scanner-CTubA0-N.js} +12 -4
  84. package/dist/_chunks/document-scanner-CTubA0-N.js.map +1 -0
  85. package/dist/_chunks/{dropdown-menu-DwwPovMZ.js → dropdown-menu-qrxjymfw.js} +94 -93
  86. package/dist/_chunks/dropdown-menu-qrxjymfw.js.map +1 -0
  87. package/dist/_chunks/{due-date-calculator-DU9AEWNy.js → due-date-calculator-BTmsIQqD.js} +4 -4
  88. package/dist/_chunks/{due-date-calculator-DU9AEWNy.js.map → due-date-calculator-BTmsIQqD.js.map} +1 -1
  89. package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +448 -0
  90. package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js.map +1 -0
  91. package/dist/_chunks/editor-overlay-wYm22wZK.js.map +1 -1
  92. package/dist/_chunks/{email-input-lQivsFrw.js → email-input-B_Y55f5G.js} +3 -3
  93. package/dist/_chunks/{email-input-lQivsFrw.js.map → email-input-B_Y55f5G.js.map} +1 -1
  94. package/dist/_chunks/{fetal-weight-BVSzOhuR.js → fetal-weight-CRz7KE2D.js} +2 -2
  95. package/dist/_chunks/{fetal-weight-BVSzOhuR.js.map → fetal-weight-CRz7KE2D.js.map} +1 -1
  96. package/dist/_chunks/{file-upload-BosbPDb1.js → file-upload-5ScQd4fE.js} +118 -100
  97. package/dist/_chunks/file-upload-5ScQd4fE.js.map +1 -0
  98. package/dist/_chunks/{fiscal-code-input-DPtqluVb.js → fiscal-code-input-Cf-8O4Fj.js} +76 -63
  99. package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js.map +1 -0
  100. package/dist/_chunks/{freemium-paywall-CkWjv3o6.js → freemium-paywall-DZ2mBS3w.js} +78 -71
  101. package/dist/_chunks/freemium-paywall-DZ2mBS3w.js.map +1 -0
  102. package/dist/_chunks/{gestational-age-calculator-DBlFdoiP.js → gestational-age-calculator-BleUdhbI.js} +5 -5
  103. package/dist/_chunks/{gestational-age-calculator-DBlFdoiP.js.map → gestational-age-calculator-BleUdhbI.js.map} +1 -1
  104. package/dist/_chunks/{hcg-doubling-if4Q8aSX.js → hcg-doubling-CnjDXX6U.js} +3 -3
  105. package/dist/_chunks/{hcg-doubling-if4Q8aSX.js.map → hcg-doubling-CnjDXX6U.js.map} +1 -1
  106. package/dist/_chunks/{header-settings-CNOqIhoW.js → header-settings-DJqoAl5m.js} +86 -46
  107. package/dist/_chunks/header-settings-DJqoAl5m.js.map +1 -0
  108. package/dist/_chunks/{index.modern-D2LGACWg.js → index.modern-Zta-A4Jm.js} +3 -3
  109. package/dist/_chunks/{index.modern-D2LGACWg.js.map → index.modern-Zta-A4Jm.js.map} +1 -1
  110. package/dist/_chunks/{list-BOwqwy03.js → list-DgE1xWBM.js} +99 -84
  111. package/dist/_chunks/list-DgE1xWBM.js.map +1 -0
  112. package/dist/_chunks/{locale-picker-C9JmBht3.js → locale-picker-ChYYSX2N.js} +47 -35
  113. package/dist/_chunks/locale-picker-ChYYSX2N.js.map +1 -0
  114. package/dist/_chunks/{map-view-Tb5VfK9Y.js → map-view-BkOoGoX2.js} +160 -115
  115. package/dist/_chunks/map-view-BkOoGoX2.js.map +1 -0
  116. package/dist/_chunks/{marketplace-app-shell-D4-T9Qzz.js → marketplace-app-shell-6T9W4Knl.js} +4 -4
  117. package/dist/_chunks/{marketplace-app-shell-D4-T9Qzz.js.map → marketplace-app-shell-6T9W4Knl.js.map} +1 -1
  118. package/dist/_chunks/{message-card.agent-4IeIgrnJ.js → message-card.agent-ZLhx3Bs5.js} +6 -1
  119. package/dist/_chunks/message-card.agent-ZLhx3Bs5.js.map +1 -0
  120. package/dist/_chunks/{message-tray-CVyJajVJ.js → message-tray-DwrBLJlf.js} +90 -48
  121. package/dist/_chunks/message-tray-DwrBLJlf.js.map +1 -0
  122. package/dist/_chunks/{multi-select-BcPylvHR.js → multi-select-BdHHDrRN.js} +196 -153
  123. package/dist/_chunks/multi-select-BdHHDrRN.js.map +1 -0
  124. package/dist/_chunks/{navigation-menu-C6lBYVv9.js → navigation-menu-DRUi6sSj.js} +75 -42
  125. package/dist/_chunks/navigation-menu-DRUi6sSj.js.map +1 -0
  126. package/dist/_chunks/{notification-card.agent-Rqt3ofk9.js → notification-card.agent-DxGBZb8T.js} +5 -1
  127. package/dist/_chunks/notification-card.agent-DxGBZb8T.js.map +1 -0
  128. package/dist/_chunks/{notification-tray-DlgenTEe.js → notification-tray-Btb9oQeZ.js} +112 -97
  129. package/dist/_chunks/notification-tray-Btb9oQeZ.js.map +1 -0
  130. package/dist/_chunks/{number-input-Dj5L3pXK.js → number-input-DxphVG_A.js} +36 -27
  131. package/dist/_chunks/number-input-DxphVG_A.js.map +1 -0
  132. package/dist/_chunks/{operator-hero-f_KaRhw5.js → operator-hero-CP2Nhupm.js} +12 -8
  133. package/dist/_chunks/operator-hero-CP2Nhupm.js.map +1 -0
  134. package/dist/_chunks/{otp-input-xQ4Ps5VY.js → otp-input-DzBQ-CpE.js} +52 -33
  135. package/dist/_chunks/otp-input-DzBQ-CpE.js.map +1 -0
  136. package/dist/_chunks/{pagination-DQOgnxxw.js → pagination-D58kglCr.js} +181 -162
  137. package/dist/_chunks/pagination-D58kglCr.js.map +1 -0
  138. package/dist/_chunks/{patient-search-DR9XUYRQ.js → patient-search-CBC_ySF6.js} +69 -60
  139. package/dist/_chunks/patient-search-CBC_ySF6.js.map +1 -0
  140. package/dist/_chunks/{patient-shell-BfgufL_q.js → patient-shell-DV3XEtIB.js} +3 -3
  141. package/dist/_chunks/{patient-shell-BfgufL_q.js.map → patient-shell-DV3XEtIB.js.map} +1 -1
  142. package/dist/_chunks/{patient-summary-card-hEmr4eTW.js → patient-summary-card-B836_fDB.js} +95 -103
  143. package/dist/_chunks/patient-summary-card-B836_fDB.js.map +1 -0
  144. package/dist/_chunks/patient-table-CDuosVru.js +889 -0
  145. package/dist/_chunks/patient-table-CDuosVru.js.map +1 -0
  146. package/dist/_chunks/{payment-form-nXocS_MX.js → payment-form-DvjwYVIT.js} +56 -44
  147. package/dist/_chunks/payment-form-DvjwYVIT.js.map +1 -0
  148. package/dist/_chunks/{payment-request-card-CYE5vhZ0.js → payment-request-card-DioWKBUq.js} +2 -2
  149. package/dist/_chunks/{payment-request-card-CYE5vhZ0.js.map → payment-request-card-DioWKBUq.js.map} +1 -1
  150. package/dist/_chunks/{pdf-viewer-GsfNqeeT.js → pdf-viewer-D6BPfW2D.js} +205 -157
  151. package/dist/_chunks/pdf-viewer-D6BPfW2D.js.map +1 -0
  152. package/dist/_chunks/{periodontal-chart-card-Dh3KgvYG.js → periodontal-chart-card-BuDEMbHE.js} +2 -2
  153. package/dist/_chunks/{periodontal-chart-card-Dh3KgvYG.js.map → periodontal-chart-card-BuDEMbHE.js.map} +1 -1
  154. package/dist/_chunks/{phone-input-DVXhNlIl.js → phone-input-DjU-XmO_.js} +64 -47
  155. package/dist/_chunks/phone-input-DjU-XmO_.js.map +1 -0
  156. package/dist/_chunks/{popover-DTbfAuR0.js → popover-B2qCDhJC.js} +37 -32
  157. package/dist/_chunks/popover-B2qCDhJC.js.map +1 -0
  158. package/dist/_chunks/{practice-results-DND2SAt7.js → practice-results-KrTHqZua.js} +278 -242
  159. package/dist/_chunks/practice-results-KrTHqZua.js.map +1 -0
  160. package/dist/_chunks/{pregnancy-dating-QY-sqpvj.js → pregnancy-dating-DORUAOHB.js} +6 -6
  161. package/dist/_chunks/{pregnancy-dating-QY-sqpvj.js.map → pregnancy-dating-DORUAOHB.js.map} +1 -1
  162. package/dist/_chunks/{pregnancy-weight-gain-DOJXXNYP.js → pregnancy-weight-gain-DVz4rr7-.js} +3 -3
  163. package/dist/_chunks/{pregnancy-weight-gain-DOJXXNYP.js.map → pregnancy-weight-gain-DVz4rr7-.js.map} +1 -1
  164. package/dist/_chunks/{privacy-lock-C7JyMf0y.js → privacy-lock-BzMLQu-j.js} +32 -28
  165. package/dist/_chunks/privacy-lock-BzMLQu-j.js.map +1 -0
  166. package/dist/_chunks/{product-hub-panel-CAXDFeGP.js → product-hub-panel-e6pW220e.js} +45 -27
  167. package/dist/_chunks/product-hub-panel-e6pW220e.js.map +1 -0
  168. package/dist/_chunks/{progress-kzIRcdaq.js → progress-DA413-zn.js} +2 -2
  169. package/dist/_chunks/{progress-kzIRcdaq.js.map → progress-DA413-zn.js.map} +1 -1
  170. package/dist/_chunks/{public-footer.agent-CfXuW1x6.js → public-footer.agent-D0cFbjWl.js} +151 -146
  171. package/dist/_chunks/public-footer.agent-D0cFbjWl.js.map +1 -0
  172. package/dist/_chunks/{public-header.agent-BOhJgZEU.js → public-header.agent-DqkqA-ca.js} +107 -102
  173. package/dist/_chunks/{public-header.agent-BOhJgZEU.js.map → public-header.agent-DqkqA-ca.js.map} +1 -1
  174. package/dist/_chunks/{qr-code-DNXhi6se.js → qr-code-CPkEs5mG.js} +52 -46
  175. package/dist/_chunks/qr-code-CPkEs5mG.js.map +1 -0
  176. package/dist/_chunks/{radio-group-CLjK-SlK.js → radio-group-BPt7pKZW.js} +5 -5
  177. package/dist/_chunks/{radio-group-CLjK-SlK.js.map → radio-group-BPt7pKZW.js.map} +1 -1
  178. package/dist/_chunks/{recaptcha-widget-BCNHsgqt.js → recaptcha-widget-BC-4To9b.js} +9 -2
  179. package/dist/_chunks/recaptcha-widget-BC-4To9b.js.map +1 -0
  180. package/dist/_chunks/registry-DvAUVLHh.js +51 -0
  181. package/dist/_chunks/registry-DvAUVLHh.js.map +1 -0
  182. package/dist/_chunks/{resizable-3vzqDlg6.js → resizable-DVGcfOrk.js} +193 -173
  183. package/dist/_chunks/resizable-DVGcfOrk.js.map +1 -0
  184. package/dist/_chunks/{reviews-panel-DBktKm7i.js → reviews-panel-Dq7LMDcH.js} +87 -68
  185. package/dist/_chunks/reviews-panel-Dq7LMDcH.js.map +1 -0
  186. package/dist/_chunks/rich-text-editor-BsV7zUdg.js +2142 -0
  187. package/dist/_chunks/rich-text-editor-BsV7zUdg.js.map +1 -0
  188. package/dist/_chunks/{search-bar-SY2BcV2N.js → search-bar-C_T3pBJn.js} +105 -78
  189. package/dist/_chunks/search-bar-C_T3pBJn.js.map +1 -0
  190. package/dist/_chunks/{search-input-DbxrnHkW.js → search-input-DQvGxR74.js} +2 -2
  191. package/dist/_chunks/{search-input-DbxrnHkW.js.map → search-input-DQvGxR74.js.map} +1 -1
  192. package/dist/_chunks/{search-input.agent-CfZvViOd.js → search-input.agent-DRH54coT.js} +19 -4
  193. package/dist/_chunks/search-input.agent-DRH54coT.js.map +1 -0
  194. package/dist/_chunks/{select-CEtRcon5.js → select-DMLG44F5.js} +72 -56
  195. package/dist/_chunks/select-DMLG44F5.js.map +1 -0
  196. package/dist/_chunks/{session-countdown-LPnhTHjn.js → session-countdown-X1Ki6i0M.js} +3 -3
  197. package/dist/_chunks/{session-countdown-LPnhTHjn.js.map → session-countdown-X1Ki6i0M.js.map} +1 -1
  198. package/dist/_chunks/{sheet-taJer-Ha.js → sheet-BxsE7eQm.js} +59 -45
  199. package/dist/_chunks/sheet-BxsE7eQm.js.map +1 -0
  200. package/dist/_chunks/{sidebar-DaB4ulxH.js → sidebar-DY9jGjgt.js} +254 -248
  201. package/dist/_chunks/sidebar-DY9jGjgt.js.map +1 -0
  202. package/dist/_chunks/{sign-document-CdAiHiCh.js → sign-document-B4DeRhTe.js} +75 -49
  203. package/dist/_chunks/sign-document-B4DeRhTe.js.map +1 -0
  204. package/dist/_chunks/{signature-capture-COi0Uiqu.js → signature-capture-Ct_4Md4e.js} +138 -104
  205. package/dist/_chunks/signature-capture-Ct_4Md4e.js.map +1 -0
  206. package/dist/_chunks/{slider-BHWzXdjt.js → slider-DN1CWkKB.js} +85 -65
  207. package/dist/_chunks/slider-DN1CWkKB.js.map +1 -0
  208. package/dist/_chunks/{sparkline-DGhCSw8M.js → sparkline-iOXYgvJe.js} +75 -53
  209. package/dist/_chunks/sparkline-iOXYgvJe.js.map +1 -0
  210. package/dist/_chunks/{stepper-accordion.agent-C4quJ-MD.js → stepper-accordion.agent-cmEguIdx.js} +7 -1
  211. package/dist/_chunks/stepper-accordion.agent-cmEguIdx.js.map +1 -0
  212. package/dist/_chunks/{stepper-progress-DDjq5nei.js → stepper-progress-Bv0njx4g.js} +30 -24
  213. package/dist/_chunks/stepper-progress-Bv0njx4g.js.map +1 -0
  214. package/dist/_chunks/{suggestion-chip.agent-6sNWFj7m.js → suggestion-chip.agent-Brn3CiFE.js} +9 -8
  215. package/dist/_chunks/{suggestion-chip.agent-6sNWFj7m.js.map → suggestion-chip.agent-Brn3CiFE.js.map} +1 -1
  216. package/dist/_chunks/{switch-BJ6HD3Mn.js → switch-OILsBLWo.js} +25 -19
  217. package/dist/_chunks/switch-OILsBLWo.js.map +1 -0
  218. package/dist/_chunks/{tabs-BIQ0ew1T.js → tabs-BxcOziCo.js} +67 -58
  219. package/dist/_chunks/tabs-BxcOziCo.js.map +1 -0
  220. package/dist/_chunks/{task-card.agent-CUPKYd7w.js → task-card.agent-Bt14CzUd.js} +4 -1
  221. package/dist/_chunks/task-card.agent-Bt14CzUd.js.map +1 -0
  222. package/dist/_chunks/{task-tray-CAncV-QQ.js → task-tray-qOEQflu4.js} +74 -57
  223. package/dist/_chunks/task-tray-qOEQflu4.js.map +1 -0
  224. package/dist/_chunks/{text-area-BIx0tZ05.js → text-area-Bt3p7Pt0.js} +41 -34
  225. package/dist/_chunks/text-area-Bt3p7Pt0.js.map +1 -0
  226. package/dist/_chunks/{text-input-BaClJL8Y.js → text-input-B-OWQ1Je.js} +15 -8
  227. package/dist/_chunks/text-input-B-OWQ1Je.js.map +1 -0
  228. package/dist/_chunks/{theme-toggle-DETmSu_h.js → theme-toggle-XB6o_lgs.js} +38 -26
  229. package/dist/_chunks/theme-toggle-XB6o_lgs.js.map +1 -0
  230. package/dist/_chunks/{time-picker-B5umYwfv.js → time-picker-BPlJWm8w.js} +41 -31
  231. package/dist/_chunks/time-picker-BPlJWm8w.js.map +1 -0
  232. package/dist/_chunks/{timeline-DQa5Tyz4.js → timeline-CqA4nKTI.js} +33 -25
  233. package/dist/_chunks/timeline-CqA4nKTI.js.map +1 -0
  234. package/dist/_chunks/{toast.agent-vuLRRn2a.js → toast.agent-57UzyR9U.js} +62 -45
  235. package/dist/_chunks/{toast.agent-vuLRRn2a.js.map → toast.agent-57UzyR9U.js.map} +1 -1
  236. package/dist/_chunks/{tooth-scheme-BIx1O2aJ.js → tooth-scheme-yBr53cvv.js} +421 -348
  237. package/dist/_chunks/tooth-scheme-yBr53cvv.js.map +1 -0
  238. package/dist/_chunks/{transcript-panel-CLHmv83g.js → transcript-panel-3THQX6nJ.js} +47 -33
  239. package/dist/_chunks/transcript-panel-3THQX6nJ.js.map +1 -0
  240. package/dist/_chunks/unit-converter-YEpD9evj.js +337 -0
  241. package/dist/_chunks/unit-converter-YEpD9evj.js.map +1 -0
  242. package/dist/_chunks/{use-password-requirements-DsgduV1x.js → use-password-requirements-BXvS2MBS.js} +131 -117
  243. package/dist/_chunks/use-password-requirements-BXvS2MBS.js.map +1 -0
  244. package/dist/_chunks/users-MBVtUzwd.js +17 -0
  245. package/dist/_chunks/users-MBVtUzwd.js.map +1 -0
  246. package/dist/_chunks/warning-stack-BsgaEbL8.js +283 -0
  247. package/dist/_chunks/warning-stack-BsgaEbL8.js.map +1 -0
  248. package/dist/_chunks/{whatsapp-button-DUjlWGKf.js → whatsapp-button-BIy6NaJK.js} +6 -3
  249. package/dist/_chunks/whatsapp-button-BIy6NaJK.js.map +1 -0
  250. package/dist/_chunks/{workflow-map-JAZryZJr.js → workflow-map-Bdam9pGp.js} +99 -88
  251. package/dist/_chunks/workflow-map-Bdam9pGp.js.map +1 -0
  252. package/dist/agent/index.d.ts +4 -4
  253. package/dist/agent/index.d.ts.map +1 -1
  254. package/dist/agent/index.js +36 -0
  255. package/dist/agent/index.js.map +1 -0
  256. package/dist/agent/registry.d.ts +33 -0
  257. package/dist/agent/registry.d.ts.map +1 -1
  258. package/dist/agent/types.d.ts +78 -2
  259. package/dist/agent/types.d.ts.map +1 -1
  260. package/dist/agent-catalog.json +6905 -509
  261. package/dist/agent-i18n/en.json +1175 -0
  262. package/dist/components/accordion/accordion.agent.d.ts.map +1 -1
  263. package/dist/components/accordion/accordion.d.ts.map +1 -1
  264. package/dist/components/accordion/index.js +1 -1
  265. package/dist/components/address-autocomplete/address-autocomplete.agent.d.ts +4 -0
  266. package/dist/components/address-autocomplete/address-autocomplete.agent.d.ts.map +1 -0
  267. package/dist/components/address-autocomplete/address-autocomplete.d.ts +18 -0
  268. package/dist/components/address-autocomplete/address-autocomplete.d.ts.map +1 -1
  269. package/dist/components/address-autocomplete/index.d.ts +2 -1
  270. package/dist/components/address-autocomplete/index.d.ts.map +1 -1
  271. package/dist/components/address-autocomplete/index.js +3 -2
  272. package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -1
  273. package/dist/components/agenda-card/index.js +1 -1
  274. package/dist/components/agenda-tray/agenda-tray.agent.d.ts.map +1 -1
  275. package/dist/components/agenda-tray/index.js +1 -1
  276. package/dist/components/ai-consent-banner/index.js +1 -1
  277. package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts.map +1 -1
  278. package/dist/components/ai-prompt-input/index.js +1 -1
  279. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -1
  280. package/dist/components/ai-tools-rail/index.js +1 -1
  281. package/dist/components/anamnesis-card/index.js +1 -1
  282. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -1
  283. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -1
  284. package/dist/components/appointment-card/index.js +1 -1
  285. package/dist/components/audio-recorder/audio-recorder.agent.d.ts.map +1 -1
  286. package/dist/components/audio-recorder/index.js +1 -1
  287. package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -1
  288. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
  289. package/dist/components/autocomplete/index.js +1 -1
  290. package/dist/components/bishop-score/bishop-score.agent.d.ts +4 -0
  291. package/dist/components/bishop-score/bishop-score.agent.d.ts.map +1 -0
  292. package/dist/components/bishop-score/bishop-score.d.ts +17 -1
  293. package/dist/components/bishop-score/bishop-score.d.ts.map +1 -1
  294. package/dist/components/bishop-score/index.js +1 -1
  295. package/dist/components/bmi-calculator/bmi-calculator.agent.d.ts +4 -0
  296. package/dist/components/bmi-calculator/bmi-calculator.agent.d.ts.map +1 -0
  297. package/dist/components/bmi-calculator/bmi-calculator.d.ts +26 -0
  298. package/dist/components/bmi-calculator/bmi-calculator.d.ts.map +1 -1
  299. package/dist/components/bmi-calculator/index.js +1 -1
  300. package/dist/components/booking/booking.agent.d.ts.map +1 -1
  301. package/dist/components/booking/index.js +1 -1
  302. package/dist/components/breadcrumb/breadcrumb.agent.d.ts.map +1 -1
  303. package/dist/components/breadcrumb/index.js +1 -1
  304. package/dist/components/calculator-dialog/index.js +1 -1
  305. package/dist/components/calendar/calendar.agent.d.ts.map +1 -1
  306. package/dist/components/calendar/index.js +1 -1
  307. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -1
  308. package/dist/components/care-plan-card/index.js +1 -1
  309. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -1
  310. package/dist/components/care-plan-entry-card/index.js +1 -1
  311. package/dist/components/carousel/carousel.agent.d.ts.map +1 -1
  312. package/dist/components/carousel/index.js +1 -1
  313. package/dist/components/chart/chart.agent.d.ts.map +1 -1
  314. package/dist/components/chart/index.js +1 -1
  315. package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
  316. package/dist/components/chat-container/index.js +1 -1
  317. package/dist/components/chat-input/chat-input.agent.d.ts.map +1 -1
  318. package/dist/components/chat-input/index.js +1 -1
  319. package/dist/components/checkbox/checkbox.agent.d.ts.map +1 -1
  320. package/dist/components/checkbox/index.js +1 -1
  321. package/dist/components/checkbox-group/index.js +1 -1
  322. package/dist/components/clinical-note-card/index.js +1 -1
  323. package/dist/components/collapsible/collapsible.agent.d.ts.map +1 -1
  324. package/dist/components/collapsible/index.js +1 -1
  325. package/dist/components/color-picker/color-picker.agent.d.ts.map +1 -1
  326. package/dist/components/color-picker/index.js +1 -1
  327. package/dist/components/combobox/combobox.agent.d.ts.map +1 -1
  328. package/dist/components/combobox/combobox.d.ts.map +1 -1
  329. package/dist/components/combobox/index.js +1 -1
  330. package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -1
  331. package/dist/components/command-palette/command-palette.d.ts.map +1 -1
  332. package/dist/components/command-palette/index.js +1 -1
  333. package/dist/components/contact-profile-card/contact-profile-card.agent.d.ts.map +1 -1
  334. package/dist/components/contact-profile-card/index.js +1 -1
  335. package/dist/components/copy-field/copy-field.agent.d.ts.map +1 -1
  336. package/dist/components/copy-field/index.js +1 -1
  337. package/dist/components/counter/counter.d.ts +22 -0
  338. package/dist/components/counter/counter.d.ts.map +1 -0
  339. package/dist/components/counter/index.d.ts +3 -0
  340. package/dist/components/counter/index.d.ts.map +1 -0
  341. package/dist/components/counter/index.js +5 -0
  342. package/dist/components/counter/index.js.map +1 -0
  343. package/dist/components/cycle-calculator/index.js +1 -1
  344. package/dist/components/data-table/data-table.agent.d.ts.map +1 -1
  345. package/dist/components/data-table/data-table.d.ts +1 -1
  346. package/dist/components/data-table/data-table.d.ts.map +1 -1
  347. package/dist/components/data-table/filters/date-range-filter.d.ts +1 -1
  348. package/dist/components/data-table/filters/date-range-filter.d.ts.map +1 -1
  349. package/dist/components/data-table/index.js +31 -30
  350. package/dist/components/data-table/index.js.map +1 -1
  351. package/dist/components/data-table/toolbar.d.ts +4 -1
  352. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  353. package/dist/components/date-picker/date-picker.agent.d.ts.map +1 -1
  354. package/dist/components/date-picker/index.js +1 -1
  355. package/dist/components/date-range-picker/date-range-picker.agent.d.ts.map +1 -1
  356. package/dist/components/date-range-picker/index.js +1 -1
  357. package/dist/components/date-time-picker/date-time-picker.agent.d.ts.map +1 -1
  358. package/dist/components/date-time-picker/index.js +1 -1
  359. package/dist/components/dependent-selector/dependent-selector.agent.d.ts.map +1 -1
  360. package/dist/components/dependent-selector/index.js +1 -1
  361. package/dist/components/dialog/dialog.agent.d.ts.map +1 -1
  362. package/dist/components/dialog/index.js +1 -1
  363. package/dist/components/document-scanner/document-scanner.agent.d.ts.map +1 -1
  364. package/dist/components/document-scanner/index.js +1 -1
  365. package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -1
  366. package/dist/components/dropdown-menu/index.js +1 -1
  367. package/dist/components/due-date-calculator/index.js +1 -1
  368. package/dist/components/editor-overlay/editor-overlay.d.ts.map +1 -1
  369. package/dist/components/email-input/index.js +1 -1
  370. package/dist/components/fetal-weight/index.js +1 -1
  371. package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -1
  372. package/dist/components/file-upload/index.js +1 -1
  373. package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts.map +1 -1
  374. package/dist/components/fiscal-code-input/index.js +1 -1
  375. package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts.map +1 -1
  376. package/dist/components/freemium-paywall/freemium-paywall.d.ts +6 -0
  377. package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -1
  378. package/dist/components/freemium-paywall/index.js +1 -1
  379. package/dist/components/gestational-age-calculator/index.js +1 -1
  380. package/dist/components/hcg-doubling/index.js +1 -1
  381. package/dist/components/header-settings/header-settings.agent.d.ts.map +1 -1
  382. package/dist/components/header-settings/index.js +1 -1
  383. package/dist/components/index.d.ts +2 -0
  384. package/dist/components/index.d.ts.map +1 -1
  385. package/dist/components/list/index.js +1 -1
  386. package/dist/components/list/list.agent.d.ts.map +1 -1
  387. package/dist/components/locale-picker/index.js +1 -1
  388. package/dist/components/locale-picker/locale-picker.agent.d.ts.map +1 -1
  389. package/dist/components/map-view/index.js +1 -1
  390. package/dist/components/map-view/map-view.agent.d.ts.map +1 -1
  391. package/dist/components/message-card/index.js +1 -1
  392. package/dist/components/message-card/message-card.agent.d.ts.map +1 -1
  393. package/dist/components/message-tray/index.js +1 -1
  394. package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -1
  395. package/dist/components/multi-select/index.js +1 -1
  396. package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -1
  397. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  398. package/dist/components/navigation-menu/index.js +1 -1
  399. package/dist/components/navigation-menu/navigation-menu.agent.d.ts.map +1 -1
  400. package/dist/components/notification-card/index.js +1 -1
  401. package/dist/components/notification-card/notification-card.agent.d.ts.map +1 -1
  402. package/dist/components/notification-tray/index.js +1 -1
  403. package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -1
  404. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  405. package/dist/components/number-input/index.js +1 -1
  406. package/dist/components/number-input/number-input.agent.d.ts.map +1 -1
  407. package/dist/components/operator-hero/index.js +1 -1
  408. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  409. package/dist/components/otp-input/index.js +1 -1
  410. package/dist/components/otp-input/otp-input.agent.d.ts.map +1 -1
  411. package/dist/components/pagination/index.js +1 -1
  412. package/dist/components/pagination/pagination.agent.d.ts.map +1 -1
  413. package/dist/components/password-input/index.js +1 -1
  414. package/dist/components/password-input/password-input.agent.d.ts.map +1 -1
  415. package/dist/components/patient-search/index.js +1 -1
  416. package/dist/components/patient-search/patient-search.agent.d.ts.map +1 -1
  417. package/dist/components/patient-summary-card/index.js +1 -1
  418. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -1
  419. package/dist/components/patient-table/cell-renderers/balance-badge-cell.d.ts +13 -0
  420. package/dist/components/patient-table/cell-renderers/balance-badge-cell.d.ts.map +1 -0
  421. package/dist/components/patient-table/cell-renderers/care-plan-status-cell.d.ts +43 -0
  422. package/dist/components/patient-table/cell-renderers/care-plan-status-cell.d.ts.map +1 -0
  423. package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +45 -0
  424. package/dist/components/patient-table/cell-renderers/contact-cell.d.ts.map +1 -0
  425. package/dist/components/patient-table/cell-renderers/next-appointment-cell.d.ts +24 -0
  426. package/dist/components/patient-table/cell-renderers/next-appointment-cell.d.ts.map +1 -0
  427. package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +26 -0
  428. package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts.map +1 -0
  429. package/dist/components/patient-table/columns.d.ts +102 -0
  430. package/dist/components/patient-table/columns.d.ts.map +1 -0
  431. package/dist/components/patient-table/index.d.ts +24 -0
  432. package/dist/components/patient-table/index.d.ts.map +1 -0
  433. package/dist/components/patient-table/index.js +13 -0
  434. package/dist/components/patient-table/index.js.map +1 -0
  435. package/dist/components/patient-table/patient-table.d.ts +138 -0
  436. package/dist/components/patient-table/patient-table.d.ts.map +1 -0
  437. package/dist/components/patient-table/types.d.ts +172 -0
  438. package/dist/components/patient-table/types.d.ts.map +1 -0
  439. package/dist/components/patient-table/use-responsive-columns.d.ts +109 -0
  440. package/dist/components/patient-table/use-responsive-columns.d.ts.map +1 -0
  441. package/dist/components/payment-card/index.js +1 -1
  442. package/dist/components/payment-form/index.js +1 -1
  443. package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
  444. package/dist/components/pdf-viewer/index.js +1 -1
  445. package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
  446. package/dist/components/periodontal-chart-card/index.js +1 -1
  447. package/dist/components/phone-input/index.js +1 -1
  448. package/dist/components/phone-input/phone-input.agent.d.ts.map +1 -1
  449. package/dist/components/popover/index.js +1 -1
  450. package/dist/components/popover/popover.agent.d.ts.map +1 -1
  451. package/dist/components/practice-results/index.js +1 -1
  452. package/dist/components/practice-results/practice-results.agent.d.ts.map +1 -1
  453. package/dist/components/pregnancy-dating/index.js +1 -1
  454. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  455. package/dist/components/privacy-lock/index.js +1 -1
  456. package/dist/components/privacy-lock/privacy-lock.agent.d.ts.map +1 -1
  457. package/dist/components/product-hub-tray/index.js +1 -1
  458. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts.map +1 -1
  459. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts.map +1 -1
  460. package/dist/components/progress/index.js +1 -1
  461. package/dist/components/public-footer/index.js +1 -1
  462. package/dist/components/public-footer/public-footer.agent.d.ts.map +1 -1
  463. package/dist/components/public-footer/public-footer.d.ts.map +1 -1
  464. package/dist/components/public-header/index.js +1 -1
  465. package/dist/components/public-header/public-header.agent.d.ts.map +1 -1
  466. package/dist/components/qr-code/index.js +1 -1
  467. package/dist/components/qr-code/qr-code.agent.d.ts.map +1 -1
  468. package/dist/components/radio-group/index.js +1 -1
  469. package/dist/components/recaptcha-widget/index.js +1 -1
  470. package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts.map +1 -1
  471. package/dist/components/resizable/index.js +1 -1
  472. package/dist/components/resizable/resizable.agent.d.ts.map +1 -1
  473. package/dist/components/resizable/resizable.d.ts.map +1 -1
  474. package/dist/components/reviews-panel/index.js +1 -1
  475. package/dist/components/reviews-panel/reviews-panel.agent.d.ts.map +1 -1
  476. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts.map +1 -1
  477. package/dist/components/rich-text-editor/index.js +1 -1
  478. package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
  479. package/dist/components/rich-text-editor/rich-text-editor.d.ts +15 -0
  480. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  481. package/dist/components/search-bar/index.js +1 -1
  482. package/dist/components/search-bar/search-bar.agent.d.ts.map +1 -1
  483. package/dist/components/search-input/index.js +2 -2
  484. package/dist/components/search-input/search-input.agent.d.ts.map +1 -1
  485. package/dist/components/select/index.js +1 -1
  486. package/dist/components/select/select.agent.d.ts.map +1 -1
  487. package/dist/components/session-countdown/index.js +1 -1
  488. package/dist/components/sheet/index.js +1 -1
  489. package/dist/components/sheet/sheet.agent.d.ts.map +1 -1
  490. package/dist/components/sidebar/index.js +1 -1
  491. package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -1
  492. package/dist/components/sidebar/sidebar.d.ts +7 -0
  493. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  494. package/dist/components/sign-document/index.js +1 -1
  495. package/dist/components/sign-document/sign-document.agent.d.ts.map +1 -1
  496. package/dist/components/signature-capture/index.js +1 -1
  497. package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -1
  498. package/dist/components/slider/index.js +1 -1
  499. package/dist/components/slider/slider.agent.d.ts.map +1 -1
  500. package/dist/components/sparkline/index.js +1 -1
  501. package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
  502. package/dist/components/stepper-accordion/index.js +1 -1
  503. package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts.map +1 -1
  504. package/dist/components/stepper-progress/index.js +1 -1
  505. package/dist/components/stepper-progress/stepper-progress.agent.d.ts.map +1 -1
  506. package/dist/components/suggestion-chip/index.js +1 -1
  507. package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts.map +1 -1
  508. package/dist/components/switch/index.js +1 -1
  509. package/dist/components/switch/switch.agent.d.ts.map +1 -1
  510. package/dist/components/tabs/index.js +1 -1
  511. package/dist/components/tabs/tabs.agent.d.ts.map +1 -1
  512. package/dist/components/tabs/tabs.d.ts.map +1 -1
  513. package/dist/components/task-card/index.js +1 -1
  514. package/dist/components/task-card/task-card.agent.d.ts.map +1 -1
  515. package/dist/components/task-tray/index.js +1 -1
  516. package/dist/components/task-tray/task-tray.agent.d.ts.map +1 -1
  517. package/dist/components/text-area/index.js +1 -1
  518. package/dist/components/text-area/text-area.agent.d.ts.map +1 -1
  519. package/dist/components/text-input/index.js +1 -1
  520. package/dist/components/text-input/text-input.agent.d.ts.map +1 -1
  521. package/dist/components/theme-toggle/index.js +1 -1
  522. package/dist/components/theme-toggle/theme-toggle.agent.d.ts.map +1 -1
  523. package/dist/components/time-picker/index.js +1 -1
  524. package/dist/components/time-picker/time-picker.agent.d.ts.map +1 -1
  525. package/dist/components/timeline/index.js +1 -1
  526. package/dist/components/timeline/timeline.agent.d.ts.map +1 -1
  527. package/dist/components/toast/index.js +1 -1
  528. package/dist/components/toast/toast.agent.d.ts.map +1 -1
  529. package/dist/components/toast/toast.d.ts.map +1 -1
  530. package/dist/components/tooth-scheme/index.js +1 -1
  531. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
  532. package/dist/components/transcript-panel/index.js +1 -1
  533. package/dist/components/transcript-panel/transcript-panel.agent.d.ts.map +1 -1
  534. package/dist/components/unit-converter/index.js +1 -1
  535. package/dist/components/unit-converter/unit-converter.agent.d.ts +4 -0
  536. package/dist/components/unit-converter/unit-converter.agent.d.ts.map +1 -0
  537. package/dist/components/unit-converter/unit-converter.d.ts +27 -0
  538. package/dist/components/unit-converter/unit-converter.d.ts.map +1 -1
  539. package/dist/components/warning-stack/index.js +1 -1
  540. package/dist/components/warning-stack/warning-stack.d.ts +9 -0
  541. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  542. package/dist/components/whatsapp-button/index.d.ts +1 -1
  543. package/dist/components/whatsapp-button/index.d.ts.map +1 -1
  544. package/dist/components/whatsapp-button/index.js +3 -2
  545. package/dist/components/whatsapp-button/whatsapp-button.d.ts +3 -0
  546. package/dist/components/whatsapp-button/whatsapp-button.d.ts.map +1 -1
  547. package/dist/components/workflow/index.js +1 -1
  548. package/dist/components/workflow/workflow.agent.d.ts.map +1 -1
  549. package/dist/i18n/locales/ar.d.ts +74 -0
  550. package/dist/i18n/locales/ar.d.ts.map +1 -1
  551. package/dist/i18n/locales/ar.js +76 -2
  552. package/dist/i18n/locales/ar.js.map +1 -1
  553. package/dist/i18n/locales/de.d.ts +74 -0
  554. package/dist/i18n/locales/de.d.ts.map +1 -1
  555. package/dist/i18n/locales/de.js +76 -2
  556. package/dist/i18n/locales/de.js.map +1 -1
  557. package/dist/i18n/locales/el.d.ts +74 -0
  558. package/dist/i18n/locales/el.d.ts.map +1 -1
  559. package/dist/i18n/locales/el.js +76 -2
  560. package/dist/i18n/locales/el.js.map +1 -1
  561. package/dist/i18n/locales/en.d.ts +92 -0
  562. package/dist/i18n/locales/en.d.ts.map +1 -1
  563. package/dist/i18n/locales/en.js +94 -2
  564. package/dist/i18n/locales/en.js.map +1 -1
  565. package/dist/i18n/locales/es.d.ts +74 -0
  566. package/dist/i18n/locales/es.d.ts.map +1 -1
  567. package/dist/i18n/locales/es.js +76 -2
  568. package/dist/i18n/locales/es.js.map +1 -1
  569. package/dist/i18n/locales/fr.d.ts +74 -0
  570. package/dist/i18n/locales/fr.d.ts.map +1 -1
  571. package/dist/i18n/locales/fr.js +76 -2
  572. package/dist/i18n/locales/fr.js.map +1 -1
  573. package/dist/i18n/locales/hi.d.ts +74 -0
  574. package/dist/i18n/locales/hi.d.ts.map +1 -1
  575. package/dist/i18n/locales/hi.js +76 -2
  576. package/dist/i18n/locales/hi.js.map +1 -1
  577. package/dist/i18n/locales/it.d.ts +74 -0
  578. package/dist/i18n/locales/it.d.ts.map +1 -1
  579. package/dist/i18n/locales/it.js +76 -2
  580. package/dist/i18n/locales/it.js.map +1 -1
  581. package/dist/i18n/locales/ja.d.ts +74 -0
  582. package/dist/i18n/locales/ja.d.ts.map +1 -1
  583. package/dist/i18n/locales/ja.js +76 -2
  584. package/dist/i18n/locales/ja.js.map +1 -1
  585. package/dist/i18n/locales/nl.d.ts +74 -0
  586. package/dist/i18n/locales/nl.d.ts.map +1 -1
  587. package/dist/i18n/locales/nl.js +76 -2
  588. package/dist/i18n/locales/nl.js.map +1 -1
  589. package/dist/i18n/locales/pl.d.ts +74 -0
  590. package/dist/i18n/locales/pl.d.ts.map +1 -1
  591. package/dist/i18n/locales/pl.js +76 -2
  592. package/dist/i18n/locales/pl.js.map +1 -1
  593. package/dist/i18n/locales/pt.d.ts +74 -0
  594. package/dist/i18n/locales/pt.d.ts.map +1 -1
  595. package/dist/i18n/locales/pt.js +76 -2
  596. package/dist/i18n/locales/pt.js.map +1 -1
  597. package/dist/i18n/locales/ro.d.ts +74 -0
  598. package/dist/i18n/locales/ro.d.ts.map +1 -1
  599. package/dist/i18n/locales/ro.js +76 -2
  600. package/dist/i18n/locales/ro.js.map +1 -1
  601. package/dist/i18n/locales/ru.d.ts +74 -0
  602. package/dist/i18n/locales/ru.d.ts.map +1 -1
  603. package/dist/i18n/locales/ru.js +76 -2
  604. package/dist/i18n/locales/ru.js.map +1 -1
  605. package/dist/i18n/locales/sq.d.ts +74 -0
  606. package/dist/i18n/locales/sq.d.ts.map +1 -1
  607. package/dist/i18n/locales/sq.js +76 -2
  608. package/dist/i18n/locales/sq.js.map +1 -1
  609. package/dist/i18n/locales/sv.d.ts +74 -0
  610. package/dist/i18n/locales/sv.d.ts.map +1 -1
  611. package/dist/i18n/locales/sv.js +76 -2
  612. package/dist/i18n/locales/sv.js.map +1 -1
  613. package/dist/i18n/locales/tr.d.ts +74 -0
  614. package/dist/i18n/locales/tr.d.ts.map +1 -1
  615. package/dist/i18n/locales/tr.js +76 -2
  616. package/dist/i18n/locales/tr.js.map +1 -1
  617. package/dist/i18n/locales/zh.d.ts +74 -0
  618. package/dist/i18n/locales/zh.d.ts.map +1 -1
  619. package/dist/i18n/locales/zh.js +76 -2
  620. package/dist/i18n/locales/zh.js.map +1 -1
  621. package/dist/index.js +688 -673
  622. package/dist/index.js.map +1 -1
  623. package/dist/locales/ar.json +76 -2
  624. package/dist/locales/de.json +76 -2
  625. package/dist/locales/el.json +76 -2
  626. package/dist/locales/en.json +76 -2
  627. package/dist/locales/es.json +76 -2
  628. package/dist/locales/fr.json +76 -2
  629. package/dist/locales/hi.json +76 -2
  630. package/dist/locales/it.json +76 -2
  631. package/dist/locales/ja.json +76 -2
  632. package/dist/locales/nl.json +76 -2
  633. package/dist/locales/pl.json +76 -2
  634. package/dist/locales/pt.json +76 -2
  635. package/dist/locales/ro.json +76 -2
  636. package/dist/locales/ru.json +76 -2
  637. package/dist/locales/sq.json +76 -2
  638. package/dist/locales/sv.json +76 -2
  639. package/dist/locales/tr.json +76 -2
  640. package/dist/locales/zh.json +76 -2
  641. package/dist/patterns/alia-assistant/index.js +1 -1
  642. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  643. package/dist/patterns/patient-shell/index.js +1 -1
  644. package/dist/tokens.css +3 -2
  645. package/package.json +14 -1
  646. package/dist/_chunks/accordion-9lJSMMsZ.js.map +0 -1
  647. package/dist/_chunks/address-autocomplete-CT-9AOli.js +0 -358
  648. package/dist/_chunks/address-autocomplete-CT-9AOli.js.map +0 -1
  649. package/dist/_chunks/agenda-tray-T-BumlGZ.js.map +0 -1
  650. package/dist/_chunks/ai-prompt-input-BwEACCPm.js.map +0 -1
  651. package/dist/_chunks/ai-tools-rail-CInA_1-E.js.map +0 -1
  652. package/dist/_chunks/appointment-tray-BMl89NPW.js.map +0 -1
  653. package/dist/_chunks/audio-recorder-DjXLP4aF.js.map +0 -1
  654. package/dist/_chunks/autocomplete-CcCFlVf-.js.map +0 -1
  655. package/dist/_chunks/bishop-score-CjsB9bM-.js +0 -185
  656. package/dist/_chunks/bishop-score-CjsB9bM-.js.map +0 -1
  657. package/dist/_chunks/bmi-calculator-n-823_1V.js +0 -258
  658. package/dist/_chunks/bmi-calculator-n-823_1V.js.map +0 -1
  659. package/dist/_chunks/booking-L8-YP8BJ.js.map +0 -1
  660. package/dist/_chunks/breadcrumb-OTbaY70e.js.map +0 -1
  661. package/dist/_chunks/calendar-oYWOCrnf.js.map +0 -1
  662. package/dist/_chunks/care-plan-card-BwVUyUBb.js.map +0 -1
  663. package/dist/_chunks/care-plan-entry-card-VzdQHcOL.js.map +0 -1
  664. package/dist/_chunks/chart-Cg3e9EH9.js.map +0 -1
  665. package/dist/_chunks/chat-container-ogB4OskO.js.map +0 -1
  666. package/dist/_chunks/chat-input-B5zjNEUN.js.map +0 -1
  667. package/dist/_chunks/checkbox-DRcOdmXv.js.map +0 -1
  668. package/dist/_chunks/collapsible-X3oaLPU3.js.map +0 -1
  669. package/dist/_chunks/color-picker-FXpItIaF.js.map +0 -1
  670. package/dist/_chunks/combobox-BC-DFx8G.js.map +0 -1
  671. package/dist/_chunks/command-palette-BiPAAno-.js.map +0 -1
  672. package/dist/_chunks/contact-profile-card-7BMB85T6.js.map +0 -1
  673. package/dist/_chunks/copy-field-CCq7j6Zc.js.map +0 -1
  674. package/dist/_chunks/date-range-picker-C5BWfH_T.js.map +0 -1
  675. package/dist/_chunks/date-time-picker-Ze1My59T.js.map +0 -1
  676. package/dist/_chunks/dependent-selector-DpzGtr_J.js.map +0 -1
  677. package/dist/_chunks/dialog-DMGnSelc.js.map +0 -1
  678. package/dist/_chunks/document-scanner-D2qehl3-.js.map +0 -1
  679. package/dist/_chunks/dropdown-menu-DwwPovMZ.js.map +0 -1
  680. package/dist/_chunks/editable-currency-cell-renderer-D1ewvJKO.js +0 -2391
  681. package/dist/_chunks/editable-currency-cell-renderer-D1ewvJKO.js.map +0 -1
  682. package/dist/_chunks/file-upload-BosbPDb1.js.map +0 -1
  683. package/dist/_chunks/fiscal-code-input-DPtqluVb.js.map +0 -1
  684. package/dist/_chunks/freemium-paywall-CkWjv3o6.js.map +0 -1
  685. package/dist/_chunks/header-settings-CNOqIhoW.js.map +0 -1
  686. package/dist/_chunks/list-BOwqwy03.js.map +0 -1
  687. package/dist/_chunks/locale-picker-C9JmBht3.js.map +0 -1
  688. package/dist/_chunks/map-view-Tb5VfK9Y.js.map +0 -1
  689. package/dist/_chunks/message-card.agent-4IeIgrnJ.js.map +0 -1
  690. package/dist/_chunks/message-tray-CVyJajVJ.js.map +0 -1
  691. package/dist/_chunks/multi-select-BcPylvHR.js.map +0 -1
  692. package/dist/_chunks/navigation-menu-C6lBYVv9.js.map +0 -1
  693. package/dist/_chunks/notification-card.agent-Rqt3ofk9.js.map +0 -1
  694. package/dist/_chunks/notification-tray-DlgenTEe.js.map +0 -1
  695. package/dist/_chunks/number-input-Dj5L3pXK.js.map +0 -1
  696. package/dist/_chunks/operator-hero-f_KaRhw5.js.map +0 -1
  697. package/dist/_chunks/otp-input-xQ4Ps5VY.js.map +0 -1
  698. package/dist/_chunks/pagination-DQOgnxxw.js.map +0 -1
  699. package/dist/_chunks/patient-search-DR9XUYRQ.js.map +0 -1
  700. package/dist/_chunks/patient-summary-card-hEmr4eTW.js.map +0 -1
  701. package/dist/_chunks/payment-form-nXocS_MX.js.map +0 -1
  702. package/dist/_chunks/pdf-viewer-GsfNqeeT.js.map +0 -1
  703. package/dist/_chunks/phone-input-DVXhNlIl.js.map +0 -1
  704. package/dist/_chunks/popover-DTbfAuR0.js.map +0 -1
  705. package/dist/_chunks/practice-results-DND2SAt7.js.map +0 -1
  706. package/dist/_chunks/privacy-lock-C7JyMf0y.js.map +0 -1
  707. package/dist/_chunks/product-hub-panel-CAXDFeGP.js.map +0 -1
  708. package/dist/_chunks/public-footer.agent-CfXuW1x6.js.map +0 -1
  709. package/dist/_chunks/qr-code-DNXhi6se.js.map +0 -1
  710. package/dist/_chunks/recaptcha-widget-BCNHsgqt.js.map +0 -1
  711. package/dist/_chunks/registry-nPAVE19X.js +0 -21
  712. package/dist/_chunks/registry-nPAVE19X.js.map +0 -1
  713. package/dist/_chunks/resizable-3vzqDlg6.js.map +0 -1
  714. package/dist/_chunks/reviews-panel-DBktKm7i.js.map +0 -1
  715. package/dist/_chunks/rich-text-editor-DAeCXiQG.js +0 -1973
  716. package/dist/_chunks/rich-text-editor-DAeCXiQG.js.map +0 -1
  717. package/dist/_chunks/search-bar-SY2BcV2N.js.map +0 -1
  718. package/dist/_chunks/search-input.agent-CfZvViOd.js.map +0 -1
  719. package/dist/_chunks/select-CEtRcon5.js.map +0 -1
  720. package/dist/_chunks/sheet-taJer-Ha.js.map +0 -1
  721. package/dist/_chunks/sidebar-DaB4ulxH.js.map +0 -1
  722. package/dist/_chunks/sign-document-CdAiHiCh.js.map +0 -1
  723. package/dist/_chunks/signature-capture-COi0Uiqu.js.map +0 -1
  724. package/dist/_chunks/slider-BHWzXdjt.js.map +0 -1
  725. package/dist/_chunks/sparkline-DGhCSw8M.js.map +0 -1
  726. package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js.map +0 -1
  727. package/dist/_chunks/stepper-progress-DDjq5nei.js.map +0 -1
  728. package/dist/_chunks/switch-BJ6HD3Mn.js.map +0 -1
  729. package/dist/_chunks/tabs-BIQ0ew1T.js.map +0 -1
  730. package/dist/_chunks/task-card.agent-CUPKYd7w.js.map +0 -1
  731. package/dist/_chunks/task-tray-CAncV-QQ.js.map +0 -1
  732. package/dist/_chunks/text-area-BIx0tZ05.js.map +0 -1
  733. package/dist/_chunks/text-input-BaClJL8Y.js.map +0 -1
  734. package/dist/_chunks/theme-toggle-DETmSu_h.js.map +0 -1
  735. package/dist/_chunks/time-picker-B5umYwfv.js.map +0 -1
  736. package/dist/_chunks/timeline-DQa5Tyz4.js.map +0 -1
  737. package/dist/_chunks/tooth-scheme-BIx1O2aJ.js.map +0 -1
  738. package/dist/_chunks/transcript-panel-CLHmv83g.js.map +0 -1
  739. package/dist/_chunks/unit-converter-C1V3ACM9.js +0 -196
  740. package/dist/_chunks/unit-converter-C1V3ACM9.js.map +0 -1
  741. package/dist/_chunks/use-password-requirements-DsgduV1x.js.map +0 -1
  742. package/dist/_chunks/warning-stack-Cv4fr5zo.js +0 -220
  743. package/dist/_chunks/warning-stack-Cv4fr5zo.js.map +0 -1
  744. package/dist/_chunks/whatsapp-button-DUjlWGKf.js.map +0 -1
  745. package/dist/_chunks/workflow-map-JAZryZJr.js.map +0 -1
@@ -1,17 +1,17 @@
1
1
  import { jsx as a, jsxs as _, Fragment as we } from "react/jsx-runtime";
2
- import { forwardRef as Le, useId as Ze, useMemo as ke, useState as y, useEffect as O, useRef as E, useCallback as Q, useImperativeHandle as Ke } from "react";
2
+ import { forwardRef as Le, useId as Ze, useMemo as ke, useState as y, useEffect as T, useRef as E, useCallback as H, useImperativeHandle as Ke } from "react";
3
3
  import * as pe from "pdfjs-dist/legacy/build/pdf.min.mjs";
4
4
  import { c as X } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as me } from "react-i18next";
6
6
  import * as re from "@radix-ui/react-popover";
7
7
  import De from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url";
8
- import { S as Be } from "./spinner-hbwuKwMf.js";
8
+ import { S as qe } from "./spinner-hbwuKwMf.js";
9
9
  import { A as ze } from "./alert-_mUKLmwA.js";
10
- import { u as He } from "./registry-nPAVE19X.js";
11
- import { X as Qe } from "./x-CCcI3eJp.js";
12
- import { C as We } from "./chevron-left-CX1jqD2M.js";
13
- import { C as qe } from "./chevron-right-BrpYejk0.js";
14
- import { c as Oe } from "./createLucideIcon-CrFbzy84.js";
10
+ import { u as Be } from "./registry-DvAUVLHh.js";
11
+ import { X as He } from "./x-CCcI3eJp.js";
12
+ import { C as Qe } from "./chevron-left-CX1jqD2M.js";
13
+ import { C as We } from "./chevron-right-BrpYejk0.js";
14
+ import { c as Te } from "./createLucideIcon-CrFbzy84.js";
15
15
  import { S as Ue } from "./search-BonnQsHv.js";
16
16
  import { P as Je } from "./printer-CeVEWfQq.js";
17
17
  /**
@@ -25,7 +25,7 @@ const $e = [
25
25
  ["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
26
26
  ["line", { x1: "11", x2: "11", y1: "8", y2: "14", key: "1vmskp" }],
27
27
  ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
28
- ], Xe = Oe("zoom-in", $e);
28
+ ], Xe = Te("zoom-in", $e);
29
29
  /**
30
30
  * @license lucide-react v1.8.0 - ISC
31
31
  *
@@ -36,14 +36,32 @@ const Ge = [
36
36
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
37
37
  ["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
38
38
  ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
39
- ], Ye = Oe("zoom-out", Ge), et = {
39
+ ], Ye = Te("zoom-out", Ge), et = {
40
40
  id: "pdf-viewer",
41
- capabilities: ["paginate", "view_change", "filter"],
41
+ // `paginate` (go_to_page), `set_value` (zoom preset — ephemeral view state),
42
+ // `filter` (in-document search/highlight). Zoom maps to `set_value` rather
43
+ // than the old `view_change` per the agent-readiness capability vocabulary.
44
+ capabilities: ["paginate", "set_value", "filter"],
42
45
  state: {},
43
46
  actions: {
44
47
  go_to_page: {
45
48
  safety: "read",
46
49
  argsType: "{ page: number }",
50
+ argsSchema: {
51
+ type: "object",
52
+ properties: {
53
+ page: {
54
+ type: "integer",
55
+ minimum: 1,
56
+ description: "1-indexed target page."
57
+ }
58
+ },
59
+ required: ["page"]
60
+ },
61
+ idempotent: !0,
62
+ errors: ["Page is out of range for the loaded document."],
63
+ examples: [{ args: { page: 2 } }],
64
+ descriptionKey: "ui.agent.pdfViewer.actions.goToPage",
47
65
  description: "Navigate to a specific 1-indexed page.",
48
66
  invoke: (o, t) => {
49
67
  o.goToPage(t.page);
@@ -52,7 +70,23 @@ const Ge = [
52
70
  set_zoom: {
53
71
  safety: "read",
54
72
  argsType: "{ zoom: PDFZoomPreset }",
55
- description: "Apply a zoom preset.",
73
+ argsSchema: {
74
+ type: "object",
75
+ properties: {
76
+ zoom: {
77
+ description: "Either a named preset ('fit-width' | 'fit-page' | 'actual-size') or a numeric scale factor (e.g. 1.5).",
78
+ oneOf: [
79
+ { enum: ["fit-width", "fit-page", "actual-size"] },
80
+ { type: "number", exclusiveMinimum: 0 }
81
+ ]
82
+ }
83
+ },
84
+ required: ["zoom"]
85
+ },
86
+ idempotent: !0,
87
+ examples: [{ args: { zoom: "fit-width" } }, { args: { zoom: 1.5 } }],
88
+ descriptionKey: "ui.agent.pdfViewer.actions.setZoom",
89
+ description: "Apply a zoom preset or numeric scale factor.",
56
90
  invoke: (o, t) => {
57
91
  o.setZoom(t.zoom);
58
92
  }
@@ -60,6 +94,19 @@ const Ge = [
60
94
  search: {
61
95
  safety: "read",
62
96
  argsType: "{ query: string }",
97
+ argsSchema: {
98
+ type: "object",
99
+ properties: {
100
+ query: {
101
+ type: "string",
102
+ description: "Text to find and highlight in the loaded document."
103
+ }
104
+ },
105
+ required: ["query"]
106
+ },
107
+ idempotent: !0,
108
+ examples: [{ args: { query: "consent" } }],
109
+ descriptionKey: "ui.agent.pdfViewer.actions.search",
63
110
  description: "Search the document for the given query and highlight matches.",
64
111
  invoke: (o, t) => {
65
112
  o.search(t.query);
@@ -67,6 +114,7 @@ const Ge = [
67
114
  },
68
115
  print: {
69
116
  safety: "read",
117
+ descriptionKey: "ui.agent.pdfViewer.actions.print",
70
118
  description: "Open the browser print dialog for the document.",
71
119
  invoke: (o) => {
72
120
  o.print();
@@ -125,7 +173,7 @@ const Pe = X(
125
173
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
126
174
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
127
175
  ].join(" ")
128
- ), Ie = X(
176
+ ), Me = X(
129
177
  [
130
178
  "ds:[min-block-size:var(--min-target-size)]",
131
179
  "ds:inline-size-[4rem] ds:text-center",
@@ -190,10 +238,10 @@ const Pe = X(
190
238
  function Y(o) {
191
239
  return typeof o == "number";
192
240
  }
193
- function Me(o, t, v) {
241
+ function Ie(o, t, v) {
194
242
  if (Y(o)) return o;
195
243
  if (o === "actual-size" || !v) return 1;
196
- const m = window.getComputedStyle(v), h = parseFloat(m.paddingInlineStart || "0") + parseFloat(m.paddingInlineEnd || "0"), g = parseFloat(m.paddingBlockStart || "0") + parseFloat(m.paddingBlockEnd || "0"), x = Math.max(v.clientWidth - h, 1), w = Math.max(v.clientHeight - g, 1), k = t.width, z = t.height;
244
+ const m = window.getComputedStyle(v), g = parseFloat(m.paddingInlineStart || "0") + parseFloat(m.paddingInlineEnd || "0"), h = parseFloat(m.paddingBlockStart || "0") + parseFloat(m.paddingBlockEnd || "0"), x = Math.max(v.clientWidth - g, 1), w = Math.max(v.clientHeight - h, 1), k = t.width, z = t.height;
197
245
  return o === "fit-width" ? x / k : Math.min(x / k, w / z);
198
246
  }
199
247
  const ot = Le(
@@ -202,8 +250,8 @@ const ot = Le(
202
250
  src: t,
203
251
  initialPage: v = 1,
204
252
  initialZoom: m = "fit-width",
205
- pageRotation: h,
206
- renderPageOverlay: g,
253
+ pageRotation: g,
254
+ renderPageOverlay: h,
207
255
  onPageChange: x,
208
256
  onLoadComplete: w,
209
257
  onError: k,
@@ -212,26 +260,26 @@ const ot = Le(
212
260
  ariaLabel: P,
213
261
  className: S
214
262
  }, b) => {
215
- const { t: l } = me(), I = Ze(), M = ke(
216
- () => `pdf-${I.replace(/[^a-zA-Z0-9-_]/g, "")}`,
217
- [I]
218
- ), [A, p] = y(!1), [K, W] = y(!1);
219
- O(() => {
263
+ const { t: l } = me(), M = Ze(), I = ke(
264
+ () => `pdf-${M.replace(/[^a-zA-Z0-9-_]/g, "")}`,
265
+ [M]
266
+ ), [A, p] = y(!1), [K, Q] = y(!1);
267
+ T(() => {
220
268
  if (typeof document > "u") return;
221
269
  p(document.documentElement.dir === "rtl");
222
- const e = window.matchMedia("(prefers-reduced-motion: reduce)"), r = () => W(e.matches);
270
+ const e = window.matchMedia("(prefers-reduced-motion: reduce)"), r = () => Q(e.matches);
223
271
  return r(), e.addEventListener("change", r), () => e.removeEventListener("change", r);
224
272
  }, []);
225
- const [s, q] = y(null), [i, N] = y(null), [u, R] = y(v), [C, D] = y(m), [Z, B] = y({ start: Math.max(1, v - 1), end: v + 1 }), [U, T] = y(""), [n, f] = y(!1), [ee, he] = y(""), [Re, Te] = y({ current: 0, total: 0 }), ne = E(x), ae = E(w), se = E(k);
226
- O(() => {
273
+ const [s, W] = y(null), [i, N] = y(null), [u, O] = y(v), [C, D] = y(m), [Z, q] = y({ start: Math.max(1, v - 1), end: v + 1 }), [U, R] = y(""), [n, f] = y(!1), [ee, ge] = y(""), [Oe, Re] = y({ current: 0, total: 0 }), ne = E(x), ae = E(w), se = E(k);
274
+ T(() => {
227
275
  ne.current = x, ae.current = w, se.current = k;
228
276
  }, [x, w, k]);
229
277
  const ce = E(null);
230
- O(() => {
278
+ T(() => {
231
279
  ce.current = s;
232
- }, [s]), O(() => {
280
+ }, [s]), T(() => {
233
281
  let e = !1;
234
- q(null), N(null);
282
+ W(null), N(null);
235
283
  const r = {
236
284
  disableJavaScript: !0,
237
285
  isEvalSupported: !1
@@ -244,8 +292,8 @@ const ot = Le(
244
292
  if (e) return;
245
293
  let j;
246
294
  try {
247
- const $ = await d.getMetadata(), V = $ == null ? void 0 : $.info;
248
- j = V == null ? void 0 : V.Title;
295
+ const $ = await d.getMetadata(), F = $ == null ? void 0 : $.info;
296
+ j = F == null ? void 0 : F.Title;
249
297
  } catch {
250
298
  j = void 0;
251
299
  }
@@ -256,14 +304,14 @@ const ot = Le(
256
304
  }
257
305
  return;
258
306
  }
259
- const H = { doc: d, numPages: d.numPages, title: j };
260
- q(H), (J = ae.current) == null || J.call(ae, { numPages: d.numPages, title: j });
307
+ const B = { doc: d, numPages: d.numPages, title: j };
308
+ W(B), (J = ae.current) == null || J.call(ae, { numPages: d.numPages, title: j });
261
309
  },
262
310
  (d) => {
263
- var H;
311
+ var B;
264
312
  if (e) return;
265
313
  const j = d instanceof Error ? d : new Error(String(d));
266
- N(j), (H = se.current) == null || H.call(se, j);
314
+ N(j), (B = se.current) == null || B.call(se, j);
267
315
  }
268
316
  ), () => {
269
317
  e = !0, c.destroy();
@@ -276,17 +324,17 @@ const ot = Le(
276
324
  ce.current = null;
277
325
  }
278
326
  };
279
- }, [t]), O(() => {
327
+ }, [t]), T(() => {
280
328
  var e;
281
- s && (T(
329
+ s && (R(
282
330
  l("pdf.pageOf", { current: u, total: s.numPages })
283
331
  ), (e = ne.current) == null || e.call(ne, u));
284
332
  }, [u, s, l]);
285
- const oe = E(null), le = E([]), F = Q(
333
+ const oe = E(null), le = E([]), V = H(
286
334
  (e) => {
287
335
  if (!s) return;
288
336
  const r = Math.max(1, Math.min(e, s.numPages));
289
- R(r);
337
+ O(r);
290
338
  const c = le.current[r - 1];
291
339
  c && c.scrollIntoView({
292
340
  behavior: "auto",
@@ -294,40 +342,40 @@ const ot = Le(
294
342
  });
295
343
  },
296
344
  [s, K]
297
- ), ge = Q((e) => {
345
+ ), he = H((e) => {
298
346
  D(e);
299
- }, []), te = Q(() => {
347
+ }, []), te = H(() => {
300
348
  typeof window < "u" && window.print();
301
- }, []), ve = Q((e) => {
302
- he(e), f(e.length > 0);
349
+ }, []), ve = H((e) => {
350
+ ge(e), f(e.length > 0);
303
351
  }, []), ue = ke(
304
352
  () => ({
305
- goToPage: F,
306
- setZoom: ge,
353
+ goToPage: V,
354
+ setZoom: he,
307
355
  search: ve,
308
356
  print: te
309
357
  }),
310
- [F, ge, ve, te]
358
+ [V, he, ve, te]
311
359
  );
312
- Ke(b, () => ue, [ue]), He(et, ue, o);
313
- const Ae = Q(
360
+ Ke(b, () => ue, [ue]), Be(et, ue, o);
361
+ const Ae = H(
314
362
  (e) => {
315
363
  if (!s) return;
316
364
  const r = e.metaKey || e.ctrlKey;
317
365
  if (e.key === "PageDown") {
318
- e.preventDefault(), F(u + 1);
366
+ e.preventDefault(), V(u + 1);
319
367
  return;
320
368
  }
321
369
  if (e.key === "PageUp") {
322
- e.preventDefault(), F(u - 1);
370
+ e.preventDefault(), V(u - 1);
323
371
  return;
324
372
  }
325
373
  if (e.key === "Home") {
326
- e.preventDefault(), F(1);
374
+ e.preventDefault(), V(1);
327
375
  return;
328
376
  }
329
377
  if (e.key === "End") {
330
- e.preventDefault(), F(s.numPages);
378
+ e.preventDefault(), V(s.numPages);
331
379
  return;
332
380
  }
333
381
  if (r && e.key.toLowerCase() === "f") {
@@ -350,26 +398,26 @@ const ot = Le(
350
398
  }
351
399
  r && e.key.toLowerCase() === "p" && (e.preventDefault(), te());
352
400
  },
353
- [u, F, te, s]
401
+ [u, V, te, s]
354
402
  ), fe = E(u);
355
- O(() => {
403
+ T(() => {
356
404
  fe.current = u;
357
- }, [u]), O(() => {
405
+ }, [u]), T(() => {
358
406
  if (!s) return;
359
407
  const e = oe.current;
360
408
  if (!e) return;
361
409
  const r = /* @__PURE__ */ new Map(), c = new IntersectionObserver(
362
410
  (d) => {
363
- for (const V of d) {
364
- const G = V.target.dataset.pageNumber;
411
+ for (const F of d) {
412
+ const G = F.target.dataset.pageNumber;
365
413
  if (!G) continue;
366
414
  const _e = Number(G);
367
- r.set(_e, V.intersectionRatio);
415
+ r.set(_e, F.intersectionRatio);
368
416
  }
369
- let j = fe.current, H = 0, J = 1 / 0, $ = -1 / 0;
370
- for (const [V, G] of r.entries())
371
- G > H && (j = V, H = G), G > 0 && (J = Math.min(J, V), $ = Math.max($, V));
372
- H > 0 && j !== fe.current && R(j), J !== 1 / 0 && B({
417
+ let j = fe.current, B = 0, J = 1 / 0, $ = -1 / 0;
418
+ for (const [F, G] of r.entries())
419
+ G > B && (j = F, B = G), G > 0 && (J = Math.min(J, F), $ = Math.max($, F));
420
+ B > 0 && j !== fe.current && O(j), J !== 1 / 0 && q({
373
421
  start: Math.max(1, J - 1),
374
422
  end: Math.min(s.numPages, $ + 1)
375
423
  });
@@ -380,24 +428,24 @@ const ot = Le(
380
428
  d && c.observe(d);
381
429
  }), () => c.disconnect();
382
430
  }, [s]);
383
- const [je, Fe] = y(0);
384
- O(() => {
431
+ const [je, Ve] = y(0);
432
+ T(() => {
385
433
  const e = oe.current;
386
434
  if (!e || typeof ResizeObserver > "u") return;
387
435
  const r = new ResizeObserver(() => {
388
- (C === "fit-width" || C === "fit-page") && Fe((c) => c + 1);
436
+ (C === "fit-width" || C === "fit-page") && Ve((c) => c + 1);
389
437
  });
390
438
  return r.observe(e), () => r.disconnect();
391
439
  }, [C]);
392
- const be = E([]), [ie, ye] = y(0), Ve = Q(
440
+ const be = E([]), [ie, ye] = y(0), Fe = H(
393
441
  (e) => (r) => {
394
442
  be.current[e] = r;
395
443
  },
396
444
  []
397
- ), xe = Q((e) => {
445
+ ), xe = H((e) => {
398
446
  const r = be.current[e];
399
447
  r && r.focus();
400
- }, []), de = L === "minimal" ? 2 : 8, Ee = Q(
448
+ }, []), de = L === "minimal" ? 2 : 8, Ee = H(
401
449
  (e) => {
402
450
  const r = A ? "ArrowLeft" : "ArrowRight", c = A ? "ArrowRight" : "ArrowLeft";
403
451
  let d = null;
@@ -421,7 +469,7 @@ const ot = Le(
421
469
  /* @__PURE__ */ _(
422
470
  "div",
423
471
  {
424
- id: M,
472
+ id: I,
425
473
  role: "region",
426
474
  "aria-label": P ?? l("pdf.toolbarLabel"),
427
475
  className: [Pe(), S].filter(Boolean).join(" "),
@@ -439,9 +487,9 @@ const ot = Le(
439
487
  currentPage: u,
440
488
  numPages: (s == null ? void 0 : s.numPages) ?? 0,
441
489
  zoom: C,
442
- onPrev: () => F(u - 1),
443
- onNext: () => F(u + 1),
444
- onJump: (e) => F(e),
490
+ onPrev: () => V(u - 1),
491
+ onNext: () => V(u + 1),
492
+ onJump: (e) => V(e),
445
493
  onZoomIn: () => {
446
494
  D(
447
495
  (e) => Y(e) ? Math.min(e * 1.25, 4) : 1.25
@@ -459,10 +507,10 @@ const ot = Le(
459
507
  onSearchOpenChange: f,
460
508
  searchQuery: ee,
461
509
  onSearchQueryChange: (e) => {
462
- he(e);
510
+ ge(e);
463
511
  },
464
- searchMatches: Re,
465
- register: Ve,
512
+ searchMatches: Oe,
513
+ register: Fe,
466
514
  focusIndex: ie,
467
515
  setFocusIndex: ye,
468
516
  onToolbarKeyDown: Ee,
@@ -486,8 +534,8 @@ const ot = Le(
486
534
  totalPages: s.numPages,
487
535
  doc: s.doc,
488
536
  zoom: C,
489
- pageRotation: h,
490
- renderPageOverlay: g,
537
+ pageRotation: g,
538
+ renderPageOverlay: h,
491
539
  container: oe.current,
492
540
  resizeTick: je,
493
541
  shouldRender: e >= Z.start && e <= Z.end,
@@ -496,7 +544,7 @@ const ot = Le(
496
544
  },
497
545
  searchQuery: ee,
498
546
  onMatchCount: (r) => {
499
- Te((c) => r === 0 && c.total === 0 ? c : {
547
+ Re((c) => r === 0 && c.total === 0 ? c : {
500
548
  current: Math.min(c.current || 1, r || 1),
501
549
  total: Math.max(c.total, r)
502
550
  });
@@ -505,7 +553,7 @@ const ot = Le(
505
553
  e
506
554
  )
507
555
  ) : /* @__PURE__ */ _("div", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:text-[var(--muted-foreground)] ds:p-[var(--spacing-lg)]", children: [
508
- /* @__PURE__ */ a(Be, { variant: "pulse", size: "sm", label: l("pdf.loading") }),
556
+ /* @__PURE__ */ a(qe, { variant: "pulse", size: "sm", label: l("pdf.loading") }),
509
557
  /* @__PURE__ */ a("span", { children: l("pdf.loading") })
510
558
  ] })
511
559
  }
@@ -521,8 +569,8 @@ function it(o) {
521
569
  const { t } = me(), {
522
570
  variant: v,
523
571
  currentPage: m,
524
- numPages: h,
525
- zoom: g,
572
+ numPages: g,
573
+ zoom: h,
526
574
  onPrev: x,
527
575
  onNext: w,
528
576
  onJump: k,
@@ -532,32 +580,32 @@ function it(o) {
532
580
  onOpenSearch: S,
533
581
  onPrint: b,
534
582
  searchOpen: l,
535
- onSearchOpenChange: I,
536
- searchQuery: M,
583
+ onSearchOpenChange: M,
584
+ searchQuery: I,
537
585
  onSearchQueryChange: A,
538
586
  searchMatches: p,
539
587
  register: K,
540
- focusIndex: W,
588
+ focusIndex: Q,
541
589
  setFocusIndex: s,
542
- onToolbarKeyDown: q
543
- } = o, i = v === "minimal", N = i ? 0 : 3, u = i ? 1 : 4, R = 5, [C, D] = y(String(m));
544
- O(() => {
590
+ onToolbarKeyDown: W
591
+ } = o, i = v === "minimal", N = i ? 0 : 3, u = i ? 1 : 4, O = 5, [C, D] = y(String(m));
592
+ T(() => {
545
593
  D(String(m));
546
594
  }, [m]);
547
- const Z = m <= 1, B = m >= h;
595
+ const Z = m <= 1, q = m >= g;
548
596
  function U() {
549
597
  const n = Number(C);
550
- Number.isFinite(n) && n >= 1 ? k(Math.min(n, h)) : D(String(m));
598
+ Number.isFinite(n) && n >= 1 ? k(Math.min(n, g)) : D(String(m));
551
599
  }
552
- function T(n) {
600
+ function R(n) {
553
601
  return /* @__PURE__ */ a(
554
602
  "button",
555
603
  {
556
604
  type: "button",
557
605
  ref: K(n.index),
558
- tabIndex: n.index === W ? 0 : -1,
606
+ tabIndex: n.index === Q ? 0 : -1,
559
607
  onFocus: () => s(n.index),
560
- onKeyDown: q,
608
+ onKeyDown: W,
561
609
  "aria-label": n.label,
562
610
  "aria-disabled": n.disabled || void 0,
563
611
  title: n.label,
@@ -581,26 +629,26 @@ function it(o) {
581
629
  className: tt(),
582
630
  children: [
583
631
  !i && /* @__PURE__ */ _(we, { children: [
584
- T({
632
+ R({
585
633
  index: 0,
586
634
  label: t("pdf.previousPage"),
587
635
  disabled: Z,
588
636
  onActivate: x,
589
637
  icon: /* @__PURE__ */ a(
590
- We,
638
+ Qe,
591
639
  {
592
640
  "aria-hidden": "true",
593
641
  className: "ds:block-size-4 ds:inline-size-4 ds:rtl:rotate-180"
594
642
  }
595
643
  )
596
644
  }),
597
- T({
645
+ R({
598
646
  index: 1,
599
647
  label: t("pdf.nextPage"),
600
- disabled: B,
648
+ disabled: q,
601
649
  onActivate: w,
602
650
  icon: /* @__PURE__ */ a(
603
- qe,
651
+ We,
604
652
  {
605
653
  "aria-hidden": "true",
606
654
  className: "ds:block-size-4 ds:inline-size-4 ds:rtl:rotate-180"
@@ -612,7 +660,7 @@ function it(o) {
612
660
  {
613
661
  type: "number",
614
662
  min: 1,
615
- max: Math.max(h, 1),
663
+ max: Math.max(g, 1),
616
664
  value: C,
617
665
  onChange: (n) => D(n.target.value),
618
666
  onKeyDown: (n) => {
@@ -621,9 +669,9 @@ function it(o) {
621
669
  onBlur: U,
622
670
  onFocus: () => s(2),
623
671
  ref: K(2),
624
- tabIndex: W === 2 ? 0 : -1,
672
+ tabIndex: Q === 2 ? 0 : -1,
625
673
  "aria-label": t("pdf.currentPageInput"),
626
- className: Ie()
674
+ className: Me()
627
675
  }
628
676
  ),
629
677
  /* @__PURE__ */ a(
@@ -631,7 +679,7 @@ function it(o) {
631
679
  {
632
680
  "aria-hidden": "true",
633
681
  className: "type-body-sm ds:text-[var(--muted-foreground)]",
634
- children: t("pdf.pageOf", { current: m, total: h || 0 })
682
+ children: t("pdf.pageOf", { current: m, total: g || 0 })
635
683
  }
636
684
  ),
637
685
  /* @__PURE__ */ a(
@@ -642,7 +690,7 @@ function it(o) {
642
690
  }
643
691
  )
644
692
  ] }),
645
- T({
693
+ R({
646
694
  index: N,
647
695
  label: t("pdf.zoom.out"),
648
696
  onActivate: L,
@@ -654,7 +702,7 @@ function it(o) {
654
702
  }
655
703
  )
656
704
  }),
657
- T({
705
+ R({
658
706
  index: u,
659
707
  label: t("pdf.zoom.in"),
660
708
  onActivate: z,
@@ -670,7 +718,7 @@ function it(o) {
670
718
  "select",
671
719
  {
672
720
  "aria-label": t("pdf.zoom.preset"),
673
- value: typeof g == "number" ? String(g) : g,
721
+ value: typeof h == "number" ? String(h) : h,
674
722
  onChange: (n) => {
675
723
  const f = n.target.value;
676
724
  if (f === "fit-width" || f === "fit-page" || f === "actual-size")
@@ -680,10 +728,10 @@ function it(o) {
680
728
  Number.isFinite(ee) && P(ee);
681
729
  }
682
730
  },
683
- ref: K(R),
684
- tabIndex: W === R ? 0 : -1,
685
- onFocus: () => s(R),
686
- onKeyDown: q,
731
+ ref: K(O),
732
+ tabIndex: Q === O ? 0 : -1,
733
+ onFocus: () => s(O),
734
+ onKeyDown: W,
687
735
  className: rt(),
688
736
  children: [
689
737
  /* @__PURE__ */ a("option", { value: "fit-width", children: t("pdf.zoom.fitWidth") }),
@@ -698,9 +746,9 @@ function it(o) {
698
746
  re.Root,
699
747
  {
700
748
  open: l,
701
- onOpenChange: I,
749
+ onOpenChange: M,
702
750
  children: [
703
- /* @__PURE__ */ a(re.Trigger, { asChild: !0, children: T({
751
+ /* @__PURE__ */ a(re.Trigger, { asChild: !0, children: R({
704
752
  index: 6,
705
753
  label: t("pdf.search.open"),
706
754
  onActivate: S,
@@ -730,11 +778,11 @@ function it(o) {
730
778
  {
731
779
  type: "search",
732
780
  autoFocus: !0,
733
- value: M,
781
+ value: I,
734
782
  onChange: (n) => A(n.target.value),
735
783
  placeholder: t("pdf.search.placeholder"),
736
784
  "aria-label": t("pdf.search.placeholder"),
737
- className: Ie({
785
+ className: Me({
738
786
  className: "ds:inline-size-[16rem] ds:text-start"
739
787
  })
740
788
  }
@@ -747,7 +795,7 @@ function it(o) {
747
795
  children: p.total > 0 ? t("pdf.search.countOfTotal", {
748
796
  current: p.current,
749
797
  total: p.total
750
- }) : M ? t("pdf.search.noResults") : ""
798
+ }) : I ? t("pdf.search.noResults") : ""
751
799
  }
752
800
  ),
753
801
  /* @__PURE__ */ a(re.Close, { asChild: !0, children: /* @__PURE__ */ a(
@@ -757,7 +805,7 @@ function it(o) {
757
805
  "aria-label": t("pdf.search.close"),
758
806
  className: Se(),
759
807
  children: /* @__PURE__ */ a(
760
- Qe,
808
+ He,
761
809
  {
762
810
  "aria-hidden": "true",
763
811
  className: "ds:block-size-4 ds:inline-size-4"
@@ -771,7 +819,7 @@ function it(o) {
771
819
  ]
772
820
  }
773
821
  ),
774
- T({
822
+ R({
775
823
  index: 7,
776
824
  label: t("pdf.print"),
777
825
  onActivate: b,
@@ -793,8 +841,8 @@ function dt(o) {
793
841
  pageNumber: t,
794
842
  totalPages: v,
795
843
  doc: m,
796
- zoom: h,
797
- pageRotation: g,
844
+ zoom: g,
845
+ pageRotation: h,
798
846
  renderPageOverlay: x,
799
847
  container: w,
800
848
  resizeTick: k,
@@ -802,56 +850,56 @@ function dt(o) {
802
850
  registerRef: L,
803
851
  searchQuery: P,
804
852
  onMatchCount: S
805
- } = o, { t: b } = me(), l = E(null), I = E(null), [M, A] = y({
853
+ } = o, { t: b } = me(), l = E(null), M = E(null), [I, A] = y({
806
854
  width: 612,
807
855
  height: 792
808
856
  }), [p, K] = y(null);
809
- O(() => {
857
+ T(() => {
810
858
  let i = !1;
811
859
  return m.getPage(t).then((N) => {
812
860
  i || K(N);
813
861
  }), () => {
814
862
  i = !0;
815
863
  };
816
- }, [m, t]), O(() => {
864
+ }, [m, t]), T(() => {
817
865
  if (!p) return;
818
- const i = (C) => g === void 0 ? { scale: C } : { scale: C, rotation: g }, N = p.getViewport(i(1)), u = Me(h, N, w), R = p.getViewport(i(u));
866
+ const i = (C) => h === void 0 ? { scale: C } : { scale: C, rotation: h }, N = p.getViewport(i(1)), u = Ie(g, N, w), O = p.getViewport(i(u));
819
867
  A({
820
- width: Math.floor(R.width),
821
- height: Math.floor(R.height)
868
+ width: Math.floor(O.width),
869
+ height: Math.floor(O.height)
822
870
  });
823
- }, [p, h, w, k, g]);
824
- const W = g ?? (p == null ? void 0 : p.rotate) ?? 0;
825
- O(() => {
871
+ }, [p, g, w, k, h]);
872
+ const Q = h ?? (p == null ? void 0 : p.rotate) ?? 0;
873
+ T(() => {
826
874
  if (!p || !z) {
827
875
  const f = l.current;
828
876
  f && !z && (f.width = 0);
829
877
  return;
830
878
  }
831
- const i = l.current, N = I.current;
879
+ const i = l.current, N = M.current;
832
880
  if (!i) return;
833
881
  const u = i.getContext("2d");
834
882
  if (!u) return;
835
- const R = (f) => g === void 0 ? { scale: f } : { scale: f, rotation: g }, C = p.getViewport(R(1)), D = Me(h, C, w), Z = p.getViewport(R(D)), B = Math.max(1, window.devicePixelRatio || 1);
836
- i.width = Math.floor(Z.width * B), i.height = Math.floor(Z.height * B), u.setTransform(B, 0, 0, B, 0, 0);
883
+ const O = (f) => h === void 0 ? { scale: f } : { scale: f, rotation: h }, C = p.getViewport(O(1)), D = Ie(g, C, w), Z = p.getViewport(O(D)), q = Math.max(1, window.devicePixelRatio || 1);
884
+ i.width = Math.floor(Z.width * q), i.height = Math.floor(Z.height * q), u.setTransform(q, 0, 0, q, 0, 0);
837
885
  const U = p.render({
838
886
  canvas: i,
839
887
  canvasContext: u,
840
888
  viewport: Z
841
889
  });
842
- let T = !1, n = null;
890
+ let R = !1, n = null;
843
891
  return U.promise.then(async () => {
844
- if (T || !N) return;
892
+ if (R || !N) return;
845
893
  N.textContent = "";
846
894
  const f = await p.getTextContent();
847
- T || (n = new pe.TextLayer({
895
+ R || (n = new pe.TextLayer({
848
896
  textContentSource: f,
849
897
  container: N,
850
898
  viewport: Z
851
899
  }), await n.render(), Ce(N, P, S));
852
900
  }).catch(() => {
853
901
  }), () => {
854
- T = !0;
902
+ R = !0;
855
903
  try {
856
904
  U.cancel();
857
905
  } catch {
@@ -865,23 +913,23 @@ function dt(o) {
865
913
  }, [
866
914
  p,
867
915
  z,
868
- h,
916
+ g,
869
917
  w,
870
918
  k,
871
919
  P,
872
920
  S,
873
- g
874
- ]), O(() => {
921
+ h
922
+ ]), T(() => {
875
923
  if (!z) return;
876
- const i = I.current;
924
+ const i = M.current;
877
925
  i && Ce(i, P, S);
878
926
  }, [P, z, S]);
879
927
  const s = {
880
- width: M.width,
881
- height: M.height
882
- }, q = {
883
- width: M.width,
884
- height: M.height
928
+ width: I.width,
929
+ height: I.height
930
+ }, W = {
931
+ width: I.width,
932
+ height: I.height
885
933
  };
886
934
  return /* @__PURE__ */ _(
887
935
  "article",
@@ -892,13 +940,13 @@ function dt(o) {
892
940
  "data-page-number": t,
893
941
  "aria-label": b("pdf.pageOf", { current: t, total: v }),
894
942
  className: at(),
895
- style: q,
943
+ style: W,
896
944
  children: [
897
945
  /* @__PURE__ */ a("canvas", { ref: l, style: s }),
898
946
  /* @__PURE__ */ a(
899
947
  "div",
900
948
  {
901
- ref: I,
949
+ ref: M,
902
950
  "aria-hidden": "false",
903
951
  className: [
904
952
  "ds:absolute ds:inset-0",
@@ -922,9 +970,9 @@ function dt(o) {
922
970
  "data-page-number": t,
923
971
  children: x({
924
972
  pageNumber: t,
925
- pageWidthCss: M.width,
926
- pageHeightCss: M.height,
927
- rotation: W
973
+ pageWidthCss: I.width,
974
+ pageHeightCss: I.height,
975
+ rotation: Q
928
976
  })
929
977
  }
930
978
  ) : null
@@ -942,14 +990,14 @@ function Ce(o, t, v) {
942
990
  v(0);
943
991
  return;
944
992
  }
945
- const h = Ne(t);
946
- if (!h) {
993
+ const g = Ne(t);
994
+ if (!g) {
947
995
  v(0);
948
996
  return;
949
997
  }
950
- const g = Array.from(o.querySelectorAll("span")), x = [], w = [];
998
+ const h = Array.from(o.querySelectorAll("span")), x = [], w = [];
951
999
  let k = 0;
952
- for (const b of g) {
1000
+ for (const b of h) {
953
1001
  const l = Ne(b.textContent ?? "");
954
1002
  x.push({ start: k, end: k + l.length }), w.push(l), k += l.length;
955
1003
  }
@@ -957,23 +1005,23 @@ function Ce(o, t, v) {
957
1005
  let L = 0;
958
1006
  const P = /* @__PURE__ */ new Set();
959
1007
  let S = 0;
960
- for (; S <= z.length - h.length; ) {
961
- const b = z.indexOf(h, S);
1008
+ for (; S <= z.length - g.length; ) {
1009
+ const b = z.indexOf(g, S);
962
1010
  if (b === -1) break;
963
1011
  L += 1;
964
- const l = b + h.length;
965
- for (let I = 0; I < x.length; I++) {
966
- const { start: M, end: A } = x[I];
967
- M < l && A > b && P.add(I);
1012
+ const l = b + g.length;
1013
+ for (let M = 0; M < x.length; M++) {
1014
+ const { start: I, end: A } = x[M];
1015
+ I < l && A > b && P.add(M);
968
1016
  }
969
1017
  S = l;
970
1018
  }
971
1019
  P.forEach((b) => {
972
- g[b].setAttribute("data-match", "true");
1020
+ h[b].setAttribute("data-match", "true");
973
1021
  }), v(L);
974
1022
  }
975
1023
  export {
976
1024
  ot as P,
977
1025
  et as p
978
1026
  };
979
- //# sourceMappingURL=pdf-viewer-GsfNqeeT.js.map
1027
+ //# sourceMappingURL=pdf-viewer-D6BPfW2D.js.map