@alfadocs/ui-kit-debug 1.132.0 → 1.134.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 (463) hide show
  1. package/dist/_chunks/{agenda-card-B8hV3dZV.js → agenda-card-B9wgX_Ed.js} +2 -2
  2. package/dist/_chunks/{agenda-card-B8hV3dZV.js.map → agenda-card-B9wgX_Ed.js.map} +1 -1
  3. package/dist/_chunks/{agenda-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
  4. package/dist/_chunks/{agenda-tray-Bu46s3dI.js.map → agenda-tray-CGcS_qoM.js.map} +1 -1
  5. package/dist/_chunks/appointment-card-DG3m9yN-.js +504 -0
  6. package/dist/_chunks/appointment-card-DG3m9yN-.js.map +1 -0
  7. package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BK0tDs4C.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-DZa6xyUb.js.map → appointment-peek-BK0tDs4C.js.map} +1 -1
  9. package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-BiI2riRZ.js} +2 -2
  10. package/dist/_chunks/{appointment-timeline-DQePqpyH.js.map → appointment-timeline-BiI2riRZ.js.map} +1 -1
  11. package/dist/_chunks/appointment-tray-ClJCtYQj.js +200 -0
  12. package/dist/_chunks/appointment-tray-ClJCtYQj.js.map +1 -0
  13. package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
  14. package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js.map → appointment-workflow-status-S-lx81Yz.js.map} +1 -1
  15. package/dist/_chunks/ban-CiSCCcOE.js +15 -0
  16. package/dist/_chunks/ban-CiSCCcOE.js.map +1 -0
  17. package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
  18. package/dist/_chunks/{calendar-BIoOeBTT.js.map → calendar-CyLtLBNP.js.map} +1 -1
  19. package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js +13773 -0
  20. package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js.map +1 -0
  21. package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
  22. package/dist/_chunks/{calendar-event-card-BNEzkjm-.js.map → calendar-event-card-BJifpYZQ.js.map} +1 -1
  23. package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
  24. package/dist/_chunks/{care-plan-card-DKScH9Ss.js.map → care-plan-card-CjHq6PLo.js.map} +1 -1
  25. package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
  26. package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js.map → care-plan-entry-card-DY1toF6E.js.map} +1 -1
  27. package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
  28. package/dist/_chunks/{care-plan-header-Dx5OMkc9.js.map → care-plan-header-CeFXUDnL.js.map} +1 -1
  29. package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
  30. package/dist/_chunks/check-in-documents-CEVcgcYZ.js.map +1 -0
  31. package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
  32. package/dist/_chunks/{clinical-note-card-pPaeWWnu.js.map → clinical-note-card-D--IwbZa.js.map} +1 -1
  33. package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
  34. package/dist/_chunks/document-preview-DLVIrOYV.js.map +1 -0
  35. package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
  36. package/dist/_chunks/{entity-card-fpm-KUKc.js.map → entity-card-p-LANpYt.js.map} +1 -1
  37. package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
  38. package/dist/_chunks/error-page-WLhmWUTq.js.map +1 -0
  39. package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
  40. package/dist/_chunks/finished-terminal-unDnXT4j.js.map +1 -0
  41. package/dist/_chunks/house-DGCypGTo.js +21 -0
  42. package/dist/_chunks/house-DGCypGTo.js.map +1 -0
  43. package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
  44. package/dist/_chunks/is-safe-url-CEy9CEml.js.map +1 -0
  45. package/dist/_chunks/keypad-DBH_keVs.js +152 -0
  46. package/dist/_chunks/keypad-DBH_keVs.js.map +1 -0
  47. package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
  48. package/dist/_chunks/keypad-button-mOaPQRrH.js.map +1 -0
  49. package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
  50. package/dist/_chunks/{message-card-BG3_3nN1.js.map → message-card-Bw_q1qKx.js.map} +1 -1
  51. package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
  52. package/dist/_chunks/{message-tray-BjZv0Fsk.js.map → message-tray-pLGgLmoG.js.map} +1 -1
  53. package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
  54. package/dist/_chunks/{note-attachment-MNTIqdSz.js.map → note-attachment-JTIy9iXN.js.map} +1 -1
  55. package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
  56. package/dist/_chunks/{note-timeline-BQeW0VZY.js.map → note-timeline-BbjHMhkL.js.map} +1 -1
  57. package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BAyPOr8N.js} +2 -2
  58. package/dist/_chunks/{notes-panel-Cm-_pCRJ.js.map → notes-panel-BAyPOr8N.js.map} +1 -1
  59. package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
  60. package/dist/_chunks/{operator-hero-CnfWckNQ.js.map → operator-hero-D4wfVu2l.js.map} +1 -1
  61. package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
  62. package/dist/_chunks/otp-input-BNOTlxq3.js.map +1 -0
  63. package/dist/_chunks/patient-account-settings-BkAtIxJW.js +546 -0
  64. package/dist/_chunks/patient-account-settings-BkAtIxJW.js.map +1 -0
  65. package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
  66. package/dist/_chunks/patient-card-DTh3QTyS.js.map +1 -0
  67. package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js +742 -0
  68. package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js.map +1 -0
  69. package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
  70. package/dist/_chunks/patient-sign-in-pin-CDBqV254.js.map +1 -0
  71. package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
  72. package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js.map +1 -0
  73. package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
  74. package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js.map → patient-summary-card-Bl2NknPe.js.map} +1 -1
  75. package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
  76. package/dist/_chunks/{payment-request-card-Dv4WbRBe.js.map → payment-request-card-CNW00DCx.js.map} +1 -1
  77. package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
  78. package/dist/_chunks/pdf-viewer-TRC5jEm5.js.map +1 -0
  79. package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
  80. package/dist/_chunks/pin-entry-BugWQMOS.js.map +1 -0
  81. package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
  82. package/dist/_chunks/pin-indicator-Cb-n40UI.js.map +1 -0
  83. package/dist/_chunks/portal-details-CTEsm705.js +478 -0
  84. package/dist/_chunks/portal-details-CTEsm705.js.map +1 -0
  85. package/dist/_chunks/portal-documents-D8skew0h.js +902 -0
  86. package/dist/_chunks/portal-documents-D8skew0h.js.map +1 -0
  87. package/dist/_chunks/portal-parts-BdR29P7z.js +285 -0
  88. package/dist/_chunks/portal-parts-BdR29P7z.js.map +1 -0
  89. package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
  90. package/dist/_chunks/{privacy-mask-DJ1gee4c.js.map → privacy-mask-C19dJFMk.js.map} +1 -1
  91. package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
  92. package/dist/_chunks/{product-hub-panel-a8wdVOUt.js.map → product-hub-panel-K4QbULG7.js.map} +1 -1
  93. package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
  94. package/dist/_chunks/{registration-form-CwbhtKcy.js.map → registration-form-DS3RuKHu.js.map} +1 -1
  95. package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
  96. package/dist/_chunks/{reserved.agent-W8mR179D.js.map → reserved.agent-DOzOBUW7.js.map} +1 -1
  97. package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
  98. package/dist/_chunks/session-countdown-DOx1IBUB.js.map +1 -0
  99. package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
  100. package/dist/_chunks/{sign-document-CQZVzfpk.js.map → sign-document-DDZbmYHu.js.map} +1 -1
  101. package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
  102. package/dist/_chunks/signature-field-BjlY_yXH.js.map +1 -0
  103. package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
  104. package/dist/_chunks/{signature-request-4pGq3YBe.js.map → signature-request-CHsM_iWi.js.map} +1 -1
  105. package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
  106. package/dist/_chunks/signature-status-chip-DS9hHwIt.js.map +1 -0
  107. package/dist/_chunks/signing-end-screen-an9P8DOT.js +1041 -0
  108. package/dist/_chunks/signing-end-screen-an9P8DOT.js.map +1 -0
  109. package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
  110. package/dist/_chunks/sms-code-entry-Dgp4GwlM.js.map +1 -0
  111. package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
  112. package/dist/_chunks/step-up-dialog-C2JqJmCA.js.map +1 -0
  113. package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-g1AGfxhr.js} +38 -38
  114. package/dist/_chunks/{task-editor-BL2hHxNz.js.map → task-editor-g1AGfxhr.js.map} +1 -1
  115. package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-Dzc6fEzG.js} +6 -6
  116. package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js.map → use-appointment-details-read-Dzc6fEzG.js.map} +1 -1
  117. package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
  118. package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js.map +1 -0
  119. package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
  120. package/dist/_chunks/user-x-BJZg4kaP.js.map +1 -0
  121. package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
  122. package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js.map → verify-identity-types-C6Bam8v6.js.map} +1 -1
  123. package/dist/agent-catalog.json +723 -364
  124. package/dist/agent-i18n/en.json +75 -18
  125. package/dist/browser-support.js +1 -1
  126. package/dist/components/_shared/is-safe-url.d.ts +3 -1
  127. package/dist/components/_shared/is-safe-url.d.ts.map +1 -1
  128. package/dist/components/agenda-card/index.js +2 -2
  129. package/dist/components/agenda-tray/index.js +1 -1
  130. package/dist/components/appointment-card/appointment-card.d.ts +45 -0
  131. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  132. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -1
  133. package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
  134. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -1
  135. package/dist/components/appointment-card/index.js +3 -3
  136. package/dist/components/appointment-details-panel/index.js +1 -1
  137. package/dist/components/appointment-peek/index.js +1 -1
  138. package/dist/components/appointment-timeline/index.js +1 -1
  139. package/dist/components/booking/index.js +1 -1
  140. package/dist/components/calendar/index.js +1 -1
  141. package/dist/components/calendar-event-card/index.js +1 -1
  142. package/dist/components/care-plan-card/index.js +1 -1
  143. package/dist/components/care-plan-entry-card/index.js +1 -1
  144. package/dist/components/care-plan-header/index.js +1 -1
  145. package/dist/components/clinical-note-card/index.js +1 -1
  146. package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -1
  147. package/dist/components/document-preview/document-preview.d.ts +61 -7
  148. package/dist/components/document-preview/document-preview.d.ts.map +1 -1
  149. package/dist/components/document-preview/index.js +1 -1
  150. package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
  151. package/dist/components/finished-terminal/finished-terminal.d.ts.map +1 -1
  152. package/dist/components/finished-terminal/index.d.ts +1 -1
  153. package/dist/components/finished-terminal/index.d.ts.map +1 -1
  154. package/dist/components/finished-terminal/index.js +1 -1
  155. package/dist/components/index.d.ts +12 -0
  156. package/dist/components/index.d.ts.map +1 -1
  157. package/dist/components/keypad/index.d.ts +3 -0
  158. package/dist/components/keypad/index.d.ts.map +1 -0
  159. package/dist/components/keypad/index.js +6 -0
  160. package/dist/components/keypad/index.js.map +1 -0
  161. package/dist/components/keypad/keypad.d.ts +54 -0
  162. package/dist/components/keypad/keypad.d.ts.map +1 -0
  163. package/dist/components/keypad-button/index.d.ts +3 -0
  164. package/dist/components/keypad-button/index.d.ts.map +1 -0
  165. package/dist/components/keypad-button/index.js +6 -0
  166. package/dist/components/keypad-button/index.js.map +1 -0
  167. package/dist/components/keypad-button/keypad-button.d.ts +33 -0
  168. package/dist/components/keypad-button/keypad-button.d.ts.map +1 -0
  169. package/dist/components/message-card/index.js +2 -2
  170. package/dist/components/message-tray/index.js +1 -1
  171. package/dist/components/note-timeline/index.js +1 -1
  172. package/dist/components/notes-panel/index.js +1 -1
  173. package/dist/components/operator-hero/index.js +1 -1
  174. package/dist/components/otp-input/index.js +1 -1
  175. package/dist/components/otp-input/otp-input.d.ts +11 -0
  176. package/dist/components/otp-input/otp-input.d.ts.map +1 -1
  177. package/dist/components/patient-summary-card/index.js +1 -1
  178. package/dist/components/payment-card/index.js +1 -1
  179. package/dist/components/pdf-viewer/index.js +1 -1
  180. package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
  181. package/dist/components/pdf-viewer/pdf-viewer.d.ts +7 -0
  182. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  183. package/dist/components/pin-entry/index.d.ts +3 -0
  184. package/dist/components/pin-entry/index.d.ts.map +1 -0
  185. package/dist/components/pin-entry/index.js +5 -0
  186. package/dist/components/pin-entry/index.js.map +1 -0
  187. package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
  188. package/dist/components/pin-entry/pin-entry.agent.d.ts.map +1 -0
  189. package/dist/components/pin-entry/pin-entry.d.ts +64 -0
  190. package/dist/components/pin-entry/pin-entry.d.ts.map +1 -0
  191. package/dist/components/pin-indicator/index.d.ts +3 -0
  192. package/dist/components/pin-indicator/index.d.ts.map +1 -0
  193. package/dist/components/pin-indicator/index.js +9 -0
  194. package/dist/components/pin-indicator/index.js.map +1 -0
  195. package/dist/components/pin-indicator/pin-indicator.d.ts +34 -0
  196. package/dist/components/pin-indicator/pin-indicator.d.ts.map +1 -0
  197. package/dist/components/product-hub-tray/index.js +2 -2
  198. package/dist/components/session-countdown/index.js +1 -1
  199. package/dist/components/session-countdown/session-countdown.d.ts +19 -0
  200. package/dist/components/session-countdown/session-countdown.d.ts.map +1 -1
  201. package/dist/components/sign-document/index.js +1 -1
  202. package/dist/components/signature-field/index.js +1 -1
  203. package/dist/components/signature-field/signature-field.d.ts +17 -6
  204. package/dist/components/signature-field/signature-field.d.ts.map +1 -1
  205. package/dist/components/signature-status-chip/index.js +1 -1
  206. package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
  207. package/dist/components/signature-status-chip/signature-status-chip.d.ts.map +1 -1
  208. package/dist/components/sms-code-entry/index.d.ts +3 -0
  209. package/dist/components/sms-code-entry/index.d.ts.map +1 -0
  210. package/dist/components/sms-code-entry/index.js +5 -0
  211. package/dist/components/sms-code-entry/index.js.map +1 -0
  212. package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
  213. package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts.map +1 -0
  214. package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
  215. package/dist/components/sms-code-entry/sms-code-entry.d.ts.map +1 -0
  216. package/dist/components/step-up-dialog/index.d.ts +3 -0
  217. package/dist/components/step-up-dialog/index.d.ts.map +1 -0
  218. package/dist/components/step-up-dialog/index.js +5 -0
  219. package/dist/components/step-up-dialog/index.js.map +1 -0
  220. package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
  221. package/dist/components/step-up-dialog/step-up-dialog.d.ts.map +1 -0
  222. package/dist/components/task-editor/index.js +1 -1
  223. package/dist/components/workflow-status/index.js +1 -1
  224. package/dist/core.css +1 -1
  225. package/dist/hooks/index.js +1 -1
  226. package/dist/hooks/use-signing-session.d.ts +7 -2
  227. package/dist/hooks/use-signing-session.d.ts.map +1 -1
  228. package/dist/host-compat.css +10 -1
  229. package/dist/i18n/locales/ar.d.ts +514 -1
  230. package/dist/i18n/locales/ar.d.ts.map +1 -1
  231. package/dist/i18n/locales/ar.js +512 -4
  232. package/dist/i18n/locales/ar.js.map +1 -1
  233. package/dist/i18n/locales/de.d.ts +514 -1
  234. package/dist/i18n/locales/de.d.ts.map +1 -1
  235. package/dist/i18n/locales/de.js +520 -5
  236. package/dist/i18n/locales/de.js.map +1 -1
  237. package/dist/i18n/locales/el.d.ts +514 -1
  238. package/dist/i18n/locales/el.d.ts.map +1 -1
  239. package/dist/i18n/locales/el.js +515 -5
  240. package/dist/i18n/locales/el.js.map +1 -1
  241. package/dist/i18n/locales/en.d.ts +516 -1
  242. package/dist/i18n/locales/en.d.ts.map +1 -1
  243. package/dist/i18n/locales/en.js +522 -4
  244. package/dist/i18n/locales/en.js.map +1 -1
  245. package/dist/i18n/locales/es.d.ts +514 -1
  246. package/dist/i18n/locales/es.d.ts.map +1 -1
  247. package/dist/i18n/locales/es.js +513 -5
  248. package/dist/i18n/locales/es.js.map +1 -1
  249. package/dist/i18n/locales/fr.d.ts +514 -1
  250. package/dist/i18n/locales/fr.d.ts.map +1 -1
  251. package/dist/i18n/locales/fr.js +513 -5
  252. package/dist/i18n/locales/fr.js.map +1 -1
  253. package/dist/i18n/locales/hi.d.ts +514 -1
  254. package/dist/i18n/locales/hi.d.ts.map +1 -1
  255. package/dist/i18n/locales/hi.js +513 -5
  256. package/dist/i18n/locales/hi.js.map +1 -1
  257. package/dist/i18n/locales/it.d.ts +514 -1
  258. package/dist/i18n/locales/it.d.ts.map +1 -1
  259. package/dist/i18n/locales/it.js +520 -5
  260. package/dist/i18n/locales/it.js.map +1 -1
  261. package/dist/i18n/locales/ja.d.ts +514 -1
  262. package/dist/i18n/locales/ja.d.ts.map +1 -1
  263. package/dist/i18n/locales/ja.js +513 -5
  264. package/dist/i18n/locales/ja.js.map +1 -1
  265. package/dist/i18n/locales/nl.d.ts +514 -1
  266. package/dist/i18n/locales/nl.d.ts.map +1 -1
  267. package/dist/i18n/locales/nl.js +520 -5
  268. package/dist/i18n/locales/nl.js.map +1 -1
  269. package/dist/i18n/locales/pl.d.ts +514 -1
  270. package/dist/i18n/locales/pl.d.ts.map +1 -1
  271. package/dist/i18n/locales/pl.js +520 -5
  272. package/dist/i18n/locales/pl.js.map +1 -1
  273. package/dist/i18n/locales/pt.d.ts +514 -1
  274. package/dist/i18n/locales/pt.d.ts.map +1 -1
  275. package/dist/i18n/locales/pt.js +520 -5
  276. package/dist/i18n/locales/pt.js.map +1 -1
  277. package/dist/i18n/locales/ro.d.ts +514 -1
  278. package/dist/i18n/locales/ro.d.ts.map +1 -1
  279. package/dist/i18n/locales/ro.js +520 -5
  280. package/dist/i18n/locales/ro.js.map +1 -1
  281. package/dist/i18n/locales/ru.d.ts +514 -1
  282. package/dist/i18n/locales/ru.d.ts.map +1 -1
  283. package/dist/i18n/locales/ru.js +512 -4
  284. package/dist/i18n/locales/ru.js.map +1 -1
  285. package/dist/i18n/locales/sq.d.ts +514 -1
  286. package/dist/i18n/locales/sq.d.ts.map +1 -1
  287. package/dist/i18n/locales/sq.js +513 -5
  288. package/dist/i18n/locales/sq.js.map +1 -1
  289. package/dist/i18n/locales/sv.d.ts +514 -1
  290. package/dist/i18n/locales/sv.d.ts.map +1 -1
  291. package/dist/i18n/locales/sv.js +513 -5
  292. package/dist/i18n/locales/sv.js.map +1 -1
  293. package/dist/i18n/locales/tr.d.ts +514 -1
  294. package/dist/i18n/locales/tr.d.ts.map +1 -1
  295. package/dist/i18n/locales/tr.js +515 -5
  296. package/dist/i18n/locales/tr.js.map +1 -1
  297. package/dist/i18n/locales/zh.d.ts +514 -1
  298. package/dist/i18n/locales/zh.d.ts.map +1 -1
  299. package/dist/i18n/locales/zh.js +513 -5
  300. package/dist/i18n/locales/zh.js.map +1 -1
  301. package/dist/index.js +1271 -1204
  302. package/dist/index.js.map +1 -1
  303. package/dist/locales/ar.json +516 -3
  304. package/dist/locales/de.json +517 -4
  305. package/dist/locales/el.json +517 -4
  306. package/dist/locales/en.json +516 -3
  307. package/dist/locales/es.json +517 -4
  308. package/dist/locales/fr.json +517 -4
  309. package/dist/locales/hi.json +517 -4
  310. package/dist/locales/it.json +517 -4
  311. package/dist/locales/ja.json +517 -4
  312. package/dist/locales/nl.json +517 -4
  313. package/dist/locales/pl.json +517 -4
  314. package/dist/locales/pt.json +517 -4
  315. package/dist/locales/ro.json +517 -4
  316. package/dist/locales/ru.json +516 -3
  317. package/dist/locales/sq.json +517 -4
  318. package/dist/locales/sv.json +517 -4
  319. package/dist/locales/tr.json +517 -4
  320. package/dist/locales/zh.json +517 -4
  321. package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
  322. package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
  323. package/dist/patterns/calendar/calendar.journey.d.ts +4 -0
  324. package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
  325. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  326. package/dist/patterns/calendar/calendar.surface.d.ts +15 -1
  327. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  328. package/dist/patterns/calendar/calendar.types.d.ts +4 -0
  329. package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
  330. package/dist/patterns/calendar/index.js +1 -1
  331. package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
  332. package/dist/patterns/check-in-documents/check-in-documents.d.ts.map +1 -0
  333. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
  334. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts.map +1 -0
  335. package/dist/patterns/check-in-documents/index.d.ts +4 -0
  336. package/dist/patterns/check-in-documents/index.d.ts.map +1 -0
  337. package/dist/patterns/check-in-documents/index.js +5 -0
  338. package/dist/patterns/check-in-documents/index.js.map +1 -0
  339. package/dist/patterns/error-page/index.js +1 -1
  340. package/dist/patterns/patient-account-settings/index.d.ts +4 -0
  341. package/dist/patterns/patient-account-settings/index.d.ts.map +1 -0
  342. package/dist/patterns/patient-account-settings/index.js +5 -0
  343. package/dist/patterns/patient-account-settings/index.js.map +1 -0
  344. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
  345. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts.map +1 -0
  346. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
  347. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts.map +1 -0
  348. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
  349. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts.map +1 -0
  350. package/dist/patterns/patient-check-in/index.d.ts +20 -0
  351. package/dist/patterns/patient-check-in/index.d.ts.map +1 -0
  352. package/dist/patterns/patient-check-in/index.js +13 -0
  353. package/dist/patterns/patient-check-in/index.js.map +1 -0
  354. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
  355. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts.map +1 -0
  356. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
  357. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts.map +1 -0
  358. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
  359. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts.map +1 -0
  360. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
  361. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts.map +1 -0
  362. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
  363. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts.map +1 -0
  364. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
  365. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts.map +1 -0
  366. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
  367. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts.map +1 -0
  368. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
  369. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts.map +1 -0
  370. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
  371. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts.map +1 -0
  372. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
  373. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts.map +1 -0
  374. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
  375. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts.map +1 -0
  376. package/dist/patterns/patient-portal/index.d.ts +12 -0
  377. package/dist/patterns/patient-portal/index.d.ts.map +1 -0
  378. package/dist/patterns/patient-portal/index.js +13 -0
  379. package/dist/patterns/patient-portal/index.js.map +1 -0
  380. package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
  381. package/dist/patterns/patient-portal/portal-appointments.d.ts.map +1 -0
  382. package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
  383. package/dist/patterns/patient-portal/portal-details.d.ts.map +1 -0
  384. package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
  385. package/dist/patterns/patient-portal/portal-documents.d.ts.map +1 -0
  386. package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
  387. package/dist/patterns/patient-portal/portal-format.d.ts.map +1 -0
  388. package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
  389. package/dist/patterns/patient-portal/portal-home.d.ts.map +1 -0
  390. package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
  391. package/dist/patterns/patient-portal/portal-parts.d.ts.map +1 -0
  392. package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
  393. package/dist/patterns/patient-portal/portal-shell.d.ts.map +1 -0
  394. package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
  395. package/dist/patterns/patient-portal/portal-types.d.ts.map +1 -0
  396. package/dist/patterns/patient-sign-in/index.d.ts +7 -0
  397. package/dist/patterns/patient-sign-in/index.d.ts.map +1 -0
  398. package/dist/patterns/patient-sign-in/index.js +15 -0
  399. package/dist/patterns/patient-sign-in/index.js.map +1 -0
  400. package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
  401. package/dist/patterns/patient-sign-in/patient-card.d.ts.map +1 -0
  402. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
  403. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts.map +1 -0
  404. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
  405. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts.map +1 -0
  406. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
  407. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts.map +1 -0
  408. package/dist/patterns/registration-form/index.js +1 -1
  409. package/dist/patterns/signature-request/index.js +1 -1
  410. package/dist/patterns/signing/index.d.ts +25 -0
  411. package/dist/patterns/signing/index.d.ts.map +1 -0
  412. package/dist/patterns/signing/index.js +16 -0
  413. package/dist/patterns/signing/index.js.map +1 -0
  414. package/dist/patterns/signing/multi-field-signer.d.ts +117 -0
  415. package/dist/patterns/signing/multi-field-signer.d.ts.map +1 -0
  416. package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
  417. package/dist/patterns/signing/signing-awaiting-screen.d.ts.map +1 -0
  418. package/dist/patterns/signing/signing-chrome.d.ts +30 -0
  419. package/dist/patterns/signing/signing-chrome.d.ts.map +1 -0
  420. package/dist/patterns/signing/signing-document-screen.d.ts +87 -0
  421. package/dist/patterns/signing/signing-document-screen.d.ts.map +1 -0
  422. package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
  423. package/dist/patterns/signing/signing-end-screen.d.ts.map +1 -0
  424. package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
  425. package/dist/patterns/signing/signing-finished-screen.d.ts.map +1 -0
  426. package/dist/patterns/signing/signing-footer.d.ts +56 -0
  427. package/dist/patterns/signing/signing-footer.d.ts.map +1 -0
  428. package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
  429. package/dist/patterns/signing/signing-handoff-screen.d.ts.map +1 -0
  430. package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
  431. package/dist/patterns/signing/signing-message-dialog.d.ts.map +1 -0
  432. package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
  433. package/dist/patterns/signing/signing-progress-chip.d.ts.map +1 -0
  434. package/dist/patterns/signing/signing-roster.d.ts +44 -0
  435. package/dist/patterns/signing/signing-roster.d.ts.map +1 -0
  436. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
  437. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts.map +1 -0
  438. package/dist/patterns/verify-identity/index.js +1 -1
  439. package/dist/tokens.css +1 -1
  440. package/package.json +49 -1
  441. package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
  442. package/dist/_chunks/appointment-card-OAOur8lH.js.map +0 -1
  443. package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
  444. package/dist/_chunks/appointment-tray-DSFqO5Rm.js.map +0 -1
  445. package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js +0 -13663
  446. package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js.map +0 -1
  447. package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
  448. package/dist/_chunks/document-preview-_kQ9QvZV.js.map +0 -1
  449. package/dist/_chunks/error-page-B0fGNTRB.js.map +0 -1
  450. package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
  451. package/dist/_chunks/finished-terminal-FR8uc_Ws.js.map +0 -1
  452. package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
  453. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +0 -1
  454. package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
  455. package/dist/_chunks/otp-input-gV1446Dw.js.map +0 -1
  456. package/dist/_chunks/pdf-viewer-BnBKdx0y.js.map +0 -1
  457. package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
  458. package/dist/_chunks/session-countdown-C4tzbJVc.js.map +0 -1
  459. package/dist/_chunks/signature-field-DjabvRZm.js.map +0 -1
  460. package/dist/_chunks/signature-status-chip-pIoQjvH8.js.map +0 -1
  461. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
  462. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js.map +0 -1
  463. package/dist/_chunks/user-x-DYszNtIg.js.map +0 -1
@@ -1,21 +1,21 @@
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";
1
+ import { jsx as o, jsxs as K, Fragment as Se } from "react/jsx-runtime";
2
+ import { forwardRef as qe, useId as Be, useMemo as ze, useState as w, useEffect as M, useRef as O, useCallback as H, useImperativeHandle as He } from "react";
3
3
  import * as he from "pdfjs-dist/legacy/build/pdf.min.mjs";
4
- import { c as Q } from "./index-D2ZczOXr.js";
4
+ import { c as Z } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as me } from "react-i18next";
6
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-C4WKViaS.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 = {
7
+ import { u as We, f as Qe } from "./non-modal-tab-exit-j3CPOuE3.js";
8
+ import Oe from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url";
9
+ import { S as Ue } from "./spinner-CoflYlEx.js";
10
+ import { A as Me } from "./alert-C4WKViaS.js";
11
+ import { u as Je } from "./registry-DvAUVLHh.js";
12
+ import { X as Xe } from "./x-B5YnXwCz.js";
13
+ import { C as $e } from "./chevron-left-B8cOyH-V.js";
14
+ import { C as Ge } from "./chevron-right-I9AeSxH2.js";
15
+ import { Z as Ye, a as et } from "./zoom-out-Dnif4kJx.js";
16
+ import { S as tt } from "./search-QbWPlY5f.js";
17
+ import { P as rt } from "./printer-rkK0T1gi.js";
18
+ const at = {
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 Ye = {
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: (n) => n.getStatus()
36
+ read: (a) => a.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: (n) => n.getCurrentPage()
42
+ read: (a) => a.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: (n) => n.getPageCount()
48
+ read: (a) => a.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: (n) => n.getZoom()
54
+ read: (a) => a.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: (n) => n.getSearchMatchCount()
60
+ read: (a) => a.getSearchMatchCount()
61
61
  }
62
62
  },
63
63
  actions: {
@@ -83,8 +83,8 @@ const Ye = {
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: (n, t) => {
87
- n.goToPage(t.page);
86
+ invoke: (a, t) => {
87
+ a.goToPage(t.page);
88
88
  }
89
89
  },
90
90
  set_zoom: {
@@ -107,8 +107,8 @@ const Ye = {
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: (n, t) => {
111
- n.setZoom(t.zoom);
110
+ invoke: (a, t) => {
111
+ a.setZoom(t.zoom);
112
112
  }
113
113
  },
114
114
  search: {
@@ -128,21 +128,25 @@ const Ye = {
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: (n, t) => {
132
- n.search(t.query);
131
+ invoke: (a, t) => {
132
+ a.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: (n) => {
140
- n.print();
139
+ invoke: (a) => {
140
+ a.print();
141
141
  }
142
142
  }
143
143
  },
144
144
  domHooks: {
145
- root: { attr: "data-component", value: "pdf-viewer" },
145
+ root: {
146
+ attr: "data-component",
147
+ value: "pdf-viewer",
148
+ description: "Marks the PDFViewer. Each toolbar button carries a data-action: previous-page, next-page, zoom-out, zoom-in, open-search, close-search (the find bar) and print. go_to_page, set_zoom and print on this adapter do the same work through the handle."
149
+ },
146
150
  instanceId: {
147
151
  attr: "data-component-id",
148
152
  sourceProp: "id",
@@ -150,8 +154,8 @@ const Ye = {
150
154
  }
151
155
  }
152
156
  };
153
- he.GlobalWorkerOptions.workerSrc = Re;
154
- const ze = Q(
157
+ he.GlobalWorkerOptions.workerSrc = Oe;
158
+ const Te = Z(
155
159
  [
156
160
  "ds:pdf-viewer-alfadocs ds:flex ds:flex-col",
157
161
  // Allow the viewer to shrink below its content's intrinsic width when it
@@ -168,7 +172,7 @@ const ze = Q(
168
172
  "ds:focus-visible:outline-[var(--ring)]",
169
173
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
170
174
  ].join(" ")
171
- ), et = Q(
175
+ ), nt = Z(
172
176
  [
173
177
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
174
178
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -176,7 +180,7 @@ const ze = Q(
176
180
  "ds:bg-[var(--background)]",
177
181
  "ds:border-b ds:border-[color:var(--border)]"
178
182
  ].join(" ")
179
- ), Me = Q(
183
+ ), Ne = Z(
180
184
  [
181
185
  "ds:inline-flex ds:items-center ds:justify-center",
182
186
  "ds:[min-block-size:var(--min-target-size)]",
@@ -193,7 +197,7 @@ const ze = Q(
193
197
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
194
198
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
195
199
  ].join(" ")
196
- ), tt = Q(
200
+ ), ot = Z(
197
201
  [
198
202
  "ds:[min-block-size:var(--min-target-size)]",
199
203
  "ds:w-[4rem] ds:text-center",
@@ -205,7 +209,7 @@ const ze = Q(
205
209
  "ds:focus-visible:outline-[var(--ring)]",
206
210
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
207
211
  ].join(" ")
208
- ), rt = Q(
212
+ ), st = Z(
209
213
  [
210
214
  "ds:[min-block-size:var(--min-target-size)]",
211
215
  "ds:w-[16rem] ds:max-w-full ds:min-w-0 ds:text-start",
@@ -217,7 +221,7 @@ const ze = Q(
217
221
  "ds:focus-visible:outline-[var(--ring)]",
218
222
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
219
223
  ].join(" ")
220
- ), at = Q(
224
+ ), it = Z(
221
225
  [
222
226
  "ds:[min-block-size:var(--min-target-size)]",
223
227
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -228,7 +232,7 @@ const ze = Q(
228
232
  "ds:focus-visible:outline-[var(--ring)]",
229
233
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
230
234
  ].join(" ")
231
- ), nt = Q(
235
+ ), dt = Z(
232
236
  [
233
237
  "ds:relative ds:flex ds:flex-col ds:items-center",
234
238
  "ds:gap-[var(--spacing-md)]",
@@ -249,14 +253,28 @@ const ze = Q(
249
253
  "ds:min-h-[30rem]",
250
254
  "ds:max-h-[80vh]"
251
255
  ].join(" ")
252
- ), ot = Q(
256
+ ), ct = Z(
253
257
  [
254
258
  "ds:relative ds:flex ds:items-center ds:justify-center",
255
259
  "ds:bg-[var(--background)]",
256
260
  "ds:shadow-[var(--shadow-md)]",
257
261
  "ds:rounded-[var(--radius-sm)]"
258
262
  ].join(" ")
259
- ), st = [
263
+ ), lt = Z(
264
+ [
265
+ "theme-light",
266
+ "ds:absolute ds:inset-0 ds:pointer-events-auto",
267
+ // Inherited text reads the light ink, not the ink the outer theme
268
+ // resolved on the viewer.
269
+ "ds:text-[var(--foreground)]"
270
+ ].join(" "),
271
+ {
272
+ variants: {
273
+ accessible: { true: "theme-accessible", false: "" }
274
+ },
275
+ defaultVariants: { accessible: !1 }
276
+ }
277
+ ), ut = [
260
278
  "fit-width",
261
279
  "fit-page",
262
280
  "actual-size",
@@ -267,138 +285,155 @@ const ze = Q(
267
285
  1.5,
268
286
  2
269
287
  ];
270
- function te(n) {
271
- return typeof n == "number";
288
+ function te(a) {
289
+ return typeof a == "number";
290
+ }
291
+ function pt(a) {
292
+ return window.getComputedStyle(a).getPropertyValue("--accessible-on").trim() === "1";
272
293
  }
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);
294
+ function Ie(a, t, y) {
295
+ if (te(a)) return a;
296
+ if (a === "actual-size" || !y) return 1;
297
+ const f = window.getComputedStyle(y), g = parseFloat(f.paddingInlineStart || "0") + parseFloat(f.paddingInlineEnd || "0"), h = parseFloat(f.paddingBlockStart || "0") + parseFloat(f.paddingBlockEnd || "0"), k = Math.max(y.clientWidth - g, 1), N = Math.max(y.clientHeight - h, 1), b = t.width, D = t.height;
298
+ return a === "fit-width" ? k / b : Math.min(k / b, N / D);
278
299
  }
279
- const it = Ke(
300
+ const ft = qe(
280
301
  ({
281
- id: n,
302
+ id: a,
282
303
  src: t,
283
- initialPage: m = 1,
304
+ initialPage: y = 1,
284
305
  initialZoom: f = "fit-width",
285
306
  pageRotation: g,
286
307
  renderPageOverlay: h,
287
- onPageChange: w,
288
- onLoadComplete: y,
289
- onError: x,
290
- toolbar: P = !0,
291
- toolbarVariant: Z = "full",
292
- ariaLabel: S,
293
- className: z
294
- }, v) => {
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);
299
- R(() => {
308
+ onPageChange: k,
309
+ onLoadComplete: N,
310
+ onError: b,
311
+ toolbar: D = !0,
312
+ toolbarVariant: S = "full",
313
+ ariaLabel: j,
314
+ className: T
315
+ }, m) => {
316
+ const { t: u } = me("ui"), z = Be(), E = ze(
317
+ () => `pdf-${z.replace(/[^a-zA-Z0-9-_]/g, "")}`,
318
+ [z]
319
+ ), [x, W] = w(!1), [p, Q] = w(!1);
320
+ M(() => {
300
321
  if (typeof document > "u") return;
301
- p(document.documentElement.dir === "rtl");
302
- const e = window.matchMedia("(prefers-reduced-motion: reduce)"), a = () => U(e.matches);
303
- return a(), e.addEventListener("change", a), () => e.removeEventListener("change", a);
322
+ W(document.documentElement.dir === "rtl");
323
+ const e = window.matchMedia("(prefers-reduced-motion: reduce)"), r = () => Q(e.matches);
324
+ return r(), e.addEventListener("change", r), () => e.removeEventListener("change", r);
304
325
  }, []);
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);
306
- R(() => {
307
- oe.current = w, se.current = y, ie.current = x;
308
- }, [w, y, x]);
309
- const ue = V(null);
310
- R(() => {
326
+ const [s, U] = w(null), [I, l] = w(null), [c, R] = w(y), [P, C] = w(f), [G, L] = w({ start: Math.max(1, y - 1), end: y + 1 }), [q, J] = w(""), [A, n] = w(!1), [v, re] = w(""), [ve, De] = w({ current: 0, total: 0 }), oe = O(k), se = O(N), ie = O(b);
327
+ M(() => {
328
+ oe.current = k, se.current = N, ie.current = b;
329
+ }, [k, N, b]);
330
+ const ue = O(null);
331
+ M(() => {
311
332
  ue.current = s;
312
- }, [s]), R(() => {
333
+ }, [s]), M(() => {
313
334
  let e = !1;
314
- J(null), T(null);
315
- const a = {
335
+ U(null), l(null);
336
+ const r = {
316
337
  disableJavaScript: !0,
317
338
  isEvalSupported: !1
318
- }, c = he.getDocument(
319
- typeof t == "string" ? { url: t, ...a } : t instanceof Uint8Array ? { data: t, ...a } : { data: new Uint8Array(t), ...a }
339
+ }, d = he.getDocument(
340
+ typeof t == "string" ? { url: t, ...r } : t instanceof Uint8Array ? { data: t, ...r } : { data: new Uint8Array(t), ...r }
320
341
  );
321
- return c.promise.then(
322
- async (d) => {
342
+ return d.promise.then(
343
+ async (i) => {
323
344
  var X;
324
345
  if (e) return;
325
- let O;
346
+ let V;
326
347
  try {
327
- const $ = await d.getMetadata(), E = $ == null ? void 0 : $.info;
328
- O = E == null ? void 0 : E.Title;
348
+ const $ = await i.getMetadata(), _ = $ == null ? void 0 : $.info;
349
+ V = _ == null ? void 0 : _.Title;
329
350
  } catch {
330
- O = void 0;
351
+ V = void 0;
331
352
  }
332
353
  if (e) {
333
354
  try {
334
- await d.destroy();
355
+ await i.destroy();
335
356
  } catch {
336
357
  }
337
358
  return;
338
359
  }
339
- const H = { doc: d, numPages: d.numPages, title: O };
340
- J(H), (X = se.current) == null || X.call(se, { numPages: d.numPages, title: O });
360
+ const B = { doc: i, numPages: i.numPages, title: V };
361
+ U(B), (X = se.current) == null || X.call(se, { numPages: i.numPages, title: V });
341
362
  },
342
- (d) => {
343
- var H;
363
+ (i) => {
364
+ var B;
344
365
  if (e) return;
345
- const O = d instanceof Error ? d : new Error(String(d));
346
- T(O), (H = ie.current) == null || H.call(ie, O);
366
+ const V = i instanceof Error ? i : new Error(String(i));
367
+ l(V), (B = ie.current) == null || B.call(ie, V);
347
368
  }
348
369
  ), () => {
349
- e = !0, c.destroy();
350
- const d = ue.current;
351
- if (d) {
370
+ e = !0, d.destroy();
371
+ const i = ue.current;
372
+ if (i) {
352
373
  try {
353
- d.doc.destroy();
374
+ i.doc.destroy();
354
375
  } catch {
355
376
  }
356
377
  ue.current = null;
357
378
  }
358
379
  };
359
- }, [t]), R(() => {
380
+ }, [t]);
381
+ const be = O(null), [Ve, je] = w(!1), we = I !== null;
382
+ M(() => {
383
+ const e = be.current;
384
+ if (we || !e) return;
385
+ const r = () => je(pt(e));
386
+ if (r(), typeof MutationObserver > "u") return;
387
+ const d = new MutationObserver(r);
388
+ for (let i = e; i; i = i.parentElement)
389
+ d.observe(i, {
390
+ attributes: !0,
391
+ attributeFilter: ["class"]
392
+ });
393
+ return () => d.disconnect();
394
+ }, [we]), M(() => {
360
395
  var e;
361
- s && (B(
362
- u("pdf.pageOf", { current: l, total: s.numPages })
363
- ), (e = oe.current) == null || e.call(oe, l));
364
- }, [l, s, u]);
365
- const de = V(null), pe = V([]), F = W(
396
+ s && (J(
397
+ u("pdf.pageOf", { current: c, total: s.numPages })
398
+ ), (e = oe.current) == null || e.call(oe, c));
399
+ }, [c, s, u]);
400
+ const de = O(null), pe = O([]), F = H(
366
401
  (e) => {
367
402
  if (!s) return;
368
- const a = Math.max(1, Math.min(e, s.numPages));
369
- D(a);
370
- const c = pe.current[a - 1];
371
- c && c.scrollIntoView({
403
+ const r = Math.max(1, Math.min(e, s.numPages));
404
+ R(r);
405
+ const d = pe.current[r - 1];
406
+ d && d.scrollIntoView({
372
407
  behavior: "auto",
373
408
  block: "start"
374
409
  });
375
410
  },
376
- [s, L]
377
- ), be = W((e) => {
378
- N(e);
379
- }, []), ae = W(() => {
411
+ [s, p]
412
+ ), ye = H((e) => {
413
+ C(e);
414
+ }, []), ae = H(() => {
380
415
  typeof window < "u" && window.print();
381
- }, []), we = W((e) => {
382
- re(e), r(e.length > 0);
383
- }, []), Y = V({
384
- currentPage: l,
416
+ }, []), xe = H((e) => {
417
+ re(e), n(e.length > 0);
418
+ }, []), Y = O({
419
+ currentPage: c,
385
420
  pageCount: 0,
386
- zoom: C,
421
+ zoom: P,
387
422
  status: "loading",
388
423
  searchMatchCount: 0
389
424
  });
390
425
  Y.current = {
391
- currentPage: l,
426
+ currentPage: c,
392
427
  pageCount: (s == null ? void 0 : s.numPages) ?? 0,
393
- zoom: C,
394
- status: i ? "error" : s ? "ready" : "loading",
428
+ zoom: P,
429
+ status: I ? "error" : s ? "ready" : "loading",
395
430
  searchMatchCount: ve.total
396
431
  };
397
- const fe = ke(
432
+ const fe = ze(
398
433
  () => ({
399
434
  goToPage: F,
400
- setZoom: be,
401
- search: we,
435
+ setZoom: ye,
436
+ search: xe,
402
437
  print: ae,
403
438
  getCurrentPage: () => Y.current.currentPage,
404
439
  getPageCount: () => Y.current.pageCount,
@@ -406,19 +441,19 @@ const it = Ke(
406
441
  getStatus: () => Y.current.status,
407
442
  getSearchMatchCount: () => Y.current.searchMatchCount
408
443
  }),
409
- [F, be, we, ae]
444
+ [F, ye, xe, ae]
410
445
  );
411
- _e(v, () => fe, [fe]), He(Ye, fe, n);
412
- const Ae = W(
446
+ He(m, () => fe, [fe]), Je(at, fe, a);
447
+ const Ee = H(
413
448
  (e) => {
414
449
  if (!s) return;
415
- const a = e.metaKey || e.ctrlKey;
450
+ const r = e.metaKey || e.ctrlKey;
416
451
  if (e.key === "PageDown") {
417
- e.preventDefault(), F(l + 1);
452
+ e.preventDefault(), F(c + 1);
418
453
  return;
419
454
  }
420
455
  if (e.key === "PageUp") {
421
- e.preventDefault(), F(l - 1);
456
+ e.preventDefault(), F(c - 1);
422
457
  return;
423
458
  }
424
459
  if (e.key === "Home") {
@@ -429,90 +464,90 @@ const it = Ke(
429
464
  e.preventDefault(), F(s.numPages);
430
465
  return;
431
466
  }
432
- if (a && e.key.toLowerCase() === "f") {
433
- e.preventDefault(), r(!0);
467
+ if (r && e.key.toLowerCase() === "f") {
468
+ e.preventDefault(), n(!0);
434
469
  return;
435
470
  }
436
- if (a && (e.key === "+" || e.key === "=")) {
437
- e.preventDefault(), N((c) => te(c) ? Math.min(c * 1.25, 4) : 1.25);
471
+ if (r && (e.key === "+" || e.key === "=")) {
472
+ e.preventDefault(), C((d) => te(d) ? Math.min(d * 1.25, 4) : 1.25);
438
473
  return;
439
474
  }
440
- if (a && e.key === "-") {
441
- e.preventDefault(), N(
442
- (c) => te(c) ? Math.max(c / 1.25, 0.25) : 0.75
475
+ if (r && e.key === "-") {
476
+ e.preventDefault(), C(
477
+ (d) => te(d) ? Math.max(d / 1.25, 0.25) : 0.75
443
478
  );
444
479
  return;
445
480
  }
446
- if (a && e.key === "0") {
447
- e.preventDefault(), N("fit-width");
481
+ if (r && e.key === "0") {
482
+ e.preventDefault(), C("fit-width");
448
483
  return;
449
484
  }
450
- a && e.key.toLowerCase() === "p" && (e.preventDefault(), ae());
485
+ r && e.key.toLowerCase() === "p" && (e.preventDefault(), ae());
451
486
  },
452
- [l, F, ae, s]
453
- ), ge = V(l);
454
- R(() => {
455
- ge.current = l;
456
- }, [l]), R(() => {
487
+ [c, F, ae, s]
488
+ ), ge = O(c);
489
+ M(() => {
490
+ ge.current = c;
491
+ }, [c]), M(() => {
457
492
  if (!s) return;
458
493
  const e = de.current;
459
494
  if (!e) return;
460
- const a = /* @__PURE__ */ new Map(), c = new IntersectionObserver(
461
- (d) => {
462
- for (const E of d) {
463
- const ee = E.target.dataset.pageNumber;
495
+ const r = /* @__PURE__ */ new Map(), d = new IntersectionObserver(
496
+ (i) => {
497
+ for (const _ of i) {
498
+ const ee = _.target.dataset.pageNumber;
464
499
  if (!ee) continue;
465
- const Ee = Number(ee);
466
- a.set(Ee, E.intersectionRatio);
500
+ const Le = Number(ee);
501
+ r.set(Le, _.intersectionRatio);
467
502
  }
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({
503
+ let V = ge.current, B = 0, X = 1 / 0, $ = -1 / 0;
504
+ for (const [_, ee] of r.entries())
505
+ ee > B && (V = _, B = ee), ee > 0 && (X = Math.min(X, _), $ = Math.max($, _));
506
+ B > 0 && V !== ge.current && R(V), X !== 1 / 0 && L({
472
507
  start: Math.max(1, X - 1),
473
508
  end: Math.min(s.numPages, $ + 1)
474
509
  });
475
510
  },
476
511
  { root: e, threshold: [0, 0.25, 0.5, 0.75, 1] }
477
512
  );
478
- return pe.current.forEach((d) => {
479
- d && c.observe(d);
480
- }), () => c.disconnect();
513
+ return pe.current.forEach((i) => {
514
+ i && d.observe(i);
515
+ }), () => d.disconnect();
481
516
  }, [s]);
482
- const [Oe, Ve] = b(0);
483
- R(() => {
517
+ const [Fe, _e] = w(0);
518
+ M(() => {
484
519
  const e = de.current;
485
520
  if (!e || typeof ResizeObserver > "u") return;
486
- const a = new ResizeObserver(() => {
487
- (C === "fit-width" || C === "fit-page") && Ve((c) => c + 1);
521
+ const r = new ResizeObserver(() => {
522
+ (P === "fit-width" || P === "fit-page") && _e((d) => d + 1);
488
523
  });
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;
524
+ return r.observe(e), () => r.disconnect();
525
+ }, [P]);
526
+ const Pe = O([]), [ce, Ce] = w(0), Ke = H(
527
+ (e) => (r) => {
528
+ Pe.current[e] = r;
494
529
  },
495
530
  []
496
- ), Pe = W((e) => {
497
- const a = ye.current[e];
498
- a && a.focus();
499
- }, []), le = Z === "minimal" ? 2 : 8, Fe = W(
531
+ ), ke = H((e) => {
532
+ const r = Pe.current[e];
533
+ r && r.focus();
534
+ }, []), le = S === "minimal" ? 2 : 8, Ze = H(
500
535
  (e) => {
501
- const a = A ? "ArrowLeft" : "ArrowRight", c = A ? "ArrowRight" : "ArrowLeft";
502
- let d = null;
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));
536
+ const r = x ? "ArrowLeft" : "ArrowRight", d = x ? "ArrowRight" : "ArrowLeft";
537
+ let i = null;
538
+ e.key === r ? i = (ce + 1) % le : e.key === d ? i = (ce - 1 + le) % le : e.key === "Home" ? i = 0 : e.key === "End" && (i = le - 1), i !== null && (e.preventDefault(), Ce(i), ke(i));
504
539
  },
505
- [Pe, A, ce]
540
+ [ke, x, ce]
506
541
  );
507
- return i ? /* @__PURE__ */ o(
542
+ return I ? /* @__PURE__ */ o(
508
543
  "div",
509
544
  {
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: [
545
+ className: [Te(), T].filter(Boolean).join(" "),
546
+ "aria-label": j ?? u("pdf.error"),
547
+ children: /* @__PURE__ */ o("div", { className: "ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ o(Me, { variant: "error", live: "polite", children: /* @__PURE__ */ K(Me.Description, { children: [
513
548
  u("pdf.error"),
514
549
  ": ",
515
- i.message
550
+ I.message
516
551
  ] }) }) })
517
552
  }
518
553
  ) : (
@@ -520,91 +555,93 @@ const it = Ke(
520
555
  /* @__PURE__ */ K(
521
556
  "div",
522
557
  {
523
- id: M,
558
+ ref: be,
559
+ id: E,
524
560
  role: "region",
525
- "aria-label": S ?? u("pdf.toolbarLabel"),
526
- className: [ze(), z].filter(Boolean).join(" "),
527
- dir: A ? "rtl" : void 0,
528
- onKeyDown: Ae,
561
+ "aria-label": j ?? u("pdf.toolbarLabel"),
562
+ className: [Te(), T].filter(Boolean).join(" "),
563
+ dir: x ? "rtl" : void 0,
564
+ onKeyDown: Ee,
529
565
  tabIndex: -1,
530
566
  "data-component": "pdf-viewer",
531
- "data-component-id": n,
532
- "data-pdfjs-worker-src": Re,
567
+ "data-component-id": a,
568
+ "data-pdfjs-worker-src": Oe,
533
569
  children: [
534
- P ? /* @__PURE__ */ o(
535
- dt,
570
+ D ? /* @__PURE__ */ o(
571
+ gt,
536
572
  {
537
- variant: Z,
538
- currentPage: l,
573
+ variant: S,
574
+ currentPage: c,
539
575
  numPages: (s == null ? void 0 : s.numPages) ?? 0,
540
- zoom: C,
541
- onPrev: () => F(l - 1),
542
- onNext: () => F(l + 1),
576
+ zoom: P,
577
+ onPrev: () => F(c - 1),
578
+ onNext: () => F(c + 1),
543
579
  onJump: (e) => F(e),
544
580
  onZoomIn: () => {
545
- N(
581
+ C(
546
582
  (e) => te(e) ? Math.min(e * 1.25, 4) : 1.25
547
583
  );
548
584
  },
549
585
  onZoomOut: () => {
550
- N(
586
+ C(
551
587
  (e) => te(e) ? Math.max(e / 1.25, 0.25) : 0.75
552
588
  );
553
589
  },
554
- onZoomPreset: (e) => N(e),
555
- onOpenSearch: () => r(!0),
590
+ onZoomPreset: (e) => C(e),
591
+ onOpenSearch: () => n(!0),
556
592
  onPrint: ae,
557
- searchOpen: I,
558
- onSearchOpenChange: r,
559
- searchQuery: j,
593
+ searchOpen: A,
594
+ onSearchOpenChange: n,
595
+ searchQuery: v,
560
596
  onSearchQueryChange: (e) => {
561
597
  re(e);
562
598
  },
563
599
  searchMatches: ve,
564
- register: je,
600
+ register: Ke,
565
601
  focusIndex: ce,
566
- setFocusIndex: xe,
567
- onToolbarKeyDown: Fe,
568
- isRtl: A
602
+ setFocusIndex: Ce,
603
+ onToolbarKeyDown: Ze,
604
+ isRtl: x
569
605
  }
570
606
  ) : null,
571
- /* @__PURE__ */ o("div", { "aria-live": "polite", "aria-atomic": "true", className: "ds:sr-only", children: G }),
607
+ /* @__PURE__ */ o("div", { "aria-live": "polite", "aria-atomic": "true", className: "ds:sr-only", children: q }),
572
608
  /* @__PURE__ */ o(
573
609
  "div",
574
610
  {
575
611
  ref: de,
576
- className: nt(),
612
+ className: dt(),
577
613
  "data-testid": "pdf-pages-container",
578
614
  tabIndex: 0,
579
615
  "aria-label": u("pdf.pagesRegionLabel"),
580
- children: s ? Array.from({ length: s.numPages }, (e, a) => a + 1).map(
616
+ children: s ? Array.from({ length: s.numPages }, (e, r) => r + 1).map(
581
617
  (e) => /* @__PURE__ */ o(
582
- ct,
618
+ ht,
583
619
  {
584
620
  pageNumber: e,
585
621
  totalPages: s.numPages,
586
622
  doc: s.doc,
587
- zoom: C,
623
+ zoom: P,
588
624
  pageRotation: g,
589
625
  renderPageOverlay: h,
626
+ overlayAccessible: Ve,
590
627
  container: de.current,
591
- resizeTick: Oe,
592
- shouldRender: e >= _.start && e <= _.end,
593
- registerRef: (a) => {
594
- pe.current[e - 1] = a;
628
+ resizeTick: Fe,
629
+ shouldRender: e >= G.start && e <= G.end,
630
+ registerRef: (r) => {
631
+ pe.current[e - 1] = r;
595
632
  },
596
- searchQuery: j,
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)
633
+ searchQuery: v,
634
+ onMatchCount: (r) => {
635
+ De((d) => r === 0 && d.total === 0 ? d : {
636
+ current: Math.min(d.current || 1, r || 1),
637
+ total: Math.max(d.total, r)
601
638
  });
602
639
  }
603
640
  },
604
641
  e
605
642
  )
606
643
  ) : /* @__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: [
607
- /* @__PURE__ */ o(Be, { variant: "pulse", size: "sm", label: u("pdf.loading") }),
644
+ /* @__PURE__ */ o(Ue, { variant: "pulse", size: "sm", label: u("pdf.loading") }),
608
645
  /* @__PURE__ */ o("span", { children: u("pdf.loading") })
609
646
  ] })
610
647
  }
@@ -615,63 +652,64 @@ const it = Ke(
615
652
  );
616
653
  }
617
654
  );
618
- it.displayName = "PDFViewer";
619
- function dt(n) {
655
+ ft.displayName = "PDFViewer";
656
+ function gt(a) {
620
657
  const { t } = me("ui"), {
621
- variant: m,
658
+ variant: y,
622
659
  currentPage: f,
623
660
  numPages: g,
624
661
  zoom: h,
625
- onPrev: w,
626
- onNext: y,
627
- onJump: x,
628
- onZoomIn: P,
629
- onZoomOut: Z,
630
- onZoomPreset: S,
631
- onOpenSearch: z,
632
- onPrint: v,
662
+ onPrev: k,
663
+ onNext: N,
664
+ onJump: b,
665
+ onZoomIn: D,
666
+ onZoomOut: S,
667
+ onZoomPreset: j,
668
+ onOpenSearch: T,
669
+ onPrint: m,
633
670
  searchOpen: u,
634
- onSearchOpenChange: k,
635
- searchQuery: M,
636
- onSearchQueryChange: A,
637
- searchMatches: p,
638
- register: L,
639
- focusIndex: U,
671
+ onSearchOpenChange: z,
672
+ searchQuery: E,
673
+ onSearchQueryChange: x,
674
+ searchMatches: W,
675
+ register: p,
676
+ focusIndex: Q,
640
677
  setFocusIndex: s,
641
- onToolbarKeyDown: J
642
- } = n, i = m === "minimal", T = i ? 0 : 3, l = i ? 1 : 4, D = 5, [C, N] = b(String(f));
643
- R(() => {
644
- N(String(f));
678
+ onToolbarKeyDown: U
679
+ } = a, I = y === "minimal", l = I ? 0 : 3, c = I ? 1 : 4, R = 5, [P, C] = w(String(f));
680
+ M(() => {
681
+ C(String(f));
645
682
  }, [f]);
646
- const _ = Le(!0, {
647
- getAnchor: qe,
648
- onReturnToTrigger: () => k(!1)
649
- }), q = f <= 1, G = f >= g;
650
- function B() {
651
- const r = Number(C);
652
- Number.isFinite(r) && r >= 1 ? x(Math.min(r, g)) : N(String(f));
683
+ const G = We(!0, {
684
+ getAnchor: Qe,
685
+ onReturnToTrigger: () => z(!1)
686
+ }), L = f <= 1, q = f >= g;
687
+ function J() {
688
+ const n = Number(P);
689
+ Number.isFinite(n) && n >= 1 ? b(Math.min(n, g)) : C(String(f));
653
690
  }
654
- function I(r) {
691
+ function A(n) {
655
692
  return /* @__PURE__ */ o(
656
693
  "button",
657
694
  {
658
695
  type: "button",
659
- ref: L(r.index),
660
- tabIndex: r.index === U ? 0 : -1,
661
- onFocus: () => s(r.index),
662
- onKeyDown: J,
663
- "aria-label": r.label,
664
- "aria-disabled": r.disabled || void 0,
665
- title: r.label,
666
- onClick: (j) => {
667
- if (r.disabled) {
668
- j.preventDefault();
696
+ ref: p(n.index),
697
+ "data-action": n.action,
698
+ tabIndex: n.index === Q ? 0 : -1,
699
+ onFocus: () => s(n.index),
700
+ onKeyDown: U,
701
+ "aria-label": n.label,
702
+ "aria-disabled": n.disabled || void 0,
703
+ title: n.label,
704
+ onClick: (v) => {
705
+ if (n.disabled) {
706
+ v.preventDefault();
669
707
  return;
670
708
  }
671
- r.onActivate();
709
+ n.onActivate();
672
710
  },
673
- className: Me(),
674
- children: r.icon
711
+ className: Ne(),
712
+ children: n.icon
675
713
  }
676
714
  );
677
715
  }
@@ -680,29 +718,31 @@ function dt(n) {
680
718
  {
681
719
  role: "toolbar",
682
720
  "aria-label": t("pdf.toolbarLabel"),
683
- className: et(),
721
+ className: nt(),
684
722
  children: [
685
- !i && /* @__PURE__ */ K(Ce, { children: [
686
- I({
723
+ !I && /* @__PURE__ */ K(Se, { children: [
724
+ A({
687
725
  index: 0,
726
+ action: "previous-page",
688
727
  label: t("pdf.previousPage"),
689
- disabled: q,
690
- onActivate: w,
728
+ disabled: L,
729
+ onActivate: k,
691
730
  icon: /* @__PURE__ */ o(
692
- Qe,
731
+ $e,
693
732
  {
694
733
  "aria-hidden": "true",
695
734
  className: "ds:h-4 ds:w-4 ds:rtl:rotate-180"
696
735
  }
697
736
  )
698
737
  }),
699
- I({
738
+ A({
700
739
  index: 1,
740
+ action: "next-page",
701
741
  label: t("pdf.nextPage"),
702
- disabled: G,
703
- onActivate: y,
742
+ disabled: q,
743
+ onActivate: N,
704
744
  icon: /* @__PURE__ */ o(
705
- Ue,
745
+ Ge,
706
746
  {
707
747
  "aria-hidden": "true",
708
748
  className: "ds:h-4 ds:w-4 ds:rtl:rotate-180"
@@ -715,17 +755,17 @@ function dt(n) {
715
755
  type: "number",
716
756
  min: 1,
717
757
  max: Math.max(g, 1),
718
- value: C,
719
- onChange: (r) => N(r.target.value),
720
- onKeyDown: (r) => {
721
- r.key === "Enter" && (r.preventDefault(), B());
758
+ value: P,
759
+ onChange: (n) => C(n.target.value),
760
+ onKeyDown: (n) => {
761
+ n.key === "Enter" && (n.preventDefault(), J());
722
762
  },
723
- onBlur: B,
763
+ onBlur: J,
724
764
  onFocus: () => s(2),
725
- ref: L(2),
726
- tabIndex: U === 2 ? 0 : -1,
765
+ ref: p(2),
766
+ tabIndex: Q === 2 ? 0 : -1,
727
767
  "aria-label": t("pdf.currentPageInput"),
728
- className: tt()
768
+ className: ot()
729
769
  }
730
770
  ),
731
771
  /* @__PURE__ */ o(
@@ -744,63 +784,66 @@ function dt(n) {
744
784
  }
745
785
  )
746
786
  ] }),
747
- I({
748
- index: T,
787
+ A({
788
+ index: l,
789
+ action: "zoom-out",
749
790
  label: t("pdf.zoom.out"),
750
- onActivate: Z,
751
- icon: /* @__PURE__ */ o(Je, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
791
+ onActivate: S,
792
+ icon: /* @__PURE__ */ o(Ye, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
752
793
  }),
753
- I({
754
- index: l,
794
+ A({
795
+ index: c,
796
+ action: "zoom-in",
755
797
  label: t("pdf.zoom.in"),
756
- onActivate: P,
757
- icon: /* @__PURE__ */ o(Xe, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
798
+ onActivate: D,
799
+ icon: /* @__PURE__ */ o(et, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
758
800
  }),
759
- !i && /* @__PURE__ */ K(
801
+ !I && /* @__PURE__ */ K(
760
802
  "select",
761
803
  {
762
804
  "aria-label": t("pdf.zoom.preset"),
763
805
  value: typeof h == "number" ? String(h) : h,
764
- onChange: (r) => {
765
- const j = r.target.value;
766
- if (j === "fit-width" || j === "fit-page" || j === "actual-size")
767
- S(j);
806
+ onChange: (n) => {
807
+ const v = n.target.value;
808
+ if (v === "fit-width" || v === "fit-page" || v === "actual-size")
809
+ j(v);
768
810
  else {
769
- const re = Number(j);
770
- Number.isFinite(re) && S(re);
811
+ const re = Number(v);
812
+ Number.isFinite(re) && j(re);
771
813
  }
772
814
  },
773
- ref: L(D),
774
- tabIndex: U === D ? 0 : -1,
775
- onFocus: () => s(D),
776
- onKeyDown: J,
777
- className: at(),
815
+ ref: p(R),
816
+ tabIndex: Q === R ? 0 : -1,
817
+ onFocus: () => s(R),
818
+ onKeyDown: U,
819
+ className: it(),
778
820
  children: [
779
821
  /* @__PURE__ */ o("option", { value: "fit-width", children: t("pdf.zoom.fitWidth") }),
780
822
  /* @__PURE__ */ o("option", { value: "fit-page", children: t("pdf.zoom.fitPage") }),
781
823
  /* @__PURE__ */ o("option", { value: "actual-size", children: t("pdf.zoom.actualSize") }),
782
- st.filter(te).map((r) => /* @__PURE__ */ o("option", { value: String(r), children: `${Math.round(r * 100)}%` }, r))
824
+ ut.filter(te).map((n) => /* @__PURE__ */ o("option", { value: String(n), children: `${Math.round(n * 100)}%` }, n))
783
825
  ]
784
826
  }
785
827
  ),
786
- !i && /* @__PURE__ */ K(Ce, { children: [
828
+ !I && /* @__PURE__ */ K(Se, { children: [
787
829
  /* @__PURE__ */ K(
788
830
  ne.Root,
789
831
  {
790
832
  open: u,
791
- onOpenChange: k,
833
+ onOpenChange: z,
792
834
  children: [
793
- /* @__PURE__ */ o(ne.Trigger, { asChild: !0, children: I({
835
+ /* @__PURE__ */ o(ne.Trigger, { asChild: !0, children: A({
794
836
  index: 6,
837
+ action: "open-search",
795
838
  label: t("pdf.search.open"),
796
- onActivate: z,
797
- icon: /* @__PURE__ */ o($e, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
839
+ onActivate: T,
840
+ icon: /* @__PURE__ */ o(tt, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
798
841
  }) }),
799
842
  /* @__PURE__ */ o(ne.Portal, { children: /* @__PURE__ */ K(
800
843
  ne.Content,
801
844
  {
802
845
  sideOffset: 8,
803
- onKeyDown: _,
846
+ onKeyDown: G,
804
847
  className: [
805
848
  "ds:z-[var(--z-popover)]",
806
849
  "ds:max-w-[var(--radix-popover-content-available-width)]",
@@ -816,11 +859,11 @@ function dt(n) {
816
859
  {
817
860
  type: "search",
818
861
  autoFocus: !0,
819
- value: M,
820
- onChange: (r) => A(r.target.value),
862
+ value: E,
863
+ onChange: (n) => x(n.target.value),
821
864
  placeholder: t("pdf.search.placeholder"),
822
865
  "aria-label": t("pdf.search.placeholder"),
823
- className: rt()
866
+ className: st()
824
867
  }
825
868
  ),
826
869
  /* @__PURE__ */ o(
@@ -828,19 +871,20 @@ function dt(n) {
828
871
  {
829
872
  "aria-live": "polite",
830
873
  className: "type-meta ds:text-[var(--muted-foreground)]",
831
- children: p.total > 0 ? t("pdf.search.countOfTotal", {
832
- current: p.current,
833
- total: p.total
834
- }) : M ? t("pdf.search.noResults") : ""
874
+ children: W.total > 0 ? t("pdf.search.countOfTotal", {
875
+ current: W.current,
876
+ total: W.total
877
+ }) : E ? t("pdf.search.noResults") : ""
835
878
  }
836
879
  ),
837
880
  /* @__PURE__ */ o(ne.Close, { asChild: !0, children: /* @__PURE__ */ o(
838
881
  "button",
839
882
  {
840
883
  type: "button",
884
+ "data-action": "close-search",
841
885
  "aria-label": t("pdf.search.close"),
842
- className: Me(),
843
- children: /* @__PURE__ */ o(We, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
886
+ className: Ne(),
887
+ children: /* @__PURE__ */ o(Xe, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
844
888
  }
845
889
  ) })
846
890
  ]
@@ -849,129 +893,132 @@ function dt(n) {
849
893
  ]
850
894
  }
851
895
  ),
852
- I({
896
+ A({
853
897
  index: 7,
898
+ action: "print",
854
899
  label: t("pdf.print"),
855
- onActivate: v,
856
- icon: /* @__PURE__ */ o(Ge, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
900
+ onActivate: m,
901
+ icon: /* @__PURE__ */ o(rt, { "aria-hidden": "true", className: "ds:h-4 ds:w-4" })
857
902
  })
858
903
  ] })
859
904
  ]
860
905
  }
861
906
  );
862
907
  }
863
- function ct(n) {
908
+ function ht(a) {
864
909
  const {
865
910
  pageNumber: t,
866
- totalPages: m,
911
+ totalPages: y,
867
912
  doc: f,
868
913
  zoom: g,
869
914
  pageRotation: h,
870
- renderPageOverlay: w,
871
- container: y,
872
- resizeTick: x,
873
- shouldRender: P,
874
- registerRef: Z,
875
- searchQuery: S,
876
- onMatchCount: z
877
- } = n, { t: v } = me("ui"), u = V(null), k = V(null), [M, A] = b({
915
+ renderPageOverlay: k,
916
+ overlayAccessible: N,
917
+ container: b,
918
+ resizeTick: D,
919
+ shouldRender: S,
920
+ registerRef: j,
921
+ searchQuery: T,
922
+ onMatchCount: m
923
+ } = a, { t: u } = me("ui"), z = O(null), E = O(null), [x, W] = w({
878
924
  width: 612,
879
925
  height: 792
880
- }), [p, L] = b(null);
881
- R(() => {
882
- let i = !1;
883
- return f.getPage(t).then((T) => {
884
- i || L(T);
926
+ }), [p, Q] = w(null);
927
+ M(() => {
928
+ let l = !1;
929
+ return f.getPage(t).then((c) => {
930
+ l || Q(c);
885
931
  }), () => {
886
- i = !0;
932
+ l = !0;
887
933
  };
888
- }, [f, t]), R(() => {
934
+ }, [f, t]), M(() => {
889
935
  if (!p) return;
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));
891
- A({
892
- width: Math.floor(D.width),
893
- height: Math.floor(D.height)
936
+ const l = (C) => h === void 0 ? { scale: C } : { scale: C, rotation: h }, c = p.getViewport(l(1)), R = Ie(g, c, b), P = p.getViewport(l(R));
937
+ W({
938
+ width: Math.floor(P.width),
939
+ height: Math.floor(P.height)
894
940
  });
895
- }, [p, g, y, x, h]);
896
- const U = h ?? (p == null ? void 0 : p.rotate) ?? 0;
897
- R(() => {
898
- if (!p || !P) {
899
- const r = u.current;
900
- r && !P && (r.width = 0);
941
+ }, [p, g, b, D, h]);
942
+ const s = h ?? (p == null ? void 0 : p.rotate) ?? 0;
943
+ M(() => {
944
+ if (!p || !S) {
945
+ const v = z.current;
946
+ v && !S && (v.width = 0);
901
947
  return;
902
948
  }
903
- const i = u.current, T = k.current;
904
- if (!i) return;
905
- const l = i.getContext("2d");
949
+ const l = z.current, c = E.current;
906
950
  if (!l) return;
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);
908
- i.width = Math.floor(_.width * q), i.height = Math.floor(_.height * q), l.setTransform(q, 0, 0, q, 0, 0);
909
- const G = p.render({
910
- canvas: i,
911
- canvasContext: l,
912
- viewport: _
951
+ const R = l.getContext("2d");
952
+ if (!R) return;
953
+ const P = (v) => h === void 0 ? { scale: v } : { scale: v, rotation: h }, C = p.getViewport(P(1)), G = Ie(g, C, b), L = p.getViewport(P(G)), q = Math.max(1, window.devicePixelRatio || 1);
954
+ l.width = Math.floor(L.width * q), l.height = Math.floor(L.height * q), R.setTransform(q, 0, 0, q, 0, 0);
955
+ const J = p.render({
956
+ canvas: l,
957
+ canvasContext: R,
958
+ viewport: L
913
959
  });
914
- let B = !1, I = null;
915
- return G.promise.then(async () => {
916
- if (B || !T) return;
917
- T.textContent = "";
918
- const r = await p.getTextContent();
919
- B || (I = new he.TextLayer({
920
- textContentSource: r,
921
- container: T,
922
- viewport: _
923
- }), await I.render(), Ie(T, S, z));
960
+ let A = !1, n = null;
961
+ return J.promise.then(async () => {
962
+ if (A || !c) return;
963
+ c.textContent = "";
964
+ const v = await p.getTextContent();
965
+ A || (n = new he.TextLayer({
966
+ textContentSource: v,
967
+ container: c,
968
+ viewport: L
969
+ }), await n.render(), Ae(c, T, m));
924
970
  }).catch(() => {
925
971
  }), () => {
926
- B = !0;
972
+ A = !0;
927
973
  try {
928
- G.cancel();
974
+ J.cancel();
929
975
  } catch {
930
976
  }
931
- if (I)
977
+ if (n)
932
978
  try {
933
- I.cancel();
979
+ n.cancel();
934
980
  } catch {
935
981
  }
936
982
  };
937
983
  }, [
938
984
  p,
939
- P,
940
- g,
941
- y,
942
- x,
943
985
  S,
944
- z,
986
+ g,
987
+ b,
988
+ D,
989
+ T,
990
+ m,
945
991
  h
946
- ]), R(() => {
947
- if (!P) return;
948
- const i = k.current;
949
- i && Ie(i, S, z);
950
- }, [S, P, z]);
951
- const s = {
952
- width: M.width,
953
- height: M.height
954
- }, J = {
955
- width: M.width,
956
- height: M.height
992
+ ]), M(() => {
993
+ if (!S) return;
994
+ const l = E.current;
995
+ l && Ae(l, T, m);
996
+ }, [T, S, m]);
997
+ const U = {
998
+ width: x.width,
999
+ height: x.height
1000
+ }, I = {
1001
+ width: x.width,
1002
+ height: x.height
957
1003
  };
958
1004
  return /* @__PURE__ */ K(
959
1005
  "article",
960
1006
  {
961
- ref: (i) => {
962
- Z(i);
1007
+ ref: (l) => {
1008
+ j(l);
963
1009
  },
964
1010
  "data-page-number": t,
965
- "aria-label": v("pdf.pageOf", { current: t, total: m }),
966
- className: ot(),
967
- style: J,
1011
+ "aria-label": u("pdf.pageOf", { current: t, total: y }),
1012
+ className: ct(),
1013
+ style: I,
968
1014
  children: [
969
- /* @__PURE__ */ o("canvas", { ref: u, style: s }),
1015
+ /* @__PURE__ */ o("canvas", { ref: z, style: U }),
970
1016
  /* @__PURE__ */ o(
971
1017
  "div",
972
1018
  {
973
- ref: k,
1019
+ ref: E,
974
1020
  "aria-hidden": "false",
1021
+ "data-pdf-text-layer": "",
975
1022
  className: [
976
1023
  "ds:absolute ds:inset-0",
977
1024
  "ds:overflow-hidden",
@@ -984,19 +1031,19 @@ function ct(n) {
984
1031
  ].join(" ")
985
1032
  }
986
1033
  ),
987
- P && w ? /* @__PURE__ */ o(
1034
+ S && k ? /* @__PURE__ */ o(
988
1035
  "div",
989
1036
  {
990
1037
  role: "group",
991
- "aria-label": v("pdf.pageOverlay", { page: t }),
992
- className: "ds:absolute ds:inset-0 ds:pointer-events-auto",
1038
+ "aria-label": u("pdf.pageOverlay", { page: t }),
1039
+ className: lt({ accessible: N }),
993
1040
  "data-pdf-page-overlay": "",
994
1041
  "data-page-number": t,
995
- children: w({
1042
+ children: k({
996
1043
  pageNumber: t,
997
- pageWidthCss: M.width,
998
- pageHeightCss: M.height,
999
- rotation: U
1044
+ pageWidthCss: x.width,
1045
+ pageHeightCss: x.height,
1046
+ rotation: s
1000
1047
  })
1001
1048
  }
1002
1049
  ) : null
@@ -1004,48 +1051,48 @@ function ct(n) {
1004
1051
  }
1005
1052
  );
1006
1053
  }
1007
- function Ne(n) {
1008
- return n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
1054
+ function Re(a) {
1055
+ return a.normalize("NFKD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
1009
1056
  }
1010
- function Ie(n, t, m) {
1011
- if (n.querySelectorAll("[data-match]").forEach((v) => {
1012
- v.removeAttribute("data-match");
1057
+ function Ae(a, t, y) {
1058
+ if (a.querySelectorAll("[data-match]").forEach((m) => {
1059
+ m.removeAttribute("data-match");
1013
1060
  }), !t) {
1014
- m(0);
1061
+ y(0);
1015
1062
  return;
1016
1063
  }
1017
- const g = Ne(t);
1064
+ const g = Re(t);
1018
1065
  if (!g) {
1019
- m(0);
1066
+ y(0);
1020
1067
  return;
1021
1068
  }
1022
- const h = Array.from(n.querySelectorAll("span")), w = [], y = [];
1023
- let x = 0;
1024
- for (const v of h) {
1025
- const u = Ne(v.textContent ?? "");
1026
- w.push({ start: x, end: x + u.length }), y.push(u), x += u.length;
1069
+ const h = Array.from(a.querySelectorAll("span")), k = [], N = [];
1070
+ let b = 0;
1071
+ for (const m of h) {
1072
+ const u = Re(m.textContent ?? "");
1073
+ k.push({ start: b, end: b + u.length }), N.push(u), b += u.length;
1027
1074
  }
1028
- const P = y.join("");
1029
- let Z = 0;
1030
- const S = /* @__PURE__ */ new Set();
1031
- let z = 0;
1032
- for (; z <= P.length - g.length; ) {
1033
- const v = P.indexOf(g, z);
1034
- if (v === -1) break;
1035
- Z += 1;
1036
- const u = v + g.length;
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);
1075
+ const D = N.join("");
1076
+ let S = 0;
1077
+ const j = /* @__PURE__ */ new Set();
1078
+ let T = 0;
1079
+ for (; T <= D.length - g.length; ) {
1080
+ const m = D.indexOf(g, T);
1081
+ if (m === -1) break;
1082
+ S += 1;
1083
+ const u = m + g.length;
1084
+ for (let z = 0; z < k.length; z++) {
1085
+ const { start: E, end: x } = k[z];
1086
+ E < u && x > m && j.add(z);
1040
1087
  }
1041
- z = u;
1088
+ T = u;
1042
1089
  }
1043
- S.forEach((v) => {
1044
- h[v].setAttribute("data-match", "true");
1045
- }), m(Z);
1090
+ j.forEach((m) => {
1091
+ h[m].setAttribute("data-match", "true");
1092
+ }), y(S);
1046
1093
  }
1047
1094
  export {
1048
- it as P,
1049
- Ye as p
1095
+ ft as P,
1096
+ at as p
1050
1097
  };
1051
- //# sourceMappingURL=pdf-viewer-BnBKdx0y.js.map
1098
+ //# sourceMappingURL=pdf-viewer-TRC5jEm5.js.map