codex 1.6.9__py3-none-any.whl → 1.6.10__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 (419) hide show
  1. codex/librarian/covers/create.py +1 -1
  2. codex/librarian/importer/query_fks.py +1 -1
  3. codex/librarian/telemeter/time.py +24 -11
  4. codex/librarian/watchdog/db_snapshot.py +1 -1
  5. codex/models/comic.py +1 -1
  6. codex/search/backend.py +1 -1
  7. codex/static_root/assets/VCheckbox-BoSq-Gp8.45ea578c17b0.js +1 -0
  8. codex/static_root/assets/VCheckbox-BoSq-Gp8.45ea578c17b0.js.br +0 -0
  9. codex/static_root/assets/VCheckbox-BoSq-Gp8.45ea578c17b0.js.gz +0 -0
  10. codex/static_root/assets/VCheckbox-BoSq-Gp8.js +1 -0
  11. codex/static_root/assets/VCheckbox-BoSq-Gp8.js.br +0 -0
  12. codex/static_root/assets/VCheckbox-BoSq-Gp8.js.gz +0 -0
  13. codex/static_root/assets/VCheckboxBtn-k69hHqz6.a5c3131a12bf.js +1 -0
  14. codex/static_root/assets/VCheckboxBtn-k69hHqz6.a5c3131a12bf.js.br +0 -0
  15. codex/static_root/assets/VCheckboxBtn-k69hHqz6.a5c3131a12bf.js.gz +0 -0
  16. codex/static_root/assets/VCheckboxBtn-k69hHqz6.js +1 -0
  17. codex/static_root/assets/VCheckboxBtn-k69hHqz6.js.br +0 -0
  18. codex/static_root/assets/VCheckboxBtn-k69hHqz6.js.gz +0 -0
  19. codex/static_root/assets/{VCombobox-BiTvNSAL.d1884eaf76e6.js → VCombobox-CLEC9nAk.3ed4e3a0cb6e.js} +1 -1
  20. codex/static_root/assets/VCombobox-CLEC9nAk.3ed4e3a0cb6e.js.br +0 -0
  21. codex/static_root/assets/VCombobox-CLEC9nAk.3ed4e3a0cb6e.js.gz +0 -0
  22. codex/static_root/assets/{VCombobox-BiTvNSAL.js → VCombobox-CLEC9nAk.js} +1 -1
  23. codex/static_root/assets/VCombobox-CLEC9nAk.js.br +0 -0
  24. codex/static_root/assets/VCombobox-CLEC9nAk.js.gz +0 -0
  25. codex/static_root/assets/VDialog-Dir_-l5o.5de2881bebcc.js +1 -0
  26. codex/static_root/assets/VDialog-Dir_-l5o.5de2881bebcc.js.br +0 -0
  27. codex/static_root/assets/VDialog-Dir_-l5o.5de2881bebcc.js.gz +0 -0
  28. codex/static_root/assets/VDialog-Dir_-l5o.js +1 -0
  29. codex/static_root/assets/VDialog-Dir_-l5o.js.br +0 -0
  30. codex/static_root/assets/VDialog-Dir_-l5o.js.gz +0 -0
  31. codex/static_root/assets/{VExpansionPanels-paVX7c3D.3be9407a80fd.js → VExpansionPanels-DSywtH47.8bff92b5b38b.js} +1 -1
  32. codex/static_root/assets/VExpansionPanels-DSywtH47.8bff92b5b38b.js.br +0 -0
  33. codex/static_root/assets/VExpansionPanels-DSywtH47.8bff92b5b38b.js.gz +0 -0
  34. codex/static_root/assets/{VExpansionPanels-paVX7c3D.js → VExpansionPanels-DSywtH47.js} +1 -1
  35. codex/static_root/assets/VExpansionPanels-DSywtH47.js.br +0 -0
  36. codex/static_root/assets/VExpansionPanels-DSywtH47.js.gz +0 -0
  37. codex/static_root/assets/VRadioGroup-BwpxWbvH.1e52b683c2bf.js +1 -0
  38. codex/static_root/assets/VRadioGroup-BwpxWbvH.1e52b683c2bf.js.br +0 -0
  39. codex/static_root/assets/VRadioGroup-BwpxWbvH.1e52b683c2bf.js.gz +0 -0
  40. codex/static_root/assets/VRadioGroup-BwpxWbvH.js +1 -0
  41. codex/static_root/assets/VRadioGroup-BwpxWbvH.js.br +0 -0
  42. codex/static_root/assets/VRadioGroup-BwpxWbvH.js.gz +0 -0
  43. codex/static_root/assets/{VSelect-Cwd7Ke2J.fd98b8f830af.js → VSelect-cGleKlm7.82f880fcf439.js} +1 -1
  44. codex/static_root/assets/VSelect-cGleKlm7.82f880fcf439.js.br +0 -0
  45. codex/static_root/assets/VSelect-cGleKlm7.82f880fcf439.js.gz +0 -0
  46. codex/static_root/assets/{VSelect-Cwd7Ke2J.js → VSelect-cGleKlm7.js} +1 -1
  47. codex/static_root/assets/VSelect-cGleKlm7.js.br +0 -0
  48. codex/static_root/assets/VSelect-cGleKlm7.js.gz +0 -0
  49. codex/static_root/assets/VSelectionControl-_6sv90xF.74f88fc610a2.js +1 -0
  50. codex/static_root/assets/VSelectionControl-_6sv90xF.74f88fc610a2.js.br +0 -0
  51. codex/static_root/assets/VSelectionControl-_6sv90xF.74f88fc610a2.js.gz +0 -0
  52. codex/static_root/assets/VSelectionControl-_6sv90xF.js +1 -0
  53. codex/static_root/assets/VSelectionControl-_6sv90xF.js.br +0 -0
  54. codex/static_root/assets/VSelectionControl-_6sv90xF.js.gz +0 -0
  55. codex/static_root/assets/{VSlideGroup-D4BlVRr8.10a79fd58813.js → VSlideGroup-DbQOqyzs.183374da65d9.js} +1 -1
  56. codex/static_root/assets/VSlideGroup-DbQOqyzs.183374da65d9.js.br +0 -0
  57. codex/static_root/assets/VSlideGroup-DbQOqyzs.183374da65d9.js.gz +0 -0
  58. codex/static_root/assets/{VSlideGroup-D4BlVRr8.js → VSlideGroup-DbQOqyzs.js} +1 -1
  59. codex/static_root/assets/VSlideGroup-DbQOqyzs.js.br +0 -0
  60. codex/static_root/assets/VSlideGroup-DbQOqyzs.js.gz +0 -0
  61. codex/static_root/assets/{VTable-IQf8Xj4J.2e69b517b235.js → VTable-CF4zd2t_.3ade1377ce12.js} +1 -1
  62. codex/static_root/assets/VTable-CF4zd2t_.3ade1377ce12.js.br +0 -0
  63. codex/static_root/assets/VTable-CF4zd2t_.3ade1377ce12.js.gz +0 -0
  64. codex/static_root/assets/{VTable-IQf8Xj4J.js → VTable-CF4zd2t_.js} +1 -1
  65. codex/static_root/assets/VTable-CF4zd2t_.js.br +0 -0
  66. codex/static_root/assets/VTable-CF4zd2t_.js.gz +0 -0
  67. codex/static_root/assets/VTextField-DcZhRvPB.5eba90d2c45f.js +1 -0
  68. codex/static_root/assets/VTextField-DcZhRvPB.5eba90d2c45f.js.br +0 -0
  69. codex/static_root/assets/VTextField-DcZhRvPB.5eba90d2c45f.js.gz +0 -0
  70. codex/static_root/assets/VTextField-DcZhRvPB.js +1 -0
  71. codex/static_root/assets/VTextField-DcZhRvPB.js.br +0 -0
  72. codex/static_root/assets/VTextField-DcZhRvPB.js.gz +0 -0
  73. codex/static_root/assets/{VWindowItem-clwRzf0Z.01620e37f020.js → VWindowItem-0P4rgYDy.b96b44e20f8d.js} +1 -1
  74. codex/static_root/assets/VWindowItem-0P4rgYDy.b96b44e20f8d.js.br +0 -0
  75. codex/static_root/assets/VWindowItem-0P4rgYDy.b96b44e20f8d.js.gz +0 -0
  76. codex/static_root/assets/{VWindowItem-clwRzf0Z.js → VWindowItem-0P4rgYDy.js} +1 -1
  77. codex/static_root/assets/VWindowItem-0P4rgYDy.js.br +0 -0
  78. codex/static_root/assets/VWindowItem-0P4rgYDy.js.gz +0 -0
  79. codex/static_root/assets/admin-CM5v3ffD.1889b8c1df83.js +1 -0
  80. codex/static_root/assets/admin-CM5v3ffD.1889b8c1df83.js.br +0 -0
  81. codex/static_root/assets/admin-CM5v3ffD.1889b8c1df83.js.gz +0 -0
  82. codex/static_root/assets/admin-CM5v3ffD.js +1 -0
  83. codex/static_root/assets/admin-CM5v3ffD.js.br +0 -0
  84. codex/static_root/assets/admin-CM5v3ffD.js.gz +0 -0
  85. codex/static_root/assets/admin-drawer-panel-D_qGurp0.2904617d0407.js +61 -0
  86. codex/static_root/assets/admin-drawer-panel-D_qGurp0.2904617d0407.js.br +0 -0
  87. codex/static_root/assets/admin-drawer-panel-D_qGurp0.2904617d0407.js.gz +0 -0
  88. codex/static_root/assets/admin-drawer-panel-D_qGurp0.js +61 -0
  89. codex/static_root/assets/admin-drawer-panel-D_qGurp0.js.br +0 -0
  90. codex/static_root/assets/admin-drawer-panel-D_qGurp0.js.gz +0 -0
  91. codex/static_root/assets/{browser-Cy0OgQJC.css → browser-B61tfW_K.61b1d18f4479.css} +1 -1
  92. codex/static_root/assets/browser-B61tfW_K.61b1d18f4479.css.br +0 -0
  93. codex/static_root/assets/browser-B61tfW_K.61b1d18f4479.css.gz +0 -0
  94. codex/static_root/assets/{browser-Cy0OgQJC.fabbd1aaffcf.css → browser-B61tfW_K.css} +1 -1
  95. codex/static_root/assets/browser-B61tfW_K.css.br +0 -0
  96. codex/static_root/assets/browser-B61tfW_K.css.gz +0 -0
  97. codex/static_root/assets/browser-DnLOg4a-.3d16651e4daa.js +1 -0
  98. codex/static_root/assets/browser-DnLOg4a-.3d16651e4daa.js.br +0 -0
  99. codex/static_root/assets/browser-DnLOg4a-.3d16651e4daa.js.gz +0 -0
  100. codex/static_root/assets/browser-DnLOg4a-.js +1 -0
  101. codex/static_root/assets/browser-DnLOg4a-.js.br +0 -0
  102. codex/static_root/assets/browser-DnLOg4a-.js.gz +0 -0
  103. codex/static_root/assets/change-password-dialog-B_FNP488.6009508df02f.js +1 -0
  104. codex/static_root/assets/change-password-dialog-B_FNP488.6009508df02f.js.br +0 -0
  105. codex/static_root/assets/change-password-dialog-B_FNP488.6009508df02f.js.gz +0 -0
  106. codex/static_root/assets/change-password-dialog-B_FNP488.js +1 -0
  107. codex/static_root/assets/change-password-dialog-B_FNP488.js.br +0 -0
  108. codex/static_root/assets/change-password-dialog-B_FNP488.js.gz +0 -0
  109. codex/static_root/assets/confirm-dialog-CEegFOPy.49243b6548c7.js +1 -0
  110. codex/static_root/assets/confirm-dialog-CEegFOPy.49243b6548c7.js.br +0 -0
  111. codex/static_root/assets/confirm-dialog-CEegFOPy.49243b6548c7.js.gz +0 -0
  112. codex/static_root/assets/confirm-dialog-CEegFOPy.js +1 -0
  113. codex/static_root/assets/confirm-dialog-CEegFOPy.js.br +0 -0
  114. codex/static_root/assets/confirm-dialog-CEegFOPy.js.gz +0 -0
  115. codex/static_root/assets/{datetime-column-D93BsvcX.5caf2255bdc3.js → datetime-column-C10LMvbg.dd6d719d5ceb.js} +1 -1
  116. codex/static_root/assets/datetime-column-C10LMvbg.dd6d719d5ceb.js.br +0 -0
  117. codex/static_root/assets/datetime-column-C10LMvbg.dd6d719d5ceb.js.gz +0 -0
  118. codex/static_root/assets/{datetime-column-D93BsvcX.js → datetime-column-C10LMvbg.js} +1 -1
  119. codex/static_root/assets/datetime-column-C10LMvbg.js.br +0 -0
  120. codex/static_root/assets/datetime-column-C10LMvbg.js.gz +0 -0
  121. codex/static_root/assets/{filter-ji46VTOR.f7b9ed6fec13.js → filter-C96Ludgn.7238da6d21fd.js} +1 -1
  122. codex/static_root/assets/filter-C96Ludgn.7238da6d21fd.js.br +0 -0
  123. codex/static_root/assets/filter-C96Ludgn.7238da6d21fd.js.gz +0 -0
  124. codex/static_root/assets/{filter-ji46VTOR.js → filter-C96Ludgn.js} +1 -1
  125. codex/static_root/assets/filter-C96Ludgn.js.br +0 -0
  126. codex/static_root/assets/filter-C96Ludgn.js.gz +0 -0
  127. codex/static_root/assets/flag-tab-C3MlArdN.2a06f46f4951.js +1 -0
  128. codex/static_root/assets/flag-tab-C3MlArdN.2a06f46f4951.js.br +0 -0
  129. codex/static_root/assets/flag-tab-C3MlArdN.2a06f46f4951.js.gz +0 -0
  130. codex/static_root/assets/flag-tab-C3MlArdN.js +1 -0
  131. codex/static_root/assets/flag-tab-C3MlArdN.js.br +0 -0
  132. codex/static_root/assets/flag-tab-C3MlArdN.js.gz +0 -0
  133. codex/static_root/assets/group-tab-BcQtQB5p.41780aa82feb.js +1 -0
  134. codex/static_root/assets/group-tab-BcQtQB5p.41780aa82feb.js.br +0 -0
  135. codex/static_root/assets/group-tab-BcQtQB5p.41780aa82feb.js.gz +0 -0
  136. codex/static_root/assets/group-tab-BcQtQB5p.js +1 -0
  137. codex/static_root/assets/group-tab-BcQtQB5p.js.br +0 -0
  138. codex/static_root/assets/group-tab-BcQtQB5p.js.gz +0 -0
  139. codex/static_root/assets/http-error-DskCJS4d.e51aabff2171.js +1 -0
  140. codex/static_root/assets/http-error-DskCJS4d.e51aabff2171.js.br +0 -0
  141. codex/static_root/assets/http-error-DskCJS4d.e51aabff2171.js.gz +0 -0
  142. codex/static_root/assets/http-error-DskCJS4d.js +1 -0
  143. codex/static_root/assets/http-error-DskCJS4d.js.br +0 -0
  144. codex/static_root/assets/http-error-DskCJS4d.js.gz +0 -0
  145. codex/static_root/assets/library-tab-ooPl8bku.bfcc0f7b4432.js +1 -0
  146. codex/static_root/assets/library-tab-ooPl8bku.bfcc0f7b4432.js.br +0 -0
  147. codex/static_root/assets/library-tab-ooPl8bku.bfcc0f7b4432.js.gz +0 -0
  148. codex/static_root/assets/library-tab-ooPl8bku.js +1 -0
  149. codex/static_root/assets/library-tab-ooPl8bku.js.br +0 -0
  150. codex/static_root/assets/library-tab-ooPl8bku.js.gz +0 -0
  151. codex/static_root/assets/main-C_v3V6g9.40fbf6d42a93.js +1 -0
  152. codex/static_root/assets/main-C_v3V6g9.40fbf6d42a93.js.br +0 -0
  153. codex/static_root/assets/main-C_v3V6g9.40fbf6d42a93.js.gz +0 -0
  154. codex/static_root/assets/main-C_v3V6g9.js +1 -0
  155. codex/static_root/assets/main-C_v3V6g9.js.br +0 -0
  156. codex/static_root/assets/main-C_v3V6g9.js.gz +0 -0
  157. codex/static_root/assets/pagination-toolbar-DytNZNBD.be56c9194ecb.js +1 -0
  158. codex/static_root/assets/pagination-toolbar-DytNZNBD.be56c9194ecb.js.br +0 -0
  159. codex/static_root/assets/pagination-toolbar-DytNZNBD.be56c9194ecb.js.gz +0 -0
  160. codex/static_root/assets/pagination-toolbar-DytNZNBD.js +1 -0
  161. codex/static_root/assets/pagination-toolbar-DytNZNBD.js.br +0 -0
  162. codex/static_root/assets/pagination-toolbar-DytNZNBD.js.gz +0 -0
  163. codex/static_root/assets/{pdf-doc-RJuKdcoH.4be4a68338de.js → pdf-doc-k6Gv5nwG.22b85beec022.js} +1 -1
  164. codex/static_root/assets/pdf-doc-k6Gv5nwG.22b85beec022.js.br +0 -0
  165. codex/static_root/assets/pdf-doc-k6Gv5nwG.22b85beec022.js.gz +0 -0
  166. codex/static_root/assets/{pdf-doc-RJuKdcoH.js → pdf-doc-k6Gv5nwG.js} +1 -1
  167. codex/static_root/assets/pdf-doc-k6Gv5nwG.js.br +0 -0
  168. codex/static_root/assets/pdf-doc-k6Gv5nwG.js.gz +0 -0
  169. codex/static_root/assets/{reader-BYz5uPEm.e2db8893aa10.js → reader-RcTjScAE.41459ab8f803.js} +2 -2
  170. codex/static_root/assets/reader-RcTjScAE.41459ab8f803.js.br +0 -0
  171. codex/static_root/assets/reader-RcTjScAE.41459ab8f803.js.gz +0 -0
  172. codex/static_root/assets/{reader-BYz5uPEm.js → reader-RcTjScAE.js} +2 -2
  173. codex/static_root/assets/reader-RcTjScAE.js.br +0 -0
  174. codex/static_root/assets/reader-RcTjScAE.js.gz +0 -0
  175. codex/static_root/assets/relation-chips-DE08G87m.ea1b8391feff.js +1 -0
  176. codex/static_root/assets/relation-chips-DE08G87m.ea1b8391feff.js.br +0 -0
  177. codex/static_root/assets/relation-chips-DE08G87m.ea1b8391feff.js.gz +0 -0
  178. codex/static_root/assets/relation-chips-DE08G87m.js +1 -0
  179. codex/static_root/assets/relation-chips-DE08G87m.js.br +0 -0
  180. codex/static_root/assets/relation-chips-DE08G87m.js.gz +0 -0
  181. codex/static_root/assets/{settings-drawer-C5t3OYPS.3fb97d35ae92.js → settings-drawer-BF5NdklY.0c3f4f51c12f.js} +2 -2
  182. codex/static_root/assets/settings-drawer-BF5NdklY.0c3f4f51c12f.js.br +0 -0
  183. codex/static_root/assets/settings-drawer-BF5NdklY.0c3f4f51c12f.js.gz +0 -0
  184. codex/static_root/assets/{settings-drawer-C5t3OYPS.js → settings-drawer-BF5NdklY.js} +2 -2
  185. codex/static_root/assets/settings-drawer-BF5NdklY.js.br +0 -0
  186. codex/static_root/assets/settings-drawer-BF5NdklY.js.gz +0 -0
  187. codex/static_root/assets/stats-tab-pGjIjQgL.f5f939abe108.js +1 -0
  188. codex/static_root/assets/stats-tab-pGjIjQgL.f5f939abe108.js.br +0 -0
  189. codex/static_root/assets/stats-tab-pGjIjQgL.f5f939abe108.js.gz +0 -0
  190. codex/static_root/assets/stats-tab-pGjIjQgL.js +1 -0
  191. codex/static_root/assets/stats-tab-pGjIjQgL.js.br +0 -0
  192. codex/static_root/assets/stats-tab-pGjIjQgL.js.gz +0 -0
  193. codex/static_root/assets/task-tab-DTZ-yJon.2000bd142ca2.js +1 -0
  194. codex/static_root/assets/task-tab-DTZ-yJon.2000bd142ca2.js.br +0 -0
  195. codex/static_root/assets/task-tab-DTZ-yJon.2000bd142ca2.js.gz +0 -0
  196. codex/static_root/assets/task-tab-DTZ-yJon.js +1 -0
  197. codex/static_root/assets/task-tab-DTZ-yJon.js.br +0 -0
  198. codex/static_root/assets/task-tab-DTZ-yJon.js.gz +0 -0
  199. codex/static_root/assets/unauthorized-BlNvdM7v.e3a8b210f100.js +1 -0
  200. codex/static_root/assets/unauthorized-BlNvdM7v.e3a8b210f100.js.br +0 -0
  201. codex/static_root/assets/unauthorized-BlNvdM7v.e3a8b210f100.js.gz +0 -0
  202. codex/static_root/assets/unauthorized-BlNvdM7v.js +1 -0
  203. codex/static_root/assets/unauthorized-BlNvdM7v.js.br +0 -0
  204. codex/static_root/assets/unauthorized-BlNvdM7v.js.gz +0 -0
  205. codex/static_root/assets/{unauthorized-DGIM1VFy.c93d0b3ea5a4.css → unauthorized-YhYCb_lH.9b3ed0ae3331.css} +1 -1
  206. codex/static_root/assets/unauthorized-YhYCb_lH.9b3ed0ae3331.css.br +0 -0
  207. codex/static_root/assets/unauthorized-YhYCb_lH.9b3ed0ae3331.css.gz +0 -0
  208. codex/static_root/assets/{unauthorized-DGIM1VFy.css → unauthorized-YhYCb_lH.css} +1 -1
  209. codex/static_root/assets/unauthorized-YhYCb_lH.css.br +0 -0
  210. codex/static_root/assets/unauthorized-YhYCb_lH.css.gz +0 -0
  211. codex/static_root/assets/user-tab-r6e-d5QN.30aebcf4898f.js +1 -0
  212. codex/static_root/assets/user-tab-r6e-d5QN.30aebcf4898f.js.br +0 -0
  213. codex/static_root/assets/user-tab-r6e-d5QN.30aebcf4898f.js.gz +0 -0
  214. codex/static_root/assets/user-tab-r6e-d5QN.js +1 -0
  215. codex/static_root/assets/user-tab-r6e-d5QN.js.br +0 -0
  216. codex/static_root/assets/user-tab-r6e-d5QN.js.gz +0 -0
  217. codex/static_root/{manifest.3d6dd67354d1.json → manifest.a300a8e1e4f3.json} +230 -231
  218. codex/static_root/manifest.a300a8e1e4f3.json.br +0 -0
  219. codex/static_root/manifest.a300a8e1e4f3.json.gz +0 -0
  220. codex/static_root/manifest.json +230 -231
  221. codex/static_root/manifest.json.br +0 -0
  222. codex/static_root/manifest.json.gz +0 -0
  223. codex/static_root/staticfiles.json +1 -1
  224. codex/views/browser/filters/search.py +1 -1
  225. codex/views/browser/order_by.py +1 -1
  226. codex/views/mixins.py +1 -1
  227. codex/views/reader/arcs.py +1 -1
  228. codex/views/reader/books.py +1 -1
  229. {codex-1.6.9.dist-info → codex-1.6.10.dist-info}/METADATA +2 -2
  230. {codex-1.6.9.dist-info → codex-1.6.10.dist-info}/RECORD +233 -233
  231. codex/static_root/assets/VCheckbox-dIScsEcb.d54e90dd2ea2.js +0 -1
  232. codex/static_root/assets/VCheckbox-dIScsEcb.d54e90dd2ea2.js.br +0 -0
  233. codex/static_root/assets/VCheckbox-dIScsEcb.d54e90dd2ea2.js.gz +0 -0
  234. codex/static_root/assets/VCheckbox-dIScsEcb.js +0 -1
  235. codex/static_root/assets/VCheckbox-dIScsEcb.js.br +0 -0
  236. codex/static_root/assets/VCheckbox-dIScsEcb.js.gz +0 -0
  237. codex/static_root/assets/VCheckboxBtn-BpLxL6DP.a4cfab2286b6.js +0 -1
  238. codex/static_root/assets/VCheckboxBtn-BpLxL6DP.a4cfab2286b6.js.br +0 -0
  239. codex/static_root/assets/VCheckboxBtn-BpLxL6DP.a4cfab2286b6.js.gz +0 -0
  240. codex/static_root/assets/VCheckboxBtn-BpLxL6DP.js +0 -1
  241. codex/static_root/assets/VCheckboxBtn-BpLxL6DP.js.br +0 -0
  242. codex/static_root/assets/VCheckboxBtn-BpLxL6DP.js.gz +0 -0
  243. codex/static_root/assets/VCombobox-BiTvNSAL.d1884eaf76e6.js.br +0 -0
  244. codex/static_root/assets/VCombobox-BiTvNSAL.d1884eaf76e6.js.gz +0 -0
  245. codex/static_root/assets/VCombobox-BiTvNSAL.js.br +0 -0
  246. codex/static_root/assets/VCombobox-BiTvNSAL.js.gz +0 -0
  247. codex/static_root/assets/VDialog-DO_IeNl2.1e644515ee26.js +0 -1
  248. codex/static_root/assets/VDialog-DO_IeNl2.1e644515ee26.js.br +0 -0
  249. codex/static_root/assets/VDialog-DO_IeNl2.1e644515ee26.js.gz +0 -0
  250. codex/static_root/assets/VDialog-DO_IeNl2.js +0 -1
  251. codex/static_root/assets/VDialog-DO_IeNl2.js.br +0 -0
  252. codex/static_root/assets/VDialog-DO_IeNl2.js.gz +0 -0
  253. codex/static_root/assets/VExpansionPanels-paVX7c3D.3be9407a80fd.js.br +0 -0
  254. codex/static_root/assets/VExpansionPanels-paVX7c3D.3be9407a80fd.js.gz +0 -0
  255. codex/static_root/assets/VExpansionPanels-paVX7c3D.js.br +0 -0
  256. codex/static_root/assets/VExpansionPanels-paVX7c3D.js.gz +0 -0
  257. codex/static_root/assets/VRadioGroup-CLZGmBdz.1e41ea70fba8.js +0 -1
  258. codex/static_root/assets/VRadioGroup-CLZGmBdz.1e41ea70fba8.js.br +0 -0
  259. codex/static_root/assets/VRadioGroup-CLZGmBdz.1e41ea70fba8.js.gz +0 -0
  260. codex/static_root/assets/VRadioGroup-CLZGmBdz.js +0 -1
  261. codex/static_root/assets/VRadioGroup-CLZGmBdz.js.br +0 -0
  262. codex/static_root/assets/VRadioGroup-CLZGmBdz.js.gz +0 -0
  263. codex/static_root/assets/VSelect-Cwd7Ke2J.fd98b8f830af.js.br +0 -0
  264. codex/static_root/assets/VSelect-Cwd7Ke2J.fd98b8f830af.js.gz +0 -0
  265. codex/static_root/assets/VSelect-Cwd7Ke2J.js.br +0 -0
  266. codex/static_root/assets/VSelect-Cwd7Ke2J.js.gz +0 -0
  267. codex/static_root/assets/VSelectionControl-BTjn8uTI.3e9f6e646a35.js +0 -1
  268. codex/static_root/assets/VSelectionControl-BTjn8uTI.3e9f6e646a35.js.br +0 -0
  269. codex/static_root/assets/VSelectionControl-BTjn8uTI.3e9f6e646a35.js.gz +0 -0
  270. codex/static_root/assets/VSelectionControl-BTjn8uTI.js +0 -1
  271. codex/static_root/assets/VSelectionControl-BTjn8uTI.js.br +0 -0
  272. codex/static_root/assets/VSelectionControl-BTjn8uTI.js.gz +0 -0
  273. codex/static_root/assets/VSlideGroup-D4BlVRr8.10a79fd58813.js.br +0 -0
  274. codex/static_root/assets/VSlideGroup-D4BlVRr8.10a79fd58813.js.gz +0 -0
  275. codex/static_root/assets/VSlideGroup-D4BlVRr8.js.br +0 -0
  276. codex/static_root/assets/VSlideGroup-D4BlVRr8.js.gz +0 -0
  277. codex/static_root/assets/VTable-IQf8Xj4J.2e69b517b235.js.br +0 -0
  278. codex/static_root/assets/VTable-IQf8Xj4J.2e69b517b235.js.gz +0 -0
  279. codex/static_root/assets/VTable-IQf8Xj4J.js.br +0 -0
  280. codex/static_root/assets/VTable-IQf8Xj4J.js.gz +0 -0
  281. codex/static_root/assets/VTextField-DKXmWQyx.53d9e13b9847.js +0 -1
  282. codex/static_root/assets/VTextField-DKXmWQyx.53d9e13b9847.js.br +0 -0
  283. codex/static_root/assets/VTextField-DKXmWQyx.53d9e13b9847.js.gz +0 -0
  284. codex/static_root/assets/VTextField-DKXmWQyx.js +0 -1
  285. codex/static_root/assets/VTextField-DKXmWQyx.js.br +0 -0
  286. codex/static_root/assets/VTextField-DKXmWQyx.js.gz +0 -0
  287. codex/static_root/assets/VWindowItem-clwRzf0Z.01620e37f020.js.br +0 -0
  288. codex/static_root/assets/VWindowItem-clwRzf0Z.01620e37f020.js.gz +0 -0
  289. codex/static_root/assets/VWindowItem-clwRzf0Z.js.br +0 -0
  290. codex/static_root/assets/VWindowItem-clwRzf0Z.js.gz +0 -0
  291. codex/static_root/assets/admin-BMM4khnn.eeb686da7f67.js +0 -1
  292. codex/static_root/assets/admin-BMM4khnn.eeb686da7f67.js.br +0 -0
  293. codex/static_root/assets/admin-BMM4khnn.eeb686da7f67.js.gz +0 -0
  294. codex/static_root/assets/admin-BMM4khnn.js +0 -1
  295. codex/static_root/assets/admin-BMM4khnn.js.br +0 -0
  296. codex/static_root/assets/admin-BMM4khnn.js.gz +0 -0
  297. codex/static_root/assets/admin-drawer-panel-SQytza6T.d94cc92fef08.js +0 -56
  298. codex/static_root/assets/admin-drawer-panel-SQytza6T.d94cc92fef08.js.br +0 -0
  299. codex/static_root/assets/admin-drawer-panel-SQytza6T.d94cc92fef08.js.gz +0 -0
  300. codex/static_root/assets/admin-drawer-panel-SQytza6T.js +0 -56
  301. codex/static_root/assets/admin-drawer-panel-SQytza6T.js.br +0 -0
  302. codex/static_root/assets/admin-drawer-panel-SQytza6T.js.gz +0 -0
  303. codex/static_root/assets/browser-Cy0OgQJC.css.br +0 -0
  304. codex/static_root/assets/browser-Cy0OgQJC.css.gz +0 -0
  305. codex/static_root/assets/browser-Cy0OgQJC.fabbd1aaffcf.css.br +0 -0
  306. codex/static_root/assets/browser-Cy0OgQJC.fabbd1aaffcf.css.gz +0 -0
  307. codex/static_root/assets/browser-D6WDXwID.011e4a20946c.js +0 -1
  308. codex/static_root/assets/browser-D6WDXwID.011e4a20946c.js.br +0 -0
  309. codex/static_root/assets/browser-D6WDXwID.011e4a20946c.js.gz +0 -0
  310. codex/static_root/assets/browser-D6WDXwID.js +0 -1
  311. codex/static_root/assets/browser-D6WDXwID.js.br +0 -0
  312. codex/static_root/assets/browser-D6WDXwID.js.gz +0 -0
  313. codex/static_root/assets/change-password-dialog-CD1pdXK9.8b94f4f171c6.js +0 -1
  314. codex/static_root/assets/change-password-dialog-CD1pdXK9.8b94f4f171c6.js.br +0 -0
  315. codex/static_root/assets/change-password-dialog-CD1pdXK9.8b94f4f171c6.js.gz +0 -0
  316. codex/static_root/assets/change-password-dialog-CD1pdXK9.js +0 -1
  317. codex/static_root/assets/change-password-dialog-CD1pdXK9.js.br +0 -0
  318. codex/static_root/assets/change-password-dialog-CD1pdXK9.js.gz +0 -0
  319. codex/static_root/assets/confirm-dialog-_HotKBZZ.2e586037b3e1.js +0 -1
  320. codex/static_root/assets/confirm-dialog-_HotKBZZ.2e586037b3e1.js.br +0 -0
  321. codex/static_root/assets/confirm-dialog-_HotKBZZ.2e586037b3e1.js.gz +0 -0
  322. codex/static_root/assets/confirm-dialog-_HotKBZZ.js +0 -1
  323. codex/static_root/assets/confirm-dialog-_HotKBZZ.js.br +0 -0
  324. codex/static_root/assets/confirm-dialog-_HotKBZZ.js.gz +0 -0
  325. codex/static_root/assets/datetime-column-D93BsvcX.5caf2255bdc3.js.br +0 -0
  326. codex/static_root/assets/datetime-column-D93BsvcX.5caf2255bdc3.js.gz +0 -0
  327. codex/static_root/assets/datetime-column-D93BsvcX.js.br +0 -0
  328. codex/static_root/assets/datetime-column-D93BsvcX.js.gz +0 -0
  329. codex/static_root/assets/filter-ji46VTOR.f7b9ed6fec13.js.br +0 -0
  330. codex/static_root/assets/filter-ji46VTOR.f7b9ed6fec13.js.gz +0 -0
  331. codex/static_root/assets/filter-ji46VTOR.js.br +0 -0
  332. codex/static_root/assets/filter-ji46VTOR.js.gz +0 -0
  333. codex/static_root/assets/flag-tab-CRfBTBsz.0d8f084eea6e.js +0 -1
  334. codex/static_root/assets/flag-tab-CRfBTBsz.0d8f084eea6e.js.br +0 -0
  335. codex/static_root/assets/flag-tab-CRfBTBsz.0d8f084eea6e.js.gz +0 -0
  336. codex/static_root/assets/flag-tab-CRfBTBsz.js +0 -1
  337. codex/static_root/assets/flag-tab-CRfBTBsz.js.br +0 -0
  338. codex/static_root/assets/flag-tab-CRfBTBsz.js.gz +0 -0
  339. codex/static_root/assets/group-tab-CMX07Y1c.98dd5e2d0bfc.js +0 -1
  340. codex/static_root/assets/group-tab-CMX07Y1c.98dd5e2d0bfc.js.br +0 -0
  341. codex/static_root/assets/group-tab-CMX07Y1c.98dd5e2d0bfc.js.gz +0 -0
  342. codex/static_root/assets/group-tab-CMX07Y1c.js +0 -1
  343. codex/static_root/assets/group-tab-CMX07Y1c.js.br +0 -0
  344. codex/static_root/assets/group-tab-CMX07Y1c.js.gz +0 -0
  345. codex/static_root/assets/http-error-CzJHczxG.6ee3173d40a5.js +0 -1
  346. codex/static_root/assets/http-error-CzJHczxG.6ee3173d40a5.js.br +0 -0
  347. codex/static_root/assets/http-error-CzJHczxG.6ee3173d40a5.js.gz +0 -0
  348. codex/static_root/assets/http-error-CzJHczxG.js +0 -1
  349. codex/static_root/assets/http-error-CzJHczxG.js.br +0 -0
  350. codex/static_root/assets/http-error-CzJHczxG.js.gz +0 -0
  351. codex/static_root/assets/library-tab-DfZENbbA.1117ad225bde.js +0 -1
  352. codex/static_root/assets/library-tab-DfZENbbA.1117ad225bde.js.br +0 -0
  353. codex/static_root/assets/library-tab-DfZENbbA.1117ad225bde.js.gz +0 -0
  354. codex/static_root/assets/library-tab-DfZENbbA.js +0 -1
  355. codex/static_root/assets/library-tab-DfZENbbA.js.br +0 -0
  356. codex/static_root/assets/library-tab-DfZENbbA.js.gz +0 -0
  357. codex/static_root/assets/main-EAqCu0p6.e749a8bc2923.js +0 -6
  358. codex/static_root/assets/main-EAqCu0p6.e749a8bc2923.js.br +0 -0
  359. codex/static_root/assets/main-EAqCu0p6.e749a8bc2923.js.gz +0 -0
  360. codex/static_root/assets/main-EAqCu0p6.js +0 -6
  361. codex/static_root/assets/main-EAqCu0p6.js.br +0 -0
  362. codex/static_root/assets/main-EAqCu0p6.js.gz +0 -0
  363. codex/static_root/assets/pagination-toolbar-m4o9cYJ6.df24ef17e904.js +0 -1
  364. codex/static_root/assets/pagination-toolbar-m4o9cYJ6.df24ef17e904.js.br +0 -0
  365. codex/static_root/assets/pagination-toolbar-m4o9cYJ6.df24ef17e904.js.gz +0 -0
  366. codex/static_root/assets/pagination-toolbar-m4o9cYJ6.js +0 -1
  367. codex/static_root/assets/pagination-toolbar-m4o9cYJ6.js.br +0 -0
  368. codex/static_root/assets/pagination-toolbar-m4o9cYJ6.js.gz +0 -0
  369. codex/static_root/assets/pdf-doc-RJuKdcoH.4be4a68338de.js.br +0 -0
  370. codex/static_root/assets/pdf-doc-RJuKdcoH.4be4a68338de.js.gz +0 -0
  371. codex/static_root/assets/pdf-doc-RJuKdcoH.js.br +0 -0
  372. codex/static_root/assets/pdf-doc-RJuKdcoH.js.gz +0 -0
  373. codex/static_root/assets/reader-BYz5uPEm.e2db8893aa10.js.br +0 -0
  374. codex/static_root/assets/reader-BYz5uPEm.e2db8893aa10.js.gz +0 -0
  375. codex/static_root/assets/reader-BYz5uPEm.js.br +0 -0
  376. codex/static_root/assets/reader-BYz5uPEm.js.gz +0 -0
  377. codex/static_root/assets/relation-chips-BQX3oeiS.acfd60628c35.js +0 -1
  378. codex/static_root/assets/relation-chips-BQX3oeiS.acfd60628c35.js.br +0 -0
  379. codex/static_root/assets/relation-chips-BQX3oeiS.acfd60628c35.js.gz +0 -0
  380. codex/static_root/assets/relation-chips-BQX3oeiS.js +0 -1
  381. codex/static_root/assets/relation-chips-BQX3oeiS.js.br +0 -0
  382. codex/static_root/assets/relation-chips-BQX3oeiS.js.gz +0 -0
  383. codex/static_root/assets/settings-drawer-C5t3OYPS.3fb97d35ae92.js.br +0 -0
  384. codex/static_root/assets/settings-drawer-C5t3OYPS.3fb97d35ae92.js.gz +0 -0
  385. codex/static_root/assets/settings-drawer-C5t3OYPS.js.br +0 -0
  386. codex/static_root/assets/settings-drawer-C5t3OYPS.js.gz +0 -0
  387. codex/static_root/assets/stats-tab-BZrcMjtP.b8d127a34aa7.js +0 -1
  388. codex/static_root/assets/stats-tab-BZrcMjtP.b8d127a34aa7.js.br +0 -0
  389. codex/static_root/assets/stats-tab-BZrcMjtP.b8d127a34aa7.js.gz +0 -0
  390. codex/static_root/assets/stats-tab-BZrcMjtP.js +0 -1
  391. codex/static_root/assets/stats-tab-BZrcMjtP.js.br +0 -0
  392. codex/static_root/assets/stats-tab-BZrcMjtP.js.gz +0 -0
  393. codex/static_root/assets/task-tab-aLrGKXQT.f8498ed38d40.js +0 -1
  394. codex/static_root/assets/task-tab-aLrGKXQT.f8498ed38d40.js.br +0 -0
  395. codex/static_root/assets/task-tab-aLrGKXQT.f8498ed38d40.js.gz +0 -0
  396. codex/static_root/assets/task-tab-aLrGKXQT.js +0 -1
  397. codex/static_root/assets/task-tab-aLrGKXQT.js.br +0 -0
  398. codex/static_root/assets/task-tab-aLrGKXQT.js.gz +0 -0
  399. codex/static_root/assets/unauthorized-DGIM1VFy.c93d0b3ea5a4.css.br +0 -0
  400. codex/static_root/assets/unauthorized-DGIM1VFy.c93d0b3ea5a4.css.gz +0 -0
  401. codex/static_root/assets/unauthorized-DGIM1VFy.css.br +0 -0
  402. codex/static_root/assets/unauthorized-DGIM1VFy.css.gz +0 -0
  403. codex/static_root/assets/unauthorized-DpTUrdQV.0c1bfe81f457.js +0 -1
  404. codex/static_root/assets/unauthorized-DpTUrdQV.0c1bfe81f457.js.br +0 -0
  405. codex/static_root/assets/unauthorized-DpTUrdQV.0c1bfe81f457.js.gz +0 -0
  406. codex/static_root/assets/unauthorized-DpTUrdQV.js +0 -1
  407. codex/static_root/assets/unauthorized-DpTUrdQV.js.br +0 -0
  408. codex/static_root/assets/unauthorized-DpTUrdQV.js.gz +0 -0
  409. codex/static_root/assets/user-tab-B_CPCP10.d1a264b97a0f.js +0 -1
  410. codex/static_root/assets/user-tab-B_CPCP10.d1a264b97a0f.js.br +0 -0
  411. codex/static_root/assets/user-tab-B_CPCP10.d1a264b97a0f.js.gz +0 -0
  412. codex/static_root/assets/user-tab-B_CPCP10.js +0 -1
  413. codex/static_root/assets/user-tab-B_CPCP10.js.br +0 -0
  414. codex/static_root/assets/user-tab-B_CPCP10.js.gz +0 -0
  415. codex/static_root/manifest.3d6dd67354d1.json.br +0 -0
  416. codex/static_root/manifest.3d6dd67354d1.json.gz +0 -0
  417. {codex-1.6.9.dist-info → codex-1.6.10.dist-info}/LICENSE +0 -0
  418. {codex-1.6.9.dist-info → codex-1.6.10.dist-info}/WHEEL +0 -0
  419. {codex-1.6.9.dist-info → codex-1.6.10.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1 @@
1
+ import{n as oe,v as Qt,i as se,u as it,r as Se,w as qt,a as ct,g as ut,o as lt,b as ft,c as dt,s as X,H as z,l as K,C as D,d as Oe,e as be,f as k,h as ne,j as _t,k as Ie,m as ht,p as er,q as tr,t as rr,x as xe,y as nr,z as Ce,A as gt,B as pt,D as vt,E as or,F as V,G as Q,I as sr,J as He,K as ae,L as ar,M as ir,N as cr,O as ur,P as lr,Q as mt,R as fr,S as te,T as dr,U as hr,V as je,W as gr,_ as pr,X as vr,Y as mr,Z as yr,$ as Sr,a0 as br,a1 as xr,a2 as ke,a3 as ee,a4 as Lr,a5 as Tr,a6 as Er,a7 as Pr,a8 as Or,a9 as Ir,aa as Cr,ab as Rr,ac as Fe,ad as Be,ae as $e,af as Ve,ag as Ne,ah as Mr,ai as Ar,aj as Dr}from"./admin-drawer-panel-D_qGurp0.js";function Le(r,e={},n){for(const t in r){const o=r[t],s=n?`${n}:${t}`:t;typeof o=="object"&&o!==null?Le(o,e,s):typeof o=="function"&&(e[s]=o)}return e}const wr={run:r=>r()},Hr=()=>wr,yt=typeof console.createTask<"u"?console.createTask:Hr;function jr(r,e){const n=e.shift(),t=yt(n);return r.reduce((o,s)=>o.then(()=>t.run(()=>s(...e))),Promise.resolve())}function kr(r,e){const n=e.shift(),t=yt(n);return Promise.all(r.map(o=>t.run(()=>o(...e))))}function pe(r,e){for(const n of[...r])n(e)}class Fr{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,t={}){if(!e||typeof n!="function")return()=>{};const o=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!t.allowDeprecated){let a=s.message;a||(a=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let t,o=(...s)=>(typeof t=="function"&&t(),t=void 0,o=void 0,n(...s));return t=this.hook(e,o),t}removeHook(e,n){if(this._hooks[e]){const t=this._hooks[e].indexOf(n);t!==-1&&this._hooks[e].splice(t,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const t=this._hooks[e]||[];delete this._hooks[e];for(const o of t)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=Le(e),t=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of t.splice(0,t.length))o()}}removeHooks(e){const n=Le(e);for(const t in n)this.removeHook(t,n[t])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(jr,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(kr,e,...n)}callHookWith(e,n,...t){const o=this._before||this._after?{name:n,args:t,context:{}}:void 0;this._before&&pe(this._before,o);const s=e(n in this._hooks?[...this._hooks[n]]:[],t);return s instanceof Promise?s.finally(()=>{this._after&&o&&pe(this._after,o)}):(this._after&&o&&pe(this._after,o),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function Br(){return new Fr}function $r(r){return Array.isArray(r)?r:[r]}const Vr=["title","titleTemplate","script","style","noscript"],ie=["base","meta","link","style","script","noscript"],Nr=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Gr=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],St=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Wr=typeof window<"u";function Re(r){let e=9;for(let n=0;n<r.length;)e=Math.imul(e^r.charCodeAt(n++),9**9);return((e^e>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Ge(r){return r._h||Re(r._d?r._d:`${r.tag}:${r.textContent||r.innerHTML||""}:${Object.entries(r.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function bt(r,e){const{props:n,tag:t}=r;if(Gr.includes(t))return t;if(t==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];t==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const a=String(n[s]);return`${t}:${s}:${a}`}return!1}function We(r,e){return r==null?e||null:typeof r=="function"?r(e):r}async function Kr(r,e,n){const t={tag:r,props:await xt(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(r)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(r))};return St.forEach(o=>{const s=typeof t.props[o]<"u"?t.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||Vr.includes(t.tag))&&(t[o==="children"?"innerHTML":o]=s),delete t.props[o])}),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body),t.tag==="script"&&typeof t.innerHTML=="object"&&(t.innerHTML=JSON.stringify(t.innerHTML),t.props.type=t.props.type||"application/json"),Array.isArray(t.props.content)?t.props.content.map(o=>({...t,props:{...t.props,content:o}})):t}function zr(r,e){var t;const n=r==="class"?" ":";";return typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,o])=>o).map(([o,s])=>r==="style"?`${o}:${s}`:o)),(t=String(Array.isArray(e)?e.join(n):e))==null?void 0:t.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function xt(r,e){for(const n of Object.keys(r)){if(["class","style"].includes(n)){r[n]=zr(n,r[n]);continue}if(r[n]instanceof Promise&&(r[n]=await r[n]),!e&&!St.includes(n)){const t=String(r[n]),o=n.startsWith("data-");t==="true"||t===""?r[n]=o?"true":!0:r[n]||(o&&t==="false"?r[n]="false":delete r[n])}}return r}const Ur=10;async function Yr(r){const e=[];return Object.entries(r.resolvedInput).filter(([n,t])=>typeof t<"u"&&Nr.includes(n)).forEach(([n,t])=>{const o=$r(t);e.push(...o.map(s=>Kr(n,s,r)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((n,t)=>(n._e=r._i,r.mode&&(n._m=r.mode),n._p=(r._i<<Ur)+t,n))}const Ke={base:-10,title:10},ze={critical:-80,high:-10,low:20};function le(r){let e=100;const n=r.tagPriority;return typeof n=="number"?n:(r.tag==="meta"?(r.props["http-equiv"]==="content-security-policy"&&(e=-30),r.props.charset&&(e=-20),r.props.name==="viewport"&&(e=-15)):r.tag==="link"&&r.props.rel==="preconnect"?e=20:r.tag in Ke&&(e=Ke[r.tag]),typeof n=="string"&&n in ze?e+ze[n]:e)}const Zr=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Ue=["onload","onerror","onabort","onprogress","onloadstart"],Z="%separator";function ce(r,e,n){if(typeof r!="string"||!r.includes("%"))return r;function t(a){let i;return["s","pageTitle"].includes(a)?i=e.pageTitle:a.includes(".")?i=a.split(".").reduce((c,u)=>c&&c[u]||void 0,e):i=e[a],typeof i<"u"?(i||"").replace(/"/g,'\\"'):!1}let o=r;try{o=decodeURI(r)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const i=t(a.slice(1));typeof i=="string"&&(r=r.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,u)=>`${i}${u}`).trim())}),r.includes(Z)&&(r.endsWith(Z)&&(r=r.slice(0,-Z.length).trim()),r.startsWith(Z)&&(r=r.slice(Z.length).trim()),r=r.replace(new RegExp(`\\${Z}\\s*\\${Z}`,"g"),Z),r=ce(r,{separator:n},n)),r}async function Xr(r,e={}){var l;const n=e.document||r.resolvedOptions.document;if(!n||!r.dirty)return;const t={shouldRender:!0,tags:[]};if(await r.hooks.callHook("dom:beforeRender",t),!t.shouldRender)return;const o=(await r.resolveTags()).map(f=>({tag:f,id:ie.includes(f.tag)?Ge(f):f.tag,shouldRender:!0}));let s=r._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const h=(l=n[f])==null?void 0:l.children,g=[];for(const v of[...h].filter(d=>ie.includes(d.tagName.toLowerCase()))){const d={tag:v.tagName.toLowerCase(),props:await xt(v.getAttributeNames().reduce((m,S)=>({...m,[S]:v.getAttribute(S)}),{})),innerHTML:v.innerHTML};let p=1,y=bt(d);for(;y&&g.find(m=>m._d===y);)y=`${y}:${p++}`;d._d=y||void 0,g.push(d),s.elMap[v.getAttribute("data-hid")||Ge(d)]=v}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function a(f,h,g){const v=`${f}:${h}`;s.sideEffects[v]=g,delete s.pendingSideEffects[v]}function i({id:f,$el:h,tag:g}){const v=g.tag.endsWith("Attrs");s.elMap[f]=h,v||(["textContent","innerHTML"].forEach(d=>{g[d]&&g[d]!==h[d]&&(h[d]=g[d])}),a(f,"el",()=>{var d;(d=s.elMap[f])==null||d.remove(),delete s.elMap[f]}));for(const[d,p]of Object.entries(g._eventHandlers||{}))h.getAttribute(`data-${d}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:h).addEventListener(d.replace("on",""),p.bind(h)),h.setAttribute(`data-${d}`,""));Object.entries(g.props).forEach(([d,p])=>{const y=`attr:${d}`;if(d==="class")for(const m of(p||"").split(" ").filter(Boolean))v&&a(f,`${y}:${m}`,()=>h.classList.remove(m)),!h.classList.contains(m)&&h.classList.add(m);else if(d==="style")for(const m of(p||"").split(";").filter(Boolean)){const[S,...T]=m.split(":").map(P=>P.trim());a(f,`${y}:${S}`,()=>{h.style.removeProperty(S)}),h.style.setProperty(S,T.join(":"))}else h.getAttribute(d)!==p&&h.setAttribute(d,p===!0?"":String(p)),v&&a(f,y,()=>h.removeAttribute(d))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:h,shouldRender:g,id:v}=f;if(g){if(h.tag==="title"){n.title=h.textContent;continue}f.$el=f.$el||s.elMap[v],f.$el?i(f):ie.includes(h.tag)&&c.push(f)}}for(const f of c){const h=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),i(f),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(f.$el)}for(const f of o)await r.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),r._dom=s,r.dirty=!1,await r.hooks.callHook("dom:rendered",{renders:o})}async function Jr(r,e={}){const n=e.delayFn||(t=>setTimeout(t,10));return r._domUpdatePromise=r._domUpdatePromise||new Promise(t=>n(async()=>{await Xr(r,e),delete r._domUpdatePromise,t()}))}function Qr(r){return e=>{var t,o;const n=((o=(t=e.resolvedOptions.document)==null?void 0:t.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){Jr(s,r)}}}}}const qr=["templateParams","htmlAttrs","bodyAttrs"],_r={hooks:{"tag:normalise":function({tag:r}){["hid","vmid","key"].forEach(t=>{r.props[t]&&(r.key=r.props[t],delete r.props[t])});const n=bt(r)||(r.key?`${r.tag}:${r.key}`:!1);n&&(r._d=n)},"tags:resolve":function(r){const e={};r.tags.forEach(t=>{const o=(t.key?`${t.tag}:${t.key}`:t._d)||t._p,s=e[o];if(s){let i=t==null?void 0:t.tagDuplicateStrategy;if(!i&&qr.includes(t.tag)&&(i="merge"),i==="merge"){const c=s.props;["class","style"].forEach(u=>{c[u]&&(t.props[u]?(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),t.props[u]=`${c[u]} ${t.props[u]}`):t.props[u]=c[u])}),e[o].props={...c,...t.props};return}else if(t._e===s._e){s._duped=s._duped||[],t._d=`${s._d}:${s._duped.length+1}`,s._duped.push(t);return}else if(le(t)>le(s))return}const a=Object.keys(t.props).length+(t.innerHTML?1:0)+(t.textContent?1:0);if(ie.includes(t.tag)&&a===0){delete e[o];return}e[o]=t});const n=[];Object.values(e).forEach(t=>{const o=t._duped;delete t._duped,n.push(t),o&&n.push(...o)}),r.tags=n,r.tags=r.tags.filter(t=>!(t.tag==="meta"&&(t.props.name||t.props.property)&&!t.props.content))}}},en={mode:"server",hooks:{"tags:resolve":function(r){const e={};r.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{e[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(e).length&&r.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},tn=["script","link","bodyAttrs"],rn=r=>({hooks:{"tags:resolve":function(e){for(const n of e.tags.filter(t=>tn.includes(t.tag)))Object.entries(n.props).forEach(([t,o])=>{t.startsWith("on")&&typeof o=="function"&&(r.ssr&&Ue.includes(t)?n.props[t]=`this.dataset.${t}fired = true`:delete n.props[t],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[t]=o)}),r.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Re(n.props.src||n.props.href))},"dom:renderTag":function({$el:e,tag:n}){var t,o;for(const s of Object.keys((e==null?void 0:e.dataset)||{}).filter(a=>Ue.some(i=>`${i}fired`===a))){const a=s.replace("fired","");(o=(t=n._eventHandlers)==null?void 0:t[a])==null||o.call(e,new Event(a.replace("on","")))}}}}),nn=["link","style","script","noscript"],on={hooks:{"tag:normalise":({tag:r})=>{r.key&&nn.includes(r.tag)&&(r.props["data-hid"]=r._h=Re(r.key))}}},sn={hooks:{"tags:resolve":r=>{const e=n=>{var t;return(t=r.tags.find(o=>o._d===n))==null?void 0:t._p};for(const{prefix:n,offset:t}of Zr)for(const o of r.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=e(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+t)}r.tags.sort((n,t)=>n._p-t._p).sort((n,t)=>le(n)-le(t))}}},an={meta:"content",link:"href",htmlAttrs:"lang"},cn=r=>({hooks:{"tags:resolve":e=>{var i;const{tags:n}=e,t=(i=n.find(c=>c.tag==="title"))==null?void 0:i.textContent,o=n.findIndex(c=>c.tag==="templateParams"),s=o!==-1?n[o].props:{},a=s.separator||"|";delete s.separator,s.pageTitle=ce(s.pageTitle||t||"",s,a);for(const c of n.filter(u=>u.processTemplateParams!==!1)){const u=an[c.tag];u&&typeof c.props[u]=="string"?c.props[u]=ce(c.props[u],s,a):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(l=>{typeof c[l]=="string"&&(c[l]=ce(c[l],s,a))})}r._templateParams=s,r._separator=a,e.tags=n.filter(c=>c.tag!=="templateParams")}}}),un={hooks:{"tags:resolve":r=>{const{tags:e}=r;let n=e.findIndex(o=>o.tag==="titleTemplate");const t=e.findIndex(o=>o.tag==="title");if(t!==-1&&n!==-1){const o=We(e[n].textContent,e[t].textContent);o!==null?e[t].textContent=o||e[t].textContent:delete e[t]}else if(n!==-1){const o=We(e[n].textContent);o!==null&&(e[n].textContent=o,e[n].tag="title",n=-1)}n!==-1&&delete e[n],r.tags=e.filter(Boolean)}}},ln={hooks:{"tags:afterResolve":function(r){for(const e of r.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let Lt;function fn(r={}){const e=dn(r);return e.use(Qr()),Lt=e}function Ye(r,e){return!r||r==="server"&&e||r==="client"&&!e}function dn(r={}){const e=Br();e.addHooks(r.hooks||{}),r.document=r.document||(Wr?document:void 0);const n=!r.document,t=()=>{i.dirty=!0,e.callHook("entries:updated",i)};let o=0,s=[];const a=[],i={plugins:a,dirty:!1,resolvedOptions:r,hooks:e,headEntries(){return s},use(c){const u=typeof c=="function"?c(i):c;(!u.key||!a.some(l=>l.key===u.key))&&(a.push(u),Ye(u.mode,n)&&e.addHooks(u.hooks||{}))},push(c,u){u==null||delete u.head;const l={_i:o++,input:c,...u};return Ye(l.mode,n)&&(s.push(l),t()),{dispose(){s=s.filter(f=>f._i!==l._i),e.callHook("entries:updated",i),t()},patch(f){s=s.map(h=>(h._i===l._i&&(h.input=l.input=f),h)),t()}}},async resolveTags(){const c={tags:[],entries:[...s]};await e.callHook("entries:resolve",c);for(const u of c.entries){const l=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(l):l),u.resolvedInput)for(const f of await Yr(u)){const h={tag:f,entry:u,resolvedOptions:i.resolvedOptions};await e.callHook("tag:normalise",h),c.tags.push(h.tag)}}return await e.callHook("tags:beforeResolve",c),await e.callHook("tags:resolve",c),await e.callHook("tags:afterResolve",c),c.tags},ssr:n};return[_r,en,rn,on,sn,cn,un,ln,...(r==null?void 0:r.plugins)||[]].forEach(c=>i.use(c)),i.hooks.callHook("init",i),i}function hn(){return Lt}const Tt=Qt.startsWith("3");function gn(r){return typeof r=="function"?r():it(r)}function fe(r,e=""){if(r instanceof Promise)return r;const n=gn(r);return!r||!n?n:Array.isArray(n)?n.map(t=>fe(t,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([t,o])=>t==="titleTemplate"||t.startsWith("on")?[t,it(o)]:[t,fe(o,t)])):n}const pn={hooks:{"entries:resolve":function(r){for(const e of r.entries)e.resolvedInput=fe(e.input)}}},Et="usehead";function vn(r){return{install(n){Tt&&(n.config.globalProperties.$unhead=r,n.config.globalProperties.$head=r,n.provide(Et,r))}}.install}function mn(r={}){r.domDelayFn=r.domDelayFn||(n=>oe(()=>setTimeout(()=>n(),0)));const e=fn(r);return e.use(pn),e.install=vn(e),e}const Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xe="__unhead_injection_handler__";function yn(){if(Xe in Ze)return Ze[Xe]();const r=se(Et);return r||hn()}function Sn(r,e={}){const n=e.head||yn();if(n)return n.ssr?n.push(r,e):bn(n,r,e)}function bn(r,e,n={}){const t=Se(!1),o=Se({});qt(()=>{o.value=t.value?{}:fe(e)});const s=r.push(o.value,n);return ct(o,i=>{s.patch(i)}),ut()&&(lt(()=>{s.dispose()}),ft(()=>{t.value=!0}),dt(()=>{t.value=!1})),s}const xn={created(){let r=!1;if(Tt){const e=ut();if(!e)return;const n=e.type;if(!n||!("head"in n))return;r=typeof n.head=="function"?()=>n.head.call(e.proxy):n.head}else{const e=this.$options.head;e&&(r=typeof e=="function"?()=>e.call(this):e)}r&&Sn(r)}},Ln="drag-scroller-disable",Tn=(()=>{const r=new WeakMap;return{mounted(e,n){let t=!1;const{onlyX:o,onlyY:s,disablechild:a}=n.modifiers,i=n.value??{},c=new Event("scrollStart",{bubbles:!0}),u=new Event("scrollMoving",{bubbles:!0}),l=new Event("scrollEnd",{bubbles:!0});i.hideScrollbar===!0&&(e.style.overflow="hidden");const f=d=>{if(a)return d===e;for(;d&&d.parentNode;){if(d&&d!=null&&d.hasAttribute(Ln))return!1;if(d===e)return!0;d=d.parentNode}return!1},h=d=>{t=f(d.target),e.dispatchEvent(c),t&&i!=null&&i.startScroll&&typeof(i==null?void 0:i.startScroll)=="function"&&i.startScroll(d)},g=d=>{e.dispatchEvent(l),t&&i!=null&&i.endScroll&&typeof(i==null?void 0:i.endScroll)=="function"&&i.endScroll(d),t=!1},v=d=>{if(!t)return!1;e.dispatchEvent(u),i!=null&&i.onScrolling&&typeof(i==null?void 0:i.onScrolling)=="function"&&i.onScrolling(d),d.stopPropagation&&d.stopPropagation(),d.preventDefault&&d.preventDefault(),d.cancelBubble=!0,d.returnValue=!1;const p=(i==null?void 0:i.speed)||1,y=i.reverseDirection?d.movementX*p:-d.movementX*p,m=i.reverseDirection?d.movementY*p:-d.movementY*p;o?e.scrollLeft+=y:(s||(e.scrollLeft+=y),e.scrollTop+=m)};r.set(e,{dragStart:h,dragEnd:g,drag:v}),e.addEventListener("pointerdown",h),addEventListener("pointerup",g),addEventListener("pointermove",v)},unmounted(e){const{dragStart:n,dragEnd:t,drag:o}=r.get(e);e.removeEventListener("pointerdown",n),removeEventListener("pointerup",t),removeEventListener("pointermove",o)}}})(),En={install(r){r.directive("drag-scroller",Tn)}},Pn=({group:r,pks:e},n,t)=>{const o=X(n,t);return z.get(`/${r}/${e}/choices_available`,{params:o})},On=({group:r,pks:e},n,t,o)=>{const s=X(t,o);return z.get(`/${r}/${e}/choices/${n}`,{params:s})},In=({group:r,pks:e,page:n},t,o)=>{const s=X(t,o);return z.get(`/${r}/${e}/${n}`,{params:s})},Cn=({group:r,pks:e},n,t)=>{const o=window.CODEX.API_V3_PATH,s=e.join(","),a=X(n,t),i=new URLSearchParams(a).toString();return`${o}${r}/${s}/cover.webp?${i}`},Rn=({group:r,pks:e},n)=>{const t=e.join(","),o=Math.max(r.mtime,n.mtime),s=K.cloneDeep(n);delete s.mtime;const a=X(s,o);return z.get(`/${r}/${t}/metadata`,{params:a})},Mn=r=>{const e=X(r);return z.get("/r/settings",{params:e})},An=r=>z.patch("/r/settings",r),J={getAvailableFilterChoices:Pn,getCoverSrc:Cn,getFilterChoices:On,getMetadata:Rn,getSettings:Mn,getBrowserPage:In,updateSettings:An},Pt="rpisvc";Object.freeze(Pt);const re=Array.from(Pt).reverse().join("");Object.freeze(re);const Me={};for(let r of D.browser.settingsGroup)Me[r.value]=r.default===!0;Object.freeze(Me);const Ot=new Set([301,302,303,307,308]);Object.freeze(Ot);const It=new Set([void 0,null,D.browser.bookmarkFilter[0].value]);Object.freeze(It);const Te=new Set(["a","c"]);Object.freeze(Te);const Dn=5e3,Ct=["customCovers","dynamicCovers","show"];Object.freeze(Ct);const Rt=["filters","orderBy","orderReverse","q"];Object.freeze(Rt);const Mt=["filters","q"];Object.freeze(Mt);const At=["breadcrumbs"];Object.freeze(At);const Dt=["filters","q","mtime"];Object.freeze(Dt);const ve=r=>{r&&r.params&&k.push(r).catch(console.warn)},wn=()=>{const r={};for(const e of D.reader.readingDirection)e.value&&(r[e.value]=e.title);return r},Je=r=>r&&Object.keys(r).length||typeof r=="boolean",Hn=Oe("browser",{state:()=>({choices:{static:Object.freeze({bookmark:D.browser.bookmarkFilter,groupNames:D.browser.groupNames,settingsGroup:D.browser.settingsGroup,readingDirection:wn(),identifierType:D.browser.identifierTypes}),dynamic:void 0},settings:{breadcrumbs:D.browser.breadcrumbs,customCovers:!0,dynamicCovers:!1,filters:{},orderBy:void 0,orderReverse:void 0,q:void 0,show:K.cloneDeep(Me),topGroup:void 0,twentyFourHourTime:!1},page:{adminFlags:{folderView:void 0,importMetadata:void 0},title:{groupName:void 0,groupCount:void 0},librariesExist:void 0,modelGroup:void 0,numPages:1,groups:[],books:[],mtime:0},filterMode:"base",zeroPad:0,browserPageLoaded:!1,isSearchOpen:!1,searchHideTimeout:void 0}),getters:{topGroupChoices(){const r=[];for(const e of D.browser.topGroup)this._isRootGroupEnabled(e.value)&&r.push(e);return r},topGroupChoicesMaxLen(){return this._maxLenChoices(D.browser.topGroup)},orderByChoices(r){const e=[];for(const n of D.browser.orderBy)n.value==="path"&&!r.page.adminFlags.folderView||n.value==="search_score"&&!r.settings.q||e.push(n);return e},orderByChoicesMaxLen(){return this._maxLenChoices(D.browser.orderBy)},filterByChoicesMaxLen(){return this._maxLenChoices(D.browser.bookmarkFilter)},isAuthorized(){return be().isAuthorized},isDynamicFiltersSelected(r){for(const[e,n]of Object.entries(r.settings.filters))if(e!=="bookmark"&&n&&n.length>0)return!0;return!1},isFiltersClearable(r){return!It.has(r.settings.filters.bookmark)||this.isDynamicFiltersSelected},lowestShownGroup(r){let e="r";const n=re.indexOf(r.settings.topGroup);for(const[t,o]of Array.from(re).entries())if(r.settings.show[o]){t<=n&&(e=o);break}return e},isSearchMode(r){return!!r.settings.q},lastRoute(r){const e=r.settings.breadcrumbs,n=e[e.length-1],t={};return n?(t.name="browser",delete n.name,t.params=n):t.name="home",t},coverSettings(r){const e=k.currentRoute.value.params,n=e.group;if(n=="c")return{};let t=Ct;const o=r.settings.dynamicCovers;o&&(t=t.concat(Rt));const s=this._filterSettings(r,t),a=e.pks;return!o&&n!=="r"&&a&&(s.parent={group:n,pks:a}),s},choicesSettings(r){return this._filterSettings(r,Mt)},pageLoadSettings(r){return this._filterSettings(r,At)},metadataSettings(r){return this._filterSettings(r,Dt)}},actions:{_filterSettings(r,e){return Object.fromEntries(Object.entries(r.settings).filter(([n,t])=>{if(!e.includes(n))return null;if(n==="filters"){const o={};for(const[s,a]of Object.entries(t))Je(a)&&(o[s]=a);t=o}if(Je(t))return[n,t]}))},_maxLenChoices(r){let e=0;for(const n of r)n&&n.title&&n.title.length>e&&(e=n.title.length);return e},identifierTypeTitle(r){if(!r)return r;const e=r.toLowerCase();return this.choices.static.identifierType[e]||r},setIsSearchOpen(r){this.isSearchOpen=r},_isRootGroupEnabled(r){var e;return Te.has(r)?!0:r=="f"?(e=this.page.adminFlags)==null?void 0:e.folderView:this.settings.show[r]},_validateSearch(r){var t;if(r.q){if(this.settings.q||this.settings.q===void 0)return}else{this.settings.orderBy==="search_score"&&(this.settings.topGroup==="f"?r.orderBy="filename":r.orderBy="sort_name");return}r.orderBy="search_score",r.orderReverse=!0;const e=(t=k.currentRoute.value.params)==null?void 0:t.group,n=new Set(Te);if(n.add(this.lowestShownGroup),!n.has(e))return{params:{group:this.lowestShownGroup,pks:"0",page:"1"}}},_validateTopGroup(r,e){const n=this.settings.topGroup,t=r.topGroup;if(!n&&t||!t||n===t)return e;const o=re.indexOf(n),s=re.indexOf(t),a=s>=0,i=a&&o>=0;let c;return i?o<s?(c=k.currentRoute.value.params,c.page=+c.page):c={group:"r",pks:"0",page:"1"}:c={group:a?"r":t,pks:"0",page:"1"},{params:c}},_addSettings(r){this.$patch(e=>{for(let[n,t]of Object.entries(r)){let o;typeof e.settings[n]=="object"&&!Array.isArray(e.settings[n])?o={...e.settings[n],...t}:o=t,K.isEqual(e.settings[n],o)||(e.settings[n]=o)}e.settings.q&&!e.isSearchOpen&&(e.isSearchOpen=!0)}),this.startSearchHideTimeout()},_validateAndSaveSettings(r){let e=this._validateSearch(r);return e=this._validateTopGroup(r,e),K.isEqual(e==null?void 0:e.params,k.currentRoute.value.params)&&(e=void 0),r&&this._addSettings(r),this.filterMode="base",e},async setSettings(r){const e=this._validateAndSaveSettings(r);this.browserPageLoaded=!0,e?ve(e):this.loadBrowserPage(void 0,!0)},async clearOneFilter(r){this.$patch(e=>{e.filterMode="base",e.settings.filters[r]=[],e.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async clearFilters(r=!1){this.$patch(e=>{e.settings.filters={bookmark:""},e.filterMode="base",r&&(e.settings.q="",e.settings.orderBy="sort_name",e.settings.orderReverse=!1),e.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async setBookmarkFinished(r,e){this.isAuthorized&&await ne.updateGroupBookmarks(r,{finished:e}).then(()=>(this.loadBrowserPage(_t()),!0))},clearSearchHideTimeout(){clearTimeout(this.searchHideTimeout)},startSearchHideTimeout(){if(!this.isSearchOpen)return;this.settings.q?this.clearSearchHideTimeout():this.searchHideTimeout=setTimeout(()=>{this.settings.q||this.setIsSearchOpen(!1)},Dn)},setPageMtime(r){self.mtime=r},async updateBreadcrumbs(r){const e=this.settings.breadcrumbs||[];for(const n of K.range(e.length).reverse()){const t=r[n],o=e[n];if(!K.isEqual(t,o)){o.name===null&&(o.name=""),J.updateSettings({breadcrumbs:e});break}}},routeToPage(r){const e=K.cloneDeep(k.currentRoute.value);e.params.page=r,k.push(e).catch(console.warn)},handlePageError(r){var e;if(Ot.has((e=r==null?void 0:r.response)==null?void 0:e.status)){console.debug(r);const n=r.response.data;n.settings&&(this.setSettings(n.settings),this.browserPageLoaded=!0),n.route&&ve(n.route)}else return console.error(r)},async loadSettings(){var e,n,t;if(!this.isAuthorized)return;this.$patch(o=>{o.browserPageLoaded=!1,o.choices.dynamic=void 0});const r=(t=(n=(e=k)==null?void 0:e.currentRoute)==null?void 0:n.value.params)==null?void 0:t.group;await J.getSettings({group:r}).then(o=>{const s=o.data,a=this._validateAndSaveSettings(s);return this.browserPageLoaded=!0,a?ve(a):this.loadBrowserPage(void 0,!0)}).catch(o=>(this.browserPageLoaded=!0,this.handlePageError(o)))},async loadBrowserPage(r,e=!1){if(!this.isAuthorized)return;const n=k.currentRoute.value;if(r||(r=n.query.ts,r||(r=this.page.mtime)),this.browserPageLoaded)this.browserPageLoaded=!1;else return this.loadSettings();const t=this.settings.breadcrumbs;await J.getBrowserPage(n.params,this.settings,r).then(o=>{const{breadcrumbs:s,...a}=o.data;return this.$patch(i=>{i.settings.breadcrumbs=s,i.page=a,i.choices.dynamic=void 0,i.browserPageLoaded=!0}),!0}).catch(this.handlePageError),e?J.updateSettings(this.settings):this.updateBreadcrumbs(t)},async loadAvailableFilterChoices(){return await J.getAvailableFilterChoices(k.currentRoute.value.params,this.choicesSettings,this.page.mtime).then(r=>(this.choices.dynamic=r.data,!0)).catch(console.error)},async loadFilterChoices(r){return await J.getFilterChoices(k.currentRoute.value.params,r,this.choicesSettings,this.page.mtime).then(e=>(this.choices.dynamic[r]=Object.freeze(e.data.choices),!0)).catch(console.error)},async loadMtimes(){const r=k.currentRoute.value,e=r.params.group!="r"?r.params.group:this.page.modelGroup,n=r.params.pks;return await ne.getMtime([{group:e,pks:n}],this.choicesSettings).then(t=>{const o=t.data.maxMtime;return o!==this.page.mtime&&(this.choices.dynamic=void 0,this.loadBrowserPage(o)),!0}).catch(console.error)}}}),jn=(r,e,n)=>{const t=X(e,n);return z.get(`c/${r}`,{params:t})},kn=()=>{const r=X({});return z.get("c/settings",{params:r})},Fn=r=>z.patch("c/settings",r),os=({pk:r,mtime:e})=>`${ht(r)}/download/comic-${r}.cbz?ts=${e}`,ss=({pk:r,page:e,mtime:n})=>`${ht(r)}/${e}/page.jpg?ts=${n}`,Qe=({pk:r,page:e,mtime:n})=>`${Ie(r)}/${e}/page.jpg?ts=${n}`,Bn=({pk:r,mtime:e})=>`${Ie(r)}/book.pdf?ts=${e}`,me={getPdfBookSource:Bn,getReaderBasePath:Ie,getReaderInfo:jn,getReaderSettings:kn,updateReaderSettings:Fn},$n=function(r){let e;return r?e=r.length===4&&!Number.isNaN(r)?" ("+r+")":" v"+r:e="",e},Vn=function({issueNumber:r,issueSuffix:e},n){let t;try{r==null&&!e&&(r=0);const o=Number.parseFloat(r),s=Math.floor(o);n===void 0&&(n=0),o===s?t=s.toString():(t=o.toString(),n+=t.split(".")[1].length+1),t=t.padStart(n,"0")}catch{t=""}return e&&(t+=e),t},Nn=function({issueNumber:r,issueSuffix:e,issueCount:n},t){let o="#"+Vn({issueNumber:r,issueSuffix:e},t);return n&&(o+=` of ${n}`),o},Gn=function({seriesName:r,volumeName:e,issueNumber:n,issueSuffix:t,issueCount:o},s){const a=$n(e),i=Nn({issueNumber:n,issueSuffix:t,issueCount:o},s);return[r,a,i].filter(Boolean).join(" ")},wt={fitTo:"",twoPages:null,readingDirection:"",readRtlInReverse:null};Object.freeze(wt);const Ht={cacheBook:!1};Object.freeze(Ht);const ue=new Set(["",null,void 0]);Object.freeze(ue);const jt={prev:"next",next:"prev"};Object.freeze(jt);const Ee={rel:"prefetch",as:"image"};Object.freeze(Ee);const Ae=new Set(["ttb","btt"]);Object.freeze(Ae);const kt=new Set(["rtl","btt"]);Object.freeze(kt);const qe=1,Ft={S:"Screen",W:"Width",H:"Height",O:"Original"};Object.freeze(Ft);const De=["breadcrumbs","show","topGroup","filters"];Object.freeze(De);const Wn=r=>r.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`),Bt=De.map(r=>Wn(r));Object.freeze(Bt);const Kn=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600?"HEIGHT":"WIDTH",_e=r=>{Ae.has(r.readingDirection)&&r.twoPages&&(r.twoPages=!1)},zn=Oe("reader",{state:()=>({choices:{fitTo:D.reader.fitTo,readingDirection:D.reader.readingDirection,nullValues:ue},readerSettings:{fitTo:Kn(),twoPages:D.reader.twoPages,readingDirection:"ltr",readRtlInReverse:D.reader.readRtlInReverse,finishOnLastPage:D.reader.finishOnLastPage},browserSettings:{breadcrumbs:D.browser.breadcrumbs,show:D.browser.show,topGroup:"p"},books:{current:void 0,prev:!1,next:!1},arcs:[],arc:{},mtime:0,empty:!1,page:void 0,routes:{prev:!1,next:!1,books:{prev:!1,next:!1},close:D.browser.breadcrumbs[0]},bookChange:void 0,reactWithScroll:!1,clientSettings:{cacheBook:!1,scale:qe},showToolbars:!1,settingsLoaded:!1}),getters:{groupBooks(r){const e=[];return r.books.prev[0]&&e.push[r.books.prev[0]],e.push[r.books.current],r.books.next[0]&&e.push[r.books.next[0]],e},activeSettings(r){return r.getSettings(r.books.current)||{}},activeTitle(r){var t;const e=r.books.current;let n;return e?(((t=r.arcs[0])==null?void 0:t.group)!="f"&&(n=Gn(e)),n||(n=e.filename||"")):n="",n},routeParams(r){return{pk:+r.books.current.pk,page:+r.page}},isVertical(r){return Ae.has(r.activeSettings.readingDirection)},isPDF(r){var e,n;return((n=(e=r.books)==null?void 0:e.current)==null?void 0:n.fileType)=="PDF"},cacheBook(r){return r.clientSettings.cacheBook&&!(this.isPDF&&this.isVertical)},isPagesNotRoutes(r){return r.isVertical||this.cacheBook},isReadInReverse(r){return kt.has(r.activeSettings.readingDirection)},isBTT(r){return r.activeSettings.readingDirection==="btt"},isFirstPage(r){return r.page===0},isLastPage(r){const e=r.books.current?r.books.current.maxPage:0,n=r.activeSettings.twoPages?1:0,t=e-n;return this.page>=t},closeBookRoute(r){var t,o;const e={name:"browser"};let n=r.routes.close;if(n){const s=(o=(t=r.books)==null?void 0:t.current)==null?void 0:o.pk;s&&(e.hash=`#card-${s}`)}else n=window.CODEX.LAST_ROUTE||D.browser.breadcrumbs[0];return e.params=n,e},browserArcFilters(r){const e={};for(const[n,t]of Object.entries(r.browserSettings.filters))n!=="bookmark"&&t&&t.length>0&&(e[n]=t);return e},browserArc(r){const e=r.routes.close;if(e&&e.pks!=="0")return{group:e.group,pks:e.pks,name:e.name,mtime:e.mtime,filters:r.browserArcFilters}},readerInfoSettings(r){const e={};for(const n of De){const t=r.browserSettings[n];t&&(e[n]=t)}return r.browserArc&&(e.browser_arc=r.browserArc),r.arc&&Object.keys(r.arc).length?e.arc={group:r.arc.group,pks:r.arc.pks}:r.browserArc&&(e.arc=r.browserArc),e}},actions:{setReadRTLInReverse(r){return this.readerSettings.readRtlInReverse&&r.readingDirection==="rtl"?{...r,readingDirection:"ltr"}:r},getSettings(r){const e=K.cloneDeep(ue);let n=r?r.settings:{};n=this.setReadRTLInReverse(n);const t=[this.readerSettings,n];for(const o of t)for(const[s,a]of Object.entries(o))ue.has(a)||(e[s]=a);return _e(e),e},bookChangeLocation(r){let e;return this.isBTT?e=r==="next"?"left":"right":e=r==="next"?"right":"left",e},bookChangeCursorClass(r){let e;return this.isReadInReverse?e=r==="next"?"up":"down":e=r==="next"?"down":"up",e+"Cursor"},bookChangeShow(r){return r==="prev"?this.books.prev&&this.isFirstPage:this.books.next&&this.isLastPage},bookChangeIcon(r){let e=r==="next";return this.isBTT&&(e=!e),e?er:tr},isCoverPage(r,e){return r.readLtr!==!1&&e===0||r.readLtr&&e===r.maxPage},_getRouteParams(r,e,n){const t=n==="prev"?-1:1;let o=1;this.getSettings(r).twoPages&&!this.isCoverPage(r,+e+t)&&(o=2),o=o*t;const a=+e+o;let i=!1;return a>=0&&a<=r.maxPage&&(i={pk:r.pk,page:a}),i},fitToClass(r){const e=this.getSettings(r),n={};let t;if(this.clientSettings.scale>qe?t="Orig":t=Ft[e.fitTo],t){let o="fitTo";o+=K.startCase(t),this.isVertical?o+="Vertical":e.twoPages&&(o+="Two"),n[o]=!0}return n},_updateSettings(r,e){e?(this.books.current.settings={...this.books.current.settings,...r},_e(this.books.current.settings)):this.readerSettings={...this.readerSettings,...r}},toggleToolbars(){this.showToolbars=!this.showToolbars},reset(){this.$patch(r=>{r.arc=void 0,r.arcs=[],r.mtime=0,r.settingsLoaded=!1,r.books={current:void 0,prev:!1,next:!1}})},_getBookRoutePage(r,e){let n=0;if(e&&r.readLtr!==!1||!e&&r.readLtr===!1){const o=this.getSettings(r).twoPages?-1:0;n=r.maxPage+o}return n},_getBookRoute(r,e){if(!r)return!1;const n=this._getBookRoutePage(r,e);return{pk:r.pk,page:n}},_getBookRoutes(r,e){return{prev:this._getBookRoute(r,!0),next:this._getBookRoute(e,!1)}},async setRoutesAndBookmarkPage(r){const e=this.books.current;this.$patch(n=>{n.routes.prev=this._getRouteParams(e,r,"prev"),n.routes.next=this._getRouteParams(e,r,"next")}),await this._setBookmarkPage(r).then(()=>(this.bookChange=void 0,!0))},setActivePage(r,e=!0){if(r<0)return console.warn("Page out of bounds. Redirecting to 0."),this.routeToPage(0);if(r>this.books.current.maxPage)return console.warn(`Page out of bounds. Redirecting to ${this.books.current.maxPage}.`),this.routeToPage(this.books.current.maxPage);if(this.reactWithScroll=!!e,this.page=+r,this.setRoutesAndBookmarkPage(r),this.isPagesNotRoutes){const n={params:{pk:this.books.current.pk,page:r}},{href:t}=k.resolve(n);window.history.pushState({},void 0,t)}else window.scrollTo(0,0)},async loadBrowserSettings(){return J.getSettings({only:Bt,breadcrumbNames:!1}).then(r=>(this.browserSettings=r.data,this.settingsLoaded?!0:(this.settingsLoaded=!0,this.loadBooks({})))).catch(console.error)},async loadReaderSettings(){me.getReaderSettings().then(r=>{const e=r.data;return this._updateSettings(e,!1),this.empty=!1,this.loadBrowserSettings()}).catch(console.error)},async loadBooks({params:r,arc:e,mtime:n}){var a;this.settingsLoaded||this.loadReaderSettings();const t=k.currentRoute.value;r||(r=t.params);const o=r.pk,s=this.readerInfoSettings;e&&(s.arc=e),n||(n=(a=t.query)==null?void 0:a.ts,n||(n=this.mtime)),await me.getReaderInfo(o,s,n).then(i=>{const c=i.data,u=c.books,l=[u==null?void 0:u.prevBook,u==null?void 0:u.current,u==null?void 0:u.nextBook];for(const h of l)h&&!h.settings&&(h.settings={});const f=this._getBookRoutes(u.prevBook,u.nextBook);return this.$patch(h=>{h.books.current=u.current,h.books.prev=u.prevBook,h.books.next=u.nextBook,h.arcs=c.arcs,h.arc=c.arc,h.routes.prev=this._getRouteParams(h.books.current,r.page,"prev"),h.routes.next=this._getRouteParams(h.books.current,r.page,"next"),h.routes.books=f,h.routes.close=c.closeRoute,h.empty=!1,h.mtime=c.mtime}),!0}).catch(i=>{console.debug(i),this.empty=!0})},async loadMtimes(){return await ne.getMtime(this.arcs,{}).then(r=>{const e=r.data.maxMtime;return e!==this.mtime?this.loadBooks({mtime:e}):!0}).catch(console.error)},async _setBookmarkPage(r){const e={group:"c",ids:[+this.books.current.pk]};r=Math.max(Math.min(this.books.current.maxPage,r),0);const n={page:r};this.readerSettings.finishOnLastPage&&r>=this.books.current.maxPage&&(n.finished=!0),await ne.updateGroupBookmarks(e,n)},async setSettingsLocal(r){this._updateSettings(r,!0);const e={group:"c",ids:[+this.books.current.pk]};await ne.updateGroupBookmarks(e,this.books.current.settings)},setSettingsClient(r){this.clientSettings={...this.clientSettings,...r}},async clearSettingsLocal(){await this.setSettingsLocal(wt),this.setSettingsClient(Ht)},async setSettingsGlobal(r){this._updateSettings(r,!1),await me.udpateReaderSettings(this.readerSettings),await this.clearSettingsLocal()},setBookChangeFlag(r){r=this.normalizeDirection(r),this.bookChange=this.routes.books[r]?r:void 0},linkLabel(r,e){return`${r==="prev"?"Previous":"Next"} ${e}`},normalizeDirection(r){return this.isReadInReverse?jt[r]:r},_validateRoute(r,e){if(e||(e=this.books.current),!e)return{};const n=e.maxPage??0;return r.page>n?(r.page=n,console.warn("Tried to navigate past the end of the book.")):r.page<0&&(r.page=0,console.warn("Tried to navigate before the beginning of the book.")),r},_routeTo(r,e){if(r=this._validateRoute(r,e),this.isPagesNotRoutes&&+r.pk===this.books.current.pk)this.setActivePage(+r.page,!0);else{const n={name:"reader",params:r};k.push(n).catch(console.debug)}},routeToDirectionOne(r){r=this.normalizeDirection(r);const e=r==="prev"?-1:1,n=this.page+=e;if(n<0||n>this.books.current.maxPage)return;const t={pk:this.books.current.pk,page:n};this._routeTo(t)},routeToDirection(r){if(r=this.normalizeDirection(r),this.routes[r]){const e=this.routes[r];this._routeTo(e)}else this.routes.books[r]?this.bookChange===r?this._routeTo(this.routes.books[r],this.books[r]):this.setBookChangeFlag(r):console.debug("No route to direction",r)},routeToPage(r){const e={pk:this.books.current.pk,page:r};this._routeTo(e)},routeToBook(r){this._routeTo(this.routes.books[r],this.books[r])},toRoute(r){return r?{params:r}:{}},_prefetchSrc(r,e,n=!1,t=!1){if(!r)return!1;const o=n?this.books[e]:this.books.current;if(!o)return!1;let s=r.page;if(t){if(!this.getSettings(o).twoPages)return!1;s+=1}if(s>o.maxPage)return!1;const a={pk:r.pk,page:s,mtime:o.mtime};return Qe(a)},prefetchLinks(r,e,n=!1){if(!n&&this.cacheBook)return{};const t=[this._prefetchSrc(r,e,n,!1),this._prefetchSrc(r,e,n,!0)],o=[];for(const s of t)s&&o.push({...Ee,href:s});return{link:o}},prefetchBook(r){if(!this.cacheBook||r.fileType=="PDF")return{};const e=r.pk,n=[];for(let t=0;t<=r.maxPage;t++){const o={pk:e,page:t,mtime:r.mtime},s=Qe(o);s&&n.push({...Ee,href:s})}return{link:n}}}}),$t=rr();function Un(r){r.use($t)}const Yn=function(){nr().setTimestamp();const r=k.currentRoute.value;r.name==="browser"?Hn().loadMtimes():r.name=="reader"?zn().loadMtimes():r.name=="admin-libraries"&&xe().loadTables(["Library","FailedImport"])},Vt=Oe("socket",{state:()=>({isConnected:!1,reconnectError:!1,app:void 0,heartBeatInterval:5*1e3,heartBeatTimer:0}),actions:{SOCKET_ONOPEN(r){this.app.config.globalProperties.$socket=r.currentTarget,this.$patch(e=>{e.isConnected=!0,e.reconnectError=!1}),this.heartBeatTimer=window.setInterval(()=>{try{this.isConnected&&this.app.config.globalProperties.$socket.send("")}catch(e){console.warn("keep-alive",e)}},this.heartBeatInterval)},SOCKET_ONCLOSE(){this.isConnected=!1,window.clearInterval(this.heartBeatTimer),this.heartBeatTimer=0},SOCKET_ONERROR(r){console.error("socket error",r),this.$patch(e=>{e.isConnected=!1,e.reconnectError=!0})},SOCKET_ONMESSAGE(r){const e=r.data;switch(console.debug(e),e){case D.websockets.LIBRARY_CHANGED:Yn();break;case D.websockets.LIBRARIAN_STATUS:xe().loadTable("LibrarianStatus");break;case D.websockets.FAILED_IMPORTS:xe().unseenFailedImports=!0;break;default:console.debug("Unhandled websocket message:",e)}},SOCKET_RECONNECT(r){console.debug("socket reconnect",r)},SOCKET_RECONNECT_ERROR(){console.error("socket reconnect error"),this.reconnectError=!0}}});function Zn(){return Vt($t)}const de=Symbol.for("vuetify:layout"),Nt=Symbol.for("vuetify:layout-item"),et=1e3,Xn=Ce({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),as=Ce({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function is(){const r=se(de);if(!r)throw new Error("[Vuetify] Could not find injected layout");return{layoutIsReady:oe(),getLayoutItem:r.getLayoutItem,mainRect:r.mainRect,mainStyles:r.mainStyles}}function cs(r){const e=se(de);if(!e)throw new Error("[Vuetify] Could not find injected layout");const n=r.id??`layout-item-${gt()}`,t=pt("useLayoutItem");vt(Nt,{id:n});const o=or(!1);ft(()=>o.value=!0),dt(()=>o.value=!1);const s=oe(),{layoutItemStyles:a,layoutItemScrimStyles:i}=e.register(t,{...r,active:V(()=>o.value?!1:r.active.value),id:n});return lt(()=>e.unregister(n)),{layoutItemStyles:a,layoutRect:e.layoutRect,layoutItemScrimStyles:i,layoutIsReady:s}}const Jn=(r,e,n,t)=>{let o={top:0,left:0,right:0,bottom:0};const s=[{id:"",layer:{...o}}];for(const a of r){const i=e.get(a),c=n.get(a),u=t.get(a);if(!i||!c||!u)continue;const l={...o,[i.value]:parseInt(o[i.value],10)+(u.value?parseInt(c.value,10):0)};s.push({id:a,layer:l}),o=l}return s};function Qn(r){const e=se(de,null),n=V(()=>e?e.rootZIndex.value-100:et),t=Se([]),o=Q(new Map),s=Q(new Map),a=Q(new Map),i=Q(new Map),c=Q(new Map),{resizeRef:u,contentRect:l}=sr(),f=He(()=>{const P=[...new Set([...a.values()].map(L=>L.value))].sort((L,b)=>L-b),E=[];for(const L of P){const b=t.value.filter(x=>{var O;return((O=a.get(x))==null?void 0:O.value)===L});E.push(...b)}return Jn(E,o,s,i)}),h=V(()=>!Array.from(c.values()).some(P=>P.value)),g=V(()=>f.value[f.value.length-1].layer),v=V(()=>({"--v-layout-left":ae(g.value.left),"--v-layout-right":ae(g.value.right),"--v-layout-top":ae(g.value.top),"--v-layout-bottom":ae(g.value.bottom),...h.value?void 0:{transition:"none"}})),d=He(()=>f.value.slice(1).map((P,E)=>{let{id:L}=P;const{layer:b}=f.value[E],x=s.get(L),O=o.get(L);return{id:L,...b,size:Number(x.value),position:O.value}})),p=P=>d.value.find(E=>E.id===P),y=pt("createLayout"),m=oe();vt(de,{register:(P,E)=>{let{id:L,order:b,position:x,layoutSize:O,elementSize:I,active:C,disableTransitions:R,absolute:M}=E;a.set(L,b),o.set(L,x),s.set(L,O),i.set(L,C),R&&c.set(L,R);const F=ar(Nt,y==null?void 0:y.vnode).indexOf(P);F>-1?t.value.splice(F,0,L):t.value.push(L);const A=V(()=>d.value.findIndex($=>$.id===L)),w=V(()=>n.value+f.value.length*2-A.value*2),B=V(()=>{const $=x.value==="left"||x.value==="right",Y=x.value==="right",G=x.value==="bottom",q=I.value??O.value,Xt=q===0?"%":"px",Jt={[x.value]:0,zIndex:w.value,transform:`translate${$?"X":"Y"}(${(C.value?0:-(q===0?100:q))*(Y||G?-1:1)}${Xt})`,position:M.value||n.value!==et?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(A.value<0)throw new Error(`Layout item "${L}" is missing`);const W=d.value[A.value];if(!W)throw new Error(`[Vuetify] Could not find layout item "${L}"`);return{...Jt,height:$?`calc(100% - ${W.top}px - ${W.bottom}px)`:I.value?`${I.value}px`:void 0,left:Y?void 0:`${W.left}px`,right:Y?`${W.right}px`:void 0,top:x.value!=="bottom"?`${W.top}px`:void 0,bottom:x.value!=="top"?`${W.bottom}px`:void 0,width:$?I.value?`${I.value}px`:void 0:`calc(100% - ${W.left}px - ${W.right}px)`}}),H=V(()=>({zIndex:w.value-1}));return{layoutItemStyles:B,layoutItemScrimStyles:H,zIndex:w}},unregister:P=>{a.delete(P),o.delete(P),s.delete(P),i.delete(P),c.delete(P),t.value=t.value.filter(E=>E!==P)},mainRect:g,mainStyles:v,getLayoutItem:p,items:d,layoutRect:l,rootZIndex:n,layoutIsReady:m});const S=V(()=>["v-layout",{"v-layout--full-height":r.fullHeight}]),T=V(()=>({zIndex:e?n.value:void 0,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:S,layoutStyles:T,getLayoutItem:p,items:d,layoutRect:l,layoutIsReady:m,layoutRef:u}}const qn=Ce({...ir(),...Xn({fullHeight:!0}),...cr()},"VApp"),_n=ur()({name:"VApp",props:qn(),setup(r,e){let{slots:n}=e;const t=lr(r),{layoutClasses:o,getLayoutItem:s,items:a,layoutRef:i}=Qn(r),{rtlClasses:c}=mt();return fr(()=>te("div",{ref:i,class:["v-application",t.themeClasses.value,o.value,c.value,r.class],style:[r.style]},[te("div",{class:"v-application__wrap"},[te(dr,null,{default:()=>{var u;return[te(hr,null,[(u=n.default)==null?void 0:u.call(n)])]}})])])),{getLayoutItem:s,items:a,theme:t}}}),eo={name:"App",computed:{...je(Vt,{isConnected:r=>r.isConnected}),...je(be,{user:r=>r.user})},watch:{user:function(){this.setTimezone()}},async created(){this.setTimezone(),this.loadAdminFlags(),this.loadProfile()},methods:{...gr(be,["loadAdminFlags","loadProfile","setTimezone"])}};function to(r,e,n,t,o,s){const a=mr("router-view");return yr(),vr(_n,null,{default:Sr(()=>[te(a)]),_:1})}const ro=pr(eo,[["render",to]]);var Gt={exports:{}};(function(r){r.exports=function(e){var n={};function t(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=e,t.c=n,t.d=function(o,s,a){t.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:a})},t.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},t.t=function(o,s){if(s&1&&(o=t(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var i in o)t.d(a,i,(function(c){return o[c]}).bind(null,i));return a},t.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(s,"a",s),s},t.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},t.p="",t(t.s="fb15")}({"00ee":function(e,n,t){var o=t("b622"),s=o("toStringTag"),a={};a[s]="z",e.exports=String(a)==="[object z]"},"0366":function(e,n,t){var o=t("1c0b");e.exports=function(s,a,i){if(o(s),a===void 0)return s;switch(i){case 0:return function(){return s.call(a)};case 1:return function(c){return s.call(a,c)};case 2:return function(c,u){return s.call(a,c,u)};case 3:return function(c,u,l){return s.call(a,c,u,l)}}return function(){return s.apply(a,arguments)}}},"06cf":function(e,n,t){var o=t("83ab"),s=t("d1e7"),a=t("5c6c"),i=t("fc6a"),c=t("c04e"),u=t("5135"),l=t("0cfb"),f=Object.getOwnPropertyDescriptor;n.f=o?f:function(g,v){if(g=i(g),v=c(v,!0),l)try{return f(g,v)}catch{}if(u(g,v))return a(!s.f.call(g,v),g[v])}},"0cfb":function(e,n,t){var o=t("83ab"),s=t("d039"),a=t("cc12");e.exports=!o&&!s(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"159b":function(e,n,t){var o=t("da84"),s=t("fdbc"),a=t("17c2"),i=t("9112");for(var c in s){var u=o[c],l=u&&u.prototype;if(l&&l.forEach!==a)try{i(l,"forEach",a)}catch{l.forEach=a}}},"17c2":function(e,n,t){var o=t("b727").forEach,s=t("a640"),a=s("forEach");e.exports=a?[].forEach:function(c){return o(this,c,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,n){e.exports=function(t,o,s){if(!(t instanceof o))throw TypeError("Incorrect "+(s?s+" ":"")+"invocation");return t}},"1be4":function(e,n,t){var o=t("d066");e.exports=o("document","documentElement")},"1c0b":function(e,n){e.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(e,n,t){var o=t("b622"),s=o("iterator"),a=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){a=!0}};c[s]=function(){return this},Array.from(c,function(){throw 2})}catch{}e.exports=function(u,l){if(!l&&!a)return!1;var f=!1;try{var h={};h[s]=function(){return{next:function(){return{done:f=!0}}}},u(h)}catch{}return f}},"1d80":function(e,n){e.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(e,n,t){var o=t("d039"),s=t("b622"),a=t("2d00"),i=s("species");e.exports=function(c){return a>=51||!o(function(){var u=[],l=u.constructor={};return l[i]=function(){return{foo:1}},u[c](Boolean).foo!==1})}},2266:function(e,n,t){var o=t("825a"),s=t("e95a"),a=t("50c4"),i=t("0366"),c=t("35a1"),u=t("2a62"),l=function(f,h){this.stopped=f,this.result=h};e.exports=function(f,h,g){var v=g&&g.that,d=!!(g&&g.AS_ENTRIES),p=!!(g&&g.IS_ITERATOR),y=!!(g&&g.INTERRUPTED),m=i(h,v,1+d+y),S,T,P,E,L,b,x,O=function(C){return S&&u(S),new l(!0,C)},I=function(C){return d?(o(C),y?m(C[0],C[1],O):m(C[0],C[1])):y?m(C,O):m(C)};if(p)S=f;else{if(T=c(f),typeof T!="function")throw TypeError("Target is not iterable");if(s(T)){for(P=0,E=a(f.length);E>P;P++)if(L=I(f[P]),L&&L instanceof l)return L;return new l(!1)}S=T.call(f)}for(b=S.next;!(x=b.call(S)).done;){try{L=I(x.value)}catch(C){throw u(S),C}if(typeof L=="object"&&L&&L instanceof l)return L}return new l(!1)}},"23cb":function(e,n,t){var o=t("a691"),s=Math.max,a=Math.min;e.exports=function(i,c){var u=o(i);return u<0?s(u+c,0):a(u,c)}},"23e7":function(e,n,t){var o=t("da84"),s=t("06cf").f,a=t("9112"),i=t("6eeb"),c=t("ce4e"),u=t("e893"),l=t("94ca");e.exports=function(f,h){var g=f.target,v=f.global,d=f.stat,p,y,m,S,T,P;if(v?y=o:d?y=o[g]||c(g,{}):y=(o[g]||{}).prototype,y)for(m in h){if(T=h[m],f.noTargetGet?(P=s(y,m),S=P&&P.value):S=y[m],p=l(v?m:g+(d?".":"#")+m,f.forced),!p&&S!==void 0){if(typeof T==typeof S)continue;u(T,S)}(f.sham||S&&S.sham)&&a(T,"sham",!0),i(y,m,T,f)}}},"241c":function(e,n,t){var o=t("ca84"),s=t("7839"),a=s.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(c){return o(c,a)}},"25f0":function(e,n,t){var o=t("6eeb"),s=t("825a"),a=t("d039"),i=t("ad6d"),c="toString",u=RegExp.prototype,l=u[c],f=a(function(){return l.call({source:"a",flags:"b"})!="/a/b"}),h=l.name!=c;(f||h)&&o(RegExp.prototype,c,function(){var v=s(this),d=String(v.source),p=v.flags,y=String(p===void 0&&v instanceof RegExp&&!("flags"in u)?i.call(v):p);return"/"+d+"/"+y},{unsafe:!0})},2626:function(e,n,t){var o=t("d066"),s=t("9bf2"),a=t("b622"),i=t("83ab"),c=a("species");e.exports=function(u){var l=o(u),f=s.f;i&&l&&!l[c]&&f(l,c,{configurable:!0,get:function(){return this}})}},"2a62":function(e,n,t){var o=t("825a");e.exports=function(s){var a=s.return;if(a!==void 0)return o(a.call(s)).value}},"2ca0":function(e,n,t){var o=t("23e7"),s=t("06cf").f,a=t("50c4"),i=t("5a34"),c=t("1d80"),u=t("ab13"),l=t("c430"),f="".startsWith,h=Math.min,g=u("startsWith"),v=!l&&!g&&!!function(){var d=s(String.prototype,"startsWith");return d&&!d.writable}();o({target:"String",proto:!0,forced:!v&&!g},{startsWith:function(p){var y=String(c(this));i(p);var m=a(h(arguments.length>1?arguments[1]:void 0,y.length)),S=String(p);return f?f.call(y,S,m):y.slice(m,m+S.length)===S}})},"2d00":function(e,n,t){var o=t("da84"),s=t("342f"),a=o.process,i=a&&a.versions,c=i&&i.v8,u,l;c?(u=c.split("."),l=u[0]<4?1:u[0]+u[1]):s&&(u=s.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=s.match(/Chrome\/(\d+)/),u&&(l=u[1]))),e.exports=l&&+l},"342f":function(e,n,t){var o=t("d066");e.exports=o("navigator","userAgent")||""},"35a1":function(e,n,t){var o=t("f5df"),s=t("3f8c"),a=t("b622"),i=a("iterator");e.exports=function(c){if(c!=null)return c[i]||c["@@iterator"]||s[o(c)]}},"37e8":function(e,n,t){var o=t("83ab"),s=t("9bf2"),a=t("825a"),i=t("df75");e.exports=o?Object.defineProperties:function(u,l){a(u);for(var f=i(l),h=f.length,g=0,v;h>g;)s.f(u,v=f[g++],l[v]);return u}},"3bbe":function(e,n,t){var o=t("861d");e.exports=function(s){if(!o(s)&&s!==null)throw TypeError("Can't set "+String(s)+" as a prototype");return s}},"3ca3":function(e,n,t){var o=t("6547").charAt,s=t("69f3"),a=t("7dd0"),i="String Iterator",c=s.set,u=s.getterFor(i);a(String,"String",function(l){c(this,{type:i,string:String(l),index:0})},function(){var f=u(this),h=f.string,g=f.index,v;return g>=h.length?{value:void 0,done:!0}:(v=o(h,g),f.index+=v.length,{value:v,done:!1})})},"3f8c":function(e,n){e.exports={}},"428f":function(e,n,t){var o=t("da84");e.exports=o},"44ad":function(e,n,t){var o=t("d039"),s=t("c6b6"),a="".split;e.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(i){return s(i)=="String"?a.call(i,""):Object(i)}:Object},"44d2":function(e,n,t){var o=t("b622"),s=t("7c73"),a=t("9bf2"),i=o("unscopables"),c=Array.prototype;c[i]==null&&a.f(c,i,{configurable:!0,value:s(null)}),e.exports=function(u){c[i][u]=!0}},"44e7":function(e,n,t){var o=t("861d"),s=t("c6b6"),a=t("b622"),i=a("match");e.exports=function(c){var u;return o(c)&&((u=c[i])!==void 0?!!u:s(c)=="RegExp")}},4930:function(e,n,t){var o=t("2d00"),s=t("d039");e.exports=!!Object.getOwnPropertySymbols&&!s(function(){var a=Symbol();return!String(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&o&&o<41})},"4d64":function(e,n,t){var o=t("fc6a"),s=t("50c4"),a=t("23cb"),i=function(c){return function(u,l,f){var h=o(u),g=s(h.length),v=a(f,g),d;if(c&&l!=l){for(;g>v;)if(d=h[v++],d!=d)return!0}else for(;g>v;v++)if((c||v in h)&&h[v]===l)return c||v||0;return!c&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"4de4":function(e,n,t){var o=t("23e7"),s=t("b727").filter,a=t("1dde"),i=a("filter");o({target:"Array",proto:!0,forced:!i},{filter:function(u){return s(this,u,arguments.length>1?arguments[1]:void 0)}})},"4ec9":function(e,n,t){var o=t("6d61"),s=t("6566");e.exports=o("Map",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},s)},"50c4":function(e,n,t){var o=t("a691"),s=Math.min;e.exports=function(a){return a>0?s(o(a),9007199254740991):0}},5135:function(e,n,t){var o=t("7b0b"),s={}.hasOwnProperty;e.exports=Object.hasOwn||function(i,c){return s.call(o(i),c)}},5692:function(e,n,t){var o=t("c430"),s=t("c6cd");(e.exports=function(a,i){return s[a]||(s[a]=i!==void 0?i:{})})("versions",[]).push({version:"3.15.2",mode:o?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,n,t){var o=t("d066"),s=t("241c"),a=t("7418"),i=t("825a");e.exports=o("Reflect","ownKeys")||function(u){var l=s.f(i(u)),f=a.f;return f?l.concat(f(u)):l}},"5a34":function(e,n,t){var o=t("44e7");e.exports=function(s){if(o(s))throw TypeError("The method doesn't accept regular expressions");return s}},"5c6c":function(e,n){e.exports=function(t,o){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:o}}},6547:function(e,n,t){var o=t("a691"),s=t("1d80"),a=function(i){return function(c,u){var l=String(s(c)),f=o(u),h=l.length,g,v;return f<0||f>=h?i?"":void 0:(g=l.charCodeAt(f),g<55296||g>56319||f+1===h||(v=l.charCodeAt(f+1))<56320||v>57343?i?l.charAt(f):g:i?l.slice(f,f+2):(g-55296<<10)+(v-56320)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},6566:function(e,n,t){var o=t("9bf2").f,s=t("7c73"),a=t("e2cc"),i=t("0366"),c=t("19aa"),u=t("2266"),l=t("7dd0"),f=t("2626"),h=t("83ab"),g=t("f183").fastKey,v=t("69f3"),d=v.set,p=v.getterFor;e.exports={getConstructor:function(y,m,S,T){var P=y(function(x,O){c(x,P,m),d(x,{type:m,index:s(null),first:void 0,last:void 0,size:0}),h||(x.size=0),O!=null&&u(O,x[T],{that:x,AS_ENTRIES:S})}),E=p(m),L=function(x,O,I){var C=E(x),R=b(x,O),M,j;return R?R.value=I:(C.last=R={index:j=g(O,!0),key:O,value:I,previous:M=C.last,next:void 0,removed:!1},C.first||(C.first=R),M&&(M.next=R),h?C.size++:x.size++,j!=="F"&&(C.index[j]=R)),x},b=function(x,O){var I=E(x),C=g(O),R;if(C!=="F")return I.index[C];for(R=I.first;R;R=R.next)if(R.key==O)return R};return a(P.prototype,{clear:function(){for(var O=this,I=E(O),C=I.index,R=I.first;R;)R.removed=!0,R.previous&&(R.previous=R.previous.next=void 0),delete C[R.index],R=R.next;I.first=I.last=void 0,h?I.size=0:O.size=0},delete:function(x){var O=this,I=E(O),C=b(O,x);if(C){var R=C.next,M=C.previous;delete I.index[C.index],C.removed=!0,M&&(M.next=R),R&&(R.previous=M),I.first==C&&(I.first=R),I.last==C&&(I.last=M),h?I.size--:O.size--}return!!C},forEach:function(O){for(var I=E(this),C=i(O,arguments.length>1?arguments[1]:void 0,3),R;R=R?R.next:I.first;)for(C(R.value,R.key,this);R&&R.removed;)R=R.previous},has:function(O){return!!b(this,O)}}),a(P.prototype,S?{get:function(O){var I=b(this,O);return I&&I.value},set:function(O,I){return L(this,O===0?0:O,I)}}:{add:function(O){return L(this,O=O===0?0:O,O)}}),h&&o(P.prototype,"size",{get:function(){return E(this).size}}),P},setStrong:function(y,m,S){var T=m+" Iterator",P=p(m),E=p(T);l(y,m,function(L,b){d(this,{type:T,target:L,state:P(L),kind:b,last:void 0})},function(){for(var L=E(this),b=L.kind,x=L.last;x&&x.removed;)x=x.previous;return!L.target||!(L.last=x=x?x.next:L.state.first)?(L.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:x.key,done:!1}:b=="values"?{value:x.value,done:!1}:{value:[x.key,x.value],done:!1}},S?"entries":"values",!S,!0),f(m)}}},"65f0":function(e,n,t){var o=t("861d"),s=t("e8b5"),a=t("b622"),i=a("species");e.exports=function(c,u){var l;return s(c)&&(l=c.constructor,typeof l=="function"&&(l===Array||s(l.prototype))?l=void 0:o(l)&&(l=l[i],l===null&&(l=void 0))),new(l===void 0?Array:l)(u===0?0:u)}},"69f3":function(e,n,t){var o=t("7f9a"),s=t("da84"),a=t("861d"),i=t("9112"),c=t("5135"),u=t("c6cd"),l=t("f772"),f=t("d012"),h="Object already initialized",g=s.WeakMap,v,d,p,y=function(b){return p(b)?d(b):v(b,{})},m=function(b){return function(x){var O;if(!a(x)||(O=d(x)).type!==b)throw TypeError("Incompatible receiver, "+b+" required");return O}};if(o||u.state){var S=u.state||(u.state=new g),T=S.get,P=S.has,E=S.set;v=function(b,x){if(P.call(S,b))throw new TypeError(h);return x.facade=b,E.call(S,b,x),x},d=function(b){return T.call(S,b)||{}},p=function(b){return P.call(S,b)}}else{var L=l("state");f[L]=!0,v=function(b,x){if(c(b,L))throw new TypeError(h);return x.facade=b,i(b,L,x),x},d=function(b){return c(b,L)?b[L]:{}},p=function(b){return c(b,L)}}e.exports={set:v,get:d,has:p,enforce:y,getterFor:m}},"6d61":function(e,n,t){var o=t("23e7"),s=t("da84"),a=t("94ca"),i=t("6eeb"),c=t("f183"),u=t("2266"),l=t("19aa"),f=t("861d"),h=t("d039"),g=t("1c7e"),v=t("d44e"),d=t("7156");e.exports=function(p,y,m){var S=p.indexOf("Map")!==-1,T=p.indexOf("Weak")!==-1,P=S?"set":"add",E=s[p],L=E&&E.prototype,b=E,x={},O=function(A){var w=L[A];i(L,A,A=="add"?function(H){return w.call(this,H===0?0:H),this}:A=="delete"?function(B){return T&&!f(B)?!1:w.call(this,B===0?0:B)}:A=="get"?function(H){return T&&!f(H)?void 0:w.call(this,H===0?0:H)}:A=="has"?function(H){return T&&!f(H)?!1:w.call(this,H===0?0:H)}:function(H,$){return w.call(this,H===0?0:H,$),this})},I=a(p,typeof E!="function"||!(T||L.forEach&&!h(function(){new E().entries().next()})));if(I)b=m.getConstructor(y,p,S,P),c.REQUIRED=!0;else if(a(p,!0)){var C=new b,R=C[P](T?{}:-0,1)!=C,M=h(function(){C.has(1)}),j=g(function(A){new E(A)}),F=!T&&h(function(){for(var A=new E,w=5;w--;)A[P](w,w);return!A.has(-0)});j||(b=y(function(A,w){l(A,b,p);var B=d(new E,A,b);return w!=null&&u(w,B[P],{that:B,AS_ENTRIES:S}),B}),b.prototype=L,L.constructor=b),(M||F)&&(O("delete"),O("has"),S&&O("get")),(F||R)&&O(P),T&&L.clear&&delete L.clear}return x[p]=b,o({global:!0,forced:b!=E},x),v(b,p),T||m.setStrong(b,p,S),b}},"6eeb":function(e,n,t){var o=t("da84"),s=t("9112"),a=t("5135"),i=t("ce4e"),c=t("8925"),u=t("69f3"),l=u.get,f=u.enforce,h=String(String).split("String");(e.exports=function(g,v,d,p){var y=p?!!p.unsafe:!1,m=p?!!p.enumerable:!1,S=p?!!p.noTargetGet:!1,T;if(typeof d=="function"&&(typeof v=="string"&&!a(d,"name")&&s(d,"name",v),T=f(d),T.source||(T.source=h.join(typeof v=="string"?v:""))),g===o){m?g[v]=d:i(v,d);return}else y?!S&&g[v]&&(m=!0):delete g[v];m?g[v]=d:s(g,v,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&l(this).source||c(this)})},7156:function(e,n,t){var o=t("861d"),s=t("d2bb");e.exports=function(a,i,c){var u,l;return s&&typeof(u=i.constructor)=="function"&&u!==c&&o(l=u.prototype)&&l!==c.prototype&&s(a,l),a}},7418:function(e,n){n.f=Object.getOwnPropertySymbols},7839:function(e,n){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,n,t){var o=t("1d80");e.exports=function(s){return Object(o(s))}},"7c73":function(e,n,t){var o=t("825a"),s=t("37e8"),a=t("7839"),i=t("d012"),c=t("1be4"),u=t("cc12"),l=t("f772"),f=">",h="<",g="prototype",v="script",d=l("IE_PROTO"),p=function(){},y=function(E){return h+v+f+E+h+"/"+v+f},m=function(E){E.write(y("")),E.close();var L=E.parentWindow.Object;return E=null,L},S=function(){var E=u("iframe"),L="java"+v+":",b;return E.style.display="none",c.appendChild(E),E.src=String(L),b=E.contentWindow.document,b.open(),b.write(y("document.F=Object")),b.close(),b.F},T,P=function(){try{T=document.domain&&new ActiveXObject("htmlfile")}catch{}P=T?m(T):S();for(var E=a.length;E--;)delete P[g][a[E]];return P()};i[d]=!0,e.exports=Object.create||function(L,b){var x;return L!==null?(p[g]=o(L),x=new p,p[g]=null,x[d]=L):x=P(),b===void 0?x:s(x,b)}},"7dd0":function(e,n,t){var o=t("23e7"),s=t("9ed3"),a=t("e163"),i=t("d2bb"),c=t("d44e"),u=t("9112"),l=t("6eeb"),f=t("b622"),h=t("c430"),g=t("3f8c"),v=t("ae93"),d=v.IteratorPrototype,p=v.BUGGY_SAFARI_ITERATORS,y=f("iterator"),m="keys",S="values",T="entries",P=function(){return this};e.exports=function(E,L,b,x,O,I,C){s(b,L,x);var R=function(G){if(G===O&&w)return w;if(!p&&G in F)return F[G];switch(G){case m:return function(){return new b(this,G)};case S:return function(){return new b(this,G)};case T:return function(){return new b(this,G)}}return function(){return new b(this)}},M=L+" Iterator",j=!1,F=E.prototype,A=F[y]||F["@@iterator"]||O&&F[O],w=!p&&A||R(O),B=L=="Array"&&F.entries||A,H,$,Y;if(B&&(H=a(B.call(new E)),d!==Object.prototype&&H.next&&(!h&&a(H)!==d&&(i?i(H,d):typeof H[y]!="function"&&u(H,y,P)),c(H,M,!0,!0),h&&(g[M]=P))),O==S&&A&&A.name!==S&&(j=!0,w=function(){return A.call(this)}),(!h||C)&&F[y]!==w&&u(F,y,w),g[L]=w,O)if($={values:R(S),keys:I?w:R(m),entries:R(T)},C)for(Y in $)(p||j||!(Y in F))&&l(F,Y,$[Y]);else o({target:L,proto:!0,forced:p||j},$);return $}},"7f9a":function(e,n,t){var o=t("da84"),s=t("8925"),a=o.WeakMap;e.exports=typeof a=="function"&&/native code/.test(s(a))},"825a":function(e,n,t){var o=t("861d");e.exports=function(s){if(!o(s))throw TypeError(String(s)+" is not an object");return s}},"83ab":function(e,n,t){var o=t("d039");e.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(e,n,t){var o=t("c04e"),s=t("9bf2"),a=t("5c6c");e.exports=function(i,c,u){var l=o(c);l in i?s.f(i,l,a(0,u)):i[l]=u}},"861d":function(e,n){e.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(e,n,t){var o,s,a;(function(i,c){s=[],o=c,a=typeof o=="function"?o.apply(n,s):o,a!==void 0&&(e.exports=a)})(typeof self<"u"?self:this,function(){function i(){var c=Object.getOwnPropertyDescriptor(document,"currentScript");if(!c&&"currentScript"in document&&document.currentScript||c&&c.get!==i&&document.currentScript)return document.currentScript;try{throw new Error}catch(T){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,l=/@([^@]*):(\d+):(\d+)\s*$/ig,f=u.exec(T.stack)||l.exec(T.stack),h=f&&f[1]||!1,g=f&&f[2]||!1,v=document.location.href.replace(document.location.hash,""),d,p,y,m=document.getElementsByTagName("script");h===v&&(d=document.documentElement.outerHTML,p=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=d.replace(p,"$1").trim());for(var S=0;S<m.length;S++)if(m[S].readyState==="interactive"||m[S].src===h||h===v&&m[S].innerHTML&&m[S].innerHTML.trim()===y)return m[S];return null}}return i})},8925:function(e,n,t){var o=t("c6cd"),s=Function.toString;typeof o.inspectSource!="function"&&(o.inspectSource=function(a){return s.call(a)}),e.exports=o.inspectSource},"90e3":function(e,n){var t=0,o=Math.random();e.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++t+o).toString(36)}},9112:function(e,n,t){var o=t("83ab"),s=t("9bf2"),a=t("5c6c");e.exports=o?function(i,c,u){return s.f(i,c,a(1,u))}:function(i,c,u){return i[c]=u,i}},"94ca":function(e,n,t){var o=t("d039"),s=/#|\.prototype\./,a=function(f,h){var g=c[i(f)];return g==l?!0:g==u?!1:typeof h=="function"?o(h):!!h},i=a.normalize=function(f){return String(f).replace(s,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},"99af":function(e,n,t){var o=t("23e7"),s=t("d039"),a=t("e8b5"),i=t("861d"),c=t("7b0b"),u=t("50c4"),l=t("8418"),f=t("65f0"),h=t("1dde"),g=t("b622"),v=t("2d00"),d=g("isConcatSpreadable"),p=9007199254740991,y="Maximum allowed index exceeded",m=v>=51||!s(function(){var E=[];return E[d]=!1,E.concat()[0]!==E}),S=h("concat"),T=function(E){if(!i(E))return!1;var L=E[d];return L!==void 0?!!L:a(E)},P=!m||!S;o({target:"Array",proto:!0,forced:P},{concat:function(L){var b=c(this),x=f(b,0),O=0,I,C,R,M,j;for(I=-1,R=arguments.length;I<R;I++)if(j=I===-1?b:arguments[I],T(j)){if(M=u(j.length),O+M>p)throw TypeError(y);for(C=0;C<M;C++,O++)C in j&&l(x,O,j[C])}else{if(O>=p)throw TypeError(y);l(x,O++,j)}return x.length=O,x}})},"9bf2":function(e,n,t){var o=t("83ab"),s=t("0cfb"),a=t("825a"),i=t("c04e"),c=Object.defineProperty;n.f=o?c:function(l,f,h){if(a(l),f=i(f,!0),a(h),s)try{return c(l,f,h)}catch{}if("get"in h||"set"in h)throw TypeError("Accessors not supported");return"value"in h&&(l[f]=h.value),l}},"9ed3":function(e,n,t){var o=t("ae93").IteratorPrototype,s=t("7c73"),a=t("5c6c"),i=t("d44e"),c=t("3f8c"),u=function(){return this};e.exports=function(l,f,h){var g=f+" Iterator";return l.prototype=s(o,{next:a(1,h)}),i(l,g,!1,!0),c[g]=u,l}},a15b:function(e,n,t){var o=t("23e7"),s=t("44ad"),a=t("fc6a"),i=t("a640"),c=[].join,u=s!=Object,l=i("join",",");o({target:"Array",proto:!0,forced:u||!l},{join:function(h){return c.call(a(this),h===void 0?",":h)}})},a434:function(e,n,t){var o=t("23e7"),s=t("23cb"),a=t("a691"),i=t("50c4"),c=t("7b0b"),u=t("65f0"),l=t("8418"),f=t("1dde"),h=f("splice"),g=Math.max,v=Math.min,d=9007199254740991,p="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!h},{splice:function(m,S){var T=c(this),P=i(T.length),E=s(m,P),L=arguments.length,b,x,O,I,C,R;if(L===0?b=x=0:L===1?(b=0,x=P-E):(b=L-2,x=v(g(a(S),0),P-E)),P+b-x>d)throw TypeError(p);for(O=u(T,x),I=0;I<x;I++)C=E+I,C in T&&l(O,I,T[C]);if(O.length=x,b<x){for(I=E;I<P-x;I++)C=I+x,R=I+b,C in T?T[R]=T[C]:delete T[R];for(I=P;I>P-x+b;I--)delete T[I-1]}else if(b>x)for(I=P-x;I>E;I--)C=I+x-1,R=I+b-1,C in T?T[R]=T[C]:delete T[R];for(I=0;I<b;I++)T[I+E]=arguments[I+2];return T.length=P-x+b,O}})},a640:function(e,n,t){var o=t("d039");e.exports=function(s,a){var i=[][s];return!!i&&o(function(){i.call(null,a||function(){throw 1},1)})}},a691:function(e,n){var t=Math.ceil,o=Math.floor;e.exports=function(s){return isNaN(s=+s)?0:(s>0?o:t)(s)}},ab13:function(e,n,t){var o=t("b622"),s=o("match");e.exports=function(a){var i=/./;try{"/./"[a](i)}catch{try{return i[s]=!1,"/./"[a](i)}catch{}}return!1}},ad6d:function(e,n,t){var o=t("825a");e.exports=function(){var s=o(this),a="";return s.global&&(a+="g"),s.ignoreCase&&(a+="i"),s.multiline&&(a+="m"),s.dotAll&&(a+="s"),s.unicode&&(a+="u"),s.sticky&&(a+="y"),a}},ae93:function(e,n,t){var o=t("d039"),s=t("e163"),a=t("9112"),i=t("5135"),c=t("b622"),u=t("c430"),l=c("iterator"),f=!1,h=function(){return this},g,v,d;[].keys&&(d=[].keys(),"next"in d?(v=s(s(d)),v!==Object.prototype&&(g=v)):f=!0);var p=g==null||o(function(){var y={};return g[l].call(y)!==y});p&&(g={}),(!u||p)&&!i(g,l)&&a(g,l,h),e.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:f}},af93:function(e,n,t){var o=t("23e7"),s=t("861d"),a=t("f183").onFreeze,i=t("bb2f"),c=t("d039"),u=Object.seal,l=c(function(){u(1)});o({target:"Object",stat:!0,forced:l,sham:!i},{seal:function(h){return u&&s(h)?u(a(h)):h}})},b041:function(e,n,t){var o=t("00ee"),s=t("f5df");e.exports=o?{}.toString:function(){return"[object "+s(this)+"]"}},b622:function(e,n,t){var o=t("da84"),s=t("5692"),a=t("5135"),i=t("90e3"),c=t("4930"),u=t("fdbf"),l=s("wks"),f=o.Symbol,h=u?f:f&&f.withoutSetter||i;e.exports=function(g){return(!a(l,g)||!(c||typeof l[g]=="string"))&&(c&&a(f,g)?l[g]=f[g]:l[g]=h("Symbol."+g)),l[g]}},b64b:function(e,n,t){var o=t("23e7"),s=t("7b0b"),a=t("df75"),i=t("d039"),c=i(function(){a(1)});o({target:"Object",stat:!0,forced:c},{keys:function(l){return a(s(l))}})},b727:function(e,n,t){var o=t("0366"),s=t("44ad"),a=t("7b0b"),i=t("50c4"),c=t("65f0"),u=[].push,l=function(f){var h=f==1,g=f==2,v=f==3,d=f==4,p=f==6,y=f==7,m=f==5||p;return function(S,T,P,E){for(var L=a(S),b=s(L),x=o(T,P,3),O=i(b.length),I=0,C=E||c,R=h?C(S,O):g||y?C(S,0):void 0,M,j;O>I;I++)if((m||I in b)&&(M=b[I],j=x(M,I,L),f))if(h)R[I]=j;else if(j)switch(f){case 3:return!0;case 5:return M;case 6:return I;case 2:u.call(R,M)}else switch(f){case 4:return!1;case 7:u.call(R,M)}return p?-1:v||d?d:R}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},bb2f:function(e,n,t){var o=t("d039");e.exports=!o(function(){return Object.isExtensible(Object.preventExtensions({}))})},c04e:function(e,n,t){var o=t("861d");e.exports=function(s,a){if(!o(s))return s;var i,c;if(a&&typeof(i=s.toString)=="function"&&!o(c=i.call(s))||typeof(i=s.valueOf)=="function"&&!o(c=i.call(s))||!a&&typeof(i=s.toString)=="function"&&!o(c=i.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},c430:function(e,n){e.exports=!1},c6b6:function(e,n){var t={}.toString;e.exports=function(o){return t.call(o).slice(8,-1)}},c6cd:function(e,n,t){var o=t("da84"),s=t("ce4e"),a="__core-js_shared__",i=o[a]||s(a,{});e.exports=i},c8ba:function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}e.exports=t},ca84:function(e,n,t){var o=t("5135"),s=t("fc6a"),a=t("4d64").indexOf,i=t("d012");e.exports=function(c,u){var l=s(c),f=0,h=[],g;for(g in l)!o(i,g)&&o(l,g)&&h.push(g);for(;u.length>f;)o(l,g=u[f++])&&(~a(h,g)||h.push(g));return h}},cc12:function(e,n,t){var o=t("da84"),s=t("861d"),a=o.document,i=s(a)&&s(a.createElement);e.exports=function(c){return i?a.createElement(c):{}}},ce4e:function(e,n,t){var o=t("da84"),s=t("9112");e.exports=function(a,i){try{s(o,a,i)}catch{o[a]=i}return i}},d012:function(e,n){e.exports={}},d039:function(e,n){e.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(e,n,t){var o=t("428f"),s=t("da84"),a=function(i){return typeof i=="function"?i:void 0};e.exports=function(i,c){return arguments.length<2?a(o[i])||a(s[i]):o[i]&&o[i][c]||s[i]&&s[i][c]}},d1e7:function(e,n,t){var o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,a=s&&!o.call({1:2},1);n.f=a?function(c){var u=s(this,c);return!!u&&u.enumerable}:o},d2bb:function(e,n,t){var o=t("825a"),s=t("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,i={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(i,[]),a=i instanceof Array}catch{}return function(l,f){return o(l),s(f),a?c.call(l,f):l.__proto__=f,l}}():void 0)},d3b7:function(e,n,t){var o=t("00ee"),s=t("6eeb"),a=t("b041");o||s(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(e,n,t){var o=t("9bf2").f,s=t("5135"),a=t("b622"),i=a("toStringTag");e.exports=function(c,u,l){c&&!s(c=l?c:c.prototype,i)&&o(c,i,{configurable:!0,value:u})}},da84:function(e,n,t){(function(o){var s=function(a){return a&&a.Math==Math&&a};e.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof o=="object"&&o)||function(){return this}()||Function("return this")()}).call(this,t("c8ba"))},ddb0:function(e,n,t){var o=t("da84"),s=t("fdbc"),a=t("e260"),i=t("9112"),c=t("b622"),u=c("iterator"),l=c("toStringTag"),f=a.values;for(var h in s){var g=o[h],v=g&&g.prototype;if(v){if(v[u]!==f)try{i(v,u,f)}catch{v[u]=f}if(v[l]||i(v,l,h),s[h]){for(var d in a)if(v[d]!==a[d])try{i(v,d,a[d])}catch{v[d]=a[d]}}}}},df75:function(e,n,t){var o=t("ca84"),s=t("7839");e.exports=Object.keys||function(i){return o(i,s)}},e163:function(e,n,t){var o=t("5135"),s=t("7b0b"),a=t("f772"),i=t("e177"),c=a("IE_PROTO"),u=Object.prototype;e.exports=i?Object.getPrototypeOf:function(l){return l=s(l),o(l,c)?l[c]:typeof l.constructor=="function"&&l instanceof l.constructor?l.constructor.prototype:l instanceof Object?u:null}},e177:function(e,n,t){var o=t("d039");e.exports=!o(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},e260:function(e,n,t){var o=t("fc6a"),s=t("44d2"),a=t("3f8c"),i=t("69f3"),c=t("7dd0"),u="Array Iterator",l=i.set,f=i.getterFor(u);e.exports=c(Array,"Array",function(h,g){l(this,{type:u,target:o(h),index:0,kind:g})},function(){var h=f(this),g=h.target,v=h.kind,d=h.index++;return!g||d>=g.length?(h.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:d,done:!1}:v=="values"?{value:g[d],done:!1}:{value:[d,g[d]],done:!1}},"values"),a.Arguments=a.Array,s("keys"),s("values"),s("entries")},e2cc:function(e,n,t){var o=t("6eeb");e.exports=function(s,a,i){for(var c in a)o(s,c,a[c],i);return s}},e893:function(e,n,t){var o=t("5135"),s=t("56ef"),a=t("06cf"),i=t("9bf2");e.exports=function(c,u){for(var l=s(u),f=i.f,h=a.f,g=0;g<l.length;g++){var v=l[g];o(c,v)||f(c,v,h(u,v))}}},e8b5:function(e,n,t){var o=t("c6b6");e.exports=Array.isArray||function(a){return o(a)=="Array"}},e95a:function(e,n,t){var o=t("b622"),s=t("3f8c"),a=o("iterator"),i=Array.prototype;e.exports=function(c){return c!==void 0&&(s.Array===c||i[a]===c)}},f183:function(e,n,t){var o=t("d012"),s=t("861d"),a=t("5135"),i=t("9bf2").f,c=t("90e3"),u=t("bb2f"),l=c("meta"),f=0,h=Object.isExtensible||function(){return!0},g=function(m){i(m,l,{value:{objectID:"O"+f++,weakData:{}}})},v=function(m,S){if(!s(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!a(m,l)){if(!h(m))return"F";if(!S)return"E";g(m)}return m[l].objectID},d=function(m,S){if(!a(m,l)){if(!h(m))return!0;if(!S)return!1;g(m)}return m[l].weakData},p=function(m){return u&&y.REQUIRED&&h(m)&&!a(m,l)&&g(m),m},y=e.exports={REQUIRED:!1,fastKey:v,getWeakData:d,onFreeze:p};o[l]=!0},f5df:function(e,n,t){var o=t("00ee"),s=t("c6b6"),a=t("b622"),i=a("toStringTag"),c=s(function(){return arguments}())=="Arguments",u=function(l,f){try{return l[f]}catch{}};e.exports=o?s:function(l){var f,h,g;return l===void 0?"Undefined":l===null?"Null":typeof(h=u(f=Object(l),i))=="string"?h:c?s(f):(g=s(f))=="Object"&&typeof f.callee=="function"?"Arguments":g}},f772:function(e,n,t){var o=t("5692"),s=t("90e3"),a=o("keys");e.exports=function(i){return a[i]||(a[i]=s(i))}},fb15:function(e,n,t){if(t.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=t("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var a=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(t.p=a[1])}t("d3b7"),t("25f0"),t("159b"),t("b64b"),t("af93");function i(v,d){if(!(v instanceof d))throw new TypeError("Cannot call a class as a function")}function c(v,d){for(var p=0;p<d.length;p++){var y=d[p];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(v,y.key,y)}}function u(v,d,p){return d&&c(v.prototype,d),v}t("2ca0"),t("99af"),t("a15b"),t("4de4"),t("e260"),t("4ec9"),t("3ca3"),t("ddb0"),t("a434");var l=function(){function v(){i(this,v),this.listeners=new Map}return u(v,[{key:"addListener",value:function(p,y,m){return typeof y=="function"?(this.listeners.has(p)||this.listeners.set(p,[]),this.listeners.get(p).push({callback:y,vm:m}),!0):!1}},{key:"removeListener",value:function(p,y,m){var S=this.listeners.get(p),T;return S&&S.length&&(T=S.reduce(function(P,E,L){return typeof E.callback=="function"&&E.callback===y&&E.vm===m&&(P=L),P},-1),T>-1)?(S.splice(T,1),this.listeners.set(p,S),!0):!1}},{key:"emit",value:function(p){for(var y=arguments.length,m=new Array(y>1?y-1:0),S=1;S<y;S++)m[S-1]=arguments[S];var T=this.listeners.get(p);return T&&T.length?(T.forEach(function(P){var E;(E=P.callback).call.apply(E,[P.vm].concat(m))}),!0):!1}}]),v}(),f=new l,h=function(){function v(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{format:""};if(i(this,v),this.reconnectTimeoutId=0,this.reconnectionCount=0,this.format=p.format&&p.format.toLowerCase(),d.startsWith("//")){var y=window.location.protocol==="https:"?"wss":"ws";d="".concat(y,":").concat(d)}this.connectionUrl=d,this.opts=p,this.reconnection=this.opts.reconnection||!1,this.reconnectionAttempts=this.opts.reconnectionAttempts||1/0,this.reconnectionDelay=this.opts.reconnectionDelay||1e3,this.passToStoreHandler=this.opts.passToStoreHandler,this.connect(d,p),p.store&&(this.store=p.store),p.mutations&&(this.mutations=p.mutations),this.onEvent()}return u(v,[{key:"connect",value:function(p){var y=this,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{format:""},S=m.protocol||"";return this.WebSocket=m.WebSocket||(S===""?new WebSocket(p):new WebSocket(p,S)),this.format==="json"&&("sendObj"in this.WebSocket||(this.WebSocket.sendObj=function(T){return y.WebSocket.send(JSON.stringify(T))})),this.WebSocket}},{key:"reconnect",value:function(){var p=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount++,window.clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=window.setTimeout(function(){p.store&&p.passToStore("SOCKET_RECONNECT",p.reconnectionCount),p.connect(p.connectionUrl,p.opts),p.onEvent()},this.reconnectionDelay)):this.store&&this.passToStore("SOCKET_RECONNECT_ERROR",!0)}},{key:"onEvent",value:function(){var p=this;["onmessage","onclose","onerror","onopen"].forEach(function(y){p.WebSocket[y]=function(m){f.emit(y,m),p.store&&p.passToStore("SOCKET_"+y,m),p.reconnection&&y==="onopen"&&(p.opts.$setInstance&&p.opts.$setInstance(m.currentTarget),p.reconnectionCount=0),p.reconnection&&y==="onclose"&&p.reconnect()}})}},{key:"passToStore",value:function(p,y){this.passToStoreHandler?this.passToStoreHandler(p,y,this.defaultPassToStore.bind(this)):this.defaultPassToStore(p,y)}},{key:"defaultPassToStore",value:function(p,y){if(p.startsWith("SOCKET_")){var m="commit",S=p.toUpperCase(),T=y;this.format==="json"&&y.data&&(T=JSON.parse(y.data),T.mutation?S=[T.namespace||"",T.mutation].filter(function(P){return!!P}).join("/"):T.action&&(m="dispatch",S=[T.namespace||"",T.action].filter(function(P){return!!P}).join("/"))),this.mutations&&(S=this.mutations[S]||S),this.store._p?(S=p.toUpperCase(),this.store[S](T)):this.store[m](S,T)}}}]),v}(),g={install:function(d,p){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{format:""};if(!p)throw new Error("[vue-native-socket] cannot locate connection");var m;y.$setInstance=function(T){d.config.globalProperties.$socket=T},y.connectManually?(d.config.globalProperties.$connect=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y;P.$setInstance=y.$setInstance,m=new h(T,P),d.config.globalProperties.$socket=m.WebSocket},d.config.globalProperties.$disconnect=function(){m&&m.reconnection&&(m.reconnection=!1,clearTimeout(m.reconnectTimeoutId)),d.config.globalProperties.$socket&&(d.config.globalProperties.$socket.close(),delete d.config.globalProperties.$socket)}):(m=new h(p,y),d.config.globalProperties.$socket=m.WebSocket);var S=typeof Proxy<"u"&&typeof Proxy=="function"&&/native code/.test(Proxy.toString());d.mixin({created:function(){var P=this,E=this,L=this.$options.sockets;S?(this.$options.sockets=new Proxy({},{set:function(x,O,I){return f.addListener(O,I,E),x[O]=I,!0},deleteProperty:function(x,O){return f.removeListener(O,E.$options.sockets[O],E),delete x.key,!0}}),d.config.globalProperties.sockets=new Proxy({},{set:function(x,O,I){return f.addListener(O,I,E),x[O]=I,!0},deleteProperty:function(x,O){return f.removeListener(O,E.$options.sockets[O],E),delete x.key,!0}}),L&&Object.keys(L).forEach(function(b){P.$options.sockets[b]=L[b],d.config.globalProperties.sockets[b]=L[b]})):(Object.seal(this.$options.sockets),Object.seal(d.config.globalProperties.sockets),L&&Object.keys(L).forEach(function(b){f.addListener(b,L[b],E)}))},beforeUnmount:function(){var P=this;if(S){var E=this.$options.sockets;E&&Object.keys(E).forEach(function(L){delete P.$options.sockets[L],delete d.config.globalProperties.sockets})}}})}};n.default=g},fc6a:function(e,n,t){var o=t("44ad"),s=t("1d80");e.exports=function(a){return o(s(a))}},fdbc:function(e,n){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,n,t){var o=t("4930");e.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})(Gt);var no=Gt.exports;const oo=br(no),so=()=>{let r="ws";return window.location.protocol==="https:"&&(r+="s"),`${r}://${location.host}${window.CODEX.API_V3_PATH}ws`},ao=so();function io(r){const e=Zn();e.app=r;const n={store:e,reconnection:!0};r.use(oo,ao,n)}const ge={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function co(r,e,n){const t=[];let o=[];const s=Wt(r),a=Kt(r),i=n??ge[e.slice(-2).toUpperCase()]??0,c=(s.getDay()-i+7)%7,u=(a.getDay()-i+7)%7;for(let l=0;l<c;l++){const f=new Date(s);f.setDate(f.getDate()-(c-l)),o.push(f)}for(let l=1;l<=a.getDate();l++){const f=new Date(r.getFullYear(),r.getMonth(),l);o.push(f),o.length===7&&(t.push(o),o=[])}for(let l=1;l<7-u;l++){const f=new Date(a);f.setDate(f.getDate()+l),o.push(f)}return o.length>0&&t.push(o),t}function uo(r,e,n){const t=n??ge[e.slice(-2).toUpperCase()]??0,o=new Date(r);for(;o.getDay()!==t;)o.setDate(o.getDate()-1);return o}function lo(r,e){const n=new Date(r),t=((ge[e.slice(-2).toUpperCase()]??0)+6)%7;for(;n.getDay()!==t;)n.setDate(n.getDate()+1);return n}function Wt(r){return new Date(r.getFullYear(),r.getMonth(),1)}function Kt(r){return new Date(r.getFullYear(),r.getMonth()+1,0)}function fo(r){const e=r.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const ho=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function zt(r){if(r==null)return new Date;if(r instanceof Date)return r;if(typeof r=="string"){let e;if(ho.test(r))return fo(r);if(e=Date.parse(r),!isNaN(e))return new Date(e)}return null}const tt=new Date(2e3,0,2);function go(r,e){const n=e??ge[r.slice(-2).toUpperCase()]??0;return xr(7).map(t=>{const o=new Date(tt);return o.setDate(tt.getDate()+n+t),new Intl.DateTimeFormat(r,{weekday:"narrow"}).format(o)})}function po(r,e,n,t){const o=zt(r)??new Date,s=t==null?void 0:t[e];if(typeof s=="function")return s(o,e,n);let a={};switch(e){case"fullDate":a={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":a={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const i=o.getDate(),c=new Intl.DateTimeFormat(n,{month:"long"}).format(o);return`${i} ${c}`;case"normalDateWithWeekday":a={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":a={month:"short",day:"numeric"};break;case"year":a={year:"numeric"};break;case"month":a={month:"long"};break;case"monthShort":a={month:"short"};break;case"monthAndYear":a={month:"long",year:"numeric"};break;case"monthAndDate":a={month:"long",day:"numeric"};break;case"weekday":a={weekday:"long"};break;case"weekdayShort":a={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(o.getDate());case"hours12h":a={hour:"numeric",hour12:!0};break;case"hours24h":a={hour:"numeric",hour12:!1};break;case"minutes":a={minute:"numeric"};break;case"seconds":a={second:"numeric"};break;case"fullTime":a={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":a={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":a={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":a={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":a={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":a={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":a={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":a={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":a={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":a={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:a=s??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,a).format(o)}function vo(r,e){const n=r.toJsDate(e),t=n.getFullYear(),o=ke(String(n.getMonth()+1),2,"0"),s=ke(String(n.getDate()),2,"0");return`${t}-${o}-${s}`}function mo(r){const[e,n,t]=r.split("-").map(Number);return new Date(e,n-1,t)}function yo(r,e){const n=new Date(r);return n.setMinutes(n.getMinutes()+e),n}function So(r,e){const n=new Date(r);return n.setHours(n.getHours()+e),n}function bo(r,e){const n=new Date(r);return n.setDate(n.getDate()+e),n}function xo(r,e){const n=new Date(r);return n.setDate(n.getDate()+e*7),n}function Lo(r,e){const n=new Date(r);return n.setDate(1),n.setMonth(n.getMonth()+e),n}function To(r){return r.getFullYear()}function Eo(r){return r.getMonth()}function Po(r){return r.getDate()}function Oo(r){return new Date(r.getFullYear(),r.getMonth()+1,1)}function Io(r){return new Date(r.getFullYear(),r.getMonth()-1,1)}function Co(r){return r.getHours()}function Ro(r){return r.getMinutes()}function Mo(r){return new Date(r.getFullYear(),0,1)}function Ao(r){return new Date(r.getFullYear(),11,31)}function Do(r,e){return he(r,e[0])&&jo(r,e[1])}function wo(r){const e=new Date(r);return e instanceof Date&&!isNaN(e.getTime())}function he(r,e){return r.getTime()>e.getTime()}function Ho(r,e){return he(Pe(r),Pe(e))}function jo(r,e){return r.getTime()<e.getTime()}function rt(r,e){return r.getTime()===e.getTime()}function ko(r,e){return r.getDate()===e.getDate()&&r.getMonth()===e.getMonth()&&r.getFullYear()===e.getFullYear()}function Fo(r,e){return r.getMonth()===e.getMonth()&&r.getFullYear()===e.getFullYear()}function Bo(r,e){return r.getFullYear()===e.getFullYear()}function $o(r,e,n){const t=new Date(r),o=new Date(e);switch(n){case"years":return t.getFullYear()-o.getFullYear();case"quarters":return Math.floor((t.getMonth()-o.getMonth()+(t.getFullYear()-o.getFullYear())*12)/4);case"months":return t.getMonth()-o.getMonth()+(t.getFullYear()-o.getFullYear())*12;case"weeks":return Math.floor((t.getTime()-o.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((t.getTime()-o.getTime())/(1e3*60*60*24));case"hours":return Math.floor((t.getTime()-o.getTime())/(1e3*60*60));case"minutes":return Math.floor((t.getTime()-o.getTime())/(1e3*60));case"seconds":return Math.floor((t.getTime()-o.getTime())/1e3);default:return t.getTime()-o.getTime()}}function Vo(r,e){const n=new Date(r);return n.setHours(e),n}function No(r,e){const n=new Date(r);return n.setMinutes(e),n}function Go(r,e){const n=new Date(r);return n.setMonth(e),n}function Wo(r,e){const n=new Date(r);return n.setDate(e),n}function Ko(r,e){const n=new Date(r);return n.setFullYear(e),n}function Pe(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function zo(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}class Uo{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return zt(e)}toJsDate(e){return e}toISO(e){return vo(this,e)}parseISO(e){return mo(e)}addMinutes(e,n){return yo(e,n)}addHours(e,n){return So(e,n)}addDays(e,n){return bo(e,n)}addWeeks(e,n){return xo(e,n)}addMonths(e,n){return Lo(e,n)}getWeekArray(e,n){return co(e,this.locale,n?Number(n):void 0)}startOfWeek(e,n){return uo(e,this.locale,n?Number(n):void 0)}endOfWeek(e){return lo(e,this.locale)}startOfMonth(e){return Wt(e)}endOfMonth(e){return Kt(e)}format(e,n){return po(e,n,this.locale,this.formats)}isEqual(e,n){return rt(e,n)}isValid(e){return wo(e)}isWithinRange(e,n){return Do(e,n)}isAfter(e,n){return he(e,n)}isAfterDay(e,n){return Ho(e,n)}isBefore(e,n){return!he(e,n)&&!rt(e,n)}isSameDay(e,n){return ko(e,n)}isSameMonth(e,n){return Fo(e,n)}isSameYear(e,n){return Bo(e,n)}setMinutes(e,n){return No(e,n)}setHours(e,n){return Vo(e,n)}setMonth(e,n){return Go(e,n)}setDate(e,n){return Wo(e,n)}setYear(e,n){return Ko(e,n)}getDiff(e,n,t){return $o(e,n,t)}getWeekdays(e){return go(this.locale,e?Number(e):void 0)}getYear(e){return To(e)}getMonth(e){return Eo(e)}getDate(e){return Po(e)}getNextMonth(e){return Oo(e)}getPreviousMonth(e){return Io(e)}getHours(e){return Co(e)}getMinutes(e){return Ro(e)}startOfDay(e){return Pe(e)}endOfDay(e){return zo(e)}startOfYear(e){return Mo(e)}endOfYear(e){return Ao(e)}}const Yo=Symbol.for("vuetify:date-options"),nt=Symbol.for("vuetify:date-adapter");function Zo(r,e){const n=ee({adapter:Uo,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},r);return{options:n,instance:Xo(n,e)}}function Xo(r,e){const n=Q(typeof r.adapter=="function"?new r.adapter({locale:r.locale[e.current.value]??e.current.value,formats:r.formats}):r.adapter);return ct(e.current,t=>{n.locale=r.locale[t]??t??n.locale}),n}const Ut=Symbol.for("vuetify:goto");function Yt(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:r=>r,easeInQuad:r=>r**2,easeOutQuad:r=>r*(2-r),easeInOutQuad:r=>r<.5?2*r**2:-1+(4-2*r)*r,easeInCubic:r=>r**3,easeOutCubic:r=>--r**3+1,easeInOutCubic:r=>r<.5?4*r**3:(r-1)*(2*r-2)*(2*r-2)+1,easeInQuart:r=>r**4,easeOutQuart:r=>1- --r**4,easeInOutQuart:r=>r<.5?8*r**4:1-8*--r**4,easeInQuint:r=>r**5,easeOutQuint:r=>1+--r**5,easeInOutQuint:r=>r<.5?16*r**5:1+16*--r**5}}}function Jo(r){return we(r)??(document.scrollingElement||document.body)}function we(r){return typeof r=="string"?document.querySelector(r):Tr(r)}function ye(r,e,n){if(typeof r=="number")return e&&n?-r:r;let t=we(r),o=0;for(;t;)o+=e?t.offsetLeft:t.offsetTop,t=t.offsetParent;return o}function Qo(r,e){return{rtl:e.isRtl,options:ee(Yt(),r)}}async function ot(r,e,n,t){const o=n?"scrollLeft":"scrollTop",s=ee((t==null?void 0:t.options)??Yt(),e),a=t==null?void 0:t.rtl.value,i=(typeof r=="number"?r:we(r))??0,c=s.container==="parent"&&i instanceof HTMLElement?i.parentElement:Jo(s.container),u=typeof s.easing=="function"?s.easing:s.patterns[s.easing];if(!u)throw new TypeError(`Easing function "${s.easing}" not found.`);let l;if(typeof i=="number")l=ye(i,n,a);else if(l=ye(i,n,a)-ye(c,n,a),s.layout){const v=window.getComputedStyle(i).getPropertyValue("--v-layout-top");v&&(l-=parseInt(v,10))}l+=s.offset,l=qo(c,l,!!a,!!n);const f=c[o]??0;if(l===f)return Promise.resolve(l);const h=performance.now();return new Promise(g=>requestAnimationFrame(function v(d){const y=(d-h)/s.duration,m=Math.floor(f+(l-f)*u(Lr(y,0,1)));if(c[o]=m,y>=1&&Math.abs(m-c[o])<10)return g(l);if(y>2)return g(c[o]);requestAnimationFrame(v)}))}function us(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=se(Ut),{isRtl:n}=mt();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const t={...e,rtl:V(()=>e.rtl.value||n.value)};async function o(s,a){return ot(s,ee(r,a),!1,t)}return o.horizontal=async(s,a)=>ot(s,ee(r,a),!0,t),o}function qo(r,e,n,t){const{scrollWidth:o,scrollHeight:s}=r,[a,i]=r===document.scrollingElement?[window.innerWidth,window.innerHeight]:[r.offsetWidth,r.offsetHeight];let c,u;return t?n?(c=-(o-a),u=0):(c=0,u=o-a):(c=0,u=s+-i),Math.max(Math.min(e,u),c)}function Zt(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...n}=r,t=ee(e,n),{aliases:o={},components:s={},directives:a={}}=t,i=Er(t.defaults),c=Pr(t.display,t.ssr),u=Or(t.theme),l=Ir(t.icons),f=Cr(t.locale),h=Zo(t.date,f),g=Qo(t.goTo,f);return{install:d=>{for(const p in a)d.directive(p,a[p]);for(const p in s)d.component(p,s[p]);for(const p in o)d.component(p,Rr({...o[p],name:p,aliasName:o[p].name}));if(u.install(d),d.provide(Fe,i),d.provide(Be,c),d.provide($e,u),d.provide(Ve,l),d.provide(Ne,f),d.provide(Yo,h.options),d.provide(nt,h.instance),d.provide(Ut,g),Mr&&t.ssr)if(d.$nuxt)d.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:p}=d;d.mount=function(){const y=p(...arguments);return oe(()=>c.update()),d.mount=p,y}}gt.reset(),d.mixin({computed:{$vuetify(){return Q({defaults:_.call(this,Fe),display:_.call(this,Be),theme:_.call(this,$e),icons:_.call(this,Ve),locale:_.call(this,Ne),date:_.call(this,nt)})}}})},defaults:i,display:c,theme:u,icons:l,locale:f,date:h,goTo:g}}const _o="3.6.13";Zt.version=_o;function _(r){var t,o;const e=this.$,n=((t=e.parent)==null?void 0:t.provides)??((o=e.vnode.appContext)==null?void 0:o.provides);if(n&&r in n)return n[r]}const es={collapse:"svg:M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",complete:"svg:M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"svg:M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"svg:M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"svg:M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"svg:M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"svg:M12,2C17.52,2 22,6.48 22,12C22,17.52 17.52,22 12,22C6.48,22 2,17.52 2,12C2,6.48 6.48,2 12,2M11,16.5L18,9.5L16.59,8.09L11,13.67L7.91,10.59L6.5,12L11,16.5Z",info:"svg:M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",warning:"svg:M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"svg:M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"svg:M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"svg:M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"svg:M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"svg:M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"svg:M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"svg:M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sortAsc:"svg:M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",sortDesc:"svg:M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z",expand:"svg:M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"svg:M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"svg:M7,10L12,15L17,10H7Z",dropdown:"svg:M7,10L12,15L17,10H7Z",radioOn:"svg:M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"svg:M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"svg:M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"svg:M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"svg:M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"svg:M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"svg:M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"svg:M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"svg:M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"svg:M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"svg:M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"svg:M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"svg:M19,13H5V11H19V13Z",calendar:"svg:M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z",treeviewCollapse:"svg:M7,10L12,15L17,10H7Z",treeviewExpand:"svg:M10,17L15,12L10,7V17Z",eyeDropper:"svg:M19.35,11.72L17.22,13.85L15.81,12.43L8.1,20.14L3.5,22L2,20.5L3.86,15.9L11.57,8.19L10.15,6.78L12.28,4.65L19.35,11.72M16.76,3C17.93,1.83 19.83,1.83 21,3C22.17,4.17 22.17,6.07 21,7.24L19.08,9.16L14.84,4.92L16.76,3M5.56,17.03L4.5,19.5L6.97,18.44L14.4,11L13,9.6L5.56,17.03Z"},ts={component:Ar},st="#FFFFFF",at="#808080",N={dark:!0,colors:{primary:"#CC7B19","primary-darken-1":"#965B13",error:"#DC143C",success:"#14dc3c","surface-light":"#2A2A2A",linkHover:st,textPrimary:st,textHeader:"#D3D3D3",textSecondary:"#A9A9A9",textDisabled:at,iconsInactive:at,includeGroup:"#151",excludeGroup:"#511"}},rs=new Zt({defaults:{global:{ripple:!0},VCheckbox:{color:N.colors.primary},VCheckboxBtn:{color:N.colors.primary},VCombobox:{color:N.colors.primary},VProgressLinear:{color:N.colors.primary},VProgressCircular:{color:N.colors.primary},VRadioGroup:{color:N.colors.primary},VSelect:{color:N.colors.primary},VSlider:{color:N.colors.primary},VTabs:{color:N.colors.primary},VTextField:{color:N.colors.primary}},theme:{defaultTheme:"codexTheme",options:{customProperties:!0},themes:{codexTheme:N}},icons:{defaultSet:"mdi",aliases:es,sets:{mdi:ts}}}),U=Dr(ro);U.use(rs);Un(U);io(U);U.use(k);U.use(mn());U.mixin(xn);U.use(En);U.config.performance=!0;k.isReady().then(()=>U.mount("#App")).catch(console.error);export{J as A,qe as S,Nn as a,zn as b,Qe as c,os as d,ss as e,$n as f,Gn as g,Cn as h,Vn as i,cs as j,is as k,us as l,as as m,Hn as u};
@@ -0,0 +1 @@
1
+ import{z as se,M as ge,c8 as xe,O as ve,aB as He,az as L,R as he,S as r,aD as Ee,_ as q,Z as d,aE as b,al as ae,c9 as Ze,aI as I,aG as B,C as We,ca as Xe,aM as De,V as ue,W as de,aO as h,$ as C,U as J,aF as U,X as y,ak as E,aP as me,l as Qe,Y as x,d as Je,aK as et,bK as tt,cb as at,e as lt,aZ as st,a_ as rt,b0 as we,y as it,b1 as nt,aq as H,aX as ot,ap as ce,b8 as ut,bo as dt,aQ as ct,aR as mt,bm as ye,bz as ke,aY as vt,cc as ht,be as ft,cd as pt,F as f,ce as Te,Q as Se,E as Ve,r as be,a1 as bt,D as gt,a4 as Ae,cf as yt,i as Oe,cg as kt,ao as St,K as Q,aT as Be,b6 as _t,ch as Ct,bY as wt,ci as Tt,bf as Vt,ay as Me,au as Bt}from"./admin-drawer-panel-D_qGurp0.js";import{u as Z,h as Mt,A as Pt,g as It,d as Nt,i as Rt}from"./main-C_v3V6g9.js";import{b as Ft,c as Lt,d as Et}from"./VSelect-cGleKlm7.js";import{P as Dt}from"./unauthorized-BlNvdM7v.js";import{V as At}from"./VDialog-Dir_-l5o.js";import{m as Ot,a as zt,u as $t,V as Pe,b as jt}from"./VSelectionControl-_6sv90xF.js";import{a as Ut}from"./settings-drawer-BF5NdklY.js";const qt=se({...ge(),...xe({variant:"text"})},"VToolbarItems"),wl=ve()({name:"VToolbarItems",props:qt(),setup(e,t){let{slots:a}=t;return He({VBtn:{color:L(e,"color"),height:"inherit",variant:L(e,"variant")}}),he(()=>{var i;return r("div",{class:["v-toolbar-items",e.class],style:e.style},[(i=a.default)==null?void 0:i.call(a)])}),{}}}),Gt={name:"BookCover",props:{group:{type:String,required:!0},pks:{type:Array,required:!0},childCount:{type:Number,default:1},finished:{type:Boolean},mtime:{type:Number,default:Date.now()}},data(){return{showPlaceholder:!1}},computed:{...Ee(Z,["coverSettings"]),coverSrc(){return Mt({group:this.group,pks:this.pks},this.coverSettings,this.mtime)},multiPkClasses(){const e=this.pks.length,t={};return e>=4?t.stack4=!0:e>1&&(t[`stack${e}`]=!0),t}},mounted:function(){this.delayPlaceholder()},methods:{delayPlaceholder:function(){setTimeout(()=>{this.showPlaceholder=!0},2e3)}}},Yt={class:"bookCover"},Kt={key:1,class:"childCount"};function xt(e,t,a,i,o,l){return d(),b("div",Yt,[r(Ze,{src:l.coverSrc,class:ae(["coverImg",l.multiPkClasses])},null,8,["src","class"]),a.finished!==!0?(d(),b("div",{key:0,class:ae({unreadFlag:!0,mixedreadFlag:a.finished===null})},null,2)):I("",!0),a.group!=="c"?(d(),b("span",Kt,B(a.childCount),1)):I("",!0)])}const Ht=q(Gt,[["render",xt],["__scopeId","data-v-31ac8578"]]),Zt=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Wt=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Xt=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Qt=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Ie=(e,t,a)=>{let i=e;return typeof t=="string"||Array.isArray(t)?i=e.toLocaleString(t,a):(t===!0||a!==void 0)&&(i=e.toLocaleString(void 0,a)),i};function Jt(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?Qt:Xt:t.binary?Wt:Zt,i=t.space?" ":"";if(t.signed&&e===0)return` 0${i}${a[0]}`;const o=e<0,l=o?"-":t.signed?"+":"";o&&(e=-e);let n;if(t.minimumFractionDigits!==void 0&&(n={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(n={maximumFractionDigits:t.maximumFractionDigits,...n}),e<1){const M=Ie(e,t.locale,n);return l+M+i+a[0]}const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),a.length-1);e/=(t.binary?1024:1e3)**s,n||(e=e.toPrecision(3));const v=Ie(Number(e),t.locale,n),m=a[s];return l+v+i+m}const Ne=We.browser.vuetifyNullCode,Re=new Set(["",Ne,Ne.toString(),void 0]),ea=function(e){let t;return Re.has(e)?t=e:e instanceof Object?Re.has(e.pk)?t=void 0:t={value:e.pk,title:e.name}:t={value:e,title:e.toString()},e!=null&&e.url&&(t.url=e.url),t},ta=function(e,t){return e.title<t.title?-1:e.title>t.title?1:0},aa=function(e,t){return Number.parseFloat(e.title)-Number.parseFloat(t.title)},la=function(e,t,a=!1){var s;const i=e||[],o=t&&t.toLowerCase();let l=[];for(const v of i){const m=ea(v);m!=null&&(!o||(s=m==null?void 0:m.title)!=null&&s.toLowerCase().includes(o))&&l.push(m)}const n=a?aa:ta;return l.sort(n)},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:Xe,mdiOpenInNew:De}},computed:{...ue(Z,{filterValues(e){const t=this.filter||this.label.toLowerCase();return e.settings.filters[t]},topGroup:e=>e.settings.topGroup}),model(){return la(this.values)},chipClass(e){return{browseChip:this.filter&&e}}},methods:{...de(Z,["setSettings"]),chipColor(e){return this.filterValues&&this.filterValues.includes(e)?this.$vuetify.theme.current.colors["primary-darken-1"]:""},onClick(e){if(!this.filter||!e)return;const t=["f","s"].includes(this.topGroup)?this.topGroup:"r",a=t==="s"&&this.filter==="storyArcs";if(!a){const n={filters:{[this.filter]:[e]}};this.setSettings(n)}const l={name:"browser",params:{group:t,pk:a?e:0,page:1}};this.$router.push(l)}}},ra={key:0,class:"tags"},ia={class:"chipGroupLabel"},na=["href"];function oa(e,t,a,i,o,l){return l.model&&l.model.length>0?(d(),b("div",ra,[h("div",ia,B(a.label),1),r(Lt,{column:!0,multiple:"",value:l.model},{default:C(()=>[(d(!0),b(J,null,U(l.model,n=>(d(),y(Ft,{key:`${a.label}/${n.value}`,color:l.chipColor(n.value),value:n.value,onClick:s=>l.onClick(n.value)},{default:C(()=>[n.url?(d(),b("a",{key:0,href:n.url,target:"_blank"},[E(B(n.title),1),r(me,null,{default:C(()=>[E(B(o.mdiOpenInNew),1)]),_:1})],8,na)):(d(),b("span",{key:1,class:ae(l.chipClass)},B(n.title),3))]),_:2},1032,["color","value","onClick"]))),128))]),_:1},8,["value"])])):I("",!0)}const ze=q(sa,[["render",oa],["__scopeId","data-v-ea0e4633"]]),ua={name:"MetadataContributorsTable",components:{MetadataTags:ze},props:{value:{type:Array,default:void 0}},computed:{contributorsDict(){const e={};if(!this.value)return e;for(const{role:i,person:o}of this.value){const l=Qe.startCase(i.name)+"s";e[l]||(e[l]=[]),e[l].push(o)}const t=Object.keys(e).sort((i,o)=>i.localeCompare(o)),a={};for(const i of t)a[i]=e[i].sort((o,l)=>o.name.localeCompare(l.name));return a}}},da={key:0},ca=h("h3",null,"Contributors",-1);function ma(e,t,a,i,o,l){const n=x("MetadataTags");return Object.keys(l.contributorsDict).length>0?(d(),b("div",da,[ca,(d(!0),b(J,null,U(Object.entries(l.contributorsDict),([s,v])=>(d(),y(n,{key:s,values:v,label:s,filter:"contributors"},null,8,["values","label"]))),128))])):I("",!0)}const va=q(ua,[["render",ma]]),Fe="(Empty)",ha={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(){let e=this.value&&this.value.name!==void 0?this.value.name:this.value;return this.group&&e===""&&(e=Fe),e},empty(){return this.computedValue===Fe},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=Z();if(this.group!=="f"&&!e.settings.show[this.group]||this.group==="f"&&!e.page.adminFlags.folderView)return;const a=(this.value.ids?this.value.ids:[this.value.pk]).join(",");if(!a)return;const i=this.$router.currentRoute.value.params;if(!(i.group===this.group&&i.pks===a))return{name:"browser",params:{group:this.group,pks:a}}}}},fa={class:"textLabel"},pa=["href"],ba={key:3,class:"textContent"},ga={key:4,id:"basePath"};function ya(e,t,a,i,o,l){const n=x("router-link");return l.computedValue?(d(),b("div",{key:0,class:ae(["text",{highlight:l.highlight}])},[h("div",fa,B(a.label),1),h("div",{class:ae(["textValue",{empty:l.empty}])},[l.groupTo&&a.group==="f"?(d(),y(n,{key:0,id:"folderPath",to:l.groupTo,title:"Browse Folder"},{default:C(()=>[E(B(l.folderPath)+"/ ",1)]),_:1},8,["to"])):l.groupTo?(d(),y(n,{key:1,class:"textContent",to:l.groupTo,title:`Browse ${a.label}`},{default:C(()=>[E(B(l.computedValue),1)]),_:1},8,["to","title"])):a.link?(d(),b("a",{key:2,href:l.linkValue,target:"_blank"},[E(B(l.computedValue)+" ",1),r(me,{size:"small"},{default:C(()=>[E(B(o.mdiOpenInNew),1)]),_:1})],8,pa)):(d(),b("div",ba,B(l.computedValue),1)),l.groupTo&&a.group==="f"?(d(),b("span",ga,B(l.basePath),1)):I("",!0)],2)],2)):I("",!0)}const ka=q(ha,[["render",ya],["__scopeId","data-v-dd504fcc"]]),$e=new Set("rtl","btt");Object.freeze($e);const Sa=({ids:e,page:t,readingDirection:a,pageCount:i},o)=>{if(e.length<1||o&&!i)return;const l=e[0];if(t)t=Number(t);else if($e.has(a)){const n=Number(i)-1;t=Math.max(n,0)}else t=0;return{name:"reader",params:{pk:l,page:t}}},Le=Je("metadata",{state:()=>({md:void 0}),actions:{async loadMetadata({group:e,pks:t}){await Pt.getMetadata({group:e,pks:t},Z().metadataSettings).then(a=>{const i={...a.data};return i.loaded=!0,this.md=i,!0}).catch(a=>{console.error(a),this.clearMetadata()})},clearMetadata(){this.md=void 0}}}),_a=1160,Ca=.05,wa=250,Ta={name:"MetadataButton",components:{BookCover:Ht,CloseButton:et,MetadataContributorsTable:va,MetadataTags:ze,MetadataText:ka,PlaceholderLoading:Dt},props:{group:{type:String,required:!0},book:{type:Object,required:!0},children:{type:Number,default:1},toolbar:{type:Boolean,default:!1}},data(){return{mdiDownload:tt,mdiTagOutline:at,dialog:!1,progress:0}},computed:{...Ee(lt,["isUserAdmin"]),...ue(Z,{twentyFourHourTime:e=>{var t;return(t=e.settings)==null?void 0:t.twentyFourHourTime},readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypes:e=>e.choices.static.identifierType,importMetadata:e=>{var t,a;return(a=(t=e.page)==null?void 0:t.adminFlags)==null?void 0:a.importMetadata}}),...ue(Le,{md:e=>e.md}),...ue(Z,{q:e=>e.settings.q}),showContainer(){var e;return((e=this.md)==null?void 0:e.loaded)||!1},downloadFileName(){var t;const e=this.md;return e?(t=this.md)!=null&&t.filename?e.filename:It({seriesName:e.series.name||"",volumeName:e.volume.name||"",issueNumber:e.issueNumber,issueSuffix:e.issueSuffix})+"."+this.fileType.toLowerCase():"Unknown.cbz"},buttonVariant(){return this.toolbar?"plain":"text"},downloadURL(){return this.book?Nt(this.book):""},isReadButtonShown(){return this.group==="c"&&this.$route.name!="reader"},isReadButtonEnabled(){return!!this.readerRoute},readButtonIcon(){return this.isReadButtonEnabled?st:rt},readerRoute(){var e;return(e=this.md)!=null&&e.ids?Sa(this.md,this.importMetadata):{}},formattedIssue(){if(!this.md)return"Unknown";if(!((this.md.issueNumber===null||this.md.issueNumber===void 0)&&!this.md.issueSuffix))return Rt(this.md)},readingDirectionText(){return this.md?this.readingDirectionTitles[this.md.readingDirection]:"Unknown"},pages(){let e="";if(!this.md)return 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(){var e;return((e=this==null?void 0:this.md)==null?void 0:e.size)>0?Jt(this.md.size):0},fileType(){var e;return((e=this==null?void 0:this.md)==null?void 0:e.fileType)||"Unknown"},titledIdentifiers(){var t;const e=[];if(!((t=this==null?void 0:this.md)!=null&&t.identifiers))return e;for(const a of this.md.identifiers){const i=a.name.split(":"),o=i[0],l=i[1],n=this.identifierTypeTitle(o);let s="";n&&n!=="None"&&(s+=n+":"),s+=l,e.push({...a,name:s})}return e},multiGroup(){var e;return(e=this.md)!=null&&e.ids?this.md.ids.length>1:!1}},watch:{dialog(e){e?this.dialogOpened():this.clearMetadata()}},methods:{...de(Le,["clearMetadata","loadMetadata"]),...de(it,["downloadIOSPWAFix"]),...de(Z,["identifierTypeTitle"]),dialogOpened(){const e=this.book.ids?this.book.ids:[this.book.pk],t={group:this.group,pks:e};this.loadMetadata(t),this.startProgress()},startProgress(){this.startTime=Date.now(),this.estimatedMS=Math.max(Ca,this.children/_a)*1e3,this.updateProgress()},updateProgress(){const e=Date.now()-this.startTime;this.progress=e/this.estimatedMS*100,!(this.progress>=100||this.md)&&setTimeout(()=>{this.updateProgress()},wa)},formatDateTime(e){return nt(e,this.twentyFourHourTime)},download(){this.downloadIOSPWAFix(this.downloadURL,this.md.filename)}}},Va=e=>(ct("data-v-e621adf7"),e=e(),mt(),e),Ba={id:"metadataHeader"},Ma={id:"metadataBookCoverWrapper"},Pa={class:"inlineRow"},Ia={class:"inlineRow"},Na={class:"inlineRow"},Ra={key:1,class:"inlineRow"},Fa={id:"metadataBody"},La={class:"mdSection"},Ea={class:"quintRow"},Da={class:"mdSection"},Aa={class:"quarterRow"},Oa={class:"lastSmallRow"},za={class:"halfRow mdSection"},$a={class:"mdSection"},ja={class:"mdSection"},Ua={class:"mdSection"},qa={class:"mdSection"},Ga={class:"mdSection"},Ya={class:"mdSection inlineRow"},Ka={class:"inlineRow"},xa={id:"footerLinks"},Ha={id:"bottomRightButtons"},Za={key:1,id:"placeholderContainer"},Wa=Va(()=>h("div",{id:"placeholderTitle"},"Tags Loading",-1));function Xa(e,t,a,i,o,l){const n=x("CloseButton"),s=x("MetadataText"),v=x("BookCover"),m=x("MetadataTags"),M=x("MetadataContributorsTable"),_=x("PlaceholderLoading");return d(),y(At,{modelValue:o.dialog,"onUpdate:modelValue":t[5]||(t[5]=c=>o.dialog=c),fullscreen:"",transition:"dialog-bottom-transition"},{activator:C(({props:c})=>[r(ce,H({"aria-label":"tags",class:"tagButton cardControlButton",variant:l.buttonVariant,icon:o.mdiTagOutline,title:"Tags"},c,{onClick:t[0]||(t[0]=ot(()=>{},["prevent"]))}),null,16,["variant","icon"])]),default:C(()=>[l.showContainer?(d(),b("div",{key:0,id:"metadataContainer",onKeyup:t[3]||(t[3]=dt(c=>o.dialog=!1,["esc"]))},[h("header",Ba,[r(n,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[1]||(t[1]=c=>o.dialog=!1)}),e.q?(d(),y(s,{key:0,id:"search",value:e.q,label:"Search Query",highlight:!0},null,8,["value"])):I("",!0),h("div",Ma,[r(v,{id:"bookCover",group:a.group,pks:e.md.ids,"child-count":e.md.childCount,finished:e.md.finished,mtime:e.md.mtime},null,8,["group","pks","child-count","finished","mtime"]),r(ut,{class:"bookCoverProgress","model-value":e.md.progress,rounded:"","background-color":"inherit",height:"2","aria-label":"% read"},null,8,["model-value"])]),h("div",Pa,[(d(!0),b(J,null,U(e.md.publisherList,c=>(d(),y(s,{id:"publisher",key:c.ids,value:c,group:"p",label:"Publisher",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128)),(d(!0),b(J,null,U(e.md.imprintList,c=>(d(),y(s,{id:"imprint",key:c.ids,value:c,group:"i",label:"Imprint",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128))]),h("div",Ia,[(d(!0),b(J,null,U(e.md.seriesList,c=>(d(),y(s,{id:"series",key:c.ids,value:c,label:"Series",group:"s",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128))]),h("div",Na,[(d(!0),b(J,null,U(e.md.volumeList,c=>(d(),y(s,{id:"volume",key:c.ids,value:c,label:"Volume",group:"v",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128)),r(s,{value:e.md.seriesVolumeCount,label:"Volume Count"},null,8,["value"]),r(s,{id:"issue",value:l.formattedIssue,label:"Issue",group:"c",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]),r(s,{value:e.md.volumeIssueCount,label:"Issue Count"},null,8,["value"]),r(s,{value:e.md.name,label:"Title"},null,8,["value"])]),e.md.year||e.md.month||e.md.day?(d(),b("div",Ra,[r(s,{value:e.md.year,label:"Year",class:"datePicker",type:"number"},null,8,["value"]),r(s,{value:e.md.month,label:"Month",class:"datePicker"},null,8,["value"]),r(s,{value:e.md.day,label:"Day",class:"datePicker"},null,8,["value"])])):I("",!0)]),h("div",Fa,[h("section",La,[h("div",Ea,[r(s,{value:l.pages,label:"Pages"},null,8,["value"]),r(s,{label:"Finished",value:(!!e.md.finished).toString()},null,8,["value"]),r(s,{label:"Reading Direction",value:l.readingDirectionText},null,8,["value"]),r(s,{value:(!!e.md.monochrome).toString(),label:"Monochrome"},null,8,["value"]),r(s,{value:e.md.original_format,label:"Original Format"},null,8,["value"])])]),h("section",Da,[h("div",Aa,[e.md.createdAt?(d(),y(s,{key:0,value:l.formatDateTime(e.md.createdAt),label:"Created at",class:"mtime"},null,8,["value"])):I("",!0),e.md.updatedAt?(d(),y(s,{key:1,value:l.formatDateTime(e.md.updatedAt),label:"Updated at",class:"mtime"},null,8,["value"])):I("",!0),r(s,{value:l.size,label:"Size"},null,8,["value"]),r(s,{value:l.fileType,label:"File Type"},null,8,["value"])]),h("div",Oa,[r(s,{group:"f",value:{pk:e.md.parentFolderId,name:e.md.path},label:"Path"},null,8,["value"])])]),h("section",za,[r(s,{value:e.md.country,label:"Country"},null,8,["value"]),r(s,{value:e.md.language,label:"Language"},null,8,["value"])]),h("section",$a,[r(m,{values:l.titledIdentifiers,label:"Identifiers"},null,8,["values"])]),h("section",ja,[r(s,{value:e.md.summary,label:"Summary"},null,8,["value"]),r(s,{value:e.md.review,label:"Review"},null,8,["value"])]),h("section",Ua,[r(s,{value:e.md.communityRating,label:"Community Rating"},null,8,["value"]),r(s,{value:e.md.criticalRating,label:"Critical Rating"},null,8,["value"]),r(s,{value:e.md.ageRating,label:"Age Rating"},null,8,["value"])]),h("section",qa,[r(m,{values:e.md.genres,label:"Genres",filter:"genres"},null,8,["values"]),r(m,{values:e.md.characters,label:"Characters",filter:"characters"},null,8,["values"]),r(m,{values:e.md.teams,label:"Teams",filter:"teams"},null,8,["values"]),r(m,{values:e.md.locations,label:"Locations",filter:"locations"},null,8,["values"]),r(m,{values:e.md.seriesGroups,label:"Series Groups",filter:"seriesGroups"},null,8,["values"]),r(m,{values:e.md.stories,label:"Stories",filter:"stories"},null,8,["values"]),r(m,{values:e.md.storyArcNumbers,label:"Story Arcs",filter:"storyArcs"},null,8,["values"]),r(m,{values:e.md.tags,label:"Tags",filter:"tags"},null,8,["values"])]),h("section",Ga,[r(M,{value:e.md.contributors},null,8,["value"])]),h("section",Ya,[r(s,{value:e.md.notes,label:"Notes"},null,8,["value"])]),h("section",Ka,[r(s,{value:e.md.tagger,label:"Tagger"},null,8,["value"]),r(s,{value:e.md.scanInfo,label:"Scan"},null,8,["value"])])]),h("footer",xa,[a.group==="c"?(d(),y(ce,{key:0,id:"downloadButton",title:"Download Comic Archive",onClick:l.download},{default:C(()=>[a.group==="c"?(d(),y(me,{key:0},{default:C(()=>[E(B(o.mdiDownload),1)]),_:1})):I("",!0),E(" Download ")]),_:1},8,["onClick"])):I("",!0),l.isReadButtonShown?(d(),y(ce,{key:1,to:l.readerRoute,title:"Read Comic",disabled:!l.isReadButtonEnabled},{default:C(()=>[r(me,null,{default:C(()=>[E(B(l.readButtonIcon),1)]),_:1}),E(" Read ")]),_:1},8,["to","disabled"])):I("",!0),h("span",Ha,[r(n,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[2]||(t[2]=c=>o.dialog=!1)})])])],32)):(d(),b("div",Za,[r(n,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[4]||(t[4]=c=>o.dialog=!1)}),Wa,r(_,{"model-value":o.progress,indeterminate:o.progress>=100,class:"placeholder"},null,8,["model-value","indeterminate"])]))]),_:1},8,["modelValue"])}const Tl=q(Ta,[["render",Xa],["__scopeId","data-v-e621adf7"]]),Qa={name:"ToolbarSelect",props:{selectLabel:{type:String,default:""},maxSelectLen:{type:Number,default:0}},computed:{style(){if(this.maxSelectLen){const e=this.$vuetify.display.xs?"max-width":"width",t=this.maxSelectLen*.7+"em";return`${e}: ${t}`}return""}}};function Ja(e,t,a,i,o,l){return d(),y(Et,H(e.$attrs,{label:a.selectLabel,"aria-label":a.selectLabel,class:"toolbarSelect",density:"compact","full-width":"","menu-props":{maxHeight:void 0},"hide-details":"auto",style:l.style,variant:"plain"}),ye({item:C(({item:n,props:s})=>[r(vt,H(s,{density:"compact",variant:"plain",title:n.title,value:n.value}),null,16,["title","value"])]),_:2},[U(e.$slots,(n,s)=>({name:s,fn:C(v=>[ke(e.$slots,s,H({props:n},v),void 0,!0)])}))]),1040,["label","aria-label","style"])}const Vl=q(Qa,[["render",Ja],["__scopeId","data-v-e88da460"]]),Bl=ht("v-spacer","div","VSpacer"),el={name:"PaginationNavButton",props:{narrow:{type:Boolean,default:!0}},computed:{classes(){return{narrowButton:this.narrow}}}};function tl(e,t,a,i,o,l){return d(),y(ce,{variant:"plain",density:"compact",class:ae(["paginationNavButton",l.classes]),size:"medium"},ye({_:2},[U(e.$slots,(n,s)=>({name:s,fn:C(v=>[ke(e.$slots,s,H({props:n},v),void 0,!0)])}))]),1032,["class"])}const Ml=q(el,[["render",tl],["__scopeId","data-v-0450dab6"]]),_e=Symbol.for("vuetify:v-slider");function al(e,t,a){const i=a==="vertical",o=t.getBoundingClientRect(),l="touches"in e?e.touches[0]:e;return i?l.clientY-(o.top+o.height/2):l.clientX-(o.left+o.width/2)}function ll(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 sl=se({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,...ft(),...pt({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),rl=e=>{const t=f(()=>parseFloat(e.min)),a=f(()=>parseFloat(e.max)),i=f(()=>+e.step>0?parseFloat(e.step):0),o=f(()=>Math.max(Te(i.value),Te(t.value)));function l(n){if(n=parseFloat(n),i.value<=0)return n;const s=Ae(n,t.value,a.value),v=t.value%i.value,m=Math.round((s-v)/i.value)*i.value+v;return parseFloat(Math.min(m,a.value).toFixed(o.value))}return{min:t,max:a,step:i,decimals:o,roundValue:l}},il=e=>{let{props:t,steps:a,onSliderStart:i,onSliderMove:o,onSliderEnd:l,getActiveThumb:n}=e;const{isRtl:s}=Se(),v=L(t,"reverse"),m=f(()=>t.direction==="vertical"),M=f(()=>m.value!==v.value),{min:_,max:c,step:D,decimals:G,roundValue:z}=a,W=f(()=>parseInt(t.thumbSize,10)),Y=f(()=>parseInt(t.tickSize,10)),$=f(()=>parseInt(t.trackSize,10)),A=f(()=>(c.value-_.value)/D.value),X=L(t,"disabled"),O=f(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),g=f(()=>t.error||t.disabled?void 0:t.trackColor??t.color),N=f(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),w=Ve(!1),T=Ve(0),R=be(),F=be();function p(u){var Ce;const S=t.direction==="vertical",je=S?"top":"left",Ue=S?"height":"width",qe=S?"clientY":"clientX",{[je]:Ge,[Ue]:Ye}=(Ce=R.value)==null?void 0:Ce.$el.getBoundingClientRect(),Ke=ll(u,qe);let pe=Math.min(Math.max((Ke-Ge-T.value)/Ye,0),1)||0;return(S?M.value:M.value!==s.value)&&(pe=1-pe),z(_.value+pe*(c.value-_.value))}const j=u=>{l({value:p(u)}),w.value=!1,T.value=0},K=u=>{F.value=n(u),F.value&&(F.value.focus(),w.value=!0,F.value.contains(u.target)?T.value=al(u,F.value,t.direction):(T.value=0,o({value:p(u)})),i({value:p(u)}))},P={passive:!0,capture:!0};function ee(u){o({value:p(u)})}function re(u){u.stopPropagation(),u.preventDefault(),j(u),window.removeEventListener("mousemove",ee,P),window.removeEventListener("mouseup",re)}function ie(u){var S;j(u),window.removeEventListener("touchmove",ee,P),(S=u.target)==null||S.removeEventListener("touchend",ie)}function fe(u){var S;K(u),window.addEventListener("touchmove",ee,P),(S=u.target)==null||S.addEventListener("touchend",ie,{passive:!1})}function V(u){u.preventDefault(),K(u),window.addEventListener("mousemove",ee,P),window.addEventListener("mouseup",re,{passive:!1})}const k=u=>{const S=(u-_.value)/(c.value-_.value)*100;return Ae(isNaN(S)?0:S,0,100)},te=L(t,"showTicks"),le=f(()=>te.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(u=>({value:u,position:k(u),label:u.toString()})):Object.keys(t.ticks).map(u=>({value:parseFloat(u),position:k(parseFloat(u)),label:t.ticks[u]})):A.value!==1/0?bt(A.value+1).map(u=>{const S=_.value+u*D.value;return{value:S,position:k(S)}}):[]:[]),ne=f(()=>le.value.some(u=>{let{label:S}=u;return!!S})),oe={activeThumbRef:F,color:L(t,"color"),decimals:G,disabled:X,direction:L(t,"direction"),elevation:L(t,"elevation"),hasLabels:ne,isReversed:v,indexFromEnd:M,min:_,max:c,mousePressed:w,numTicks:A,onSliderMousedown:V,onSliderTouchstart:fe,parsedTicks:le,parseMouseMove:p,position:k,readonly:L(t,"readonly"),rounded:L(t,"rounded"),roundValue:z,showTicks:te,startOffset:T,step:D,thumbSize:W,thumbColor:O,thumbLabel:L(t,"thumbLabel"),ticks:L(t,"ticks"),tickSize:Y,trackColor:g,trackContainerRef:R,trackFillColor:N,trackSize:$,vertical:m};return gt(_e,oe),oe},nl=se({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},name:String,...ge()},"VSliderThumb"),ol=ve()({name:"VSliderThumb",directives:{Ripple:yt},props:nl(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:i}=t;const o=Oe(_e),{isRtl:l,rtlClasses:n}=Se();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:s,step:v,disabled:m,thumbSize:M,thumbLabel:_,direction:c,isReversed:D,vertical:G,readonly:z,elevation:W,mousePressed:Y,decimals:$,indexFromEnd:A}=o,X=f(()=>m.value?void 0:W.value),{elevationClasses:O}=kt(X),{textColorClasses:g,textColorStyles:N}=St(s),{pageup:w,pagedown:T,end:R,home:F,left:p,right:j,down:K,up:P}=Tt,ee=[w,T,R,F,p,j,K,P],re=f(()=>v.value?[1,2,3]:[1,5,10]);function ie(V,k){if(!ee.includes(V.key))return;V.preventDefault();const te=v.value||.1,le=(e.max-e.min)/te;if([p,j,K,P].includes(V.key)){const oe=(G.value?[l.value?p:j,D.value?K:P]:A.value!==l.value?[p,P]:[j,P]).includes(V.key)?1:-1,u=V.shiftKey?2:V.ctrlKey?1:0;k=k+oe*te*re.value[u]}else if(V.key===F)k=e.min;else if(V.key===R)k=e.max;else{const ne=V.key===T?1:-1;k=k-ne*te*(le>100?le/10:10)}return Math.max(e.min,Math.min(e.max,k))}function fe(V){const k=ie(V,e.modelValue);k!=null&&i("update:modelValue",k)}return he(()=>{const V=Q(A.value?100-e.position:e.position,"%");return r("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&Y.value},e.class,n.value],style:[{"--v-slider-thumb-position":V,"--v-slider-thumb-size":Q(M.value)},e.style],role:"slider",tabindex:m.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!z.value,"aria-orientation":c.value,onKeydown:z.value?void 0:fe},[r("div",{class:["v-slider-thumb__surface",g.value,O.value],style:{...N.value}},null),Be(r("div",{class:["v-slider-thumb__ripple",g.value],style:N.value},null),[[_t("ripple"),e.ripple,null,{circle:!0,center:!0}]]),r(Ct,{origin:"bottom center"},{default:()=>{var k;return[Be(r("div",{class:"v-slider-thumb__label-container"},[r("div",{class:["v-slider-thumb__label"]},[r("div",null,[((k=a["thumb-label"])==null?void 0:k.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(v.value?$.value:1)])])]),[[wt,_.value&&e.focused||_.value==="always"]])]}})])}),{}}}),ul=se({start:{type:Number,required:!0},stop:{type:Number,required:!0},...ge()},"VSliderTrack"),dl=ve()({name:"VSliderTrack",props:ul(),emits:{},setup(e,t){let{slots:a}=t;const i=Oe(_e);if(!i)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:l,rounded:n,showTicks:s,tickSize:v,trackColor:m,trackFillColor:M,trackSize:_,vertical:c,min:D,max:G,indexFromEnd:z}=i,{roundedClasses:W}=Vt(n),{backgroundColorClasses:Y,backgroundColorStyles:$}=Me(M),{backgroundColorClasses:A,backgroundColorStyles:X}=Me(m),O=f(()=>`inset-${c.value?"block":"inline"}-${z.value?"end":"start"}`),g=f(()=>c.value?"height":"width"),N=f(()=>({[O.value]:"0%",[g.value]:"100%"})),w=f(()=>e.stop-e.start),T=f(()=>({[O.value]:Q(e.start,"%"),[g.value]:Q(w.value,"%")})),R=f(()=>s.value?(c.value?l.value.slice().reverse():l.value).map((p,j)=>{var P;const K=p.value!==D.value&&p.value!==G.value?Q(p.position,"%"):void 0;return r("div",{key:p.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":p.position>=e.start&&p.position<=e.stop,"v-slider-track__tick--first":p.value===D.value,"v-slider-track__tick--last":p.value===G.value}],style:{[O.value]:K}},[(p.label||a["tick-label"])&&r("div",{class:"v-slider-track__tick-label"},[((P=a["tick-label"])==null?void 0:P.call(a,{tick:p,index:j}))??p.label])])}):[]);return he(()=>r("div",{class:["v-slider-track",W.value,e.class],style:[{"--v-slider-track-size":Q(_.value),"--v-slider-tick-size":Q(v.value)},e.style]},[r("div",{class:["v-slider-track__background",A.value,{"v-slider-track__background--opacity":!!o.value||!M.value}],style:{...N.value,...X.value}},null),r("div",{class:["v-slider-track__fill",Y.value],style:{...T.value,...$.value}},null),s.value&&r("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":s.value==="always"}]},[R.value])])),{}}}),cl=se({...Ot(),...sl(),...zt(),modelValue:{type:[Number,String],default:0}},"VSlider"),ml=ve()({name:"VSlider",props:cl(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:i}=t;const o=be(),{rtlClasses:l}=Se(),n=rl(e),s=Bt(e,"modelValue",void 0,g=>n.roundValue(g??n.min.value)),{min:v,max:m,mousePressed:M,roundValue:_,onSliderMousedown:c,onSliderTouchstart:D,trackContainerRef:G,position:z,hasLabels:W,readonly:Y}=il({props:e,steps:n,onSliderStart:()=>{i("start",s.value)},onSliderEnd:g=>{let{value:N}=g;const w=_(N);s.value=w,i("end",w)},onSliderMove:g=>{let{value:N}=g;return s.value=_(N)},getActiveThumb:()=>{var g;return(g=o.value)==null?void 0:g.$el}}),{isFocused:$,focus:A,blur:X}=$t(e),O=f(()=>z(s.value));return he(()=>{const g=Pe.filterProps(e),N=!!(e.label||a.label||a.prepend);return r(Pe,H({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||W.value,"v-slider--focused":$.value,"v-slider--pressed":M.value,"v-slider--disabled":e.disabled},l.value,e.class],style:e.style},g,{focused:$.value}),{...a,prepend:N?w=>{var T,R;return r(J,null,[((T=a.label)==null?void 0:T.call(a,w))??(e.label?r(jt,{id:w.id.value,class:"v-slider__label",text:e.label},null):void 0),(R=a.prepend)==null?void 0:R.call(a,w)])}:void 0,default:w=>{let{id:T,messagesId:R}=w;return r("div",{class:"v-slider__container",onMousedown:Y.value?void 0:c,onTouchstartPassive:Y.value?void 0:D},[r("input",{id:T.value,name:e.name||T.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:s.value},null),r(dl,{ref:G,start:0,stop:O.value},{"tick-label":a["tick-label"]}),r(ol,{ref:o,"aria-describedby":R.value,focused:$.value,min:v.value,max:m.value,modelValue:s.value,"onUpdate:modelValue":F=>s.value=F,position:O.value,elevation:e.elevation,onFocus:A,onBlur:X,ripple:e.ripple,name:e.name},{"thumb-label":a["thumb-label"]})])}})}),{}}}),vl={name:"PaginationSlider",props:{min:{type:Number,default:0}}};function hl(e,t,a,i,o,l){return d(),y(ml,H({"thumb-size":"36",class:"paginationSlider",density:"compact","hide-details":"auto",min:a.min,rounded:!0,"show-ticks":"always",step:1,"thumb-label":"always"},e.$attrs),{"tick-label":C(({index:n})=>[E(B(n+a.min),1)]),_:1},16,["min"])}const Pl=q(vl,[["render",hl],["__scopeId","data-v-01b67afd"]]),fl={name:"PaginationToolbar"};function pl(e,t,a,i,o,l){return d(),y(Ut,{class:"paginationToolbar codexToolbar",density:"compact",transform:"center bottom"},ye({_:2},[U(e.$slots,(n,s)=>({name:s,fn:C(v=>[ke(e.$slots,s,H({props:n},v),void 0,!0)])}))]),1024)}const Il=q(fl,[["render",pl],["__scopeId","data-v-cfa8cce0"]]);export{Ht as B,Tl as M,Re as N,Ml as P,Vl as T,wl as V,Bl as a,Pl as b,Il as c,Sa as g,Jt as p,la as t};
@@ -0,0 +1 @@
1
+ import{z as se,M as ge,c8 as xe,O as ve,aB as He,az as L,R as he,S as r,aD as Ee,_ as q,Z as d,aE as b,al as ae,c9 as Ze,aI as I,aG as B,C as We,ca as Xe,aM as De,V as ue,W as de,aO as h,$ as C,U as J,aF as U,X as y,ak as E,aP as me,l as Qe,Y as x,d as Je,aK as et,bK as tt,cb as at,e as lt,aZ as st,a_ as rt,b0 as we,y as it,b1 as nt,aq as H,aX as ot,ap as ce,b8 as ut,bo as dt,aQ as ct,aR as mt,bm as ye,bz as ke,aY as vt,cc as ht,be as ft,cd as pt,F as f,ce as Te,Q as Se,E as Ve,r as be,a1 as bt,D as gt,a4 as Ae,cf as yt,i as Oe,cg as kt,ao as St,K as Q,aT as Be,b6 as _t,ch as Ct,bY as wt,ci as Tt,bf as Vt,ay as Me,au as Bt}from"./admin-drawer-panel-D_qGurp0.js";import{u as Z,h as Mt,A as Pt,g as It,d as Nt,i as Rt}from"./main-C_v3V6g9.js";import{b as Ft,c as Lt,d as Et}from"./VSelect-cGleKlm7.js";import{P as Dt}from"./unauthorized-BlNvdM7v.js";import{V as At}from"./VDialog-Dir_-l5o.js";import{m as Ot,a as zt,u as $t,V as Pe,b as jt}from"./VSelectionControl-_6sv90xF.js";import{a as Ut}from"./settings-drawer-BF5NdklY.js";const qt=se({...ge(),...xe({variant:"text"})},"VToolbarItems"),wl=ve()({name:"VToolbarItems",props:qt(),setup(e,t){let{slots:a}=t;return He({VBtn:{color:L(e,"color"),height:"inherit",variant:L(e,"variant")}}),he(()=>{var i;return r("div",{class:["v-toolbar-items",e.class],style:e.style},[(i=a.default)==null?void 0:i.call(a)])}),{}}}),Gt={name:"BookCover",props:{group:{type:String,required:!0},pks:{type:Array,required:!0},childCount:{type:Number,default:1},finished:{type:Boolean},mtime:{type:Number,default:Date.now()}},data(){return{showPlaceholder:!1}},computed:{...Ee(Z,["coverSettings"]),coverSrc(){return Mt({group:this.group,pks:this.pks},this.coverSettings,this.mtime)},multiPkClasses(){const e=this.pks.length,t={};return e>=4?t.stack4=!0:e>1&&(t[`stack${e}`]=!0),t}},mounted:function(){this.delayPlaceholder()},methods:{delayPlaceholder:function(){setTimeout(()=>{this.showPlaceholder=!0},2e3)}}},Yt={class:"bookCover"},Kt={key:1,class:"childCount"};function xt(e,t,a,i,o,l){return d(),b("div",Yt,[r(Ze,{src:l.coverSrc,class:ae(["coverImg",l.multiPkClasses])},null,8,["src","class"]),a.finished!==!0?(d(),b("div",{key:0,class:ae({unreadFlag:!0,mixedreadFlag:a.finished===null})},null,2)):I("",!0),a.group!=="c"?(d(),b("span",Kt,B(a.childCount),1)):I("",!0)])}const Ht=q(Gt,[["render",xt],["__scopeId","data-v-31ac8578"]]),Zt=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Wt=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Xt=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Qt=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Ie=(e,t,a)=>{let i=e;return typeof t=="string"||Array.isArray(t)?i=e.toLocaleString(t,a):(t===!0||a!==void 0)&&(i=e.toLocaleString(void 0,a)),i};function Jt(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?Qt:Xt:t.binary?Wt:Zt,i=t.space?" ":"";if(t.signed&&e===0)return` 0${i}${a[0]}`;const o=e<0,l=o?"-":t.signed?"+":"";o&&(e=-e);let n;if(t.minimumFractionDigits!==void 0&&(n={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(n={maximumFractionDigits:t.maximumFractionDigits,...n}),e<1){const M=Ie(e,t.locale,n);return l+M+i+a[0]}const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),a.length-1);e/=(t.binary?1024:1e3)**s,n||(e=e.toPrecision(3));const v=Ie(Number(e),t.locale,n),m=a[s];return l+v+i+m}const Ne=We.browser.vuetifyNullCode,Re=new Set(["",Ne,Ne.toString(),void 0]),ea=function(e){let t;return Re.has(e)?t=e:e instanceof Object?Re.has(e.pk)?t=void 0:t={value:e.pk,title:e.name}:t={value:e,title:e.toString()},e!=null&&e.url&&(t.url=e.url),t},ta=function(e,t){return e.title<t.title?-1:e.title>t.title?1:0},aa=function(e,t){return Number.parseFloat(e.title)-Number.parseFloat(t.title)},la=function(e,t,a=!1){var s;const i=e||[],o=t&&t.toLowerCase();let l=[];for(const v of i){const m=ea(v);m!=null&&(!o||(s=m==null?void 0:m.title)!=null&&s.toLowerCase().includes(o))&&l.push(m)}const n=a?aa:ta;return l.sort(n)},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:Xe,mdiOpenInNew:De}},computed:{...ue(Z,{filterValues(e){const t=this.filter||this.label.toLowerCase();return e.settings.filters[t]},topGroup:e=>e.settings.topGroup}),model(){return la(this.values)},chipClass(e){return{browseChip:this.filter&&e}}},methods:{...de(Z,["setSettings"]),chipColor(e){return this.filterValues&&this.filterValues.includes(e)?this.$vuetify.theme.current.colors["primary-darken-1"]:""},onClick(e){if(!this.filter||!e)return;const t=["f","s"].includes(this.topGroup)?this.topGroup:"r",a=t==="s"&&this.filter==="storyArcs";if(!a){const n={filters:{[this.filter]:[e]}};this.setSettings(n)}const l={name:"browser",params:{group:t,pk:a?e:0,page:1}};this.$router.push(l)}}},ra={key:0,class:"tags"},ia={class:"chipGroupLabel"},na=["href"];function oa(e,t,a,i,o,l){return l.model&&l.model.length>0?(d(),b("div",ra,[h("div",ia,B(a.label),1),r(Lt,{column:!0,multiple:"",value:l.model},{default:C(()=>[(d(!0),b(J,null,U(l.model,n=>(d(),y(Ft,{key:`${a.label}/${n.value}`,color:l.chipColor(n.value),value:n.value,onClick:s=>l.onClick(n.value)},{default:C(()=>[n.url?(d(),b("a",{key:0,href:n.url,target:"_blank"},[E(B(n.title),1),r(me,null,{default:C(()=>[E(B(o.mdiOpenInNew),1)]),_:1})],8,na)):(d(),b("span",{key:1,class:ae(l.chipClass)},B(n.title),3))]),_:2},1032,["color","value","onClick"]))),128))]),_:1},8,["value"])])):I("",!0)}const ze=q(sa,[["render",oa],["__scopeId","data-v-ea0e4633"]]),ua={name:"MetadataContributorsTable",components:{MetadataTags:ze},props:{value:{type:Array,default:void 0}},computed:{contributorsDict(){const e={};if(!this.value)return e;for(const{role:i,person:o}of this.value){const l=Qe.startCase(i.name)+"s";e[l]||(e[l]=[]),e[l].push(o)}const t=Object.keys(e).sort((i,o)=>i.localeCompare(o)),a={};for(const i of t)a[i]=e[i].sort((o,l)=>o.name.localeCompare(l.name));return a}}},da={key:0},ca=h("h3",null,"Contributors",-1);function ma(e,t,a,i,o,l){const n=x("MetadataTags");return Object.keys(l.contributorsDict).length>0?(d(),b("div",da,[ca,(d(!0),b(J,null,U(Object.entries(l.contributorsDict),([s,v])=>(d(),y(n,{key:s,values:v,label:s,filter:"contributors"},null,8,["values","label"]))),128))])):I("",!0)}const va=q(ua,[["render",ma]]),Fe="(Empty)",ha={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(){let e=this.value&&this.value.name!==void 0?this.value.name:this.value;return this.group&&e===""&&(e=Fe),e},empty(){return this.computedValue===Fe},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=Z();if(this.group!=="f"&&!e.settings.show[this.group]||this.group==="f"&&!e.page.adminFlags.folderView)return;const a=(this.value.ids?this.value.ids:[this.value.pk]).join(",");if(!a)return;const i=this.$router.currentRoute.value.params;if(!(i.group===this.group&&i.pks===a))return{name:"browser",params:{group:this.group,pks:a}}}}},fa={class:"textLabel"},pa=["href"],ba={key:3,class:"textContent"},ga={key:4,id:"basePath"};function ya(e,t,a,i,o,l){const n=x("router-link");return l.computedValue?(d(),b("div",{key:0,class:ae(["text",{highlight:l.highlight}])},[h("div",fa,B(a.label),1),h("div",{class:ae(["textValue",{empty:l.empty}])},[l.groupTo&&a.group==="f"?(d(),y(n,{key:0,id:"folderPath",to:l.groupTo,title:"Browse Folder"},{default:C(()=>[E(B(l.folderPath)+"/ ",1)]),_:1},8,["to"])):l.groupTo?(d(),y(n,{key:1,class:"textContent",to:l.groupTo,title:`Browse ${a.label}`},{default:C(()=>[E(B(l.computedValue),1)]),_:1},8,["to","title"])):a.link?(d(),b("a",{key:2,href:l.linkValue,target:"_blank"},[E(B(l.computedValue)+" ",1),r(me,{size:"small"},{default:C(()=>[E(B(o.mdiOpenInNew),1)]),_:1})],8,pa)):(d(),b("div",ba,B(l.computedValue),1)),l.groupTo&&a.group==="f"?(d(),b("span",ga,B(l.basePath),1)):I("",!0)],2)],2)):I("",!0)}const ka=q(ha,[["render",ya],["__scopeId","data-v-dd504fcc"]]),$e=new Set("rtl","btt");Object.freeze($e);const Sa=({ids:e,page:t,readingDirection:a,pageCount:i},o)=>{if(e.length<1||o&&!i)return;const l=e[0];if(t)t=Number(t);else if($e.has(a)){const n=Number(i)-1;t=Math.max(n,0)}else t=0;return{name:"reader",params:{pk:l,page:t}}},Le=Je("metadata",{state:()=>({md:void 0}),actions:{async loadMetadata({group:e,pks:t}){await Pt.getMetadata({group:e,pks:t},Z().metadataSettings).then(a=>{const i={...a.data};return i.loaded=!0,this.md=i,!0}).catch(a=>{console.error(a),this.clearMetadata()})},clearMetadata(){this.md=void 0}}}),_a=1160,Ca=.05,wa=250,Ta={name:"MetadataButton",components:{BookCover:Ht,CloseButton:et,MetadataContributorsTable:va,MetadataTags:ze,MetadataText:ka,PlaceholderLoading:Dt},props:{group:{type:String,required:!0},book:{type:Object,required:!0},children:{type:Number,default:1},toolbar:{type:Boolean,default:!1}},data(){return{mdiDownload:tt,mdiTagOutline:at,dialog:!1,progress:0}},computed:{...Ee(lt,["isUserAdmin"]),...ue(Z,{twentyFourHourTime:e=>{var t;return(t=e.settings)==null?void 0:t.twentyFourHourTime},readingDirectionTitles:e=>e.choices.static.readingDirection,identifierTypes:e=>e.choices.static.identifierType,importMetadata:e=>{var t,a;return(a=(t=e.page)==null?void 0:t.adminFlags)==null?void 0:a.importMetadata}}),...ue(Le,{md:e=>e.md}),...ue(Z,{q:e=>e.settings.q}),showContainer(){var e;return((e=this.md)==null?void 0:e.loaded)||!1},downloadFileName(){var t;const e=this.md;return e?(t=this.md)!=null&&t.filename?e.filename:It({seriesName:e.series.name||"",volumeName:e.volume.name||"",issueNumber:e.issueNumber,issueSuffix:e.issueSuffix})+"."+this.fileType.toLowerCase():"Unknown.cbz"},buttonVariant(){return this.toolbar?"plain":"text"},downloadURL(){return this.book?Nt(this.book):""},isReadButtonShown(){return this.group==="c"&&this.$route.name!="reader"},isReadButtonEnabled(){return!!this.readerRoute},readButtonIcon(){return this.isReadButtonEnabled?st:rt},readerRoute(){var e;return(e=this.md)!=null&&e.ids?Sa(this.md,this.importMetadata):{}},formattedIssue(){if(!this.md)return"Unknown";if(!((this.md.issueNumber===null||this.md.issueNumber===void 0)&&!this.md.issueSuffix))return Rt(this.md)},readingDirectionText(){return this.md?this.readingDirectionTitles[this.md.readingDirection]:"Unknown"},pages(){let e="";if(!this.md)return 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(){var e;return((e=this==null?void 0:this.md)==null?void 0:e.size)>0?Jt(this.md.size):0},fileType(){var e;return((e=this==null?void 0:this.md)==null?void 0:e.fileType)||"Unknown"},titledIdentifiers(){var t;const e=[];if(!((t=this==null?void 0:this.md)!=null&&t.identifiers))return e;for(const a of this.md.identifiers){const i=a.name.split(":"),o=i[0],l=i[1],n=this.identifierTypeTitle(o);let s="";n&&n!=="None"&&(s+=n+":"),s+=l,e.push({...a,name:s})}return e},multiGroup(){var e;return(e=this.md)!=null&&e.ids?this.md.ids.length>1:!1}},watch:{dialog(e){e?this.dialogOpened():this.clearMetadata()}},methods:{...de(Le,["clearMetadata","loadMetadata"]),...de(it,["downloadIOSPWAFix"]),...de(Z,["identifierTypeTitle"]),dialogOpened(){const e=this.book.ids?this.book.ids:[this.book.pk],t={group:this.group,pks:e};this.loadMetadata(t),this.startProgress()},startProgress(){this.startTime=Date.now(),this.estimatedMS=Math.max(Ca,this.children/_a)*1e3,this.updateProgress()},updateProgress(){const e=Date.now()-this.startTime;this.progress=e/this.estimatedMS*100,!(this.progress>=100||this.md)&&setTimeout(()=>{this.updateProgress()},wa)},formatDateTime(e){return nt(e,this.twentyFourHourTime)},download(){this.downloadIOSPWAFix(this.downloadURL,this.md.filename)}}},Va=e=>(ct("data-v-e621adf7"),e=e(),mt(),e),Ba={id:"metadataHeader"},Ma={id:"metadataBookCoverWrapper"},Pa={class:"inlineRow"},Ia={class:"inlineRow"},Na={class:"inlineRow"},Ra={key:1,class:"inlineRow"},Fa={id:"metadataBody"},La={class:"mdSection"},Ea={class:"quintRow"},Da={class:"mdSection"},Aa={class:"quarterRow"},Oa={class:"lastSmallRow"},za={class:"halfRow mdSection"},$a={class:"mdSection"},ja={class:"mdSection"},Ua={class:"mdSection"},qa={class:"mdSection"},Ga={class:"mdSection"},Ya={class:"mdSection inlineRow"},Ka={class:"inlineRow"},xa={id:"footerLinks"},Ha={id:"bottomRightButtons"},Za={key:1,id:"placeholderContainer"},Wa=Va(()=>h("div",{id:"placeholderTitle"},"Tags Loading",-1));function Xa(e,t,a,i,o,l){const n=x("CloseButton"),s=x("MetadataText"),v=x("BookCover"),m=x("MetadataTags"),M=x("MetadataContributorsTable"),_=x("PlaceholderLoading");return d(),y(At,{modelValue:o.dialog,"onUpdate:modelValue":t[5]||(t[5]=c=>o.dialog=c),fullscreen:"",transition:"dialog-bottom-transition"},{activator:C(({props:c})=>[r(ce,H({"aria-label":"tags",class:"tagButton cardControlButton",variant:l.buttonVariant,icon:o.mdiTagOutline,title:"Tags"},c,{onClick:t[0]||(t[0]=ot(()=>{},["prevent"]))}),null,16,["variant","icon"])]),default:C(()=>[l.showContainer?(d(),b("div",{key:0,id:"metadataContainer",onKeyup:t[3]||(t[3]=dt(c=>o.dialog=!1,["esc"]))},[h("header",Ba,[r(n,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[1]||(t[1]=c=>o.dialog=!1)}),e.q?(d(),y(s,{key:0,id:"search",value:e.q,label:"Search Query",highlight:!0},null,8,["value"])):I("",!0),h("div",Ma,[r(v,{id:"bookCover",group:a.group,pks:e.md.ids,"child-count":e.md.childCount,finished:e.md.finished,mtime:e.md.mtime},null,8,["group","pks","child-count","finished","mtime"]),r(ut,{class:"bookCoverProgress","model-value":e.md.progress,rounded:"","background-color":"inherit",height:"2","aria-label":"% read"},null,8,["model-value"])]),h("div",Pa,[(d(!0),b(J,null,U(e.md.publisherList,c=>(d(),y(s,{id:"publisher",key:c.ids,value:c,group:"p",label:"Publisher",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128)),(d(!0),b(J,null,U(e.md.imprintList,c=>(d(),y(s,{id:"imprint",key:c.ids,value:c,group:"i",label:"Imprint",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128))]),h("div",Ia,[(d(!0),b(J,null,U(e.md.seriesList,c=>(d(),y(s,{id:"series",key:c.ids,value:c,label:"Series",group:"s",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128))]),h("div",Na,[(d(!0),b(J,null,U(e.md.volumeList,c=>(d(),y(s,{id:"volume",key:c.ids,value:c,label:"Volume",group:"v",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]))),128)),r(s,{value:e.md.seriesVolumeCount,label:"Volume Count"},null,8,["value"]),r(s,{id:"issue",value:l.formattedIssue,label:"Issue",group:"c",obj:{ids:e.md.ids,group:e.md.group}},null,8,["value","obj"]),r(s,{value:e.md.volumeIssueCount,label:"Issue Count"},null,8,["value"]),r(s,{value:e.md.name,label:"Title"},null,8,["value"])]),e.md.year||e.md.month||e.md.day?(d(),b("div",Ra,[r(s,{value:e.md.year,label:"Year",class:"datePicker",type:"number"},null,8,["value"]),r(s,{value:e.md.month,label:"Month",class:"datePicker"},null,8,["value"]),r(s,{value:e.md.day,label:"Day",class:"datePicker"},null,8,["value"])])):I("",!0)]),h("div",Fa,[h("section",La,[h("div",Ea,[r(s,{value:l.pages,label:"Pages"},null,8,["value"]),r(s,{label:"Finished",value:(!!e.md.finished).toString()},null,8,["value"]),r(s,{label:"Reading Direction",value:l.readingDirectionText},null,8,["value"]),r(s,{value:(!!e.md.monochrome).toString(),label:"Monochrome"},null,8,["value"]),r(s,{value:e.md.original_format,label:"Original Format"},null,8,["value"])])]),h("section",Da,[h("div",Aa,[e.md.createdAt?(d(),y(s,{key:0,value:l.formatDateTime(e.md.createdAt),label:"Created at",class:"mtime"},null,8,["value"])):I("",!0),e.md.updatedAt?(d(),y(s,{key:1,value:l.formatDateTime(e.md.updatedAt),label:"Updated at",class:"mtime"},null,8,["value"])):I("",!0),r(s,{value:l.size,label:"Size"},null,8,["value"]),r(s,{value:l.fileType,label:"File Type"},null,8,["value"])]),h("div",Oa,[r(s,{group:"f",value:{pk:e.md.parentFolderId,name:e.md.path},label:"Path"},null,8,["value"])])]),h("section",za,[r(s,{value:e.md.country,label:"Country"},null,8,["value"]),r(s,{value:e.md.language,label:"Language"},null,8,["value"])]),h("section",$a,[r(m,{values:l.titledIdentifiers,label:"Identifiers"},null,8,["values"])]),h("section",ja,[r(s,{value:e.md.summary,label:"Summary"},null,8,["value"]),r(s,{value:e.md.review,label:"Review"},null,8,["value"])]),h("section",Ua,[r(s,{value:e.md.communityRating,label:"Community Rating"},null,8,["value"]),r(s,{value:e.md.criticalRating,label:"Critical Rating"},null,8,["value"]),r(s,{value:e.md.ageRating,label:"Age Rating"},null,8,["value"])]),h("section",qa,[r(m,{values:e.md.genres,label:"Genres",filter:"genres"},null,8,["values"]),r(m,{values:e.md.characters,label:"Characters",filter:"characters"},null,8,["values"]),r(m,{values:e.md.teams,label:"Teams",filter:"teams"},null,8,["values"]),r(m,{values:e.md.locations,label:"Locations",filter:"locations"},null,8,["values"]),r(m,{values:e.md.seriesGroups,label:"Series Groups",filter:"seriesGroups"},null,8,["values"]),r(m,{values:e.md.stories,label:"Stories",filter:"stories"},null,8,["values"]),r(m,{values:e.md.storyArcNumbers,label:"Story Arcs",filter:"storyArcs"},null,8,["values"]),r(m,{values:e.md.tags,label:"Tags",filter:"tags"},null,8,["values"])]),h("section",Ga,[r(M,{value:e.md.contributors},null,8,["value"])]),h("section",Ya,[r(s,{value:e.md.notes,label:"Notes"},null,8,["value"])]),h("section",Ka,[r(s,{value:e.md.tagger,label:"Tagger"},null,8,["value"]),r(s,{value:e.md.scanInfo,label:"Scan"},null,8,["value"])])]),h("footer",xa,[a.group==="c"?(d(),y(ce,{key:0,id:"downloadButton",title:"Download Comic Archive",onClick:l.download},{default:C(()=>[a.group==="c"?(d(),y(me,{key:0},{default:C(()=>[E(B(o.mdiDownload),1)]),_:1})):I("",!0),E(" Download ")]),_:1},8,["onClick"])):I("",!0),l.isReadButtonShown?(d(),y(ce,{key:1,to:l.readerRoute,title:"Read Comic",disabled:!l.isReadButtonEnabled},{default:C(()=>[r(me,null,{default:C(()=>[E(B(l.readButtonIcon),1)]),_:1}),E(" Read ")]),_:1},8,["to","disabled"])):I("",!0),h("span",Ha,[r(n,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[2]||(t[2]=c=>o.dialog=!1)})])])],32)):(d(),b("div",Za,[r(n,{class:"closeButton",title:"Close Metadata (esc)",onClick:t[4]||(t[4]=c=>o.dialog=!1)}),Wa,r(_,{"model-value":o.progress,indeterminate:o.progress>=100,class:"placeholder"},null,8,["model-value","indeterminate"])]))]),_:1},8,["modelValue"])}const Tl=q(Ta,[["render",Xa],["__scopeId","data-v-e621adf7"]]),Qa={name:"ToolbarSelect",props:{selectLabel:{type:String,default:""},maxSelectLen:{type:Number,default:0}},computed:{style(){if(this.maxSelectLen){const e=this.$vuetify.display.xs?"max-width":"width",t=this.maxSelectLen*.7+"em";return`${e}: ${t}`}return""}}};function Ja(e,t,a,i,o,l){return d(),y(Et,H(e.$attrs,{label:a.selectLabel,"aria-label":a.selectLabel,class:"toolbarSelect",density:"compact","full-width":"","menu-props":{maxHeight:void 0},"hide-details":"auto",style:l.style,variant:"plain"}),ye({item:C(({item:n,props:s})=>[r(vt,H(s,{density:"compact",variant:"plain",title:n.title,value:n.value}),null,16,["title","value"])]),_:2},[U(e.$slots,(n,s)=>({name:s,fn:C(v=>[ke(e.$slots,s,H({props:n},v),void 0,!0)])}))]),1040,["label","aria-label","style"])}const Vl=q(Qa,[["render",Ja],["__scopeId","data-v-e88da460"]]),Bl=ht("v-spacer","div","VSpacer"),el={name:"PaginationNavButton",props:{narrow:{type:Boolean,default:!0}},computed:{classes(){return{narrowButton:this.narrow}}}};function tl(e,t,a,i,o,l){return d(),y(ce,{variant:"plain",density:"compact",class:ae(["paginationNavButton",l.classes]),size:"medium"},ye({_:2},[U(e.$slots,(n,s)=>({name:s,fn:C(v=>[ke(e.$slots,s,H({props:n},v),void 0,!0)])}))]),1032,["class"])}const Ml=q(el,[["render",tl],["__scopeId","data-v-0450dab6"]]),_e=Symbol.for("vuetify:v-slider");function al(e,t,a){const i=a==="vertical",o=t.getBoundingClientRect(),l="touches"in e?e.touches[0]:e;return i?l.clientY-(o.top+o.height/2):l.clientX-(o.left+o.width/2)}function ll(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 sl=se({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,...ft(),...pt({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),rl=e=>{const t=f(()=>parseFloat(e.min)),a=f(()=>parseFloat(e.max)),i=f(()=>+e.step>0?parseFloat(e.step):0),o=f(()=>Math.max(Te(i.value),Te(t.value)));function l(n){if(n=parseFloat(n),i.value<=0)return n;const s=Ae(n,t.value,a.value),v=t.value%i.value,m=Math.round((s-v)/i.value)*i.value+v;return parseFloat(Math.min(m,a.value).toFixed(o.value))}return{min:t,max:a,step:i,decimals:o,roundValue:l}},il=e=>{let{props:t,steps:a,onSliderStart:i,onSliderMove:o,onSliderEnd:l,getActiveThumb:n}=e;const{isRtl:s}=Se(),v=L(t,"reverse"),m=f(()=>t.direction==="vertical"),M=f(()=>m.value!==v.value),{min:_,max:c,step:D,decimals:G,roundValue:z}=a,W=f(()=>parseInt(t.thumbSize,10)),Y=f(()=>parseInt(t.tickSize,10)),$=f(()=>parseInt(t.trackSize,10)),A=f(()=>(c.value-_.value)/D.value),X=L(t,"disabled"),O=f(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),g=f(()=>t.error||t.disabled?void 0:t.trackColor??t.color),N=f(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),w=Ve(!1),T=Ve(0),R=be(),F=be();function p(u){var Ce;const S=t.direction==="vertical",je=S?"top":"left",Ue=S?"height":"width",qe=S?"clientY":"clientX",{[je]:Ge,[Ue]:Ye}=(Ce=R.value)==null?void 0:Ce.$el.getBoundingClientRect(),Ke=ll(u,qe);let pe=Math.min(Math.max((Ke-Ge-T.value)/Ye,0),1)||0;return(S?M.value:M.value!==s.value)&&(pe=1-pe),z(_.value+pe*(c.value-_.value))}const j=u=>{l({value:p(u)}),w.value=!1,T.value=0},K=u=>{F.value=n(u),F.value&&(F.value.focus(),w.value=!0,F.value.contains(u.target)?T.value=al(u,F.value,t.direction):(T.value=0,o({value:p(u)})),i({value:p(u)}))},P={passive:!0,capture:!0};function ee(u){o({value:p(u)})}function re(u){u.stopPropagation(),u.preventDefault(),j(u),window.removeEventListener("mousemove",ee,P),window.removeEventListener("mouseup",re)}function ie(u){var S;j(u),window.removeEventListener("touchmove",ee,P),(S=u.target)==null||S.removeEventListener("touchend",ie)}function fe(u){var S;K(u),window.addEventListener("touchmove",ee,P),(S=u.target)==null||S.addEventListener("touchend",ie,{passive:!1})}function V(u){u.preventDefault(),K(u),window.addEventListener("mousemove",ee,P),window.addEventListener("mouseup",re,{passive:!1})}const k=u=>{const S=(u-_.value)/(c.value-_.value)*100;return Ae(isNaN(S)?0:S,0,100)},te=L(t,"showTicks"),le=f(()=>te.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(u=>({value:u,position:k(u),label:u.toString()})):Object.keys(t.ticks).map(u=>({value:parseFloat(u),position:k(parseFloat(u)),label:t.ticks[u]})):A.value!==1/0?bt(A.value+1).map(u=>{const S=_.value+u*D.value;return{value:S,position:k(S)}}):[]:[]),ne=f(()=>le.value.some(u=>{let{label:S}=u;return!!S})),oe={activeThumbRef:F,color:L(t,"color"),decimals:G,disabled:X,direction:L(t,"direction"),elevation:L(t,"elevation"),hasLabels:ne,isReversed:v,indexFromEnd:M,min:_,max:c,mousePressed:w,numTicks:A,onSliderMousedown:V,onSliderTouchstart:fe,parsedTicks:le,parseMouseMove:p,position:k,readonly:L(t,"readonly"),rounded:L(t,"rounded"),roundValue:z,showTicks:te,startOffset:T,step:D,thumbSize:W,thumbColor:O,thumbLabel:L(t,"thumbLabel"),ticks:L(t,"ticks"),tickSize:Y,trackColor:g,trackContainerRef:R,trackFillColor:N,trackSize:$,vertical:m};return gt(_e,oe),oe},nl=se({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},name:String,...ge()},"VSliderThumb"),ol=ve()({name:"VSliderThumb",directives:{Ripple:yt},props:nl(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:a,emit:i}=t;const o=Oe(_e),{isRtl:l,rtlClasses:n}=Se();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:s,step:v,disabled:m,thumbSize:M,thumbLabel:_,direction:c,isReversed:D,vertical:G,readonly:z,elevation:W,mousePressed:Y,decimals:$,indexFromEnd:A}=o,X=f(()=>m.value?void 0:W.value),{elevationClasses:O}=kt(X),{textColorClasses:g,textColorStyles:N}=St(s),{pageup:w,pagedown:T,end:R,home:F,left:p,right:j,down:K,up:P}=Tt,ee=[w,T,R,F,p,j,K,P],re=f(()=>v.value?[1,2,3]:[1,5,10]);function ie(V,k){if(!ee.includes(V.key))return;V.preventDefault();const te=v.value||.1,le=(e.max-e.min)/te;if([p,j,K,P].includes(V.key)){const oe=(G.value?[l.value?p:j,D.value?K:P]:A.value!==l.value?[p,P]:[j,P]).includes(V.key)?1:-1,u=V.shiftKey?2:V.ctrlKey?1:0;k=k+oe*te*re.value[u]}else if(V.key===F)k=e.min;else if(V.key===R)k=e.max;else{const ne=V.key===T?1:-1;k=k-ne*te*(le>100?le/10:10)}return Math.max(e.min,Math.min(e.max,k))}function fe(V){const k=ie(V,e.modelValue);k!=null&&i("update:modelValue",k)}return he(()=>{const V=Q(A.value?100-e.position:e.position,"%");return r("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&Y.value},e.class,n.value],style:[{"--v-slider-thumb-position":V,"--v-slider-thumb-size":Q(M.value)},e.style],role:"slider",tabindex:m.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!z.value,"aria-orientation":c.value,onKeydown:z.value?void 0:fe},[r("div",{class:["v-slider-thumb__surface",g.value,O.value],style:{...N.value}},null),Be(r("div",{class:["v-slider-thumb__ripple",g.value],style:N.value},null),[[_t("ripple"),e.ripple,null,{circle:!0,center:!0}]]),r(Ct,{origin:"bottom center"},{default:()=>{var k;return[Be(r("div",{class:"v-slider-thumb__label-container"},[r("div",{class:["v-slider-thumb__label"]},[r("div",null,[((k=a["thumb-label"])==null?void 0:k.call(a,{modelValue:e.modelValue}))??e.modelValue.toFixed(v.value?$.value:1)])])]),[[wt,_.value&&e.focused||_.value==="always"]])]}})])}),{}}}),ul=se({start:{type:Number,required:!0},stop:{type:Number,required:!0},...ge()},"VSliderTrack"),dl=ve()({name:"VSliderTrack",props:ul(),emits:{},setup(e,t){let{slots:a}=t;const i=Oe(_e);if(!i)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:l,rounded:n,showTicks:s,tickSize:v,trackColor:m,trackFillColor:M,trackSize:_,vertical:c,min:D,max:G,indexFromEnd:z}=i,{roundedClasses:W}=Vt(n),{backgroundColorClasses:Y,backgroundColorStyles:$}=Me(M),{backgroundColorClasses:A,backgroundColorStyles:X}=Me(m),O=f(()=>`inset-${c.value?"block":"inline"}-${z.value?"end":"start"}`),g=f(()=>c.value?"height":"width"),N=f(()=>({[O.value]:"0%",[g.value]:"100%"})),w=f(()=>e.stop-e.start),T=f(()=>({[O.value]:Q(e.start,"%"),[g.value]:Q(w.value,"%")})),R=f(()=>s.value?(c.value?l.value.slice().reverse():l.value).map((p,j)=>{var P;const K=p.value!==D.value&&p.value!==G.value?Q(p.position,"%"):void 0;return r("div",{key:p.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":p.position>=e.start&&p.position<=e.stop,"v-slider-track__tick--first":p.value===D.value,"v-slider-track__tick--last":p.value===G.value}],style:{[O.value]:K}},[(p.label||a["tick-label"])&&r("div",{class:"v-slider-track__tick-label"},[((P=a["tick-label"])==null?void 0:P.call(a,{tick:p,index:j}))??p.label])])}):[]);return he(()=>r("div",{class:["v-slider-track",W.value,e.class],style:[{"--v-slider-track-size":Q(_.value),"--v-slider-tick-size":Q(v.value)},e.style]},[r("div",{class:["v-slider-track__background",A.value,{"v-slider-track__background--opacity":!!o.value||!M.value}],style:{...N.value,...X.value}},null),r("div",{class:["v-slider-track__fill",Y.value],style:{...T.value,...$.value}},null),s.value&&r("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":s.value==="always"}]},[R.value])])),{}}}),cl=se({...Ot(),...sl(),...zt(),modelValue:{type:[Number,String],default:0}},"VSlider"),ml=ve()({name:"VSlider",props:cl(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:a,emit:i}=t;const o=be(),{rtlClasses:l}=Se(),n=rl(e),s=Bt(e,"modelValue",void 0,g=>n.roundValue(g??n.min.value)),{min:v,max:m,mousePressed:M,roundValue:_,onSliderMousedown:c,onSliderTouchstart:D,trackContainerRef:G,position:z,hasLabels:W,readonly:Y}=il({props:e,steps:n,onSliderStart:()=>{i("start",s.value)},onSliderEnd:g=>{let{value:N}=g;const w=_(N);s.value=w,i("end",w)},onSliderMove:g=>{let{value:N}=g;return s.value=_(N)},getActiveThumb:()=>{var g;return(g=o.value)==null?void 0:g.$el}}),{isFocused:$,focus:A,blur:X}=$t(e),O=f(()=>z(s.value));return he(()=>{const g=Pe.filterProps(e),N=!!(e.label||a.label||a.prepend);return r(Pe,H({class:["v-slider",{"v-slider--has-labels":!!a["tick-label"]||W.value,"v-slider--focused":$.value,"v-slider--pressed":M.value,"v-slider--disabled":e.disabled},l.value,e.class],style:e.style},g,{focused:$.value}),{...a,prepend:N?w=>{var T,R;return r(J,null,[((T=a.label)==null?void 0:T.call(a,w))??(e.label?r(jt,{id:w.id.value,class:"v-slider__label",text:e.label},null):void 0),(R=a.prepend)==null?void 0:R.call(a,w)])}:void 0,default:w=>{let{id:T,messagesId:R}=w;return r("div",{class:"v-slider__container",onMousedown:Y.value?void 0:c,onTouchstartPassive:Y.value?void 0:D},[r("input",{id:T.value,name:e.name||T.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:s.value},null),r(dl,{ref:G,start:0,stop:O.value},{"tick-label":a["tick-label"]}),r(ol,{ref:o,"aria-describedby":R.value,focused:$.value,min:v.value,max:m.value,modelValue:s.value,"onUpdate:modelValue":F=>s.value=F,position:O.value,elevation:e.elevation,onFocus:A,onBlur:X,ripple:e.ripple,name:e.name},{"thumb-label":a["thumb-label"]})])}})}),{}}}),vl={name:"PaginationSlider",props:{min:{type:Number,default:0}}};function hl(e,t,a,i,o,l){return d(),y(ml,H({"thumb-size":"36",class:"paginationSlider",density:"compact","hide-details":"auto",min:a.min,rounded:!0,"show-ticks":"always",step:1,"thumb-label":"always"},e.$attrs),{"tick-label":C(({index:n})=>[E(B(n+a.min),1)]),_:1},16,["min"])}const Pl=q(vl,[["render",hl],["__scopeId","data-v-01b67afd"]]),fl={name:"PaginationToolbar"};function pl(e,t,a,i,o,l){return d(),y(Ut,{class:"paginationToolbar codexToolbar",density:"compact",transform:"center bottom"},ye({_:2},[U(e.$slots,(n,s)=>({name:s,fn:C(v=>[ke(e.$slots,s,H({props:n},v),void 0,!0)])}))]),1024)}const Il=q(fl,[["render",pl],["__scopeId","data-v-cfa8cce0"]]);export{Ht as B,Tl as M,Re as N,Ml as P,Vl as T,wl as V,Bl as a,Pl as b,Il as c,Sa as g,Jt as p,la as t};