codex 1.5.0a2__py3-none-any.whl → 1.5.0rc2__py3-none-any.whl

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.

Potentially problematic release.


This version of codex might be problematic. Click here for more details.

Files changed (334) hide show
  1. codex/static_root/assets/{VCheckbox-tTkeubf8.f27220f11f32.js → VCheckbox-MGquS0QE.fa4200601992.js} +1 -1
  2. codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js.br +0 -0
  3. codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js.gz +0 -0
  4. codex/static_root/assets/{VCheckbox-tTkeubf8.js → VCheckbox-MGquS0QE.js} +1 -1
  5. codex/static_root/assets/VCheckbox-MGquS0QE.js.br +0 -0
  6. codex/static_root/assets/VCheckbox-MGquS0QE.js.gz +0 -0
  7. codex/static_root/assets/{VCheckboxBtn-WKexthxJ.9423d3f6f1fd.js → VCheckboxBtn-yxvU5omH.988a7b938375.js} +1 -1
  8. codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js.br +0 -0
  9. codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js.gz +0 -0
  10. codex/static_root/assets/{VCheckboxBtn-WKexthxJ.js → VCheckboxBtn-yxvU5omH.js} +1 -1
  11. codex/static_root/assets/VCheckboxBtn-yxvU5omH.js.br +0 -0
  12. codex/static_root/assets/VCheckboxBtn-yxvU5omH.js.gz +0 -0
  13. codex/static_root/assets/{VCombobox-Y594p6q7.3569a5f7d24e.js → VCombobox-w65JObkI.97abe248659d.js} +1 -1
  14. codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js.br +0 -0
  15. codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js.gz +0 -0
  16. codex/static_root/assets/{VCombobox-Y594p6q7.js → VCombobox-w65JObkI.js} +1 -1
  17. codex/static_root/assets/VCombobox-w65JObkI.js.br +0 -0
  18. codex/static_root/assets/VCombobox-w65JObkI.js.gz +0 -0
  19. codex/static_root/assets/{VDataTableVirtual-HbBa_J70.c2728233069c.js → VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js} +1 -1
  20. codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js.br +0 -0
  21. codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js.gz +0 -0
  22. codex/static_root/assets/{VDataTableVirtual-HbBa_J70.js → VDataTableVirtual-oL2PAKTi.js} +1 -1
  23. codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js.br +0 -0
  24. codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js.gz +0 -0
  25. codex/static_root/assets/{VExpansionPanel-qavjnSBS.84942ce8999c.js → VExpansionPanel-EX1vU7wN.f746ab10168a.js} +1 -1
  26. codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js.br +0 -0
  27. codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js.gz +0 -0
  28. codex/static_root/assets/{VExpansionPanel-qavjnSBS.js → VExpansionPanel-EX1vU7wN.js} +1 -1
  29. codex/static_root/assets/VExpansionPanel-EX1vU7wN.js.br +0 -0
  30. codex/static_root/assets/VExpansionPanel-EX1vU7wN.js.gz +0 -0
  31. codex/static_root/assets/{VMain-v9LFWFNT.8adc69f0bdfb.js → VMain-VT-qZQ__.c0547e61f15f.js} +1 -1
  32. codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js.br +0 -0
  33. codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js.gz +0 -0
  34. codex/static_root/assets/{VMain-v9LFWFNT.js → VMain-VT-qZQ__.js} +1 -1
  35. codex/static_root/assets/VMain-VT-qZQ__.js.br +0 -0
  36. codex/static_root/assets/VMain-VT-qZQ__.js.gz +0 -0
  37. codex/static_root/assets/{VRadioGroup-FBfPhvIz.369d5c0ce728.js → VRadioGroup-TtGu5WYN.82313d607c3b.js} +1 -1
  38. codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js.br +3 -0
  39. codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js.gz +0 -0
  40. codex/static_root/assets/{VRadioGroup-FBfPhvIz.js → VRadioGroup-TtGu5WYN.js} +1 -1
  41. codex/static_root/assets/VRadioGroup-TtGu5WYN.js.br +3 -0
  42. codex/static_root/assets/VRadioGroup-TtGu5WYN.js.gz +0 -0
  43. codex/static_root/assets/{VSelect-LwrRxfjs.a027c91f4ea0.js → VSelect-Yw9YsgjJ.343b4b0ef067.js} +1 -1
  44. codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js.br +0 -0
  45. codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js.gz +0 -0
  46. codex/static_root/assets/{VSelect-LwrRxfjs.js → VSelect-Yw9YsgjJ.js} +1 -1
  47. codex/static_root/assets/VSelect-Yw9YsgjJ.js.br +0 -0
  48. codex/static_root/assets/VSelect-Yw9YsgjJ.js.gz +0 -0
  49. codex/static_root/assets/{VSelectionControl-Ervl02ph.c4f8e01901ad.js → VSelectionControl-9CzKd8rG.94ddb0376ad2.js} +1 -1
  50. codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js.br +0 -0
  51. codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js.gz +0 -0
  52. codex/static_root/assets/{VSelectionControl-Ervl02ph.js → VSelectionControl-9CzKd8rG.js} +1 -1
  53. codex/static_root/assets/VSelectionControl-9CzKd8rG.js.br +0 -0
  54. codex/static_root/assets/VSelectionControl-9CzKd8rG.js.gz +0 -0
  55. codex/static_root/assets/{VTable-jVOjaHdB.da950a339a97.js → VTable-q30xy1Qm.a295a3c5b1fd.js} +1 -1
  56. codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js.br +0 -0
  57. codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js.gz +0 -0
  58. codex/static_root/assets/{VTable-jVOjaHdB.js → VTable-q30xy1Qm.js} +1 -1
  59. codex/static_root/assets/VTable-q30xy1Qm.js.br +0 -0
  60. codex/static_root/assets/VTable-q30xy1Qm.js.gz +0 -0
  61. codex/static_root/assets/{VTextField-h1EP0NAs.js → VTextField-1s8i2nK8.28e3377981c8.js} +1 -1
  62. codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js.br +0 -0
  63. codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js.gz +0 -0
  64. codex/static_root/assets/{VTextField-h1EP0NAs.7949ca527d37.js → VTextField-1s8i2nK8.js} +1 -1
  65. codex/static_root/assets/VTextField-1s8i2nK8.js.br +0 -0
  66. codex/static_root/assets/VTextField-1s8i2nK8.js.gz +0 -0
  67. codex/static_root/assets/{VToolbar-l9UdbYjt.js → VToolbar-BBzymioO.ec12d95a725e.js} +2 -2
  68. codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js.br +0 -0
  69. codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js.gz +0 -0
  70. codex/static_root/assets/{VToolbar-l9UdbYjt.31f4cab5164e.js → VToolbar-BBzymioO.js} +2 -2
  71. codex/static_root/assets/VToolbar-BBzymioO.js.br +0 -0
  72. codex/static_root/assets/VToolbar-BBzymioO.js.gz +0 -0
  73. codex/static_root/assets/{VWindowItem-tHjlSrOR.ad9f2f08beaa.js → VWindowItem-J3hy1lxS.b8e6081f6afc.js} +1 -1
  74. codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js.br +0 -0
  75. codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js.gz +0 -0
  76. codex/static_root/assets/{VWindowItem-tHjlSrOR.js → VWindowItem-J3hy1lxS.js} +1 -1
  77. codex/static_root/assets/VWindowItem-J3hy1lxS.js.br +0 -0
  78. codex/static_root/assets/VWindowItem-J3hy1lxS.js.gz +0 -0
  79. codex/static_root/assets/{admin-HhANGIs6.js → admin-NMv29Iqq.9918d0dee7ba.js} +1 -1
  80. codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js.br +0 -0
  81. codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js.gz +0 -0
  82. codex/static_root/assets/{admin-HhANGIs6.0c2a5bd8a141.js → admin-NMv29Iqq.js} +1 -1
  83. codex/static_root/assets/admin-NMv29Iqq.js.br +0 -0
  84. codex/static_root/assets/admin-NMv29Iqq.js.gz +0 -0
  85. codex/static_root/assets/{admin-drawer-panel-lvSt_rmS.d8b5b8784722.js → admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js} +7 -7
  86. codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js.br +0 -0
  87. codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js.gz +0 -0
  88. codex/static_root/assets/{admin-drawer-panel-lvSt_rmS.js → admin-drawer-panel-JjJ1iA6R.js} +7 -7
  89. codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js.br +0 -0
  90. codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js.gz +0 -0
  91. codex/static_root/assets/{browser-ScCrcWvS.25fba696244a.js → browser-zvI8XpnW.3f264709f471.js} +1 -1
  92. codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js.br +0 -0
  93. codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js.gz +0 -0
  94. codex/static_root/assets/{browser-ScCrcWvS.js → browser-zvI8XpnW.js} +1 -1
  95. codex/static_root/assets/browser-zvI8XpnW.js.br +0 -0
  96. codex/static_root/assets/browser-zvI8XpnW.js.gz +0 -0
  97. codex/static_root/assets/{change-password-dialog-USKvhqKL.07f0e9bac4ca.js → change-password-dialog-9i9SZGmU.83b35cb4309c.js} +1 -1
  98. codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js.br +0 -0
  99. codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js.gz +0 -0
  100. codex/static_root/assets/{change-password-dialog-USKvhqKL.js → change-password-dialog-9i9SZGmU.js} +1 -1
  101. codex/static_root/assets/change-password-dialog-9i9SZGmU.js.br +0 -0
  102. codex/static_root/assets/change-password-dialog-9i9SZGmU.js.gz +0 -0
  103. codex/static_root/assets/{confirm-dialog-Avb2JqKf.530cc69b8db4.js → confirm-dialog-3RjVRgsv.46d811c7f837.js} +1 -1
  104. codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js.br +0 -0
  105. codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js.gz +0 -0
  106. codex/static_root/assets/{confirm-dialog-Avb2JqKf.js → confirm-dialog-3RjVRgsv.js} +1 -1
  107. codex/static_root/assets/confirm-dialog-3RjVRgsv.js.br +0 -0
  108. codex/static_root/assets/confirm-dialog-3RjVRgsv.js.gz +0 -0
  109. codex/static_root/assets/{confirm-footer-c31QW5F5.js → confirm-footer-IJHq21-K.8e9be6e41786.js} +1 -1
  110. codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js.br +0 -0
  111. codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js.gz +0 -0
  112. codex/static_root/assets/{confirm-footer-c31QW5F5.8c384032dd7d.js → confirm-footer-IJHq21-K.js} +1 -1
  113. codex/static_root/assets/confirm-footer-IJHq21-K.js.br +0 -0
  114. codex/static_root/assets/confirm-footer-IJHq21-K.js.gz +0 -0
  115. codex/static_root/assets/{datetime-column-tO3kEqPv.8768e3feca4f.js → datetime-column-hS6FHx6v.1158c5db4d07.js} +1 -1
  116. codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js.br +0 -0
  117. codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js.gz +0 -0
  118. codex/static_root/assets/{datetime-column-tO3kEqPv.js → datetime-column-hS6FHx6v.js} +1 -1
  119. codex/static_root/assets/datetime-column-hS6FHx6v.js.br +0 -0
  120. codex/static_root/assets/datetime-column-hS6FHx6v.js.gz +0 -0
  121. codex/static_root/assets/{filter-8wm0zu1v.f12bece6bbad.js → filter-jwn1nJiw.5001415d600e.js} +1 -1
  122. codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js.br +0 -0
  123. codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js.gz +0 -0
  124. codex/static_root/assets/{filter-8wm0zu1v.js → filter-jwn1nJiw.js} +1 -1
  125. codex/static_root/assets/filter-jwn1nJiw.js.br +0 -0
  126. codex/static_root/assets/filter-jwn1nJiw.js.gz +0 -0
  127. codex/static_root/assets/{flag-tab-zuqhCB44.caaef1ddd594.js → flag-tab--ch0e4rD.58776d26590c.js} +1 -1
  128. codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js.br +0 -0
  129. codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js.gz +0 -0
  130. codex/static_root/assets/{flag-tab-zuqhCB44.js → flag-tab--ch0e4rD.js} +1 -1
  131. codex/static_root/assets/flag-tab--ch0e4rD.js.br +0 -0
  132. codex/static_root/assets/flag-tab--ch0e4rD.js.gz +0 -0
  133. codex/static_root/assets/{group-tab-QdGBW0DM.bb4ae4e0452a.js → group-tab-ArQ1w79f.cc06faf5e6b9.js} +1 -1
  134. codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js.br +0 -0
  135. codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js.gz +0 -0
  136. codex/static_root/assets/{group-tab-QdGBW0DM.js → group-tab-ArQ1w79f.js} +1 -1
  137. codex/static_root/assets/group-tab-ArQ1w79f.js.br +0 -0
  138. codex/static_root/assets/group-tab-ArQ1w79f.js.gz +0 -0
  139. codex/static_root/assets/{http-error-MGTSWtb6.f9aa4b31fa18.js → http-error--_xFbHmk.4ac657568407.js} +1 -1
  140. codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js.br +0 -0
  141. codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js.gz +0 -0
  142. codex/static_root/assets/{http-error-MGTSWtb6.js → http-error--_xFbHmk.js} +1 -1
  143. codex/static_root/assets/http-error--_xFbHmk.js.br +0 -0
  144. codex/static_root/assets/http-error--_xFbHmk.js.gz +0 -0
  145. codex/static_root/assets/{library-tab-9J09VnVi.03b72198f471.js → library-tab-DTSk7xJH.c19461f4ea09.js} +1 -1
  146. codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js.br +0 -0
  147. codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js.gz +0 -0
  148. codex/static_root/assets/{library-tab-9J09VnVi.js → library-tab-DTSk7xJH.js} +1 -1
  149. codex/static_root/assets/library-tab-DTSk7xJH.js.br +0 -0
  150. codex/static_root/assets/library-tab-DTSk7xJH.js.gz +0 -0
  151. codex/static_root/assets/{main-OIrebd4D.js → main-fEXxBNBg.d57876a83567.js} +3 -3
  152. codex/static_root/assets/main-fEXxBNBg.d57876a83567.js.br +0 -0
  153. codex/static_root/assets/main-fEXxBNBg.d57876a83567.js.gz +0 -0
  154. codex/static_root/assets/{main-OIrebd4D.4125e97258cc.js → main-fEXxBNBg.js} +3 -3
  155. codex/static_root/assets/main-fEXxBNBg.js.br +0 -0
  156. codex/static_root/assets/main-fEXxBNBg.js.gz +0 -0
  157. codex/static_root/assets/{metadata-dialog-59F6cY-t.71c5ceeec80f.js → metadata-dialog-JnnKcg8a.ab72001734ab.js} +1 -1
  158. codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js.br +0 -0
  159. codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js.gz +0 -0
  160. codex/static_root/assets/{metadata-dialog-59F6cY-t.js → metadata-dialog-JnnKcg8a.js} +1 -1
  161. codex/static_root/assets/metadata-dialog-JnnKcg8a.js.br +0 -0
  162. codex/static_root/assets/metadata-dialog-JnnKcg8a.js.gz +0 -0
  163. codex/static_root/assets/{page-pdf-qKVxs5Fl.fe22b6bb58e7.js → page-pdf-g4F4Ke5z.389bdaf4fdf0.js} +1 -1
  164. codex/static_root/assets/page-pdf-g4F4Ke5z.389bdaf4fdf0.js.br +0 -0
  165. codex/static_root/assets/page-pdf-g4F4Ke5z.389bdaf4fdf0.js.gz +0 -0
  166. codex/static_root/assets/{page-pdf-qKVxs5Fl.js → page-pdf-g4F4Ke5z.js} +1 -1
  167. codex/static_root/assets/page-pdf-g4F4Ke5z.js.br +0 -0
  168. codex/static_root/assets/page-pdf-g4F4Ke5z.js.gz +0 -0
  169. codex/static_root/assets/{reader-pWdsr8PS.js → reader-QLyUuSWQ.9e6c0e79fcc4.js} +2 -2
  170. codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js.br +0 -0
  171. codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js.gz +0 -0
  172. codex/static_root/assets/{reader-pWdsr8PS.9a739c93107c.js → reader-QLyUuSWQ.js} +2 -2
  173. codex/static_root/assets/reader-QLyUuSWQ.js.br +0 -0
  174. codex/static_root/assets/reader-QLyUuSWQ.js.gz +0 -0
  175. codex/static_root/assets/{stats-tab-XqhicAZ7.efad45822b55.js → stats-tab-Uk5KYfnH.577928e85d6f.js} +1 -1
  176. codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js.br +0 -0
  177. codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js.gz +0 -0
  178. codex/static_root/assets/{stats-tab-XqhicAZ7.js → stats-tab-Uk5KYfnH.js} +1 -1
  179. codex/static_root/assets/stats-tab-Uk5KYfnH.js.br +0 -0
  180. codex/static_root/assets/stats-tab-Uk5KYfnH.js.gz +0 -0
  181. codex/static_root/assets/{task-tab-ouDLbTWk.ed835abfa80a.js → task-tab-yrzb0Yg7.acca63d69906.js} +1 -1
  182. codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js.br +0 -0
  183. codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js.gz +0 -0
  184. codex/static_root/assets/{task-tab-ouDLbTWk.js → task-tab-yrzb0Yg7.js} +1 -1
  185. codex/static_root/assets/task-tab-yrzb0Yg7.js.br +0 -0
  186. codex/static_root/assets/task-tab-yrzb0Yg7.js.gz +0 -0
  187. codex/static_root/assets/{user-tab-oEx5iXby.238dba3d3dd0.js → user-tab-tjEgknk-.03270572c181.js} +1 -1
  188. codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js.br +0 -0
  189. codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js.gz +0 -0
  190. codex/static_root/assets/{user-tab-oEx5iXby.js → user-tab-tjEgknk-.js} +1 -1
  191. codex/static_root/assets/user-tab-tjEgknk-.js.br +0 -0
  192. codex/static_root/assets/user-tab-tjEgknk-.js.gz +0 -0
  193. codex/static_root/{manifest.8104a0d32057.json → manifest.e029798eeec1.json} +205 -205
  194. codex/static_root/manifest.e029798eeec1.json.br +0 -0
  195. codex/static_root/manifest.e029798eeec1.json.gz +0 -0
  196. codex/static_root/manifest.json +205 -205
  197. codex/static_root/manifest.json.br +0 -0
  198. codex/static_root/manifest.json.gz +0 -0
  199. codex/static_root/staticfiles.json +1 -1
  200. {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/METADATA +2 -2
  201. {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/RECORD +204 -204
  202. codex/static_root/assets/VCheckbox-tTkeubf8.f27220f11f32.js.br +0 -0
  203. codex/static_root/assets/VCheckbox-tTkeubf8.f27220f11f32.js.gz +0 -0
  204. codex/static_root/assets/VCheckbox-tTkeubf8.js.br +0 -0
  205. codex/static_root/assets/VCheckbox-tTkeubf8.js.gz +0 -0
  206. codex/static_root/assets/VCheckboxBtn-WKexthxJ.9423d3f6f1fd.js.br +0 -0
  207. codex/static_root/assets/VCheckboxBtn-WKexthxJ.9423d3f6f1fd.js.gz +0 -0
  208. codex/static_root/assets/VCheckboxBtn-WKexthxJ.js.br +0 -0
  209. codex/static_root/assets/VCheckboxBtn-WKexthxJ.js.gz +0 -0
  210. codex/static_root/assets/VCombobox-Y594p6q7.3569a5f7d24e.js.br +0 -0
  211. codex/static_root/assets/VCombobox-Y594p6q7.3569a5f7d24e.js.gz +0 -0
  212. codex/static_root/assets/VCombobox-Y594p6q7.js.br +0 -0
  213. codex/static_root/assets/VCombobox-Y594p6q7.js.gz +0 -0
  214. codex/static_root/assets/VDataTableVirtual-HbBa_J70.c2728233069c.js.br +0 -0
  215. codex/static_root/assets/VDataTableVirtual-HbBa_J70.c2728233069c.js.gz +0 -0
  216. codex/static_root/assets/VDataTableVirtual-HbBa_J70.js.br +0 -0
  217. codex/static_root/assets/VDataTableVirtual-HbBa_J70.js.gz +0 -0
  218. codex/static_root/assets/VExpansionPanel-qavjnSBS.84942ce8999c.js.br +0 -0
  219. codex/static_root/assets/VExpansionPanel-qavjnSBS.84942ce8999c.js.gz +0 -0
  220. codex/static_root/assets/VExpansionPanel-qavjnSBS.js.br +0 -0
  221. codex/static_root/assets/VExpansionPanel-qavjnSBS.js.gz +0 -0
  222. codex/static_root/assets/VMain-v9LFWFNT.8adc69f0bdfb.js.br +0 -0
  223. codex/static_root/assets/VMain-v9LFWFNT.8adc69f0bdfb.js.gz +0 -0
  224. codex/static_root/assets/VMain-v9LFWFNT.js.br +0 -0
  225. codex/static_root/assets/VMain-v9LFWFNT.js.gz +0 -0
  226. codex/static_root/assets/VRadioGroup-FBfPhvIz.369d5c0ce728.js.br +0 -0
  227. codex/static_root/assets/VRadioGroup-FBfPhvIz.369d5c0ce728.js.gz +0 -0
  228. codex/static_root/assets/VRadioGroup-FBfPhvIz.js.br +0 -0
  229. codex/static_root/assets/VRadioGroup-FBfPhvIz.js.gz +0 -0
  230. codex/static_root/assets/VSelect-LwrRxfjs.a027c91f4ea0.js.br +0 -0
  231. codex/static_root/assets/VSelect-LwrRxfjs.a027c91f4ea0.js.gz +0 -0
  232. codex/static_root/assets/VSelect-LwrRxfjs.js.br +0 -0
  233. codex/static_root/assets/VSelect-LwrRxfjs.js.gz +0 -0
  234. codex/static_root/assets/VSelectionControl-Ervl02ph.c4f8e01901ad.js.br +0 -0
  235. codex/static_root/assets/VSelectionControl-Ervl02ph.c4f8e01901ad.js.gz +0 -0
  236. codex/static_root/assets/VSelectionControl-Ervl02ph.js.br +0 -0
  237. codex/static_root/assets/VSelectionControl-Ervl02ph.js.gz +0 -0
  238. codex/static_root/assets/VTable-jVOjaHdB.da950a339a97.js.br +0 -0
  239. codex/static_root/assets/VTable-jVOjaHdB.da950a339a97.js.gz +0 -0
  240. codex/static_root/assets/VTable-jVOjaHdB.js.br +0 -0
  241. codex/static_root/assets/VTable-jVOjaHdB.js.gz +0 -0
  242. codex/static_root/assets/VTextField-h1EP0NAs.7949ca527d37.js.br +0 -0
  243. codex/static_root/assets/VTextField-h1EP0NAs.7949ca527d37.js.gz +0 -0
  244. codex/static_root/assets/VTextField-h1EP0NAs.js.br +0 -0
  245. codex/static_root/assets/VTextField-h1EP0NAs.js.gz +0 -0
  246. codex/static_root/assets/VToolbar-l9UdbYjt.31f4cab5164e.js.br +0 -0
  247. codex/static_root/assets/VToolbar-l9UdbYjt.31f4cab5164e.js.gz +0 -0
  248. codex/static_root/assets/VToolbar-l9UdbYjt.js.br +0 -0
  249. codex/static_root/assets/VToolbar-l9UdbYjt.js.gz +0 -0
  250. codex/static_root/assets/VWindowItem-tHjlSrOR.ad9f2f08beaa.js.br +0 -0
  251. codex/static_root/assets/VWindowItem-tHjlSrOR.ad9f2f08beaa.js.gz +0 -0
  252. codex/static_root/assets/VWindowItem-tHjlSrOR.js.br +0 -0
  253. codex/static_root/assets/VWindowItem-tHjlSrOR.js.gz +0 -0
  254. codex/static_root/assets/admin-HhANGIs6.0c2a5bd8a141.js.br +0 -0
  255. codex/static_root/assets/admin-HhANGIs6.0c2a5bd8a141.js.gz +0 -0
  256. codex/static_root/assets/admin-HhANGIs6.js.br +0 -0
  257. codex/static_root/assets/admin-HhANGIs6.js.gz +0 -0
  258. codex/static_root/assets/admin-drawer-panel-lvSt_rmS.d8b5b8784722.js.br +0 -0
  259. codex/static_root/assets/admin-drawer-panel-lvSt_rmS.d8b5b8784722.js.gz +0 -0
  260. codex/static_root/assets/admin-drawer-panel-lvSt_rmS.js.br +0 -0
  261. codex/static_root/assets/admin-drawer-panel-lvSt_rmS.js.gz +0 -0
  262. codex/static_root/assets/browser-ScCrcWvS.25fba696244a.js.br +0 -0
  263. codex/static_root/assets/browser-ScCrcWvS.25fba696244a.js.gz +0 -0
  264. codex/static_root/assets/browser-ScCrcWvS.js.br +0 -0
  265. codex/static_root/assets/browser-ScCrcWvS.js.gz +0 -0
  266. codex/static_root/assets/change-password-dialog-USKvhqKL.07f0e9bac4ca.js.br +0 -0
  267. codex/static_root/assets/change-password-dialog-USKvhqKL.07f0e9bac4ca.js.gz +0 -0
  268. codex/static_root/assets/change-password-dialog-USKvhqKL.js.br +0 -0
  269. codex/static_root/assets/change-password-dialog-USKvhqKL.js.gz +0 -0
  270. codex/static_root/assets/confirm-dialog-Avb2JqKf.530cc69b8db4.js.br +0 -0
  271. codex/static_root/assets/confirm-dialog-Avb2JqKf.530cc69b8db4.js.gz +0 -0
  272. codex/static_root/assets/confirm-dialog-Avb2JqKf.js.br +0 -0
  273. codex/static_root/assets/confirm-dialog-Avb2JqKf.js.gz +0 -0
  274. codex/static_root/assets/confirm-footer-c31QW5F5.8c384032dd7d.js.br +0 -0
  275. codex/static_root/assets/confirm-footer-c31QW5F5.8c384032dd7d.js.gz +0 -0
  276. codex/static_root/assets/confirm-footer-c31QW5F5.js.br +0 -0
  277. codex/static_root/assets/confirm-footer-c31QW5F5.js.gz +0 -0
  278. codex/static_root/assets/datetime-column-tO3kEqPv.8768e3feca4f.js.br +0 -0
  279. codex/static_root/assets/datetime-column-tO3kEqPv.8768e3feca4f.js.gz +0 -0
  280. codex/static_root/assets/datetime-column-tO3kEqPv.js.br +0 -0
  281. codex/static_root/assets/datetime-column-tO3kEqPv.js.gz +0 -0
  282. codex/static_root/assets/filter-8wm0zu1v.f12bece6bbad.js.br +0 -0
  283. codex/static_root/assets/filter-8wm0zu1v.f12bece6bbad.js.gz +0 -0
  284. codex/static_root/assets/filter-8wm0zu1v.js.br +0 -0
  285. codex/static_root/assets/filter-8wm0zu1v.js.gz +0 -0
  286. codex/static_root/assets/flag-tab-zuqhCB44.caaef1ddd594.js.br +0 -0
  287. codex/static_root/assets/flag-tab-zuqhCB44.caaef1ddd594.js.gz +0 -0
  288. codex/static_root/assets/flag-tab-zuqhCB44.js.br +0 -0
  289. codex/static_root/assets/flag-tab-zuqhCB44.js.gz +0 -0
  290. codex/static_root/assets/group-tab-QdGBW0DM.bb4ae4e0452a.js.br +0 -0
  291. codex/static_root/assets/group-tab-QdGBW0DM.bb4ae4e0452a.js.gz +0 -0
  292. codex/static_root/assets/group-tab-QdGBW0DM.js.br +0 -0
  293. codex/static_root/assets/group-tab-QdGBW0DM.js.gz +0 -0
  294. codex/static_root/assets/http-error-MGTSWtb6.f9aa4b31fa18.js.br +0 -0
  295. codex/static_root/assets/http-error-MGTSWtb6.f9aa4b31fa18.js.gz +0 -0
  296. codex/static_root/assets/http-error-MGTSWtb6.js.br +0 -0
  297. codex/static_root/assets/http-error-MGTSWtb6.js.gz +0 -0
  298. codex/static_root/assets/library-tab-9J09VnVi.03b72198f471.js.br +0 -0
  299. codex/static_root/assets/library-tab-9J09VnVi.03b72198f471.js.gz +0 -0
  300. codex/static_root/assets/library-tab-9J09VnVi.js.br +0 -0
  301. codex/static_root/assets/library-tab-9J09VnVi.js.gz +0 -0
  302. codex/static_root/assets/main-OIrebd4D.4125e97258cc.js.br +0 -0
  303. codex/static_root/assets/main-OIrebd4D.4125e97258cc.js.gz +0 -0
  304. codex/static_root/assets/main-OIrebd4D.js.br +0 -0
  305. codex/static_root/assets/main-OIrebd4D.js.gz +0 -0
  306. codex/static_root/assets/metadata-dialog-59F6cY-t.71c5ceeec80f.js.br +0 -0
  307. codex/static_root/assets/metadata-dialog-59F6cY-t.71c5ceeec80f.js.gz +0 -0
  308. codex/static_root/assets/metadata-dialog-59F6cY-t.js.br +0 -0
  309. codex/static_root/assets/metadata-dialog-59F6cY-t.js.gz +0 -0
  310. codex/static_root/assets/page-pdf-qKVxs5Fl.fe22b6bb58e7.js.br +0 -0
  311. codex/static_root/assets/page-pdf-qKVxs5Fl.fe22b6bb58e7.js.gz +0 -0
  312. codex/static_root/assets/page-pdf-qKVxs5Fl.js.br +0 -0
  313. codex/static_root/assets/page-pdf-qKVxs5Fl.js.gz +0 -0
  314. codex/static_root/assets/reader-pWdsr8PS.9a739c93107c.js.br +0 -0
  315. codex/static_root/assets/reader-pWdsr8PS.9a739c93107c.js.gz +0 -0
  316. codex/static_root/assets/reader-pWdsr8PS.js.br +0 -0
  317. codex/static_root/assets/reader-pWdsr8PS.js.gz +0 -0
  318. codex/static_root/assets/stats-tab-XqhicAZ7.efad45822b55.js.br +0 -0
  319. codex/static_root/assets/stats-tab-XqhicAZ7.efad45822b55.js.gz +0 -0
  320. codex/static_root/assets/stats-tab-XqhicAZ7.js.br +0 -0
  321. codex/static_root/assets/stats-tab-XqhicAZ7.js.gz +0 -0
  322. codex/static_root/assets/task-tab-ouDLbTWk.ed835abfa80a.js.br +0 -0
  323. codex/static_root/assets/task-tab-ouDLbTWk.ed835abfa80a.js.gz +0 -0
  324. codex/static_root/assets/task-tab-ouDLbTWk.js.br +0 -0
  325. codex/static_root/assets/task-tab-ouDLbTWk.js.gz +0 -0
  326. codex/static_root/assets/user-tab-oEx5iXby.238dba3d3dd0.js.br +0 -0
  327. codex/static_root/assets/user-tab-oEx5iXby.238dba3d3dd0.js.gz +0 -0
  328. codex/static_root/assets/user-tab-oEx5iXby.js.br +0 -0
  329. codex/static_root/assets/user-tab-oEx5iXby.js.gz +0 -0
  330. codex/static_root/manifest.8104a0d32057.json.br +0 -0
  331. codex/static_root/manifest.8104a0d32057.json.gz +0 -0
  332. {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/LICENSE +0 -0
  333. {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/WHEEL +0 -0
  334. {codex-1.5.0a2.dist-info → codex-1.5.0rc2.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
1
- import{x as le,E as he,bL as He,G as oe,aB as We,aA as F,K as ie,L as l,_ as U,R as d,O as w,aP as Ne,aF as ue,P as C,aQ as Re,am as X,bM as Qe,bN as Xe,h as v,bO as ke,J as fe,s as Se,r as ve,S as Ze,p as Je,av as Me,bP as et,i as Fe,aj as tt,z as W,bQ as at,bk as Ce,bl as lt,bR as st,bn as rt,bS as nt,bT as ot,az as Te,ax as it,al as be,ak as ne,bU as ut,bV as dt,M as te,aE as T,bW as ct,ab as Ee,aH as R,ae as V,bX as mt,b5 as De,aJ as m,aa as D,ad as ae,Q as Le,l as vt,b4 as $e,bx as ht,bY as ft,aD as bt,m as pt,be as gt,bf as yt,ba as we,N as me,k as _t,bb as kt,bd as St,aW as Ct,b1 as Tt,aN as wt,aO as Vt}from"./admin-drawer-panel-lvSt_rmS.js";import{a as Bt,g as Pt,e as It,i as Nt}from"./VToolbar-l9UdbYjt.js";import{m as Rt,a as Mt,u as Ft,V as Ve,b as Et}from"./VSelectionControl-Ervl02ph.js";import{C as Dt,u as Q,A as Lt}from"./main-OIrebd4D.js";import{c as $t,d as Ot}from"./VSelect-LwrRxfjs.js";import{c as At}from"./to-case-FdEoSAB7.js";import{V as zt}from"./confirm-footer-c31QW5F5.js";const jt=le({...he(),...He({variant:"text"})},"VToolbarItems"),Tl=oe()({name:"VToolbarItems",props:jt(),setup(e,t){let{slots:a}=t;return We({VBtn:{color:F(e,"color"),height:"inherit",variant:F(e,"variant")}}),ie(()=>{var n;return l("div",{class:["v-toolbar-items",e.class],style:e.style},[(n=a.default)==null?void 0:n.call(a)])}),{}}}),Ut={name:"PaginationToolbar"};function qt(e,t,a,n,o,s){return d(),w(Bt,{class:"paginationToolbar codexToolbar",density:"compact",transform:"center bottom"},Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1024)}const wl=U(Ut,[["render",qt],["__scopeId","data-v-cfa8cce0"]]),pe=Symbol.for("vuetify:v-slider");function Gt(e,t,a){const n=a==="vertical",o=t.getBoundingClientRect(),s="touches"in e?e.touches[0]:e;return n?s.clientY-(o.top+o.height/2):s.clientX-(o.left+o.width/2)}function Kt(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const Yt=le({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Qe(),...Xe({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),xt=e=>{const t=v(()=>parseFloat(e.min)),a=v(()=>parseFloat(e.max)),n=v(()=>+e.step>0?parseFloat(e.step):0),o=v(()=>Math.max(ke(n.value),ke(t.value)));function s(i){if(i=parseFloat(i),n.value<=0)return i;const r=Me(i,t.value,a.value),c=t.value%n.value,h=Math.round((r-c)/n.value)*n.value+c;return parseFloat(Math.min(h,a.value).toFixed(o.value))}return{min:t,max:a,step:n,decimals:o,roundValue:s}},Ht=e=>{let{props:t,steps:a,onSliderStart:n,onSliderMove:o,onSliderEnd:s,getActiveThumb:i}=e;const{isRtl:r}=fe(),c=F(t,"reverse"),h=v(()=>t.direction==="vertical"),B=v(()=>h.value!==c.value),{min:y,max:b,step:L,decimals:q,roundValue:A}=a,x=v(()=>parseInt(t.thumbSize,10)),G=v(()=>parseInt(t.tickSize,10)),z=v(()=>parseInt(t.trackSize,10)),$=v(()=>(b.value-y.value)/L.value),K=F(t,"disabled"),E=v(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),p=v(()=>t.error||t.disabled?void 0:t.trackColor??t.color),M=v(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),_=Se(!1),k=Se(0),P=ve(),I=ve();function f(u){var _e;const g=t.direction==="vertical",Ue=g?"top":"left",qe=g?"height":"width",Ge=g?"clientY":"clientX",{[Ue]:Ke,[qe]:Ye}=(_e=P.value)==null?void 0:_e.$el.getBoundingClientRect(),xe=Kt(u,Ge);let ce=Math.min(Math.max((xe-Ke-k.value)/Ye,0),1)||0;return(g?B.value:B.value!==r.value)&&(ce=1-ce),A(y.value+ce*(b.value-y.value))}const O=u=>{s({value:f(u)}),_.value=!1,k.value=0},Z=u=>{I.value=i(u),I.value&&(I.value.focus(),_.value=!0,I.value.contains(u.target)?k.value=Gt(u,I.value,t.direction):(k.value=0,o({value:f(u)})),n({value:f(u)}))},j={passive:!0,capture:!0};function J(u){o({value:f(u)})}function se(u){u.stopPropagation(),u.preventDefault(),O(u),window.removeEventListener("mousemove",J,j),window.removeEventListener("mouseup",se)}function S(u){var g;O(u),window.removeEventListener("touchmove",J,j),(g=u.target)==null||g.removeEventListener("touchend",S)}function N(u){var g;Z(u),window.addEventListener("touchmove",J,j),(g=u.target)==null||g.addEventListener("touchend",S,{passive:!1})}function Y(u){u.preventDefault(),Z(u),window.addEventListener("mousemove",J,j),window.addEventListener("mouseup",se,{passive:!1})}const H=u=>{const g=(u-y.value)/(b.value-y.value)*100;return Me(isNaN(g)?0:g,0,100)},ee=F(t,"showTicks"),re=v(()=>ee.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(u=>({value:u,position:H(u),label:u.toString()})):Object.keys(t.ticks).map(u=>({value:parseFloat(u),position:H(parseFloat(u)),label:t.ticks[u]})):$.value!==1/0?Ze($.value+1).map(u=>{const g=y.value+u*L.value;return{value:g,position:H(g)}}):[]:[]),de=v(()=>re.value.some(u=>{let{label:g}=u;return!!g})),ye={activeThumbRef:I,color:F(t,"color"),decimals:q,disabled:K,direction:F(t,"direction"),elevation:F(t,"elevation"),hasLabels:de,isReversed:c,indexFromEnd:B,min:y,max:b,mousePressed:_,numTicks:$,onSliderMousedown:Y,onSliderTouchstart:N,parsedTicks:re,parseMouseMove:f,position:H,readonly:F(t,"readonly"),rounded:F(t,"rounded"),roundValue:A,showTicks:ee,startOffset:k,step:L,thumbSize:x,thumbColor:E,thumbLabel:F(t,"thumbLabel"),ticks:F(t,"ticks"),tickSize:G,trackColor:p,trackContainerRef:P,trackFillColor:M,trackSize:z,vertical:h};return Je(pe,ye),ye},Wt=le({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...he()},"VSliderThumb"),Qt=oe()({name:"VSliderThumb",directives:{Ripple:et},props:Wt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=Fe(pe),{isRtl:s,rtlClasses:i}=fe();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:r,step:c,disabled:h,thumbSize:B,thumbLabel:y,direction:b,isReversed:L,vertical:q,readonly:A,elevation:x,mousePressed:G,decimals:z,indexFromEnd:$}=o,{textColorClasses:K,textColorStyles:E}=tt(r),{pageup:p,pagedown:M,end:_,home:k,left:P,right:I,down:f,up:O}=nt,Z=[p,M,_,k,P,I,f,O],j=v(()=>c.value?[1,2,3]:[1,5,10]);function J(S,N){if(!Z.includes(S.key))return;S.preventDefault();const Y=c.value||.1,H=(e.max-e.min)/Y;if([P,I,f,O].includes(S.key)){const re=(q.value?[s.value?P:I,L.value?f:O]:$.value!==s.value?[P,O]:[I,O]).includes(S.key)?1:-1,de=S.shiftKey?2:S.ctrlKey?1:0;N=N+re*Y*j.value[de]}else if(S.key===k)N=e.min;else if(S.key===_)N=e.max;else{const ee=S.key===M?1:-1;N=N-ee*Y*(H>100?H/10:10)}return Math.max(e.min,Math.min(e.max,N))}function se(S){const N=J(S,e.modelValue);N!=null&&n("update:modelValue",N)}return ie(()=>{const S=W($.value?100-e.position:e.position,"%"),{elevationClasses:N}=at(v(()=>h.value?void 0:x.value));return l("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&G.value},e.class,i.value],style:[{"--v-slider-thumb-position":S,"--v-slider-thumb-size":W(B.value)},e.style],role:"slider",tabindex:h.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!A.value,"aria-orientation":b.value,onKeydown:A.value?void 0:se},[l("div",{class:["v-slider-thumb__surface",K.value,N.value],style:{...E.value}},null),Ce(l("div",{class:["v-slider-thumb__ripple",K.value],style:E.value},null),[[lt("ripple"),e.ripple,null,{circle:!0,center:!0}]]),l(st,{origin:"bottom center"},{default:()=>{var Y;return[Ce(l("div",{class:"v-slider-thumb__label-container"},[l("div",{class:["v-slider-thumb__label"]},[l("div",null,[((Y=a["thumb-label"])==null?void 0:Y.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(c.value?z.value:1)])])]),[[rt,y.value&&e.focused||y.value==="always"]])]}})])}),{}}}),Xt=le({start:{type:Number,required:!0},stop:{type:Number,required:!0},...he()},"VSliderTrack"),Zt=oe()({name:"VSliderTrack",props:Xt(),emits:{},setup(e,t){let{slots:a}=t;const n=Fe(pe);if(!n)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:s,rounded:i,showTicks:r,tickSize:c,trackColor:h,trackFillColor:B,trackSize:y,vertical:b,min:L,max:q,indexFromEnd:A}=n,{roundedClasses:x}=ot(i),{backgroundColorClasses:G,backgroundColorStyles:z}=Te(B),{backgroundColorClasses:$,backgroundColorStyles:K}=Te(h),E=v(()=>`inset-${b.value?"block":"inline"}-${A.value?"end":"start"}`),p=v(()=>b.value?"height":"width"),M=v(()=>({[E.value]:"0%",[p.value]:"100%"})),_=v(()=>e.stop-e.start),k=v(()=>({[E.value]:W(e.start,"%"),[p.value]:W(_.value,"%")})),P=v(()=>r.value?(b.value?s.value.slice().reverse():s.value).map((f,O)=>{var j;const Z=f.value!==L.value&&f.value!==q.value?W(f.position,"%"):void 0;return l("div",{key:f.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":f.position>=e.start&&f.position<=e.stop,"v-slider-track__tick--first":f.value===L.value,"v-slider-track__tick--last":f.value===q.value}],style:{[E.value]:Z}},[(f.label||a["tick-label"])&&l("div",{class:"v-slider-track__tick-label"},[((j=a["tick-label"])==null?void 0:j.call(a,{tick:f,index:O}))??f.label])])}):[]);return ie(()=>l("div",{class:["v-slider-track",x.value,e.class],style:[{"--v-slider-track-size":W(y.value),"--v-slider-tick-size":W(c.value)},e.style]},[l("div",{class:["v-slider-track__background",$.value,{"v-slider-track__background--opacity":!!o.value||!B.value}],style:{...M.value,...K.value}},null),l("div",{class:["v-slider-track__fill",G.value],style:{...k.value,...z.value}},null),r.value&&l("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":r.value==="always"}]},[P.value])])),{}}}),Jt=le({...Rt(),...Yt(),...Mt(),modelValue:{type:[Number,String],default:0}},"VSlider"),ea=oe()({name:"VSlider",props:Jt(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=ve(),{rtlClasses:s}=fe(),i=xt(e),r=it(e,"modelValue",void 0,p=>i.roundValue(p??i.min.value)),{min:c,max:h,mousePressed:B,roundValue:y,onSliderMousedown:b,onSliderTouchstart:L,trackContainerRef:q,position:A,hasLabels:x,readonly:G}=Ht({props:e,steps:i,onSliderStart:()=>{n("start",r.value)},onSliderEnd:p=>{let{value:M}=p;const _=y(M);r.value=_,n("end",_)},onSliderMove:p=>{let{value:M}=p;return r.value=y(M)},getActiveThumb:()=>{var p;return(p=o.value)==null?void 0:p.$el}}),{isFocused:z,focus:$,blur:K}=Ft(e),E=v(()=>A(r.value));return ie(()=>{const p=Ve.filterProps(e),M=!!(e.label||a.label||a.prepend);return l(Ve,X({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||x.value,"v-slider--focused":z.value,"v-slider--pressed":B.value,"v-slider--disabled":e.disabled},s.value,e.class],style:e.style},p,{focused:z.value}),{...a,prepend:M?_=>{var k,P;return l(be,null,[((k=a.label)==null?void 0:k.call(a,_))??(e.label?l(Et,{id:_.id.value,class:"v-slider__label",text:e.label},null):void 0),(P=a.prepend)==null?void 0:P.call(a,_)])}:void 0,default:_=>{let{id:k,messagesId:P}=_;return l("div",{class:"v-slider__container",onMousedown:G.value?void 0:b,onTouchstartPassive:G.value?void 0:L},[l("input",{id:k.value,name:e.name||k.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:r.value},null),l(Zt,{ref:q,start:0,stop:E.value},{"tick-label":a["tick-label"]}),l(Qt,{ref:o,"aria-describedby":P.value,focused:z.value,min:c.value,max:h.value,modelValue:r.value,"onUpdate:modelValue":I=>r.value=I,position:E.value,elevation:e.elevation,onFocus:$,onBlur:K,ripple:e.ripple},{"thumb-label":a["thumb-label"]})])}})}),{}}}),ta={name:"PaginationSlider"};function aa(e,t,a,n,o,s){return d(),w(ea,X({"thumb-size":"36",class:"paginationSlider",density:"compact","hide-details":"auto",rounded:!0,"show-ticks":"always",step:1,"thumb-label":"always"},e.$attrs),null,16)}const Vl=U(ta,[["render",aa],["__scopeId","data-v-825b160e"]]),la={name:"PaginationNavButton"};function sa(e,t,a,n,o,s){return d(),w(ne,X({class:"paginationNavButton",height:"100%"},e.$attrs),Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1040)}const Bl=U(la,[["render",sa],["__scopeId","data-v-852fad11"]]),Be=Dt.browser.vuetifyNullCode,ra=new Set(["",Be,Be.toString(),void 0]),na=function(e){let t;return e===void 0?t=e:e instanceof Object?t={value:e.pk,title:e.name}:t={value:e,title:e.toString()},e.url&&(t.url=e.url),t},oa=function(e,t){return e.title<t.title?-1:e.title>t.title?1:0},ia=function(e,t){return Number.parseFloat(e.title)-Number.parseFloat(t.title)},ua=function(e,t,a=!1){const n=e||[],o=t&&t.toLowerCase();let s=[];for(const r of n){if(!r||ra.has(r.pk))continue;const c=na(r);c&&(!o||c.title&&c.title.toLowerCase().includes(o))&&s.push(c)}const i=a?ia:oa;return s.sort(i)},da={name:"PlaceholderLoading",props:{indeterminate:{type:Boolean,default:!0}}};function ca(e,t,a,n,o,s){return d(),w(ut,X({"aria-label":"loading",class:"codexProgressCircular",indeterminate:a.indeterminate},e.$attrs),null,16,["indeterminate"])}const Oe=U(da,[["render",ca],["__scopeId","data-v-7bb4cf22"]]),ma=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],va=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ha=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fa=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Pe=(e,t,a)=>{let n=e;return typeof t=="string"||Array.isArray(t)?n=e.toLocaleString(t,a):(t===!0||a!==void 0)&&(n=e.toLocaleString(void 0,a)),n};function ba(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const a=t.bits?t.binary?fa:ha:t.binary?va:ma,n=t.space?" ":"";if(t.signed&&e===0)return` 0${n}${a[0]}`;const o=e<0,s=o?"-":t.signed?"+":"";o&&(e=-e);let i;if(t.minimumFractionDigits!==void 0&&(i={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1){const B=Pe(e,t.locale,i);return s+B+n+a[0]}const r=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),a.length-1);e/=(t.binary?1024:1e3)**r,i||(e=e.toPrecision(3));const c=Pe(Number(e),t.locale,i),h=a[r];return s+c+n+h}const pa=(e,t)=>e?`${dt(e)}/cover.webp?${t}`:window.CODEX.MISSING_COVER,ga={name:"BookCover",props:{group:{type:String,required:!0},childCount:{type:Number,default:1},finished:{type:Boolean},coverPk:{type:Number,required:!0}},data(){return{showPlaceholder:!1}},computed:{...te(Q,{coverSrc:function(e){return pa(this.coverPk,e.page.coversTimestamp)}})},mounted:function(){this.delayPlaceholder()},methods:{delayPlaceholder:function(){setTimeout(()=>{this.showPlaceholder=!0},2e3)}}},ya={class:"bookCover"},_a={key:1,class:"childCount"};function ka(e,t,a,n,o,s){return d(),T("div",ya,[l(ct,{src:e.coverSrc,class:"coverImg"},null,8,["src"]),a.finished!==!0?(d(),T("div",{key:0,class:Ee({unreadFlag:!0,mixedreadFlag:a.finished===null})},null,2)):R("",!0),a.group!=="c"?(d(),T("span",_a,V(a.childCount),1)):R("",!0)])}const Ae=U(ga,[["render",ka],["__scopeId","data-v-9acb5f6a"]]),Sa={name:"MetadataTags",props:{label:{type:String,required:!0},values:{type:Array,default(){return[]}},filter:{type:String,required:!1,default:void 0}},data(){return{mdiFilter:mt,mdiOpenInNew:De}},computed:{...te(Q,{filterValues:function(e){const t=this.filter||this.label.toLowerCase();return e.settings.filters[t]}}),model(){return ua(this.values)}},methods:{chipColor:function(e){return this.filterValues&&this.filterValues.includes(e)?this.$vuetify.theme.current.colors["primary-darken-1"]:""}}},Ca={key:0,class:"tags"},Ta={class:"label"},wa=["href"],Va={key:1};function Ba(e,t,a,n,o,s){return s.model&&s.model.length>0?(d(),T("div",Ca,[l(Ot,{value:s.model,multiple:"",class:"chipGroup"},{default:C(()=>[m("div",Ta,V(a.label),1),(d(!0),T(be,null,ue(s.model,i=>(d(),w($t,{key:`${a.label}/${i.value}`,color:s.chipColor(i.value),value:i.value},{default:C(()=>[i.url?(d(),T("a",{key:0,href:i.url,target:"_blank"},[D(V(i.title),1),l(ae,null,{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,wa)):(d(),T("span",Va,V(i.title),1))]),_:2},1032,["color","value"]))),128))]),_:1},8,["value"])])):R("",!0)}const ge=U(Sa,[["render",Ba],["__scopeId","data-v-59c9d373"]]),Pa={name:"MetadataTextBox",props:{label:{type:String,required:!0},value:{type:[Object,String,Number,Boolean],default:void 0},link:{type:[Boolean,String],default:!1},group:{type:String,default:""},obj:{type:Object,default:void 0}},data(){return{mdiOpenInNew:De}},computed:{computedValue(){return this.value!=null&&this.value instanceof Object?this.value.name:this.value},linkValue(){return this.link===!0?this.computedValue:this.link?this.link:!1},highlight(){var e;return((e=this.obj)==null?void 0:e.group)===this.group},pathArray(){if(this.computedValue)return this.computedValue.split("/")},folderPath(){if(this.pathArray)return this.pathArray.slice(0,-1).join("/")},basePath(){if(this.pathArray)return this.pathArray.at(-1)},groupTo(){const e=Q();if(this.group!=="f"&&!e.settings.show[this.group]||this.group==="f"&&!e.page.adminFlags.folderView)return;let t;if(t=this.obj&&this.obj.group==this.group?this.obj.pk:this.value.pk,!t)return;const a=this.$router.currentRoute.value.params;if(!(a.group===this.group&&+a.pk===t))return{name:"browser",params:{group:this.group,pk:t}}}}},Ia={class:"textLabel"},Na={class:"textValue"},Ra=["href"],Ma={key:3,class:"textContent"},Fa={key:4,id:"basePath"};function Ea(e,t,a,n,o,s){const i=Le("router-link");return s.computedValue?(d(),T("div",{key:0,class:Ee(["text",{highlight:s.highlight}])},[m("div",Ia,V(a.label),1),m("div",Na,[s.groupTo&&a.group==="f"?(d(),w(i,{key:0,id:"folderPath",to:s.groupTo,title:"Browse Folder"},{default:C(()=>[D(V(s.folderPath)+"/",1)]),_:1},8,["to"])):s.groupTo?(d(),w(i,{key:1,class:"textContent",to:s.groupTo,title:`Browse ${a.label}`},{default:C(()=>[D(V(s.computedValue),1)]),_:1},8,["to","title"])):a.link?(d(),T("a",{key:2,href:s.linkValue,target:"_blank"},[D(V(s.computedValue)+" ",1),l(ae,{size:"small"},{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,Ra)):(d(),T("div",Ma,V(s.computedValue),1)),s.groupTo&&a.group==="f"?(d(),T("span",Fa,V(s.basePath),1)):R("",!0)])],2)):R("",!0)}const ze=U(Pa,[["render",Ea],["__scopeId","data-v-0d27e6b3"]]),Da={name:"MetadataContributorsTable",props:{value:{type:Array,default:void 0}},data(){return{}},computed:{contributorsDict(){const e={};for(const{role:n,person:o}of this.value){const s=At(n.name)+"s";e[s]||(e[s]=[]),e[s].push(o)}const t=Object.keys(e).sort((n,o)=>n.localeCompare(o)),a={};for(const n of t)a[n]=e[n].sort((o,s)=>o.name.localeCompare(s.name));return a}}},La={key:0},$a=m("h3",null,"Contributors",-1);function Oa(e,t,a,n,o,s){const i=ge;return Object.keys(s.contributorsDict).length>0?(d(),T("div",La,[$a,(d(!0),T(be,null,ue(Object.entries(s.contributorsDict),([r,c])=>(d(),w(i,{key:r,values:c,label:r,filter:"contributors"},null,8,["values","label"]))),128))])):R("",!0)}const Aa=U(Da,[["render",Oa]]),je=new Set("rtl","btt");Object.freeze(je);const za=({pk:e,page:t,readingDirection:a,pageCount:n})=>{if(n){if(t)t=Number(t);else if(je.has(a)){const o=Number(n)-1;t=Math.max(o,0)}else t=0;return{name:"reader",params:{pk:e,page:t}}}},Ie=vt("metadata",{state:()=>({md:void 0}),actions:{async loadMetadata({group:e,pk:t}){const a=Q();await Lt.getMetadata({group:e,pk:t},a.settings).then(n=>(this.md=n.data,!0)).catch(n=>{console.error(n),this.clearMetadata()})},clearMetadata(){this.md=void 0}}}),ja=1160,Ua=.05,qa=250,Ga={name:"MetadataButton",components:{BookCover:Ae,CloseButton:$e,MetadataContributorsTable:Aa,MetadataTags:ge,MetadataText:ze,PlaceholderLoading:Oe},props:{group:{type:String,required:!0},pk:{type:Number,required:!0},children:{type:Number,default:1}},data(){return{mdiDownload:ht,mdiTagOutline:ft,dialog:!1,progress:0}},computed:{...bt(pt,["isUserAdmin"]),...te(Q,{twentyFourHourTime:e=>e.settings.twentyFourHourTime,readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypes:e=>e.choices.static.identifierType}),...te(Ie,{md:e=>e.md,downloadFileName:e=>{const t=e.md;return e.md.path?t.path.split("/").at(-1):Pt({seriesName:t.series.name,volumeName:t.volume.name,issueNumber:t.issueNumber,issueSuffix:t.issueSuffix})+"."+(void 0).fileType.toLowerCase()}}),...te(Q,{q:e=>e.settings.q}),downloadURL(){return It(this.pk)},isReadButtonShown(){return this.group==="c"&&this.$route.name!="reader"},isReadButtonEnabled(){return this.$route.name==="browser"&&!!this.readerRoute},readButtonIcon(){return this.isReadButtonEnabled?gt:yt},readerRoute(){return za(this.md)},formattedIssue(){if(!((this.md.issueNumber===null||this.md.issueNumber===void 0)&&!this.md.issueSuffix))return Nt(this.md)},readingDirectionText(){return this.readingDirectionTitles[this.md.readingDirection]},pages(){let e="";if(this.md.page){const a=we.format(this.md.page);e+=`Read ${a} of `}const t=we.format(this.md.pageCount);return e+=`${t} pages`,this.md.progress>0&&(e+=` (${Math.round(this.md.progress)}%)`),e},size(){return this.md.size>0?ba(this.md.size):0},fileType(){return this.md.fileType||"Unknown"},titledIdentifiers(){if(!this.md.identifiers)return this.md.identifiers;const e=[];for(const t of this.md.identifiers){const a=t.name.split(":"),n=a[0],o=a[1],s=this.identifierTypeTitle(n);let i="";s&&s!=="None"&&(i+=s+":"),i+=o,e.push({...t,name:i})}return e}},watch:{dialog(e){e?this.dialogOpened():this.clearMetadata()}},methods:{...me(Ie,["clearMetadata","loadMetadata"]),...me(_t,["downloadIOSPWAFix"]),...me(Q,["identifierTypeTitle"]),dialogOpened(){this.loadMetadata({group:this.group,pk:this.pk}),this.startProgress()},startProgress(){this.startTime=Date.now(),this.estimatedMS=Math.max(Ua,this.children/ja)*1e3,this.updateProgress()},updateProgress(){const e=Date.now()-this.startTime;this.progress=e/this.estimatedMS*100,!(this.progress>=100||this.md)&&setTimeout(()=>{this.updateProgress()},qa)},formatDateTime(e){return kt(e,this.twentyFourHourTime)},download(){this.downloadIOSPWAFix(this.downloadURL,this.md.filename)}}},Ka=e=>(wt("data-v-274e2a70"),e=e(),Vt(),e),Ya={id:"metadataHeader"},xa={id:"metadataBookCoverWrapper"},Ha={class:"inlineRow"},Wa={class:"inlineRow"},Qa={class:"inlineRow"},Xa={key:1,class:"inlineRow"},Za={id:"metadataBody"},Ja={class:"mdSection"},el={class:"quintRow"},tl={class:"mdSection"},al={class:"quarterRow"},ll={class:"lastSmallRow"},sl={class:"halfRow mdSection"},rl={class:"mdSection"},nl={class:"mdSection"},ol={class:"mdSection"},il={class:"mdSection"},ul={class:"mdSection"},dl={class:"mdSection inlineRow"},cl={class:"inlineRow"},ml={id:"footerLinks"},vl={id:"bottomRightButtons"},hl={key:1,id:"placeholderContainer"},fl=Ka(()=>m("div",{id:"placeholderTitle"},"Tags Loading",-1));function bl(e,t,a,n,o,s){const i=$e,r=ze,c=Ae,h=ge,B=Le("MetadataContributorsTable"),y=Oe;return d(),w(zt,{modelValue:o.dialog,"onUpdate:modelValue":t[5]||(t[5]=b=>o.dialog=b),fullscreen:"",transition:"dialog-bottom-transition"},{activator:C(({props:b})=>[l(ne,X({"aria-label":"tags",class:"tagButton cardControlButton",icon:"",title:"Tags",variant:"text"},b,{onClick:t[0]||(t[0]=St(()=>{},["prevent"]))}),{default:C(()=>[l(ae,null,{default:C(()=>[D(V(o.mdiTagOutline),1)]),_:1})]),_:2},1040)]),default:C(()=>[e.md?(d(),T("div",{key:0,id:"metadataContainer",onKeyup:t[3]||(t[3]=Tt(b=>o.dialog=!1,["esc"]))},[m("header",Ya,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[1]||(t[1]=b=>o.dialog=!1)}),e.q?(d(),w(r,{key:0,id:"search",value:e.q,label:"Search Query",highlight:!0},null,8,["value"])):R("",!0),m("div",xa,[l(c,{id:"bookCover","cover-pk":e.md.coverPk,group:a.group,"child-count":e.md.childCount,finished:e.md.finished},null,8,["cover-pk","group","child-count","finished"]),l(Ct,{class:"bookCoverProgress","model-value":e.md.progress,rounded:"","background-color":"inherit",height:"2","aria-label":"% read"},null,8,["model-value"])]),m("div",Ha,[l(r,{id:"publisher",value:e.md.publisher,group:"p",label:"Publisher",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{id:"imprint",value:e.md.imprint,group:"i",label:"Imprint",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Wa,[l(r,{id:"series",value:e.md.series,label:"Series",group:"s",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Qa,[l(r,{id:"volume",value:e.md.volume,label:"Volume",group:"v",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.seriesVolumeCount,label:"Volume Count"},null,8,["value"]),l(r,{id:"issue",value:s.formattedIssue,label:"Issue",group:"c",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.volumeIssueCount,label:"Issue Count"},null,8,["value"]),l(r,{value:e.md.name,label:"Title"},null,8,["value"])]),e.md.year||e.md.month||e.md.day?(d(),T("div",Xa,[l(r,{value:e.md.year,label:"Year",class:"datePicker",type:"number"},null,8,["value"]),l(r,{value:e.md.month,label:"Month",class:"datePicker"},null,8,["value"]),l(r,{value:e.md.day,label:"Day",class:"datePicker"},null,8,["value"])])):R("",!0)]),m("div",Za,[m("section",Ja,[m("div",el,[l(r,{value:s.pages,label:"Pages"},null,8,["value"]),l(r,{label:"Finished",value:(!!e.md.finished).toString()},null,8,["value"]),l(r,{label:"Reading Direction",value:s.readingDirectionText},null,8,["value"]),l(r,{value:(!!e.md.monochrome).toString(),label:"Monochrome"},null,8,["value"]),l(r,{value:e.md.original_format,label:"Original Format"},null,8,["value"])])]),m("section",tl,[m("div",al,[e.md.createdAt?(d(),w(r,{key:0,value:s.formatDateTime(e.md.createdAt),label:"Created at",class:"mtime"},null,8,["value"])):R("",!0),e.md.updatedAt?(d(),w(r,{key:1,value:s.formatDateTime(e.md.updatedAt),label:"Updated at",class:"mtime"},null,8,["value"])):R("",!0),l(r,{value:s.size,label:"Size"},null,8,["value"]),l(r,{value:s.fileType,label:"File Type"},null,8,["value"])]),m("div",ll,[l(r,{group:"f",value:{pk:e.md.parentFolderPk,name:e.md.path},label:"Path"},null,8,["value"])])]),m("section",sl,[l(r,{value:e.md.country,label:"Country"},null,8,["value"]),l(r,{value:e.md.language,label:"Language"},null,8,["value"])]),m("section",rl,[l(h,{values:s.titledIdentifiers,label:"Identifiers"},null,8,["values"])]),m("section",nl,[l(r,{value:e.md.summary,label:"Summary"},null,8,["value"]),l(r,{value:e.md.review,label:"Review"},null,8,["value"])]),m("section",ol,[l(r,{value:e.md.communityRating,label:"Community Rating"},null,8,["value"]),l(r,{value:e.md.criticalRating,label:"Critical Rating"},null,8,["value"]),l(r,{value:e.md.ageRating,label:"Age Rating"},null,8,["value"])]),m("section",il,[l(h,{values:e.md.genres,label:"Genres"},null,8,["values"]),l(h,{values:e.md.characters,label:"Characters"},null,8,["values"]),l(h,{values:e.md.teams,label:"Teams"},null,8,["values"]),l(h,{values:e.md.locations,label:"Locations"},null,8,["values"]),l(h,{values:e.md.seriesGroups,label:"Series Groups"},null,8,["values"]),l(h,{values:e.md.stories,label:"Stories"},null,8,["values"]),l(h,{values:e.md.storyArcNumbers,label:"Story Arcs"},null,8,["values"]),l(h,{values:e.md.tags,label:"Tags"},null,8,["values"])]),m("section",ul,[l(B,{value:e.md.contributors},null,8,["value"])]),m("section",dl,[l(r,{value:e.md.notes,label:"Notes"},null,8,["value"])]),m("section",cl,[l(r,{value:e.md.tagger,label:"Tagger"},null,8,["value"]),l(r,{value:e.md.scanInfo,label:"Scan"},null,8,["value"])])]),m("footer",ml,[a.group==="c"?(d(),w(ne,{key:0,id:"downloadButton",title:"Download Comic Archive",onClick:s.download},{default:C(()=>[a.group==="c"?(d(),w(ae,{key:0},{default:C(()=>[D(V(o.mdiDownload),1)]),_:1})):R("",!0),D(" Download ")]),_:1},8,["onClick"])):R("",!0),s.isReadButtonShown?(d(),w(ne,{key:1,to:s.readerRoute,title:"Read Comic",disabled:!s.isReadButtonEnabled},{default:C(()=>[l(ae,null,{default:C(()=>[D(V(s.readButtonIcon),1)]),_:1}),D(" Read ")]),_:1},8,["to","disabled"])):R("",!0),m("span",vl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[2]||(t[2]=b=>o.dialog=!1)})])])],32)):(d(),T("div",hl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[4]||(t[4]=b=>o.dialog=!1)}),fl,l(y,{"model-value":o.progress,indeterminate:o.progress>=100,class:"placeholder"},null,8,["model-value","indeterminate"])]))]),_:1},8,["modelValue"])}const Pl=U(Ga,[["render",bl],["__scopeId","data-v-274e2a70"]]);export{ra as N,Oe as P,Tl as V,Bl as _,Vl as a,wl as b,Pl as c,Ae as d,za as g,ba as p,ua as t};
1
+ import{x as le,E as he,bL as He,G as oe,aB as We,aA as F,K as ie,L as l,_ as U,R as d,O as w,aP as Ne,aF as ue,P as C,aQ as Re,am as X,bM as Qe,bN as Xe,h as v,bO as ke,J as fe,s as Se,r as ve,S as Ze,p as Je,av as Me,bP as et,i as Fe,aj as tt,z as W,bQ as at,bk as Ce,bl as lt,bR as st,bn as rt,bS as nt,bT as ot,az as Te,ax as it,al as be,ak as ne,bU as ut,bV as dt,M as te,aE as T,bW as ct,ab as Ee,aH as R,ae as V,bX as mt,b5 as De,aJ as m,aa as D,ad as ae,Q as Le,l as vt,b4 as $e,bx as ht,bY as ft,aD as bt,m as pt,be as gt,bf as yt,ba as we,N as me,k as _t,bb as kt,bd as St,aW as Ct,b1 as Tt,aN as wt,aO as Vt}from"./admin-drawer-panel-JjJ1iA6R.js";import{a as Bt,g as Pt,e as It,i as Nt}from"./VToolbar-BBzymioO.js";import{m as Rt,a as Mt,u as Ft,V as Ve,b as Et}from"./VSelectionControl-9CzKd8rG.js";import{C as Dt,u as Q,A as Lt}from"./main-fEXxBNBg.js";import{c as $t,d as Ot}from"./VSelect-Yw9YsgjJ.js";import{c as At}from"./to-case-FdEoSAB7.js";import{V as zt}from"./confirm-footer-IJHq21-K.js";const jt=le({...he(),...He({variant:"text"})},"VToolbarItems"),Tl=oe()({name:"VToolbarItems",props:jt(),setup(e,t){let{slots:a}=t;return We({VBtn:{color:F(e,"color"),height:"inherit",variant:F(e,"variant")}}),ie(()=>{var n;return l("div",{class:["v-toolbar-items",e.class],style:e.style},[(n=a.default)==null?void 0:n.call(a)])}),{}}}),Ut={name:"PaginationToolbar"};function qt(e,t,a,n,o,s){return d(),w(Bt,{class:"paginationToolbar codexToolbar",density:"compact",transform:"center bottom"},Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1024)}const wl=U(Ut,[["render",qt],["__scopeId","data-v-cfa8cce0"]]),pe=Symbol.for("vuetify:v-slider");function Gt(e,t,a){const n=a==="vertical",o=t.getBoundingClientRect(),s="touches"in e?e.touches[0]:e;return n?s.clientY-(o.top+o.height/2):s.clientX-(o.left+o.width/2)}function Kt(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const Yt=le({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Qe(),...Xe({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),xt=e=>{const t=v(()=>parseFloat(e.min)),a=v(()=>parseFloat(e.max)),n=v(()=>+e.step>0?parseFloat(e.step):0),o=v(()=>Math.max(ke(n.value),ke(t.value)));function s(i){if(i=parseFloat(i),n.value<=0)return i;const r=Me(i,t.value,a.value),c=t.value%n.value,h=Math.round((r-c)/n.value)*n.value+c;return parseFloat(Math.min(h,a.value).toFixed(o.value))}return{min:t,max:a,step:n,decimals:o,roundValue:s}},Ht=e=>{let{props:t,steps:a,onSliderStart:n,onSliderMove:o,onSliderEnd:s,getActiveThumb:i}=e;const{isRtl:r}=fe(),c=F(t,"reverse"),h=v(()=>t.direction==="vertical"),B=v(()=>h.value!==c.value),{min:y,max:b,step:L,decimals:q,roundValue:A}=a,x=v(()=>parseInt(t.thumbSize,10)),G=v(()=>parseInt(t.tickSize,10)),z=v(()=>parseInt(t.trackSize,10)),$=v(()=>(b.value-y.value)/L.value),K=F(t,"disabled"),E=v(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),p=v(()=>t.error||t.disabled?void 0:t.trackColor??t.color),M=v(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),_=Se(!1),k=Se(0),P=ve(),I=ve();function f(u){var _e;const g=t.direction==="vertical",Ue=g?"top":"left",qe=g?"height":"width",Ge=g?"clientY":"clientX",{[Ue]:Ke,[qe]:Ye}=(_e=P.value)==null?void 0:_e.$el.getBoundingClientRect(),xe=Kt(u,Ge);let ce=Math.min(Math.max((xe-Ke-k.value)/Ye,0),1)||0;return(g?B.value:B.value!==r.value)&&(ce=1-ce),A(y.value+ce*(b.value-y.value))}const O=u=>{s({value:f(u)}),_.value=!1,k.value=0},Z=u=>{I.value=i(u),I.value&&(I.value.focus(),_.value=!0,I.value.contains(u.target)?k.value=Gt(u,I.value,t.direction):(k.value=0,o({value:f(u)})),n({value:f(u)}))},j={passive:!0,capture:!0};function J(u){o({value:f(u)})}function se(u){u.stopPropagation(),u.preventDefault(),O(u),window.removeEventListener("mousemove",J,j),window.removeEventListener("mouseup",se)}function S(u){var g;O(u),window.removeEventListener("touchmove",J,j),(g=u.target)==null||g.removeEventListener("touchend",S)}function N(u){var g;Z(u),window.addEventListener("touchmove",J,j),(g=u.target)==null||g.addEventListener("touchend",S,{passive:!1})}function Y(u){u.preventDefault(),Z(u),window.addEventListener("mousemove",J,j),window.addEventListener("mouseup",se,{passive:!1})}const H=u=>{const g=(u-y.value)/(b.value-y.value)*100;return Me(isNaN(g)?0:g,0,100)},ee=F(t,"showTicks"),re=v(()=>ee.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(u=>({value:u,position:H(u),label:u.toString()})):Object.keys(t.ticks).map(u=>({value:parseFloat(u),position:H(parseFloat(u)),label:t.ticks[u]})):$.value!==1/0?Ze($.value+1).map(u=>{const g=y.value+u*L.value;return{value:g,position:H(g)}}):[]:[]),de=v(()=>re.value.some(u=>{let{label:g}=u;return!!g})),ye={activeThumbRef:I,color:F(t,"color"),decimals:q,disabled:K,direction:F(t,"direction"),elevation:F(t,"elevation"),hasLabels:de,isReversed:c,indexFromEnd:B,min:y,max:b,mousePressed:_,numTicks:$,onSliderMousedown:Y,onSliderTouchstart:N,parsedTicks:re,parseMouseMove:f,position:H,readonly:F(t,"readonly"),rounded:F(t,"rounded"),roundValue:A,showTicks:ee,startOffset:k,step:L,thumbSize:x,thumbColor:E,thumbLabel:F(t,"thumbLabel"),ticks:F(t,"ticks"),tickSize:G,trackColor:p,trackContainerRef:P,trackFillColor:M,trackSize:z,vertical:h};return Je(pe,ye),ye},Wt=le({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...he()},"VSliderThumb"),Qt=oe()({name:"VSliderThumb",directives:{Ripple:et},props:Wt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=Fe(pe),{isRtl:s,rtlClasses:i}=fe();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:r,step:c,disabled:h,thumbSize:B,thumbLabel:y,direction:b,isReversed:L,vertical:q,readonly:A,elevation:x,mousePressed:G,decimals:z,indexFromEnd:$}=o,{textColorClasses:K,textColorStyles:E}=tt(r),{pageup:p,pagedown:M,end:_,home:k,left:P,right:I,down:f,up:O}=nt,Z=[p,M,_,k,P,I,f,O],j=v(()=>c.value?[1,2,3]:[1,5,10]);function J(S,N){if(!Z.includes(S.key))return;S.preventDefault();const Y=c.value||.1,H=(e.max-e.min)/Y;if([P,I,f,O].includes(S.key)){const re=(q.value?[s.value?P:I,L.value?f:O]:$.value!==s.value?[P,O]:[I,O]).includes(S.key)?1:-1,de=S.shiftKey?2:S.ctrlKey?1:0;N=N+re*Y*j.value[de]}else if(S.key===k)N=e.min;else if(S.key===_)N=e.max;else{const ee=S.key===M?1:-1;N=N-ee*Y*(H>100?H/10:10)}return Math.max(e.min,Math.min(e.max,N))}function se(S){const N=J(S,e.modelValue);N!=null&&n("update:modelValue",N)}return ie(()=>{const S=W($.value?100-e.position:e.position,"%"),{elevationClasses:N}=at(v(()=>h.value?void 0:x.value));return l("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&G.value},e.class,i.value],style:[{"--v-slider-thumb-position":S,"--v-slider-thumb-size":W(B.value)},e.style],role:"slider",tabindex:h.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!A.value,"aria-orientation":b.value,onKeydown:A.value?void 0:se},[l("div",{class:["v-slider-thumb__surface",K.value,N.value],style:{...E.value}},null),Ce(l("div",{class:["v-slider-thumb__ripple",K.value],style:E.value},null),[[lt("ripple"),e.ripple,null,{circle:!0,center:!0}]]),l(st,{origin:"bottom center"},{default:()=>{var Y;return[Ce(l("div",{class:"v-slider-thumb__label-container"},[l("div",{class:["v-slider-thumb__label"]},[l("div",null,[((Y=a["thumb-label"])==null?void 0:Y.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(c.value?z.value:1)])])]),[[rt,y.value&&e.focused||y.value==="always"]])]}})])}),{}}}),Xt=le({start:{type:Number,required:!0},stop:{type:Number,required:!0},...he()},"VSliderTrack"),Zt=oe()({name:"VSliderTrack",props:Xt(),emits:{},setup(e,t){let{slots:a}=t;const n=Fe(pe);if(!n)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:s,rounded:i,showTicks:r,tickSize:c,trackColor:h,trackFillColor:B,trackSize:y,vertical:b,min:L,max:q,indexFromEnd:A}=n,{roundedClasses:x}=ot(i),{backgroundColorClasses:G,backgroundColorStyles:z}=Te(B),{backgroundColorClasses:$,backgroundColorStyles:K}=Te(h),E=v(()=>`inset-${b.value?"block":"inline"}-${A.value?"end":"start"}`),p=v(()=>b.value?"height":"width"),M=v(()=>({[E.value]:"0%",[p.value]:"100%"})),_=v(()=>e.stop-e.start),k=v(()=>({[E.value]:W(e.start,"%"),[p.value]:W(_.value,"%")})),P=v(()=>r.value?(b.value?s.value.slice().reverse():s.value).map((f,O)=>{var j;const Z=f.value!==L.value&&f.value!==q.value?W(f.position,"%"):void 0;return l("div",{key:f.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":f.position>=e.start&&f.position<=e.stop,"v-slider-track__tick--first":f.value===L.value,"v-slider-track__tick--last":f.value===q.value}],style:{[E.value]:Z}},[(f.label||a["tick-label"])&&l("div",{class:"v-slider-track__tick-label"},[((j=a["tick-label"])==null?void 0:j.call(a,{tick:f,index:O}))??f.label])])}):[]);return ie(()=>l("div",{class:["v-slider-track",x.value,e.class],style:[{"--v-slider-track-size":W(y.value),"--v-slider-tick-size":W(c.value)},e.style]},[l("div",{class:["v-slider-track__background",$.value,{"v-slider-track__background--opacity":!!o.value||!B.value}],style:{...M.value,...K.value}},null),l("div",{class:["v-slider-track__fill",G.value],style:{...k.value,...z.value}},null),r.value&&l("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":r.value==="always"}]},[P.value])])),{}}}),Jt=le({...Rt(),...Yt(),...Mt(),modelValue:{type:[Number,String],default:0}},"VSlider"),ea=oe()({name:"VSlider",props:Jt(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=ve(),{rtlClasses:s}=fe(),i=xt(e),r=it(e,"modelValue",void 0,p=>i.roundValue(p??i.min.value)),{min:c,max:h,mousePressed:B,roundValue:y,onSliderMousedown:b,onSliderTouchstart:L,trackContainerRef:q,position:A,hasLabels:x,readonly:G}=Ht({props:e,steps:i,onSliderStart:()=>{n("start",r.value)},onSliderEnd:p=>{let{value:M}=p;const _=y(M);r.value=_,n("end",_)},onSliderMove:p=>{let{value:M}=p;return r.value=y(M)},getActiveThumb:()=>{var p;return(p=o.value)==null?void 0:p.$el}}),{isFocused:z,focus:$,blur:K}=Ft(e),E=v(()=>A(r.value));return ie(()=>{const p=Ve.filterProps(e),M=!!(e.label||a.label||a.prepend);return l(Ve,X({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||x.value,"v-slider--focused":z.value,"v-slider--pressed":B.value,"v-slider--disabled":e.disabled},s.value,e.class],style:e.style},p,{focused:z.value}),{...a,prepend:M?_=>{var k,P;return l(be,null,[((k=a.label)==null?void 0:k.call(a,_))??(e.label?l(Et,{id:_.id.value,class:"v-slider__label",text:e.label},null):void 0),(P=a.prepend)==null?void 0:P.call(a,_)])}:void 0,default:_=>{let{id:k,messagesId:P}=_;return l("div",{class:"v-slider__container",onMousedown:G.value?void 0:b,onTouchstartPassive:G.value?void 0:L},[l("input",{id:k.value,name:e.name||k.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:r.value},null),l(Zt,{ref:q,start:0,stop:E.value},{"tick-label":a["tick-label"]}),l(Qt,{ref:o,"aria-describedby":P.value,focused:z.value,min:c.value,max:h.value,modelValue:r.value,"onUpdate:modelValue":I=>r.value=I,position:E.value,elevation:e.elevation,onFocus:$,onBlur:K,ripple:e.ripple},{"thumb-label":a["thumb-label"]})])}})}),{}}}),ta={name:"PaginationSlider"};function aa(e,t,a,n,o,s){return d(),w(ea,X({"thumb-size":"36",class:"paginationSlider",density:"compact","hide-details":"auto",rounded:!0,"show-ticks":"always",step:1,"thumb-label":"always"},e.$attrs),null,16)}const Vl=U(ta,[["render",aa],["__scopeId","data-v-825b160e"]]),la={name:"PaginationNavButton"};function sa(e,t,a,n,o,s){return d(),w(ne,X({class:"paginationNavButton",height:"100%"},e.$attrs),Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1040)}const Bl=U(la,[["render",sa],["__scopeId","data-v-852fad11"]]),Be=Dt.browser.vuetifyNullCode,ra=new Set(["",Be,Be.toString(),void 0]),na=function(e){let t;return e===void 0?t=e:e instanceof Object?t={value:e.pk,title:e.name}:t={value:e,title:e.toString()},e.url&&(t.url=e.url),t},oa=function(e,t){return e.title<t.title?-1:e.title>t.title?1:0},ia=function(e,t){return Number.parseFloat(e.title)-Number.parseFloat(t.title)},ua=function(e,t,a=!1){const n=e||[],o=t&&t.toLowerCase();let s=[];for(const r of n){if(!r||ra.has(r.pk))continue;const c=na(r);c&&(!o||c.title&&c.title.toLowerCase().includes(o))&&s.push(c)}const i=a?ia:oa;return s.sort(i)},da={name:"PlaceholderLoading",props:{indeterminate:{type:Boolean,default:!0}}};function ca(e,t,a,n,o,s){return d(),w(ut,X({"aria-label":"loading",class:"codexProgressCircular",indeterminate:a.indeterminate},e.$attrs),null,16,["indeterminate"])}const Oe=U(da,[["render",ca],["__scopeId","data-v-7bb4cf22"]]),ma=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],va=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ha=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fa=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Pe=(e,t,a)=>{let n=e;return typeof t=="string"||Array.isArray(t)?n=e.toLocaleString(t,a):(t===!0||a!==void 0)&&(n=e.toLocaleString(void 0,a)),n};function ba(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const a=t.bits?t.binary?fa:ha:t.binary?va:ma,n=t.space?" ":"";if(t.signed&&e===0)return` 0${n}${a[0]}`;const o=e<0,s=o?"-":t.signed?"+":"";o&&(e=-e);let i;if(t.minimumFractionDigits!==void 0&&(i={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1){const B=Pe(e,t.locale,i);return s+B+n+a[0]}const r=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),a.length-1);e/=(t.binary?1024:1e3)**r,i||(e=e.toPrecision(3));const c=Pe(Number(e),t.locale,i),h=a[r];return s+c+n+h}const pa=(e,t)=>e?`${dt(e)}/cover.webp?${t}`:window.CODEX.MISSING_COVER,ga={name:"BookCover",props:{group:{type:String,required:!0},childCount:{type:Number,default:1},finished:{type:Boolean},coverPk:{type:Number,required:!0}},data(){return{showPlaceholder:!1}},computed:{...te(Q,{coverSrc:function(e){return pa(this.coverPk,e.page.coversTimestamp)}})},mounted:function(){this.delayPlaceholder()},methods:{delayPlaceholder:function(){setTimeout(()=>{this.showPlaceholder=!0},2e3)}}},ya={class:"bookCover"},_a={key:1,class:"childCount"};function ka(e,t,a,n,o,s){return d(),T("div",ya,[l(ct,{src:e.coverSrc,class:"coverImg"},null,8,["src"]),a.finished!==!0?(d(),T("div",{key:0,class:Ee({unreadFlag:!0,mixedreadFlag:a.finished===null})},null,2)):R("",!0),a.group!=="c"?(d(),T("span",_a,V(a.childCount),1)):R("",!0)])}const Ae=U(ga,[["render",ka],["__scopeId","data-v-9acb5f6a"]]),Sa={name:"MetadataTags",props:{label:{type:String,required:!0},values:{type:Array,default(){return[]}},filter:{type:String,required:!1,default:void 0}},data(){return{mdiFilter:mt,mdiOpenInNew:De}},computed:{...te(Q,{filterValues:function(e){const t=this.filter||this.label.toLowerCase();return e.settings.filters[t]}}),model(){return ua(this.values)}},methods:{chipColor:function(e){return this.filterValues&&this.filterValues.includes(e)?this.$vuetify.theme.current.colors["primary-darken-1"]:""}}},Ca={key:0,class:"tags"},Ta={class:"label"},wa=["href"],Va={key:1};function Ba(e,t,a,n,o,s){return s.model&&s.model.length>0?(d(),T("div",Ca,[l(Ot,{value:s.model,multiple:"",class:"chipGroup"},{default:C(()=>[m("div",Ta,V(a.label),1),(d(!0),T(be,null,ue(s.model,i=>(d(),w($t,{key:`${a.label}/${i.value}`,color:s.chipColor(i.value),value:i.value},{default:C(()=>[i.url?(d(),T("a",{key:0,href:i.url,target:"_blank"},[D(V(i.title),1),l(ae,null,{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,wa)):(d(),T("span",Va,V(i.title),1))]),_:2},1032,["color","value"]))),128))]),_:1},8,["value"])])):R("",!0)}const ge=U(Sa,[["render",Ba],["__scopeId","data-v-59c9d373"]]),Pa={name:"MetadataTextBox",props:{label:{type:String,required:!0},value:{type:[Object,String,Number,Boolean],default:void 0},link:{type:[Boolean,String],default:!1},group:{type:String,default:""},obj:{type:Object,default:void 0}},data(){return{mdiOpenInNew:De}},computed:{computedValue(){return this.value!=null&&this.value instanceof Object?this.value.name:this.value},linkValue(){return this.link===!0?this.computedValue:this.link?this.link:!1},highlight(){var e;return((e=this.obj)==null?void 0:e.group)===this.group},pathArray(){if(this.computedValue)return this.computedValue.split("/")},folderPath(){if(this.pathArray)return this.pathArray.slice(0,-1).join("/")},basePath(){if(this.pathArray)return this.pathArray.at(-1)},groupTo(){const e=Q();if(this.group!=="f"&&!e.settings.show[this.group]||this.group==="f"&&!e.page.adminFlags.folderView)return;let t;if(t=this.obj&&this.obj.group==this.group?this.obj.pk:this.value.pk,!t)return;const a=this.$router.currentRoute.value.params;if(!(a.group===this.group&&+a.pk===t))return{name:"browser",params:{group:this.group,pk:t}}}}},Ia={class:"textLabel"},Na={class:"textValue"},Ra=["href"],Ma={key:3,class:"textContent"},Fa={key:4,id:"basePath"};function Ea(e,t,a,n,o,s){const i=Le("router-link");return s.computedValue?(d(),T("div",{key:0,class:Ee(["text",{highlight:s.highlight}])},[m("div",Ia,V(a.label),1),m("div",Na,[s.groupTo&&a.group==="f"?(d(),w(i,{key:0,id:"folderPath",to:s.groupTo,title:"Browse Folder"},{default:C(()=>[D(V(s.folderPath)+"/",1)]),_:1},8,["to"])):s.groupTo?(d(),w(i,{key:1,class:"textContent",to:s.groupTo,title:`Browse ${a.label}`},{default:C(()=>[D(V(s.computedValue),1)]),_:1},8,["to","title"])):a.link?(d(),T("a",{key:2,href:s.linkValue,target:"_blank"},[D(V(s.computedValue)+" ",1),l(ae,{size:"small"},{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,Ra)):(d(),T("div",Ma,V(s.computedValue),1)),s.groupTo&&a.group==="f"?(d(),T("span",Fa,V(s.basePath),1)):R("",!0)])],2)):R("",!0)}const ze=U(Pa,[["render",Ea],["__scopeId","data-v-0d27e6b3"]]),Da={name:"MetadataContributorsTable",props:{value:{type:Array,default:void 0}},data(){return{}},computed:{contributorsDict(){const e={};for(const{role:n,person:o}of this.value){const s=At(n.name)+"s";e[s]||(e[s]=[]),e[s].push(o)}const t=Object.keys(e).sort((n,o)=>n.localeCompare(o)),a={};for(const n of t)a[n]=e[n].sort((o,s)=>o.name.localeCompare(s.name));return a}}},La={key:0},$a=m("h3",null,"Contributors",-1);function Oa(e,t,a,n,o,s){const i=ge;return Object.keys(s.contributorsDict).length>0?(d(),T("div",La,[$a,(d(!0),T(be,null,ue(Object.entries(s.contributorsDict),([r,c])=>(d(),w(i,{key:r,values:c,label:r,filter:"contributors"},null,8,["values","label"]))),128))])):R("",!0)}const Aa=U(Da,[["render",Oa]]),je=new Set("rtl","btt");Object.freeze(je);const za=({pk:e,page:t,readingDirection:a,pageCount:n})=>{if(n){if(t)t=Number(t);else if(je.has(a)){const o=Number(n)-1;t=Math.max(o,0)}else t=0;return{name:"reader",params:{pk:e,page:t}}}},Ie=vt("metadata",{state:()=>({md:void 0}),actions:{async loadMetadata({group:e,pk:t}){const a=Q();await Lt.getMetadata({group:e,pk:t},a.settings).then(n=>(this.md=n.data,!0)).catch(n=>{console.error(n),this.clearMetadata()})},clearMetadata(){this.md=void 0}}}),ja=1160,Ua=.05,qa=250,Ga={name:"MetadataButton",components:{BookCover:Ae,CloseButton:$e,MetadataContributorsTable:Aa,MetadataTags:ge,MetadataText:ze,PlaceholderLoading:Oe},props:{group:{type:String,required:!0},pk:{type:Number,required:!0},children:{type:Number,default:1}},data(){return{mdiDownload:ht,mdiTagOutline:ft,dialog:!1,progress:0}},computed:{...bt(pt,["isUserAdmin"]),...te(Q,{twentyFourHourTime:e=>e.settings.twentyFourHourTime,readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypes:e=>e.choices.static.identifierType}),...te(Ie,{md:e=>e.md,downloadFileName:e=>{const t=e.md;return e.md.path?t.path.split("/").at(-1):Pt({seriesName:t.series.name,volumeName:t.volume.name,issueNumber:t.issueNumber,issueSuffix:t.issueSuffix})+"."+(void 0).fileType.toLowerCase()}}),...te(Q,{q:e=>e.settings.q}),downloadURL(){return It(this.pk)},isReadButtonShown(){return this.group==="c"&&this.$route.name!="reader"},isReadButtonEnabled(){return this.$route.name==="browser"&&!!this.readerRoute},readButtonIcon(){return this.isReadButtonEnabled?gt:yt},readerRoute(){return za(this.md)},formattedIssue(){if(!((this.md.issueNumber===null||this.md.issueNumber===void 0)&&!this.md.issueSuffix))return Nt(this.md)},readingDirectionText(){return this.readingDirectionTitles[this.md.readingDirection]},pages(){let e="";if(this.md.page){const a=we.format(this.md.page);e+=`Read ${a} of `}const t=we.format(this.md.pageCount);return e+=`${t} pages`,this.md.progress>0&&(e+=` (${Math.round(this.md.progress)}%)`),e},size(){return this.md.size>0?ba(this.md.size):0},fileType(){return this.md.fileType||"Unknown"},titledIdentifiers(){if(!this.md.identifiers)return this.md.identifiers;const e=[];for(const t of this.md.identifiers){const a=t.name.split(":"),n=a[0],o=a[1],s=this.identifierTypeTitle(n);let i="";s&&s!=="None"&&(i+=s+":"),i+=o,e.push({...t,name:i})}return e}},watch:{dialog(e){e?this.dialogOpened():this.clearMetadata()}},methods:{...me(Ie,["clearMetadata","loadMetadata"]),...me(_t,["downloadIOSPWAFix"]),...me(Q,["identifierTypeTitle"]),dialogOpened(){this.loadMetadata({group:this.group,pk:this.pk}),this.startProgress()},startProgress(){this.startTime=Date.now(),this.estimatedMS=Math.max(Ua,this.children/ja)*1e3,this.updateProgress()},updateProgress(){const e=Date.now()-this.startTime;this.progress=e/this.estimatedMS*100,!(this.progress>=100||this.md)&&setTimeout(()=>{this.updateProgress()},qa)},formatDateTime(e){return kt(e,this.twentyFourHourTime)},download(){this.downloadIOSPWAFix(this.downloadURL,this.md.filename)}}},Ka=e=>(wt("data-v-274e2a70"),e=e(),Vt(),e),Ya={id:"metadataHeader"},xa={id:"metadataBookCoverWrapper"},Ha={class:"inlineRow"},Wa={class:"inlineRow"},Qa={class:"inlineRow"},Xa={key:1,class:"inlineRow"},Za={id:"metadataBody"},Ja={class:"mdSection"},el={class:"quintRow"},tl={class:"mdSection"},al={class:"quarterRow"},ll={class:"lastSmallRow"},sl={class:"halfRow mdSection"},rl={class:"mdSection"},nl={class:"mdSection"},ol={class:"mdSection"},il={class:"mdSection"},ul={class:"mdSection"},dl={class:"mdSection inlineRow"},cl={class:"inlineRow"},ml={id:"footerLinks"},vl={id:"bottomRightButtons"},hl={key:1,id:"placeholderContainer"},fl=Ka(()=>m("div",{id:"placeholderTitle"},"Tags Loading",-1));function bl(e,t,a,n,o,s){const i=$e,r=ze,c=Ae,h=ge,B=Le("MetadataContributorsTable"),y=Oe;return d(),w(zt,{modelValue:o.dialog,"onUpdate:modelValue":t[5]||(t[5]=b=>o.dialog=b),fullscreen:"",transition:"dialog-bottom-transition"},{activator:C(({props:b})=>[l(ne,X({"aria-label":"tags",class:"tagButton cardControlButton",icon:"",title:"Tags",variant:"text"},b,{onClick:t[0]||(t[0]=St(()=>{},["prevent"]))}),{default:C(()=>[l(ae,null,{default:C(()=>[D(V(o.mdiTagOutline),1)]),_:1})]),_:2},1040)]),default:C(()=>[e.md?(d(),T("div",{key:0,id:"metadataContainer",onKeyup:t[3]||(t[3]=Tt(b=>o.dialog=!1,["esc"]))},[m("header",Ya,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[1]||(t[1]=b=>o.dialog=!1)}),e.q?(d(),w(r,{key:0,id:"search",value:e.q,label:"Search Query",highlight:!0},null,8,["value"])):R("",!0),m("div",xa,[l(c,{id:"bookCover","cover-pk":e.md.coverPk,group:a.group,"child-count":e.md.childCount,finished:e.md.finished},null,8,["cover-pk","group","child-count","finished"]),l(Ct,{class:"bookCoverProgress","model-value":e.md.progress,rounded:"","background-color":"inherit",height:"2","aria-label":"% read"},null,8,["model-value"])]),m("div",Ha,[l(r,{id:"publisher",value:e.md.publisher,group:"p",label:"Publisher",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{id:"imprint",value:e.md.imprint,group:"i",label:"Imprint",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Wa,[l(r,{id:"series",value:e.md.series,label:"Series",group:"s",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Qa,[l(r,{id:"volume",value:e.md.volume,label:"Volume",group:"v",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.seriesVolumeCount,label:"Volume Count"},null,8,["value"]),l(r,{id:"issue",value:s.formattedIssue,label:"Issue",group:"c",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.volumeIssueCount,label:"Issue Count"},null,8,["value"]),l(r,{value:e.md.name,label:"Title"},null,8,["value"])]),e.md.year||e.md.month||e.md.day?(d(),T("div",Xa,[l(r,{value:e.md.year,label:"Year",class:"datePicker",type:"number"},null,8,["value"]),l(r,{value:e.md.month,label:"Month",class:"datePicker"},null,8,["value"]),l(r,{value:e.md.day,label:"Day",class:"datePicker"},null,8,["value"])])):R("",!0)]),m("div",Za,[m("section",Ja,[m("div",el,[l(r,{value:s.pages,label:"Pages"},null,8,["value"]),l(r,{label:"Finished",value:(!!e.md.finished).toString()},null,8,["value"]),l(r,{label:"Reading Direction",value:s.readingDirectionText},null,8,["value"]),l(r,{value:(!!e.md.monochrome).toString(),label:"Monochrome"},null,8,["value"]),l(r,{value:e.md.original_format,label:"Original Format"},null,8,["value"])])]),m("section",tl,[m("div",al,[e.md.createdAt?(d(),w(r,{key:0,value:s.formatDateTime(e.md.createdAt),label:"Created at",class:"mtime"},null,8,["value"])):R("",!0),e.md.updatedAt?(d(),w(r,{key:1,value:s.formatDateTime(e.md.updatedAt),label:"Updated at",class:"mtime"},null,8,["value"])):R("",!0),l(r,{value:s.size,label:"Size"},null,8,["value"]),l(r,{value:s.fileType,label:"File Type"},null,8,["value"])]),m("div",ll,[l(r,{group:"f",value:{pk:e.md.parentFolderPk,name:e.md.path},label:"Path"},null,8,["value"])])]),m("section",sl,[l(r,{value:e.md.country,label:"Country"},null,8,["value"]),l(r,{value:e.md.language,label:"Language"},null,8,["value"])]),m("section",rl,[l(h,{values:s.titledIdentifiers,label:"Identifiers"},null,8,["values"])]),m("section",nl,[l(r,{value:e.md.summary,label:"Summary"},null,8,["value"]),l(r,{value:e.md.review,label:"Review"},null,8,["value"])]),m("section",ol,[l(r,{value:e.md.communityRating,label:"Community Rating"},null,8,["value"]),l(r,{value:e.md.criticalRating,label:"Critical Rating"},null,8,["value"]),l(r,{value:e.md.ageRating,label:"Age Rating"},null,8,["value"])]),m("section",il,[l(h,{values:e.md.genres,label:"Genres"},null,8,["values"]),l(h,{values:e.md.characters,label:"Characters"},null,8,["values"]),l(h,{values:e.md.teams,label:"Teams"},null,8,["values"]),l(h,{values:e.md.locations,label:"Locations"},null,8,["values"]),l(h,{values:e.md.seriesGroups,label:"Series Groups"},null,8,["values"]),l(h,{values:e.md.stories,label:"Stories"},null,8,["values"]),l(h,{values:e.md.storyArcNumbers,label:"Story Arcs"},null,8,["values"]),l(h,{values:e.md.tags,label:"Tags"},null,8,["values"])]),m("section",ul,[l(B,{value:e.md.contributors},null,8,["value"])]),m("section",dl,[l(r,{value:e.md.notes,label:"Notes"},null,8,["value"])]),m("section",cl,[l(r,{value:e.md.tagger,label:"Tagger"},null,8,["value"]),l(r,{value:e.md.scanInfo,label:"Scan"},null,8,["value"])])]),m("footer",ml,[a.group==="c"?(d(),w(ne,{key:0,id:"downloadButton",title:"Download Comic Archive",onClick:s.download},{default:C(()=>[a.group==="c"?(d(),w(ae,{key:0},{default:C(()=>[D(V(o.mdiDownload),1)]),_:1})):R("",!0),D(" Download ")]),_:1},8,["onClick"])):R("",!0),s.isReadButtonShown?(d(),w(ne,{key:1,to:s.readerRoute,title:"Read Comic",disabled:!s.isReadButtonEnabled},{default:C(()=>[l(ae,null,{default:C(()=>[D(V(s.readButtonIcon),1)]),_:1}),D(" Read ")]),_:1},8,["to","disabled"])):R("",!0),m("span",vl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[2]||(t[2]=b=>o.dialog=!1)})])])],32)):(d(),T("div",hl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[4]||(t[4]=b=>o.dialog=!1)}),fl,l(y,{"model-value":o.progress,indeterminate:o.progress>=100,class:"placeholder"},null,8,["model-value","indeterminate"])]))]),_:1},8,["modelValue"])}const Pl=U(Ga,[["render",bl],["__scopeId","data-v-274e2a70"]]);export{ra as N,Oe as P,Tl as V,Bl as _,Vl as a,wl as b,Pl as c,Ae as d,za as g,ba as p,ua as t};
@@ -1 +1 @@
1
- import{x as le,E as he,bL as He,G as oe,aB as We,aA as F,K as ie,L as l,_ as U,R as d,O as w,aP as Ne,aF as ue,P as C,aQ as Re,am as X,bM as Qe,bN as Xe,h as v,bO as ke,J as fe,s as Se,r as ve,S as Ze,p as Je,av as Me,bP as et,i as Fe,aj as tt,z as W,bQ as at,bk as Ce,bl as lt,bR as st,bn as rt,bS as nt,bT as ot,az as Te,ax as it,al as be,ak as ne,bU as ut,bV as dt,M as te,aE as T,bW as ct,ab as Ee,aH as R,ae as V,bX as mt,b5 as De,aJ as m,aa as D,ad as ae,Q as Le,l as vt,b4 as $e,bx as ht,bY as ft,aD as bt,m as pt,be as gt,bf as yt,ba as we,N as me,k as _t,bb as kt,bd as St,aW as Ct,b1 as Tt,aN as wt,aO as Vt}from"./admin-drawer-panel-lvSt_rmS.js";import{a as Bt,g as Pt,e as It,i as Nt}from"./VToolbar-l9UdbYjt.js";import{m as Rt,a as Mt,u as Ft,V as Ve,b as Et}from"./VSelectionControl-Ervl02ph.js";import{C as Dt,u as Q,A as Lt}from"./main-OIrebd4D.js";import{c as $t,d as Ot}from"./VSelect-LwrRxfjs.js";import{c as At}from"./to-case-FdEoSAB7.js";import{V as zt}from"./confirm-footer-c31QW5F5.js";const jt=le({...he(),...He({variant:"text"})},"VToolbarItems"),Tl=oe()({name:"VToolbarItems",props:jt(),setup(e,t){let{slots:a}=t;return We({VBtn:{color:F(e,"color"),height:"inherit",variant:F(e,"variant")}}),ie(()=>{var n;return l("div",{class:["v-toolbar-items",e.class],style:e.style},[(n=a.default)==null?void 0:n.call(a)])}),{}}}),Ut={name:"PaginationToolbar"};function qt(e,t,a,n,o,s){return d(),w(Bt,{class:"paginationToolbar codexToolbar",density:"compact",transform:"center bottom"},Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1024)}const wl=U(Ut,[["render",qt],["__scopeId","data-v-cfa8cce0"]]),pe=Symbol.for("vuetify:v-slider");function Gt(e,t,a){const n=a==="vertical",o=t.getBoundingClientRect(),s="touches"in e?e.touches[0]:e;return n?s.clientY-(o.top+o.height/2):s.clientX-(o.left+o.width/2)}function Kt(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const Yt=le({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Qe(),...Xe({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),xt=e=>{const t=v(()=>parseFloat(e.min)),a=v(()=>parseFloat(e.max)),n=v(()=>+e.step>0?parseFloat(e.step):0),o=v(()=>Math.max(ke(n.value),ke(t.value)));function s(i){if(i=parseFloat(i),n.value<=0)return i;const r=Me(i,t.value,a.value),c=t.value%n.value,h=Math.round((r-c)/n.value)*n.value+c;return parseFloat(Math.min(h,a.value).toFixed(o.value))}return{min:t,max:a,step:n,decimals:o,roundValue:s}},Ht=e=>{let{props:t,steps:a,onSliderStart:n,onSliderMove:o,onSliderEnd:s,getActiveThumb:i}=e;const{isRtl:r}=fe(),c=F(t,"reverse"),h=v(()=>t.direction==="vertical"),B=v(()=>h.value!==c.value),{min:y,max:b,step:L,decimals:q,roundValue:A}=a,x=v(()=>parseInt(t.thumbSize,10)),G=v(()=>parseInt(t.tickSize,10)),z=v(()=>parseInt(t.trackSize,10)),$=v(()=>(b.value-y.value)/L.value),K=F(t,"disabled"),E=v(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),p=v(()=>t.error||t.disabled?void 0:t.trackColor??t.color),M=v(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),_=Se(!1),k=Se(0),P=ve(),I=ve();function f(u){var _e;const g=t.direction==="vertical",Ue=g?"top":"left",qe=g?"height":"width",Ge=g?"clientY":"clientX",{[Ue]:Ke,[qe]:Ye}=(_e=P.value)==null?void 0:_e.$el.getBoundingClientRect(),xe=Kt(u,Ge);let ce=Math.min(Math.max((xe-Ke-k.value)/Ye,0),1)||0;return(g?B.value:B.value!==r.value)&&(ce=1-ce),A(y.value+ce*(b.value-y.value))}const O=u=>{s({value:f(u)}),_.value=!1,k.value=0},Z=u=>{I.value=i(u),I.value&&(I.value.focus(),_.value=!0,I.value.contains(u.target)?k.value=Gt(u,I.value,t.direction):(k.value=0,o({value:f(u)})),n({value:f(u)}))},j={passive:!0,capture:!0};function J(u){o({value:f(u)})}function se(u){u.stopPropagation(),u.preventDefault(),O(u),window.removeEventListener("mousemove",J,j),window.removeEventListener("mouseup",se)}function S(u){var g;O(u),window.removeEventListener("touchmove",J,j),(g=u.target)==null||g.removeEventListener("touchend",S)}function N(u){var g;Z(u),window.addEventListener("touchmove",J,j),(g=u.target)==null||g.addEventListener("touchend",S,{passive:!1})}function Y(u){u.preventDefault(),Z(u),window.addEventListener("mousemove",J,j),window.addEventListener("mouseup",se,{passive:!1})}const H=u=>{const g=(u-y.value)/(b.value-y.value)*100;return Me(isNaN(g)?0:g,0,100)},ee=F(t,"showTicks"),re=v(()=>ee.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(u=>({value:u,position:H(u),label:u.toString()})):Object.keys(t.ticks).map(u=>({value:parseFloat(u),position:H(parseFloat(u)),label:t.ticks[u]})):$.value!==1/0?Ze($.value+1).map(u=>{const g=y.value+u*L.value;return{value:g,position:H(g)}}):[]:[]),de=v(()=>re.value.some(u=>{let{label:g}=u;return!!g})),ye={activeThumbRef:I,color:F(t,"color"),decimals:q,disabled:K,direction:F(t,"direction"),elevation:F(t,"elevation"),hasLabels:de,isReversed:c,indexFromEnd:B,min:y,max:b,mousePressed:_,numTicks:$,onSliderMousedown:Y,onSliderTouchstart:N,parsedTicks:re,parseMouseMove:f,position:H,readonly:F(t,"readonly"),rounded:F(t,"rounded"),roundValue:A,showTicks:ee,startOffset:k,step:L,thumbSize:x,thumbColor:E,thumbLabel:F(t,"thumbLabel"),ticks:F(t,"ticks"),tickSize:G,trackColor:p,trackContainerRef:P,trackFillColor:M,trackSize:z,vertical:h};return Je(pe,ye),ye},Wt=le({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...he()},"VSliderThumb"),Qt=oe()({name:"VSliderThumb",directives:{Ripple:et},props:Wt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=Fe(pe),{isRtl:s,rtlClasses:i}=fe();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:r,step:c,disabled:h,thumbSize:B,thumbLabel:y,direction:b,isReversed:L,vertical:q,readonly:A,elevation:x,mousePressed:G,decimals:z,indexFromEnd:$}=o,{textColorClasses:K,textColorStyles:E}=tt(r),{pageup:p,pagedown:M,end:_,home:k,left:P,right:I,down:f,up:O}=nt,Z=[p,M,_,k,P,I,f,O],j=v(()=>c.value?[1,2,3]:[1,5,10]);function J(S,N){if(!Z.includes(S.key))return;S.preventDefault();const Y=c.value||.1,H=(e.max-e.min)/Y;if([P,I,f,O].includes(S.key)){const re=(q.value?[s.value?P:I,L.value?f:O]:$.value!==s.value?[P,O]:[I,O]).includes(S.key)?1:-1,de=S.shiftKey?2:S.ctrlKey?1:0;N=N+re*Y*j.value[de]}else if(S.key===k)N=e.min;else if(S.key===_)N=e.max;else{const ee=S.key===M?1:-1;N=N-ee*Y*(H>100?H/10:10)}return Math.max(e.min,Math.min(e.max,N))}function se(S){const N=J(S,e.modelValue);N!=null&&n("update:modelValue",N)}return ie(()=>{const S=W($.value?100-e.position:e.position,"%"),{elevationClasses:N}=at(v(()=>h.value?void 0:x.value));return l("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&G.value},e.class,i.value],style:[{"--v-slider-thumb-position":S,"--v-slider-thumb-size":W(B.value)},e.style],role:"slider",tabindex:h.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!A.value,"aria-orientation":b.value,onKeydown:A.value?void 0:se},[l("div",{class:["v-slider-thumb__surface",K.value,N.value],style:{...E.value}},null),Ce(l("div",{class:["v-slider-thumb__ripple",K.value],style:E.value},null),[[lt("ripple"),e.ripple,null,{circle:!0,center:!0}]]),l(st,{origin:"bottom center"},{default:()=>{var Y;return[Ce(l("div",{class:"v-slider-thumb__label-container"},[l("div",{class:["v-slider-thumb__label"]},[l("div",null,[((Y=a["thumb-label"])==null?void 0:Y.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(c.value?z.value:1)])])]),[[rt,y.value&&e.focused||y.value==="always"]])]}})])}),{}}}),Xt=le({start:{type:Number,required:!0},stop:{type:Number,required:!0},...he()},"VSliderTrack"),Zt=oe()({name:"VSliderTrack",props:Xt(),emits:{},setup(e,t){let{slots:a}=t;const n=Fe(pe);if(!n)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:s,rounded:i,showTicks:r,tickSize:c,trackColor:h,trackFillColor:B,trackSize:y,vertical:b,min:L,max:q,indexFromEnd:A}=n,{roundedClasses:x}=ot(i),{backgroundColorClasses:G,backgroundColorStyles:z}=Te(B),{backgroundColorClasses:$,backgroundColorStyles:K}=Te(h),E=v(()=>`inset-${b.value?"block":"inline"}-${A.value?"end":"start"}`),p=v(()=>b.value?"height":"width"),M=v(()=>({[E.value]:"0%",[p.value]:"100%"})),_=v(()=>e.stop-e.start),k=v(()=>({[E.value]:W(e.start,"%"),[p.value]:W(_.value,"%")})),P=v(()=>r.value?(b.value?s.value.slice().reverse():s.value).map((f,O)=>{var j;const Z=f.value!==L.value&&f.value!==q.value?W(f.position,"%"):void 0;return l("div",{key:f.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":f.position>=e.start&&f.position<=e.stop,"v-slider-track__tick--first":f.value===L.value,"v-slider-track__tick--last":f.value===q.value}],style:{[E.value]:Z}},[(f.label||a["tick-label"])&&l("div",{class:"v-slider-track__tick-label"},[((j=a["tick-label"])==null?void 0:j.call(a,{tick:f,index:O}))??f.label])])}):[]);return ie(()=>l("div",{class:["v-slider-track",x.value,e.class],style:[{"--v-slider-track-size":W(y.value),"--v-slider-tick-size":W(c.value)},e.style]},[l("div",{class:["v-slider-track__background",$.value,{"v-slider-track__background--opacity":!!o.value||!B.value}],style:{...M.value,...K.value}},null),l("div",{class:["v-slider-track__fill",G.value],style:{...k.value,...z.value}},null),r.value&&l("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":r.value==="always"}]},[P.value])])),{}}}),Jt=le({...Rt(),...Yt(),...Mt(),modelValue:{type:[Number,String],default:0}},"VSlider"),ea=oe()({name:"VSlider",props:Jt(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=ve(),{rtlClasses:s}=fe(),i=xt(e),r=it(e,"modelValue",void 0,p=>i.roundValue(p??i.min.value)),{min:c,max:h,mousePressed:B,roundValue:y,onSliderMousedown:b,onSliderTouchstart:L,trackContainerRef:q,position:A,hasLabels:x,readonly:G}=Ht({props:e,steps:i,onSliderStart:()=>{n("start",r.value)},onSliderEnd:p=>{let{value:M}=p;const _=y(M);r.value=_,n("end",_)},onSliderMove:p=>{let{value:M}=p;return r.value=y(M)},getActiveThumb:()=>{var p;return(p=o.value)==null?void 0:p.$el}}),{isFocused:z,focus:$,blur:K}=Ft(e),E=v(()=>A(r.value));return ie(()=>{const p=Ve.filterProps(e),M=!!(e.label||a.label||a.prepend);return l(Ve,X({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||x.value,"v-slider--focused":z.value,"v-slider--pressed":B.value,"v-slider--disabled":e.disabled},s.value,e.class],style:e.style},p,{focused:z.value}),{...a,prepend:M?_=>{var k,P;return l(be,null,[((k=a.label)==null?void 0:k.call(a,_))??(e.label?l(Et,{id:_.id.value,class:"v-slider__label",text:e.label},null):void 0),(P=a.prepend)==null?void 0:P.call(a,_)])}:void 0,default:_=>{let{id:k,messagesId:P}=_;return l("div",{class:"v-slider__container",onMousedown:G.value?void 0:b,onTouchstartPassive:G.value?void 0:L},[l("input",{id:k.value,name:e.name||k.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:r.value},null),l(Zt,{ref:q,start:0,stop:E.value},{"tick-label":a["tick-label"]}),l(Qt,{ref:o,"aria-describedby":P.value,focused:z.value,min:c.value,max:h.value,modelValue:r.value,"onUpdate:modelValue":I=>r.value=I,position:E.value,elevation:e.elevation,onFocus:$,onBlur:K,ripple:e.ripple},{"thumb-label":a["thumb-label"]})])}})}),{}}}),ta={name:"PaginationSlider"};function aa(e,t,a,n,o,s){return d(),w(ea,X({"thumb-size":"36",class:"paginationSlider",density:"compact","hide-details":"auto",rounded:!0,"show-ticks":"always",step:1,"thumb-label":"always"},e.$attrs),null,16)}const Vl=U(ta,[["render",aa],["__scopeId","data-v-825b160e"]]),la={name:"PaginationNavButton"};function sa(e,t,a,n,o,s){return d(),w(ne,X({class:"paginationNavButton",height:"100%"},e.$attrs),Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1040)}const Bl=U(la,[["render",sa],["__scopeId","data-v-852fad11"]]),Be=Dt.browser.vuetifyNullCode,ra=new Set(["",Be,Be.toString(),void 0]),na=function(e){let t;return e===void 0?t=e:e instanceof Object?t={value:e.pk,title:e.name}:t={value:e,title:e.toString()},e.url&&(t.url=e.url),t},oa=function(e,t){return e.title<t.title?-1:e.title>t.title?1:0},ia=function(e,t){return Number.parseFloat(e.title)-Number.parseFloat(t.title)},ua=function(e,t,a=!1){const n=e||[],o=t&&t.toLowerCase();let s=[];for(const r of n){if(!r||ra.has(r.pk))continue;const c=na(r);c&&(!o||c.title&&c.title.toLowerCase().includes(o))&&s.push(c)}const i=a?ia:oa;return s.sort(i)},da={name:"PlaceholderLoading",props:{indeterminate:{type:Boolean,default:!0}}};function ca(e,t,a,n,o,s){return d(),w(ut,X({"aria-label":"loading",class:"codexProgressCircular",indeterminate:a.indeterminate},e.$attrs),null,16,["indeterminate"])}const Oe=U(da,[["render",ca],["__scopeId","data-v-7bb4cf22"]]),ma=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],va=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ha=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fa=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Pe=(e,t,a)=>{let n=e;return typeof t=="string"||Array.isArray(t)?n=e.toLocaleString(t,a):(t===!0||a!==void 0)&&(n=e.toLocaleString(void 0,a)),n};function ba(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const a=t.bits?t.binary?fa:ha:t.binary?va:ma,n=t.space?" ":"";if(t.signed&&e===0)return` 0${n}${a[0]}`;const o=e<0,s=o?"-":t.signed?"+":"";o&&(e=-e);let i;if(t.minimumFractionDigits!==void 0&&(i={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1){const B=Pe(e,t.locale,i);return s+B+n+a[0]}const r=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),a.length-1);e/=(t.binary?1024:1e3)**r,i||(e=e.toPrecision(3));const c=Pe(Number(e),t.locale,i),h=a[r];return s+c+n+h}const pa=(e,t)=>e?`${dt(e)}/cover.webp?${t}`:window.CODEX.MISSING_COVER,ga={name:"BookCover",props:{group:{type:String,required:!0},childCount:{type:Number,default:1},finished:{type:Boolean},coverPk:{type:Number,required:!0}},data(){return{showPlaceholder:!1}},computed:{...te(Q,{coverSrc:function(e){return pa(this.coverPk,e.page.coversTimestamp)}})},mounted:function(){this.delayPlaceholder()},methods:{delayPlaceholder:function(){setTimeout(()=>{this.showPlaceholder=!0},2e3)}}},ya={class:"bookCover"},_a={key:1,class:"childCount"};function ka(e,t,a,n,o,s){return d(),T("div",ya,[l(ct,{src:e.coverSrc,class:"coverImg"},null,8,["src"]),a.finished!==!0?(d(),T("div",{key:0,class:Ee({unreadFlag:!0,mixedreadFlag:a.finished===null})},null,2)):R("",!0),a.group!=="c"?(d(),T("span",_a,V(a.childCount),1)):R("",!0)])}const Ae=U(ga,[["render",ka],["__scopeId","data-v-9acb5f6a"]]),Sa={name:"MetadataTags",props:{label:{type:String,required:!0},values:{type:Array,default(){return[]}},filter:{type:String,required:!1,default:void 0}},data(){return{mdiFilter:mt,mdiOpenInNew:De}},computed:{...te(Q,{filterValues:function(e){const t=this.filter||this.label.toLowerCase();return e.settings.filters[t]}}),model(){return ua(this.values)}},methods:{chipColor:function(e){return this.filterValues&&this.filterValues.includes(e)?this.$vuetify.theme.current.colors["primary-darken-1"]:""}}},Ca={key:0,class:"tags"},Ta={class:"label"},wa=["href"],Va={key:1};function Ba(e,t,a,n,o,s){return s.model&&s.model.length>0?(d(),T("div",Ca,[l(Ot,{value:s.model,multiple:"",class:"chipGroup"},{default:C(()=>[m("div",Ta,V(a.label),1),(d(!0),T(be,null,ue(s.model,i=>(d(),w($t,{key:`${a.label}/${i.value}`,color:s.chipColor(i.value),value:i.value},{default:C(()=>[i.url?(d(),T("a",{key:0,href:i.url,target:"_blank"},[D(V(i.title),1),l(ae,null,{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,wa)):(d(),T("span",Va,V(i.title),1))]),_:2},1032,["color","value"]))),128))]),_:1},8,["value"])])):R("",!0)}const ge=U(Sa,[["render",Ba],["__scopeId","data-v-59c9d373"]]),Pa={name:"MetadataTextBox",props:{label:{type:String,required:!0},value:{type:[Object,String,Number,Boolean],default:void 0},link:{type:[Boolean,String],default:!1},group:{type:String,default:""},obj:{type:Object,default:void 0}},data(){return{mdiOpenInNew:De}},computed:{computedValue(){return this.value!=null&&this.value instanceof Object?this.value.name:this.value},linkValue(){return this.link===!0?this.computedValue:this.link?this.link:!1},highlight(){var e;return((e=this.obj)==null?void 0:e.group)===this.group},pathArray(){if(this.computedValue)return this.computedValue.split("/")},folderPath(){if(this.pathArray)return this.pathArray.slice(0,-1).join("/")},basePath(){if(this.pathArray)return this.pathArray.at(-1)},groupTo(){const e=Q();if(this.group!=="f"&&!e.settings.show[this.group]||this.group==="f"&&!e.page.adminFlags.folderView)return;let t;if(t=this.obj&&this.obj.group==this.group?this.obj.pk:this.value.pk,!t)return;const a=this.$router.currentRoute.value.params;if(!(a.group===this.group&&+a.pk===t))return{name:"browser",params:{group:this.group,pk:t}}}}},Ia={class:"textLabel"},Na={class:"textValue"},Ra=["href"],Ma={key:3,class:"textContent"},Fa={key:4,id:"basePath"};function Ea(e,t,a,n,o,s){const i=Le("router-link");return s.computedValue?(d(),T("div",{key:0,class:Ee(["text",{highlight:s.highlight}])},[m("div",Ia,V(a.label),1),m("div",Na,[s.groupTo&&a.group==="f"?(d(),w(i,{key:0,id:"folderPath",to:s.groupTo,title:"Browse Folder"},{default:C(()=>[D(V(s.folderPath)+"/",1)]),_:1},8,["to"])):s.groupTo?(d(),w(i,{key:1,class:"textContent",to:s.groupTo,title:`Browse ${a.label}`},{default:C(()=>[D(V(s.computedValue),1)]),_:1},8,["to","title"])):a.link?(d(),T("a",{key:2,href:s.linkValue,target:"_blank"},[D(V(s.computedValue)+" ",1),l(ae,{size:"small"},{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,Ra)):(d(),T("div",Ma,V(s.computedValue),1)),s.groupTo&&a.group==="f"?(d(),T("span",Fa,V(s.basePath),1)):R("",!0)])],2)):R("",!0)}const ze=U(Pa,[["render",Ea],["__scopeId","data-v-0d27e6b3"]]),Da={name:"MetadataContributorsTable",props:{value:{type:Array,default:void 0}},data(){return{}},computed:{contributorsDict(){const e={};for(const{role:n,person:o}of this.value){const s=At(n.name)+"s";e[s]||(e[s]=[]),e[s].push(o)}const t=Object.keys(e).sort((n,o)=>n.localeCompare(o)),a={};for(const n of t)a[n]=e[n].sort((o,s)=>o.name.localeCompare(s.name));return a}}},La={key:0},$a=m("h3",null,"Contributors",-1);function Oa(e,t,a,n,o,s){const i=ge;return Object.keys(s.contributorsDict).length>0?(d(),T("div",La,[$a,(d(!0),T(be,null,ue(Object.entries(s.contributorsDict),([r,c])=>(d(),w(i,{key:r,values:c,label:r,filter:"contributors"},null,8,["values","label"]))),128))])):R("",!0)}const Aa=U(Da,[["render",Oa]]),je=new Set("rtl","btt");Object.freeze(je);const za=({pk:e,page:t,readingDirection:a,pageCount:n})=>{if(n){if(t)t=Number(t);else if(je.has(a)){const o=Number(n)-1;t=Math.max(o,0)}else t=0;return{name:"reader",params:{pk:e,page:t}}}},Ie=vt("metadata",{state:()=>({md:void 0}),actions:{async loadMetadata({group:e,pk:t}){const a=Q();await Lt.getMetadata({group:e,pk:t},a.settings).then(n=>(this.md=n.data,!0)).catch(n=>{console.error(n),this.clearMetadata()})},clearMetadata(){this.md=void 0}}}),ja=1160,Ua=.05,qa=250,Ga={name:"MetadataButton",components:{BookCover:Ae,CloseButton:$e,MetadataContributorsTable:Aa,MetadataTags:ge,MetadataText:ze,PlaceholderLoading:Oe},props:{group:{type:String,required:!0},pk:{type:Number,required:!0},children:{type:Number,default:1}},data(){return{mdiDownload:ht,mdiTagOutline:ft,dialog:!1,progress:0}},computed:{...bt(pt,["isUserAdmin"]),...te(Q,{twentyFourHourTime:e=>e.settings.twentyFourHourTime,readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypes:e=>e.choices.static.identifierType}),...te(Ie,{md:e=>e.md,downloadFileName:e=>{const t=e.md;return e.md.path?t.path.split("/").at(-1):Pt({seriesName:t.series.name,volumeName:t.volume.name,issueNumber:t.issueNumber,issueSuffix:t.issueSuffix})+"."+(void 0).fileType.toLowerCase()}}),...te(Q,{q:e=>e.settings.q}),downloadURL(){return It(this.pk)},isReadButtonShown(){return this.group==="c"&&this.$route.name!="reader"},isReadButtonEnabled(){return this.$route.name==="browser"&&!!this.readerRoute},readButtonIcon(){return this.isReadButtonEnabled?gt:yt},readerRoute(){return za(this.md)},formattedIssue(){if(!((this.md.issueNumber===null||this.md.issueNumber===void 0)&&!this.md.issueSuffix))return Nt(this.md)},readingDirectionText(){return this.readingDirectionTitles[this.md.readingDirection]},pages(){let e="";if(this.md.page){const a=we.format(this.md.page);e+=`Read ${a} of `}const t=we.format(this.md.pageCount);return e+=`${t} pages`,this.md.progress>0&&(e+=` (${Math.round(this.md.progress)}%)`),e},size(){return this.md.size>0?ba(this.md.size):0},fileType(){return this.md.fileType||"Unknown"},titledIdentifiers(){if(!this.md.identifiers)return this.md.identifiers;const e=[];for(const t of this.md.identifiers){const a=t.name.split(":"),n=a[0],o=a[1],s=this.identifierTypeTitle(n);let i="";s&&s!=="None"&&(i+=s+":"),i+=o,e.push({...t,name:i})}return e}},watch:{dialog(e){e?this.dialogOpened():this.clearMetadata()}},methods:{...me(Ie,["clearMetadata","loadMetadata"]),...me(_t,["downloadIOSPWAFix"]),...me(Q,["identifierTypeTitle"]),dialogOpened(){this.loadMetadata({group:this.group,pk:this.pk}),this.startProgress()},startProgress(){this.startTime=Date.now(),this.estimatedMS=Math.max(Ua,this.children/ja)*1e3,this.updateProgress()},updateProgress(){const e=Date.now()-this.startTime;this.progress=e/this.estimatedMS*100,!(this.progress>=100||this.md)&&setTimeout(()=>{this.updateProgress()},qa)},formatDateTime(e){return kt(e,this.twentyFourHourTime)},download(){this.downloadIOSPWAFix(this.downloadURL,this.md.filename)}}},Ka=e=>(wt("data-v-274e2a70"),e=e(),Vt(),e),Ya={id:"metadataHeader"},xa={id:"metadataBookCoverWrapper"},Ha={class:"inlineRow"},Wa={class:"inlineRow"},Qa={class:"inlineRow"},Xa={key:1,class:"inlineRow"},Za={id:"metadataBody"},Ja={class:"mdSection"},el={class:"quintRow"},tl={class:"mdSection"},al={class:"quarterRow"},ll={class:"lastSmallRow"},sl={class:"halfRow mdSection"},rl={class:"mdSection"},nl={class:"mdSection"},ol={class:"mdSection"},il={class:"mdSection"},ul={class:"mdSection"},dl={class:"mdSection inlineRow"},cl={class:"inlineRow"},ml={id:"footerLinks"},vl={id:"bottomRightButtons"},hl={key:1,id:"placeholderContainer"},fl=Ka(()=>m("div",{id:"placeholderTitle"},"Tags Loading",-1));function bl(e,t,a,n,o,s){const i=$e,r=ze,c=Ae,h=ge,B=Le("MetadataContributorsTable"),y=Oe;return d(),w(zt,{modelValue:o.dialog,"onUpdate:modelValue":t[5]||(t[5]=b=>o.dialog=b),fullscreen:"",transition:"dialog-bottom-transition"},{activator:C(({props:b})=>[l(ne,X({"aria-label":"tags",class:"tagButton cardControlButton",icon:"",title:"Tags",variant:"text"},b,{onClick:t[0]||(t[0]=St(()=>{},["prevent"]))}),{default:C(()=>[l(ae,null,{default:C(()=>[D(V(o.mdiTagOutline),1)]),_:1})]),_:2},1040)]),default:C(()=>[e.md?(d(),T("div",{key:0,id:"metadataContainer",onKeyup:t[3]||(t[3]=Tt(b=>o.dialog=!1,["esc"]))},[m("header",Ya,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[1]||(t[1]=b=>o.dialog=!1)}),e.q?(d(),w(r,{key:0,id:"search",value:e.q,label:"Search Query",highlight:!0},null,8,["value"])):R("",!0),m("div",xa,[l(c,{id:"bookCover","cover-pk":e.md.coverPk,group:a.group,"child-count":e.md.childCount,finished:e.md.finished},null,8,["cover-pk","group","child-count","finished"]),l(Ct,{class:"bookCoverProgress","model-value":e.md.progress,rounded:"","background-color":"inherit",height:"2","aria-label":"% read"},null,8,["model-value"])]),m("div",Ha,[l(r,{id:"publisher",value:e.md.publisher,group:"p",label:"Publisher",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{id:"imprint",value:e.md.imprint,group:"i",label:"Imprint",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Wa,[l(r,{id:"series",value:e.md.series,label:"Series",group:"s",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Qa,[l(r,{id:"volume",value:e.md.volume,label:"Volume",group:"v",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.seriesVolumeCount,label:"Volume Count"},null,8,["value"]),l(r,{id:"issue",value:s.formattedIssue,label:"Issue",group:"c",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.volumeIssueCount,label:"Issue Count"},null,8,["value"]),l(r,{value:e.md.name,label:"Title"},null,8,["value"])]),e.md.year||e.md.month||e.md.day?(d(),T("div",Xa,[l(r,{value:e.md.year,label:"Year",class:"datePicker",type:"number"},null,8,["value"]),l(r,{value:e.md.month,label:"Month",class:"datePicker"},null,8,["value"]),l(r,{value:e.md.day,label:"Day",class:"datePicker"},null,8,["value"])])):R("",!0)]),m("div",Za,[m("section",Ja,[m("div",el,[l(r,{value:s.pages,label:"Pages"},null,8,["value"]),l(r,{label:"Finished",value:(!!e.md.finished).toString()},null,8,["value"]),l(r,{label:"Reading Direction",value:s.readingDirectionText},null,8,["value"]),l(r,{value:(!!e.md.monochrome).toString(),label:"Monochrome"},null,8,["value"]),l(r,{value:e.md.original_format,label:"Original Format"},null,8,["value"])])]),m("section",tl,[m("div",al,[e.md.createdAt?(d(),w(r,{key:0,value:s.formatDateTime(e.md.createdAt),label:"Created at",class:"mtime"},null,8,["value"])):R("",!0),e.md.updatedAt?(d(),w(r,{key:1,value:s.formatDateTime(e.md.updatedAt),label:"Updated at",class:"mtime"},null,8,["value"])):R("",!0),l(r,{value:s.size,label:"Size"},null,8,["value"]),l(r,{value:s.fileType,label:"File Type"},null,8,["value"])]),m("div",ll,[l(r,{group:"f",value:{pk:e.md.parentFolderPk,name:e.md.path},label:"Path"},null,8,["value"])])]),m("section",sl,[l(r,{value:e.md.country,label:"Country"},null,8,["value"]),l(r,{value:e.md.language,label:"Language"},null,8,["value"])]),m("section",rl,[l(h,{values:s.titledIdentifiers,label:"Identifiers"},null,8,["values"])]),m("section",nl,[l(r,{value:e.md.summary,label:"Summary"},null,8,["value"]),l(r,{value:e.md.review,label:"Review"},null,8,["value"])]),m("section",ol,[l(r,{value:e.md.communityRating,label:"Community Rating"},null,8,["value"]),l(r,{value:e.md.criticalRating,label:"Critical Rating"},null,8,["value"]),l(r,{value:e.md.ageRating,label:"Age Rating"},null,8,["value"])]),m("section",il,[l(h,{values:e.md.genres,label:"Genres"},null,8,["values"]),l(h,{values:e.md.characters,label:"Characters"},null,8,["values"]),l(h,{values:e.md.teams,label:"Teams"},null,8,["values"]),l(h,{values:e.md.locations,label:"Locations"},null,8,["values"]),l(h,{values:e.md.seriesGroups,label:"Series Groups"},null,8,["values"]),l(h,{values:e.md.stories,label:"Stories"},null,8,["values"]),l(h,{values:e.md.storyArcNumbers,label:"Story Arcs"},null,8,["values"]),l(h,{values:e.md.tags,label:"Tags"},null,8,["values"])]),m("section",ul,[l(B,{value:e.md.contributors},null,8,["value"])]),m("section",dl,[l(r,{value:e.md.notes,label:"Notes"},null,8,["value"])]),m("section",cl,[l(r,{value:e.md.tagger,label:"Tagger"},null,8,["value"]),l(r,{value:e.md.scanInfo,label:"Scan"},null,8,["value"])])]),m("footer",ml,[a.group==="c"?(d(),w(ne,{key:0,id:"downloadButton",title:"Download Comic Archive",onClick:s.download},{default:C(()=>[a.group==="c"?(d(),w(ae,{key:0},{default:C(()=>[D(V(o.mdiDownload),1)]),_:1})):R("",!0),D(" Download ")]),_:1},8,["onClick"])):R("",!0),s.isReadButtonShown?(d(),w(ne,{key:1,to:s.readerRoute,title:"Read Comic",disabled:!s.isReadButtonEnabled},{default:C(()=>[l(ae,null,{default:C(()=>[D(V(s.readButtonIcon),1)]),_:1}),D(" Read ")]),_:1},8,["to","disabled"])):R("",!0),m("span",vl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[2]||(t[2]=b=>o.dialog=!1)})])])],32)):(d(),T("div",hl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[4]||(t[4]=b=>o.dialog=!1)}),fl,l(y,{"model-value":o.progress,indeterminate:o.progress>=100,class:"placeholder"},null,8,["model-value","indeterminate"])]))]),_:1},8,["modelValue"])}const Pl=U(Ga,[["render",bl],["__scopeId","data-v-274e2a70"]]);export{ra as N,Oe as P,Tl as V,Bl as _,Vl as a,wl as b,Pl as c,Ae as d,za as g,ba as p,ua as t};
1
+ import{x as le,E as he,bL as He,G as oe,aB as We,aA as F,K as ie,L as l,_ as U,R as d,O as w,aP as Ne,aF as ue,P as C,aQ as Re,am as X,bM as Qe,bN as Xe,h as v,bO as ke,J as fe,s as Se,r as ve,S as Ze,p as Je,av as Me,bP as et,i as Fe,aj as tt,z as W,bQ as at,bk as Ce,bl as lt,bR as st,bn as rt,bS as nt,bT as ot,az as Te,ax as it,al as be,ak as ne,bU as ut,bV as dt,M as te,aE as T,bW as ct,ab as Ee,aH as R,ae as V,bX as mt,b5 as De,aJ as m,aa as D,ad as ae,Q as Le,l as vt,b4 as $e,bx as ht,bY as ft,aD as bt,m as pt,be as gt,bf as yt,ba as we,N as me,k as _t,bb as kt,bd as St,aW as Ct,b1 as Tt,aN as wt,aO as Vt}from"./admin-drawer-panel-JjJ1iA6R.js";import{a as Bt,g as Pt,e as It,i as Nt}from"./VToolbar-BBzymioO.js";import{m as Rt,a as Mt,u as Ft,V as Ve,b as Et}from"./VSelectionControl-9CzKd8rG.js";import{C as Dt,u as Q,A as Lt}from"./main-fEXxBNBg.js";import{c as $t,d as Ot}from"./VSelect-Yw9YsgjJ.js";import{c as At}from"./to-case-FdEoSAB7.js";import{V as zt}from"./confirm-footer-IJHq21-K.js";const jt=le({...he(),...He({variant:"text"})},"VToolbarItems"),Tl=oe()({name:"VToolbarItems",props:jt(),setup(e,t){let{slots:a}=t;return We({VBtn:{color:F(e,"color"),height:"inherit",variant:F(e,"variant")}}),ie(()=>{var n;return l("div",{class:["v-toolbar-items",e.class],style:e.style},[(n=a.default)==null?void 0:n.call(a)])}),{}}}),Ut={name:"PaginationToolbar"};function qt(e,t,a,n,o,s){return d(),w(Bt,{class:"paginationToolbar codexToolbar",density:"compact",transform:"center bottom"},Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1024)}const wl=U(Ut,[["render",qt],["__scopeId","data-v-cfa8cce0"]]),pe=Symbol.for("vuetify:v-slider");function Gt(e,t,a){const n=a==="vertical",o=t.getBoundingClientRect(),s="touches"in e?e.touches[0]:e;return n?s.clientY-(o.top+o.height/2):s.clientX-(o.left+o.width/2)}function Kt(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const Yt=le({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Qe(),...Xe({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),xt=e=>{const t=v(()=>parseFloat(e.min)),a=v(()=>parseFloat(e.max)),n=v(()=>+e.step>0?parseFloat(e.step):0),o=v(()=>Math.max(ke(n.value),ke(t.value)));function s(i){if(i=parseFloat(i),n.value<=0)return i;const r=Me(i,t.value,a.value),c=t.value%n.value,h=Math.round((r-c)/n.value)*n.value+c;return parseFloat(Math.min(h,a.value).toFixed(o.value))}return{min:t,max:a,step:n,decimals:o,roundValue:s}},Ht=e=>{let{props:t,steps:a,onSliderStart:n,onSliderMove:o,onSliderEnd:s,getActiveThumb:i}=e;const{isRtl:r}=fe(),c=F(t,"reverse"),h=v(()=>t.direction==="vertical"),B=v(()=>h.value!==c.value),{min:y,max:b,step:L,decimals:q,roundValue:A}=a,x=v(()=>parseInt(t.thumbSize,10)),G=v(()=>parseInt(t.tickSize,10)),z=v(()=>parseInt(t.trackSize,10)),$=v(()=>(b.value-y.value)/L.value),K=F(t,"disabled"),E=v(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),p=v(()=>t.error||t.disabled?void 0:t.trackColor??t.color),M=v(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),_=Se(!1),k=Se(0),P=ve(),I=ve();function f(u){var _e;const g=t.direction==="vertical",Ue=g?"top":"left",qe=g?"height":"width",Ge=g?"clientY":"clientX",{[Ue]:Ke,[qe]:Ye}=(_e=P.value)==null?void 0:_e.$el.getBoundingClientRect(),xe=Kt(u,Ge);let ce=Math.min(Math.max((xe-Ke-k.value)/Ye,0),1)||0;return(g?B.value:B.value!==r.value)&&(ce=1-ce),A(y.value+ce*(b.value-y.value))}const O=u=>{s({value:f(u)}),_.value=!1,k.value=0},Z=u=>{I.value=i(u),I.value&&(I.value.focus(),_.value=!0,I.value.contains(u.target)?k.value=Gt(u,I.value,t.direction):(k.value=0,o({value:f(u)})),n({value:f(u)}))},j={passive:!0,capture:!0};function J(u){o({value:f(u)})}function se(u){u.stopPropagation(),u.preventDefault(),O(u),window.removeEventListener("mousemove",J,j),window.removeEventListener("mouseup",se)}function S(u){var g;O(u),window.removeEventListener("touchmove",J,j),(g=u.target)==null||g.removeEventListener("touchend",S)}function N(u){var g;Z(u),window.addEventListener("touchmove",J,j),(g=u.target)==null||g.addEventListener("touchend",S,{passive:!1})}function Y(u){u.preventDefault(),Z(u),window.addEventListener("mousemove",J,j),window.addEventListener("mouseup",se,{passive:!1})}const H=u=>{const g=(u-y.value)/(b.value-y.value)*100;return Me(isNaN(g)?0:g,0,100)},ee=F(t,"showTicks"),re=v(()=>ee.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(u=>({value:u,position:H(u),label:u.toString()})):Object.keys(t.ticks).map(u=>({value:parseFloat(u),position:H(parseFloat(u)),label:t.ticks[u]})):$.value!==1/0?Ze($.value+1).map(u=>{const g=y.value+u*L.value;return{value:g,position:H(g)}}):[]:[]),de=v(()=>re.value.some(u=>{let{label:g}=u;return!!g})),ye={activeThumbRef:I,color:F(t,"color"),decimals:q,disabled:K,direction:F(t,"direction"),elevation:F(t,"elevation"),hasLabels:de,isReversed:c,indexFromEnd:B,min:y,max:b,mousePressed:_,numTicks:$,onSliderMousedown:Y,onSliderTouchstart:N,parsedTicks:re,parseMouseMove:f,position:H,readonly:F(t,"readonly"),rounded:F(t,"rounded"),roundValue:A,showTicks:ee,startOffset:k,step:L,thumbSize:x,thumbColor:E,thumbLabel:F(t,"thumbLabel"),ticks:F(t,"ticks"),tickSize:G,trackColor:p,trackContainerRef:P,trackFillColor:M,trackSize:z,vertical:h};return Je(pe,ye),ye},Wt=le({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...he()},"VSliderThumb"),Qt=oe()({name:"VSliderThumb",directives:{Ripple:et},props:Wt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=Fe(pe),{isRtl:s,rtlClasses:i}=fe();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:r,step:c,disabled:h,thumbSize:B,thumbLabel:y,direction:b,isReversed:L,vertical:q,readonly:A,elevation:x,mousePressed:G,decimals:z,indexFromEnd:$}=o,{textColorClasses:K,textColorStyles:E}=tt(r),{pageup:p,pagedown:M,end:_,home:k,left:P,right:I,down:f,up:O}=nt,Z=[p,M,_,k,P,I,f,O],j=v(()=>c.value?[1,2,3]:[1,5,10]);function J(S,N){if(!Z.includes(S.key))return;S.preventDefault();const Y=c.value||.1,H=(e.max-e.min)/Y;if([P,I,f,O].includes(S.key)){const re=(q.value?[s.value?P:I,L.value?f:O]:$.value!==s.value?[P,O]:[I,O]).includes(S.key)?1:-1,de=S.shiftKey?2:S.ctrlKey?1:0;N=N+re*Y*j.value[de]}else if(S.key===k)N=e.min;else if(S.key===_)N=e.max;else{const ee=S.key===M?1:-1;N=N-ee*Y*(H>100?H/10:10)}return Math.max(e.min,Math.min(e.max,N))}function se(S){const N=J(S,e.modelValue);N!=null&&n("update:modelValue",N)}return ie(()=>{const S=W($.value?100-e.position:e.position,"%"),{elevationClasses:N}=at(v(()=>h.value?void 0:x.value));return l("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&G.value},e.class,i.value],style:[{"--v-slider-thumb-position":S,"--v-slider-thumb-size":W(B.value)},e.style],role:"slider",tabindex:h.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!A.value,"aria-orientation":b.value,onKeydown:A.value?void 0:se},[l("div",{class:["v-slider-thumb__surface",K.value,N.value],style:{...E.value}},null),Ce(l("div",{class:["v-slider-thumb__ripple",K.value],style:E.value},null),[[lt("ripple"),e.ripple,null,{circle:!0,center:!0}]]),l(st,{origin:"bottom center"},{default:()=>{var Y;return[Ce(l("div",{class:"v-slider-thumb__label-container"},[l("div",{class:["v-slider-thumb__label"]},[l("div",null,[((Y=a["thumb-label"])==null?void 0:Y.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(c.value?z.value:1)])])]),[[rt,y.value&&e.focused||y.value==="always"]])]}})])}),{}}}),Xt=le({start:{type:Number,required:!0},stop:{type:Number,required:!0},...he()},"VSliderTrack"),Zt=oe()({name:"VSliderTrack",props:Xt(),emits:{},setup(e,t){let{slots:a}=t;const n=Fe(pe);if(!n)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:s,rounded:i,showTicks:r,tickSize:c,trackColor:h,trackFillColor:B,trackSize:y,vertical:b,min:L,max:q,indexFromEnd:A}=n,{roundedClasses:x}=ot(i),{backgroundColorClasses:G,backgroundColorStyles:z}=Te(B),{backgroundColorClasses:$,backgroundColorStyles:K}=Te(h),E=v(()=>`inset-${b.value?"block":"inline"}-${A.value?"end":"start"}`),p=v(()=>b.value?"height":"width"),M=v(()=>({[E.value]:"0%",[p.value]:"100%"})),_=v(()=>e.stop-e.start),k=v(()=>({[E.value]:W(e.start,"%"),[p.value]:W(_.value,"%")})),P=v(()=>r.value?(b.value?s.value.slice().reverse():s.value).map((f,O)=>{var j;const Z=f.value!==L.value&&f.value!==q.value?W(f.position,"%"):void 0;return l("div",{key:f.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":f.position>=e.start&&f.position<=e.stop,"v-slider-track__tick--first":f.value===L.value,"v-slider-track__tick--last":f.value===q.value}],style:{[E.value]:Z}},[(f.label||a["tick-label"])&&l("div",{class:"v-slider-track__tick-label"},[((j=a["tick-label"])==null?void 0:j.call(a,{tick:f,index:O}))??f.label])])}):[]);return ie(()=>l("div",{class:["v-slider-track",x.value,e.class],style:[{"--v-slider-track-size":W(y.value),"--v-slider-tick-size":W(c.value)},e.style]},[l("div",{class:["v-slider-track__background",$.value,{"v-slider-track__background--opacity":!!o.value||!B.value}],style:{...M.value,...K.value}},null),l("div",{class:["v-slider-track__fill",G.value],style:{...k.value,...z.value}},null),r.value&&l("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":r.value==="always"}]},[P.value])])),{}}}),Jt=le({...Rt(),...Yt(),...Mt(),modelValue:{type:[Number,String],default:0}},"VSlider"),ea=oe()({name:"VSlider",props:Jt(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:n}=t;const o=ve(),{rtlClasses:s}=fe(),i=xt(e),r=it(e,"modelValue",void 0,p=>i.roundValue(p??i.min.value)),{min:c,max:h,mousePressed:B,roundValue:y,onSliderMousedown:b,onSliderTouchstart:L,trackContainerRef:q,position:A,hasLabels:x,readonly:G}=Ht({props:e,steps:i,onSliderStart:()=>{n("start",r.value)},onSliderEnd:p=>{let{value:M}=p;const _=y(M);r.value=_,n("end",_)},onSliderMove:p=>{let{value:M}=p;return r.value=y(M)},getActiveThumb:()=>{var p;return(p=o.value)==null?void 0:p.$el}}),{isFocused:z,focus:$,blur:K}=Ft(e),E=v(()=>A(r.value));return ie(()=>{const p=Ve.filterProps(e),M=!!(e.label||a.label||a.prepend);return l(Ve,X({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||x.value,"v-slider--focused":z.value,"v-slider--pressed":B.value,"v-slider--disabled":e.disabled},s.value,e.class],style:e.style},p,{focused:z.value}),{...a,prepend:M?_=>{var k,P;return l(be,null,[((k=a.label)==null?void 0:k.call(a,_))??(e.label?l(Et,{id:_.id.value,class:"v-slider__label",text:e.label},null):void 0),(P=a.prepend)==null?void 0:P.call(a,_)])}:void 0,default:_=>{let{id:k,messagesId:P}=_;return l("div",{class:"v-slider__container",onMousedown:G.value?void 0:b,onTouchstartPassive:G.value?void 0:L},[l("input",{id:k.value,name:e.name||k.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:r.value},null),l(Zt,{ref:q,start:0,stop:E.value},{"tick-label":a["tick-label"]}),l(Qt,{ref:o,"aria-describedby":P.value,focused:z.value,min:c.value,max:h.value,modelValue:r.value,"onUpdate:modelValue":I=>r.value=I,position:E.value,elevation:e.elevation,onFocus:$,onBlur:K,ripple:e.ripple},{"thumb-label":a["thumb-label"]})])}})}),{}}}),ta={name:"PaginationSlider"};function aa(e,t,a,n,o,s){return d(),w(ea,X({"thumb-size":"36",class:"paginationSlider",density:"compact","hide-details":"auto",rounded:!0,"show-ticks":"always",step:1,"thumb-label":"always"},e.$attrs),null,16)}const Vl=U(ta,[["render",aa],["__scopeId","data-v-825b160e"]]),la={name:"PaginationNavButton"};function sa(e,t,a,n,o,s){return d(),w(ne,X({class:"paginationNavButton",height:"100%"},e.$attrs),Ne({_:2},[ue(e.$slots,(i,r)=>({name:r,fn:C(c=>[Re(e.$slots,r,X({props:i},c),void 0,!0)])}))]),1040)}const Bl=U(la,[["render",sa],["__scopeId","data-v-852fad11"]]),Be=Dt.browser.vuetifyNullCode,ra=new Set(["",Be,Be.toString(),void 0]),na=function(e){let t;return e===void 0?t=e:e instanceof Object?t={value:e.pk,title:e.name}:t={value:e,title:e.toString()},e.url&&(t.url=e.url),t},oa=function(e,t){return e.title<t.title?-1:e.title>t.title?1:0},ia=function(e,t){return Number.parseFloat(e.title)-Number.parseFloat(t.title)},ua=function(e,t,a=!1){const n=e||[],o=t&&t.toLowerCase();let s=[];for(const r of n){if(!r||ra.has(r.pk))continue;const c=na(r);c&&(!o||c.title&&c.title.toLowerCase().includes(o))&&s.push(c)}const i=a?ia:oa;return s.sort(i)},da={name:"PlaceholderLoading",props:{indeterminate:{type:Boolean,default:!0}}};function ca(e,t,a,n,o,s){return d(),w(ut,X({"aria-label":"loading",class:"codexProgressCircular",indeterminate:a.indeterminate},e.$attrs),null,16,["indeterminate"])}const Oe=U(da,[["render",ca],["__scopeId","data-v-7bb4cf22"]]),ma=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],va=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ha=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fa=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Pe=(e,t,a)=>{let n=e;return typeof t=="string"||Array.isArray(t)?n=e.toLocaleString(t,a):(t===!0||a!==void 0)&&(n=e.toLocaleString(void 0,a)),n};function ba(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const a=t.bits?t.binary?fa:ha:t.binary?va:ma,n=t.space?" ":"";if(t.signed&&e===0)return` 0${n}${a[0]}`;const o=e<0,s=o?"-":t.signed?"+":"";o&&(e=-e);let i;if(t.minimumFractionDigits!==void 0&&(i={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1){const B=Pe(e,t.locale,i);return s+B+n+a[0]}const r=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),a.length-1);e/=(t.binary?1024:1e3)**r,i||(e=e.toPrecision(3));const c=Pe(Number(e),t.locale,i),h=a[r];return s+c+n+h}const pa=(e,t)=>e?`${dt(e)}/cover.webp?${t}`:window.CODEX.MISSING_COVER,ga={name:"BookCover",props:{group:{type:String,required:!0},childCount:{type:Number,default:1},finished:{type:Boolean},coverPk:{type:Number,required:!0}},data(){return{showPlaceholder:!1}},computed:{...te(Q,{coverSrc:function(e){return pa(this.coverPk,e.page.coversTimestamp)}})},mounted:function(){this.delayPlaceholder()},methods:{delayPlaceholder:function(){setTimeout(()=>{this.showPlaceholder=!0},2e3)}}},ya={class:"bookCover"},_a={key:1,class:"childCount"};function ka(e,t,a,n,o,s){return d(),T("div",ya,[l(ct,{src:e.coverSrc,class:"coverImg"},null,8,["src"]),a.finished!==!0?(d(),T("div",{key:0,class:Ee({unreadFlag:!0,mixedreadFlag:a.finished===null})},null,2)):R("",!0),a.group!=="c"?(d(),T("span",_a,V(a.childCount),1)):R("",!0)])}const Ae=U(ga,[["render",ka],["__scopeId","data-v-9acb5f6a"]]),Sa={name:"MetadataTags",props:{label:{type:String,required:!0},values:{type:Array,default(){return[]}},filter:{type:String,required:!1,default:void 0}},data(){return{mdiFilter:mt,mdiOpenInNew:De}},computed:{...te(Q,{filterValues:function(e){const t=this.filter||this.label.toLowerCase();return e.settings.filters[t]}}),model(){return ua(this.values)}},methods:{chipColor:function(e){return this.filterValues&&this.filterValues.includes(e)?this.$vuetify.theme.current.colors["primary-darken-1"]:""}}},Ca={key:0,class:"tags"},Ta={class:"label"},wa=["href"],Va={key:1};function Ba(e,t,a,n,o,s){return s.model&&s.model.length>0?(d(),T("div",Ca,[l(Ot,{value:s.model,multiple:"",class:"chipGroup"},{default:C(()=>[m("div",Ta,V(a.label),1),(d(!0),T(be,null,ue(s.model,i=>(d(),w($t,{key:`${a.label}/${i.value}`,color:s.chipColor(i.value),value:i.value},{default:C(()=>[i.url?(d(),T("a",{key:0,href:i.url,target:"_blank"},[D(V(i.title),1),l(ae,null,{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,wa)):(d(),T("span",Va,V(i.title),1))]),_:2},1032,["color","value"]))),128))]),_:1},8,["value"])])):R("",!0)}const ge=U(Sa,[["render",Ba],["__scopeId","data-v-59c9d373"]]),Pa={name:"MetadataTextBox",props:{label:{type:String,required:!0},value:{type:[Object,String,Number,Boolean],default:void 0},link:{type:[Boolean,String],default:!1},group:{type:String,default:""},obj:{type:Object,default:void 0}},data(){return{mdiOpenInNew:De}},computed:{computedValue(){return this.value!=null&&this.value instanceof Object?this.value.name:this.value},linkValue(){return this.link===!0?this.computedValue:this.link?this.link:!1},highlight(){var e;return((e=this.obj)==null?void 0:e.group)===this.group},pathArray(){if(this.computedValue)return this.computedValue.split("/")},folderPath(){if(this.pathArray)return this.pathArray.slice(0,-1).join("/")},basePath(){if(this.pathArray)return this.pathArray.at(-1)},groupTo(){const e=Q();if(this.group!=="f"&&!e.settings.show[this.group]||this.group==="f"&&!e.page.adminFlags.folderView)return;let t;if(t=this.obj&&this.obj.group==this.group?this.obj.pk:this.value.pk,!t)return;const a=this.$router.currentRoute.value.params;if(!(a.group===this.group&&+a.pk===t))return{name:"browser",params:{group:this.group,pk:t}}}}},Ia={class:"textLabel"},Na={class:"textValue"},Ra=["href"],Ma={key:3,class:"textContent"},Fa={key:4,id:"basePath"};function Ea(e,t,a,n,o,s){const i=Le("router-link");return s.computedValue?(d(),T("div",{key:0,class:Ee(["text",{highlight:s.highlight}])},[m("div",Ia,V(a.label),1),m("div",Na,[s.groupTo&&a.group==="f"?(d(),w(i,{key:0,id:"folderPath",to:s.groupTo,title:"Browse Folder"},{default:C(()=>[D(V(s.folderPath)+"/",1)]),_:1},8,["to"])):s.groupTo?(d(),w(i,{key:1,class:"textContent",to:s.groupTo,title:`Browse ${a.label}`},{default:C(()=>[D(V(s.computedValue),1)]),_:1},8,["to","title"])):a.link?(d(),T("a",{key:2,href:s.linkValue,target:"_blank"},[D(V(s.computedValue)+" ",1),l(ae,{size:"small"},{default:C(()=>[D(V(o.mdiOpenInNew),1)]),_:1})],8,Ra)):(d(),T("div",Ma,V(s.computedValue),1)),s.groupTo&&a.group==="f"?(d(),T("span",Fa,V(s.basePath),1)):R("",!0)])],2)):R("",!0)}const ze=U(Pa,[["render",Ea],["__scopeId","data-v-0d27e6b3"]]),Da={name:"MetadataContributorsTable",props:{value:{type:Array,default:void 0}},data(){return{}},computed:{contributorsDict(){const e={};for(const{role:n,person:o}of this.value){const s=At(n.name)+"s";e[s]||(e[s]=[]),e[s].push(o)}const t=Object.keys(e).sort((n,o)=>n.localeCompare(o)),a={};for(const n of t)a[n]=e[n].sort((o,s)=>o.name.localeCompare(s.name));return a}}},La={key:0},$a=m("h3",null,"Contributors",-1);function Oa(e,t,a,n,o,s){const i=ge;return Object.keys(s.contributorsDict).length>0?(d(),T("div",La,[$a,(d(!0),T(be,null,ue(Object.entries(s.contributorsDict),([r,c])=>(d(),w(i,{key:r,values:c,label:r,filter:"contributors"},null,8,["values","label"]))),128))])):R("",!0)}const Aa=U(Da,[["render",Oa]]),je=new Set("rtl","btt");Object.freeze(je);const za=({pk:e,page:t,readingDirection:a,pageCount:n})=>{if(n){if(t)t=Number(t);else if(je.has(a)){const o=Number(n)-1;t=Math.max(o,0)}else t=0;return{name:"reader",params:{pk:e,page:t}}}},Ie=vt("metadata",{state:()=>({md:void 0}),actions:{async loadMetadata({group:e,pk:t}){const a=Q();await Lt.getMetadata({group:e,pk:t},a.settings).then(n=>(this.md=n.data,!0)).catch(n=>{console.error(n),this.clearMetadata()})},clearMetadata(){this.md=void 0}}}),ja=1160,Ua=.05,qa=250,Ga={name:"MetadataButton",components:{BookCover:Ae,CloseButton:$e,MetadataContributorsTable:Aa,MetadataTags:ge,MetadataText:ze,PlaceholderLoading:Oe},props:{group:{type:String,required:!0},pk:{type:Number,required:!0},children:{type:Number,default:1}},data(){return{mdiDownload:ht,mdiTagOutline:ft,dialog:!1,progress:0}},computed:{...bt(pt,["isUserAdmin"]),...te(Q,{twentyFourHourTime:e=>e.settings.twentyFourHourTime,readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypes:e=>e.choices.static.identifierType}),...te(Ie,{md:e=>e.md,downloadFileName:e=>{const t=e.md;return e.md.path?t.path.split("/").at(-1):Pt({seriesName:t.series.name,volumeName:t.volume.name,issueNumber:t.issueNumber,issueSuffix:t.issueSuffix})+"."+(void 0).fileType.toLowerCase()}}),...te(Q,{q:e=>e.settings.q}),downloadURL(){return It(this.pk)},isReadButtonShown(){return this.group==="c"&&this.$route.name!="reader"},isReadButtonEnabled(){return this.$route.name==="browser"&&!!this.readerRoute},readButtonIcon(){return this.isReadButtonEnabled?gt:yt},readerRoute(){return za(this.md)},formattedIssue(){if(!((this.md.issueNumber===null||this.md.issueNumber===void 0)&&!this.md.issueSuffix))return Nt(this.md)},readingDirectionText(){return this.readingDirectionTitles[this.md.readingDirection]},pages(){let e="";if(this.md.page){const a=we.format(this.md.page);e+=`Read ${a} of `}const t=we.format(this.md.pageCount);return e+=`${t} pages`,this.md.progress>0&&(e+=` (${Math.round(this.md.progress)}%)`),e},size(){return this.md.size>0?ba(this.md.size):0},fileType(){return this.md.fileType||"Unknown"},titledIdentifiers(){if(!this.md.identifiers)return this.md.identifiers;const e=[];for(const t of this.md.identifiers){const a=t.name.split(":"),n=a[0],o=a[1],s=this.identifierTypeTitle(n);let i="";s&&s!=="None"&&(i+=s+":"),i+=o,e.push({...t,name:i})}return e}},watch:{dialog(e){e?this.dialogOpened():this.clearMetadata()}},methods:{...me(Ie,["clearMetadata","loadMetadata"]),...me(_t,["downloadIOSPWAFix"]),...me(Q,["identifierTypeTitle"]),dialogOpened(){this.loadMetadata({group:this.group,pk:this.pk}),this.startProgress()},startProgress(){this.startTime=Date.now(),this.estimatedMS=Math.max(Ua,this.children/ja)*1e3,this.updateProgress()},updateProgress(){const e=Date.now()-this.startTime;this.progress=e/this.estimatedMS*100,!(this.progress>=100||this.md)&&setTimeout(()=>{this.updateProgress()},qa)},formatDateTime(e){return kt(e,this.twentyFourHourTime)},download(){this.downloadIOSPWAFix(this.downloadURL,this.md.filename)}}},Ka=e=>(wt("data-v-274e2a70"),e=e(),Vt(),e),Ya={id:"metadataHeader"},xa={id:"metadataBookCoverWrapper"},Ha={class:"inlineRow"},Wa={class:"inlineRow"},Qa={class:"inlineRow"},Xa={key:1,class:"inlineRow"},Za={id:"metadataBody"},Ja={class:"mdSection"},el={class:"quintRow"},tl={class:"mdSection"},al={class:"quarterRow"},ll={class:"lastSmallRow"},sl={class:"halfRow mdSection"},rl={class:"mdSection"},nl={class:"mdSection"},ol={class:"mdSection"},il={class:"mdSection"},ul={class:"mdSection"},dl={class:"mdSection inlineRow"},cl={class:"inlineRow"},ml={id:"footerLinks"},vl={id:"bottomRightButtons"},hl={key:1,id:"placeholderContainer"},fl=Ka(()=>m("div",{id:"placeholderTitle"},"Tags Loading",-1));function bl(e,t,a,n,o,s){const i=$e,r=ze,c=Ae,h=ge,B=Le("MetadataContributorsTable"),y=Oe;return d(),w(zt,{modelValue:o.dialog,"onUpdate:modelValue":t[5]||(t[5]=b=>o.dialog=b),fullscreen:"",transition:"dialog-bottom-transition"},{activator:C(({props:b})=>[l(ne,X({"aria-label":"tags",class:"tagButton cardControlButton",icon:"",title:"Tags",variant:"text"},b,{onClick:t[0]||(t[0]=St(()=>{},["prevent"]))}),{default:C(()=>[l(ae,null,{default:C(()=>[D(V(o.mdiTagOutline),1)]),_:1})]),_:2},1040)]),default:C(()=>[e.md?(d(),T("div",{key:0,id:"metadataContainer",onKeyup:t[3]||(t[3]=Tt(b=>o.dialog=!1,["esc"]))},[m("header",Ya,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[1]||(t[1]=b=>o.dialog=!1)}),e.q?(d(),w(r,{key:0,id:"search",value:e.q,label:"Search Query",highlight:!0},null,8,["value"])):R("",!0),m("div",xa,[l(c,{id:"bookCover","cover-pk":e.md.coverPk,group:a.group,"child-count":e.md.childCount,finished:e.md.finished},null,8,["cover-pk","group","child-count","finished"]),l(Ct,{class:"bookCoverProgress","model-value":e.md.progress,rounded:"","background-color":"inherit",height:"2","aria-label":"% read"},null,8,["model-value"])]),m("div",Ha,[l(r,{id:"publisher",value:e.md.publisher,group:"p",label:"Publisher",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{id:"imprint",value:e.md.imprint,group:"i",label:"Imprint",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Wa,[l(r,{id:"series",value:e.md.series,label:"Series",group:"s",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"])]),m("div",Qa,[l(r,{id:"volume",value:e.md.volume,label:"Volume",group:"v",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.seriesVolumeCount,label:"Volume Count"},null,8,["value"]),l(r,{id:"issue",value:s.formattedIssue,label:"Issue",group:"c",obj:{pk:e.md.id,group:e.md.group}},null,8,["value","obj"]),l(r,{value:e.md.volumeIssueCount,label:"Issue Count"},null,8,["value"]),l(r,{value:e.md.name,label:"Title"},null,8,["value"])]),e.md.year||e.md.month||e.md.day?(d(),T("div",Xa,[l(r,{value:e.md.year,label:"Year",class:"datePicker",type:"number"},null,8,["value"]),l(r,{value:e.md.month,label:"Month",class:"datePicker"},null,8,["value"]),l(r,{value:e.md.day,label:"Day",class:"datePicker"},null,8,["value"])])):R("",!0)]),m("div",Za,[m("section",Ja,[m("div",el,[l(r,{value:s.pages,label:"Pages"},null,8,["value"]),l(r,{label:"Finished",value:(!!e.md.finished).toString()},null,8,["value"]),l(r,{label:"Reading Direction",value:s.readingDirectionText},null,8,["value"]),l(r,{value:(!!e.md.monochrome).toString(),label:"Monochrome"},null,8,["value"]),l(r,{value:e.md.original_format,label:"Original Format"},null,8,["value"])])]),m("section",tl,[m("div",al,[e.md.createdAt?(d(),w(r,{key:0,value:s.formatDateTime(e.md.createdAt),label:"Created at",class:"mtime"},null,8,["value"])):R("",!0),e.md.updatedAt?(d(),w(r,{key:1,value:s.formatDateTime(e.md.updatedAt),label:"Updated at",class:"mtime"},null,8,["value"])):R("",!0),l(r,{value:s.size,label:"Size"},null,8,["value"]),l(r,{value:s.fileType,label:"File Type"},null,8,["value"])]),m("div",ll,[l(r,{group:"f",value:{pk:e.md.parentFolderPk,name:e.md.path},label:"Path"},null,8,["value"])])]),m("section",sl,[l(r,{value:e.md.country,label:"Country"},null,8,["value"]),l(r,{value:e.md.language,label:"Language"},null,8,["value"])]),m("section",rl,[l(h,{values:s.titledIdentifiers,label:"Identifiers"},null,8,["values"])]),m("section",nl,[l(r,{value:e.md.summary,label:"Summary"},null,8,["value"]),l(r,{value:e.md.review,label:"Review"},null,8,["value"])]),m("section",ol,[l(r,{value:e.md.communityRating,label:"Community Rating"},null,8,["value"]),l(r,{value:e.md.criticalRating,label:"Critical Rating"},null,8,["value"]),l(r,{value:e.md.ageRating,label:"Age Rating"},null,8,["value"])]),m("section",il,[l(h,{values:e.md.genres,label:"Genres"},null,8,["values"]),l(h,{values:e.md.characters,label:"Characters"},null,8,["values"]),l(h,{values:e.md.teams,label:"Teams"},null,8,["values"]),l(h,{values:e.md.locations,label:"Locations"},null,8,["values"]),l(h,{values:e.md.seriesGroups,label:"Series Groups"},null,8,["values"]),l(h,{values:e.md.stories,label:"Stories"},null,8,["values"]),l(h,{values:e.md.storyArcNumbers,label:"Story Arcs"},null,8,["values"]),l(h,{values:e.md.tags,label:"Tags"},null,8,["values"])]),m("section",ul,[l(B,{value:e.md.contributors},null,8,["value"])]),m("section",dl,[l(r,{value:e.md.notes,label:"Notes"},null,8,["value"])]),m("section",cl,[l(r,{value:e.md.tagger,label:"Tagger"},null,8,["value"]),l(r,{value:e.md.scanInfo,label:"Scan"},null,8,["value"])])]),m("footer",ml,[a.group==="c"?(d(),w(ne,{key:0,id:"downloadButton",title:"Download Comic Archive",onClick:s.download},{default:C(()=>[a.group==="c"?(d(),w(ae,{key:0},{default:C(()=>[D(V(o.mdiDownload),1)]),_:1})):R("",!0),D(" Download ")]),_:1},8,["onClick"])):R("",!0),s.isReadButtonShown?(d(),w(ne,{key:1,to:s.readerRoute,title:"Read Comic",disabled:!s.isReadButtonEnabled},{default:C(()=>[l(ae,null,{default:C(()=>[D(V(s.readButtonIcon),1)]),_:1}),D(" Read ")]),_:1},8,["to","disabled"])):R("",!0),m("span",vl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",size:"x-large",onClick:t[2]||(t[2]=b=>o.dialog=!1)})])])],32)):(d(),T("div",hl,[l(i,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[4]||(t[4]=b=>o.dialog=!1)}),fl,l(y,{"model-value":o.progress,indeterminate:o.progress>=100,class:"placeholder"},null,8,["model-value","indeterminate"])]))]),_:1},8,["modelValue"])}const Pl=U(Ga,[["render",bl],["__scopeId","data-v-274e2a70"]]);export{ra as N,Oe as P,Tl as V,Bl as _,Vl as a,wl as b,Pl as c,Ae as d,za as g,ba as p,ua as t};
@@ -1,4 +1,4 @@
1
- import{ds as vue_runtime_esmBundler,_ as _export_sfc,aD as mapGetters,N as mapActions,Q as resolveComponent,R as openBlock,O as createBlock,ab as normalizeClass}from"./admin-drawer-panel-lvSt_rmS.js";import{g as getAugmentedNamespace,f as getDefaultExportFromCjs}from"./main-OIrebd4D.js";import{u as useReaderStore}from"./VToolbar-l9UdbYjt.js";import"./index-RrPhDVxT.js";import"./confirm-footer-c31QW5F5.js";import"./change-password-dialog-USKvhqKL.js";import"./VTextField-h1EP0NAs.js";import"./VSelectionControl-Ervl02ph.js";var vue3PdfEmbed={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);(function(module,exports){(function(L,_){module.exports=_(require$$0)})(self,function(__WEBPACK_EXTERNAL_MODULE__103__){return(()=>{var __webpack_modules__={194:(L,_,f)=>{f.r(_),f.d(_,{default:()=>P});var l=f(645),I=f.n(l)()(function(T){return T[1]});I.push([L.id,`.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:rgba(180, 0, 170, 1);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:rgba(0, 100, 0, 1)}.textLayer ::-moz-selection{background:rgba(0, 0, 255, 1)}.textLayer ::selection{background:rgba(0, 0, 255, 1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>")}.annotationLayer section{position:absolute;text-align:initial}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{position:relative;top:0;left:0;z-index:-1}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255, 255, 0, 1);box-shadow:0 2px 10px rgba(255, 255, 0, 1)}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0, 0, 0, 1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:rgba(0, 0, 0, 1);content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}.annotationLayer .popupWrapper{position:absolute;width:20em}.annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:rgba(255, 255, 153, 1);box-shadow:0 2px 5px rgba(136, 136, 136, 1);border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}.annotationLayer .popup>*{font-size:9px}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:5px}.annotationLayer .popupContent{border-top:1px solid rgba(51, 51, 51, 1);margin-top:2px;padding-top:2px}.annotationLayer .richText>*{white-space:pre-wrap}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.vue-pdf-embed__page{position:relative}.vue-pdf-embed__page canvas{display:block}`,""]);const P=I},645:L=>{L.exports=function(_){var f=[];return f.toString=function(){return this.map(function(l){var I=_(l);return l[2]?"@media ".concat(l[2]," {").concat(I,"}"):I}).join("")},f.i=function(l,I,P){typeof l=="string"&&(l=[[null,l,""]]);var T={};if(P)for(var N=0;N<this.length;N++){var j=this[N][0];j!=null&&(T[j]=!0)}for(var x=0;x<l.length;x++){var M=[].concat(l[x]);P&&T[M[0]]||(I&&(M[2]?M[2]="".concat(I," and ").concat(M[2]):M[2]=I),f.push(M))}},f}},783:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{var __webpack_modules__=[,(L,_,f)=>{function l(i){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.addLinkAttributes=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=o.url,A=o.target,E=o.rel,O=o.enabled,R=O===void 0||O;(0,T.assert)(c&&typeof c=="string",'addLinkAttributes: A valid "url" parameter must provided.');var G=(0,T.removeNullCharacters)(c);R?i.href=i.title=G:(i.href="",i.title="Disabled: ".concat(G),i.onclick=function(){return!1});var Y="";switch(A){case t.NONE:break;case t.SELF:Y="_self";break;case t.BLANK:Y="_blank";break;case t.PARENT:Y="_parent";break;case t.TOP:Y="_top"}i.target=Y,i.rel=typeof E=="string"?E:p},_.deprecated=function(i){console.log("Deprecated API usage: "+i)},_.getFilenameFromUrl=function(i){var o=i.indexOf("#"),c=i.indexOf("?"),A=Math.min(o>0?o:i.length,c>0?c:i.length);return i.substring(i.lastIndexOf("/",A)+1,A)},_.getPdfFilenameFromUrl=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof i!="string")return o;if(u(i))return(0,T.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),o;var c=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,A=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,E=c.exec(i),O=A.exec(E[1])||A.exec(E[2])||A.exec(E[3]);if(O&&(O=O[0]).includes("%"))try{O=A.exec(decodeURIComponent(O))[0]}catch{}return O||o},_.isDataScheme=u,_.isFetchSupported=w,_.isPdfFile=function(i){return typeof i=="string"&&/\.pdf$/i.test(i)},_.isValidFetchUrl=k,_.loadScript=function(i){var o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return new Promise(function(c,A){var E=document.createElement("script");E.src=i,E.onload=function(O){o&&E.remove(),c(O)},E.onerror=function(){A(new Error("Cannot load script at: ".concat(E.src)))},(document.head||document.documentElement).appendChild(E)})},_.StatTimer=_.RenderingCancelledException=_.PDFDateString=_.PageViewport=_.LinkTarget=_.DOMSVGFactory=_.DOMCMapReaderFactory=_.DOMCanvasFactory=_.DEFAULT_LINK_REL=_.BaseCMapReaderFactory=_.BaseCanvasFactory=void 0;var I,P=(I=f(2))&&I.__esModule?I:{default:I},T=f(4);function N(i,o){var c=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!c){if(Array.isArray(i)||(c=function(Y,X){if(Y){if(typeof Y=="string")return j(Y,X);var W=Object.prototype.toString.call(Y).slice(8,-1);return W==="Object"&&Y.constructor&&(W=Y.constructor.name),W==="Map"||W==="Set"?Array.from(Y):W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?j(Y,X):void 0}}(i))||o&&i&&typeof i.length=="number"){c&&(i=c);var A=0,E=function(){};return{s:E,n:function(){return A>=i.length?{done:!0}:{done:!1,value:i[A++]}},e:function(Y){throw Y},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ import{ds as vue_runtime_esmBundler,_ as _export_sfc,aD as mapGetters,N as mapActions,Q as resolveComponent,R as openBlock,O as createBlock,ab as normalizeClass}from"./admin-drawer-panel-JjJ1iA6R.js";import{g as getAugmentedNamespace,f as getDefaultExportFromCjs}from"./main-fEXxBNBg.js";import{u as useReaderStore}from"./VToolbar-BBzymioO.js";import"./index-RrPhDVxT.js";import"./confirm-footer-IJHq21-K.js";import"./change-password-dialog-9i9SZGmU.js";import"./VTextField-1s8i2nK8.js";import"./VSelectionControl-9CzKd8rG.js";var vue3PdfEmbed={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);(function(module,exports){(function(L,_){module.exports=_(require$$0)})(self,function(__WEBPACK_EXTERNAL_MODULE__103__){return(()=>{var __webpack_modules__={194:(L,_,f)=>{f.r(_),f.d(_,{default:()=>P});var l=f(645),I=f.n(l)()(function(T){return T[1]});I.push([L.id,`.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:rgba(180, 0, 170, 1);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:rgba(0, 100, 0, 1)}.textLayer ::-moz-selection{background:rgba(0, 0, 255, 1)}.textLayer ::selection{background:rgba(0, 0, 255, 1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>")}.annotationLayer section{position:absolute;text-align:initial}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{position:relative;top:0;left:0;z-index:-1}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255, 255, 0, 1);box-shadow:0 2px 10px rgba(255, 255, 0, 1)}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0, 0, 0, 1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:rgba(0, 0, 0, 1);content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}.annotationLayer .popupWrapper{position:absolute;width:20em}.annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:rgba(255, 255, 153, 1);box-shadow:0 2px 5px rgba(136, 136, 136, 1);border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}.annotationLayer .popup>*{font-size:9px}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:5px}.annotationLayer .popupContent{border-top:1px solid rgba(51, 51, 51, 1);margin-top:2px;padding-top:2px}.annotationLayer .richText>*{white-space:pre-wrap}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.vue-pdf-embed__page{position:relative}.vue-pdf-embed__page canvas{display:block}`,""]);const P=I},645:L=>{L.exports=function(_){var f=[];return f.toString=function(){return this.map(function(l){var I=_(l);return l[2]?"@media ".concat(l[2]," {").concat(I,"}"):I}).join("")},f.i=function(l,I,P){typeof l=="string"&&(l=[[null,l,""]]);var T={};if(P)for(var N=0;N<this.length;N++){var j=this[N][0];j!=null&&(T[j]=!0)}for(var x=0;x<l.length;x++){var M=[].concat(l[x]);P&&T[M[0]]||(I&&(M[2]?M[2]="".concat(I," and ").concat(M[2]):M[2]=I),f.push(M))}},f}},783:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{var __webpack_modules__=[,(L,_,f)=>{function l(i){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.addLinkAttributes=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=o.url,A=o.target,E=o.rel,O=o.enabled,R=O===void 0||O;(0,T.assert)(c&&typeof c=="string",'addLinkAttributes: A valid "url" parameter must provided.');var G=(0,T.removeNullCharacters)(c);R?i.href=i.title=G:(i.href="",i.title="Disabled: ".concat(G),i.onclick=function(){return!1});var Y="";switch(A){case t.NONE:break;case t.SELF:Y="_self";break;case t.BLANK:Y="_blank";break;case t.PARENT:Y="_parent";break;case t.TOP:Y="_top"}i.target=Y,i.rel=typeof E=="string"?E:p},_.deprecated=function(i){console.log("Deprecated API usage: "+i)},_.getFilenameFromUrl=function(i){var o=i.indexOf("#"),c=i.indexOf("?"),A=Math.min(o>0?o:i.length,c>0?c:i.length);return i.substring(i.lastIndexOf("/",A)+1,A)},_.getPdfFilenameFromUrl=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof i!="string")return o;if(u(i))return(0,T.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),o;var c=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,A=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,E=c.exec(i),O=A.exec(E[1])||A.exec(E[2])||A.exec(E[3]);if(O&&(O=O[0]).includes("%"))try{O=A.exec(decodeURIComponent(O))[0]}catch{}return O||o},_.isDataScheme=u,_.isFetchSupported=w,_.isPdfFile=function(i){return typeof i=="string"&&/\.pdf$/i.test(i)},_.isValidFetchUrl=k,_.loadScript=function(i){var o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return new Promise(function(c,A){var E=document.createElement("script");E.src=i,E.onload=function(O){o&&E.remove(),c(O)},E.onerror=function(){A(new Error("Cannot load script at: ".concat(E.src)))},(document.head||document.documentElement).appendChild(E)})},_.StatTimer=_.RenderingCancelledException=_.PDFDateString=_.PageViewport=_.LinkTarget=_.DOMSVGFactory=_.DOMCMapReaderFactory=_.DOMCanvasFactory=_.DEFAULT_LINK_REL=_.BaseCMapReaderFactory=_.BaseCanvasFactory=void 0;var I,P=(I=f(2))&&I.__esModule?I:{default:I},T=f(4);function N(i,o){var c=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!c){if(Array.isArray(i)||(c=function(Y,X){if(Y){if(typeof Y=="string")return j(Y,X);var W=Object.prototype.toString.call(Y).slice(8,-1);return W==="Object"&&Y.constructor&&(W=Y.constructor.name),W==="Map"||W==="Set"?Array.from(Y):W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?j(Y,X):void 0}}(i))||o&&i&&typeof i.length=="number"){c&&(i=c);var A=0,E=function(){};return{s:E,n:function(){return A>=i.length?{done:!0}:{done:!1,value:i[A++]}},e:function(Y){throw Y},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O,R=!0,G=!1;return{s:function(){c=c.call(i)},n:function(){var Y=c.next();return R=Y.done,Y},e:function(Y){G=!0,O=Y},f:function(){try{R||c.return==null||c.return()}finally{if(G)throw O}}}}function j(i,o){(o==null||o>i.length)&&(o=i.length);for(var c=0,A=new Array(o);c<o;c++)A[c]=i[c];return A}function x(i,o,c,A,E,O,R){try{var G=i[O](R),Y=G.value}catch(X){return void c(X)}G.done?o(Y):Promise.resolve(Y).then(A,E)}function M(i){return function(){var o=this,c=arguments;return new Promise(function(A,E){var O=i.apply(o,c);function R(Y){x(O,A,E,R,G,"next",Y)}function G(Y){x(O,A,E,R,G,"throw",Y)}R(void 0)})}}function D(i,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(o&&o.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),o&&C(i,o)}function C(i,o){return C=Object.setPrototypeOf||function(c,A){return c.__proto__=A,c},C(i,o)}function U(i){var o=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var c,A=H(i);if(o){var E=H(this).constructor;c=Reflect.construct(A,arguments,E)}else c=A.apply(this,arguments);return K(this,c)}}function K(i,o){return!o||l(o)!=="object"&&typeof o!="function"?function(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}(i):o}function H(i){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},H(i)}function $(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}function B(i,o){for(var c=0;c<o.length;c++){var A=o[c];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(i,A.key,A)}}function F(i,o,c){return o&&B(i.prototype,o),c&&B(i,c),i}var p="noopener noreferrer nofollow";_.DEFAULT_LINK_REL=p;var g="http://www.w3.org/2000/svg",h=function(){function i(){$(this,i),this.constructor===i&&(0,T.unreachable)("Cannot initialize BaseCanvasFactory.")}return F(i,[{key:"create",value:function(o,c){(0,T.unreachable)("Abstract method `create` called.")}},{key:"reset",value:function(o,c,A){if(!o.canvas)throw new Error("Canvas is not specified");if(c<=0||A<=0)throw new Error("Invalid canvas size");o.canvas.width=c,o.canvas.height=A}},{key:"destroy",value:function(o){if(!o.canvas)throw new Error("Canvas is not specified");o.canvas.width=0,o.canvas.height=0,o.canvas=null,o.context=null}}]),i}();_.BaseCanvasFactory=h;var y=function(i){D(c,i);var o=U(c);function c(){var A,E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=E.ownerDocument,R=O===void 0?globalThis.document:O;return $(this,c),(A=o.call(this))._document=R,A}return F(c,[{key:"create",value:function(A,E){if(A<=0||E<=0)throw new Error("Invalid canvas size");var O=this._document.createElement("canvas"),R=O.getContext("2d");return O.width=A,O.height=E,{canvas:O,context:R}}}]),c}(h);_.DOMCanvasFactory=y;var v=function(){function i(c){var A=c.baseUrl,E=A===void 0?null:A,O=c.isCompressed,R=O!==void 0&&O;$(this,i),this.constructor===i&&(0,T.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=E,this.isCompressed=R}var o;return F(i,[{key:"fetch",value:(o=M(P.default.mark(function c(A){var E,O,R,G=this;return P.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(E=A.name,this.baseUrl){Y.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(E){Y.next=5;break}throw new Error("CMap name must be specified.");case 5:return O=this.baseUrl+E+(this.isCompressed?".bcmap":""),R=this.isCompressed?T.CMapCompressionType.BINARY:T.CMapCompressionType.NONE,Y.abrupt("return",this._fetchData(O,R).catch(function(X){throw new Error("Unable to load ".concat(G.isCompressed?"binary ":"","CMap at: ").concat(O))}));case 8:case"end":return Y.stop()}},c,this)})),function(c){return o.apply(this,arguments)})},{key:"_fetchData",value:function(c,A){(0,T.unreachable)("Abstract method `_fetchData` called.")}}]),i}();_.BaseCMapReaderFactory=v;var b=function(i){D(c,i);var o=U(c);function c(){return $(this,c),o.apply(this,arguments)}return F(c,[{key:"_fetchData",value:function(A,E){var O=this;return w()&&k(A,document.baseURI)?fetch(A).then(function(){var R=M(P.default.mark(function G(Y){var X;return P.default.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(Y.ok){W.next=2;break}throw new Error(Y.statusText);case 2:if(!O.isCompressed){W.next=10;break}return W.t0=Uint8Array,W.next=6,Y.arrayBuffer();case 6:W.t1=W.sent,X=new W.t0(W.t1),W.next=15;break;case 10:return W.t2=T.stringToBytes,W.next=13,Y.text();case 13:W.t3=W.sent,X=(0,W.t2)(W.t3);case 15:return W.abrupt("return",{cMapData:X,compressionType:E});case 16:case"end":return W.stop()}},G)}));return function(G){return R.apply(this,arguments)}}()):new Promise(function(R,G){var Y=new XMLHttpRequest;Y.open("GET",A,!0),O.isCompressed&&(Y.responseType="arraybuffer"),Y.onreadystatechange=function(){if(Y.readyState===XMLHttpRequest.DONE){var X;if((Y.status===200||Y.status===0)&&(O.isCompressed&&Y.response?X=new Uint8Array(Y.response):!O.isCompressed&&Y.responseText&&(X=(0,T.stringToBytes)(Y.responseText)),X))return void R({cMapData:X,compressionType:E});G(new Error(Y.statusText))}},Y.send(null)})}}]),c}(v);_.DOMCMapReaderFactory=b;var s=function(){function i(){$(this,i)}return F(i,[{key:"create",value:function(o,c){(0,T.assert)(o>0&&c>0,"Invalid SVG dimensions");var A=document.createElementNS(g,"svg:svg");return A.setAttribute("version","1.1"),A.setAttribute("width",o+"px"),A.setAttribute("height",c+"px"),A.setAttribute("preserveAspectRatio","none"),A.setAttribute("viewBox","0 0 "+o+" "+c),A}},{key:"createElement",value:function(o){return(0,T.assert)(typeof o=="string","Invalid SVG element type"),document.createElementNS(g,o)}}]),i}();_.DOMSVGFactory=s;var a=function(){function i(o){var c=o.viewBox,A=o.scale,E=o.rotation,O=o.offsetX,R=O===void 0?0:O,G=o.offsetY,Y=G===void 0?0:G,X=o.dontFlip,W=X!==void 0&&X;$(this,i),this.viewBox=c,this.scale=A,this.rotation=E,this.offsetX=R,this.offsetY=Y;var ee,te,ae,Z,J,V,q,Q,re=(c[2]+c[0])/2,ne=(c[3]+c[1])/2;switch((E%=360)<0&&(E+=360),E){case 180:ee=-1,te=0,ae=0,Z=1;break;case 90:ee=0,te=1,ae=1,Z=0;break;case 270:ee=0,te=-1,ae=-1,Z=0;break;case 0:ee=1,te=0,ae=0,Z=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}W&&(ae=-ae,Z=-Z),ee===0?(J=Math.abs(ne-c[1])*A+R,V=Math.abs(re-c[0])*A+Y,q=Math.abs(c[3]-c[1])*A,Q=Math.abs(c[2]-c[0])*A):(J=Math.abs(re-c[0])*A+R,V=Math.abs(ne-c[1])*A+Y,q=Math.abs(c[2]-c[0])*A,Q=Math.abs(c[3]-c[1])*A),this.transform=[ee*A,te*A,ae*A,Z*A,J-ee*A*re-ae*A*ne,V-te*A*re-Z*A*ne],this.width=q,this.height=Q}return F(i,[{key:"clone",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=o.scale,A=c===void 0?this.scale:c,E=o.rotation,O=E===void 0?this.rotation:E,R=o.offsetX,G=R===void 0?this.offsetX:R,Y=o.offsetY,X=Y===void 0?this.offsetY:Y,W=o.dontFlip,ee=W!==void 0&&W;return new i({viewBox:this.viewBox.slice(),scale:A,rotation:O,offsetX:G,offsetY:X,dontFlip:ee})}},{key:"convertToViewportPoint",value:function(o,c){return T.Util.applyTransform([o,c],this.transform)}},{key:"convertToViewportRectangle",value:function(o){var c=T.Util.applyTransform([o[0],o[1]],this.transform),A=T.Util.applyTransform([o[2],o[3]],this.transform);return[c[0],c[1],A[0],A[1]]}},{key:"convertToPdfPoint",value:function(o,c){return T.Util.applyInverseTransform([o,c],this.transform)}}]),i}();_.PageViewport=a;var e=function(i){D(c,i);var o=U(c);function c(A,E){var O;return $(this,c),(O=o.call(this,A)).type=E,O}return c}(T.BaseException);_.RenderingCancelledException=e;var t={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function u(i){for(var o=i.length,c=0;c<o&&i[c].trim()==="";)c++;return i.substring(c,c+5).toLowerCase()==="data:"}_.LinkTarget=t;var r,d=function(){function i(){$(this,i),this.started=Object.create(null),this.times=[]}return F(i,[{key:"time",value:function(o){o in this.started&&(0,T.warn)("Timer is already running for ".concat(o)),this.started[o]=Date.now()}},{key:"timeEnd",value:function(o){o in this.started||(0,T.warn)("Timer has not been started for ".concat(o)),this.times.push({name:o,start:this.started[o],end:Date.now()}),delete this.started[o]}},{key:"toString",value:function(){var o,c=[],A=0,E=N(this.times);try{for(E.s();!(o=E.n()).done;){var O=o.value.name;O.length>A&&(A=O.length)}}catch(W){E.e(W)}finally{E.f()}var R,G=N(this.times);try{for(G.s();!(R=G.n()).done;){var Y=R.value,X=Y.end-Y.start;c.push("".concat(Y.name.padEnd(A)," ").concat(X,`ms
3
3
  `))}}catch(W){G.e(W)}finally{G.f()}return c.join("")}}]),i}();function w(){return typeof fetch<"u"&&typeof Response<"u"&&"body"in Response.prototype&&typeof ReadableStream<"u"}function k(i,o){try{var c=(o?new URL(i,o):new URL(i)).protocol;return c==="http:"||c==="https:"}catch{return!1}}_.StatTimer=d;var m=function(){function i(){$(this,i)}return F(i,null,[{key:"toDateObject",value:function(o){if(!o||!(0,T.isString)(o))return null;r||(r=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var c=r.exec(o);if(!c)return null;var A=parseInt(c[1],10),E=parseInt(c[2],10);E=E>=1&&E<=12?E-1:0;var O=parseInt(c[3],10);O=O>=1&&O<=31?O:1;var R=parseInt(c[4],10);R=R>=0&&R<=23?R:0;var G=parseInt(c[5],10);G=G>=0&&G<=59?G:0;var Y=parseInt(c[6],10);Y=Y>=0&&Y<=59?Y:0;var X=c[7]||"Z",W=parseInt(c[8],10);W=W>=0&&W<=23?W:0;var ee=parseInt(c[9],10)||0;return ee=ee>=0&&ee<=59?ee:0,X==="-"?(R+=W,G+=ee):X==="+"&&(R-=W,G-=ee),new Date(Date.UTC(A,E,O,R,G,Y))}}]),i}();_.PDFDateString=m},(L,_,f)=>{L.exports=f(3)},(L,_,f)=>{function l(P){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},l(P)}var I=function(P){var T,N=Object.prototype,j=N.hasOwnProperty,x=typeof Symbol=="function"?Symbol:{},M=x.iterator||"@@iterator",D=x.asyncIterator||"@@asyncIterator",C=x.toStringTag||"@@toStringTag";function U(o,c,A){return Object.defineProperty(o,c,{value:A,enumerable:!0,configurable:!0,writable:!0}),o[c]}try{U({},"")}catch{U=function(c,A,E){return c[A]=E}}function K(o,c,A,E){var O=c&&c.prototype instanceof h?c:h,R=Object.create(O.prototype),G=new k(E||[]);return R._invoke=function(Y,X,W){var ee=$;return function(te,ae){if(ee===F)throw new Error("Generator is already running");if(ee===p){if(te==="throw")throw ae;return i()}for(W.method=te,W.arg=ae;;){var Z=W.delegate;if(Z){var J=r(Z,W);if(J){if(J===g)continue;return J}}if(W.method==="next")W.sent=W._sent=W.arg;else if(W.method==="throw"){if(ee===$)throw ee=p,W.arg;W.dispatchException(W.arg)}else W.method==="return"&&W.abrupt("return",W.arg);ee=F;var V=H(Y,X,W);if(V.type==="normal"){if(ee=W.done?p:B,V.arg===g)continue;return{value:V.arg,done:W.done}}V.type==="throw"&&(ee=p,W.method="throw",W.arg=V.arg)}}}(o,A,G),R}function H(o,c,A){try{return{type:"normal",arg:o.call(c,A)}}catch(E){return{type:"throw",arg:E}}}P.wrap=K;var $="suspendedStart",B="suspendedYield",F="executing",p="completed",g={};function h(){}function y(){}function v(){}var b={};b[M]=function(){return this};var s=Object.getPrototypeOf,a=s&&s(s(m([])));a&&a!==N&&j.call(a,M)&&(b=a);var e=v.prototype=h.prototype=Object.create(b);function t(o){["next","throw","return"].forEach(function(c){U(o,c,function(A){return this._invoke(c,A)})})}function u(o,c){function A(O,R,G,Y){var X=H(o[O],o,R);if(X.type!=="throw"){var W=X.arg,ee=W.value;return ee&&l(ee)==="object"&&j.call(ee,"__await")?c.resolve(ee.__await).then(function(te){A("next",te,G,Y)},function(te){A("throw",te,G,Y)}):c.resolve(ee).then(function(te){W.value=te,G(W)},function(te){return A("throw",te,G,Y)})}Y(X.arg)}var E;this._invoke=function(O,R){function G(){return new c(function(Y,X){A(O,R,Y,X)})}return E=E?E.then(G,G):G()}}function r(o,c){var A=o.iterator[c.method];if(A===T){if(c.delegate=null,c.method==="throw"){if(o.iterator.return&&(c.method="return",c.arg=T,r(o,c),c.method==="throw"))return g;c.method="throw",c.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var E=H(A,o.iterator,c.arg);if(E.type==="throw")return c.method="throw",c.arg=E.arg,c.delegate=null,g;var O=E.arg;return O?O.done?(c[o.resultName]=O.value,c.next=o.nextLoc,c.method!=="return"&&(c.method="next",c.arg=T),c.delegate=null,g):O:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,g)}function d(o){var c={tryLoc:o[0]};1 in o&&(c.catchLoc=o[1]),2 in o&&(c.finallyLoc=o[2],c.afterLoc=o[3]),this.tryEntries.push(c)}function w(o){var c=o.completion||{};c.type="normal",delete c.arg,o.completion=c}function k(o){this.tryEntries=[{tryLoc:"root"}],o.forEach(d,this),this.reset(!0)}function m(o){if(o){var c=o[M];if(c)return c.call(o);if(typeof o.next=="function")return o;if(!isNaN(o.length)){var A=-1,E=function O(){for(;++A<o.length;)if(j.call(o,A))return O.value=o[A],O.done=!1,O;return O.value=T,O.done=!0,O};return E.next=E}}return{next:i}}function i(){return{value:T,done:!0}}return y.prototype=e.constructor=v,v.constructor=y,y.displayName=U(v,C,"GeneratorFunction"),P.isGeneratorFunction=function(o){var c=typeof o=="function"&&o.constructor;return!!c&&(c===y||(c.displayName||c.name)==="GeneratorFunction")},P.mark=function(o){return Object.setPrototypeOf?Object.setPrototypeOf(o,v):(o.__proto__=v,U(o,C,"GeneratorFunction")),o.prototype=Object.create(e),o},P.awrap=function(o){return{__await:o}},t(u.prototype),u.prototype[D]=function(){return this},P.AsyncIterator=u,P.async=function(o,c,A,E,O){O===void 0&&(O=Promise);var R=new u(K(o,c,A,E),O);return P.isGeneratorFunction(c)?R:R.next().then(function(G){return G.done?G.value:R.next()})},t(e),U(e,C,"Generator"),e[M]=function(){return this},e.toString=function(){return"[object Generator]"},P.keys=function(o){var c=[];for(var A in o)c.push(A);return c.reverse(),function E(){for(;c.length;){var O=c.pop();if(O in o)return E.value=O,E.done=!1,E}return E.done=!0,E}},P.values=m,k.prototype={constructor:k,reset:function(o){if(this.prev=0,this.next=0,this.sent=this._sent=T,this.done=!1,this.delegate=null,this.method="next",this.arg=T,this.tryEntries.forEach(w),!o)for(var c in this)c.charAt(0)==="t"&&j.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=T)},stop:function(){this.done=!0;var o=this.tryEntries[0].completion;if(o.type==="throw")throw o.arg;return this.rval},dispatchException:function(o){if(this.done)throw o;var c=this;function A(X,W){return R.type="throw",R.arg=o,c.next=X,W&&(c.method="next",c.arg=T),!!W}for(var E=this.tryEntries.length-1;E>=0;--E){var O=this.tryEntries[E],R=O.completion;if(O.tryLoc==="root")return A("end");if(O.tryLoc<=this.prev){var G=j.call(O,"catchLoc"),Y=j.call(O,"finallyLoc");if(G&&Y){if(this.prev<O.catchLoc)return A(O.catchLoc,!0);if(this.prev<O.finallyLoc)return A(O.finallyLoc)}else if(G){if(this.prev<O.catchLoc)return A(O.catchLoc,!0)}else{if(!Y)throw new Error("try statement without catch or finally");if(this.prev<O.finallyLoc)return A(O.finallyLoc)}}}},abrupt:function(o,c){for(var A=this.tryEntries.length-1;A>=0;--A){var E=this.tryEntries[A];if(E.tryLoc<=this.prev&&j.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var O=E;break}}O&&(o==="break"||o==="continue")&&O.tryLoc<=c&&c<=O.finallyLoc&&(O=null);var R=O?O.completion:{};return R.type=o,R.arg=c,O?(this.method="next",this.next=O.finallyLoc,g):this.complete(R)},complete:function(o,c){if(o.type==="throw")throw o.arg;return o.type==="break"||o.type==="continue"?this.next=o.arg:o.type==="return"?(this.rval=this.arg=o.arg,this.method="return",this.next="end"):o.type==="normal"&&c&&(this.next=c),g},finish:function(o){for(var c=this.tryEntries.length-1;c>=0;--c){var A=this.tryEntries[c];if(A.finallyLoc===o)return this.complete(A.completion,A.afterLoc),w(A),g}},catch:function(o){for(var c=this.tryEntries.length-1;c>=0;--c){var A=this.tryEntries[c];if(A.tryLoc===o){var E=A.completion;if(E.type==="throw"){var O=E.arg;w(A)}return O}}throw new Error("illegal catch attempt")},delegateYield:function(o,c,A){return this.delegate={iterator:m(o),resultName:c,nextLoc:A},this.method==="next"&&(this.arg=T),g}},P}(l(L=f.nmd(L))==="object"?L.exports:{});try{regeneratorRuntime=I}catch{Function("r","regeneratorRuntime = r")(I)}},(L,_,f)=>{function l(o,c){for(var A=0;A<c.length;A++){var E=c[A];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(o,E.key,E)}}function I(o,c){if(o){if(typeof o=="string")return P(o,c);var A=Object.prototype.toString.call(o).slice(8,-1);return A==="Object"&&o.constructor&&(A=o.constructor.name),A==="Map"||A==="Set"?Array.from(o):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?P(o,c):void 0}}function P(o,c){(c==null||c>o.length)&&(c=o.length);for(var A=0,E=new Array(c);A<c;A++)E[A]=o[A];return E}function T(o){return T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},T(o)}function N(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function j(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(c&&c.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),c&&x(o,c)}function x(o,c){return x=Object.setPrototypeOf||function(A,E){return A.__proto__=E,A},x(o,c)}function M(o){var c=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var A,E=C(o);if(c){var O=C(this).constructor;A=Reflect.construct(E,arguments,O)}else A=E.apply(this,arguments);return D(this,A)}}function D(o,c){return!c||T(c)!=="object"&&typeof c!="function"?function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(o):c}function C(o){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},C(o)}Object.defineProperty(_,"__esModule",{value:!0}),_.arrayByteLength=u,_.arraysToBytes=function(o){var c=o.length;if(c===1&&o[0]instanceof Uint8Array)return o[0];for(var A=0,E=0;E<c;E++)A+=u(o[E]);for(var O=0,R=new Uint8Array(A),G=0;G<c;G++){var Y=o[G];Y instanceof Uint8Array||(Y=typeof Y=="string"?t(Y):new Uint8Array(Y));var X=Y.byteLength;R.set(Y,O),O+=X}return R},_.assert=B,_.bytesToString=function(o){B(o!==null&&T(o)==="object"&&o.length!==void 0,"Invalid argument for bytesToString");var c=o.length,A=8192;if(c<A)return String.fromCharCode.apply(null,o);for(var E=[],O=0;O<c;O+=A){var R=Math.min(O+A,c),G=o.subarray(O,R);E.push(String.fromCharCode.apply(null,G))}return E.join("")},_.createObjectURL=function(o){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",A=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(URL.createObjectURL&&!A)return URL.createObjectURL(new Blob([o],{type:c}));for(var E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",O="data:".concat(c,";base64,"),R=0,G=o.length;R<G;R+=3){var Y=255&o[R],X=255&o[R+1],W=255&o[R+2],ee=Y>>2,te=(3&Y)<<4|X>>4,ae=R+1<G?(15&X)<<2|W>>6:64,Z=R+2<G?63&W:64;O+=E[ee]+E[te]+E[ae]+E[Z]}return O},_.createPromiseCapability=function(){var o=Object.create(null),c=!1;return Object.defineProperty(o,"settled",{get:function(){return c}}),o.promise=new Promise(function(A,E){o.resolve=function(O){c=!0,A(O)},o.reject=function(O){c=!0,E(O)}}),o},_.createValidAbsoluteUrl=function(o,c){if(!o)return null;try{var A=c?new URL(o,c):new URL(o);if(function(E){if(!E)return!1;switch(E.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(A))return A}catch{}return null},_.escapeString=function(o){return o.replace(/([()\\\n\r])/g,function(c){return c===`
4
4
  `?"\\n":c==="\r"?"\\r":"\\".concat(c)})},_.getModificationDate=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Date,c=[o.getUTCFullYear().toString(),(o.getUTCMonth()+1).toString().padStart(2,"0"),o.getUTCDate().toString().padStart(2,"0"),o.getUTCHours().toString().padStart(2,"0"),o.getUTCMinutes().toString().padStart(2,"0"),o.getUTCSeconds().toString().padStart(2,"0")];return c.join("")},_.getVerbosityLevel=function(){return K},_.info=function(o){K>=U.INFOS&&console.log("Info: ".concat(o))},_.isArrayBuffer=function(o){return T(o)==="object"&&o!==null&&o.byteLength!==void 0},_.isArrayEqual=function(o,c){if(o.length!==c.length)return!1;for(var A=0,E=o.length;A<E;A++)if(o[A]!==c[A])return!1;return!0},_.isAscii=function(o){return/^[\x00-\x7F]*$/.test(o)},_.isBool=function(o){return typeof o=="boolean"},_.isNum=function(o){return typeof o=="number"},_.isSameOrigin=function(o,c){var A;try{if(!(A=new URL(o)).origin||A.origin==="null")return!1}catch{return!1}var E=new URL(c,A);return A.origin===E.origin},_.isString=function(o){return typeof o=="string"},_.objectFromMap=function(o){var c,A,E,O=Object.create(null),R=function(W,ee){var te=typeof Symbol<"u"&&W[Symbol.iterator]||W["@@iterator"];if(!te){if(Array.isArray(W)||(te=I(W))||ee&&W&&typeof W.length=="number"){te&&(W=te);var ae=0,Z=function(){};return{s:Z,n:function(){return ae>=W.length?{done:!0}:{done:!1,value:W[ae++]}},e:function(Q){throw Q},f:Z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
@@ -1,4 +1,4 @@
1
- import{ds as vue_runtime_esmBundler,_ as _export_sfc,aD as mapGetters,N as mapActions,Q as resolveComponent,R as openBlock,O as createBlock,ab as normalizeClass}from"./admin-drawer-panel-lvSt_rmS.js";import{g as getAugmentedNamespace,f as getDefaultExportFromCjs}from"./main-OIrebd4D.js";import{u as useReaderStore}from"./VToolbar-l9UdbYjt.js";import"./index-RrPhDVxT.js";import"./confirm-footer-c31QW5F5.js";import"./change-password-dialog-USKvhqKL.js";import"./VTextField-h1EP0NAs.js";import"./VSelectionControl-Ervl02ph.js";var vue3PdfEmbed={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);(function(module,exports){(function(L,_){module.exports=_(require$$0)})(self,function(__WEBPACK_EXTERNAL_MODULE__103__){return(()=>{var __webpack_modules__={194:(L,_,f)=>{f.r(_),f.d(_,{default:()=>P});var l=f(645),I=f.n(l)()(function(T){return T[1]});I.push([L.id,`.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:rgba(180, 0, 170, 1);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:rgba(0, 100, 0, 1)}.textLayer ::-moz-selection{background:rgba(0, 0, 255, 1)}.textLayer ::selection{background:rgba(0, 0, 255, 1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>")}.annotationLayer section{position:absolute;text-align:initial}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{position:relative;top:0;left:0;z-index:-1}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255, 255, 0, 1);box-shadow:0 2px 10px rgba(255, 255, 0, 1)}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0, 0, 0, 1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:rgba(0, 0, 0, 1);content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}.annotationLayer .popupWrapper{position:absolute;width:20em}.annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:rgba(255, 255, 153, 1);box-shadow:0 2px 5px rgba(136, 136, 136, 1);border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}.annotationLayer .popup>*{font-size:9px}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:5px}.annotationLayer .popupContent{border-top:1px solid rgba(51, 51, 51, 1);margin-top:2px;padding-top:2px}.annotationLayer .richText>*{white-space:pre-wrap}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.vue-pdf-embed__page{position:relative}.vue-pdf-embed__page canvas{display:block}`,""]);const P=I},645:L=>{L.exports=function(_){var f=[];return f.toString=function(){return this.map(function(l){var I=_(l);return l[2]?"@media ".concat(l[2]," {").concat(I,"}"):I}).join("")},f.i=function(l,I,P){typeof l=="string"&&(l=[[null,l,""]]);var T={};if(P)for(var N=0;N<this.length;N++){var j=this[N][0];j!=null&&(T[j]=!0)}for(var x=0;x<l.length;x++){var M=[].concat(l[x]);P&&T[M[0]]||(I&&(M[2]?M[2]="".concat(I," and ").concat(M[2]):M[2]=I),f.push(M))}},f}},783:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{var __webpack_modules__=[,(L,_,f)=>{function l(i){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.addLinkAttributes=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=o.url,A=o.target,E=o.rel,O=o.enabled,R=O===void 0||O;(0,T.assert)(c&&typeof c=="string",'addLinkAttributes: A valid "url" parameter must provided.');var G=(0,T.removeNullCharacters)(c);R?i.href=i.title=G:(i.href="",i.title="Disabled: ".concat(G),i.onclick=function(){return!1});var Y="";switch(A){case t.NONE:break;case t.SELF:Y="_self";break;case t.BLANK:Y="_blank";break;case t.PARENT:Y="_parent";break;case t.TOP:Y="_top"}i.target=Y,i.rel=typeof E=="string"?E:p},_.deprecated=function(i){console.log("Deprecated API usage: "+i)},_.getFilenameFromUrl=function(i){var o=i.indexOf("#"),c=i.indexOf("?"),A=Math.min(o>0?o:i.length,c>0?c:i.length);return i.substring(i.lastIndexOf("/",A)+1,A)},_.getPdfFilenameFromUrl=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof i!="string")return o;if(u(i))return(0,T.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),o;var c=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,A=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,E=c.exec(i),O=A.exec(E[1])||A.exec(E[2])||A.exec(E[3]);if(O&&(O=O[0]).includes("%"))try{O=A.exec(decodeURIComponent(O))[0]}catch{}return O||o},_.isDataScheme=u,_.isFetchSupported=w,_.isPdfFile=function(i){return typeof i=="string"&&/\.pdf$/i.test(i)},_.isValidFetchUrl=k,_.loadScript=function(i){var o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return new Promise(function(c,A){var E=document.createElement("script");E.src=i,E.onload=function(O){o&&E.remove(),c(O)},E.onerror=function(){A(new Error("Cannot load script at: ".concat(E.src)))},(document.head||document.documentElement).appendChild(E)})},_.StatTimer=_.RenderingCancelledException=_.PDFDateString=_.PageViewport=_.LinkTarget=_.DOMSVGFactory=_.DOMCMapReaderFactory=_.DOMCanvasFactory=_.DEFAULT_LINK_REL=_.BaseCMapReaderFactory=_.BaseCanvasFactory=void 0;var I,P=(I=f(2))&&I.__esModule?I:{default:I},T=f(4);function N(i,o){var c=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!c){if(Array.isArray(i)||(c=function(Y,X){if(Y){if(typeof Y=="string")return j(Y,X);var W=Object.prototype.toString.call(Y).slice(8,-1);return W==="Object"&&Y.constructor&&(W=Y.constructor.name),W==="Map"||W==="Set"?Array.from(Y):W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?j(Y,X):void 0}}(i))||o&&i&&typeof i.length=="number"){c&&(i=c);var A=0,E=function(){};return{s:E,n:function(){return A>=i.length?{done:!0}:{done:!1,value:i[A++]}},e:function(Y){throw Y},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ import{ds as vue_runtime_esmBundler,_ as _export_sfc,aD as mapGetters,N as mapActions,Q as resolveComponent,R as openBlock,O as createBlock,ab as normalizeClass}from"./admin-drawer-panel-JjJ1iA6R.js";import{g as getAugmentedNamespace,f as getDefaultExportFromCjs}from"./main-fEXxBNBg.js";import{u as useReaderStore}from"./VToolbar-BBzymioO.js";import"./index-RrPhDVxT.js";import"./confirm-footer-IJHq21-K.js";import"./change-password-dialog-9i9SZGmU.js";import"./VTextField-1s8i2nK8.js";import"./VSelectionControl-9CzKd8rG.js";var vue3PdfEmbed={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);(function(module,exports){(function(L,_){module.exports=_(require$$0)})(self,function(__WEBPACK_EXTERNAL_MODULE__103__){return(()=>{var __webpack_modules__={194:(L,_,f)=>{f.r(_),f.d(_,{default:()=>P});var l=f(645),I=f.n(l)()(function(T){return T[1]});I.push([L.id,`.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:rgba(180, 0, 170, 1);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:rgba(0, 100, 0, 1)}.textLayer ::-moz-selection{background:rgba(0, 0, 255, 1)}.textLayer ::selection{background:rgba(0, 0, 255, 1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>")}.annotationLayer section{position:absolute;text-align:initial}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{position:relative;top:0;left:0;z-index:-1}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255, 255, 0, 1);box-shadow:0 2px 10px rgba(255, 255, 0, 1)}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0, 0, 0, 1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:rgba(0, 0, 0, 1);content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}.annotationLayer .popupWrapper{position:absolute;width:20em}.annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:rgba(255, 255, 153, 1);box-shadow:0 2px 5px rgba(136, 136, 136, 1);border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}.annotationLayer .popup>*{font-size:9px}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:5px}.annotationLayer .popupContent{border-top:1px solid rgba(51, 51, 51, 1);margin-top:2px;padding-top:2px}.annotationLayer .richText>*{white-space:pre-wrap}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.vue-pdf-embed__page{position:relative}.vue-pdf-embed__page canvas{display:block}`,""]);const P=I},645:L=>{L.exports=function(_){var f=[];return f.toString=function(){return this.map(function(l){var I=_(l);return l[2]?"@media ".concat(l[2]," {").concat(I,"}"):I}).join("")},f.i=function(l,I,P){typeof l=="string"&&(l=[[null,l,""]]);var T={};if(P)for(var N=0;N<this.length;N++){var j=this[N][0];j!=null&&(T[j]=!0)}for(var x=0;x<l.length;x++){var M=[].concat(l[x]);P&&T[M[0]]||(I&&(M[2]?M[2]="".concat(I," and ").concat(M[2]):M[2]=I),f.push(M))}},f}},783:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{var __webpack_modules__=[,(L,_,f)=>{function l(i){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.addLinkAttributes=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=o.url,A=o.target,E=o.rel,O=o.enabled,R=O===void 0||O;(0,T.assert)(c&&typeof c=="string",'addLinkAttributes: A valid "url" parameter must provided.');var G=(0,T.removeNullCharacters)(c);R?i.href=i.title=G:(i.href="",i.title="Disabled: ".concat(G),i.onclick=function(){return!1});var Y="";switch(A){case t.NONE:break;case t.SELF:Y="_self";break;case t.BLANK:Y="_blank";break;case t.PARENT:Y="_parent";break;case t.TOP:Y="_top"}i.target=Y,i.rel=typeof E=="string"?E:p},_.deprecated=function(i){console.log("Deprecated API usage: "+i)},_.getFilenameFromUrl=function(i){var o=i.indexOf("#"),c=i.indexOf("?"),A=Math.min(o>0?o:i.length,c>0?c:i.length);return i.substring(i.lastIndexOf("/",A)+1,A)},_.getPdfFilenameFromUrl=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof i!="string")return o;if(u(i))return(0,T.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),o;var c=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,A=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,E=c.exec(i),O=A.exec(E[1])||A.exec(E[2])||A.exec(E[3]);if(O&&(O=O[0]).includes("%"))try{O=A.exec(decodeURIComponent(O))[0]}catch{}return O||o},_.isDataScheme=u,_.isFetchSupported=w,_.isPdfFile=function(i){return typeof i=="string"&&/\.pdf$/i.test(i)},_.isValidFetchUrl=k,_.loadScript=function(i){var o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return new Promise(function(c,A){var E=document.createElement("script");E.src=i,E.onload=function(O){o&&E.remove(),c(O)},E.onerror=function(){A(new Error("Cannot load script at: ".concat(E.src)))},(document.head||document.documentElement).appendChild(E)})},_.StatTimer=_.RenderingCancelledException=_.PDFDateString=_.PageViewport=_.LinkTarget=_.DOMSVGFactory=_.DOMCMapReaderFactory=_.DOMCanvasFactory=_.DEFAULT_LINK_REL=_.BaseCMapReaderFactory=_.BaseCanvasFactory=void 0;var I,P=(I=f(2))&&I.__esModule?I:{default:I},T=f(4);function N(i,o){var c=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!c){if(Array.isArray(i)||(c=function(Y,X){if(Y){if(typeof Y=="string")return j(Y,X);var W=Object.prototype.toString.call(Y).slice(8,-1);return W==="Object"&&Y.constructor&&(W=Y.constructor.name),W==="Map"||W==="Set"?Array.from(Y):W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?j(Y,X):void 0}}(i))||o&&i&&typeof i.length=="number"){c&&(i=c);var A=0,E=function(){};return{s:E,n:function(){return A>=i.length?{done:!0}:{done:!1,value:i[A++]}},e:function(Y){throw Y},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O,R=!0,G=!1;return{s:function(){c=c.call(i)},n:function(){var Y=c.next();return R=Y.done,Y},e:function(Y){G=!0,O=Y},f:function(){try{R||c.return==null||c.return()}finally{if(G)throw O}}}}function j(i,o){(o==null||o>i.length)&&(o=i.length);for(var c=0,A=new Array(o);c<o;c++)A[c]=i[c];return A}function x(i,o,c,A,E,O,R){try{var G=i[O](R),Y=G.value}catch(X){return void c(X)}G.done?o(Y):Promise.resolve(Y).then(A,E)}function M(i){return function(){var o=this,c=arguments;return new Promise(function(A,E){var O=i.apply(o,c);function R(Y){x(O,A,E,R,G,"next",Y)}function G(Y){x(O,A,E,R,G,"throw",Y)}R(void 0)})}}function D(i,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(o&&o.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),o&&C(i,o)}function C(i,o){return C=Object.setPrototypeOf||function(c,A){return c.__proto__=A,c},C(i,o)}function U(i){var o=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var c,A=H(i);if(o){var E=H(this).constructor;c=Reflect.construct(A,arguments,E)}else c=A.apply(this,arguments);return K(this,c)}}function K(i,o){return!o||l(o)!=="object"&&typeof o!="function"?function(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}(i):o}function H(i){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},H(i)}function $(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}function B(i,o){for(var c=0;c<o.length;c++){var A=o[c];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(i,A.key,A)}}function F(i,o,c){return o&&B(i.prototype,o),c&&B(i,c),i}var p="noopener noreferrer nofollow";_.DEFAULT_LINK_REL=p;var g="http://www.w3.org/2000/svg",h=function(){function i(){$(this,i),this.constructor===i&&(0,T.unreachable)("Cannot initialize BaseCanvasFactory.")}return F(i,[{key:"create",value:function(o,c){(0,T.unreachable)("Abstract method `create` called.")}},{key:"reset",value:function(o,c,A){if(!o.canvas)throw new Error("Canvas is not specified");if(c<=0||A<=0)throw new Error("Invalid canvas size");o.canvas.width=c,o.canvas.height=A}},{key:"destroy",value:function(o){if(!o.canvas)throw new Error("Canvas is not specified");o.canvas.width=0,o.canvas.height=0,o.canvas=null,o.context=null}}]),i}();_.BaseCanvasFactory=h;var y=function(i){D(c,i);var o=U(c);function c(){var A,E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=E.ownerDocument,R=O===void 0?globalThis.document:O;return $(this,c),(A=o.call(this))._document=R,A}return F(c,[{key:"create",value:function(A,E){if(A<=0||E<=0)throw new Error("Invalid canvas size");var O=this._document.createElement("canvas"),R=O.getContext("2d");return O.width=A,O.height=E,{canvas:O,context:R}}}]),c}(h);_.DOMCanvasFactory=y;var v=function(){function i(c){var A=c.baseUrl,E=A===void 0?null:A,O=c.isCompressed,R=O!==void 0&&O;$(this,i),this.constructor===i&&(0,T.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=E,this.isCompressed=R}var o;return F(i,[{key:"fetch",value:(o=M(P.default.mark(function c(A){var E,O,R,G=this;return P.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(E=A.name,this.baseUrl){Y.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(E){Y.next=5;break}throw new Error("CMap name must be specified.");case 5:return O=this.baseUrl+E+(this.isCompressed?".bcmap":""),R=this.isCompressed?T.CMapCompressionType.BINARY:T.CMapCompressionType.NONE,Y.abrupt("return",this._fetchData(O,R).catch(function(X){throw new Error("Unable to load ".concat(G.isCompressed?"binary ":"","CMap at: ").concat(O))}));case 8:case"end":return Y.stop()}},c,this)})),function(c){return o.apply(this,arguments)})},{key:"_fetchData",value:function(c,A){(0,T.unreachable)("Abstract method `_fetchData` called.")}}]),i}();_.BaseCMapReaderFactory=v;var b=function(i){D(c,i);var o=U(c);function c(){return $(this,c),o.apply(this,arguments)}return F(c,[{key:"_fetchData",value:function(A,E){var O=this;return w()&&k(A,document.baseURI)?fetch(A).then(function(){var R=M(P.default.mark(function G(Y){var X;return P.default.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(Y.ok){W.next=2;break}throw new Error(Y.statusText);case 2:if(!O.isCompressed){W.next=10;break}return W.t0=Uint8Array,W.next=6,Y.arrayBuffer();case 6:W.t1=W.sent,X=new W.t0(W.t1),W.next=15;break;case 10:return W.t2=T.stringToBytes,W.next=13,Y.text();case 13:W.t3=W.sent,X=(0,W.t2)(W.t3);case 15:return W.abrupt("return",{cMapData:X,compressionType:E});case 16:case"end":return W.stop()}},G)}));return function(G){return R.apply(this,arguments)}}()):new Promise(function(R,G){var Y=new XMLHttpRequest;Y.open("GET",A,!0),O.isCompressed&&(Y.responseType="arraybuffer"),Y.onreadystatechange=function(){if(Y.readyState===XMLHttpRequest.DONE){var X;if((Y.status===200||Y.status===0)&&(O.isCompressed&&Y.response?X=new Uint8Array(Y.response):!O.isCompressed&&Y.responseText&&(X=(0,T.stringToBytes)(Y.responseText)),X))return void R({cMapData:X,compressionType:E});G(new Error(Y.statusText))}},Y.send(null)})}}]),c}(v);_.DOMCMapReaderFactory=b;var s=function(){function i(){$(this,i)}return F(i,[{key:"create",value:function(o,c){(0,T.assert)(o>0&&c>0,"Invalid SVG dimensions");var A=document.createElementNS(g,"svg:svg");return A.setAttribute("version","1.1"),A.setAttribute("width",o+"px"),A.setAttribute("height",c+"px"),A.setAttribute("preserveAspectRatio","none"),A.setAttribute("viewBox","0 0 "+o+" "+c),A}},{key:"createElement",value:function(o){return(0,T.assert)(typeof o=="string","Invalid SVG element type"),document.createElementNS(g,o)}}]),i}();_.DOMSVGFactory=s;var a=function(){function i(o){var c=o.viewBox,A=o.scale,E=o.rotation,O=o.offsetX,R=O===void 0?0:O,G=o.offsetY,Y=G===void 0?0:G,X=o.dontFlip,W=X!==void 0&&X;$(this,i),this.viewBox=c,this.scale=A,this.rotation=E,this.offsetX=R,this.offsetY=Y;var ee,te,ae,Z,J,V,q,Q,re=(c[2]+c[0])/2,ne=(c[3]+c[1])/2;switch((E%=360)<0&&(E+=360),E){case 180:ee=-1,te=0,ae=0,Z=1;break;case 90:ee=0,te=1,ae=1,Z=0;break;case 270:ee=0,te=-1,ae=-1,Z=0;break;case 0:ee=1,te=0,ae=0,Z=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}W&&(ae=-ae,Z=-Z),ee===0?(J=Math.abs(ne-c[1])*A+R,V=Math.abs(re-c[0])*A+Y,q=Math.abs(c[3]-c[1])*A,Q=Math.abs(c[2]-c[0])*A):(J=Math.abs(re-c[0])*A+R,V=Math.abs(ne-c[1])*A+Y,q=Math.abs(c[2]-c[0])*A,Q=Math.abs(c[3]-c[1])*A),this.transform=[ee*A,te*A,ae*A,Z*A,J-ee*A*re-ae*A*ne,V-te*A*re-Z*A*ne],this.width=q,this.height=Q}return F(i,[{key:"clone",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=o.scale,A=c===void 0?this.scale:c,E=o.rotation,O=E===void 0?this.rotation:E,R=o.offsetX,G=R===void 0?this.offsetX:R,Y=o.offsetY,X=Y===void 0?this.offsetY:Y,W=o.dontFlip,ee=W!==void 0&&W;return new i({viewBox:this.viewBox.slice(),scale:A,rotation:O,offsetX:G,offsetY:X,dontFlip:ee})}},{key:"convertToViewportPoint",value:function(o,c){return T.Util.applyTransform([o,c],this.transform)}},{key:"convertToViewportRectangle",value:function(o){var c=T.Util.applyTransform([o[0],o[1]],this.transform),A=T.Util.applyTransform([o[2],o[3]],this.transform);return[c[0],c[1],A[0],A[1]]}},{key:"convertToPdfPoint",value:function(o,c){return T.Util.applyInverseTransform([o,c],this.transform)}}]),i}();_.PageViewport=a;var e=function(i){D(c,i);var o=U(c);function c(A,E){var O;return $(this,c),(O=o.call(this,A)).type=E,O}return c}(T.BaseException);_.RenderingCancelledException=e;var t={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function u(i){for(var o=i.length,c=0;c<o&&i[c].trim()==="";)c++;return i.substring(c,c+5).toLowerCase()==="data:"}_.LinkTarget=t;var r,d=function(){function i(){$(this,i),this.started=Object.create(null),this.times=[]}return F(i,[{key:"time",value:function(o){o in this.started&&(0,T.warn)("Timer is already running for ".concat(o)),this.started[o]=Date.now()}},{key:"timeEnd",value:function(o){o in this.started||(0,T.warn)("Timer has not been started for ".concat(o)),this.times.push({name:o,start:this.started[o],end:Date.now()}),delete this.started[o]}},{key:"toString",value:function(){var o,c=[],A=0,E=N(this.times);try{for(E.s();!(o=E.n()).done;){var O=o.value.name;O.length>A&&(A=O.length)}}catch(W){E.e(W)}finally{E.f()}var R,G=N(this.times);try{for(G.s();!(R=G.n()).done;){var Y=R.value,X=Y.end-Y.start;c.push("".concat(Y.name.padEnd(A)," ").concat(X,`ms
3
3
  `))}}catch(W){G.e(W)}finally{G.f()}return c.join("")}}]),i}();function w(){return typeof fetch<"u"&&typeof Response<"u"&&"body"in Response.prototype&&typeof ReadableStream<"u"}function k(i,o){try{var c=(o?new URL(i,o):new URL(i)).protocol;return c==="http:"||c==="https:"}catch{return!1}}_.StatTimer=d;var m=function(){function i(){$(this,i)}return F(i,null,[{key:"toDateObject",value:function(o){if(!o||!(0,T.isString)(o))return null;r||(r=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var c=r.exec(o);if(!c)return null;var A=parseInt(c[1],10),E=parseInt(c[2],10);E=E>=1&&E<=12?E-1:0;var O=parseInt(c[3],10);O=O>=1&&O<=31?O:1;var R=parseInt(c[4],10);R=R>=0&&R<=23?R:0;var G=parseInt(c[5],10);G=G>=0&&G<=59?G:0;var Y=parseInt(c[6],10);Y=Y>=0&&Y<=59?Y:0;var X=c[7]||"Z",W=parseInt(c[8],10);W=W>=0&&W<=23?W:0;var ee=parseInt(c[9],10)||0;return ee=ee>=0&&ee<=59?ee:0,X==="-"?(R+=W,G+=ee):X==="+"&&(R-=W,G-=ee),new Date(Date.UTC(A,E,O,R,G,Y))}}]),i}();_.PDFDateString=m},(L,_,f)=>{L.exports=f(3)},(L,_,f)=>{function l(P){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},l(P)}var I=function(P){var T,N=Object.prototype,j=N.hasOwnProperty,x=typeof Symbol=="function"?Symbol:{},M=x.iterator||"@@iterator",D=x.asyncIterator||"@@asyncIterator",C=x.toStringTag||"@@toStringTag";function U(o,c,A){return Object.defineProperty(o,c,{value:A,enumerable:!0,configurable:!0,writable:!0}),o[c]}try{U({},"")}catch{U=function(c,A,E){return c[A]=E}}function K(o,c,A,E){var O=c&&c.prototype instanceof h?c:h,R=Object.create(O.prototype),G=new k(E||[]);return R._invoke=function(Y,X,W){var ee=$;return function(te,ae){if(ee===F)throw new Error("Generator is already running");if(ee===p){if(te==="throw")throw ae;return i()}for(W.method=te,W.arg=ae;;){var Z=W.delegate;if(Z){var J=r(Z,W);if(J){if(J===g)continue;return J}}if(W.method==="next")W.sent=W._sent=W.arg;else if(W.method==="throw"){if(ee===$)throw ee=p,W.arg;W.dispatchException(W.arg)}else W.method==="return"&&W.abrupt("return",W.arg);ee=F;var V=H(Y,X,W);if(V.type==="normal"){if(ee=W.done?p:B,V.arg===g)continue;return{value:V.arg,done:W.done}}V.type==="throw"&&(ee=p,W.method="throw",W.arg=V.arg)}}}(o,A,G),R}function H(o,c,A){try{return{type:"normal",arg:o.call(c,A)}}catch(E){return{type:"throw",arg:E}}}P.wrap=K;var $="suspendedStart",B="suspendedYield",F="executing",p="completed",g={};function h(){}function y(){}function v(){}var b={};b[M]=function(){return this};var s=Object.getPrototypeOf,a=s&&s(s(m([])));a&&a!==N&&j.call(a,M)&&(b=a);var e=v.prototype=h.prototype=Object.create(b);function t(o){["next","throw","return"].forEach(function(c){U(o,c,function(A){return this._invoke(c,A)})})}function u(o,c){function A(O,R,G,Y){var X=H(o[O],o,R);if(X.type!=="throw"){var W=X.arg,ee=W.value;return ee&&l(ee)==="object"&&j.call(ee,"__await")?c.resolve(ee.__await).then(function(te){A("next",te,G,Y)},function(te){A("throw",te,G,Y)}):c.resolve(ee).then(function(te){W.value=te,G(W)},function(te){return A("throw",te,G,Y)})}Y(X.arg)}var E;this._invoke=function(O,R){function G(){return new c(function(Y,X){A(O,R,Y,X)})}return E=E?E.then(G,G):G()}}function r(o,c){var A=o.iterator[c.method];if(A===T){if(c.delegate=null,c.method==="throw"){if(o.iterator.return&&(c.method="return",c.arg=T,r(o,c),c.method==="throw"))return g;c.method="throw",c.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var E=H(A,o.iterator,c.arg);if(E.type==="throw")return c.method="throw",c.arg=E.arg,c.delegate=null,g;var O=E.arg;return O?O.done?(c[o.resultName]=O.value,c.next=o.nextLoc,c.method!=="return"&&(c.method="next",c.arg=T),c.delegate=null,g):O:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,g)}function d(o){var c={tryLoc:o[0]};1 in o&&(c.catchLoc=o[1]),2 in o&&(c.finallyLoc=o[2],c.afterLoc=o[3]),this.tryEntries.push(c)}function w(o){var c=o.completion||{};c.type="normal",delete c.arg,o.completion=c}function k(o){this.tryEntries=[{tryLoc:"root"}],o.forEach(d,this),this.reset(!0)}function m(o){if(o){var c=o[M];if(c)return c.call(o);if(typeof o.next=="function")return o;if(!isNaN(o.length)){var A=-1,E=function O(){for(;++A<o.length;)if(j.call(o,A))return O.value=o[A],O.done=!1,O;return O.value=T,O.done=!0,O};return E.next=E}}return{next:i}}function i(){return{value:T,done:!0}}return y.prototype=e.constructor=v,v.constructor=y,y.displayName=U(v,C,"GeneratorFunction"),P.isGeneratorFunction=function(o){var c=typeof o=="function"&&o.constructor;return!!c&&(c===y||(c.displayName||c.name)==="GeneratorFunction")},P.mark=function(o){return Object.setPrototypeOf?Object.setPrototypeOf(o,v):(o.__proto__=v,U(o,C,"GeneratorFunction")),o.prototype=Object.create(e),o},P.awrap=function(o){return{__await:o}},t(u.prototype),u.prototype[D]=function(){return this},P.AsyncIterator=u,P.async=function(o,c,A,E,O){O===void 0&&(O=Promise);var R=new u(K(o,c,A,E),O);return P.isGeneratorFunction(c)?R:R.next().then(function(G){return G.done?G.value:R.next()})},t(e),U(e,C,"Generator"),e[M]=function(){return this},e.toString=function(){return"[object Generator]"},P.keys=function(o){var c=[];for(var A in o)c.push(A);return c.reverse(),function E(){for(;c.length;){var O=c.pop();if(O in o)return E.value=O,E.done=!1,E}return E.done=!0,E}},P.values=m,k.prototype={constructor:k,reset:function(o){if(this.prev=0,this.next=0,this.sent=this._sent=T,this.done=!1,this.delegate=null,this.method="next",this.arg=T,this.tryEntries.forEach(w),!o)for(var c in this)c.charAt(0)==="t"&&j.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=T)},stop:function(){this.done=!0;var o=this.tryEntries[0].completion;if(o.type==="throw")throw o.arg;return this.rval},dispatchException:function(o){if(this.done)throw o;var c=this;function A(X,W){return R.type="throw",R.arg=o,c.next=X,W&&(c.method="next",c.arg=T),!!W}for(var E=this.tryEntries.length-1;E>=0;--E){var O=this.tryEntries[E],R=O.completion;if(O.tryLoc==="root")return A("end");if(O.tryLoc<=this.prev){var G=j.call(O,"catchLoc"),Y=j.call(O,"finallyLoc");if(G&&Y){if(this.prev<O.catchLoc)return A(O.catchLoc,!0);if(this.prev<O.finallyLoc)return A(O.finallyLoc)}else if(G){if(this.prev<O.catchLoc)return A(O.catchLoc,!0)}else{if(!Y)throw new Error("try statement without catch or finally");if(this.prev<O.finallyLoc)return A(O.finallyLoc)}}}},abrupt:function(o,c){for(var A=this.tryEntries.length-1;A>=0;--A){var E=this.tryEntries[A];if(E.tryLoc<=this.prev&&j.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var O=E;break}}O&&(o==="break"||o==="continue")&&O.tryLoc<=c&&c<=O.finallyLoc&&(O=null);var R=O?O.completion:{};return R.type=o,R.arg=c,O?(this.method="next",this.next=O.finallyLoc,g):this.complete(R)},complete:function(o,c){if(o.type==="throw")throw o.arg;return o.type==="break"||o.type==="continue"?this.next=o.arg:o.type==="return"?(this.rval=this.arg=o.arg,this.method="return",this.next="end"):o.type==="normal"&&c&&(this.next=c),g},finish:function(o){for(var c=this.tryEntries.length-1;c>=0;--c){var A=this.tryEntries[c];if(A.finallyLoc===o)return this.complete(A.completion,A.afterLoc),w(A),g}},catch:function(o){for(var c=this.tryEntries.length-1;c>=0;--c){var A=this.tryEntries[c];if(A.tryLoc===o){var E=A.completion;if(E.type==="throw"){var O=E.arg;w(A)}return O}}throw new Error("illegal catch attempt")},delegateYield:function(o,c,A){return this.delegate={iterator:m(o),resultName:c,nextLoc:A},this.method==="next"&&(this.arg=T),g}},P}(l(L=f.nmd(L))==="object"?L.exports:{});try{regeneratorRuntime=I}catch{Function("r","regeneratorRuntime = r")(I)}},(L,_,f)=>{function l(o,c){for(var A=0;A<c.length;A++){var E=c[A];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(o,E.key,E)}}function I(o,c){if(o){if(typeof o=="string")return P(o,c);var A=Object.prototype.toString.call(o).slice(8,-1);return A==="Object"&&o.constructor&&(A=o.constructor.name),A==="Map"||A==="Set"?Array.from(o):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?P(o,c):void 0}}function P(o,c){(c==null||c>o.length)&&(c=o.length);for(var A=0,E=new Array(c);A<c;A++)E[A]=o[A];return E}function T(o){return T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},T(o)}function N(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function j(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(c&&c.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),c&&x(o,c)}function x(o,c){return x=Object.setPrototypeOf||function(A,E){return A.__proto__=E,A},x(o,c)}function M(o){var c=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var A,E=C(o);if(c){var O=C(this).constructor;A=Reflect.construct(E,arguments,O)}else A=E.apply(this,arguments);return D(this,A)}}function D(o,c){return!c||T(c)!=="object"&&typeof c!="function"?function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(o):c}function C(o){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},C(o)}Object.defineProperty(_,"__esModule",{value:!0}),_.arrayByteLength=u,_.arraysToBytes=function(o){var c=o.length;if(c===1&&o[0]instanceof Uint8Array)return o[0];for(var A=0,E=0;E<c;E++)A+=u(o[E]);for(var O=0,R=new Uint8Array(A),G=0;G<c;G++){var Y=o[G];Y instanceof Uint8Array||(Y=typeof Y=="string"?t(Y):new Uint8Array(Y));var X=Y.byteLength;R.set(Y,O),O+=X}return R},_.assert=B,_.bytesToString=function(o){B(o!==null&&T(o)==="object"&&o.length!==void 0,"Invalid argument for bytesToString");var c=o.length,A=8192;if(c<A)return String.fromCharCode.apply(null,o);for(var E=[],O=0;O<c;O+=A){var R=Math.min(O+A,c),G=o.subarray(O,R);E.push(String.fromCharCode.apply(null,G))}return E.join("")},_.createObjectURL=function(o){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",A=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(URL.createObjectURL&&!A)return URL.createObjectURL(new Blob([o],{type:c}));for(var E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",O="data:".concat(c,";base64,"),R=0,G=o.length;R<G;R+=3){var Y=255&o[R],X=255&o[R+1],W=255&o[R+2],ee=Y>>2,te=(3&Y)<<4|X>>4,ae=R+1<G?(15&X)<<2|W>>6:64,Z=R+2<G?63&W:64;O+=E[ee]+E[te]+E[ae]+E[Z]}return O},_.createPromiseCapability=function(){var o=Object.create(null),c=!1;return Object.defineProperty(o,"settled",{get:function(){return c}}),o.promise=new Promise(function(A,E){o.resolve=function(O){c=!0,A(O)},o.reject=function(O){c=!0,E(O)}}),o},_.createValidAbsoluteUrl=function(o,c){if(!o)return null;try{var A=c?new URL(o,c):new URL(o);if(function(E){if(!E)return!1;switch(E.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(A))return A}catch{}return null},_.escapeString=function(o){return o.replace(/([()\\\n\r])/g,function(c){return c===`
4
4
  `?"\\n":c==="\r"?"\\r":"\\".concat(c)})},_.getModificationDate=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Date,c=[o.getUTCFullYear().toString(),(o.getUTCMonth()+1).toString().padStart(2,"0"),o.getUTCDate().toString().padStart(2,"0"),o.getUTCHours().toString().padStart(2,"0"),o.getUTCMinutes().toString().padStart(2,"0"),o.getUTCSeconds().toString().padStart(2,"0")];return c.join("")},_.getVerbosityLevel=function(){return K},_.info=function(o){K>=U.INFOS&&console.log("Info: ".concat(o))},_.isArrayBuffer=function(o){return T(o)==="object"&&o!==null&&o.byteLength!==void 0},_.isArrayEqual=function(o,c){if(o.length!==c.length)return!1;for(var A=0,E=o.length;A<E;A++)if(o[A]!==c[A])return!1;return!0},_.isAscii=function(o){return/^[\x00-\x7F]*$/.test(o)},_.isBool=function(o){return typeof o=="boolean"},_.isNum=function(o){return typeof o=="number"},_.isSameOrigin=function(o,c){var A;try{if(!(A=new URL(o)).origin||A.origin==="null")return!1}catch{return!1}var E=new URL(c,A);return A.origin===E.origin},_.isString=function(o){return typeof o=="string"},_.objectFromMap=function(o){var c,A,E,O=Object.create(null),R=function(W,ee){var te=typeof Symbol<"u"&&W[Symbol.iterator]||W["@@iterator"];if(!te){if(Array.isArray(W)||(te=I(W))||ee&&W&&typeof W.length=="number"){te&&(W=te);var ae=0,Z=function(){};return{s:Z,n:function(){return ae>=W.length?{done:!0}:{done:!1,value:W[ae++]}},e:function(Q){throw Q},f:Z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.